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

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
NameDescription
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 valid Kubernetes versions.

↳ 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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getValidVersions

List of valid Kubernetes versions.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setValidVersions

List of valid Kubernetes versions.

Parameter
NameDescription
var array<Google\Cloud\GkeMultiCloud\V1\AzureK8sVersionInfo>
Returns
TypeDescription
$this

getSupportedAzureRegions

The list of supported Azure regions.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setSupportedAzureRegions

The list of supported Azure regions.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this