The registrationDefinitions 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 registrationDefinitions resource are:
For a list of changed properties in each API version, see change log.
To create a Microsoft.ManagedServices/registrationDefinitions resource, add the following JSON to your template.
{
"type": "Microsoft.ManagedServices/registrationDefinitions",
"apiVersion": "2022-10-01",
"name": "string",
"scope": "string",
"plan": {
"name": "string",
"product": "string",
"publisher": "string",
"version": "string"
},
"properties": {
"authorizations": [
{
"delegatedRoleDefinitionIds": [ "string" ],
"principalId": "string",
"principalIdDisplayName": "string",
"roleDefinitionId": "string"
}
],
"description": "string",
"eligibleAuthorizations": [
{
"justInTimeAccessPolicy": {
"managedByTenantApprovers": [
{
"principalId": "string",
"principalIdDisplayName": "string"
}
],
"maximumActivationDuration": "string",
"multiFactorAuthProvider": "string"
},
"principalId": "string",
"principalIdDisplayName": "string",
"roleDefinitionId": "string"
}
],
"managedByTenantId": "string",
"registrationDefinitionName": "string"
}
}
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.ManagedServices/registrationDefinitions' |
apiVersion | The resource api version | '2022-10-01' |
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. |
plan | The details for the Managed Services offerâs plan in Azure Marketplace. | Plan |
properties | The properties of a registration definition. | RegistrationDefinitionProperties |
Name | Description | Value |
---|---|---|
name | Azure Marketplace plan name. | string (required) |
product | Azure Marketplace product code. | string (required) |
publisher | Azure Marketplace publisher ID. | string (required) |
version | Azure Marketplace plan's version. | string (required) |
Name | Description | Value |
---|---|---|
authorizations | The collection of authorization objects describing the access Azure Active Directory principals in the managedBy tenant will receive on the delegated resource in the managed tenant. | Authorization[] (required) |
description | The description of the registration definition. | string |
eligibleAuthorizations | The collection of eligible authorization objects describing the just-in-time access Azure Active Directory principals in the managedBy tenant will receive on the delegated resource in the managed tenant. | EligibleAuthorization[] |
managedByTenantId | The identifier of the managedBy tenant. | string (required) |
registrationDefinitionName | The name of the registration definition. | string |
Name | Description | Value |
---|---|---|
delegatedRoleDefinitionIds | The delegatedRoleDefinitionIds field is required when the roleDefinitionId refers to the User Access Administrator Role. It is the list of role definition ids which define all the permissions that the user in the authorization can assign to other principals. | string[] |
principalId | The identifier of the Azure Active Directory principal. | string (required) |
principalIdDisplayName | The display name of the Azure Active Directory principal. | string |
roleDefinitionId | The identifier of the Azure built-in role that defines the permissions that the Azure Active Directory principal will have on the projected scope. | string (required) |
Name | Description | Value |
---|---|---|
justInTimeAccessPolicy | The just-in-time access policy setting. | JustInTimeAccessPolicy |
principalId | The identifier of the Azure Active Directory principal. | string (required) |
principalIdDisplayName | The display name of the Azure Active Directory principal. | string |
roleDefinitionId | The identifier of the Azure built-in role that defines the permissions that the Azure Active Directory principal will have on the projected scope. | string (required) |
Name | Description | Value |
---|---|---|
managedByTenantApprovers | The list of managedByTenant approvers for the eligible authorization. | EligibleApprover[] |
maximumActivationDuration | The maximum access duration in ISO 8601 format for just-in-time access requests. | string |
multiFactorAuthProvider | The multi-factor authorization provider to be used for just-in-time access requests. | 'Azure' 'None' (required) |
Name | Description | Value |
---|---|---|
principalId | The identifier of the Azure Active Directory principal. | string (required) |
principalIdDisplayName | The display name of the Azure Active Directory principal. | string |