Google Anthos Multi Cloud V1 Client - Class AzureServerConfig (0.1.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

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 GCP 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 GCP resource names.

Generated from protobuf field string name = 1;

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 GCP resource names.

Generated from protobuf field string name = 1;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getValidVersions

List of valid Kubernetes versions.

Generated from protobuf field repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setValidVersions

List of valid Kubernetes versions.

Generated from protobuf field repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2;

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

getSupportedAzureRegions

The list of supported Azure regions.

Generated from protobuf field repeated string supported_azure_regions = 3;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setSupportedAzureRegions

The list of supported Azure regions.

Generated from protobuf field repeated string supported_azure_regions = 3;

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this