Skip to main content

groups

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

Overview

Namegroups
TypeResource
Idazure.network.groups

Fields

The following fields are returned by SELECT queries:

OK - Returns information about the network group.

NameDatatypeDescription
idstringResource ID.
namestringResource name.
etagstringA unique read-only string that changes whenever the resource is updated.
propertiesobjectThe Network Group properties
systemDataobjectThe system metadata related to this resource.
typestringResource type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectGets the specified network group.
listselectsubscriptionId, resourceGroupName, networkManagerName$top, $skipTokenLists the specified network group.
create_or_updateinsertIf-MatchCreates or updates a network group.
deletedeleteforceDeletes a network group.

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
networkManagerNamestringThe name of the network manager.
resourceGroupNamestringThe name of the resource group.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.
$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.
$topinteger (int32)An optional query parameter which specifies the maximum number of records to be returned by the server.
If-MatchstringThe ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.
forcebooleanDeletes the resource even if it is part of a deployed configuration. If the configuration has been deployed, the service will do a cleanup deployment in the background, prior to the delete.

SELECT examples

Gets the specified network group.

SELECT
id,
name,
etag,
properties,
systemData,
type
FROM azure.network.groups
;

INSERT examples

Creates or updates a network group.

INSERT INTO azure.network.groups (
data__properties,
If-Match
)
SELECT
'{{ properties }}',
'{{ If-Match }}'
RETURNING
id,
name,
etag,
properties,
systemData,
type
;

DELETE examples

Deletes a network group.

DELETE FROM azure.network.groups
WHERE force = '{{ force }}'
;