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

ListManagementTermLists class

表示 ListManagementTermLists 的类。

构造函数

ListManagementTermLists(ContentModeratorClientContext)

创建 ListManagementTermLists。

方法

create(string, Body, RequestOptionsBase)

创建术语列表

create(string, Body, RequestOptionsBase, ServiceCallback<TermList>)
create(string, Body, ServiceCallback<TermList>)
deleteMethod(string, RequestOptionsBase)

删除列表 ID 等于传递的列表 ID 的术语列表。

deleteMethod(string, RequestOptionsBase, ServiceCallback<string>)
deleteMethod(string, ServiceCallback<string>)
getAllTermLists(RequestOptionsBase)

获取所有术语列表

getAllTermLists(RequestOptionsBase, ServiceCallback<TermList[]>)
getAllTermLists(ServiceCallback<TermList[]>)
getDetails(string, RequestOptionsBase)

返回术语列表的列表 ID 详细信息,其中列表 ID 等于传递的列表 ID。

getDetails(string, RequestOptionsBase, ServiceCallback<TermList>)
getDetails(string, ServiceCallback<TermList>)
refreshIndexMethod(string, string, RequestOptionsBase)

刷新列表 ID 等于传递的列表 ID 的列表索引。

refreshIndexMethod(string, string, RequestOptionsBase, ServiceCallback<RefreshIndex>)
refreshIndexMethod(string, string, ServiceCallback<RefreshIndex>)
update(string, string, Body, RequestOptionsBase)

汇报术语列表。

update(string, string, Body, RequestOptionsBase, ServiceCallback<TermList>)
update(string, string, Body, ServiceCallback<TermList>)

构造函数详细信息

ListManagementTermLists(ContentModeratorClientContext)

创建 ListManagementTermLists。

new ListManagementTermLists(client: ContentModeratorClientContext)

参数

client
ContentModeratorClientContext

对服务客户端的引用。

方法详细信息

create(string, Body, RequestOptionsBase)

创建术语列表

function create(contentType: string, body: Body, options?: RequestOptionsBase): Promise<ListManagementTermListsCreateResponse>

参数

contentType

string

内容类型。

body
Body

正文的架构。

options
RequestOptionsBase

可选参数

返回

Promise<Models.ListManagementTermListsCreateResponse>

create(string, Body, RequestOptionsBase, ServiceCallback<TermList>)

function create(contentType: string, body: Body, options: RequestOptionsBase, callback: ServiceCallback<TermList>)

参数

contentType

string

内容类型。

body
Body

正文的架构。

options
RequestOptionsBase

可选参数

callback

ServiceCallback<TermList>

回调

create(string, Body, ServiceCallback<TermList>)

function create(contentType: string, body: Body, callback: ServiceCallback<TermList>)

参数

contentType

string

内容类型。

body
Body

正文的架构。

callback

ServiceCallback<TermList>

回调

deleteMethod(string, RequestOptionsBase)

删除列表 ID 等于传递的列表 ID 的术语列表。

function deleteMethod(listId: string, options?: RequestOptionsBase): Promise<ListManagementTermListsDeleteMethodResponse>

参数

listId

string

图像列表的列表 ID。

options
RequestOptionsBase

可选参数

返回

Promise<Models.ListManagementTermListsDeleteMethodResponse>

deleteMethod(string, RequestOptionsBase, ServiceCallback<string>)

function deleteMethod(listId: string, options: RequestOptionsBase, callback: ServiceCallback<string>)

参数

listId

string

图像列表的列表 ID。

options
RequestOptionsBase

可选参数

callback

ServiceCallback<string>

回调

deleteMethod(string, ServiceCallback<string>)

function deleteMethod(listId: string, callback: ServiceCallback<string>)

参数

listId

string

图像列表的列表 ID。

callback

ServiceCallback<string>

回调

getAllTermLists(RequestOptionsBase)

获取所有术语列表

function getAllTermLists(options?: RequestOptionsBase): Promise<ListManagementTermListsGetAllTermListsResponse>

参数

options
RequestOptionsBase

可选参数

返回

Promise<Models.ListManagementTermListsGetAllTermListsResponse>

getAllTermLists(RequestOptionsBase, ServiceCallback<TermList[]>)

function getAllTermLists(options: RequestOptionsBase, callback: ServiceCallback<TermList[]>)

参数

options
RequestOptionsBase

可选参数

callback

ServiceCallback<TermList[]>

回调

getAllTermLists(ServiceCallback<TermList[]>)

function getAllTermLists(callback: ServiceCallback<TermList[]>)

参数

callback

ServiceCallback<TermList[]>

回调

getDetails(string, RequestOptionsBase)

返回术语列表的列表 ID 详细信息,其中列表 ID 等于传递的列表 ID。

function getDetails(listId: string, options?: RequestOptionsBase): Promise<ListManagementTermListsGetDetailsResponse>

参数

listId

string

图像列表的列表 ID。

options
RequestOptionsBase

可选参数

返回

Promise<Models.ListManagementTermListsGetDetailsResponse>

getDetails(string, RequestOptionsBase, ServiceCallback<TermList>)

function getDetails(listId: string, options: RequestOptionsBase, callback: ServiceCallback<TermList>)

参数

listId

string

图像列表的列表 ID。

options
RequestOptionsBase

可选参数

callback

ServiceCallback<TermList>

回调

getDetails(string, ServiceCallback<TermList>)

function getDetails(listId: string, callback: ServiceCallback<TermList>)

参数

listId

string

图像列表的列表 ID。

callback

ServiceCallback<TermList>

回调

refreshIndexMethod(string, string, RequestOptionsBase)

刷新列表 ID 等于传递的列表 ID 的列表索引。

function refreshIndexMethod(listId: string, language: string, options?: RequestOptionsBase): Promise<ListManagementTermListsRefreshIndexMethodResponse>

参数

listId

string

图像列表的列表 ID。

language

string

术语的语言。

options
RequestOptionsBase

可选参数

返回

Promise<Models.ListManagementTermListsRefreshIndexMethodResponse>

refreshIndexMethod(string, string, RequestOptionsBase, ServiceCallback<RefreshIndex>)

function refreshIndexMethod(listId: string, language: string, options: RequestOptionsBase, callback: ServiceCallback<RefreshIndex>)

参数

listId

string

图像列表的列表 ID。

language

string

术语的语言。

options
RequestOptionsBase

可选参数

callback

ServiceCallback<RefreshIndex>

回调

refreshIndexMethod(string, string, ServiceCallback<RefreshIndex>)

function refreshIndexMethod(listId: string, language: string, callback: ServiceCallback<RefreshIndex>)

参数

listId

string

图像列表的列表 ID。

language

string

术语的语言。

callback

ServiceCallback<RefreshIndex>

回调

update(string, string, Body, RequestOptionsBase)

汇报术语列表。

function update(listId: string, contentType: string, body: Body, options?: RequestOptionsBase): Promise<ListManagementTermListsUpdateResponse>

参数

listId

string

图像列表的列表 ID。

contentType

string

内容类型。

body
Body

正文的架构。

options
RequestOptionsBase

可选参数

返回

Promise<Models.ListManagementTermListsUpdateResponse>

update(string, string, Body, RequestOptionsBase, ServiceCallback<TermList>)

function update(listId: string, contentType: string, body: Body, options: RequestOptionsBase, callback: ServiceCallback<TermList>)

参数

listId

string

图像列表的列表 ID。

contentType

string

内容类型。

body
Body

正文的架构。

options
RequestOptionsBase

可选参数

callback

ServiceCallback<TermList>

回调

update(string, string, Body, ServiceCallback<TermList>)

function update(listId: string, contentType: string, body: Body, callback: ServiceCallback<TermList>)

参数

listId

string

图像列表的列表 ID。

contentType

string

内容类型。

body
Body

正文的架构。

callback

ServiceCallback<TermList>

回调