Skip to main content

ip_communities

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

Overview

Nameip_communities
TypeResource
Idazure.managed_network_fabric.ip_communities

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, ipCommunityNameImplements an IP Community GET method.
list_by_resource_groupselectsubscriptionId, resourceGroupNameImplements IP Communities list by resource group GET method.
list_by_subscriptionselectsubscriptionIdImplements IP Communities list by subscription GET method.
createinsertsubscriptionId, resourceGroupName, ipCommunityName, data__propertiesImplements an IP Community PUT method.
updateupdatesubscriptionId, resourceGroupName, ipCommunityNameAPI to update certain properties of the IP Community resource.
deletedeletesubscriptionId, resourceGroupName, ipCommunityNameImplements IP Community 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
ipCommunityNamestringName of the IP Community.
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 an IP Community GET method.

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

INSERT examples

Implements an IP Community PUT method.

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

UPDATE examples

API to update certain properties of the IP Community resource.

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

DELETE examples

Implements IP Community DELETE method.

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