Google Anthos Multi Cloud V1 Client - Class AzureSshConfig (0.1.4)

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

SSH configuration for Azure resources.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ authorized_key string

Required. The SSH public key data for VMs managed by Anthos. This accepts the authorized_keys file format used in OpenSSH according to the sshd(8) manual page.

getAuthorizedKey

Required. The SSH public key data for VMs managed by Anthos. This accepts the authorized_keys file format used in OpenSSH according to the sshd(8) manual page.

Generated from protobuf field string authorized_key = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
string

setAuthorizedKey

Required. The SSH public key data for VMs managed by Anthos. This accepts the authorized_keys file format used in OpenSSH according to the sshd(8) manual page.

Generated from protobuf field string authorized_key = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
var string
Returns
TypeDescription
$this