Aracılığıyla paylaş


ServiceEndpointPoliciesOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a service Endpoint Policies.

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

Parameters

operations
IServiceEndpointPoliciesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

serviceEndpointPolicyName
String

The name of the service endpoint policy.

parameters
ServiceEndpointPolicy

Parameters supplied to the create or update service endpoint policy operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to