@pulumi/oci 2.21.0 → 2.22.0-alpha.1737681134
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bigdataservice/bdsInstanceApiKey.d.ts +0 -6
- package/bigdataservice/bdsInstanceApiKey.js.map +1 -1
- package/bigdataservice/getBdsInstanceApiKey.d.ts +0 -2
- package/bigdataservice/getBdsInstanceApiKey.js.map +1 -1
- package/core/byoasn.d.ts +202 -0
- package/core/byoasn.js +110 -0
- package/core/byoasn.js.map +1 -0
- package/core/getByoasn.d.ts +112 -0
- package/core/getByoasn.js +54 -0
- package/core/getByoasn.js.map +1 -0
- package/core/getByoasns.d.ts +55 -0
- package/core/getByoasns.js +36 -0
- package/core/getByoasns.js.map +1 -0
- package/core/getByoipRange.d.ts +4 -0
- package/core/getByoipRange.js.map +1 -1
- package/core/index.d.ts +9 -0
- package/core/index.js +19 -8
- package/core/index.js.map +1 -1
- package/core/instance.d.ts +3 -3
- package/database/autonomousDatabase.d.ts +26 -2
- package/database/autonomousDatabase.js +4 -0
- package/database/autonomousDatabase.js.map +1 -1
- package/database/autonomousExadataInfrastructure.d.ts +0 -1
- package/database/autonomousExadataInfrastructure.js +0 -1
- package/database/autonomousExadataInfrastructure.js.map +1 -1
- package/database/autonomousVmCluster.d.ts +0 -1
- package/database/autonomousVmCluster.js +0 -1
- package/database/autonomousVmCluster.js.map +1 -1
- package/database/cloudExadataInfrastructure.d.ts +0 -1
- package/database/cloudExadataInfrastructure.js +0 -1
- package/database/cloudExadataInfrastructure.js.map +1 -1
- package/database/dataGuardAssociation.d.ts +24 -12
- package/database/dataGuardAssociation.js +2 -0
- package/database/dataGuardAssociation.js.map +1 -1
- package/database/database.d.ts +44 -15
- package/database/database.js +6 -0
- package/database/database.js.map +1 -1
- package/database/databaseUpgrade.d.ts +8 -0
- package/database/databaseUpgrade.js +2 -0
- package/database/databaseUpgrade.js.map +1 -1
- package/database/exadataInfrastructure.d.ts +0 -1
- package/database/exadataInfrastructure.js +0 -1
- package/database/exadataInfrastructure.js.map +1 -1
- package/database/getAutonomousDatabase.d.ts +9 -1
- package/database/getAutonomousDatabase.js.map +1 -1
- package/database/getDataGuardAssociation.d.ts +1 -0
- package/database/getDataGuardAssociation.js.map +1 -1
- package/database/getDatabase.d.ts +9 -0
- package/database/getDatabase.js.map +1 -1
- package/networkloadbalancer/backend.d.ts +3 -3
- package/networkloadbalancer/backendSet.d.ts +29 -3
- package/networkloadbalancer/backendSet.js +6 -0
- package/networkloadbalancer/backendSet.js.map +1 -1
- package/networkloadbalancer/getBackendSet.d.ts +9 -1
- package/networkloadbalancer/getBackendSet.js.map +1 -1
- package/networkloadbalancer/getNetworkLoadBalancerBackendSetBackendOperationalStatus.d.ts +89 -0
- package/networkloadbalancer/getNetworkLoadBalancerBackendSetBackendOperationalStatus.js +62 -0
- package/networkloadbalancer/getNetworkLoadBalancerBackendSetBackendOperationalStatus.js.map +1 -0
- package/networkloadbalancer/index.d.ts +3 -0
- package/networkloadbalancer/index.js +4 -1
- package/networkloadbalancer/index.js.map +1 -1
- package/networkloadbalancer/networkLoadBalancer.d.ts +3 -3
- package/networkloadbalancer/networkLoadBalancersBackendSetsUnified.d.ts +29 -3
- package/networkloadbalancer/networkLoadBalancersBackendSetsUnified.js +6 -0
- package/networkloadbalancer/networkLoadBalancersBackendSetsUnified.js.map +1 -1
- package/package.json +2 -2
- package/types/input.d.ts +170 -31
- package/types/output.d.ts +455 -79
|
@@ -46,7 +46,6 @@ export declare class BdsInstanceApiKey extends pulumi.CustomResource {
|
|
|
46
46
|
static isInstance(obj: any): obj is BdsInstanceApiKey;
|
|
47
47
|
/**
|
|
48
48
|
* The OCID of the cluster.
|
|
49
|
-
* <<<<<<< ours
|
|
50
49
|
*/
|
|
51
50
|
readonly bdsInstanceId: pulumi.Output<string>;
|
|
52
51
|
/**
|
|
@@ -63,7 +62,6 @@ export declare class BdsInstanceApiKey extends pulumi.CustomResource {
|
|
|
63
62
|
readonly fingerprint: pulumi.Output<string>;
|
|
64
63
|
/**
|
|
65
64
|
* User friendly identifier used to uniquely differentiate between different API keys associated with this Big Data Service cluster. Only ASCII alphanumeric characters with no spaces allowed.
|
|
66
|
-
* >>>>>>> theirs
|
|
67
65
|
*/
|
|
68
66
|
readonly keyAlias: pulumi.Output<string>;
|
|
69
67
|
/**
|
|
@@ -109,7 +107,6 @@ export declare class BdsInstanceApiKey extends pulumi.CustomResource {
|
|
|
109
107
|
export interface BdsInstanceApiKeyState {
|
|
110
108
|
/**
|
|
111
109
|
* The OCID of the cluster.
|
|
112
|
-
* <<<<<<< ours
|
|
113
110
|
*/
|
|
114
111
|
bdsInstanceId?: pulumi.Input<string>;
|
|
115
112
|
/**
|
|
@@ -126,7 +123,6 @@ export interface BdsInstanceApiKeyState {
|
|
|
126
123
|
fingerprint?: pulumi.Input<string>;
|
|
127
124
|
/**
|
|
128
125
|
* User friendly identifier used to uniquely differentiate between different API keys associated with this Big Data Service cluster. Only ASCII alphanumeric characters with no spaces allowed.
|
|
129
|
-
* >>>>>>> theirs
|
|
130
126
|
*/
|
|
131
127
|
keyAlias?: pulumi.Input<string>;
|
|
132
128
|
/**
|
|
@@ -164,7 +160,6 @@ export interface BdsInstanceApiKeyState {
|
|
|
164
160
|
export interface BdsInstanceApiKeyArgs {
|
|
165
161
|
/**
|
|
166
162
|
* The OCID of the cluster.
|
|
167
|
-
* <<<<<<< ours
|
|
168
163
|
*/
|
|
169
164
|
bdsInstanceId: pulumi.Input<string>;
|
|
170
165
|
/**
|
|
@@ -177,7 +172,6 @@ export interface BdsInstanceApiKeyArgs {
|
|
|
177
172
|
domainOcid?: pulumi.Input<string>;
|
|
178
173
|
/**
|
|
179
174
|
* User friendly identifier used to uniquely differentiate between different API keys associated with this Big Data Service cluster. Only ASCII alphanumeric characters with no spaces allowed.
|
|
180
|
-
* >>>>>>> theirs
|
|
181
175
|
*/
|
|
182
176
|
keyAlias: pulumi.Input<string>;
|
|
183
177
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bdsInstanceApiKey.js","sourceRoot":"","sources":["../../bigdataservice/bdsInstanceApiKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;
|
|
1
|
+
{"version":3,"file":"bdsInstanceApiKey.js","sourceRoot":"","sources":["../../bigdataservice/bdsInstanceApiKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KA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D,CAAC"}
|
|
@@ -38,12 +38,10 @@ export interface GetBdsInstanceApiKeyResult {
|
|
|
38
38
|
readonly bdsInstanceId: string;
|
|
39
39
|
/**
|
|
40
40
|
* The name of the region to establish the Object Storage endpoint which was set as part of key creation operation. If no region was provided this will be set to be the same region where the cluster lives. Example us-phoenix-1 .
|
|
41
|
-
* >>>>>>> theirs
|
|
42
41
|
*/
|
|
43
42
|
readonly defaultRegion: string;
|
|
44
43
|
/**
|
|
45
44
|
* Identity domain OCID ,where user is present. For default domain ,this field will be optional.
|
|
46
|
-
* =======
|
|
47
45
|
*/
|
|
48
46
|
readonly domainOcid: string;
|
|
49
47
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getBdsInstanceApiKey.js","sourceRoot":"","sources":["../../bigdataservice/getBdsInstanceApiKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8DAA8D,EAAE;QACzF,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,eAAe,EAAE,IAAI,CAAC,aAAa;KACtC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oDAMC;
|
|
1
|
+
{"version":3,"file":"getBdsInstanceApiKey.js","sourceRoot":"","sources":["../../bigdataservice/getBdsInstanceApiKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8DAA8D,EAAE;QACzF,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,eAAe,EAAE,IAAI,CAAC,aAAa;KACtC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oDAMC;AAgED;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAAiC;IAC9G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8DAA8D,EAAE;QAC/F,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,eAAe,EAAE,IAAI,CAAC,aAAa;KACtC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gEAMC"}
|
package/core/byoasn.d.ts
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* This resource provides the Byoasn resource in Oracle Cloud Infrastructure Core service.
|
|
6
|
+
*
|
|
7
|
+
* Creates a BYOASN Resource
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as oci from "@pulumi/oci";
|
|
14
|
+
*
|
|
15
|
+
* const testByoasn = new oci.core.Byoasn("test_byoasn", {
|
|
16
|
+
* asn: byoasnAsn,
|
|
17
|
+
* compartmentId: compartmentId,
|
|
18
|
+
* displayName: byoasnDisplayName,
|
|
19
|
+
* definedTags: {
|
|
20
|
+
* "Operations.CostCenter": "42",
|
|
21
|
+
* },
|
|
22
|
+
* freeformTags: {
|
|
23
|
+
* Department: "Finance",
|
|
24
|
+
* },
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*
|
|
28
|
+
* ## Import
|
|
29
|
+
*
|
|
30
|
+
* Byoasns can be imported using the `id`, e.g.
|
|
31
|
+
*
|
|
32
|
+
* ```sh
|
|
33
|
+
* $ pulumi import oci:Core/byoasn:Byoasn test_byoasn "id"
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
export declare class Byoasn extends pulumi.CustomResource {
|
|
37
|
+
/**
|
|
38
|
+
* Get an existing Byoasn resource's state with the given name, ID, and optional extra
|
|
39
|
+
* properties used to qualify the lookup.
|
|
40
|
+
*
|
|
41
|
+
* @param name The _unique_ name of the resulting resource.
|
|
42
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
43
|
+
* @param state Any extra arguments used during the lookup.
|
|
44
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
45
|
+
*/
|
|
46
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ByoasnState, opts?: pulumi.CustomResourceOptions): Byoasn;
|
|
47
|
+
/**
|
|
48
|
+
* Returns true if the given object is an instance of Byoasn. This is designed to work even
|
|
49
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
50
|
+
*/
|
|
51
|
+
static isInstance(obj: any): obj is Byoasn;
|
|
52
|
+
/**
|
|
53
|
+
* The Autonomous System Number (ASN) you are importing to the Oracle cloud.
|
|
54
|
+
*/
|
|
55
|
+
readonly asn: pulumi.Output<string>;
|
|
56
|
+
/**
|
|
57
|
+
* The BYOIP Ranges that has the `Byoasn` as origin.
|
|
58
|
+
*/
|
|
59
|
+
readonly byoipRanges: pulumi.Output<outputs.Core.ByoasnByoipRange[]>;
|
|
60
|
+
/**
|
|
61
|
+
* (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the BYOASN Resource.
|
|
62
|
+
*/
|
|
63
|
+
readonly compartmentId: pulumi.Output<string>;
|
|
64
|
+
/**
|
|
65
|
+
* (Updatable) 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"}`
|
|
66
|
+
*/
|
|
67
|
+
readonly definedTags: pulumi.Output<{
|
|
68
|
+
[key: string]: string;
|
|
69
|
+
}>;
|
|
70
|
+
/**
|
|
71
|
+
* (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
|
72
|
+
*/
|
|
73
|
+
readonly displayName: pulumi.Output<string>;
|
|
74
|
+
/**
|
|
75
|
+
* (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
|
76
|
+
*
|
|
77
|
+
*
|
|
78
|
+
* ** IMPORTANT **
|
|
79
|
+
* Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
|
80
|
+
*/
|
|
81
|
+
readonly freeformTags: pulumi.Output<{
|
|
82
|
+
[key: string]: string;
|
|
83
|
+
}>;
|
|
84
|
+
/**
|
|
85
|
+
* The `Byoasn` resource's current state.
|
|
86
|
+
*/
|
|
87
|
+
readonly state: pulumi.Output<string>;
|
|
88
|
+
/**
|
|
89
|
+
* 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`
|
|
90
|
+
*/
|
|
91
|
+
readonly timeCreated: pulumi.Output<string>;
|
|
92
|
+
/**
|
|
93
|
+
* 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`
|
|
94
|
+
*/
|
|
95
|
+
readonly timeUpdated: pulumi.Output<string>;
|
|
96
|
+
/**
|
|
97
|
+
* 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`
|
|
98
|
+
*/
|
|
99
|
+
readonly timeValidated: pulumi.Output<string>;
|
|
100
|
+
/**
|
|
101
|
+
* 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.
|
|
102
|
+
*/
|
|
103
|
+
readonly validationToken: pulumi.Output<string>;
|
|
104
|
+
/**
|
|
105
|
+
* Create a Byoasn resource with the given unique name, arguments, and options.
|
|
106
|
+
*
|
|
107
|
+
* @param name The _unique_ name of the resource.
|
|
108
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
109
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
110
|
+
*/
|
|
111
|
+
constructor(name: string, args: ByoasnArgs, opts?: pulumi.CustomResourceOptions);
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Input properties used for looking up and filtering Byoasn resources.
|
|
115
|
+
*/
|
|
116
|
+
export interface ByoasnState {
|
|
117
|
+
/**
|
|
118
|
+
* The Autonomous System Number (ASN) you are importing to the Oracle cloud.
|
|
119
|
+
*/
|
|
120
|
+
asn?: pulumi.Input<string>;
|
|
121
|
+
/**
|
|
122
|
+
* The BYOIP Ranges that has the `Byoasn` as origin.
|
|
123
|
+
*/
|
|
124
|
+
byoipRanges?: pulumi.Input<pulumi.Input<inputs.Core.ByoasnByoipRange>[]>;
|
|
125
|
+
/**
|
|
126
|
+
* (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the BYOASN Resource.
|
|
127
|
+
*/
|
|
128
|
+
compartmentId?: pulumi.Input<string>;
|
|
129
|
+
/**
|
|
130
|
+
* (Updatable) 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"}`
|
|
131
|
+
*/
|
|
132
|
+
definedTags?: pulumi.Input<{
|
|
133
|
+
[key: string]: pulumi.Input<string>;
|
|
134
|
+
}>;
|
|
135
|
+
/**
|
|
136
|
+
* (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
|
137
|
+
*/
|
|
138
|
+
displayName?: pulumi.Input<string>;
|
|
139
|
+
/**
|
|
140
|
+
* (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
|
141
|
+
*
|
|
142
|
+
*
|
|
143
|
+
* ** IMPORTANT **
|
|
144
|
+
* Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
|
145
|
+
*/
|
|
146
|
+
freeformTags?: pulumi.Input<{
|
|
147
|
+
[key: string]: pulumi.Input<string>;
|
|
148
|
+
}>;
|
|
149
|
+
/**
|
|
150
|
+
* The `Byoasn` resource's current state.
|
|
151
|
+
*/
|
|
152
|
+
state?: pulumi.Input<string>;
|
|
153
|
+
/**
|
|
154
|
+
* 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`
|
|
155
|
+
*/
|
|
156
|
+
timeCreated?: pulumi.Input<string>;
|
|
157
|
+
/**
|
|
158
|
+
* 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`
|
|
159
|
+
*/
|
|
160
|
+
timeUpdated?: pulumi.Input<string>;
|
|
161
|
+
/**
|
|
162
|
+
* 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`
|
|
163
|
+
*/
|
|
164
|
+
timeValidated?: pulumi.Input<string>;
|
|
165
|
+
/**
|
|
166
|
+
* 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.
|
|
167
|
+
*/
|
|
168
|
+
validationToken?: pulumi.Input<string>;
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* The set of arguments for constructing a Byoasn resource.
|
|
172
|
+
*/
|
|
173
|
+
export interface ByoasnArgs {
|
|
174
|
+
/**
|
|
175
|
+
* The Autonomous System Number (ASN) you are importing to the Oracle cloud.
|
|
176
|
+
*/
|
|
177
|
+
asn: pulumi.Input<string>;
|
|
178
|
+
/**
|
|
179
|
+
* (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the BYOASN Resource.
|
|
180
|
+
*/
|
|
181
|
+
compartmentId: pulumi.Input<string>;
|
|
182
|
+
/**
|
|
183
|
+
* (Updatable) 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"}`
|
|
184
|
+
*/
|
|
185
|
+
definedTags?: pulumi.Input<{
|
|
186
|
+
[key: string]: pulumi.Input<string>;
|
|
187
|
+
}>;
|
|
188
|
+
/**
|
|
189
|
+
* (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
|
190
|
+
*/
|
|
191
|
+
displayName: pulumi.Input<string>;
|
|
192
|
+
/**
|
|
193
|
+
* (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}`
|
|
194
|
+
*
|
|
195
|
+
*
|
|
196
|
+
* ** IMPORTANT **
|
|
197
|
+
* Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
|
|
198
|
+
*/
|
|
199
|
+
freeformTags?: pulumi.Input<{
|
|
200
|
+
[key: string]: pulumi.Input<string>;
|
|
201
|
+
}>;
|
|
202
|
+
}
|
package/core/byoasn.js
ADDED
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Byoasn = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This resource provides the Byoasn resource in Oracle Cloud Infrastructure Core service.
|
|
10
|
+
*
|
|
11
|
+
* Creates a BYOASN Resource
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as oci from "@pulumi/oci";
|
|
18
|
+
*
|
|
19
|
+
* const testByoasn = new oci.core.Byoasn("test_byoasn", {
|
|
20
|
+
* asn: byoasnAsn,
|
|
21
|
+
* compartmentId: compartmentId,
|
|
22
|
+
* displayName: byoasnDisplayName,
|
|
23
|
+
* definedTags: {
|
|
24
|
+
* "Operations.CostCenter": "42",
|
|
25
|
+
* },
|
|
26
|
+
* freeformTags: {
|
|
27
|
+
* Department: "Finance",
|
|
28
|
+
* },
|
|
29
|
+
* });
|
|
30
|
+
* ```
|
|
31
|
+
*
|
|
32
|
+
* ## Import
|
|
33
|
+
*
|
|
34
|
+
* Byoasns can be imported using the `id`, e.g.
|
|
35
|
+
*
|
|
36
|
+
* ```sh
|
|
37
|
+
* $ pulumi import oci:Core/byoasn:Byoasn test_byoasn "id"
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
class Byoasn extends pulumi.CustomResource {
|
|
41
|
+
/**
|
|
42
|
+
* Get an existing Byoasn resource's state with the given name, ID, and optional extra
|
|
43
|
+
* properties used to qualify the lookup.
|
|
44
|
+
*
|
|
45
|
+
* @param name The _unique_ name of the resulting resource.
|
|
46
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
47
|
+
* @param state Any extra arguments used during the lookup.
|
|
48
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
49
|
+
*/
|
|
50
|
+
static get(name, id, state, opts) {
|
|
51
|
+
return new Byoasn(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Returns true if the given object is an instance of Byoasn. This is designed to work even
|
|
55
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
56
|
+
*/
|
|
57
|
+
static isInstance(obj) {
|
|
58
|
+
if (obj === undefined || obj === null) {
|
|
59
|
+
return false;
|
|
60
|
+
}
|
|
61
|
+
return obj['__pulumiType'] === Byoasn.__pulumiType;
|
|
62
|
+
}
|
|
63
|
+
constructor(name, argsOrState, opts) {
|
|
64
|
+
let resourceInputs = {};
|
|
65
|
+
opts = opts || {};
|
|
66
|
+
if (opts.id) {
|
|
67
|
+
const state = argsOrState;
|
|
68
|
+
resourceInputs["asn"] = state ? state.asn : undefined;
|
|
69
|
+
resourceInputs["byoipRanges"] = state ? state.byoipRanges : undefined;
|
|
70
|
+
resourceInputs["compartmentId"] = state ? state.compartmentId : undefined;
|
|
71
|
+
resourceInputs["definedTags"] = state ? state.definedTags : undefined;
|
|
72
|
+
resourceInputs["displayName"] = state ? state.displayName : undefined;
|
|
73
|
+
resourceInputs["freeformTags"] = state ? state.freeformTags : undefined;
|
|
74
|
+
resourceInputs["state"] = state ? state.state : undefined;
|
|
75
|
+
resourceInputs["timeCreated"] = state ? state.timeCreated : undefined;
|
|
76
|
+
resourceInputs["timeUpdated"] = state ? state.timeUpdated : undefined;
|
|
77
|
+
resourceInputs["timeValidated"] = state ? state.timeValidated : undefined;
|
|
78
|
+
resourceInputs["validationToken"] = state ? state.validationToken : undefined;
|
|
79
|
+
}
|
|
80
|
+
else {
|
|
81
|
+
const args = argsOrState;
|
|
82
|
+
if ((!args || args.asn === undefined) && !opts.urn) {
|
|
83
|
+
throw new Error("Missing required property 'asn'");
|
|
84
|
+
}
|
|
85
|
+
if ((!args || args.compartmentId === undefined) && !opts.urn) {
|
|
86
|
+
throw new Error("Missing required property 'compartmentId'");
|
|
87
|
+
}
|
|
88
|
+
if ((!args || args.displayName === undefined) && !opts.urn) {
|
|
89
|
+
throw new Error("Missing required property 'displayName'");
|
|
90
|
+
}
|
|
91
|
+
resourceInputs["asn"] = args ? args.asn : undefined;
|
|
92
|
+
resourceInputs["compartmentId"] = args ? args.compartmentId : undefined;
|
|
93
|
+
resourceInputs["definedTags"] = args ? args.definedTags : undefined;
|
|
94
|
+
resourceInputs["displayName"] = args ? args.displayName : undefined;
|
|
95
|
+
resourceInputs["freeformTags"] = args ? args.freeformTags : undefined;
|
|
96
|
+
resourceInputs["byoipRanges"] = undefined /*out*/;
|
|
97
|
+
resourceInputs["state"] = undefined /*out*/;
|
|
98
|
+
resourceInputs["timeCreated"] = undefined /*out*/;
|
|
99
|
+
resourceInputs["timeUpdated"] = undefined /*out*/;
|
|
100
|
+
resourceInputs["timeValidated"] = undefined /*out*/;
|
|
101
|
+
resourceInputs["validationToken"] = undefined /*out*/;
|
|
102
|
+
}
|
|
103
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
104
|
+
super(Byoasn.__pulumiType, name, resourceInputs, opts);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
exports.Byoasn = Byoasn;
|
|
108
|
+
/** @internal */
|
|
109
|
+
Byoasn.__pulumiType = 'oci:Core/byoasn:Byoasn';
|
|
110
|
+
//# sourceMappingURL=byoasn.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"byoasn.js","sourceRoot":"","sources":["../../core/byoasn.ts"],"names":[],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|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* This data source provides details about a specific Byoasn resource in Oracle Cloud Infrastructure Core service.
|
|
5
|
+
*
|
|
6
|
+
* Gets the `Byoasn` resource. You must specify the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as oci from "@pulumi/oci";
|
|
13
|
+
*
|
|
14
|
+
* const testByoasn = oci.Core.getByoasn({
|
|
15
|
+
* byoasnId: testByoasnOciCoreByoasn.id,
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
export declare function getByoasn(args: GetByoasnArgs, opts?: pulumi.InvokeOptions): Promise<GetByoasnResult>;
|
|
20
|
+
/**
|
|
21
|
+
* A collection of arguments for invoking getByoasn.
|
|
22
|
+
*/
|
|
23
|
+
export interface GetByoasnArgs {
|
|
24
|
+
/**
|
|
25
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `Byoasn` resource.
|
|
26
|
+
*/
|
|
27
|
+
byoasnId: string;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* A collection of values returned by getByoasn.
|
|
31
|
+
*/
|
|
32
|
+
export interface GetByoasnResult {
|
|
33
|
+
/**
|
|
34
|
+
* The Autonomous System Number (ASN) you are importing to the Oracle cloud.
|
|
35
|
+
*/
|
|
36
|
+
readonly asn: string;
|
|
37
|
+
readonly byoasnId: string;
|
|
38
|
+
/**
|
|
39
|
+
* The BYOIP Ranges that has the `Byoasn` as origin.
|
|
40
|
+
*/
|
|
41
|
+
readonly byoipRanges: outputs.Core.GetByoasnByoipRange[];
|
|
42
|
+
/**
|
|
43
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the `Byoasn` resource.
|
|
44
|
+
*/
|
|
45
|
+
readonly compartmentId: string;
|
|
46
|
+
/**
|
|
47
|
+
* 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"}`
|
|
48
|
+
*/
|
|
49
|
+
readonly definedTags: {
|
|
50
|
+
[key: string]: string;
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
|
|
54
|
+
*/
|
|
55
|
+
readonly displayName: string;
|
|
56
|
+
/**
|
|
57
|
+
* 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"}`
|
|
58
|
+
*/
|
|
59
|
+
readonly freeformTags: {
|
|
60
|
+
[key: string]: string;
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `Byoasn` resource.
|
|
64
|
+
*/
|
|
65
|
+
readonly id: string;
|
|
66
|
+
/**
|
|
67
|
+
* The `Byoasn` resource's current state.
|
|
68
|
+
*/
|
|
69
|
+
readonly state: string;
|
|
70
|
+
/**
|
|
71
|
+
* 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`
|
|
72
|
+
*/
|
|
73
|
+
readonly timeCreated: string;
|
|
74
|
+
/**
|
|
75
|
+
* 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`
|
|
76
|
+
*/
|
|
77
|
+
readonly timeUpdated: string;
|
|
78
|
+
/**
|
|
79
|
+
* 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`
|
|
80
|
+
*/
|
|
81
|
+
readonly timeValidated: string;
|
|
82
|
+
/**
|
|
83
|
+
* 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.
|
|
84
|
+
*/
|
|
85
|
+
readonly validationToken: string;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* This data source provides details about a specific Byoasn resource in Oracle Cloud Infrastructure Core service.
|
|
89
|
+
*
|
|
90
|
+
* Gets the `Byoasn` resource. You must specify the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
|
91
|
+
*
|
|
92
|
+
* ## Example Usage
|
|
93
|
+
*
|
|
94
|
+
* ```typescript
|
|
95
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
96
|
+
* import * as oci from "@pulumi/oci";
|
|
97
|
+
*
|
|
98
|
+
* const testByoasn = oci.Core.getByoasn({
|
|
99
|
+
* byoasnId: testByoasnOciCoreByoasn.id,
|
|
100
|
+
* });
|
|
101
|
+
* ```
|
|
102
|
+
*/
|
|
103
|
+
export declare function getByoasnOutput(args: GetByoasnOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetByoasnResult>;
|
|
104
|
+
/**
|
|
105
|
+
* A collection of arguments for invoking getByoasn.
|
|
106
|
+
*/
|
|
107
|
+
export interface GetByoasnOutputArgs {
|
|
108
|
+
/**
|
|
109
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `Byoasn` resource.
|
|
110
|
+
*/
|
|
111
|
+
byoasnId: pulumi.Input<string>;
|
|
112
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getByoasnOutput = exports.getByoasn = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This data source provides details about a specific Byoasn resource in Oracle Cloud Infrastructure Core service.
|
|
10
|
+
*
|
|
11
|
+
* Gets the `Byoasn` resource. You must specify the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as oci from "@pulumi/oci";
|
|
18
|
+
*
|
|
19
|
+
* const testByoasn = oci.Core.getByoasn({
|
|
20
|
+
* byoasnId: testByoasnOciCoreByoasn.id,
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
function getByoasn(args, opts) {
|
|
25
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
26
|
+
return pulumi.runtime.invoke("oci:Core/getByoasn:getByoasn", {
|
|
27
|
+
"byoasnId": args.byoasnId,
|
|
28
|
+
}, opts);
|
|
29
|
+
}
|
|
30
|
+
exports.getByoasn = getByoasn;
|
|
31
|
+
/**
|
|
32
|
+
* This data source provides details about a specific Byoasn resource in Oracle Cloud Infrastructure Core service.
|
|
33
|
+
*
|
|
34
|
+
* Gets the `Byoasn` resource. You must specify the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
|
35
|
+
*
|
|
36
|
+
* ## Example Usage
|
|
37
|
+
*
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
+
* import * as oci from "@pulumi/oci";
|
|
41
|
+
*
|
|
42
|
+
* const testByoasn = oci.Core.getByoasn({
|
|
43
|
+
* byoasnId: testByoasnOciCoreByoasn.id,
|
|
44
|
+
* });
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
function getByoasnOutput(args, opts) {
|
|
48
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
49
|
+
return pulumi.runtime.invokeOutput("oci:Core/getByoasn:getByoasn", {
|
|
50
|
+
"byoasnId": args.byoasnId,
|
|
51
|
+
}, opts);
|
|
52
|
+
}
|
|
53
|
+
exports.getByoasnOutput = getByoasnOutput;
|
|
54
|
+
//# sourceMappingURL=getByoasn.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getByoasn.js","sourceRoot":"","sources":["../../core/getByoasn.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8BAA8B,EAAE;QACzD,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8BAKC;AAkED;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAAiC;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8BAA8B,EAAE;QAC/D,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,0CAKC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* This data source provides the list of Byoasns in Oracle Cloud Infrastructure Core service.
|
|
6
|
+
*
|
|
7
|
+
* Lists the `Byoasn` resources in the specified compartment.
|
|
8
|
+
* You can filter the list using query parameters.
|
|
9
|
+
*/
|
|
10
|
+
export declare function getByoasns(args: GetByoasnsArgs, opts?: pulumi.InvokeOptions): Promise<GetByoasnsResult>;
|
|
11
|
+
/**
|
|
12
|
+
* A collection of arguments for invoking getByoasns.
|
|
13
|
+
*/
|
|
14
|
+
export interface GetByoasnsArgs {
|
|
15
|
+
/**
|
|
16
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
|
17
|
+
*/
|
|
18
|
+
compartmentId: string;
|
|
19
|
+
filters?: inputs.Core.GetByoasnsFilter[];
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* A collection of values returned by getByoasns.
|
|
23
|
+
*/
|
|
24
|
+
export interface GetByoasnsResult {
|
|
25
|
+
/**
|
|
26
|
+
* The list of byoasn_collection.
|
|
27
|
+
*/
|
|
28
|
+
readonly byoasnCollections: outputs.Core.GetByoasnsByoasnCollection[];
|
|
29
|
+
/**
|
|
30
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the `Byoasn` resource.
|
|
31
|
+
*/
|
|
32
|
+
readonly compartmentId: string;
|
|
33
|
+
readonly filters?: outputs.Core.GetByoasnsFilter[];
|
|
34
|
+
/**
|
|
35
|
+
* The provider-assigned unique ID for this managed resource.
|
|
36
|
+
*/
|
|
37
|
+
readonly id: string;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* This data source provides the list of Byoasns in Oracle Cloud Infrastructure Core service.
|
|
41
|
+
*
|
|
42
|
+
* Lists the `Byoasn` resources in the specified compartment.
|
|
43
|
+
* You can filter the list using query parameters.
|
|
44
|
+
*/
|
|
45
|
+
export declare function getByoasnsOutput(args: GetByoasnsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetByoasnsResult>;
|
|
46
|
+
/**
|
|
47
|
+
* A collection of arguments for invoking getByoasns.
|
|
48
|
+
*/
|
|
49
|
+
export interface GetByoasnsOutputArgs {
|
|
50
|
+
/**
|
|
51
|
+
* The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.
|
|
52
|
+
*/
|
|
53
|
+
compartmentId: pulumi.Input<string>;
|
|
54
|
+
filters?: pulumi.Input<pulumi.Input<inputs.Core.GetByoasnsFilterArgs>[]>;
|
|
55
|
+
}
|