site_network_services
Creates, updates, deletes, gets or lists a site_network_services
resource.
Overview
Name | site_network_services |
Type | Resource |
Id | azure.hybrid_network.site_network_services |
Fields
- vw_site_network_services
- site_network_services
Name | Datatype | Description |
---|---|---|
desired_state_configuration_group_value_references | text | field from the properties object |
identity | text | Managed service identity (system assigned and/or user assigned identities) |
last_state_configuration_group_value_references | text | field from the properties object |
last_state_network_service_design_version_name | text | field from the properties object |
location | text | The geo-location where the resource lives |
managed_resource_group_configuration | text | field from the properties object |
network_service_design_group_name | text | field from the properties object |
network_service_design_version_name | text | field from the properties object |
network_service_design_version_offering_location | text | field from the properties object |
network_service_design_version_resource_reference | text | field from the properties object |
provisioning_state | text | field from the properties object |
publisher_name | text | field from the properties object |
publisher_scope | text | field from the properties object |
resourceGroupName | text | field from the properties object |
siteNetworkServiceName | text | field from the properties object |
site_reference | text | field from the properties object |
sku | text | Sku, to be associated with a SiteNetworkService. |
subscriptionId | text | field from the properties object |
tags | text | Resource tags. |
Name | Datatype | Description |
---|---|---|
identity | object | Managed service identity (system assigned and/or user assigned identities) |
location | string | The geo-location where the resource lives |
properties | object | Site network service properties. |
sku | object | Sku, to be associated with a SiteNetworkService. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | resourceGroupName, siteNetworkServiceName, subscriptionId | Gets information about the specified site network service. |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | Lists all site network services. |
list_by_subscription | SELECT | subscriptionId | Lists all sites in the network service in a subscription. |
create_or_update | INSERT | resourceGroupName, siteNetworkServiceName, subscriptionId | Creates or updates a network site. |
delete | DELETE | resourceGroupName, siteNetworkServiceName, subscriptionId | Deletes the specified site network service. |
update_tags | EXEC | resourceGroupName, siteNetworkServiceName, subscriptionId | Updates a site update tags. |
SELECT
examples
Lists all sites in the network service in a subscription.
- vw_site_network_services
- site_network_services
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 }}';
SELECT
identity,
location,
properties,
sku,
tags
FROM azure.hybrid_network.site_network_services
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new site_network_services
resource.
- All Properties
- Manifest
/*+ 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 }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: provisioningState
value: []
- name: managedResourceGroupConfiguration
value:
- name: name
value: string
- name: location
value: string
- name: siteReference
value:
- name: id
value: string
- name: publisherName
value: string
- name: publisherScope
value: []
- name: networkServiceDesignGroupName
value: string
- name: networkServiceDesignVersionName
value: string
- name: networkServiceDesignVersionOfferingLocation
value: string
- name: networkServiceDesignVersionResourceReference
value:
- name: idType
value: []
- name: desiredStateConfigurationGroupValueReferences
value: object
- name: lastStateNetworkServiceDesignVersionName
value: string
- name: lastStateConfigurationGroupValueReferences
value: object
- name: identity
value:
- name: principalId
value: string
- name: tenantId
value: string
- name: type
value: []
- name: userAssignedIdentities
value: []
- name: sku
value:
- name: name
value: string
- name: tier
value: string
- name: tags
value: object
- name: location
value: string
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 }}';