Skip to main content

inbound_security_rules

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

Overview

Nameinbound_security_rules
TypeResource
Idazure.network.inbound_security_rules

Fields

NameDatatypeDescription
idtextResource ID.
nametextName of security rule collection.
etagtextA unique read-only string that changes whenever the resource is updated.
networkVirtualApplianceNametextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
ruleCollectionNametextfield from the properties object
rule_typetextfield from the properties object
rulestextfield from the properties object
subscriptionIdtextfield from the properties object
typetextNVA inbound security rule type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTnetworkVirtualApplianceName, resourceGroupName, ruleCollectionName, subscriptionIdRetrieves the available specified Network Virtual Appliance Inbound Security Rules Collection.
create_or_updateINSERTnetworkVirtualApplianceName, resourceGroupName, ruleCollectionName, subscriptionIdCreates or updates the specified Network Virtual Appliance Inbound Security Rules.

SELECT examples

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

SELECT
id,
name,
etag,
networkVirtualApplianceName,
provisioning_state,
resourceGroupName,
ruleCollectionName,
rule_type,
rules,
subscriptionId,
type
FROM azure.network.vw_inbound_security_rules
WHERE networkVirtualApplianceName = '{{ networkVirtualApplianceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND ruleCollectionName = '{{ ruleCollectionName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new inbound_security_rules resource.

/*+ create */
INSERT INTO azure.network.inbound_security_rules (
networkVirtualApplianceName,
resourceGroupName,
ruleCollectionName,
subscriptionId,
properties,
name,
id
)
SELECT
'{{ networkVirtualApplianceName }}',
'{{ resourceGroupName }}',
'{{ ruleCollectionName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ name }}',
'{{ id }}'
;