Share via


PartnerOperationsExtensions.CreateAsync Method

Definition

Create a management partner for the objectId and tenantId.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ManagementPartner.Models.PartnerResponse> CreateAsync (this Microsoft.Azure.Management.ManagementPartner.IPartnerOperations operations, string partnerId, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Management.ManagementPartner.IPartnerOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ManagementPartner.Models.PartnerResponse>
<Extension()>
Public Function CreateAsync (operations As IPartnerOperations, partnerId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PartnerResponse)

Parameters

operations
IPartnerOperations

The operations group for this extension method.

partnerId
String

Id of the Partner

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to