Skip to content

Commit

Permalink
feat(gkeonprem)!: update the API
Browse files Browse the repository at this point in the history
BREAKING CHANGE: This release has breaking changes.

#### gkeonprem:v1

The following keys were deleted:
- schemas.VmwareControlPlaneVsphereConfig.properties.storagePolicyName.description
- schemas.VmwareControlPlaneVsphereConfig.properties.storagePolicyName.type
- schemas.VmwareVCenterConfig.properties.storagePolicyName.description
- schemas.VmwareVCenterConfig.properties.storagePolicyName.type
- schemas.VmwareVsphereConfig.properties.storagePolicyName.description
- schemas.VmwareVsphereConfig.properties.storagePolicyName.type

The following keys were changed:
- schemas.OperationMetadata.properties.type.enum
- schemas.OperationMetadata.properties.type.enumDescriptions
  • Loading branch information
yoshi-automation authored and sofisl committed Jul 18, 2023
1 parent 10ada5b commit fbacd1b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 27 deletions.
20 changes: 5 additions & 15 deletions discovery/gkeonprem-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2996,7 +2996,7 @@
}
}
},
"revision": "20230626",
"revision": "20230705",
"rootUrl": "https://gkeonprem.googleapis.com/",
"schemas": {
"Authorization": {
Expand Down Expand Up @@ -4909,14 +4909,16 @@
"CREATE",
"DELETE",
"UPDATE",
"UPGRADE"
"UPGRADE",
"PLATFORM_UPGRADE"
],
"enumDescriptions": [
"Not set.",
"The resource is being created.",
"The resource is being deleted.",
"The resource is being updated.",
"The resource is being upgraded."
"The resource is being upgraded.",
"The platform is being upgraded."
],
"readOnly": true,
"type": "string"
Expand Down Expand Up @@ -5932,10 +5934,6 @@
"datastore": {
"description": "The Vsphere datastore used by the control plane Node.",
"type": "string"
},
"storagePolicyName": {
"description": "The Vsphere storage policy used by the control plane Node.",
"type": "string"
}
},
"type": "object"
Expand Down Expand Up @@ -6414,10 +6412,6 @@
"resourcePool": {
"description": "The name of the vCenter resource pool for the user cluster.",
"type": "string"
},
"storagePolicyName": {
"description": "The name of the vCenter storage policy for the user cluster.",
"type": "string"
}
},
"type": "object"
Expand Down Expand Up @@ -6464,10 +6458,6 @@
"description": "The name of the vCenter datastore. Inherited from the user cluster.",
"type": "string"
},
"storagePolicyName": {
"description": "The name of the vCenter storage policy. Inherited from the user cluster.",
"type": "string"
},
"tags": {
"description": "Tags to apply to VMs.",
"items": {
Expand Down
12 changes: 0 additions & 12 deletions src/apis/gkeonprem/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2262,10 +2262,6 @@ export namespace gkeonprem_v1 {
* The Vsphere datastore used by the control plane Node.
*/
datastore?: string | null;
/**
* The Vsphere storage policy used by the control plane Node.
*/
storagePolicyName?: string | null;
}
/**
* Contains configurations for Dataplane V2, which is optimized dataplane for Kubernetes networking. For more information, see: https://cloud.google.com/kubernetes-engine/docs/concepts/dataplane-v2
Expand Down Expand Up @@ -2631,10 +2627,6 @@ export namespace gkeonprem_v1 {
* The name of the vCenter resource pool for the user cluster.
*/
resourcePool?: string | null;
/**
* The name of the vCenter storage policy for the user cluster.
*/
storagePolicyName?: string | null;
}
/**
* Contains information about a specific Anthos on VMware version.
Expand Down Expand Up @@ -2674,10 +2666,6 @@ export namespace gkeonprem_v1 {
* The name of the vCenter datastore. Inherited from the user cluster.
*/
datastore?: string | null;
/**
* The name of the vCenter storage policy. Inherited from the user cluster.
*/
storagePolicyName?: string | null;
/**
* Tags to apply to VMs.
*/
Expand Down

0 comments on commit fbacd1b

Please sign in to comment.