BgpServiceCommunityInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. network. fluent. models. BgpServiceCommunityInner
- com.
- com.
- com.
public final class BgpServiceCommunityInner
extends Resource
Service Community Properties.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Bgp |
bgpCommunities()
Get the bgp |
|
static
Bgp |
fromJson(JsonReader jsonReader)
Reads an instance of Bgp |
| String |
id()
Get the id property: Resource ID. |
| String |
name()
Get the name property: The name of the resource. |
| String |
serviceName()
Get the service |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Method Details
bgpCommunities
public List<BgpCommunity> bgpCommunities()
Get the bgpCommunities property: A list of bgp communities.
Returns:
fromJson
public static BgpServiceCommunityInner fromJson(JsonReader jsonReader)
Reads an instance of BgpServiceCommunityInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Resource ID.
Overrides:
BgpServiceCommunityInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
BgpServiceCommunityInner.name()Returns:
serviceName
public String serviceName()
Get the serviceName property: The name of the bgp community. e.g. Skype.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
BgpServiceCommunityInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
BgpServiceCommunityInner.type()Returns:
validate
public void validate()
Validates the instance.