你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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.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.