Udostępnij za pośrednictwem


PartnerNamespacesOperationsExtensions.BeginCreateOrUpdateAsync Method

Definition

Create a partner namespace.

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

Parameters

operations
IPartnerNamespacesOperations

The operations group for this extension method.

resourceGroupName
String

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

partnerNamespaceName
String

Name of the partner namespace.

partnerNamespaceInfo
PartnerNamespace

PartnerNamespace information.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Asynchronously creates a new partner namespace with the specified parameters.

Applies to