ip_prefixes
Creates, updates, deletes, gets or lists an ip_prefixes
resource.
Overview
Name | ip_prefixes |
Type | Resource |
Id | azure.managed_network_fabric.ip_prefixes |
Fields
The following fields are returned by SELECT
queries:
- get
- list_by_resource_group
- list_by_subscription
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | Resource properties. |
tags | object | Resource tags. |
Lists all IP Prefixes under the resource group.
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | Resource properties. |
tags | object | Resource tags. |
Lists all IpPrefixes under the subscription.
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | Resource properties. |
tags | object | Resource tags. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | subscriptionId , resourceGroupName , ipPrefixName | Implements IP Prefix GET method. | |
list_by_resource_group | select | subscriptionId , resourceGroupName | Implements IpPrefixes list by resource group GET method. | |
list_by_subscription | select | subscriptionId | Implements IpPrefixes list by subscription GET method. | |
create | insert | subscriptionId , resourceGroupName , ipPrefixName , data__location , data__properties | Implements IP Prefix PUT method. | |
update | update | subscriptionId , resourceGroupName , ipPrefixName | API to update certain properties of the IP Prefix resource. | |
delete | delete | subscriptionId , resourceGroupName , ipPrefixName | Implements 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.
Name | Datatype | Description |
---|---|---|
ipPrefixName | string | Name of the IP Prefix. |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string (uuid) | The ID of the target subscription. The value must be an UUID. |
SELECT
examples
- get
- list_by_resource_group
- list_by_subscription
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
;
Implements IpPrefixes list by resource group GET method.
SELECT
location,
properties,
tags
FROM azure.managed_network_fabric.ip_prefixes
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
;
Implements IpPrefixes list by subscription GET method.
SELECT
location,
properties,
tags
FROM azure.managed_network_fabric.ip_prefixes
WHERE subscriptionId = '{{ subscriptionId }}' -- required
;
INSERT
examples
- create
- Manifest
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
;
# Description fields are for documentation purposes
- name: ip_prefixes
props:
- name: subscriptionId
value: string (uuid)
description: Required parameter for the ip_prefixes resource.
- name: resourceGroupName
value: string
description: Required parameter for the ip_prefixes resource.
- name: ipPrefixName
value: string
description: Required parameter for the ip_prefixes resource.
- name: tags
value: object
description: |
Resource tags.
- name: location
value: string
description: |
The geo-location where the resource lives
- name: properties
value: object
description: |
Resource properties.
UPDATE
examples
- update
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
- delete
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
;