The action to be performed on the Azure resources or cloud service.
resourceGroupName - Resource Group string. Required when ConnectedServiceNameSelector = ConnectedServiceName.
Provides the name of the resource group.
cloudService - Cloud Service string. Required when ConnectedServiceNameSelector = ConnectedServiceNameClassic.
Provides the name of the cloud service.
location - Location string. Required when action = Create Or Update Resource Group. Allowed values: Australia East, Australia Southeast, Brazil South, Canada Central, Canada East, Central India, Central US, East Asia, East US, East US 2 , Japan East, Japan West, North Central US, North Europe, South Central US, South India, Southeast Asia, UK South, UK West, West Central US, West Europe, West India, West US, West US 2. Default value: East US.
The location to deploy the resource group. If the resource group already exists in the subscription, then this value will be ignored.
csmFile - Template string. Required when action = Create Or Update Resource Group.
csmParametersFile - Template Parameters string. Optional. Use when action = Create Or Update Resource Group.
Specifies the URL of the parameters file. An example URL: https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/101-vm-simple-windows/azuredeploy.parameters.json
To use a file stored in a private storage account, retrieve and include the shared access signature (SAS) token in the URL of the template. Example: <blob_storage_url>/template.json?<SAStoken> To upload a parameters file to a storage account and generate a SAS token, use the Azure file copy task or follow the steps using PowerShell or Azure CLI.
To view the template parameters in a grid, click on … next to the override template parameters text box. This feature requires that CORS rules are enabled at the source. If templates are in Azure storage blob, refer to Cross-Origin Resource Sharing to enable CORS.
overrideParameters - Override Template Parameters string. Optional. Use when action = Create Or Update Resource Group.
Specifies the template parameters to override.
To view the template parameters in a grid, click on ... next to the Override Parameters textbox. This feature requires that CORS rules are enabled at the source. If the templates are in the Azure storage blob, reference this string to enable CORS, or type the template parameters to override in the textbox.
If the parameter value has multiple words, enclose the words in quotes, even if you're passing the value by using variables.
For example, -name "parameter value" -name2 "$(var)".
To override object type parameters, use stringified JSON objects.
For example, -options ["option1"] -map {"key1": "value1" }.
The Incremental mode handles deployments as incremental updates to the resource group. It leaves unchanged resources that exist in the resource group but are not specified in the template.
Complete mode deletes resources that are not in your template. Complete mode takes relatively more time than incremental mode. If the task times out, consider increasing the timeout or changing to the Incremental mode.
Brīdinājums
Complete mode will delete all the existing resources in the resource group that are not specified in the template. Do review if the resource group you're deploying to doesn't contain any necessary resources that are not specified in the template.
Validate mode enables you to find problems with the template before creating actual resources.
Piezīme
The Validate mode always creates a resource group, even if no resources are deployed.
enableDeploymentPrerequisitesForCreate - Enable Deployment Prerequisites boolean. Optional. Use when action = Create Or Update Resource Group. Default value: false.
Applicable only when the resource group contains virtual machines.
Choosing the Deployment Group option configures the Deployment Group agent on each of the virtual machines.
Selecting the WinRM option configures the Windows Remote Management (WinRM) listener over HTTPS protocol on port 5986 using a self-signed certificate. This configuration is required for performing deployment operation on Azure machines. If the target virtual machines are backed by a load balancer, ensure the Inbound NAT rules are configured for the target port (5986).
enableDeploymentPrerequisitesForSelect - Enable Deployment Prerequisites boolean. Optional. Use when action = Select Resource Group. Default value: false.
Applicable only when the resource group contains virtual machines.
Choosing the Deployment Group option configures the Deployment Group agent on each of the virtual machines.
Selecting the WinRM option configures the Windows Remote Management (WinRM) listener over HTTPS protocol on port 5986 using a self-signed certificate. This configuration is required for performing deployment operation on Azure machines. If the target virtual machines are backed by a load balancer, ensure the Inbound NAT rules are configured for the target port (5986).
outputVariable - Resource Group string.
Required when an existing resource group is selected. Provides a name for the resource group variable. The variable can be used as $(variableName) to refer to the resource group in subsequent tasks, such as in PowerShell on Target Machines task for deploying applications.
Valid only when the selected action is Create, Update, or Select.
Pievienojieties meetup sērijai, lai kopā ar citiem izstrādātājiem un ekspertiem izveidotu mērogojamus AI risinājumus, kuru pamatā ir reālas lietošanas gadījumi.