project_allowed_environment_types
Creates, updates, deletes, gets or lists a project_allowed_environment_types
resource.
Overview
Name | project_allowed_environment_types |
Type | Resource |
Id | azure.dev_center.project_allowed_environment_types |
Fields
The following fields are returned by SELECT
queries:
- get
- list
OK. The request has succeeded.
Name | Datatype | Description |
---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name | string | The name of the resource |
properties | object | Properties of an allowed environment type. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
OK. The request has succeeded.
Name | Datatype | Description |
---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} |
name | string | The name of the resource |
properties | object | Properties of an allowed environment type. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , resourceGroupName , projectName , environmentTypeName | Gets an allowed environment type. | |
list | select | subscriptionId , resourceGroupName , projectName | $top | Lists 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.
Name | Datatype | Description |
---|---|---|
environmentTypeName | string | The name of the environment type. |
projectName | string | The name of the project. |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string | The ID of the target subscription. |
$top | integer (int32) | The maximum number of resources to return from the operation. Example: '$top=10'. |
SELECT
examples
- get
- list
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
;
Lists allowed environment types for a project.
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 $top = '{{ $top }}'
;