-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
DigitalTwinsNameContent.cs
32 lines (26 loc) · 1.11 KB
/
DigitalTwinsNameContent.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using Azure.Core;
namespace Azure.ResourceManager.DigitalTwins.Models
{
/// <summary> The result returned from a database check name availability request. </summary>
public partial class DigitalTwinsNameContent
{
/// <summary> Initializes a new instance of DigitalTwinsNameContent. </summary>
/// <param name="name"> Resource name. </param>
/// <exception cref="ArgumentNullException"> <paramref name="name"/> is null. </exception>
public DigitalTwinsNameContent(string name)
{
Argument.AssertNotNull(name, nameof(name));
Name = name;
ResourceType = DigitalTwinsResourceType.MicrosoftDigitalTwinsDigitalTwinsInstances;
}
/// <summary> Resource name. </summary>
public string Name { get; }
/// <summary> The type of resource, for instance Microsoft.DigitalTwins/digitalTwinsInstances. </summary>
public DigitalTwinsResourceType ResourceType { get; }
}
}