Skip to main content

quotas

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

Overview

Namequotas
TypeResource
Idazure_stack.network_admin.quotas

Fields

NameDatatypeDescription
idtextURI of the resource.
nametextName of the resource.
locationtextRegion location of resource.
max_load_balancers_per_subscriptiontextfield from the properties object
max_nics_per_subscriptiontextfield from the properties object
max_public_ips_per_subscriptiontextfield from the properties object
max_security_groups_per_subscriptiontextfield from the properties object
max_virtual_network_gateway_connections_per_subscriptiontextfield from the properties object
max_virtual_network_gateways_per_subscriptiontextfield from the properties object
max_vnets_per_subscriptiontextfield from the properties object
migration_phasetextfield from the properties object
provisioning_statetextfield from the properties object
resourceNametextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextList of key value pairs.
typetextType of resource.

Methods

NameAccessible byRequired ParamsDescription
getSELECTlocation, resourceName, subscriptionIdGet a quota by name.
listSELECTlocation, subscriptionIdList all quotas.
create_or_updateINSERTlocation, resourceName, subscriptionIdCreate or update a quota.
deleteDELETElocation, resourceName, subscriptionIdDelete a quota by name.

SELECT examples

List all 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 }}';

INSERT example

Use the following StackQL query and manifest file to create a new quotas resource.

/*+ create */
INSERT INTO azure_stack.network_admin.quotas (
location,
resourceName,
subscriptionId,
properties,
tags
)
SELECT
'{{ location }}',
'{{ resourceName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ tags }}'
;

DELETE example

Deletes the specified quotas resource.

/*+ delete */
DELETE FROM azure_stack.network_admin.quotas
WHERE location = '{{ location }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';