@pulumi/alicloud 3.61.1 → 3.61.2
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/brain/getIndustrialPidLoops.d.ts +18 -2
- package/brain/getIndustrialPidLoops.js +6 -2
- package/brain/getIndustrialPidLoops.js.map +1 -1
- package/brain/getIndustrialPidOrganizations.d.ts +12 -2
- package/brain/getIndustrialPidOrganizations.js +6 -2
- package/brain/getIndustrialPidOrganizations.js.map +1 -1
- package/brain/getIndustrialPidProjects.d.ts +18 -2
- package/brain/getIndustrialPidProjects.js +6 -2
- package/brain/getIndustrialPidProjects.js.map +1 -1
- package/brain/getIndustrialSerice.d.ts +6 -2
- package/brain/getIndustrialSerice.js +6 -2
- package/brain/getIndustrialSerice.js.map +1 -1
- package/brain/industrialPidLoop.d.ts +3 -1
- package/brain/industrialPidLoop.js +3 -1
- package/brain/industrialPidLoop.js.map +1 -1
- package/brain/industrialPidOrganization.d.ts +2 -2
- package/brain/industrialPidOrganization.js +2 -2
- package/brain/industrialPidProject.d.ts +2 -2
- package/brain/industrialPidProject.js +2 -2
- package/cas/certificate.d.ts +79 -6
- package/cas/certificate.js +76 -3
- package/cas/certificate.js.map +1 -1
- package/cas/serviceCertificate.d.ts +4 -13
- package/cas/serviceCertificate.js +1 -1
- package/cas/serviceCertificate.js.map +1 -1
- package/cdn/realTimeLogDelivery.d.ts +1 -1
- package/cdn/realTimeLogDelivery.js +1 -1
- package/cen/getTransitRouterRouteTables.d.ts +86 -11
- package/cen/getTransitRouterRouteTables.js +59 -4
- package/cen/getTransitRouterRouteTables.js.map +1 -1
- package/cfg/remediation.d.ts +4 -1
- package/cfg/remediation.js +4 -1
- package/cfg/remediation.js.map +1 -1
- package/clickhouse/account.d.ts +1 -1
- package/clickhouse/account.js +1 -1
- package/clickhouse/backupPolicy.d.ts +1 -1
- package/clickhouse/backupPolicy.js +1 -1
- package/cloudfirewall/instance.d.ts +1 -0
- package/cloudfirewall/instance.js +1 -0
- package/cloudfirewall/instance.js.map +1 -1
- package/cs/kubernetes.d.ts +3 -3
- package/cs/managedKubernetes.d.ts +317 -20
- package/cs/managedKubernetes.js +1 -1
- package/cs/managedKubernetes.js.map +1 -1
- package/cs/registryEnterpriseNamespace.d.ts +36 -25
- package/cs/registryEnterpriseNamespace.js +15 -16
- package/cs/registryEnterpriseNamespace.js.map +1 -1
- package/cs/registryEnterpriseRepo.d.ts +45 -34
- package/cs/registryEnterpriseRepo.js +19 -14
- package/cs/registryEnterpriseRepo.js.map +1 -1
- package/cs/registryEnterpriseSyncRule.d.ts +49 -46
- package/cs/registryEnterpriseSyncRule.js +16 -13
- package/cs/registryEnterpriseSyncRule.js.map +1 -1
- package/cs/serverlessKubernetes.d.ts +64 -60
- package/cs/serverlessKubernetes.js +13 -13
- package/cs/serverlessKubernetes.js.map +1 -1
- package/databasefilesystem/instance.d.ts +1 -1
- package/databasefilesystem/instance.js +1 -1
- package/dts/consumerChannel.d.ts +1 -1
- package/dts/consumerChannel.js +1 -1
- package/dts/subscriptionJob.d.ts +1 -1
- package/dts/subscriptionJob.js +1 -1
- package/ecs/autoProvisioningGroup.d.ts +1 -1
- package/ecs/autoProvisioningGroup.js +1 -1
- package/ehpc/getClusters.d.ts +11 -2
- package/ehpc/getClusters.js +2 -2
- package/ehpc/getClusters.js.map +1 -1
- package/ehpc/getJobTemplates.d.ts +5 -2
- package/ehpc/getJobTemplates.js +2 -2
- package/ehpc/getJobTemplates.js.map +1 -1
- package/ehpc/jobTemplate.d.ts +1 -1
- package/ehpc/jobTemplate.js +1 -1
- package/fc/function.d.ts +3 -3
- package/fc/function.js +3 -3
- package/fc/functionAsyncInvokeConfig.d.ts +1 -1
- package/fc/functionAsyncInvokeConfig.js +1 -1
- package/fc/trigger.d.ts +1 -1
- package/fc/trigger.js +1 -1
- package/gpdb/account.d.ts +0 -2
- package/gpdb/account.js +0 -2
- package/gpdb/account.js.map +1 -1
- package/gpdb/connection.d.ts +0 -2
- package/gpdb/connection.js +0 -2
- package/gpdb/connection.js.map +1 -1
- package/log/alert.d.ts +15 -14
- package/log/alert.js +15 -14
- package/log/alert.js.map +1 -1
- package/log/audit.d.ts +1 -0
- package/log/audit.js +1 -0
- package/log/audit.js.map +1 -1
- package/log/dashboard.d.ts +4 -4
- package/log/dashboard.js +4 -4
- package/log/etl.d.ts +13 -13
- package/log/etl.js +13 -13
- package/log/ingestion.d.ts +5 -5
- package/log/ingestion.js +5 -5
- package/log/logTailAttachment.d.ts +7 -7
- package/log/logTailAttachment.js +7 -7
- package/log/logTailConfig.d.ts +5 -5
- package/log/logTailConfig.js +5 -5
- package/log/machineGroup.d.ts +2 -2
- package/log/machineGroup.js +2 -2
- package/log/ossExport.d.ts +5 -5
- package/log/ossExport.js +5 -5
- package/log/project.d.ts +2 -2
- package/log/project.js +2 -2
- package/log/storeIndex.d.ts +5 -5
- package/log/storeIndex.js +5 -5
- package/nlb/serverGroup.d.ts +1 -1
- package/nlb/serverGroup.js +1 -1
- package/oos/serviceSetting.d.ts +5 -4
- package/oos/serviceSetting.js +5 -4
- package/oos/serviceSetting.js.map +1 -1
- package/oss/bucket.d.ts +10 -5
- package/oss/bucket.js +10 -5
- package/oss/bucket.js.map +1 -1
- package/oss/bucketObject.d.ts +6 -4
- package/oss/bucketObject.js +6 -4
- package/oss/bucketObject.js.map +1 -1
- package/oss/bucketReplication.d.ts +1 -1
- package/oss/bucketReplication.js +1 -1
- package/package.json +2 -2
- package/polardb/cluster.d.ts +24 -9
- package/polardb/cluster.js +2 -0
- package/polardb/cluster.js.map +1 -1
- package/pvtz/zoneRecord.d.ts +1 -1
- package/pvtz/zoneRecord.js +1 -1
- package/ram/accessKey.d.ts +2 -0
- package/ram/accessKey.js +2 -0
- package/ram/accessKey.js.map +1 -1
- package/rds/accountPrivilege.d.ts +1 -1
- package/rds/accountPrivilege.js +1 -1
- package/rds/backupPolicy.d.ts +81 -3
- package/rds/backupPolicy.js +8 -0
- package/rds/backupPolicy.js.map +1 -1
- package/rds/database.d.ts +21 -3
- package/rds/database.js.map +1 -1
- package/rds/instance.js +4 -2
- package/rds/instance.js.map +1 -1
- package/rocketmq/group.d.ts +1 -1
- package/rocketmq/group.js +1 -1
- package/rocketmq/topic.d.ts +1 -1
- package/rocketmq/topic.js +1 -1
- package/sls/alert.d.ts +3 -3
- package/sls/alert.js +3 -3
- package/sls/scheduledSql.d.ts +5 -5
- package/sls/scheduledSql.js +5 -5
- package/types/input.d.ts +56 -10
- package/types/output.d.ts +82 -12
- package/vpc/havipAttachment.d.ts +1 -1
- package/vpc/havipAttachment.js +1 -1
- package/vpc/ipv6InternetBandwidth.d.ts +2 -2
- package/vpc/ipv6InternetBandwidth.js +2 -2
- package/vpc/routeTableAttachment.d.ts +2 -2
- package/vpc/routeTableAttachment.js +2 -2
- package/vpc/trafficMirrorFilterIngressRule.d.ts +1 -1
- package/vpc/trafficMirrorFilterIngressRule.js +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Provides a Container Registry Enterprise Edition Namespace resource.
|
|
4
4
|
*
|
|
5
|
-
* For information about Container Registry Enterprise Edition
|
|
5
|
+
* For information about Container Registry Enterprise Edition Namespace and how to use it, see [What is Namespace](https://www.alibabacloud.com/help/en/acr/developer-reference/api-cr-2018-12-01-createnamespace)
|
|
6
6
|
*
|
|
7
7
|
* > **NOTE:** Available since v1.86.0.
|
|
8
8
|
*
|
|
@@ -15,20 +15,25 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
15
15
|
* ```typescript
|
|
16
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
17
|
* import * as alicloud from "@pulumi/alicloud";
|
|
18
|
+
* import * as random from "@pulumi/random";
|
|
18
19
|
*
|
|
19
20
|
* const config = new pulumi.Config();
|
|
20
|
-
* const name = config.get("name") || "terraform-example
|
|
21
|
-
* const
|
|
21
|
+
* const name = config.get("name") || "terraform-example";
|
|
22
|
+
* const _default = new random.index.Integer("default", {
|
|
23
|
+
* min: 10000,
|
|
24
|
+
* max: 99999,
|
|
25
|
+
* });
|
|
26
|
+
* const defaultRegistryEnterpriseInstance = new alicloud.cr.RegistryEnterpriseInstance("default", {
|
|
22
27
|
* paymentType: "Subscription",
|
|
23
28
|
* period: 1,
|
|
24
29
|
* renewPeriod: 0,
|
|
25
30
|
* renewalStatus: "ManualRenewal",
|
|
26
31
|
* instanceType: "Advanced",
|
|
27
|
-
* instanceName: name
|
|
32
|
+
* instanceName: `${name}-${_default.result}`,
|
|
28
33
|
* });
|
|
29
|
-
* const
|
|
30
|
-
* instanceId:
|
|
31
|
-
* name: name
|
|
34
|
+
* const defaultRegistryEnterpriseNamespace = new alicloud.cs.RegistryEnterpriseNamespace("default", {
|
|
35
|
+
* instanceId: defaultRegistryEnterpriseInstance.id,
|
|
36
|
+
* name: `${name}-${_default.result}`,
|
|
32
37
|
* autoCreate: false,
|
|
33
38
|
* defaultVisibility: "PUBLIC",
|
|
34
39
|
* });
|
|
@@ -36,10 +41,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
36
41
|
*
|
|
37
42
|
* ## Import
|
|
38
43
|
*
|
|
39
|
-
* Container Registry Enterprise Edition
|
|
44
|
+
* Container Registry Enterprise Edition Namespace can be imported using the id, e.g.
|
|
40
45
|
*
|
|
41
46
|
* ```sh
|
|
42
|
-
* $ pulumi import alicloud:cs/registryEnterpriseNamespace:RegistryEnterpriseNamespace
|
|
47
|
+
* $ pulumi import alicloud:cs/registryEnterpriseNamespace:RegistryEnterpriseNamespace example <instance_id>:<name>
|
|
43
48
|
* ```
|
|
44
49
|
*/
|
|
45
50
|
export declare class RegistryEnterpriseNamespace extends pulumi.CustomResource {
|
|
@@ -59,19 +64,21 @@ export declare class RegistryEnterpriseNamespace extends pulumi.CustomResource {
|
|
|
59
64
|
*/
|
|
60
65
|
static isInstance(obj: any): obj is RegistryEnterpriseNamespace;
|
|
61
66
|
/**
|
|
62
|
-
*
|
|
67
|
+
* Specifies whether to automatically create an image repository in the namespace. Default value: `false`. Valid values: `true`, `false`.
|
|
63
68
|
*/
|
|
64
|
-
readonly autoCreate: pulumi.Output<boolean>;
|
|
69
|
+
readonly autoCreate: pulumi.Output<boolean | undefined>;
|
|
65
70
|
/**
|
|
66
|
-
*
|
|
71
|
+
* The default type of the repository that is automatically created. Valid values:
|
|
72
|
+
* - `PUBLIC`: A public repository.
|
|
73
|
+
* - `PRIVATE`: A private repository.
|
|
67
74
|
*/
|
|
68
75
|
readonly defaultVisibility: pulumi.Output<string>;
|
|
69
76
|
/**
|
|
70
|
-
* ID of Container Registry Enterprise Edition instance.
|
|
77
|
+
* The ID of the Container Registry Enterprise Edition instance.
|
|
71
78
|
*/
|
|
72
79
|
readonly instanceId: pulumi.Output<string>;
|
|
73
80
|
/**
|
|
74
|
-
*
|
|
81
|
+
* The name of the Container Registry Enterprise Edition Name. It must be `2` to `120` characters in length, and can contain lowercase letters, digits, underscores (_), hyphens (-), and periods (.). It cannot start or end with a delimiter.
|
|
75
82
|
*/
|
|
76
83
|
readonly name: pulumi.Output<string>;
|
|
77
84
|
/**
|
|
@@ -88,19 +95,21 @@ export declare class RegistryEnterpriseNamespace extends pulumi.CustomResource {
|
|
|
88
95
|
*/
|
|
89
96
|
export interface RegistryEnterpriseNamespaceState {
|
|
90
97
|
/**
|
|
91
|
-
*
|
|
98
|
+
* Specifies whether to automatically create an image repository in the namespace. Default value: `false`. Valid values: `true`, `false`.
|
|
92
99
|
*/
|
|
93
100
|
autoCreate?: pulumi.Input<boolean>;
|
|
94
101
|
/**
|
|
95
|
-
*
|
|
102
|
+
* The default type of the repository that is automatically created. Valid values:
|
|
103
|
+
* - `PUBLIC`: A public repository.
|
|
104
|
+
* - `PRIVATE`: A private repository.
|
|
96
105
|
*/
|
|
97
106
|
defaultVisibility?: pulumi.Input<string>;
|
|
98
107
|
/**
|
|
99
|
-
* ID of Container Registry Enterprise Edition instance.
|
|
108
|
+
* The ID of the Container Registry Enterprise Edition instance.
|
|
100
109
|
*/
|
|
101
110
|
instanceId?: pulumi.Input<string>;
|
|
102
111
|
/**
|
|
103
|
-
*
|
|
112
|
+
* The name of the Container Registry Enterprise Edition Name. It must be `2` to `120` characters in length, and can contain lowercase letters, digits, underscores (_), hyphens (-), and periods (.). It cannot start or end with a delimiter.
|
|
104
113
|
*/
|
|
105
114
|
name?: pulumi.Input<string>;
|
|
106
115
|
}
|
|
@@ -109,19 +118,21 @@ export interface RegistryEnterpriseNamespaceState {
|
|
|
109
118
|
*/
|
|
110
119
|
export interface RegistryEnterpriseNamespaceArgs {
|
|
111
120
|
/**
|
|
112
|
-
*
|
|
121
|
+
* Specifies whether to automatically create an image repository in the namespace. Default value: `false`. Valid values: `true`, `false`.
|
|
113
122
|
*/
|
|
114
|
-
autoCreate
|
|
123
|
+
autoCreate?: pulumi.Input<boolean>;
|
|
115
124
|
/**
|
|
116
|
-
*
|
|
125
|
+
* The default type of the repository that is automatically created. Valid values:
|
|
126
|
+
* - `PUBLIC`: A public repository.
|
|
127
|
+
* - `PRIVATE`: A private repository.
|
|
117
128
|
*/
|
|
118
|
-
defaultVisibility
|
|
129
|
+
defaultVisibility?: pulumi.Input<string>;
|
|
119
130
|
/**
|
|
120
|
-
* ID of Container Registry Enterprise Edition instance.
|
|
131
|
+
* The ID of the Container Registry Enterprise Edition instance.
|
|
121
132
|
*/
|
|
122
133
|
instanceId: pulumi.Input<string>;
|
|
123
134
|
/**
|
|
124
|
-
*
|
|
135
|
+
* The name of the Container Registry Enterprise Edition Name. It must be `2` to `120` characters in length, and can contain lowercase letters, digits, underscores (_), hyphens (-), and periods (.). It cannot start or end with a delimiter.
|
|
125
136
|
*/
|
|
126
137
|
name?: pulumi.Input<string>;
|
|
127
138
|
}
|
|
@@ -6,9 +6,9 @@ exports.RegistryEnterpriseNamespace = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Provides a Container Registry Enterprise Edition Namespace resource.
|
|
10
10
|
*
|
|
11
|
-
* For information about Container Registry Enterprise Edition
|
|
11
|
+
* For information about Container Registry Enterprise Edition Namespace and how to use it, see [What is Namespace](https://www.alibabacloud.com/help/en/acr/developer-reference/api-cr-2018-12-01-createnamespace)
|
|
12
12
|
*
|
|
13
13
|
* > **NOTE:** Available since v1.86.0.
|
|
14
14
|
*
|
|
@@ -21,20 +21,25 @@ const utilities = require("../utilities");
|
|
|
21
21
|
* ```typescript
|
|
22
22
|
* import * as pulumi from "@pulumi/pulumi";
|
|
23
23
|
* import * as alicloud from "@pulumi/alicloud";
|
|
24
|
+
* import * as random from "@pulumi/random";
|
|
24
25
|
*
|
|
25
26
|
* const config = new pulumi.Config();
|
|
26
|
-
* const name = config.get("name") || "terraform-example
|
|
27
|
-
* const
|
|
27
|
+
* const name = config.get("name") || "terraform-example";
|
|
28
|
+
* const _default = new random.index.Integer("default", {
|
|
29
|
+
* min: 10000,
|
|
30
|
+
* max: 99999,
|
|
31
|
+
* });
|
|
32
|
+
* const defaultRegistryEnterpriseInstance = new alicloud.cr.RegistryEnterpriseInstance("default", {
|
|
28
33
|
* paymentType: "Subscription",
|
|
29
34
|
* period: 1,
|
|
30
35
|
* renewPeriod: 0,
|
|
31
36
|
* renewalStatus: "ManualRenewal",
|
|
32
37
|
* instanceType: "Advanced",
|
|
33
|
-
* instanceName: name
|
|
38
|
+
* instanceName: `${name}-${_default.result}`,
|
|
34
39
|
* });
|
|
35
|
-
* const
|
|
36
|
-
* instanceId:
|
|
37
|
-
* name: name
|
|
40
|
+
* const defaultRegistryEnterpriseNamespace = new alicloud.cs.RegistryEnterpriseNamespace("default", {
|
|
41
|
+
* instanceId: defaultRegistryEnterpriseInstance.id,
|
|
42
|
+
* name: `${name}-${_default.result}`,
|
|
38
43
|
* autoCreate: false,
|
|
39
44
|
* defaultVisibility: "PUBLIC",
|
|
40
45
|
* });
|
|
@@ -42,10 +47,10 @@ const utilities = require("../utilities");
|
|
|
42
47
|
*
|
|
43
48
|
* ## Import
|
|
44
49
|
*
|
|
45
|
-
* Container Registry Enterprise Edition
|
|
50
|
+
* Container Registry Enterprise Edition Namespace can be imported using the id, e.g.
|
|
46
51
|
*
|
|
47
52
|
* ```sh
|
|
48
|
-
* $ pulumi import alicloud:cs/registryEnterpriseNamespace:RegistryEnterpriseNamespace
|
|
53
|
+
* $ pulumi import alicloud:cs/registryEnterpriseNamespace:RegistryEnterpriseNamespace example <instance_id>:<name>
|
|
49
54
|
* ```
|
|
50
55
|
*/
|
|
51
56
|
class RegistryEnterpriseNamespace extends pulumi.CustomResource {
|
|
@@ -83,12 +88,6 @@ class RegistryEnterpriseNamespace extends pulumi.CustomResource {
|
|
|
83
88
|
}
|
|
84
89
|
else {
|
|
85
90
|
const args = argsOrState;
|
|
86
|
-
if ((!args || args.autoCreate === undefined) && !opts.urn) {
|
|
87
|
-
throw new Error("Missing required property 'autoCreate'");
|
|
88
|
-
}
|
|
89
|
-
if ((!args || args.defaultVisibility === undefined) && !opts.urn) {
|
|
90
|
-
throw new Error("Missing required property 'defaultVisibility'");
|
|
91
|
-
}
|
|
92
91
|
if ((!args || args.instanceId === undefined) && !opts.urn) {
|
|
93
92
|
throw new Error("Missing required property 'instanceId'");
|
|
94
93
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registryEnterpriseNamespace.js","sourceRoot":"","sources":["../../cs/registryEnterpriseNamespace.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"registryEnterpriseNamespace.js","sourceRoot":"","sources":["../../cs/registryEnterpriseNamespace.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AU,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvD,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,2BAA2B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChF,CAAC;;AA5EL,kEA6EC;AA/DG,gBAAgB;AACO,wCAAY,GAAG,qEAAqE,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Provides a Container Registry Enterprise Edition Repository resource.
|
|
4
4
|
*
|
|
5
|
-
* For information about Container Registry Enterprise Edition
|
|
5
|
+
* For information about Container Registry Enterprise Edition Repository and how to use it, see [What is Repository](https://www.alibabacloud.com/help/en/acr/developer-reference/api-cr-2018-12-01-createrepository)
|
|
6
6
|
*
|
|
7
7
|
* > **NOTE:** Available since v1.86.0.
|
|
8
8
|
*
|
|
@@ -15,39 +15,44 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
15
15
|
* ```typescript
|
|
16
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
17
|
* import * as alicloud from "@pulumi/alicloud";
|
|
18
|
+
* import * as random from "@pulumi/random";
|
|
18
19
|
*
|
|
19
20
|
* const config = new pulumi.Config();
|
|
20
21
|
* const name = config.get("name") || "terraform-example";
|
|
21
|
-
* const
|
|
22
|
+
* const _default = new random.index.Integer("default", {
|
|
23
|
+
* min: 10000,
|
|
24
|
+
* max: 99999,
|
|
25
|
+
* });
|
|
26
|
+
* const defaultRegistryEnterpriseInstance = new alicloud.cr.RegistryEnterpriseInstance("default", {
|
|
22
27
|
* paymentType: "Subscription",
|
|
23
28
|
* period: 1,
|
|
24
29
|
* renewPeriod: 0,
|
|
25
30
|
* renewalStatus: "ManualRenewal",
|
|
26
31
|
* instanceType: "Advanced",
|
|
27
|
-
* instanceName: name
|
|
32
|
+
* instanceName: `${name}-${_default.result}`,
|
|
28
33
|
* });
|
|
29
|
-
* const
|
|
30
|
-
* instanceId:
|
|
31
|
-
* name: name
|
|
34
|
+
* const defaultRegistryEnterpriseNamespace = new alicloud.cs.RegistryEnterpriseNamespace("default", {
|
|
35
|
+
* instanceId: defaultRegistryEnterpriseInstance.id,
|
|
36
|
+
* name: `${name}-${_default.result}`,
|
|
32
37
|
* autoCreate: false,
|
|
33
38
|
* defaultVisibility: "PUBLIC",
|
|
34
39
|
* });
|
|
35
|
-
* const
|
|
36
|
-
* instanceId:
|
|
37
|
-
* namespace:
|
|
38
|
-
* name: name
|
|
39
|
-
* summary: "this is summary of my new repo",
|
|
40
|
+
* const example = new alicloud.cs.RegistryEnterpriseRepo("example", {
|
|
41
|
+
* instanceId: defaultRegistryEnterpriseInstance.id,
|
|
42
|
+
* namespace: defaultRegistryEnterpriseNamespace.name,
|
|
43
|
+
* name: `${name}-${_default.result}`,
|
|
40
44
|
* repoType: "PUBLIC",
|
|
45
|
+
* summary: "this is summary of my new repo",
|
|
41
46
|
* detail: "this is a public repo",
|
|
42
47
|
* });
|
|
43
48
|
* ```
|
|
44
49
|
*
|
|
45
50
|
* ## Import
|
|
46
51
|
*
|
|
47
|
-
* Container Registry Enterprise Edition
|
|
52
|
+
* Container Registry Enterprise Edition Repository can be imported using the id, e.g.
|
|
48
53
|
*
|
|
49
54
|
* ```sh
|
|
50
|
-
* $ pulumi import alicloud:cs/registryEnterpriseRepo:RegistryEnterpriseRepo
|
|
55
|
+
* $ pulumi import alicloud:cs/registryEnterpriseRepo:RegistryEnterpriseRepo example <instance_id>:<namespace>:<name>
|
|
51
56
|
* ```
|
|
52
57
|
*/
|
|
53
58
|
export declare class RegistryEnterpriseRepo extends pulumi.CustomResource {
|
|
@@ -67,31 +72,33 @@ export declare class RegistryEnterpriseRepo extends pulumi.CustomResource {
|
|
|
67
72
|
*/
|
|
68
73
|
static isInstance(obj: any): obj is RegistryEnterpriseRepo;
|
|
69
74
|
/**
|
|
70
|
-
* The
|
|
75
|
+
* The description of the repository.
|
|
71
76
|
*/
|
|
72
77
|
readonly detail: pulumi.Output<string | undefined>;
|
|
73
78
|
/**
|
|
74
|
-
* ID of Container Registry Enterprise Edition instance.
|
|
79
|
+
* The ID of the Container Registry Enterprise Edition instance.
|
|
75
80
|
*/
|
|
76
81
|
readonly instanceId: pulumi.Output<string>;
|
|
77
82
|
/**
|
|
78
|
-
*
|
|
83
|
+
* The name of the image repository.
|
|
79
84
|
*/
|
|
80
85
|
readonly name: pulumi.Output<string>;
|
|
81
86
|
/**
|
|
82
|
-
*
|
|
87
|
+
* The name of the namespace to which the image repository belongs.
|
|
83
88
|
*/
|
|
84
89
|
readonly namespace: pulumi.Output<string>;
|
|
85
90
|
/**
|
|
86
|
-
* The
|
|
91
|
+
* The ID of the repository.
|
|
87
92
|
*/
|
|
88
93
|
readonly repoId: pulumi.Output<string>;
|
|
89
94
|
/**
|
|
90
|
-
*
|
|
95
|
+
* The type of the repository. Valid values:
|
|
96
|
+
* - `PUBLIC`: The repository is a public repository.
|
|
97
|
+
* - `PRIVATE`: The repository is a private repository.
|
|
91
98
|
*/
|
|
92
99
|
readonly repoType: pulumi.Output<string>;
|
|
93
100
|
/**
|
|
94
|
-
* The
|
|
101
|
+
* The summary about the repository.
|
|
95
102
|
*/
|
|
96
103
|
readonly summary: pulumi.Output<string>;
|
|
97
104
|
/**
|
|
@@ -108,31 +115,33 @@ export declare class RegistryEnterpriseRepo extends pulumi.CustomResource {
|
|
|
108
115
|
*/
|
|
109
116
|
export interface RegistryEnterpriseRepoState {
|
|
110
117
|
/**
|
|
111
|
-
* The
|
|
118
|
+
* The description of the repository.
|
|
112
119
|
*/
|
|
113
120
|
detail?: pulumi.Input<string>;
|
|
114
121
|
/**
|
|
115
|
-
* ID of Container Registry Enterprise Edition instance.
|
|
122
|
+
* The ID of the Container Registry Enterprise Edition instance.
|
|
116
123
|
*/
|
|
117
124
|
instanceId?: pulumi.Input<string>;
|
|
118
125
|
/**
|
|
119
|
-
*
|
|
126
|
+
* The name of the image repository.
|
|
120
127
|
*/
|
|
121
128
|
name?: pulumi.Input<string>;
|
|
122
129
|
/**
|
|
123
|
-
*
|
|
130
|
+
* The name of the namespace to which the image repository belongs.
|
|
124
131
|
*/
|
|
125
132
|
namespace?: pulumi.Input<string>;
|
|
126
133
|
/**
|
|
127
|
-
* The
|
|
134
|
+
* The ID of the repository.
|
|
128
135
|
*/
|
|
129
136
|
repoId?: pulumi.Input<string>;
|
|
130
137
|
/**
|
|
131
|
-
*
|
|
138
|
+
* The type of the repository. Valid values:
|
|
139
|
+
* - `PUBLIC`: The repository is a public repository.
|
|
140
|
+
* - `PRIVATE`: The repository is a private repository.
|
|
132
141
|
*/
|
|
133
142
|
repoType?: pulumi.Input<string>;
|
|
134
143
|
/**
|
|
135
|
-
* The
|
|
144
|
+
* The summary about the repository.
|
|
136
145
|
*/
|
|
137
146
|
summary?: pulumi.Input<string>;
|
|
138
147
|
}
|
|
@@ -141,27 +150,29 @@ export interface RegistryEnterpriseRepoState {
|
|
|
141
150
|
*/
|
|
142
151
|
export interface RegistryEnterpriseRepoArgs {
|
|
143
152
|
/**
|
|
144
|
-
* The
|
|
153
|
+
* The description of the repository.
|
|
145
154
|
*/
|
|
146
155
|
detail?: pulumi.Input<string>;
|
|
147
156
|
/**
|
|
148
|
-
* ID of Container Registry Enterprise Edition instance.
|
|
157
|
+
* The ID of the Container Registry Enterprise Edition instance.
|
|
149
158
|
*/
|
|
150
159
|
instanceId: pulumi.Input<string>;
|
|
151
160
|
/**
|
|
152
|
-
*
|
|
161
|
+
* The name of the image repository.
|
|
153
162
|
*/
|
|
154
163
|
name?: pulumi.Input<string>;
|
|
155
164
|
/**
|
|
156
|
-
*
|
|
165
|
+
* The name of the namespace to which the image repository belongs.
|
|
157
166
|
*/
|
|
158
167
|
namespace: pulumi.Input<string>;
|
|
159
168
|
/**
|
|
160
|
-
*
|
|
169
|
+
* The type of the repository. Valid values:
|
|
170
|
+
* - `PUBLIC`: The repository is a public repository.
|
|
171
|
+
* - `PRIVATE`: The repository is a private repository.
|
|
161
172
|
*/
|
|
162
173
|
repoType: pulumi.Input<string>;
|
|
163
174
|
/**
|
|
164
|
-
* The
|
|
175
|
+
* The summary about the repository.
|
|
165
176
|
*/
|
|
166
177
|
summary: pulumi.Input<string>;
|
|
167
178
|
}
|
|
@@ -6,9 +6,9 @@ exports.RegistryEnterpriseRepo = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Provides a Container Registry Enterprise Edition Repository resource.
|
|
10
10
|
*
|
|
11
|
-
* For information about Container Registry Enterprise Edition
|
|
11
|
+
* For information about Container Registry Enterprise Edition Repository and how to use it, see [What is Repository](https://www.alibabacloud.com/help/en/acr/developer-reference/api-cr-2018-12-01-createrepository)
|
|
12
12
|
*
|
|
13
13
|
* > **NOTE:** Available since v1.86.0.
|
|
14
14
|
*
|
|
@@ -21,39 +21,44 @@ const utilities = require("../utilities");
|
|
|
21
21
|
* ```typescript
|
|
22
22
|
* import * as pulumi from "@pulumi/pulumi";
|
|
23
23
|
* import * as alicloud from "@pulumi/alicloud";
|
|
24
|
+
* import * as random from "@pulumi/random";
|
|
24
25
|
*
|
|
25
26
|
* const config = new pulumi.Config();
|
|
26
27
|
* const name = config.get("name") || "terraform-example";
|
|
27
|
-
* const
|
|
28
|
+
* const _default = new random.index.Integer("default", {
|
|
29
|
+
* min: 10000,
|
|
30
|
+
* max: 99999,
|
|
31
|
+
* });
|
|
32
|
+
* const defaultRegistryEnterpriseInstance = new alicloud.cr.RegistryEnterpriseInstance("default", {
|
|
28
33
|
* paymentType: "Subscription",
|
|
29
34
|
* period: 1,
|
|
30
35
|
* renewPeriod: 0,
|
|
31
36
|
* renewalStatus: "ManualRenewal",
|
|
32
37
|
* instanceType: "Advanced",
|
|
33
|
-
* instanceName: name
|
|
38
|
+
* instanceName: `${name}-${_default.result}`,
|
|
34
39
|
* });
|
|
35
|
-
* const
|
|
36
|
-
* instanceId:
|
|
37
|
-
* name: name
|
|
40
|
+
* const defaultRegistryEnterpriseNamespace = new alicloud.cs.RegistryEnterpriseNamespace("default", {
|
|
41
|
+
* instanceId: defaultRegistryEnterpriseInstance.id,
|
|
42
|
+
* name: `${name}-${_default.result}`,
|
|
38
43
|
* autoCreate: false,
|
|
39
44
|
* defaultVisibility: "PUBLIC",
|
|
40
45
|
* });
|
|
41
|
-
* const
|
|
42
|
-
* instanceId:
|
|
43
|
-
* namespace:
|
|
44
|
-
* name: name
|
|
45
|
-
* summary: "this is summary of my new repo",
|
|
46
|
+
* const example = new alicloud.cs.RegistryEnterpriseRepo("example", {
|
|
47
|
+
* instanceId: defaultRegistryEnterpriseInstance.id,
|
|
48
|
+
* namespace: defaultRegistryEnterpriseNamespace.name,
|
|
49
|
+
* name: `${name}-${_default.result}`,
|
|
46
50
|
* repoType: "PUBLIC",
|
|
51
|
+
* summary: "this is summary of my new repo",
|
|
47
52
|
* detail: "this is a public repo",
|
|
48
53
|
* });
|
|
49
54
|
* ```
|
|
50
55
|
*
|
|
51
56
|
* ## Import
|
|
52
57
|
*
|
|
53
|
-
* Container Registry Enterprise Edition
|
|
58
|
+
* Container Registry Enterprise Edition Repository can be imported using the id, e.g.
|
|
54
59
|
*
|
|
55
60
|
* ```sh
|
|
56
|
-
* $ pulumi import alicloud:cs/registryEnterpriseRepo:RegistryEnterpriseRepo
|
|
61
|
+
* $ pulumi import alicloud:cs/registryEnterpriseRepo:RegistryEnterpriseRepo example <instance_id>:<namespace>:<name>
|
|
57
62
|
* ```
|
|
58
63
|
*/
|
|
59
64
|
class RegistryEnterpriseRepo extends pulumi.CustomResource {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registryEnterpriseRepo.js","sourceRoot":"","sources":["../../cs/registryEnterpriseRepo.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"registryEnterpriseRepo.js","sourceRoot":"","sources":["../../cs/registryEnterpriseRepo.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AACH,MAAa,sBAAuB,SAAQ,MAAM,CAAC,cAAc;IAC7D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmC,EAAE,IAAmC;QACjI,OAAO,IAAI,sBAAsB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7E,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,GAA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