语言

你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

ContainerInstance.ContainerGroupsCreateOrUpdateWithResult Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.IContainerGroup> ContainerGroupsCreateOrUpdateWithResult(string subscriptionId, string resourceGroupName, string containerGroupName, Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.IContainerGroup body, Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.SerializationMode.IncludeCreateOrUpdate);
member this.ContainerGroupsCreateOrUpdateWithResult : string * string * string * Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.IContainerGroup * Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.ISendAsync * Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.SerializationMode -> System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.IContainerGroup>
Public Function ContainerGroupsCreateOrUpdateWithResult (subscriptionId As String, resourceGroupName As String, containerGroupName As String, body As IContainerGroup, eventListener As IEventListener, sender As ISendAsync, Optional serializationMode As SerializationMode = Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.SerializationMode.IncludeCreateOrUpdate) As Task(Of IContainerGroup)

Parameters

subscriptionId
String
resourceGroupName
String
containerGroupName
String
eventListener
IEventListener
sender
ISendAsync
serializationMode
SerializationMode

Returns

Applies to