-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
AppPlatformStorageAccount.cs
52 lines (44 loc) · 2.44 KB
/
AppPlatformStorageAccount.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
52
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
namespace Azure.ResourceManager.AppPlatform.Models
{
/// <summary> storage resource of type Azure Storage Account. </summary>
public partial class AppPlatformStorageAccount : AppPlatformStorageProperties
{
/// <summary> Initializes a new instance of <see cref="AppPlatformStorageAccount"/>. </summary>
/// <param name="accountName"> The account name of the Azure Storage Account. </param>
/// <param name="accountKey"> The account key of the Azure Storage Account. </param>
/// <exception cref="ArgumentNullException"> <paramref name="accountName"/> or <paramref name="accountKey"/> is null. </exception>
public AppPlatformStorageAccount(string accountName, string accountKey)
{
Argument.AssertNotNull(accountName, nameof(accountName));
Argument.AssertNotNull(accountKey, nameof(accountKey));
AccountName = accountName;
AccountKey = accountKey;
StorageType = StorageType.StorageAccount;
}
/// <summary> Initializes a new instance of <see cref="AppPlatformStorageAccount"/>. </summary>
/// <param name="storageType"> The type of the storage. </param>
/// <param name="serializedAdditionalRawData"> Keeps track of any properties unknown to the library. </param>
/// <param name="accountName"> The account name of the Azure Storage Account. </param>
/// <param name="accountKey"> The account key of the Azure Storage Account. </param>
internal AppPlatformStorageAccount(StorageType storageType, IDictionary<string, BinaryData> serializedAdditionalRawData, string accountName, string accountKey) : base(storageType, serializedAdditionalRawData)
{
AccountName = accountName;
AccountKey = accountKey;
StorageType = storageType;
}
/// <summary> Initializes a new instance of <see cref="AppPlatformStorageAccount"/> for deserialization. </summary>
internal AppPlatformStorageAccount()
{
}
/// <summary> The account name of the Azure Storage Account. </summary>
public string AccountName { get; set; }
/// <summary> The account key of the Azure Storage Account. </summary>
public string AccountKey { get; set; }
}
}