ProjectEnvironmentTypes interface

Interface representing a ProjectEnvironmentTypes.

Methods

createOrUpdate(string, string, string, ProjectEnvironmentType, ProjectEnvironmentTypesCreateOrUpdateOptionalParams)

Creates or updates a project environment type.

delete(string, string, string, ProjectEnvironmentTypesDeleteOptionalParams)

Deletes a project environment type.

get(string, string, string, ProjectEnvironmentTypesGetOptionalParams)

Gets a project environment type.

list(string, string, ProjectEnvironmentTypesListOptionalParams)

Lists environment types for a project.

update(string, string, string, ProjectEnvironmentTypeUpdate, ProjectEnvironmentTypesUpdateOptionalParams)

Partially updates a project environment type.

Method Details

createOrUpdate(string, string, string, ProjectEnvironmentType, ProjectEnvironmentTypesCreateOrUpdateOptionalParams)

Creates or updates a project environment type.

function createOrUpdate(resourceGroupName: string, projectName: string, environmentTypeName: string, body: ProjectEnvironmentType, options?: ProjectEnvironmentTypesCreateOrUpdateOptionalParams): Promise<ProjectEnvironmentType>

Parameters

resourceGroupName

string

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

projectName

string

The name of the project.

environmentTypeName

string

The name of the environment type.

body
ProjectEnvironmentType

Represents a Project Environment Type.

options
ProjectEnvironmentTypesCreateOrUpdateOptionalParams

The options parameters.

Returns

delete(string, string, string, ProjectEnvironmentTypesDeleteOptionalParams)

Deletes a project environment type.

function delete(resourceGroupName: string, projectName: string, environmentTypeName: string, options?: ProjectEnvironmentTypesDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

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

projectName

string

The name of the project.

environmentTypeName

string

The name of the environment type.

options
ProjectEnvironmentTypesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, ProjectEnvironmentTypesGetOptionalParams)

Gets a project environment type.

function get(resourceGroupName: string, projectName: string, environmentTypeName: string, options?: ProjectEnvironmentTypesGetOptionalParams): Promise<ProjectEnvironmentType>

Parameters

resourceGroupName

string

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

projectName

string

The name of the project.

environmentTypeName

string

The name of the environment type.

options
ProjectEnvironmentTypesGetOptionalParams

The options parameters.

Returns

list(string, string, ProjectEnvironmentTypesListOptionalParams)

Lists environment types for a project.

function list(resourceGroupName: string, projectName: string, options?: ProjectEnvironmentTypesListOptionalParams): PagedAsyncIterableIterator<ProjectEnvironmentType, ProjectEnvironmentType[], PageSettings>

Parameters

resourceGroupName

string

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

projectName

string

The name of the project.

options
ProjectEnvironmentTypesListOptionalParams

The options parameters.

Returns

update(string, string, string, ProjectEnvironmentTypeUpdate, ProjectEnvironmentTypesUpdateOptionalParams)

Partially updates a project environment type.

function update(resourceGroupName: string, projectName: string, environmentTypeName: string, body: ProjectEnvironmentTypeUpdate, options?: ProjectEnvironmentTypesUpdateOptionalParams): Promise<ProjectEnvironmentType>

Parameters

resourceGroupName

string

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

projectName

string

The name of the project.

environmentTypeName

string

The name of the environment type.

body
ProjectEnvironmentTypeUpdate

Updatable project environment type properties.

options
ProjectEnvironmentTypesUpdateOptionalParams

The options parameters.

Returns