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

Namespace

Google \ Cloud \ GkeMultiCloud \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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.

Returns
Type Description
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.

Parameter
Name Description
var string
Returns
Type Description
$this