Compartir a través de


RecoveryServicesSiteRecoveryExtensions.GetSupportedOperatingSystemAsync Método

Definición

Obtiene los datos de los sistemas operativos admitidos por SRS.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationSupportedOperatingSystems
  • IdSupportedOperatingSystems_Get de operaciones
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))

Parámetros

resourceGroupResource
ResourceGroupResource

Instancia ResourceGroupResource en la que se ejecutará el método.

resourceName
String

Nombre del almacén de Recovery Services.

instanceType
String

Tipo de instancia.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

resourceName es una cadena vacía y se espera que no esté vacía.

resourceName es null.

Se aplica a