pulumi-gcp 8.35.0a1750229953__py3-none-any.whl → 8.36.0a1750439108__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 CHANGED
@@ -1606,6 +1606,14 @@ _utilities.register(
1606
1606
  "gcp:bigquerydatapolicy/dataPolicyIamPolicy:DataPolicyIamPolicy": "DataPolicyIamPolicy"
1607
1607
  }
1608
1608
  },
1609
+ {
1610
+ "pkg": "gcp",
1611
+ "mod": "bigtable/appProfile",
1612
+ "fqn": "pulumi_gcp.bigtable",
1613
+ "classes": {
1614
+ "gcp:bigtable/appProfile:AppProfile": "AppProfile"
1615
+ }
1616
+ },
1609
1617
  {
1610
1618
  "pkg": "gcp",
1611
1619
  "mod": "bigtable/authorizedView",
@@ -458,8 +458,13 @@ class _AppProfileState:
458
458
  pulumi.set(self, "standard_isolation", value)
459
459
 
460
460
 
461
+ warnings.warn("""gcp.bigquery/appprofile.AppProfile has been deprecated in favor of gcp.bigtable/appprofile.AppProfile""", DeprecationWarning)
462
+
463
+
461
464
  @pulumi.type_token("gcp:bigquery/appProfile:AppProfile")
462
465
  class AppProfile(pulumi.CustomResource):
466
+ warnings.warn("""gcp.bigquery/appprofile.AppProfile has been deprecated in favor of gcp.bigtable/appprofile.AppProfile""", DeprecationWarning)
467
+
463
468
  @overload
464
469
  def __init__(__self__,
465
470
  resource_name: str,
@@ -514,7 +519,7 @@ class AppProfile(pulumi.CustomResource):
514
519
  },
515
520
  ],
516
521
  deletion_protection=True)
517
- ap = gcp.bigquery.AppProfile("ap",
522
+ ap = gcp.bigtable.AppProfile("ap",
518
523
  instance=instance.name,
519
524
  app_profile_id="bt-profile",
520
525
  multi_cluster_routing_use_any=True,
@@ -535,7 +540,7 @@ class AppProfile(pulumi.CustomResource):
535
540
  "storage_type": "HDD",
536
541
  }],
537
542
  deletion_protection=True)
538
- ap = gcp.bigquery.AppProfile("ap",
543
+ ap = gcp.bigtable.AppProfile("ap",
539
544
  instance=instance.name,
540
545
  app_profile_id="bt-profile",
541
546
  single_cluster_routing={
@@ -573,7 +578,7 @@ class AppProfile(pulumi.CustomResource):
573
578
  },
574
579
  ],
575
580
  deletion_protection=True)
576
- ap = gcp.bigquery.AppProfile("ap",
581
+ ap = gcp.bigtable.AppProfile("ap",
577
582
  instance=instance.name,
578
583
  app_profile_id="bt-profile",
579
584
  multi_cluster_routing_use_any=True,
@@ -598,7 +603,7 @@ class AppProfile(pulumi.CustomResource):
598
603
  "storage_type": "HDD",
599
604
  }],
600
605
  deletion_protection=True)
601
- ap = gcp.bigquery.AppProfile("ap",
606
+ ap = gcp.bigtable.AppProfile("ap",
602
607
  instance=instance.name,
603
608
  app_profile_id="bt-profile",
604
609
  single_cluster_routing={
@@ -707,7 +712,7 @@ class AppProfile(pulumi.CustomResource):
707
712
  },
708
713
  ],
709
714
  deletion_protection=True)
710
- ap = gcp.bigquery.AppProfile("ap",
715
+ ap = gcp.bigtable.AppProfile("ap",
711
716
  instance=instance.name,
712
717
  app_profile_id="bt-profile",
713
718
  multi_cluster_routing_use_any=True,
@@ -728,7 +733,7 @@ class AppProfile(pulumi.CustomResource):
728
733
  "storage_type": "HDD",
729
734
  }],
730
735
  deletion_protection=True)
731
- ap = gcp.bigquery.AppProfile("ap",
736
+ ap = gcp.bigtable.AppProfile("ap",
732
737
  instance=instance.name,
733
738
  app_profile_id="bt-profile",
734
739
  single_cluster_routing={
@@ -766,7 +771,7 @@ class AppProfile(pulumi.CustomResource):
766
771
  },
767
772
  ],
768
773
  deletion_protection=True)
769
- ap = gcp.bigquery.AppProfile("ap",
774
+ ap = gcp.bigtable.AppProfile("ap",
770
775
  instance=instance.name,
771
776
  app_profile_id="bt-profile",
772
777
  multi_cluster_routing_use_any=True,
@@ -791,7 +796,7 @@ class AppProfile(pulumi.CustomResource):
791
796
  "storage_type": "HDD",
792
797
  }],
793
798
  deletion_protection=True)
794
- ap = gcp.bigquery.AppProfile("ap",
799
+ ap = gcp.bigtable.AppProfile("ap",
795
800
  instance=instance.name,
796
801
  app_profile_id="bt-profile",
797
802
  single_cluster_routing={
@@ -855,6 +860,7 @@ class AppProfile(pulumi.CustomResource):
855
860
  single_cluster_routing: Optional[pulumi.Input[Union['AppProfileSingleClusterRoutingArgs', 'AppProfileSingleClusterRoutingArgsDict']]] = None,
856
861
  standard_isolation: Optional[pulumi.Input[Union['AppProfileStandardIsolationArgs', 'AppProfileStandardIsolationArgsDict']]] = None,
857
862
  __props__=None):
863
+ pulumi.log.warn("""AppProfile is deprecated: gcp.bigquery/appprofile.AppProfile has been deprecated in favor of gcp.bigtable/appprofile.AppProfile""")
858
864
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
859
865
  if not isinstance(opts, pulumi.ResourceOptions):
860
866
  raise TypeError('Expected resource options to be a ResourceOptions instance')
@@ -877,6 +883,8 @@ class AppProfile(pulumi.CustomResource):
877
883
  __props__.__dict__["single_cluster_routing"] = single_cluster_routing
878
884
  __props__.__dict__["standard_isolation"] = standard_isolation
879
885
  __props__.__dict__["name"] = None
886
+ alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_="gcp:bigquery/appProfile:AppProfile")])
887
+ opts = pulumi.ResourceOptions.merge(opts, alias_opts)
880
888
  super(AppProfile, __self__).__init__(
881
889
  'gcp:bigquery/appProfile:AppProfile',
882
890
  resource_name,
@@ -6,6 +6,7 @@ import builtins
6
6
  from .. import _utilities
7
7
  import typing
8
8
  # Export this package's modules as members:
9
+ from .app_profile import *
9
10
  from .authorized_view import *
10
11
  from .gc_policy import *
11
12
  from .get_instance_iam_policy import *
@@ -16,6 +16,12 @@ else:
16
16
  from .. import _utilities
17
17
 
18
18
  __all__ = [
19
+ 'AppProfileDataBoostIsolationReadOnlyArgs',
20
+ 'AppProfileDataBoostIsolationReadOnlyArgsDict',
21
+ 'AppProfileSingleClusterRoutingArgs',
22
+ 'AppProfileSingleClusterRoutingArgsDict',
23
+ 'AppProfileStandardIsolationArgs',
24
+ 'AppProfileStandardIsolationArgsDict',
19
25
  'AuthorizedViewSubsetViewArgs',
20
26
  'AuthorizedViewSubsetViewArgsDict',
21
27
  'AuthorizedViewSubsetViewFamilySubsetArgs',
@@ -44,6 +50,128 @@ __all__ = [
44
50
 
45
51
  MYPY = False
46
52
 
53
+ if not MYPY:
54
+ class AppProfileDataBoostIsolationReadOnlyArgsDict(TypedDict):
55
+ compute_billing_owner: pulumi.Input[builtins.str]
56
+ """
57
+ The Compute Billing Owner for this Data Boost App Profile.
58
+ Possible values are: `HOST_PAYS`.
59
+ """
60
+ elif False:
61
+ AppProfileDataBoostIsolationReadOnlyArgsDict: TypeAlias = Mapping[str, Any]
62
+
63
+ @pulumi.input_type
64
+ class AppProfileDataBoostIsolationReadOnlyArgs:
65
+ def __init__(__self__, *,
66
+ compute_billing_owner: pulumi.Input[builtins.str]):
67
+ """
68
+ :param pulumi.Input[builtins.str] compute_billing_owner: The Compute Billing Owner for this Data Boost App Profile.
69
+ Possible values are: `HOST_PAYS`.
70
+ """
71
+ pulumi.set(__self__, "compute_billing_owner", compute_billing_owner)
72
+
73
+ @property
74
+ @pulumi.getter(name="computeBillingOwner")
75
+ def compute_billing_owner(self) -> pulumi.Input[builtins.str]:
76
+ """
77
+ The Compute Billing Owner for this Data Boost App Profile.
78
+ Possible values are: `HOST_PAYS`.
79
+ """
80
+ return pulumi.get(self, "compute_billing_owner")
81
+
82
+ @compute_billing_owner.setter
83
+ def compute_billing_owner(self, value: pulumi.Input[builtins.str]):
84
+ pulumi.set(self, "compute_billing_owner", value)
85
+
86
+
87
+ if not MYPY:
88
+ class AppProfileSingleClusterRoutingArgsDict(TypedDict):
89
+ cluster_id: pulumi.Input[builtins.str]
90
+ """
91
+ The cluster to which read/write requests should be routed.
92
+ """
93
+ allow_transactional_writes: NotRequired[pulumi.Input[builtins.bool]]
94
+ """
95
+ If true, CheckAndMutateRow and ReadModifyWriteRow requests are allowed by this app profile.
96
+ It is unsafe to send these requests to the same table/row/column in multiple clusters.
97
+ """
98
+ elif False:
99
+ AppProfileSingleClusterRoutingArgsDict: TypeAlias = Mapping[str, Any]
100
+
101
+ @pulumi.input_type
102
+ class AppProfileSingleClusterRoutingArgs:
103
+ def __init__(__self__, *,
104
+ cluster_id: pulumi.Input[builtins.str],
105
+ allow_transactional_writes: Optional[pulumi.Input[builtins.bool]] = None):
106
+ """
107
+ :param pulumi.Input[builtins.str] cluster_id: The cluster to which read/write requests should be routed.
108
+ :param pulumi.Input[builtins.bool] allow_transactional_writes: If true, CheckAndMutateRow and ReadModifyWriteRow requests are allowed by this app profile.
109
+ It is unsafe to send these requests to the same table/row/column in multiple clusters.
110
+ """
111
+ pulumi.set(__self__, "cluster_id", cluster_id)
112
+ if allow_transactional_writes is not None:
113
+ pulumi.set(__self__, "allow_transactional_writes", allow_transactional_writes)
114
+
115
+ @property
116
+ @pulumi.getter(name="clusterId")
117
+ def cluster_id(self) -> pulumi.Input[builtins.str]:
118
+ """
119
+ The cluster to which read/write requests should be routed.
120
+ """
121
+ return pulumi.get(self, "cluster_id")
122
+
123
+ @cluster_id.setter
124
+ def cluster_id(self, value: pulumi.Input[builtins.str]):
125
+ pulumi.set(self, "cluster_id", value)
126
+
127
+ @property
128
+ @pulumi.getter(name="allowTransactionalWrites")
129
+ def allow_transactional_writes(self) -> Optional[pulumi.Input[builtins.bool]]:
130
+ """
131
+ If true, CheckAndMutateRow and ReadModifyWriteRow requests are allowed by this app profile.
132
+ It is unsafe to send these requests to the same table/row/column in multiple clusters.
133
+ """
134
+ return pulumi.get(self, "allow_transactional_writes")
135
+
136
+ @allow_transactional_writes.setter
137
+ def allow_transactional_writes(self, value: Optional[pulumi.Input[builtins.bool]]):
138
+ pulumi.set(self, "allow_transactional_writes", value)
139
+
140
+
141
+ if not MYPY:
142
+ class AppProfileStandardIsolationArgsDict(TypedDict):
143
+ priority: pulumi.Input[builtins.str]
144
+ """
145
+ The priority of requests sent using this app profile.
146
+ Possible values are: `PRIORITY_LOW`, `PRIORITY_MEDIUM`, `PRIORITY_HIGH`.
147
+ """
148
+ elif False:
149
+ AppProfileStandardIsolationArgsDict: TypeAlias = Mapping[str, Any]
150
+
151
+ @pulumi.input_type
152
+ class AppProfileStandardIsolationArgs:
153
+ def __init__(__self__, *,
154
+ priority: pulumi.Input[builtins.str]):
155
+ """
156
+ :param pulumi.Input[builtins.str] priority: The priority of requests sent using this app profile.
157
+ Possible values are: `PRIORITY_LOW`, `PRIORITY_MEDIUM`, `PRIORITY_HIGH`.
158
+ """
159
+ pulumi.set(__self__, "priority", priority)
160
+
161
+ @property
162
+ @pulumi.getter
163
+ def priority(self) -> pulumi.Input[builtins.str]:
164
+ """
165
+ The priority of requests sent using this app profile.
166
+ Possible values are: `PRIORITY_LOW`, `PRIORITY_MEDIUM`, `PRIORITY_HIGH`.
167
+ """
168
+ return pulumi.get(self, "priority")
169
+
170
+ @priority.setter
171
+ def priority(self, value: pulumi.Input[builtins.str]):
172
+ pulumi.set(self, "priority", value)
173
+
174
+
47
175
  if not MYPY:
48
176
  class AuthorizedViewSubsetViewArgsDict(TypedDict):
49
177
  family_subsets: NotRequired[pulumi.Input[Sequence[pulumi.Input['AuthorizedViewSubsetViewFamilySubsetArgsDict']]]]