-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
DiskEncryptionSetResourceSettings.cs
36 lines (30 loc) · 1.55 KB
/
DiskEncryptionSetResourceSettings.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
namespace Azure.ResourceManager.Migrate.Models
{
/// <summary> Defines the disk encryption set resource settings. </summary>
public partial class DiskEncryptionSetResourceSettings : ResourceSettings
{
/// <summary> Initializes a new instance of DiskEncryptionSetResourceSettings. </summary>
/// <param name="targetResourceName"> Gets or sets the target Resource name. </param>
/// <exception cref="ArgumentNullException"> <paramref name="targetResourceName"/> is null. </exception>
public DiskEncryptionSetResourceSettings(string targetResourceName) : base(targetResourceName)
{
if (targetResourceName == null)
{
throw new ArgumentNullException(nameof(targetResourceName));
}
ResourceType = "Microsoft.Compute/diskEncryptionSets";
}
/// <summary> Initializes a new instance of DiskEncryptionSetResourceSettings. </summary>
/// <param name="resourceType"> The resource type. For example, the value can be Microsoft.Compute/virtualMachines. </param>
/// <param name="targetResourceName"> Gets or sets the target Resource name. </param>
internal DiskEncryptionSetResourceSettings(string resourceType, string targetResourceName) : base(resourceType, targetResourceName)
{
ResourceType = resourceType ?? "Microsoft.Compute/diskEncryptionSets";
}
}
}