Share via


PartnerConfigurationsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Create or update a partner configuration.

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

Parameters

operations
IPartnerConfigurationsOperations

The operations group for this extension method.

resourceGroupName
String

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

partnerConfigurationInfo
PartnerConfiguration

Partner configuration information.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Synchronously creates or updates a partner configuration with the specified parameters.

Applies to