Class VPC
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.cloud.is.vpc.v1.model.VPC
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class VPC
extends com.ibm.cloud.sdk.core.service.model.GenericModel
VPC.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
The health of this resource: - `ok`: No abnormal behavior detected - `degraded`: Experiencing compromised performance, capacity, or connectivity - `faulted`: Completely unreachable, inoperative, or otherwise entirely incapacitated - `inapplicable`: The health state does not apply because of the current lifecycle state.static interface
The resource type.static interface
The status of this VPC. -
Method Summary
Modifier and TypeMethodDescriptionGets the createdAt.getCrn()
Gets the crn.Gets the cseSourceIps.Gets the defaultNetworkAcl.Gets the defaultRoutingTable.Gets the defaultSecurityGroup.getDns()
Gets the dns.Gets the healthReasons.Gets the healthState.getHref()
Gets the href.getId()
Gets the id.getName()
Gets the name.Gets the resourceGroup.Gets the resourceType.Gets the status.Gets the classicAccess.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
isClassicAccess
Gets the classicAccess. Indicates whether this VPC is connected to Classic Infrastructure. If true, this VPC's resources have private network connectivity to the account's Classic Infrastructure resources. Only one VPC, per region, may be connected in this way. This value is set at creation and subsequently immutable.- Returns:
- the classicAccess
-
getCreatedAt
Gets the createdAt. The date and time that the VPC was created.- Returns:
- the createdAt
-
getCrn
-
getCseSourceIps
Gets the cseSourceIps. The CSE ([Cloud Service Endpoint](https://cloud.ibm.com/docs/account?topic=account-service-endpoints-overview)) source IP addresses for the VPC. The VPC will have at least one CSE source IP address per zone. The maximum number of items for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.- Returns:
- the cseSourceIps
-
getDefaultNetworkAcl
Gets the defaultNetworkAcl. The default network ACL to use for subnets created in this VPC.- Returns:
- the defaultNetworkAcl
-
getDefaultRoutingTable
Gets the defaultRoutingTable. The default routing table to use for subnets created in this VPC.- Returns:
- the defaultRoutingTable
-
getDefaultSecurityGroup
Gets the defaultSecurityGroup. The default security group for this VPC. Resources created in this VPC that allow a security group to be optionally specified will use this security group by default.- Returns:
- the defaultSecurityGroup
-
getDns
-
getHealthReasons
Gets the healthReasons. The reasons for the current `health_state` (if any).- Returns:
- the healthReasons
-
getHealthState
Gets the healthState. The health of this resource: - `ok`: No abnormal behavior detected - `degraded`: Experiencing compromised performance, capacity, or connectivity - `faulted`: Completely unreachable, inoperative, or otherwise entirely incapacitated - `inapplicable`: The health state does not apply because of the current lifecycle state. A resource with a lifecycle state of `failed` or `deleting` will have a health state of `inapplicable`. A `pending` resource may also have this state.- Returns:
- the healthState
-
getHref
-
getId
-
getName
Gets the name. The name for this VPC. The name is unique across all VPCs in the region.- Returns:
- the name
-
getResourceGroup
Gets the resourceGroup. The resource group for this VPC.- Returns:
- the resourceGroup
-
getResourceType
-
getStatus
Gets the status. The status of this VPC. The enumerated values for this property may [expand](https://cloud.ibm.com/apidocs/vpc#property-value-expansion) in the future.- Returns:
- the status
-