Freigeben über


Subscription.AliasCreateWithResult Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Subscription.Models.ISubscriptionAliasResponse> AliasCreateWithResult(string aliasName, Microsoft.Azure.PowerShell.Cmdlets.Subscription.Models.IPutAliasRequest body, Microsoft.Azure.PowerShell.Cmdlets.Subscription.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.Subscription.Runtime.ISendAsync sender, Microsoft.Azure.PowerShell.Cmdlets.Subscription.Runtime.SerializationMode serializationMode = Microsoft.Azure.PowerShell.Cmdlets.Subscription.Runtime.SerializationMode.IncludeCreateOrUpdate);
member this.AliasCreateWithResult : string * Microsoft.Azure.PowerShell.Cmdlets.Subscription.Models.IPutAliasRequest * Microsoft.Azure.PowerShell.Cmdlets.Subscription.Runtime.IEventListener * Microsoft.Azure.PowerShell.Cmdlets.Subscription.Runtime.ISendAsync * Microsoft.Azure.PowerShell.Cmdlets.Subscription.Runtime.SerializationMode -> System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Subscription.Models.ISubscriptionAliasResponse>
Public Function AliasCreateWithResult (aliasName As String, body As IPutAliasRequest, eventListener As IEventListener, sender As ISendAsync, Optional serializationMode As SerializationMode = Microsoft.Azure.PowerShell.Cmdlets.Subscription.Runtime.SerializationMode.IncludeCreateOrUpdate) As Task(Of ISubscriptionAliasResponse)

Parameters

aliasName
String
eventListener
IEventListener
sender
ISendAsync
serializationMode
SerializationMode

Returns

Applies to