Partager via


VipSwap interface

Interface représentant un VipSwap.

Méthodes

beginCreate(string, string, SwapResource, VipSwapCreateOptionalParams)

Effectue une opération d’échange vip sur les services cloud échangeables.

beginCreateAndWait(string, string, SwapResource, VipSwapCreateOptionalParams)

Effectue une opération d’échange vip sur les services cloud échangeables.

get(string, string, VipSwapGetOptionalParams)

Obtient la swapResource qui identifie le type d’emplacement du service cloud spécifié. Le type d’emplacement sur un service cloud peut être intermédiaire ou de production

list(string, string, VipSwapListOptionalParams)

Obtient la liste de SwapResource qui identifie le type d’emplacement du service cloud spécifié. Le type d’emplacement sur un service cloud peut être intermédiaire ou de production

Détails de la méthode

beginCreate(string, string, SwapResource, VipSwapCreateOptionalParams)

Effectue une opération d’échange vip sur les services cloud échangeables.

function beginCreate(groupName: string, resourceName: string, parameters: SwapResource, options?: VipSwapCreateOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Paramètres

groupName

string

Nom du groupe de ressources.

resourceName

string

Nom du service cloud.

parameters
SwapResource

Objet SwapResource où le type d’emplacement doit être l’emplacement cible après l’échange vip pour le service cloud spécifié.

options
VipSwapCreateOptionalParams

Paramètres d’options.

Retours

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginCreateAndWait(string, string, SwapResource, VipSwapCreateOptionalParams)

Effectue une opération d’échange vip sur les services cloud échangeables.

function beginCreateAndWait(groupName: string, resourceName: string, parameters: SwapResource, options?: VipSwapCreateOptionalParams): Promise<void>

Paramètres

groupName

string

Nom du groupe de ressources.

resourceName

string

Nom du service cloud.

parameters
SwapResource

Objet SwapResource où le type d’emplacement doit être l’emplacement cible après l’échange vip pour le service cloud spécifié.

options
VipSwapCreateOptionalParams

Paramètres d’options.

Retours

Promise<void>

get(string, string, VipSwapGetOptionalParams)

Obtient la swapResource qui identifie le type d’emplacement du service cloud spécifié. Le type d’emplacement sur un service cloud peut être intermédiaire ou de production

function get(groupName: string, resourceName: string, options?: VipSwapGetOptionalParams): Promise<SwapResource>

Paramètres

groupName

string

Nom du groupe de ressources.

resourceName

string

Nom du service cloud.

options
VipSwapGetOptionalParams

Paramètres d’options.

Retours

Promise<SwapResource>

list(string, string, VipSwapListOptionalParams)

Obtient la liste de SwapResource qui identifie le type d’emplacement du service cloud spécifié. Le type d’emplacement sur un service cloud peut être intermédiaire ou de production

function list(groupName: string, resourceName: string, options?: VipSwapListOptionalParams): Promise<SwapResourceListResult>

Paramètres

groupName

string

Nom du groupe de ressources.

resourceName

string

Nom du service cloud.

options
VipSwapListOptionalParams

Paramètres d’options.

Retours