ObjectReplicationPolicy Class
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.
The replication policy between two storage accounts. Multiple rules can be defined in one policy.
[Microsoft.Rest.Serialization.JsonTransformation]
public class ObjectReplicationPolicy : Microsoft.Azure.PowerShell.Cmdlets.Compute.Helpers.Storage.Models.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type ObjectReplicationPolicy = class
inherit Resource
Public Class ObjectReplicationPolicy
Inherits Resource
- Inheritance
- Attributes
Constructors
| Name | Description |
|---|---|
| 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. |
Properties
| Name | Description |
|---|---|
| DestinationAccount |
Gets or sets required. Destination account name. |
| EnabledTime |
Gets indicates when the policy is enabled on the source account. |
| Id |
Gets fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} (Inherited from Resource) |
| Name |
Gets the name of the resource (Inherited from Resource) |
| PolicyId |
Gets a unique id for object replication policy. |
| Rules |
Gets or sets the storage account object replication rules. |
| SourceAccount |
Gets or sets required. Source account name. |
| Type |
Gets the type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" (Inherited from Resource) |
Methods
| Name | Description |
|---|---|
| Validate() |
Validate the object. |