Dela via


ContainerGroupsOperationsExtensions.BeginCreateOrUpdateAsync Method

Definition

Create or update container groups.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerInstance.Fluent.Models.ContainerGroupInner> BeginCreateOrUpdateAsync (this Microsoft.Azure.Management.ContainerInstance.Fluent.IContainerGroupsOperations operations, string resourceGroupName, string containerGroupName, Microsoft.Azure.Management.ContainerInstance.Fluent.Models.ContainerGroupInner containerGroup, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateOrUpdateAsync : Microsoft.Azure.Management.ContainerInstance.Fluent.IContainerGroupsOperations * string * string * Microsoft.Azure.Management.ContainerInstance.Fluent.Models.ContainerGroupInner * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerInstance.Fluent.Models.ContainerGroupInner>
<Extension()>
Public Function BeginCreateOrUpdateAsync (operations As IContainerGroupsOperations, resourceGroupName As String, containerGroupName As String, containerGroup As ContainerGroupInner, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ContainerGroupInner)

Parameters

operations
IContainerGroupsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

containerGroupName
String

The name of the container group.

containerGroup
ContainerGroupInner

The properties of the container group to be created or updated.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Create or update container groups with specified configurations.

Applies to