cloud_services_networks
Creates, updates, deletes, gets or lists a cloud_services_networks
resource.
Overview
Name | cloud_services_networks |
Type | Resource |
Id | azure.nexus.cloud_services_networks |
Fields
- vw_cloud_services_networks
- cloud_services_networks
Name | Datatype | Description |
---|---|---|
additional_egress_endpoints | text | field from the properties object |
associated_resource_ids | text | field from the properties object |
cloudServicesNetworkName | text | field from the properties object |
cluster_id | text | field from the properties object |
detailed_status | text | field from the properties object |
detailed_status_message | text | field from the properties object |
enable_default_egress_endpoints | text | field from the properties object |
enabled_egress_endpoints | text | field from the properties object |
extended_location | text | field from the properties object |
hybrid_aks_clusters_associated_ids | text | field from the properties object |
interface_name | text | field from the properties object |
location | text | The geo-location where the resource lives |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | Resource tags. |
virtual_machines_associated_ids | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
extendedLocation | object | |
location | string | The geo-location where the resource lives |
properties | object | |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | cloudServicesNetworkName, resourceGroupName, subscriptionId | Get properties of the provided cloud services network. |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | Get a list of cloud services networks in the provided resource group. |
list_by_subscription | SELECT | subscriptionId | Get a list of cloud services networks in the provided subscription. |
create_or_update | INSERT | cloudServicesNetworkName, resourceGroupName, subscriptionId, data__extendedLocation | Create a new cloud services network or update the properties of the existing cloud services network. |
delete | DELETE | cloudServicesNetworkName, resourceGroupName, subscriptionId | Delete the provided cloud services network. |
update | UPDATE | cloudServicesNetworkName, resourceGroupName, subscriptionId | Update 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.
- vw_cloud_services_networks
- cloud_services_networks
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 }}';
SELECT
extendedLocation,
location,
properties,
tags
FROM azure.nexus.cloud_services_networks
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new cloud_services_networks
resource.
- All Properties
- Manifest
/*+ 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 }}'
;
- name: your_resource_model_name
props:
- name: extendedLocation
value:
- name: name
value: string
- name: type
value: string
- name: properties
value:
- name: additionalEgressEndpoints
value:
- - name: category
value: string
- name: endpoints
value:
- - name: domainName
value: string
- name: port
value: integer
- name: associatedResourceIds
value:
- string
- name: clusterId
value: string
- name: detailedStatus
value: string
- name: detailedStatusMessage
value: string
- name: enableDefaultEgressEndpoints
value: string
- name: enabledEgressEndpoints
value:
- - name: category
value: string
- name: endpoints
value:
- - name: domainName
value: string
- name: port
value: integer
- name: hybridAksClustersAssociatedIds
value:
- string
- name: interfaceName
value: string
- name: provisioningState
value: string
- name: virtualMachinesAssociatedIds
value:
- string
- name: tags
value: object
- name: location
value: string
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 }}';