oci.Core.Byoasn
This resource provides the Byoasn resource in Oracle Cloud Infrastructure Core service.
Creates a BYOASN Resource
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testByoasn = new oci.core.Byoasn("test_byoasn", {
    asn: byoasnAsn,
    compartmentId: compartmentId,
    displayName: byoasnDisplayName,
    definedTags: {
        "Operations.CostCenter": "42",
    },
    freeformTags: {
        Department: "Finance",
    },
});
import pulumi
import pulumi_oci as oci
test_byoasn = oci.core.Byoasn("test_byoasn",
    asn=byoasn_asn,
    compartment_id=compartment_id,
    display_name=byoasn_display_name,
    defined_tags={
        "Operations.CostCenter": "42",
    },
    freeform_tags={
        "Department": "Finance",
    })
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/core"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := core.NewByoasn(ctx, "test_byoasn", &core.ByoasnArgs{
			Asn:           pulumi.Any(byoasnAsn),
			CompartmentId: pulumi.Any(compartmentId),
			DisplayName:   pulumi.Any(byoasnDisplayName),
			DefinedTags: pulumi.StringMap{
				"Operations.CostCenter": pulumi.String("42"),
			},
			FreeformTags: pulumi.StringMap{
				"Department": pulumi.String("Finance"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() => 
{
    var testByoasn = new Oci.Core.Byoasn("test_byoasn", new()
    {
        Asn = byoasnAsn,
        CompartmentId = compartmentId,
        DisplayName = byoasnDisplayName,
        DefinedTags = 
        {
            { "Operations.CostCenter", "42" },
        },
        FreeformTags = 
        {
            { "Department", "Finance" },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Core.Byoasn;
import com.pulumi.oci.Core.ByoasnArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var testByoasn = new Byoasn("testByoasn", ByoasnArgs.builder()
            .asn(byoasnAsn)
            .compartmentId(compartmentId)
            .displayName(byoasnDisplayName)
            .definedTags(Map.of("Operations.CostCenter", "42"))
            .freeformTags(Map.of("Department", "Finance"))
            .build());
    }
}
resources:
  testByoasn:
    type: oci:Core:Byoasn
    name: test_byoasn
    properties:
      asn: ${byoasnAsn}
      compartmentId: ${compartmentId}
      displayName: ${byoasnDisplayName}
      definedTags:
        Operations.CostCenter: '42'
      freeformTags:
        Department: Finance
Create Byoasn Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Byoasn(name: string, args: ByoasnArgs, opts?: CustomResourceOptions);@overload
def Byoasn(resource_name: str,
           args: ByoasnArgs,
           opts: Optional[ResourceOptions] = None)
@overload
def Byoasn(resource_name: str,
           opts: Optional[ResourceOptions] = None,
           asn: Optional[str] = None,
           compartment_id: Optional[str] = None,
           display_name: Optional[str] = None,
           defined_tags: Optional[Mapping[str, str]] = None,
           freeform_tags: Optional[Mapping[str, str]] = None)func NewByoasn(ctx *Context, name string, args ByoasnArgs, opts ...ResourceOption) (*Byoasn, error)public Byoasn(string name, ByoasnArgs args, CustomResourceOptions? opts = null)
public Byoasn(String name, ByoasnArgs args)
public Byoasn(String name, ByoasnArgs args, CustomResourceOptions options)
type: oci:Core:Byoasn
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ByoasnArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ByoasnArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ByoasnArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ByoasnArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ByoasnArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var byoasnResource = new Oci.Core.Byoasn("byoasnResource", new()
{
    Asn = "string",
    CompartmentId = "string",
    DisplayName = "string",
    DefinedTags = 
    {
        { "string", "string" },
    },
    FreeformTags = 
    {
        { "string", "string" },
    },
});
example, err := core.NewByoasn(ctx, "byoasnResource", &core.ByoasnArgs{
	Asn:           pulumi.String("string"),
	CompartmentId: pulumi.String("string"),
	DisplayName:   pulumi.String("string"),
	DefinedTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	FreeformTags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
var byoasnResource = new Byoasn("byoasnResource", ByoasnArgs.builder()
    .asn("string")
    .compartmentId("string")
    .displayName("string")
    .definedTags(Map.of("string", "string"))
    .freeformTags(Map.of("string", "string"))
    .build());
byoasn_resource = oci.core.Byoasn("byoasnResource",
    asn="string",
    compartment_id="string",
    display_name="string",
    defined_tags={
        "string": "string",
    },
    freeform_tags={
        "string": "string",
    })
const byoasnResource = new oci.core.Byoasn("byoasnResource", {
    asn: "string",
    compartmentId: "string",
    displayName: "string",
    definedTags: {
        string: "string",
    },
    freeformTags: {
        string: "string",
    },
});
type: oci:Core:Byoasn
properties:
    asn: string
    compartmentId: string
    definedTags:
        string: string
    displayName: string
    freeformTags:
        string: string
Byoasn Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Byoasn resource accepts the following input properties:
- Asn string
- The Autonomous System Number (ASN) you are importing to the Oracle cloud.
- CompartmentId string
- (Updatable) The OCID of the compartment containing the BYOASN Resource.
- DisplayName string
- (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Dictionary<string, string>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- Dictionary<string, string>
- (Updatable) 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"}- ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- Asn string
- The Autonomous System Number (ASN) you are importing to the Oracle cloud.
- CompartmentId string
- (Updatable) The OCID of the compartment containing the BYOASN Resource.
- DisplayName string
- (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- map[string]string
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- map[string]string
- (Updatable) 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"}- ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- asn String
- The Autonomous System Number (ASN) you are importing to the Oracle cloud.
- compartmentId String
- (Updatable) The OCID of the compartment containing the BYOASN Resource.
- displayName String
- (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String,String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- Map<String,String>
- (Updatable) 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"}- ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- asn string
- The Autonomous System Number (ASN) you are importing to the Oracle cloud.
- compartmentId string
- (Updatable) The OCID of the compartment containing the BYOASN Resource.
- displayName string
- (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- {[key: string]: string}
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- {[key: string]: string}
- (Updatable) 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"}- ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- asn str
- The Autonomous System Number (ASN) you are importing to the Oracle cloud.
- compartment_id str
- (Updatable) The OCID of the compartment containing the BYOASN Resource.
- display_name str
- (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- Mapping[str, str]
- (Updatable) 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"}- ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- asn String
- The Autonomous System Number (ASN) you are importing to the Oracle cloud.
- compartmentId String
- (Updatable) The OCID of the compartment containing the BYOASN Resource.
- displayName String
- (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String>
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- Map<String>
- (Updatable) 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"}- ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
Outputs
All input properties are implicitly available as output properties. Additionally, the Byoasn resource produces the following output properties:
- ByoipRanges List<ByoasnByoip Range> 
- The BYOIP Ranges that has the Byoasnas origin.
- Id string
- The provider-assigned unique ID for this managed resource.
- State string
- The Byoasnresource's current state.
- TimeCreated string
- The date and time the Byoasnresource was created, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- TimeUpdated string
- The date and time the Byoasnresource was last updated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- TimeValidated string
- The date and time the Byoasnresource was validated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- ValidationToken string
- The validation token is an internally-generated ASCII string used in the validation process. See Importing a Byoasn for details.
- ByoipRanges []ByoasnByoip Range 
- The BYOIP Ranges that has the Byoasnas origin.
- Id string
- The provider-assigned unique ID for this managed resource.
- State string
- The Byoasnresource's current state.
- TimeCreated string
- The date and time the Byoasnresource was created, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- TimeUpdated string
- The date and time the Byoasnresource was last updated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- TimeValidated string
- The date and time the Byoasnresource was validated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- ValidationToken string
- The validation token is an internally-generated ASCII string used in the validation process. See Importing a Byoasn for details.
- byoipRanges List<ByoasnByoip Range> 
- The BYOIP Ranges that has the Byoasnas origin.
- id String
- The provider-assigned unique ID for this managed resource.
- state String
- The Byoasnresource's current state.
- timeCreated String
- The date and time the Byoasnresource was created, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- timeUpdated String
- The date and time the Byoasnresource was last updated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- timeValidated String
- The date and time the Byoasnresource was validated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- validationToken String
- The validation token is an internally-generated ASCII string used in the validation process. See Importing a Byoasn for details.
- byoipRanges ByoasnByoip Range[] 
- The BYOIP Ranges that has the Byoasnas origin.
- id string
- The provider-assigned unique ID for this managed resource.
- state string
- The Byoasnresource's current state.
- timeCreated string
- The date and time the Byoasnresource was created, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- timeUpdated string
- The date and time the Byoasnresource was last updated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- timeValidated string
- The date and time the Byoasnresource was validated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- validationToken string
- The validation token is an internally-generated ASCII string used in the validation process. See Importing a Byoasn for details.
- byoip_ranges Sequence[ByoasnByoip Range] 
- The BYOIP Ranges that has the Byoasnas origin.
- id str
- The provider-assigned unique ID for this managed resource.
- state str
- The Byoasnresource's current state.
- time_created str
- The date and time the Byoasnresource was created, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- time_updated str
- The date and time the Byoasnresource was last updated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- time_validated str
- The date and time the Byoasnresource was validated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- validation_token str
- The validation token is an internally-generated ASCII string used in the validation process. See Importing a Byoasn for details.
- byoipRanges List<Property Map>
- The BYOIP Ranges that has the Byoasnas origin.
- id String
- The provider-assigned unique ID for this managed resource.
- state String
- The Byoasnresource's current state.
- timeCreated String
- The date and time the Byoasnresource was created, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- timeUpdated String
- The date and time the Byoasnresource was last updated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- timeValidated String
- The date and time the Byoasnresource was validated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- validationToken String
- The validation token is an internally-generated ASCII string used in the validation process. See Importing a Byoasn for details.
Look up Existing Byoasn Resource
Get an existing Byoasn resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ByoasnState, opts?: CustomResourceOptions): Byoasn@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        asn: Optional[str] = None,
        byoip_ranges: Optional[Sequence[ByoasnByoipRangeArgs]] = None,
        compartment_id: Optional[str] = None,
        defined_tags: Optional[Mapping[str, str]] = None,
        display_name: Optional[str] = None,
        freeform_tags: Optional[Mapping[str, str]] = None,
        state: Optional[str] = None,
        time_created: Optional[str] = None,
        time_updated: Optional[str] = None,
        time_validated: Optional[str] = None,
        validation_token: Optional[str] = None) -> Byoasnfunc GetByoasn(ctx *Context, name string, id IDInput, state *ByoasnState, opts ...ResourceOption) (*Byoasn, error)public static Byoasn Get(string name, Input<string> id, ByoasnState? state, CustomResourceOptions? opts = null)public static Byoasn get(String name, Output<String> id, ByoasnState state, CustomResourceOptions options)resources:  _:    type: oci:Core:Byoasn    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Asn string
- The Autonomous System Number (ASN) you are importing to the Oracle cloud.
- ByoipRanges List<ByoasnByoip Range> 
- The BYOIP Ranges that has the Byoasnas origin.
- CompartmentId string
- (Updatable) The OCID of the compartment containing the BYOASN Resource.
- Dictionary<string, string>
- (Updatable) 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 string
- (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Dictionary<string, string>
- (Updatable) 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"}- ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- State string
- The Byoasnresource's current state.
- TimeCreated string
- The date and time the Byoasnresource was created, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- TimeUpdated string
- The date and time the Byoasnresource was last updated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- TimeValidated string
- The date and time the Byoasnresource was validated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- ValidationToken string
- The validation token is an internally-generated ASCII string used in the validation process. See Importing a Byoasn for details.
- Asn string
- The Autonomous System Number (ASN) you are importing to the Oracle cloud.
- ByoipRanges []ByoasnByoip Range Args 
- The BYOIP Ranges that has the Byoasnas origin.
- CompartmentId string
- (Updatable) The OCID of the compartment containing the BYOASN Resource.
- map[string]string
- (Updatable) 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 string
- (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- map[string]string
- (Updatable) 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"}- ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- State string
- The Byoasnresource's current state.
- TimeCreated string
- The date and time the Byoasnresource was created, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- TimeUpdated string
- The date and time the Byoasnresource was last updated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- TimeValidated string
- The date and time the Byoasnresource was validated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- ValidationToken string
- The validation token is an internally-generated ASCII string used in the validation process. See Importing a Byoasn for details.
- asn String
- The Autonomous System Number (ASN) you are importing to the Oracle cloud.
- byoipRanges List<ByoasnByoip Range> 
- The BYOIP Ranges that has the Byoasnas origin.
- compartmentId String
- (Updatable) The OCID of the compartment containing the BYOASN Resource.
- Map<String,String>
- (Updatable) 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 String
- (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String,String>
- (Updatable) 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"}- ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- state String
- The Byoasnresource's current state.
- timeCreated String
- The date and time the Byoasnresource was created, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- timeUpdated String
- The date and time the Byoasnresource was last updated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- timeValidated String
- The date and time the Byoasnresource was validated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- validationToken String
- The validation token is an internally-generated ASCII string used in the validation process. See Importing a Byoasn for details.
- asn string
- The Autonomous System Number (ASN) you are importing to the Oracle cloud.
- byoipRanges ByoasnByoip Range[] 
- The BYOIP Ranges that has the Byoasnas origin.
- compartmentId string
- (Updatable) The OCID of the compartment containing the BYOASN Resource.
- {[key: string]: string}
- (Updatable) 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 string
- (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- {[key: string]: string}
- (Updatable) 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"}- ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- state string
- The Byoasnresource's current state.
- timeCreated string
- The date and time the Byoasnresource was created, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- timeUpdated string
- The date and time the Byoasnresource was last updated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- timeValidated string
- The date and time the Byoasnresource was validated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- validationToken string
- The validation token is an internally-generated ASCII string used in the validation process. See Importing a Byoasn for details.
- asn str
- The Autonomous System Number (ASN) you are importing to the Oracle cloud.
- byoip_ranges Sequence[ByoasnByoip Range Args] 
- The BYOIP Ranges that has the Byoasnas origin.
- compartment_id str
- (Updatable) The OCID of the compartment containing the BYOASN Resource.
- Mapping[str, str]
- (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"Operations.CostCenter": "42"}
- display_name str
- (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Mapping[str, str]
- (Updatable) 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"}- ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- state str
- The Byoasnresource's current state.
- time_created str
- The date and time the Byoasnresource was created, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- time_updated str
- The date and time the Byoasnresource was last updated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- time_validated str
- The date and time the Byoasnresource was validated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- validation_token str
- The validation token is an internally-generated ASCII string used in the validation process. See Importing a Byoasn for details.
- asn String
- The Autonomous System Number (ASN) you are importing to the Oracle cloud.
- byoipRanges List<Property Map>
- The BYOIP Ranges that has the Byoasnas origin.
- compartmentId String
- (Updatable) The OCID of the compartment containing the BYOASN Resource.
- Map<String>
- (Updatable) 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 String
- (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Map<String>
- (Updatable) 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"}- ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values 
- state String
- The Byoasnresource's current state.
- timeCreated String
- The date and time the Byoasnresource was created, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- timeUpdated String
- The date and time the Byoasnresource was last updated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- timeValidated String
- The date and time the Byoasnresource was validated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- validationToken String
- The validation token is an internally-generated ASCII string used in the validation process. See Importing a Byoasn for details.
Supporting Types
ByoasnByoipRange, ByoasnByoipRangeArgs      
- AsPath intPrepend Length 
- The as path prepend length.
- ByoipRange stringId 
- The OCID of the ByoipRangeresource to which the CIDR block belongs.
- CidrBlock string
- The BYOIP CIDR block range or subrange allocated to an IP pool. This could be all or part of a BYOIP CIDR block.
- Ipv6cidrBlock string
- The IPv6 prefix being imported to the Oracle cloud. This prefix must be /48 or larger, and can be subdivided into sub-ranges used across multiple VCNs. A BYOIPv6 prefix can be assigned across multiple VCNs, and each VCN must be /64 or larger. You may specify a ULA or private IPv6 prefix of /64 or larger to use in the VCN. IPv6-enabled subnets will remain a fixed /64 in size.
- AsPath intPrepend Length 
- The as path prepend length.
- ByoipRange stringId 
- The OCID of the ByoipRangeresource to which the CIDR block belongs.
- CidrBlock string
- The BYOIP CIDR block range or subrange allocated to an IP pool. This could be all or part of a BYOIP CIDR block.
- Ipv6cidrBlock string
- The IPv6 prefix being imported to the Oracle cloud. This prefix must be /48 or larger, and can be subdivided into sub-ranges used across multiple VCNs. A BYOIPv6 prefix can be assigned across multiple VCNs, and each VCN must be /64 or larger. You may specify a ULA or private IPv6 prefix of /64 or larger to use in the VCN. IPv6-enabled subnets will remain a fixed /64 in size.
- asPath IntegerPrepend Length 
- The as path prepend length.
- byoipRange StringId 
- The OCID of the ByoipRangeresource to which the CIDR block belongs.
- cidrBlock String
- The BYOIP CIDR block range or subrange allocated to an IP pool. This could be all or part of a BYOIP CIDR block.
- ipv6cidrBlock String
- The IPv6 prefix being imported to the Oracle cloud. This prefix must be /48 or larger, and can be subdivided into sub-ranges used across multiple VCNs. A BYOIPv6 prefix can be assigned across multiple VCNs, and each VCN must be /64 or larger. You may specify a ULA or private IPv6 prefix of /64 or larger to use in the VCN. IPv6-enabled subnets will remain a fixed /64 in size.
- asPath numberPrepend Length 
- The as path prepend length.
- byoipRange stringId 
- The OCID of the ByoipRangeresource to which the CIDR block belongs.
- cidrBlock string
- The BYOIP CIDR block range or subrange allocated to an IP pool. This could be all or part of a BYOIP CIDR block.
- ipv6cidrBlock string
- The IPv6 prefix being imported to the Oracle cloud. This prefix must be /48 or larger, and can be subdivided into sub-ranges used across multiple VCNs. A BYOIPv6 prefix can be assigned across multiple VCNs, and each VCN must be /64 or larger. You may specify a ULA or private IPv6 prefix of /64 or larger to use in the VCN. IPv6-enabled subnets will remain a fixed /64 in size.
- as_path_ intprepend_ length 
- The as path prepend length.
- byoip_range_ strid 
- The OCID of the ByoipRangeresource to which the CIDR block belongs.
- cidr_block str
- The BYOIP CIDR block range or subrange allocated to an IP pool. This could be all or part of a BYOIP CIDR block.
- ipv6cidr_block str
- The IPv6 prefix being imported to the Oracle cloud. This prefix must be /48 or larger, and can be subdivided into sub-ranges used across multiple VCNs. A BYOIPv6 prefix can be assigned across multiple VCNs, and each VCN must be /64 or larger. You may specify a ULA or private IPv6 prefix of /64 or larger to use in the VCN. IPv6-enabled subnets will remain a fixed /64 in size.
- asPath NumberPrepend Length 
- The as path prepend length.
- byoipRange StringId 
- The OCID of the ByoipRangeresource to which the CIDR block belongs.
- cidrBlock String
- The BYOIP CIDR block range or subrange allocated to an IP pool. This could be all or part of a BYOIP CIDR block.
- ipv6cidrBlock String
- The IPv6 prefix being imported to the Oracle cloud. This prefix must be /48 or larger, and can be subdivided into sub-ranges used across multiple VCNs. A BYOIPv6 prefix can be assigned across multiple VCNs, and each VCN must be /64 or larger. You may specify a ULA or private IPv6 prefix of /64 or larger to use in the VCN. IPv6-enabled subnets will remain a fixed /64 in size.
Import
Byoasns can be imported using the id, e.g.
$ pulumi import oci:Core/byoasn:Byoasn test_byoasn "id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.
