pyaz/acr/task/__init__.py
def cancel_run(registry, run_id, resource_group=None):
    '''
    Cancel a specified run of an Azure Container Registry.

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

    Optional Parameters:
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
    '''
    return _call_az("az acr task cancel-run", locals())

    Cancel a specified run of an Azure Container Registry.

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

    Optional Parameters:
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
    
Cancel a specified run of an Azure Container Registry.
Required Parameters:
registry -- The name of the container registry. You can configure the default registry name using `az configure --defaults acr=`
run_id -- The unique run identifier.

Optional Parameters:
resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=`
Cancel a specified run of an Azure Container Registry . Required Parameters : registry -- The name of the container registry . You can configure the default registry name using ` az configure -- defaults acr = ` run_id -- The unique run identifier . Optional Parameters : resource_group -- Name of resource group . You can configure the default group using ` az configure -- defaults group = `
def cancel_run(registry, run_id, resource_group=None):
    return _call_az("az acr task cancel-run", locals())
def cancel_run ( registry , run_id , resource_group = None ) : return _call_az ( "az acr task cancel-run" , locals ( ) )
Cancel a specified run of an Azure Container Registry.
Cancel a specified run of an Azure Container Registry .
'''
    Cancel a specified run of an Azure Container Registry.

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

    Optional Parameters:
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
    '''
registry
run_id
resource_group