Compartilhar via


ObjectReplicationPolicyRule Constructors

Definition

Overloads

ObjectReplicationPolicyRule()

Initializes a new instance of the ObjectReplicationPolicyRule class.

ObjectReplicationPolicyRule(String, String, String, ObjectReplicationPolicyFilter)

Initializes a new instance of the ObjectReplicationPolicyRule class.

ObjectReplicationPolicyRule()

Initializes a new instance of the ObjectReplicationPolicyRule class.

public ObjectReplicationPolicyRule ();
Public Sub New ()

Applies to

ObjectReplicationPolicyRule(String, String, String, ObjectReplicationPolicyFilter)

Initializes a new instance of the ObjectReplicationPolicyRule class.

public ObjectReplicationPolicyRule (string sourceContainer, string destinationContainer, string ruleId = default, Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.ObjectReplicationPolicyFilter filters = default);
new Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.ObjectReplicationPolicyRule : string * string * string * Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.ObjectReplicationPolicyFilter -> Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.ObjectReplicationPolicyRule
Public Sub New (sourceContainer As String, destinationContainer As String, Optional ruleId As String = Nothing, Optional filters As ObjectReplicationPolicyFilter = Nothing)

Parameters

sourceContainer
String

Required. Source container name.

destinationContainer
String

Required. Destination container name.

ruleId
String

Rule Id is auto-generated for each new rule on destination account. It is required for put policy on source account.

filters
ObjectReplicationPolicyFilter

Optional. An object that defines the filter set.

Applies to