Skip to main content

networks

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

Overview

Namenetworks
TypeResource
Idazure.service_fabric_mesh.networks

Fields

NameDatatypeDescription
descriptiontextfield from the properties object
kindtextfield from the properties object
locationtextThe geo-location where the resource lives
networkResourceNametextfield from the properties object
resourceGroupNametextfield from the properties object
statustextfield from the properties object
status_detailstextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.

Methods

NameAccessible byRequired ParamsDescription
getSELECTnetworkResourceName, resourceGroupName, subscriptionIdGets the information about the network resource with the given name. The information include the description and other properties of the network.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdGets the information about all network resources in a given resource group. The information include the description and other properties of the Network.
list_by_subscriptionSELECTsubscriptionIdGets the information about all network resources in a given resource group. The information include the description and other properties of the network.
createINSERTnetworkResourceName, resourceGroupName, subscriptionId, data__propertiesCreates a network resource with the specified name, description and properties. If a network resource with the same name exists, then it is updated with the specified description and properties.
deleteDELETEnetworkResourceName, resourceGroupName, subscriptionIdDeletes the network resource identified by the name.

SELECT examples

Gets the information about all network resources in a given resource group. The information include the description and other properties of the network.

SELECT
description,
kind,
location,
networkResourceName,
resourceGroupName,
status,
status_details,
subscriptionId,
tags
FROM azure.service_fabric_mesh.vw_networks
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.service_fabric_mesh.networks (
networkResourceName,
resourceGroupName,
subscriptionId,
data__properties,
tags,
location,
properties
)
SELECT
'{{ networkResourceName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ tags }}',
'{{ location }}',
'{{ properties }}'
;

DELETE example

Deletes the specified networks resource.

/*+ delete */
DELETE FROM azure.service_fabric_mesh.networks
WHERE networkResourceName = '{{ networkResourceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';