Partager via


RecoveryServicesSiteRecoveryExtensions.GetSupportedOperatingSystem 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 Azure.Response<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoverySupportedOperatingSystems> GetSupportedOperatingSystem (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string resourceName, string instanceType = default, System.Threading.CancellationToken cancellationToken = default);
static member GetSupportedOperatingSystem : Azure.ResourceManager.Resources.ResourceGroupResource * string * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.RecoveryServicesSiteRecovery.Models.SiteRecoverySupportedOperatingSystems>
<Extension()>
Public Function GetSupportedOperatingSystem (resourceGroupResource As ResourceGroupResource, resourceName As String, Optional instanceType As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As 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 à