pulumi-gcp 9.0.0a1__py3-none-any.whl → 9.1.0a1758264354__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 +48 -0
- pulumi_gcp/activedirectory/peering.py +16 -0
- pulumi_gcp/apigateway/api_config_iam_binding.py +4 -4
- pulumi_gcp/apigateway/api_config_iam_member.py +4 -4
- pulumi_gcp/apigateway/api_config_iam_policy.py +4 -4
- pulumi_gcp/apigateway/api_iam_binding.py +4 -4
- pulumi_gcp/apigateway/api_iam_member.py +4 -4
- pulumi_gcp/apigateway/api_iam_policy.py +4 -4
- pulumi_gcp/apigateway/gateway_iam_binding.py +4 -4
- pulumi_gcp/apigateway/gateway_iam_member.py +4 -4
- pulumi_gcp/apigateway/gateway_iam_policy.py +4 -4
- pulumi_gcp/artifactregistry/__init__.py +1 -0
- pulumi_gcp/artifactregistry/get_python_package.py +237 -0
- pulumi_gcp/artifactregistry/get_repository.py +12 -1
- pulumi_gcp/artifactregistry/repository.py +28 -0
- pulumi_gcp/backupdisasterrecovery/__init__.py +1 -0
- pulumi_gcp/backupdisasterrecovery/backup_plan.py +4 -4
- pulumi_gcp/backupdisasterrecovery/get_backup.py +12 -1
- pulumi_gcp/backupdisasterrecovery/get_backup_plan_association.py +4 -0
- pulumi_gcp/backupdisasterrecovery/get_data_source_references.py +135 -0
- pulumi_gcp/backupdisasterrecovery/get_management_server.py +4 -0
- pulumi_gcp/backupdisasterrecovery/outputs.py +103 -0
- pulumi_gcp/bigquery/app_profile.py +14 -49
- pulumi_gcp/bigquery/dataset_access.py +4 -8
- pulumi_gcp/bigquery/table.py +7 -21
- pulumi_gcp/bigqueryanalyticshub/data_exchange_subscription.py +20 -0
- pulumi_gcp/bigtable/app_profile.py +14 -49
- pulumi_gcp/bigtable/table.py +42 -42
- pulumi_gcp/certificatemanager/certificate_map_entry.py +7 -7
- pulumi_gcp/chronicle/_inputs.py +6 -5
- pulumi_gcp/chronicle/outputs.py +4 -3
- pulumi_gcp/chronicle/reference_list.py +53 -5
- pulumi_gcp/cloudasset/get_resources_search_all.py +8 -0
- pulumi_gcp/cloudbuild/_inputs.py +20 -0
- pulumi_gcp/cloudbuild/outputs.py +14 -0
- pulumi_gcp/cloudbuild/trigger.py +4 -2
- pulumi_gcp/cloudbuild/worker_pool.py +28 -21
- pulumi_gcp/cloudfunctions/function.py +4 -8
- pulumi_gcp/cloudquota/s_quota_adjuster_settings.py +16 -0
- pulumi_gcp/cloudrunv2/_inputs.py +57 -0
- pulumi_gcp/cloudrunv2/get_service.py +12 -1
- pulumi_gcp/cloudrunv2/outputs.py +81 -0
- pulumi_gcp/cloudrunv2/service.py +54 -0
- pulumi_gcp/cloudrunv2/worker_pool.py +2 -2
- pulumi_gcp/composer/environment.py +28 -49
- pulumi_gcp/compute/_inputs.py +804 -24
- pulumi_gcp/compute/backend_bucket.py +14 -0
- pulumi_gcp/compute/backend_bucket_iam_binding.py +236 -0
- pulumi_gcp/compute/backend_bucket_iam_member.py +236 -0
- pulumi_gcp/compute/backend_bucket_iam_policy.py +236 -0
- pulumi_gcp/compute/backend_service_iam_binding.py +464 -0
- pulumi_gcp/compute/backend_service_iam_member.py +464 -0
- pulumi_gcp/compute/backend_service_iam_policy.py +464 -0
- pulumi_gcp/compute/cross_site_network.py +16 -0
- pulumi_gcp/compute/future_reservation.py +32 -0
- pulumi_gcp/compute/get_region_backend_service.py +12 -1
- pulumi_gcp/compute/get_resource_policy.py +2 -20
- pulumi_gcp/compute/instance_from_machine_image.py +75 -110
- pulumi_gcp/compute/instance_from_template.py +75 -110
- pulumi_gcp/compute/instance_group_manager.py +7 -14
- pulumi_gcp/compute/instance_template.py +7 -14
- pulumi_gcp/compute/interconnect.py +4 -8
- pulumi_gcp/compute/machine_image_iam_binding.py +8 -4
- pulumi_gcp/compute/machine_image_iam_member.py +8 -4
- pulumi_gcp/compute/machine_image_iam_policy.py +8 -4
- pulumi_gcp/compute/network_edge_security_service.py +16 -0
- pulumi_gcp/compute/network_firewall_policy_packet_mirroring_rule.py +12 -0
- pulumi_gcp/compute/outputs.py +671 -16
- pulumi_gcp/compute/preview_feature.py +16 -0
- pulumi_gcp/compute/public_delegated_prefix.py +42 -0
- pulumi_gcp/compute/region_backend_service.py +54 -0
- pulumi_gcp/compute/region_backend_service_iam_binding.py +488 -0
- pulumi_gcp/compute/region_backend_service_iam_member.py +488 -0
- pulumi_gcp/compute/region_backend_service_iam_policy.py +488 -0
- pulumi_gcp/compute/region_instance_group_manager.py +7 -14
- pulumi_gcp/compute/region_network_endpoint_group.py +1 -3
- pulumi_gcp/compute/region_resize_request.py +24 -0
- pulumi_gcp/compute/region_url_map.py +75 -0
- pulumi_gcp/compute/wire_group.py +16 -0
- pulumi_gcp/container/_inputs.py +446 -18
- pulumi_gcp/container/aws_cluster.py +28 -42
- pulumi_gcp/container/aws_node_pool.py +28 -42
- pulumi_gcp/container/azure_cluster.py +35 -70
- pulumi_gcp/container/azure_node_pool.py +28 -42
- pulumi_gcp/container/cluster.py +16 -7
- pulumi_gcp/container/outputs.py +423 -15
- pulumi_gcp/dataflow/flex_template_job.py +10 -0
- pulumi_gcp/dataform/repository.py +16 -0
- pulumi_gcp/dataform/repository_release_config.py +16 -0
- pulumi_gcp/dataform/repository_workflow_config.py +16 -0
- pulumi_gcp/dataplex/asset.py +28 -21
- pulumi_gcp/dataplex/zone.py +28 -21
- pulumi_gcp/dataproc/cluster.py +21 -14
- pulumi_gcp/dataproc/workflow_template.py +42 -105
- pulumi_gcp/discoveryengine/__init__.py +1 -0
- pulumi_gcp/discoveryengine/_inputs.py +94 -0
- pulumi_gcp/discoveryengine/acl_config.py +393 -0
- pulumi_gcp/discoveryengine/outputs.py +92 -0
- pulumi_gcp/firebase/android_app.py +16 -0
- pulumi_gcp/firebase/apple_app.py +16 -0
- pulumi_gcp/firebase/database_instance.py +16 -0
- pulumi_gcp/firebase/extensions_instance.py +12 -0
- pulumi_gcp/firebase/get_android_app.py +4 -2
- pulumi_gcp/firebase/get_apple_app.py +4 -2
- pulumi_gcp/firebase/get_apple_app_config.py +16 -2
- pulumi_gcp/firebase/get_hosting_channel.py +4 -2
- pulumi_gcp/firebase/hosting_channel.py +20 -0
- pulumi_gcp/firebase/hosting_custom_domain.py +20 -0
- pulumi_gcp/firebase/hosting_release.py +16 -0
- pulumi_gcp/firebase/hosting_site.py +16 -0
- pulumi_gcp/firebase/hosting_version.py +16 -0
- pulumi_gcp/firebase/storage_bucket.py +18 -0
- pulumi_gcp/firestore/index.py +118 -3
- pulumi_gcp/folder/service_identity.py +26 -0
- pulumi_gcp/gkehub/membership_rbac_role_binding.py +16 -0
- pulumi_gcp/healthcare/_inputs.py +205 -0
- pulumi_gcp/healthcare/fhir_store.py +128 -0
- pulumi_gcp/healthcare/outputs.py +163 -0
- pulumi_gcp/iam/workload_identity_pool_iam_binding.py +464 -0
- pulumi_gcp/iam/workload_identity_pool_iam_member.py +464 -0
- pulumi_gcp/iam/workload_identity_pool_iam_policy.py +464 -0
- pulumi_gcp/iam/workload_identity_pool_managed_identity.py +18 -0
- pulumi_gcp/iam/workload_identity_pool_namespace.py +20 -0
- pulumi_gcp/iap/__init__.py +4 -0
- pulumi_gcp/iap/_inputs.py +130 -0
- pulumi_gcp/iap/get_web_forwarding_rule_service_iam_policy.py +159 -0
- pulumi_gcp/iap/outputs.py +76 -0
- pulumi_gcp/iap/web_forwarding_rule_service_iam_binding.py +1002 -0
- pulumi_gcp/iap/web_forwarding_rule_service_iam_member.py +1002 -0
- pulumi_gcp/iap/web_forwarding_rule_service_iam_policy.py +821 -0
- pulumi_gcp/kms/get_kms_secret_asymmetric.py +22 -0
- pulumi_gcp/logging/billing_account_bucket_config.py +7 -21
- pulumi_gcp/logging/folder_bucket_config.py +7 -21
- pulumi_gcp/logging/organization_bucket_config.py +7 -21
- pulumi_gcp/logging/organization_sink.py +7 -7
- pulumi_gcp/managedkafka/connect_cluster.py +4 -0
- pulumi_gcp/managedkafka/connector.py +4 -0
- pulumi_gcp/memorystore/instance.py +14 -14
- pulumi_gcp/monitoring/dashboard.py +7 -14
- pulumi_gcp/netapp/storage_pool.py +91 -2
- pulumi_gcp/netapp/volume.py +47 -0
- pulumi_gcp/networkmanagement/__init__.py +1 -0
- pulumi_gcp/networkmanagement/organization_vpc_flow_logs_config.py +1028 -0
- pulumi_gcp/networksecurity/authorization_policy.py +12 -0
- pulumi_gcp/networkservices/gateway.py +7 -7
- pulumi_gcp/networkservices/service_lb_policies.py +12 -0
- pulumi_gcp/oracledatabase/autonomous_database.py +2 -2
- pulumi_gcp/organizations/project.py +7 -21
- pulumi_gcp/projects/service.py +0 -7
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/resourcemanager/capability.py +16 -0
- pulumi_gcp/runtimeconfig/config.py +16 -0
- pulumi_gcp/runtimeconfig/config_iam_binding.py +236 -0
- pulumi_gcp/runtimeconfig/config_iam_member.py +236 -0
- pulumi_gcp/runtimeconfig/config_iam_policy.py +236 -0
- pulumi_gcp/runtimeconfig/variable.py +10 -0
- pulumi_gcp/saasruntime/__init__.py +1 -0
- pulumi_gcp/saasruntime/_inputs.py +458 -0
- pulumi_gcp/saasruntime/outputs.py +392 -0
- pulumi_gcp/saasruntime/saa_s.py +4 -0
- pulumi_gcp/saasruntime/unit_kind.py +1024 -0
- pulumi_gcp/securesourcemanager/instance.py +7 -7
- pulumi_gcp/securesourcemanager/repository.py +7 -7
- pulumi_gcp/servicedirectory/namespace_iam_binding.py +4 -4
- pulumi_gcp/servicedirectory/namespace_iam_member.py +4 -4
- pulumi_gcp/servicedirectory/namespace_iam_policy.py +4 -4
- pulumi_gcp/servicedirectory/service_iam_binding.py +4 -4
- pulumi_gcp/servicedirectory/service_iam_member.py +4 -4
- pulumi_gcp/servicedirectory/service_iam_policy.py +4 -4
- pulumi_gcp/sql/_inputs.py +135 -1
- pulumi_gcp/sql/database_instance.py +54 -14
- pulumi_gcp/sql/get_database_instance.py +12 -1
- pulumi_gcp/sql/outputs.py +265 -3
- pulumi_gcp/storage/_inputs.py +246 -0
- pulumi_gcp/storage/bucket.py +7 -14
- pulumi_gcp/storage/bucket_object.py +0 -9
- pulumi_gcp/storage/outputs.py +191 -1
- pulumi_gcp/storage/transfer_job.py +47 -0
- pulumi_gcp/tpu/v2_queued_resource.py +16 -0
- pulumi_gcp/tpu/v2_vm.py +16 -0
- pulumi_gcp/vertex/ai_feature_group_iam_binding.py +236 -0
- pulumi_gcp/vertex/ai_feature_group_iam_member.py +236 -0
- pulumi_gcp/vertex/ai_feature_group_iam_policy.py +236 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_binding.py +248 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_member.py +248 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_policy.py +248 -0
- pulumi_gcp/vertex/ai_feature_online_store_iam_binding.py +236 -0
- pulumi_gcp/vertex/ai_feature_online_store_iam_member.py +236 -0
- pulumi_gcp/vertex/ai_feature_online_store_iam_policy.py +236 -0
- pulumi_gcp/vertex/ai_feature_store_entity_type_iam_binding.py +238 -0
- pulumi_gcp/vertex/ai_feature_store_entity_type_iam_member.py +238 -0
- pulumi_gcp/vertex/ai_feature_store_entity_type_iam_policy.py +238 -0
- pulumi_gcp/vertex/ai_feature_store_iam_binding.py +248 -0
- pulumi_gcp/vertex/ai_feature_store_iam_member.py +248 -0
- pulumi_gcp/vertex/ai_feature_store_iam_policy.py +248 -0
- pulumi_gcp/vertex/ai_metadata_store.py +16 -0
- pulumi_gcp/workstations/workstation.py +16 -0
- pulumi_gcp/workstations/workstation_cluster.py +16 -0
- pulumi_gcp/workstations/workstation_config.py +16 -0
- pulumi_gcp/workstations/workstation_config_iam_binding.py +260 -0
- pulumi_gcp/workstations/workstation_config_iam_member.py +260 -0
- pulumi_gcp/workstations/workstation_config_iam_policy.py +260 -0
- pulumi_gcp/workstations/workstation_iam_binding.py +272 -0
- pulumi_gcp/workstations/workstation_iam_member.py +272 -0
- pulumi_gcp/workstations/workstation_iam_policy.py +272 -0
- {pulumi_gcp-9.0.0a1.dist-info → pulumi_gcp-9.1.0a1758264354.dist-info}/METADATA +1 -1
- {pulumi_gcp-9.0.0a1.dist-info → pulumi_gcp-9.1.0a1758264354.dist-info}/RECORD +209 -200
- {pulumi_gcp-9.0.0a1.dist-info → pulumi_gcp-9.1.0a1758264354.dist-info}/WHEEL +0 -0
- {pulumi_gcp-9.0.0a1.dist-info → pulumi_gcp-9.1.0a1758264354.dist-info}/top_level.txt +0 -0
pulumi_gcp/__init__.py
CHANGED
@@ -5159,6 +5159,14 @@ _utilities.register(
|
|
5159
5159
|
"gcp:diagflow/intent:Intent": "Intent"
|
5160
5160
|
}
|
5161
5161
|
},
|
5162
|
+
{
|
5163
|
+
"pkg": "gcp",
|
5164
|
+
"mod": "discoveryengine/aclConfig",
|
5165
|
+
"fqn": "pulumi_gcp.discoveryengine",
|
5166
|
+
"classes": {
|
5167
|
+
"gcp:discoveryengine/aclConfig:AclConfig": "AclConfig"
|
5168
|
+
}
|
5169
|
+
},
|
5162
5170
|
{
|
5163
5171
|
"pkg": "gcp",
|
5164
5172
|
"mod": "discoveryengine/chatEngine",
|
@@ -6759,6 +6767,30 @@ _utilities.register(
|
|
6759
6767
|
"gcp:iap/webCloudRunServiceIamPolicy:WebCloudRunServiceIamPolicy": "WebCloudRunServiceIamPolicy"
|
6760
6768
|
}
|
6761
6769
|
},
|
6770
|
+
{
|
6771
|
+
"pkg": "gcp",
|
6772
|
+
"mod": "iap/webForwardingRuleServiceIamBinding",
|
6773
|
+
"fqn": "pulumi_gcp.iap",
|
6774
|
+
"classes": {
|
6775
|
+
"gcp:iap/webForwardingRuleServiceIamBinding:WebForwardingRuleServiceIamBinding": "WebForwardingRuleServiceIamBinding"
|
6776
|
+
}
|
6777
|
+
},
|
6778
|
+
{
|
6779
|
+
"pkg": "gcp",
|
6780
|
+
"mod": "iap/webForwardingRuleServiceIamMember",
|
6781
|
+
"fqn": "pulumi_gcp.iap",
|
6782
|
+
"classes": {
|
6783
|
+
"gcp:iap/webForwardingRuleServiceIamMember:WebForwardingRuleServiceIamMember": "WebForwardingRuleServiceIamMember"
|
6784
|
+
}
|
6785
|
+
},
|
6786
|
+
{
|
6787
|
+
"pkg": "gcp",
|
6788
|
+
"mod": "iap/webForwardingRuleServiceIamPolicy",
|
6789
|
+
"fqn": "pulumi_gcp.iap",
|
6790
|
+
"classes": {
|
6791
|
+
"gcp:iap/webForwardingRuleServiceIamPolicy:WebForwardingRuleServiceIamPolicy": "WebForwardingRuleServiceIamPolicy"
|
6792
|
+
}
|
6793
|
+
},
|
6762
6794
|
{
|
6763
6795
|
"pkg": "gcp",
|
6764
6796
|
"mod": "iap/webIamBinding",
|
@@ -7615,6 +7647,14 @@ _utilities.register(
|
|
7615
7647
|
"gcp:networkmanagement/connectivityTest:ConnectivityTest": "ConnectivityTest"
|
7616
7648
|
}
|
7617
7649
|
},
|
7650
|
+
{
|
7651
|
+
"pkg": "gcp",
|
7652
|
+
"mod": "networkmanagement/organizationVpcFlowLogsConfig",
|
7653
|
+
"fqn": "pulumi_gcp.networkmanagement",
|
7654
|
+
"classes": {
|
7655
|
+
"gcp:networkmanagement/organizationVpcFlowLogsConfig:OrganizationVpcFlowLogsConfig": "OrganizationVpcFlowLogsConfig"
|
7656
|
+
}
|
7657
|
+
},
|
7618
7658
|
{
|
7619
7659
|
"pkg": "gcp",
|
7620
7660
|
"mod": "networkmanagement/vpcFlowLogsConfig",
|
@@ -8567,6 +8607,14 @@ _utilities.register(
|
|
8567
8607
|
"gcp:saasruntime/saaS:SaaS": "SaaS"
|
8568
8608
|
}
|
8569
8609
|
},
|
8610
|
+
{
|
8611
|
+
"pkg": "gcp",
|
8612
|
+
"mod": "saasruntime/unitKind",
|
8613
|
+
"fqn": "pulumi_gcp.saasruntime",
|
8614
|
+
"classes": {
|
8615
|
+
"gcp:saasruntime/unitKind:UnitKind": "UnitKind"
|
8616
|
+
}
|
8617
|
+
},
|
8570
8618
|
{
|
8571
8619
|
"pkg": "gcp",
|
8572
8620
|
"mod": "secretmanager/regionalSecret",
|
@@ -330,6 +330,14 @@ class Peering(pulumi.CustomResource):
|
|
330
330
|
status_message: Optional[pulumi.Input[_builtins.str]] = None,
|
331
331
|
__props__=None):
|
332
332
|
"""
|
333
|
+
Creates a Peering for Managed AD instance.
|
334
|
+
|
335
|
+
To get more information about Peering, see:
|
336
|
+
|
337
|
+
* [API documentation](https://cloud.google.com/managed-microsoft-ad/reference/rest/v1beta1/projects.locations.global.peerings)
|
338
|
+
* How-to Guides
|
339
|
+
* [Active Directory Domain Peering](https://cloud.google.com/managed-microsoft-ad/docs/domain-peering)
|
340
|
+
|
333
341
|
## Example Usage
|
334
342
|
|
335
343
|
:param str resource_name: The name of the resource.
|
@@ -352,6 +360,14 @@ class Peering(pulumi.CustomResource):
|
|
352
360
|
args: PeeringArgs,
|
353
361
|
opts: Optional[pulumi.ResourceOptions] = None):
|
354
362
|
"""
|
363
|
+
Creates a Peering for Managed AD instance.
|
364
|
+
|
365
|
+
To get more information about Peering, see:
|
366
|
+
|
367
|
+
* [API documentation](https://cloud.google.com/managed-microsoft-ad/reference/rest/v1beta1/projects.locations.global.peerings)
|
368
|
+
* How-to Guides
|
369
|
+
* [Active Directory Domain Peering](https://cloud.google.com/managed-microsoft-ad/docs/domain-peering)
|
370
|
+
|
355
371
|
## Example Usage
|
356
372
|
|
357
373
|
:param str resource_name: The name of the resource.
|
@@ -314,7 +314,7 @@ class ApiConfigIamBinding(pulumi.CustomResource):
|
|
314
314
|
|
315
315
|
> **Note:** `apigateway.ApiConfigIamBinding` resources **can be** used in conjunction with `apigateway.ApiConfigIamMember` resources **only if** they do not grant privilege to the same role.
|
316
316
|
|
317
|
-
##
|
317
|
+
## apigateway.ApiConfigIamPolicy
|
318
318
|
|
319
319
|
```python
|
320
320
|
import pulumi
|
@@ -376,7 +376,7 @@ class ApiConfigIamBinding(pulumi.CustomResource):
|
|
376
376
|
|
377
377
|
> **Note:** `apigateway.ApiConfigIamBinding` resources **can be** used in conjunction with `apigateway.ApiConfigIamMember` resources **only if** they do not grant privilege to the same role.
|
378
378
|
|
379
|
-
##
|
379
|
+
## apigateway.ApiConfigIamPolicy
|
380
380
|
|
381
381
|
```python
|
382
382
|
import pulumi
|
@@ -499,7 +499,7 @@ class ApiConfigIamBinding(pulumi.CustomResource):
|
|
499
499
|
|
500
500
|
> **Note:** `apigateway.ApiConfigIamBinding` resources **can be** used in conjunction with `apigateway.ApiConfigIamMember` resources **only if** they do not grant privilege to the same role.
|
501
501
|
|
502
|
-
##
|
502
|
+
## apigateway.ApiConfigIamPolicy
|
503
503
|
|
504
504
|
```python
|
505
505
|
import pulumi
|
@@ -561,7 +561,7 @@ class ApiConfigIamBinding(pulumi.CustomResource):
|
|
561
561
|
|
562
562
|
> **Note:** `apigateway.ApiConfigIamBinding` resources **can be** used in conjunction with `apigateway.ApiConfigIamMember` resources **only if** they do not grant privilege to the same role.
|
563
563
|
|
564
|
-
##
|
564
|
+
## apigateway.ApiConfigIamPolicy
|
565
565
|
|
566
566
|
```python
|
567
567
|
import pulumi
|
@@ -314,7 +314,7 @@ class ApiConfigIamMember(pulumi.CustomResource):
|
|
314
314
|
|
315
315
|
> **Note:** `apigateway.ApiConfigIamBinding` resources **can be** used in conjunction with `apigateway.ApiConfigIamMember` resources **only if** they do not grant privilege to the same role.
|
316
316
|
|
317
|
-
##
|
317
|
+
## apigateway.ApiConfigIamPolicy
|
318
318
|
|
319
319
|
```python
|
320
320
|
import pulumi
|
@@ -376,7 +376,7 @@ class ApiConfigIamMember(pulumi.CustomResource):
|
|
376
376
|
|
377
377
|
> **Note:** `apigateway.ApiConfigIamBinding` resources **can be** used in conjunction with `apigateway.ApiConfigIamMember` resources **only if** they do not grant privilege to the same role.
|
378
378
|
|
379
|
-
##
|
379
|
+
## apigateway.ApiConfigIamPolicy
|
380
380
|
|
381
381
|
```python
|
382
382
|
import pulumi
|
@@ -499,7 +499,7 @@ class ApiConfigIamMember(pulumi.CustomResource):
|
|
499
499
|
|
500
500
|
> **Note:** `apigateway.ApiConfigIamBinding` resources **can be** used in conjunction with `apigateway.ApiConfigIamMember` resources **only if** they do not grant privilege to the same role.
|
501
501
|
|
502
|
-
##
|
502
|
+
## apigateway.ApiConfigIamPolicy
|
503
503
|
|
504
504
|
```python
|
505
505
|
import pulumi
|
@@ -561,7 +561,7 @@ class ApiConfigIamMember(pulumi.CustomResource):
|
|
561
561
|
|
562
562
|
> **Note:** `apigateway.ApiConfigIamBinding` resources **can be** used in conjunction with `apigateway.ApiConfigIamMember` resources **only if** they do not grant privilege to the same role.
|
563
563
|
|
564
|
-
##
|
564
|
+
## apigateway.ApiConfigIamPolicy
|
565
565
|
|
566
566
|
```python
|
567
567
|
import pulumi
|
@@ -211,7 +211,7 @@ class ApiConfigIamPolicy(pulumi.CustomResource):
|
|
211
211
|
|
212
212
|
> **Note:** `apigateway.ApiConfigIamBinding` resources **can be** used in conjunction with `apigateway.ApiConfigIamMember` resources **only if** they do not grant privilege to the same role.
|
213
213
|
|
214
|
-
##
|
214
|
+
## apigateway.ApiConfigIamPolicy
|
215
215
|
|
216
216
|
```python
|
217
217
|
import pulumi
|
@@ -273,7 +273,7 @@ class ApiConfigIamPolicy(pulumi.CustomResource):
|
|
273
273
|
|
274
274
|
> **Note:** `apigateway.ApiConfigIamBinding` resources **can be** used in conjunction with `apigateway.ApiConfigIamMember` resources **only if** they do not grant privilege to the same role.
|
275
275
|
|
276
|
-
##
|
276
|
+
## apigateway.ApiConfigIamPolicy
|
277
277
|
|
278
278
|
```python
|
279
279
|
import pulumi
|
@@ -384,7 +384,7 @@ class ApiConfigIamPolicy(pulumi.CustomResource):
|
|
384
384
|
|
385
385
|
> **Note:** `apigateway.ApiConfigIamBinding` resources **can be** used in conjunction with `apigateway.ApiConfigIamMember` resources **only if** they do not grant privilege to the same role.
|
386
386
|
|
387
|
-
##
|
387
|
+
## apigateway.ApiConfigIamPolicy
|
388
388
|
|
389
389
|
```python
|
390
390
|
import pulumi
|
@@ -446,7 +446,7 @@ class ApiConfigIamPolicy(pulumi.CustomResource):
|
|
446
446
|
|
447
447
|
> **Note:** `apigateway.ApiConfigIamBinding` resources **can be** used in conjunction with `apigateway.ApiConfigIamMember` resources **only if** they do not grant privilege to the same role.
|
448
448
|
|
449
|
-
##
|
449
|
+
## apigateway.ApiConfigIamPolicy
|
450
450
|
|
451
451
|
```python
|
452
452
|
import pulumi
|
@@ -278,7 +278,7 @@ class ApiIamBinding(pulumi.CustomResource):
|
|
278
278
|
|
279
279
|
> **Note:** `apigateway.ApiIamBinding` resources **can be** used in conjunction with `apigateway.ApiIamMember` resources **only if** they do not grant privilege to the same role.
|
280
280
|
|
281
|
-
##
|
281
|
+
## apigateway.ApiIamPolicy
|
282
282
|
|
283
283
|
```python
|
284
284
|
import pulumi
|
@@ -340,7 +340,7 @@ class ApiIamBinding(pulumi.CustomResource):
|
|
340
340
|
|
341
341
|
> **Note:** `apigateway.ApiIamBinding` resources **can be** used in conjunction with `apigateway.ApiIamMember` resources **only if** they do not grant privilege to the same role.
|
342
342
|
|
343
|
-
##
|
343
|
+
## apigateway.ApiIamPolicy
|
344
344
|
|
345
345
|
```python
|
346
346
|
import pulumi
|
@@ -459,7 +459,7 @@ class ApiIamBinding(pulumi.CustomResource):
|
|
459
459
|
|
460
460
|
> **Note:** `apigateway.ApiIamBinding` resources **can be** used in conjunction with `apigateway.ApiIamMember` resources **only if** they do not grant privilege to the same role.
|
461
461
|
|
462
|
-
##
|
462
|
+
## apigateway.ApiIamPolicy
|
463
463
|
|
464
464
|
```python
|
465
465
|
import pulumi
|
@@ -521,7 +521,7 @@ class ApiIamBinding(pulumi.CustomResource):
|
|
521
521
|
|
522
522
|
> **Note:** `apigateway.ApiIamBinding` resources **can be** used in conjunction with `apigateway.ApiIamMember` resources **only if** they do not grant privilege to the same role.
|
523
523
|
|
524
|
-
##
|
524
|
+
## apigateway.ApiIamPolicy
|
525
525
|
|
526
526
|
```python
|
527
527
|
import pulumi
|
@@ -278,7 +278,7 @@ class ApiIamMember(pulumi.CustomResource):
|
|
278
278
|
|
279
279
|
> **Note:** `apigateway.ApiIamBinding` resources **can be** used in conjunction with `apigateway.ApiIamMember` resources **only if** they do not grant privilege to the same role.
|
280
280
|
|
281
|
-
##
|
281
|
+
## apigateway.ApiIamPolicy
|
282
282
|
|
283
283
|
```python
|
284
284
|
import pulumi
|
@@ -340,7 +340,7 @@ class ApiIamMember(pulumi.CustomResource):
|
|
340
340
|
|
341
341
|
> **Note:** `apigateway.ApiIamBinding` resources **can be** used in conjunction with `apigateway.ApiIamMember` resources **only if** they do not grant privilege to the same role.
|
342
342
|
|
343
|
-
##
|
343
|
+
## apigateway.ApiIamPolicy
|
344
344
|
|
345
345
|
```python
|
346
346
|
import pulumi
|
@@ -459,7 +459,7 @@ class ApiIamMember(pulumi.CustomResource):
|
|
459
459
|
|
460
460
|
> **Note:** `apigateway.ApiIamBinding` resources **can be** used in conjunction with `apigateway.ApiIamMember` resources **only if** they do not grant privilege to the same role.
|
461
461
|
|
462
|
-
##
|
462
|
+
## apigateway.ApiIamPolicy
|
463
463
|
|
464
464
|
```python
|
465
465
|
import pulumi
|
@@ -521,7 +521,7 @@ class ApiIamMember(pulumi.CustomResource):
|
|
521
521
|
|
522
522
|
> **Note:** `apigateway.ApiIamBinding` resources **can be** used in conjunction with `apigateway.ApiIamMember` resources **only if** they do not grant privilege to the same role.
|
523
523
|
|
524
|
-
##
|
524
|
+
## apigateway.ApiIamPolicy
|
525
525
|
|
526
526
|
```python
|
527
527
|
import pulumi
|
@@ -175,7 +175,7 @@ class ApiIamPolicy(pulumi.CustomResource):
|
|
175
175
|
|
176
176
|
> **Note:** `apigateway.ApiIamBinding` resources **can be** used in conjunction with `apigateway.ApiIamMember` resources **only if** they do not grant privilege to the same role.
|
177
177
|
|
178
|
-
##
|
178
|
+
## apigateway.ApiIamPolicy
|
179
179
|
|
180
180
|
```python
|
181
181
|
import pulumi
|
@@ -237,7 +237,7 @@ class ApiIamPolicy(pulumi.CustomResource):
|
|
237
237
|
|
238
238
|
> **Note:** `apigateway.ApiIamBinding` resources **can be** used in conjunction with `apigateway.ApiIamMember` resources **only if** they do not grant privilege to the same role.
|
239
239
|
|
240
|
-
##
|
240
|
+
## apigateway.ApiIamPolicy
|
241
241
|
|
242
242
|
```python
|
243
243
|
import pulumi
|
@@ -344,7 +344,7 @@ class ApiIamPolicy(pulumi.CustomResource):
|
|
344
344
|
|
345
345
|
> **Note:** `apigateway.ApiIamBinding` resources **can be** used in conjunction with `apigateway.ApiIamMember` resources **only if** they do not grant privilege to the same role.
|
346
346
|
|
347
|
-
##
|
347
|
+
## apigateway.ApiIamPolicy
|
348
348
|
|
349
349
|
```python
|
350
350
|
import pulumi
|
@@ -406,7 +406,7 @@ class ApiIamPolicy(pulumi.CustomResource):
|
|
406
406
|
|
407
407
|
> **Note:** `apigateway.ApiIamBinding` resources **can be** used in conjunction with `apigateway.ApiIamMember` resources **only if** they do not grant privilege to the same role.
|
408
408
|
|
409
|
-
##
|
409
|
+
## apigateway.ApiIamPolicy
|
410
410
|
|
411
411
|
```python
|
412
412
|
import pulumi
|
@@ -323,7 +323,7 @@ class GatewayIamBinding(pulumi.CustomResource):
|
|
323
323
|
|
324
324
|
> **Note:** `apigateway.GatewayIamBinding` resources **can be** used in conjunction with `apigateway.GatewayIamMember` resources **only if** they do not grant privilege to the same role.
|
325
325
|
|
326
|
-
##
|
326
|
+
## apigateway.GatewayIamPolicy
|
327
327
|
|
328
328
|
```python
|
329
329
|
import pulumi
|
@@ -388,7 +388,7 @@ class GatewayIamBinding(pulumi.CustomResource):
|
|
388
388
|
|
389
389
|
> **Note:** `apigateway.GatewayIamBinding` resources **can be** used in conjunction with `apigateway.GatewayIamMember` resources **only if** they do not grant privilege to the same role.
|
390
390
|
|
391
|
-
##
|
391
|
+
## apigateway.GatewayIamPolicy
|
392
392
|
|
393
393
|
```python
|
394
394
|
import pulumi
|
@@ -516,7 +516,7 @@ class GatewayIamBinding(pulumi.CustomResource):
|
|
516
516
|
|
517
517
|
> **Note:** `apigateway.GatewayIamBinding` resources **can be** used in conjunction with `apigateway.GatewayIamMember` resources **only if** they do not grant privilege to the same role.
|
518
518
|
|
519
|
-
##
|
519
|
+
## apigateway.GatewayIamPolicy
|
520
520
|
|
521
521
|
```python
|
522
522
|
import pulumi
|
@@ -581,7 +581,7 @@ class GatewayIamBinding(pulumi.CustomResource):
|
|
581
581
|
|
582
582
|
> **Note:** `apigateway.GatewayIamBinding` resources **can be** used in conjunction with `apigateway.GatewayIamMember` resources **only if** they do not grant privilege to the same role.
|
583
583
|
|
584
|
-
##
|
584
|
+
## apigateway.GatewayIamPolicy
|
585
585
|
|
586
586
|
```python
|
587
587
|
import pulumi
|
@@ -323,7 +323,7 @@ class GatewayIamMember(pulumi.CustomResource):
|
|
323
323
|
|
324
324
|
> **Note:** `apigateway.GatewayIamBinding` resources **can be** used in conjunction with `apigateway.GatewayIamMember` resources **only if** they do not grant privilege to the same role.
|
325
325
|
|
326
|
-
##
|
326
|
+
## apigateway.GatewayIamPolicy
|
327
327
|
|
328
328
|
```python
|
329
329
|
import pulumi
|
@@ -388,7 +388,7 @@ class GatewayIamMember(pulumi.CustomResource):
|
|
388
388
|
|
389
389
|
> **Note:** `apigateway.GatewayIamBinding` resources **can be** used in conjunction with `apigateway.GatewayIamMember` resources **only if** they do not grant privilege to the same role.
|
390
390
|
|
391
|
-
##
|
391
|
+
## apigateway.GatewayIamPolicy
|
392
392
|
|
393
393
|
```python
|
394
394
|
import pulumi
|
@@ -516,7 +516,7 @@ class GatewayIamMember(pulumi.CustomResource):
|
|
516
516
|
|
517
517
|
> **Note:** `apigateway.GatewayIamBinding` resources **can be** used in conjunction with `apigateway.GatewayIamMember` resources **only if** they do not grant privilege to the same role.
|
518
518
|
|
519
|
-
##
|
519
|
+
## apigateway.GatewayIamPolicy
|
520
520
|
|
521
521
|
```python
|
522
522
|
import pulumi
|
@@ -581,7 +581,7 @@ class GatewayIamMember(pulumi.CustomResource):
|
|
581
581
|
|
582
582
|
> **Note:** `apigateway.GatewayIamBinding` resources **can be** used in conjunction with `apigateway.GatewayIamMember` resources **only if** they do not grant privilege to the same role.
|
583
583
|
|
584
|
-
##
|
584
|
+
## apigateway.GatewayIamPolicy
|
585
585
|
|
586
586
|
```python
|
587
587
|
import pulumi
|
@@ -220,7 +220,7 @@ class GatewayIamPolicy(pulumi.CustomResource):
|
|
220
220
|
|
221
221
|
> **Note:** `apigateway.GatewayIamBinding` resources **can be** used in conjunction with `apigateway.GatewayIamMember` resources **only if** they do not grant privilege to the same role.
|
222
222
|
|
223
|
-
##
|
223
|
+
## apigateway.GatewayIamPolicy
|
224
224
|
|
225
225
|
```python
|
226
226
|
import pulumi
|
@@ -285,7 +285,7 @@ class GatewayIamPolicy(pulumi.CustomResource):
|
|
285
285
|
|
286
286
|
> **Note:** `apigateway.GatewayIamBinding` resources **can be** used in conjunction with `apigateway.GatewayIamMember` resources **only if** they do not grant privilege to the same role.
|
287
287
|
|
288
|
-
##
|
288
|
+
## apigateway.GatewayIamPolicy
|
289
289
|
|
290
290
|
```python
|
291
291
|
import pulumi
|
@@ -401,7 +401,7 @@ class GatewayIamPolicy(pulumi.CustomResource):
|
|
401
401
|
|
402
402
|
> **Note:** `apigateway.GatewayIamBinding` resources **can be** used in conjunction with `apigateway.GatewayIamMember` resources **only if** they do not grant privilege to the same role.
|
403
403
|
|
404
|
-
##
|
404
|
+
## apigateway.GatewayIamPolicy
|
405
405
|
|
406
406
|
```python
|
407
407
|
import pulumi
|
@@ -466,7 +466,7 @@ class GatewayIamPolicy(pulumi.CustomResource):
|
|
466
466
|
|
467
467
|
> **Note:** `apigateway.GatewayIamBinding` resources **can be** used in conjunction with `apigateway.GatewayIamMember` resources **only if** they do not grant privilege to the same role.
|
468
468
|
|
469
|
-
##
|
469
|
+
## apigateway.GatewayIamPolicy
|
470
470
|
|
471
471
|
```python
|
472
472
|
import pulumi
|
@@ -11,6 +11,7 @@ from .get_docker_images import *
|
|
11
11
|
from .get_locations import *
|
12
12
|
from .get_npm_package import *
|
13
13
|
from .get_package import *
|
14
|
+
from .get_python_package import *
|
14
15
|
from .get_repositories import *
|
15
16
|
from .get_repository import *
|
16
17
|
from .get_repository_iam_policy import *
|
@@ -0,0 +1,237 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import builtins as _builtins
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
|
17
|
+
__all__ = [
|
18
|
+
'GetPythonPackageResult',
|
19
|
+
'AwaitableGetPythonPackageResult',
|
20
|
+
'get_python_package',
|
21
|
+
'get_python_package_output',
|
22
|
+
]
|
23
|
+
|
24
|
+
@pulumi.output_type
|
25
|
+
class GetPythonPackageResult:
|
26
|
+
"""
|
27
|
+
A collection of values returned by getPythonPackage.
|
28
|
+
"""
|
29
|
+
def __init__(__self__, create_time=None, id=None, location=None, name=None, package_name=None, project=None, repository_id=None, update_time=None, version=None):
|
30
|
+
if create_time and not isinstance(create_time, str):
|
31
|
+
raise TypeError("Expected argument 'create_time' to be a str")
|
32
|
+
pulumi.set(__self__, "create_time", create_time)
|
33
|
+
if id and not isinstance(id, str):
|
34
|
+
raise TypeError("Expected argument 'id' to be a str")
|
35
|
+
pulumi.set(__self__, "id", id)
|
36
|
+
if location and not isinstance(location, str):
|
37
|
+
raise TypeError("Expected argument 'location' to be a str")
|
38
|
+
pulumi.set(__self__, "location", location)
|
39
|
+
if name and not isinstance(name, str):
|
40
|
+
raise TypeError("Expected argument 'name' to be a str")
|
41
|
+
pulumi.set(__self__, "name", name)
|
42
|
+
if package_name and not isinstance(package_name, str):
|
43
|
+
raise TypeError("Expected argument 'package_name' to be a str")
|
44
|
+
pulumi.set(__self__, "package_name", package_name)
|
45
|
+
if project and not isinstance(project, str):
|
46
|
+
raise TypeError("Expected argument 'project' to be a str")
|
47
|
+
pulumi.set(__self__, "project", project)
|
48
|
+
if repository_id and not isinstance(repository_id, str):
|
49
|
+
raise TypeError("Expected argument 'repository_id' to be a str")
|
50
|
+
pulumi.set(__self__, "repository_id", repository_id)
|
51
|
+
if update_time and not isinstance(update_time, str):
|
52
|
+
raise TypeError("Expected argument 'update_time' to be a str")
|
53
|
+
pulumi.set(__self__, "update_time", update_time)
|
54
|
+
if version and not isinstance(version, str):
|
55
|
+
raise TypeError("Expected argument 'version' to be a str")
|
56
|
+
pulumi.set(__self__, "version", version)
|
57
|
+
|
58
|
+
@_builtins.property
|
59
|
+
@pulumi.getter(name="createTime")
|
60
|
+
def create_time(self) -> _builtins.str:
|
61
|
+
"""
|
62
|
+
The time the package was created.
|
63
|
+
"""
|
64
|
+
return pulumi.get(self, "create_time")
|
65
|
+
|
66
|
+
@_builtins.property
|
67
|
+
@pulumi.getter
|
68
|
+
def id(self) -> _builtins.str:
|
69
|
+
"""
|
70
|
+
The provider-assigned unique ID for this managed resource.
|
71
|
+
"""
|
72
|
+
return pulumi.get(self, "id")
|
73
|
+
|
74
|
+
@_builtins.property
|
75
|
+
@pulumi.getter
|
76
|
+
def location(self) -> _builtins.str:
|
77
|
+
return pulumi.get(self, "location")
|
78
|
+
|
79
|
+
@_builtins.property
|
80
|
+
@pulumi.getter
|
81
|
+
def name(self) -> _builtins.str:
|
82
|
+
"""
|
83
|
+
The fully qualified name of the fetched package. Format:
|
84
|
+
```
|
85
|
+
projects/{{project}}/locations/{{location}}/repositories/{{repository_id}}/pythonPackages/{{package}}:{{version}}
|
86
|
+
```
|
87
|
+
"""
|
88
|
+
return pulumi.get(self, "name")
|
89
|
+
|
90
|
+
@_builtins.property
|
91
|
+
@pulumi.getter(name="packageName")
|
92
|
+
def package_name(self) -> _builtins.str:
|
93
|
+
return pulumi.get(self, "package_name")
|
94
|
+
|
95
|
+
@_builtins.property
|
96
|
+
@pulumi.getter
|
97
|
+
def project(self) -> Optional[_builtins.str]:
|
98
|
+
return pulumi.get(self, "project")
|
99
|
+
|
100
|
+
@_builtins.property
|
101
|
+
@pulumi.getter(name="repositoryId")
|
102
|
+
def repository_id(self) -> _builtins.str:
|
103
|
+
return pulumi.get(self, "repository_id")
|
104
|
+
|
105
|
+
@_builtins.property
|
106
|
+
@pulumi.getter(name="updateTime")
|
107
|
+
def update_time(self) -> _builtins.str:
|
108
|
+
"""
|
109
|
+
The time the package was last updated.
|
110
|
+
"""
|
111
|
+
return pulumi.get(self, "update_time")
|
112
|
+
|
113
|
+
@_builtins.property
|
114
|
+
@pulumi.getter
|
115
|
+
def version(self) -> _builtins.str:
|
116
|
+
"""
|
117
|
+
The version of the Python package.
|
118
|
+
"""
|
119
|
+
return pulumi.get(self, "version")
|
120
|
+
|
121
|
+
|
122
|
+
class AwaitableGetPythonPackageResult(GetPythonPackageResult):
|
123
|
+
# pylint: disable=using-constant-test
|
124
|
+
def __await__(self):
|
125
|
+
if False:
|
126
|
+
yield self
|
127
|
+
return GetPythonPackageResult(
|
128
|
+
create_time=self.create_time,
|
129
|
+
id=self.id,
|
130
|
+
location=self.location,
|
131
|
+
name=self.name,
|
132
|
+
package_name=self.package_name,
|
133
|
+
project=self.project,
|
134
|
+
repository_id=self.repository_id,
|
135
|
+
update_time=self.update_time,
|
136
|
+
version=self.version)
|
137
|
+
|
138
|
+
|
139
|
+
def get_python_package(location: Optional[_builtins.str] = None,
|
140
|
+
package_name: Optional[_builtins.str] = None,
|
141
|
+
project: Optional[_builtins.str] = None,
|
142
|
+
repository_id: Optional[_builtins.str] = None,
|
143
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPythonPackageResult:
|
144
|
+
"""
|
145
|
+
This data source fetches information from a provided Artifact Registry repository, based on a the latest version of the package and optional version.
|
146
|
+
|
147
|
+
## Example Usage
|
148
|
+
|
149
|
+
```python
|
150
|
+
import pulumi
|
151
|
+
import pulumi_gcp as gcp
|
152
|
+
|
153
|
+
python_repo = gcp.artifactregistry.Repository("python_repo",
|
154
|
+
location="us-central1",
|
155
|
+
repository_id="my-python-repo",
|
156
|
+
format="PYTHON")
|
157
|
+
latest = gcp.artifactregistry.get_python_package_output(location=python_repo.location,
|
158
|
+
repository_id=python_repo.repository_id,
|
159
|
+
package_name="example_pkg")
|
160
|
+
with_version = gcp.artifactregistry.get_python_package_output(location=python_repo.location,
|
161
|
+
repository_id=python_repo.repository_id,
|
162
|
+
package_name="example_pkg:1.0.0")
|
163
|
+
```
|
164
|
+
|
165
|
+
|
166
|
+
:param _builtins.str location: The location of the Artifact Registry repository.
|
167
|
+
:param _builtins.str package_name: The name of the package to fetch. Can optionally include a specific version (e.g., `my_pkg:1.2.3`). If no version is provided, the latest version is used.
|
168
|
+
:param _builtins.str project: The ID of the project that owns the repository. If not provided, the provider-level project is used.
|
169
|
+
:param _builtins.str repository_id: The ID of the repository containing the Python package.
|
170
|
+
"""
|
171
|
+
__args__ = dict()
|
172
|
+
__args__['location'] = location
|
173
|
+
__args__['packageName'] = package_name
|
174
|
+
__args__['project'] = project
|
175
|
+
__args__['repositoryId'] = repository_id
|
176
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
177
|
+
__ret__ = pulumi.runtime.invoke('gcp:artifactregistry/getPythonPackage:getPythonPackage', __args__, opts=opts, typ=GetPythonPackageResult).value
|
178
|
+
|
179
|
+
return AwaitableGetPythonPackageResult(
|
180
|
+
create_time=pulumi.get(__ret__, 'create_time'),
|
181
|
+
id=pulumi.get(__ret__, 'id'),
|
182
|
+
location=pulumi.get(__ret__, 'location'),
|
183
|
+
name=pulumi.get(__ret__, 'name'),
|
184
|
+
package_name=pulumi.get(__ret__, 'package_name'),
|
185
|
+
project=pulumi.get(__ret__, 'project'),
|
186
|
+
repository_id=pulumi.get(__ret__, 'repository_id'),
|
187
|
+
update_time=pulumi.get(__ret__, 'update_time'),
|
188
|
+
version=pulumi.get(__ret__, 'version'))
|
189
|
+
def get_python_package_output(location: Optional[pulumi.Input[_builtins.str]] = None,
|
190
|
+
package_name: Optional[pulumi.Input[_builtins.str]] = None,
|
191
|
+
project: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
192
|
+
repository_id: Optional[pulumi.Input[_builtins.str]] = None,
|
193
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPythonPackageResult]:
|
194
|
+
"""
|
195
|
+
This data source fetches information from a provided Artifact Registry repository, based on a the latest version of the package and optional version.
|
196
|
+
|
197
|
+
## Example Usage
|
198
|
+
|
199
|
+
```python
|
200
|
+
import pulumi
|
201
|
+
import pulumi_gcp as gcp
|
202
|
+
|
203
|
+
python_repo = gcp.artifactregistry.Repository("python_repo",
|
204
|
+
location="us-central1",
|
205
|
+
repository_id="my-python-repo",
|
206
|
+
format="PYTHON")
|
207
|
+
latest = gcp.artifactregistry.get_python_package_output(location=python_repo.location,
|
208
|
+
repository_id=python_repo.repository_id,
|
209
|
+
package_name="example_pkg")
|
210
|
+
with_version = gcp.artifactregistry.get_python_package_output(location=python_repo.location,
|
211
|
+
repository_id=python_repo.repository_id,
|
212
|
+
package_name="example_pkg:1.0.0")
|
213
|
+
```
|
214
|
+
|
215
|
+
|
216
|
+
:param _builtins.str location: The location of the Artifact Registry repository.
|
217
|
+
:param _builtins.str package_name: The name of the package to fetch. Can optionally include a specific version (e.g., `my_pkg:1.2.3`). If no version is provided, the latest version is used.
|
218
|
+
:param _builtins.str project: The ID of the project that owns the repository. If not provided, the provider-level project is used.
|
219
|
+
:param _builtins.str repository_id: The ID of the repository containing the Python package.
|
220
|
+
"""
|
221
|
+
__args__ = dict()
|
222
|
+
__args__['location'] = location
|
223
|
+
__args__['packageName'] = package_name
|
224
|
+
__args__['project'] = project
|
225
|
+
__args__['repositoryId'] = repository_id
|
226
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
227
|
+
__ret__ = pulumi.runtime.invoke_output('gcp:artifactregistry/getPythonPackage:getPythonPackage', __args__, opts=opts, typ=GetPythonPackageResult)
|
228
|
+
return __ret__.apply(lambda __response__: GetPythonPackageResult(
|
229
|
+
create_time=pulumi.get(__response__, 'create_time'),
|
230
|
+
id=pulumi.get(__response__, 'id'),
|
231
|
+
location=pulumi.get(__response__, 'location'),
|
232
|
+
name=pulumi.get(__response__, 'name'),
|
233
|
+
package_name=pulumi.get(__response__, 'package_name'),
|
234
|
+
project=pulumi.get(__response__, 'project'),
|
235
|
+
repository_id=pulumi.get(__response__, 'repository_id'),
|
236
|
+
update_time=pulumi.get(__response__, 'update_time'),
|
237
|
+
version=pulumi.get(__response__, 'version')))
|