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 | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
The |
↳ 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 | |
---|---|
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 GCP resource names.
Generated from protobuf field string name = 1;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getValidVersions
List of valid Kubernetes versions.
Generated from protobuf field repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setValidVersions
List of valid Kubernetes versions.
Generated from protobuf field repeated .google.cloud.gkemulticloud.v1.AzureK8sVersionInfo valid_versions = 2;
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\GkeMultiCloud\V1\AzureK8sVersionInfo>
|
Returns | |
---|---|
Type | Description |
$this |
getSupportedAzureRegions
The list of supported Azure regions.
Generated from protobuf field repeated string supported_azure_regions = 3;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setSupportedAzureRegions
The list of supported Azure regions.
Generated from protobuf field repeated string supported_azure_regions = 3;
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |