Skip to main content

interconnect_groups

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

Overview​

Nameinterconnect_groups
TypeResource
Idazure.network.interconnect_groups

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringResource ID.
namestringResource name.
etagstringA unique read-only string that changes whenever the resource is updated.
locationstringResource location.
provisioningStatestringThe provisioning state of the interconnect group resource. Known values are: "Failed", "Succeeded", "Canceled", "Creating", "Updating", and "Deleting". (Failed, Succeeded, Canceled, Creating, Updating, Deleting)
resourceGuidstringThe resource GUID property of the interconnect group resource.
scopestringScope of interconnect group resource. Known values are: "None" and "InfiniBand". (None, InfiniBand)
subgroupProfileobjectThe subgroup profile of the interconnect group resource. Required.
subgroupsarrayA list of subgroups of the interconnect group.
tagsobjectResource tags.
typestringResource type.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, interconnect_group_name, subscription_idGets information about the specified interconnect group.
listselectresource_group_name, subscription_idGets all interconnect groups in a resource group.
list_allselectsubscription_idGets all interconnect groups in a subscription.
create_or_updateinsertresource_group_name, interconnect_group_name, subscription_idCreates or updates an interconnect group.
update_tagsupdateresource_group_name, interconnect_group_name, subscription_idUpdates interconnect group tags.
create_or_updatereplaceresource_group_name, interconnect_group_name, subscription_idCreates or updates an interconnect group.
deletedeleteresource_group_name, interconnect_group_name, subscription_idDeletes the specified interconnect group.
get_node_availabilityexecresource_group_name, interconnect_group_name, subscription_idGets node availability for all subgroups in the specified interconnect group.

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
interconnect_group_namestringThe name of the interconnect group. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring

SELECT examples​

Gets information about the specified interconnect group.

SELECT
id,
name,
etag,
location,
provisioningState,
resourceGuid,
scope,
subgroupProfile,
subgroups,
tags,
type
FROM azure.network.interconnect_groups
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND interconnect_group_name = '{{ interconnect_group_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples​

Creates or updates an interconnect group.

INSERT INTO azure.network.interconnect_groups (
id,
location,
tags,
properties,
resource_group_name,
interconnect_group_name,
subscription_id
)
SELECT
'{{ id }}',
'{{ location }}',
'{{ tags }}',
'{{ properties }}',
'{{ resource_group_name }}',
'{{ interconnect_group_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
etag,
location,
properties,
tags,
type
;

UPDATE examples​

Updates interconnect group tags.

UPDATE azure.network.interconnect_groups
SET
tags = '{{ tags }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND interconnect_group_name = '{{ interconnect_group_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
etag,
location,
properties,
tags,
type;

REPLACE examples​

Creates or updates an interconnect group.

REPLACE azure.network.interconnect_groups
SET
id = '{{ id }}',
location = '{{ location }}',
tags = '{{ tags }}',
properties = '{{ properties }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND interconnect_group_name = '{{ interconnect_group_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
etag,
location,
properties,
tags,
type;

DELETE examples​

Deletes the specified interconnect group.

DELETE FROM azure.network.interconnect_groups
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND interconnect_group_name = '{{ interconnect_group_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;

Lifecycle Methods​

Gets node availability for all subgroups in the specified interconnect group.

EXEC azure.network.interconnect_groups.get_node_availability
@resource_group_name='{{ resource_group_name }}' --required,
@interconnect_group_name='{{ interconnect_group_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
;