-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
SlotSwapStatus.cs
38 lines (32 loc) · 1.51 KB
/
SlotSwapStatus.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
namespace Azure.ResourceManager.AppService.Models
{
/// <summary> The status of the last successful slot swap operation. </summary>
public partial class SlotSwapStatus
{
/// <summary> Initializes a new instance of <see cref="SlotSwapStatus"/>. </summary>
internal SlotSwapStatus()
{
}
/// <summary> Initializes a new instance of <see cref="SlotSwapStatus"/>. </summary>
/// <param name="timestampUtc"> The time the last successful slot swap completed. </param>
/// <param name="sourceSlotName"> The source slot of the last swap operation. </param>
/// <param name="destinationSlotName"> The destination slot of the last swap operation. </param>
internal SlotSwapStatus(DateTimeOffset? timestampUtc, string sourceSlotName, string destinationSlotName)
{
TimestampUtc = timestampUtc;
SourceSlotName = sourceSlotName;
DestinationSlotName = destinationSlotName;
}
/// <summary> The time the last successful slot swap completed. </summary>
public DateTimeOffset? TimestampUtc { get; }
/// <summary> The source slot of the last swap operation. </summary>
public string SourceSlotName { get; }
/// <summary> The destination slot of the last swap operation. </summary>
public string DestinationSlotName { get; }
}
}