-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
Resource.cs
36 lines (31 loc) · 1.66 KB
/
Resource.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
namespace Azure.Analytics.Synapse.Artifacts.Models
{
/// <summary> Common fields that are returned in the response for all Azure Resource Manager resources. </summary>
public partial class Resource
{
/// <summary> Initializes a new instance of <see cref="Resource"/>. </summary>
public Resource()
{
}
/// <summary> Initializes a new instance of <see cref="Resource"/>. </summary>
/// <param name="id"> Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. </param>
/// <param name="name"> The name of the resource. </param>
/// <param name="type"> The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". </param>
internal Resource(string id, string name, string type)
{
Id = id;
Name = name;
Type = type;
}
/// <summary> Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. </summary>
public string Id { get; }
/// <summary> The name of the resource. </summary>
public string Name { get; }
/// <summary> The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". </summary>
public string Type { get; }
}
}