Udostępnij za pośrednictwem


ArmNetworkModelFactory.CloudServiceSwapData Method

Definition

Initializes a new instance of CloudServiceSwapData.

public static Azure.ResourceManager.Network.CloudServiceSwapData CloudServiceSwapData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.Network.Models.SwapSlotType? cloudServiceSwapSlotType = default);
static member CloudServiceSwapData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.Network.Models.SwapSlotType> -> Azure.ResourceManager.Network.CloudServiceSwapData
Public Shared Function CloudServiceSwapData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional cloudServiceSwapSlotType As Nullable(Of SwapSlotType) = Nothing) As CloudServiceSwapData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

cloudServiceSwapSlotType
Nullable<SwapSlotType>

Swap resource properties.

Returns

A new CloudServiceSwapData instance for mocking.

Applies to