Share via


Microsoft.ManagedServices registrationAssignments 2022-10-01

Bicep resource definition

The registrationAssignments 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.ManagedServices/registrationAssignments resource, add the following Bicep to your template.

resource symbolicname 'Microsoft.ManagedServices/registrationAssignments@2022-10-01' = {
  scope: resourceSymbolicName or scope
  name: 'string'
  properties: {
    registrationDefinitionId: 'string'
  }
}

Property Values

Microsoft.ManagedServices/registrationAssignments

Name Description Value
name The resource name string (required)
properties The properties of a registration assignment. RegistrationAssignmentProperties
scope Use when creating a resource at a scope that is different than the deployment scope. Set this property to the symbolic name of a resource to apply the extension resource.

RegistrationAssignmentProperties

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

ARM template resource definition

The registrationAssignments 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.ManagedServices/registrationAssignments resource, add the following JSON to your template.

{
  "type": "Microsoft.ManagedServices/registrationAssignments",
  "apiVersion": "2022-10-01",
  "name": "string",
  "properties": {
    "registrationDefinitionId": "string"
  }
}

Property Values

Microsoft.ManagedServices/registrationAssignments

Name Description Value
apiVersion The api version '2022-10-01'
name The resource name string (required)
properties The properties of a registration assignment. RegistrationAssignmentProperties
type The resource type 'Microsoft.ManagedServices/registrationAssignments'

RegistrationAssignmentProperties

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

Usage Examples

Terraform (AzAPI provider) resource definition

The registrationAssignments 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.ManagedServices/registrationAssignments resource, add the following Terraform to your template.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.ManagedServices/registrationAssignments@2022-10-01"
  name = "string"
  parent_id = "string"
  body = {
    properties = {
      registrationDefinitionId = "string"
    }
  }
}

Property Values

Microsoft.ManagedServices/registrationAssignments

Name Description Value
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
type The resource type "Microsoft.ManagedServices/registrationAssignments@2022-10-01"

RegistrationAssignmentProperties

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