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>
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET