次の方法で共有


SshPublicKeysOperationsExtensions.CreateAsync メソッド

定義

新しい SSH 公開キー リソースを作成します。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.SshPublicKeyResource> CreateAsync (this Microsoft.Azure.Management.Compute.ISshPublicKeysOperations operations, string resourceGroupName, string sshPublicKeyName, Microsoft.Azure.Management.Compute.Models.SshPublicKeyResource parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Management.Compute.ISshPublicKeysOperations * string * string * Microsoft.Azure.Management.Compute.Models.SshPublicKeyResource * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Compute.Models.SshPublicKeyResource>
<Extension()>
Public Function CreateAsync (operations As ISshPublicKeysOperations, resourceGroupName As String, sshPublicKeyName As String, parameters As SshPublicKeyResource, Optional cancellationToken As CancellationToken = Nothing) As Task(Of SshPublicKeyResource)

パラメーター

operations
ISshPublicKeysOperations

この拡張メソッドの操作グループ。

resourceGroupName
String

リソース グループの名前。

sshPublicKeyName
String

SSH 公開キーの名前。

parameters
SshPublicKeyResource

SSH 公開キーを作成するために指定されたパラメーター。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象