Skip to main content

access_control_lists

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

Overview

Nameaccess_control_lists
TypeResource
Idazure.managed_network_fabric.access_control_lists

Fields

NameDatatypeDescription
accessControlListNametextfield from the properties object
acls_urltextfield from the properties object
administrative_statetextfield from the properties object
annotationtextfield from the properties object
configuration_statetextfield from the properties object
configuration_typetextfield from the properties object
default_actiontextfield from the properties object
dynamic_match_configurationstextfield from the properties object
last_synced_timetextfield from the properties object
locationtextThe geo-location where the resource lives
match_configurationstextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.

Methods

NameAccessible byRequired ParamsDescription
getSELECTaccessControlListName, resourceGroupName, subscriptionIdImplements Access Control List GET method.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdImplements AccessControlLists list by resource group GET method.
list_by_subscriptionSELECTsubscriptionIdImplements AccessControlLists list by subscription GET method.
createINSERTaccessControlListName, resourceGroupName, subscriptionId, data__location, data__propertiesImplements Access Control List PUT method.
deleteDELETEaccessControlListName, resourceGroupName, subscriptionIdImplements Access Control List DELETE method.
updateUPDATEaccessControlListName, resourceGroupName, subscriptionIdAPI to update certain properties of the Access Control List resource.
resyncEXECaccessControlListName, resourceGroupName, subscriptionIdImplements the operation to the underlying resources.
validate_configurationEXECaccessControlListName, resourceGroupName, subscriptionIdImplements the operation to the underlying resources.

SELECT examples

Implements AccessControlLists list by subscription GET method.

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 }}';

INSERT example

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

/*+ 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 }}'
;

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 }}';