aztk/spark/client/base/operations.py
def _generate_application_task(self, core_base_operations, container_id, application, remote=False):
        """Generate the Azure Batch Start Task to provision a Spark cluster.

        Args:
            container_id (:obj:`str`): the id of the container to run the application in
            application (:obj:`aztk.spark.models.ApplicationConfiguration): the Application Definition
            remote (:obj:`bool`): If True, the application file will not be uploaded, it is assumed to be reachable
                by the cluster already. This is useful when your application is stored in a mounted Azure File Share
                and not the client. Defaults to False.

        Returns:
            :obj:`azure.batch.models.TaskAddParameter`: the Task definition for the Application.
        """
        return generate_application_task.generate_application_task(core_base_operations, container_id, application,
                                                                   remote)
Generate the Azure Batch Start Task to provision a Spark cluster.

        Args:
            container_id (:obj:`str`): the id of the container to run the application in
            application (:obj:`aztk.spark.models.ApplicationConfiguration): the Application Definition
            remote (:obj:`bool`): If True, the application file will not be uploaded, it is assumed to be reachable
                by the cluster already. This is useful when your application is stored in a mounted Azure File Share
                and not the client. Defaults to False.

        Returns:
            :obj:`azure.batch.models.TaskAddParameter`: the Task definition for the Application.
        
Generate the Azure Batch Start Task to provision a Spark cluster.
Generate the Azure Batch Start Task to provision a Spark cluster .
def _generate_application_task(self, core_base_operations, container_id, application, remote=False):
        return generate_application_task.generate_application_task(core_base_operations, container_id, application,
                                                                   remote)
def _generate_application_task ( self , core_base_operations , container_id , application , remote = False ) : return generate_application_task . generate_application_task ( core_base_operations , container_id , application , remote )
Generate the Azure Batch Start Task to provision a Spark cluster.
Generate the Azure Batch Start Task to provision a Spark cluster .
"""Generate the Azure Batch Start Task to provision a Spark cluster.

        Args:
            container_id (:obj:`str`): the id of the container to run the application in
            application (:obj:`aztk.spark.models.ApplicationConfiguration): the Application Definition
            remote (:obj:`bool`): If True, the application file will not be uploaded, it is assumed to be reachable
                by the cluster already. This is useful when your application is stored in a mounted Azure File Share
                and not the client. Defaults to False.

        Returns:
            :obj:`azure.batch.models.TaskAddParameter`: the Task definition for the Application.
        """
:obj:`azure.batch.models.TaskAddParameter`: the Task definition for the Application.
: obj : ` azure . batch . models . TaskAddParameter ` : the Task definition for the Application .
self
core_base_operations
container_id
application
remote
container_id (
`str`): the id of the container to run the application in
` str ` ) : the id of the container to run the application in
application (
`aztk.spark.models.ApplicationConfiguration): the Application Definition
` aztk . spark . models . ApplicationConfiguration ) : the Application Definition
remote (
`bool`): If True, the application file will not be uploaded, it is assumed to be reachable
by the cluster already. This is useful when your application is stored in a mounted Azure File Share
and not the client. Defaults to False.
` bool ` ) : If True the application file will not be uploaded it is assumed to be reachable by the cluster already . This is useful when your application is stored in a mounted Azure File Share and not the client . Defaults to False .