Skip to main content

security_user_rules

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

Overview

Namesecurity_user_rules
TypeResource
Idazure.network.security_user_rules

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 of the security user rule
systemDataobjectThe system metadata related to this resource.
typestringResource type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectGets a security user rule.
listselectLists all Security User Rules in a rule collection.
create_or_updateinsertCreates or updates a security user rule.
deletedeleteforceDeletes a security user rule.

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
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 security user rule.

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

INSERT examples

Creates or updates a security user rule.

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

DELETE examples

Deletes a security user rule.

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