access_control_lists
Creates, updates, deletes, gets or lists a access_control_lists
resource.
Overview
Name | access_control_lists |
Type | Resource |
Id | azure.managed_network_fabric.access_control_lists |
Fields
- vw_access_control_lists
- access_control_lists
Name | Datatype | Description |
---|---|---|
accessControlListName | text | field from the properties object |
acls_url | text | field from the properties object |
administrative_state | text | field from the properties object |
annotation | text | field from the properties object |
configuration_state | text | field from the properties object |
configuration_type | text | field from the properties object |
default_action | text | field from the properties object |
dynamic_match_configurations | text | field from the properties object |
last_synced_time | text | field from the properties object |
location | text | The geo-location where the resource lives |
match_configurations | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | Resource tags. |
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | Access Control List Properties defines the resource properties. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | accessControlListName, resourceGroupName, subscriptionId | Implements Access Control List GET method. |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | Implements AccessControlLists list by resource group GET method. |
list_by_subscription | SELECT | subscriptionId | Implements AccessControlLists list by subscription GET method. |
create | INSERT | accessControlListName, resourceGroupName, subscriptionId, data__location, data__properties | Implements Access Control List PUT method. |
delete | DELETE | accessControlListName, resourceGroupName, subscriptionId | Implements Access Control List DELETE method. |
update | UPDATE | accessControlListName, resourceGroupName, subscriptionId | API to update certain properties of the Access Control List resource. |
resync | EXEC | accessControlListName, resourceGroupName, subscriptionId | Implements the operation to the underlying resources. |
validate_configuration | EXEC | accessControlListName, resourceGroupName, subscriptionId | Implements the operation to the underlying resources. |
SELECT
examples
Implements AccessControlLists list by subscription GET method.
- vw_access_control_lists
- access_control_lists
SELECT
accessControlListName,
acls_url,
administrative_state,
annotation,
configuration_state,
configuration_type,
default_action,
dynamic_match_configurations,
last_synced_time,
location,
match_configurations,
provisioning_state,
resourceGroupName,
subscriptionId,
tags
FROM azure.managed_network_fabric.vw_access_control_lists
WHERE subscriptionId = '{{ subscriptionId }}';
SELECT
location,
properties,
tags
FROM azure.managed_network_fabric.access_control_lists
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new access_control_lists
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.managed_network_fabric.access_control_lists (
accessControlListName,
resourceGroupName,
subscriptionId,
data__location,
data__properties,
tags,
location,
properties
)
SELECT
'{{ accessControlListName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__location }}',
'{{ data__properties }}',
'{{ tags }}',
'{{ location }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: tags
value: object
- name: location
value: string
- name: properties
value:
- name: annotation
value: string
- name: configurationType
value: string
- name: aclsUrl
value: string
- name: defaultAction
value: []
- name: matchConfigurations
value:
- - name: matchConfigurationName
value: string
- name: sequenceNumber
value: integer
- name: ipAddressType
value: []
- name: matchConditions
value:
- - name: etherTypes
value:
- string
- name: fragments
value:
- string
- name: ipLengths
value:
- string
- name: ttlValues
value:
- string
- name: dscpMarkings
value:
- string
- name: portCondition
value:
- name: flags
value:
- string
- name: portType
value: string
- name: layer4Protocol
value: string
- name: ports
value:
- string
- name: portGroupNames
value:
- string
- name: protocolTypes
value:
- string
- name: vlanMatchCondition
value:
- name: vlans
value:
- string
- name: innerVlans
value:
- string
- name: vlanGroupNames
value:
- string
- name: ipCondition
value:
- name: type
value: string
- name: prefixType
value: string
- name: ipPrefixValues
value:
- string
- name: ipGroupNames
value:
- string
- name: actions
value:
- - name: type
value: string
- name: counterName
value: string
- name: dynamicMatchConfigurations
value:
- - name: ipGroups
value:
- - name: name
value: string
- name: ipPrefixes
value:
- string
- name: vlanGroups
value:
- - name: name
value: string
- name: vlans
value:
- string
- name: portGroups
value:
- - name: name
value: string
- name: ports
value:
- string
- name: lastSyncedTime
value: string
- name: configurationState
value: []
- name: provisioningState
value: []
- name: administrativeState
value: []
UPDATE
example
Updates a access_control_lists
resource.
/*+ update */
UPDATE azure.managed_network_fabric.access_control_lists
SET
properties = '{{ properties }}',
tags = '{{ tags }}'
WHERE
accessControlListName = '{{ accessControlListName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
DELETE
example
Deletes the specified access_control_lists
resource.
/*+ delete */
DELETE FROM azure.managed_network_fabric.access_control_lists
WHERE accessControlListName = '{{ accessControlListName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';