/
AppConfigurationNameAvailabilityContent.cs
33 lines (27 loc) · 1.26 KB
/
AppConfigurationNameAvailabilityContent.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using Azure.Core;
namespace Azure.ResourceManager.AppConfiguration.Models
{
/// <summary> Parameters used for checking whether a resource name is available. </summary>
public partial class AppConfigurationNameAvailabilityContent
{
/// <summary> Initializes a new instance of AppConfigurationNameAvailabilityContent. </summary>
/// <param name="name"> The name to check for availability. </param>
/// <param name="resourceType"> The resource type to check for name availability. </param>
/// <exception cref="ArgumentNullException"> <paramref name="name"/> is null. </exception>
public AppConfigurationNameAvailabilityContent(string name, AppConfigurationResourceType resourceType)
{
Argument.AssertNotNull(name, nameof(name));
Name = name;
ResourceType = resourceType;
}
/// <summary> The name to check for availability. </summary>
public string Name { get; }
/// <summary> The resource type to check for name availability. </summary>
public AppConfigurationResourceType ResourceType { get; }
}
}