inbound_security_rules
Creates, updates, deletes, gets or lists an inbound_security_rules
resource.
Overview
Name | inbound_security_rules |
Type | Resource |
Id | azure.network.inbound_security_rules |
Fields
The following fields are returned by SELECT
queries:
- get
Request successful. The operation returns the requested Network Virtual Appliance Inbound Security Rules Collection resource.
Name | Datatype | Description |
---|---|---|
id | string | Resource ID. |
name | string | Name of security rule collection. |
etag | string | A unique read-only string that changes whenever the resource is updated. |
properties | object | The properties of the Inbound Security Rules. |
type | string | NVA inbound security rule type. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | resourceGroupName , networkVirtualApplianceName , ruleCollectionName , subscriptionId | Retrieves the available specified Network Virtual Appliance Inbound Security Rules Collection. | |
create_or_update | insert | resourceGroupName , networkVirtualApplianceName , ruleCollectionName , subscriptionId | Creates 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.
Name | Datatype | Description |
---|---|---|
networkVirtualApplianceName | string | The name of the Network Virtual Appliance. |
resourceGroupName | string | The name of the resource group. |
ruleCollectionName | string | The name of security rule collection. |
subscriptionId | string (uuid) | The ID of the target subscription. The value must be an UUID. |
SELECT
examples
- get
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
- create_or_update
- Manifest
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
;
# Description fields are for documentation purposes
- name: inbound_security_rules
props:
- name: resourceGroupName
value: string
description: Required parameter for the inbound_security_rules resource.
- name: networkVirtualApplianceName
value: string
description: Required parameter for the inbound_security_rules resource.
- name: ruleCollectionName
value: string
description: Required parameter for the inbound_security_rules resource.
- name: subscriptionId
value: string (uuid)
description: Required parameter for the inbound_security_rules resource.
- name: properties
value: object
description: |
The properties of the Inbound Security Rules.
- name: name
value: string
description: |
Name of security rule collection.
- name: id
value: string
description: |
Resource ID.