Skip to main content

partner_namespaces

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

Overview

Namepartner_namespaces
TypeResource
Idazure.event_grid.partner_namespaces

Fields

NameDatatypeDescription
disable_local_authtextfield from the properties object
endpointtextfield from the properties object
inbound_ip_rulestextfield from the properties object
locationtextThe geo-location where the resource lives
minimum_tls_version_allowedtextfield from the properties object
partnerNamespaceNametextfield from the properties object
partner_registration_fully_qualified_idtextfield from the properties object
partner_topic_routing_modetextfield from the properties object
private_endpoint_connectionstextfield from the properties object
provisioning_statetextfield from the properties object
public_network_accesstextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
tagstextResource tags.

Methods

NameAccessible byRequired ParamsDescription
getSELECTpartnerNamespaceName, resourceGroupName, subscriptionIdGet properties of a partner namespace.
list_by_resource_groupSELECTresourceGroupName, subscriptionIdList all the partner namespaces under a resource group.
list_by_subscriptionSELECTsubscriptionIdList all the partner namespaces under an Azure subscription.
create_or_updateINSERTpartnerNamespaceName, resourceGroupName, subscriptionIdAsynchronously creates a new partner namespace with the specified parameters.
deleteDELETEpartnerNamespaceName, resourceGroupName, subscriptionIdDelete existing partner namespace.
updateUPDATEpartnerNamespaceName, resourceGroupName, subscriptionIdAsynchronously updates a partner namespace with the specified parameters.
regenerate_keyEXECpartnerNamespaceName, resourceGroupName, subscriptionId, data__keyNameRegenerate a shared access key for a partner namespace.

SELECT examples

List all the partner namespaces under an Azure subscription.

SELECT
disable_local_auth,
endpoint,
inbound_ip_rules,
location,
minimum_tls_version_allowed,
partnerNamespaceName,
partner_registration_fully_qualified_id,
partner_topic_routing_mode,
private_endpoint_connections,
provisioning_state,
public_network_access,
resourceGroupName,
subscriptionId,
system_data,
tags
FROM azure.event_grid.vw_partner_namespaces
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.event_grid.partner_namespaces (
partnerNamespaceName,
resourceGroupName,
subscriptionId,
tags,
location,
properties
)
SELECT
'{{ partnerNamespaceName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ tags }}',
'{{ location }}',
'{{ properties }}'
;

UPDATE example

Updates a partner_namespaces resource.

/*+ update */
UPDATE azure.event_grid.partner_namespaces
SET
tags = '{{ tags }}',
properties = '{{ properties }}'
WHERE
partnerNamespaceName = '{{ partnerNamespaceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified partner_namespaces resource.

/*+ delete */
DELETE FROM azure.event_grid.partner_namespaces
WHERE partnerNamespaceName = '{{ partnerNamespaceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';