你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

WebPubSubCustomCertificates interface

表示 WebPubSubCustomCertificates 的接口。

方法

beginCreateOrUpdate(string, string, string, CustomCertificate, WebPubSubCustomCertificatesCreateOrUpdateOptionalParams)

创建或更新自定义证书。

beginCreateOrUpdateAndWait(string, string, string, CustomCertificate, WebPubSubCustomCertificatesCreateOrUpdateOptionalParams)

创建或更新自定义证书。

delete(string, string, string, WebPubSubCustomCertificatesDeleteOptionalParams)

删除自定义证书。

get(string, string, string, WebPubSubCustomCertificatesGetOptionalParams)

获取自定义证书。

list(string, string, WebPubSubCustomCertificatesListOptionalParams)

列出所有自定义证书。

方法详细信息

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

自定义证书。

返回

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

自定义证书名称

返回

list(string, string, WebPubSubCustomCertificatesListOptionalParams)

列出所有自定义证书。

function list(resourceGroupName: string, resourceName: string, options?: WebPubSubCustomCertificatesListOptionalParams): PagedAsyncIterableIterator<CustomCertificate, CustomCertificate[], PageSettings>

参数

resourceGroupName

string

资源组的名称。 名称不区分大小写。

resourceName

string

资源的名称。

返回