gkeonprem
import { gkeonprem } from "https://googleapis.deno.dev/v1/gkeonprem:v1.ts";
§Methods
Creates a new bare metal admin cluster in a given project and location. The API needs to be combined with creating a bootstrap cluster to work. See: https://cloud.google.com/anthos/clusters/docs/bare-metal/latest/installing/creating-clusters/create-admin-cluster-api#prepare_bootstrap_environment
Required. The parent of the project and location where the cluster is created in. Format: "projects/{project}/locations/{location}"
Enrolls an existing bare metal admin cluster to the Anthos On-Prem API within a given project and location. Through enrollment, an existing admin cluster will become Anthos On-Prem API managed. The corresponding GCP resources will be created and all future modifications to the cluster will be expected to be performed through the API.
Required. The parent of the project and location where the cluster is enrolled in. Format: "projects/{project}/locations/{location}"
Gets details of a single bare metal admin cluster.
Required. Name of the bare metal admin cluster to get. Format: "projects/{project}/locations/{location}/bareMetalAdminClusters/{bare_metal_admin_cluster}"
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.
Lists bare metal admin clusters in a given project and location.
Required. The parent of the project and location where the clusters are listed in. Format: "projects/{project}/locations/{location}"
Lists operations that match the specified filter in the request. If the
server doesn't support this method, it returns UNIMPLEMENTED
.
The name of the operation's parent resource.
Updates the parameters of a single bare metal admin cluster.
Immutable. The bare metal admin cluster resource name.
Queries the bare metal admin cluster version config.
Required. The parent of the project and location to query for version config. Format: "projects/{project}/locations/{location}"
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors.
REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of permissions, not
a NOT_FOUND
error. Note: This operation is designed to be used for
building permission-aware UIs and command-line tools, not for authorization
checking. This operation may "fail open" without warning.
REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.
Unenrolls an existing bare metal admin cluster from the Anthos On-Prem API within a given project and location. Unenrollment removes the Cloud reference to the cluster without modifying the underlying OnPrem Resources. Clusters will continue to run; however, they will no longer be accessible through the Anthos On-Prem API or its clients.
Required. Name of the bare metal admin cluster to be unenrolled. Format: "projects/{project}/locations/{location}/bareMetalAdminClusters/{cluster}"
Creates a new bare metal node pool in a given project, location and Bare Metal cluster.
Required. The parent resource where this node pool will be created. projects/{project}/locations/{location}/bareMetalClusters/{cluster}
Deletes a single bare metal node pool.
Required. The name of the node pool to delete. Format: projects/{project}/locations/{location}/bareMetalClusters/{cluster}/bareMetalNodePools/{nodepool}
Enrolls an existing bare metal node pool to the Anthos On-Prem API within a given project and location. Through enrollment, an existing node pool will become Anthos On-Prem API managed. The corresponding GCP resources will be created.
Required. The parent resource where this node pool will be created. projects/{project}/locations/{location}/bareMetalClusters/{cluster}
Gets details of a single bare metal node pool.
Required. The name of the node pool to retrieve. projects/{project}/locations/{location}/bareMetalClusters/{cluster}/bareMetalNodePools/{nodepool}
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.
Lists bare metal node pools in a given project, location and bare metal cluster.
Required. The parent, which owns this collection of node pools. Format: projects/{project}/locations/{location}/bareMetalClusters/{bareMetalCluster}
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
The name of the operation resource.
Lists operations that match the specified filter in the request. If the
server doesn't support this method, it returns UNIMPLEMENTED
.
The name of the operation's parent resource.
Updates the parameters of a single bare metal node pool.
Immutable. The bare metal node pool resource name.
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors.
REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of permissions, not
a NOT_FOUND
error. Note: This operation is designed to be used for
building permission-aware UIs and command-line tools, not for authorization
checking. This operation may "fail open" without warning.
REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.
Unenrolls a bare metal node pool from Anthos On-Prem API.
Required. The name of the node pool to unenroll. Format: projects/{project}/locations/{location}/bareMetalClusters/{cluster}/bareMetalNodePools/{nodepool}
Creates a new bare metal cluster in a given project and location.
Required. The parent of the project and location where the cluster is created in. Format: "projects/{project}/locations/{location}"
Deletes a single bare metal Cluster.
Required. Name of the bare metal user cluster to be deleted. Format: "projects/{project}/locations/{location}/bareMetalClusters/{bare_metal_cluster}"
Enrolls an existing bare metal user cluster and its node pools to the Anthos On-Prem API within a given project and location. Through enrollment, an existing cluster will become Anthos On-Prem API managed. The corresponding GCP resources will be created and all future modifications to the cluster and/or its node pools will be expected to be performed through the API.
Required. The parent of the project and location where the cluster is enrolled in. Format: "projects/{project}/locations/{location}"
Gets details of a single bare metal Cluster.
Required. Name of the bare metal user cluster to get. Format: "projects/{project}/locations/{location}/bareMetalClusters/{bare_metal_cluster}"
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.
Lists bare metal clusters in a given project and location.
Required. The parent of the project and location where the clusters are listed in. Format: "projects/{project}/locations/{location}"
Lists operations that match the specified filter in the request. If the
server doesn't support this method, it returns UNIMPLEMENTED
.
The name of the operation's parent resource.
Updates the parameters of a single bare metal Cluster.
Immutable. The bare metal user cluster resource name.
Queries the bare metal user cluster version config.
Required. The parent of the project and location to query for version config. Format: "projects/{project}/locations/{location}"
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors.
REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of permissions, not
a NOT_FOUND
error. Note: This operation is designed to be used for
building permission-aware UIs and command-line tools, not for authorization
checking. This operation may "fail open" without warning.
REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.
Unenrolls an existing bare metal user cluster and its node pools from the Anthos On-Prem API within a given project and location. Unenrollment removes the Cloud reference to the cluster without modifying the underlying OnPrem Resources. Clusters and node pools will continue to run; however, they will no longer be accessible through the Anthos On-Prem API or its clients.
Required. Name of the bare metal user cluster to be unenrolled. Format: "projects/{project}/locations/{location}/bareMetalClusters/{cluster}"
Lists information about the supported locations for this service.
The resource that owns the locations collection, if applicable.
Starts asynchronous cancellation on a long-running operation. The server
makes a best effort to cancel the operation, but success is not guaranteed.
If the server doesn't support this method, it returns
google.rpc.Code.UNIMPLEMENTED
. Clients can use Operations.GetOperation or
other methods to check whether the cancellation succeeded or whether the
operation completed despite cancellation. On successful cancellation, the
operation is not deleted; instead, it becomes an operation with an
Operation.error value with a google.rpc.Status.code of 1, corresponding to
Code.CANCELLED
.
The name of the operation resource to be cancelled.
Deletes a long-running operation. This method indicates that the client is
no longer interested in the operation result. It does not cancel the
operation. If the server doesn't support this method, it returns
google.rpc.Code.UNIMPLEMENTED
.
The name of the operation resource to be deleted.
Lists operations that match the specified filter in the request. If the
server doesn't support this method, it returns UNIMPLEMENTED
.
The name of the operation's parent resource.
Enrolls an existing VMware admin cluster to the Anthos On-Prem API within a given project and location. Through enrollment, an existing admin cluster will become Anthos On-Prem API managed. The corresponding GCP resources will be created and all future modifications to the cluster will be expected to be performed through the API.
Required. The parent of the project and location where the cluster is enrolled in. Format: "projects/{project}/locations/{location}"
Gets details of a single VMware admin cluster.
Required. Name of the VMware admin cluster to be returned. Format: "projects/{project}/locations/{location}/vmwareAdminClusters/{vmware_admin_cluster}"
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.
Lists VMware admin clusters in a given project and location.
Required. The parent of the project and location where the clusters are listed in. Format: "projects/{project}/locations/{location}"
Lists operations that match the specified filter in the request. If the
server doesn't support this method, it returns UNIMPLEMENTED
.
The name of the operation's parent resource.
Updates the parameters of a single VMware admin cluster.
Immutable. The VMware admin cluster resource name.
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors.
REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of permissions, not
a NOT_FOUND
error. Note: This operation is designed to be used for
building permission-aware UIs and command-line tools, not for authorization
checking. This operation may "fail open" without warning.
REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.
Unenrolls an existing VMware admin cluster from the Anthos On-Prem API within a given project and location. Unenrollment removes the Cloud reference to the cluster without modifying the underlying OnPrem Resources. Clusters will continue to run; however, they will no longer be accessible through the Anthos On-Prem API or its clients.
Required. Name of the VMware admin cluster to be unenrolled. Format: "projects/{project}/locations/{location}/vmwareAdminClusters/{cluster}"
Creates a new VMware user cluster in a given project and location.
Required. The parent of the project and location where this cluster is created in. Format: "projects/{project}/locations/{location}"
Deletes a single VMware Cluster.
Required. Name of the VMware user cluster to be deleted. Format: "projects/{project}/locations/{location}/vmwareClusters/{vmware_cluster}"
Enrolls an existing VMware user cluster and its node pools to the Anthos On-Prem API within a given project and location. Through enrollment, an existing cluster will become Anthos On-Prem API managed. The corresponding GCP resources will be created and all future modifications to the cluster and/or its node pools will be expected to be performed through the API.
Required. The parent of the project and location where the cluster is Enrolled in. Format: "projects/{project}/locations/{location}"
Gets details of a single VMware Cluster.
Required. Name of the VMware user cluster to be returned. Format: "projects/{project}/locations/{location}/vmwareClusters/{vmware_cluster}"
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.
Lists VMware Clusters in a given project and location.
Required. The parent of the project and location where the clusters are listed in. Format: "projects/{project}/locations/{location}"
Lists operations that match the specified filter in the request. If the
server doesn't support this method, it returns UNIMPLEMENTED
.
The name of the operation's parent resource.
Updates the parameters of a single VMware cluster.
Immutable. The VMware user cluster resource name.
Queries the VMware user cluster version config.
Required. The parent of the project and location to query for version config. Format: "projects/{project}/locations/{location}"
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors.
REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of permissions, not
a NOT_FOUND
error. Note: This operation is designed to be used for
building permission-aware UIs and command-line tools, not for authorization
checking. This operation may "fail open" without warning.
REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.
Unenrolls an existing VMware user cluster and its node pools from the Anthos On-Prem API within a given project and location. Unenrollment removes the Cloud reference to the cluster without modifying the underlying OnPrem Resources. Clusters and node pools will continue to run; however, they will no longer be accessible through the Anthos On-Prem API or UI.
Required. Name of the VMware user cluster to be unenrolled. Format: "projects/{project}/locations/{location}/vmwareClusters/{vmware_cluster}"
Creates a new VMware node pool in a given project, location and VMWare cluster.
Required. The parent resource where this node pool will be created. projects/{project}/locations/{location}/vmwareClusters/{cluster}
Deletes a single VMware node pool.
Required. The name of the node pool to delete. Format: projects/{project}/locations/{location}/vmwareClusters/{cluster}/vmwareNodePools/{nodepool}
Enrolls a VMware node pool to Anthos On-Prem API
Required. The parent resource where the node pool is enrolled in.
Gets details of a single VMware node pool.
Required. The name of the node pool to retrieve. projects/{project}/locations/{location}/vmwareClusters/{cluster}/vmwareNodePools/{nodepool}
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.
Lists VMware node pools in a given project, location and VMWare cluster.
Required. The parent, which owns this collection of node pools. Format: projects/{project}/locations/{location}/vmwareClusters/{vmwareCluster}
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
The name of the operation resource.
Lists operations that match the specified filter in the request. If the
server doesn't support this method, it returns UNIMPLEMENTED
.
The name of the operation's parent resource.
Updates the parameters of a single VMware node pool.
Immutable. The resource name of this node pool.
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors.
REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of permissions, not
a NOT_FOUND
error. Note: This operation is designed to be used for
building permission-aware UIs and command-line tools, not for authorization
checking. This operation may "fail open" without warning.
REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.
Unenrolls a VMware node pool to Anthos On-Prem API
Required. The name of the node pool to unenroll. Format: projects/{project}/locations/{location}/vmwareClusters/{cluster}/vmwareNodePools/{nodepool}