namespaces
Creates, updates, deletes, gets or lists a namespaces
resource.
Overview
Name | namespaces |
Type | Resource |
Id | azure.event_grid.namespaces |
Fields
- vw_namespaces
- namespaces
Name | Datatype | Description |
---|---|---|
identity | text | The identity information for the resource. |
inbound_ip_rules | text | field from the properties object |
is_zone_redundant | 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 |
namespaceName | 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 |
sku | text | Represents available Sku pricing tiers. |
subscriptionId | text | field from the properties object |
system_data | text | field from the properties object |
tags | text | Resource tags. |
topic_spaces_configuration | text | field from the properties object |
topics_configuration | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
identity | object | The identity information for the resource. |
location | string | The geo-location where the resource lives |
properties | object | Properties of the namespace resource. |
sku | object | Represents available Sku pricing tiers. |
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 | namespaceName, resourceGroupName, subscriptionId | Get properties of a namespace. |
list_by_resource_group | SELECT | resourceGroupName, subscriptionId | List all the namespaces under a resource group. |
list_by_subscription | SELECT | subscriptionId | List all the namespaces under an Azure subscription. |
create_or_update | INSERT | namespaceName, resourceGroupName, subscriptionId | Asynchronously creates or updates a new namespace with the specified parameters. |
delete | DELETE | namespaceName, resourceGroupName, subscriptionId | Delete existing namespace. |
update | UPDATE | namespaceName, resourceGroupName, subscriptionId | Asynchronously updates a namespace with the specified parameters. |
regenerate_key | EXEC | namespaceName, resourceGroupName, subscriptionId, data__keyName | Regenerate a shared access key for a namespace. |
validate_custom_domain_ownership | EXEC | namespaceName, resourceGroupName, subscriptionId | Performs ownership validation via checking TXT records for all custom domains in a namespace. |
SELECT
examples
List all the namespaces under an Azure subscription.
- vw_namespaces
- namespaces
SELECT
identity,
inbound_ip_rules,
is_zone_redundant,
location,
minimum_tls_version_allowed,
namespaceName,
private_endpoint_connections,
provisioning_state,
public_network_access,
resourceGroupName,
sku,
subscriptionId,
system_data,
tags,
topic_spaces_configuration,
topics_configuration
FROM azure.event_grid.vw_namespaces
WHERE subscriptionId = '{{ subscriptionId }}';
SELECT
identity,
location,
properties,
sku,
systemData,
tags
FROM azure.event_grid.namespaces
WHERE subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new namespaces
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.event_grid.namespaces (
namespaceName,
resourceGroupName,
subscriptionId,
tags,
location,
properties,
sku,
identity
)
SELECT
'{{ namespaceName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ tags }}',
'{{ location }}',
'{{ properties }}',
'{{ sku }}',
'{{ identity }}'
;
- 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: topicsConfiguration
value:
- name: hostname
value: string
- name: customDomains
value:
- - name: fullyQualifiedDomainName
value: string
- name: validationState
value: string
- name: identity
value:
- name: type
value: string
- name: userAssignedIdentity
value: string
- name: certificateUrl
value: string
- name: expectedTxtRecordName
value: string
- name: expectedTxtRecordValue
value: string
- name: topicSpacesConfiguration
value:
- name: state
value: string
- name: routeTopicResourceId
value: string
- name: hostname
value: string
- name: routingEnrichments
value:
- name: static
value:
- - name: key
value: string
- name: valueType
value: string
- name: dynamic
value:
- - name: key
value: string
- name: value
value: string
- name: clientAuthentication
value:
- name: alternativeAuthenticationNameSources
value:
- string
- name: customJwtAuthentication
value:
- name: tokenIssuer
value: string
- name: issuerCertificates
value:
- - name: certificateUrl
value: string
- name: identity
value:
- name: type
value: string
- name: userAssignedIdentity
value: string
- name: maximumSessionExpiryInHours
value: integer
- name: maximumClientSessionsPerAuthenticationName
value: integer
- name: routingIdentityInfo
value:
- name: type
value: string
- name: userAssignedIdentity
value: string
- name: customDomains
value:
- - name: fullyQualifiedDomainName
value: string
- name: validationState
value: string
- name: certificateUrl
value: string
- name: expectedTxtRecordName
value: string
- name: expectedTxtRecordValue
value: string
- name: isZoneRedundant
value: boolean
- name: publicNetworkAccess
value: string
- name: inboundIpRules
value:
- - name: ipMask
value: string
- name: action
value: string
- name: minimumTlsVersionAllowed
value: string
- name: sku
value:
- name: name
value: string
- name: capacity
value: integer
- name: identity
value:
- name: type
value: string
- name: principalId
value: string
- name: tenantId
value: string
- name: userAssignedIdentities
value: object
UPDATE
example
Updates a namespaces
resource.
/*+ update */
UPDATE azure.event_grid.namespaces
SET
tags = '{{ tags }}',
identity = '{{ identity }}',
sku = '{{ sku }}',
properties = '{{ properties }}'
WHERE
namespaceName = '{{ namespaceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
DELETE
example
Deletes the specified namespaces
resource.
/*+ delete */
DELETE FROM azure.event_grid.namespaces
WHERE namespaceName = '{{ namespaceName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';