Condividi tramite


PartnerRegistrationsOperationsExtensions.BeginCreateOrUpdateAsync Method

Definition

Create a partner registration.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.EventGrid.Models.PartnerRegistration> BeginCreateOrUpdateAsync (this Microsoft.Azure.Management.EventGrid.IPartnerRegistrationsOperations operations, string resourceGroupName, string partnerRegistrationName, Microsoft.Azure.Management.EventGrid.Models.PartnerRegistration partnerRegistrationInfo, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateOrUpdateAsync : Microsoft.Azure.Management.EventGrid.IPartnerRegistrationsOperations * string * string * Microsoft.Azure.Management.EventGrid.Models.PartnerRegistration * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.EventGrid.Models.PartnerRegistration>
<Extension()>
Public Function BeginCreateOrUpdateAsync (operations As IPartnerRegistrationsOperations, resourceGroupName As String, partnerRegistrationName As String, partnerRegistrationInfo As PartnerRegistration, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PartnerRegistration)

Parameters

operations
IPartnerRegistrationsOperations

The operations group for this extension method.

resourceGroupName
String

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

partnerRegistrationName
String

Name of the partner registration.

partnerRegistrationInfo
PartnerRegistration

PartnerRegistration information.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Creates a new partner registration with the specified parameters.

Applies to