-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
ArmClient.cs
39 lines (34 loc) · 1.94 KB
/
ArmClient.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using Azure.Core;
using Azure.ResourceManager.ManagementGroups;
namespace Azure.ResourceManager
{
public partial class ArmClient
{
/// <summary>
/// Gets an object representing a <see cref="ManagementGroupResource" /> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ManagementGroupResource.CreateResourceIdentifier" /> to create a <see cref="ManagementGroupResource" /> <see cref="ResourceIdentifier" /> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ManagementGroupResource"/> object. </returns>
public virtual ManagementGroupResource GetManagementGroupResource(ResourceIdentifier id)
{
ManagementGroupResource.ValidateResourceId(id);
return new ManagementGroupResource(this, id);
}
/// <summary>
/// Gets an object representing a <see cref="ManagementGroupSubscriptionResource" /> along with the instance operations that can be performed on it but with no data.
/// You can use <see cref="ManagementGroupSubscriptionResource.CreateResourceIdentifier" /> to create a <see cref="ManagementGroupSubscriptionResource" /> <see cref="ResourceIdentifier" /> from its components.
/// </summary>
/// <param name="id"> The resource ID of the resource to get. </param>
/// <returns> Returns a <see cref="ManagementGroupSubscriptionResource"/> object. </returns>
public virtual ManagementGroupSubscriptionResource GetManagementGroupSubscriptionResource(ResourceIdentifier id)
{
ManagementGroupSubscriptionResource.ValidateResourceId(id);
return new ManagementGroupSubscriptionResource(this, id);
}
}
}