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 Gets the compartment_id of this NetworkSourcesSummary.
defined_tags Gets the defined_tags of this NetworkSourcesSummary.
description Gets the description of this NetworkSourcesSummary.
freeform_tags Gets the freeform_tags of this NetworkSourcesSummary.
id Gets the id of this NetworkSourcesSummary.
name 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 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[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.
  • 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

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

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

Gets the id of this NetworkSourcesSummary. The OCID of the network source.

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

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. A list of services allowed to make on-behalf-of requests. These requests can have different source IPs than those specified in the network source. Currently, only all and none are supported. The default is all.

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

Gets the time_created of this NetworkSourcesSummary. Date and time the group 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[NetworkSourcesVirtualSourceList]