Partager via


ObjectReplicationPolicyProperties Class

Definition

The Storage Account ObjectReplicationPolicy properties.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.ObjectReplicationPolicyPropertiesTypeConverter))]
public class ObjectReplicationPolicyProperties : Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IObjectReplicationPolicyProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.ObjectReplicationPolicyPropertiesTypeConverter))>]
type ObjectReplicationPolicyProperties = class
    interface IObjectReplicationPolicyProperties
    interface IJsonSerializable
Public Class ObjectReplicationPolicyProperties
Implements IObjectReplicationPolicyProperties
Inheritance
ObjectReplicationPolicyProperties
Attributes
Implements

Constructors

ObjectReplicationPolicyProperties()

Creates an new ObjectReplicationPolicyProperties instance.

Properties

DestinationAccount

Required. Destination account name. It should be full resource id if allowCrossTenantReplication set to false.

EnabledTime

Indicates when the policy is enabled on the source account.

PolicyId

A unique id for object replication policy.

Rule

The storage account object replication rules.

SourceAccount

Required. Source account name. It should be full resource id if allowCrossTenantReplication set to false.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ObjectReplicationPolicyProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ObjectReplicationPolicyProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IObjectReplicationPolicyProperties.

FromJsonString(String)

Creates a new instance of ObjectReplicationPolicyProperties, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ObjectReplicationPolicyProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to