Sdílet prostřednictvím


ServiceTopologiesOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a service topology.

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

Parameters

operations
IServiceTopologiesOperations

The operations group for this extension method.

serviceTopologyInfo
ServiceTopologyResource

Source topology object defines the resource.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

serviceTopologyName
String

The name of the service topology .

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Synchronously creates a new service topology or updates an existing service topology.

Applies to