ArmNetworkModelFactory.BgpConnectionData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of BgpConnectionData.
public static Azure.ResourceManager.Network.BgpConnectionData BgpConnectionData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.ETag? etag = default, long? peerAsn = default, string peerIP = default, Azure.Core.ResourceIdentifier hubVirtualNetworkConnectionId = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, Azure.ResourceManager.Network.Models.HubBgpConnectionStatus? connectionState = default);
static member BgpConnectionData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.ETag> * Nullable<int64> * string * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Nullable<Azure.ResourceManager.Network.Models.HubBgpConnectionStatus> -> Azure.ResourceManager.Network.BgpConnectionData
Public Shared Function BgpConnectionData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional peerAsn As Nullable(Of Long) = Nothing, Optional peerIP As String = Nothing, Optional hubVirtualNetworkConnectionId As ResourceIdentifier = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional connectionState As Nullable(Of HubBgpConnectionStatus) = Nothing) As BgpConnectionData
Parameters
Resource ID.
- name
- String
Resource name.
- resourceType
- Nullable<ResourceType>
Resource type.
- peerIP
- String
Peer IP.
- hubVirtualNetworkConnectionId
- ResourceIdentifier
The reference to the HubVirtualNetworkConnection resource.
- provisioningState
- Nullable<NetworkProvisioningState>
The provisioning state of the resource.
- connectionState
- Nullable<HubBgpConnectionStatus>
The current state of the VirtualHub to Peer.
Returns
A new BgpConnectionData instance for mocking.
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for .NET