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

The following fields are returned by SELECT queries:

The resource has been successfully retrieved.

NameDatatypeDescription
extendedLocationobjectThe extended location of the cluster associated with the resource. (title: ExtendedLocation represents the Azure custom location where the resource will be created.)
locationstringThe geo-location where the resource lives
propertiesobjectThe list of the resource properties. (title: CloudServicesNetworkProperties represents properties of the cloud services network.)
tagsobjectResource tags.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, cloudServicesNetworkNameGet properties of the provided cloud services network.
list_by_resource_groupselectsubscriptionId, resourceGroupNameGet 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_updateinsertsubscriptionId, resourceGroupName, cloudServicesNetworkName, data__extendedLocationCreate a new cloud services network or update the properties of the existing cloud services network.
updateupdatesubscriptionId, resourceGroupName, cloudServicesNetworkNameUpdate properties of the provided cloud services network, or update the tags associated with it. Properties and tag updates can be done independently.
deletedeletesubscriptionId, resourceGroupName, cloudServicesNetworkNameDelete the provided cloud services network.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
cloudServicesNetworkNamestringThe name of the cloud services network.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Get properties of the provided cloud services network.

SELECT
extendedLocation,
location,
properties,
tags
FROM azure.nexus.cloud_services_networks
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND cloudServicesNetworkName = '{{ cloudServicesNetworkName }}' -- required
;

INSERT examples

Create a new cloud services network or update the properties of the existing cloud services network.

INSERT INTO azure.nexus.cloud_services_networks (
data__extendedLocation,
data__properties,
data__tags,
data__location,
subscriptionId,
resourceGroupName,
cloudServicesNetworkName
)
SELECT
'{{ extendedLocation }}' /* required */,
'{{ properties }}',
'{{ tags }}',
'{{ location }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ cloudServicesNetworkName }}'
RETURNING
extendedLocation,
location,
properties,
tags
;

UPDATE examples

Update properties of the provided cloud services network, or update the tags associated with it. Properties and tag updates can be done independently.

UPDATE azure.nexus.cloud_services_networks
SET
data__properties = '{{ properties }}',
data__tags = '{{ tags }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND cloudServicesNetworkName = '{{ cloudServicesNetworkName }}' --required
RETURNING
extendedLocation,
location,
properties,
tags;

DELETE examples

Delete the provided cloud services network.

DELETE FROM azure.nexus.cloud_services_networks
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND cloudServicesNetworkName = '{{ cloudServicesNetworkName }}' --required
;