WebPubSubCustomCertificates interface
表示 WebPubSubCustomCertificates 的接口。
方法
方法详细信息
beginCreateOrUpdate(string, string, string, CustomCertificate, WebPubSubCustomCertificatesCreateOrUpdateOptionalParams)
创建或更新自定义证书。
function beginCreateOrUpdate(resourceGroupName: string, resourceName: string, certificateName: string, parameters: CustomCertificate, options?: WebPubSubCustomCertificatesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<CustomCertificate>, CustomCertificate>>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- resourceName
-
string
资源的名称。
- certificateName
-
string
自定义证书名称
- parameters
- CustomCertificate
自定义证书。
选项参数。
返回
Promise<@azure/core-lro.SimplePollerLike<OperationState<CustomCertificate>, CustomCertificate>>
beginCreateOrUpdateAndWait(string, string, string, CustomCertificate, WebPubSubCustomCertificatesCreateOrUpdateOptionalParams)
创建或更新自定义证书。
function beginCreateOrUpdateAndWait(resourceGroupName: string, resourceName: string, certificateName: string, parameters: CustomCertificate, options?: WebPubSubCustomCertificatesCreateOrUpdateOptionalParams): Promise<CustomCertificate>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- resourceName
-
string
资源的名称。
- certificateName
-
string
自定义证书名称
- parameters
- CustomCertificate
自定义证书。
选项参数。
返回
Promise<CustomCertificate>
delete(string, string, string, WebPubSubCustomCertificatesDeleteOptionalParams)
删除自定义证书。
function delete(resourceGroupName: string, resourceName: string, certificateName: string, options?: WebPubSubCustomCertificatesDeleteOptionalParams): Promise<void>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- resourceName
-
string
资源的名称。
- certificateName
-
string
自定义证书名称
选项参数。
返回
Promise<void>
get(string, string, string, WebPubSubCustomCertificatesGetOptionalParams)
获取自定义证书。
function get(resourceGroupName: string, resourceName: string, certificateName: string, options?: WebPubSubCustomCertificatesGetOptionalParams): Promise<CustomCertificate>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- resourceName
-
string
资源的名称。
- certificateName
-
string
自定义证书名称
选项参数。
返回
Promise<CustomCertificate>
list(string, string, WebPubSubCustomCertificatesListOptionalParams)
列出所有自定义证书。
function list(resourceGroupName: string, resourceName: string, options?: WebPubSubCustomCertificatesListOptionalParams): PagedAsyncIterableIterator<CustomCertificate, CustomCertificate[], PageSettings>
参数
- resourceGroupName
-
string
资源组的名称。 名称不区分大小写。
- resourceName
-
string
资源的名称。
选项参数。