共用方式為


BlobsModelFactory.ObjectReplicationRule Method

Definition

Creates a new ObjectReplicationRule instance for mocking.

public static Azure.Storage.Blobs.Models.ObjectReplicationRule ObjectReplicationRule (string ruleId, Azure.Storage.Blobs.Models.ObjectReplicationStatus replicationStatus);
static member ObjectReplicationRule : string * Azure.Storage.Blobs.Models.ObjectReplicationStatus -> Azure.Storage.Blobs.Models.ObjectReplicationRule
Public Shared Function ObjectReplicationRule (ruleId As String, replicationStatus As ObjectReplicationStatus) As ObjectReplicationRule

Parameters

ruleId
String
replicationStatus
ObjectReplicationStatus

Returns

Applies to