ByoipRangeOriginAsn¶
- class oci.core.models.ByoipRangeOriginAsn(**kwargs)¶
Bases:
objectInformation about the origin asn.
Methods:
__init__(**kwargs)Initializes a new ByoipRangeOriginAsn object with values from keyword arguments.
Attributes:
Gets the as_path_prepend_length of this ByoipRangeOriginAsn.
[Required] Gets the asn of this ByoipRangeOriginAsn.
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.
- property 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
- property 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