inbound_security_rules
Creates, updates, deletes, gets or lists a inbound_security_rules
resource.
Overview
Name | inbound_security_rules |
Type | Resource |
Id | azure.network.inbound_security_rules |
Fields
- vw_inbound_security_rules
- inbound_security_rules
Name | Datatype | Description |
---|---|---|
id | text | Resource ID. |
name | text | Name of security rule collection. |
etag | text | A unique read-only string that changes whenever the resource is updated. |
networkVirtualApplianceName | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
ruleCollectionName | text | field from the properties object |
rule_type | text | field from the properties object |
rules | text | field from the properties object |
subscriptionId | text | field from the properties object |
type | text | NVA inbound security rule type. |
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 | Properties of the Inbound Security Rules resource. |
type | string | NVA inbound security rule type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | networkVirtualApplianceName, resourceGroupName, ruleCollectionName, subscriptionId | Retrieves the available specified Network Virtual Appliance Inbound Security Rules Collection. |
create_or_update | INSERT | networkVirtualApplianceName, resourceGroupName, ruleCollectionName, subscriptionId | Creates or updates the specified Network Virtual Appliance Inbound Security Rules. |
SELECT
examples
Retrieves the available specified Network Virtual Appliance Inbound Security Rules Collection.
- vw_inbound_security_rules
- inbound_security_rules
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 }}';
SELECT
id,
name,
etag,
properties,
type
FROM azure.network.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.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.network.inbound_security_rules (
networkVirtualApplianceName,
resourceGroupName,
ruleCollectionName,
subscriptionId,
properties,
name,
id
)
SELECT
'{{ networkVirtualApplianceName }}',
'{{ resourceGroupName }}',
'{{ ruleCollectionName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ name }}',
'{{ id }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: ruleType
value: string
- name: rules
value:
- - name: name
value: string
- name: protocol
value: string
- name: sourceAddressPrefix
value: string
- name: destinationPortRange
value: integer
- name: destinationPortRanges
value:
- string
- name: appliesOn
value:
- string
- name: provisioningState
value: []
- name: name
value: string
- name: etag
value: string
- name: type
value: string
- name: id
value: string