Share via


BlobsModelFactory.ObjectReplicationPolicy Method

Definition

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

Returns

Applies to