EnvironmentTypes interface
Interface representing a EnvironmentTypes.
Methods
create |
Creates or updates an environment type. |
delete(string, string, string, Environment |
Deletes an environment type. |
get(string, string, string, Environment |
Gets an environment type. |
list |
Lists environment types for the devcenter. |
update(string, string, string, Environment |
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.
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.
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.
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.
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.
Updatable environment type properties.
The options parameters.
Returns
Promise<EnvironmentType>