BlobsModelFactory.ObjectReplicationPolicy Method
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.
Creates a new ObjectReplicationPolicy instance for mocking.
public static Azure.Storage.Blobs.Models.ObjectReplicationPolicy ObjectReplicationPolicy (string policyId, System.Collections.Generic.IList<Azure.Storage.Blobs.Models.ObjectReplicationRule> rules);
static member ObjectReplicationPolicy : string * System.Collections.Generic.IList<Azure.Storage.Blobs.Models.ObjectReplicationRule> -> Azure.Storage.Blobs.Models.ObjectReplicationPolicy
Public Shared Function ObjectReplicationPolicy (policyId As String, rules As IList(Of ObjectReplicationRule)) As ObjectReplicationPolicy
Parameters
- policyId
- String
- rules
- IList<ObjectReplicationRule>