Partilhar via


RecoveryServicesSiteRecoveryExtensions.GetSupportedOperatingSystemAsync Método

Definição

Obtém os dados de sistemas operacionais com suporte pelo SRS.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationSupportedOperatingSystems
  • Operação IdSupportedOperatingSystems_Get
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

A ResourceGroupResource instância em que o método será executado.

resourceName
String

O nome do cofre dos serviços de recuperação.

instanceType
String

O tipo de instância.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

resourceName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

resourceName é nulo.

Aplica-se a