语言

你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。

ArmNetworkModelFactory.CloudServiceSwapData Method

Definition

SwapResource to represent slot type on the specified cloud service.

public static Azure.ResourceManager.Network.CloudServiceSwapData CloudServiceSwapData(Azure.ResourceManager.Network.Models.SwapSlotType? swapResourceSlotType = default, string name = default);
static member CloudServiceSwapData : Nullable<Azure.ResourceManager.Network.Models.SwapSlotType> * string -> Azure.ResourceManager.Network.CloudServiceSwapData
Public Shared Function CloudServiceSwapData (Optional swapResourceSlotType As Nullable(Of SwapSlotType) = Nothing, Optional name As String = Nothing) As CloudServiceSwapData

Parameters

swapResourceSlotType
Nullable<SwapSlotType>

Specifies slot info on a cloud service.

name
String

The name of the resource.

Returns

A new CloudServiceSwapData instance for mocking.

Applies to