Factories interface
Interface representing a Factories.
Methods
configure |
Updates a factory's repo information. |
create |
Creates or updates a factory. |
delete(string, string, Factories |
Deletes a factory. |
get(string, string, Factories |
Gets a factory. |
get |
Get Data Plane access. |
get |
Get GitHub Access Token. |
list(Factories |
Lists factories under the specified subscription. |
list |
Lists factories. |
update(string, string, Factory |
Updates a factory. |
Method Details
configureFactoryRepo(string, FactoryRepoUpdate, FactoriesConfigureFactoryRepoOptionalParams)
Updates a factory's repo information.
function configureFactoryRepo(locationId: string, factoryRepoUpdate: FactoryRepoUpdate, options?: FactoriesConfigureFactoryRepoOptionalParams): Promise<Factory>
Parameters
- locationId
-
string
The location identifier.
- factoryRepoUpdate
- FactoryRepoUpdate
Update factory repo request definition.
The options parameters.
Returns
Promise<Factory>
createOrUpdate(string, string, Factory, FactoriesCreateOrUpdateOptionalParams)
Creates or updates a factory.
function createOrUpdate(resourceGroupName: string, factoryName: string, factory: Factory, options?: FactoriesCreateOrUpdateOptionalParams): Promise<Factory>
Parameters
- resourceGroupName
-
string
The resource group name.
- factoryName
-
string
The factory name.
- factory
- Factory
Factory resource definition.
The options parameters.
Returns
Promise<Factory>
delete(string, string, FactoriesDeleteOptionalParams)
Deletes a factory.
function delete(resourceGroupName: string, factoryName: string, options?: FactoriesDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The resource group name.
- factoryName
-
string
The factory name.
- options
- FactoriesDeleteOptionalParams
The options parameters.
Returns
Promise<void>
get(string, string, FactoriesGetOptionalParams)
Gets a factory.
function get(resourceGroupName: string, factoryName: string, options?: FactoriesGetOptionalParams): Promise<Factory>
Parameters
- resourceGroupName
-
string
The resource group name.
- factoryName
-
string
The factory name.
- options
- FactoriesGetOptionalParams
The options parameters.
Returns
Promise<Factory>
getDataPlaneAccess(string, string, UserAccessPolicy, FactoriesGetDataPlaneAccessOptionalParams)
Get Data Plane access.
function getDataPlaneAccess(resourceGroupName: string, factoryName: string, policy: UserAccessPolicy, options?: FactoriesGetDataPlaneAccessOptionalParams): Promise<AccessPolicyResponse>
Parameters
- resourceGroupName
-
string
The resource group name.
- factoryName
-
string
The factory name.
- policy
- UserAccessPolicy
Data Plane user access policy definition.
The options parameters.
Returns
Promise<AccessPolicyResponse>
getGitHubAccessToken(string, string, GitHubAccessTokenRequest, FactoriesGetGitHubAccessTokenOptionalParams)
Get GitHub Access Token.
function getGitHubAccessToken(resourceGroupName: string, factoryName: string, gitHubAccessTokenRequest: GitHubAccessTokenRequest, options?: FactoriesGetGitHubAccessTokenOptionalParams): Promise<GitHubAccessTokenResponse>
Parameters
- resourceGroupName
-
string
The resource group name.
- factoryName
-
string
The factory name.
- gitHubAccessTokenRequest
- GitHubAccessTokenRequest
Get GitHub access token request definition.
The options parameters.
Returns
Promise<GitHubAccessTokenResponse>
list(FactoriesListOptionalParams)
Lists factories under the specified subscription.
function list(options?: FactoriesListOptionalParams): PagedAsyncIterableIterator<Factory, Factory[], PageSettings>
Parameters
- options
- FactoriesListOptionalParams
The options parameters.
Returns
listByResourceGroup(string, FactoriesListByResourceGroupOptionalParams)
Lists factories.
function listByResourceGroup(resourceGroupName: string, options?: FactoriesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Factory, Factory[], PageSettings>
Parameters
- resourceGroupName
-
string
The resource group name.
The options parameters.
Returns
update(string, string, FactoryUpdateParameters, FactoriesUpdateOptionalParams)
Updates a factory.
function update(resourceGroupName: string, factoryName: string, factoryUpdateParameters: FactoryUpdateParameters, options?: FactoriesUpdateOptionalParams): Promise<Factory>
Parameters
- resourceGroupName
-
string
The resource group name.
- factoryName
-
string
The factory name.
- factoryUpdateParameters
- FactoryUpdateParameters
The parameters for updating a factory.
- options
- FactoriesUpdateOptionalParams
The options parameters.
Returns
Promise<Factory>