-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
SubnetReference.cs
38 lines (33 loc) · 1.57 KB
/
SubnetReference.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
namespace Azure.ResourceManager.Migrate.Models
{
/// <summary> Defines reference to subnet. </summary>
public partial class SubnetReference : ProxyResourceReference
{
/// <summary> Initializes a new instance of SubnetReference. </summary>
/// <param name="sourceArmResourceId"> Gets the ARM resource ID of the tracked resource being referenced. </param>
/// <exception cref="ArgumentNullException"> <paramref name="sourceArmResourceId"/> is null. </exception>
public SubnetReference(string sourceArmResourceId) : base(sourceArmResourceId)
{
if (sourceArmResourceId == null)
{
throw new ArgumentNullException(nameof(sourceArmResourceId));
}
}
/// <summary> Initializes a new instance of SubnetReference. </summary>
/// <param name="sourceArmResourceId"> Gets the ARM resource ID of the tracked resource being referenced. </param>
/// <param name="name"> Gets the name of the proxy resource on the target side. </param>
/// <exception cref="ArgumentNullException"> <paramref name="sourceArmResourceId"/> is null. </exception>
internal SubnetReference(string sourceArmResourceId, string name) : base(sourceArmResourceId, name)
{
if (sourceArmResourceId == null)
{
throw new ArgumentNullException(nameof(sourceArmResourceId));
}
}
}
}