Skip to main content

inbound_security_rules

Creates, updates, deletes, gets or lists an inbound_security_rules resource.

Overview

Nameinbound_security_rules
TypeResource
Idazure.network.inbound_security_rules

Fields

The following fields are returned by SELECT queries:

Request successful. The operation returns the requested Network Virtual Appliance Inbound Security Rules Collection resource.

NameDatatypeDescription
idstringResource ID.
namestringName of security rule collection.
etagstringA unique read-only string that changes whenever the resource is updated.
propertiesobjectThe properties of the Inbound Security Rules.
typestringNVA inbound security rule type.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceGroupName, networkVirtualApplianceName, ruleCollectionName, subscriptionIdRetrieves the available specified Network Virtual Appliance Inbound Security Rules Collection.
create_or_updateinsertresourceGroupName, networkVirtualApplianceName, ruleCollectionName, subscriptionIdCreates or updates the specified Network Virtual Appliance Inbound Security Rules.

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
networkVirtualApplianceNamestringThe name of the Network Virtual Appliance.
resourceGroupNamestringThe name of the resource group.
ruleCollectionNamestringThe name of security rule collection.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Retrieves the available specified Network Virtual Appliance Inbound Security Rules Collection.

SELECT
id,
name,
etag,
properties,
type
FROM azure.network.inbound_security_rules
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND networkVirtualApplianceName = '{{ networkVirtualApplianceName }}' -- required
AND ruleCollectionName = '{{ ruleCollectionName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;

INSERT examples

Creates or updates the specified Network Virtual Appliance Inbound Security Rules.

INSERT INTO azure.network.inbound_security_rules (
data__properties,
data__name,
data__id,
resourceGroupName,
networkVirtualApplianceName,
ruleCollectionName,
subscriptionId
)
SELECT
'{{ properties }}',
'{{ name }}',
'{{ id }}',
'{{ resourceGroupName }}',
'{{ networkVirtualApplianceName }}',
'{{ ruleCollectionName }}',
'{{ subscriptionId }}'
RETURNING
id,
name,
etag,
properties,
type
;