CaCertificates interface
表示 CaCertificates 的接口。
方法
方法详细信息
beginCreateOrUpdate(string, string, string, CaCertificate, CaCertificatesCreateOrUpdateOptionalParams)
使用指定的参数创建或更新 CA 证书。
function beginCreateOrUpdate(resourceGroupName: string, namespaceName: string, caCertificateName: string, caCertificateInfo: CaCertificate, options?: CaCertificatesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<CaCertificate>, CaCertificate>>
参数
- resourceGroupName
-
string
用户订阅中的资源组的名称。
- namespaceName
-
string
命名空间的名称。
- caCertificateName
-
string
CA 证书名称。
- caCertificateInfo
- CaCertificate
CA 证书信息。
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<CaCertificate>, CaCertificate>>
beginCreateOrUpdateAndWait(string, string, string, CaCertificate, CaCertificatesCreateOrUpdateOptionalParams)
使用指定的参数创建或更新 CA 证书。
function beginCreateOrUpdateAndWait(resourceGroupName: string, namespaceName: string, caCertificateName: string, caCertificateInfo: CaCertificate, options?: CaCertificatesCreateOrUpdateOptionalParams): Promise<CaCertificate>
参数
- resourceGroupName
-
string
用户订阅中的资源组的名称。
- namespaceName
-
string
命名空间的名称。
- caCertificateName
-
string
CA 证书名称。
- caCertificateInfo
- CaCertificate
CA 证书信息。
选项参数。
返回
Promise<CaCertificate>
beginDelete(string, string, string, CaCertificatesDeleteOptionalParams)
删除现有的 CA 证书。
function beginDelete(resourceGroupName: string, namespaceName: string, caCertificateName: string, options?: CaCertificatesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
参数
- resourceGroupName
-
string
用户订阅中的资源组的名称。
- namespaceName
-
string
命名空间的名称。
- caCertificateName
-
string
CA 证书的名称。
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, string, CaCertificatesDeleteOptionalParams)
删除现有的 CA 证书。
function beginDeleteAndWait(resourceGroupName: string, namespaceName: string, caCertificateName: string, options?: CaCertificatesDeleteOptionalParams): Promise<void>
参数
- resourceGroupName
-
string
用户订阅中的资源组的名称。
- namespaceName
-
string
命名空间的名称。
- caCertificateName
-
string
CA 证书的名称。
选项参数。
返回
Promise<void>
get(string, string, string, CaCertificatesGetOptionalParams)
获取 CA 证书的属性。
function get(resourceGroupName: string, namespaceName: string, caCertificateName: string, options?: CaCertificatesGetOptionalParams): Promise<CaCertificate>
参数
- resourceGroupName
-
string
用户订阅中的资源组的名称。
- namespaceName
-
string
命名空间的名称。
- caCertificateName
-
string
CA 证书的名称。
- options
- CaCertificatesGetOptionalParams
选项参数。
返回
Promise<CaCertificate>
listByNamespace(string, string, CaCertificatesListByNamespaceOptionalParams)
获取命名空间下的所有 CA 证书。
function listByNamespace(resourceGroupName: string, namespaceName: string, options?: CaCertificatesListByNamespaceOptionalParams): PagedAsyncIterableIterator<CaCertificate, CaCertificate[], PageSettings>
参数
- resourceGroupName
-
string
用户订阅中的资源组的名称。
- namespaceName
-
string
命名空间的名称。
选项参数。