pulumi-gcp 8.40.0a1754721948__py3-none-any.whl → 8.40.0a1754951145__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 +128 -0
- pulumi_gcp/accesscontextmanager/_inputs.py +24 -4
- pulumi_gcp/accesscontextmanager/outputs.py +15 -3
- pulumi_gcp/apigee/__init__.py +2 -0
- pulumi_gcp/apigee/_inputs.py +1435 -0
- pulumi_gcp/apigee/api_product.py +1698 -0
- pulumi_gcp/apigee/outputs.py +1081 -0
- pulumi_gcp/apigee/security_action.py +1010 -0
- pulumi_gcp/artifactregistry/__init__.py +1 -0
- pulumi_gcp/artifactregistry/get_docker_images.py +164 -0
- pulumi_gcp/artifactregistry/outputs.py +109 -2
- pulumi_gcp/artifactregistry/repository.py +6 -6
- pulumi_gcp/backupdisasterrecovery/backup_vault.py +56 -0
- pulumi_gcp/backupdisasterrecovery/get_backup_vault.py +12 -1
- pulumi_gcp/bigquery/_inputs.py +6 -0
- pulumi_gcp/bigquery/get_table.py +23 -1
- pulumi_gcp/bigquery/outputs.py +4 -0
- pulumi_gcp/bigquery/table.py +62 -0
- pulumi_gcp/bigqueryanalyticshub/_inputs.py +180 -0
- pulumi_gcp/bigqueryanalyticshub/data_exchange.py +80 -0
- pulumi_gcp/bigqueryanalyticshub/listing.py +322 -2
- pulumi_gcp/bigqueryanalyticshub/listing_subscription.py +32 -0
- pulumi_gcp/bigqueryanalyticshub/outputs.py +159 -0
- pulumi_gcp/bigtable/__init__.py +1 -0
- pulumi_gcp/bigtable/_inputs.py +33 -0
- pulumi_gcp/bigtable/outputs.py +36 -0
- pulumi_gcp/bigtable/schema_bundle.py +568 -0
- pulumi_gcp/cloudfunctions/_inputs.py +48 -0
- pulumi_gcp/cloudfunctions/function.py +94 -0
- pulumi_gcp/cloudfunctions/get_function.py +23 -1
- pulumi_gcp/cloudfunctions/outputs.py +70 -0
- pulumi_gcp/cloudrunv2/_inputs.py +20 -0
- pulumi_gcp/cloudrunv2/job.py +2 -0
- pulumi_gcp/cloudrunv2/outputs.py +25 -0
- pulumi_gcp/cloudrunv2/worker_pool.py +2 -0
- pulumi_gcp/compute/__init__.py +1 -0
- pulumi_gcp/compute/_inputs.py +713 -22
- pulumi_gcp/compute/firewall_policy_with_rules.py +66 -0
- pulumi_gcp/compute/forwarding_rule.py +0 -21
- pulumi_gcp/compute/get_router.py +12 -1
- pulumi_gcp/compute/outputs.py +562 -22
- pulumi_gcp/compute/preview_feature.py +396 -0
- pulumi_gcp/compute/region_url_map.py +392 -0
- pulumi_gcp/compute/reservation.py +4 -4
- pulumi_gcp/compute/router.py +54 -0
- pulumi_gcp/compute/storage_pool.py +154 -0
- pulumi_gcp/compute/subnetwork.py +54 -0
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/container/_inputs.py +278 -8
- pulumi_gcp/container/cluster.py +61 -21
- pulumi_gcp/container/get_cluster.py +12 -1
- pulumi_gcp/container/outputs.py +352 -8
- pulumi_gcp/dataproc/_inputs.py +249 -14
- pulumi_gcp/dataproc/batch.py +6 -0
- pulumi_gcp/dataproc/cluster.py +2 -0
- pulumi_gcp/dataproc/outputs.py +215 -12
- pulumi_gcp/dataproc/session_template.py +14 -2
- pulumi_gcp/developerconnect/__init__.py +1 -0
- pulumi_gcp/developerconnect/_inputs.py +583 -0
- pulumi_gcp/developerconnect/insights_config.py +895 -0
- pulumi_gcp/developerconnect/outputs.py +442 -0
- pulumi_gcp/diagflow/__init__.py +1 -0
- pulumi_gcp/diagflow/_inputs.py +1165 -58
- pulumi_gcp/diagflow/cx_generator.py +636 -0
- pulumi_gcp/diagflow/cx_tool.py +2 -2
- pulumi_gcp/diagflow/cx_webhook.py +380 -36
- pulumi_gcp/diagflow/outputs.py +848 -25
- pulumi_gcp/discoveryengine/__init__.py +2 -0
- pulumi_gcp/discoveryengine/_inputs.py +465 -0
- pulumi_gcp/discoveryengine/cmek_config.py +707 -0
- pulumi_gcp/discoveryengine/outputs.py +412 -0
- pulumi_gcp/discoveryengine/recommendation_engine.py +813 -0
- pulumi_gcp/firestore/field.py +6 -6
- pulumi_gcp/gemini/gemini_gcp_enablement_setting.py +107 -9
- pulumi_gcp/gemini/gemini_gcp_enablement_setting_binding.py +2 -2
- pulumi_gcp/gkehub/membership_binding.py +6 -6
- pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
- pulumi_gcp/gkehub/namespace.py +4 -4
- pulumi_gcp/gkehub/scope_rbac_role_binding.py +8 -8
- pulumi_gcp/iam/__init__.py +4 -0
- pulumi_gcp/iam/_inputs.py +98 -0
- pulumi_gcp/iam/get_workforce_pool_iam_policy.py +161 -0
- pulumi_gcp/iam/outputs.py +56 -0
- pulumi_gcp/iam/workforce_pool_iam_binding.py +761 -0
- pulumi_gcp/iam/workforce_pool_iam_member.py +761 -0
- pulumi_gcp/iam/workforce_pool_iam_policy.py +600 -0
- pulumi_gcp/iap/tunnel_dest_group.py +2 -2
- pulumi_gcp/integrationconnectors/managed_zone.py +8 -8
- pulumi_gcp/looker/instance.py +28 -7
- pulumi_gcp/managedkafka/_inputs.py +127 -0
- pulumi_gcp/managedkafka/cluster.py +131 -1
- pulumi_gcp/managedkafka/connect_cluster.py +4 -4
- pulumi_gcp/managedkafka/connector.py +4 -4
- pulumi_gcp/managedkafka/outputs.py +128 -0
- pulumi_gcp/memorystore/instance.py +8 -12
- pulumi_gcp/modelarmor/__init__.py +1 -0
- pulumi_gcp/modelarmor/_inputs.py +683 -0
- pulumi_gcp/modelarmor/floorsetting.py +736 -0
- pulumi_gcp/modelarmor/outputs.py +618 -0
- pulumi_gcp/networkconnectivity/_inputs.py +60 -0
- pulumi_gcp/networkconnectivity/internal_range.py +136 -0
- pulumi_gcp/networkconnectivity/outputs.py +55 -0
- pulumi_gcp/networkconnectivity/spoke.py +14 -14
- pulumi_gcp/oracledatabase/__init__.py +2 -0
- pulumi_gcp/oracledatabase/autonomous_database.py +262 -38
- pulumi_gcp/oracledatabase/cloud_vm_cluster.py +314 -50
- pulumi_gcp/oracledatabase/get_autonomous_database.py +23 -1
- pulumi_gcp/oracledatabase/get_cloud_vm_cluster.py +34 -1
- pulumi_gcp/oracledatabase/odb_network.py +721 -0
- pulumi_gcp/oracledatabase/odb_subnet.py +803 -0
- pulumi_gcp/oracledatabase/outputs.py +83 -0
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/parametermanager/parameter_version.py +62 -0
- pulumi_gcp/parametermanager/regional_parameter_version.py +64 -0
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pubsub/subscription.py +46 -6
- pulumi_gcp/pubsub/topic.py +36 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/cluster.py +70 -0
- pulumi_gcp/redis/get_cluster.py +12 -1
- pulumi_gcp/redis/instance.py +8 -12
- pulumi_gcp/secretmanager/get_regional_secret.py +12 -1
- pulumi_gcp/secretmanager/get_secret.py +12 -1
- pulumi_gcp/secretmanager/outputs.py +30 -0
- pulumi_gcp/secretmanager/regional_secret.py +61 -0
- pulumi_gcp/secretmanager/secret.py +61 -0
- pulumi_gcp/securesourcemanager/branch_rule.py +16 -8
- pulumi_gcp/securesourcemanager/instance.py +112 -4
- pulumi_gcp/securesourcemanager/repository.py +112 -8
- pulumi_gcp/serviceaccount/get_account_key.py +1 -0
- pulumi_gcp/sql/_inputs.py +6 -6
- pulumi_gcp/sql/database.py +0 -12
- pulumi_gcp/sql/outputs.py +4 -4
- pulumi_gcp/storage/__init__.py +2 -0
- pulumi_gcp/storage/_inputs.py +451 -0
- pulumi_gcp/storage/bucket.py +7 -7
- pulumi_gcp/storage/bucket_object.py +34 -0
- pulumi_gcp/storage/get_bucket_object.py +12 -1
- pulumi_gcp/storage/get_bucket_object_content.py +12 -1
- pulumi_gcp/storage/get_insights_dataset_config.py +363 -0
- pulumi_gcp/storage/insights_dataset_config.py +1280 -0
- pulumi_gcp/storage/outputs.py +619 -0
- pulumi_gcp/vertex/__init__.py +1 -0
- pulumi_gcp/vertex/_inputs.py +3646 -3
- pulumi_gcp/vertex/ai_endpoint.py +4 -4
- pulumi_gcp/vertex/ai_endpoint_with_model_garden_deployment.py +940 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
- pulumi_gcp/vertex/outputs.py +2609 -2
- pulumi_gcp/vmwareengine/network_peering.py +7 -7
- pulumi_gcp/workbench/_inputs.py +118 -0
- pulumi_gcp/workbench/instance.py +171 -2
- pulumi_gcp/workbench/outputs.py +91 -0
- {pulumi_gcp-8.40.0a1754721948.dist-info → pulumi_gcp-8.40.0a1754951145.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.40.0a1754721948.dist-info → pulumi_gcp-8.40.0a1754951145.dist-info}/RECORD +157 -138
- {pulumi_gcp-8.40.0a1754721948.dist-info → pulumi_gcp-8.40.0a1754951145.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.40.0a1754721948.dist-info → pulumi_gcp-8.40.0a1754951145.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,895 @@
|
|
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
|
+
from . import outputs
|
17
|
+
from ._inputs import *
|
18
|
+
|
19
|
+
__all__ = ['InsightsConfigArgs', 'InsightsConfig']
|
20
|
+
|
21
|
+
@pulumi.input_type
|
22
|
+
class InsightsConfigArgs:
|
23
|
+
def __init__(__self__, *,
|
24
|
+
app_hub_application: pulumi.Input[_builtins.str],
|
25
|
+
insights_config_id: pulumi.Input[_builtins.str],
|
26
|
+
location: pulumi.Input[_builtins.str],
|
27
|
+
annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
28
|
+
artifact_configs: Optional[pulumi.Input[Sequence[pulumi.Input['InsightsConfigArtifactConfigArgs']]]] = None,
|
29
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
30
|
+
project: Optional[pulumi.Input[_builtins.str]] = None):
|
31
|
+
"""
|
32
|
+
The set of arguments for constructing a InsightsConfig resource.
|
33
|
+
:param pulumi.Input[_builtins.str] app_hub_application: The name of the App Hub Application.
|
34
|
+
Format:
|
35
|
+
projects/{project}/locations/{location}/applications/{application}
|
36
|
+
:param pulumi.Input[_builtins.str] insights_config_id: ID of the requesting InsightsConfig.
|
37
|
+
:param pulumi.Input[_builtins.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.
|
38
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] annotations: User specified annotations. See https://google.aip.dev/148#annotations
|
39
|
+
for more details such as format and size limitations.
|
40
|
+
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
41
|
+
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
42
|
+
:param pulumi.Input[Sequence[pulumi.Input['InsightsConfigArtifactConfigArgs']]] artifact_configs: The artifact configurations of the artifacts that are deployed.
|
43
|
+
Structure is documented below.
|
44
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Set of labels associated with an InsightsConfig.
|
45
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
46
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
47
|
+
:param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
|
48
|
+
If it is not provided, the provider project is used.
|
49
|
+
"""
|
50
|
+
pulumi.set(__self__, "app_hub_application", app_hub_application)
|
51
|
+
pulumi.set(__self__, "insights_config_id", insights_config_id)
|
52
|
+
pulumi.set(__self__, "location", location)
|
53
|
+
if annotations is not None:
|
54
|
+
pulumi.set(__self__, "annotations", annotations)
|
55
|
+
if artifact_configs is not None:
|
56
|
+
pulumi.set(__self__, "artifact_configs", artifact_configs)
|
57
|
+
if labels is not None:
|
58
|
+
pulumi.set(__self__, "labels", labels)
|
59
|
+
if project is not None:
|
60
|
+
pulumi.set(__self__, "project", project)
|
61
|
+
|
62
|
+
@_builtins.property
|
63
|
+
@pulumi.getter(name="appHubApplication")
|
64
|
+
def app_hub_application(self) -> pulumi.Input[_builtins.str]:
|
65
|
+
"""
|
66
|
+
The name of the App Hub Application.
|
67
|
+
Format:
|
68
|
+
projects/{project}/locations/{location}/applications/{application}
|
69
|
+
"""
|
70
|
+
return pulumi.get(self, "app_hub_application")
|
71
|
+
|
72
|
+
@app_hub_application.setter
|
73
|
+
def app_hub_application(self, value: pulumi.Input[_builtins.str]):
|
74
|
+
pulumi.set(self, "app_hub_application", value)
|
75
|
+
|
76
|
+
@_builtins.property
|
77
|
+
@pulumi.getter(name="insightsConfigId")
|
78
|
+
def insights_config_id(self) -> pulumi.Input[_builtins.str]:
|
79
|
+
"""
|
80
|
+
ID of the requesting InsightsConfig.
|
81
|
+
"""
|
82
|
+
return pulumi.get(self, "insights_config_id")
|
83
|
+
|
84
|
+
@insights_config_id.setter
|
85
|
+
def insights_config_id(self, value: pulumi.Input[_builtins.str]):
|
86
|
+
pulumi.set(self, "insights_config_id", value)
|
87
|
+
|
88
|
+
@_builtins.property
|
89
|
+
@pulumi.getter
|
90
|
+
def location(self) -> pulumi.Input[_builtins.str]:
|
91
|
+
"""
|
92
|
+
Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
|
93
|
+
"""
|
94
|
+
return pulumi.get(self, "location")
|
95
|
+
|
96
|
+
@location.setter
|
97
|
+
def location(self, value: pulumi.Input[_builtins.str]):
|
98
|
+
pulumi.set(self, "location", value)
|
99
|
+
|
100
|
+
@_builtins.property
|
101
|
+
@pulumi.getter
|
102
|
+
def annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
103
|
+
"""
|
104
|
+
User specified annotations. See https://google.aip.dev/148#annotations
|
105
|
+
for more details such as format and size limitations.
|
106
|
+
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
107
|
+
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
108
|
+
"""
|
109
|
+
return pulumi.get(self, "annotations")
|
110
|
+
|
111
|
+
@annotations.setter
|
112
|
+
def annotations(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
113
|
+
pulumi.set(self, "annotations", value)
|
114
|
+
|
115
|
+
@_builtins.property
|
116
|
+
@pulumi.getter(name="artifactConfigs")
|
117
|
+
def artifact_configs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InsightsConfigArtifactConfigArgs']]]]:
|
118
|
+
"""
|
119
|
+
The artifact configurations of the artifacts that are deployed.
|
120
|
+
Structure is documented below.
|
121
|
+
"""
|
122
|
+
return pulumi.get(self, "artifact_configs")
|
123
|
+
|
124
|
+
@artifact_configs.setter
|
125
|
+
def artifact_configs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InsightsConfigArtifactConfigArgs']]]]):
|
126
|
+
pulumi.set(self, "artifact_configs", value)
|
127
|
+
|
128
|
+
@_builtins.property
|
129
|
+
@pulumi.getter
|
130
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
131
|
+
"""
|
132
|
+
Set of labels associated with an InsightsConfig.
|
133
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
134
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
135
|
+
"""
|
136
|
+
return pulumi.get(self, "labels")
|
137
|
+
|
138
|
+
@labels.setter
|
139
|
+
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
140
|
+
pulumi.set(self, "labels", value)
|
141
|
+
|
142
|
+
@_builtins.property
|
143
|
+
@pulumi.getter
|
144
|
+
def project(self) -> Optional[pulumi.Input[_builtins.str]]:
|
145
|
+
"""
|
146
|
+
The ID of the project in which the resource belongs.
|
147
|
+
If it is not provided, the provider project is used.
|
148
|
+
"""
|
149
|
+
return pulumi.get(self, "project")
|
150
|
+
|
151
|
+
@project.setter
|
152
|
+
def project(self, value: Optional[pulumi.Input[_builtins.str]]):
|
153
|
+
pulumi.set(self, "project", value)
|
154
|
+
|
155
|
+
|
156
|
+
@pulumi.input_type
|
157
|
+
class _InsightsConfigState:
|
158
|
+
def __init__(__self__, *,
|
159
|
+
annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
160
|
+
app_hub_application: Optional[pulumi.Input[_builtins.str]] = None,
|
161
|
+
artifact_configs: Optional[pulumi.Input[Sequence[pulumi.Input['InsightsConfigArtifactConfigArgs']]]] = None,
|
162
|
+
create_time: Optional[pulumi.Input[_builtins.str]] = None,
|
163
|
+
effective_annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
164
|
+
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
165
|
+
errors: Optional[pulumi.Input[Sequence[pulumi.Input['InsightsConfigErrorArgs']]]] = None,
|
166
|
+
insights_config_id: Optional[pulumi.Input[_builtins.str]] = None,
|
167
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
168
|
+
location: Optional[pulumi.Input[_builtins.str]] = None,
|
169
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
170
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
171
|
+
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
172
|
+
reconciling: Optional[pulumi.Input[_builtins.bool]] = None,
|
173
|
+
runtime_configs: Optional[pulumi.Input[Sequence[pulumi.Input['InsightsConfigRuntimeConfigArgs']]]] = None,
|
174
|
+
state: Optional[pulumi.Input[_builtins.str]] = None,
|
175
|
+
update_time: Optional[pulumi.Input[_builtins.str]] = None):
|
176
|
+
"""
|
177
|
+
Input properties used for looking up and filtering InsightsConfig resources.
|
178
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] annotations: User specified annotations. See https://google.aip.dev/148#annotations
|
179
|
+
for more details such as format and size limitations.
|
180
|
+
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
181
|
+
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
182
|
+
:param pulumi.Input[_builtins.str] app_hub_application: The name of the App Hub Application.
|
183
|
+
Format:
|
184
|
+
projects/{project}/locations/{location}/applications/{application}
|
185
|
+
:param pulumi.Input[Sequence[pulumi.Input['InsightsConfigArtifactConfigArgs']]] artifact_configs: The artifact configurations of the artifacts that are deployed.
|
186
|
+
Structure is documented below.
|
187
|
+
:param pulumi.Input[_builtins.str] create_time: [Output only] Create timestamp
|
188
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
189
|
+
:param pulumi.Input[Sequence[pulumi.Input['InsightsConfigErrorArgs']]] errors: Any errors that occurred while setting up the InsightsConfig.
|
190
|
+
Each error will be in the format: `field_name: error_message`, e.g.
|
191
|
+
GetAppHubApplication: Permission denied while getting App Hub
|
192
|
+
application. Please grant permissions to the P4SA.
|
193
|
+
Structure is documented below.
|
194
|
+
:param pulumi.Input[_builtins.str] insights_config_id: ID of the requesting InsightsConfig.
|
195
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Set of labels associated with an InsightsConfig.
|
196
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
197
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
198
|
+
:param pulumi.Input[_builtins.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.
|
199
|
+
:param pulumi.Input[_builtins.str] name: Identifier. The name of the InsightsConfig.
|
200
|
+
Format:
|
201
|
+
projects/{project}/locations/{location}/insightsConfigs/{insightsConfig}
|
202
|
+
:param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
|
203
|
+
If it is not provided, the provider project is used.
|
204
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] pulumi_labels: The combination of labels configured directly on the resource
|
205
|
+
and default labels configured on the provider.
|
206
|
+
:param pulumi.Input[_builtins.bool] reconciling: Reconciling (https://google.aip.dev/128#reconciliation).
|
207
|
+
Set to true if the current state of InsightsConfig does not match the
|
208
|
+
user's intended state, and the service is actively updating the resource to
|
209
|
+
reconcile them. This can happen due to user-triggered updates or
|
210
|
+
system actions like failover or maintenance.
|
211
|
+
:param pulumi.Input[Sequence[pulumi.Input['InsightsConfigRuntimeConfigArgs']]] runtime_configs: The runtime configurations where the application is deployed.
|
212
|
+
Structure is documented below.
|
213
|
+
:param pulumi.Input[_builtins.str] state: (Output)
|
214
|
+
The state of the Runtime.
|
215
|
+
Possible values:
|
216
|
+
STATE_UNSPECIFIED
|
217
|
+
LINKED
|
218
|
+
UNLINKED
|
219
|
+
:param pulumi.Input[_builtins.str] update_time: [Output only] Update timestamp
|
220
|
+
"""
|
221
|
+
if annotations is not None:
|
222
|
+
pulumi.set(__self__, "annotations", annotations)
|
223
|
+
if app_hub_application is not None:
|
224
|
+
pulumi.set(__self__, "app_hub_application", app_hub_application)
|
225
|
+
if artifact_configs is not None:
|
226
|
+
pulumi.set(__self__, "artifact_configs", artifact_configs)
|
227
|
+
if create_time is not None:
|
228
|
+
pulumi.set(__self__, "create_time", create_time)
|
229
|
+
if effective_annotations is not None:
|
230
|
+
pulumi.set(__self__, "effective_annotations", effective_annotations)
|
231
|
+
if effective_labels is not None:
|
232
|
+
pulumi.set(__self__, "effective_labels", effective_labels)
|
233
|
+
if errors is not None:
|
234
|
+
pulumi.set(__self__, "errors", errors)
|
235
|
+
if insights_config_id is not None:
|
236
|
+
pulumi.set(__self__, "insights_config_id", insights_config_id)
|
237
|
+
if labels is not None:
|
238
|
+
pulumi.set(__self__, "labels", labels)
|
239
|
+
if location is not None:
|
240
|
+
pulumi.set(__self__, "location", location)
|
241
|
+
if name is not None:
|
242
|
+
pulumi.set(__self__, "name", name)
|
243
|
+
if project is not None:
|
244
|
+
pulumi.set(__self__, "project", project)
|
245
|
+
if pulumi_labels is not None:
|
246
|
+
pulumi.set(__self__, "pulumi_labels", pulumi_labels)
|
247
|
+
if reconciling is not None:
|
248
|
+
pulumi.set(__self__, "reconciling", reconciling)
|
249
|
+
if runtime_configs is not None:
|
250
|
+
pulumi.set(__self__, "runtime_configs", runtime_configs)
|
251
|
+
if state is not None:
|
252
|
+
pulumi.set(__self__, "state", state)
|
253
|
+
if update_time is not None:
|
254
|
+
pulumi.set(__self__, "update_time", update_time)
|
255
|
+
|
256
|
+
@_builtins.property
|
257
|
+
@pulumi.getter
|
258
|
+
def annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
259
|
+
"""
|
260
|
+
User specified annotations. See https://google.aip.dev/148#annotations
|
261
|
+
for more details such as format and size limitations.
|
262
|
+
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
263
|
+
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
264
|
+
"""
|
265
|
+
return pulumi.get(self, "annotations")
|
266
|
+
|
267
|
+
@annotations.setter
|
268
|
+
def annotations(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
269
|
+
pulumi.set(self, "annotations", value)
|
270
|
+
|
271
|
+
@_builtins.property
|
272
|
+
@pulumi.getter(name="appHubApplication")
|
273
|
+
def app_hub_application(self) -> Optional[pulumi.Input[_builtins.str]]:
|
274
|
+
"""
|
275
|
+
The name of the App Hub Application.
|
276
|
+
Format:
|
277
|
+
projects/{project}/locations/{location}/applications/{application}
|
278
|
+
"""
|
279
|
+
return pulumi.get(self, "app_hub_application")
|
280
|
+
|
281
|
+
@app_hub_application.setter
|
282
|
+
def app_hub_application(self, value: Optional[pulumi.Input[_builtins.str]]):
|
283
|
+
pulumi.set(self, "app_hub_application", value)
|
284
|
+
|
285
|
+
@_builtins.property
|
286
|
+
@pulumi.getter(name="artifactConfigs")
|
287
|
+
def artifact_configs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InsightsConfigArtifactConfigArgs']]]]:
|
288
|
+
"""
|
289
|
+
The artifact configurations of the artifacts that are deployed.
|
290
|
+
Structure is documented below.
|
291
|
+
"""
|
292
|
+
return pulumi.get(self, "artifact_configs")
|
293
|
+
|
294
|
+
@artifact_configs.setter
|
295
|
+
def artifact_configs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InsightsConfigArtifactConfigArgs']]]]):
|
296
|
+
pulumi.set(self, "artifact_configs", value)
|
297
|
+
|
298
|
+
@_builtins.property
|
299
|
+
@pulumi.getter(name="createTime")
|
300
|
+
def create_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
301
|
+
"""
|
302
|
+
[Output only] Create timestamp
|
303
|
+
"""
|
304
|
+
return pulumi.get(self, "create_time")
|
305
|
+
|
306
|
+
@create_time.setter
|
307
|
+
def create_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
308
|
+
pulumi.set(self, "create_time", value)
|
309
|
+
|
310
|
+
@_builtins.property
|
311
|
+
@pulumi.getter(name="effectiveAnnotations")
|
312
|
+
def effective_annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
313
|
+
return pulumi.get(self, "effective_annotations")
|
314
|
+
|
315
|
+
@effective_annotations.setter
|
316
|
+
def effective_annotations(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
317
|
+
pulumi.set(self, "effective_annotations", value)
|
318
|
+
|
319
|
+
@_builtins.property
|
320
|
+
@pulumi.getter(name="effectiveLabels")
|
321
|
+
def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
322
|
+
"""
|
323
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
324
|
+
"""
|
325
|
+
return pulumi.get(self, "effective_labels")
|
326
|
+
|
327
|
+
@effective_labels.setter
|
328
|
+
def effective_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
329
|
+
pulumi.set(self, "effective_labels", value)
|
330
|
+
|
331
|
+
@_builtins.property
|
332
|
+
@pulumi.getter
|
333
|
+
def errors(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InsightsConfigErrorArgs']]]]:
|
334
|
+
"""
|
335
|
+
Any errors that occurred while setting up the InsightsConfig.
|
336
|
+
Each error will be in the format: `field_name: error_message`, e.g.
|
337
|
+
GetAppHubApplication: Permission denied while getting App Hub
|
338
|
+
application. Please grant permissions to the P4SA.
|
339
|
+
Structure is documented below.
|
340
|
+
"""
|
341
|
+
return pulumi.get(self, "errors")
|
342
|
+
|
343
|
+
@errors.setter
|
344
|
+
def errors(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InsightsConfigErrorArgs']]]]):
|
345
|
+
pulumi.set(self, "errors", value)
|
346
|
+
|
347
|
+
@_builtins.property
|
348
|
+
@pulumi.getter(name="insightsConfigId")
|
349
|
+
def insights_config_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
350
|
+
"""
|
351
|
+
ID of the requesting InsightsConfig.
|
352
|
+
"""
|
353
|
+
return pulumi.get(self, "insights_config_id")
|
354
|
+
|
355
|
+
@insights_config_id.setter
|
356
|
+
def insights_config_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
357
|
+
pulumi.set(self, "insights_config_id", value)
|
358
|
+
|
359
|
+
@_builtins.property
|
360
|
+
@pulumi.getter
|
361
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
362
|
+
"""
|
363
|
+
Set of labels associated with an InsightsConfig.
|
364
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
365
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
366
|
+
"""
|
367
|
+
return pulumi.get(self, "labels")
|
368
|
+
|
369
|
+
@labels.setter
|
370
|
+
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
371
|
+
pulumi.set(self, "labels", value)
|
372
|
+
|
373
|
+
@_builtins.property
|
374
|
+
@pulumi.getter
|
375
|
+
def location(self) -> Optional[pulumi.Input[_builtins.str]]:
|
376
|
+
"""
|
377
|
+
Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
|
378
|
+
"""
|
379
|
+
return pulumi.get(self, "location")
|
380
|
+
|
381
|
+
@location.setter
|
382
|
+
def location(self, value: Optional[pulumi.Input[_builtins.str]]):
|
383
|
+
pulumi.set(self, "location", value)
|
384
|
+
|
385
|
+
@_builtins.property
|
386
|
+
@pulumi.getter
|
387
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
388
|
+
"""
|
389
|
+
Identifier. The name of the InsightsConfig.
|
390
|
+
Format:
|
391
|
+
projects/{project}/locations/{location}/insightsConfigs/{insightsConfig}
|
392
|
+
"""
|
393
|
+
return pulumi.get(self, "name")
|
394
|
+
|
395
|
+
@name.setter
|
396
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
397
|
+
pulumi.set(self, "name", value)
|
398
|
+
|
399
|
+
@_builtins.property
|
400
|
+
@pulumi.getter
|
401
|
+
def project(self) -> Optional[pulumi.Input[_builtins.str]]:
|
402
|
+
"""
|
403
|
+
The ID of the project in which the resource belongs.
|
404
|
+
If it is not provided, the provider project is used.
|
405
|
+
"""
|
406
|
+
return pulumi.get(self, "project")
|
407
|
+
|
408
|
+
@project.setter
|
409
|
+
def project(self, value: Optional[pulumi.Input[_builtins.str]]):
|
410
|
+
pulumi.set(self, "project", value)
|
411
|
+
|
412
|
+
@_builtins.property
|
413
|
+
@pulumi.getter(name="pulumiLabels")
|
414
|
+
def pulumi_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]:
|
415
|
+
"""
|
416
|
+
The combination of labels configured directly on the resource
|
417
|
+
and default labels configured on the provider.
|
418
|
+
"""
|
419
|
+
return pulumi.get(self, "pulumi_labels")
|
420
|
+
|
421
|
+
@pulumi_labels.setter
|
422
|
+
def pulumi_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]]):
|
423
|
+
pulumi.set(self, "pulumi_labels", value)
|
424
|
+
|
425
|
+
@_builtins.property
|
426
|
+
@pulumi.getter
|
427
|
+
def reconciling(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
428
|
+
"""
|
429
|
+
Reconciling (https://google.aip.dev/128#reconciliation).
|
430
|
+
Set to true if the current state of InsightsConfig does not match the
|
431
|
+
user's intended state, and the service is actively updating the resource to
|
432
|
+
reconcile them. This can happen due to user-triggered updates or
|
433
|
+
system actions like failover or maintenance.
|
434
|
+
"""
|
435
|
+
return pulumi.get(self, "reconciling")
|
436
|
+
|
437
|
+
@reconciling.setter
|
438
|
+
def reconciling(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
439
|
+
pulumi.set(self, "reconciling", value)
|
440
|
+
|
441
|
+
@_builtins.property
|
442
|
+
@pulumi.getter(name="runtimeConfigs")
|
443
|
+
def runtime_configs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InsightsConfigRuntimeConfigArgs']]]]:
|
444
|
+
"""
|
445
|
+
The runtime configurations where the application is deployed.
|
446
|
+
Structure is documented below.
|
447
|
+
"""
|
448
|
+
return pulumi.get(self, "runtime_configs")
|
449
|
+
|
450
|
+
@runtime_configs.setter
|
451
|
+
def runtime_configs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InsightsConfigRuntimeConfigArgs']]]]):
|
452
|
+
pulumi.set(self, "runtime_configs", value)
|
453
|
+
|
454
|
+
@_builtins.property
|
455
|
+
@pulumi.getter
|
456
|
+
def state(self) -> Optional[pulumi.Input[_builtins.str]]:
|
457
|
+
"""
|
458
|
+
(Output)
|
459
|
+
The state of the Runtime.
|
460
|
+
Possible values:
|
461
|
+
STATE_UNSPECIFIED
|
462
|
+
LINKED
|
463
|
+
UNLINKED
|
464
|
+
"""
|
465
|
+
return pulumi.get(self, "state")
|
466
|
+
|
467
|
+
@state.setter
|
468
|
+
def state(self, value: Optional[pulumi.Input[_builtins.str]]):
|
469
|
+
pulumi.set(self, "state", value)
|
470
|
+
|
471
|
+
@_builtins.property
|
472
|
+
@pulumi.getter(name="updateTime")
|
473
|
+
def update_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
474
|
+
"""
|
475
|
+
[Output only] Update timestamp
|
476
|
+
"""
|
477
|
+
return pulumi.get(self, "update_time")
|
478
|
+
|
479
|
+
@update_time.setter
|
480
|
+
def update_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
481
|
+
pulumi.set(self, "update_time", value)
|
482
|
+
|
483
|
+
|
484
|
+
@pulumi.type_token("gcp:developerconnect/insightsConfig:InsightsConfig")
|
485
|
+
class InsightsConfig(pulumi.CustomResource):
|
486
|
+
@overload
|
487
|
+
def __init__(__self__,
|
488
|
+
resource_name: str,
|
489
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
490
|
+
annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
491
|
+
app_hub_application: Optional[pulumi.Input[_builtins.str]] = None,
|
492
|
+
artifact_configs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InsightsConfigArtifactConfigArgs', 'InsightsConfigArtifactConfigArgsDict']]]]] = None,
|
493
|
+
insights_config_id: Optional[pulumi.Input[_builtins.str]] = None,
|
494
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
495
|
+
location: Optional[pulumi.Input[_builtins.str]] = None,
|
496
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
497
|
+
__props__=None):
|
498
|
+
"""
|
499
|
+
Description
|
500
|
+
|
501
|
+
## Example Usage
|
502
|
+
|
503
|
+
## Import
|
504
|
+
|
505
|
+
InsightsConfig can be imported using any of these accepted formats:
|
506
|
+
|
507
|
+
* `projects/{{project}}/locations/{{location}}/insightsConfigs/{{insights_config_id}}`
|
508
|
+
|
509
|
+
* `{{project}}/{{location}}/{{insights_config_id}}`
|
510
|
+
|
511
|
+
* `{{location}}/{{insights_config_id}}`
|
512
|
+
|
513
|
+
When using the `pulumi import` command, InsightsConfig can be imported using one of the formats above. For example:
|
514
|
+
|
515
|
+
```sh
|
516
|
+
$ pulumi import gcp:developerconnect/insightsConfig:InsightsConfig default projects/{{project}}/locations/{{location}}/insightsConfigs/{{insights_config_id}}
|
517
|
+
```
|
518
|
+
|
519
|
+
```sh
|
520
|
+
$ pulumi import gcp:developerconnect/insightsConfig:InsightsConfig default {{project}}/{{location}}/{{insights_config_id}}
|
521
|
+
```
|
522
|
+
|
523
|
+
```sh
|
524
|
+
$ pulumi import gcp:developerconnect/insightsConfig:InsightsConfig default {{location}}/{{insights_config_id}}
|
525
|
+
```
|
526
|
+
|
527
|
+
:param str resource_name: The name of the resource.
|
528
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
529
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] annotations: User specified annotations. See https://google.aip.dev/148#annotations
|
530
|
+
for more details such as format and size limitations.
|
531
|
+
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
532
|
+
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
533
|
+
:param pulumi.Input[_builtins.str] app_hub_application: The name of the App Hub Application.
|
534
|
+
Format:
|
535
|
+
projects/{project}/locations/{location}/applications/{application}
|
536
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['InsightsConfigArtifactConfigArgs', 'InsightsConfigArtifactConfigArgsDict']]]] artifact_configs: The artifact configurations of the artifacts that are deployed.
|
537
|
+
Structure is documented below.
|
538
|
+
:param pulumi.Input[_builtins.str] insights_config_id: ID of the requesting InsightsConfig.
|
539
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Set of labels associated with an InsightsConfig.
|
540
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
541
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
542
|
+
:param pulumi.Input[_builtins.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.
|
543
|
+
:param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
|
544
|
+
If it is not provided, the provider project is used.
|
545
|
+
"""
|
546
|
+
...
|
547
|
+
@overload
|
548
|
+
def __init__(__self__,
|
549
|
+
resource_name: str,
|
550
|
+
args: InsightsConfigArgs,
|
551
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
552
|
+
"""
|
553
|
+
Description
|
554
|
+
|
555
|
+
## Example Usage
|
556
|
+
|
557
|
+
## Import
|
558
|
+
|
559
|
+
InsightsConfig can be imported using any of these accepted formats:
|
560
|
+
|
561
|
+
* `projects/{{project}}/locations/{{location}}/insightsConfigs/{{insights_config_id}}`
|
562
|
+
|
563
|
+
* `{{project}}/{{location}}/{{insights_config_id}}`
|
564
|
+
|
565
|
+
* `{{location}}/{{insights_config_id}}`
|
566
|
+
|
567
|
+
When using the `pulumi import` command, InsightsConfig can be imported using one of the formats above. For example:
|
568
|
+
|
569
|
+
```sh
|
570
|
+
$ pulumi import gcp:developerconnect/insightsConfig:InsightsConfig default projects/{{project}}/locations/{{location}}/insightsConfigs/{{insights_config_id}}
|
571
|
+
```
|
572
|
+
|
573
|
+
```sh
|
574
|
+
$ pulumi import gcp:developerconnect/insightsConfig:InsightsConfig default {{project}}/{{location}}/{{insights_config_id}}
|
575
|
+
```
|
576
|
+
|
577
|
+
```sh
|
578
|
+
$ pulumi import gcp:developerconnect/insightsConfig:InsightsConfig default {{location}}/{{insights_config_id}}
|
579
|
+
```
|
580
|
+
|
581
|
+
:param str resource_name: The name of the resource.
|
582
|
+
:param InsightsConfigArgs args: The arguments to use to populate this resource's properties.
|
583
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
584
|
+
"""
|
585
|
+
...
|
586
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
587
|
+
resource_args, opts = _utilities.get_resource_args_opts(InsightsConfigArgs, pulumi.ResourceOptions, *args, **kwargs)
|
588
|
+
if resource_args is not None:
|
589
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
590
|
+
else:
|
591
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
592
|
+
|
593
|
+
def _internal_init(__self__,
|
594
|
+
resource_name: str,
|
595
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
596
|
+
annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
597
|
+
app_hub_application: Optional[pulumi.Input[_builtins.str]] = None,
|
598
|
+
artifact_configs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InsightsConfigArtifactConfigArgs', 'InsightsConfigArtifactConfigArgsDict']]]]] = None,
|
599
|
+
insights_config_id: Optional[pulumi.Input[_builtins.str]] = None,
|
600
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
601
|
+
location: Optional[pulumi.Input[_builtins.str]] = None,
|
602
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
603
|
+
__props__=None):
|
604
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
605
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
606
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
607
|
+
if opts.id is None:
|
608
|
+
if __props__ is not None:
|
609
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
610
|
+
__props__ = InsightsConfigArgs.__new__(InsightsConfigArgs)
|
611
|
+
|
612
|
+
__props__.__dict__["annotations"] = annotations
|
613
|
+
if app_hub_application is None and not opts.urn:
|
614
|
+
raise TypeError("Missing required property 'app_hub_application'")
|
615
|
+
__props__.__dict__["app_hub_application"] = app_hub_application
|
616
|
+
__props__.__dict__["artifact_configs"] = artifact_configs
|
617
|
+
if insights_config_id is None and not opts.urn:
|
618
|
+
raise TypeError("Missing required property 'insights_config_id'")
|
619
|
+
__props__.__dict__["insights_config_id"] = insights_config_id
|
620
|
+
__props__.__dict__["labels"] = labels
|
621
|
+
if location is None and not opts.urn:
|
622
|
+
raise TypeError("Missing required property 'location'")
|
623
|
+
__props__.__dict__["location"] = location
|
624
|
+
__props__.__dict__["project"] = project
|
625
|
+
__props__.__dict__["create_time"] = None
|
626
|
+
__props__.__dict__["effective_annotations"] = None
|
627
|
+
__props__.__dict__["effective_labels"] = None
|
628
|
+
__props__.__dict__["errors"] = None
|
629
|
+
__props__.__dict__["name"] = None
|
630
|
+
__props__.__dict__["pulumi_labels"] = None
|
631
|
+
__props__.__dict__["reconciling"] = None
|
632
|
+
__props__.__dict__["runtime_configs"] = None
|
633
|
+
__props__.__dict__["state"] = None
|
634
|
+
__props__.__dict__["update_time"] = None
|
635
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["effectiveLabels", "pulumiLabels"])
|
636
|
+
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
637
|
+
super(InsightsConfig, __self__).__init__(
|
638
|
+
'gcp:developerconnect/insightsConfig:InsightsConfig',
|
639
|
+
resource_name,
|
640
|
+
__props__,
|
641
|
+
opts)
|
642
|
+
|
643
|
+
@staticmethod
|
644
|
+
def get(resource_name: str,
|
645
|
+
id: pulumi.Input[str],
|
646
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
647
|
+
annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
648
|
+
app_hub_application: Optional[pulumi.Input[_builtins.str]] = None,
|
649
|
+
artifact_configs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InsightsConfigArtifactConfigArgs', 'InsightsConfigArtifactConfigArgsDict']]]]] = None,
|
650
|
+
create_time: Optional[pulumi.Input[_builtins.str]] = None,
|
651
|
+
effective_annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
652
|
+
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
653
|
+
errors: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InsightsConfigErrorArgs', 'InsightsConfigErrorArgsDict']]]]] = None,
|
654
|
+
insights_config_id: Optional[pulumi.Input[_builtins.str]] = None,
|
655
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
656
|
+
location: Optional[pulumi.Input[_builtins.str]] = None,
|
657
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
658
|
+
project: Optional[pulumi.Input[_builtins.str]] = None,
|
659
|
+
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]]] = None,
|
660
|
+
reconciling: Optional[pulumi.Input[_builtins.bool]] = None,
|
661
|
+
runtime_configs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['InsightsConfigRuntimeConfigArgs', 'InsightsConfigRuntimeConfigArgsDict']]]]] = None,
|
662
|
+
state: Optional[pulumi.Input[_builtins.str]] = None,
|
663
|
+
update_time: Optional[pulumi.Input[_builtins.str]] = None) -> 'InsightsConfig':
|
664
|
+
"""
|
665
|
+
Get an existing InsightsConfig resource's state with the given name, id, and optional extra
|
666
|
+
properties used to qualify the lookup.
|
667
|
+
|
668
|
+
:param str resource_name: The unique name of the resulting resource.
|
669
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
670
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
671
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] annotations: User specified annotations. See https://google.aip.dev/148#annotations
|
672
|
+
for more details such as format and size limitations.
|
673
|
+
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
674
|
+
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
675
|
+
:param pulumi.Input[_builtins.str] app_hub_application: The name of the App Hub Application.
|
676
|
+
Format:
|
677
|
+
projects/{project}/locations/{location}/applications/{application}
|
678
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['InsightsConfigArtifactConfigArgs', 'InsightsConfigArtifactConfigArgsDict']]]] artifact_configs: The artifact configurations of the artifacts that are deployed.
|
679
|
+
Structure is documented below.
|
680
|
+
:param pulumi.Input[_builtins.str] create_time: [Output only] Create timestamp
|
681
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
682
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['InsightsConfigErrorArgs', 'InsightsConfigErrorArgsDict']]]] errors: Any errors that occurred while setting up the InsightsConfig.
|
683
|
+
Each error will be in the format: `field_name: error_message`, e.g.
|
684
|
+
GetAppHubApplication: Permission denied while getting App Hub
|
685
|
+
application. Please grant permissions to the P4SA.
|
686
|
+
Structure is documented below.
|
687
|
+
:param pulumi.Input[_builtins.str] insights_config_id: ID of the requesting InsightsConfig.
|
688
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] labels: Set of labels associated with an InsightsConfig.
|
689
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
690
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
691
|
+
:param pulumi.Input[_builtins.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.
|
692
|
+
:param pulumi.Input[_builtins.str] name: Identifier. The name of the InsightsConfig.
|
693
|
+
Format:
|
694
|
+
projects/{project}/locations/{location}/insightsConfigs/{insightsConfig}
|
695
|
+
:param pulumi.Input[_builtins.str] project: The ID of the project in which the resource belongs.
|
696
|
+
If it is not provided, the provider project is used.
|
697
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] pulumi_labels: The combination of labels configured directly on the resource
|
698
|
+
and default labels configured on the provider.
|
699
|
+
:param pulumi.Input[_builtins.bool] reconciling: Reconciling (https://google.aip.dev/128#reconciliation).
|
700
|
+
Set to true if the current state of InsightsConfig does not match the
|
701
|
+
user's intended state, and the service is actively updating the resource to
|
702
|
+
reconcile them. This can happen due to user-triggered updates or
|
703
|
+
system actions like failover or maintenance.
|
704
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['InsightsConfigRuntimeConfigArgs', 'InsightsConfigRuntimeConfigArgsDict']]]] runtime_configs: The runtime configurations where the application is deployed.
|
705
|
+
Structure is documented below.
|
706
|
+
:param pulumi.Input[_builtins.str] state: (Output)
|
707
|
+
The state of the Runtime.
|
708
|
+
Possible values:
|
709
|
+
STATE_UNSPECIFIED
|
710
|
+
LINKED
|
711
|
+
UNLINKED
|
712
|
+
:param pulumi.Input[_builtins.str] update_time: [Output only] Update timestamp
|
713
|
+
"""
|
714
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
715
|
+
|
716
|
+
__props__ = _InsightsConfigState.__new__(_InsightsConfigState)
|
717
|
+
|
718
|
+
__props__.__dict__["annotations"] = annotations
|
719
|
+
__props__.__dict__["app_hub_application"] = app_hub_application
|
720
|
+
__props__.__dict__["artifact_configs"] = artifact_configs
|
721
|
+
__props__.__dict__["create_time"] = create_time
|
722
|
+
__props__.__dict__["effective_annotations"] = effective_annotations
|
723
|
+
__props__.__dict__["effective_labels"] = effective_labels
|
724
|
+
__props__.__dict__["errors"] = errors
|
725
|
+
__props__.__dict__["insights_config_id"] = insights_config_id
|
726
|
+
__props__.__dict__["labels"] = labels
|
727
|
+
__props__.__dict__["location"] = location
|
728
|
+
__props__.__dict__["name"] = name
|
729
|
+
__props__.__dict__["project"] = project
|
730
|
+
__props__.__dict__["pulumi_labels"] = pulumi_labels
|
731
|
+
__props__.__dict__["reconciling"] = reconciling
|
732
|
+
__props__.__dict__["runtime_configs"] = runtime_configs
|
733
|
+
__props__.__dict__["state"] = state
|
734
|
+
__props__.__dict__["update_time"] = update_time
|
735
|
+
return InsightsConfig(resource_name, opts=opts, __props__=__props__)
|
736
|
+
|
737
|
+
@_builtins.property
|
738
|
+
@pulumi.getter
|
739
|
+
def annotations(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]:
|
740
|
+
"""
|
741
|
+
User specified annotations. See https://google.aip.dev/148#annotations
|
742
|
+
for more details such as format and size limitations.
|
743
|
+
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
744
|
+
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
745
|
+
"""
|
746
|
+
return pulumi.get(self, "annotations")
|
747
|
+
|
748
|
+
@_builtins.property
|
749
|
+
@pulumi.getter(name="appHubApplication")
|
750
|
+
def app_hub_application(self) -> pulumi.Output[_builtins.str]:
|
751
|
+
"""
|
752
|
+
The name of the App Hub Application.
|
753
|
+
Format:
|
754
|
+
projects/{project}/locations/{location}/applications/{application}
|
755
|
+
"""
|
756
|
+
return pulumi.get(self, "app_hub_application")
|
757
|
+
|
758
|
+
@_builtins.property
|
759
|
+
@pulumi.getter(name="artifactConfigs")
|
760
|
+
def artifact_configs(self) -> pulumi.Output[Optional[Sequence['outputs.InsightsConfigArtifactConfig']]]:
|
761
|
+
"""
|
762
|
+
The artifact configurations of the artifacts that are deployed.
|
763
|
+
Structure is documented below.
|
764
|
+
"""
|
765
|
+
return pulumi.get(self, "artifact_configs")
|
766
|
+
|
767
|
+
@_builtins.property
|
768
|
+
@pulumi.getter(name="createTime")
|
769
|
+
def create_time(self) -> pulumi.Output[_builtins.str]:
|
770
|
+
"""
|
771
|
+
[Output only] Create timestamp
|
772
|
+
"""
|
773
|
+
return pulumi.get(self, "create_time")
|
774
|
+
|
775
|
+
@_builtins.property
|
776
|
+
@pulumi.getter(name="effectiveAnnotations")
|
777
|
+
def effective_annotations(self) -> pulumi.Output[Mapping[str, _builtins.str]]:
|
778
|
+
return pulumi.get(self, "effective_annotations")
|
779
|
+
|
780
|
+
@_builtins.property
|
781
|
+
@pulumi.getter(name="effectiveLabels")
|
782
|
+
def effective_labels(self) -> pulumi.Output[Mapping[str, _builtins.str]]:
|
783
|
+
"""
|
784
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
785
|
+
"""
|
786
|
+
return pulumi.get(self, "effective_labels")
|
787
|
+
|
788
|
+
@_builtins.property
|
789
|
+
@pulumi.getter
|
790
|
+
def errors(self) -> pulumi.Output[Sequence['outputs.InsightsConfigError']]:
|
791
|
+
"""
|
792
|
+
Any errors that occurred while setting up the InsightsConfig.
|
793
|
+
Each error will be in the format: `field_name: error_message`, e.g.
|
794
|
+
GetAppHubApplication: Permission denied while getting App Hub
|
795
|
+
application. Please grant permissions to the P4SA.
|
796
|
+
Structure is documented below.
|
797
|
+
"""
|
798
|
+
return pulumi.get(self, "errors")
|
799
|
+
|
800
|
+
@_builtins.property
|
801
|
+
@pulumi.getter(name="insightsConfigId")
|
802
|
+
def insights_config_id(self) -> pulumi.Output[_builtins.str]:
|
803
|
+
"""
|
804
|
+
ID of the requesting InsightsConfig.
|
805
|
+
"""
|
806
|
+
return pulumi.get(self, "insights_config_id")
|
807
|
+
|
808
|
+
@_builtins.property
|
809
|
+
@pulumi.getter
|
810
|
+
def labels(self) -> pulumi.Output[Optional[Mapping[str, _builtins.str]]]:
|
811
|
+
"""
|
812
|
+
Set of labels associated with an InsightsConfig.
|
813
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
814
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
815
|
+
"""
|
816
|
+
return pulumi.get(self, "labels")
|
817
|
+
|
818
|
+
@_builtins.property
|
819
|
+
@pulumi.getter
|
820
|
+
def location(self) -> pulumi.Output[_builtins.str]:
|
821
|
+
"""
|
822
|
+
Resource ID segment making up resource `name`. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
|
823
|
+
"""
|
824
|
+
return pulumi.get(self, "location")
|
825
|
+
|
826
|
+
@_builtins.property
|
827
|
+
@pulumi.getter
|
828
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
829
|
+
"""
|
830
|
+
Identifier. The name of the InsightsConfig.
|
831
|
+
Format:
|
832
|
+
projects/{project}/locations/{location}/insightsConfigs/{insightsConfig}
|
833
|
+
"""
|
834
|
+
return pulumi.get(self, "name")
|
835
|
+
|
836
|
+
@_builtins.property
|
837
|
+
@pulumi.getter
|
838
|
+
def project(self) -> pulumi.Output[_builtins.str]:
|
839
|
+
"""
|
840
|
+
The ID of the project in which the resource belongs.
|
841
|
+
If it is not provided, the provider project is used.
|
842
|
+
"""
|
843
|
+
return pulumi.get(self, "project")
|
844
|
+
|
845
|
+
@_builtins.property
|
846
|
+
@pulumi.getter(name="pulumiLabels")
|
847
|
+
def pulumi_labels(self) -> pulumi.Output[Mapping[str, _builtins.str]]:
|
848
|
+
"""
|
849
|
+
The combination of labels configured directly on the resource
|
850
|
+
and default labels configured on the provider.
|
851
|
+
"""
|
852
|
+
return pulumi.get(self, "pulumi_labels")
|
853
|
+
|
854
|
+
@_builtins.property
|
855
|
+
@pulumi.getter
|
856
|
+
def reconciling(self) -> pulumi.Output[_builtins.bool]:
|
857
|
+
"""
|
858
|
+
Reconciling (https://google.aip.dev/128#reconciliation).
|
859
|
+
Set to true if the current state of InsightsConfig does not match the
|
860
|
+
user's intended state, and the service is actively updating the resource to
|
861
|
+
reconcile them. This can happen due to user-triggered updates or
|
862
|
+
system actions like failover or maintenance.
|
863
|
+
"""
|
864
|
+
return pulumi.get(self, "reconciling")
|
865
|
+
|
866
|
+
@_builtins.property
|
867
|
+
@pulumi.getter(name="runtimeConfigs")
|
868
|
+
def runtime_configs(self) -> pulumi.Output[Sequence['outputs.InsightsConfigRuntimeConfig']]:
|
869
|
+
"""
|
870
|
+
The runtime configurations where the application is deployed.
|
871
|
+
Structure is documented below.
|
872
|
+
"""
|
873
|
+
return pulumi.get(self, "runtime_configs")
|
874
|
+
|
875
|
+
@_builtins.property
|
876
|
+
@pulumi.getter
|
877
|
+
def state(self) -> pulumi.Output[_builtins.str]:
|
878
|
+
"""
|
879
|
+
(Output)
|
880
|
+
The state of the Runtime.
|
881
|
+
Possible values:
|
882
|
+
STATE_UNSPECIFIED
|
883
|
+
LINKED
|
884
|
+
UNLINKED
|
885
|
+
"""
|
886
|
+
return pulumi.get(self, "state")
|
887
|
+
|
888
|
+
@_builtins.property
|
889
|
+
@pulumi.getter(name="updateTime")
|
890
|
+
def update_time(self) -> pulumi.Output[_builtins.str]:
|
891
|
+
"""
|
892
|
+
[Output only] Update timestamp
|
893
|
+
"""
|
894
|
+
return pulumi.get(self, "update_time")
|
895
|
+
|