-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
StorageMigrationContent.cs
51 lines (45 loc) · 2.7 KB
/
StorageMigrationContent.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
43
44
45
46
47
48
49
50
51
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using Azure.Core;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.AppService.Models
{
/// <summary> Options for app content migration. </summary>
public partial class StorageMigrationContent : ResourceData
{
/// <summary> Initializes a new instance of StorageMigrationContent. </summary>
public StorageMigrationContent()
{
}
/// <summary> Initializes a new instance of StorageMigrationContent. </summary>
/// <param name="id"> The id. </param>
/// <param name="name"> The name. </param>
/// <param name="resourceType"> The resourceType. </param>
/// <param name="systemData"> The systemData. </param>
/// <param name="azurefilesConnectionString"> AzureFiles connection string. </param>
/// <param name="azurefilesShare"> AzureFiles share. </param>
/// <param name="switchSiteAfterMigration"> <code>true</code>if the app should be switched over; otherwise, <code>false</code>. </param>
/// <param name="blockWriteAccessToSite"> <code>true</code> if the app should be read only during copy operation; otherwise, <code>false</code>. </param>
/// <param name="kind"> Kind of resource. </param>
internal StorageMigrationContent(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, string azurefilesConnectionString, string azurefilesShare, bool? switchSiteAfterMigration, bool? blockWriteAccessToSite, string kind) : base(id, name, resourceType, systemData)
{
AzurefilesConnectionString = azurefilesConnectionString;
AzurefilesShare = azurefilesShare;
SwitchSiteAfterMigration = switchSiteAfterMigration;
BlockWriteAccessToSite = blockWriteAccessToSite;
Kind = kind;
}
/// <summary> AzureFiles connection string. </summary>
public string AzurefilesConnectionString { get; set; }
/// <summary> AzureFiles share. </summary>
public string AzurefilesShare { get; set; }
/// <summary> <code>true</code>if the app should be switched over; otherwise, <code>false</code>. </summary>
public bool? SwitchSiteAfterMigration { get; set; }
/// <summary> <code>true</code> if the app should be read only during copy operation; otherwise, <code>false</code>. </summary>
public bool? BlockWriteAccessToSite { get; set; }
/// <summary> Kind of resource. </summary>
public string Kind { get; set; }
}
}