pyaz/acr/task/__init__.py
def update(name, registry, agent_pool=None, arg=None, auth_mode=None, base_image_trigger_enabled=None, base_image_trigger_type=None, commit_trigger_enabled=None, context=None, cpu=None, file=None, git_access_token=None, image=None, log_template=None, no_cache=None, no_push=None, platform=None, pull_request_trigger_enabled=None, resource_group=None, secret_arg=None, set=None, set_secret=None, status=None, target=None, timeout=None, update_trigger_endpoint=None, update_trigger_payload_type=None, values=None):
    '''
    Update a task for an Azure Container Registry.

    Required Parameters:
    - name -- The name of the task.
    - registry -- The name of the container registry. You can configure the default registry name using `az configure --defaults acr=<registry name>`

    Optional Parameters:
    - agent_pool -- The name of the agent pool.
    - arg -- Build argument in '--arg name[=value]' format. Multiples supported by passing '--arg` multiple times.
    - auth_mode -- Auth mode of the source registry.
    - base_image_trigger_enabled -- Indicates whether the base image trigger is enabled.
    - base_image_trigger_type -- The type of the auto trigger for base image dependency updates.
    - commit_trigger_enabled -- Indicates whether the source control commit trigger is enabled.
    - context -- The full URL to the source code repository (Requires '.git' suffix for a github repo) or the repository of an OCI artifact in an Azure container registry (e.g., 'oci://myregistry.azurecr.io/myartifact:mytag'). If '/dev/null' is specified, the value will be set to None and ignored. This is a required argument if the task is not a system task.
    - cpu -- The CPU configuration in terms of number of cores required for the run.
    - file -- Relative path of the the task/docker file to the source code root folder. Task files must be suffixed with '.yaml' or piped from the standard input using '-'.
    - git_access_token -- The access token used to access the source control provider.
    - image -- The name and tag of the image using the format: '-t repo/image:tag'. Multiple tags are supported by passing -t multiple times.
    - log_template -- The repository and tag template for run log artifact using the format: 'log/repo:tag' (e.g., 'acr/logs:{{.Run.ID}}'). Only applicable to CMK enabled registry.
    - no_cache -- Indicates whether the image cache is enabled.
    - no_push -- Indicates whether the image built should be pushed to the registry.
    - platform -- The platform where build/task is run, Eg, 'windows' and 'linux'. When it's used in build commands, it also can be specified in 'os/arch/variant' format for the resulting image. Eg, linux/arm/v7. The 'arch' and 'variant' parts are optional.
    - pull_request_trigger_enabled -- Indicates whether the source control pull request trigger is enabled. The trigger is disabled by default.
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
    - secret_arg -- Secret build argument in '--secret-arg name[=value]' format. Multiples supported by passing --secret-arg multiple times.
    - set -- Task value in '--set name[=value]' format. Multiples supported by passing --set multiple times.
    - set_secret -- Secret task value in '--set-secret name[=value]' format. Multiples supported by passing --set-secret multiple times.
    - status -- The current status of task.
    - target -- The name of the target build stage.
    - timeout -- The timeout in seconds.
    - update_trigger_endpoint -- The full URL of the endpoint to receive base image update trigger notifications.
    - update_trigger_payload_type -- Indicates whether to include metadata about the base image trigger in the payload alongwith the update trigger token, when a notification is sent.
    - values -- The task values/parameters file path relative to the source context.
    '''
    return _call_az("az acr task update", locals())

    Update a task for an Azure Container Registry.

    Required Parameters:
    - name -- The name of the task.
    - registry -- The name of the container registry. You can configure the default registry name using `az configure --defaults acr=<registry name>`

    Optional Parameters:
    - agent_pool -- The name of the agent pool.
    - arg -- Build argument in '--arg name[=value]' format. Multiples supported by passing '--arg` multiple times.
    - auth_mode -- Auth mode of the source registry.
    - base_image_trigger_enabled -- Indicates whether the base image trigger is enabled.
    - base_image_trigger_type -- The type of the auto trigger for base image dependency updates.
    - commit_trigger_enabled -- Indicates whether the source control commit trigger is enabled.
    - context -- The full URL to the source code repository (Requires '.git' suffix for a github repo) or the repository of an OCI artifact in an Azure container registry (e.g., 'oci://myregistry.azurecr.io/myartifact:mytag'). If '/dev/null' is specified, the value will be set to None and ignored. This is a required argument if the task is not a system task.
    - cpu -- The CPU configuration in terms of number of cores required for the run.
    - file -- Relative path of the the task/docker file to the source code root folder. Task files must be suffixed with '.yaml' or piped from the standard input using '-'.
    - git_access_token -- The access token used to access the source control provider.
    - image -- The name and tag of the image using the format: '-t repo/image:tag'. Multiple tags are supported by passing -t multiple times.
    - log_template -- The repository and tag template for run log artifact using the format: 'log/repo:tag' (e.g., 'acr/logs:{{.Run.ID}}'). Only applicable to CMK enabled registry.
    - no_cache -- Indicates whether the image cache is enabled.
    - no_push -- Indicates whether the image built should be pushed to the registry.
    - platform -- The platform where build/task is run, Eg, 'windows' and 'linux'. When it's used in build commands, it also can be specified in 'os/arch/variant' format for the resulting image. Eg, linux/arm/v7. The 'arch' and 'variant' parts are optional.
    - pull_request_trigger_enabled -- Indicates whether the source control pull request trigger is enabled. The trigger is disabled by default.
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
    - secret_arg -- Secret build argument in '--secret-arg name[=value]' format. Multiples supported by passing --secret-arg multiple times.
    - set -- Task value in '--set name[=value]' format. Multiples supported by passing --set multiple times.
    - set_secret -- Secret task value in '--set-secret name[=value]' format. Multiples supported by passing --set-secret multiple times.
    - status -- The current status of task.
    - target -- The name of the target build stage.
    - timeout -- The timeout in seconds.
    - update_trigger_endpoint -- The full URL of the endpoint to receive base image update trigger notifications.
    - update_trigger_payload_type -- Indicates whether to include metadata about the base image trigger in the payload alongwith the update trigger token, when a notification is sent.
    - values -- The task values/parameters file path relative to the source context.
    
Update a task for an Azure Container Registry.
Required Parameters:
name -- The name of the task.
registry -- The name of the container registry. You can configure the default registry name using `az configure --defaults acr=`

Optional Parameters:
agent_pool -- The name of the agent pool.
arg -- Build argument in '--arg name[=value]' format. Multiples supported by passing '--arg` multiple times.
auth_mode -- Auth mode of the source registry.
base_image_trigger_enabled -- Indicates whether the base image trigger is enabled.
base_image_trigger_type -- The type of the auto trigger for base image dependency updates.
commit_trigger_enabled -- Indicates whether the source control commit trigger is enabled.
context -- The full URL to the source code repository (Requires '.git' suffix for a github repo) or the repository of an OCI artifact in an Azure container registry . If '/dev/null' is specified, the value will be set to None and ignored. This is a required argument if the task is not a system task.
cpu -- The CPU configuration in terms of number of cores required for the run.
file -- Relative path of the the task/docker file to the source code root folder. Task files must be suffixed with '.yaml' or piped from the standard input using '-'.
git_access_token -- The access token used to access the source control provider.
image -- The name and tag of the image using the format: '-t repo/image:tag'. Multiple tags are supported by passing -t multiple times.
log_template -- The repository and tag template for run log artifact using the format: 'log/repo:tag' . Only applicable to CMK enabled registry.
no_cache -- Indicates whether the image cache is enabled.
no_push -- Indicates whether the image built should be pushed to the registry.
platform -- The platform where build/task is run, Eg, 'windows' and 'linux'. When it's used in build commands, it also can be specified in 'os/arch/variant' format for the resulting image. Eg, linux/arm/v7. The 'arch' and 'variant' parts are optional.
pull_request_trigger_enabled -- Indicates whether the source control pull request trigger is enabled. The trigger is disabled by default.
resource_group -- Name of resource group.
Update a task for an Azure Container Registry . Required Parameters : name -- The name of the task . registry -- The name of the container registry . You can configure the default registry name using ` az configure -- defaults acr = ` Optional Parameters : agent_pool -- The name of the agent pool . arg -- Build argument in ' -- arg name [ = value ] ' format . Multiples supported by passing ' -- arg ` multiple times . auth_mode -- Auth mode of the source registry . base_image_trigger_enabled -- Indicates whether the base image trigger is enabled . base_image_trigger_type -- The type of the auto trigger for base image dependency updates . commit_trigger_enabled -- Indicates whether the source control commit trigger is enabled . context -- The full URL to the source code repository ( Requires ' . git ' suffix for a github repo ) or the repository of an OCI artifact in an Azure container registry . If ' / dev / null ' is specified the value will be set to None and ignored . This is a required argument if the task is not a system task . cpu -- The CPU configuration in terms of number of cores required for the run . file -- Relative path of the the task / docker file to the source code root folder . Task files must be suffixed with ' . yaml ' or piped from the standard input using ' - ' . git_access_token -- The access token used to access the source control provider . image -- The name and tag of the image using the format : ' - t repo / image : tag ' . Multiple tags are supported by passing - t multiple times . log_template -- The repository and tag template for run log artifact using the format : ' log / repo : tag ' . Only applicable to CMK enabled registry . no_cache -- Indicates whether the image cache is enabled . no_push -- Indicates whether the image built should be pushed to the registry . platform -- The platform where build / task is run Eg ' windows ' and ' linux ' . When it ' s used in build commands it also can be specified in ' os / arch / variant ' format for the resulting image . Eg linux / arm / v7 . The ' arch ' and ' variant ' parts are optional . pull_request_trigger_enabled -- Indicates whether the source control pull request trigger is enabled . The trigger is disabled by default . resource_group -- Name of resource group .
def update(name, registry, agent_pool=None, arg=None, auth_mode=None, base_image_trigger_enabled=None, base_image_trigger_type=None, commit_trigger_enabled=None, context=None, cpu=None, file=None, git_access_token=None, image=None, log_template=None, no_cache=None, no_push=None, platform=None, pull_request_trigger_enabled=None, resource_group=None, secret_arg=None, set=None, set_secret=None, status=None, target=None, timeout=None, update_trigger_endpoint=None, update_trigger_payload_type=None, values=None):
    return _call_az("az acr task update", locals())
def update ( name , registry , agent_pool = None , arg = None , auth_mode = None , base_image_trigger_enabled = None , base_image_trigger_type = None , commit_trigger_enabled = None , context = None , cpu = None , file = None , git_access_token = None , image = None , log_template = None , no_cache = None , no_push = None , platform = None , pull_request_trigger_enabled = None , resource_group = None , secret_arg = None , set = None , set_secret = None , status = None , target = None , timeout = None , update_trigger_endpoint = None , update_trigger_payload_type = None , values = None ) : return _call_az ( "az acr task update" , locals ( ) )
Update a task for an Azure Container Registry.
Update a task for an Azure Container Registry .
'''
    Update a task for an Azure Container Registry.

    Required Parameters:
    - name -- The name of the task.
    - registry -- The name of the container registry. You can configure the default registry name using `az configure --defaults acr=<registry name>`

    Optional Parameters:
    - agent_pool -- The name of the agent pool.
    - arg -- Build argument in '--arg name[=value]' format. Multiples supported by passing '--arg` multiple times.
    - auth_mode -- Auth mode of the source registry.
    - base_image_trigger_enabled -- Indicates whether the base image trigger is enabled.
    - base_image_trigger_type -- The type of the auto trigger for base image dependency updates.
    - commit_trigger_enabled -- Indicates whether the source control commit trigger is enabled.
    - context -- The full URL to the source code repository (Requires '.git' suffix for a github repo) or the repository of an OCI artifact in an Azure container registry (e.g., 'oci://myregistry.azurecr.io/myartifact:mytag'). If '/dev/null' is specified, the value will be set to None and ignored. This is a required argument if the task is not a system task.
    - cpu -- The CPU configuration in terms of number of cores required for the run.
    - file -- Relative path of the the task/docker file to the source code root folder. Task files must be suffixed with '.yaml' or piped from the standard input using '-'.
    - git_access_token -- The access token used to access the source control provider.
    - image -- The name and tag of the image using the format: '-t repo/image:tag'. Multiple tags are supported by passing -t multiple times.
    - log_template -- The repository and tag template for run log artifact using the format: 'log/repo:tag' (e.g., 'acr/logs:{{.Run.ID}}'). Only applicable to CMK enabled registry.
    - no_cache -- Indicates whether the image cache is enabled.
    - no_push -- Indicates whether the image built should be pushed to the registry.
    - platform -- The platform where build/task is run, Eg, 'windows' and 'linux'. When it's used in build commands, it also can be specified in 'os/arch/variant' format for the resulting image. Eg, linux/arm/v7. The 'arch' and 'variant' parts are optional.
    - pull_request_trigger_enabled -- Indicates whether the source control pull request trigger is enabled. The trigger is disabled by default.
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
    - secret_arg -- Secret build argument in '--secret-arg name[=value]' format. Multiples supported by passing --secret-arg multiple times.
    - set -- Task value in '--set name[=value]' format. Multiples supported by passing --set multiple times.
    - set_secret -- Secret task value in '--set-secret name[=value]' format. Multiples supported by passing --set-secret multiple times.
    - status -- The current status of task.
    - target -- The name of the target build stage.
    - timeout -- The timeout in seconds.
    - update_trigger_endpoint -- The full URL of the endpoint to receive base image update trigger notifications.
    - update_trigger_payload_type -- Indicates whether to include metadata about the base image trigger in the payload alongwith the update trigger token, when a notification is sent.
    - values -- The task values/parameters file path relative to the source context.
    '''
name
registry
agent_pool
arg
auth_mode
base_image_trigger_enabled
base_image_trigger_type
commit_trigger_enabled
context
cpu
file
git_access_token
image
log_template
no_cache
no_push
platform
pull_request_trigger_enabled
resource_group
secret_arg
set
set_secret
status
target
timeout
update_trigger_endpoint
update_trigger_payload_type
values