ObjectReplicationPolicy 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
ObjectReplicationPolicy() |
Initializes a new instance of the ObjectReplicationPolicy class. |
ObjectReplicationPolicy(String, String, String, String, String, String, Nullable<DateTime>, IList<ObjectReplicationPolicyRule>) |
Initializes a new instance of the ObjectReplicationPolicy class. |
ObjectReplicationPolicy()
Initializes a new instance of the ObjectReplicationPolicy class.
public ObjectReplicationPolicy ();
Public Sub New ()
Applies to
ObjectReplicationPolicy(String, String, String, String, String, String, Nullable<DateTime>, IList<ObjectReplicationPolicyRule>)
Initializes a new instance of the ObjectReplicationPolicy class.
public ObjectReplicationPolicy (string sourceAccount, string destinationAccount, string id = default, string name = default, string type = default, string policyId = default, DateTime? enabledTime = default, System.Collections.Generic.IList<Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.ObjectReplicationPolicyRule> rules = default);
new Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.ObjectReplicationPolicy : string * string * string * string * string * string * Nullable<DateTime> * System.Collections.Generic.IList<Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.ObjectReplicationPolicyRule> -> Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.ObjectReplicationPolicy
Public Sub New (sourceAccount As String, destinationAccount As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional policyId As String = Nothing, Optional enabledTime As Nullable(Of DateTime) = Nothing, Optional rules As IList(Of ObjectReplicationPolicyRule) = Nothing)
Parameters
- sourceAccount
- String
Required. Source account name.
- destinationAccount
- String
Required. Destination account name.
- id
- String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name
- String
The name of the resource
- type
- String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- policyId
- String
A unique id for object replication policy.
- rules
- IList<ObjectReplicationPolicyRule>
The storage account object replication rules.