Microsoft.AzureStack registrations 2017-06-01

Bicep resource definition

The registrations resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.AzureStack/registrations resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.AzureStack/registrations@2017-06-01' = {
  name: 'string'
  location: 'global'
  properties: {
    registrationToken: 'string'
  }
}

Property values

registrations

Name Description Value
name The resource name string (required)
location Location of the resource. 'global' (required)
properties Properties of the Azure Stack registration resource RegistrationParameterPropertiesOrRegistrationPropert... (required)

RegistrationParameterPropertiesOrRegistrationPropert...

Name Description Value
registrationToken The token identifying registered Azure Stack string (required)

ARM template resource definition

The registrations resource type can be deployed with operations that target:

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.AzureStack/registrations resource, add the following JSON to your template.

{
  "type": "Microsoft.AzureStack/registrations",
  "apiVersion": "2017-06-01",
  "name": "string",
  "location": "global",
  "properties": {
    "registrationToken": "string"
  }
}

Property values

registrations

Name Description Value
type The resource type 'Microsoft.AzureStack/registrations'
apiVersion The resource api version '2017-06-01'
name The resource name string (required)
location Location of the resource. 'global' (required)
properties Properties of the Azure Stack registration resource RegistrationParameterPropertiesOrRegistrationPropert... (required)

RegistrationParameterPropertiesOrRegistrationPropert...

Name Description Value
registrationToken The token identifying registered Azure Stack string (required)

Terraform (AzAPI provider) resource definition

The registrations resource type can be deployed with operations that target:

  • Resource groups

For a list of changed properties in each API version, see change log.

Resource format

To create a Microsoft.AzureStack/registrations resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.AzureStack/registrations@2017-06-01"
  name = "string"
  location = "global"
  parent_id = "string"
  body = jsonencode({
    properties = {
      registrationToken = "string"
    }
  })
}

Property values

registrations

Name Description Value
type The resource type "Microsoft.AzureStack/registrations@2017-06-01"
name The resource name string (required)
location Location of the resource. "global" (required)
parent_id To deploy to a resource group, use the ID of that resource group. string (required)
properties Properties of the Azure Stack registration resource RegistrationParameterPropertiesOrRegistrationPropert... (required)

RegistrationParameterPropertiesOrRegistrationPropert...

Name Description Value
registrationToken The token identifying registered Azure Stack string (required)