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.devcenter.project_allowed_environment_types

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}". # pylint: disable=line-too-long
namestringThe name of the resource.
displayNamestringThe display name of the allowed environment type.
provisioningStatestringThe provisioning state of the resource. Known values are: "NotSpecified", "Accepted", "Running", "Creating", "Created", "Updating", "Updated", "Deleting", "Deleted", "Succeeded", "Failed", "Canceled", "MovingResources", "TransientFailure", "RolloutInProgress", and "StorageProvisioningFailed".
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, project_name, environment_type_name, subscription_idGets an allowed environment type.
listselectresource_group_name, project_name, subscription_id$topLists allowed environment types for a project.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
environment_type_namestringThe name of the environment type. Required.
project_namestringThe name of the project. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring
$topintegerThe maximum number of resources to return from the operation. Example: '$top=10'. Default value is None.

SELECT examples

Gets an allowed environment type.

SELECT
id,
name,
displayName,
provisioningState,
systemData,
type
FROM azure.devcenter.project_allowed_environment_types
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND project_name = '{{ project_name }}' -- required
AND environment_type_name = '{{ environment_type_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;