Share via


Storage.ObjectReplicationPoliciesCreateOrUpdateWithResult Method

Definition

public System.Threading.Tasks.Task<Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IObjectReplicationPolicy> ObjectReplicationPoliciesCreateOrUpdateWithResult (string subscriptionId, string resourceGroupName, string accountName, string objectReplicationPolicyId, Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IObjectReplicationPolicy 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.ObjectReplicationPoliciesCreateOrUpdateWithResult : string * string * string * string * Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IObjectReplicationPolicy * 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.IObjectReplicationPolicy>
Public Function ObjectReplicationPoliciesCreateOrUpdateWithResult (subscriptionId As String, resourceGroupName As String, accountName As String, objectReplicationPolicyId As String, body As IObjectReplicationPolicy, eventListener As IEventListener, sender As ISendAsync, Optional serializationMode As SerializationMode = Microsoft.Azure.PowerShell.Cmdlets.Storage.Runtime.SerializationMode.IncludeCreateOrUpdate) As Task(Of IObjectReplicationPolicy)

Parameters

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

Returns

Applies to