Microsoft.ApiManagement service/portalsettings 'delegation' 2021-01-01-preview

The service/portalsettings resource type can be deployed to: Resource groups.

To learn about resource group deployments, see Bicep or ARM template.

Options for name property

The service/portalsettings resource accepts different properties based on the value of the name property. This article shows the properties that are available when you set name: 'delegation'.

For other options, see:

Template format

To create a Microsoft.ApiManagement/service/portalsettings resource, add the following Bicep or JSON to your template.

resource symbolicname 'Microsoft.ApiManagement/service/portalsettings@2021-01-01-preview' = {
  name: 'delegation'
  parent: parentSymbolicName
  properties: {
    subscriptions: {
      enabled: bool
    }
    url: 'string'
    userRegistration: {
      enabled: bool
    }
    validationKey: 'string'
  }
}

Property values

service/portalsettings-delegation

Name Description Value
type The resource type

For Bicep, set this value in the resource declaration.
'Microsoft.ApiManagement/service/portalsettings'
apiVersion The resource api version

For Bicep, set this value in the resource declaration.
'2021-01-01-preview'
name The resource name

See how to set names and types for child resources in Bicep or JSON ARM templates.
'delegation'
parent In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource.

For more information, see Child resource outside parent resource.
parentSymbolicName
properties Delegation settings contract properties. PortalDelegationSettingsProperties

PortalDelegationSettingsProperties

Name Description Value
subscriptions Subscriptions delegation settings properties. SubscriptionsDelegationSettingsProperties
url A delegation Url. string
userRegistration User registration delegation settings properties. RegistrationDelegationSettingsProperties
validationKey A base64-encoded validation key to validate, that a request is coming from Azure API Management. string

SubscriptionsDelegationSettingsProperties

Name Description Value
enabled Enable or disable delegation for subscriptions. bool

RegistrationDelegationSettingsProperties

Name Description Value
enabled Enable or disable delegation for user registration. bool