google-cloud-gke-multi-cloud overview (0.2.0)

com.google.cloud.gkemulticloud.v1

A client to Anthos Multi-Cloud API

The interfaces provided are listed below, along with usage samples.

AwsClustersClient

Service Description: The AwsClusters API provides a single centrally managed service to create and manage Anthos clusters that run on AWS infrastructure.

Sample for AwsClustersClient:


 // This snippet has been automatically generated for illustrative purposes only.
 // It may require modifications to work in your environment.
 try (AwsClustersClient awsClustersClient = AwsClustersClient.create()) {
   AwsClusterName name = AwsClusterName.of("[PROJECT]", "[LOCATION]", "[AWS_CLUSTER]");
   AwsCluster response = awsClustersClient.getAwsCluster(name);
 }
 

AzureClustersClient

Service Description: The AzureClusters API provides a single centrally managed service to create and manage Anthos clusters that run on Azure infrastructure.

Sample for AzureClustersClient:


 // This snippet has been automatically generated for illustrative purposes only.
 // It may require modifications to work in your environment.
 try (AzureClustersClient azureClustersClient = AzureClustersClient.create()) {
   AzureClientName name = AzureClientName.of("[PROJECT]", "[LOCATION]", "[AZURE_CLIENT]");
   AzureClient response = azureClustersClient.getAzureClient(name);
 }
 

com.google.cloud.gkemulticloud.v1.stub