Skip to main content

project_allowed_environment_types

Creates, updates, deletes, gets or lists a project_allowed_environment_types resource.

Overview

Nameproject_allowed_environment_types
TypeResource
Idazure.dev_center.project_allowed_environment_types

Fields

NameDatatypeDescription
idtextFully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
nametextThe name of the resource
display_nametextfield from the properties object
environmentTypeNametextfield from the properties object
projectNametextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
typetextThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

NameAccessible byRequired ParamsDescription
getSELECTenvironmentTypeName, projectName, resourceGroupName, subscriptionIdGets an allowed environment type.
listSELECTprojectName, resourceGroupName, subscriptionIdLists allowed environment types for a project.

SELECT examples

Lists allowed environment types for a project.

SELECT
id,
name,
display_name,
environmentTypeName,
projectName,
provisioning_state,
resourceGroupName,
subscriptionId,
system_data,
type
FROM azure.dev_center.vw_project_allowed_environment_types
WHERE projectName = '{{ projectName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';