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