ObjectReplicationPolicyRule Constructors
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.
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.Management.Storage.Models.ObjectReplicationPolicyFilter filters = default);
new Microsoft.Azure.Management.Storage.Models.ObjectReplicationPolicyRule : string * string * string * Microsoft.Azure.Management.Storage.Models.ObjectReplicationPolicyFilter -> Microsoft.Azure.Management.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.