import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Byoasn resource in Oracle Cloud Infrastructure Core service. * * Gets the `Byoasn` resource. You must specify the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testByoasn = oci.core.getByoasn({ * byoasnId: testByoasnOciCoreByoasn.id, * }); * ``` */ export declare function getByoasn(args: GetByoasnArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getByoasn. */ export interface GetByoasnArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `Byoasn` resource. */ byoasnId: string; } /** * A collection of values returned by getByoasn. */ export interface GetByoasnResult { /** * The Autonomous System Number (ASN) you are importing to the Oracle cloud. */ readonly asn: string; readonly byoasnId: string; /** * The BYOIP Ranges that has the `Byoasn` as origin. */ readonly byoipRanges: outputs.Core.GetByoasnByoipRange[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the `Byoasn` resource. */ readonly compartmentId: string; /** * 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). Example: `{"Operations.CostCenter": "42"}` */ readonly definedTags: { [key: string]: string; }; /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. */ readonly displayName: 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ readonly freeformTags: { [key: string]: string; }; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `Byoasn` resource. */ readonly id: string; /** * The `Byoasn` resource's current state. */ readonly state: string; /** * The date and time the `Byoasn` resource was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` */ readonly timeCreated: string; /** * The date and time the `Byoasn` resource was last updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` */ readonly timeUpdated: string; /** * The date and time the `Byoasn` resource was validated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` */ readonly timeValidated: string; /** * 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. */ readonly validationToken: string; } /** * This data source provides details about a specific Byoasn resource in Oracle Cloud Infrastructure Core service. * * Gets the `Byoasn` resource. You must specify the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testByoasn = oci.core.getByoasn({ * byoasnId: testByoasnOciCoreByoasn.id, * }); * ``` */ export declare function getByoasnOutput(args: GetByoasnOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getByoasn. */ export interface GetByoasnOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `Byoasn` resource. */ byoasnId: pulumi.Input; } //# sourceMappingURL=getByoasn.d.ts.map