FactoriesOperations interface

Interface representing a Factories operations.

Properties

configureFactoryRepo

Updates a factory's repo information.

createOrUpdate

Creates or updates a factory.

delete

Deletes a factory.

get

Gets a factory.

getDataPlaneAccess

Get Data Plane access.

getGitHubAccessToken

Get GitHub Access Token.

list

Lists factories under the specified subscription.

listByResourceGroup

Lists factories.

update

Updates a factory.

Property Details

configureFactoryRepo

Updates a factory's repo information.

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

Property Value

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

createOrUpdate

Creates or updates a factory.

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

Property Value

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

delete

Deletes a factory.

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

Property Value

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

get

Gets a factory.

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

Property Value

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

getDataPlaneAccess

Get Data Plane access.

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

Property Value

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

getGitHubAccessToken

Get GitHub Access Token.

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

Property Value

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

list

Lists factories under the specified subscription.

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

Property Value

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

listByResourceGroup

Lists factories.

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

Property Value

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

update

Updates a factory.

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

Property Value

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