-
Notifications
You must be signed in to change notification settings - Fork 4.8k
/
AppServiceVirtualNetworkProfile.cs
48 lines (41 loc) · 1.92 KB
/
AppServiceVirtualNetworkProfile.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using Azure.Core;
namespace Azure.ResourceManager.AppService.Models
{
/// <summary> Specification for using a Virtual Network. </summary>
public partial class AppServiceVirtualNetworkProfile
{
/// <summary> Initializes a new instance of AppServiceVirtualNetworkProfile. </summary>
/// <param name="id"> Resource id of the Virtual Network. </param>
/// <exception cref="ArgumentNullException"> <paramref name="id"/> is null. </exception>
public AppServiceVirtualNetworkProfile(ResourceIdentifier id)
{
Argument.AssertNotNull(id, nameof(id));
Id = id;
}
/// <summary> Initializes a new instance of AppServiceVirtualNetworkProfile. </summary>
/// <param name="id"> Resource id of the Virtual Network. </param>
/// <param name="name"> Name of the Virtual Network (read-only). </param>
/// <param name="resourceType"> Resource type of the Virtual Network (read-only). </param>
/// <param name="subnet"> Subnet within the Virtual Network. </param>
internal AppServiceVirtualNetworkProfile(ResourceIdentifier id, string name, ResourceType? resourceType, string subnet)
{
Id = id;
Name = name;
ResourceType = resourceType;
Subnet = subnet;
}
/// <summary> Resource id of the Virtual Network. </summary>
public ResourceIdentifier Id { get; set; }
/// <summary> Name of the Virtual Network (read-only). </summary>
public string Name { get; }
/// <summary> Resource type of the Virtual Network (read-only). </summary>
public ResourceType? ResourceType { get; }
/// <summary> Subnet within the Virtual Network. </summary>
public string Subnet { get; set; }
}
}