ByoasnSummary¶
-
class
oci.core.models.
ByoasnSummary
(**kwargs)¶ Bases:
object
Information about a Byoasn resource.
Methods
__init__
(**kwargs)Initializes a new ByoasnSummary object with values from keyword arguments. Attributes
asn
[Required] Gets the asn of this ByoasnSummary. compartment_id
[Required] Gets the compartment_id of this ByoasnSummary. defined_tags
Gets the defined_tags of this ByoasnSummary. display_name
Gets the display_name of this ByoasnSummary. freeform_tags
Gets the freeform_tags of this ByoasnSummary. id
[Required] Gets the id of this ByoasnSummary. lifecycle_state
[Required] Gets the lifecycle_state of this ByoasnSummary. system_tags
Gets the system_tags of this ByoasnSummary. time_created
Gets the time_created of this ByoasnSummary. -
__init__
(**kwargs)¶ Initializes a new ByoasnSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - asn (int) – The value to assign to the asn property of this ByoasnSummary.
- compartment_id (str) – The value to assign to the compartment_id property of this ByoasnSummary.
- display_name (str) – The value to assign to the display_name property of this ByoasnSummary.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this ByoasnSummary.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this ByoasnSummary.
- system_tags (dict(str, dict(str, object))) – The value to assign to the system_tags property of this ByoasnSummary.
- id (str) – The value to assign to the id property of this ByoasnSummary.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this ByoasnSummary.
- time_created (datetime) – The value to assign to the time_created property of this ByoasnSummary.
-
asn
¶ [Required] Gets the asn of this ByoasnSummary. The Autonomous System Number (ASN) you are importing to the Oracle cloud.
Returns: The asn of this ByoasnSummary. Return type: int
-
compartment_id
¶ [Required] Gets the compartment_id of this ByoasnSummary. The OCID of the compartment containing the Byoasn resource.
Returns: The compartment_id of this ByoasnSummary. Return type: str
Gets the defined_tags of this ByoasnSummary. 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 ByoasnSummary. Return type: dict(str, dict(str, object))
-
display_name
¶ Gets the display_name of this ByoasnSummary. A user-friendly name. Does not have to be unique, and it’s changeable. Avoid entering confidential information.
Returns: The display_name of this ByoasnSummary. Return type: str
Gets the freeform_tags of this ByoasnSummary. 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 ByoasnSummary. Return type: dict(str, str)
-
id
¶ [Required] Gets the id of this ByoasnSummary. The OCID of the Byoasn resource.
Returns: The id of this ByoasnSummary. Return type: str
-
lifecycle_state
¶ [Required] Gets the lifecycle_state of this ByoasnSummary. The Byoasn resource’s current state.
Returns: The lifecycle_state of this ByoasnSummary. Return type: str
Gets the system_tags of this ByoasnSummary. System tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
Returns: The system_tags of this ByoasnSummary. Return type: dict(str, dict(str, object))
-