google-cloud-gke_multi_cloud-v1 0.1.0 → 0.3.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 +9 -9
- 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 +93 -51
- data/lib/google/cloud/gke_multi_cloud/v1/aws_clusters/operations.rb +3 -0
- 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 +126 -75
- data/lib/google/cloud/gke_multi_cloud/v1/azure_clusters/operations.rb +3 -0
- 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 +11 -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 +86 -29
- data/proto_docs/google/cloud/gkemulticloud/v1/aws_service.rb +79 -44
- data/proto_docs/google/cloud/gkemulticloud/v1/azure_resources.rb +75 -37
- data/proto_docs/google/cloud/gkemulticloud/v1/azure_service.rb +105 -64
- 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 +24 -12
@@ -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,7 +100,9 @@ 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>`.
|
@@ -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 GCP 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,7 +160,8 @@ 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>`.
|
@@ -162,14 +173,16 @@ module Google
|
|
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>`.
|
@@ -45,13 +45,15 @@ 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
|
-
# Required. Name of the
|
54
|
-
#
|
53
|
+
# Required. 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
58
|
# The `AzureClient` resource must reside on the same GCP project and region
|
57
59
|
# as the `AzureCluster`.
|
@@ -114,13 +116,19 @@ module Google
|
|
114
116
|
# Output only. PEM encoded x509 certificate of the cluster root of trust.
|
115
117
|
# @!attribute [rw] fleet
|
116
118
|
# @return [::Google::Cloud::GkeMultiCloud::V1::Fleet]
|
117
|
-
#
|
119
|
+
# Required. Fleet configuration.
|
118
120
|
# @!attribute [r] managed_resources
|
119
121
|
# @return [::Google::Cloud::GkeMultiCloud::V1::AzureClusterResources]
|
120
|
-
# Output only.
|
122
|
+
# Output only. Managed Azure resources for this cluster.
|
121
123
|
# @!attribute [rw] logging_config
|
122
124
|
# @return [::Google::Cloud::GkeMultiCloud::V1::LoggingConfig]
|
123
125
|
# Optional. Logging configuration for this cluster.
|
126
|
+
# @!attribute [r] errors
|
127
|
+
# @return [::Array<::Google::Cloud::GkeMultiCloud::V1::AzureClusterError>]
|
128
|
+
# Output only. A set of errors found in the cluster.
|
129
|
+
# @!attribute [rw] monitoring_config
|
130
|
+
# @return [::Google::Cloud::GkeMultiCloud::V1::MonitoringConfig]
|
131
|
+
# Optional. Monitoring configuration for this cluster.
|
124
132
|
class AzureCluster
|
125
133
|
include ::Google::Protobuf::MessageExts
|
126
134
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -166,8 +174,8 @@ module Google
|
|
166
174
|
# ClusterNetworking contains cluster-wide networking configuration.
|
167
175
|
# @!attribute [rw] virtual_network_id
|
168
176
|
# @return [::String]
|
169
|
-
# Required. The Azure Resource Manager (ARM) ID of the VNet associated with
|
170
|
-
# cluster.
|
177
|
+
# Required. The Azure Resource Manager (ARM) ID of the VNet associated with
|
178
|
+
# your cluster.
|
171
179
|
#
|
172
180
|
# All components in the cluster (i.e. control plane and node pools) run on a
|
173
181
|
# single VNet.
|
@@ -196,8 +204,8 @@ module Google
|
|
196
204
|
# This field cannot be changed after creating a cluster.
|
197
205
|
# @!attribute [rw] service_load_balancer_subnet_id
|
198
206
|
# @return [::String]
|
199
|
-
# Optional. The ARM ID of the subnet where Kubernetes private service type
|
200
|
-
# balancers are deployed. When unspecified, it defaults to
|
207
|
+
# Optional. The ARM ID of the subnet where Kubernetes private service type
|
208
|
+
# load balancers are deployed. When unspecified, it defaults to
|
201
209
|
# AzureControlPlane.subnet_id.
|
202
210
|
#
|
203
211
|
# Example:
|
@@ -218,8 +226,8 @@ module Google
|
|
218
226
|
# {::Google::Cloud::GkeMultiCloud::V1::AzureClusters::Client#get_azure_server_config GetAzureServerConfig}.
|
219
227
|
# @!attribute [rw] subnet_id
|
220
228
|
# @return [::String]
|
221
|
-
# Optional. The ARM ID of the default subnet for the control plane. The
|
222
|
-
# VMs are deployed in this subnet, unless
|
229
|
+
# Optional. The ARM ID of the default subnet for the control plane. The
|
230
|
+
# control plane VMs are deployed in this subnet, unless
|
223
231
|
# `AzureControlPlane.replica_placements` is specified. This subnet will also
|
224
232
|
# be used as default for `AzureControlPlane.endpoint_subnet_id` if
|
225
233
|
# `AzureControlPlane.endpoint_subnet_id` is not specified. Similarly it will
|
@@ -264,7 +272,8 @@ module Google
|
|
264
272
|
# Optional. Configuration related to vm config encryption.
|
265
273
|
# @!attribute [rw] tags
|
266
274
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
267
|
-
# Optional. A set of tags to apply to all underlying control plane Azure
|
275
|
+
# Optional. A set of tags to apply to all underlying control plane Azure
|
276
|
+
# resources.
|
268
277
|
# @!attribute [rw] replica_placements
|
269
278
|
# @return [::Array<::Google::Cloud::GkeMultiCloud::V1::ReplicaPlacement>]
|
270
279
|
# Optional. Configuration for where to place the control plane replicas.
|
@@ -274,8 +283,8 @@ module Google
|
|
274
283
|
# to the three control plane replicas as evenly as possible.
|
275
284
|
# @!attribute [rw] endpoint_subnet_id
|
276
285
|
# @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.
|
286
|
+
# Optional. The ARM ID of the subnet where the control plane load balancer is
|
287
|
+
# deployed. When unspecified, it defaults to AzureControlPlane.subnet_id.
|
279
288
|
#
|
280
289
|
# Example:
|
281
290
|
# "/subscriptions/d00494d6-6f3c-4280-bbb2-899e163d1d30/resourceGroups/anthos_cluster_gkeust4/providers/Microsoft.Network/virtualNetworks/gke-vnet-gkeust4/subnets/subnetid123"
|
@@ -296,13 +305,13 @@ module Google
|
|
296
305
|
# Configuration for the placement of a control plane replica.
|
297
306
|
# @!attribute [rw] subnet_id
|
298
307
|
# @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.
|
308
|
+
# Required. For a given replica, the ARM ID of the subnet where the control
|
309
|
+
# plane VM is deployed. Make sure it's a subnet under the virtual network in
|
310
|
+
# the cluster configuration.
|
302
311
|
# @!attribute [rw] azure_availability_zone
|
303
312
|
# @return [::String]
|
304
|
-
# Required. For a given replica, the Azure availability zone where to
|
305
|
-
# control plane VM and the ETCD disk.
|
313
|
+
# Required. For a given replica, the Azure availability zone where to
|
314
|
+
# provision the control plane VM and the ETCD disk.
|
306
315
|
class ReplicaPlacement
|
307
316
|
include ::Google::Protobuf::MessageExts
|
308
317
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -319,6 +328,10 @@ module Google
|
|
319
328
|
# @return [::String]
|
320
329
|
# The URL the of the proxy setting secret with its version.
|
321
330
|
#
|
331
|
+
# The secret must be a JSON encoded proxy configuration
|
332
|
+
# as described in
|
333
|
+
# https://cloud.google.com/anthos/clusters/docs/multi-cloud/azure/how-to/use-a-proxy#create_a_proxy_configuration_file
|
334
|
+
#
|
322
335
|
# Secret ids are formatted as
|
323
336
|
# `https://<key-vault-name>.vault.azure.net/secrets/<secret-name>/<secret-version>`.
|
324
337
|
class AzureProxyConfig
|
@@ -349,13 +362,15 @@ module Google
|
|
349
362
|
# key.
|
350
363
|
# @!attribute [rw] key_id
|
351
364
|
# @return [::String]
|
352
|
-
# Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt config
|
365
|
+
# Required. The ARM ID of the Azure Key Vault key to encrypt / decrypt config
|
366
|
+
# data.
|
353
367
|
#
|
354
368
|
# For example:
|
355
369
|
# `/subscriptions/<subscription-id>/resourceGroups/<resource-group-id>/providers/Microsoft.KeyVault/vaults/<key-vault-id>/keys/<key-name>`
|
356
370
|
# @!attribute [rw] public_key
|
357
371
|
# @return [::String]
|
358
|
-
# Optional. RSA key of the Azure Key Vault public key to use for encrypting
|
372
|
+
# Optional. RSA key of the Azure Key Vault public key to use for encrypting
|
373
|
+
# the data.
|
359
374
|
#
|
360
375
|
# This key must be formatted as a PEM-encoded SubjectPublicKeyInfo (RFC 5280)
|
361
376
|
# in ASN.1 DER form. The string must be comprised of a single PEM block of
|
@@ -380,9 +395,10 @@ module Google
|
|
380
395
|
# `AzureClient` resources hold client authentication information needed by the
|
381
396
|
# Anthos Multi-Cloud API to manage Azure resources on your Azure subscription.
|
382
397
|
#
|
383
|
-
# When an {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} is
|
384
|
-
#
|
385
|
-
#
|
398
|
+
# When an {::Google::Cloud::GkeMultiCloud::V1::AzureCluster AzureCluster} is
|
399
|
+
# created, an `AzureClient` resource needs to be provided and all operations on
|
400
|
+
# Azure resources associated to that cluster will authenticate to Azure
|
401
|
+
# services using the given client.
|
386
402
|
#
|
387
403
|
# `AzureClient` resources are immutable and cannot be modified upon creation.
|
388
404
|
#
|
@@ -472,14 +488,15 @@ module Google
|
|
472
488
|
# see [Resource Names](https://cloud.google.com/apis/design/resource_names)
|
473
489
|
# @!attribute [rw] version
|
474
490
|
# @return [::String]
|
475
|
-
# Required. The Kubernetes version (e.g. `1.19.10-gke.1000`) running on this
|
491
|
+
# Required. The Kubernetes version (e.g. `1.19.10-gke.1000`) running on this
|
492
|
+
# node pool.
|
476
493
|
# @!attribute [rw] config
|
477
494
|
# @return [::Google::Cloud::GkeMultiCloud::V1::AzureNodeConfig]
|
478
495
|
# Required. The node configuration of the node pool.
|
479
496
|
# @!attribute [rw] subnet_id
|
480
497
|
# @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.
|
498
|
+
# Required. The ARM ID of the subnet where the node pool VMs run. Make sure
|
499
|
+
# it's a subnet under the virtual network in the cluster configuration.
|
483
500
|
# @!attribute [rw] autoscaling
|
484
501
|
# @return [::Google::Cloud::GkeMultiCloud::V1::AzureNodePoolAutoscaling]
|
485
502
|
# Required. Autoscaler configuration for this node pool.
|
@@ -526,6 +543,9 @@ module Google
|
|
526
543
|
# Optional. The Azure availability zone of the nodes in this nodepool.
|
527
544
|
#
|
528
545
|
# When unspecified, it defaults to `1`.
|
546
|
+
# @!attribute [r] errors
|
547
|
+
# @return [::Array<::Google::Cloud::GkeMultiCloud::V1::AzureNodePoolError>]
|
548
|
+
# Output only. A set of errors found in the node pool.
|
529
549
|
class AzureNodePool
|
530
550
|
include ::Google::Protobuf::MessageExts
|
531
551
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -585,8 +605,8 @@ module Google
|
|
585
605
|
# When unspecified, it defaults to a 32-GiB Azure Disk.
|
586
606
|
# @!attribute [rw] tags
|
587
607
|
# @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.
|
608
|
+
# Optional. A set of tags to apply to all underlying Azure resources for this
|
609
|
+
# node pool. This currently only includes Virtual Machine Scale Sets.
|
590
610
|
#
|
591
611
|
# Specify at most 50 pairs containing alphanumerics, spaces, and symbols
|
592
612
|
# (.+-=_:@/). Keys can be up to 127 Unicode characters. Values can be up to
|
@@ -644,12 +664,12 @@ module Google
|
|
644
664
|
# size of the node pool based on the cluster load.
|
645
665
|
# @!attribute [rw] min_node_count
|
646
666
|
# @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.
|
667
|
+
# Required. Minimum number of nodes in the node pool. Must be greater than or
|
668
|
+
# equal to 1 and less than or equal to max_node_count.
|
649
669
|
# @!attribute [rw] max_node_count
|
650
670
|
# @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.
|
671
|
+
# Required. Maximum number of nodes in the node pool. Must be greater than or
|
672
|
+
# equal to min_node_count and less than or equal to 50.
|
653
673
|
class AzureNodePoolAutoscaling
|
654
674
|
include ::Google::Protobuf::MessageExts
|
655
675
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -689,9 +709,9 @@ module Google
|
|
689
709
|
# SSH configuration for Azure resources.
|
690
710
|
# @!attribute [rw] authorized_key
|
691
711
|
# @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.
|
712
|
+
# Required. The SSH public key data for VMs managed by Anthos. This accepts
|
713
|
+
# the authorized_keys file format used in OpenSSH according to the sshd(8)
|
714
|
+
# manual page.
|
695
715
|
class AzureSshConfig
|
696
716
|
include ::Google::Protobuf::MessageExts
|
697
717
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -710,6 +730,24 @@ module Google
|
|
710
730
|
include ::Google::Protobuf::MessageExts
|
711
731
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
712
732
|
end
|
733
|
+
|
734
|
+
# AzureClusterError describes errors found on Azure clusters.
|
735
|
+
# @!attribute [rw] message
|
736
|
+
# @return [::String]
|
737
|
+
# Human-friendly description of the error.
|
738
|
+
class AzureClusterError
|
739
|
+
include ::Google::Protobuf::MessageExts
|
740
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
741
|
+
end
|
742
|
+
|
743
|
+
# AzureNodePoolError describes errors found on Azure node pools.
|
744
|
+
# @!attribute [rw] message
|
745
|
+
# @return [::String]
|
746
|
+
# Human-friendly description of the error.
|
747
|
+
class AzureNodePoolError
|
748
|
+
include ::Google::Protobuf::MessageExts
|
749
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
750
|
+
end
|
713
751
|
end
|
714
752
|
end
|
715
753
|
end
|