Skip to main content

site_network_services

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

Overview

Namesite_network_services
TypeResource
Idazure.hybrid_network.site_network_services

Fields

NameDatatypeDescription
desired_state_configuration_group_value_referencestextfield from the properties object
identitytextManaged service identity (system assigned and/or user assigned identities)
last_state_configuration_group_value_referencestextfield from the properties object
last_state_network_service_design_version_nametextfield from the properties object
locationtextThe geo-location where the resource lives
managed_resource_group_configurationtextfield from the properties object
network_service_design_group_nametextfield from the properties object
network_service_design_version_nametextfield from the properties object
network_service_design_version_offering_locationtextfield from the properties object
network_service_design_version_resource_referencetextfield from the properties object
provisioning_statetextfield from the properties object
publisher_nametextfield from the properties object
publisher_scopetextfield from the properties object
resourceGroupNametextfield from the properties object
siteNetworkServiceNametextfield from the properties object
site_referencetextfield from the properties object
skutextSku, to be associated with a SiteNetworkService.
subscriptionIdtextfield from the properties object
tagstextResource tags.

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, siteNetworkServiceName, subscriptionIdGets information about the specified site network service.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdLists all site network services.
list_by_subscriptionSELECTsubscriptionIdLists all sites in the network service in a subscription.
create_or_updateINSERTresourceGroupName, siteNetworkServiceName, subscriptionIdCreates or updates a network site.
deleteDELETEresourceGroupName, siteNetworkServiceName, subscriptionIdDeletes the specified site network service.
update_tagsEXECresourceGroupName, siteNetworkServiceName, subscriptionIdUpdates a site update tags.

SELECT examples

Lists all sites in the network service in a subscription.

SELECT
desired_state_configuration_group_value_references,
identity,
last_state_configuration_group_value_references,
last_state_network_service_design_version_name,
location,
managed_resource_group_configuration,
network_service_design_group_name,
network_service_design_version_name,
network_service_design_version_offering_location,
network_service_design_version_resource_reference,
provisioning_state,
publisher_name,
publisher_scope,
resourceGroupName,
siteNetworkServiceName,
site_reference,
sku,
subscriptionId,
tags
FROM azure.hybrid_network.vw_site_network_services
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.hybrid_network.site_network_services (
resourceGroupName,
siteNetworkServiceName,
subscriptionId,
properties,
identity,
sku,
tags,
location
)
SELECT
'{{ resourceGroupName }}',
'{{ siteNetworkServiceName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ identity }}',
'{{ sku }}',
'{{ tags }}',
'{{ location }}'
;

DELETE example

Deletes the specified site_network_services resource.

/*+ delete */
DELETE FROM azure.hybrid_network.site_network_services
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND siteNetworkServiceName = '{{ siteNetworkServiceName }}'
AND subscriptionId = '{{ subscriptionId }}';