@maxim_mazurok/gapi.client.vmwareengine-v1 0.0.20240621 → 0.0.20240729

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.
Files changed (2) hide show
  1. package/index.d.ts +33 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://vmwareengine.googleapis.com/$discovery/rest?version=v1
12
- // Revision: 20240621
12
+ // Revision: 20240729
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -36,6 +36,30 @@ declare namespace gapi.client {
36
36
  /** The log type that this config enables. */
37
37
  logType?: string;
38
38
  }
39
+ interface AutoscalingPolicy {
40
+ /** Optional. Utilization thresholds pertaining to amount of consumed memory. */
41
+ consumedMemoryThresholds?: Thresholds;
42
+ /** Optional. Utilization thresholds pertaining to CPU utilization. */
43
+ cpuThresholds?: Thresholds;
44
+ /** Optional. Utilization thresholds pertaining to amount of granted memory. */
45
+ grantedMemoryThresholds?: Thresholds;
46
+ /** Required. The canonical identifier of the node type to add or remove. Corresponds to the `NodeType`. */
47
+ nodeTypeId?: string;
48
+ /** Required. Number of nodes to add to a cluster during a scale-out operation. Must be divisible by 2 for stretched clusters. During a scale-in operation only one node (or 2 for stretched clusters) are removed in a single iteration. */
49
+ scaleOutSize?: number;
50
+ /** Optional. Utilization thresholds pertaining to amount of consumed storage. */
51
+ storageThresholds?: Thresholds;
52
+ }
53
+ interface AutoscalingSettings {
54
+ /** Required. The map with autoscaling policies applied to the cluster. The key is the identifier of the policy. It must meet the following requirements: * Only contains 1-63 alphanumeric characters and hyphens * Begins with an alphabetical character * Ends with a non-hyphen character * Not formatted as a UUID * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5) Currently there map must contain only one element that describes the autoscaling policy for compute nodes. */
55
+ autoscalingPolicies?: {[P in string]: AutoscalingPolicy};
56
+ /** Optional. The minimum duration between consecutive autoscale operations. It starts once addition or removal of nodes is fully completed. Defaults to 30 minutes if not specified. Cool down period must be in whole minutes (for example, 30, 31, 50, 180 minutes). */
57
+ coolDownPeriod?: string;
58
+ /** Optional. Maximum number of nodes of any type in a cluster. If not specified the default limits apply. */
59
+ maxClusterNodeCount?: number;
60
+ /** Optional. Minimum number of nodes of any type in a cluster. If not specified the default limits apply. */
61
+ minClusterNodeCount?: number;
62
+ }
39
63
  interface Binding {
40
64
  /** The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
41
65
  condition?: Expr;
@@ -45,6 +69,8 @@ declare namespace gapi.client {
45
69
  role?: string;
46
70
  }
47
71
  interface Cluster {
72
+ /** Optional. Configuration of the autoscaling applied to this cluster. */
73
+ autoscalingSettings?: AutoscalingSettings;
48
74
  /** Output only. Creation time of this resource. */
49
75
  createTime?: string;
50
76
  /** Output only. True if the cluster is a management cluster; false otherwise. There can only be one management cluster in a private cloud and it has to be the first one. */
@@ -691,6 +717,12 @@ declare namespace gapi.client {
691
717
  /** A subset of `TestPermissionsRequest.permissions` that the caller is allowed. */
692
718
  permissions?: string[];
693
719
  }
720
+ interface Thresholds {
721
+ /** Required. The utilization triggering the scale-in operation in percent. */
722
+ scaleIn?: number;
723
+ /** Required. The utilization triggering the scale-out operation in percent. */
724
+ scaleOut?: number;
725
+ }
694
726
  interface UndeletePrivateCloudRequest {
695
727
  /** Optional. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). */
696
728
  requestId?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.vmwareengine-v1",
3
- "version": "0.0.20240621",
3
+ "version": "0.0.20240729",
4
4
  "description": "TypeScript typings for VMware Engine API v1",
5
5
  "repository": {
6
6
  "type": "git",