local_rulestacks
Creates, updates, deletes, gets or lists a local_rulestacks
resource.
Overview
Name | local_rulestacks |
Type | Resource |
Id | azure_isv.paloalto.local_rulestacks |
Fields
- vw_local_rulestacks
- local_rulestacks
Name | Datatype | Description |
---|---|---|
description | text | field from the properties object |
associated_subscriptions | text | field from the properties object |
default_mode | text | field from the properties object |
identity | text | The properties of the managed service identities assigned to this resource. |
localRulestackName | text | field from the properties object |
location | text | The geo-location where the resource lives |
min_app_id_version | text | field from the properties object |
pan_etag | text | field from the properties object |
pan_location | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
scope | text | field from the properties object |
security_services | text | field from the properties object |
subscriptionId | text | field from the properties object |
system_data | text | field from the properties object |
tags | text | Resource tags. |
Name | Datatype | Description |
---|---|---|
identity | object | The properties of the managed service identities assigned to this resource. |
location | string | The geo-location where the resource lives |
properties | object | PAN Rulestack Describe Object |
systemData | object | Metadata pertaining to creation and last modification of the resource. |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | localRulestackName, resourceGroupName, subscriptionId | Get a LocalRulestackResource |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | List LocalRulestackResource resources by resource group |
list_by_subscription | SELECT | subscriptionId | List LocalRulestackResource resources by subscription ID |
create_or_update | INSERT | localRulestackName, resourceGroupName, subscriptionId, data__properties | Create a LocalRulestackResource |
delete | DELETE | localRulestackName, resourceGroupName, subscriptionId | Delete a LocalRulestackResource |
update | UPDATE | localRulestackName, resourceGroupName, subscriptionId | Update a LocalRulestackResource |
commit | EXEC | localRulestackName, resourceGroupName, subscriptionId | Commit rulestack configuration |
revert | EXEC | localRulestackName, resourceGroupName, subscriptionId | Revert rulestack configuration |
SELECT
examples
List LocalRulestackResource resources by subscription ID
- vw_local_rulestacks
- local_rulestacks
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 }}';
SELECT
identity,
location,
properties,
systemData,
tags
FROM azure_isv.paloalto.local_rulestacks
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new local_rulestacks
resource.
- All Properties
- Manifest
/*+ 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 }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: panEtag
value: string
- name: panLocation
value: string
- name: scope
value: []
- name: associatedSubscriptions
value:
- string
- name: description
value: string
- name: defaultMode
value: []
- name: minAppIdVersion
value: string
- name: provisioningState
value: []
- name: securityServices
value:
- name: vulnerabilityProfile
value: string
- name: antiSpywareProfile
value: string
- name: antiVirusProfile
value: string
- name: urlFilteringProfile
value: string
- name: fileBlockingProfile
value: string
- name: dnsSubscription
value: string
- name: outboundUnTrustCertificate
value: string
- name: outboundTrustCertificate
value: string
- name: systemData
value:
- name: createdBy
value: string
- name: createdByType
value: string
- name: createdAt
value: string
- name: lastModifiedBy
value: string
- name: lastModifiedByType
value: string
- name: lastModifiedAt
value: string
- name: identity
value:
- name: tenantId
value: string
- name: principalId
value: string
- name: type
value: []
- name: userAssignedIdentities
value: object
- name: tags
value: object
- name: location
value: string
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 }}';