Udostępnij za pośrednictwem


PolicyDefinitionsOperationsExtensions.CreateOrUpdateAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Internal.Resources.Models.PolicyDefinition> CreateOrUpdateAsync (this Microsoft.Azure.Management.Internal.Resources.IPolicyDefinitionsOperations operations, string policyDefinitionName, Microsoft.Azure.Management.Internal.Resources.Models.PolicyDefinition parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Internal.Resources.IPolicyDefinitionsOperations * string * Microsoft.Azure.Management.Internal.Resources.Models.PolicyDefinition * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Internal.Resources.Models.PolicyDefinition>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IPolicyDefinitionsOperations, policyDefinitionName As String, parameters As PolicyDefinition, Optional cancellationToken As CancellationToken = Nothing) As Task(Of PolicyDefinition)

Parameters

policyDefinitionName
String
parameters
PolicyDefinition
cancellationToken
CancellationToken

Returns

Applies to