Skip to main content

security_partner_providers

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

Overview

Namesecurity_partner_providers
TypeResource
Idazure.network.security_partner_providers

Fields

NameDatatypeDescription
idtextResource ID.
nametextResource name.
connection_statustextfield from the properties object
etagtextA unique read-only string that changes whenever the resource is updated.
locationtextResource location.
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
securityPartnerProviderNametextfield from the properties object
security_provider_nametextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.
typetextResource type.
virtual_hubtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, securityPartnerProviderName, subscriptionIdGets the specified Security Partner Provider.
listSELECTsubscriptionIdGets all the Security Partner Providers in a subscription.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdLists all Security Partner Providers in a resource group.
create_or_updateINSERTresourceGroupName, securityPartnerProviderName, subscriptionIdCreates or updates the specified Security Partner Provider.
deleteDELETEresourceGroupName, securityPartnerProviderName, subscriptionIdDeletes the specified Security Partner Provider.
update_tagsEXECresourceGroupName, securityPartnerProviderName, subscriptionIdUpdates tags of a Security Partner Provider resource.

SELECT examples

Gets all the Security Partner Providers in a subscription.

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 }}';

INSERT example

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

/*+ create */
INSERT INTO azure.network.security_partner_providers (
resourceGroupName,
securityPartnerProviderName,
subscriptionId,
properties,
id,
location,
tags
)
SELECT
'{{ resourceGroupName }}',
'{{ securityPartnerProviderName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ id }}',
'{{ location }}',
'{{ tags }}'
;

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 }}';