pulumi-gcp 7.35.0a1722924350__py3-none-any.whl → 7.36.0__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.
Potentially problematic release.
This version of pulumi-gcp might be problematic. Click here for more details.
- pulumi_gcp/accesscontextmanager/_inputs.py +12 -3
- pulumi_gcp/accesscontextmanager/access_policy.py +18 -18
- pulumi_gcp/accesscontextmanager/access_policy_iam_binding.py +40 -0
- pulumi_gcp/accesscontextmanager/access_policy_iam_member.py +40 -0
- pulumi_gcp/accesscontextmanager/access_policy_iam_policy.py +40 -0
- pulumi_gcp/accesscontextmanager/outputs.py +8 -2
- pulumi_gcp/apigateway/api_config_iam_binding.py +38 -0
- pulumi_gcp/apigateway/api_config_iam_member.py +38 -0
- pulumi_gcp/apigateway/api_config_iam_policy.py +38 -0
- pulumi_gcp/apigateway/api_iam_binding.py +38 -0
- pulumi_gcp/apigateway/api_iam_member.py +38 -0
- pulumi_gcp/apigateway/api_iam_policy.py +38 -0
- pulumi_gcp/apigateway/gateway_iam_binding.py +38 -0
- pulumi_gcp/apigateway/gateway_iam_member.py +38 -0
- pulumi_gcp/apigateway/gateway_iam_policy.py +38 -0
- pulumi_gcp/apigee/environment_iam_binding.py +40 -0
- pulumi_gcp/apigee/environment_iam_member.py +40 -0
- pulumi_gcp/apigee/environment_iam_policy.py +40 -0
- pulumi_gcp/artifactregistry/repository_iam_binding.py +38 -0
- pulumi_gcp/artifactregistry/repository_iam_member.py +38 -0
- pulumi_gcp/artifactregistry/repository_iam_policy.py +38 -0
- pulumi_gcp/bigquery/connection_iam_binding.py +38 -0
- pulumi_gcp/bigquery/connection_iam_member.py +38 -0
- pulumi_gcp/bigquery/connection_iam_policy.py +38 -0
- pulumi_gcp/bigquery/data_transfer_config.py +52 -0
- pulumi_gcp/bigquery/dataset_iam_binding.py +0 -32
- pulumi_gcp/bigquery/dataset_iam_member.py +0 -32
- pulumi_gcp/bigquery/dataset_iam_policy.py +0 -32
- pulumi_gcp/bigquery/iam_binding.py +42 -0
- pulumi_gcp/bigquery/iam_member.py +42 -0
- pulumi_gcp/bigquery/iam_policy.py +42 -0
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_binding.py +38 -0
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_member.py +38 -0
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_policy.py +38 -0
- pulumi_gcp/bigqueryanalyticshub/listing_iam_binding.py +38 -0
- pulumi_gcp/bigqueryanalyticshub/listing_iam_member.py +38 -0
- pulumi_gcp/bigqueryanalyticshub/listing_iam_policy.py +38 -0
- pulumi_gcp/bigquerydatapolicy/data_policy_iam_binding.py +38 -0
- pulumi_gcp/bigquerydatapolicy/data_policy_iam_member.py +38 -0
- pulumi_gcp/bigquerydatapolicy/data_policy_iam_policy.py +38 -0
- pulumi_gcp/binaryauthorization/attestor_iam_binding.py +38 -0
- pulumi_gcp/binaryauthorization/attestor_iam_member.py +38 -0
- pulumi_gcp/binaryauthorization/attestor_iam_policy.py +38 -0
- pulumi_gcp/certificateauthority/ca_pool_iam_binding.py +42 -0
- pulumi_gcp/certificateauthority/ca_pool_iam_member.py +42 -0
- pulumi_gcp/certificateauthority/ca_pool_iam_policy.py +42 -0
- pulumi_gcp/certificateauthority/certificate_template_iam_binding.py +42 -0
- pulumi_gcp/certificateauthority/certificate_template_iam_member.py +42 -0
- pulumi_gcp/certificateauthority/certificate_template_iam_policy.py +42 -0
- pulumi_gcp/cloudbuildv2/connection_iam_binding.py +38 -0
- pulumi_gcp/cloudbuildv2/connection_iam_member.py +38 -0
- pulumi_gcp/cloudbuildv2/connection_iam_policy.py +38 -0
- pulumi_gcp/cloudfunctions/function_iam_binding.py +38 -0
- pulumi_gcp/cloudfunctions/function_iam_member.py +38 -0
- pulumi_gcp/cloudfunctions/function_iam_policy.py +38 -0
- pulumi_gcp/cloudfunctionsv2/function_iam_binding.py +38 -0
- pulumi_gcp/cloudfunctionsv2/function_iam_member.py +38 -0
- pulumi_gcp/cloudfunctionsv2/function_iam_policy.py +38 -0
- pulumi_gcp/cloudrun/iam_binding.py +38 -0
- pulumi_gcp/cloudrun/iam_member.py +38 -0
- pulumi_gcp/cloudrun/iam_policy.py +38 -0
- pulumi_gcp/cloudrunv2/job_iam_binding.py +38 -0
- pulumi_gcp/cloudrunv2/job_iam_member.py +38 -0
- pulumi_gcp/cloudrunv2/job_iam_policy.py +38 -0
- pulumi_gcp/cloudrunv2/service_iam_binding.py +38 -0
- pulumi_gcp/cloudrunv2/service_iam_member.py +38 -0
- pulumi_gcp/cloudrunv2/service_iam_policy.py +38 -0
- pulumi_gcp/cloudtasks/queue_iam_binding.py +38 -0
- pulumi_gcp/cloudtasks/queue_iam_member.py +38 -0
- pulumi_gcp/cloudtasks/queue_iam_policy.py +38 -0
- pulumi_gcp/compute/_inputs.py +24 -24
- pulumi_gcp/compute/disk.py +75 -0
- pulumi_gcp/compute/disk_iam_binding.py +38 -0
- pulumi_gcp/compute/disk_iam_member.py +38 -0
- pulumi_gcp/compute/disk_iam_policy.py +38 -0
- pulumi_gcp/compute/get_disk.py +11 -1
- pulumi_gcp/compute/get_hc_vpn_gateway.py +11 -1
- pulumi_gcp/compute/get_instance_template.py +2 -2
- pulumi_gcp/compute/get_region_instance_template.py +2 -2
- pulumi_gcp/compute/get_snapshot.py +2 -2
- pulumi_gcp/compute/ha_vpn_gateway.py +68 -7
- pulumi_gcp/compute/image_iam_binding.py +42 -0
- pulumi_gcp/compute/image_iam_member.py +42 -0
- pulumi_gcp/compute/image_iam_policy.py +42 -0
- pulumi_gcp/compute/instance_iam_binding.py +42 -0
- pulumi_gcp/compute/instance_iam_member.py +42 -0
- pulumi_gcp/compute/instance_iam_policy.py +42 -0
- pulumi_gcp/compute/machine_image_iam_binding.py +40 -0
- pulumi_gcp/compute/machine_image_iam_member.py +40 -0
- pulumi_gcp/compute/machine_image_iam_policy.py +40 -0
- pulumi_gcp/compute/outputs.py +24 -24
- pulumi_gcp/compute/region_disk_iam_binding.py +38 -0
- pulumi_gcp/compute/region_disk_iam_member.py +38 -0
- pulumi_gcp/compute/region_disk_iam_policy.py +38 -0
- pulumi_gcp/compute/snapshot_iam_binding.py +38 -0
- pulumi_gcp/compute/snapshot_iam_member.py +38 -0
- pulumi_gcp/compute/snapshot_iam_policy.py +38 -0
- pulumi_gcp/compute/subnetwork_iam_binding.py +42 -0
- pulumi_gcp/compute/subnetwork_iam_member.py +42 -0
- pulumi_gcp/compute/subnetwork_iam_policy.py +42 -0
- pulumi_gcp/container/_inputs.py +3 -3
- pulumi_gcp/container/outputs.py +2 -2
- pulumi_gcp/containeranalysis/note_iam_binding.py +38 -0
- pulumi_gcp/containeranalysis/note_iam_member.py +38 -0
- pulumi_gcp/containeranalysis/note_iam_policy.py +38 -0
- pulumi_gcp/datacatalog/entry_group_iam_binding.py +38 -0
- pulumi_gcp/datacatalog/entry_group_iam_member.py +38 -0
- pulumi_gcp/datacatalog/entry_group_iam_policy.py +38 -0
- pulumi_gcp/datacatalog/policy_tag_iam_binding.py +40 -0
- pulumi_gcp/datacatalog/policy_tag_iam_member.py +40 -0
- pulumi_gcp/datacatalog/policy_tag_iam_policy.py +40 -0
- pulumi_gcp/datacatalog/tag_template_iam_binding.py +38 -0
- pulumi_gcp/datacatalog/tag_template_iam_member.py +38 -0
- pulumi_gcp/datacatalog/tag_template_iam_policy.py +38 -0
- pulumi_gcp/datacatalog/taxonomy_iam_binding.py +38 -0
- pulumi_gcp/datacatalog/taxonomy_iam_member.py +38 -0
- pulumi_gcp/datacatalog/taxonomy_iam_policy.py +38 -0
- pulumi_gcp/dataplex/aspect_type_iam_binding.py +38 -0
- pulumi_gcp/dataplex/aspect_type_iam_member.py +38 -0
- pulumi_gcp/dataplex/aspect_type_iam_policy.py +38 -0
- pulumi_gcp/dataplex/asset_iam_binding.py +38 -0
- pulumi_gcp/dataplex/asset_iam_member.py +38 -0
- pulumi_gcp/dataplex/asset_iam_policy.py +38 -0
- pulumi_gcp/dataplex/datascan_iam_binding.py +38 -0
- pulumi_gcp/dataplex/datascan_iam_member.py +38 -0
- pulumi_gcp/dataplex/datascan_iam_policy.py +38 -0
- pulumi_gcp/dataplex/entry_group_iam_binding.py +38 -0
- pulumi_gcp/dataplex/entry_group_iam_member.py +38 -0
- pulumi_gcp/dataplex/entry_group_iam_policy.py +38 -0
- pulumi_gcp/dataplex/entry_type_iam_binding.py +38 -0
- pulumi_gcp/dataplex/entry_type_iam_member.py +38 -0
- pulumi_gcp/dataplex/entry_type_iam_policy.py +38 -0
- pulumi_gcp/dataplex/lake_iam_binding.py +38 -0
- pulumi_gcp/dataplex/lake_iam_member.py +38 -0
- pulumi_gcp/dataplex/lake_iam_policy.py +38 -0
- pulumi_gcp/dataplex/task_iam_binding.py +38 -0
- pulumi_gcp/dataplex/task_iam_member.py +38 -0
- pulumi_gcp/dataplex/task_iam_policy.py +38 -0
- pulumi_gcp/dataplex/zone_iam_binding.py +38 -0
- pulumi_gcp/dataplex/zone_iam_member.py +38 -0
- pulumi_gcp/dataplex/zone_iam_policy.py +38 -0
- pulumi_gcp/dataproc/autoscaling_policy_iam_binding.py +38 -0
- pulumi_gcp/dataproc/autoscaling_policy_iam_member.py +38 -0
- pulumi_gcp/dataproc/autoscaling_policy_iam_policy.py +38 -0
- pulumi_gcp/dataproc/metastore_federation_iam_binding.py +38 -0
- pulumi_gcp/dataproc/metastore_federation_iam_member.py +38 -0
- pulumi_gcp/dataproc/metastore_federation_iam_policy.py +38 -0
- pulumi_gcp/dataproc/metastore_service_iam_binding.py +38 -0
- pulumi_gcp/dataproc/metastore_service_iam_member.py +38 -0
- pulumi_gcp/dataproc/metastore_service_iam_policy.py +38 -0
- pulumi_gcp/dns/dns_managed_zone_iam_binding.py +38 -0
- pulumi_gcp/dns/dns_managed_zone_iam_member.py +38 -0
- pulumi_gcp/dns/dns_managed_zone_iam_policy.py +38 -0
- pulumi_gcp/endpoints/service_iam_binding.py +40 -0
- pulumi_gcp/endpoints/service_iam_member.py +40 -0
- pulumi_gcp/endpoints/service_iam_policy.py +40 -0
- pulumi_gcp/firebase/project.py +10 -2
- pulumi_gcp/folder/iam_audit_config.py +0 -86
- pulumi_gcp/folder/iam_member.py +0 -86
- pulumi_gcp/folder/iam_policy.py +0 -86
- pulumi_gcp/gkebackup/backup_plan_iam_binding.py +38 -0
- pulumi_gcp/gkebackup/backup_plan_iam_member.py +38 -0
- pulumi_gcp/gkebackup/backup_plan_iam_policy.py +38 -0
- pulumi_gcp/gkebackup/restore_plan_iam_binding.py +38 -0
- pulumi_gcp/gkebackup/restore_plan_iam_member.py +38 -0
- pulumi_gcp/gkebackup/restore_plan_iam_policy.py +38 -0
- pulumi_gcp/gkehub/feature_iam_binding.py +38 -0
- pulumi_gcp/gkehub/feature_iam_member.py +38 -0
- pulumi_gcp/gkehub/feature_iam_policy.py +38 -0
- pulumi_gcp/gkehub/membership_iam_binding.py +38 -0
- pulumi_gcp/gkehub/membership_iam_member.py +38 -0
- pulumi_gcp/gkehub/membership_iam_policy.py +38 -0
- pulumi_gcp/gkehub/scope_iam_binding.py +38 -0
- pulumi_gcp/gkehub/scope_iam_member.py +38 -0
- pulumi_gcp/gkehub/scope_iam_policy.py +38 -0
- pulumi_gcp/healthcare/consent_store_iam_binding.py +40 -0
- pulumi_gcp/healthcare/consent_store_iam_member.py +40 -0
- pulumi_gcp/healthcare/consent_store_iam_policy.py +40 -0
- pulumi_gcp/healthcare/dataset_iam_binding.py +0 -30
- pulumi_gcp/healthcare/dataset_iam_member.py +0 -30
- pulumi_gcp/healthcare/dataset_iam_policy.py +0 -30
- pulumi_gcp/healthcare/dicom_store_iam_binding.py +0 -30
- pulumi_gcp/healthcare/dicom_store_iam_member.py +0 -30
- pulumi_gcp/healthcare/dicom_store_iam_policy.py +0 -30
- pulumi_gcp/healthcare/fhir_store_iam_binding.py +0 -30
- pulumi_gcp/healthcare/fhir_store_iam_member.py +0 -30
- pulumi_gcp/healthcare/fhir_store_iam_policy.py +0 -30
- pulumi_gcp/healthcare/hl7_store_iam_binding.py +0 -30
- pulumi_gcp/healthcare/hl7_store_iam_member.py +0 -30
- pulumi_gcp/healthcare/hl7_store_iam_policy.py +0 -30
- pulumi_gcp/iap/app_engine_service_iam_binding.py +42 -0
- pulumi_gcp/iap/app_engine_service_iam_member.py +42 -0
- pulumi_gcp/iap/app_engine_service_iam_policy.py +42 -0
- pulumi_gcp/iap/app_engine_version_iam_binding.py +42 -0
- pulumi_gcp/iap/app_engine_version_iam_member.py +42 -0
- pulumi_gcp/iap/app_engine_version_iam_policy.py +42 -0
- pulumi_gcp/iap/tunnel_dest_group_iam_binding.py +42 -0
- pulumi_gcp/iap/tunnel_dest_group_iam_member.py +42 -0
- pulumi_gcp/iap/tunnel_dest_group_iam_policy.py +42 -0
- pulumi_gcp/iap/tunnel_iam_binding.py +42 -0
- pulumi_gcp/iap/tunnel_iam_member.py +42 -0
- pulumi_gcp/iap/tunnel_iam_policy.py +42 -0
- pulumi_gcp/iap/tunnel_instance_iam_binding.py +42 -0
- pulumi_gcp/iap/tunnel_instance_iam_member.py +42 -0
- pulumi_gcp/iap/tunnel_instance_iam_policy.py +42 -0
- pulumi_gcp/iap/web_backend_service_iam_binding.py +42 -0
- pulumi_gcp/iap/web_backend_service_iam_member.py +42 -0
- pulumi_gcp/iap/web_backend_service_iam_policy.py +42 -0
- pulumi_gcp/iap/web_iam_binding.py +42 -0
- pulumi_gcp/iap/web_iam_member.py +42 -0
- pulumi_gcp/iap/web_iam_policy.py +42 -0
- pulumi_gcp/iap/web_region_backend_service_iam_binding.py +42 -0
- pulumi_gcp/iap/web_region_backend_service_iam_member.py +42 -0
- pulumi_gcp/iap/web_region_backend_service_iam_policy.py +42 -0
- pulumi_gcp/iap/web_type_app_enging_iam_binding.py +42 -0
- pulumi_gcp/iap/web_type_app_enging_iam_member.py +42 -0
- pulumi_gcp/iap/web_type_app_enging_iam_policy.py +42 -0
- pulumi_gcp/iap/web_type_compute_iam_binding.py +42 -0
- pulumi_gcp/iap/web_type_compute_iam_member.py +42 -0
- pulumi_gcp/iap/web_type_compute_iam_policy.py +42 -0
- pulumi_gcp/kms/key_handle.py +7 -7
- pulumi_gcp/kms/key_ring_iam_binding.py +0 -82
- pulumi_gcp/kms/key_ring_iam_member.py +0 -82
- pulumi_gcp/kms/key_ring_iam_policy.py +0 -82
- pulumi_gcp/migrationcenter/_inputs.py +21 -129
- pulumi_gcp/migrationcenter/outputs.py +14 -86
- pulumi_gcp/networkconnectivity/hub.py +69 -0
- pulumi_gcp/notebooks/instance_iam_binding.py +38 -0
- pulumi_gcp/notebooks/instance_iam_member.py +38 -0
- pulumi_gcp/notebooks/instance_iam_policy.py +38 -0
- pulumi_gcp/notebooks/runtime_iam_binding.py +38 -0
- pulumi_gcp/notebooks/runtime_iam_member.py +38 -0
- pulumi_gcp/notebooks/runtime_iam_policy.py +38 -0
- pulumi_gcp/organizations/iam_member.py +0 -94
- pulumi_gcp/organizations/iam_policy.py +0 -94
- pulumi_gcp/organizations/project.py +16 -7
- pulumi_gcp/pubsub/schema_iam_binding.py +38 -0
- pulumi_gcp/pubsub/schema_iam_member.py +38 -0
- pulumi_gcp/pubsub/schema_iam_policy.py +38 -0
- pulumi_gcp/pubsub/subscription_iam_binding.py +0 -30
- pulumi_gcp/pubsub/subscription_iam_member.py +0 -30
- pulumi_gcp/pubsub/subscription_iam_policy.py +0 -30
- pulumi_gcp/pubsub/topic_iam_binding.py +38 -0
- pulumi_gcp/pubsub/topic_iam_member.py +38 -0
- pulumi_gcp/pubsub/topic_iam_policy.py +38 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/secretmanager/secret_iam_binding.py +42 -0
- pulumi_gcp/secretmanager/secret_iam_member.py +42 -0
- pulumi_gcp/secretmanager/secret_iam_policy.py +42 -0
- pulumi_gcp/securesourcemanager/repository_iam_binding.py +38 -0
- pulumi_gcp/securesourcemanager/repository_iam_member.py +38 -0
- pulumi_gcp/securesourcemanager/repository_iam_policy.py +38 -0
- pulumi_gcp/serviceaccount/get_account.py +6 -6
- pulumi_gcp/serviceaccount/key.py +6 -6
- pulumi_gcp/servicedirectory/namespace_iam_binding.py +40 -0
- pulumi_gcp/servicedirectory/namespace_iam_member.py +40 -0
- pulumi_gcp/servicedirectory/namespace_iam_policy.py +40 -0
- pulumi_gcp/servicedirectory/service_iam_binding.py +40 -0
- pulumi_gcp/servicedirectory/service_iam_member.py +40 -0
- pulumi_gcp/servicedirectory/service_iam_policy.py +40 -0
- pulumi_gcp/sourcerepo/repository_iam_binding.py +38 -0
- pulumi_gcp/sourcerepo/repository_iam_member.py +38 -0
- pulumi_gcp/sourcerepo/repository_iam_policy.py +38 -0
- pulumi_gcp/spanner/database_iam_binding.py +0 -74
- pulumi_gcp/spanner/database_iam_member.py +0 -74
- pulumi_gcp/spanner/database_iam_policy.py +0 -74
- pulumi_gcp/spanner/instance_iam_binding.py +0 -30
- pulumi_gcp/spanner/instance_iam_member.py +0 -30
- pulumi_gcp/spanner/instance_iam_policy.py +0 -30
- pulumi_gcp/sql/_inputs.py +35 -15
- pulumi_gcp/sql/outputs.py +50 -14
- pulumi_gcp/storage/bucket_iam_binding.py +42 -0
- pulumi_gcp/storage/bucket_iam_member.py +42 -0
- pulumi_gcp/storage/bucket_iam_policy.py +42 -0
- pulumi_gcp/storage/managed_folder_iam_binding.py +44 -0
- pulumi_gcp/storage/managed_folder_iam_member.py +44 -0
- pulumi_gcp/storage/managed_folder_iam_policy.py +44 -0
- pulumi_gcp/tags/tag_key_iam_binding.py +40 -0
- pulumi_gcp/tags/tag_key_iam_member.py +40 -0
- pulumi_gcp/tags/tag_key_iam_policy.py +40 -0
- pulumi_gcp/tags/tag_value_iam_binding.py +40 -0
- pulumi_gcp/tags/tag_value_iam_member.py +40 -0
- pulumi_gcp/tags/tag_value_iam_policy.py +40 -0
- {pulumi_gcp-7.35.0a1722924350.dist-info → pulumi_gcp-7.36.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.35.0a1722924350.dist-info → pulumi_gcp-7.36.0.dist-info}/RECORD +287 -287
- {pulumi_gcp-7.35.0a1722924350.dist-info → pulumi_gcp-7.36.0.dist-info}/WHEEL +1 -1
- {pulumi_gcp-7.35.0a1722924350.dist-info → pulumi_gcp-7.36.0.dist-info}/top_level.txt +0 -0
pulumi_gcp/compute/_inputs.py
CHANGED
@@ -13962,19 +13962,19 @@ if not MYPY:
|
|
13962
13962
|
"""
|
13963
13963
|
max_surge_fixed: NotRequired[pulumi.Input[int]]
|
13964
13964
|
"""
|
13965
|
-
,
|
13965
|
+
, Specifies a fixed number of VM instances. This must be a positive integer. Conflicts with `max_surge_percent`. Both cannot be 0.
|
13966
13966
|
"""
|
13967
13967
|
max_surge_percent: NotRequired[pulumi.Input[int]]
|
13968
13968
|
"""
|
13969
|
-
,
|
13969
|
+
, Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%. Conflicts with `max_surge_fixed`.
|
13970
13970
|
"""
|
13971
13971
|
max_unavailable_fixed: NotRequired[pulumi.Input[int]]
|
13972
13972
|
"""
|
13973
|
-
,
|
13973
|
+
, Specifies a fixed number of VM instances. This must be a positive integer.
|
13974
13974
|
"""
|
13975
13975
|
max_unavailable_percent: NotRequired[pulumi.Input[int]]
|
13976
13976
|
"""
|
13977
|
-
,
|
13977
|
+
, Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%..
|
13978
13978
|
"""
|
13979
13979
|
min_ready_sec: NotRequired[pulumi.Input[int]]
|
13980
13980
|
"""
|
@@ -14007,10 +14007,10 @@ class InstanceGroupManagerUpdatePolicyArgs:
|
|
14007
14007
|
"""
|
14008
14008
|
:param pulumi.Input[str] minimal_action: Minimal action to be taken on an instance. You can specify either `NONE` to forbid any actions, `REFRESH` to update without stopping instances, `RESTART` to restart existing instances or `REPLACE` to delete and create new instances from the target template. If you specify a `REFRESH`, the Updater will attempt to perform that action only. However, if the Updater determines that the minimal action you specify is not enough to perform the update, it might perform a more disruptive action.
|
14009
14009
|
:param pulumi.Input[str] type: The type of update process. You can specify either `PROACTIVE` so that the instance group manager proactively executes actions in order to bring instances to their target versions or `OPPORTUNISTIC` so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls).
|
14010
|
-
:param pulumi.Input[int] max_surge_fixed: ,
|
14011
|
-
:param pulumi.Input[int] max_surge_percent: ,
|
14012
|
-
:param pulumi.Input[int] max_unavailable_fixed: ,
|
14013
|
-
:param pulumi.Input[int] max_unavailable_percent: ,
|
14010
|
+
:param pulumi.Input[int] max_surge_fixed: , Specifies a fixed number of VM instances. This must be a positive integer. Conflicts with `max_surge_percent`. Both cannot be 0.
|
14011
|
+
:param pulumi.Input[int] max_surge_percent: , Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%. Conflicts with `max_surge_fixed`.
|
14012
|
+
:param pulumi.Input[int] max_unavailable_fixed: , Specifies a fixed number of VM instances. This must be a positive integer.
|
14013
|
+
:param pulumi.Input[int] max_unavailable_percent: , Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%..
|
14014
14014
|
:param pulumi.Input[int] min_ready_sec: , Minimum number of seconds to wait for after a newly created instance becomes available. This value must be from range [0, 3600]
|
14015
14015
|
:param pulumi.Input[str] most_disruptive_allowed_action: Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
|
14016
14016
|
:param pulumi.Input[str] replacement_method: , The instance replacement method for managed instance groups. Valid values are: "RECREATE", "SUBSTITUTE". If SUBSTITUTE (default), the group replaces VM instances with new instances that have randomly generated names. If RECREATE, instance names are preserved. You must also set max_unavailable_fixed or max_unavailable_percent to be greater than 0.
|
@@ -14061,7 +14061,7 @@ class InstanceGroupManagerUpdatePolicyArgs:
|
|
14061
14061
|
@pulumi.getter(name="maxSurgeFixed")
|
14062
14062
|
def max_surge_fixed(self) -> Optional[pulumi.Input[int]]:
|
14063
14063
|
"""
|
14064
|
-
,
|
14064
|
+
, Specifies a fixed number of VM instances. This must be a positive integer. Conflicts with `max_surge_percent`. Both cannot be 0.
|
14065
14065
|
"""
|
14066
14066
|
return pulumi.get(self, "max_surge_fixed")
|
14067
14067
|
|
@@ -14073,7 +14073,7 @@ class InstanceGroupManagerUpdatePolicyArgs:
|
|
14073
14073
|
@pulumi.getter(name="maxSurgePercent")
|
14074
14074
|
def max_surge_percent(self) -> Optional[pulumi.Input[int]]:
|
14075
14075
|
"""
|
14076
|
-
,
|
14076
|
+
, Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%. Conflicts with `max_surge_fixed`.
|
14077
14077
|
"""
|
14078
14078
|
return pulumi.get(self, "max_surge_percent")
|
14079
14079
|
|
@@ -14085,7 +14085,7 @@ class InstanceGroupManagerUpdatePolicyArgs:
|
|
14085
14085
|
@pulumi.getter(name="maxUnavailableFixed")
|
14086
14086
|
def max_unavailable_fixed(self) -> Optional[pulumi.Input[int]]:
|
14087
14087
|
"""
|
14088
|
-
,
|
14088
|
+
, Specifies a fixed number of VM instances. This must be a positive integer.
|
14089
14089
|
"""
|
14090
14090
|
return pulumi.get(self, "max_unavailable_fixed")
|
14091
14091
|
|
@@ -14097,7 +14097,7 @@ class InstanceGroupManagerUpdatePolicyArgs:
|
|
14097
14097
|
@pulumi.getter(name="maxUnavailablePercent")
|
14098
14098
|
def max_unavailable_percent(self) -> Optional[pulumi.Input[int]]:
|
14099
14099
|
"""
|
14100
|
-
,
|
14100
|
+
, Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%..
|
14101
14101
|
"""
|
14102
14102
|
return pulumi.get(self, "max_unavailable_percent")
|
14103
14103
|
|
@@ -27090,19 +27090,19 @@ if not MYPY:
|
|
27090
27090
|
"""
|
27091
27091
|
max_surge_fixed: NotRequired[pulumi.Input[int]]
|
27092
27092
|
"""
|
27093
|
-
,
|
27093
|
+
, Specifies a fixed number of VM instances. This must be a positive integer. Conflicts with `max_surge_percent`. Both cannot be 0.
|
27094
27094
|
"""
|
27095
27095
|
max_surge_percent: NotRequired[pulumi.Input[int]]
|
27096
27096
|
"""
|
27097
|
-
,
|
27097
|
+
, Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%. Conflicts with `max_surge_fixed`.
|
27098
27098
|
"""
|
27099
27099
|
max_unavailable_fixed: NotRequired[pulumi.Input[int]]
|
27100
27100
|
"""
|
27101
|
-
,
|
27101
|
+
, Specifies a fixed number of VM instances. This must be a positive integer.
|
27102
27102
|
"""
|
27103
27103
|
max_unavailable_percent: NotRequired[pulumi.Input[int]]
|
27104
27104
|
"""
|
27105
|
-
,
|
27105
|
+
, Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%..
|
27106
27106
|
"""
|
27107
27107
|
min_ready_sec: NotRequired[pulumi.Input[int]]
|
27108
27108
|
"""
|
@@ -27137,10 +27137,10 @@ class RegionInstanceGroupManagerUpdatePolicyArgs:
|
|
27137
27137
|
:param pulumi.Input[str] minimal_action: Minimal action to be taken on an instance. You can specify either `NONE` to forbid any actions, `REFRESH` to update without stopping instances, `RESTART` to restart existing instances or `REPLACE` to delete and create new instances from the target template. If you specify a `REFRESH`, the Updater will attempt to perform that action only. However, if the Updater determines that the minimal action you specify is not enough to perform the update, it might perform a more disruptive action.
|
27138
27138
|
:param pulumi.Input[str] type: The type of update process. You can specify either `PROACTIVE` so that the instance group manager proactively executes actions in order to bring instances to their target versions or `OPPORTUNISTIC` so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls).
|
27139
27139
|
:param pulumi.Input[str] instance_redistribution_type: The instance redistribution policy for regional managed instance groups. Valid values are: `"PROACTIVE"`, `"NONE"`. If `PROACTIVE` (default), the group attempts to maintain an even distribution of VM instances across zones in the region. If `NONE`, proactive redistribution is disabled.
|
27140
|
-
:param pulumi.Input[int] max_surge_fixed: ,
|
27141
|
-
:param pulumi.Input[int] max_surge_percent: ,
|
27142
|
-
:param pulumi.Input[int] max_unavailable_fixed: ,
|
27143
|
-
:param pulumi.Input[int] max_unavailable_percent: ,
|
27140
|
+
:param pulumi.Input[int] max_surge_fixed: , Specifies a fixed number of VM instances. This must be a positive integer. Conflicts with `max_surge_percent`. Both cannot be 0.
|
27141
|
+
:param pulumi.Input[int] max_surge_percent: , Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%. Conflicts with `max_surge_fixed`.
|
27142
|
+
:param pulumi.Input[int] max_unavailable_fixed: , Specifies a fixed number of VM instances. This must be a positive integer.
|
27143
|
+
:param pulumi.Input[int] max_unavailable_percent: , Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%..
|
27144
27144
|
:param pulumi.Input[int] min_ready_sec: , Minimum number of seconds to wait for after a newly created instance becomes available. This value must be from range [0, 3600]
|
27145
27145
|
:param pulumi.Input[str] most_disruptive_allowed_action: Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all.
|
27146
27146
|
:param pulumi.Input[str] replacement_method: , The instance replacement method for managed instance groups. Valid values are: "RECREATE", "SUBSTITUTE". If SUBSTITUTE (default), the group replaces VM instances with new instances that have randomly generated names. If RECREATE, instance names are preserved. You must also set max_unavailable_fixed or max_unavailable_percent to be greater than 0.
|
@@ -27205,7 +27205,7 @@ class RegionInstanceGroupManagerUpdatePolicyArgs:
|
|
27205
27205
|
@pulumi.getter(name="maxSurgeFixed")
|
27206
27206
|
def max_surge_fixed(self) -> Optional[pulumi.Input[int]]:
|
27207
27207
|
"""
|
27208
|
-
,
|
27208
|
+
, Specifies a fixed number of VM instances. This must be a positive integer. Conflicts with `max_surge_percent`. Both cannot be 0.
|
27209
27209
|
"""
|
27210
27210
|
return pulumi.get(self, "max_surge_fixed")
|
27211
27211
|
|
@@ -27217,7 +27217,7 @@ class RegionInstanceGroupManagerUpdatePolicyArgs:
|
|
27217
27217
|
@pulumi.getter(name="maxSurgePercent")
|
27218
27218
|
def max_surge_percent(self) -> Optional[pulumi.Input[int]]:
|
27219
27219
|
"""
|
27220
|
-
,
|
27220
|
+
, Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%. Conflicts with `max_surge_fixed`.
|
27221
27221
|
"""
|
27222
27222
|
return pulumi.get(self, "max_surge_percent")
|
27223
27223
|
|
@@ -27229,7 +27229,7 @@ class RegionInstanceGroupManagerUpdatePolicyArgs:
|
|
27229
27229
|
@pulumi.getter(name="maxUnavailableFixed")
|
27230
27230
|
def max_unavailable_fixed(self) -> Optional[pulumi.Input[int]]:
|
27231
27231
|
"""
|
27232
|
-
,
|
27232
|
+
, Specifies a fixed number of VM instances. This must be a positive integer.
|
27233
27233
|
"""
|
27234
27234
|
return pulumi.get(self, "max_unavailable_fixed")
|
27235
27235
|
|
@@ -27241,7 +27241,7 @@ class RegionInstanceGroupManagerUpdatePolicyArgs:
|
|
27241
27241
|
@pulumi.getter(name="maxUnavailablePercent")
|
27242
27242
|
def max_unavailable_percent(self) -> Optional[pulumi.Input[int]]:
|
27243
27243
|
"""
|
27244
|
-
,
|
27244
|
+
, Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%..
|
27245
27245
|
"""
|
27246
27246
|
return pulumi.get(self, "max_unavailable_percent")
|
27247
27247
|
|
pulumi_gcp/compute/disk.py
CHANGED
@@ -21,6 +21,7 @@ __all__ = ['DiskArgs', 'Disk']
|
|
21
21
|
@pulumi.input_type
|
22
22
|
class DiskArgs:
|
23
23
|
def __init__(__self__, *,
|
24
|
+
access_mode: Optional[pulumi.Input[str]] = None,
|
24
25
|
async_primary_disk: Optional[pulumi.Input['DiskAsyncPrimaryDiskArgs']] = None,
|
25
26
|
description: Optional[pulumi.Input[str]] = None,
|
26
27
|
disk_encryption_key: Optional[pulumi.Input['DiskDiskEncryptionKeyArgs']] = None,
|
@@ -47,6 +48,11 @@ class DiskArgs:
|
|
47
48
|
zone: Optional[pulumi.Input[str]] = None):
|
48
49
|
"""
|
49
50
|
The set of arguments for constructing a Disk resource.
|
51
|
+
:param pulumi.Input[str] access_mode: The accessMode of the disk.
|
52
|
+
For example:
|
53
|
+
* READ_WRITE_SINGLE
|
54
|
+
* READ_WRITE_MANY
|
55
|
+
* READ_ONLY_SINGLE
|
50
56
|
:param pulumi.Input['DiskAsyncPrimaryDiskArgs'] async_primary_disk: A nested object resource
|
51
57
|
Structure is documented below.
|
52
58
|
:param pulumi.Input[str] description: An optional description of this resource. Provide this property when
|
@@ -154,6 +160,8 @@ class DiskArgs:
|
|
154
160
|
create the disk. Provide this when creating the disk.
|
155
161
|
:param pulumi.Input[str] zone: A reference to the zone where the disk resides.
|
156
162
|
"""
|
163
|
+
if access_mode is not None:
|
164
|
+
pulumi.set(__self__, "access_mode", access_mode)
|
157
165
|
if async_primary_disk is not None:
|
158
166
|
pulumi.set(__self__, "async_primary_disk", async_primary_disk)
|
159
167
|
if description is not None:
|
@@ -206,6 +214,22 @@ class DiskArgs:
|
|
206
214
|
if zone is not None:
|
207
215
|
pulumi.set(__self__, "zone", zone)
|
208
216
|
|
217
|
+
@property
|
218
|
+
@pulumi.getter(name="accessMode")
|
219
|
+
def access_mode(self) -> Optional[pulumi.Input[str]]:
|
220
|
+
"""
|
221
|
+
The accessMode of the disk.
|
222
|
+
For example:
|
223
|
+
* READ_WRITE_SINGLE
|
224
|
+
* READ_WRITE_MANY
|
225
|
+
* READ_ONLY_SINGLE
|
226
|
+
"""
|
227
|
+
return pulumi.get(self, "access_mode")
|
228
|
+
|
229
|
+
@access_mode.setter
|
230
|
+
def access_mode(self, value: Optional[pulumi.Input[str]]):
|
231
|
+
pulumi.set(self, "access_mode", value)
|
232
|
+
|
209
233
|
@property
|
210
234
|
@pulumi.getter(name="asyncPrimaryDisk")
|
211
235
|
def async_primary_disk(self) -> Optional[pulumi.Input['DiskAsyncPrimaryDiskArgs']]:
|
@@ -581,6 +605,7 @@ class DiskArgs:
|
|
581
605
|
@pulumi.input_type
|
582
606
|
class _DiskState:
|
583
607
|
def __init__(__self__, *,
|
608
|
+
access_mode: Optional[pulumi.Input[str]] = None,
|
584
609
|
async_primary_disk: Optional[pulumi.Input['DiskAsyncPrimaryDiskArgs']] = None,
|
585
610
|
creation_timestamp: Optional[pulumi.Input[str]] = None,
|
586
611
|
description: Optional[pulumi.Input[str]] = None,
|
@@ -619,6 +644,11 @@ class _DiskState:
|
|
619
644
|
zone: Optional[pulumi.Input[str]] = None):
|
620
645
|
"""
|
621
646
|
Input properties used for looking up and filtering Disk resources.
|
647
|
+
:param pulumi.Input[str] access_mode: The accessMode of the disk.
|
648
|
+
For example:
|
649
|
+
* READ_WRITE_SINGLE
|
650
|
+
* READ_WRITE_MANY
|
651
|
+
* READ_ONLY_SINGLE
|
622
652
|
:param pulumi.Input['DiskAsyncPrimaryDiskArgs'] async_primary_disk: A nested object resource
|
623
653
|
Structure is documented below.
|
624
654
|
:param pulumi.Input[str] creation_timestamp: Creation timestamp in RFC3339 text format.
|
@@ -752,6 +782,8 @@ class _DiskState:
|
|
752
782
|
project/zones/zone/instances/instance
|
753
783
|
:param pulumi.Input[str] zone: A reference to the zone where the disk resides.
|
754
784
|
"""
|
785
|
+
if access_mode is not None:
|
786
|
+
pulumi.set(__self__, "access_mode", access_mode)
|
755
787
|
if async_primary_disk is not None:
|
756
788
|
pulumi.set(__self__, "async_primary_disk", async_primary_disk)
|
757
789
|
if creation_timestamp is not None:
|
@@ -828,6 +860,22 @@ class _DiskState:
|
|
828
860
|
if zone is not None:
|
829
861
|
pulumi.set(__self__, "zone", zone)
|
830
862
|
|
863
|
+
@property
|
864
|
+
@pulumi.getter(name="accessMode")
|
865
|
+
def access_mode(self) -> Optional[pulumi.Input[str]]:
|
866
|
+
"""
|
867
|
+
The accessMode of the disk.
|
868
|
+
For example:
|
869
|
+
* READ_WRITE_SINGLE
|
870
|
+
* READ_WRITE_MANY
|
871
|
+
* READ_ONLY_SINGLE
|
872
|
+
"""
|
873
|
+
return pulumi.get(self, "access_mode")
|
874
|
+
|
875
|
+
@access_mode.setter
|
876
|
+
def access_mode(self, value: Optional[pulumi.Input[str]]):
|
877
|
+
pulumi.set(self, "access_mode", value)
|
878
|
+
|
831
879
|
@property
|
832
880
|
@pulumi.getter(name="asyncPrimaryDisk")
|
833
881
|
def async_primary_disk(self) -> Optional[pulumi.Input['DiskAsyncPrimaryDiskArgs']]:
|
@@ -1363,6 +1411,7 @@ class Disk(pulumi.CustomResource):
|
|
1363
1411
|
def __init__(__self__,
|
1364
1412
|
resource_name: str,
|
1365
1413
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1414
|
+
access_mode: Optional[pulumi.Input[str]] = None,
|
1366
1415
|
async_primary_disk: Optional[pulumi.Input[Union['DiskAsyncPrimaryDiskArgs', 'DiskAsyncPrimaryDiskArgsDict']]] = None,
|
1367
1416
|
description: Optional[pulumi.Input[str]] = None,
|
1368
1417
|
disk_encryption_key: Optional[pulumi.Input[Union['DiskDiskEncryptionKeyArgs', 'DiskDiskEncryptionKeyArgsDict']]] = None,
|
@@ -1509,6 +1558,11 @@ class Disk(pulumi.CustomResource):
|
|
1509
1558
|
|
1510
1559
|
:param str resource_name: The name of the resource.
|
1511
1560
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
1561
|
+
:param pulumi.Input[str] access_mode: The accessMode of the disk.
|
1562
|
+
For example:
|
1563
|
+
* READ_WRITE_SINGLE
|
1564
|
+
* READ_WRITE_MANY
|
1565
|
+
* READ_ONLY_SINGLE
|
1512
1566
|
:param pulumi.Input[Union['DiskAsyncPrimaryDiskArgs', 'DiskAsyncPrimaryDiskArgsDict']] async_primary_disk: A nested object resource
|
1513
1567
|
Structure is documented below.
|
1514
1568
|
:param pulumi.Input[str] description: An optional description of this resource. Provide this property when
|
@@ -1756,6 +1810,7 @@ class Disk(pulumi.CustomResource):
|
|
1756
1810
|
def _internal_init(__self__,
|
1757
1811
|
resource_name: str,
|
1758
1812
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1813
|
+
access_mode: Optional[pulumi.Input[str]] = None,
|
1759
1814
|
async_primary_disk: Optional[pulumi.Input[Union['DiskAsyncPrimaryDiskArgs', 'DiskAsyncPrimaryDiskArgsDict']]] = None,
|
1760
1815
|
description: Optional[pulumi.Input[str]] = None,
|
1761
1816
|
disk_encryption_key: Optional[pulumi.Input[Union['DiskDiskEncryptionKeyArgs', 'DiskDiskEncryptionKeyArgsDict']]] = None,
|
@@ -1789,6 +1844,7 @@ class Disk(pulumi.CustomResource):
|
|
1789
1844
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
1790
1845
|
__props__ = DiskArgs.__new__(DiskArgs)
|
1791
1846
|
|
1847
|
+
__props__.__dict__["access_mode"] = access_mode
|
1792
1848
|
__props__.__dict__["async_primary_disk"] = async_primary_disk
|
1793
1849
|
__props__.__dict__["description"] = description
|
1794
1850
|
__props__.__dict__["disk_encryption_key"] = disk_encryption_key
|
@@ -1837,6 +1893,7 @@ class Disk(pulumi.CustomResource):
|
|
1837
1893
|
def get(resource_name: str,
|
1838
1894
|
id: pulumi.Input[str],
|
1839
1895
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1896
|
+
access_mode: Optional[pulumi.Input[str]] = None,
|
1840
1897
|
async_primary_disk: Optional[pulumi.Input[Union['DiskAsyncPrimaryDiskArgs', 'DiskAsyncPrimaryDiskArgsDict']]] = None,
|
1841
1898
|
creation_timestamp: Optional[pulumi.Input[str]] = None,
|
1842
1899
|
description: Optional[pulumi.Input[str]] = None,
|
@@ -1880,6 +1937,11 @@ class Disk(pulumi.CustomResource):
|
|
1880
1937
|
:param str resource_name: The unique name of the resulting resource.
|
1881
1938
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
1882
1939
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
1940
|
+
:param pulumi.Input[str] access_mode: The accessMode of the disk.
|
1941
|
+
For example:
|
1942
|
+
* READ_WRITE_SINGLE
|
1943
|
+
* READ_WRITE_MANY
|
1944
|
+
* READ_ONLY_SINGLE
|
1883
1945
|
:param pulumi.Input[Union['DiskAsyncPrimaryDiskArgs', 'DiskAsyncPrimaryDiskArgsDict']] async_primary_disk: A nested object resource
|
1884
1946
|
Structure is documented below.
|
1885
1947
|
:param pulumi.Input[str] creation_timestamp: Creation timestamp in RFC3339 text format.
|
@@ -2017,6 +2079,7 @@ class Disk(pulumi.CustomResource):
|
|
2017
2079
|
|
2018
2080
|
__props__ = _DiskState.__new__(_DiskState)
|
2019
2081
|
|
2082
|
+
__props__.__dict__["access_mode"] = access_mode
|
2020
2083
|
__props__.__dict__["async_primary_disk"] = async_primary_disk
|
2021
2084
|
__props__.__dict__["creation_timestamp"] = creation_timestamp
|
2022
2085
|
__props__.__dict__["description"] = description
|
@@ -2055,6 +2118,18 @@ class Disk(pulumi.CustomResource):
|
|
2055
2118
|
__props__.__dict__["zone"] = zone
|
2056
2119
|
return Disk(resource_name, opts=opts, __props__=__props__)
|
2057
2120
|
|
2121
|
+
@property
|
2122
|
+
@pulumi.getter(name="accessMode")
|
2123
|
+
def access_mode(self) -> pulumi.Output[str]:
|
2124
|
+
"""
|
2125
|
+
The accessMode of the disk.
|
2126
|
+
For example:
|
2127
|
+
* READ_WRITE_SINGLE
|
2128
|
+
* READ_WRITE_MANY
|
2129
|
+
* READ_ONLY_SINGLE
|
2130
|
+
"""
|
2131
|
+
return pulumi.get(self, "access_mode")
|
2132
|
+
|
2058
2133
|
@property
|
2059
2134
|
@pulumi.getter(name="asyncPrimaryDisk")
|
2060
2135
|
def async_primary_disk(self) -> pulumi.Output[Optional['outputs.DiskAsyncPrimaryDisk']]:
|
@@ -364,6 +364,25 @@ class DiskIamBinding(pulumi.CustomResource):
|
|
364
364
|
member="user:jane@example.com")
|
365
365
|
```
|
366
366
|
|
367
|
+
## This resource supports User Project Overrides.
|
368
|
+
|
369
|
+
-
|
370
|
+
|
371
|
+
# IAM policy for Compute Engine Disk
|
372
|
+
Three different resources help you manage your IAM policy for Compute Engine Disk. Each of these resources serves a different use case:
|
373
|
+
|
374
|
+
* `compute.DiskIamPolicy`: Authoritative. Sets the IAM policy for the disk and replaces any existing policy already attached.
|
375
|
+
* `compute.DiskIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the disk are preserved.
|
376
|
+
* `compute.DiskIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the disk are preserved.
|
377
|
+
|
378
|
+
A data source can be used to retrieve policy data in advent you do not need creation
|
379
|
+
|
380
|
+
* `compute.DiskIamPolicy`: Retrieves the IAM policy for the disk
|
381
|
+
|
382
|
+
> **Note:** `compute.DiskIamPolicy` **cannot** be used in conjunction with `compute.DiskIamBinding` and `compute.DiskIamMember` or they will fight over what your policy should be.
|
383
|
+
|
384
|
+
> **Note:** `compute.DiskIamBinding` resources **can be** used in conjunction with `compute.DiskIamMember` resources **only if** they do not grant privilege to the same role.
|
385
|
+
|
367
386
|
## compute.DiskIamPolicy
|
368
387
|
|
369
388
|
```python
|
@@ -536,6 +555,25 @@ class DiskIamBinding(pulumi.CustomResource):
|
|
536
555
|
member="user:jane@example.com")
|
537
556
|
```
|
538
557
|
|
558
|
+
## This resource supports User Project Overrides.
|
559
|
+
|
560
|
+
-
|
561
|
+
|
562
|
+
# IAM policy for Compute Engine Disk
|
563
|
+
Three different resources help you manage your IAM policy for Compute Engine Disk. Each of these resources serves a different use case:
|
564
|
+
|
565
|
+
* `compute.DiskIamPolicy`: Authoritative. Sets the IAM policy for the disk and replaces any existing policy already attached.
|
566
|
+
* `compute.DiskIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the disk are preserved.
|
567
|
+
* `compute.DiskIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the disk are preserved.
|
568
|
+
|
569
|
+
A data source can be used to retrieve policy data in advent you do not need creation
|
570
|
+
|
571
|
+
* `compute.DiskIamPolicy`: Retrieves the IAM policy for the disk
|
572
|
+
|
573
|
+
> **Note:** `compute.DiskIamPolicy` **cannot** be used in conjunction with `compute.DiskIamBinding` and `compute.DiskIamMember` or they will fight over what your policy should be.
|
574
|
+
|
575
|
+
> **Note:** `compute.DiskIamBinding` resources **can be** used in conjunction with `compute.DiskIamMember` resources **only if** they do not grant privilege to the same role.
|
576
|
+
|
539
577
|
## compute.DiskIamPolicy
|
540
578
|
|
541
579
|
```python
|
@@ -364,6 +364,25 @@ class DiskIamMember(pulumi.CustomResource):
|
|
364
364
|
member="user:jane@example.com")
|
365
365
|
```
|
366
366
|
|
367
|
+
## This resource supports User Project Overrides.
|
368
|
+
|
369
|
+
-
|
370
|
+
|
371
|
+
# IAM policy for Compute Engine Disk
|
372
|
+
Three different resources help you manage your IAM policy for Compute Engine Disk. Each of these resources serves a different use case:
|
373
|
+
|
374
|
+
* `compute.DiskIamPolicy`: Authoritative. Sets the IAM policy for the disk and replaces any existing policy already attached.
|
375
|
+
* `compute.DiskIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the disk are preserved.
|
376
|
+
* `compute.DiskIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the disk are preserved.
|
377
|
+
|
378
|
+
A data source can be used to retrieve policy data in advent you do not need creation
|
379
|
+
|
380
|
+
* `compute.DiskIamPolicy`: Retrieves the IAM policy for the disk
|
381
|
+
|
382
|
+
> **Note:** `compute.DiskIamPolicy` **cannot** be used in conjunction with `compute.DiskIamBinding` and `compute.DiskIamMember` or they will fight over what your policy should be.
|
383
|
+
|
384
|
+
> **Note:** `compute.DiskIamBinding` resources **can be** used in conjunction with `compute.DiskIamMember` resources **only if** they do not grant privilege to the same role.
|
385
|
+
|
367
386
|
## compute.DiskIamPolicy
|
368
387
|
|
369
388
|
```python
|
@@ -536,6 +555,25 @@ class DiskIamMember(pulumi.CustomResource):
|
|
536
555
|
member="user:jane@example.com")
|
537
556
|
```
|
538
557
|
|
558
|
+
## This resource supports User Project Overrides.
|
559
|
+
|
560
|
+
-
|
561
|
+
|
562
|
+
# IAM policy for Compute Engine Disk
|
563
|
+
Three different resources help you manage your IAM policy for Compute Engine Disk. Each of these resources serves a different use case:
|
564
|
+
|
565
|
+
* `compute.DiskIamPolicy`: Authoritative. Sets the IAM policy for the disk and replaces any existing policy already attached.
|
566
|
+
* `compute.DiskIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the disk are preserved.
|
567
|
+
* `compute.DiskIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the disk are preserved.
|
568
|
+
|
569
|
+
A data source can be used to retrieve policy data in advent you do not need creation
|
570
|
+
|
571
|
+
* `compute.DiskIamPolicy`: Retrieves the IAM policy for the disk
|
572
|
+
|
573
|
+
> **Note:** `compute.DiskIamPolicy` **cannot** be used in conjunction with `compute.DiskIamBinding` and `compute.DiskIamMember` or they will fight over what your policy should be.
|
574
|
+
|
575
|
+
> **Note:** `compute.DiskIamBinding` resources **can be** used in conjunction with `compute.DiskIamMember` resources **only if** they do not grant privilege to the same role.
|
576
|
+
|
539
577
|
## compute.DiskIamPolicy
|
540
578
|
|
541
579
|
```python
|
@@ -261,6 +261,25 @@ class DiskIamPolicy(pulumi.CustomResource):
|
|
261
261
|
member="user:jane@example.com")
|
262
262
|
```
|
263
263
|
|
264
|
+
## This resource supports User Project Overrides.
|
265
|
+
|
266
|
+
-
|
267
|
+
|
268
|
+
# IAM policy for Compute Engine Disk
|
269
|
+
Three different resources help you manage your IAM policy for Compute Engine Disk. Each of these resources serves a different use case:
|
270
|
+
|
271
|
+
* `compute.DiskIamPolicy`: Authoritative. Sets the IAM policy for the disk and replaces any existing policy already attached.
|
272
|
+
* `compute.DiskIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the disk are preserved.
|
273
|
+
* `compute.DiskIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the disk are preserved.
|
274
|
+
|
275
|
+
A data source can be used to retrieve policy data in advent you do not need creation
|
276
|
+
|
277
|
+
* `compute.DiskIamPolicy`: Retrieves the IAM policy for the disk
|
278
|
+
|
279
|
+
> **Note:** `compute.DiskIamPolicy` **cannot** be used in conjunction with `compute.DiskIamBinding` and `compute.DiskIamMember` or they will fight over what your policy should be.
|
280
|
+
|
281
|
+
> **Note:** `compute.DiskIamBinding` resources **can be** used in conjunction with `compute.DiskIamMember` resources **only if** they do not grant privilege to the same role.
|
282
|
+
|
264
283
|
## compute.DiskIamPolicy
|
265
284
|
|
266
285
|
```python
|
@@ -421,6 +440,25 @@ class DiskIamPolicy(pulumi.CustomResource):
|
|
421
440
|
member="user:jane@example.com")
|
422
441
|
```
|
423
442
|
|
443
|
+
## This resource supports User Project Overrides.
|
444
|
+
|
445
|
+
-
|
446
|
+
|
447
|
+
# IAM policy for Compute Engine Disk
|
448
|
+
Three different resources help you manage your IAM policy for Compute Engine Disk. Each of these resources serves a different use case:
|
449
|
+
|
450
|
+
* `compute.DiskIamPolicy`: Authoritative. Sets the IAM policy for the disk and replaces any existing policy already attached.
|
451
|
+
* `compute.DiskIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the disk are preserved.
|
452
|
+
* `compute.DiskIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the disk are preserved.
|
453
|
+
|
454
|
+
A data source can be used to retrieve policy data in advent you do not need creation
|
455
|
+
|
456
|
+
* `compute.DiskIamPolicy`: Retrieves the IAM policy for the disk
|
457
|
+
|
458
|
+
> **Note:** `compute.DiskIamPolicy` **cannot** be used in conjunction with `compute.DiskIamBinding` and `compute.DiskIamMember` or they will fight over what your policy should be.
|
459
|
+
|
460
|
+
> **Note:** `compute.DiskIamBinding` resources **can be** used in conjunction with `compute.DiskIamMember` resources **only if** they do not grant privilege to the same role.
|
461
|
+
|
424
462
|
## compute.DiskIamPolicy
|
425
463
|
|
426
464
|
```python
|
pulumi_gcp/compute/get_disk.py
CHANGED
@@ -27,7 +27,10 @@ class GetDiskResult:
|
|
27
27
|
"""
|
28
28
|
A collection of values returned by getDisk.
|
29
29
|
"""
|
30
|
-
def __init__(__self__, async_primary_disks=None, creation_timestamp=None, description=None, disk_encryption_keys=None, disk_id=None, effective_labels=None, enable_confidential_compute=None, guest_os_features=None, id=None, image=None, interface=None, label_fingerprint=None, labels=None, last_attach_timestamp=None, last_detach_timestamp=None, licenses=None, multi_writer=None, name=None, physical_block_size_bytes=None, project=None, provisioned_iops=None, provisioned_throughput=None, pulumi_labels=None, resource_policies=None, self_link=None, size=None, snapshot=None, source_disk=None, source_disk_id=None, source_image_encryption_keys=None, source_image_id=None, source_snapshot_encryption_keys=None, source_snapshot_id=None, storage_pool=None, type=None, users=None, zone=None):
|
30
|
+
def __init__(__self__, access_mode=None, async_primary_disks=None, creation_timestamp=None, description=None, disk_encryption_keys=None, disk_id=None, effective_labels=None, enable_confidential_compute=None, guest_os_features=None, id=None, image=None, interface=None, label_fingerprint=None, labels=None, last_attach_timestamp=None, last_detach_timestamp=None, licenses=None, multi_writer=None, name=None, physical_block_size_bytes=None, project=None, provisioned_iops=None, provisioned_throughput=None, pulumi_labels=None, resource_policies=None, self_link=None, size=None, snapshot=None, source_disk=None, source_disk_id=None, source_image_encryption_keys=None, source_image_id=None, source_snapshot_encryption_keys=None, source_snapshot_id=None, storage_pool=None, type=None, users=None, zone=None):
|
31
|
+
if access_mode and not isinstance(access_mode, str):
|
32
|
+
raise TypeError("Expected argument 'access_mode' to be a str")
|
33
|
+
pulumi.set(__self__, "access_mode", access_mode)
|
31
34
|
if async_primary_disks and not isinstance(async_primary_disks, list):
|
32
35
|
raise TypeError("Expected argument 'async_primary_disks' to be a list")
|
33
36
|
pulumi.set(__self__, "async_primary_disks", async_primary_disks)
|
@@ -140,6 +143,11 @@ class GetDiskResult:
|
|
140
143
|
raise TypeError("Expected argument 'zone' to be a str")
|
141
144
|
pulumi.set(__self__, "zone", zone)
|
142
145
|
|
146
|
+
@property
|
147
|
+
@pulumi.getter(name="accessMode")
|
148
|
+
def access_mode(self) -> str:
|
149
|
+
return pulumi.get(self, "access_mode")
|
150
|
+
|
143
151
|
@property
|
144
152
|
@pulumi.getter(name="asyncPrimaryDisks")
|
145
153
|
def async_primary_disks(self) -> Sequence['outputs.GetDiskAsyncPrimaryDiskResult']:
|
@@ -401,6 +409,7 @@ class AwaitableGetDiskResult(GetDiskResult):
|
|
401
409
|
if False:
|
402
410
|
yield self
|
403
411
|
return GetDiskResult(
|
412
|
+
access_mode=self.access_mode,
|
404
413
|
async_primary_disks=self.async_primary_disks,
|
405
414
|
creation_timestamp=self.creation_timestamp,
|
406
415
|
description=self.description,
|
@@ -479,6 +488,7 @@ def get_disk(name: Optional[str] = None,
|
|
479
488
|
__ret__ = pulumi.runtime.invoke('gcp:compute/getDisk:getDisk', __args__, opts=opts, typ=GetDiskResult).value
|
480
489
|
|
481
490
|
return AwaitableGetDiskResult(
|
491
|
+
access_mode=pulumi.get(__ret__, 'access_mode'),
|
482
492
|
async_primary_disks=pulumi.get(__ret__, 'async_primary_disks'),
|
483
493
|
creation_timestamp=pulumi.get(__ret__, 'creation_timestamp'),
|
484
494
|
description=pulumi.get(__ret__, 'description'),
|
@@ -27,10 +27,13 @@ class GetHcVpnGatewayResult:
|
|
27
27
|
"""
|
28
28
|
A collection of values returned by getHcVpnGateway.
|
29
29
|
"""
|
30
|
-
def __init__(__self__, description=None, id=None, name=None, network=None, project=None, region=None, self_link=None, stack_type=None, vpn_interfaces=None):
|
30
|
+
def __init__(__self__, description=None, gateway_ip_version=None, id=None, name=None, network=None, project=None, region=None, self_link=None, stack_type=None, vpn_interfaces=None):
|
31
31
|
if description and not isinstance(description, str):
|
32
32
|
raise TypeError("Expected argument 'description' to be a str")
|
33
33
|
pulumi.set(__self__, "description", description)
|
34
|
+
if gateway_ip_version and not isinstance(gateway_ip_version, str):
|
35
|
+
raise TypeError("Expected argument 'gateway_ip_version' to be a str")
|
36
|
+
pulumi.set(__self__, "gateway_ip_version", gateway_ip_version)
|
34
37
|
if id and not isinstance(id, str):
|
35
38
|
raise TypeError("Expected argument 'id' to be a str")
|
36
39
|
pulumi.set(__self__, "id", id)
|
@@ -61,6 +64,11 @@ class GetHcVpnGatewayResult:
|
|
61
64
|
def description(self) -> str:
|
62
65
|
return pulumi.get(self, "description")
|
63
66
|
|
67
|
+
@property
|
68
|
+
@pulumi.getter(name="gatewayIpVersion")
|
69
|
+
def gateway_ip_version(self) -> str:
|
70
|
+
return pulumi.get(self, "gateway_ip_version")
|
71
|
+
|
64
72
|
@property
|
65
73
|
@pulumi.getter
|
66
74
|
def id(self) -> str:
|
@@ -112,6 +120,7 @@ class AwaitableGetHcVpnGatewayResult(GetHcVpnGatewayResult):
|
|
112
120
|
yield self
|
113
121
|
return GetHcVpnGatewayResult(
|
114
122
|
description=self.description,
|
123
|
+
gateway_ip_version=self.gateway_ip_version,
|
115
124
|
id=self.id,
|
116
125
|
name=self.name,
|
117
126
|
network=self.network,
|
@@ -150,6 +159,7 @@ def get_hc_vpn_gateway(name: Optional[str] = None,
|
|
150
159
|
|
151
160
|
return AwaitableGetHcVpnGatewayResult(
|
152
161
|
description=pulumi.get(__ret__, 'description'),
|
162
|
+
gateway_ip_version=pulumi.get(__ret__, 'gateway_ip_version'),
|
153
163
|
id=pulumi.get(__ret__, 'id'),
|
154
164
|
name=pulumi.get(__ret__, 'name'),
|
155
165
|
network=pulumi.get(__ret__, 'network'),
|
@@ -485,7 +485,7 @@ def get_instance_template(filter: Optional[str] = None,
|
|
485
485
|
|
486
486
|
|
487
487
|
:param str filter: A filter to retrieve the instance templates.
|
488
|
-
See [
|
488
|
+
See [API filter parameter documentation](https://cloud.google.com/compute/docs/reference/rest/v1/instanceTemplates/list#body.QUERY_PARAMETERS.filter) for reference.
|
489
489
|
If multiple instance templates match, either adjust the filter or specify `most_recent`.
|
490
490
|
One of `name`, `filter` or `self_link_unique` must be provided.
|
491
491
|
:param bool most_recent: If `filter` is provided, ensures the most recent template is returned when multiple instance templates match. One of `name`, `filter` or `self_link_unique` must be provided.
|
@@ -559,7 +559,7 @@ def get_instance_template_output(filter: Optional[pulumi.Input[Optional[str]]] =
|
|
559
559
|
|
560
560
|
|
561
561
|
:param str filter: A filter to retrieve the instance templates.
|
562
|
-
See [
|
562
|
+
See [API filter parameter documentation](https://cloud.google.com/compute/docs/reference/rest/v1/instanceTemplates/list#body.QUERY_PARAMETERS.filter) for reference.
|
563
563
|
If multiple instance templates match, either adjust the filter or specify `most_recent`.
|
564
564
|
One of `name`, `filter` or `self_link_unique` must be provided.
|
565
565
|
:param bool most_recent: If `filter` is provided, ensures the most recent template is returned when multiple instance templates match. One of `name`, `filter` or `self_link_unique` must be provided.
|
@@ -473,7 +473,7 @@ def get_region_instance_template(filter: Optional[str] = None,
|
|
473
473
|
|
474
474
|
|
475
475
|
:param str filter: A filter to retrieve the instance templates.
|
476
|
-
See [
|
476
|
+
See [API filter parameter documentation](https://cloud.google.com/compute/docs/reference/rest/v1/regionInstanceTemplates/list#body.QUERY_PARAMETERS.filter) for reference.
|
477
477
|
If multiple instance templates match, either adjust the filter or specify `most_recent`. One of `name` or `filter` must be provided.
|
478
478
|
:param bool most_recent: If `filter` is provided, ensures the most recent template is returned when multiple instance templates match. One of `name` or `filter` must be provided.
|
479
479
|
:param str name: The name of the instance template. One of `name` or `filter` must be provided.
|
@@ -557,7 +557,7 @@ def get_region_instance_template_output(filter: Optional[pulumi.Input[Optional[s
|
|
557
557
|
|
558
558
|
|
559
559
|
:param str filter: A filter to retrieve the instance templates.
|
560
|
-
See [
|
560
|
+
See [API filter parameter documentation](https://cloud.google.com/compute/docs/reference/rest/v1/regionInstanceTemplates/list#body.QUERY_PARAMETERS.filter) for reference.
|
561
561
|
If multiple instance templates match, either adjust the filter or specify `most_recent`. One of `name` or `filter` must be provided.
|
562
562
|
:param bool most_recent: If `filter` is provided, ensures the most recent template is returned when multiple instance templates match. One of `name` or `filter` must be provided.
|
563
563
|
:param str name: The name of the instance template. One of `name` or `filter` must be provided.
|