Skip to main content

groups

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

Overview

Namegroups
TypeResource
Idazure.managed_network.groups

Fields

The following fields are returned by SELECT queries:

Get successful. The operation returns the specified Managed Network Group resource.

NameDatatypeDescription
kindstringResponsibility role under which this Managed Network Group will be created
propertiesobjectGets or sets the properties of a network group

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, managedNetworkName, managedNetworkGroupNameThe Get ManagedNetworkGroups operation gets a Managed Network Group specified by the resource group, Managed Network name, and group name
list_by_managed_networkselectsubscriptionId, resourceGroupName, managedNetworkName$top, $skiptokenThe ListByManagedNetwork ManagedNetworkGroup operation retrieves all the Managed Network Groups in a specified Managed Networks in a paginated format.
create_or_updateinsertsubscriptionId, resourceGroupName, managedNetworkName, managedNetworkGroupNameThe Put ManagedNetworkGroups operation creates or updates a Managed Network Group resource
deletedeletesubscriptionId, resourceGroupName, managedNetworkName, managedNetworkGroupNameThe Delete ManagedNetworkGroups operation deletes a Managed Network Group specified by the resource group, Managed Network name, and group name

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
managedNetworkGroupNamestringThe name of the Managed Network Group.
managedNetworkNamestringThe name of the Managed Network.
resourceGroupNamestringThe name of the resource group.
subscriptionIdstringGets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
$skiptokenstringSkiptoken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skiptoken parameter that specifies a starting point to use for subsequent calls.
$topintegerMay be used to limit the number of results in a page for list queries.

SELECT examples

The Get ManagedNetworkGroups operation gets a Managed Network Group specified by the resource group, Managed Network name, and group name

SELECT
kind,
properties
FROM azure.managed_network.groups
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND managedNetworkName = '{{ managedNetworkName }}' -- required
AND managedNetworkGroupName = '{{ managedNetworkGroupName }}' -- required
;

INSERT examples

The Put ManagedNetworkGroups operation creates or updates a Managed Network Group resource

INSERT INTO azure.managed_network.groups (
data__properties,
data__kind,
subscriptionId,
resourceGroupName,
managedNetworkName,
managedNetworkGroupName
)
SELECT
'{{ properties }}',
'{{ kind }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ managedNetworkName }}',
'{{ managedNetworkGroupName }}'
RETURNING
kind,
properties
;

DELETE examples

The Delete ManagedNetworkGroups operation deletes a Managed Network Group specified by the resource group, Managed Network name, and group name

DELETE FROM azure.managed_network.groups
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND managedNetworkName = '{{ managedNetworkName }}' --required
AND managedNetworkGroupName = '{{ managedNetworkGroupName }}' --required
;