partner_namespaces
Creates, updates, deletes, gets or lists a partner_namespaces
resource.
Overview
Name | partner_namespaces |
Type | Resource |
Id | azure.event_grid.partner_namespaces |
Fields
- vw_partner_namespaces
- partner_namespaces
Name | Datatype | Description |
---|---|---|
disable_local_auth | text | field from the properties object |
endpoint | text | field from the properties object |
inbound_ip_rules | text | field from the properties object |
location | text | The geo-location where the resource lives |
minimum_tls_version_allowed | text | field from the properties object |
partnerNamespaceName | text | field from the properties object |
partner_registration_fully_qualified_id | text | field from the properties object |
partner_topic_routing_mode | text | field from the properties object |
private_endpoint_connections | text | field from the properties object |
provisioning_state | text | field from the properties object |
public_network_access | text | field from the properties object |
resourceGroupName | 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 |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | Properties of the partner namespace. |
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 | partnerNamespaceName, resourceGroupName, subscriptionId | Get properties of a partner namespace. |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | List all the partner namespaces under a resource group. |
list_by_subscription | SELECT | subscriptionId | List all the partner namespaces under an Azure subscription. |
create_or_update | INSERT | partnerNamespaceName, resourceGroupName, subscriptionId | Asynchronously creates a new partner namespace with the specified parameters. |
delete | DELETE | partnerNamespaceName, resourceGroupName, subscriptionId | Delete existing partner namespace. |
update | UPDATE | partnerNamespaceName, resourceGroupName, subscriptionId | Asynchronously updates a partner namespace with the specified parameters. |
regenerate_key | EXEC | partnerNamespaceName, resourceGroupName, subscriptionId, data__keyName | Regenerate a shared access key for a partner namespace. |
SELECT
examples
List all the partner namespaces under an Azure subscription.
- vw_partner_namespaces
- partner_namespaces
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 }}';
SELECT
location,
properties,
systemData,
tags
FROM azure.event_grid.partner_namespaces
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new partner_namespaces
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.event_grid.partner_namespaces (
partnerNamespaceName,
resourceGroupName,
subscriptionId,
tags,
location,
properties
)
SELECT
'{{ partnerNamespaceName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ tags }}',
'{{ location }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: tags
value: object
- name: location
value: string
- name: properties
value:
- name: privateEndpointConnections
value:
- - name: id
value: string
- name: name
value: string
- name: type
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: properties
value:
- name: privateEndpoint
value:
- name: id
value: string
- name: groupIds
value:
- string
- name: privateLinkServiceConnectionState
value:
- name: status
value: string
- name: description
value: string
- name: actionsRequired
value: string
- name: provisioningState
value: string
- name: provisioningState
value: string
- name: partnerRegistrationFullyQualifiedId
value: string
- name: minimumTlsVersionAllowed
value: string
- name: endpoint
value: string
- name: publicNetworkAccess
value: string
- name: inboundIpRules
value:
- - name: ipMask
value: string
- name: action
value: string
- name: disableLocalAuth
value: boolean
- name: partnerTopicRoutingMode
value: string
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 }}';