Freigeben über


StorageClassificationResource.GetStorageClassificationMappingAsync Methode

Definition

Ruft die Details der angegebenen Speicherklassifizierungszuordnung ab.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationStorageClassifications/{storageClassificationName}/replicationStorageClassificationMappings/{storageClassificationMappingName}
  • Vorgang IdReplicationStorageClassificationMappings_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesSiteRecovery.StorageClassificationMappingResource>> GetStorageClassificationMappingAsync (string storageClassificationMappingName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetStorageClassificationMappingAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesSiteRecovery.StorageClassificationMappingResource>>
override this.GetStorageClassificationMappingAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesSiteRecovery.StorageClassificationMappingResource>>
Public Overridable Function GetStorageClassificationMappingAsync (storageClassificationMappingName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of StorageClassificationMappingResource))

Parameter

storageClassificationMappingName
String

Name der Speicherklassifizierungszuordnung.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

storageClassificationMappingName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

storageClassificationMappingName ist NULL.

Gilt für: