Skip to main content

ip_communities

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

Overview

Nameip_communities
TypeResource
Idazure.managed_network_fabric.ip_communities

Fields

NameDatatypeDescription
administrative_statetextfield from the properties object
annotationtextfield from the properties object
configuration_statetextfield from the properties object
ipCommunityNametextfield from the properties object
ip_community_rulestextfield from the properties object
locationtextThe geo-location where the resource lives
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.

Methods

NameAccessible byRequired ParamsDescription
getSELECTipCommunityName, resourceGroupName, subscriptionIdImplements an IP Community GET method.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdImplements IP Communities list by resource group GET method.
list_by_subscriptionSELECTsubscriptionIdImplements IP Communities list by subscription GET method.
createINSERTipCommunityName, resourceGroupName, subscriptionId, data__propertiesImplements an IP Community PUT method.
deleteDELETEipCommunityName, resourceGroupName, subscriptionIdImplements IP Community DELETE method.
updateUPDATEipCommunityName, resourceGroupName, subscriptionIdAPI to update certain properties of the IP Community resource.

SELECT examples

Implements IP Communities list by subscription GET method.

SELECT
administrative_state,
annotation,
configuration_state,
ipCommunityName,
ip_community_rules,
location,
provisioning_state,
resourceGroupName,
subscriptionId,
tags
FROM azure.managed_network_fabric.vw_ip_communities
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.managed_network_fabric.ip_communities (
ipCommunityName,
resourceGroupName,
subscriptionId,
data__properties,
tags,
location,
properties
)
SELECT
'{{ ipCommunityName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ tags }}',
'{{ location }}',
'{{ properties }}'
;

UPDATE example

Updates a ip_communities resource.

/*+ update */
UPDATE azure.managed_network_fabric.ip_communities
SET
properties = '{{ properties }}',
tags = '{{ tags }}'
WHERE
ipCommunityName = '{{ ipCommunityName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified ip_communities resource.

/*+ delete */
DELETE FROM azure.managed_network_fabric.ip_communities
WHERE ipCommunityName = '{{ ipCommunityName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';