| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | // <auto-generated/> |
| | 5 | |
|
| | 6 | | #nullable disable |
| | 7 | |
|
| | 8 | | namespace Azure.ResourceManager.Network.Models |
| | 9 | | { |
| | 10 | | /// <summary> Parameters that define destination of connection. </summary> |
| | 11 | | public partial class ConnectivityDestination |
| | 12 | | { |
| | 13 | | /// <summary> Initializes a new instance of ConnectivityDestination. </summary> |
| 4 | 14 | | public ConnectivityDestination() |
| | 15 | | { |
| 4 | 16 | | } |
| | 17 | |
|
| | 18 | | /// <summary> Initializes a new instance of ConnectivityDestination. </summary> |
| | 19 | | /// <param name="resourceId"> The ID of the resource to which a connection attempt will be made. </param> |
| | 20 | | /// <param name="address"> The IP address or URI the resource to which a connection attempt will be made. </para |
| | 21 | | /// <param name="port"> Port on which check connectivity will be performed. </param> |
| 0 | 22 | | internal ConnectivityDestination(string resourceId, string address, int? port) |
| | 23 | | { |
| 0 | 24 | | ResourceId = resourceId; |
| 0 | 25 | | Address = address; |
| 0 | 26 | | Port = port; |
| 0 | 27 | | } |
| | 28 | |
|
| | 29 | | /// <summary> The ID of the resource to which a connection attempt will be made. </summary> |
| 0 | 30 | | public string ResourceId { get; set; } |
| | 31 | | /// <summary> The IP address or URI the resource to which a connection attempt will be made. </summary> |
| 20 | 32 | | public string Address { get; set; } |
| | 33 | | /// <summary> Port on which check connectivity will be performed. </summary> |
| 20 | 34 | | public int? Port { get; set; } |
| | 35 | | } |
| | 36 | | } |