-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
SubResource.cs
36 lines (32 loc) · 1.01 KB
/
SubResource.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.
using Azure.Core;
namespace Azure.ResourceManager.Resources.Models
{
/// <summary>
/// A class representing a sub-resource that contains only the read-only ID.
/// </summary>
[PropertyReferenceType]
public partial class SubResource
{
/// <summary>
/// Initializes an empty instance of <see cref="SubResource"/> for mocking.
/// </summary>
[InitializationConstructor]
public SubResource()
{
}
/// <summary> Initializes a new instance of <see cref="SubResource"/>. </summary>
/// <param name="id"> ARM resource Id. </param>
[SerializationConstructor]
protected internal SubResource(ResourceIdentifier id)
{
Id = id;
}
/// <summary>
/// Gets the ARM resource identifier.
/// </summary>
/// <value></value>
public virtual ResourceIdentifier Id { get; }
}
}