pulumi-gcp 8.21.0a1741156431__py3-none-any.whl → 8.22.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.
- pulumi_gcp/__init__.py +96 -0
- pulumi_gcp/alloydb/_inputs.py +66 -0
- pulumi_gcp/alloydb/cluster.py +148 -0
- pulumi_gcp/alloydb/instance.py +28 -28
- pulumi_gcp/alloydb/outputs.py +95 -0
- pulumi_gcp/apihub/__init__.py +1 -0
- pulumi_gcp/apihub/host_project_registration.py +535 -0
- pulumi_gcp/backupdisasterrecovery/_inputs.py +3 -3
- pulumi_gcp/backupdisasterrecovery/outputs.py +4 -4
- pulumi_gcp/bigquery/table.py +1 -1
- pulumi_gcp/certificatemanager/certificate.py +53 -7
- pulumi_gcp/certificatemanager/outputs.py +8 -2
- pulumi_gcp/compute/__init__.py +6 -0
- pulumi_gcp/compute/_inputs.py +1370 -17
- pulumi_gcp/compute/backend_service.py +209 -14
- pulumi_gcp/compute/ca_external_account_key.py +48 -3
- pulumi_gcp/compute/disk.py +403 -0
- pulumi_gcp/compute/firewall_policy_association.py +28 -2
- pulumi_gcp/compute/get_backend_service.py +12 -1
- pulumi_gcp/compute/get_disk.py +78 -1
- pulumi_gcp/compute/get_instant_snapshot_iam_policy.py +182 -0
- pulumi_gcp/compute/get_region_disk.py +23 -1
- pulumi_gcp/compute/get_region_ssl_policy.py +203 -0
- pulumi_gcp/compute/instant_snapshot.py +796 -0
- pulumi_gcp/compute/instant_snapshot_iam_binding.py +1087 -0
- pulumi_gcp/compute/instant_snapshot_iam_member.py +1087 -0
- pulumi_gcp/compute/instant_snapshot_iam_policy.py +906 -0
- pulumi_gcp/compute/outputs.py +1952 -29
- pulumi_gcp/compute/region_backend_service.py +207 -14
- pulumi_gcp/compute/region_disk.py +114 -0
- pulumi_gcp/compute/route.py +228 -2
- pulumi_gcp/compute/shared_vpc_service_project.py +0 -4
- pulumi_gcp/compute/subnetwork.py +147 -0
- pulumi_gcp/compute/url_map.py +8 -0
- pulumi_gcp/container/_inputs.py +6 -6
- pulumi_gcp/container/outputs.py +8 -8
- pulumi_gcp/datacatalog/entry.py +4 -0
- pulumi_gcp/datacatalog/tag.py +4 -0
- pulumi_gcp/dataproc/_inputs.py +12 -15
- pulumi_gcp/dataproc/outputs.py +8 -10
- pulumi_gcp/datastream/_inputs.py +273 -0
- pulumi_gcp/datastream/connection_profile.py +54 -2
- pulumi_gcp/datastream/outputs.py +224 -0
- pulumi_gcp/discoveryengine/target_site.py +4 -4
- pulumi_gcp/eventarc/__init__.py +2 -0
- pulumi_gcp/eventarc/_inputs.py +80 -0
- pulumi_gcp/eventarc/channel.py +85 -93
- pulumi_gcp/eventarc/google_api_source.py +997 -0
- pulumi_gcp/eventarc/message_bus.py +927 -0
- pulumi_gcp/eventarc/outputs.py +82 -0
- pulumi_gcp/firebase/data_connect_service.py +40 -2
- pulumi_gcp/gemini/__init__.py +1 -0
- pulumi_gcp/gemini/data_sharing_with_google_setting_binding.py +20 -8
- pulumi_gcp/gemini/gemini_gcp_enablement_setting.py +6 -0
- pulumi_gcp/gemini/gemini_gcp_enablement_setting_binding.py +734 -0
- pulumi_gcp/gemini/logging_setting_binding.py +7 -7
- pulumi_gcp/iam/__init__.py +2 -0
- pulumi_gcp/iam/_inputs.py +84 -27
- pulumi_gcp/iam/folders_policy_binding.py +10 -26
- pulumi_gcp/iam/oauth_client.py +979 -0
- pulumi_gcp/iam/oauth_client_credential.py +641 -0
- pulumi_gcp/iam/organizations_policy_binding.py +8 -24
- pulumi_gcp/iam/outputs.py +56 -18
- pulumi_gcp/iam/principal_access_boundary_policy.py +58 -22
- pulumi_gcp/iam/projects_policy_binding.py +8 -24
- pulumi_gcp/iam/workforce_pool_provider.py +2 -2
- pulumi_gcp/kms/crypto_key_version.py +14 -7
- pulumi_gcp/memorystore/__init__.py +1 -0
- pulumi_gcp/memorystore/get_instance.py +425 -0
- pulumi_gcp/memorystore/outputs.py +582 -0
- pulumi_gcp/monitoring/_inputs.py +15 -18
- pulumi_gcp/monitoring/alert_policy.py +46 -0
- pulumi_gcp/monitoring/outputs.py +10 -12
- pulumi_gcp/networkconnectivity/hub.py +84 -0
- pulumi_gcp/networksecurity/__init__.py +1 -0
- pulumi_gcp/networksecurity/_inputs.py +30 -18
- pulumi_gcp/networksecurity/backend_authentication_config.py +847 -0
- pulumi_gcp/networksecurity/intercept_deployment.py +178 -94
- pulumi_gcp/networksecurity/intercept_deployment_group.py +161 -77
- pulumi_gcp/networksecurity/intercept_endpoint_group.py +161 -66
- pulumi_gcp/networksecurity/intercept_endpoint_group_association.py +137 -80
- pulumi_gcp/networksecurity/mirroring_deployment.py +178 -94
- pulumi_gcp/networksecurity/mirroring_deployment_group.py +161 -77
- pulumi_gcp/networksecurity/mirroring_endpoint_group.py +161 -80
- pulumi_gcp/networksecurity/mirroring_endpoint_group_association.py +137 -105
- pulumi_gcp/networksecurity/outputs.py +20 -12
- pulumi_gcp/networkservices/endpoint_policy.py +12 -0
- pulumi_gcp/networkservices/grpc_route.py +128 -12
- pulumi_gcp/networkservices/http_route.py +16 -0
- pulumi_gcp/networkservices/mesh.py +16 -0
- pulumi_gcp/networkservices/service_binding.py +14 -0
- pulumi_gcp/networkservices/tcp_route.py +16 -0
- pulumi_gcp/networkservices/tls_route.py +12 -0
- pulumi_gcp/notebooks/location.py +4 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/storage/__init__.py +1 -0
- pulumi_gcp/storage/_inputs.py +74 -0
- pulumi_gcp/storage/anywhere_cache.py +552 -0
- pulumi_gcp/storage/outputs.py +65 -0
- pulumi_gcp/storage/transfer_job.py +67 -0
- pulumi_gcp/tpu/_inputs.py +21 -1
- pulumi_gcp/tpu/outputs.py +13 -1
- pulumi_gcp/tpu/v2_vm.py +2 -0
- pulumi_gcp/vmwareengine/_inputs.py +6 -0
- pulumi_gcp/vmwareengine/outputs.py +8 -0
- pulumi_gcp/workstations/workstation_cluster.py +137 -1
- {pulumi_gcp-8.21.0a1741156431.dist-info → pulumi_gcp-8.22.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.21.0a1741156431.dist-info → pulumi_gcp-8.22.0.dist-info}/RECORD +110 -95
- {pulumi_gcp-8.21.0a1741156431.dist-info → pulumi_gcp-8.22.0.dist-info}/WHEEL +1 -1
- {pulumi_gcp-8.21.0a1741156431.dist-info → pulumi_gcp-8.22.0.dist-info}/top_level.txt +0 -0
@@ -39,7 +39,7 @@ class LoggingSettingBindingArgs:
|
|
39
39
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
40
40
|
:param pulumi.Input[str] location: Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
|
41
41
|
:param pulumi.Input[str] product: Product type of the setting binding.
|
42
|
-
Possible values are: `
|
42
|
+
Possible values are: `GEMINI_CODE_ASSIST`.
|
43
43
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
44
44
|
If it is not provided, the provider project is used.
|
45
45
|
"""
|
@@ -125,7 +125,7 @@ class LoggingSettingBindingArgs:
|
|
125
125
|
def product(self) -> Optional[pulumi.Input[str]]:
|
126
126
|
"""
|
127
127
|
Product type of the setting binding.
|
128
|
-
Possible values are: `
|
128
|
+
Possible values are: `GEMINI_CODE_ASSIST`.
|
129
129
|
"""
|
130
130
|
return pulumi.get(self, "product")
|
131
131
|
|
@@ -174,7 +174,7 @@ class _LoggingSettingBindingState:
|
|
174
174
|
:param pulumi.Input[str] name: Identifier. Name of the resource.
|
175
175
|
Format:projects/{project}/locations/{location}/loggingSettings/{setting}/settingBindings/{setting_binding}
|
176
176
|
:param pulumi.Input[str] product: Product type of the setting binding.
|
177
|
-
Possible values are: `
|
177
|
+
Possible values are: `GEMINI_CODE_ASSIST`.
|
178
178
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
179
179
|
If it is not provided, the provider project is used.
|
180
180
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
@@ -291,7 +291,7 @@ class _LoggingSettingBindingState:
|
|
291
291
|
def product(self) -> Optional[pulumi.Input[str]]:
|
292
292
|
"""
|
293
293
|
Product type of the setting binding.
|
294
|
-
Possible values are: `
|
294
|
+
Possible values are: `GEMINI_CODE_ASSIST`.
|
295
295
|
"""
|
296
296
|
return pulumi.get(self, "product")
|
297
297
|
|
@@ -439,7 +439,7 @@ class LoggingSettingBinding(pulumi.CustomResource):
|
|
439
439
|
:param pulumi.Input[str] location: Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
|
440
440
|
:param pulumi.Input[str] logging_setting_id: Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
|
441
441
|
:param pulumi.Input[str] product: Product type of the setting binding.
|
442
|
-
Possible values are: `
|
442
|
+
Possible values are: `GEMINI_CODE_ASSIST`.
|
443
443
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
444
444
|
If it is not provided, the provider project is used.
|
445
445
|
:param pulumi.Input[str] setting_binding_id: Id of the setting binding.
|
@@ -597,7 +597,7 @@ class LoggingSettingBinding(pulumi.CustomResource):
|
|
597
597
|
:param pulumi.Input[str] name: Identifier. Name of the resource.
|
598
598
|
Format:projects/{project}/locations/{location}/loggingSettings/{setting}/settingBindings/{setting_binding}
|
599
599
|
:param pulumi.Input[str] product: Product type of the setting binding.
|
600
|
-
Possible values are: `
|
600
|
+
Possible values are: `GEMINI_CODE_ASSIST`.
|
601
601
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
602
602
|
If it is not provided, the provider project is used.
|
603
603
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
@@ -683,7 +683,7 @@ class LoggingSettingBinding(pulumi.CustomResource):
|
|
683
683
|
def product(self) -> pulumi.Output[Optional[str]]:
|
684
684
|
"""
|
685
685
|
Product type of the setting binding.
|
686
|
-
Possible values are: `
|
686
|
+
Possible values are: `GEMINI_CODE_ASSIST`.
|
687
687
|
"""
|
688
688
|
return pulumi.get(self, "product")
|
689
689
|
|
pulumi_gcp/iam/__init__.py
CHANGED
@@ -12,6 +12,8 @@ from .get_rule import *
|
|
12
12
|
from .get_testable_permissions import *
|
13
13
|
from .get_workload_identity_pool import *
|
14
14
|
from .get_workload_identity_pool_provider import *
|
15
|
+
from .oauth_client import *
|
16
|
+
from .oauth_client_credential import *
|
15
17
|
from .organizations_policy_binding import *
|
16
18
|
from .principal_access_boundary_policy import *
|
17
19
|
from .projects_policy_binding import *
|
pulumi_gcp/iam/_inputs.py
CHANGED
@@ -703,8 +703,10 @@ if not MYPY:
|
|
703
703
|
class FoldersPolicyBindingTargetArgsDict(TypedDict):
|
704
704
|
principal_set: NotRequired[pulumi.Input[str]]
|
705
705
|
"""
|
706
|
-
Required. Immutable.
|
707
|
-
|
706
|
+
Required. Immutable. Full Resource Name of the principal set used for principal access boundary policy bindings.
|
707
|
+
Examples for each one of the following supported principal set types:
|
708
|
+
* Folder: `//cloudresourcemanager.googleapis.com/folders/FOLDER_ID`
|
709
|
+
It must be parent by the policy binding's parent (the folder).
|
708
710
|
|
709
711
|
- - -
|
710
712
|
"""
|
@@ -716,8 +718,10 @@ class FoldersPolicyBindingTargetArgs:
|
|
716
718
|
def __init__(__self__, *,
|
717
719
|
principal_set: Optional[pulumi.Input[str]] = None):
|
718
720
|
"""
|
719
|
-
:param pulumi.Input[str] principal_set: Required. Immutable.
|
720
|
-
|
721
|
+
:param pulumi.Input[str] principal_set: Required. Immutable. Full Resource Name of the principal set used for principal access boundary policy bindings.
|
722
|
+
Examples for each one of the following supported principal set types:
|
723
|
+
* Folder: `//cloudresourcemanager.googleapis.com/folders/FOLDER_ID`
|
724
|
+
It must be parent by the policy binding's parent (the folder).
|
721
725
|
|
722
726
|
- - -
|
723
727
|
"""
|
@@ -728,8 +732,10 @@ class FoldersPolicyBindingTargetArgs:
|
|
728
732
|
@pulumi.getter(name="principalSet")
|
729
733
|
def principal_set(self) -> Optional[pulumi.Input[str]]:
|
730
734
|
"""
|
731
|
-
Required. Immutable.
|
732
|
-
|
735
|
+
Required. Immutable. Full Resource Name of the principal set used for principal access boundary policy bindings.
|
736
|
+
Examples for each one of the following supported principal set types:
|
737
|
+
* Folder: `//cloudresourcemanager.googleapis.com/folders/FOLDER_ID`
|
738
|
+
It must be parent by the policy binding's parent (the folder).
|
733
739
|
|
734
740
|
- - -
|
735
741
|
"""
|
@@ -836,8 +842,12 @@ if not MYPY:
|
|
836
842
|
class OrganizationsPolicyBindingTargetArgsDict(TypedDict):
|
837
843
|
principal_set: NotRequired[pulumi.Input[str]]
|
838
844
|
"""
|
839
|
-
Required. Immutable.
|
840
|
-
|
845
|
+
Required. Immutable. Full Resource Name of the principal set used for principal access boundary policy bindings.
|
846
|
+
Examples for each one of the following supported principal set types:
|
847
|
+
* Organization `//cloudresourcemanager.googleapis.com/organizations/ORGANIZATION_ID`
|
848
|
+
* Workforce Identity: `//iam.googleapis.com/locations/global/workforcePools/WORKFORCE_POOL_ID`
|
849
|
+
* Workspace Identity: `//iam.googleapis.com/locations/global/workspace/WORKSPACE_ID`
|
850
|
+
It must be parent by the policy binding's parent (the organization).
|
841
851
|
|
842
852
|
- - -
|
843
853
|
"""
|
@@ -849,8 +859,12 @@ class OrganizationsPolicyBindingTargetArgs:
|
|
849
859
|
def __init__(__self__, *,
|
850
860
|
principal_set: Optional[pulumi.Input[str]] = None):
|
851
861
|
"""
|
852
|
-
:param pulumi.Input[str] principal_set: Required. Immutable.
|
853
|
-
|
862
|
+
:param pulumi.Input[str] principal_set: Required. Immutable. Full Resource Name of the principal set used for principal access boundary policy bindings.
|
863
|
+
Examples for each one of the following supported principal set types:
|
864
|
+
* Organization `//cloudresourcemanager.googleapis.com/organizations/ORGANIZATION_ID`
|
865
|
+
* Workforce Identity: `//iam.googleapis.com/locations/global/workforcePools/WORKFORCE_POOL_ID`
|
866
|
+
* Workspace Identity: `//iam.googleapis.com/locations/global/workspace/WORKSPACE_ID`
|
867
|
+
It must be parent by the policy binding's parent (the organization).
|
854
868
|
|
855
869
|
- - -
|
856
870
|
"""
|
@@ -861,8 +875,12 @@ class OrganizationsPolicyBindingTargetArgs:
|
|
861
875
|
@pulumi.getter(name="principalSet")
|
862
876
|
def principal_set(self) -> Optional[pulumi.Input[str]]:
|
863
877
|
"""
|
864
|
-
Required. Immutable.
|
865
|
-
|
878
|
+
Required. Immutable. Full Resource Name of the principal set used for principal access boundary policy bindings.
|
879
|
+
Examples for each one of the following supported principal set types:
|
880
|
+
* Organization `//cloudresourcemanager.googleapis.com/organizations/ORGANIZATION_ID`
|
881
|
+
* Workforce Identity: `//iam.googleapis.com/locations/global/workforcePools/WORKFORCE_POOL_ID`
|
882
|
+
* Workspace Identity: `//iam.googleapis.com/locations/global/workspace/WORKSPACE_ID`
|
883
|
+
It must be parent by the policy binding's parent (the organization).
|
866
884
|
|
867
885
|
- - -
|
868
886
|
"""
|
@@ -1126,8 +1144,13 @@ if not MYPY:
|
|
1126
1144
|
class ProjectsPolicyBindingTargetArgsDict(TypedDict):
|
1127
1145
|
principal_set: NotRequired[pulumi.Input[str]]
|
1128
1146
|
"""
|
1129
|
-
Required. Immutable.
|
1130
|
-
|
1147
|
+
Required. Immutable. Full Resource Name of the principal set used for principal access boundary policy bindings.
|
1148
|
+
Examples for each one of the following supported principal set types:
|
1149
|
+
* Project:
|
1150
|
+
* `//cloudresourcemanager.googleapis.com/projects/PROJECT_NUMBER`
|
1151
|
+
* `//cloudresourcemanager.googleapis.com/projects/PROJECT_ID`
|
1152
|
+
* Workload Identity Pool: `//iam.googleapis.com/projects/PROJECT_NUMBER/locations/LOCATION/workloadIdentityPools/WORKLOAD_POOL_ID`
|
1153
|
+
It must be parent by the policy binding's parent (the project).
|
1131
1154
|
|
1132
1155
|
- - -
|
1133
1156
|
"""
|
@@ -1139,8 +1162,13 @@ class ProjectsPolicyBindingTargetArgs:
|
|
1139
1162
|
def __init__(__self__, *,
|
1140
1163
|
principal_set: Optional[pulumi.Input[str]] = None):
|
1141
1164
|
"""
|
1142
|
-
:param pulumi.Input[str] principal_set: Required. Immutable.
|
1143
|
-
|
1165
|
+
:param pulumi.Input[str] principal_set: Required. Immutable. Full Resource Name of the principal set used for principal access boundary policy bindings.
|
1166
|
+
Examples for each one of the following supported principal set types:
|
1167
|
+
* Project:
|
1168
|
+
* `//cloudresourcemanager.googleapis.com/projects/PROJECT_NUMBER`
|
1169
|
+
* `//cloudresourcemanager.googleapis.com/projects/PROJECT_ID`
|
1170
|
+
* Workload Identity Pool: `//iam.googleapis.com/projects/PROJECT_NUMBER/locations/LOCATION/workloadIdentityPools/WORKLOAD_POOL_ID`
|
1171
|
+
It must be parent by the policy binding's parent (the project).
|
1144
1172
|
|
1145
1173
|
- - -
|
1146
1174
|
"""
|
@@ -1151,8 +1179,13 @@ class ProjectsPolicyBindingTargetArgs:
|
|
1151
1179
|
@pulumi.getter(name="principalSet")
|
1152
1180
|
def principal_set(self) -> Optional[pulumi.Input[str]]:
|
1153
1181
|
"""
|
1154
|
-
Required. Immutable.
|
1155
|
-
|
1182
|
+
Required. Immutable. Full Resource Name of the principal set used for principal access boundary policy bindings.
|
1183
|
+
Examples for each one of the following supported principal set types:
|
1184
|
+
* Project:
|
1185
|
+
* `//cloudresourcemanager.googleapis.com/projects/PROJECT_NUMBER`
|
1186
|
+
* `//cloudresourcemanager.googleapis.com/projects/PROJECT_ID`
|
1187
|
+
* Workload Identity Pool: `//iam.googleapis.com/projects/PROJECT_NUMBER/locations/LOCATION/workloadIdentityPools/WORKLOAD_POOL_ID`
|
1188
|
+
It must be parent by the policy binding's parent (the project).
|
1156
1189
|
|
1157
1190
|
- - -
|
1158
1191
|
"""
|
@@ -1267,7 +1300,15 @@ if not MYPY:
|
|
1267
1300
|
* AZURE_AD_GROUPS_MAIL: Used to get the user's group claims from the Azure AD identity provider using configuration provided
|
1268
1301
|
in ExtraAttributesOAuth2Client and 'mail' property of the 'microsoft.graph.group' object is used for claim mapping.
|
1269
1302
|
See https://learn.microsoft.com/en-us/graph/api/resources/group?view=graph-rest-1.0#properties for more details on
|
1270
|
-
'microsoft.graph.group' properties. The attributes obtained from idntity provider are mapped to 'assertion.groups'.
|
1303
|
+
'microsoft.graph.group' properties. The attributes obtained from idntity provider are mapped to 'assertion.groups'.
|
1304
|
+
* AZURE_AD_GROUPS_ID: Used to get the user's group claims from the Azure AD identity provider
|
1305
|
+
using configuration provided in ExtraAttributesOAuth2Client and 'id'
|
1306
|
+
property of the 'microsoft.graph.group' object is used for claim mapping. See
|
1307
|
+
https://learn.microsoft.com/en-us/graph/api/resources/group?view=graph-rest-1.0#properties
|
1308
|
+
for more details on 'microsoft.graph.group' properties. The
|
1309
|
+
group IDs obtained from Azure AD are present in 'assertion.groups' for
|
1310
|
+
OIDC providers and 'assertion.attributes.groups' for SAML providers for
|
1311
|
+
attribute mapping. Possible values: ["AZURE_AD_GROUPS_MAIL", "AZURE_AD_GROUPS_ID"]
|
1271
1312
|
"""
|
1272
1313
|
client_id: pulumi.Input[str]
|
1273
1314
|
"""
|
@@ -1301,7 +1342,15 @@ class WorkforcePoolProviderExtraAttributesOauth2ClientArgs:
|
|
1301
1342
|
* AZURE_AD_GROUPS_MAIL: Used to get the user's group claims from the Azure AD identity provider using configuration provided
|
1302
1343
|
in ExtraAttributesOAuth2Client and 'mail' property of the 'microsoft.graph.group' object is used for claim mapping.
|
1303
1344
|
See https://learn.microsoft.com/en-us/graph/api/resources/group?view=graph-rest-1.0#properties for more details on
|
1304
|
-
'microsoft.graph.group' properties. The attributes obtained from idntity provider are mapped to 'assertion.groups'.
|
1345
|
+
'microsoft.graph.group' properties. The attributes obtained from idntity provider are mapped to 'assertion.groups'.
|
1346
|
+
* AZURE_AD_GROUPS_ID: Used to get the user's group claims from the Azure AD identity provider
|
1347
|
+
using configuration provided in ExtraAttributesOAuth2Client and 'id'
|
1348
|
+
property of the 'microsoft.graph.group' object is used for claim mapping. See
|
1349
|
+
https://learn.microsoft.com/en-us/graph/api/resources/group?view=graph-rest-1.0#properties
|
1350
|
+
for more details on 'microsoft.graph.group' properties. The
|
1351
|
+
group IDs obtained from Azure AD are present in 'assertion.groups' for
|
1352
|
+
OIDC providers and 'assertion.attributes.groups' for SAML providers for
|
1353
|
+
attribute mapping. Possible values: ["AZURE_AD_GROUPS_MAIL", "AZURE_AD_GROUPS_ID"]
|
1305
1354
|
:param pulumi.Input[str] client_id: The OAuth 2.0 client ID for retrieving extra attributes from the identity provider. Required to get the Access Token using client credentials grant flow.
|
1306
1355
|
:param pulumi.Input['WorkforcePoolProviderExtraAttributesOauth2ClientClientSecretArgs'] client_secret: The OAuth 2.0 client secret for retrieving extra attributes from the identity provider. Required to get the Access Token using client credentials grant flow.
|
1307
1356
|
:param pulumi.Input[str] issuer_uri: The OIDC identity provider's issuer URI. Must be a valid URI using the 'https' scheme. Required to get the OIDC discovery document.
|
@@ -1322,7 +1371,15 @@ class WorkforcePoolProviderExtraAttributesOauth2ClientArgs:
|
|
1322
1371
|
* AZURE_AD_GROUPS_MAIL: Used to get the user's group claims from the Azure AD identity provider using configuration provided
|
1323
1372
|
in ExtraAttributesOAuth2Client and 'mail' property of the 'microsoft.graph.group' object is used for claim mapping.
|
1324
1373
|
See https://learn.microsoft.com/en-us/graph/api/resources/group?view=graph-rest-1.0#properties for more details on
|
1325
|
-
'microsoft.graph.group' properties. The attributes obtained from idntity provider are mapped to 'assertion.groups'.
|
1374
|
+
'microsoft.graph.group' properties. The attributes obtained from idntity provider are mapped to 'assertion.groups'.
|
1375
|
+
* AZURE_AD_GROUPS_ID: Used to get the user's group claims from the Azure AD identity provider
|
1376
|
+
using configuration provided in ExtraAttributesOAuth2Client and 'id'
|
1377
|
+
property of the 'microsoft.graph.group' object is used for claim mapping. See
|
1378
|
+
https://learn.microsoft.com/en-us/graph/api/resources/group?view=graph-rest-1.0#properties
|
1379
|
+
for more details on 'microsoft.graph.group' properties. The
|
1380
|
+
group IDs obtained from Azure AD are present in 'assertion.groups' for
|
1381
|
+
OIDC providers and 'assertion.attributes.groups' for SAML providers for
|
1382
|
+
attribute mapping. Possible values: ["AZURE_AD_GROUPS_MAIL", "AZURE_AD_GROUPS_ID"]
|
1326
1383
|
"""
|
1327
1384
|
return pulumi.get(self, "attributes_type")
|
1328
1385
|
|
@@ -1472,9 +1529,9 @@ if not MYPY:
|
|
1472
1529
|
class WorkforcePoolProviderExtraAttributesOauth2ClientQueryParametersArgsDict(TypedDict):
|
1473
1530
|
filter: NotRequired[pulumi.Input[str]]
|
1474
1531
|
"""
|
1475
|
-
The filter used to request specific records from IdP. In case of attributes type as AZURE_AD_GROUPS_MAIL, it represents the
|
1532
|
+
The filter used to request specific records from IdP. In case of attributes type as AZURE_AD_GROUPS_MAIL and AZURE_AD_GROUPS_ID, it represents the
|
1476
1533
|
filter used to request specific groups for users from IdP. By default, all of the groups associated with the user are fetched. The
|
1477
|
-
groups should be
|
1534
|
+
groups should be security enabled. See https://learn.microsoft.com/en-us/graph/search-query-parameter for more details.
|
1478
1535
|
"""
|
1479
1536
|
elif False:
|
1480
1537
|
WorkforcePoolProviderExtraAttributesOauth2ClientQueryParametersArgsDict: TypeAlias = Mapping[str, Any]
|
@@ -1484,9 +1541,9 @@ class WorkforcePoolProviderExtraAttributesOauth2ClientQueryParametersArgs:
|
|
1484
1541
|
def __init__(__self__, *,
|
1485
1542
|
filter: Optional[pulumi.Input[str]] = None):
|
1486
1543
|
"""
|
1487
|
-
:param pulumi.Input[str] filter: The filter used to request specific records from IdP. In case of attributes type as AZURE_AD_GROUPS_MAIL, it represents the
|
1544
|
+
:param pulumi.Input[str] filter: The filter used to request specific records from IdP. In case of attributes type as AZURE_AD_GROUPS_MAIL and AZURE_AD_GROUPS_ID, it represents the
|
1488
1545
|
filter used to request specific groups for users from IdP. By default, all of the groups associated with the user are fetched. The
|
1489
|
-
groups should be
|
1546
|
+
groups should be security enabled. See https://learn.microsoft.com/en-us/graph/search-query-parameter for more details.
|
1490
1547
|
"""
|
1491
1548
|
if filter is not None:
|
1492
1549
|
pulumi.set(__self__, "filter", filter)
|
@@ -1495,9 +1552,9 @@ class WorkforcePoolProviderExtraAttributesOauth2ClientQueryParametersArgs:
|
|
1495
1552
|
@pulumi.getter
|
1496
1553
|
def filter(self) -> Optional[pulumi.Input[str]]:
|
1497
1554
|
"""
|
1498
|
-
The filter used to request specific records from IdP. In case of attributes type as AZURE_AD_GROUPS_MAIL, it represents the
|
1555
|
+
The filter used to request specific records from IdP. In case of attributes type as AZURE_AD_GROUPS_MAIL and AZURE_AD_GROUPS_ID, it represents the
|
1499
1556
|
filter used to request specific groups for users from IdP. By default, all of the groups associated with the user are fetched. The
|
1500
|
-
groups should be
|
1557
|
+
groups should be security enabled. See https://learn.microsoft.com/en-us/graph/search-query-parameter for more details.
|
1501
1558
|
"""
|
1502
1559
|
return pulumi.get(self, "filter")
|
1503
1560
|
|
@@ -497,14 +497,6 @@ class FoldersPolicyBinding(pulumi.CustomResource):
|
|
497
497
|
target: Optional[pulumi.Input[Union['FoldersPolicyBindingTargetArgs', 'FoldersPolicyBindingTargetArgsDict']]] = None,
|
498
498
|
__props__=None):
|
499
499
|
"""
|
500
|
-
A policy binding to a folder
|
501
|
-
|
502
|
-
To get more information about FoldersPolicyBinding, see:
|
503
|
-
|
504
|
-
* [API documentation](https://cloud.google.com/iam/docs/reference/rest/v3/folders.locations.policyBindings)
|
505
|
-
* How-to Guides
|
506
|
-
* [Apply a policy binding](https://cloud.google.com/iam/docs/principal-access-boundary-policies-create#create_binding)
|
507
|
-
|
508
500
|
## Example Usage
|
509
501
|
|
510
502
|
### Iam Folders Policy Binding
|
@@ -517,20 +509,20 @@ class FoldersPolicyBinding(pulumi.CustomResource):
|
|
517
509
|
pab_policy = gcp.iam.PrincipalAccessBoundaryPolicy("pab_policy",
|
518
510
|
organization="123456789",
|
519
511
|
location="global",
|
520
|
-
display_name="
|
512
|
+
display_name="binding for all principals in the folder",
|
521
513
|
principal_access_boundary_policy_id="my-pab-policy")
|
522
514
|
folder = gcp.organizations.Folder("folder",
|
523
|
-
display_name="
|
515
|
+
display_name="my folder",
|
524
516
|
parent="organizations/123456789",
|
525
517
|
deletion_protection=False)
|
526
518
|
wait120s = time.index.Sleep("wait_120s", create_duration=120s,
|
527
519
|
opts = pulumi.ResourceOptions(depends_on=[folder]))
|
528
|
-
|
520
|
+
binding_for_all_folder_principals = gcp.iam.FoldersPolicyBinding("binding-for-all-folder-principals",
|
529
521
|
folder=folder.folder_id,
|
530
522
|
location="global",
|
531
|
-
display_name="
|
523
|
+
display_name="binding for all principals in the folder",
|
532
524
|
policy_kind="PRINCIPAL_ACCESS_BOUNDARY",
|
533
|
-
policy_binding_id="
|
525
|
+
policy_binding_id="binding-for-all-folder-principals",
|
534
526
|
policy=pab_policy.principal_access_boundary_policy_id.apply(lambda principal_access_boundary_policy_id: f"organizations/123456789/locations/global/principalAccessBoundaryPolicies/{principal_access_boundary_policy_id}"),
|
535
527
|
target={
|
536
528
|
"principal_set": folder.folder_id.apply(lambda folder_id: f"//cloudresourcemanager.googleapis.com/folders/{folder_id}"),
|
@@ -589,14 +581,6 @@ class FoldersPolicyBinding(pulumi.CustomResource):
|
|
589
581
|
args: FoldersPolicyBindingArgs,
|
590
582
|
opts: Optional[pulumi.ResourceOptions] = None):
|
591
583
|
"""
|
592
|
-
A policy binding to a folder
|
593
|
-
|
594
|
-
To get more information about FoldersPolicyBinding, see:
|
595
|
-
|
596
|
-
* [API documentation](https://cloud.google.com/iam/docs/reference/rest/v3/folders.locations.policyBindings)
|
597
|
-
* How-to Guides
|
598
|
-
* [Apply a policy binding](https://cloud.google.com/iam/docs/principal-access-boundary-policies-create#create_binding)
|
599
|
-
|
600
584
|
## Example Usage
|
601
585
|
|
602
586
|
### Iam Folders Policy Binding
|
@@ -609,20 +593,20 @@ class FoldersPolicyBinding(pulumi.CustomResource):
|
|
609
593
|
pab_policy = gcp.iam.PrincipalAccessBoundaryPolicy("pab_policy",
|
610
594
|
organization="123456789",
|
611
595
|
location="global",
|
612
|
-
display_name="
|
596
|
+
display_name="binding for all principals in the folder",
|
613
597
|
principal_access_boundary_policy_id="my-pab-policy")
|
614
598
|
folder = gcp.organizations.Folder("folder",
|
615
|
-
display_name="
|
599
|
+
display_name="my folder",
|
616
600
|
parent="organizations/123456789",
|
617
601
|
deletion_protection=False)
|
618
602
|
wait120s = time.index.Sleep("wait_120s", create_duration=120s,
|
619
603
|
opts = pulumi.ResourceOptions(depends_on=[folder]))
|
620
|
-
|
604
|
+
binding_for_all_folder_principals = gcp.iam.FoldersPolicyBinding("binding-for-all-folder-principals",
|
621
605
|
folder=folder.folder_id,
|
622
606
|
location="global",
|
623
|
-
display_name="
|
607
|
+
display_name="binding for all principals in the folder",
|
624
608
|
policy_kind="PRINCIPAL_ACCESS_BOUNDARY",
|
625
|
-
policy_binding_id="
|
609
|
+
policy_binding_id="binding-for-all-folder-principals",
|
626
610
|
policy=pab_policy.principal_access_boundary_policy_id.apply(lambda principal_access_boundary_policy_id: f"organizations/123456789/locations/global/principalAccessBoundaryPolicies/{principal_access_boundary_policy_id}"),
|
627
611
|
target={
|
628
612
|
"principal_set": folder.folder_id.apply(lambda folder_id: f"//cloudresourcemanager.googleapis.com/folders/{folder_id}"),
|