Condividi tramite


Factories interface

Interfaccia che rappresenta una factory.

Metodi

configureFactoryRepo(string, FactoryRepoUpdate, FactoriesConfigureFactoryRepoOptionalParams)

Aggiorna le informazioni sul repository di una factory.

createOrUpdate(string, string, Factory, FactoriesCreateOrUpdateOptionalParams)

Crea o aggiorna una factory.

delete(string, string, FactoriesDeleteOptionalParams)

Elimina una factory.

get(string, string, FactoriesGetOptionalParams)

Ottiene una factory.

getDataPlaneAccess(string, string, UserAccessPolicy, FactoriesGetDataPlaneAccessOptionalParams)

Ottenere l'accesso al piano dati.

getGitHubAccessToken(string, string, GitHubAccessTokenRequest, FactoriesGetGitHubAccessTokenOptionalParams)

Ottenere il token di accesso di GitHub.

list(FactoriesListOptionalParams)

Elenca le factory nella sottoscrizione specificata.

listByResourceGroup(string, FactoriesListByResourceGroupOptionalParams)

Elenca le factory.

update(string, string, FactoryUpdateParameters, FactoriesUpdateOptionalParams)

Aggiorna una factory.

Dettagli metodo

configureFactoryRepo(string, FactoryRepoUpdate, FactoriesConfigureFactoryRepoOptionalParams)

Aggiorna le informazioni sul repository di una factory.

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

Parametri

locationId

string

Identificatore del percorso.

factoryRepoUpdate
FactoryRepoUpdate

Aggiornare la definizione della richiesta del repository factory.

options
FactoriesConfigureFactoryRepoOptionalParams

Parametri delle opzioni.

Restituisce

Promise<Factory>

createOrUpdate(string, string, Factory, FactoriesCreateOrUpdateOptionalParams)

Crea o aggiorna una factory.

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

Parametri

resourceGroupName

string

Nome del gruppo di risorse.

factoryName

string

Nome della factory.

factory
Factory

Definizione della risorsa factory.

options
FactoriesCreateOrUpdateOptionalParams

Parametri delle opzioni.

Restituisce

Promise<Factory>

delete(string, string, FactoriesDeleteOptionalParams)

Elimina una factory.

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

Parametri

resourceGroupName

string

Nome del gruppo di risorse.

factoryName

string

Nome della factory.

options
FactoriesDeleteOptionalParams

Parametri delle opzioni.

Restituisce

Promise<void>

get(string, string, FactoriesGetOptionalParams)

Ottiene una factory.

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

Parametri

resourceGroupName

string

Nome del gruppo di risorse.

factoryName

string

Nome della factory.

options
FactoriesGetOptionalParams

Parametri delle opzioni.

Restituisce

Promise<Factory>

getDataPlaneAccess(string, string, UserAccessPolicy, FactoriesGetDataPlaneAccessOptionalParams)

Ottenere l'accesso al piano dati.

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

Parametri

resourceGroupName

string

Nome del gruppo di risorse.

factoryName

string

Nome della factory.

policy
UserAccessPolicy

Definizione dei criteri di accesso utente del piano dati.

options
FactoriesGetDataPlaneAccessOptionalParams

Parametri delle opzioni.

Restituisce

getGitHubAccessToken(string, string, GitHubAccessTokenRequest, FactoriesGetGitHubAccessTokenOptionalParams)

Ottenere il token di accesso di GitHub.

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

Parametri

resourceGroupName

string

Nome del gruppo di risorse.

factoryName

string

Nome della factory.

gitHubAccessTokenRequest
GitHubAccessTokenRequest

Ottenere la definizione della richiesta del token di accesso a GitHub.

options
FactoriesGetGitHubAccessTokenOptionalParams

Parametri delle opzioni.

Restituisce

list(FactoriesListOptionalParams)

Elenca le factory nella sottoscrizione specificata.

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

Parametri

options
FactoriesListOptionalParams

Parametri delle opzioni.

Restituisce

listByResourceGroup(string, FactoriesListByResourceGroupOptionalParams)

Elenca le factory.

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

Parametri

resourceGroupName

string

Nome del gruppo di risorse.

options
FactoriesListByResourceGroupOptionalParams

Parametri delle opzioni.

Restituisce

update(string, string, FactoryUpdateParameters, FactoriesUpdateOptionalParams)

Aggiorna una factory.

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

Parametri

resourceGroupName

string

Nome del gruppo di risorse.

factoryName

string

Nome della factory.

factoryUpdateParameters
FactoryUpdateParameters

Parametri per l'aggiornamento di una factory.

options
FactoriesUpdateOptionalParams

Parametri delle opzioni.

Restituisce

Promise<Factory>