-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
SnapshotRecoverySource.cs
42 lines (36 loc) · 1.82 KB
/
SnapshotRecoverySource.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
39
40
41
42
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using Azure.Core;
namespace Azure.ResourceManager.AppService.Models
{
/// <summary> Specifies the web app that snapshot contents will be retrieved from. </summary>
public partial class SnapshotRecoverySource
{
/// <summary> Initializes a new instance of SnapshotRecoverySource. </summary>
public SnapshotRecoverySource()
{
}
/// <summary> Initializes a new instance of SnapshotRecoverySource. </summary>
/// <param name="location"> Geographical location of the source web app, e.g. SouthEastAsia, SouthCentralUS. </param>
/// <param name="id">
/// ARM resource ID of the source app.
/// /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and
/// /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.
/// </param>
internal SnapshotRecoverySource(AzureLocation? location, ResourceIdentifier id)
{
Location = location;
Id = id;
}
/// <summary> Geographical location of the source web app, e.g. SouthEastAsia, SouthCentralUS. </summary>
public AzureLocation? Location { get; set; }
/// <summary>
/// ARM resource ID of the source app.
/// /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and
/// /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots.
/// </summary>
public ResourceIdentifier Id { get; set; }
}
}