Compartir a través de


Factories interface

Interfaz que representa una factoría.

Métodos

configureFactoryRepo(string, FactoryRepoUpdate, FactoriesConfigureFactoryRepoOptionalParams)

Actualiza la información del repositorio de un generador.

createOrUpdate(string, string, Factory, FactoriesCreateOrUpdateOptionalParams)

Crea o actualiza un generador.

delete(string, string, FactoriesDeleteOptionalParams)

Elimina un generador.

get(string, string, FactoriesGetOptionalParams)

Obtiene un generador.

getDataPlaneAccess(string, string, UserAccessPolicy, FactoriesGetDataPlaneAccessOptionalParams)

Obtener acceso al plano de datos.

getGitHubAccessToken(string, string, GitHubAccessTokenRequest, FactoriesGetGitHubAccessTokenOptionalParams)

Obtenga el token de acceso de GitHub.

list(FactoriesListOptionalParams)

Enumera las factorías de la suscripción especificada.

listByResourceGroup(string, FactoriesListByResourceGroupOptionalParams)

Enumera las fábricas.

update(string, string, FactoryUpdateParameters, FactoriesUpdateOptionalParams)

Actualiza una fábrica.

Detalles del método

configureFactoryRepo(string, FactoryRepoUpdate, FactoriesConfigureFactoryRepoOptionalParams)

Actualiza la información del repositorio de un generador.

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

Parámetros

locationId

string

Identificador de ubicación.

factoryRepoUpdate
FactoryRepoUpdate

Actualice la definición de solicitud del repositorio de fábrica.

options
FactoriesConfigureFactoryRepoOptionalParams

Parámetros de opciones.

Devoluciones

Promise<Factory>

createOrUpdate(string, string, Factory, FactoriesCreateOrUpdateOptionalParams)

Crea o actualiza un generador.

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

Parámetros

resourceGroupName

string

Nombre del grupo de recursos.

factoryName

string

Nombre de fábrica.

factory
Factory

Definición de recursos de fábrica.

options
FactoriesCreateOrUpdateOptionalParams

Parámetros de opciones.

Devoluciones

Promise<Factory>

delete(string, string, FactoriesDeleteOptionalParams)

Elimina un generador.

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

Parámetros

resourceGroupName

string

Nombre del grupo de recursos.

factoryName

string

Nombre de fábrica.

options
FactoriesDeleteOptionalParams

Parámetros de opciones.

Devoluciones

Promise<void>

get(string, string, FactoriesGetOptionalParams)

Obtiene un generador.

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

Parámetros

resourceGroupName

string

Nombre del grupo de recursos.

factoryName

string

Nombre de fábrica.

options
FactoriesGetOptionalParams

Parámetros de opciones.

Devoluciones

Promise<Factory>

getDataPlaneAccess(string, string, UserAccessPolicy, FactoriesGetDataPlaneAccessOptionalParams)

Obtener acceso al plano de datos.

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

Parámetros

resourceGroupName

string

Nombre del grupo de recursos.

factoryName

string

Nombre de fábrica.

policy
UserAccessPolicy

Definición de directiva de acceso de usuario del plano de datos.

options
FactoriesGetDataPlaneAccessOptionalParams

Parámetros de opciones.

Devoluciones

getGitHubAccessToken(string, string, GitHubAccessTokenRequest, FactoriesGetGitHubAccessTokenOptionalParams)

Obtenga el token de acceso de GitHub.

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

Parámetros

resourceGroupName

string

Nombre del grupo de recursos.

factoryName

string

Nombre de fábrica.

gitHubAccessTokenRequest
GitHubAccessTokenRequest

Obtenga la definición de solicitud de token de acceso de GitHub.

options
FactoriesGetGitHubAccessTokenOptionalParams

Parámetros de opciones.

Devoluciones

list(FactoriesListOptionalParams)

Enumera las factorías de la suscripción especificada.

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

Parámetros

options
FactoriesListOptionalParams

Parámetros de opciones.

Devoluciones

listByResourceGroup(string, FactoriesListByResourceGroupOptionalParams)

Enumera las fábricas.

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

Parámetros

resourceGroupName

string

Nombre del grupo de recursos.

options
FactoriesListByResourceGroupOptionalParams

Parámetros de opciones.

Devoluciones

update(string, string, FactoryUpdateParameters, FactoriesUpdateOptionalParams)

Actualiza una fábrica.

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

Parámetros

resourceGroupName

string

Nombre del grupo de recursos.

factoryName

string

Nombre de fábrica.

factoryUpdateParameters
FactoryUpdateParameters

Parámetros para actualizar un generador.

options
FactoriesUpdateOptionalParams

Parámetros de opciones.

Devoluciones

Promise<Factory>