network_to_network_interconnects
Creates, updates, deletes, gets or lists a network_to_network_interconnects
resource.
Overview
Name | network_to_network_interconnects |
Type | Resource |
Id | azure.managed_network_fabric.network_to_network_interconnects |
Fields
- vw_network_to_network_interconnects
- network_to_network_interconnects
Name | Datatype | Description |
---|---|---|
administrative_state | text | field from the properties object |
configuration_state | text | field from the properties object |
egress_acl_id | text | field from the properties object |
export_route_policy | text | field from the properties object |
import_route_policy | text | field from the properties object |
ingress_acl_id | text | field from the properties object |
is_management_type | text | field from the properties object |
layer2_configuration | text | field from the properties object |
networkFabricName | text | field from the properties object |
networkToNetworkInterconnectName | text | field from the properties object |
nni_type | text | field from the properties object |
npb_static_route_configuration | text | field from the properties object |
option_b_layer3_configuration | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
use_optionb | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | Configuration used to setup CE-PE connectivity. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | networkFabricName, networkToNetworkInterconnectName, resourceGroupName, subscriptionId | Implements NetworkToNetworkInterconnects GET method. |
list_by_network_fabric | SELECT | networkFabricName, resourceGroupName, subscriptionId | Implements Network To Network Interconnects list by Network Fabric GET method. |
create | INSERT | networkFabricName, networkToNetworkInterconnectName, resourceGroupName, subscriptionId, data__properties | Configuration used to setup CE-PE connectivity PUT Method. |
delete | DELETE | networkFabricName, networkToNetworkInterconnectName, resourceGroupName, subscriptionId | Implements NetworkToNetworkInterconnects DELETE method. |
update | UPDATE | networkFabricName, networkToNetworkInterconnectName, resourceGroupName, subscriptionId | Update certain properties of the Network To NetworkInterconnects resource. |
update_administrative_state | EXEC | networkFabricName, networkToNetworkInterconnectName, resourceGroupName, subscriptionId | Updates the Admin State. |
update_npb_static_route_bfd_administrative_state | EXEC | networkFabricName, networkToNetworkInterconnectName, resourceGroupName, subscriptionId | Updates the NPB Static Route BFD Administrative State. |
SELECT
examples
Implements Network To Network Interconnects list by Network Fabric GET method.
- vw_network_to_network_interconnects
- network_to_network_interconnects
SELECT
administrative_state,
configuration_state,
egress_acl_id,
export_route_policy,
import_route_policy,
ingress_acl_id,
is_management_type,
layer2_configuration,
networkFabricName,
networkToNetworkInterconnectName,
nni_type,
npb_static_route_configuration,
option_b_layer3_configuration,
provisioning_state,
resourceGroupName,
subscriptionId,
use_optionb
FROM azure.managed_network_fabric.vw_network_to_network_interconnects
WHERE networkFabricName = '{{ networkFabricName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
properties
FROM azure.managed_network_fabric.network_to_network_interconnects
WHERE networkFabricName = '{{ networkFabricName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new network_to_network_interconnects
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.managed_network_fabric.network_to_network_interconnects (
networkFabricName,
networkToNetworkInterconnectName,
resourceGroupName,
subscriptionId,
data__properties,
properties
)
SELECT
'{{ networkFabricName }}',
'{{ networkToNetworkInterconnectName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: nniType
value: string
- name: isManagementType
value: string
- name: useOptionB
value: []
- name: layer2Configuration
value:
- name: mtu
value: integer
- name: interfaces
value:
- []
- name: optionBLayer3Configuration
value: object
- name: npbStaticRouteConfiguration
value:
- name: bfdConfiguration
value:
- name: administrativeState
value: string
- name: intervalInMilliSeconds
value: integer
- name: multiplier
value: integer
- name: ipv4Routes
value:
- - name: prefix
value: string
- name: nextHop
value:
- string
- name: ipv6Routes
value:
- - name: prefix
value: string
- name: nextHop
value:
- string
- name: importRoutePolicy
value:
- name: importIpv4RoutePolicyId
value: []
- name: exportRoutePolicy
value: []
- name: egressAclId
value: []
- name: configurationState
value: []
- name: provisioningState
value: []
- name: administrativeState
value: []
UPDATE
example
Updates a network_to_network_interconnects
resource.
/*+ update */
UPDATE azure.managed_network_fabric.network_to_network_interconnects
SET
properties = '{{ properties }}'
WHERE
networkFabricName = '{{ networkFabricName }}'
AND networkToNetworkInterconnectName = '{{ networkToNetworkInterconnectName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
DELETE
example
Deletes the specified network_to_network_interconnects
resource.
/*+ delete */
DELETE FROM azure.managed_network_fabric.network_to_network_interconnects
WHERE networkFabricName = '{{ networkFabricName }}'
AND networkToNetworkInterconnectName = '{{ networkToNetworkInterconnectName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';