-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Releasing version 101.3.0
- Loading branch information
Showing
94 changed files
with
6,046 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,157 @@ | ||
/* | ||
* Copyright (c) 2020, 2025, Oracle and/or its affiliates. All rights reserved. | ||
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. | ||
*/ | ||
|
||
// NOTE: Code generated by OracleSDKGenerator. | ||
// DO NOT EDIT this file manually. | ||
|
||
|
||
using System.ComponentModel.DataAnnotations; | ||
using System.Runtime.Serialization; | ||
using Newtonsoft.Json; | ||
using Newtonsoft.Json.Converters; | ||
|
||
|
||
namespace Oci.CoreService.Models | ||
{ | ||
/// <summary> | ||
/// 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](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/BYOASN.htm) is explained in the documentation. | ||
/// </summary> | ||
public class Byoasn | ||
{ | ||
/// | ||
/// <value> | ||
/// The `Byoasn` resource's current state. | ||
/// </value> | ||
/// | ||
public enum LifecycleStateEnum { | ||
/// This value is used if a service returns a value for this enum that is not recognized by this version of the SDK. | ||
[EnumMember(Value = null)] | ||
UnknownEnumValue, | ||
[EnumMember(Value = "UPDATING")] | ||
Updating, | ||
[EnumMember(Value = "ACTIVE")] | ||
Active, | ||
[EnumMember(Value = "DELETED")] | ||
Deleted, | ||
[EnumMember(Value = "FAILED")] | ||
Failed, | ||
[EnumMember(Value = "CREATING")] | ||
Creating | ||
}; | ||
|
||
/// <value> | ||
/// The `Byoasn` resource's current state. | ||
/// </value> | ||
/// <remarks> | ||
/// Required | ||
/// </remarks> | ||
[Required(ErrorMessage = "LifecycleState is required.")] | ||
[JsonProperty(PropertyName = "lifecycleState")] | ||
[JsonConverter(typeof(Oci.Common.Utils.ResponseEnumConverter))] | ||
public System.Nullable<LifecycleStateEnum> LifecycleState { get; set; } | ||
|
||
/// <value> | ||
/// Defined tags for this resource. Each key is predefined and scoped to a | ||
/// namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). | ||
/// <br/> | ||
/// Example: {"Operations": {"CostCenter": "42"}} | ||
/// </value> | ||
[JsonProperty(PropertyName = "definedTags")] | ||
public System.Collections.Generic.Dictionary<string, System.Collections.Generic.Dictionary<string, System.Object>> DefinedTags { get; set; } | ||
|
||
/// <value> | ||
/// A user-friendly name. Does not have to be unique, and it's changeable. | ||
/// Avoid entering confidential information. | ||
/// | ||
/// </value> | ||
[JsonProperty(PropertyName = "displayName")] | ||
public string DisplayName { get; set; } | ||
|
||
/// <value> | ||
/// 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). | ||
/// <br/> | ||
/// Example: {"Department": "Finance"} | ||
/// </value> | ||
[JsonProperty(PropertyName = "freeformTags")] | ||
public System.Collections.Generic.Dictionary<string, string> FreeformTags { get; set; } | ||
|
||
/// <value> | ||
/// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `Byoasn` resource. | ||
/// </value> | ||
/// <remarks> | ||
/// Required | ||
/// </remarks> | ||
[Required(ErrorMessage = "Id is required.")] | ||
[JsonProperty(PropertyName = "id")] | ||
public string Id { get; set; } | ||
|
||
/// <value> | ||
/// The Autonomous System Number (ASN) you are importing to the Oracle cloud. | ||
/// </value> | ||
/// <remarks> | ||
/// Required | ||
/// </remarks> | ||
[Required(ErrorMessage = "Asn is required.")] | ||
[JsonProperty(PropertyName = "asn")] | ||
public System.Nullable<long> Asn { get; set; } | ||
|
||
/// <value> | ||
/// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the `Byoasn` resource. | ||
/// | ||
/// </value> | ||
/// <remarks> | ||
/// Required | ||
/// </remarks> | ||
[Required(ErrorMessage = "CompartmentId is required.")] | ||
[JsonProperty(PropertyName = "compartmentId")] | ||
public string CompartmentId { get; set; } | ||
|
||
/// <value> | ||
/// The date and time the `Byoasn` resource was validated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). | ||
/// <br/> | ||
/// Example: 2016-08-25T21:10:29.600Z | ||
/// </value> | ||
[JsonProperty(PropertyName = "timeValidated")] | ||
public System.Nullable<System.DateTime> TimeValidated { get; set; } | ||
|
||
/// <value> | ||
/// The validation token is an internally-generated ASCII string used in the validation process. See [Importing a Byoasn](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/BYOASN.htm) for details. | ||
/// </value> | ||
/// <remarks> | ||
/// Required | ||
/// </remarks> | ||
[Required(ErrorMessage = "ValidationToken is required.")] | ||
[JsonProperty(PropertyName = "validationToken")] | ||
public string ValidationToken { get; set; } | ||
|
||
/// <value> | ||
/// The date and time the `Byoasn` resource was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). | ||
/// <br/> | ||
/// Example: 2016-08-25T21:10:29.600Z | ||
/// </value> | ||
/// <remarks> | ||
/// Required | ||
/// </remarks> | ||
[Required(ErrorMessage = "TimeCreated is required.")] | ||
[JsonProperty(PropertyName = "timeCreated")] | ||
public System.Nullable<System.DateTime> TimeCreated { get; set; } | ||
|
||
/// <value> | ||
/// The date and time the `Byoasn` resource was last updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). | ||
/// <br/> | ||
/// Example: 2016-08-25T21:10:29.600Z | ||
/// </value> | ||
[JsonProperty(PropertyName = "timeUpdated")] | ||
public System.Nullable<System.DateTime> TimeUpdated { get; set; } | ||
|
||
/// <value> | ||
/// The BYOIP Ranges that has the `Byoasn` as origin. | ||
/// </value> | ||
[JsonProperty(PropertyName = "byoipRanges")] | ||
public System.Collections.Generic.List<ByoasnByoipRange> ByoipRanges { get; set; } | ||
|
||
} | ||
} |
Oops, something went wrong.