CreateNetworkSourceDetails

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

Bases: object

Properties for creating a network source object.

Methods

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

Attributes

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

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

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

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

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

Gets the defined_tags of this CreateNetworkSourceDetails. 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 CreateNetworkSourceDetails.
Return type:dict(str, dict(str, object))
description

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

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

Gets the freeform_tags of this CreateNetworkSourceDetails. 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 CreateNetworkSourceDetails.
Return type:dict(str, str)
name

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

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

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

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

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

Returns:The services of this CreateNetworkSourceDetails.
Return type:list[str]
virtual_source_list

Gets the virtual_source_list of this CreateNetworkSourceDetails. 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 CreateNetworkSourceDetails.
Return type:list[oci.identity.models.NetworkSourcesVirtualSourceList]