Partner Registrations - Create Or Update

Create a partner registration.
Creates a new partner registration with the specified parameters.

PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerRegistrations/{partnerRegistrationName}?api-version=2022-06-15

URI Parameters

Name In Required Type Description
partnerRegistrationName
path True

string

Name of the partner registration.

resourceGroupName
path True

string

The name of the resource group within the user's subscription.

subscriptionId
path True

string

Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

api-version
query True

string

Version of the API to be used with the client request.

Request Body

Name Required Type Description
location True

string

Location of the resource.

properties.partnerRegistrationImmutableId

string

The immutableId of the corresponding partner registration. Note: This property is marked for deprecation and is not supported in any future GA API version

tags

object

Tags of the resource.

Responses

Name Type Description
200 OK

PartnerRegistration

OK

202 Accepted

PartnerRegistration

Accepted

Other Status Codes

*** Error Responses: ***

  • 400 Bad Request.

  • 404 Not Found.

  • 500 Internal Server Error.

Examples

PartnerRegistrations_CreateOrUpdate

Sample Request

PUT https://management.azure.com/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/partnerRegistrations/examplePartnerRegistrationName1?api-version=2022-06-15

{
  "location": "global",
  "tags": {
    "key1": "value1",
    "key2": "Value2",
    "key3": "Value3"
  }
}

Sample Response

{
  "properties": {
    "provisioningState": "Succeeded",
    "partnerRegistrationImmutableId": "6a1e637f-1495-4938-bf46-ff468b9a75d2"
  },
  "location": "global",
  "tags": {
    "key1": "value1",
    "key2": "Value2",
    "key3": "Value3"
  },
  "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/partnerRegistrations/examplePartnerRegistrationName1",
  "name": "examplePartnerRegistrationName1",
  "type": "Microsoft.EventGrid/partnerRegistrations"
}
{
  "properties": {
    "provisioningState": "Succeeded",
    "partnerRegistrationImmutableId": "6a1e637f-1495-4938-bf46-ff468b9a75d2"
  },
  "location": "global",
  "tags": {
    "key1": "value1",
    "key2": "Value2",
    "key3": "Value3"
  },
  "id": "/subscriptions/5b4b650e-28b9-4790-b3ab-ddbd88d727c4/resourceGroups/examplerg/providers/Microsoft.EventGrid/partnerRegistrations/examplePartnerRegistrationName1",
  "name": "examplePartnerRegistrationName1",
  "type": "Microsoft.EventGrid/partnerRegistrations"
}

Definitions

createdByType

The type of identity that created the resource.

PartnerRegistration

Information about a partner registration.

PartnerRegistrationProvisioningState

Provisioning state of the partner registration.

systemData

Metadata pertaining to creation and last modification of the resource.

createdByType

The type of identity that created the resource.

Name Type Description
Application

string

Key

string

ManagedIdentity

string

User

string

PartnerRegistration

Information about a partner registration.

Name Type Description
id

string

Fully qualified identifier of the resource.

location

string

Location of the resource.

name

string

Name of the resource.

properties.partnerRegistrationImmutableId

string

The immutableId of the corresponding partner registration. Note: This property is marked for deprecation and is not supported in any future GA API version

properties.provisioningState

PartnerRegistrationProvisioningState

Provisioning state of the partner registration.

systemData

systemData

The system metadata relating to Partner Registration resource.

tags

object

Tags of the resource.

type

string

Type of the resource.

PartnerRegistrationProvisioningState

Provisioning state of the partner registration.

Name Type Description
Canceled

string

Creating

string

Deleting

string

Failed

string

Succeeded

string

Updating

string

systemData

Metadata pertaining to creation and last modification of the resource.

Name Type Description
createdAt

string

The timestamp of resource creation (UTC).

createdBy

string

The identity that created the resource.

createdByType

createdByType

The type of identity that created the resource.

lastModifiedAt

string

The timestamp of resource last modification (UTC)

lastModifiedBy

string

The identity that last modified the resource.

lastModifiedByType

createdByType

The type of identity that last modified the resource.