Class ProjectsResource.LocationsResource.VmwareAdminClustersResource
The "vmwareAdminClusters" collection of methods.
Inherited Members
Namespace: Google.Apis.GKEOnPrem.v1
Assembly: Google.Apis.GKEOnPrem.v1.dll
Syntax
public class ProjectsResource.LocationsResource.VmwareAdminClustersResource
Constructors
VmwareAdminClustersResource(IClientService)
Constructs a new resource.
Declaration
public VmwareAdminClustersResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Operations
Gets the Operations resource.
Declaration
public virtual ProjectsResource.LocationsResource.VmwareAdminClustersResource.OperationsResource Operations { get; }
Property Value
Type | Description |
---|---|
ProjectsResource.LocationsResource.VmwareAdminClustersResource.OperationsResource |
Methods
Create(VmwareAdminCluster, string)
Creates a new VMware admin cluster in a given project and location. The API needs to be combined with creating a bootstrap cluster to work.
Declaration
public virtual ProjectsResource.LocationsResource.VmwareAdminClustersResource.CreateRequest Create(VmwareAdminCluster body, string parent)
Parameters
Type | Name | Description |
---|---|---|
VmwareAdminCluster | body | The body of the request. |
string | parent | Required. The parent of the project and location where the cluster is created in. Format: "projects/{project}/locations/{location}" |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.VmwareAdminClustersResource.CreateRequest |
Enroll(EnrollVmwareAdminClusterRequest, string)
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.
Declaration
public virtual ProjectsResource.LocationsResource.VmwareAdminClustersResource.EnrollRequest Enroll(EnrollVmwareAdminClusterRequest body, string parent)
Parameters
Type | Name | Description |
---|---|---|
EnrollVmwareAdminClusterRequest | body | The body of the request. |
string | parent | Required. The parent of the project and location where the cluster is enrolled in. Format: "projects/{project}/locations/{location}" |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.VmwareAdminClustersResource.EnrollRequest |
Get(string)
Gets details of a single VMware admin cluster.
Declaration
public virtual ProjectsResource.LocationsResource.VmwareAdminClustersResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Name of the VMware admin cluster to be returned. Format: "projects/{project}/locations/{location}/vmwareAdminClusters/{vmware_admin_cluster}" |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.VmwareAdminClustersResource.GetRequest |
GetIamPolicy(string)
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
Declaration
public virtual ProjectsResource.LocationsResource.VmwareAdminClustersResource.GetIamPolicyRequest GetIamPolicy(string resource)
Parameters
Type | Name | Description |
---|---|---|
string | resource | REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.VmwareAdminClustersResource.GetIamPolicyRequest |
List(string)
Lists VMware admin clusters in a given project and location.
Declaration
public virtual ProjectsResource.LocationsResource.VmwareAdminClustersResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent of the project and location where the clusters are listed in. Format: "projects/{project}/locations/{location}" |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.VmwareAdminClustersResource.ListRequest |
Patch(VmwareAdminCluster, string)
Updates the parameters of a single VMware admin cluster.
Declaration
public virtual ProjectsResource.LocationsResource.VmwareAdminClustersResource.PatchRequest Patch(VmwareAdminCluster body, string name)
Parameters
Type | Name | Description |
---|---|---|
VmwareAdminCluster | body | The body of the request. |
string | name | Immutable. The VMware admin cluster resource name. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.VmwareAdminClustersResource.PatchRequest |
SetIamPolicy(SetIamPolicyRequest, string)
Sets the access control policy on the specified resource. Replaces any existing policy. Can return
NOT_FOUND
, INVALID_ARGUMENT
, and PERMISSION_DENIED
errors.
Declaration
public virtual ProjectsResource.LocationsResource.VmwareAdminClustersResource.SetIamPolicyRequest SetIamPolicy(SetIamPolicyRequest body, string resource)
Parameters
Type | Name | Description |
---|---|---|
SetIamPolicyRequest | body | The body of the request. |
string | resource | REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.VmwareAdminClustersResource.SetIamPolicyRequest |
TestIamPermissions(TestIamPermissionsRequest, string)
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.
Declaration
public virtual ProjectsResource.LocationsResource.VmwareAdminClustersResource.TestIamPermissionsRequest TestIamPermissions(TestIamPermissionsRequest body, string resource)
Parameters
Type | Name | Description |
---|---|---|
TestIamPermissionsRequest | body | The body of the request. |
string | resource | REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.VmwareAdminClustersResource.TestIamPermissionsRequest |
Unenroll(string)
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.
Declaration
public virtual ProjectsResource.LocationsResource.VmwareAdminClustersResource.UnenrollRequest Unenroll(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Name of the VMware admin cluster to be unenrolled. Format: "projects/{project}/locations/{location}/vmwareAdminClusters/{cluster}" |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.VmwareAdminClustersResource.UnenrollRequest |