SshPublicKeysOperations interface
介面代表 SshPublicKeys 操作。
屬性
| create | 建立新的 SSH 公開金鑰資源。 |
| delete | |
| generate |
產生並傳回公開/私密金鑰組,並使用公開金鑰填入 SSH 公開金鑰資源。 金鑰的長度為 3072 位元。 每個 SSH 公開金鑰資源只能執行此作業一次。 |
| get | 擷取有關 SSH 公開金鑰的資訊。 |
| list |
列出指定資源群組中的所有 SSH 公開金鑰。 在回應中使用 nextLink 屬性來取得下一頁的 SSH 公開金鑰。 |
| list |
列出訂閱中的所有 SSH 公開金鑰。 在回應中使用 nextLink 屬性來取得下一頁的 SSH 公開金鑰。 |
| update | 更新新的 SSH 公開金鑰資源。 |
屬性詳細資料
create
建立新的 SSH 公開金鑰資源。
create: (resourceGroupName: string, sshPublicKeyName: string, parameters: SshPublicKeyResource, options?: SshPublicKeysCreateOptionalParams) => Promise<SshPublicKeyResource>
屬性值
(resourceGroupName: string, sshPublicKeyName: string, parameters: SshPublicKeyResource, options?: SshPublicKeysCreateOptionalParams) => Promise<SshPublicKeyResource>
delete
delete: (resourceGroupName: string, sshPublicKeyName: string, options?: SshPublicKeysDeleteOptionalParams) => Promise<void>
屬性值
(resourceGroupName: string, sshPublicKeyName: string, options?: SshPublicKeysDeleteOptionalParams) => Promise<void>
generateKeyPair
產生並傳回公開/私密金鑰組,並使用公開金鑰填入 SSH 公開金鑰資源。 金鑰的長度為 3072 位元。 每個 SSH 公開金鑰資源只能執行此作業一次。
generateKeyPair: (resourceGroupName: string, sshPublicKeyName: string, options?: SshPublicKeysGenerateKeyPairOptionalParams) => Promise<SshPublicKeyGenerateKeyPairResult>
屬性值
(resourceGroupName: string, sshPublicKeyName: string, options?: SshPublicKeysGenerateKeyPairOptionalParams) => Promise<SshPublicKeyGenerateKeyPairResult>
get
擷取有關 SSH 公開金鑰的資訊。
get: (resourceGroupName: string, sshPublicKeyName: string, options?: SshPublicKeysGetOptionalParams) => Promise<SshPublicKeyResource>
屬性值
(resourceGroupName: string, sshPublicKeyName: string, options?: SshPublicKeysGetOptionalParams) => Promise<SshPublicKeyResource>
listByResourceGroup
列出指定資源群組中的所有 SSH 公開金鑰。 在回應中使用 nextLink 屬性來取得下一頁的 SSH 公開金鑰。
listByResourceGroup: (resourceGroupName: string, options?: SshPublicKeysListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<SshPublicKeyResource, SshPublicKeyResource[], PageSettings>
屬性值
(resourceGroupName: string, options?: SshPublicKeysListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<SshPublicKeyResource, SshPublicKeyResource[], PageSettings>
listBySubscription
列出訂閱中的所有 SSH 公開金鑰。 在回應中使用 nextLink 屬性來取得下一頁的 SSH 公開金鑰。
listBySubscription: (options?: SshPublicKeysListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<SshPublicKeyResource, SshPublicKeyResource[], PageSettings>
屬性值
(options?: SshPublicKeysListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<SshPublicKeyResource, SshPublicKeyResource[], PageSettings>
update
更新新的 SSH 公開金鑰資源。
update: (resourceGroupName: string, sshPublicKeyName: string, parameters: SshPublicKeyUpdateResource, options?: SshPublicKeysUpdateOptionalParams) => Promise<SshPublicKeyResource>
屬性值
(resourceGroupName: string, sshPublicKeyName: string, parameters: SshPublicKeyUpdateResource, options?: SshPublicKeysUpdateOptionalParams) => Promise<SshPublicKeyResource>