Skip to main content

local_rulestacks

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

Overview

Namelocal_rulestacks
TypeResource
Idazure_isv.paloalto.local_rulestacks

Fields

NameDatatypeDescription
descriptiontextfield from the properties object
associated_subscriptionstextfield from the properties object
default_modetextfield from the properties object
identitytextThe properties of the managed service identities assigned to this resource.
localRulestackNametextfield from the properties object
locationtextThe geo-location where the resource lives
min_app_id_versiontextfield from the properties object
pan_etagtextfield from the properties object
pan_locationtextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
scopetextfield from the properties object
security_servicestextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
tagstextResource tags.

Methods

NameAccessible byRequired ParamsDescription
getSELECTlocalRulestackName, resourceGroupName, subscriptionIdGet a LocalRulestackResource
list_by_resource_groupSELECTresourceGroupName, subscriptionIdList LocalRulestackResource resources by resource group
list_by_subscriptionSELECTsubscriptionIdList LocalRulestackResource resources by subscription ID
create_or_updateINSERTlocalRulestackName, resourceGroupName, subscriptionId, data__propertiesCreate a LocalRulestackResource
deleteDELETElocalRulestackName, resourceGroupName, subscriptionIdDelete a LocalRulestackResource
updateUPDATElocalRulestackName, resourceGroupName, subscriptionIdUpdate a LocalRulestackResource
commitEXEClocalRulestackName, resourceGroupName, subscriptionIdCommit rulestack configuration
revertEXEClocalRulestackName, resourceGroupName, subscriptionIdRevert rulestack configuration

SELECT examples

List LocalRulestackResource resources by subscription ID

SELECT
description,
associated_subscriptions,
default_mode,
identity,
localRulestackName,
location,
min_app_id_version,
pan_etag,
pan_location,
provisioning_state,
resourceGroupName,
scope,
security_services,
subscriptionId,
system_data,
tags
FROM azure_isv.paloalto.vw_local_rulestacks
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure_isv.paloalto.local_rulestacks (
localRulestackName,
resourceGroupName,
subscriptionId,
data__properties,
properties,
identity,
tags,
location
)
SELECT
'{{ localRulestackName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}',
'{{ identity }}',
'{{ tags }}',
'{{ location }}'
;

UPDATE example

Updates a local_rulestacks resource.

/*+ update */
UPDATE azure_isv.paloalto.local_rulestacks
SET
identity = '{{ identity }}',
tags = '{{ tags }}',
properties = '{{ properties }}'
WHERE
localRulestackName = '{{ localRulestackName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified local_rulestacks resource.

/*+ delete */
DELETE FROM azure_isv.paloalto.local_rulestacks
WHERE localRulestackName = '{{ localRulestackName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';