Udostępnij przez


ContainerRegistry.TokensCreateWithResult Method

Definition

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

Parameters

subscriptionId
String
resourceGroupName
String
registryName
String
tokenName
String
body
IToken
eventListener
IEventListener
sender
ISendAsync
serializationMode
SerializationMode

Returns

Applies to