Skip to main content

internet_gateways

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

Overview

Nameinternet_gateways
TypeResource
Idazure.managed_network_fabric.internet_gateways

Fields

NameDatatypeDescription
annotationtextfield from the properties object
internetGatewayNametextfield from the properties object
internet_gateway_rule_idtextfield from the properties object
ipv4_addresstextfield from the properties object
locationtextThe geo-location where the resource lives
network_fabric_controller_idtextfield from the properties object
porttextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.
typetextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTinternetGatewayName, resourceGroupName, subscriptionIdImplements Gateway GET method.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdDisplays Internet Gateways list by resource group GET method.
list_by_subscriptionSELECTsubscriptionIdDisplays Internet Gateways list by subscription GET method.
createINSERTinternetGatewayName, resourceGroupName, subscriptionId, data__propertiesCreates a Network Fabric Service Internet Gateway resource instance.
deleteDELETEinternetGatewayName, resourceGroupName, subscriptionIdExecute a delete on Network Fabric Service Internet Gateway.
updateUPDATEinternetGatewayName, resourceGroupName, subscriptionIdExecute patch on Network Fabric Service Internet Gateway.

SELECT examples

Displays Internet Gateways list by subscription GET method.

SELECT
annotation,
internetGatewayName,
internet_gateway_rule_id,
ipv4_address,
location,
network_fabric_controller_id,
port,
provisioning_state,
resourceGroupName,
subscriptionId,
tags,
type
FROM azure.managed_network_fabric.vw_internet_gateways
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new internet_gateways resource.

/*+ create */
INSERT INTO azure.managed_network_fabric.internet_gateways (
internetGatewayName,
resourceGroupName,
subscriptionId,
data__properties,
properties,
tags,
location
)
SELECT
'{{ internetGatewayName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}',
'{{ tags }}',
'{{ location }}'
;

UPDATE example

Updates a internet_gateways resource.

/*+ update */
UPDATE azure.managed_network_fabric.internet_gateways
SET
properties = '{{ properties }}',
tags = '{{ tags }}'
WHERE
internetGatewayName = '{{ internetGatewayName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified internet_gateways resource.

/*+ delete */
DELETE FROM azure.managed_network_fabric.internet_gateways
WHERE internetGatewayName = '{{ internetGatewayName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';