@pulumi/gcp 10.2.0-alpha.1792516795 → 10.2.0

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 (190) hide show
  1. package/artifactregistry/getMavenArtifact.d.ts +44 -0
  2. package/artifactregistry/getMavenArtifact.d.ts.map +1 -1
  3. package/artifactregistry/getMavenArtifact.js +44 -0
  4. package/artifactregistry/getMavenArtifact.js.map +1 -1
  5. package/artifactregistry/getTag.d.ts +24 -0
  6. package/artifactregistry/getTag.d.ts.map +1 -1
  7. package/artifactregistry/getTag.js +24 -0
  8. package/artifactregistry/getTag.js.map +1 -1
  9. package/artifactregistry/getVersion.d.ts +24 -0
  10. package/artifactregistry/getVersion.d.ts.map +1 -1
  11. package/artifactregistry/getVersion.js +24 -0
  12. package/artifactregistry/getVersion.js.map +1 -1
  13. package/backupdisasterrecovery/autoProtectionPolicy.d.ts +346 -0
  14. package/backupdisasterrecovery/autoProtectionPolicy.d.ts.map +1 -0
  15. package/backupdisasterrecovery/autoProtectionPolicy.js +239 -0
  16. package/backupdisasterrecovery/autoProtectionPolicy.js.map +1 -0
  17. package/backupdisasterrecovery/index.d.ts +3 -0
  18. package/backupdisasterrecovery/index.d.ts.map +1 -1
  19. package/backupdisasterrecovery/index.js +6 -1
  20. package/backupdisasterrecovery/index.js.map +1 -1
  21. package/bigqueryanalyticshub/queryTemplate.d.ts +71 -0
  22. package/bigqueryanalyticshub/queryTemplate.d.ts.map +1 -1
  23. package/bigqueryanalyticshub/queryTemplate.js +52 -0
  24. package/bigqueryanalyticshub/queryTemplate.js.map +1 -1
  25. package/ces/agent.d.ts +1 -0
  26. package/ces/agent.d.ts.map +1 -1
  27. package/ces/agent.js +1 -0
  28. package/ces/agent.js.map +1 -1
  29. package/cloudrunv2/getJob.d.ts +1 -0
  30. package/cloudrunv2/getJob.d.ts.map +1 -1
  31. package/cloudrunv2/getJob.js.map +1 -1
  32. package/cloudrunv2/getService.d.ts +1 -0
  33. package/cloudrunv2/getService.d.ts.map +1 -1
  34. package/cloudrunv2/getService.js.map +1 -1
  35. package/cloudrunv2/job.d.ts +57 -0
  36. package/cloudrunv2/job.d.ts.map +1 -1
  37. package/cloudrunv2/job.js +26 -0
  38. package/cloudrunv2/job.js.map +1 -1
  39. package/cloudrunv2/service.d.ts +73 -0
  40. package/cloudrunv2/service.d.ts.map +1 -1
  41. package/cloudrunv2/service.js +45 -0
  42. package/cloudrunv2/service.js.map +1 -1
  43. package/compute/backendService.d.ts +36 -0
  44. package/compute/backendService.d.ts.map +1 -1
  45. package/compute/backendService.js +36 -0
  46. package/compute/backendService.js.map +1 -1
  47. package/compute/getRegionDisk.d.ts +40 -0
  48. package/compute/getRegionDisk.d.ts.map +1 -1
  49. package/compute/getRegionDisk.js +40 -0
  50. package/compute/getRegionDisk.js.map +1 -1
  51. package/compute/index.d.ts +6 -0
  52. package/compute/index.d.ts.map +1 -1
  53. package/compute/index.js +13 -3
  54. package/compute/index.js.map +1 -1
  55. package/compute/instanceFromMachineImage.d.ts +6 -0
  56. package/compute/instanceFromMachineImage.d.ts.map +1 -1
  57. package/compute/instanceFromMachineImage.js.map +1 -1
  58. package/compute/instanceTemplate.d.ts +3 -3
  59. package/compute/organizationSnapshotRecycleBinPolicy.d.ts +166 -0
  60. package/compute/organizationSnapshotRecycleBinPolicy.d.ts.map +1 -0
  61. package/compute/organizationSnapshotRecycleBinPolicy.js +152 -0
  62. package/compute/organizationSnapshotRecycleBinPolicy.js.map +1 -0
  63. package/compute/regionDisk.d.ts +6 -0
  64. package/compute/regionDisk.d.ts.map +1 -1
  65. package/compute/regionDisk.js.map +1 -1
  66. package/compute/regionInstanceTemplate.d.ts +3 -3
  67. package/compute/regionSslCertificate.d.ts +3 -3
  68. package/compute/snapshot.d.ts +6 -0
  69. package/compute/snapshot.d.ts.map +1 -1
  70. package/compute/snapshot.js.map +1 -1
  71. package/compute/snapshotRecycleBinPolicy.d.ts +160 -0
  72. package/compute/snapshotRecycleBinPolicy.d.ts.map +1 -0
  73. package/compute/snapshotRecycleBinPolicy.js +140 -0
  74. package/compute/snapshotRecycleBinPolicy.js.map +1 -0
  75. package/compute/sslcertificate.d.ts +3 -3
  76. package/compute/subnetwork.d.ts +24 -9
  77. package/compute/subnetwork.d.ts.map +1 -1
  78. package/compute/subnetwork.js.map +1 -1
  79. package/compute/urlmap.d.ts +185 -0
  80. package/compute/urlmap.d.ts.map +1 -1
  81. package/compute/urlmap.js +185 -0
  82. package/compute/urlmap.js.map +1 -1
  83. package/config/vars.d.ts +1 -0
  84. package/config/vars.d.ts.map +1 -1
  85. package/config/vars.js +6 -0
  86. package/config/vars.js.map +1 -1
  87. package/container/nodePool.d.ts +21 -9
  88. package/container/nodePool.d.ts.map +1 -1
  89. package/container/nodePool.js +2 -0
  90. package/container/nodePool.js.map +1 -1
  91. package/diagflow/generator.d.ts +107 -3
  92. package/diagflow/generator.d.ts.map +1 -1
  93. package/diagflow/generator.js +69 -4
  94. package/diagflow/generator.js.map +1 -1
  95. package/gemini/dataAnalyticsDataAgent.d.ts +456 -0
  96. package/gemini/dataAnalyticsDataAgent.d.ts.map +1 -0
  97. package/gemini/dataAnalyticsDataAgent.js +300 -0
  98. package/gemini/dataAnalyticsDataAgent.js.map +1 -0
  99. package/gemini/dataAnalyticsDataAgentIamBinding.d.ts +324 -0
  100. package/gemini/dataAnalyticsDataAgentIamBinding.d.ts.map +1 -0
  101. package/gemini/dataAnalyticsDataAgentIamBinding.js +259 -0
  102. package/gemini/dataAnalyticsDataAgentIamBinding.js.map +1 -0
  103. package/gemini/dataAnalyticsDataAgentIamMember.d.ts +324 -0
  104. package/gemini/dataAnalyticsDataAgentIamMember.d.ts.map +1 -0
  105. package/gemini/dataAnalyticsDataAgentIamMember.js +259 -0
  106. package/gemini/dataAnalyticsDataAgentIamMember.js.map +1 -0
  107. package/gemini/dataAnalyticsDataAgentIamPolicy.d.ts +271 -0
  108. package/gemini/dataAnalyticsDataAgentIamPolicy.d.ts.map +1 -0
  109. package/gemini/dataAnalyticsDataAgentIamPolicy.js +252 -0
  110. package/gemini/dataAnalyticsDataAgentIamPolicy.js.map +1 -0
  111. package/gemini/getDataAnalyticsDataAgentIamPolicy.d.ts +97 -0
  112. package/gemini/getDataAnalyticsDataAgentIamPolicy.d.ts.map +1 -0
  113. package/gemini/getDataAnalyticsDataAgentIamPolicy.js +81 -0
  114. package/gemini/getDataAnalyticsDataAgentIamPolicy.js.map +1 -0
  115. package/gemini/index.d.ts +15 -0
  116. package/gemini/index.d.ts.map +1 -1
  117. package/gemini/index.js +24 -1
  118. package/gemini/index.js.map +1 -1
  119. package/looker/instance.d.ts +4 -0
  120. package/looker/instance.d.ts.map +1 -1
  121. package/looker/instance.js +4 -0
  122. package/looker/instance.js.map +1 -1
  123. package/lustre/getInstance.d.ts +20 -0
  124. package/lustre/getInstance.d.ts.map +1 -1
  125. package/lustre/getInstance.js +20 -0
  126. package/lustre/getInstance.js.map +1 -1
  127. package/modelarmor/template.d.ts +5 -1
  128. package/modelarmor/template.d.ts.map +1 -1
  129. package/modelarmor/template.js +5 -1
  130. package/modelarmor/template.js.map +1 -1
  131. package/networkconnectivity/hub.d.ts +37 -0
  132. package/networkconnectivity/hub.d.ts.map +1 -1
  133. package/networkconnectivity/hub.js +18 -0
  134. package/networkconnectivity/hub.js.map +1 -1
  135. package/networksecurity/firewallEndpoint.d.ts +19 -1
  136. package/networksecurity/firewallEndpoint.d.ts.map +1 -1
  137. package/networksecurity/firewallEndpoint.js +2 -0
  138. package/networksecurity/firewallEndpoint.js.map +1 -1
  139. package/networksecurity/securityProfileGroup.d.ts +51 -0
  140. package/networksecurity/securityProfileGroup.d.ts.map +1 -1
  141. package/networksecurity/securityProfileGroup.js +38 -0
  142. package/networksecurity/securityProfileGroup.js.map +1 -1
  143. package/networkservices/agentConnectivityTemplate.d.ts +37 -0
  144. package/networkservices/agentConnectivityTemplate.d.ts.map +1 -1
  145. package/networkservices/agentConnectivityTemplate.js +8 -0
  146. package/networkservices/agentConnectivityTemplate.js.map +1 -1
  147. package/oracledatabase/cloudVmCluster.d.ts +2 -0
  148. package/oracledatabase/cloudVmCluster.d.ts.map +1 -1
  149. package/oracledatabase/cloudVmCluster.js +2 -0
  150. package/oracledatabase/cloudVmCluster.js.map +1 -1
  151. package/organizations/getClientConfig.d.ts +22 -0
  152. package/organizations/getClientConfig.d.ts.map +1 -1
  153. package/organizations/getClientConfig.js +22 -0
  154. package/organizations/getClientConfig.js.map +1 -1
  155. package/organizations/getClientOpenIdUserInfo.d.ts +54 -0
  156. package/organizations/getClientOpenIdUserInfo.d.ts.map +1 -1
  157. package/organizations/getClientOpenIdUserInfo.js +54 -0
  158. package/organizations/getClientOpenIdUserInfo.js.map +1 -1
  159. package/package.json +2 -2
  160. package/provider.d.ts +2 -0
  161. package/provider.d.ts.map +1 -1
  162. package/provider.js +1 -0
  163. package/provider.js.map +1 -1
  164. package/saasruntime/release.d.ts +2 -2
  165. package/saasruntime/release.js +2 -2
  166. package/saasruntime/unitKind.d.ts +1 -1
  167. package/saasruntime/unitKind.js +1 -1
  168. package/saasruntime/unitOperation.d.ts +8 -1
  169. package/saasruntime/unitOperation.d.ts.map +1 -1
  170. package/saasruntime/unitOperation.js +8 -1
  171. package/saasruntime/unitOperation.js.map +1 -1
  172. package/sql/databaseInstance.d.ts +54 -0
  173. package/sql/databaseInstance.d.ts.map +1 -1
  174. package/sql/databaseInstance.js +41 -0
  175. package/sql/databaseInstance.js.map +1 -1
  176. package/sql/getDatabaseInstance.d.ts +1 -0
  177. package/sql/getDatabaseInstance.d.ts.map +1 -1
  178. package/sql/getDatabaseInstance.js.map +1 -1
  179. package/types/input.d.ts +1553 -30
  180. package/types/input.d.ts.map +1 -1
  181. package/types/output.d.ts +1744 -33
  182. package/types/output.d.ts.map +1 -1
  183. package/vertex/aiOnlineEvaluator.d.ts +440 -0
  184. package/vertex/aiOnlineEvaluator.d.ts.map +1 -0
  185. package/vertex/aiOnlineEvaluator.js +288 -0
  186. package/vertex/aiOnlineEvaluator.js.map +1 -0
  187. package/vertex/index.d.ts +3 -0
  188. package/vertex/index.d.ts.map +1 -1
  189. package/vertex/index.js +7 -2
  190. package/vertex/index.js.map +1 -1
@@ -3,6 +3,28 @@ import * as pulumi from "@pulumi/pulumi";
3
3
  * This data source fetches information from a provided Artifact Registry repository, based on a the latest version of the artifact and optional version.
4
4
  *
5
5
  * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as gcp from "@pulumi/gcp";
10
+ *
11
+ * const mavenRepo = new gcp.artifactregistry.Repository("maven_repo", {
12
+ * location: "us-central1",
13
+ * repositoryId: "my-maven-repo",
14
+ * format: "MAVEN",
15
+ * });
16
+ * const latest = gcp.artifactregistry.getMavenArtifactOutput({
17
+ * location: mavenRepo.location,
18
+ * repositoryId: mavenRepo.repositoryId,
19
+ * groupId: "com.example",
20
+ * artifactId: "my-artifact",
21
+ * });
22
+ * const withVersion = gcp.artifactregistry.getMavenArtifactOutput({
23
+ * location: mavenRepo.location,
24
+ * repositoryId: mavenRepo.repositoryId,
25
+ * artifactName: "my-artifact:1.0.0",
26
+ * });
27
+ * ```
6
28
  */
7
29
  export declare function getMavenArtifact(args: GetMavenArtifactArgs, opts?: pulumi.InvokeOptions): Promise<GetMavenArtifactResult>;
8
30
  /**
@@ -71,6 +93,28 @@ export interface GetMavenArtifactResult {
71
93
  * This data source fetches information from a provided Artifact Registry repository, based on a the latest version of the artifact and optional version.
72
94
  *
73
95
  * ## Example Usage
96
+ *
97
+ * ```typescript
98
+ * import * as pulumi from "@pulumi/pulumi";
99
+ * import * as gcp from "@pulumi/gcp";
100
+ *
101
+ * const mavenRepo = new gcp.artifactregistry.Repository("maven_repo", {
102
+ * location: "us-central1",
103
+ * repositoryId: "my-maven-repo",
104
+ * format: "MAVEN",
105
+ * });
106
+ * const latest = gcp.artifactregistry.getMavenArtifactOutput({
107
+ * location: mavenRepo.location,
108
+ * repositoryId: mavenRepo.repositoryId,
109
+ * groupId: "com.example",
110
+ * artifactId: "my-artifact",
111
+ * });
112
+ * const withVersion = gcp.artifactregistry.getMavenArtifactOutput({
113
+ * location: mavenRepo.location,
114
+ * repositoryId: mavenRepo.repositoryId,
115
+ * artifactName: "my-artifact:1.0.0",
116
+ * });
117
+ * ```
74
118
  */
75
119
  export declare function getMavenArtifactOutput(args: GetMavenArtifactOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetMavenArtifactResult>;
76
120
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"getMavenArtifact.d.ts","sourceRoot":"","sources":["../../artifactregistry/getMavenArtifact.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,oBAAoB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,sBAAsB,CAAC,CASzH;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACjC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACnC,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B;;;;;OAKG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAA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;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC3C;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACtC"}
@@ -32,6 +32,28 @@ const utilities = __importStar(require("../utilities"));
32
32
  * This data source fetches information from a provided Artifact Registry repository, based on a the latest version of the artifact and optional version.
33
33
  *
34
34
  * ## Example Usage
35
+ *
36
+ * ```typescript
37
+ * import * as pulumi from "@pulumi/pulumi";
38
+ * import * as gcp from "@pulumi/gcp";
39
+ *
40
+ * const mavenRepo = new gcp.artifactregistry.Repository("maven_repo", {
41
+ * location: "us-central1",
42
+ * repositoryId: "my-maven-repo",
43
+ * format: "MAVEN",
44
+ * });
45
+ * const latest = gcp.artifactregistry.getMavenArtifactOutput({
46
+ * location: mavenRepo.location,
47
+ * repositoryId: mavenRepo.repositoryId,
48
+ * groupId: "com.example",
49
+ * artifactId: "my-artifact",
50
+ * });
51
+ * const withVersion = gcp.artifactregistry.getMavenArtifactOutput({
52
+ * location: mavenRepo.location,
53
+ * repositoryId: mavenRepo.repositoryId,
54
+ * artifactName: "my-artifact:1.0.0",
55
+ * });
56
+ * ```
35
57
  */
36
58
  function getMavenArtifact(args, opts) {
37
59
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -48,6 +70,28 @@ exports.getMavenArtifact = getMavenArtifact;
48
70
  * This data source fetches information from a provided Artifact Registry repository, based on a the latest version of the artifact and optional version.
49
71
  *
50
72
  * ## Example Usage
73
+ *
74
+ * ```typescript
75
+ * import * as pulumi from "@pulumi/pulumi";
76
+ * import * as gcp from "@pulumi/gcp";
77
+ *
78
+ * const mavenRepo = new gcp.artifactregistry.Repository("maven_repo", {
79
+ * location: "us-central1",
80
+ * repositoryId: "my-maven-repo",
81
+ * format: "MAVEN",
82
+ * });
83
+ * const latest = gcp.artifactregistry.getMavenArtifactOutput({
84
+ * location: mavenRepo.location,
85
+ * repositoryId: mavenRepo.repositoryId,
86
+ * groupId: "com.example",
87
+ * artifactId: "my-artifact",
88
+ * });
89
+ * const withVersion = gcp.artifactregistry.getMavenArtifactOutput({
90
+ * location: mavenRepo.location,
91
+ * repositoryId: mavenRepo.repositoryId,
92
+ * artifactName: "my-artifact:1.0.0",
93
+ * });
94
+ * ```
51
95
  */
52
96
  function getMavenArtifactOutput(args, opts) {
53
97
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -1 +1 @@
1
- {"version":3,"file":"getMavenArtifact.js","sourceRoot":"","sources":["../../artifactregistry/getMavenArtifact.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,wDAA0C;AAE1C;;;;GAIG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wDAAwD,EAAE;QACnF,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,4CASC;AAiED;;;;GAIG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAAiC;IACtG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wDAAwD,EAAE;QACzF,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B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ACzB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,wDASC"}
@@ -3,6 +3,18 @@ import * as pulumi from "@pulumi/pulumi";
3
3
  * This data source fetches information of a tag from a provided Artifact Registry repository.
4
4
  *
5
5
  * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as gcp from "@pulumi/gcp";
10
+ *
11
+ * const myTags = gcp.artifactregistry.getTags({
12
+ * location: "us-central1",
13
+ * repositoryId: "example-repo",
14
+ * packageName: "example-package",
15
+ * tagName: "latest",
16
+ * });
17
+ * ```
6
18
  */
7
19
  export declare function getTag(args: GetTagArgs, opts?: pulumi.InvokeOptions): Promise<GetTagResult>;
8
20
  /**
@@ -56,6 +68,18 @@ export interface GetTagResult {
56
68
  * This data source fetches information of a tag from a provided Artifact Registry repository.
57
69
  *
58
70
  * ## Example Usage
71
+ *
72
+ * ```typescript
73
+ * import * as pulumi from "@pulumi/pulumi";
74
+ * import * as gcp from "@pulumi/gcp";
75
+ *
76
+ * const myTags = gcp.artifactregistry.getTags({
77
+ * location: "us-central1",
78
+ * repositoryId: "example-repo",
79
+ * packageName: "example-package",
80
+ * tagName: "latest",
81
+ * });
82
+ * ```
59
83
  */
60
84
  export declare function getTagOutput(args: GetTagOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTagResult>;
61
85
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"getTag.d.ts","sourceRoot":"","sources":["../../artifactregistry/getTag.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;GAIG;AACH,wBAAgB,MAAM,CAAC,IAAI,EAAE,UAAU,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,YAAY,CAAC,CAS3F;AAED;;GAEG;AACH,MAAM,WAAW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M,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC3C;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACnC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACjC"}
@@ -32,6 +32,18 @@ const utilities = __importStar(require("../utilities"));
32
32
  * This data source fetches information of a tag from a provided Artifact Registry repository.
33
33
  *
34
34
  * ## Example Usage
35
+ *
36
+ * ```typescript
37
+ * import * as pulumi from "@pulumi/pulumi";
38
+ * import * as gcp from "@pulumi/gcp";
39
+ *
40
+ * const myTags = gcp.artifactregistry.getTags({
41
+ * location: "us-central1",
42
+ * repositoryId: "example-repo",
43
+ * packageName: "example-package",
44
+ * tagName: "latest",
45
+ * });
46
+ * ```
35
47
  */
36
48
  function getTag(args, opts) {
37
49
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -48,6 +60,18 @@ exports.getTag = getTag;
48
60
  * This data source fetches information of a tag from a provided Artifact Registry repository.
49
61
  *
50
62
  * ## Example Usage
63
+ *
64
+ * ```typescript
65
+ * import * as pulumi from "@pulumi/pulumi";
66
+ * import * as gcp from "@pulumi/gcp";
67
+ *
68
+ * const myTags = gcp.artifactregistry.getTags({
69
+ * location: "us-central1",
70
+ * repositoryId: "example-repo",
71
+ * packageName: "example-package",
72
+ * tagName: "latest",
73
+ * });
74
+ * ```
51
75
  */
52
76
  function getTagOutput(args, opts) {
53
77
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -1 +1 @@
1
- {"version":3,"file":"getTag.js","sourceRoot":"","sources":["../../artifactregistry/getTag.ts"],"names":[],"mappings":";AA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CAAC,IAAgB,EAAE,IAA2B;IAChE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE;QAC/D,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,wBASC;AAkDD;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAAiC;IAClF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oCAAoC,EAAE;QACrE,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,oCASC"}
@@ -4,6 +4,18 @@ import * as outputs from "../types/output";
4
4
  * This data source fetches information of a version from a provided Artifact Registry repository.
5
5
  *
6
6
  * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as gcp from "@pulumi/gcp";
11
+ *
12
+ * const myVersions = gcp.artifactregistry.getVersions({
13
+ * location: "us-central1",
14
+ * repositoryId: "example-repo",
15
+ * packageName: "example-package",
16
+ * versionName: "latest",
17
+ * });
18
+ * ```
7
19
  */
8
20
  export declare function getVersion(args: GetVersionArgs, opts?: pulumi.InvokeOptions): Promise<GetVersionResult>;
9
21
  /**
@@ -80,6 +92,18 @@ export interface GetVersionResult {
80
92
  * This data source fetches information of a version from a provided Artifact Registry repository.
81
93
  *
82
94
  * ## Example Usage
95
+ *
96
+ * ```typescript
97
+ * import * as pulumi from "@pulumi/pulumi";
98
+ * import * as gcp from "@pulumi/gcp";
99
+ *
100
+ * const myVersions = gcp.artifactregistry.getVersions({
101
+ * location: "us-central1",
102
+ * repositoryId: "example-repo",
103
+ * packageName: "example-package",
104
+ * versionName: "latest",
105
+ * });
106
+ * ```
83
107
  */
84
108
  export declare function getVersionOutput(args: GetVersionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVersionResult>;
85
109
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"getVersion.d.ts","sourceRoot":"","sources":["../../artifactregistry/getVersion.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,iBAAiB,CAAC;AAG3C;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAUvG;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC3B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM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B,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAC,gBAAgB,CAAC,oBAAoB,EAAE,CAAC;IACtE,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC;CAC1B;AACD;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,oBAAoB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAU/H;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACjC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC3C;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACnC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC3C"}
@@ -32,6 +32,18 @@ const utilities = __importStar(require("../utilities"));
32
32
  * This data source fetches information of a version from a provided Artifact Registry repository.
33
33
  *
34
34
  * ## Example Usage
35
+ *
36
+ * ```typescript
37
+ * import * as pulumi from "@pulumi/pulumi";
38
+ * import * as gcp from "@pulumi/gcp";
39
+ *
40
+ * const myVersions = gcp.artifactregistry.getVersions({
41
+ * location: "us-central1",
42
+ * repositoryId: "example-repo",
43
+ * packageName: "example-package",
44
+ * versionName: "latest",
45
+ * });
46
+ * ```
35
47
  */
36
48
  function getVersion(args, opts) {
37
49
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -49,6 +61,18 @@ exports.getVersion = getVersion;
49
61
  * This data source fetches information of a version from a provided Artifact Registry repository.
50
62
  *
51
63
  * ## Example Usage
64
+ *
65
+ * ```typescript
66
+ * import * as pulumi from "@pulumi/pulumi";
67
+ * import * as gcp from "@pulumi/gcp";
68
+ *
69
+ * const myVersions = gcp.artifactregistry.getVersions({
70
+ * location: "us-central1",
71
+ * repositoryId: "example-repo",
72
+ * packageName: "example-package",
73
+ * versionName: "latest",
74
+ * });
75
+ * ```
52
76
  */
53
77
  function getVersionOutput(args, opts) {
54
78
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -1 +1 @@
1
- {"version":3,"file":"getVersion.js","sourceRoot":"","sources":["../../artifactregistry/getVersion.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,wDAA0C;AAE1C;;;;GAIG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EA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gCAUC;AAuED;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAAiC;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4CAA4C,EAAE;QAC7E,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,4CAUC"}
@@ -0,0 +1,346 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "../types/input";
3
+ import * as outputs from "../types/output";
4
+ /**
5
+ * An AutoProtectionPolicy automates backup management by applying a backup plan to all
6
+ * eligible resources that match the policy's criteria, instead of protecting each resource
7
+ * individually. A policy takes effect only after it is attached to a scope, such as a
8
+ * project, with a `googleBackupDrAutoProtectionPolicyBinding`.
9
+ *
10
+ * > **Warning:** This resource is in beta, and should be used with the terraform-provider-google-beta provider.
11
+ * See Provider Versions for more details on beta resources.
12
+ *
13
+ * To get more information about AutoProtectionPolicy, see:
14
+ *
15
+ * * [API documentation](https://cloud.google.com/backup-disaster-recovery/docs/reference/rest/v1beta/projects.locations.autoProtectionPolicies)
16
+ * * How-to Guides
17
+ * * [Official Documentation](https://cloud.google.com/backup-disaster-recovery/docs)
18
+ *
19
+ * ## Example Usage
20
+ *
21
+ * ### Backup Dr Auto Protection Policy Basic
22
+ *
23
+ * ```typescript
24
+ * import * as pulumi from "@pulumi/pulumi";
25
+ * import * as gcp from "@pulumi/gcp";
26
+ *
27
+ * const myBackupVault = new gcp.backupdisasterrecovery.BackupVault("my_backup_vault", {
28
+ * location: "us-central1",
29
+ * backupVaultId: "bv-app",
30
+ * backupMinimumEnforcedRetentionDuration: "100000s",
31
+ * });
32
+ * const myBackupPlan = new gcp.backupdisasterrecovery.BackupPlan("my_backup_plan", {
33
+ * location: "us-central1",
34
+ * backupPlanId: "bp-app",
35
+ * resourceType: "compute.googleapis.com/Instance",
36
+ * backupVault: myBackupVault.id,
37
+ * backupRules: [{
38
+ * ruleId: "rule-1",
39
+ * backupRetentionDays: 5,
40
+ * standardSchedule: {
41
+ * recurrenceType: "HOURLY",
42
+ * hourlyFrequency: 6,
43
+ * timeZone: "UTC",
44
+ * backupWindow: {
45
+ * startHourOfDay: 0,
46
+ * endHourOfDay: 24,
47
+ * },
48
+ * },
49
+ * }],
50
+ * });
51
+ * const my_auto_protection_policy = new gcp.backupdisasterrecovery.AutoProtectionPolicy("my-auto-protection-policy", {
52
+ * location: "us-central1",
53
+ * autoProtectionPolicyId: "app",
54
+ * criteria: {
55
+ * matchingConditions: [{
56
+ * labelCondition: {
57
+ * key: "env",
58
+ * values: ["prod"],
59
+ * },
60
+ * }],
61
+ * },
62
+ * backupPlanDetails: [{
63
+ * resourceType: "compute.googleapis.com/Instance",
64
+ * backupPlan: myBackupPlan.name,
65
+ * }],
66
+ * });
67
+ * ```
68
+ * ### Backup Dr Auto Protection Policy Full
69
+ *
70
+ * ```typescript
71
+ * import * as pulumi from "@pulumi/pulumi";
72
+ * import * as gcp from "@pulumi/gcp";
73
+ *
74
+ * const myBackupVault = new gcp.backupdisasterrecovery.BackupVault("my_backup_vault", {
75
+ * location: "us-central1",
76
+ * backupVaultId: "bv-app-update",
77
+ * backupMinimumEnforcedRetentionDuration: "100000s",
78
+ * });
79
+ * const instanceBackupPlan = new gcp.backupdisasterrecovery.BackupPlan("instance_backup_plan", {
80
+ * location: "us-central1",
81
+ * backupPlanId: "bp-app-update-vm",
82
+ * resourceType: "compute.googleapis.com/Instance",
83
+ * backupVault: myBackupVault.id,
84
+ * backupRules: [{
85
+ * ruleId: "rule-1",
86
+ * backupRetentionDays: 5,
87
+ * standardSchedule: {
88
+ * recurrenceType: "HOURLY",
89
+ * hourlyFrequency: 6,
90
+ * timeZone: "UTC",
91
+ * backupWindow: {
92
+ * startHourOfDay: 0,
93
+ * endHourOfDay: 24,
94
+ * },
95
+ * },
96
+ * }],
97
+ * });
98
+ * const my_auto_protection_policy = new gcp.backupdisasterrecovery.AutoProtectionPolicy("my-auto-protection-policy", {
99
+ * location: "us-central1",
100
+ * autoProtectionPolicyId: "app-update",
101
+ * description: "Protects production VMs.",
102
+ * criteria: {
103
+ * matchingConditions: [{
104
+ * labelCondition: {
105
+ * key: "env",
106
+ * values: ["prod"],
107
+ * },
108
+ * }],
109
+ * },
110
+ * backupPlanDetails: [{
111
+ * resourceType: "compute.googleapis.com/Instance",
112
+ * backupPlan: instanceBackupPlan.name,
113
+ * }],
114
+ * });
115
+ * ```
116
+ *
117
+ * ## Import
118
+ *
119
+ * AutoProtectionPolicy can be imported using any of these accepted formats:
120
+ *
121
+ * * `projects/{{project}}/locations/{{location}}/autoProtectionPolicies/{{auto_protection_policy_id}}`
122
+ * * `{{project}}/{{location}}/{{auto_protection_policy_id}}`
123
+ * * `{{location}}/{{auto_protection_policy_id}}`
124
+ *
125
+ * When using the `pulumi import` command, AutoProtectionPolicy can be imported using one of the formats above. For example:
126
+ *
127
+ * ```sh
128
+ * $ pulumi import gcp:backupdisasterrecovery/autoProtectionPolicy:AutoProtectionPolicy default projects/{{project}}/locations/{{location}}/autoProtectionPolicies/{{auto_protection_policy_id}}
129
+ * $ pulumi import gcp:backupdisasterrecovery/autoProtectionPolicy:AutoProtectionPolicy default {{project}}/{{location}}/{{auto_protection_policy_id}}
130
+ * $ pulumi import gcp:backupdisasterrecovery/autoProtectionPolicy:AutoProtectionPolicy default {{location}}/{{auto_protection_policy_id}}
131
+ * ```
132
+ */
133
+ export declare class AutoProtectionPolicy extends pulumi.CustomResource {
134
+ /**
135
+ * Get an existing AutoProtectionPolicy resource's state with the given name, ID, and optional extra
136
+ * properties used to qualify the lookup.
137
+ *
138
+ * @param name The _unique_ name of the resulting resource.
139
+ * @param id The _unique_ provider ID of the resource to lookup.
140
+ * @param state Any extra arguments used during the lookup.
141
+ * @param opts Optional settings to control the behavior of the CustomResource.
142
+ */
143
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AutoProtectionPolicyState, opts?: pulumi.CustomResourceOptions): AutoProtectionPolicy;
144
+ /**
145
+ * Returns true if the given object is an instance of AutoProtectionPolicy. This is designed to work even
146
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
147
+ */
148
+ static isInstance(obj: any): obj is AutoProtectionPolicy;
149
+ /**
150
+ * The ID of the auto protection policy. This becomes the final component of the policy's resource name.
151
+ */
152
+ readonly autoProtectionPolicyId: pulumi.Output<string>;
153
+ /**
154
+ * The backup plans to apply to the resources that match the policy's criteria. Each entry
155
+ * specifies a resource type and the backup plan that protects resources of that type.
156
+ * Currently, only one entry is supported.
157
+ * Structure is documented below.
158
+ */
159
+ readonly backupPlanDetails: pulumi.Output<outputs.backupdisasterrecovery.AutoProtectionPolicyBackupPlanDetail[]>;
160
+ /**
161
+ * A summary of the scopes that the policy is applied to through bindings.
162
+ * Structure is documented below.
163
+ */
164
+ readonly bindingSummaries: pulumi.Output<outputs.backupdisasterrecovery.AutoProtectionPolicyBindingSummary[]>;
165
+ /**
166
+ * The time when the auto protection policy was created.
167
+ */
168
+ readonly createTime: pulumi.Output<string>;
169
+ /**
170
+ * The criteria that a resource must meet to be protected by the policy.
171
+ * Structure is documented below.
172
+ */
173
+ readonly criteria: pulumi.Output<outputs.backupdisasterrecovery.AutoProtectionPolicyCriteria>;
174
+ /**
175
+ * Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
176
+ * When a 'terraform destroy' or 'pulumi up' would delete the resource,
177
+ * the command will fail if this field is set to "PREVENT" in Terraform state.
178
+ * When set to "ABANDON", the command will remove the resource from Terraform
179
+ * management without updating or deleting the resource in the API.
180
+ * When set to "DELETE", deleting the resource is allowed.
181
+ */
182
+ readonly deletionPolicy: pulumi.Output<string>;
183
+ /**
184
+ * A description of the auto protection policy.
185
+ */
186
+ readonly description: pulumi.Output<string | undefined>;
187
+ /**
188
+ * The etag of the auto protection policy, used for optimistic concurrency control.
189
+ */
190
+ readonly etag: pulumi.Output<string>;
191
+ /**
192
+ * The location of the auto protection policy.
193
+ */
194
+ readonly location: pulumi.Output<string>;
195
+ /**
196
+ * The resource name of the auto protection policy, in the format
197
+ * `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy_id}`.
198
+ */
199
+ readonly name: pulumi.Output<string>;
200
+ /**
201
+ * A summary of the last run of the job that applies the policy to matching resources.
202
+ * Structure is documented below.
203
+ */
204
+ readonly policyEvaluationSummaries: pulumi.Output<outputs.backupdisasterrecovery.AutoProtectionPolicyPolicyEvaluationSummary[]>;
205
+ /**
206
+ * The ID of the project in which the resource belongs.
207
+ * If it is not provided, the provider project is used.
208
+ */
209
+ readonly project: pulumi.Output<string>;
210
+ /**
211
+ * The current state of the auto protection policy.
212
+ * Possible values are `CREATING`, `ACTIVE`, `UPDATING`, and `DELETING`.
213
+ */
214
+ readonly state: pulumi.Output<string>;
215
+ /**
216
+ * The time when the auto protection policy was last updated.
217
+ */
218
+ readonly updateTime: pulumi.Output<string>;
219
+ /**
220
+ * Create a AutoProtectionPolicy resource with the given unique name, arguments, and options.
221
+ *
222
+ * @param name The _unique_ name of the resource.
223
+ * @param args The arguments to use to populate this resource's properties.
224
+ * @param opts A bag of options that control this resource's behavior.
225
+ */
226
+ constructor(name: string, args: AutoProtectionPolicyArgs, opts?: pulumi.CustomResourceOptions);
227
+ }
228
+ /**
229
+ * Input properties used for looking up and filtering AutoProtectionPolicy resources.
230
+ */
231
+ export interface AutoProtectionPolicyState {
232
+ /**
233
+ * The ID of the auto protection policy. This becomes the final component of the policy's resource name.
234
+ */
235
+ autoProtectionPolicyId?: pulumi.Input<string | undefined>;
236
+ /**
237
+ * The backup plans to apply to the resources that match the policy's criteria. Each entry
238
+ * specifies a resource type and the backup plan that protects resources of that type.
239
+ * Currently, only one entry is supported.
240
+ * Structure is documented below.
241
+ */
242
+ backupPlanDetails?: pulumi.Input<pulumi.Input<inputs.backupdisasterrecovery.AutoProtectionPolicyBackupPlanDetail>[] | undefined>;
243
+ /**
244
+ * A summary of the scopes that the policy is applied to through bindings.
245
+ * Structure is documented below.
246
+ */
247
+ bindingSummaries?: pulumi.Input<pulumi.Input<inputs.backupdisasterrecovery.AutoProtectionPolicyBindingSummary>[] | undefined>;
248
+ /**
249
+ * The time when the auto protection policy was created.
250
+ */
251
+ createTime?: pulumi.Input<string | undefined>;
252
+ /**
253
+ * The criteria that a resource must meet to be protected by the policy.
254
+ * Structure is documented below.
255
+ */
256
+ criteria?: pulumi.Input<inputs.backupdisasterrecovery.AutoProtectionPolicyCriteria | undefined>;
257
+ /**
258
+ * Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
259
+ * When a 'terraform destroy' or 'pulumi up' would delete the resource,
260
+ * the command will fail if this field is set to "PREVENT" in Terraform state.
261
+ * When set to "ABANDON", the command will remove the resource from Terraform
262
+ * management without updating or deleting the resource in the API.
263
+ * When set to "DELETE", deleting the resource is allowed.
264
+ */
265
+ deletionPolicy?: pulumi.Input<string | undefined>;
266
+ /**
267
+ * A description of the auto protection policy.
268
+ */
269
+ description?: pulumi.Input<string | undefined>;
270
+ /**
271
+ * The etag of the auto protection policy, used for optimistic concurrency control.
272
+ */
273
+ etag?: pulumi.Input<string | undefined>;
274
+ /**
275
+ * The location of the auto protection policy.
276
+ */
277
+ location?: pulumi.Input<string | undefined>;
278
+ /**
279
+ * The resource name of the auto protection policy, in the format
280
+ * `projects/{project}/locations/{location}/autoProtectionPolicies/{auto_protection_policy_id}`.
281
+ */
282
+ name?: pulumi.Input<string | undefined>;
283
+ /**
284
+ * A summary of the last run of the job that applies the policy to matching resources.
285
+ * Structure is documented below.
286
+ */
287
+ policyEvaluationSummaries?: pulumi.Input<pulumi.Input<inputs.backupdisasterrecovery.AutoProtectionPolicyPolicyEvaluationSummary>[] | undefined>;
288
+ /**
289
+ * The ID of the project in which the resource belongs.
290
+ * If it is not provided, the provider project is used.
291
+ */
292
+ project?: pulumi.Input<string | undefined>;
293
+ /**
294
+ * The current state of the auto protection policy.
295
+ * Possible values are `CREATING`, `ACTIVE`, `UPDATING`, and `DELETING`.
296
+ */
297
+ state?: pulumi.Input<string | undefined>;
298
+ /**
299
+ * The time when the auto protection policy was last updated.
300
+ */
301
+ updateTime?: pulumi.Input<string | undefined>;
302
+ }
303
+ /**
304
+ * The set of arguments for constructing a AutoProtectionPolicy resource.
305
+ */
306
+ export interface AutoProtectionPolicyArgs {
307
+ /**
308
+ * The ID of the auto protection policy. This becomes the final component of the policy's resource name.
309
+ */
310
+ autoProtectionPolicyId: pulumi.Input<string>;
311
+ /**
312
+ * The backup plans to apply to the resources that match the policy's criteria. Each entry
313
+ * specifies a resource type and the backup plan that protects resources of that type.
314
+ * Currently, only one entry is supported.
315
+ * Structure is documented below.
316
+ */
317
+ backupPlanDetails: pulumi.Input<pulumi.Input<inputs.backupdisasterrecovery.AutoProtectionPolicyBackupPlanDetail>[]>;
318
+ /**
319
+ * The criteria that a resource must meet to be protected by the policy.
320
+ * Structure is documented below.
321
+ */
322
+ criteria: pulumi.Input<inputs.backupdisasterrecovery.AutoProtectionPolicyCriteria>;
323
+ /**
324
+ * Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
325
+ * When a 'terraform destroy' or 'pulumi up' would delete the resource,
326
+ * the command will fail if this field is set to "PREVENT" in Terraform state.
327
+ * When set to "ABANDON", the command will remove the resource from Terraform
328
+ * management without updating or deleting the resource in the API.
329
+ * When set to "DELETE", deleting the resource is allowed.
330
+ */
331
+ deletionPolicy?: pulumi.Input<string | undefined>;
332
+ /**
333
+ * A description of the auto protection policy.
334
+ */
335
+ description?: pulumi.Input<string | undefined>;
336
+ /**
337
+ * The location of the auto protection policy.
338
+ */
339
+ location: pulumi.Input<string>;
340
+ /**
341
+ * The ID of the project in which the resource belongs.
342
+ * If it is not provided, the provider project is used.
343
+ */
344
+ project?: pulumi.Input<string | undefined>;
345
+ }
346
+ //# sourceMappingURL=autoProtectionPolicy.d.ts.map