Microsoft.ManagedServices registrationAssignments 2020-02-01-preview

Bicep resource definition

The registrationAssignments resource type is an extension resource, which means you can apply it to another resource.

Use the scope property on this resource to set the scope for this resource. See Set scope on extension resources in Bicep.

Valid deployment scopes for the registrationAssignments resource are:

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

Resource format

To create a Microsoft.ManagedServices/registrationAssignments resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.ManagedServices/registrationAssignments@2020-02-01-preview' = {
  name: 'string'
  scope: resourceSymbolicName
  properties: {
    registrationDefinitionId: 'string'
  }
}

Property values

registrationAssignments

Name Description Value
name The resource name string (required)
scope Use when creating an extension resource at a scope that is different than the deployment scope. Target resource

For Bicep, set this property to the symbolic name of the resource to apply the extension resource.
properties The properties of a registration assignment. RegistrationAssignmentProperties

RegistrationAssignmentProperties

Name Description Value
registrationDefinitionId The fully qualified path of the registration definition. string (required)

ARM template resource definition

The registrationAssignments resource type is an extension resource, which means you can apply it to another resource.

Use the scope property on this resource to set the scope for this resource. See Set scope on extension resources in ARM templates.

Valid deployment scopes for the registrationAssignments resource are:

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

Resource format

To create a Microsoft.ManagedServices/registrationAssignments resource, add the following JSON to your template.

{
  "type": "Microsoft.ManagedServices/registrationAssignments",
  "apiVersion": "2020-02-01-preview",
  "name": "string",
  "scope": "string",
  "properties": {
    "registrationDefinitionId": "string"
  }
}

Property values

registrationAssignments

Name Description Value
type The resource type 'Microsoft.ManagedServices/registrationAssignments'
apiVersion The resource api version '2020-02-01-preview'
name The resource name string (required)
scope Use when creating an extension resource at a scope that is different than the deployment scope. Target resource

For JSON, set the value to the full name of the resource to apply the extension resource to.
properties The properties of a registration assignment. RegistrationAssignmentProperties

RegistrationAssignmentProperties

Name Description Value
registrationDefinitionId The fully qualified path of the registration definition. string (required)

Terraform (AzAPI provider) resource definition

The registrationAssignments resource type is an extension resource, which means you can apply it to another resource.

Use the parent_id property on this resource to set the scope for this resource.

Valid deployment scopes for the registrationAssignments resource are:

  • Resource groups

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

Resource format

To create a Microsoft.ManagedServices/registrationAssignments resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.ManagedServices/registrationAssignments@2020-02-01-preview"
  name = "string"
  parent_id = "string"
  body = jsonencode({
    properties = {
      registrationDefinitionId = "string"
    }
  })
}

Property values

registrationAssignments

Name Description Value
type The resource type "Microsoft.ManagedServices/registrationAssignments@2020-02-01-preview"
name The resource name string (required)
parent_id The ID of the resource to apply this extension resource to. string (required)
properties The properties of a registration assignment. RegistrationAssignmentProperties

RegistrationAssignmentProperties

Name Description Value
registrationDefinitionId The fully qualified path of the registration definition. string (required)