quotas
Creates, updates, deletes, gets or lists a quotas
resource.
Overview
Name | quotas |
Type | Resource |
Id | azure_stack.network_admin.quotas |
Fields
- vw_quotas
- quotas
Name | Datatype | Description |
---|---|---|
id | text | URI of the resource. |
name | text | Name of the resource. |
location | text | Region location of resource. |
max_load_balancers_per_subscription | text | field from the properties object |
max_nics_per_subscription | text | field from the properties object |
max_public_ips_per_subscription | text | field from the properties object |
max_security_groups_per_subscription | text | field from the properties object |
max_virtual_network_gateway_connections_per_subscription | text | field from the properties object |
max_virtual_network_gateways_per_subscription | text | field from the properties object |
max_vnets_per_subscription | text | field from the properties object |
migration_phase | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceName | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | List of key value pairs. |
type | text | Type of resource. |
Name | Datatype | Description |
---|---|---|
id | string | URI of the resource. |
name | string | Name of the resource. |
location | string | Region location of resource. |
properties | object | Properties of a quota. |
tags | object | List of key value pairs. |
type | string | Type of resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | location, resourceName, subscriptionId | Get a quota by name. |
list | SELECT | location, subscriptionId | List all quotas. |
create_or_update | INSERT | location, resourceName, subscriptionId | Create or update a quota. |
delete | DELETE | location, resourceName, subscriptionId | Delete a quota by name. |
SELECT
examples
List all quotas.
- vw_quotas
- quotas
SELECT
id,
name,
location,
max_load_balancers_per_subscription,
max_nics_per_subscription,
max_public_ips_per_subscription,
max_security_groups_per_subscription,
max_virtual_network_gateway_connections_per_subscription,
max_virtual_network_gateways_per_subscription,
max_vnets_per_subscription,
migration_phase,
provisioning_state,
resourceName,
subscriptionId,
tags,
type
FROM azure_stack.network_admin.vw_quotas
WHERE location = '{{ location }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
location,
properties,
tags,
type
FROM azure_stack.network_admin.quotas
WHERE location = '{{ location }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new quotas
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure_stack.network_admin.quotas (
location,
resourceName,
subscriptionId,
properties,
tags
)
SELECT
'{{ location }}',
'{{ resourceName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ tags }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: maxPublicIpsPerSubscription
value: integer
- name: maxVnetsPerSubscription
value: integer
- name: maxVirtualNetworkGatewaysPerSubscription
value: integer
- name: maxVirtualNetworkGatewayConnectionsPerSubscription
value: integer
- name: maxLoadBalancersPerSubscription
value: integer
- name: maxNicsPerSubscription
value: integer
- name: maxSecurityGroupsPerSubscription
value: integer
- name: migrationPhase
value: []
- name: provisioningState
value: string
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: location
value: string
- name: tags
value: object
DELETE
example
Deletes the specified quotas
resource.
/*+ delete */
DELETE FROM azure_stack.network_admin.quotas
WHERE location = '{{ location }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';