Skip to main content

ip_pools

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

Overview

Nameip_pools
TypeResource
Idazure_stack.fabric_admin.ip_pools

Fields

NameDatatypeDescription
idtextURI of the resource.
nametextName of the resource.
address_prefixtextfield from the properties object
end_ip_addresstextfield from the properties object
ipPooltextfield from the properties object
locationtextThe region where the resource is located.
number_of_allocated_ip_addressestextfield from the properties object
number_of_ip_addressestextfield from the properties object
number_of_ip_addresses_in_transitiontextfield from the properties object
resourceGroupNametextfield from the properties object
start_ip_addresstextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextList of key-value pairs.
typetextType of resource.

Methods

NameAccessible byRequired ParamsDescription
getSELECTipPool, location, resourceGroupName, subscriptionIdReturn the requested IP pool.
listSELECTlocation, resourceGroupName, subscriptionIdReturns a list of all IP pools at a certain location.
create_or_updateINSERTipPool, location, resourceGroupName, subscriptionIdCreate an IP pool. Once created an IP pool cannot be deleted.

SELECT examples

Returns a list of all IP pools at a certain location.

SELECT
id,
name,
address_prefix,
end_ip_address,
ipPool,
location,
number_of_allocated_ip_addresses,
number_of_ip_addresses,
number_of_ip_addresses_in_transition,
resourceGroupName,
start_ip_address,
subscriptionId,
tags,
type
FROM azure_stack.fabric_admin.vw_ip_pools
WHERE location = '{{ location }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure_stack.fabric_admin.ip_pools (
ipPool,
location,
resourceGroupName,
subscriptionId,
properties,
location,
tags
)
SELECT
'{{ ipPool }}',
'{{ location }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ location }}',
'{{ tags }}'
;