SetOriginAsnDetails

class oci.core.models.SetOriginAsnDetails(**kwargs)

Bases: object

Update Origin ASN of a BYOIP Range

Methods:

__init__(**kwargs)

Initializes a new SetOriginAsnDetails object with values from keyword arguments.

Attributes:

as_path_prepend_length

Gets the as_path_prepend_length of this SetOriginAsnDetails.

byoasn_id

[Required] Gets the byoasn_id of this SetOriginAsnDetails.

__init__(**kwargs)

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

Parameters
  • byoasn_id (str) – The value to assign to the byoasn_id property of this SetOriginAsnDetails.

  • as_path_prepend_length (int) – The value to assign to the as_path_prepend_length property of this SetOriginAsnDetails.

property as_path_prepend_length

Gets the as_path_prepend_length of this SetOriginAsnDetails. The as path prepend length.

Returns

The as_path_prepend_length of this SetOriginAsnDetails.

Return type

int

property byoasn_id

[Required] Gets the byoasn_id of this SetOriginAsnDetails. The OCID of the Byoasn Resource to be associated.

Returns

The byoasn_id of this SetOriginAsnDetails.

Return type

str