ObjectReplicationPolicyRule 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 rule between two containers.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.ObjectReplicationPolicyRuleTypeConverter))]
public class ObjectReplicationPolicyRule : Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IObjectReplicationPolicyRule
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.ObjectReplicationPolicyRuleTypeConverter))>]
type ObjectReplicationPolicyRule = class
interface IObjectReplicationPolicyRule
interface IJsonSerializable
Public Class ObjectReplicationPolicyRule
Implements IObjectReplicationPolicyRule
- Inheritance
-
ObjectReplicationPolicyRule
- Attributes
- Implements
Constructors
ObjectReplicationPolicyRule() |
Creates an new ObjectReplicationPolicyRule instance. |
Properties
DestinationContainer |
Required. Destination container name. |
FilterMinCreationTime |
Blobs created after the time will be replicated to the destination. It must be in datetime format 'yyyy-MM-ddTHH:mm:ssZ'. Example: 2020-02-19T16:05:00Z |
FilterPrefixMatch |
Optional. Filters the results to replicate only blobs whose names begin with the specified prefix. |
RuleId |
Rule Id is auto-generated for each new rule on destination account. It is required for put policy on source account. |
SourceContainer |
Required. Source container name. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of ObjectReplicationPolicyRule. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of ObjectReplicationPolicyRule. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IObjectReplicationPolicyRule. |
FromJsonString(String) |
Creates a new instance of ObjectReplicationPolicyRule, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of ObjectReplicationPolicyRule into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |