ip_extended_communities
Creates, updates, deletes, gets or lists a ip_extended_communities
resource.
Overview
Name | ip_extended_communities |
Type | Resource |
Id | azure.managed_network_fabric.ip_extended_communities |
Fields
- vw_ip_extended_communities
- ip_extended_communities
Name | Datatype | Description |
---|---|---|
administrative_state | text | field from the properties object |
annotation | text | field from the properties object |
configuration_state | text | field from the properties object |
ipExtendedCommunityName | text | field from the properties object |
ip_extended_community_rules | text | field from the properties object |
location | text | The geo-location where the resource lives |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | Resource tags. |
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | IP Extended Community Properties defines the resource properties. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | ipExtendedCommunityName, resourceGroupName, subscriptionId | Implements IP Extended Community GET method. |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | Implements IpExtendedCommunities list by resource group GET method. |
list_by_subscription | SELECT | subscriptionId | Implements IpExtendedCommunities list by subscription GET method. |
create | INSERT | ipExtendedCommunityName, resourceGroupName, subscriptionId, data__properties | Implements IP Extended Community PUT method. |
delete | DELETE | ipExtendedCommunityName, resourceGroupName, subscriptionId | Implements IP Extended Community DELETE method. |
update | UPDATE | ipExtendedCommunityName, resourceGroupName, subscriptionId | API to update certain properties of the IP Extended Community resource. |
SELECT
examples
Implements IpExtendedCommunities list by subscription GET method.
- vw_ip_extended_communities
- ip_extended_communities
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 }}';
SELECT
location,
properties,
tags
FROM azure.managed_network_fabric.ip_extended_communities
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new ip_extended_communities
resource.
- All Properties
- Manifest
/*+ 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 }}'
;
- name: your_resource_model_name
props:
- name: tags
value: object
- name: location
value: string
- name: properties
value:
- name: annotation
value: string
- name: ipExtendedCommunityRules
value:
- - name: action
value: []
- name: sequenceNumber
value: integer
- name: routeTargets
value:
- string
- name: configurationState
value: []
- name: provisioningState
value: []
- name: administrativeState
value: []
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 }}';