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.Models.ContainerGroup> CreateOrUpdateAsync (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 CreateOrUpdateAsync : 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 CreateOrUpdateAsync (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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET