Skip to main content

ip_extended_communities

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

Overview

Nameip_extended_communities
TypeResource
Idazure_extras.managed_network_fabric.ip_extended_communities

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
administrativeStatestringAdministrative state of the resource. Known values are: "Enabled", "Disabled", "MAT", "RMA", "UnderMaintenance", and "EnabledDegraded". (Enabled, Disabled, MAT, RMA, UnderMaintenance, EnabledDegraded)
annotationstringSwitch configuration description.
configurationStatestringConfiguration state of the resource. Known values are: "Succeeded", "Failed", "Rejected", "Accepted", "Provisioned", "ErrorProvisioning", "Deprovisioning", "Deprovisioned", "ErrorDeprovisioning", "DeferredControl", "Provisioning", "PendingCommit", and "PendingAdministrativeUpdate". (Succeeded, Failed, Rejected, Accepted, Provisioned, ErrorProvisioning, Deprovisioning, Deprovisioned, ErrorDeprovisioning, DeferredControl, Provisioning, PendingCommit, PendingAdministrativeUpdate)
ipExtendedCommunityRulesarrayList of IP Extended Community Rules. Required.
lastOperationobjectDetails of the last operation performed on the resource.
locationstringThe geo-location where the resource lives. Required.
networkFabricIdstringARM Resource ID of the Network Fabric.
provisioningStatestringProvisioning state of the resource. Known values are: "Accepted", "Succeeded", "Updating", "Deleting", "Failed", and "Canceled". (Accepted, Succeeded, Updating, Deleting, Failed, Canceled)
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
tagsobjectResource tags.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, ip_extended_community_name, subscription_idImplements IP Extended Community GET method.
list_by_resource_groupselectresource_group_name, subscription_idImplements IpExtendedCommunities list by resource group GET method.
list_by_subscriptionselectsubscription_idImplements IpExtendedCommunities list by subscription GET method.
createinsertresource_group_name, ip_extended_community_name, subscription_id, location, propertiesImplements IP Extended Community PUT method.
updateupdateresource_group_name, ip_extended_community_name, subscription_idAPI to update certain properties of the IP Extended Community resource.
deletedeleteresource_group_name, ip_extended_community_name, subscription_idImplements IP Extended 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
ip_extended_community_namestringName of the IP Extended Community. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring

SELECT examples

Implements IP Extended Community GET method.

SELECT
id,
name,
administrativeState,
annotation,
configurationState,
ipExtendedCommunityRules,
lastOperation,
location,
networkFabricId,
provisioningState,
systemData,
tags,
type
FROM azure_extras.managed_network_fabric.ip_extended_communities
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND ip_extended_community_name = '{{ ip_extended_community_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Implements IP Extended Community PUT method.

INSERT INTO azure_extras.managed_network_fabric.ip_extended_communities (
tags,
location,
properties,
resource_group_name,
ip_extended_community_name,
subscription_id
)
SELECT
'{{ tags }}',
'{{ location }}' /* required */,
'{{ properties }}' /* required */,
'{{ resource_group_name }}',
'{{ ip_extended_community_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
location,
properties,
systemData,
tags,
type
;

UPDATE examples

API to update certain properties of the IP Extended Community resource.

UPDATE azure_extras.managed_network_fabric.ip_extended_communities
SET
tags = '{{ tags }}',
properties = '{{ properties }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND ip_extended_community_name = '{{ ip_extended_community_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
location,
properties,
systemData,
tags,
type;

DELETE examples

Implements IP Extended Community DELETE method.

DELETE FROM azure_extras.managed_network_fabric.ip_extended_communities
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND ip_extended_community_name = '{{ ip_extended_community_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;