Skip to main content

access_control_records

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

Overview

Nameaccess_control_records
TypeResource
Idazure_extras.storsimple_1200_series.access_control_records

Fields

NameDatatypeDescription
idtextThe identifier.
nametextThe name.
accessControlRecordNametextfield from the properties object
initiator_nametextfield from the properties object
managerNametextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
typetextThe type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTaccessControlRecordName, managerName, resourceGroupName, subscriptionIdReturns the properties of the specified access control record name.
list_by_managerSELECTmanagerName, resourceGroupName, subscriptionIdRetrieves all the access control records in a manager.
create_or_updateINSERTaccessControlRecordName, managerName, resourceGroupName, subscriptionId, data__propertiesCreates or Updates an access control record.
deleteDELETEaccessControlRecordName, managerName, resourceGroupName, subscriptionIdDeletes the access control record.

SELECT examples

Retrieves all the access control records in a manager.

SELECT
id,
name,
accessControlRecordName,
initiator_name,
managerName,
resourceGroupName,
subscriptionId,
type
FROM azure_extras.storsimple_1200_series.vw_access_control_records
WHERE managerName = '{{ managerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure_extras.storsimple_1200_series.access_control_records (
accessControlRecordName,
managerName,
resourceGroupName,
subscriptionId,
data__properties,
properties
)
SELECT
'{{ accessControlRecordName }}',
'{{ managerName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}'
;

DELETE example

Deletes the specified access_control_records resource.

/*+ delete */
DELETE FROM azure_extras.storsimple_1200_series.access_control_records
WHERE accessControlRecordName = '{{ accessControlRecordName }}'
AND managerName = '{{ managerName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';