oci.Core.Byoasn
Explore with Pulumi AI
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/v2/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.
- Compartment
Id string - (Updatable) The OCID of the compartment containing the BYOASN Resource.
- Display
Name 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.
- Compartment
Id string - (Updatable) The OCID of the compartment containing the BYOASN Resource.
- Display
Name 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.
- compartment
Id String - (Updatable) The OCID of the compartment containing the BYOASN Resource.
- display
Name 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.
- compartment
Id string - (Updatable) The OCID of the compartment containing the BYOASN Resource.
- display
Name 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.
- compartment
Id String - (Updatable) The OCID of the compartment containing the BYOASN Resource.
- display
Name 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:
- Byoip
Ranges List<ByoasnByoip Range> - The BYOIP Ranges that has the
Byoasn
as origin. - Id string
- The provider-assigned unique ID for this managed resource.
- State string
- The
Byoasn
resource's current state. - Time
Created string - The date and time the
Byoasn
resource was created, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- Time
Updated string - The date and time the
Byoasn
resource was last updated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- Time
Validated string - The date and time the
Byoasn
resource was validated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- Validation
Token string - The validation token is an internally-generated ASCII string used in the validation process. See Importing a Byoasn for details.
- Byoip
Ranges []ByoasnByoip Range - The BYOIP Ranges that has the
Byoasn
as origin. - Id string
- The provider-assigned unique ID for this managed resource.
- State string
- The
Byoasn
resource's current state. - Time
Created string - The date and time the
Byoasn
resource was created, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- Time
Updated string - The date and time the
Byoasn
resource was last updated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- Time
Validated string - The date and time the
Byoasn
resource was validated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- Validation
Token string - The validation token is an internally-generated ASCII string used in the validation process. See Importing a Byoasn for details.
- byoip
Ranges List<ByoasnByoip Range> - The BYOIP Ranges that has the
Byoasn
as origin. - id String
- The provider-assigned unique ID for this managed resource.
- state String
- The
Byoasn
resource's current state. - time
Created String - The date and time the
Byoasn
resource was created, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- time
Updated String - The date and time the
Byoasn
resource was last updated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- time
Validated String - The date and time the
Byoasn
resource was validated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- validation
Token String - The validation token is an internally-generated ASCII string used in the validation process. See Importing a Byoasn for details.
- byoip
Ranges ByoasnByoip Range[] - The BYOIP Ranges that has the
Byoasn
as origin. - id string
- The provider-assigned unique ID for this managed resource.
- state string
- The
Byoasn
resource's current state. - time
Created string - The date and time the
Byoasn
resource was created, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- time
Updated string - The date and time the
Byoasn
resource was last updated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- time
Validated string - The date and time the
Byoasn
resource was validated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- validation
Token string - The validation token is an internally-generated ASCII string used in the validation process. See Importing a Byoasn for details.
- byoip_
ranges Sequence[core.Byoasn Byoip Range] - The BYOIP Ranges that has the
Byoasn
as origin. - id str
- The provider-assigned unique ID for this managed resource.
- state str
- The
Byoasn
resource's current state. - time_
created str - The date and time the
Byoasn
resource was created, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- time_
updated str - The date and time the
Byoasn
resource was last updated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- time_
validated str - The date and time the
Byoasn
resource 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.
- byoip
Ranges List<Property Map> - The BYOIP Ranges that has the
Byoasn
as origin. - id String
- The provider-assigned unique ID for this managed resource.
- state String
- The
Byoasn
resource's current state. - time
Created String - The date and time the
Byoasn
resource was created, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- time
Updated String - The date and time the
Byoasn
resource was last updated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- time
Validated String - The date and time the
Byoasn
resource was validated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- validation
Token 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[_core.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) -> Byoasn
func 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.
- Byoip
Ranges List<ByoasnByoip Range> - The BYOIP Ranges that has the
Byoasn
as origin. - Compartment
Id 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"}
- Display
Name 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
Byoasn
resource's current state. - Time
Created string - The date and time the
Byoasn
resource was created, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- Time
Updated string - The date and time the
Byoasn
resource was last updated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- Time
Validated string - The date and time the
Byoasn
resource was validated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- Validation
Token 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.
- Byoip
Ranges []ByoasnByoip Range Args - The BYOIP Ranges that has the
Byoasn
as origin. - Compartment
Id 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"}
- Display
Name 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
Byoasn
resource's current state. - Time
Created string - The date and time the
Byoasn
resource was created, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- Time
Updated string - The date and time the
Byoasn
resource was last updated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- Time
Validated string - The date and time the
Byoasn
resource was validated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- Validation
Token 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.
- byoip
Ranges List<ByoasnByoip Range> - The BYOIP Ranges that has the
Byoasn
as origin. - compartment
Id 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"}
- display
Name 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
Byoasn
resource's current state. - time
Created String - The date and time the
Byoasn
resource was created, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- time
Updated String - The date and time the
Byoasn
resource was last updated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- time
Validated String - The date and time the
Byoasn
resource was validated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- validation
Token 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.
- byoip
Ranges ByoasnByoip Range[] - The BYOIP Ranges that has the
Byoasn
as origin. - compartment
Id 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"}
- display
Name 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
Byoasn
resource's current state. - time
Created string - The date and time the
Byoasn
resource was created, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- time
Updated string - The date and time the
Byoasn
resource was last updated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- time
Validated string - The date and time the
Byoasn
resource was validated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- validation
Token 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[core.Byoasn Byoip Range Args] - The BYOIP Ranges that has the
Byoasn
as 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
Byoasn
resource's current state. - time_
created str - The date and time the
Byoasn
resource was created, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- time_
updated str - The date and time the
Byoasn
resource was last updated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- time_
validated str - The date and time the
Byoasn
resource 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.
- byoip
Ranges List<Property Map> - The BYOIP Ranges that has the
Byoasn
as origin. - compartment
Id 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"}
- display
Name 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
Byoasn
resource's current state. - time
Created String - The date and time the
Byoasn
resource was created, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- time
Updated String - The date and time the
Byoasn
resource was last updated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- time
Validated String - The date and time the
Byoasn
resource was validated, in the format defined by RFC3339. Example:2016-08-25T21:10:29.600Z
- validation
Token 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
- As
Path intPrepend Length - The as path prepend length.
- Byoip
Range stringId - The OCID of the
ByoipRange
resource to which the CIDR block belongs. - Cidr
Block string - 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 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 stringId - The OCID of the
ByoipRange
resource to which the CIDR block belongs. - Cidr
Block string - 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 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 IntegerPrepend Length - The as path prepend length.
- byoip
Range StringId - The OCID of the
ByoipRange
resource to which the CIDR block belongs. - cidr
Block String - 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 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 numberPrepend Length - The as path prepend length.
- byoip
Range stringId - The OCID of the
ByoipRange
resource to which the CIDR block belongs. - cidr
Block string - 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 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
ByoipRange
resource 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.
- as
Path NumberPrepend Length - The as path prepend length.
- byoip
Range StringId - The OCID of the
ByoipRange
resource to which the CIDR block belongs. - cidr
Block String - 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 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
oci
Terraform Provider.