Udostępnij przez


Cdn.SecretsCreateWithResult Method

Definition

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

Parameters

subscriptionId
String
resourceGroupName
String
profileName
String
secretName
String
body
ISecret
eventListener
IEventListener
sender
ISendAsync
serializationMode
SerializationMode

Returns

Applies to