Microsoft.EventGrid partnerRegistrations

Template format

To create a Microsoft.EventGrid/partnerRegistrations resource, add the following JSON to the resources section of your template.

{
  "name": "string",
  "type": "Microsoft.EventGrid/partnerRegistrations",
  "apiVersion": "2020-04-01-preview",
  "location": "string",
  "tags": {},
  "properties": {
    "partnerName": "string",
    "partnerResourceTypeName": "string",
    "partnerResourceTypeDisplayName": "string",
    "partnerResourceTypeDescription": "string",
    "longDescription": "string",
    "partnerCustomerServiceNumber": "string",
    "partnerCustomerServiceExtension": "string",
    "customerServiceUri": "string",
    "setupUri": "string",
    "logoUri": "string",
    "visibilityState": "string",
    "authorizedAzureSubscriptionIds": [
      "string"
    ]
  }
}

Property values

The following tables describe the values you need to set in the schema.

Microsoft.EventGrid/partnerRegistrations object

Note

In Bicep, type and apiVersion are specified in the first line of the resource declaration. Use the format <type>@<apiVersion>. Don't set those properties in the resource body.

Name Type Required Value
name string Yes Name of the partner registration.
type enum Yes For JSON - Microsoft.EventGrid/partnerRegistrations
apiVersion enum Yes For JSON - 2020-04-01-preview
location string Yes Location of the resource.
tags object No Tags of the resource.
properties object Yes Properties of the partner registration. - PartnerRegistrationProperties object

PartnerRegistrationProperties object

Name Type Required Value
partnerName string No Official name of the partner name. For example: "Contoso".
partnerResourceTypeName string No Name of the partner resource type.
partnerResourceTypeDisplayName string No Display name of the partner resource type.
partnerResourceTypeDescription string No Short description of the partner resource type. The length of this description should not exceed 256 characters.
longDescription string No Long description for the custom scenarios and integration to be displayed in the portal if needed. Length of this description should not exceed 2048 characters.
partnerCustomerServiceNumber string No The customer service number of the publisher. The expected phone format should start with a '+' sign followed by the country code. The remaining digits are then followed. Only digits and spaces are allowed and its length cannot exceed 16 digits including country code. Examples of valid phone numbers are: +1 515 123 4567 and +966 7 5115 2471. Examples of invalid phone numbers are: +1 (515) 123-4567, 1 515 123 4567 and +966 121 5115 24 7 551 1234 43
partnerCustomerServiceExtension string No The extension of the customer service number of the publisher. Only digits are allowed and number of digits should not exceed 10.
customerServiceUri string No The extension of the customer service URI of the publisher.
setupUri string No URI of the partner website that can be used by Azure customers to setup Event Grid integration on an event source.
logoUri string No URI of the logo.
visibilityState enum No Visibility state of the partner registration. - Hidden, PublicPreview, GenerallyAvailable
authorizedAzureSubscriptionIds array No List of Azure subscription Ids that are authorized to create a partner namespace associated with this partner registration. This is an optional property. Creating partner namespaces is always permitted under the same Azure subscription as the one used for creating the partner registration. - string