Skip to main content

security_user_rule_collections

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

Overview

Namesecurity_user_rule_collections
TypeResource
Idazure.network.security_user_rule_collections

Fields

The following fields are returned by SELECT queries:

Successful operation

NameDatatypeDescription
idstringResource ID.
namestringResource name.
etagstringA unique read-only string that changes whenever the resource is updated.
propertiesobjectIndicates the properties for the network manager security user rule collection.
systemDataobjectThe system metadata related to this resource.
typestringResource type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectGets a network manager security user configuration rule collection.
listselectsubscriptionId, resourceGroupName, networkManagerName, configurationName$top, $skipTokenLists all the security user rule collections in a security configuration, in a paginated format.
create_or_updateinsertCreates or updates a security user rule collection.
deletedeleteforceDeletes a Security User Rule collection.

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
configurationNamestringThe name of the network manager Security Configuration.
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.
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 a network manager security user configuration rule collection.

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

INSERT examples

Creates or updates a security user rule collection.

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

DELETE examples

Deletes a Security User Rule collection.

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