Udostępnij za pośrednictwem


ArmNetworkModelFactory.BgpServiceCommunity Method

Definition

Initializes a new instance of BgpServiceCommunity.

public static Azure.ResourceManager.Network.Models.BgpServiceCommunity BgpServiceCommunity (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IDictionary<string,string> tags = default, string serviceName = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.BgpCommunity> bgpCommunities = default);
static member BgpServiceCommunity : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> * string * seq<Azure.ResourceManager.Network.Models.BgpCommunity> -> Azure.ResourceManager.Network.Models.BgpServiceCommunity
Public Shared Function BgpServiceCommunity (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional serviceName As String = Nothing, Optional bgpCommunities As IEnumerable(Of BgpCommunity) = Nothing) As BgpServiceCommunity

Parameters

id
ResourceIdentifier

Resource ID.

name
String

Resource name.

resourceType
Nullable<ResourceType>

Resource type.

location
Nullable<AzureLocation>

Resource location.

tags
IDictionary<String,String>

Resource tags.

serviceName
String

The name of the bgp community. e.g. Skype.

bgpCommunities
IEnumerable<BgpCommunity>

A list of bgp communities.

Returns

A new BgpServiceCommunity instance for mocking.

Applies to