Google Anthos Multi Cloud V1 Client - Class CreateAzureClientRequest (1.1.2)

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

Request message for AzureClusters.CreateAzureClient method.

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

Namespace

Google \ Cloud \ GkeMultiCloud \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent location where this AzureClient resource will be created. Location names are formatted as projects/<project-id>/locations/<region>. See Resource Names for more details on Google Cloud resource names.

↳ azure_client AzureClient

Required. The specification of the AzureClient to create.

↳ azure_client_id string

Required. A client provided ID the resource. Must be unique within the parent resource. The provided ID will be part of the AzureClient resource name formatted as projects/<project-id>/locations/<region>/azureClients/<client-id>. Valid characters are /[a-z][0-9]-/. Cannot be longer than 63 characters.

↳ validate_only bool

If set, only validate the request, but do not actually create the client.

getParent

Required. The parent location where this AzureClient resource will be created.

Location names are formatted as projects/<project-id>/locations/<region>. See Resource Names for more details on Google Cloud resource names.

Returns
Type Description
string

setParent

Required. The parent location where this AzureClient resource will be created.

Location names are formatted as projects/<project-id>/locations/<region>. See Resource Names for more details on Google Cloud resource names.

Parameter
Name Description
var string
Returns
Type Description
$this

getAzureClient

Required. The specification of the AzureClient to create.

Returns
Type Description
AzureClient|null

hasAzureClient

clearAzureClient

setAzureClient

Required. The specification of the AzureClient to create.

Parameter
Name Description
var AzureClient
Returns
Type Description
$this

getAzureClientId

Required. A client provided ID the resource. Must be unique within the parent resource.

The provided ID will be part of the AzureClient resource name formatted as projects/<project-id>/locations/<region>/azureClients/<client-id>. Valid characters are /[a-z][0-9]-/. Cannot be longer than 63 characters.

Returns
Type Description
string

setAzureClientId

Required. A client provided ID the resource. Must be unique within the parent resource.

The provided ID will be part of the AzureClient resource name formatted as projects/<project-id>/locations/<region>/azureClients/<client-id>. Valid characters are /[a-z][0-9]-/. Cannot be longer than 63 characters.

Parameter
Name Description
var string
Returns
Type Description
$this

getValidateOnly

If set, only validate the request, but do not actually create the client.

Returns
Type Description
bool

setValidateOnly

If set, only validate the request, but do not actually create the client.

Parameter
Name Description
var bool
Returns
Type Description
$this

static::build

Parameters
Name Description
parent string

Required. The parent location where this AzureClient resource will be created.

Location names are formatted as projects/<project-id>/locations/<region>.

See Resource Names for more details on Google Cloud resource names. Please see AzureClustersClient::locationName() for help formatting this field.

azureClient AzureClient

Required. The specification of the AzureClient to create.

azureClientId string

Required. A client provided ID the resource. Must be unique within the parent resource.

The provided ID will be part of the AzureClient resource name formatted as projects/<project-id>/locations/<region>/azureClients/<client-id>.

Valid characters are /[a-z][0-9]-/. Cannot be longer than 63 characters.

Returns
Type Description
CreateAzureClientRequest