Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info
This action is a wrapper for the Azure command line: az group createdelete.  If you're having trouble using this action, or any of the Azure actions, please refer to the Azure command line reference.

The Create Delete Azure Resource Group action can be used to create delete resource groups on Azure.  Resource groups are containers for organising related resources. You will need to specify a resource group when deploying web apps, functions, files or blobs to Azure.

Delete Azure Resource Group 

Image RemovedImage Added

Name

A friendly name for this action (will be displayed in the actions workflow area).

...

Generally you will need to log in to Azure before running this action and log out afterwards. If you have several Azure actions in a stage, you can avoid repeated logins by unchecking the Login action on all but the first Azure action and unchecking the Logout action on all but the last Azure action. The Authentication tab will be shown if either of these options is ticked.

Group Name

A name for the new Name of resource group to delete.   [--name]

...

Subscription

The geographical location for the new resource group. Resources within the resource group will use this location by default. [--locationname or ID of the subscription to use. If omitted the default subscription for your environment will be used. [--subscription]

Using

The version of the Azure command line to use. It is important that the agent has the correct version of the Azure command line installed for command provided. 

...

Alternatively, you can select the Custom option from the Using drop down list and specify a path in the resulting input field that will be displayed. Please read Why it's a good idea to use a property collector before using this option.


Authentication

Image RemovedImage Added

Sign in/out using service principal

...

Service Principal Authentication

Image RemovedImage Added

Name or URL

Enter the application name or URL associated with the service principal. [login --service-principal --username]

...

Tick to support automatic certificate rollovers with service principals configured with Subject Name and Issuer Authentication.

Settings

Image Removed

...

Specify any tags to associate with the resource group. Tags can be used to label resource groups and help with organisation of resources. [--tags]

Subscription

The name or ID of the subscription to use. If omitted the default subscription for your environment will be used. [--subscription]

Variables

Image Removed

Location

Select the name of an existing build variable to set with the location of the new resource group. The location is extracted to the command line results.

Resource ID

Select the name of an existing build variable to set with the resource ID of the new resource group. The resource ID is extracted to the command line results.

Options


Options

Image AddedImage Removed

Log Level

The amount of information detail to display in the build log.

...

If this is ticked, any warnings logged will not mark the action with a warning status.


Environment

Image RemovedImage Added

Environment Variables

...