共用方式為


SshPublicKeysOperationsExtensions.Create Method

Definition

Creates a new SSH public key resource.

public static Microsoft.Azure.Management.Compute.Models.SshPublicKeyResource Create (this Microsoft.Azure.Management.Compute.ISshPublicKeysOperations operations, string resourceGroupName, string sshPublicKeyName, Microsoft.Azure.Management.Compute.Models.SshPublicKeyResource parameters);
static member Create : Microsoft.Azure.Management.Compute.ISshPublicKeysOperations * string * string * Microsoft.Azure.Management.Compute.Models.SshPublicKeyResource -> Microsoft.Azure.Management.Compute.Models.SshPublicKeyResource
<Extension()>
Public Function Create (operations As ISshPublicKeysOperations, resourceGroupName As String, sshPublicKeyName As String, parameters As SshPublicKeyResource) As SshPublicKeyResource

Parameters

operations
ISshPublicKeysOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

sshPublicKeyName
String

The name of the SSH public key.

parameters
SshPublicKeyResource

Parameters supplied to create the SSH public key.

Returns

Applies to