Partilhar via


RecoveryServicesSiteRecoveryExtensions.GetSupportedOperatingSystem 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
  • IdSupportedOperatingSystems_Get de operação
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)

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância na qual 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 era esperado que não estivesse vazio.

resourceName é nulo.

Aplica-se a