共用方式為


ProductGroup interface

代表 ProductGroup 的介面。

方法

checkEntityExists(string, string, string, string, ProductGroupCheckEntityExistsOptionalParams)

檢查標識碼所指定的群組實體是否與 Product 實體相關聯。

createOrUpdate(string, string, string, string, ProductGroupCreateOrUpdateOptionalParams)

新增指定開發人員群組與指定產品之間的關聯。

delete(string, string, string, string, ProductGroupDeleteOptionalParams)

刪除指定群組與產品之間的關聯。

listByProduct(string, string, string, ProductGroupListByProductOptionalParams)

列出與指定產品相關聯的開發人員群組集合。

方法詳細資料

checkEntityExists(string, string, string, string, ProductGroupCheckEntityExistsOptionalParams)

檢查標識碼所指定的群組實體是否與 Product 實體相關聯。

function checkEntityExists(resourceGroupName: string, serviceName: string, productId: string, groupId: string, options?: ProductGroupCheckEntityExistsOptionalParams): Promise<ProductGroupCheckEntityExistsResponse>

參數

resourceGroupName

string

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

serviceName

string

API 管理服務的名稱。

productId

string

產品標識碼。 目前 API 管理服務實例中必須是唯一的。

groupId

string

群組標識碼。 目前 API 管理服務實例中必須是唯一的。

傳回

createOrUpdate(string, string, string, string, ProductGroupCreateOrUpdateOptionalParams)

新增指定開發人員群組與指定產品之間的關聯。

function createOrUpdate(resourceGroupName: string, serviceName: string, productId: string, groupId: string, options?: ProductGroupCreateOrUpdateOptionalParams): Promise<GroupContract>

參數

resourceGroupName

string

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

serviceName

string

API 管理服務的名稱。

productId

string

產品標識碼。 目前 API 管理服務實例中必須是唯一的。

groupId

string

群組標識碼。 目前 API 管理服務實例中必須是唯一的。

傳回

Promise<GroupContract>

delete(string, string, string, string, ProductGroupDeleteOptionalParams)

刪除指定群組與產品之間的關聯。

function delete(resourceGroupName: string, serviceName: string, productId: string, groupId: string, options?: ProductGroupDeleteOptionalParams): Promise<void>

參數

resourceGroupName

string

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

serviceName

string

API 管理服務的名稱。

productId

string

產品標識碼。 目前 API 管理服務實例中必須是唯一的。

groupId

string

群組標識碼。 目前 API 管理服務實例中必須是唯一的。

options
ProductGroupDeleteOptionalParams

選項參數。

傳回

Promise<void>

listByProduct(string, string, string, ProductGroupListByProductOptionalParams)

列出與指定產品相關聯的開發人員群組集合。

function listByProduct(resourceGroupName: string, serviceName: string, productId: string, options?: ProductGroupListByProductOptionalParams): PagedAsyncIterableIterator<GroupContract, GroupContract[], PageSettings>

參數

resourceGroupName

string

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

serviceName

string

API 管理服務的名稱。

productId

string

產品標識碼。 目前 API 管理服務實例中必須是唯一的。

options
ProductGroupListByProductOptionalParams

選項參數。

傳回