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

The following fields are returned by SELECT queries:

OK. The request has succeeded.

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
namestringThe name of the resource
propertiesobjectProperties of an allowed environment type.
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
getselectsubscriptionId, resourceGroupName, projectName, environmentTypeNameGets an allowed environment type.
listselectsubscriptionId, resourceGroupName, projectName$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
environmentTypeNamestringThe name of the environment type.
projectNamestringThe name of the project.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstringThe ID of the target subscription.
$topinteger (int32)The maximum number of resources to return from the operation. Example: '$top=10'.

SELECT examples

Gets an allowed environment type.

SELECT
id,
name,
properties,
systemData,
type
FROM azure.dev_center.project_allowed_environment_types
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND projectName = '{{ projectName }}' -- required
AND environmentTypeName = '{{ environmentTypeName }}' -- required
;