Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace NetworkSources

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.

Properties

compartmentId

compartmentId: string

The OCID of the tenancy containing the network source. The tenancy is the root compartment.

Optional definedTags

definedTags: undefined | object

Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {@code {"Operations": {"CostCenter": "42"}}}

description

description: string

The description you assign to the network source. Does not have to be unique, and it's changeable.

Optional freeformTags

freeformTags: undefined | object

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: {@code {"Department": "Finance"}}

id

id: string

The OCID of the network source.

Optional inactiveStatus

inactiveStatus: undefined | number

The detailed status of INACTIVE lifecycleState. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

lifecycleState

lifecycleState: LifecycleState

The network source object's current state. After creating a network source, make sure its {@code lifecycleState} changes from CREATING to ACTIVE before using it.

name

name: string

The name you assign to the network source during creation. The name must be unique across the tenancy and cannot be changed.

Optional publicSourceList

publicSourceList: Array<string>

A list of allowed public IPs and CIDR ranges.

Optional services

services: Array<string>

-- The services attribute has no effect and is reserved for use by Oracle. --

timeCreated

timeCreated: Date

Date and time the network source was created, in the format defined by RFC3339.

Example: {@code 2016-08-25T21:10:29.600Z}

Optional virtualSourceList

A list of allowed VCN OCID and IP range pairs. Example:{@code "vcnId": "ocid1.vcn.oc1.iad.aaaaaaaaexampleuniqueID", "ipRanges": [ "129.213.39.0/24" ]}

Functions

getDeserializedJsonObj

getJsonObj