Skip to main content

network_to_network_interconnects

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

Overview

Namenetwork_to_network_interconnects
TypeResource
Idazure_extras.managed_network_fabric.network_to_network_interconnects

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)
conditionalDefaultRouteConfigurationobjectConditional Default Route Configuration properties.
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)
egressAclIdstringEgress Acl. ARM resource ID of Access Control Lists.
exportRoutePolicyobjectExport Route Policy information.
importRoutePolicyobjectImport Route Policy information.
ingressAclIdstringIngress Acl. ARM resource ID of Access Control Lists.
isManagementTypestringConfiguration to use NNI for Infrastructure Management. Example: True/False. Known values are: "True" and "False". (True, False)
lastOperationobjectDetails of the last operation performed on the resource.
layer2ConfigurationobjectCommon properties for Layer2 Configuration.
microBfdStatestringMicro Bidirectional Forwarding Detection (BFD) enabled/disabled state. Known values are: "Enabled" and "Disabled". (Enabled, Disabled)
nniTypestringType of NNI used. Example: CE | NPB. Known values are: "CE" and "NPB". (CE, NPB)
npbStaticRouteConfigurationobjectNPB Static Route Configuration properties.
optionBLayer3ConfigurationobjectCommon properties for Layer3Configuration.
provisioningStatestringProvisioning state of the resource. Known values are: "Accepted", "Succeeded", "Updating", "Deleting", "Failed", and "Canceled". (Accepted, Succeeded, Updating, Deleting, Failed, Canceled)
staticRouteConfigurationobjectStatic Route Configuration.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
useOptionBstringBased on this option layer3 parameters are mandatory. Example: True/False. Required. Known values are: "True" and "False". (True, False)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, network_fabric_name, network_to_network_interconnect_name, subscription_idImplements NetworkToNetworkInterconnects GET method.
list_by_network_fabricselectresource_group_name, network_fabric_name, subscription_idImplements Network To Network Interconnects list by Network Fabric GET method.
createinsertresource_group_name, network_fabric_name, network_to_network_interconnect_name, subscription_id, propertiesConfiguration used to setup CE-PE connectivity PUT Method.
updateupdateresource_group_name, network_fabric_name, network_to_network_interconnect_name, subscription_idUpdate certain properties of the Network To NetworkInterconnects resource.
deletedeleteresource_group_name, network_fabric_name, network_to_network_interconnect_name, subscription_idImplements NetworkToNetworkInterconnects DELETE method.
update_npb_static_route_bfd_administrative_stateexecresource_group_name, network_fabric_name, network_to_network_interconnect_name, subscription_idUpdates the NPB Static Route BFD Administrative State.
update_administrative_stateexecresource_group_name, network_fabric_name, network_to_network_interconnect_name, subscription_idUpdates the Admin State.
update_bfd_administrative_stateexecresource_group_name, network_fabric_name, network_to_network_interconnect_name, subscription_idUpdates the Admin State.

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
network_fabric_namestringName of the Network Fabric. Required.
network_to_network_interconnect_namestringName of the Network to Network Interconnect. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring

SELECT examples

Implements NetworkToNetworkInterconnects GET method.

SELECT
id,
name,
administrativeState,
conditionalDefaultRouteConfiguration,
configurationState,
egressAclId,
exportRoutePolicy,
importRoutePolicy,
ingressAclId,
isManagementType,
lastOperation,
layer2Configuration,
microBfdState,
nniType,
npbStaticRouteConfiguration,
optionBLayer3Configuration,
provisioningState,
staticRouteConfiguration,
systemData,
type,
useOptionB
FROM azure_extras.managed_network_fabric.network_to_network_interconnects
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND network_fabric_name = '{{ network_fabric_name }}' -- required
AND network_to_network_interconnect_name = '{{ network_to_network_interconnect_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;

INSERT examples

Configuration used to setup CE-PE connectivity PUT Method.

INSERT INTO azure_extras.managed_network_fabric.network_to_network_interconnects (
properties,
resource_group_name,
network_fabric_name,
network_to_network_interconnect_name,
subscription_id
)
SELECT
'{{ properties }}' /* required */,
'{{ resource_group_name }}',
'{{ network_fabric_name }}',
'{{ network_to_network_interconnect_name }}',
'{{ subscription_id }}'
RETURNING
id,
name,
properties,
systemData,
type
;

UPDATE examples

Update certain properties of the Network To NetworkInterconnects resource.

UPDATE azure_extras.managed_network_fabric.network_to_network_interconnects
SET
properties = '{{ properties }}'
WHERE
resource_group_name = '{{ resource_group_name }}' --required
AND network_fabric_name = '{{ network_fabric_name }}' --required
AND network_to_network_interconnect_name = '{{ network_to_network_interconnect_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
RETURNING
id,
name,
properties,
systemData,
type;

DELETE examples

Implements NetworkToNetworkInterconnects DELETE method.

DELETE FROM azure_extras.managed_network_fabric.network_to_network_interconnects
WHERE resource_group_name = '{{ resource_group_name }}' --required
AND network_fabric_name = '{{ network_fabric_name }}' --required
AND network_to_network_interconnect_name = '{{ network_to_network_interconnect_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
;

Lifecycle Methods

Updates the NPB Static Route BFD Administrative State.

EXEC azure_extras.managed_network_fabric.network_to_network_interconnects.update_npb_static_route_bfd_administrative_state 
@resource_group_name='{{ resource_group_name }}' --required,
@network_fabric_name='{{ network_fabric_name }}' --required,
@network_to_network_interconnect_name='{{ network_to_network_interconnect_name }}' --required,
@subscription_id='{{ subscription_id }}' --required
@@json=
'{
"resourceIds": "{{ resourceIds }}",
"state": "{{ state }}"
}'
;