EnvironmentTypes interface

Interface representing a EnvironmentTypes.

Methods

createOrUpdate(string, string, string, EnvironmentType, EnvironmentTypesCreateOrUpdateOptionalParams)

Creates or updates an environment type.

delete(string, string, string, EnvironmentTypesDeleteOptionalParams)

Deletes an environment type.

get(string, string, string, EnvironmentTypesGetOptionalParams)

Gets an environment type.

listByDevCenter(string, string, EnvironmentTypesListByDevCenterOptionalParams)

Lists environment types for the devcenter.

update(string, string, string, EnvironmentTypeUpdate, EnvironmentTypesUpdateOptionalParams)

Partially updates an environment type.

Method Details

createOrUpdate(string, string, string, EnvironmentType, EnvironmentTypesCreateOrUpdateOptionalParams)

Creates or updates an environment type.

function createOrUpdate(resourceGroupName: string, devCenterName: string, environmentTypeName: string, body: EnvironmentType, options?: EnvironmentTypesCreateOrUpdateOptionalParams): Promise<EnvironmentType>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

devCenterName

string

The name of the devcenter.

environmentTypeName

string

The name of the environment type.

body
EnvironmentType

Represents an Environment Type.

options
EnvironmentTypesCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<EnvironmentType>

delete(string, string, string, EnvironmentTypesDeleteOptionalParams)

Deletes an environment type.

function delete(resourceGroupName: string, devCenterName: string, environmentTypeName: string, options?: EnvironmentTypesDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

devCenterName

string

The name of the devcenter.

environmentTypeName

string

The name of the environment type.

options
EnvironmentTypesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, EnvironmentTypesGetOptionalParams)

Gets an environment type.

function get(resourceGroupName: string, devCenterName: string, environmentTypeName: string, options?: EnvironmentTypesGetOptionalParams): Promise<EnvironmentType>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

devCenterName

string

The name of the devcenter.

environmentTypeName

string

The name of the environment type.

options
EnvironmentTypesGetOptionalParams

The options parameters.

Returns

Promise<EnvironmentType>

listByDevCenter(string, string, EnvironmentTypesListByDevCenterOptionalParams)

Lists environment types for the devcenter.

function listByDevCenter(resourceGroupName: string, devCenterName: string, options?: EnvironmentTypesListByDevCenterOptionalParams): PagedAsyncIterableIterator<EnvironmentType, EnvironmentType[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

devCenterName

string

The name of the devcenter.

options
EnvironmentTypesListByDevCenterOptionalParams

The options parameters.

Returns

update(string, string, string, EnvironmentTypeUpdate, EnvironmentTypesUpdateOptionalParams)

Partially updates an environment type.

function update(resourceGroupName: string, devCenterName: string, environmentTypeName: string, body: EnvironmentTypeUpdate, options?: EnvironmentTypesUpdateOptionalParams): Promise<EnvironmentType>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

devCenterName

string

The name of the devcenter.

environmentTypeName

string

The name of the environment type.

body
EnvironmentTypeUpdate

Updatable environment type properties.

options
EnvironmentTypesUpdateOptionalParams

The options parameters.

Returns

Promise<EnvironmentType>