Partager via


RecoveryServicesSiteRecoveryExtensions.GetSupportedOperatingSystemAsync Méthode

Définition

Obtient les données des systèmes d’exploitation pris en charge par SRS.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationSupportedOperatingSystems
  • IdSupportedOperatingSystems_Get d’opération
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoverySupportedOperatingSystems>> GetSupportedOperatingSystemAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string resourceName, string instanceType = default, System.Threading.CancellationToken cancellationToken = default);
static member GetSupportedOperatingSystemAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoverySupportedOperatingSystems>>
<Extension()>
Public Function GetSupportedOperatingSystemAsync (resourceGroupResource As ResourceGroupResource, resourceName As String, Optional instanceType As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SiteRecoverySupportedOperatingSystems))

Paramètres

resourceGroupResource
ResourceGroupResource

Instance ResourceGroupResource sur laquelle la méthode s’exécute.

resourceName
String

Nom du coffre Recovery Services.

instanceType
String

Type instance.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

resourceName est une chaîne vide et devait être non vide.

resourceName a la valeur null.

S’applique à