security_partner_providers
Creates, updates, deletes, gets or lists a security_partner_providers
resource.
Overview
Name | security_partner_providers |
Type | Resource |
Id | azure.network.security_partner_providers |
Fields
- vw_security_partner_providers
- security_partner_providers
Name | Datatype | Description |
---|---|---|
id | text | Resource ID. |
name | text | Resource name. |
connection_status | text | field from the properties object |
etag | text | A unique read-only string that changes whenever the resource is updated. |
location | text | Resource location. |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
securityPartnerProviderName | text | field from the properties object |
security_provider_name | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | Resource tags. |
type | text | Resource type. |
virtual_hub | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
id | string | Resource ID. |
name | string | Resource name. |
etag | string | A unique read-only string that changes whenever the resource is updated. |
location | string | Resource location. |
properties | object | Properties of the Security Partner Provider. |
tags | object | Resource tags. |
type | string | Resource type. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | resourceGroupName, securityPartnerProviderName, subscriptionId | Gets the specified Security Partner Provider. |
list | SELECT | subscriptionId | Gets all the Security Partner Providers in a subscription. |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | Lists all Security Partner Providers in a resource group. |
create_or_update | INSERT | resourceGroupName, securityPartnerProviderName, subscriptionId | Creates or updates the specified Security Partner Provider. |
delete | DELETE | resourceGroupName, securityPartnerProviderName, subscriptionId | Deletes the specified Security Partner Provider. |
update_tags | EXEC | resourceGroupName, securityPartnerProviderName, subscriptionId | Updates tags of a Security Partner Provider resource. |
SELECT
examples
Gets all the Security Partner Providers in a subscription.
- vw_security_partner_providers
- security_partner_providers
SELECT
id,
name,
connection_status,
etag,
location,
provisioning_state,
resourceGroupName,
securityPartnerProviderName,
security_provider_name,
subscriptionId,
tags,
type,
virtual_hub
FROM azure.network.vw_security_partner_providers
WHERE subscriptionId = '{{ subscriptionId }}';
SELECT
id,
name,
etag,
location,
properties,
tags,
type
FROM azure.network.security_partner_providers
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new security_partner_providers
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.network.security_partner_providers (
resourceGroupName,
securityPartnerProviderName,
subscriptionId,
properties,
id,
location,
tags
)
SELECT
'{{ resourceGroupName }}',
'{{ securityPartnerProviderName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ id }}',
'{{ location }}',
'{{ tags }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: provisioningState
value: []
- name: securityProviderName
value: []
- name: connectionStatus
value: []
- name: virtualHub
value:
- name: id
value: string
- name: etag
value: string
- name: id
value: string
- name: name
value: string
- name: type
value: string
- name: location
value: string
- name: tags
value: object
DELETE
example
Deletes the specified security_partner_providers
resource.
/*+ delete */
DELETE FROM azure.network.security_partner_providers
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND securityPartnerProviderName = '{{ securityPartnerProviderName }}'
AND subscriptionId = '{{ subscriptionId }}';