Class ProjectsResource.LocationsResource.SshKeysResource
The "sshKeys" collection of methods.
Inherited Members
Namespace: Google.Apis.Baremetalsolution.v2
Assembly: Google.Apis.Baremetalsolution.v2.dll
Syntax
public class ProjectsResource.LocationsResource.SshKeysResource
Constructors
SshKeysResource(IClientService)
Constructs a new resource.
Declaration
public SshKeysResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(SSHKey, string)
Register a public SSH key in the specified project for use with the interactive serial console feature.
Declaration
public virtual ProjectsResource.LocationsResource.SshKeysResource.CreateRequest Create(SSHKey body, string parent)
Parameters
Type | Name | Description |
---|---|---|
SSHKey | body | The body of the request. |
string | parent | Required. The parent containing the SSH keys. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.SshKeysResource.CreateRequest |
Delete(string)
Deletes a public SSH key registered in the specified project.
Declaration
public virtual ProjectsResource.LocationsResource.SshKeysResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the SSH key to delete. Currently, the only valid value for the location is "global". |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.SshKeysResource.DeleteRequest |
List(string)
Lists the public SSH keys registered for the specified project. These SSH keys are used only for the interactive serial console feature.
Declaration
public virtual ProjectsResource.LocationsResource.SshKeysResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The parent containing the SSH keys. Currently, the only valid value for the location is "global". |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.SshKeysResource.ListRequest |