Partager via


Storage.ManagementPoliciesCreateOrUpdateWithResult Method

Definition

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

Parameters

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

Returns

Applies to