# Method: projects.locations.getAzureServerConfig

- [HTTP request](https://docs.cloud.google.com/kubernetes-engine/multi-cloud/docs/reference/rest/v1/projects.locations/getAzureServerConfig#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/kubernetes-engine/multi-cloud/docs/reference/rest/v1/projects.locations/getAzureServerConfig#body.PATH_PARAMETERS)
- [Request body](https://docs.cloud.google.com/kubernetes-engine/multi-cloud/docs/reference/rest/v1/projects.locations/getAzureServerConfig#body.request_body)
- [Response body](https://docs.cloud.google.com/kubernetes-engine/multi-cloud/docs/reference/rest/v1/projects.locations/getAzureServerConfig#body.response_body)
  - [JSON representation](https://docs.cloud.google.com/kubernetes-engine/multi-cloud/docs/reference/rest/v1/projects.locations/getAzureServerConfig#body.AzureServerConfig.SCHEMA_REPRESENTATION)
- [Authorization scopes](https://docs.cloud.google.com/kubernetes-engine/multi-cloud/docs/reference/rest/v1/projects.locations/getAzureServerConfig#body.aspect)
- [IAM Permissions](https://docs.cloud.google.com/kubernetes-engine/multi-cloud/docs/reference/rest/v1/projects.locations/getAzureServerConfig#body.aspect_1)
- [AzureK8sVersionInfo](https://docs.cloud.google.com/kubernetes-engine/multi-cloud/docs/reference/rest/v1/projects.locations/getAzureServerConfig#AzureK8sVersionInfo)
  - [JSON representation](https://docs.cloud.google.com/kubernetes-engine/multi-cloud/docs/reference/rest/v1/projects.locations/getAzureServerConfig#AzureK8sVersionInfo.SCHEMA_REPRESENTATION)

> [!WARNING]
> GKE-on-Azure is deprecated. See <https://cloud.google.com/kubernetes-engine/multi-cloud/docs/azure/deprecations/deprecation-announcement> for more details.

Returns information, such as supported Azure regions and Kubernetes versions, on a given Google Cloud location.

### HTTP request

`GET https://{endpoint}/v1/{name=projects/*/locations/*/azureServerConfig}`

Where `{endpoint}` is one of the [supported service endpoints](https://docs.cloud.google.com/kubernetes-engine/multi-cloud/docs/reference/rest#rest_endpoints).

The URLs use [gRPC Transcoding](https://google.aip.dev/127) syntax.

### Path parameters

| Parameters ||
|---|---|
| `name` | `string` Required. The name of the `https://docs.cloud.google.com/kubernetes-engine/multi-cloud/docs/reference/rest/v1/projects.locations/getAzureServerConfig#body.AzureServerConfig` resource to describe. `AzureServerConfig` names are formatted as `projects/<project-id>/locations/<region>/azureServerConfig`. See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud resource names. |

### Request body

The request body must be empty.

### Response body

> [!WARNING]
> GKE-on-Azure is deprecated. See <https://cloud.google.com/kubernetes-engine/multi-cloud/docs/azure/deprecations/deprecation-announcement> for more details.

AzureServerConfig contains information about a Google Cloud location, such as supported Azure regions and Kubernetes versions.

If successful, the response body contains data with the following structure:

| JSON representation |
|---|
| ``` { "name": string, "validVersions": [ { object (`https://docs.cloud.google.com/kubernetes-engine/multi-cloud/docs/reference/rest/v1/projects.locations/getAzureServerConfig#AzureK8sVersionInfo`) } ], "supportedAzureRegions": [ string ] } ``` |

| Fields ||
|---|---|
| `name` | `string` The `AzureServerConfig` resource name. `AzureServerConfig` names are formatted as `projects/<project-number>/locations/<region>/azureServerConfig`. See [Resource Names](https://cloud.google.com/apis/design/resource_names) for more details on Google Cloud Platform resource names. |
| `validVersions[]` | ``object (`https://docs.cloud.google.com/kubernetes-engine/multi-cloud/docs/reference/rest/v1/projects.locations/getAzureServerConfig#AzureK8sVersionInfo`)`` List of all released Kubernetes versions, including ones which are end of life and can no longer be used. Filter by the `enabled` property to limit to currently available versions. Valid versions supported for both create and update operations |
| `supportedAzureRegions[]` | `string` The list of supported Azure regions. |

### Authorization scopes

Requires the following OAuth scope:

- `https://www.googleapis.com/auth/cloud-platform`

For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp).

### IAM Permissions

Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource:

- `gkemulticloud.azureServerConfigs.get`

For more information, see the [IAM documentation](https://cloud.google.com/iam/docs).

## AzureK8sVersionInfo

> [!WARNING]
> GKE-on-Azure is deprecated. See <https://cloud.google.com/kubernetes-engine/multi-cloud/docs/azure/deprecations/deprecation-announcement> for more details.

Kubernetes version information of GKE cluster on Azure.

| JSON representation |
|---|
| ``` { "version": string, "enabled": boolean, "endOfLife": boolean, "endOfLifeDate": { object (`https://docs.cloud.google.com/kubernetes-engine/multi-cloud/docs/reference/rest/v1/Date`) }, "releaseDate": { object (`https://docs.cloud.google.com/kubernetes-engine/multi-cloud/docs/reference/rest/v1/Date`) } } ``` |

| Fields ||
|---|---|
| `version` | `string` Kubernetes version name (for example, `1.19.10-gke.1000`) |
| `enabled` | `boolean` Optional. True if the version is available for cluster creation. If a version is enabled for creation, it can be used to create new clusters. Otherwise, cluster creation will fail. However, cluster upgrade operations may succeed, even if the version is not enabled. |
| `endOfLife` | `boolean` Optional. True if this cluster version belongs to a minor version that has reached its end of life and is no longer in scope to receive security and bug fixes. |
| `endOfLifeDate` | ``object (`https://docs.cloud.google.com/kubernetes-engine/multi-cloud/docs/reference/rest/v1/Date`)`` Optional. The estimated date (in Pacific Time) when this cluster version will reach its end of life. Or if this version is no longer supported (the `endOfLife` field is true), this is the actual date (in Pacific time) when the version reached its end of life. |
| `releaseDate` | ``object (`https://docs.cloud.google.com/kubernetes-engine/multi-cloud/docs/reference/rest/v1/Date`)`` Optional. The date (in Pacific Time) when the cluster version was released. |