google-cloud-gke_multi_cloud-v1 0.2.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +7 -7
- data/README.md +4 -4
- data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters/client.rb +1289 -0
- data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters/credentials.rb +47 -0
- data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters/operations.rb +770 -0
- data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters/paths.rb +86 -0
- data/lib/google/cloud/gke_multi_cloud/v1/attached_clusters.rb +52 -0
- data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters/client.rb +96 -54
- data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters.rb +1 -1
- data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters/client.rb +133 -79
- data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters.rb +1 -1
- data/lib/google/cloud/gke_multi_cloud/v1/version.rb +1 -1
- data/lib/google/cloud/gke_multi_cloud/v1.rb +4 -3
- data/lib/google/cloud/gkemulticloud/v1/attached_resources_pb.rb +82 -0
- data/lib/google/cloud/gkemulticloud/v1/attached_service_pb.rb +84 -0
- data/lib/google/cloud/gkemulticloud/v1/attached_service_services_pb.rb +85 -0
- data/lib/google/cloud/gkemulticloud/v1/aws_resources_pb.rb +17 -0
- data/lib/google/cloud/gkemulticloud/v1/aws_service_services_pb.rb +19 -11
- data/lib/google/cloud/gkemulticloud/v1/azure_resources_pb.rb +19 -0
- data/lib/google/cloud/gkemulticloud/v1/azure_service_services_pb.rb +28 -17
- data/lib/google/cloud/gkemulticloud/v1/common_resources_pb.rb +10 -0
- data/proto_docs/google/api/client.rb +318 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/cloud/gkemulticloud/v1/attached_resources.rb +239 -0
- data/proto_docs/google/cloud/gkemulticloud/v1/attached_service.rb +294 -0
- data/proto_docs/google/cloud/gkemulticloud/v1/aws_resources.rb +87 -30
- data/proto_docs/google/cloud/gkemulticloud/v1/aws_service.rb +82 -47
- data/proto_docs/google/cloud/gkemulticloud/v1/azure_resources.rb +100 -41
- data/proto_docs/google/cloud/gkemulticloud/v1/azure_service.rb +112 -68
- data/proto_docs/google/cloud/gkemulticloud/v1/common_resources.rb +36 -3
- data/proto_docs/google/protobuf/empty.rb +0 -2
- data/proto_docs/google/rpc/status.rb +4 -2
- metadata +17 -5
@@ -24,8 +24,9 @@ module Google
|
|
24
24
|
# Request message for `AwsClusters.CreateAwsCluster` method.
|
25
25
|
# @!attribute [rw] parent
|
26
26
|
# @return [::String]
|
27
|
-
# Required. The parent location where this
|
28
|
-
# will be
|
27
|
+
# Required. The parent location where this
|
28
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster} resource will be
|
29
|
+
# created.
|
29
30
|
#
|
30
31
|
# Location names are formatted as `projects/<project-id>/locations/<region>`.
|
31
32
|
#
|
@@ -33,17 +34,19 @@ module Google
|
|
33
34
|
# for more details on Google Cloud resource names.
|
34
35
|
# @!attribute [rw] aws_cluster
|
35
36
|
# @return [::Google::Cloud::GkeMultiCloud::V1::AwsCluster]
|
36
|
-
# Required. The specification of the
|
37
|
+
# Required. The specification of the
|
38
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster} to create.
|
37
39
|
# @!attribute [rw] aws_cluster_id
|
38
40
|
# @return [::String]
|
39
|
-
# Required. A client provided ID the resource. Must be unique within the
|
40
|
-
# resource.
|
41
|
+
# Required. A client provided ID the resource. Must be unique within the
|
42
|
+
# parent resource.
|
41
43
|
#
|
42
|
-
# The provided ID will be part of the
|
43
|
-
# resource name
|
44
|
+
# The provided ID will be part of the
|
45
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster} resource name
|
46
|
+
# formatted as
|
44
47
|
# `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`.
|
45
48
|
#
|
46
|
-
# Valid characters are `/[a-z][0-9]-/`. Cannot be longer than
|
49
|
+
# Valid characters are `/[a-z][0-9]-/`. Cannot be longer than 63 characters.
|
47
50
|
# @!attribute [rw] validate_only
|
48
51
|
# @return [::Boolean]
|
49
52
|
# If set, only validate the request, but do not actually create the cluster.
|
@@ -55,7 +58,8 @@ module Google
|
|
55
58
|
# Request message for `AwsClusters.UpdateAwsCluster` method.
|
56
59
|
# @!attribute [rw] aws_cluster
|
57
60
|
# @return [::Google::Cloud::GkeMultiCloud::V1::AwsCluster]
|
58
|
-
# Required. The {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster}
|
61
|
+
# Required. The {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster}
|
62
|
+
# resource to update.
|
59
63
|
# @!attribute [rw] validate_only
|
60
64
|
# @return [::Boolean]
|
61
65
|
# If set, only validate the request, but do not actually update the cluster.
|
@@ -77,14 +81,17 @@ module Google
|
|
77
81
|
# * `control_plane.proxy_config`.
|
78
82
|
# * `control_plane.proxy_config.secret_arn`.
|
79
83
|
# * `control_plane.proxy_config.secret_version`.
|
84
|
+
# * `control_plane.root_volume.size_gib`.
|
85
|
+
# * `control_plane.root_volume.volume_type`.
|
80
86
|
# * `control_plane.root_volume.iops`.
|
81
87
|
# * `control_plane.root_volume.kms_key_arn`.
|
82
|
-
# * `control_plane.root_volume.volume_type`.
|
83
|
-
# * `control_plane.root_volume.size_gib`.
|
84
88
|
# * `control_plane.ssh_config`.
|
85
89
|
# * `control_plane.ssh_config.ec2_key_pair`.
|
86
90
|
# * `control_plane.instance_placement.tenancy`.
|
87
|
-
# * `
|
91
|
+
# * `control_plane.iam_instance_profile`.
|
92
|
+
# * `logging_config.component_config.enable_components`.
|
93
|
+
# * `control_plane.tags`.
|
94
|
+
# * `monitoring_config.managed_prometheus_config.enabled`.
|
88
95
|
class UpdateAwsClusterRequest
|
89
96
|
include ::Google::Protobuf::MessageExts
|
90
97
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -93,13 +100,15 @@ module Google
|
|
93
100
|
# Request message for `AwsClusters.GetAwsCluster` method.
|
94
101
|
# @!attribute [rw] name
|
95
102
|
# @return [::String]
|
96
|
-
# Required. The name of the
|
103
|
+
# Required. The name of the
|
104
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster} resource to
|
105
|
+
# describe.
|
97
106
|
#
|
98
107
|
# `AwsCluster` names are formatted as
|
99
108
|
# `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`.
|
100
109
|
#
|
101
110
|
# See [Resource Names](https://cloud.google.com/apis/design/resource_names)
|
102
|
-
# for more details on
|
111
|
+
# for more details on Google Cloud Platform resource names.
|
103
112
|
class GetAwsClusterRequest
|
104
113
|
include ::Google::Protobuf::MessageExts
|
105
114
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -114,7 +123,7 @@ module Google
|
|
114
123
|
# Location names are formatted as `projects/<project-id>/locations/<region>`.
|
115
124
|
#
|
116
125
|
# See [Resource Names](https://cloud.google.com/apis/design/resource_names)
|
117
|
-
# for more details on
|
126
|
+
# for more details on Google Cloud Platform resource names.
|
118
127
|
# @!attribute [rw] page_size
|
119
128
|
# @return [::Integer]
|
120
129
|
# The maximum number of items to return.
|
@@ -122,12 +131,13 @@ module Google
|
|
122
131
|
# If not specified, a default value of 50 will be used by the service.
|
123
132
|
# Regardless of the pageSize value, the response can include a partial list
|
124
133
|
# and a caller should only rely on response's
|
125
|
-
# {::Google::Cloud::GkeMultiCloud::V1::ListAwsClustersResponse#next_page_token nextPageToken}
|
126
|
-
# there are more instances left to be queried.
|
134
|
+
# {::Google::Cloud::GkeMultiCloud::V1::ListAwsClustersResponse#next_page_token nextPageToken}
|
135
|
+
# to determine if there are more instances left to be queried.
|
127
136
|
# @!attribute [rw] page_token
|
128
137
|
# @return [::String]
|
129
138
|
# The `nextPageToken` value returned from a previous
|
130
|
-
# {::Google::Cloud::GkeMultiCloud::V1::AwsClusters::Client#list_aws_clusters awsClusters.list}
|
139
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AwsClusters::Client#list_aws_clusters awsClusters.list}
|
140
|
+
# request, if any.
|
131
141
|
class ListAwsClustersRequest
|
132
142
|
include ::Google::Protobuf::MessageExts
|
133
143
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -136,8 +146,8 @@ module Google
|
|
136
146
|
# Response message for `AwsClusters.ListAwsClusters` method.
|
137
147
|
# @!attribute [rw] aws_clusters
|
138
148
|
# @return [::Array<::Google::Cloud::GkeMultiCloud::V1::AwsCluster>]
|
139
|
-
# A list of {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster} resources
|
140
|
-
# project and region region.
|
149
|
+
# A list of {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster} resources
|
150
|
+
# in the specified Google Cloud Platform project and region region.
|
141
151
|
# @!attribute [rw] next_page_token
|
142
152
|
# @return [::String]
|
143
153
|
# Token to retrieve the next page of results, or empty if there are no more
|
@@ -150,26 +160,29 @@ module Google
|
|
150
160
|
# Request message for `AwsClusters.DeleteAwsCluster` method.
|
151
161
|
# @!attribute [rw] name
|
152
162
|
# @return [::String]
|
153
|
-
# Required. The resource name the
|
163
|
+
# Required. The resource name the
|
164
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster} to delete.
|
154
165
|
#
|
155
166
|
# `AwsCluster` names are formatted as
|
156
167
|
# `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`.
|
157
168
|
#
|
158
169
|
# See [Resource Names](https://cloud.google.com/apis/design/resource_names)
|
159
|
-
# for more details on
|
170
|
+
# for more details on Google Cloud Platform resource names.
|
160
171
|
# @!attribute [rw] validate_only
|
161
172
|
# @return [::Boolean]
|
162
173
|
# If set, only validate the request, but do not actually delete the resource.
|
163
174
|
# @!attribute [rw] allow_missing
|
164
175
|
# @return [::Boolean]
|
165
|
-
# If set to true, and the
|
166
|
-
#
|
167
|
-
#
|
176
|
+
# If set to true, and the
|
177
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster} resource is not
|
178
|
+
# found, the request will succeed but no action will be taken on the server
|
179
|
+
# and a completed {::Google::Longrunning::Operation Operation} will be returned.
|
168
180
|
#
|
169
181
|
# Useful for idempotent deletion.
|
170
182
|
# @!attribute [rw] etag
|
171
183
|
# @return [::String]
|
172
|
-
# The current etag of the
|
184
|
+
# The current etag of the
|
185
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster}.
|
173
186
|
#
|
174
187
|
# Allows clients to perform deletions through optimistic concurrency control.
|
175
188
|
#
|
@@ -183,7 +196,8 @@ module Google
|
|
183
196
|
# Response message for `AwsClusters.CreateAwsNodePool` method.
|
184
197
|
# @!attribute [rw] parent
|
185
198
|
# @return [::String]
|
186
|
-
# Required. The {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster}
|
199
|
+
# Required. The {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster}
|
200
|
+
# resource where this node pool will be created.
|
187
201
|
#
|
188
202
|
# `AwsCluster` names are formatted as
|
189
203
|
# `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`.
|
@@ -192,17 +206,19 @@ module Google
|
|
192
206
|
# for more details on Google Cloud resource names.
|
193
207
|
# @!attribute [rw] aws_node_pool
|
194
208
|
# @return [::Google::Cloud::GkeMultiCloud::V1::AwsNodePool]
|
195
|
-
# Required. The specification of the
|
209
|
+
# Required. The specification of the
|
210
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AwsNodePool AwsNodePool} to create.
|
196
211
|
# @!attribute [rw] aws_node_pool_id
|
197
212
|
# @return [::String]
|
198
|
-
# Required. A client provided ID the resource. Must be unique within the
|
199
|
-
# resource.
|
213
|
+
# Required. A client provided ID the resource. Must be unique within the
|
214
|
+
# parent resource.
|
200
215
|
#
|
201
|
-
# The provided ID will be part of the
|
202
|
-
# resource name
|
216
|
+
# The provided ID will be part of the
|
217
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AwsNodePool AwsNodePool} resource name
|
218
|
+
# formatted as
|
203
219
|
# `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>`.
|
204
220
|
#
|
205
|
-
# Valid characters are `/[a-z][0-9]-/`. Cannot be longer than
|
221
|
+
# Valid characters are `/[a-z][0-9]-/`. Cannot be longer than 63 characters.
|
206
222
|
# @!attribute [rw] validate_only
|
207
223
|
# @return [::Boolean]
|
208
224
|
# If set, only validate the request, but do not actually create the node
|
@@ -215,7 +231,8 @@ module Google
|
|
215
231
|
# Request message for `AwsClusters.UpdateAwsNodePool` method.
|
216
232
|
# @!attribute [rw] aws_node_pool
|
217
233
|
# @return [::Google::Cloud::GkeMultiCloud::V1::AwsNodePool]
|
218
|
-
# Required. The {::Google::Cloud::GkeMultiCloud::V1::AwsNodePool AwsNodePool}
|
234
|
+
# Required. The {::Google::Cloud::GkeMultiCloud::V1::AwsNodePool AwsNodePool}
|
235
|
+
# resource to update.
|
219
236
|
# @!attribute [rw] validate_only
|
220
237
|
# @return [::Boolean]
|
221
238
|
# If set, only validate the request, but don't actually update the node pool.
|
@@ -240,6 +257,13 @@ module Google
|
|
240
257
|
# * `config.proxy_config.secret_version`.
|
241
258
|
# * `config.ssh_config`.
|
242
259
|
# * `config.ssh_config.ec2_key_pair`.
|
260
|
+
# * `config.instance_placement.tenancy`.
|
261
|
+
# * `config.iam_instance_profile`.
|
262
|
+
# * `config.labels`.
|
263
|
+
# * `config.tags`.
|
264
|
+
# * `config.autoscaling_metrics_collection`.
|
265
|
+
# * `config.autoscaling_metrics_collection.granularity`.
|
266
|
+
# * `config.autoscaling_metrics_collection.metrics`.
|
243
267
|
class UpdateAwsNodePoolRequest
|
244
268
|
include ::Google::Protobuf::MessageExts
|
245
269
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -248,7 +272,9 @@ module Google
|
|
248
272
|
# Request message for `AwsClusters.GetAwsNodePool` method.
|
249
273
|
# @!attribute [rw] name
|
250
274
|
# @return [::String]
|
251
|
-
# Required. The name of the
|
275
|
+
# Required. The name of the
|
276
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AwsNodePool AwsNodePool} resource to
|
277
|
+
# describe.
|
252
278
|
#
|
253
279
|
# `AwsNodePool` names are formatted as
|
254
280
|
# `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>`.
|
@@ -278,12 +304,13 @@ module Google
|
|
278
304
|
# If not specified, a default value of 50 will be used by the service.
|
279
305
|
# Regardless of the pageSize value, the response can include a partial list
|
280
306
|
# and a caller should only rely on response's
|
281
|
-
# {::Google::Cloud::GkeMultiCloud::V1::ListAwsNodePoolsResponse#next_page_token nextPageToken}
|
282
|
-
# there are more instances left to be queried.
|
307
|
+
# {::Google::Cloud::GkeMultiCloud::V1::ListAwsNodePoolsResponse#next_page_token nextPageToken}
|
308
|
+
# to determine if there are more instances left to be queried.
|
283
309
|
# @!attribute [rw] page_token
|
284
310
|
# @return [::String]
|
285
311
|
# The `nextPageToken` value returned from a previous
|
286
|
-
# {::Google::Cloud::GkeMultiCloud::V1::AwsClusters::Client#list_aws_node_pools awsNodePools.list}
|
312
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AwsClusters::Client#list_aws_node_pools awsNodePools.list}
|
313
|
+
# request, if any.
|
287
314
|
class ListAwsNodePoolsRequest
|
288
315
|
include ::Google::Protobuf::MessageExts
|
289
316
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -292,7 +319,8 @@ module Google
|
|
292
319
|
# Response message for `AwsClusters.ListAwsNodePools` method.
|
293
320
|
# @!attribute [rw] aws_node_pools
|
294
321
|
# @return [::Array<::Google::Cloud::GkeMultiCloud::V1::AwsNodePool>]
|
295
|
-
# A list of {::Google::Cloud::GkeMultiCloud::V1::AwsNodePool AwsNodePool}
|
322
|
+
# A list of {::Google::Cloud::GkeMultiCloud::V1::AwsNodePool AwsNodePool}
|
323
|
+
# resources in the specified `AwsCluster`.
|
296
324
|
# @!attribute [rw] next_page_token
|
297
325
|
# @return [::String]
|
298
326
|
# Token to retrieve the next page of results, or empty if there are no more
|
@@ -302,10 +330,11 @@ module Google
|
|
302
330
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
303
331
|
end
|
304
332
|
|
305
|
-
# Request message for `AwsClusters.
|
333
|
+
# Request message for `AwsClusters.DeleteAwsNodePool` method.
|
306
334
|
# @!attribute [rw] name
|
307
335
|
# @return [::String]
|
308
|
-
# Required. The resource name the
|
336
|
+
# Required. The resource name the
|
337
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AwsNodePool AwsNodePool} to delete.
|
309
338
|
#
|
310
339
|
# `AwsNodePool` names are formatted as
|
311
340
|
# `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>/awsNodePools/<node-pool-id>`.
|
@@ -318,14 +347,16 @@ module Google
|
|
318
347
|
# pool.
|
319
348
|
# @!attribute [rw] allow_missing
|
320
349
|
# @return [::Boolean]
|
321
|
-
# If set to true, and the
|
322
|
-
#
|
323
|
-
#
|
350
|
+
# If set to true, and the
|
351
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AwsNodePool AwsNodePool} resource is not
|
352
|
+
# found, the request will succeed but no action will be taken on the server
|
353
|
+
# and a completed {::Google::Longrunning::Operation Operation} will be returned.
|
324
354
|
#
|
325
355
|
# Useful for idempotent deletion.
|
326
356
|
# @!attribute [rw] etag
|
327
357
|
# @return [::String]
|
328
|
-
# The current ETag of the
|
358
|
+
# The current ETag of the
|
359
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AwsNodePool AwsNodePool}.
|
329
360
|
#
|
330
361
|
# Allows clients to perform deletions through optimistic concurrency control.
|
331
362
|
#
|
@@ -339,7 +370,9 @@ module Google
|
|
339
370
|
# GetAwsServerConfigRequest gets the server config of GKE cluster on AWS.
|
340
371
|
# @!attribute [rw] name
|
341
372
|
# @return [::String]
|
342
|
-
# Required. The name of the
|
373
|
+
# Required. The name of the
|
374
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AwsServerConfig AwsServerConfig} resource
|
375
|
+
# to describe.
|
343
376
|
#
|
344
377
|
# `AwsServerConfig` names are formatted as
|
345
378
|
# `projects/<project-id>/locations/<region>/awsServerConfig`.
|
@@ -354,7 +387,9 @@ module Google
|
|
354
387
|
# Request message for `AwsClusters.GenerateAwsAccessToken` method.
|
355
388
|
# @!attribute [rw] aws_cluster
|
356
389
|
# @return [::String]
|
357
|
-
# Required. The name of the
|
390
|
+
# Required. The name of the
|
391
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AwsCluster AwsCluster} resource to
|
392
|
+
# authenticate to.
|
358
393
|
#
|
359
394
|
# `AwsCluster` names are formatted as
|
360
395
|
# `projects/<project-id>/locations/<region>/awsClusters/<cluster-id>`.
|
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
# `projects/<project-number>/locations/<region>/azureClusters/<cluster-id>`.
|
31
31
|
#
|
32
32
|
# See [Resource Names](https://cloud.google.com/apis/design/resource_names)
|
33
|
-
# for more details on
|
33
|
+
# for more details on Google Cloud Platform resource names.
|
34
34
|
# @!attribute [rw] description
|
35
35
|
# @return [::String]
|
36
36
|
# Optional. A human readable description of this cluster.
|
@@ -45,16 +45,18 @@ module Google
|
|
45
45
|
# to list all supported Azure regions within a given Google Cloud region.
|
46
46
|
# @!attribute [rw] resource_group_id
|
47
47
|
# @return [::String]
|
48
|
-
# Required. The ARM ID of the resource group where the cluster resources are
|
49
|
-
# For example:
|
48
|
+
# Required. The ARM ID of the resource group where the cluster resources are
|
49
|
+
# deployed. For example:
|
50
50
|
# `/subscriptions/<subscription-id>/resourceGroups/<resource-group-name>`
|
51
51
|
# @!attribute [rw] azure_client
|
52
52
|
# @return [::String]
|
53
|
-
#
|
54
|
-
#
|
53
|
+
# Optional. Name of the
|
54
|
+
# {::Google::Cloud::GkeMultiCloud::V1::AzureClient AzureClient} that contains
|
55
|
+
# authentication configuration for how the Anthos Multi-Cloud API connects to
|
56
|
+
# Azure APIs.
|
55
57
|
#
|
56
|
-
# The `AzureClient` resource must reside on the same
|
57
|
-
# as the `AzureCluster`.
|
58
|
+
# The `AzureClient` resource must reside on the same Google Cloud Platform
|
59
|
+
# project and region as the `AzureCluster`.
|
58
60
|
#
|
59
61
|
# `AzureClient` names are formatted as
|
60
62
|
# `projects/<project-number>/locations/<region>/azureClients/<client-id>`.
|
@@ -70,6 +72,9 @@ module Google
|
|
70
72
|
# @!attribute [rw] authorization
|
71
73
|
# @return [::Google::Cloud::GkeMultiCloud::V1::AzureAuthorization]
|
72
74
|
# Required. Configuration related to the cluster RBAC settings.
|
75
|
+
# @!attribute [rw] azure_services_authentication
|
76
|
+
# @return [::Google::Cloud::GkeMultiCloud::V1::AzureServicesAuthentication]
|
77
|
+
# Optional. Authentication configuration for management of Azure resources.
|
73
78
|
# @!attribute [r] state
|
74
79
|
# @return [::Google::Cloud::GkeMultiCloud::V1::AzureCluster::State]
|
75
80
|
# Output only. The current state of the cluster.
|
@@ -114,13 +119,19 @@ module Google
|
|
114
119
|
# Output only. PEM encoded x509 certificate of the cluster root of trust.
|
115
120
|
# @!attribute [rw] fleet
|
116
121
|
# @return [::Google::Cloud::GkeMultiCloud::V1::Fleet]
|
117
|
-
#
|
122
|
+
# Required. Fleet configuration.
|
118
123
|
# @!attribute [r] managed_resources
|
119
124
|
# @return [::Google::Cloud::GkeMultiCloud::V1::AzureClusterResources]
|
120
|
-
# Output only.
|
125
|
+
# Output only. Managed Azure resources for this cluster.
|
121
126
|
# @!attribute [rw] logging_config
|
122
127
|
# @return [::Google::Cloud::GkeMultiCloud::V1::LoggingConfig]
|
123
128
|
# Optional. Logging configuration for this cluster.
|
129
|
+
# @!attribute [r] errors
|
130
|
+
# @return [::Array<::Google::Cloud::GkeMultiCloud::V1::AzureClusterError>]
|
131
|
+
# Output only. A set of errors found in the cluster.
|
132
|
+
# @!attribute [rw] monitoring_config
|
133
|
+
# @return [::Google::Cloud::GkeMultiCloud::V1::MonitoringConfig]
|
134
|
+
# Optional. Monitoring configuration for this cluster.
|
124
135
|
class AzureCluster
|
125
136
|
include ::Google::Protobuf::MessageExts
|
126
137
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -166,8 +177,8 @@ module Google
|
|
166
177
|
# ClusterNetworking contains cluster-wide networking configuration.
|
167
178
|
# @!attribute [rw] virtual_network_id
|
168
179
|
# @return [::String]
|
169
|
-
# Required. The Azure Resource Manager (ARM) ID of the VNet associated with
|
170
|
-
# cluster.
|
180
|
+
# Required. The Azure Resource Manager (ARM) ID of the VNet associated with
|
181
|
+
# your cluster.
|
171
182
|
#
|
172
183
|
# All components in the cluster (i.e. control plane and node pools) run on a
|
173
184
|
# single VNet.
|
@@ -196,8 +207,8 @@ module Google
|
|
196
207
|
# This field cannot be changed after creating a cluster.
|
197
208
|
# @!attribute [rw] service_load_balancer_subnet_id
|
198
209
|
# @return [::String]
|
199
|
-
# Optional. The ARM ID of the subnet where Kubernetes private service type
|
200
|
-
# balancers are deployed. When unspecified, it defaults to
|
210
|
+
# Optional. The ARM ID of the subnet where Kubernetes private service type
|
211
|
+
# load balancers are deployed. When unspecified, it defaults to
|
201
212
|
# AzureControlPlane.subnet_id.
|
202
213
|
#
|
203
214
|
# Example:
|
@@ -218,8 +229,8 @@ module Google
|
|
218
229
|
# {::Google::Cloud::GkeMultiCloud::V1::AzureClusters::Client#get_azure_server_config GetAzureServerConfig}.
|
219
230
|
# @!attribute [rw] subnet_id
|
220
231
|
# @return [::String]
|
221
|
-
# Optional. The ARM ID of the default subnet for the control plane. The
|
222
|
-
# VMs are deployed in this subnet, unless
|
232
|
+
# Optional. The ARM ID of the default subnet for the control plane. The
|
233
|
+
# control plane VMs are deployed in this subnet, unless
|
223
234
|
# `AzureControlPlane.replica_placements` is specified. This subnet will also
|
224
235
|
# be used as default for `AzureControlPlane.endpoint_subnet_id` if
|
225
236
|
# `AzureControlPlane.endpoint_subnet_id` is not specified. Similarly it will
|
@@ -264,7 +275,8 @@ module Google
|
|
264
275
|
# Optional. Configuration related to vm config encryption.
|
265
276
|
# @!attribute [rw] tags
|
266
277
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
267
|
-
# Optional. A set of tags to apply to all underlying control plane Azure
|
278
|
+
# Optional. A set of tags to apply to all underlying control plane Azure
|
279
|
+
# resources.
|
268
280
|
# @!attribute [rw] replica_placements
|
269
281
|
# @return [::Array<::Google::Cloud::GkeMultiCloud::V1::ReplicaPlacement>]
|
270
282
|
# Optional. Configuration for where to place the control plane replicas.
|
@@ -274,8 +286,8 @@ module Google
|
|
274
286
|
# to the three control plane replicas as evenly as possible.
|
275
287
|
# @!attribute [rw] endpoint_subnet_id
|
276
288
|
# @return [::String]
|
277
|
-
# Optional. The ARM ID of the subnet where the control plane load balancer is
|
278
|
-
# When unspecified, it defaults to AzureControlPlane.subnet_id.
|
289
|
+
# Optional. The ARM ID of the subnet where the control plane load balancer is
|
290
|
+
# deployed. When unspecified, it defaults to AzureControlPlane.subnet_id.
|
279
291
|
#
|
280
292
|
# Example:
|
281
293
|
# "/subscriptions/d00494d6-6f3c-4280-bbb2-899e163d1d30/resourceGroups/anthos_cluster_gkeust4/providers/Microsoft.Network/virtualNetworks/gke-vnet-gkeust4/subnets/subnetid123"
|
@@ -296,13 +308,13 @@ module Google
|
|
296
308
|
# Configuration for the placement of a control plane replica.
|
297
309
|
# @!attribute [rw] subnet_id
|
298
310
|
# @return [::String]
|
299
|
-
# Required. For a given replica, the ARM ID of the subnet where the control
|
300
|
-
# deployed. Make sure it's a subnet under the virtual network in
|
301
|
-
# configuration.
|
311
|
+
# Required. For a given replica, the ARM ID of the subnet where the control
|
312
|
+
# plane VM is deployed. Make sure it's a subnet under the virtual network in
|
313
|
+
# the cluster configuration.
|
302
314
|
# @!attribute [rw] azure_availability_zone
|
303
315
|
# @return [::String]
|
304
|
-
# Required. For a given replica, the Azure availability zone where to
|
305
|
-
# control plane VM and the ETCD disk.
|
316
|
+
# Required. For a given replica, the Azure availability zone where to
|
317
|
+
# provision the control plane VM and the ETCD disk.
|
306
318
|
class ReplicaPlacement
|
307
319
|
include ::Google::Protobuf::MessageExts
|
308
320
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -319,6 +331,10 @@ module Google
|
|
319
331
|
# @return [::String]
|
320
332
|
# The URL the of the proxy setting secret with its version.
|
321
333
|
#
|
334
|
+
# The secret must be a JSON encoded proxy configuration
|
335
|
+
# as described in
|
336
|
+
# https://cloud.google.com/anthos/clusters/docs/multi-cloud/azure/how-to/use-a-proxy#create_a_proxy_configuration_file
|
337
|
+
#
|
322
338
|
# Secret ids are formatted as
|
323
339
|
# `https://<key-vault-name>.vault.azure.net/secrets/<secret-name>/<secret-version>`.
|
324
340
|
class AzureProxyConfig
|
@@ -349,13 +365,15 @@ module Google
|
|
349
365
|
# key.
|
350
366
|
# @!attribute [rw] key_id
|
351
367
|
# @return [::String]
|
352
|
-
# Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt config
|
368
|
+
# Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt config
|
369
|
+
# data.
|
353
370
|
#
|
354
371
|
# For example:
|
355
372
|
# `/subscriptions/<subscription-id>/resourceGroups/<resource-group-id>/providers/Microsoft.KeyVault/vaults/<key-vault-id>/keys/<key-name>`
|
356
373
|
# @!attribute [rw] public_key
|
357
374
|
# @return [::String]
|
358
|
-
# Optional. RSA key of the Azure Key Vault public key to use for encrypting
|
375
|
+
# Optional. RSA key of the Azure Key Vault public key to use for encrypting
|
376
|
+
# the data.
|
359
377
|
#
|
360
378
|
# This key must be formatted as a PEM-encoded SubjectPublicKeyInfo (RFC 5280)
|
361
379
|
# in ASN.1 DER form. The string must be comprised of a single PEM block of
|
@@ -380,9 +398,10 @@ module Google
|
|
380
398
|
# `AzureClient` resources hold client authentication information needed by the
|
381
399
|
# Anthos Multi-Cloud API to manage Azure resources on your Azure subscription.
|
382
400
|
#
|
383
|
-
# When an {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} is
|
384
|
-
#
|
385
|
-
#
|
401
|
+
# When an {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} is
|
402
|
+
# created, an `AzureClient` resource needs to be provided and all operations on
|
403
|
+
# Azure resources associated to that cluster will authenticate to Azure
|
404
|
+
# services using the given client.
|
386
405
|
#
|
387
406
|
# `AzureClient` resources are immutable and cannot be modified upon creation.
|
388
407
|
#
|
@@ -403,6 +422,9 @@ module Google
|
|
403
422
|
# @!attribute [rw] application_id
|
404
423
|
# @return [::String]
|
405
424
|
# Required. The Azure Active Directory Application ID.
|
425
|
+
# @!attribute [r] reconciling
|
426
|
+
# @return [::Boolean]
|
427
|
+
# Output only. If set, there are currently pending changes to the client.
|
406
428
|
# @!attribute [rw] annotations
|
407
429
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
408
430
|
# Optional. Annotations on the resource.
|
@@ -423,6 +445,9 @@ module Google
|
|
423
445
|
# @!attribute [r] create_time
|
424
446
|
# @return [::Google::Protobuf::Timestamp]
|
425
447
|
# Output only. The time at which this resource was created.
|
448
|
+
# @!attribute [r] update_time
|
449
|
+
# @return [::Google::Protobuf::Timestamp]
|
450
|
+
# Output only. The time at which this client was last updated.
|
426
451
|
class AzureClient
|
427
452
|
include ::Google::Protobuf::MessageExts
|
428
453
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -451,6 +476,18 @@ module Google
|
|
451
476
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
452
477
|
end
|
453
478
|
|
479
|
+
# Authentication configuration for the management of Azure resources.
|
480
|
+
# @!attribute [rw] tenant_id
|
481
|
+
# @return [::String]
|
482
|
+
# Required. The Azure Active Directory Tenant ID.
|
483
|
+
# @!attribute [rw] application_id
|
484
|
+
# @return [::String]
|
485
|
+
# Required. The Azure Active Directory Application ID.
|
486
|
+
class AzureServicesAuthentication
|
487
|
+
include ::Google::Protobuf::MessageExts
|
488
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
489
|
+
end
|
490
|
+
|
454
491
|
# Identities of a user-type subject for Azure clusters.
|
455
492
|
# @!attribute [rw] username
|
456
493
|
# @return [::String]
|
@@ -472,14 +509,15 @@ module Google
|
|
472
509
|
# see [Resource Names](https://cloud.google.com/apis/design/resource_names)
|
473
510
|
# @!attribute [rw] version
|
474
511
|
# @return [::String]
|
475
|
-
# Required. The Kubernetes version (e.g. `1.19.10-gke.1000`) running on this
|
512
|
+
# Required. The Kubernetes version (e.g. `1.19.10-gke.1000`) running on this
|
513
|
+
# node pool.
|
476
514
|
# @!attribute [rw] config
|
477
515
|
# @return [::Google::Cloud::GkeMultiCloud::V1::AzureNodeConfig]
|
478
516
|
# Required. The node configuration of the node pool.
|
479
517
|
# @!attribute [rw] subnet_id
|
480
518
|
# @return [::String]
|
481
|
-
# Required. The ARM ID of the subnet where the node pool VMs run. Make sure
|
482
|
-
# subnet under the virtual network in the cluster configuration.
|
519
|
+
# Required. The ARM ID of the subnet where the node pool VMs run. Make sure
|
520
|
+
# it's a subnet under the virtual network in the cluster configuration.
|
483
521
|
# @!attribute [rw] autoscaling
|
484
522
|
# @return [::Google::Cloud::GkeMultiCloud::V1::AzureNodePoolAutoscaling]
|
485
523
|
# Required. Autoscaler configuration for this node pool.
|
@@ -526,6 +564,9 @@ module Google
|
|
526
564
|
# Optional. The Azure availability zone of the nodes in this nodepool.
|
527
565
|
#
|
528
566
|
# When unspecified, it defaults to `1`.
|
567
|
+
# @!attribute [r] errors
|
568
|
+
# @return [::Array<::Google::Cloud::GkeMultiCloud::V1::AzureNodePoolError>]
|
569
|
+
# Output only. A set of errors found in the node pool.
|
529
570
|
class AzureNodePool
|
530
571
|
include ::Google::Protobuf::MessageExts
|
531
572
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -585,8 +626,8 @@ module Google
|
|
585
626
|
# When unspecified, it defaults to a 32-GiB Azure Disk.
|
586
627
|
# @!attribute [rw] tags
|
587
628
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
588
|
-
# Optional. A set of tags to apply to all underlying Azure resources for this
|
589
|
-
# pool. This currently only includes Virtual Machine Scale Sets.
|
629
|
+
# Optional. A set of tags to apply to all underlying Azure resources for this
|
630
|
+
# node pool. This currently only includes Virtual Machine Scale Sets.
|
590
631
|
#
|
591
632
|
# Specify at most 50 pairs containing alphanumerics, spaces, and symbols
|
592
633
|
# (.+-=_:@/). Keys can be up to 127 Unicode characters. Values can be up to
|
@@ -644,12 +685,12 @@ module Google
|
|
644
685
|
# size of the node pool based on the cluster load.
|
645
686
|
# @!attribute [rw] min_node_count
|
646
687
|
# @return [::Integer]
|
647
|
-
# Required. Minimum number of nodes in the node pool. Must be greater than or
|
648
|
-
# 1 and less than or equal to max_node_count.
|
688
|
+
# Required. Minimum number of nodes in the node pool. Must be greater than or
|
689
|
+
# equal to 1 and less than or equal to max_node_count.
|
649
690
|
# @!attribute [rw] max_node_count
|
650
691
|
# @return [::Integer]
|
651
|
-
# Required. Maximum number of nodes in the node pool. Must be greater than or
|
652
|
-
# min_node_count and less than or equal to 50.
|
692
|
+
# Required. Maximum number of nodes in the node pool. Must be greater than or
|
693
|
+
# equal to min_node_count and less than or equal to 50.
|
653
694
|
class AzureNodePoolAutoscaling
|
654
695
|
include ::Google::Protobuf::MessageExts
|
655
696
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -665,7 +706,7 @@ module Google
|
|
665
706
|
# `projects/<project-number>/locations/<region>/azureServerConfig`.
|
666
707
|
#
|
667
708
|
# See [Resource Names](https://cloud.google.com/apis/design/resource_names)
|
668
|
-
# for more details on
|
709
|
+
# for more details on Google Cloud Platform resource names.
|
669
710
|
# @!attribute [rw] valid_versions
|
670
711
|
# @return [::Array<::Google::Cloud::GkeMultiCloud::V1::AzureK8sVersionInfo>]
|
671
712
|
# List of valid Kubernetes versions.
|
@@ -689,9 +730,9 @@ module Google
|
|
689
730
|
# SSH configuration for Azure resources.
|
690
731
|
# @!attribute [rw] authorized_key
|
691
732
|
# @return [::String]
|
692
|
-
# Required. The SSH public key data for VMs managed by Anthos. This accepts
|
693
|
-
# authorized_keys file format used in OpenSSH according to the sshd(8)
|
694
|
-
# page.
|
733
|
+
# Required. The SSH public key data for VMs managed by Anthos. This accepts
|
734
|
+
# the authorized_keys file format used in OpenSSH according to the sshd(8)
|
735
|
+
# manual page.
|
695
736
|
class AzureSshConfig
|
696
737
|
include ::Google::Protobuf::MessageExts
|
697
738
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -710,6 +751,24 @@ module Google
|
|
710
751
|
include ::Google::Protobuf::MessageExts
|
711
752
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
712
753
|
end
|
754
|
+
|
755
|
+
# AzureClusterError describes errors found on Azure clusters.
|
756
|
+
# @!attribute [rw] message
|
757
|
+
# @return [::String]
|
758
|
+
# Human-friendly description of the error.
|
759
|
+
class AzureClusterError
|
760
|
+
include ::Google::Protobuf::MessageExts
|
761
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
762
|
+
end
|
763
|
+
|
764
|
+
# AzureNodePoolError describes errors found on Azure node pools.
|
765
|
+
# @!attribute [rw] message
|
766
|
+
# @return [::String]
|
767
|
+
# Human-friendly description of the error.
|
768
|
+
class AzureNodePoolError
|
769
|
+
include ::Google::Protobuf::MessageExts
|
770
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
771
|
+
end
|
713
772
|
end
|
714
773
|
end
|
715
774
|
end
|