Skip to main content

cloud_services_networks

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

Overview

Namecloud_services_networks
TypeResource
Idazure.nexus.cloud_services_networks

Fields

NameDatatypeDescription
additional_egress_endpointstextfield from the properties object
associated_resource_idstextfield from the properties object
cloudServicesNetworkNametextfield from the properties object
cluster_idtextfield from the properties object
detailed_statustextfield from the properties object
detailed_status_messagetextfield from the properties object
enable_default_egress_endpointstextfield from the properties object
enabled_egress_endpointstextfield from the properties object
extended_locationtextfield from the properties object
hybrid_aks_clusters_associated_idstextfield from the properties object
interface_nametextfield from the properties object
locationtextThe geo-location where the resource lives
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.
virtual_machines_associated_idstextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTcloudServicesNetworkName, resourceGroupName, subscriptionIdGet properties of the provided cloud services network.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdGet a list of cloud services networks in the provided resource group.
list_by_subscriptionSELECTsubscriptionIdGet a list of cloud services networks in the provided subscription.
create_or_updateINSERTcloudServicesNetworkName, resourceGroupName, subscriptionId, data__extendedLocationCreate a new cloud services network or update the properties of the existing cloud services network.
deleteDELETEcloudServicesNetworkName, resourceGroupName, subscriptionIdDelete the provided cloud services network.
updateUPDATEcloudServicesNetworkName, resourceGroupName, subscriptionIdUpdate properties of the provided cloud services network, or update the tags associated with it. Properties and tag updates can be done independently.

SELECT examples

Get a list of cloud services networks in the provided subscription.

SELECT
additional_egress_endpoints,
associated_resource_ids,
cloudServicesNetworkName,
cluster_id,
detailed_status,
detailed_status_message,
enable_default_egress_endpoints,
enabled_egress_endpoints,
extended_location,
hybrid_aks_clusters_associated_ids,
interface_name,
location,
provisioning_state,
resourceGroupName,
subscriptionId,
tags,
virtual_machines_associated_ids
FROM azure.nexus.vw_cloud_services_networks
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.nexus.cloud_services_networks (
cloudServicesNetworkName,
resourceGroupName,
subscriptionId,
data__extendedLocation,
extendedLocation,
properties,
tags,
location
)
SELECT
'{{ cloudServicesNetworkName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__extendedLocation }}',
'{{ extendedLocation }}',
'{{ properties }}',
'{{ tags }}',
'{{ location }}'
;

UPDATE example

Updates a cloud_services_networks resource.

/*+ update */
UPDATE azure.nexus.cloud_services_networks
SET
properties = '{{ properties }}',
tags = '{{ tags }}'
WHERE
cloudServicesNetworkName = '{{ cloudServicesNetworkName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified cloud_services_networks resource.

/*+ delete */
DELETE FROM azure.nexus.cloud_services_networks
WHERE cloudServicesNetworkName = '{{ cloudServicesNetworkName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';