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

FactoriesOperations interface

代表工厂运营的接口。

属性

configureFactoryRepo

更新工厂的存储库信息。

createOrUpdate

创建或更新工厂。

delete

删除工厂。

get

获取工厂。

getDataPlaneAccess

获取数据平面访问权限。

getGitHubAccessToken

获取GitHub访问令牌。

list

列出指定订阅下的工厂。

listByResourceGroup

列出工厂。

update

更新工厂。

属性详细信息

configureFactoryRepo

更新工厂的存储库信息。

configureFactoryRepo: (locationId: string, factoryRepoUpdate: FactoryRepoUpdate, options?: FactoriesConfigureFactoryRepoOptionalParams) => Promise<Factory>

属性值

(locationId: string, factoryRepoUpdate: FactoryRepoUpdate, options?: FactoriesConfigureFactoryRepoOptionalParams) => Promise<Factory>

createOrUpdate

创建或更新工厂。

createOrUpdate: (resourceGroupName: string, factoryName: string, factory: Factory, options?: FactoriesCreateOrUpdateOptionalParams) => Promise<Factory>

属性值

(resourceGroupName: string, factoryName: string, factory: Factory, options?: FactoriesCreateOrUpdateOptionalParams) => Promise<Factory>

delete

删除工厂。

delete: (resourceGroupName: string, factoryName: string, options?: FactoriesDeleteOptionalParams) => Promise<void>

属性值

(resourceGroupName: string, factoryName: string, options?: FactoriesDeleteOptionalParams) => Promise<void>

get

获取工厂。

get: (resourceGroupName: string, factoryName: string, options?: FactoriesGetOptionalParams) => Promise<Factory>

属性值

(resourceGroupName: string, factoryName: string, options?: FactoriesGetOptionalParams) => Promise<Factory>

getDataPlaneAccess

获取数据平面访问权限。

getDataPlaneAccess: (resourceGroupName: string, factoryName: string, policy: UserAccessPolicy, options?: FactoriesGetDataPlaneAccessOptionalParams) => Promise<AccessPolicyResponse>

属性值

(resourceGroupName: string, factoryName: string, policy: UserAccessPolicy, options?: FactoriesGetDataPlaneAccessOptionalParams) => Promise<AccessPolicyResponse>

getGitHubAccessToken

获取GitHub访问令牌。

getGitHubAccessToken: (resourceGroupName: string, factoryName: string, gitHubAccessTokenRequest: GitHubAccessTokenRequest, options?: FactoriesGetGitHubAccessTokenOptionalParams) => Promise<GitHubAccessTokenResponse>

属性值

(resourceGroupName: string, factoryName: string, gitHubAccessTokenRequest: GitHubAccessTokenRequest, options?: FactoriesGetGitHubAccessTokenOptionalParams) => Promise<GitHubAccessTokenResponse>

list

列出指定订阅下的工厂。

list: (options?: FactoriesListOptionalParams) => PagedAsyncIterableIterator<Factory, Factory[], PageSettings>

属性值

(options?: FactoriesListOptionalParams) => PagedAsyncIterableIterator<Factory, Factory[], PageSettings>

listByResourceGroup

列出工厂。

listByResourceGroup: (resourceGroupName: string, options?: FactoriesListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<Factory, Factory[], PageSettings>

属性值

(resourceGroupName: string, options?: FactoriesListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<Factory, Factory[], PageSettings>

update

更新工厂。

update: (resourceGroupName: string, factoryName: string, factoryUpdateParameters: FactoryUpdateParameters, options?: FactoriesUpdateOptionalParams) => Promise<Factory>

属性值

(resourceGroupName: string, factoryName: string, factoryUpdateParameters: FactoryUpdateParameters, options?: FactoriesUpdateOptionalParams) => Promise<Factory>