NetworkSourcesSummary

class oci.identity.models.NetworkSourcesSummary(**kwargs)

Bases: object

A network source specifies a list of source IP addresses that are allowed to make authorization requests. Use the network source in policy statements to restrict access to only requests that come from the specified IPs. For more information, see Managing Network Sources.

Methods

__init__(**kwargs) Initializes a new NetworkSourcesSummary object with values from keyword arguments.

Attributes

compartment_id [Required] Gets the compartment_id of this NetworkSourcesSummary.
defined_tags Gets the defined_tags of this NetworkSourcesSummary.
description [Required] Gets the description of this NetworkSourcesSummary.
freeform_tags Gets the freeform_tags of this NetworkSourcesSummary.
id [Required] Gets the id of this NetworkSourcesSummary.
lifecycle_state [Required] Gets the lifecycle_state of this NetworkSourcesSummary.
name [Required] Gets the name of this NetworkSourcesSummary.
public_source_list Gets the public_source_list of this NetworkSourcesSummary.
services Gets the services of this NetworkSourcesSummary.
time_created [Required] Gets the time_created of this NetworkSourcesSummary.
virtual_source_list Gets the virtual_source_list of this NetworkSourcesSummary.
__init__(**kwargs)

Initializes a new NetworkSourcesSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • id (str) – The value to assign to the id property of this NetworkSourcesSummary.
  • compartment_id (str) – The value to assign to the compartment_id property of this NetworkSourcesSummary.
  • name (str) – The value to assign to the name property of this NetworkSourcesSummary.
  • description (str) – The value to assign to the description property of this NetworkSourcesSummary.
  • public_source_list (list[str]) – The value to assign to the public_source_list property of this NetworkSourcesSummary.
  • virtual_source_list (list[oci.identity.models.NetworkSourcesVirtualSourceList]) – The value to assign to the virtual_source_list property of this NetworkSourcesSummary.
  • services (list[str]) – The value to assign to the services property of this NetworkSourcesSummary.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this NetworkSourcesSummary.
  • time_created (datetime) – The value to assign to the time_created property of this NetworkSourcesSummary.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this NetworkSourcesSummary.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this NetworkSourcesSummary.
compartment_id

[Required] Gets the compartment_id of this NetworkSourcesSummary. The OCID of the tenancy (root compartment) containing the network source.

Returns:The compartment_id of this NetworkSourcesSummary.
Return type:str
defined_tags

Gets the defined_tags of this NetworkSourcesSummary. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}

Returns:The defined_tags of this NetworkSourcesSummary.
Return type:dict(str, dict(str, object))
description

[Required] Gets the description of this NetworkSourcesSummary. The description you assign to the network source. Does not have to be unique, and it’s changeable.

Returns:The description of this NetworkSourcesSummary.
Return type:str
freeform_tags

Gets the freeform_tags of this NetworkSourcesSummary. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}

Returns:The freeform_tags of this NetworkSourcesSummary.
Return type:dict(str, str)
id

[Required] Gets the id of this NetworkSourcesSummary. The OCID of the network source.

Returns:The id of this NetworkSourcesSummary.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this NetworkSourcesSummary. The network source object’s current state. After creating a network source, make sure its lifecycleState changes from CREATING to ACTIVE before using it.

Returns:The lifecycle_state of this NetworkSourcesSummary.
Return type:str
name

[Required] Gets the name of this NetworkSourcesSummary. The name you assign to the network source during creation. The name must be unique across the tenancy and cannot be changed.

Returns:The name of this NetworkSourcesSummary.
Return type:str
public_source_list

Gets the public_source_list of this NetworkSourcesSummary. A list of allowed public IP addresses and CIDR ranges.

Returns:The public_source_list of this NetworkSourcesSummary.
Return type:list[str]
services

Gets the services of this NetworkSourcesSummary. – The services attribute has no effect and is reserved for use by Oracle. –

Returns:The services of this NetworkSourcesSummary.
Return type:list[str]
time_created

[Required] Gets the time_created of this NetworkSourcesSummary. Date and time the network source was created, in the format defined by RFC3339.

Example: 2016-08-25T21:10:29.600Z

Returns:The time_created of this NetworkSourcesSummary.
Return type:datetime
virtual_source_list

Gets the virtual_source_list of this NetworkSourcesSummary. A list of allowed VCN OCID and IP range pairs. Example:”vcnId”: “ocid1.vcn.oc1.iad.aaaaaaaaexampleuniqueID”, “ipRanges”: [ “129.213.39.0/24” ]

Returns:The virtual_source_list of this NetworkSourcesSummary.
Return type:list[oci.identity.models.NetworkSourcesVirtualSourceList]