@byteplus/pulumi-bytepluscc 0.0.43 → 0.0.46
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/certificateservice/childCertInstance.d.ts +421 -0
- package/certificateservice/childCertInstance.d.ts.map +1 -0
- package/certificateservice/childCertInstance.js +175 -0
- package/certificateservice/childCertInstance.js.map +1 -0
- package/certificateservice/getChildCertInstance.d.ts +178 -0
- package/certificateservice/getChildCertInstance.d.ts.map +1 -0
- package/certificateservice/getChildCertInstance.js +51 -0
- package/certificateservice/getChildCertInstance.js.map +1 -0
- package/certificateservice/getChildCertInstances.d.ts +23 -0
- package/certificateservice/getChildCertInstances.d.ts.map +1 -0
- package/certificateservice/getChildCertInstances.js +47 -0
- package/certificateservice/getChildCertInstances.js.map +1 -0
- package/certificateservice/index.d.ts +10 -0
- package/certificateservice/index.d.ts.map +1 -0
- package/certificateservice/index.js +51 -0
- package/certificateservice/index.js.map +1 -0
- package/cloudmonitor/contact.d.ts +116 -0
- package/cloudmonitor/contact.d.ts.map +1 -0
- package/cloudmonitor/contact.js +109 -0
- package/cloudmonitor/contact.js.map +1 -0
- package/cloudmonitor/getContact.d.ts +57 -0
- package/cloudmonitor/getContact.d.ts.map +1 -0
- package/cloudmonitor/getContact.js +51 -0
- package/cloudmonitor/getContact.js.map +1 -0
- package/cloudmonitor/getContacts.d.ts +23 -0
- package/cloudmonitor/getContacts.d.ts.map +1 -0
- package/cloudmonitor/getContacts.js +47 -0
- package/cloudmonitor/getContacts.js.map +1 -0
- package/cloudmonitor/index.d.ts +9 -0
- package/cloudmonitor/index.d.ts.map +1 -1
- package/cloudmonitor/index.js +12 -1
- package/cloudmonitor/index.js.map +1 -1
- package/index.d.ts +3 -1
- package/index.d.ts.map +1 -1
- package/index.js +5 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/resourceshare/getResourceShare.d.ts +82 -0
- package/resourceshare/getResourceShare.d.ts.map +1 -0
- package/resourceshare/getResourceShare.js +51 -0
- package/resourceshare/getResourceShare.js.map +1 -0
- package/resourceshare/getResourceShares.d.ts +23 -0
- package/resourceshare/getResourceShares.d.ts.map +1 -0
- package/resourceshare/getResourceShares.js +47 -0
- package/resourceshare/getResourceShares.js.map +1 -0
- package/resourceshare/index.d.ts +10 -0
- package/resourceshare/index.d.ts.map +1 -0
- package/resourceshare/index.js +51 -0
- package/resourceshare/index.js.map +1 -0
- package/resourceshare/resourceShare.d.ts +183 -0
- package/resourceshare/resourceShare.d.ts.map +1 -0
- package/resourceshare/resourceShare.js +128 -0
- package/resourceshare/resourceShare.js.map +1 -0
- package/types/input.d.ts +325 -0
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +645 -0
- package/types/output.d.ts.map +1 -1
- package/waf/ccRule.d.ts +361 -0
- package/waf/ccRule.d.ts.map +1 -0
- package/waf/ccRule.js +185 -0
- package/waf/ccRule.js.map +1 -0
- package/waf/getCcRule.d.ts +138 -0
- package/waf/getCcRule.d.ts.map +1 -0
- package/waf/getCcRule.js +51 -0
- package/waf/getCcRule.js.map +1 -0
- package/waf/getCcRules.d.ts +23 -0
- package/waf/getCcRules.d.ts.map +1 -0
- package/waf/getCcRules.js +47 -0
- package/waf/getCcRules.js.map +1 -0
- package/waf/index.d.ts +9 -0
- package/waf/index.d.ts.map +1 -1
- package/waf/index.js +12 -1
- package/waf/index.js.map +1 -1
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Data Source schema for Byteplus::CertificateService::ChildCertInstance
|
|
5
|
+
*/
|
|
6
|
+
export declare function getChildCertInstance(args: GetChildCertInstanceArgs, opts?: pulumi.InvokeOptions): Promise<GetChildCertInstanceResult>;
|
|
7
|
+
/**
|
|
8
|
+
* A collection of arguments for invoking getChildCertInstance.
|
|
9
|
+
*/
|
|
10
|
+
export interface GetChildCertInstanceArgs {
|
|
11
|
+
/**
|
|
12
|
+
* Uniquely identifies the resource.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* A collection of values returned by getChildCertInstance.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetChildCertInstanceResult {
|
|
20
|
+
/**
|
|
21
|
+
* Account ID
|
|
22
|
+
*/
|
|
23
|
+
readonly accountId: string;
|
|
24
|
+
/**
|
|
25
|
+
* Certificate details
|
|
26
|
+
*/
|
|
27
|
+
readonly certificateDetail: outputs.certificateservice.GetChildCertInstanceCertificateDetail;
|
|
28
|
+
/**
|
|
29
|
+
* Domain type of the certificate. Valid values: Single (single domain), Wildcard (wildcard domain), Multi (multi-domain)
|
|
30
|
+
*/
|
|
31
|
+
readonly certificateDomainType: string;
|
|
32
|
+
/**
|
|
33
|
+
* Common name (CN) of the certificate
|
|
34
|
+
*/
|
|
35
|
+
readonly commonName: string;
|
|
36
|
+
/**
|
|
37
|
+
* Creation time of the certificate instance
|
|
38
|
+
*/
|
|
39
|
+
readonly createdTime: string;
|
|
40
|
+
/**
|
|
41
|
+
* Your self-generated CSR (Certificate Signing Request)
|
|
42
|
+
*/
|
|
43
|
+
readonly csr: string;
|
|
44
|
+
/**
|
|
45
|
+
* Applicable only to SM certificates; indicates details of the SM certificate
|
|
46
|
+
*/
|
|
47
|
+
readonly encryptionCertificateDetail: outputs.certificateservice.GetChildCertInstanceEncryptionCertificateDetail;
|
|
48
|
+
/**
|
|
49
|
+
* Uniquely identifies the resource.
|
|
50
|
+
*/
|
|
51
|
+
readonly id: string;
|
|
52
|
+
/**
|
|
53
|
+
* Details of the SSL certificate (non-SM certificate) to be uploaded
|
|
54
|
+
*/
|
|
55
|
+
readonly importCertificateInfo: outputs.certificateservice.GetChildCertInstanceImportCertificateInfo;
|
|
56
|
+
/**
|
|
57
|
+
* Details of the SSL certificate (SM certificate) to be uploaded
|
|
58
|
+
*/
|
|
59
|
+
readonly importGmCertificateInfo: outputs.certificateservice.GetChildCertInstanceImportGmCertificateInfo;
|
|
60
|
+
/**
|
|
61
|
+
* Certificate instance ID
|
|
62
|
+
*/
|
|
63
|
+
readonly instanceId: string;
|
|
64
|
+
/**
|
|
65
|
+
* Certificate type. Valid values: dv (domain validation), ov (organization validation), ev (extended validation)
|
|
66
|
+
*/
|
|
67
|
+
readonly instanceLevel: string;
|
|
68
|
+
/**
|
|
69
|
+
* Certificate instance type. Options: Free, Test (paid), Paid (formal certificate [paid]), Imported (uploaded certificate)
|
|
70
|
+
*/
|
|
71
|
+
readonly instanceType: string;
|
|
72
|
+
/**
|
|
73
|
+
* Whether the certificate has been revoked
|
|
74
|
+
*/
|
|
75
|
+
readonly isCertificateRevoked: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* Whether the certificate is an SM certificate
|
|
78
|
+
*/
|
|
79
|
+
readonly isCertificateSm: boolean;
|
|
80
|
+
/**
|
|
81
|
+
* Common name (CN) of the certificate issuer
|
|
82
|
+
*/
|
|
83
|
+
readonly issuer: string;
|
|
84
|
+
/**
|
|
85
|
+
* Set the key algorithm used by the certificate. Options: rsa (non-SM certificate only), ecc (non-SM certificate only), SM2 (SM certificate only)
|
|
86
|
+
*/
|
|
87
|
+
readonly keyAlg: string;
|
|
88
|
+
/**
|
|
89
|
+
* Ignore certificate integrity check. Default: false
|
|
90
|
+
*/
|
|
91
|
+
readonly noVerifyAndFixChain: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* End time of certificate validity period
|
|
94
|
+
*/
|
|
95
|
+
readonly notAfter: string;
|
|
96
|
+
/**
|
|
97
|
+
* Start time of certificate validity period
|
|
98
|
+
*/
|
|
99
|
+
readonly notBefore: string;
|
|
100
|
+
/**
|
|
101
|
+
* Operation options
|
|
102
|
+
*/
|
|
103
|
+
readonly options: outputs.certificateservice.GetChildCertInstanceOptions;
|
|
104
|
+
/**
|
|
105
|
+
* Certificate brand
|
|
106
|
+
*/
|
|
107
|
+
readonly orderBrand: string;
|
|
108
|
+
/**
|
|
109
|
+
* ID of the information template associated with the certificate order
|
|
110
|
+
*/
|
|
111
|
+
readonly orderOrganizationId: string;
|
|
112
|
+
/**
|
|
113
|
+
* Duration of certificate service (unit: month)
|
|
114
|
+
*/
|
|
115
|
+
readonly orderPeriod: number;
|
|
116
|
+
/**
|
|
117
|
+
* Certificate specification
|
|
118
|
+
*/
|
|
119
|
+
readonly orderPlan: string;
|
|
120
|
+
/**
|
|
121
|
+
* Specify the information template ID for certificate application. Required when purchasing a certificate
|
|
122
|
+
*/
|
|
123
|
+
readonly organizationId: string;
|
|
124
|
+
/**
|
|
125
|
+
* Specify the specifications for the SSL certificate you wish to order. Required when purchasing a certificate
|
|
126
|
+
*/
|
|
127
|
+
readonly plan: string;
|
|
128
|
+
/**
|
|
129
|
+
* Private key corresponding to the CSR
|
|
130
|
+
*/
|
|
131
|
+
readonly privateKey: string;
|
|
132
|
+
/**
|
|
133
|
+
* Name of the project to which the certificate instance belongs
|
|
134
|
+
*/
|
|
135
|
+
readonly projectName: string;
|
|
136
|
+
/**
|
|
137
|
+
* Allow uploading the same certificate. Default: false
|
|
138
|
+
*/
|
|
139
|
+
readonly repeatable: boolean;
|
|
140
|
+
/**
|
|
141
|
+
* Subject Alternative Name (SAN) of the certificate. Subject Alternative Name includes all domains protected by the certificate
|
|
142
|
+
*/
|
|
143
|
+
readonly sans: string[];
|
|
144
|
+
/**
|
|
145
|
+
* For certificates obtained through renewal, indicates the ID of the previous certificate instance that was renewed
|
|
146
|
+
*/
|
|
147
|
+
readonly sourceId: string;
|
|
148
|
+
/**
|
|
149
|
+
* Certificate instance status. Options: NotSubmitted, Pending, Issued, Cancelling, Canceled, Revoking, Revoked, Failed, Unknown
|
|
150
|
+
*/
|
|
151
|
+
readonly status: string;
|
|
152
|
+
/**
|
|
153
|
+
* Remarks for the certificate instance
|
|
154
|
+
*/
|
|
155
|
+
readonly tag: string;
|
|
156
|
+
/**
|
|
157
|
+
* Resource tag list bound to the certificate instance
|
|
158
|
+
*/
|
|
159
|
+
readonly tags: outputs.certificateservice.GetChildCertInstanceTag[];
|
|
160
|
+
/**
|
|
161
|
+
* Set the domain ownership verification method. Valid values: dns*cname, dns*txt, https, http. Required when purchasing a certificate
|
|
162
|
+
*/
|
|
163
|
+
readonly validationType: string;
|
|
164
|
+
}
|
|
165
|
+
/**
|
|
166
|
+
* Data Source schema for Byteplus::CertificateService::ChildCertInstance
|
|
167
|
+
*/
|
|
168
|
+
export declare function getChildCertInstanceOutput(args: GetChildCertInstanceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetChildCertInstanceResult>;
|
|
169
|
+
/**
|
|
170
|
+
* A collection of arguments for invoking getChildCertInstance.
|
|
171
|
+
*/
|
|
172
|
+
export interface GetChildCertInstanceOutputArgs {
|
|
173
|
+
/**
|
|
174
|
+
* Uniquely identifies the resource.
|
|
175
|
+
*/
|
|
176
|
+
id: pulumi.Input<string>;
|
|
177
|
+
}
|
|
178
|
+
//# sourceMappingURL=getChildCertInstance.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getChildCertInstance.d.ts","sourceRoot":"","sources":["../../certificateservice/getChildCertInstance.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAG3C;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,wBAAwB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,0BAA0B,CAAC,CAKrI;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACrC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACd;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACvC;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,iBAAiB,EAAE,OAAO,CAAC,kBAAkB,CAAC,qCAA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
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.getChildCertInstanceOutput = exports.getChildCertInstance = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Data Source schema for Byteplus::CertificateService::ChildCertInstance
|
|
33
|
+
*/
|
|
34
|
+
function getChildCertInstance(args, opts) {
|
|
35
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
36
|
+
return pulumi.runtime.invoke("bytepluscc:certificateservice/getChildCertInstance:getChildCertInstance", {
|
|
37
|
+
"id": args.id,
|
|
38
|
+
}, opts);
|
|
39
|
+
}
|
|
40
|
+
exports.getChildCertInstance = getChildCertInstance;
|
|
41
|
+
/**
|
|
42
|
+
* Data Source schema for Byteplus::CertificateService::ChildCertInstance
|
|
43
|
+
*/
|
|
44
|
+
function getChildCertInstanceOutput(args, opts) {
|
|
45
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
46
|
+
return pulumi.runtime.invokeOutput("bytepluscc:certificateservice/getChildCertInstance:getChildCertInstance", {
|
|
47
|
+
"id": args.id,
|
|
48
|
+
}, opts);
|
|
49
|
+
}
|
|
50
|
+
exports.getChildCertInstanceOutput = getChildCertInstanceOutput;
|
|
51
|
+
//# sourceMappingURL=getChildCertInstance.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getChildCertInstance.js","sourceRoot":"","sources":["../../certificateservice/getChildCertInstance.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;GAEG;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,yEAAyE,EAAE;QACpG,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oDAKC;AAiKD;;GAEG;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,yEAAyE,EAAE;QAC1G,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gEAKC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Plural Data Source schema for Byteplus::CertificateService::ChildCertInstance
|
|
4
|
+
*/
|
|
5
|
+
export declare function getChildCertInstances(opts?: pulumi.InvokeOptions): Promise<GetChildCertInstancesResult>;
|
|
6
|
+
/**
|
|
7
|
+
* A collection of values returned by getChildCertInstances.
|
|
8
|
+
*/
|
|
9
|
+
export interface GetChildCertInstancesResult {
|
|
10
|
+
/**
|
|
11
|
+
* Uniquely identifies the data source.
|
|
12
|
+
*/
|
|
13
|
+
readonly id: string;
|
|
14
|
+
/**
|
|
15
|
+
* Set of Resource Identifiers.
|
|
16
|
+
*/
|
|
17
|
+
readonly ids: string[];
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Plural Data Source schema for Byteplus::CertificateService::ChildCertInstance
|
|
21
|
+
*/
|
|
22
|
+
export declare function getChildCertInstancesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetChildCertInstancesResult>;
|
|
23
|
+
//# sourceMappingURL=getChildCertInstances.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getChildCertInstances.d.ts","sourceRoot":"","sources":["../../certificateservice/getChildCertInstances.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,2BAA2B,CAAC,CAIvG;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IACxC;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,CAAC;CAC1B;AACD;;GAEG;AACH,wBAAgB,2BAA2B,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,2BAA2B,CAAC,CAIzH"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.getChildCertInstancesOutput = exports.getChildCertInstances = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Plural Data Source schema for Byteplus::CertificateService::ChildCertInstance
|
|
33
|
+
*/
|
|
34
|
+
function getChildCertInstances(opts) {
|
|
35
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
36
|
+
return pulumi.runtime.invoke("bytepluscc:certificateservice/getChildCertInstances:getChildCertInstances", {}, opts);
|
|
37
|
+
}
|
|
38
|
+
exports.getChildCertInstances = getChildCertInstances;
|
|
39
|
+
/**
|
|
40
|
+
* Plural Data Source schema for Byteplus::CertificateService::ChildCertInstance
|
|
41
|
+
*/
|
|
42
|
+
function getChildCertInstancesOutput(opts) {
|
|
43
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
44
|
+
return pulumi.runtime.invokeOutput("bytepluscc:certificateservice/getChildCertInstances:getChildCertInstances", {}, opts);
|
|
45
|
+
}
|
|
46
|
+
exports.getChildCertInstancesOutput = getChildCertInstancesOutput;
|
|
47
|
+
//# sourceMappingURL=getChildCertInstances.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getChildCertInstances.js","sourceRoot":"","sources":["../../certificateservice/getChildCertInstances.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;GAEG;AACH,SAAgB,qBAAqB,CAAC,IAA2B;IAC7D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2EAA2E,EAAE,EACzG,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,sDAIC;AAeD;;GAEG;AACH,SAAgB,2BAA2B,CAAC,IAAiC;IACzE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,2EAA2E,EAAE,EAC/G,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,kEAIC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { ChildCertInstanceArgs, ChildCertInstanceState } from "./childCertInstance";
|
|
2
|
+
export type ChildCertInstance = import("./childCertInstance").ChildCertInstance;
|
|
3
|
+
export declare const ChildCertInstance: typeof import("./childCertInstance").ChildCertInstance;
|
|
4
|
+
export { GetChildCertInstanceArgs, GetChildCertInstanceResult, GetChildCertInstanceOutputArgs } from "./getChildCertInstance";
|
|
5
|
+
export declare const getChildCertInstance: typeof import("./getChildCertInstance").getChildCertInstance;
|
|
6
|
+
export declare const getChildCertInstanceOutput: typeof import("./getChildCertInstance").getChildCertInstanceOutput;
|
|
7
|
+
export { GetChildCertInstancesResult } from "./getChildCertInstances";
|
|
8
|
+
export declare const getChildCertInstances: typeof import("./getChildCertInstances").getChildCertInstances;
|
|
9
|
+
export declare const getChildCertInstancesOutput: typeof import("./getChildCertInstances").getChildCertInstancesOutput;
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../certificateservice/index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AACpF,MAAM,MAAM,iBAAiB,GAAG,OAAO,qBAAqB,EAAE,iBAAiB,CAAC;AAChF,eAAO,MAAM,iBAAiB,EAAE,cAAc,qBAAqB,EAAE,iBAA+B,CAAC;AAGrG,OAAO,EAAE,wBAAwB,EAAE,0BAA0B,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAC9H,eAAO,MAAM,oBAAoB,EAAE,cAAc,wBAAwB,EAAE,oBAAkC,CAAC;AAC9G,eAAO,MAAM,0BAA0B,EAAE,cAAc,wBAAwB,EAAE,0BAAwC,CAAC;AAG1H,OAAO,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AACtE,eAAO,MAAM,qBAAqB,EAAE,cAAc,yBAAyB,EAAE,qBAAmC,CAAC;AACjH,eAAO,MAAM,2BAA2B,EAAE,cAAc,yBAAyB,EAAE,2BAAyC,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.getChildCertInstancesOutput = exports.getChildCertInstances = exports.getChildCertInstanceOutput = exports.getChildCertInstance = exports.ChildCertInstance = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
exports.ChildCertInstance = null;
|
|
32
|
+
utilities.lazyLoad(exports, ["ChildCertInstance"], () => require("./childCertInstance"));
|
|
33
|
+
exports.getChildCertInstance = null;
|
|
34
|
+
exports.getChildCertInstanceOutput = null;
|
|
35
|
+
utilities.lazyLoad(exports, ["getChildCertInstance", "getChildCertInstanceOutput"], () => require("./getChildCertInstance"));
|
|
36
|
+
exports.getChildCertInstances = null;
|
|
37
|
+
exports.getChildCertInstancesOutput = null;
|
|
38
|
+
utilities.lazyLoad(exports, ["getChildCertInstances", "getChildCertInstancesOutput"], () => require("./getChildCertInstances"));
|
|
39
|
+
const _module = {
|
|
40
|
+
version: utilities.getVersion(),
|
|
41
|
+
construct: (name, type, urn) => {
|
|
42
|
+
switch (type) {
|
|
43
|
+
case "bytepluscc:certificateservice/childCertInstance:ChildCertInstance":
|
|
44
|
+
return new exports.ChildCertInstance(name, undefined, { urn });
|
|
45
|
+
default:
|
|
46
|
+
throw new Error(`unknown resource type ${type}`);
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
};
|
|
50
|
+
pulumi.runtime.registerResourceModule("bytepluscc", "certificateservice/childCertInstance", _module);
|
|
51
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../certificateservice/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAK7B,QAAA,iBAAiB,GAA2D,IAAW,CAAC;AACrG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,mBAAmB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC,CAAC;AAG5E,QAAA,oBAAoB,GAAiE,IAAW,CAAC;AACjG,QAAA,0BAA0B,GAAuE,IAAW,CAAC;AAC1H,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,sBAAsB,EAAC,4BAA4B,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,wBAAwB,CAAC,CAAC,CAAC;AAG/G,QAAA,qBAAqB,GAAmE,IAAW,CAAC;AACpG,QAAA,2BAA2B,GAAyE,IAAW,CAAC;AAC7H,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,uBAAuB,EAAC,6BAA6B,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,yBAAyB,CAAC,CAAC,CAAC;AAG/H,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,mEAAmE;gBACpE,OAAO,IAAI,yBAAiB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC/D;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,sCAAsC,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Cloud Monitoring alert contact. Used to configure recipients for alert notifications. You can add a contact to one or more contact groups.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
|
|
10
|
+
*
|
|
11
|
+
* const example = new bytepluscc.cloudmonitor.Contact("Example", {
|
|
12
|
+
* email: "test_contact2@example.com",
|
|
13
|
+
* contactGroupIds: ["20493********741184"],
|
|
14
|
+
* phone: "138*****000",
|
|
15
|
+
* name: "Test_Contact2",
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* ## Import
|
|
20
|
+
*
|
|
21
|
+
* ```sh
|
|
22
|
+
* $ pulumi import bytepluscc:cloudmonitor/contact:Contact example "contact_id"
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export declare class Contact extends pulumi.CustomResource {
|
|
26
|
+
/**
|
|
27
|
+
* Get an existing Contact resource's state with the given name, ID, and optional extra
|
|
28
|
+
* properties used to qualify the lookup.
|
|
29
|
+
*
|
|
30
|
+
* @param name The _unique_ name of the resulting resource.
|
|
31
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
32
|
+
* @param state Any extra arguments used during the lookup.
|
|
33
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
34
|
+
*/
|
|
35
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ContactState, opts?: pulumi.CustomResourceOptions): Contact;
|
|
36
|
+
/**
|
|
37
|
+
* Returns true if the given object is an instance of Contact. This is designed to work even
|
|
38
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
39
|
+
*/
|
|
40
|
+
static isInstance(obj: any): obj is Contact;
|
|
41
|
+
/**
|
|
42
|
+
* List of contact group IDs the contact has joined. A single contact can be added to up to 10 contact groups. The value will replace the contact's existing associated groups.
|
|
43
|
+
*/
|
|
44
|
+
readonly contactGroupIds: pulumi.Output<string[]>;
|
|
45
|
+
/**
|
|
46
|
+
* Alert contact ID.
|
|
47
|
+
*/
|
|
48
|
+
readonly contactId: pulumi.Output<string>;
|
|
49
|
+
/**
|
|
50
|
+
* Required when updating. Alert email address. Cloud Monitoring will send a verification email to the provided address. You must open the verification link in the email to complete verification. Only after the email address is verified can it receive alert notifications.
|
|
51
|
+
*/
|
|
52
|
+
readonly email: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* Contact name. Cannot start with a digit or hyphen. Can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-). Length must be between 1 and 128 characters.
|
|
55
|
+
*/
|
|
56
|
+
readonly name: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* Alert phone number. If not provided during update, the original value remains. Cloud Monitoring will send a verification SMS to the provided phone number. You must open the verification link in the SMS to complete verification. Only after the phone number is verified can it receive alert messages.
|
|
59
|
+
*/
|
|
60
|
+
readonly phone: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* Create a Contact resource with the given unique name, arguments, and options.
|
|
63
|
+
*
|
|
64
|
+
* @param name The _unique_ name of the resource.
|
|
65
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
66
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
67
|
+
*/
|
|
68
|
+
constructor(name: string, args: ContactArgs, opts?: pulumi.CustomResourceOptions);
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Input properties used for looking up and filtering Contact resources.
|
|
72
|
+
*/
|
|
73
|
+
export interface ContactState {
|
|
74
|
+
/**
|
|
75
|
+
* List of contact group IDs the contact has joined. A single contact can be added to up to 10 contact groups. The value will replace the contact's existing associated groups.
|
|
76
|
+
*/
|
|
77
|
+
contactGroupIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
78
|
+
/**
|
|
79
|
+
* Alert contact ID.
|
|
80
|
+
*/
|
|
81
|
+
contactId?: pulumi.Input<string | undefined>;
|
|
82
|
+
/**
|
|
83
|
+
* Required when updating. Alert email address. Cloud Monitoring will send a verification email to the provided address. You must open the verification link in the email to complete verification. Only after the email address is verified can it receive alert notifications.
|
|
84
|
+
*/
|
|
85
|
+
email?: pulumi.Input<string | undefined>;
|
|
86
|
+
/**
|
|
87
|
+
* Contact name. Cannot start with a digit or hyphen. Can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-). Length must be between 1 and 128 characters.
|
|
88
|
+
*/
|
|
89
|
+
name?: pulumi.Input<string | undefined>;
|
|
90
|
+
/**
|
|
91
|
+
* Alert phone number. If not provided during update, the original value remains. Cloud Monitoring will send a verification SMS to the provided phone number. You must open the verification link in the SMS to complete verification. Only after the phone number is verified can it receive alert messages.
|
|
92
|
+
*/
|
|
93
|
+
phone?: pulumi.Input<string | undefined>;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* The set of arguments for constructing a Contact resource.
|
|
97
|
+
*/
|
|
98
|
+
export interface ContactArgs {
|
|
99
|
+
/**
|
|
100
|
+
* List of contact group IDs the contact has joined. A single contact can be added to up to 10 contact groups. The value will replace the contact's existing associated groups.
|
|
101
|
+
*/
|
|
102
|
+
contactGroupIds?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
103
|
+
/**
|
|
104
|
+
* Required when updating. Alert email address. Cloud Monitoring will send a verification email to the provided address. You must open the verification link in the email to complete verification. Only after the email address is verified can it receive alert notifications.
|
|
105
|
+
*/
|
|
106
|
+
email: pulumi.Input<string>;
|
|
107
|
+
/**
|
|
108
|
+
* Contact name. Cannot start with a digit or hyphen. Can only contain Chinese characters, letters, digits, underscores (_), and hyphens (-). Length must be between 1 and 128 characters.
|
|
109
|
+
*/
|
|
110
|
+
name: pulumi.Input<string>;
|
|
111
|
+
/**
|
|
112
|
+
* Alert phone number. If not provided during update, the original value remains. Cloud Monitoring will send a verification SMS to the provided phone number. You must open the verification link in the SMS to complete verification. Only after the phone number is verified can it receive alert messages.
|
|
113
|
+
*/
|
|
114
|
+
phone?: pulumi.Input<string | undefined>;
|
|
115
|
+
}
|
|
116
|
+
//# sourceMappingURL=contact.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,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,SAAS,CAAC,CAAC;IAC7C;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACzC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC5C;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IACxB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IACnE;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC3B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC5C"}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.Contact = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("../utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Cloud Monitoring alert contact. Used to configure recipients for alert notifications. You can add a contact to one or more contact groups.
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as bytepluscc from "@byteplus/pulumi-bytepluscc";
|
|
39
|
+
*
|
|
40
|
+
* const example = new bytepluscc.cloudmonitor.Contact("Example", {
|
|
41
|
+
* email: "test_contact2@example.com",
|
|
42
|
+
* contactGroupIds: ["20493********741184"],
|
|
43
|
+
* phone: "138*****000",
|
|
44
|
+
* name: "Test_Contact2",
|
|
45
|
+
* });
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* ## Import
|
|
49
|
+
*
|
|
50
|
+
* ```sh
|
|
51
|
+
* $ pulumi import bytepluscc:cloudmonitor/contact:Contact example "contact_id"
|
|
52
|
+
* ```
|
|
53
|
+
*/
|
|
54
|
+
class Contact extends pulumi.CustomResource {
|
|
55
|
+
/**
|
|
56
|
+
* Get an existing Contact resource's state with the given name, ID, and optional extra
|
|
57
|
+
* properties used to qualify the lookup.
|
|
58
|
+
*
|
|
59
|
+
* @param name The _unique_ name of the resulting resource.
|
|
60
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
61
|
+
* @param state Any extra arguments used during the lookup.
|
|
62
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
63
|
+
*/
|
|
64
|
+
static get(name, id, state, opts) {
|
|
65
|
+
return new Contact(name, state, { ...opts, id: id });
|
|
66
|
+
}
|
|
67
|
+
/** @internal */
|
|
68
|
+
static __pulumiType = 'bytepluscc:cloudmonitor/contact:Contact';
|
|
69
|
+
/**
|
|
70
|
+
* Returns true if the given object is an instance of Contact. This is designed to work even
|
|
71
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
72
|
+
*/
|
|
73
|
+
static isInstance(obj) {
|
|
74
|
+
if (obj === undefined || obj === null) {
|
|
75
|
+
return false;
|
|
76
|
+
}
|
|
77
|
+
return obj['__pulumiType'] === Contact.__pulumiType;
|
|
78
|
+
}
|
|
79
|
+
constructor(name, argsOrState, opts) {
|
|
80
|
+
let resourceInputs = {};
|
|
81
|
+
opts = opts || {};
|
|
82
|
+
if (opts.id) {
|
|
83
|
+
const state = argsOrState;
|
|
84
|
+
resourceInputs["contactGroupIds"] = state?.contactGroupIds;
|
|
85
|
+
resourceInputs["contactId"] = state?.contactId;
|
|
86
|
+
resourceInputs["email"] = state?.email;
|
|
87
|
+
resourceInputs["name"] = state?.name;
|
|
88
|
+
resourceInputs["phone"] = state?.phone;
|
|
89
|
+
}
|
|
90
|
+
else {
|
|
91
|
+
const args = argsOrState;
|
|
92
|
+
if (args?.email === undefined && !opts.urn) {
|
|
93
|
+
throw new Error("Missing required property 'email'");
|
|
94
|
+
}
|
|
95
|
+
if (args?.name === undefined && !opts.urn) {
|
|
96
|
+
throw new Error("Missing required property 'name'");
|
|
97
|
+
}
|
|
98
|
+
resourceInputs["contactGroupIds"] = args?.contactGroupIds;
|
|
99
|
+
resourceInputs["email"] = args?.email;
|
|
100
|
+
resourceInputs["name"] = args?.name;
|
|
101
|
+
resourceInputs["phone"] = args?.phone;
|
|
102
|
+
resourceInputs["contactId"] = undefined /*out*/;
|
|
103
|
+
}
|
|
104
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
105
|
+
super(Contact.__pulumiType, name, resourceInputs, opts);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
exports.Contact = Contact;
|
|
109
|
+
//# sourceMappingURL=contact.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"contact.js","sourceRoot":"","sources":["../../cloudmonitor/contact.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC9D,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,yCAAyC,CAAC;IAEhF;;;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,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;IA+BD,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI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