Skip to main content

groups

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

Overview

Namegroups
TypeResource
Idazure.managed_network.groups

Fields

NameDatatypeDescription
etagtextfield from the properties object
kindtextResponsibility role under which this Managed Network Group will be created
managedNetworkGroupNametextfield from the properties object
managedNetworkNametextfield from the properties object
management_groupstextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
subnetstextfield from the properties object
subscriptionIdtextfield from the properties object
subscriptionstextfield from the properties object
virtual_networkstextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTmanagedNetworkGroupName, managedNetworkName, resourceGroupName, subscriptionIdThe Get ManagedNetworkGroups operation gets a Managed Network Group specified by the resource group, Managed Network name, and group name
list_by_managed_networkSELECTmanagedNetworkName, resourceGroupName, subscriptionIdThe ListByManagedNetwork ManagedNetworkGroup operation retrieves all the Managed Network Groups in a specified Managed Networks in a paginated format.
create_or_updateINSERTmanagedNetworkGroupName, managedNetworkName, resourceGroupName, subscriptionIdThe Put ManagedNetworkGroups operation creates or updates a Managed Network Group resource
deleteDELETEmanagedNetworkGroupName, managedNetworkName, resourceGroupName, subscriptionIdThe Delete ManagedNetworkGroups operation deletes a Managed Network Group specified by the resource group, Managed Network name, and group name

SELECT examples

The ListByManagedNetwork ManagedNetworkGroup operation retrieves all the Managed Network Groups in a specified Managed Networks in a paginated format.

SELECT
etag,
kind,
managedNetworkGroupName,
managedNetworkName,
management_groups,
provisioning_state,
resourceGroupName,
subnets,
subscriptionId,
subscriptions,
virtual_networks
FROM azure.managed_network.vw_groups
WHERE managedNetworkName = '{{ managedNetworkName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.managed_network.groups (
managedNetworkGroupName,
managedNetworkName,
resourceGroupName,
subscriptionId,
properties,
kind
)
SELECT
'{{ managedNetworkGroupName }}',
'{{ managedNetworkName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ kind }}'
;

DELETE example

Deletes the specified groups resource.

/*+ delete */
DELETE FROM azure.managed_network.groups
WHERE managedNetworkGroupName = '{{ managedNetworkGroupName }}'
AND managedNetworkName = '{{ managedNetworkName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';