Cdn.SecurityPoliciesCreateWithResult 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.
public System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISecurityPolicy> SecurityPoliciesCreateWithResult(string subscriptionId, string resourceGroupName, string profileName, string securityPolicyName, Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISecurityPolicy 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.SecurityPoliciesCreateWithResult : string * string * string * string * Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.ISecurityPolicy * 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.ISecurityPolicy>
Public Function SecurityPoliciesCreateWithResult (subscriptionId As String, resourceGroupName As String, profileName As String, securityPolicyName As String, body As ISecurityPolicy, eventListener As IEventListener, sender As ISendAsync, Optional serializationMode As SerializationMode = Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.SerializationMode.IncludeCreateOrUpdate) As Task(Of ISecurityPolicy)
Parameters
- subscriptionId
- String
- resourceGroupName
- String
- profileName
- String
- securityPolicyName
- String
- body
- ISecurityPolicy
- eventListener
- IEventListener
- sender
- ISendAsync
- serializationMode
- SerializationMode