Skip to main content

ip_prefixes

Creates, updates, deletes, gets or lists an ip_prefixes resource.

Overview

Nameip_prefixes
TypeResource
Idazure.managed_network_fabric.ip_prefixes

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
locationstringThe geo-location where the resource lives
propertiesobjectResource properties.
tagsobjectResource tags.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, ipPrefixNameImplements IP Prefix GET method.
list_by_resource_groupselectsubscriptionId, resourceGroupNameImplements IpPrefixes list by resource group GET method.
list_by_subscriptionselectsubscriptionIdImplements IpPrefixes list by subscription GET method.
createinsertsubscriptionId, resourceGroupName, ipPrefixName, data__location, data__propertiesImplements IP Prefix PUT method.
updateupdatesubscriptionId, resourceGroupName, ipPrefixNameAPI to update certain properties of the IP Prefix resource.
deletedeletesubscriptionId, resourceGroupName, ipPrefixNameImplements IP Prefix DELETE method.

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
ipPrefixNamestringName of the IP Prefix.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Implements IP Prefix GET method.

SELECT
location,
properties,
tags
FROM azure.managed_network_fabric.ip_prefixes
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND ipPrefixName = '{{ ipPrefixName }}' -- required
;

INSERT examples

Implements IP Prefix PUT method.

INSERT INTO azure.managed_network_fabric.ip_prefixes (
data__tags,
data__location,
data__properties,
subscriptionId,
resourceGroupName,
ipPrefixName
)
SELECT
'{{ tags }}',
'{{ location }}' /* required */,
'{{ properties }}' /* required */,
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ ipPrefixName }}'
RETURNING
location,
properties,
tags
;

UPDATE examples

API to update certain properties of the IP Prefix resource.

UPDATE azure.managed_network_fabric.ip_prefixes
SET
data__properties = '{{ properties }}',
data__tags = '{{ tags }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND ipPrefixName = '{{ ipPrefixName }}' --required
RETURNING
location,
properties,
tags;

DELETE examples

Implements IP Prefix DELETE method.

DELETE FROM azure.managed_network_fabric.ip_prefixes
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND ipPrefixName = '{{ ipPrefixName }}' --required
;