ApiKeysOperations interface
表示ApiKey操作的接口。
属性
| create |
创建或更新 Nginx 部署的 API 密钥以访问数据平面 API 端点 |
| delete | |
| get | 获取指定 Nginx 部署的 API 密钥 |
| list | 列出给定Nginx部署的所有API密钥 |
属性详细信息
createOrUpdate
创建或更新 Nginx 部署的 API 密钥以访问数据平面 API 端点
createOrUpdate: (resourceGroupName: string, deploymentName: string, apiKeyName: string, options?: ApiKeysCreateOrUpdateOptionalParams) => Promise<NginxDeploymentApiKeyResponse>
属性值
(resourceGroupName: string, deploymentName: string, apiKeyName: string, options?: ApiKeysCreateOrUpdateOptionalParams) => Promise<NginxDeploymentApiKeyResponse>
delete
delete: (resourceGroupName: string, deploymentName: string, apiKeyName: string, options?: ApiKeysDeleteOptionalParams) => Promise<void>
属性值
(resourceGroupName: string, deploymentName: string, apiKeyName: string, options?: ApiKeysDeleteOptionalParams) => Promise<void>
get
获取指定 Nginx 部署的 API 密钥
get: (resourceGroupName: string, deploymentName: string, apiKeyName: string, options?: ApiKeysGetOptionalParams) => Promise<NginxDeploymentApiKeyResponse>
属性值
(resourceGroupName: string, deploymentName: string, apiKeyName: string, options?: ApiKeysGetOptionalParams) => Promise<NginxDeploymentApiKeyResponse>
list
列出给定Nginx部署的所有API密钥
list: (resourceGroupName: string, deploymentName: string, options?: ApiKeysListOptionalParams) => PagedAsyncIterableIterator<NginxDeploymentApiKeyResponse, NginxDeploymentApiKeyResponse[], PageSettings>
属性值
(resourceGroupName: string, deploymentName: string, options?: ApiKeysListOptionalParams) => PagedAsyncIterableIterator<NginxDeploymentApiKeyResponse, NginxDeploymentApiKeyResponse[], PageSettings>