Compartir a través de


Environments interface

Interfaz que representa un entorno.

Métodos

createOrUpdate(string, string, string, string, Environment, EnvironmentsCreateOrUpdateOptionalParams)

Crea un entorno nuevo o actualiza el existente.

delete(string, string, string, string, EnvironmentsDeleteOptionalParams)

Elimina el entorno.

get(string, string, string, string, EnvironmentsGetOptionalParams)

Devuelve los detalles del entorno.

head(string, string, string, string, EnvironmentsHeadOptionalParams)

Comprueba si existe el entorno especificado.

list(string, string, string, EnvironmentsListOptionalParams)

Devuelve una colección de entornos.

Detalles del método

createOrUpdate(string, string, string, string, Environment, EnvironmentsCreateOrUpdateOptionalParams)

Crea un entorno nuevo o actualiza el existente.

function createOrUpdate(resourceGroupName: string, serviceName: string, workspaceName: string, environmentName: string, resource: Environment, options?: EnvironmentsCreateOrUpdateOptionalParams): Promise<EnvironmentsCreateOrUpdateResponse>

Parámetros

resourceGroupName

string

Nombre del grupo de recursos. El nombre no distingue mayúsculas de minúsculas.

serviceName

string

Nombre del servicio Azure API Center.

workspaceName

string

Nombre del área de trabajo.

environmentName

string

Nombre del entorno.

resource
Environment

Parámetros de creación de recursos.

options
EnvironmentsCreateOrUpdateOptionalParams

Parámetros de opciones.

Devoluciones

delete(string, string, string, string, EnvironmentsDeleteOptionalParams)

Elimina el entorno.

function delete(resourceGroupName: string, serviceName: string, workspaceName: string, environmentName: string, options?: EnvironmentsDeleteOptionalParams): Promise<void>

Parámetros

resourceGroupName

string

Nombre del grupo de recursos. El nombre no distingue mayúsculas de minúsculas.

serviceName

string

Nombre del servicio Azure API Center.

workspaceName

string

Nombre del área de trabajo.

environmentName

string

Nombre del entorno.

options
EnvironmentsDeleteOptionalParams

Parámetros de opciones.

Devoluciones

Promise<void>

get(string, string, string, string, EnvironmentsGetOptionalParams)

Devuelve los detalles del entorno.

function get(resourceGroupName: string, serviceName: string, workspaceName: string, environmentName: string, options?: EnvironmentsGetOptionalParams): Promise<EnvironmentsGetResponse>

Parámetros

resourceGroupName

string

Nombre del grupo de recursos. El nombre no distingue mayúsculas de minúsculas.

serviceName

string

Nombre del servicio Azure API Center.

workspaceName

string

Nombre del área de trabajo.

environmentName

string

Nombre del entorno.

options
EnvironmentsGetOptionalParams

Parámetros de opciones.

Devoluciones

head(string, string, string, string, EnvironmentsHeadOptionalParams)

Comprueba si existe el entorno especificado.

function head(resourceGroupName: string, serviceName: string, workspaceName: string, environmentName: string, options?: EnvironmentsHeadOptionalParams): Promise<EnvironmentsHeadResponse>

Parámetros

resourceGroupName

string

Nombre del grupo de recursos. El nombre no distingue mayúsculas de minúsculas.

serviceName

string

Nombre del servicio Azure API Center.

workspaceName

string

Nombre del área de trabajo.

environmentName

string

Nombre del entorno.

options
EnvironmentsHeadOptionalParams

Parámetros de opciones.

Devoluciones

list(string, string, string, EnvironmentsListOptionalParams)

Devuelve una colección de entornos.

function list(resourceGroupName: string, serviceName: string, workspaceName: string, options?: EnvironmentsListOptionalParams): PagedAsyncIterableIterator<Environment, Environment[], PageSettings>

Parámetros

resourceGroupName

string

Nombre del grupo de recursos. El nombre no distingue mayúsculas de minúsculas.

serviceName

string

Nombre del servicio Azure API Center.

workspaceName

string

Nombre del área de trabajo.

options
EnvironmentsListOptionalParams

Parámetros de opciones.

Devoluciones