InterconnectBlockInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. compute. fluent. models. InterconnectBlockInner
- com.
- com.
- com.
public final class InterconnectBlockInner
extends Resource
Specifies information about the Interconnect Block.
Constructor Summary
| Constructor | Description |
|---|---|
| InterconnectBlockInner() |
Creates an instance of Interconnect |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Interconnect |
fromJson(JsonReader jsonReader)
Reads an instance of Interconnect |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
name()
Get the name property: The name of the resource. |
| Placement |
placement()
Get the placement property: Placement section specifies the user-defined constraints for Interconnect Block hardware placement. |
|
Interconnect |
properties()
Get the properties property: Properties of the Interconnect Block. |
| Sku |
sku()
Get the sku property: SKU of the resource for which capacity needs to be pre-allocated. |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Interconnect |
withLocation(String location) |
|
Interconnect |
withPlacement(Placement placement)
Set the placement property: Placement section specifies the user-defined constraints for Interconnect Block hardware placement. |
|
Interconnect |
withProperties(InterconnectBlockProperties properties)
Set the properties property: Properties of the Interconnect Block. |
|
Interconnect |
withSku(Sku sku)
Set the sku property: SKU of the resource for which capacity needs to be pre-allocated. |
|
Interconnect |
withTags(Map<String,String> tags) |
|
Interconnect |
withZones(List<String> zones)
Set the zones property: The availability zones. |
| List<String> |
zones()
Get the zones property: The availability zones. |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
InterconnectBlockInner
public InterconnectBlockInner()
Creates an instance of InterconnectBlockInner class.
Method Details
fromJson
public static InterconnectBlockInner fromJson(JsonReader jsonReader)
Reads an instance of InterconnectBlockInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
InterconnectBlockInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
InterconnectBlockInner.name()Returns:
placement
public Placement placement()
Get the placement property: Placement section specifies the user-defined constraints for Interconnect Block hardware placement. This property cannot be changed once Interconnect Block is provisioned.
Returns:
properties
public InterconnectBlockProperties properties()
Get the properties property: Properties of the Interconnect Block.
Returns:
sku
public Sku sku()
Get the sku property: SKU of the resource for which capacity needs to be pre-allocated. Both `sku.name` and `sku.capacity` are required at create. After create, only `sku.capacity` can be updated.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
InterconnectBlockInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
InterconnectBlockInner.type()Returns:
validate
public void validate()
Validates the instance.
withLocation
public InterconnectBlockInner withLocation(String location)
Overrides:
InterconnectBlockInner.withLocation(String location)Parameters:
withPlacement
public InterconnectBlockInner withPlacement(Placement placement)
Set the placement property: Placement section specifies the user-defined constraints for Interconnect Block hardware placement. This property cannot be changed once Interconnect Block is provisioned.
Parameters:
Returns:
withProperties
public InterconnectBlockInner withProperties(InterconnectBlockProperties properties)
Set the properties property: Properties of the Interconnect Block.
Parameters:
Returns:
withSku
public InterconnectBlockInner withSku(Sku sku)
Set the sku property: SKU of the resource for which capacity needs to be pre-allocated. Both `sku.name` and `sku.capacity` are required at create. After create, only `sku.capacity` can be updated.
Parameters:
Returns:
withTags
public InterconnectBlockInner withTags(Map<String,String> tags)
Overrides:
InterconnectBlockInner.withTags(Map<String,String> tags)Parameters:
withZones
public InterconnectBlockInner withZones(List<String> zones)
Set the zones property: The availability zones.
Parameters:
Returns:
zones
public List<String> zones()
Get the zones property: The availability zones.
Returns: