你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ArmAppServiceModelFactory.SlotSwapStatus 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.
Initializes a new instance of SlotSwapStatus.
public static Azure.ResourceManager.AppService.Models.SlotSwapStatus SlotSwapStatus (DateTimeOffset? timestampUtc = default, string sourceSlotName = default, string destinationSlotName = default);
static member SlotSwapStatus : Nullable<DateTimeOffset> * string * string -> Azure.ResourceManager.AppService.Models.SlotSwapStatus
Public Shared Function SlotSwapStatus (Optional timestampUtc As Nullable(Of DateTimeOffset) = Nothing, Optional sourceSlotName As String = Nothing, Optional destinationSlotName As String = Nothing) As SlotSwapStatus
Parameters
- timestampUtc
- Nullable<DateTimeOffset>
The time the last successful slot swap completed.
- sourceSlotName
- String
The source slot of the last swap operation.
- destinationSlotName
- String
The destination slot of the last swap operation.
Returns
A new SlotSwapStatus instance for mocking.