共用方式為


CommunicationServices interface

表示 CommunicationServices 的介面。

方法

beginCreateOrUpdate(string, string, CommunicationServiceResource, CommunicationServicesCreateOrUpdateOptionalParams)

建立新的 CommunicationService 或更新現有的 CommunicationService。

beginCreateOrUpdateAndWait(string, string, CommunicationServiceResource, CommunicationServicesCreateOrUpdateOptionalParams)

建立新的 CommunicationService 或更新現有的 CommunicationService。

beginDelete(string, string, CommunicationServicesDeleteOptionalParams)

刪除 CommunicationService 的作業。

beginDeleteAndWait(string, string, CommunicationServicesDeleteOptionalParams)

刪除 CommunicationService 的作業。

checkNameAvailability(NameAvailabilityParameters, CommunicationServicesCheckNameAvailabilityOptionalParams)

檢查 CommunicationService 名稱是否有效,且尚未使用中。

get(string, string, CommunicationServicesGetOptionalParams)

取得 CommunicationService 及其屬性。

linkNotificationHub(string, string, CommunicationServicesLinkNotificationHubOptionalParams)

將 Azure 通知中樞連結至此通訊服務。

listByResourceGroup(string, CommunicationServicesListByResourceGroupOptionalParams)

處理列出資源群組中所有資源的要求。

listBySubscription(CommunicationServicesListBySubscriptionOptionalParams)

處理列出訂用帳戶中所有資源的要求。

listKeys(string, string, CommunicationServicesListKeysOptionalParams)

取得 CommunicationService 資源的存取金鑰。

regenerateKey(string, string, RegenerateKeyParameters, CommunicationServicesRegenerateKeyOptionalParams)

重新產生 CommunicationService 存取金鑰。 PrimaryKey 和 SecondaryKey 無法同時重新產生。

update(string, string, CommunicationServiceResourceUpdate, CommunicationServicesUpdateOptionalParams)

更新現有 CommunicationService 的作業。

方法詳細資料

beginCreateOrUpdate(string, string, CommunicationServiceResource, CommunicationServicesCreateOrUpdateOptionalParams)

建立新的 CommunicationService 或更新現有的 CommunicationService。

function beginCreateOrUpdate(resourceGroupName: string, communicationServiceName: string, parameters: CommunicationServiceResource, options?: CommunicationServicesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<CommunicationServiceResource>, CommunicationServiceResource>>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

communicationServiceName

string

CommunicationService 資源的名稱。

parameters
CommunicationServiceResource

建立或更新作業的參數

傳回

Promise<@azure/core-lro.SimplePollerLike<OperationState<CommunicationServiceResource>, CommunicationServiceResource>>

beginCreateOrUpdateAndWait(string, string, CommunicationServiceResource, CommunicationServicesCreateOrUpdateOptionalParams)

建立新的 CommunicationService 或更新現有的 CommunicationService。

function beginCreateOrUpdateAndWait(resourceGroupName: string, communicationServiceName: string, parameters: CommunicationServiceResource, options?: CommunicationServicesCreateOrUpdateOptionalParams): Promise<CommunicationServiceResource>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

communicationServiceName

string

CommunicationService 資源的名稱。

parameters
CommunicationServiceResource

建立或更新作業的參數

傳回

beginDelete(string, string, CommunicationServicesDeleteOptionalParams)

刪除 CommunicationService 的作業。

function beginDelete(resourceGroupName: string, communicationServiceName: string, options?: CommunicationServicesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

communicationServiceName

string

CommunicationService 資源的名稱。

傳回

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, CommunicationServicesDeleteOptionalParams)

刪除 CommunicationService 的作業。

function beginDeleteAndWait(resourceGroupName: string, communicationServiceName: string, options?: CommunicationServicesDeleteOptionalParams): Promise<void>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

communicationServiceName

string

CommunicationService 資源的名稱。

傳回

Promise<void>

checkNameAvailability(NameAvailabilityParameters, CommunicationServicesCheckNameAvailabilityOptionalParams)

檢查 CommunicationService 名稱是否有效,且尚未使用中。

function checkNameAvailability(nameAvailabilityParameters: NameAvailabilityParameters, options?: CommunicationServicesCheckNameAvailabilityOptionalParams): Promise<CheckNameAvailabilityResponse>

參數

nameAvailabilityParameters
NameAvailabilityParameters

提供給作業的參數。

傳回

get(string, string, CommunicationServicesGetOptionalParams)

取得 CommunicationService 及其屬性。

function get(resourceGroupName: string, communicationServiceName: string, options?: CommunicationServicesGetOptionalParams): Promise<CommunicationServiceResource>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

communicationServiceName

string

CommunicationService 資源的名稱。

options
CommunicationServicesGetOptionalParams

選項參數。

傳回

linkNotificationHub(string, string, CommunicationServicesLinkNotificationHubOptionalParams)

將 Azure 通知中樞連結至此通訊服務。

function linkNotificationHub(resourceGroupName: string, communicationServiceName: string, options?: CommunicationServicesLinkNotificationHubOptionalParams): Promise<LinkedNotificationHub>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

communicationServiceName

string

CommunicationService 資源的名稱。

傳回

listByResourceGroup(string, CommunicationServicesListByResourceGroupOptionalParams)

處理列出資源群組中所有資源的要求。

function listByResourceGroup(resourceGroupName: string, options?: CommunicationServicesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<CommunicationServiceResource, CommunicationServiceResource[], PageSettings>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

傳回

listBySubscription(CommunicationServicesListBySubscriptionOptionalParams)

處理列出訂用帳戶中所有資源的要求。

function listBySubscription(options?: CommunicationServicesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<CommunicationServiceResource, CommunicationServiceResource[], PageSettings>

參數

傳回

listKeys(string, string, CommunicationServicesListKeysOptionalParams)

取得 CommunicationService 資源的存取金鑰。

function listKeys(resourceGroupName: string, communicationServiceName: string, options?: CommunicationServicesListKeysOptionalParams): Promise<CommunicationServiceKeys>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

communicationServiceName

string

CommunicationService 資源的名稱。

傳回

regenerateKey(string, string, RegenerateKeyParameters, CommunicationServicesRegenerateKeyOptionalParams)

重新產生 CommunicationService 存取金鑰。 PrimaryKey 和 SecondaryKey 無法同時重新產生。

function regenerateKey(resourceGroupName: string, communicationServiceName: string, parameters: RegenerateKeyParameters, options?: CommunicationServicesRegenerateKeyOptionalParams): Promise<CommunicationServiceKeys>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

communicationServiceName

string

CommunicationService 資源的名稱。

parameters
RegenerateKeyParameters

描述重新產生金鑰作業的參數。

傳回

update(string, string, CommunicationServiceResourceUpdate, CommunicationServicesUpdateOptionalParams)

更新現有 CommunicationService 的作業。

function update(resourceGroupName: string, communicationServiceName: string, parameters: CommunicationServiceResourceUpdate, options?: CommunicationServicesUpdateOptionalParams): Promise<CommunicationServiceResource>

參數

resourceGroupName

string

資源群組的名稱。 名稱不區分大小寫。

communicationServiceName

string

CommunicationService 資源的名稱。

parameters
CommunicationServiceResourceUpdate

更新作業的參數

傳回