ContainerGroupsOperationsExtensions.BeginCreateOrUpdateAsync Method

Definition

Create or update container groups.

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

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
ContainerGroup

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