ContainerGroupsOperationsExtensions.CreateOrUpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Create or update container groups.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerInstance.Fluent.Models.ContainerGroupInner> CreateOrUpdateAsync (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 CreateOrUpdateAsync : 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 CreateOrUpdateAsync (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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET