PeeringInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. peering. fluent. models. PeeringInner
- com.
- com.
public final class PeeringInner
extends ProxyResource
Peering is a logical representation of a set of connections to the Microsoft Cloud Edge at a location.
Constructor Summary
| Constructor | Description |
|---|---|
| PeeringInner() |
Creates an instance of Peering |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Peering |
direct()
Get the direct property: The properties that define a direct peering. |
|
Peering |
exchange()
Get the exchange property: The properties that define an exchange peering. |
|
static
Peering |
fromJson(JsonReader jsonReader)
Reads an instance of Peering |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| Kind |
kind()
Get the kind property: The kind of the peering. |
| String |
location()
Get the location property: The location of the resource. |
| String |
name()
Get the name property: The name of the resource. |
| String |
peeringLocation()
Get the peering |
|
Provisioning |
provisioningState()
Get the provisioning |
|
Peering |
sku()
Get the sku property: The SKU that defines the tier and kind of the peering. |
| Map<String,String> |
tags()
Get the tags property: The resource tags. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Peering |
withDirect(PeeringPropertiesDirect direct)
Set the direct property: The properties that define a direct peering. |
|
Peering |
withExchange(PeeringPropertiesExchange exchange)
Set the exchange property: The properties that define an exchange peering. |
|
Peering |
withKind(Kind kind)
Set the kind property: The kind of the peering. |
|
Peering |
withLocation(String location)
Set the location property: The location of the resource. |
|
Peering |
withPeeringLocation(String peeringLocation)
Set the peering |
|
Peering |
withSku(PeeringSku sku)
Set the sku property: The SKU that defines the tier and kind of the peering. |
|
Peering |
withTags(Map<String,String> tags)
Set the tags property: The resource tags. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
PeeringInner
public PeeringInner()
Creates an instance of PeeringInner class.
Method Details
direct
public PeeringPropertiesDirect direct()
Get the direct property: The properties that define a direct peering.
Returns:
exchange
public PeeringPropertiesExchange exchange()
Get the exchange property: The properties that define an exchange peering.
Returns:
fromJson
public static PeeringInner fromJson(JsonReader jsonReader)
Reads an instance of PeeringInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
PeeringInner.id()Returns:
kind
public Kind kind()
Get the kind property: The kind of the peering.
Returns:
location
public String location()
Get the location property: The location of the resource.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
PeeringInner.name()Returns:
peeringLocation
public String peeringLocation()
Get the peeringLocation property: The location of the peering.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the resource.
Returns:
sku
public PeeringSku sku()
Get the sku property: The SKU that defines the tier and kind of the peering.
Returns:
tags
public Map<String,String> tags()
Get the tags property: The resource tags.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
PeeringInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
PeeringInner.type()Returns:
validate
public void validate()
Validates the instance.
withDirect
public PeeringInner withDirect(PeeringPropertiesDirect direct)
Set the direct property: The properties that define a direct peering.
Parameters:
Returns:
withExchange
public PeeringInner withExchange(PeeringPropertiesExchange exchange)
Set the exchange property: The properties that define an exchange peering.
Parameters:
Returns:
withKind
public PeeringInner withKind(Kind kind)
Set the kind property: The kind of the peering.
Parameters:
Returns:
withLocation
public PeeringInner withLocation(String location)
Set the location property: The location of the resource.
Parameters:
Returns:
withPeeringLocation
public PeeringInner withPeeringLocation(String peeringLocation)
Set the peeringLocation property: The location of the peering.
Parameters:
Returns:
withSku
public PeeringInner withSku(PeeringSku sku)
Set the sku property: The SKU that defines the tier and kind of the peering.
Parameters:
Returns:
withTags
public PeeringInner withTags(Map<String,String> tags)
Set the tags property: The resource tags.
Parameters:
Returns: