@pulumiverse/scaleway 0.3.1-alpha.1660775142
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/LICENSE +202 -0
- package/README.md +54 -0
- package/accountSshKey.d.ts +80 -0
- package/accountSshKey.js +58 -0
- package/accountSshKey.js.map +1 -0
- package/appleSliconValleyServer.d.ts +140 -0
- package/appleSliconValleyServer.js +72 -0
- package/appleSliconValleyServer.js.map +1 -0
- package/baremetalServer.d.ts +173 -0
- package/baremetalServer.js +84 -0
- package/baremetalServer.js.map +1 -0
- package/config/index.d.ts +1 -0
- package/config/index.js +21 -0
- package/config/index.js.map +1 -0
- package/config/vars.d.ts +28 -0
- package/config/vars.js +55 -0
- package/config/vars.js.map +1 -0
- package/container.d.ts +273 -0
- package/container.js +90 -0
- package/container.js.map +1 -0
- package/containerNamespace.d.ts +126 -0
- package/containerNamespace.js +63 -0
- package/containerNamespace.js.map +1 -0
- package/database.d.ts +84 -0
- package/database.js +60 -0
- package/database.js.map +1 -0
- package/databaseAcl.d.ts +73 -0
- package/databaseAcl.js +59 -0
- package/databaseAcl.js.map +1 -0
- package/databaseInstance.d.ts +299 -0
- package/databaseInstance.js +99 -0
- package/databaseInstance.js.map +1 -0
- package/databasePrivilege.d.ts +84 -0
- package/databasePrivilege.js +67 -0
- package/databasePrivilege.js.map +1 -0
- package/databaseUser.d.ts +96 -0
- package/databaseUser.js +63 -0
- package/databaseUser.js.map +1 -0
- package/domainRecord.d.ts +189 -0
- package/domainRecord.js +82 -0
- package/domainRecord.js.map +1 -0
- package/domainZone.d.ts +120 -0
- package/domainZone.js +71 -0
- package/domainZone.js.map +1 -0
- package/functionNamespace.d.ts +126 -0
- package/functionNamespace.js +63 -0
- package/functionNamespace.js.map +1 -0
- package/getAccountSshKey.d.ts +31 -0
- package/getAccountSshKey.js +24 -0
- package/getAccountSshKey.js.map +1 -0
- package/getBaremetalOffer.d.ts +41 -0
- package/getBaremetalOffer.js +26 -0
- package/getBaremetalOffer.js.map +1 -0
- package/getBaremetalOs.d.ts +34 -0
- package/getBaremetalOs.js +26 -0
- package/getBaremetalOs.js.map +1 -0
- package/getBaremetalServer.d.ts +44 -0
- package/getBaremetalServer.js +25 -0
- package/getBaremetalServer.js.map +1 -0
- package/getContainer.d.ts +53 -0
- package/getContainer.js +25 -0
- package/getContainer.js.map +1 -0
- package/getContainerNamespace.d.ts +39 -0
- package/getContainerNamespace.js +25 -0
- package/getContainerNamespace.js.map +1 -0
- package/getDatabase.d.ts +31 -0
- package/getDatabase.js +23 -0
- package/getDatabase.js.map +1 -0
- package/getDatabaseAcl.d.ts +28 -0
- package/getDatabaseAcl.js +22 -0
- package/getDatabaseAcl.js.map +1 -0
- package/getDatabaseInstance.d.ts +53 -0
- package/getDatabaseInstance.js +24 -0
- package/getDatabaseInstance.js.map +1 -0
- package/getDatabasePrivilege.d.ts +32 -0
- package/getDatabasePrivilege.js +24 -0
- package/getDatabasePrivilege.js.map +1 -0
- package/getDomainRecord.d.ts +47 -0
- package/getDomainRecord.js +27 -0
- package/getDomainRecord.js.map +1 -0
- package/getDomainZone.d.ts +35 -0
- package/getDomainZone.js +24 -0
- package/getDomainZone.js.map +1 -0
- package/getFunctionNamespace.d.ts +39 -0
- package/getFunctionNamespace.js +25 -0
- package/getFunctionNamespace.js.map +1 -0
- package/getInstanceImage.d.ts +49 -0
- package/getInstanceImage.js +28 -0
- package/getInstanceImage.js.map +1 -0
- package/getInstanceIp.d.ts +30 -0
- package/getInstanceIp.js +24 -0
- package/getInstanceIp.js.map +1 -0
- package/getInstanceSecurityGroup.d.ts +43 -0
- package/getInstanceSecurityGroup.js +25 -0
- package/getInstanceSecurityGroup.js.map +1 -0
- package/getInstanceServer.d.ts +58 -0
- package/getInstanceServer.js +25 -0
- package/getInstanceServer.js.map +1 -0
- package/getInstanceVolume.d.ts +39 -0
- package/getInstanceVolume.js +25 -0
- package/getInstanceVolume.js.map +1 -0
- package/getIotDevice.d.ts +45 -0
- package/getIotDevice.js +26 -0
- package/getIotDevice.js.map +1 -0
- package/getIotHub.d.ts +46 -0
- package/getIotHub.js +25 -0
- package/getIotHub.js.map +1 -0
- package/getKubernetesCluster.d.ts +52 -0
- package/getKubernetesCluster.js +25 -0
- package/getKubernetesCluster.js.map +1 -0
- package/getKubernetesNodePool.d.ts +58 -0
- package/getKubernetesNodePool.js +27 -0
- package/getKubernetesNodePool.js.map +1 -0
- package/getLoadbalancer.d.ts +43 -0
- package/getLoadbalancer.js +26 -0
- package/getLoadbalancer.js.map +1 -0
- package/getLoadbalancerCertificate.d.ts +40 -0
- package/getLoadbalancerCertificate.js +25 -0
- package/getLoadbalancerCertificate.js.map +1 -0
- package/getLoadbalancerIp.d.ts +34 -0
- package/getLoadbalancerIp.js +24 -0
- package/getLoadbalancerIp.js.map +1 -0
- package/getMarketplaceImage.d.ts +31 -0
- package/getMarketplaceImage.js +24 -0
- package/getMarketplaceImage.js.map +1 -0
- package/getObjectBucket.d.ts +38 -0
- package/getObjectBucket.js +24 -0
- package/getObjectBucket.js.map +1 -0
- package/getRedisCluster.d.ts +46 -0
- package/getRedisCluster.js +25 -0
- package/getRedisCluster.js.map +1 -0
- package/getRegistryImage.d.ts +43 -0
- package/getRegistryImage.js +28 -0
- package/getRegistryImage.js.map +1 -0
- package/getRegistryNamespace.d.ts +36 -0
- package/getRegistryNamespace.js +25 -0
- package/getRegistryNamespace.js.map +1 -0
- package/getVpcPrivateNetwork.d.ts +34 -0
- package/getVpcPrivateNetwork.js +24 -0
- package/getVpcPrivateNetwork.js.map +1 -0
- package/getVpcPublicGateway.d.ts +37 -0
- package/getVpcPublicGateway.js +24 -0
- package/getVpcPublicGateway.js.map +1 -0
- package/getVpcPublicGatewayDhcp.d.ts +43 -0
- package/getVpcPublicGatewayDhcp.js +22 -0
- package/getVpcPublicGatewayDhcp.js.map +1 -0
- package/getVpcPublicGatewayIp.d.ts +33 -0
- package/getVpcPublicGatewayIp.js +23 -0
- package/getVpcPublicGatewayIp.js.map +1 -0
- package/getVpcPublicPatRule.d.ts +36 -0
- package/getVpcPublicPatRule.js +23 -0
- package/getVpcPublicPatRule.js.map +1 -0
- package/index.d.ts +83 -0
- package/index.js +304 -0
- package/index.js.map +1 -0
- package/instanceIp.d.ts +104 -0
- package/instanceIp.js +61 -0
- package/instanceIp.js.map +1 -0
- package/instanceIpReverseDns.d.ts +72 -0
- package/instanceIpReverseDns.js +59 -0
- package/instanceIpReverseDns.js.map +1 -0
- package/instancePlacementGroup.d.ts +124 -0
- package/instancePlacementGroup.js +63 -0
- package/instancePlacementGroup.js.map +1 -0
- package/instancePrivateNic.d.ts +80 -0
- package/instancePrivateNic.js +61 -0
- package/instancePrivateNic.js.map +1 -0
- package/instanceSecurityGroup.d.ts +180 -0
- package/instanceSecurityGroup.js +73 -0
- package/instanceSecurityGroup.js.map +1 -0
- package/instanceSecurityGroupRules.d.ts +73 -0
- package/instanceSecurityGroupRules.js +56 -0
- package/instanceSecurityGroupRules.js.map +1 -0
- package/instanceServer.d.ts +327 -0
- package/instanceServer.js +105 -0
- package/instanceServer.js.map +1 -0
- package/instanceSnapshot.d.ts +128 -0
- package/instanceSnapshot.js +68 -0
- package/instanceSnapshot.js.map +1 -0
- package/instanceVolume.d.ts +148 -0
- package/instanceVolume.js +70 -0
- package/instanceVolume.js.map +1 -0
- package/iotDevice.d.ts +173 -0
- package/iotDevice.js +76 -0
- package/iotDevice.js.map +1 -0
- package/iotHub.d.ts +212 -0
- package/iotHub.js +84 -0
- package/iotHub.js.map +1 -0
- package/iotNetwork.d.ts +108 -0
- package/iotNetwork.js +67 -0
- package/iotNetwork.js.map +1 -0
- package/iotRoute.d.ts +129 -0
- package/iotRoute.js +69 -0
- package/iotRoute.js.map +1 -0
- package/kubernetesCluster.d.ts +281 -0
- package/kubernetesCluster.js +99 -0
- package/kubernetesCluster.js.map +1 -0
- package/kubernetesNodePool.d.ts +277 -0
- package/kubernetesNodePool.js +100 -0
- package/kubernetesNodePool.js.map +1 -0
- package/loadbalancer.d.ts +163 -0
- package/loadbalancer.js +75 -0
- package/loadbalancer.js.map +1 -0
- package/loadbalancerBackend.d.ts +268 -0
- package/loadbalancerBackend.js +98 -0
- package/loadbalancerBackend.js.map +1 -0
- package/loadbalancerCertificate.d.ts +133 -0
- package/loadbalancerCertificate.js +70 -0
- package/loadbalancerCertificate.js.map +1 -0
- package/loadbalancerFrontend.d.ts +133 -0
- package/loadbalancerFrontend.js +72 -0
- package/loadbalancerFrontend.js.map +1 -0
- package/loadbalancerIp.d.ts +104 -0
- package/loadbalancerIp.js +61 -0
- package/loadbalancerIp.js.map +1 -0
- package/loadbalancerRoute.d.ts +72 -0
- package/loadbalancerRoute.js +59 -0
- package/loadbalancerRoute.js.map +1 -0
- package/objectBucket.d.ts +138 -0
- package/objectBucket.js +65 -0
- package/objectBucket.js.map +1 -0
- package/package.json +30 -0
- package/package.json.bak +30 -0
- package/provider.d.ts +83 -0
- package/provider.js +52 -0
- package/provider.js.map +1 -0
- package/redisCluster.d.ts +203 -0
- package/redisCluster.js +87 -0
- package/redisCluster.js.map +1 -0
- package/registryNamespace.d.ts +112 -0
- package/registryNamespace.js +61 -0
- package/registryNamespace.js.map +1 -0
- package/types/index.d.ts +3 -0
- package/types/index.js +11 -0
- package/types/index.js.map +1 -0
- package/types/input.d.ts +255 -0
- package/types/input.js +5 -0
- package/types/input.js.map +1 -0
- package/types/output.d.ts +459 -0
- package/types/output.js +5 -0
- package/types/output.js.map +1 -0
- package/utilities.d.ts +4 -0
- package/utilities.js +57 -0
- package/utilities.js.map +1 -0
- package/vpcGatewayNetwork.d.ts +156 -0
- package/vpcGatewayNetwork.js +75 -0
- package/vpcGatewayNetwork.js.map +1 -0
- package/vpcPrivateNetwork.d.ts +108 -0
- package/vpcPrivateNetwork.js +61 -0
- package/vpcPrivateNetwork.js.map +1 -0
- package/vpcPublicGateway.d.ts +144 -0
- package/vpcPublicGateway.js +70 -0
- package/vpcPublicGateway.js.map +1 -0
- package/vpcPublicGatewayDhcp.d.ts +255 -0
- package/vpcPublicGatewayDhcp.js +86 -0
- package/vpcPublicGatewayDhcp.js.map +1 -0
- package/vpcPublicGatewayDhcpReservation.d.ts +118 -0
- package/vpcPublicGatewayDhcpReservation.js +72 -0
- package/vpcPublicGatewayDhcpReservation.js.map +1 -0
- package/vpcPublicGatewayIp.d.ts +116 -0
- package/vpcPublicGatewayIp.js +63 -0
- package/vpcPublicGatewayIp.js.map +1 -0
- package/vpcPublicGatewayPatRule.d.ts +132 -0
- package/vpcPublicGatewayPatRule.js +77 -0
- package/vpcPublicGatewayPatRule.js.map +1 -0
package/databaseUser.js
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
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.DatabaseUser = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class DatabaseUser extends pulumi.CustomResource {
|
|
9
|
+
constructor(name, argsOrState, opts) {
|
|
10
|
+
let resourceInputs = {};
|
|
11
|
+
opts = opts || {};
|
|
12
|
+
if (opts.id) {
|
|
13
|
+
const state = argsOrState;
|
|
14
|
+
resourceInputs["instanceId"] = state ? state.instanceId : undefined;
|
|
15
|
+
resourceInputs["isAdmin"] = state ? state.isAdmin : undefined;
|
|
16
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
17
|
+
resourceInputs["password"] = state ? state.password : undefined;
|
|
18
|
+
resourceInputs["region"] = state ? state.region : undefined;
|
|
19
|
+
}
|
|
20
|
+
else {
|
|
21
|
+
const args = argsOrState;
|
|
22
|
+
if ((!args || args.instanceId === undefined) && !opts.urn) {
|
|
23
|
+
throw new Error("Missing required property 'instanceId'");
|
|
24
|
+
}
|
|
25
|
+
if ((!args || args.password === undefined) && !opts.urn) {
|
|
26
|
+
throw new Error("Missing required property 'password'");
|
|
27
|
+
}
|
|
28
|
+
resourceInputs["instanceId"] = args ? args.instanceId : undefined;
|
|
29
|
+
resourceInputs["isAdmin"] = args ? args.isAdmin : undefined;
|
|
30
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
31
|
+
resourceInputs["password"] = args ? args.password : undefined;
|
|
32
|
+
resourceInputs["region"] = args ? args.region : undefined;
|
|
33
|
+
}
|
|
34
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
35
|
+
super(DatabaseUser.__pulumiType, name, resourceInputs, opts);
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Get an existing DatabaseUser 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, id, state, opts) {
|
|
47
|
+
return new DatabaseUser(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Returns true if the given object is an instance of DatabaseUser. This is designed to work even
|
|
51
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
52
|
+
*/
|
|
53
|
+
static isInstance(obj) {
|
|
54
|
+
if (obj === undefined || obj === null) {
|
|
55
|
+
return false;
|
|
56
|
+
}
|
|
57
|
+
return obj['__pulumiType'] === DatabaseUser.__pulumiType;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
exports.DatabaseUser = DatabaseUser;
|
|
61
|
+
/** @internal */
|
|
62
|
+
DatabaseUser.__pulumiType = 'scaleway:index/databaseUser:DatabaseUser';
|
|
63
|
+
//# sourceMappingURL=databaseUser.js.map
|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AAY,CAAC,YAAY,CAAC;IAC7D,CAAC;;AA1BL,oCAoFC;AAtEG,gBAAgB;AACO,yBAAY,GAAG,0CAA0C,CAAC"}
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "./types";
|
|
3
|
+
export declare class DomainRecord extends pulumi.CustomResource {
|
|
4
|
+
/**
|
|
5
|
+
* Get an existing DomainRecord resource's state with the given name, ID, and optional extra
|
|
6
|
+
* properties used to qualify the lookup.
|
|
7
|
+
*
|
|
8
|
+
* @param name The _unique_ name of the resulting resource.
|
|
9
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
10
|
+
* @param state Any extra arguments used during the lookup.
|
|
11
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
12
|
+
*/
|
|
13
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DomainRecordState, opts?: pulumi.CustomResourceOptions): DomainRecord;
|
|
14
|
+
/**
|
|
15
|
+
* Returns true if the given object is an instance of DomainRecord. This is designed to work even
|
|
16
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
17
|
+
*/
|
|
18
|
+
static isInstance(obj: any): obj is DomainRecord;
|
|
19
|
+
/**
|
|
20
|
+
* The data of the record
|
|
21
|
+
*/
|
|
22
|
+
readonly data: pulumi.Output<string>;
|
|
23
|
+
/**
|
|
24
|
+
* The zone you want to add the record in
|
|
25
|
+
*/
|
|
26
|
+
readonly dnsZone: pulumi.Output<string>;
|
|
27
|
+
/**
|
|
28
|
+
* Return record based on client localisation
|
|
29
|
+
*/
|
|
30
|
+
readonly geoIp: pulumi.Output<outputs.DomainRecordGeoIp | undefined>;
|
|
31
|
+
/**
|
|
32
|
+
* Return record based on client localisation
|
|
33
|
+
*/
|
|
34
|
+
readonly httpService: pulumi.Output<outputs.DomainRecordHttpService | undefined>;
|
|
35
|
+
/**
|
|
36
|
+
* When destroy a resource record, if a zone have only NS, delete the zone
|
|
37
|
+
*/
|
|
38
|
+
readonly keepEmptyZone: pulumi.Output<boolean | undefined>;
|
|
39
|
+
/**
|
|
40
|
+
* The name of the record
|
|
41
|
+
*/
|
|
42
|
+
readonly name: pulumi.Output<string>;
|
|
43
|
+
/**
|
|
44
|
+
* The priority of the record
|
|
45
|
+
*/
|
|
46
|
+
readonly priority: pulumi.Output<number>;
|
|
47
|
+
/**
|
|
48
|
+
* The project_id you want to attach the resource to
|
|
49
|
+
*/
|
|
50
|
+
readonly projectId: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* Does the DNS zone is the root zone or not
|
|
53
|
+
*/
|
|
54
|
+
readonly rootZone: pulumi.Output<boolean>;
|
|
55
|
+
/**
|
|
56
|
+
* The ttl of the record
|
|
57
|
+
*/
|
|
58
|
+
readonly ttl: pulumi.Output<number | undefined>;
|
|
59
|
+
/**
|
|
60
|
+
* The type of the record
|
|
61
|
+
*/
|
|
62
|
+
readonly type: pulumi.Output<string>;
|
|
63
|
+
/**
|
|
64
|
+
* Return record based on client subnet
|
|
65
|
+
*/
|
|
66
|
+
readonly views: pulumi.Output<outputs.DomainRecordView[] | undefined>;
|
|
67
|
+
/**
|
|
68
|
+
* Return record based on weight
|
|
69
|
+
*/
|
|
70
|
+
readonly weighteds: pulumi.Output<outputs.DomainRecordWeighted[] | undefined>;
|
|
71
|
+
/**
|
|
72
|
+
* Create a DomainRecord resource with the given unique name, arguments, and options.
|
|
73
|
+
*
|
|
74
|
+
* @param name The _unique_ name of the resource.
|
|
75
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
76
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
77
|
+
*/
|
|
78
|
+
constructor(name: string, args: DomainRecordArgs, opts?: pulumi.CustomResourceOptions);
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Input properties used for looking up and filtering DomainRecord resources.
|
|
82
|
+
*/
|
|
83
|
+
export interface DomainRecordState {
|
|
84
|
+
/**
|
|
85
|
+
* The data of the record
|
|
86
|
+
*/
|
|
87
|
+
data?: pulumi.Input<string>;
|
|
88
|
+
/**
|
|
89
|
+
* The zone you want to add the record in
|
|
90
|
+
*/
|
|
91
|
+
dnsZone?: pulumi.Input<string>;
|
|
92
|
+
/**
|
|
93
|
+
* Return record based on client localisation
|
|
94
|
+
*/
|
|
95
|
+
geoIp?: pulumi.Input<inputs.DomainRecordGeoIp>;
|
|
96
|
+
/**
|
|
97
|
+
* Return record based on client localisation
|
|
98
|
+
*/
|
|
99
|
+
httpService?: pulumi.Input<inputs.DomainRecordHttpService>;
|
|
100
|
+
/**
|
|
101
|
+
* When destroy a resource record, if a zone have only NS, delete the zone
|
|
102
|
+
*/
|
|
103
|
+
keepEmptyZone?: pulumi.Input<boolean>;
|
|
104
|
+
/**
|
|
105
|
+
* The name of the record
|
|
106
|
+
*/
|
|
107
|
+
name?: pulumi.Input<string>;
|
|
108
|
+
/**
|
|
109
|
+
* The priority of the record
|
|
110
|
+
*/
|
|
111
|
+
priority?: pulumi.Input<number>;
|
|
112
|
+
/**
|
|
113
|
+
* The project_id you want to attach the resource to
|
|
114
|
+
*/
|
|
115
|
+
projectId?: pulumi.Input<string>;
|
|
116
|
+
/**
|
|
117
|
+
* Does the DNS zone is the root zone or not
|
|
118
|
+
*/
|
|
119
|
+
rootZone?: pulumi.Input<boolean>;
|
|
120
|
+
/**
|
|
121
|
+
* The ttl of the record
|
|
122
|
+
*/
|
|
123
|
+
ttl?: pulumi.Input<number>;
|
|
124
|
+
/**
|
|
125
|
+
* The type of the record
|
|
126
|
+
*/
|
|
127
|
+
type?: pulumi.Input<string>;
|
|
128
|
+
/**
|
|
129
|
+
* Return record based on client subnet
|
|
130
|
+
*/
|
|
131
|
+
views?: pulumi.Input<pulumi.Input<inputs.DomainRecordView>[]>;
|
|
132
|
+
/**
|
|
133
|
+
* Return record based on weight
|
|
134
|
+
*/
|
|
135
|
+
weighteds?: pulumi.Input<pulumi.Input<inputs.DomainRecordWeighted>[]>;
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* The set of arguments for constructing a DomainRecord resource.
|
|
139
|
+
*/
|
|
140
|
+
export interface DomainRecordArgs {
|
|
141
|
+
/**
|
|
142
|
+
* The data of the record
|
|
143
|
+
*/
|
|
144
|
+
data: pulumi.Input<string>;
|
|
145
|
+
/**
|
|
146
|
+
* The zone you want to add the record in
|
|
147
|
+
*/
|
|
148
|
+
dnsZone: pulumi.Input<string>;
|
|
149
|
+
/**
|
|
150
|
+
* Return record based on client localisation
|
|
151
|
+
*/
|
|
152
|
+
geoIp?: pulumi.Input<inputs.DomainRecordGeoIp>;
|
|
153
|
+
/**
|
|
154
|
+
* Return record based on client localisation
|
|
155
|
+
*/
|
|
156
|
+
httpService?: pulumi.Input<inputs.DomainRecordHttpService>;
|
|
157
|
+
/**
|
|
158
|
+
* When destroy a resource record, if a zone have only NS, delete the zone
|
|
159
|
+
*/
|
|
160
|
+
keepEmptyZone?: pulumi.Input<boolean>;
|
|
161
|
+
/**
|
|
162
|
+
* The name of the record
|
|
163
|
+
*/
|
|
164
|
+
name?: pulumi.Input<string>;
|
|
165
|
+
/**
|
|
166
|
+
* The priority of the record
|
|
167
|
+
*/
|
|
168
|
+
priority?: pulumi.Input<number>;
|
|
169
|
+
/**
|
|
170
|
+
* The project_id you want to attach the resource to
|
|
171
|
+
*/
|
|
172
|
+
projectId?: pulumi.Input<string>;
|
|
173
|
+
/**
|
|
174
|
+
* The ttl of the record
|
|
175
|
+
*/
|
|
176
|
+
ttl?: pulumi.Input<number>;
|
|
177
|
+
/**
|
|
178
|
+
* The type of the record
|
|
179
|
+
*/
|
|
180
|
+
type: pulumi.Input<string>;
|
|
181
|
+
/**
|
|
182
|
+
* Return record based on client subnet
|
|
183
|
+
*/
|
|
184
|
+
views?: pulumi.Input<pulumi.Input<inputs.DomainRecordView>[]>;
|
|
185
|
+
/**
|
|
186
|
+
* Return record based on weight
|
|
187
|
+
*/
|
|
188
|
+
weighteds?: pulumi.Input<pulumi.Input<inputs.DomainRecordWeighted>[]>;
|
|
189
|
+
}
|
package/domainRecord.js
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
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.DomainRecord = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class DomainRecord extends pulumi.CustomResource {
|
|
9
|
+
constructor(name, argsOrState, opts) {
|
|
10
|
+
let resourceInputs = {};
|
|
11
|
+
opts = opts || {};
|
|
12
|
+
if (opts.id) {
|
|
13
|
+
const state = argsOrState;
|
|
14
|
+
resourceInputs["data"] = state ? state.data : undefined;
|
|
15
|
+
resourceInputs["dnsZone"] = state ? state.dnsZone : undefined;
|
|
16
|
+
resourceInputs["geoIp"] = state ? state.geoIp : undefined;
|
|
17
|
+
resourceInputs["httpService"] = state ? state.httpService : undefined;
|
|
18
|
+
resourceInputs["keepEmptyZone"] = state ? state.keepEmptyZone : undefined;
|
|
19
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
20
|
+
resourceInputs["priority"] = state ? state.priority : undefined;
|
|
21
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
22
|
+
resourceInputs["rootZone"] = state ? state.rootZone : undefined;
|
|
23
|
+
resourceInputs["ttl"] = state ? state.ttl : undefined;
|
|
24
|
+
resourceInputs["type"] = state ? state.type : undefined;
|
|
25
|
+
resourceInputs["views"] = state ? state.views : undefined;
|
|
26
|
+
resourceInputs["weighteds"] = state ? state.weighteds : undefined;
|
|
27
|
+
}
|
|
28
|
+
else {
|
|
29
|
+
const args = argsOrState;
|
|
30
|
+
if ((!args || args.data === undefined) && !opts.urn) {
|
|
31
|
+
throw new Error("Missing required property 'data'");
|
|
32
|
+
}
|
|
33
|
+
if ((!args || args.dnsZone === undefined) && !opts.urn) {
|
|
34
|
+
throw new Error("Missing required property 'dnsZone'");
|
|
35
|
+
}
|
|
36
|
+
if ((!args || args.type === undefined) && !opts.urn) {
|
|
37
|
+
throw new Error("Missing required property 'type'");
|
|
38
|
+
}
|
|
39
|
+
resourceInputs["data"] = args ? args.data : undefined;
|
|
40
|
+
resourceInputs["dnsZone"] = args ? args.dnsZone : undefined;
|
|
41
|
+
resourceInputs["geoIp"] = args ? args.geoIp : undefined;
|
|
42
|
+
resourceInputs["httpService"] = args ? args.httpService : undefined;
|
|
43
|
+
resourceInputs["keepEmptyZone"] = args ? args.keepEmptyZone : undefined;
|
|
44
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
45
|
+
resourceInputs["priority"] = args ? args.priority : undefined;
|
|
46
|
+
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
47
|
+
resourceInputs["ttl"] = args ? args.ttl : undefined;
|
|
48
|
+
resourceInputs["type"] = args ? args.type : undefined;
|
|
49
|
+
resourceInputs["views"] = args ? args.views : undefined;
|
|
50
|
+
resourceInputs["weighteds"] = args ? args.weighteds : undefined;
|
|
51
|
+
resourceInputs["rootZone"] = undefined /*out*/;
|
|
52
|
+
}
|
|
53
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
54
|
+
super(DomainRecord.__pulumiType, name, resourceInputs, opts);
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Get an existing DomainRecord resource's state with the given name, ID, and optional extra
|
|
58
|
+
* properties used to qualify the lookup.
|
|
59
|
+
*
|
|
60
|
+
* @param name The _unique_ name of the resulting resource.
|
|
61
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
62
|
+
* @param state Any extra arguments used during the lookup.
|
|
63
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
64
|
+
*/
|
|
65
|
+
static get(name, id, state, opts) {
|
|
66
|
+
return new DomainRecord(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Returns true if the given object is an instance of DomainRecord. This is designed to work even
|
|
70
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
71
|
+
*/
|
|
72
|
+
static isInstance(obj) {
|
|
73
|
+
if (obj === undefined || obj === null) {
|
|
74
|
+
return false;
|
|
75
|
+
}
|
|
76
|
+
return obj['__pulumiType'] === DomainRecord.__pulumiType;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
exports.DomainRecord = DomainRecord;
|
|
80
|
+
/** @internal */
|
|
81
|
+
DomainRecord.__pulumiType = 'scaleway:index/domainRecord:DomainRecord';
|
|
82
|
+
//# sourceMappingURL=domainRecord.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"domainRecord.js","sourceRoot":"","sources":["../domainRecord.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IAyFnD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA4C,CAAC;YAC3D,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC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 +1,120 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare class DomainZone extends pulumi.CustomResource {
|
|
3
|
+
/**
|
|
4
|
+
* Get an existing DomainZone resource's state with the given name, ID, and optional extra
|
|
5
|
+
* properties used to qualify the lookup.
|
|
6
|
+
*
|
|
7
|
+
* @param name The _unique_ name of the resulting resource.
|
|
8
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
9
|
+
* @param state Any extra arguments used during the lookup.
|
|
10
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
11
|
+
*/
|
|
12
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DomainZoneState, opts?: pulumi.CustomResourceOptions): DomainZone;
|
|
13
|
+
/**
|
|
14
|
+
* Returns true if the given object is an instance of DomainZone. This is designed to work even
|
|
15
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
16
|
+
*/
|
|
17
|
+
static isInstance(obj: any): obj is DomainZone;
|
|
18
|
+
/**
|
|
19
|
+
* The domain where the DNS zone will be created.
|
|
20
|
+
*/
|
|
21
|
+
readonly domain: pulumi.Output<string>;
|
|
22
|
+
/**
|
|
23
|
+
* Message
|
|
24
|
+
*/
|
|
25
|
+
readonly message: pulumi.Output<string>;
|
|
26
|
+
/**
|
|
27
|
+
* NameServer list for zone.
|
|
28
|
+
*/
|
|
29
|
+
readonly ns: pulumi.Output<string[]>;
|
|
30
|
+
/**
|
|
31
|
+
* NameServer default list for zone.
|
|
32
|
+
*/
|
|
33
|
+
readonly nsDefaults: pulumi.Output<string[]>;
|
|
34
|
+
/**
|
|
35
|
+
* NameServer master list for zone.
|
|
36
|
+
*/
|
|
37
|
+
readonly nsMasters: pulumi.Output<string[]>;
|
|
38
|
+
/**
|
|
39
|
+
* The project_id you want to attach the resource to
|
|
40
|
+
*/
|
|
41
|
+
readonly projectId: pulumi.Output<string>;
|
|
42
|
+
/**
|
|
43
|
+
* The domain zone status.
|
|
44
|
+
*/
|
|
45
|
+
readonly status: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* The subdomain of the DNS zone to create.
|
|
48
|
+
*/
|
|
49
|
+
readonly subdomain: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* The date and time of the last update of the DNS zone.
|
|
52
|
+
*/
|
|
53
|
+
readonly updatedAt: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* Create a DomainZone resource with the given unique name, arguments, and options.
|
|
56
|
+
*
|
|
57
|
+
* @param name The _unique_ name of the resource.
|
|
58
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
59
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
60
|
+
*/
|
|
61
|
+
constructor(name: string, args: DomainZoneArgs, opts?: pulumi.CustomResourceOptions);
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Input properties used for looking up and filtering DomainZone resources.
|
|
65
|
+
*/
|
|
66
|
+
export interface DomainZoneState {
|
|
67
|
+
/**
|
|
68
|
+
* The domain where the DNS zone will be created.
|
|
69
|
+
*/
|
|
70
|
+
domain?: pulumi.Input<string>;
|
|
71
|
+
/**
|
|
72
|
+
* Message
|
|
73
|
+
*/
|
|
74
|
+
message?: pulumi.Input<string>;
|
|
75
|
+
/**
|
|
76
|
+
* NameServer list for zone.
|
|
77
|
+
*/
|
|
78
|
+
ns?: pulumi.Input<pulumi.Input<string>[]>;
|
|
79
|
+
/**
|
|
80
|
+
* NameServer default list for zone.
|
|
81
|
+
*/
|
|
82
|
+
nsDefaults?: pulumi.Input<pulumi.Input<string>[]>;
|
|
83
|
+
/**
|
|
84
|
+
* NameServer master list for zone.
|
|
85
|
+
*/
|
|
86
|
+
nsMasters?: pulumi.Input<pulumi.Input<string>[]>;
|
|
87
|
+
/**
|
|
88
|
+
* The project_id you want to attach the resource to
|
|
89
|
+
*/
|
|
90
|
+
projectId?: pulumi.Input<string>;
|
|
91
|
+
/**
|
|
92
|
+
* The domain zone status.
|
|
93
|
+
*/
|
|
94
|
+
status?: pulumi.Input<string>;
|
|
95
|
+
/**
|
|
96
|
+
* The subdomain of the DNS zone to create.
|
|
97
|
+
*/
|
|
98
|
+
subdomain?: pulumi.Input<string>;
|
|
99
|
+
/**
|
|
100
|
+
* The date and time of the last update of the DNS zone.
|
|
101
|
+
*/
|
|
102
|
+
updatedAt?: pulumi.Input<string>;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* The set of arguments for constructing a DomainZone resource.
|
|
106
|
+
*/
|
|
107
|
+
export interface DomainZoneArgs {
|
|
108
|
+
/**
|
|
109
|
+
* The domain where the DNS zone will be created.
|
|
110
|
+
*/
|
|
111
|
+
domain: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* The project_id you want to attach the resource to
|
|
114
|
+
*/
|
|
115
|
+
projectId?: pulumi.Input<string>;
|
|
116
|
+
/**
|
|
117
|
+
* The subdomain of the DNS zone to create.
|
|
118
|
+
*/
|
|
119
|
+
subdomain: pulumi.Input<string>;
|
|
120
|
+
}
|
package/domainZone.js
ADDED
|
@@ -0,0 +1,71 @@
|
|
|
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.DomainZone = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class DomainZone extends pulumi.CustomResource {
|
|
9
|
+
constructor(name, argsOrState, opts) {
|
|
10
|
+
let resourceInputs = {};
|
|
11
|
+
opts = opts || {};
|
|
12
|
+
if (opts.id) {
|
|
13
|
+
const state = argsOrState;
|
|
14
|
+
resourceInputs["domain"] = state ? state.domain : undefined;
|
|
15
|
+
resourceInputs["message"] = state ? state.message : undefined;
|
|
16
|
+
resourceInputs["ns"] = state ? state.ns : undefined;
|
|
17
|
+
resourceInputs["nsDefaults"] = state ? state.nsDefaults : undefined;
|
|
18
|
+
resourceInputs["nsMasters"] = state ? state.nsMasters : undefined;
|
|
19
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
20
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
21
|
+
resourceInputs["subdomain"] = state ? state.subdomain : undefined;
|
|
22
|
+
resourceInputs["updatedAt"] = state ? state.updatedAt : undefined;
|
|
23
|
+
}
|
|
24
|
+
else {
|
|
25
|
+
const args = argsOrState;
|
|
26
|
+
if ((!args || args.domain === undefined) && !opts.urn) {
|
|
27
|
+
throw new Error("Missing required property 'domain'");
|
|
28
|
+
}
|
|
29
|
+
if ((!args || args.subdomain === undefined) && !opts.urn) {
|
|
30
|
+
throw new Error("Missing required property 'subdomain'");
|
|
31
|
+
}
|
|
32
|
+
resourceInputs["domain"] = args ? args.domain : undefined;
|
|
33
|
+
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
34
|
+
resourceInputs["subdomain"] = args ? args.subdomain : undefined;
|
|
35
|
+
resourceInputs["message"] = undefined /*out*/;
|
|
36
|
+
resourceInputs["ns"] = undefined /*out*/;
|
|
37
|
+
resourceInputs["nsDefaults"] = undefined /*out*/;
|
|
38
|
+
resourceInputs["nsMasters"] = undefined /*out*/;
|
|
39
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
40
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
41
|
+
}
|
|
42
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
43
|
+
super(DomainZone.__pulumiType, name, resourceInputs, opts);
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Get an existing DomainZone resource's state with the given name, ID, and optional extra
|
|
47
|
+
* properties used to qualify the lookup.
|
|
48
|
+
*
|
|
49
|
+
* @param name The _unique_ name of the resulting resource.
|
|
50
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
51
|
+
* @param state Any extra arguments used during the lookup.
|
|
52
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
53
|
+
*/
|
|
54
|
+
static get(name, id, state, opts) {
|
|
55
|
+
return new DomainZone(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Returns true if the given object is an instance of DomainZone. This is designed to work even
|
|
59
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
60
|
+
*/
|
|
61
|
+
static isInstance(obj) {
|
|
62
|
+
if (obj === undefined || obj === null) {
|
|
63
|
+
return false;
|
|
64
|
+
}
|
|
65
|
+
return obj['__pulumiType'] === DomainZone.__pulumiType;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
exports.DomainZone = DomainZone;
|
|
69
|
+
/** @internal */
|
|
70
|
+
DomainZone.__pulumiType = 'scaleway:index/domainZone:DomainZone';
|
|
71
|
+
//# sourceMappingURL=domainZone.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"domainZone.js","sourceRoot":"","sources":["../domainZone.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IAyEjD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0C,CAAC;YACzD,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,IAA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ACO,uBAAY,GAAG,sCAAsC,CAAC"}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare class FunctionNamespace extends pulumi.CustomResource {
|
|
3
|
+
/**
|
|
4
|
+
* Get an existing FunctionNamespace resource's state with the given name, ID, and optional extra
|
|
5
|
+
* properties used to qualify the lookup.
|
|
6
|
+
*
|
|
7
|
+
* @param name The _unique_ name of the resulting resource.
|
|
8
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
9
|
+
* @param state Any extra arguments used during the lookup.
|
|
10
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
11
|
+
*/
|
|
12
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FunctionNamespaceState, opts?: pulumi.CustomResourceOptions): FunctionNamespace;
|
|
13
|
+
/**
|
|
14
|
+
* Returns true if the given object is an instance of FunctionNamespace. This is designed to work even
|
|
15
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
16
|
+
*/
|
|
17
|
+
static isInstance(obj: any): obj is FunctionNamespace;
|
|
18
|
+
/**
|
|
19
|
+
* The description of the function namespace
|
|
20
|
+
*/
|
|
21
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
22
|
+
/**
|
|
23
|
+
* The environment variables of the function namespace
|
|
24
|
+
*/
|
|
25
|
+
readonly environmentVariables: pulumi.Output<{
|
|
26
|
+
[key: string]: string;
|
|
27
|
+
} | undefined>;
|
|
28
|
+
/**
|
|
29
|
+
* The name of the function namespace
|
|
30
|
+
*/
|
|
31
|
+
readonly name: pulumi.Output<string>;
|
|
32
|
+
/**
|
|
33
|
+
* The organization_id you want to attach the resource to
|
|
34
|
+
*/
|
|
35
|
+
readonly organizationId: pulumi.Output<string>;
|
|
36
|
+
/**
|
|
37
|
+
* The project_id you want to attach the resource to
|
|
38
|
+
*/
|
|
39
|
+
readonly projectId: pulumi.Output<string>;
|
|
40
|
+
/**
|
|
41
|
+
* The region you want to attach the resource to
|
|
42
|
+
*/
|
|
43
|
+
readonly region: pulumi.Output<string>;
|
|
44
|
+
/**
|
|
45
|
+
* The endpoint reachable by docker
|
|
46
|
+
*/
|
|
47
|
+
readonly registryEndpoint: pulumi.Output<string>;
|
|
48
|
+
/**
|
|
49
|
+
* The ID of the registry namespace
|
|
50
|
+
*/
|
|
51
|
+
readonly registryNamespaceId: pulumi.Output<string>;
|
|
52
|
+
/**
|
|
53
|
+
* Create a FunctionNamespace resource with the given unique name, arguments, and options.
|
|
54
|
+
*
|
|
55
|
+
* @param name The _unique_ name of the resource.
|
|
56
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
57
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
58
|
+
*/
|
|
59
|
+
constructor(name: string, args?: FunctionNamespaceArgs, opts?: pulumi.CustomResourceOptions);
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Input properties used for looking up and filtering FunctionNamespace resources.
|
|
63
|
+
*/
|
|
64
|
+
export interface FunctionNamespaceState {
|
|
65
|
+
/**
|
|
66
|
+
* The description of the function namespace
|
|
67
|
+
*/
|
|
68
|
+
description?: pulumi.Input<string>;
|
|
69
|
+
/**
|
|
70
|
+
* The environment variables of the function namespace
|
|
71
|
+
*/
|
|
72
|
+
environmentVariables?: pulumi.Input<{
|
|
73
|
+
[key: string]: pulumi.Input<string>;
|
|
74
|
+
}>;
|
|
75
|
+
/**
|
|
76
|
+
* The name of the function namespace
|
|
77
|
+
*/
|
|
78
|
+
name?: pulumi.Input<string>;
|
|
79
|
+
/**
|
|
80
|
+
* The organization_id you want to attach the resource to
|
|
81
|
+
*/
|
|
82
|
+
organizationId?: pulumi.Input<string>;
|
|
83
|
+
/**
|
|
84
|
+
* The project_id you want to attach the resource to
|
|
85
|
+
*/
|
|
86
|
+
projectId?: pulumi.Input<string>;
|
|
87
|
+
/**
|
|
88
|
+
* The region you want to attach the resource to
|
|
89
|
+
*/
|
|
90
|
+
region?: pulumi.Input<string>;
|
|
91
|
+
/**
|
|
92
|
+
* The endpoint reachable by docker
|
|
93
|
+
*/
|
|
94
|
+
registryEndpoint?: pulumi.Input<string>;
|
|
95
|
+
/**
|
|
96
|
+
* The ID of the registry namespace
|
|
97
|
+
*/
|
|
98
|
+
registryNamespaceId?: pulumi.Input<string>;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* The set of arguments for constructing a FunctionNamespace resource.
|
|
102
|
+
*/
|
|
103
|
+
export interface FunctionNamespaceArgs {
|
|
104
|
+
/**
|
|
105
|
+
* The description of the function namespace
|
|
106
|
+
*/
|
|
107
|
+
description?: pulumi.Input<string>;
|
|
108
|
+
/**
|
|
109
|
+
* The environment variables of the function namespace
|
|
110
|
+
*/
|
|
111
|
+
environmentVariables?: pulumi.Input<{
|
|
112
|
+
[key: string]: pulumi.Input<string>;
|
|
113
|
+
}>;
|
|
114
|
+
/**
|
|
115
|
+
* The name of the function namespace
|
|
116
|
+
*/
|
|
117
|
+
name?: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* The project_id you want to attach the resource to
|
|
120
|
+
*/
|
|
121
|
+
projectId?: pulumi.Input<string>;
|
|
122
|
+
/**
|
|
123
|
+
* The region you want to attach the resource to
|
|
124
|
+
*/
|
|
125
|
+
region?: pulumi.Input<string>;
|
|
126
|
+
}
|