Google Anthos Multi Cloud V1 Client - Class AzureServerConfig (1.1.0)

Reference documentation and code samples for the Google Anthos Multi Cloud V1 Client class AzureServerConfig.

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

Generated from protobuf message google.cloud.gkemulticloud.v1.AzureServerConfig

Namespace

Google \ Cloud \ GkeMultiCloud \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

The AzureServerConfig resource name. AzureServerConfig names are formatted as projects/<project-number>/locations/<region>/azureServerConfig. See Resource Names for more details on Google Cloud Platform resource names.

↳ valid_versions array<Google\Cloud\GkeMultiCloud\V1\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

↳ supported_azure_regions array

The list of supported Azure regions.

getName

The AzureServerConfig resource name.

AzureServerConfig names are formatted as projects/<project-number>/locations/<region>/azureServerConfig. See Resource Names for more details on Google Cloud Platform resource names.

Returns
Type Description
string

setName

The AzureServerConfig resource name.

AzureServerConfig names are formatted as projects/<project-number>/locations/<region>/azureServerConfig. See Resource Names for more details on Google Cloud Platform resource names.

Parameter
Name Description
var string
Returns
Type Description
$this

getValidVersions

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

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setValidVersions

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

Parameter
Name Description
var array<Google\Cloud\GkeMultiCloud\V1\AzureK8sVersionInfo>
Returns
Type Description
$this

getSupportedAzureRegions

The list of supported Azure regions.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setSupportedAzureRegions

The list of supported Azure regions.

Parameter
Name Description
var string[]
Returns
Type Description
$this