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

ArtifactStores interface

表示 ArtifactStores 的接口。

方法

beginCreateOrUpdate(string, string, string, ArtifactStore, ArtifactStoresCreateOrUpdateOptionalParams)

创建或更新项目存储。

beginCreateOrUpdateAndWait(string, string, string, ArtifactStore, ArtifactStoresCreateOrUpdateOptionalParams)

创建或更新项目存储。

beginDelete(string, string, string, ArtifactStoresDeleteOptionalParams)

删除指定的项目存储。

beginDeleteAndWait(string, string, string, ArtifactStoresDeleteOptionalParams)

删除指定的项目存储。

get(string, string, string, ArtifactStoresGetOptionalParams)

获取有关指定项目存储的信息。

listByPublisher(string, string, ArtifactStoresListByPublisherOptionalParams)

获取发布者下 ArtifactStores 的信息。

update(string, string, string, TagsObject, ArtifactStoresUpdateOptionalParams)

更新项目存储资源。

方法详细信息

beginCreateOrUpdate(string, string, string, ArtifactStore, ArtifactStoresCreateOrUpdateOptionalParams)

创建或更新项目存储。

function beginCreateOrUpdate(resourceGroupName: string, publisherName: string, artifactStoreName: string, parameters: ArtifactStore, options?: ArtifactStoresCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ArtifactStore>, ArtifactStore>>

参数

resourceGroupName

string

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

publisherName

string

发布者的名称。

artifactStoreName

string

项目存储的名称。

parameters
ArtifactStore

提供给创建或更新应用程序组操作的参数。

返回

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

beginCreateOrUpdateAndWait(string, string, string, ArtifactStore, ArtifactStoresCreateOrUpdateOptionalParams)

创建或更新项目存储。

function beginCreateOrUpdateAndWait(resourceGroupName: string, publisherName: string, artifactStoreName: string, parameters: ArtifactStore, options?: ArtifactStoresCreateOrUpdateOptionalParams): Promise<ArtifactStore>

参数

resourceGroupName

string

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

publisherName

string

发布者的名称。

artifactStoreName

string

项目存储的名称。

parameters
ArtifactStore

提供给创建或更新应用程序组操作的参数。

返回

Promise<ArtifactStore>

beginDelete(string, string, string, ArtifactStoresDeleteOptionalParams)

删除指定的项目存储。

function beginDelete(resourceGroupName: string, publisherName: string, artifactStoreName: string, options?: ArtifactStoresDeleteOptionalParams): Promise<SimplePollerLike<OperationState<ArtifactStoresDeleteHeaders>, ArtifactStoresDeleteHeaders>>

参数

resourceGroupName

string

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

publisherName

string

发布者的名称。

artifactStoreName

string

项目存储的名称。

options
ArtifactStoresDeleteOptionalParams

选项参数。

返回

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

beginDeleteAndWait(string, string, string, ArtifactStoresDeleteOptionalParams)

删除指定的项目存储。

function beginDeleteAndWait(resourceGroupName: string, publisherName: string, artifactStoreName: string, options?: ArtifactStoresDeleteOptionalParams): Promise<ArtifactStoresDeleteHeaders>

参数

resourceGroupName

string

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

publisherName

string

发布者的名称。

artifactStoreName

string

项目存储的名称。

options
ArtifactStoresDeleteOptionalParams

选项参数。

返回

get(string, string, string, ArtifactStoresGetOptionalParams)

获取有关指定项目存储的信息。

function get(resourceGroupName: string, publisherName: string, artifactStoreName: string, options?: ArtifactStoresGetOptionalParams): Promise<ArtifactStore>

参数

resourceGroupName

string

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

publisherName

string

发布者的名称。

artifactStoreName

string

项目存储的名称。

options
ArtifactStoresGetOptionalParams

选项参数。

返回

Promise<ArtifactStore>

listByPublisher(string, string, ArtifactStoresListByPublisherOptionalParams)

获取发布者下 ArtifactStores 的信息。

function listByPublisher(resourceGroupName: string, publisherName: string, options?: ArtifactStoresListByPublisherOptionalParams): PagedAsyncIterableIterator<ArtifactStore, ArtifactStore[], PageSettings>

参数

resourceGroupName

string

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

publisherName

string

发布者的名称。

返回

update(string, string, string, TagsObject, ArtifactStoresUpdateOptionalParams)

更新项目存储资源。

function update(resourceGroupName: string, publisherName: string, artifactStoreName: string, parameters: TagsObject, options?: ArtifactStoresUpdateOptionalParams): Promise<ArtifactStore>

参数

resourceGroupName

string

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

publisherName

string

发布者的名称。

artifactStoreName

string

项目存储的名称。

parameters
TagsObject

提供给创建或更新应用程序组操作的参数。

options
ArtifactStoresUpdateOptionalParams

选项参数。

返回

Promise<ArtifactStore>