@pulumi/alicloud 3.55.1 → 3.55.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.
Files changed (42) hide show
  1. package/cs/edgeKubernetes.d.ts +13 -7
  2. package/cs/edgeKubernetes.js.map +1 -1
  3. package/cs/kubernetes.d.ts +15 -3
  4. package/cs/kubernetes.js +2 -0
  5. package/cs/kubernetes.js.map +1 -1
  6. package/cs/managedKubernetes.d.ts +3 -0
  7. package/cs/managedKubernetes.js +2 -0
  8. package/cs/managedKubernetes.js.map +1 -1
  9. package/ecs/ecsDeploymentSet.d.ts +4 -4
  10. package/ecs/ecsDeploymentSet.js +1 -1
  11. package/ecs/eip.d.ts +6 -0
  12. package/ecs/eip.js +4 -0
  13. package/ecs/eip.js.map +1 -1
  14. package/ecs/eipAddress.d.ts +33 -0
  15. package/ecs/eipAddress.js +4 -0
  16. package/ecs/eipAddress.js.map +1 -1
  17. package/ecs/instance.d.ts +57 -48
  18. package/ecs/instance.js +2 -0
  19. package/ecs/instance.js.map +1 -1
  20. package/ess/scalingGroup.d.ts +3 -3
  21. package/kms/instance.d.ts +59 -35
  22. package/kms/instance.js +4 -12
  23. package/kms/instance.js.map +1 -1
  24. package/message/serviceQueue.d.ts +40 -38
  25. package/message/serviceQueue.js +13 -17
  26. package/message/serviceQueue.js.map +1 -1
  27. package/nas/accessRule.d.ts +17 -8
  28. package/nas/accessRule.js +17 -8
  29. package/nas/accessRule.js.map +1 -1
  30. package/nas/autoSnapshotPolicy.d.ts +36 -13
  31. package/nas/autoSnapshotPolicy.js +20 -13
  32. package/nas/autoSnapshotPolicy.js.map +1 -1
  33. package/package.json +3 -2
  34. package/privatelink/vpcEndpoint.d.ts +48 -19
  35. package/privatelink/vpcEndpoint.js +33 -14
  36. package/privatelink/vpcEndpoint.js.map +1 -1
  37. package/simpleapplicationserver/snapshot.d.ts +6 -2
  38. package/simpleapplicationserver/snapshot.js +6 -2
  39. package/simpleapplicationserver/snapshot.js.map +1 -1
  40. package/types/input.d.ts +57 -9
  41. package/types/output.d.ts +57 -9
  42. package/package.json.bak +0 -26
@@ -1,8 +1,8 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * Provides a Message Notification Service Queue resource.
3
+ * Provides a Message Service Queue resource.
4
4
  *
5
- * For information about Message Notification Service Queue and how to use it, see [What is Queue](https://www.alibabacloud.com/help/en/message-service/latest/createqueue).
5
+ * For information about Message Service Queue and how to use it, see [What is Queue](https://www.alibabacloud.com/help/en/message-service/latest/createqueue).
6
6
  *
7
7
  * > **NOTE:** Available since v1.188.0.
8
8
  *
@@ -13,31 +13,25 @@ import * as pulumi from "@pulumi/pulumi";
13
13
  * ```typescript
14
14
  * import * as pulumi from "@pulumi/pulumi";
15
15
  * import * as alicloud from "@pulumi/alicloud";
16
- * import * as random from "@pulumi/random";
17
16
  *
18
17
  * const config = new pulumi.Config();
19
- * const name = config.get("name") || "tf-example";
20
- * const _default = new random.index.Integer("default", {
21
- * min: 10000,
22
- * max: 99999,
23
- * });
24
- * const queue = new alicloud.message.ServiceQueue("queue", {
25
- * queueName: `${name}-${_default.result}`,
26
- * delaySeconds: 60478,
27
- * maximumMessageSize: 12357,
28
- * messageRetentionPeriod: 256000,
18
+ * const name = config.get("name") || "terraform-example";
19
+ * const _default = new alicloud.message.ServiceQueue("default", {
20
+ * delaySeconds: 2,
21
+ * pollingWaitSeconds: 2,
22
+ * messageRetentionPeriod: 566,
23
+ * maximumMessageSize: 1123,
29
24
  * visibilityTimeout: 30,
30
- * pollingWaitSeconds: 3,
31
- * loggingEnabled: true,
25
+ * queueName: name,
32
26
  * });
33
27
  * ```
34
28
  *
35
29
  * ## Import
36
30
  *
37
- * Message Notification Service Queue can be imported using the id or queue_name, e.g.
31
+ * Message Service Queue can be imported using the id, e.g.
38
32
  *
39
33
  * ```sh
40
- * $ pulumi import alicloud:message/serviceQueue:ServiceQueue example <queue_name>
34
+ * $ pulumi import alicloud:message/serviceQueue:ServiceQueue example <id>
41
35
  * ```
42
36
  */
43
37
  export declare class ServiceQueue extends pulumi.CustomResource {
@@ -57,31 +51,35 @@ export declare class ServiceQueue extends pulumi.CustomResource {
57
51
  */
58
52
  static isInstance(obj: any): obj is ServiceQueue;
59
53
  /**
60
- * The delay period after which a message sent to the queue can be consumed. Unit: seconds. Valid values: 0-604800 seconds. Default value: 0.
54
+ * Represents the time when the Queue was created.
55
+ */
56
+ readonly createTime: pulumi.Output<number>;
57
+ /**
58
+ * This means that messages sent to the queue can only be consumed after the delay time set by this parameter, in seconds.
61
59
  */
62
60
  readonly delaySeconds: pulumi.Output<number>;
63
61
  /**
64
- * Specifies whether to enable the log management feature. Default value: false. Valid values:
62
+ * Represents whether the log management function is enabled.
65
63
  */
66
64
  readonly loggingEnabled: pulumi.Output<boolean | undefined>;
67
65
  /**
68
- * The maximum size of a message body that can be sent to the queue. Unit: bytes. Valid value range: 1024-65536. Default value: 65536.
66
+ * Represents the maximum length of the message body sent to the Queue, in Byte.
69
67
  */
70
68
  readonly maximumMessageSize: pulumi.Output<number>;
71
69
  /**
72
- * The maximum period for which a message can be retained in the queue. After the specified period, the message is deleted no matter whether the message is consumed. Unit: seconds. Valid values: 60-604800. Default value: 345600.
70
+ * Represents the longest life time of the message in the Queue.
73
71
  */
74
72
  readonly messageRetentionPeriod: pulumi.Output<number>;
75
73
  /**
76
- * The maximum period for which a ReceiveMessage request waits if no message is available in the queue. Unit: seconds. Valid values: 0-30. Default value: 0.
74
+ * The longest waiting time for a Queue request when the number of messages is empty, in seconds.
77
75
  */
78
76
  readonly pollingWaitSeconds: pulumi.Output<number>;
79
77
  /**
80
- * Two queues on a single account in the same region cannot have the same name. A queue name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 120 characters.
78
+ * Representative resources.
81
79
  */
82
80
  readonly queueName: pulumi.Output<string>;
83
81
  /**
84
- * The invisibility period for which the received message remains the Inactive state. Unit: seconds. Valid values: 1-43200. Default value: 30.
82
+ * Represents the duration after the message is removed from the Queue and changed from the Active state to the Inactive state.
85
83
  */
86
84
  readonly visibilityTimeout: pulumi.Output<number>;
87
85
  /**
@@ -98,31 +96,35 @@ export declare class ServiceQueue extends pulumi.CustomResource {
98
96
  */
99
97
  export interface ServiceQueueState {
100
98
  /**
101
- * The delay period after which a message sent to the queue can be consumed. Unit: seconds. Valid values: 0-604800 seconds. Default value: 0.
99
+ * Represents the time when the Queue was created.
100
+ */
101
+ createTime?: pulumi.Input<number>;
102
+ /**
103
+ * This means that messages sent to the queue can only be consumed after the delay time set by this parameter, in seconds.
102
104
  */
103
105
  delaySeconds?: pulumi.Input<number>;
104
106
  /**
105
- * Specifies whether to enable the log management feature. Default value: false. Valid values:
107
+ * Represents whether the log management function is enabled.
106
108
  */
107
109
  loggingEnabled?: pulumi.Input<boolean>;
108
110
  /**
109
- * The maximum size of a message body that can be sent to the queue. Unit: bytes. Valid value range: 1024-65536. Default value: 65536.
111
+ * Represents the maximum length of the message body sent to the Queue, in Byte.
110
112
  */
111
113
  maximumMessageSize?: pulumi.Input<number>;
112
114
  /**
113
- * The maximum period for which a message can be retained in the queue. After the specified period, the message is deleted no matter whether the message is consumed. Unit: seconds. Valid values: 60-604800. Default value: 345600.
115
+ * Represents the longest life time of the message in the Queue.
114
116
  */
115
117
  messageRetentionPeriod?: pulumi.Input<number>;
116
118
  /**
117
- * The maximum period for which a ReceiveMessage request waits if no message is available in the queue. Unit: seconds. Valid values: 0-30. Default value: 0.
119
+ * The longest waiting time for a Queue request when the number of messages is empty, in seconds.
118
120
  */
119
121
  pollingWaitSeconds?: pulumi.Input<number>;
120
122
  /**
121
- * Two queues on a single account in the same region cannot have the same name. A queue name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 120 characters.
123
+ * Representative resources.
122
124
  */
123
125
  queueName?: pulumi.Input<string>;
124
126
  /**
125
- * The invisibility period for which the received message remains the Inactive state. Unit: seconds. Valid values: 1-43200. Default value: 30.
127
+ * Represents the duration after the message is removed from the Queue and changed from the Active state to the Inactive state.
126
128
  */
127
129
  visibilityTimeout?: pulumi.Input<number>;
128
130
  }
@@ -131,31 +133,31 @@ export interface ServiceQueueState {
131
133
  */
132
134
  export interface ServiceQueueArgs {
133
135
  /**
134
- * The delay period after which a message sent to the queue can be consumed. Unit: seconds. Valid values: 0-604800 seconds. Default value: 0.
136
+ * This means that messages sent to the queue can only be consumed after the delay time set by this parameter, in seconds.
135
137
  */
136
138
  delaySeconds?: pulumi.Input<number>;
137
139
  /**
138
- * Specifies whether to enable the log management feature. Default value: false. Valid values:
140
+ * Represents whether the log management function is enabled.
139
141
  */
140
142
  loggingEnabled?: pulumi.Input<boolean>;
141
143
  /**
142
- * The maximum size of a message body that can be sent to the queue. Unit: bytes. Valid value range: 1024-65536. Default value: 65536.
144
+ * Represents the maximum length of the message body sent to the Queue, in Byte.
143
145
  */
144
146
  maximumMessageSize?: pulumi.Input<number>;
145
147
  /**
146
- * The maximum period for which a message can be retained in the queue. After the specified period, the message is deleted no matter whether the message is consumed. Unit: seconds. Valid values: 60-604800. Default value: 345600.
148
+ * Represents the longest life time of the message in the Queue.
147
149
  */
148
150
  messageRetentionPeriod?: pulumi.Input<number>;
149
151
  /**
150
- * The maximum period for which a ReceiveMessage request waits if no message is available in the queue. Unit: seconds. Valid values: 0-30. Default value: 0.
152
+ * The longest waiting time for a Queue request when the number of messages is empty, in seconds.
151
153
  */
152
154
  pollingWaitSeconds?: pulumi.Input<number>;
153
155
  /**
154
- * Two queues on a single account in the same region cannot have the same name. A queue name must start with an English letter or a digit, and can contain English letters, digits, and hyphens, with the length not exceeding 120 characters.
156
+ * Representative resources.
155
157
  */
156
158
  queueName: pulumi.Input<string>;
157
159
  /**
158
- * The invisibility period for which the received message remains the Inactive state. Unit: seconds. Valid values: 1-43200. Default value: 30.
160
+ * Represents the duration after the message is removed from the Queue and changed from the Active state to the Inactive state.
159
161
  */
160
162
  visibilityTimeout?: pulumi.Input<number>;
161
163
  }
@@ -6,9 +6,9 @@ exports.ServiceQueue = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
- * Provides a Message Notification Service Queue resource.
9
+ * Provides a Message Service Queue resource.
10
10
  *
11
- * For information about Message Notification Service Queue and how to use it, see [What is Queue](https://www.alibabacloud.com/help/en/message-service/latest/createqueue).
11
+ * For information about Message Service Queue and how to use it, see [What is Queue](https://www.alibabacloud.com/help/en/message-service/latest/createqueue).
12
12
  *
13
13
  * > **NOTE:** Available since v1.188.0.
14
14
  *
@@ -19,31 +19,25 @@ const utilities = require("../utilities");
19
19
  * ```typescript
20
20
  * import * as pulumi from "@pulumi/pulumi";
21
21
  * import * as alicloud from "@pulumi/alicloud";
22
- * import * as random from "@pulumi/random";
23
22
  *
24
23
  * const config = new pulumi.Config();
25
- * const name = config.get("name") || "tf-example";
26
- * const _default = new random.index.Integer("default", {
27
- * min: 10000,
28
- * max: 99999,
29
- * });
30
- * const queue = new alicloud.message.ServiceQueue("queue", {
31
- * queueName: `${name}-${_default.result}`,
32
- * delaySeconds: 60478,
33
- * maximumMessageSize: 12357,
34
- * messageRetentionPeriod: 256000,
24
+ * const name = config.get("name") || "terraform-example";
25
+ * const _default = new alicloud.message.ServiceQueue("default", {
26
+ * delaySeconds: 2,
27
+ * pollingWaitSeconds: 2,
28
+ * messageRetentionPeriod: 566,
29
+ * maximumMessageSize: 1123,
35
30
  * visibilityTimeout: 30,
36
- * pollingWaitSeconds: 3,
37
- * loggingEnabled: true,
31
+ * queueName: name,
38
32
  * });
39
33
  * ```
40
34
  *
41
35
  * ## Import
42
36
  *
43
- * Message Notification Service Queue can be imported using the id or queue_name, e.g.
37
+ * Message Service Queue can be imported using the id, e.g.
44
38
  *
45
39
  * ```sh
46
- * $ pulumi import alicloud:message/serviceQueue:ServiceQueue example <queue_name>
40
+ * $ pulumi import alicloud:message/serviceQueue:ServiceQueue example <id>
47
41
  * ```
48
42
  */
49
43
  class ServiceQueue extends pulumi.CustomResource {
@@ -74,6 +68,7 @@ class ServiceQueue extends pulumi.CustomResource {
74
68
  opts = opts || {};
75
69
  if (opts.id) {
76
70
  const state = argsOrState;
71
+ resourceInputs["createTime"] = state ? state.createTime : undefined;
77
72
  resourceInputs["delaySeconds"] = state ? state.delaySeconds : undefined;
78
73
  resourceInputs["loggingEnabled"] = state ? state.loggingEnabled : undefined;
79
74
  resourceInputs["maximumMessageSize"] = state ? state.maximumMessageSize : undefined;
@@ -94,6 +89,7 @@ class ServiceQueue extends pulumi.CustomResource {
94
89
  resourceInputs["pollingWaitSeconds"] = args ? args.pollingWaitSeconds : undefined;
95
90
  resourceInputs["queueName"] = args ? args.queueName : undefined;
96
91
  resourceInputs["visibilityTimeout"] = args ? args.visibilityTimeout : undefined;
92
+ resourceInputs["createTime"] = undefined /*out*/;
97
93
  }
98
94
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
99
95
  super(ServiceQueue.__pulumiType, name, resourceInputs, opts);
@@ -1 +1 @@
1
- {"version":3,"file":"serviceQueue.js","sourceRoot":"","sources":["../../message/serviceQueue.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,C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,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AAlGL,oCAmGC;AArFG,gBAAgB;AACO,yBAAY,GAAG,4CAA4C,CAAC"}
@@ -13,18 +13,27 @@ import * as pulumi from "@pulumi/pulumi";
13
13
  * ```typescript
14
14
  * import * as pulumi from "@pulumi/pulumi";
15
15
  * import * as alicloud from "@pulumi/alicloud";
16
+ * import * as random from "@pulumi/random";
16
17
  *
17
- * const foo = new alicloud.nas.AccessGroup("foo", {
18
- * accessGroupName: "tf-NasConfigName",
18
+ * const config = new pulumi.Config();
19
+ * const name = config.get("name") || "terraform-example";
20
+ * const _default = new random.index.Integer("default", {
21
+ * min: 10000,
22
+ * max: 99999,
23
+ * });
24
+ * const defaultAccessGroup = new alicloud.nas.AccessGroup("default", {
19
25
  * accessGroupType: "Vpc",
20
- * description: "tf-testAccNasConfig",
26
+ * description: "ExtremeAccessGroup",
27
+ * accessGroupName: `terraform-example-${_default.result}`,
28
+ * fileSystemType: "extreme",
21
29
  * });
22
- * const fooAccessRule = new alicloud.nas.AccessRule("foo", {
23
- * accessGroupName: foo.accessGroupName,
24
- * sourceCidrIp: "168.1.1.0/16",
25
- * rwAccessType: "RDWR",
30
+ * const defaultAccessRule = new alicloud.nas.AccessRule("default", {
31
+ * accessGroupName: defaultAccessGroup.accessGroupName,
32
+ * rwAccessType: "RDONLY",
33
+ * ipv6SourceCidrIp: "::1",
26
34
  * userAccessType: "no_squash",
27
- * priority: 2,
35
+ * priority: 1,
36
+ * fileSystemType: "extreme",
28
37
  * });
29
38
  * ```
30
39
  *
package/nas/accessRule.js CHANGED
@@ -19,18 +19,27 @@ const utilities = require("../utilities");
19
19
  * ```typescript
20
20
  * import * as pulumi from "@pulumi/pulumi";
21
21
  * import * as alicloud from "@pulumi/alicloud";
22
+ * import * as random from "@pulumi/random";
22
23
  *
23
- * const foo = new alicloud.nas.AccessGroup("foo", {
24
- * accessGroupName: "tf-NasConfigName",
24
+ * const config = new pulumi.Config();
25
+ * const name = config.get("name") || "terraform-example";
26
+ * const _default = new random.index.Integer("default", {
27
+ * min: 10000,
28
+ * max: 99999,
29
+ * });
30
+ * const defaultAccessGroup = new alicloud.nas.AccessGroup("default", {
25
31
  * accessGroupType: "Vpc",
26
- * description: "tf-testAccNasConfig",
32
+ * description: "ExtremeAccessGroup",
33
+ * accessGroupName: `terraform-example-${_default.result}`,
34
+ * fileSystemType: "extreme",
27
35
  * });
28
- * const fooAccessRule = new alicloud.nas.AccessRule("foo", {
29
- * accessGroupName: foo.accessGroupName,
30
- * sourceCidrIp: "168.1.1.0/16",
31
- * rwAccessType: "RDWR",
36
+ * const defaultAccessRule = new alicloud.nas.AccessRule("default", {
37
+ * accessGroupName: defaultAccessGroup.accessGroupName,
38
+ * rwAccessType: "RDONLY",
39
+ * ipv6SourceCidrIp: "::1",
32
40
  * userAccessType: "no_squash",
33
- * priority: 2,
41
+ * priority: 1,
42
+ * fileSystemType: "extreme",
34
43
  * });
35
44
  * ```
36
45
  *
@@ -1 +1 @@
1
- {"version":3,"file":"accessRule.js","sourceRoot":"","sources":["../../nas/accessRule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EA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AS,CAAC;YAC1E,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACtD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AAlGL,gCAmGC;AArFG,gBAAgB;AACO,uBAAY,GAAG,oCAAoC,CAAC"}
@@ -1,10 +1,10 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * Provides a Network Attached Storage (NAS) Auto Snapshot Policy resource.
3
+ * Provides a NAS Auto Snapshot Policy resource. Automatic snapshot policy.
4
4
  *
5
- * For information about Network Attached Storage (NAS) Auto Snapshot Policy and how to use it, see [What is Auto Snapshot Policy](https://www.alibabacloud.com/help/en/doc-detail/135662.html).
5
+ * For information about NAS Auto Snapshot Policy and how to use it, see [What is Auto Snapshot Policy](https://www.alibabacloud.com/help/en/doc-detail/135662.html)).
6
6
  *
7
- * > **NOTE:** Available in v1.153.0+.
7
+ * > **NOTE:** Available since v1.153.0.
8
8
  *
9
9
  * ## Example Usage
10
10
  *
@@ -14,25 +14,28 @@ import * as pulumi from "@pulumi/pulumi";
14
14
  * import * as pulumi from "@pulumi/pulumi";
15
15
  * import * as alicloud from "@pulumi/alicloud";
16
16
  *
17
- * const example = new alicloud.nas.AutoSnapshotPolicy("example", {
18
- * autoSnapshotPolicyName: "example_value",
19
- * repeatWeekdays: [
20
- * "3",
21
- * "4",
22
- * "5",
23
- * ],
24
- * retentionDays: 30,
17
+ * const config = new pulumi.Config();
18
+ * const name = config.get("name") || "terraform-example";
19
+ * const _default = new alicloud.nas.AutoSnapshotPolicy("default", {
25
20
  * timePoints: [
21
+ * "0",
22
+ * "1",
23
+ * "2",
24
+ * ],
25
+ * retentionDays: 1,
26
+ * repeatWeekdays: [
27
+ * "2",
26
28
  * "3",
27
29
  * "4",
28
- * "5",
29
30
  * ],
31
+ * autoSnapshotPolicyName: name,
32
+ * fileSystemType: "extreme",
30
33
  * });
31
34
  * ```
32
35
  *
33
36
  * ## Import
34
37
  *
35
- * Network Attached Storage (NAS) Auto Snapshot Policy can be imported using the id, e.g.
38
+ * NAS Auto Snapshot Policy can be imported using the id, e.g.
36
39
  *
37
40
  * ```sh
38
41
  * $ pulumi import alicloud:nas/autoSnapshotPolicy:AutoSnapshotPolicy example <id>
@@ -62,6 +65,14 @@ export declare class AutoSnapshotPolicy extends pulumi.CustomResource {
62
65
  * - The value of this parameter is empty by default.
63
66
  */
64
67
  readonly autoSnapshotPolicyName: pulumi.Output<string | undefined>;
68
+ /**
69
+ * Creation time.
70
+ */
71
+ readonly createTime: pulumi.Output<string>;
72
+ /**
73
+ * The file system type.
74
+ */
75
+ readonly fileSystemType: pulumi.Output<string>;
65
76
  /**
66
77
  * The day on which an auto snapshot is created.
67
78
  * - A maximum of 7 time points can be selected.
@@ -104,6 +115,14 @@ export interface AutoSnapshotPolicyState {
104
115
  * - The value of this parameter is empty by default.
105
116
  */
106
117
  autoSnapshotPolicyName?: pulumi.Input<string>;
118
+ /**
119
+ * Creation time.
120
+ */
121
+ createTime?: pulumi.Input<string>;
122
+ /**
123
+ * The file system type.
124
+ */
125
+ fileSystemType?: pulumi.Input<string>;
107
126
  /**
108
127
  * The day on which an auto snapshot is created.
109
128
  * - A maximum of 7 time points can be selected.
@@ -138,6 +157,10 @@ export interface AutoSnapshotPolicyArgs {
138
157
  * - The value of this parameter is empty by default.
139
158
  */
140
159
  autoSnapshotPolicyName?: pulumi.Input<string>;
160
+ /**
161
+ * The file system type.
162
+ */
163
+ fileSystemType?: pulumi.Input<string>;
141
164
  /**
142
165
  * The day on which an auto snapshot is created.
143
166
  * - A maximum of 7 time points can be selected.
@@ -6,11 +6,11 @@ exports.AutoSnapshotPolicy = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
- * Provides a Network Attached Storage (NAS) Auto Snapshot Policy resource.
9
+ * Provides a NAS Auto Snapshot Policy resource. Automatic snapshot policy.
10
10
  *
11
- * For information about Network Attached Storage (NAS) Auto Snapshot Policy and how to use it, see [What is Auto Snapshot Policy](https://www.alibabacloud.com/help/en/doc-detail/135662.html).
11
+ * For information about NAS Auto Snapshot Policy and how to use it, see [What is Auto Snapshot Policy](https://www.alibabacloud.com/help/en/doc-detail/135662.html)).
12
12
  *
13
- * > **NOTE:** Available in v1.153.0+.
13
+ * > **NOTE:** Available since v1.153.0.
14
14
  *
15
15
  * ## Example Usage
16
16
  *
@@ -20,25 +20,28 @@ const utilities = require("../utilities");
20
20
  * import * as pulumi from "@pulumi/pulumi";
21
21
  * import * as alicloud from "@pulumi/alicloud";
22
22
  *
23
- * const example = new alicloud.nas.AutoSnapshotPolicy("example", {
24
- * autoSnapshotPolicyName: "example_value",
25
- * repeatWeekdays: [
26
- * "3",
27
- * "4",
28
- * "5",
29
- * ],
30
- * retentionDays: 30,
23
+ * const config = new pulumi.Config();
24
+ * const name = config.get("name") || "terraform-example";
25
+ * const _default = new alicloud.nas.AutoSnapshotPolicy("default", {
31
26
  * timePoints: [
27
+ * "0",
28
+ * "1",
29
+ * "2",
30
+ * ],
31
+ * retentionDays: 1,
32
+ * repeatWeekdays: [
33
+ * "2",
32
34
  * "3",
33
35
  * "4",
34
- * "5",
35
36
  * ],
37
+ * autoSnapshotPolicyName: name,
38
+ * fileSystemType: "extreme",
36
39
  * });
37
40
  * ```
38
41
  *
39
42
  * ## Import
40
43
  *
41
- * Network Attached Storage (NAS) Auto Snapshot Policy can be imported using the id, e.g.
44
+ * NAS Auto Snapshot Policy can be imported using the id, e.g.
42
45
  *
43
46
  * ```sh
44
47
  * $ pulumi import alicloud:nas/autoSnapshotPolicy:AutoSnapshotPolicy example <id>
@@ -73,6 +76,8 @@ class AutoSnapshotPolicy extends pulumi.CustomResource {
73
76
  if (opts.id) {
74
77
  const state = argsOrState;
75
78
  resourceInputs["autoSnapshotPolicyName"] = state ? state.autoSnapshotPolicyName : undefined;
79
+ resourceInputs["createTime"] = state ? state.createTime : undefined;
80
+ resourceInputs["fileSystemType"] = state ? state.fileSystemType : undefined;
76
81
  resourceInputs["repeatWeekdays"] = state ? state.repeatWeekdays : undefined;
77
82
  resourceInputs["retentionDays"] = state ? state.retentionDays : undefined;
78
83
  resourceInputs["status"] = state ? state.status : undefined;
@@ -87,9 +92,11 @@ class AutoSnapshotPolicy extends pulumi.CustomResource {
87
92
  throw new Error("Missing required property 'timePoints'");
88
93
  }
89
94
  resourceInputs["autoSnapshotPolicyName"] = args ? args.autoSnapshotPolicyName : undefined;
95
+ resourceInputs["fileSystemType"] = args ? args.fileSystemType : undefined;
90
96
  resourceInputs["repeatWeekdays"] = args ? args.repeatWeekdays : undefined;
91
97
  resourceInputs["retentionDays"] = args ? args.retentionDays : undefined;
92
98
  resourceInputs["timePoints"] = args ? args.timePoints : undefined;
99
+ resourceInputs["createTime"] = undefined /*out*/;
93
100
  resourceInputs["status"] = undefined /*out*/;
94
101
  }
95
102
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
@@ -1 +1 @@
1
- {"version":3,"file":"autoSnapshotPolicy.js","sourceRoot":"","sources":["../../nas/autoSnapshotPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;IAwCD,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkD,CAAC;YACjE,cAAc,CAAC,wBAAwB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5F,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CA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c,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AAxGL,gDAyGC;AA3FG,gBAAgB;AACO,+BAAY,GAAG,oDAAoD,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/alicloud",
3
- "version": "v3.55.1",
3
+ "version": "3.55.2",
4
4
  "description": "A Pulumi package for creating and managing AliCloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -21,6 +21,7 @@
21
21
  },
22
22
  "pulumi": {
23
23
  "resource": true,
24
- "name": "alicloud"
24
+ "name": "alicloud",
25
+ "version": "3.55.2"
25
26
  }
26
27
  }