Skip to main content

ip_extended_communities

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

Overview

Nameip_extended_communities
TypeResource
Idazure.managed_network_fabric.ip_extended_communities

Fields

NameDatatypeDescription
administrative_statetextfield from the properties object
annotationtextfield from the properties object
configuration_statetextfield from the properties object
ipExtendedCommunityNametextfield from the properties object
ip_extended_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
getSELECTipExtendedCommunityName, resourceGroupName, subscriptionIdImplements IP Extended Community GET method.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdImplements IpExtendedCommunities list by resource group GET method.
list_by_subscriptionSELECTsubscriptionIdImplements IpExtendedCommunities list by subscription GET method.
createINSERTipExtendedCommunityName, resourceGroupName, subscriptionId, data__propertiesImplements IP Extended Community PUT method.
deleteDELETEipExtendedCommunityName, resourceGroupName, subscriptionIdImplements IP Extended Community DELETE method.
updateUPDATEipExtendedCommunityName, resourceGroupName, subscriptionIdAPI to update certain properties of the IP Extended Community resource.

SELECT examples

Implements IpExtendedCommunities list by subscription GET method.

SELECT
administrative_state,
annotation,
configuration_state,
ipExtendedCommunityName,
ip_extended_community_rules,
location,
provisioning_state,
resourceGroupName,
subscriptionId,
tags
FROM azure.managed_network_fabric.vw_ip_extended_communities
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

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

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

UPDATE example

Updates a ip_extended_communities resource.

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

DELETE example

Deletes the specified ip_extended_communities resource.

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