IpInventorySubnetResourceSummary¶
- class oci.core.models.IpInventorySubnetResourceSummary(**kwargs)¶
Bases:
objectProvides the IP Inventory details of a subnet and its associated resources.
Attributes:
A constant which can be used with the assigned_resource_type property of a IpInventorySubnetResourceSummary.
A constant which can be used with the associated_public_ip_pool property of a IpInventorySubnetResourceSummary.
A constant which can be used with the associated_public_ip_pool property of a IpInventorySubnetResourceSummary.
A constant which can be used with the ip_address_lifetime property of a IpInventorySubnetResourceSummary.
A constant which can be used with the ip_address_lifetime property of a IpInventorySubnetResourceSummary.
A constant which can be used with the public_ip_lifetime property of a IpInventorySubnetResourceSummary.
A constant which can be used with the public_ip_lifetime property of a IpInventorySubnetResourceSummary.
Gets the address_type of this IpInventorySubnetResourceSummary.
Gets the assigned_resource_name of this IpInventorySubnetResourceSummary.
Gets the assigned_resource_type of this IpInventorySubnetResourceSummary.
Gets the assigned_time of this IpInventorySubnetResourceSummary.
Gets the associated_public_ip of this IpInventorySubnetResourceSummary.
Gets the associated_public_ip_pool of this IpInventorySubnetResourceSummary.
Gets the dns_host_name of this IpInventorySubnetResourceSummary.
Gets the ip_address of this IpInventorySubnetResourceSummary.
Gets the ip_address_lifetime of this IpInventorySubnetResourceSummary.
Gets the ip_id of this IpInventorySubnetResourceSummary.
Gets the is_primary of this IpInventorySubnetResourceSummary.
Gets the parent_cidr of this IpInventorySubnetResourceSummary.
Gets the public_ip_lifetime of this IpInventorySubnetResourceSummary.
Methods:
__init__(**kwargs)Initializes a new IpInventorySubnetResourceSummary object with values from keyword arguments.
- ASSIGNED_RESOURCE_TYPE_RESOURCE = 'Resource'¶
A constant which can be used with the assigned_resource_type property of a IpInventorySubnetResourceSummary. This constant has a value of “Resource”
- ASSOCIATED_PUBLIC_IP_POOL_BYOIP = 'BYOIP'¶
A constant which can be used with the associated_public_ip_pool property of a IpInventorySubnetResourceSummary. This constant has a value of “BYOIP”
- ASSOCIATED_PUBLIC_IP_POOL_ORACLE = 'ORACLE'¶
A constant which can be used with the associated_public_ip_pool property of a IpInventorySubnetResourceSummary. This constant has a value of “ORACLE”
- IP_ADDRESS_LIFETIME_EPHEMERAL = 'Ephemeral'¶
A constant which can be used with the ip_address_lifetime property of a IpInventorySubnetResourceSummary. This constant has a value of “Ephemeral”
- IP_ADDRESS_LIFETIME_RESERVED = 'Reserved'¶
A constant which can be used with the ip_address_lifetime property of a IpInventorySubnetResourceSummary. This constant has a value of “Reserved”
- PUBLIC_IP_LIFETIME_EPHEMERAL = 'Ephemeral'¶
A constant which can be used with the public_ip_lifetime property of a IpInventorySubnetResourceSummary. This constant has a value of “Ephemeral”
- PUBLIC_IP_LIFETIME_RESERVED = 'Reserved'¶
A constant which can be used with the public_ip_lifetime property of a IpInventorySubnetResourceSummary. This constant has a value of “Reserved”
- __init__(**kwargs)¶
Initializes a new IpInventorySubnetResourceSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
ip_id (str) – The value to assign to the ip_id property of this IpInventorySubnetResourceSummary.
ip_address (str) – The value to assign to the ip_address property of this IpInventorySubnetResourceSummary.
ip_address_lifetime (str) – The value to assign to the ip_address_lifetime property of this IpInventorySubnetResourceSummary. Allowed values for this property are: “Ephemeral”, “Reserved”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
parent_cidr (str) – The value to assign to the parent_cidr property of this IpInventorySubnetResourceSummary.
associated_public_ip (str) – The value to assign to the associated_public_ip property of this IpInventorySubnetResourceSummary.
public_ip_lifetime (str) – The value to assign to the public_ip_lifetime property of this IpInventorySubnetResourceSummary. Allowed values for this property are: “Ephemeral”, “Reserved”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
associated_public_ip_pool (str) – The value to assign to the associated_public_ip_pool property of this IpInventorySubnetResourceSummary. Allowed values for this property are: “ORACLE”, “BYOIP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
dns_host_name (str) – The value to assign to the dns_host_name property of this IpInventorySubnetResourceSummary.
assigned_resource_name (str) – The value to assign to the assigned_resource_name property of this IpInventorySubnetResourceSummary.
is_primary (bool) – The value to assign to the is_primary property of this IpInventorySubnetResourceSummary.
assigned_resource_type (str) – The value to assign to the assigned_resource_type property of this IpInventorySubnetResourceSummary. Allowed values for this property are: “Resource”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
address_type (str) – The value to assign to the address_type property of this IpInventorySubnetResourceSummary.
assigned_time (datetime) – The value to assign to the assigned_time property of this IpInventorySubnetResourceSummary.
- property address_type¶
Gets the address_type of this IpInventorySubnetResourceSummary. Address type of the allocated private IP address.
- Returns
The address_type of this IpInventorySubnetResourceSummary.
- Return type
str
- property assigned_resource_name¶
Gets the assigned_resource_name of this IpInventorySubnetResourceSummary. Name of the created resource.
- Returns
The assigned_resource_name of this IpInventorySubnetResourceSummary.
- Return type
str
- property assigned_resource_type¶
Gets the assigned_resource_type of this IpInventorySubnetResourceSummary. Type of the resource.
Allowed values for this property are: “Resource”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The assigned_resource_type of this IpInventorySubnetResourceSummary.
- Return type
str
- property assigned_time¶
Gets the assigned_time of this IpInventorySubnetResourceSummary. Assigned time of the private IP address.
- Returns
The assigned_time of this IpInventorySubnetResourceSummary.
- Return type
datetime
- property associated_public_ip¶
Gets the associated_public_ip of this IpInventorySubnetResourceSummary. Associated public IP address for the private IP address.
- Returns
The associated_public_ip of this IpInventorySubnetResourceSummary.
- Return type
str
- property associated_public_ip_pool¶
Gets the associated_public_ip_pool of this IpInventorySubnetResourceSummary. Public IP address Pool the IP address is allocated from.
Allowed values for this property are: “ORACLE”, “BYOIP”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The associated_public_ip_pool of this IpInventorySubnetResourceSummary.
- Return type
str
- property dns_host_name¶
Gets the dns_host_name of this IpInventorySubnetResourceSummary. DNS hostname of the IP address.
- Returns
The dns_host_name of this IpInventorySubnetResourceSummary.
- Return type
str
- property ip_address¶
Gets the ip_address of this IpInventorySubnetResourceSummary. Lists the allocated private IP address.
- Returns
The ip_address of this IpInventorySubnetResourceSummary.
- Return type
str
- property ip_address_lifetime¶
Gets the ip_address_lifetime of this IpInventorySubnetResourceSummary. Lifetime of the allocated private IP address.
Allowed values for this property are: “Ephemeral”, “Reserved”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The ip_address_lifetime of this IpInventorySubnetResourceSummary.
- Return type
str
- property ip_id¶
Gets the ip_id of this IpInventorySubnetResourceSummary. The OCID of the IP address.
- Returns
The ip_id of this IpInventorySubnetResourceSummary.
- Return type
str
- property is_primary¶
Gets the is_primary of this IpInventorySubnetResourceSummary. Primary flag for IP Resource
- Returns
The is_primary of this IpInventorySubnetResourceSummary.
- Return type
bool
- property parent_cidr¶
Gets the parent_cidr of this IpInventorySubnetResourceSummary. The address range the IP address is assigned from.
- Returns
The parent_cidr of this IpInventorySubnetResourceSummary.
- Return type
str
- property public_ip_lifetime¶
Gets the public_ip_lifetime of this IpInventorySubnetResourceSummary. Lifetime of the assigned public IP address.
Allowed values for this property are: “Ephemeral”, “Reserved”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The public_ip_lifetime of this IpInventorySubnetResourceSummary.
- Return type
str