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_8000_series.access_control_records

Fields

NameDatatypeDescription
idtextThe path ID that uniquely identifies the object.
nametextThe name of the object.
accessControlRecordNametextfield from the properties object
initiator_nametextfield from the properties object
kindtextThe Kind of the object. Currently only Series8000 is supported
managerNametextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
typetextThe hierarchical type of the object.
volume_counttextfield from the properties object

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,
kind,
managerName,
resourceGroupName,
subscriptionId,
type,
volume_count
FROM azure_extras.storsimple_8000_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_8000_series.access_control_records (
accessControlRecordName,
managerName,
resourceGroupName,
subscriptionId,
data__properties,
kind,
properties
)
SELECT
'{{ accessControlRecordName }}',
'{{ managerName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ kind }}',
'{{ properties }}'
;

DELETE example

Deletes the specified access_control_records resource.

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