-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
IotHubDescriptionData.cs
62 lines (55 loc) · 2.86 KB
/
IotHubDescriptionData.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
53
54
55
56
57
58
59
60
61
62
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using Azure;
using Azure.Core;
using Azure.ResourceManager.IotHub.Models;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.IotHub
{
/// <summary>
/// A class representing the IotHubDescription data model.
/// The description of the IoT hub.
/// </summary>
public partial class IotHubDescriptionData : TrackedResourceData
{
/// <summary> Initializes a new instance of <see cref="IotHubDescriptionData"/>. </summary>
/// <param name="location"> The location. </param>
/// <param name="sku"> IotHub SKU info. </param>
/// <exception cref="ArgumentNullException"> <paramref name="sku"/> is null. </exception>
public IotHubDescriptionData(AzureLocation location, IotHubSkuInfo sku) : base(location)
{
Argument.AssertNotNull(sku, nameof(sku));
Sku = sku;
}
/// <summary> Initializes a new instance of <see cref="IotHubDescriptionData"/>. </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="tags"> The tags. </param>
/// <param name="location"> The location. </param>
/// <param name="etag"> The Etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention. </param>
/// <param name="properties"> IotHub properties. </param>
/// <param name="sku"> IotHub SKU info. </param>
/// <param name="identity"> The managed identities for the IotHub. </param>
internal IotHubDescriptionData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary<string, string> tags, AzureLocation location, ETag? etag, IotHubProperties properties, IotHubSkuInfo sku, ManagedServiceIdentity identity) : base(id, name, resourceType, systemData, tags, location)
{
ETag = etag;
Properties = properties;
Sku = sku;
Identity = identity;
}
/// <summary> The Etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention. </summary>
public ETag? ETag { get; set; }
/// <summary> IotHub properties. </summary>
public IotHubProperties Properties { get; set; }
/// <summary> IotHub SKU info. </summary>
public IotHubSkuInfo Sku { get; set; }
/// <summary> The managed identities for the IotHub. </summary>
public ManagedServiceIdentity Identity { get; set; }
}
}