ByoipRangeOriginAsn

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

Bases: object

Information about the origin asn.

Methods

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

Attributes

as_path_prepend_length Gets the as_path_prepend_length of this ByoipRangeOriginAsn.
asn [Required] Gets the asn of this ByoipRangeOriginAsn.
byoasn_id Gets the byoasn_id of this ByoipRangeOriginAsn.
__init__(**kwargs)

Initializes a new ByoipRangeOriginAsn 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 ByoipRangeOriginAsn.
  • asn (int) – The value to assign to the asn property of this ByoipRangeOriginAsn.
  • as_path_prepend_length (int) – The value to assign to the as_path_prepend_length property of this ByoipRangeOriginAsn.
as_path_prepend_length

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

Returns:The as_path_prepend_length of this ByoipRangeOriginAsn.
Return type:int
asn

[Required] Gets the asn of this ByoipRangeOriginAsn. The Autonomous System Number (ASN) you are importing to the Oracle cloud.

Returns:The asn of this ByoipRangeOriginAsn.
Return type:int
byoasn_id

Gets the byoasn_id of this ByoipRangeOriginAsn. The OCID of the Byoasn resource.

Returns:The byoasn_id of this ByoipRangeOriginAsn.
Return type:str