Show / Hide Table of Contents

Class Byoasn

Oracle offers the ability to Bring Your Own Autonomous System Number (BYOASN), importing AS Numbers you currently own to Oracle Cloud Infrastructure. A Byoasn resource is a record of the imported AS Number and also some associated metadata. The process used to Bring Your Own ASN is explained in the documentation.

Inheritance
object
Byoasn
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.CoreService.Models
Assembly: OCI.DotNetSDK.Core.dll
Syntax
public class Byoasn

Properties

Asn

Declaration
[Required(ErrorMessage = "Asn is required.")]
[JsonProperty(PropertyName = "asn")]
public long? Asn { get; set; }
Property Value
Type Description
long?

The Autonomous System Number (ASN) you are importing to the Oracle cloud.

Remarks

Required

ByoipRanges

Declaration
[JsonProperty(PropertyName = "byoipRanges")]
public List<ByoasnByoipRange> ByoipRanges { get; set; }
Property Value
Type Description
List<ByoasnByoipRange>

The BYOIP Ranges that has the Byoasn as origin.

CompartmentId

Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type Description
string

The OCID of the compartment containing the Byoasn resource.

Remarks

Required

DefinedTags

Declaration
[JsonProperty(PropertyName = "definedTags")]
public Dictionary<string, Dictionary<string, object>> DefinedTags { get; set; }
Property Value
Type Description
Dictionary<string, Dictionary<string, object>>

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

DisplayName

Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type Description
string

A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.

FreeformTags

Declaration
[JsonProperty(PropertyName = "freeformTags")]
public Dictionary<string, string> FreeformTags { get; set; }
Property Value
Type Description
Dictionary<string, string>

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"}

Id

Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type Description
string

The OCID of the Byoasn resource.

Remarks

Required

LifecycleState

Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(ResponseEnumConverter))]
public Byoasn.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type Description
Byoasn.LifecycleStateEnum?

The Byoasn resource's current state.

Remarks

Required

TimeCreated

Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

The date and time the Byoasn resource was created, in the format defined by RFC3339.
Example: 2016-08-25T21:10:29.600Z

Remarks

Required

TimeUpdated

Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type Description
DateTime?

The date and time the Byoasn resource was last updated, in the format defined by RFC3339.
Example: 2016-08-25T21:10:29.600Z

TimeValidated

Declaration
[JsonProperty(PropertyName = "timeValidated")]
public DateTime? TimeValidated { get; set; }
Property Value
Type Description
DateTime?

The date and time the Byoasn resource was validated, in the format defined by RFC3339.
Example: 2016-08-25T21:10:29.600Z

ValidationToken

Declaration
[Required(ErrorMessage = "ValidationToken is required.")]
[JsonProperty(PropertyName = "validationToken")]
public string ValidationToken { get; set; }
Property Value
Type Description
string

The validation token is an internally-generated ASCII string used in the validation process. See Importing a Byoasn for details.

Remarks

Required

In this article
Back to top