pulumi-gcp 7.19.0a1713292926__py3-none-any.whl → 7.19.0a1713444144__py3-none-any.whl

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 (41) hide show
  1. pulumi_gcp/__init__.py +11 -0
  2. pulumi_gcp/accesscontextmanager/access_policy.py +4 -4
  3. pulumi_gcp/apigee/sync_authorization.py +4 -4
  4. pulumi_gcp/compute/_inputs.py +24 -0
  5. pulumi_gcp/compute/get_router_nat.py +11 -1
  6. pulumi_gcp/compute/instance_settings.py +16 -0
  7. pulumi_gcp/compute/outputs.py +41 -0
  8. pulumi_gcp/compute/router_interface.py +47 -0
  9. pulumi_gcp/compute/router_nat.py +68 -0
  10. pulumi_gcp/compute/router_peer.py +141 -0
  11. pulumi_gcp/config/__init__.pyi +2 -0
  12. pulumi_gcp/config/vars.py +4 -0
  13. pulumi_gcp/container/_inputs.py +48 -7
  14. pulumi_gcp/container/outputs.py +67 -8
  15. pulumi_gcp/datastore/data_store_index.py +14 -0
  16. pulumi_gcp/dns/_inputs.py +22 -22
  17. pulumi_gcp/dns/outputs.py +22 -22
  18. pulumi_gcp/firestore/_inputs.py +80 -11
  19. pulumi_gcp/firestore/document.py +0 -4
  20. pulumi_gcp/firestore/index.py +116 -42
  21. pulumi_gcp/firestore/outputs.py +70 -11
  22. pulumi_gcp/gkebackup/_inputs.py +358 -3
  23. pulumi_gcp/gkebackup/backup_plan.py +294 -0
  24. pulumi_gcp/gkebackup/outputs.py +353 -3
  25. pulumi_gcp/networksecurity/firewall_endpoint.py +2 -0
  26. pulumi_gcp/networksecurity/firewall_endpoint_association.py +61 -0
  27. pulumi_gcp/parallelstore/__init__.py +8 -0
  28. pulumi_gcp/parallelstore/instance.py +1128 -0
  29. pulumi_gcp/provider.py +20 -0
  30. pulumi_gcp/sql/_inputs.py +16 -0
  31. pulumi_gcp/sql/outputs.py +36 -0
  32. pulumi_gcp/tags/__init__.py +2 -0
  33. pulumi_gcp/tags/get_tag_keys.py +101 -0
  34. pulumi_gcp/tags/get_tag_values.py +101 -0
  35. pulumi_gcp/tags/outputs.py +200 -0
  36. pulumi_gcp/vmwareengine/get_private_cloud.py +21 -1
  37. pulumi_gcp/vmwareengine/private_cloud.py +101 -7
  38. {pulumi_gcp-7.19.0a1713292926.dist-info → pulumi_gcp-7.19.0a1713444144.dist-info}/METADATA +1 -1
  39. {pulumi_gcp-7.19.0a1713292926.dist-info → pulumi_gcp-7.19.0a1713444144.dist-info}/RECORD +41 -37
  40. {pulumi_gcp-7.19.0a1713292926.dist-info → pulumi_gcp-7.19.0a1713444144.dist-info}/WHEEL +0 -0
  41. {pulumi_gcp-7.19.0a1713292926.dist-info → pulumi_gcp-7.19.0a1713444144.dist-info}/top_level.txt +0 -0
@@ -723,6 +723,153 @@ class BackupPlan(pulumi.CustomResource):
723
723
  ))
724
724
  ```
725
725
  <!--End PulumiCodeChooser -->
726
+ ### Gkebackup Backupplan Rpo Daily Window
727
+
728
+ <!--Start PulumiCodeChooser -->
729
+ ```python
730
+ import pulumi
731
+ import pulumi_gcp as gcp
732
+
733
+ primary = gcp.container.Cluster("primary",
734
+ name="rpo-daily-cluster",
735
+ location="us-central1",
736
+ initial_node_count=1,
737
+ workload_identity_config=gcp.container.ClusterWorkloadIdentityConfigArgs(
738
+ workload_pool="my-project-name.svc.id.goog",
739
+ ),
740
+ addons_config=gcp.container.ClusterAddonsConfigArgs(
741
+ gke_backup_agent_config=gcp.container.ClusterAddonsConfigGkeBackupAgentConfigArgs(
742
+ enabled=True,
743
+ ),
744
+ ),
745
+ deletion_protection=True,
746
+ network="default",
747
+ subnetwork="default")
748
+ rpo_daily_window = gcp.gkebackup.BackupPlan("rpo_daily_window",
749
+ name="rpo-daily-window",
750
+ cluster=primary.id,
751
+ location="us-central1",
752
+ retention_policy=gcp.gkebackup.BackupPlanRetentionPolicyArgs(
753
+ backup_delete_lock_days=30,
754
+ backup_retain_days=180,
755
+ ),
756
+ backup_schedule=gcp.gkebackup.BackupPlanBackupScheduleArgs(
757
+ paused=True,
758
+ rpo_config=gcp.gkebackup.BackupPlanBackupScheduleRpoConfigArgs(
759
+ target_rpo_minutes=1440,
760
+ exclusion_windows=[
761
+ gcp.gkebackup.BackupPlanBackupScheduleRpoConfigExclusionWindowArgs(
762
+ start_time=gcp.gkebackup.BackupPlanBackupScheduleRpoConfigExclusionWindowStartTimeArgs(
763
+ hours=12,
764
+ ),
765
+ duration="7200s",
766
+ daily=True,
767
+ ),
768
+ gcp.gkebackup.BackupPlanBackupScheduleRpoConfigExclusionWindowArgs(
769
+ start_time=gcp.gkebackup.BackupPlanBackupScheduleRpoConfigExclusionWindowStartTimeArgs(
770
+ hours=8,
771
+ minutes=40,
772
+ seconds=1,
773
+ nanos=100,
774
+ ),
775
+ duration="3600s",
776
+ single_occurrence_date=gcp.gkebackup.BackupPlanBackupScheduleRpoConfigExclusionWindowSingleOccurrenceDateArgs(
777
+ year=2024,
778
+ month=3,
779
+ day=16,
780
+ ),
781
+ ),
782
+ ],
783
+ ),
784
+ ),
785
+ backup_config=gcp.gkebackup.BackupPlanBackupConfigArgs(
786
+ include_volume_data=True,
787
+ include_secrets=True,
788
+ all_namespaces=True,
789
+ ))
790
+ ```
791
+ <!--End PulumiCodeChooser -->
792
+ ### Gkebackup Backupplan Rpo Weekly Window
793
+
794
+ <!--Start PulumiCodeChooser -->
795
+ ```python
796
+ import pulumi
797
+ import pulumi_gcp as gcp
798
+
799
+ primary = gcp.container.Cluster("primary",
800
+ name="rpo-weekly-cluster",
801
+ location="us-central1",
802
+ initial_node_count=1,
803
+ workload_identity_config=gcp.container.ClusterWorkloadIdentityConfigArgs(
804
+ workload_pool="my-project-name.svc.id.goog",
805
+ ),
806
+ addons_config=gcp.container.ClusterAddonsConfigArgs(
807
+ gke_backup_agent_config=gcp.container.ClusterAddonsConfigGkeBackupAgentConfigArgs(
808
+ enabled=True,
809
+ ),
810
+ ),
811
+ deletion_protection=True,
812
+ network="default",
813
+ subnetwork="default")
814
+ rpo_weekly_window = gcp.gkebackup.BackupPlan("rpo_weekly_window",
815
+ name="rpo-weekly-window",
816
+ cluster=primary.id,
817
+ location="us-central1",
818
+ retention_policy=gcp.gkebackup.BackupPlanRetentionPolicyArgs(
819
+ backup_delete_lock_days=30,
820
+ backup_retain_days=180,
821
+ ),
822
+ backup_schedule=gcp.gkebackup.BackupPlanBackupScheduleArgs(
823
+ paused=True,
824
+ rpo_config=gcp.gkebackup.BackupPlanBackupScheduleRpoConfigArgs(
825
+ target_rpo_minutes=1440,
826
+ exclusion_windows=[
827
+ gcp.gkebackup.BackupPlanBackupScheduleRpoConfigExclusionWindowArgs(
828
+ start_time=gcp.gkebackup.BackupPlanBackupScheduleRpoConfigExclusionWindowStartTimeArgs(
829
+ hours=1,
830
+ minutes=23,
831
+ ),
832
+ duration="1800s",
833
+ days_of_week=gcp.gkebackup.BackupPlanBackupScheduleRpoConfigExclusionWindowDaysOfWeekArgs(
834
+ days_of_weeks=[
835
+ "MONDAY",
836
+ "THURSDAY",
837
+ ],
838
+ ),
839
+ ),
840
+ gcp.gkebackup.BackupPlanBackupScheduleRpoConfigExclusionWindowArgs(
841
+ start_time=gcp.gkebackup.BackupPlanBackupScheduleRpoConfigExclusionWindowStartTimeArgs(
842
+ hours=12,
843
+ ),
844
+ duration="3600s",
845
+ single_occurrence_date=gcp.gkebackup.BackupPlanBackupScheduleRpoConfigExclusionWindowSingleOccurrenceDateArgs(
846
+ year=2024,
847
+ month=3,
848
+ day=17,
849
+ ),
850
+ ),
851
+ gcp.gkebackup.BackupPlanBackupScheduleRpoConfigExclusionWindowArgs(
852
+ start_time=gcp.gkebackup.BackupPlanBackupScheduleRpoConfigExclusionWindowStartTimeArgs(
853
+ hours=8,
854
+ minutes=40,
855
+ ),
856
+ duration="600s",
857
+ single_occurrence_date=gcp.gkebackup.BackupPlanBackupScheduleRpoConfigExclusionWindowSingleOccurrenceDateArgs(
858
+ year=2024,
859
+ month=3,
860
+ day=18,
861
+ ),
862
+ ),
863
+ ],
864
+ ),
865
+ ),
866
+ backup_config=gcp.gkebackup.BackupPlanBackupConfigArgs(
867
+ include_volume_data=True,
868
+ include_secrets=True,
869
+ all_namespaces=True,
870
+ ))
871
+ ```
872
+ <!--End PulumiCodeChooser -->
726
873
 
727
874
  ## Import
728
875
 
@@ -958,6 +1105,153 @@ class BackupPlan(pulumi.CustomResource):
958
1105
  ))
959
1106
  ```
960
1107
  <!--End PulumiCodeChooser -->
1108
+ ### Gkebackup Backupplan Rpo Daily Window
1109
+
1110
+ <!--Start PulumiCodeChooser -->
1111
+ ```python
1112
+ import pulumi
1113
+ import pulumi_gcp as gcp
1114
+
1115
+ primary = gcp.container.Cluster("primary",
1116
+ name="rpo-daily-cluster",
1117
+ location="us-central1",
1118
+ initial_node_count=1,
1119
+ workload_identity_config=gcp.container.ClusterWorkloadIdentityConfigArgs(
1120
+ workload_pool="my-project-name.svc.id.goog",
1121
+ ),
1122
+ addons_config=gcp.container.ClusterAddonsConfigArgs(
1123
+ gke_backup_agent_config=gcp.container.ClusterAddonsConfigGkeBackupAgentConfigArgs(
1124
+ enabled=True,
1125
+ ),
1126
+ ),
1127
+ deletion_protection=True,
1128
+ network="default",
1129
+ subnetwork="default")
1130
+ rpo_daily_window = gcp.gkebackup.BackupPlan("rpo_daily_window",
1131
+ name="rpo-daily-window",
1132
+ cluster=primary.id,
1133
+ location="us-central1",
1134
+ retention_policy=gcp.gkebackup.BackupPlanRetentionPolicyArgs(
1135
+ backup_delete_lock_days=30,
1136
+ backup_retain_days=180,
1137
+ ),
1138
+ backup_schedule=gcp.gkebackup.BackupPlanBackupScheduleArgs(
1139
+ paused=True,
1140
+ rpo_config=gcp.gkebackup.BackupPlanBackupScheduleRpoConfigArgs(
1141
+ target_rpo_minutes=1440,
1142
+ exclusion_windows=[
1143
+ gcp.gkebackup.BackupPlanBackupScheduleRpoConfigExclusionWindowArgs(
1144
+ start_time=gcp.gkebackup.BackupPlanBackupScheduleRpoConfigExclusionWindowStartTimeArgs(
1145
+ hours=12,
1146
+ ),
1147
+ duration="7200s",
1148
+ daily=True,
1149
+ ),
1150
+ gcp.gkebackup.BackupPlanBackupScheduleRpoConfigExclusionWindowArgs(
1151
+ start_time=gcp.gkebackup.BackupPlanBackupScheduleRpoConfigExclusionWindowStartTimeArgs(
1152
+ hours=8,
1153
+ minutes=40,
1154
+ seconds=1,
1155
+ nanos=100,
1156
+ ),
1157
+ duration="3600s",
1158
+ single_occurrence_date=gcp.gkebackup.BackupPlanBackupScheduleRpoConfigExclusionWindowSingleOccurrenceDateArgs(
1159
+ year=2024,
1160
+ month=3,
1161
+ day=16,
1162
+ ),
1163
+ ),
1164
+ ],
1165
+ ),
1166
+ ),
1167
+ backup_config=gcp.gkebackup.BackupPlanBackupConfigArgs(
1168
+ include_volume_data=True,
1169
+ include_secrets=True,
1170
+ all_namespaces=True,
1171
+ ))
1172
+ ```
1173
+ <!--End PulumiCodeChooser -->
1174
+ ### Gkebackup Backupplan Rpo Weekly Window
1175
+
1176
+ <!--Start PulumiCodeChooser -->
1177
+ ```python
1178
+ import pulumi
1179
+ import pulumi_gcp as gcp
1180
+
1181
+ primary = gcp.container.Cluster("primary",
1182
+ name="rpo-weekly-cluster",
1183
+ location="us-central1",
1184
+ initial_node_count=1,
1185
+ workload_identity_config=gcp.container.ClusterWorkloadIdentityConfigArgs(
1186
+ workload_pool="my-project-name.svc.id.goog",
1187
+ ),
1188
+ addons_config=gcp.container.ClusterAddonsConfigArgs(
1189
+ gke_backup_agent_config=gcp.container.ClusterAddonsConfigGkeBackupAgentConfigArgs(
1190
+ enabled=True,
1191
+ ),
1192
+ ),
1193
+ deletion_protection=True,
1194
+ network="default",
1195
+ subnetwork="default")
1196
+ rpo_weekly_window = gcp.gkebackup.BackupPlan("rpo_weekly_window",
1197
+ name="rpo-weekly-window",
1198
+ cluster=primary.id,
1199
+ location="us-central1",
1200
+ retention_policy=gcp.gkebackup.BackupPlanRetentionPolicyArgs(
1201
+ backup_delete_lock_days=30,
1202
+ backup_retain_days=180,
1203
+ ),
1204
+ backup_schedule=gcp.gkebackup.BackupPlanBackupScheduleArgs(
1205
+ paused=True,
1206
+ rpo_config=gcp.gkebackup.BackupPlanBackupScheduleRpoConfigArgs(
1207
+ target_rpo_minutes=1440,
1208
+ exclusion_windows=[
1209
+ gcp.gkebackup.BackupPlanBackupScheduleRpoConfigExclusionWindowArgs(
1210
+ start_time=gcp.gkebackup.BackupPlanBackupScheduleRpoConfigExclusionWindowStartTimeArgs(
1211
+ hours=1,
1212
+ minutes=23,
1213
+ ),
1214
+ duration="1800s",
1215
+ days_of_week=gcp.gkebackup.BackupPlanBackupScheduleRpoConfigExclusionWindowDaysOfWeekArgs(
1216
+ days_of_weeks=[
1217
+ "MONDAY",
1218
+ "THURSDAY",
1219
+ ],
1220
+ ),
1221
+ ),
1222
+ gcp.gkebackup.BackupPlanBackupScheduleRpoConfigExclusionWindowArgs(
1223
+ start_time=gcp.gkebackup.BackupPlanBackupScheduleRpoConfigExclusionWindowStartTimeArgs(
1224
+ hours=12,
1225
+ ),
1226
+ duration="3600s",
1227
+ single_occurrence_date=gcp.gkebackup.BackupPlanBackupScheduleRpoConfigExclusionWindowSingleOccurrenceDateArgs(
1228
+ year=2024,
1229
+ month=3,
1230
+ day=17,
1231
+ ),
1232
+ ),
1233
+ gcp.gkebackup.BackupPlanBackupScheduleRpoConfigExclusionWindowArgs(
1234
+ start_time=gcp.gkebackup.BackupPlanBackupScheduleRpoConfigExclusionWindowStartTimeArgs(
1235
+ hours=8,
1236
+ minutes=40,
1237
+ ),
1238
+ duration="600s",
1239
+ single_occurrence_date=gcp.gkebackup.BackupPlanBackupScheduleRpoConfigExclusionWindowSingleOccurrenceDateArgs(
1240
+ year=2024,
1241
+ month=3,
1242
+ day=18,
1243
+ ),
1244
+ ),
1245
+ ],
1246
+ ),
1247
+ ),
1248
+ backup_config=gcp.gkebackup.BackupPlanBackupConfigArgs(
1249
+ include_volume_data=True,
1250
+ include_secrets=True,
1251
+ all_namespaces=True,
1252
+ ))
1253
+ ```
1254
+ <!--End PulumiCodeChooser -->
961
1255
 
962
1256
  ## Import
963
1257