[BindServiceMethod(typeof(AzureClusters), "BindService")]
public abstract class AzureClustersBase
Base class for server-side implementations of AzureClusters
Namespace
Google.Cloud.GkeMultiCloud.V1Assembly
Google.Cloud.GkeMultiCloud.V1.dll
Methods
CreateAzureClient(CreateAzureClientRequest, ServerCallContext)
public virtual Task<Operation> CreateAzureClient(CreateAzureClientRequest request, ServerCallContext context)
Creates a new [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource on a given Google Cloud project and region.
AzureClient
resources hold client authentication
information needed by the Anthos Multicloud API to manage Azure resources
on your Azure subscription on your behalf.
If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.
Parameters | |
---|---|
Name | Description |
request | CreateAzureClientRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |
CreateAzureCluster(CreateAzureClusterRequest, ServerCallContext)
public virtual Task<Operation> CreateAzureCluster(CreateAzureClusterRequest request, ServerCallContext context)
Creates a new [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource on a given GCP project and region.
If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.
Parameters | |
---|---|
Name | Description |
request | CreateAzureClusterRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |
CreateAzureNodePool(CreateAzureNodePoolRequest, ServerCallContext)
public virtual Task<Operation> CreateAzureNodePool(CreateAzureNodePoolRequest request, ServerCallContext context)
Creates a new [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool], attached to a given [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.
Parameters | |
---|---|
Name | Description |
request | CreateAzureNodePoolRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |
DeleteAzureClient(DeleteAzureClientRequest, ServerCallContext)
public virtual Task<Operation> DeleteAzureClient(DeleteAzureClientRequest request, ServerCallContext context)
Deletes a specific [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource.
If the client is used by one or more clusters, deletion will
fail and a FAILED_PRECONDITION
error will be returned.
If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.
Parameters | |
---|---|
Name | Description |
request | DeleteAzureClientRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |
DeleteAzureCluster(DeleteAzureClusterRequest, ServerCallContext)
public virtual Task<Operation> DeleteAzureCluster(DeleteAzureClusterRequest request, ServerCallContext context)
Deletes a specific [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
Fails if the cluster has one or more associated [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources.
If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.
Parameters | |
---|---|
Name | Description |
request | DeleteAzureClusterRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |
DeleteAzureNodePool(DeleteAzureNodePoolRequest, ServerCallContext)
public virtual Task<Operation> DeleteAzureNodePool(DeleteAzureNodePoolRequest request, ServerCallContext context)
Deletes a specific [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.
If successful, the response contains a newly created [Operation][google.longrunning.Operation] resource that can be described to track the status of the operation.
Parameters | |
---|---|
Name | Description |
request | DeleteAzureNodePoolRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |
GenerateAzureAccessToken(GenerateAzureAccessTokenRequest, ServerCallContext)
public virtual Task<GenerateAzureAccessTokenResponse> GenerateAzureAccessToken(GenerateAzureAccessTokenRequest request, ServerCallContext context)
Generates a short-lived access token to authenticate to a given [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
Parameters | |
---|---|
Name | Description |
request | GenerateAzureAccessTokenRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<GenerateAzureAccessTokenResponse> | The response to send back to the client (wrapped by a task). |
GetAzureClient(GetAzureClientRequest, ServerCallContext)
public virtual Task<AzureClient> GetAzureClient(GetAzureClientRequest request, ServerCallContext context)
Describes a specific [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resource.
Parameters | |
---|---|
Name | Description |
request | GetAzureClientRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<AzureClient> | The response to send back to the client (wrapped by a task). |
GetAzureCluster(GetAzureClusterRequest, ServerCallContext)
public virtual Task<AzureCluster> GetAzureCluster(GetAzureClusterRequest request, ServerCallContext context)
Describes a specific [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resource.
Parameters | |
---|---|
Name | Description |
request | GetAzureClusterRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<AzureCluster> | The response to send back to the client (wrapped by a task). |
GetAzureNodePool(GetAzureNodePoolRequest, ServerCallContext)
public virtual Task<AzureNodePool> GetAzureNodePool(GetAzureNodePoolRequest request, ServerCallContext context)
Describes a specific [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resource.
Parameters | |
---|---|
Name | Description |
request | GetAzureNodePoolRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<AzureNodePool> | The response to send back to the client (wrapped by a task). |
GetAzureServerConfig(GetAzureServerConfigRequest, ServerCallContext)
public virtual Task<AzureServerConfig> GetAzureServerConfig(GetAzureServerConfigRequest request, ServerCallContext context)
Returns information, such as supported Azure regions and Kubernetes versions, on a given Google Cloud location.
Parameters | |
---|---|
Name | Description |
request | GetAzureServerConfigRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<AzureServerConfig> | The response to send back to the client (wrapped by a task). |
ListAzureClients(ListAzureClientsRequest, ServerCallContext)
public virtual Task<ListAzureClientsResponse> ListAzureClients(ListAzureClientsRequest request, ServerCallContext context)
Lists all [AzureClient][google.cloud.gkemulticloud.v1.AzureClient] resources on a given Google Cloud project and region.
Parameters | |
---|---|
Name | Description |
request | ListAzureClientsRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ListAzureClientsResponse> | The response to send back to the client (wrapped by a task). |
ListAzureClusters(ListAzureClustersRequest, ServerCallContext)
public virtual Task<ListAzureClustersResponse> ListAzureClusters(ListAzureClustersRequest request, ServerCallContext context)
Lists all [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster] resources on a given Google Cloud project and region.
Parameters | |
---|---|
Name | Description |
request | ListAzureClustersRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ListAzureClustersResponse> | The response to send back to the client (wrapped by a task). |
ListAzureNodePools(ListAzureNodePoolsRequest, ServerCallContext)
public virtual Task<ListAzureNodePoolsResponse> ListAzureNodePools(ListAzureNodePoolsRequest request, ServerCallContext context)
Lists all [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool] resources on a given [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
Parameters | |
---|---|
Name | Description |
request | ListAzureNodePoolsRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ListAzureNodePoolsResponse> | The response to send back to the client (wrapped by a task). |
UpdateAzureCluster(UpdateAzureClusterRequest, ServerCallContext)
public virtual Task<Operation> UpdateAzureCluster(UpdateAzureClusterRequest request, ServerCallContext context)
Updates an [AzureCluster][google.cloud.gkemulticloud.v1.AzureCluster].
Parameters | |
---|---|
Name | Description |
request | UpdateAzureClusterRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |
UpdateAzureNodePool(UpdateAzureNodePoolRequest, ServerCallContext)
public virtual Task<Operation> UpdateAzureNodePool(UpdateAzureNodePoolRequest request, ServerCallContext context)
Updates an [AzureNodePool][google.cloud.gkemulticloud.v1.AzureNodePool].
Parameters | |
---|---|
Name | Description |
request | UpdateAzureNodePoolRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Operation> | The response to send back to the client (wrapped by a task). |