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

The following fields are returned by SELECT queries:

Request successful. The operation returns a SecurityPartnerProvider resource.

NameDatatypeDescription
idstring (arm-id)Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
namestringThe name of the resource
etagstringA unique read-only string that changes whenever the resource is updated.
propertiesobjectProperties of the Security Partner Provider.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceGroupName, securityPartnerProviderName, subscriptionIdGets the specified Security Partner Provider.
list_by_resource_groupselectresourceGroupName, subscriptionIdLists all Security Partner Providers in a resource group.
listselectsubscriptionIdGets all the Security Partner Providers in a subscription.
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.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
resourceGroupNamestringThe name of the resource group.
securityPartnerProviderNamestringThe name of the Security Partner Provider.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Gets the specified Security Partner Provider.

SELECT
id,
name,
etag,
properties,
systemData,
type
FROM azure.network.security_partner_providers
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND securityPartnerProviderName = '{{ securityPartnerProviderName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;

INSERT examples

Creates or updates the specified Security Partner Provider.

INSERT INTO azure.network.security_partner_providers (
data__properties,
resourceGroupName,
securityPartnerProviderName,
subscriptionId
)
SELECT
'{{ properties }}',
'{{ resourceGroupName }}',
'{{ securityPartnerProviderName }}',
'{{ subscriptionId }}'
RETURNING
id,
name,
etag,
properties,
systemData,
type
;

DELETE examples

Deletes the specified Security Partner Provider.

DELETE FROM azure.network.security_partner_providers
WHERE resourceGroupName = '{{ resourceGroupName }}' --required
AND securityPartnerProviderName = '{{ securityPartnerProviderName }}' --required
AND subscriptionId = '{{ subscriptionId }}' --required
;

Lifecycle Methods

Updates tags of a Security Partner Provider resource.

EXEC azure.network.security_partner_providers.update_tags 
@resourceGroupName='{{ resourceGroupName }}' --required,
@securityPartnerProviderName='{{ securityPartnerProviderName }}' --required,
@subscriptionId='{{ subscriptionId }}' --required
@@json=
'{
"tags": "{{ tags }}"
}'
;