다음을 통해 공유


LoadBalancerBackendAddressPoolsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a load balancer backend address pool.

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

Parameters

operations
ILoadBalancerBackendAddressPoolsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

loadBalancerName
String

The name of the load balancer.

backendAddressPoolName
String

The name of the backend address pool.

parameters
BackendAddressPool

Parameters supplied to the create or update load balancer backend address pool operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to