ArmNetworkModelFactory.CloudServiceSwapData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.