This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.3 published on Thursday, Mar 20, 2025 by Pulumi
azure-native.servicebus.getNamespace
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.3 published on Thursday, Mar 20, 2025 by Pulumi
Gets a description for the specified namespace. Azure REST API version: 2022-01-01-preview.
Other available API versions: 2022-10-01-preview, 2023-01-01-preview, 2024-01-01.
Using getNamespace
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getNamespace(args: GetNamespaceArgs, opts?: InvokeOptions): Promise<GetNamespaceResult>
function getNamespaceOutput(args: GetNamespaceOutputArgs, opts?: InvokeOptions): Output<GetNamespaceResult>def get_namespace(namespace_name: Optional[str] = None,
                  resource_group_name: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetNamespaceResult
def get_namespace_output(namespace_name: Optional[pulumi.Input[str]] = None,
                  resource_group_name: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetNamespaceResult]func LookupNamespace(ctx *Context, args *LookupNamespaceArgs, opts ...InvokeOption) (*LookupNamespaceResult, error)
func LookupNamespaceOutput(ctx *Context, args *LookupNamespaceOutputArgs, opts ...InvokeOption) LookupNamespaceResultOutput> Note: This function is named LookupNamespace in the Go SDK.
public static class GetNamespace 
{
    public static Task<GetNamespaceResult> InvokeAsync(GetNamespaceArgs args, InvokeOptions? opts = null)
    public static Output<GetNamespaceResult> Invoke(GetNamespaceInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetNamespaceResult> getNamespace(GetNamespaceArgs args, InvokeOptions options)
public static Output<GetNamespaceResult> getNamespace(GetNamespaceArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:servicebus:getNamespace
  arguments:
    # arguments dictionaryThe following arguments are supported:
- NamespaceName string
- The namespace name
- ResourceGroup stringName 
- Name of the Resource group within the Azure subscription.
- NamespaceName string
- The namespace name
- ResourceGroup stringName 
- Name of the Resource group within the Azure subscription.
- namespaceName String
- The namespace name
- resourceGroup StringName 
- Name of the Resource group within the Azure subscription.
- namespaceName string
- The namespace name
- resourceGroup stringName 
- Name of the Resource group within the Azure subscription.
- namespace_name str
- The namespace name
- resource_group_ strname 
- Name of the Resource group within the Azure subscription.
- namespaceName String
- The namespace name
- resourceGroup StringName 
- Name of the Resource group within the Azure subscription.
getNamespace Result
The following output properties are available:
- CreatedAt string
- The time the namespace was created
- Id string
- Resource Id
- Location string
- The Geo-location where the resource lives
- MetricId string
- Identifier for Azure Insights metrics
- Name string
- Resource name
- ProvisioningState string
- Provisioning state of the namespace.
- ServiceBus stringEndpoint 
- Endpoint you can use to perform Service Bus operations.
- Status string
- Status of the namespace.
- SystemData Pulumi.Azure Native. Service Bus. Outputs. System Data Response 
- The system meta data relating to this resource.
- Type string
- Resource type
- UpdatedAt string
- The time the namespace was updated.
- AlternateName string
- Alternate name for namespace
- DisableLocal boolAuth 
- This property disables SAS authentication for the Service Bus namespace.
- Encryption
Pulumi.Azure Native. Service Bus. Outputs. Encryption Response 
- Properties of BYOK Encryption description
- Identity
Pulumi.Azure Native. Service Bus. Outputs. Identity Response 
- Properties of BYOK Identity description
- MinimumTls stringVersion 
- The minimum TLS version for the cluster to support, e.g. '1.2'
- PrivateEndpoint List<Pulumi.Connections Azure Native. Service Bus. Outputs. Private Endpoint Connection Response> 
- List of private endpoint connections.
- PublicNetwork stringAccess 
- This determines if traffic is allowed over public network. By default it is enabled.
- Sku
Pulumi.Azure Native. Service Bus. Outputs. SBSku Response 
- Properties of SKU
- Dictionary<string, string>
- Resource tags
- ZoneRedundant bool
- Enabling this property creates a Premium Service Bus Namespace in regions supported availability zones.
- CreatedAt string
- The time the namespace was created
- Id string
- Resource Id
- Location string
- The Geo-location where the resource lives
- MetricId string
- Identifier for Azure Insights metrics
- Name string
- Resource name
- ProvisioningState string
- Provisioning state of the namespace.
- ServiceBus stringEndpoint 
- Endpoint you can use to perform Service Bus operations.
- Status string
- Status of the namespace.
- SystemData SystemData Response 
- The system meta data relating to this resource.
- Type string
- Resource type
- UpdatedAt string
- The time the namespace was updated.
- AlternateName string
- Alternate name for namespace
- DisableLocal boolAuth 
- This property disables SAS authentication for the Service Bus namespace.
- Encryption
EncryptionResponse 
- Properties of BYOK Encryption description
- Identity
IdentityResponse 
- Properties of BYOK Identity description
- MinimumTls stringVersion 
- The minimum TLS version for the cluster to support, e.g. '1.2'
- PrivateEndpoint []PrivateConnections Endpoint Connection Response 
- List of private endpoint connections.
- PublicNetwork stringAccess 
- This determines if traffic is allowed over public network. By default it is enabled.
- Sku
SBSkuResponse 
- Properties of SKU
- map[string]string
- Resource tags
- ZoneRedundant bool
- Enabling this property creates a Premium Service Bus Namespace in regions supported availability zones.
- createdAt String
- The time the namespace was created
- id String
- Resource Id
- location String
- The Geo-location where the resource lives
- metricId String
- Identifier for Azure Insights metrics
- name String
- Resource name
- provisioningState String
- Provisioning state of the namespace.
- serviceBus StringEndpoint 
- Endpoint you can use to perform Service Bus operations.
- status String
- Status of the namespace.
- systemData SystemData Response 
- The system meta data relating to this resource.
- type String
- Resource type
- updatedAt String
- The time the namespace was updated.
- alternateName String
- Alternate name for namespace
- disableLocal BooleanAuth 
- This property disables SAS authentication for the Service Bus namespace.
- encryption
EncryptionResponse 
- Properties of BYOK Encryption description
- identity
IdentityResponse 
- Properties of BYOK Identity description
- minimumTls StringVersion 
- The minimum TLS version for the cluster to support, e.g. '1.2'
- privateEndpoint List<PrivateConnections Endpoint Connection Response> 
- List of private endpoint connections.
- publicNetwork StringAccess 
- This determines if traffic is allowed over public network. By default it is enabled.
- sku
SBSkuResponse 
- Properties of SKU
- Map<String,String>
- Resource tags
- zoneRedundant Boolean
- Enabling this property creates a Premium Service Bus Namespace in regions supported availability zones.
- createdAt string
- The time the namespace was created
- id string
- Resource Id
- location string
- The Geo-location where the resource lives
- metricId string
- Identifier for Azure Insights metrics
- name string
- Resource name
- provisioningState string
- Provisioning state of the namespace.
- serviceBus stringEndpoint 
- Endpoint you can use to perform Service Bus operations.
- status string
- Status of the namespace.
- systemData SystemData Response 
- The system meta data relating to this resource.
- type string
- Resource type
- updatedAt string
- The time the namespace was updated.
- alternateName string
- Alternate name for namespace
- disableLocal booleanAuth 
- This property disables SAS authentication for the Service Bus namespace.
- encryption
EncryptionResponse 
- Properties of BYOK Encryption description
- identity
IdentityResponse 
- Properties of BYOK Identity description
- minimumTls stringVersion 
- The minimum TLS version for the cluster to support, e.g. '1.2'
- privateEndpoint PrivateConnections Endpoint Connection Response[] 
- List of private endpoint connections.
- publicNetwork stringAccess 
- This determines if traffic is allowed over public network. By default it is enabled.
- sku
SBSkuResponse 
- Properties of SKU
- {[key: string]: string}
- Resource tags
- zoneRedundant boolean
- Enabling this property creates a Premium Service Bus Namespace in regions supported availability zones.
- created_at str
- The time the namespace was created
- id str
- Resource Id
- location str
- The Geo-location where the resource lives
- metric_id str
- Identifier for Azure Insights metrics
- name str
- Resource name
- provisioning_state str
- Provisioning state of the namespace.
- service_bus_ strendpoint 
- Endpoint you can use to perform Service Bus operations.
- status str
- Status of the namespace.
- system_data SystemData Response 
- The system meta data relating to this resource.
- type str
- Resource type
- updated_at str
- The time the namespace was updated.
- alternate_name str
- Alternate name for namespace
- disable_local_ boolauth 
- This property disables SAS authentication for the Service Bus namespace.
- encryption
EncryptionResponse 
- Properties of BYOK Encryption description
- identity
IdentityResponse 
- Properties of BYOK Identity description
- minimum_tls_ strversion 
- The minimum TLS version for the cluster to support, e.g. '1.2'
- private_endpoint_ Sequence[Privateconnections Endpoint Connection Response] 
- List of private endpoint connections.
- public_network_ straccess 
- This determines if traffic is allowed over public network. By default it is enabled.
- sku
SBSkuResponse 
- Properties of SKU
- Mapping[str, str]
- Resource tags
- zone_redundant bool
- Enabling this property creates a Premium Service Bus Namespace in regions supported availability zones.
- createdAt String
- The time the namespace was created
- id String
- Resource Id
- location String
- The Geo-location where the resource lives
- metricId String
- Identifier for Azure Insights metrics
- name String
- Resource name
- provisioningState String
- Provisioning state of the namespace.
- serviceBus StringEndpoint 
- Endpoint you can use to perform Service Bus operations.
- status String
- Status of the namespace.
- systemData Property Map
- The system meta data relating to this resource.
- type String
- Resource type
- updatedAt String
- The time the namespace was updated.
- alternateName String
- Alternate name for namespace
- disableLocal BooleanAuth 
- This property disables SAS authentication for the Service Bus namespace.
- encryption Property Map
- Properties of BYOK Encryption description
- identity Property Map
- Properties of BYOK Identity description
- minimumTls StringVersion 
- The minimum TLS version for the cluster to support, e.g. '1.2'
- privateEndpoint List<Property Map>Connections 
- List of private endpoint connections.
- publicNetwork StringAccess 
- This determines if traffic is allowed over public network. By default it is enabled.
- sku Property Map
- Properties of SKU
- Map<String>
- Resource tags
- zoneRedundant Boolean
- Enabling this property creates a Premium Service Bus Namespace in regions supported availability zones.
Supporting Types
ConnectionStateResponse  
- Description string
- Description of the connection state.
- Status string
- Status of the connection.
- Description string
- Description of the connection state.
- Status string
- Status of the connection.
- description String
- Description of the connection state.
- status String
- Status of the connection.
- description string
- Description of the connection state.
- status string
- Status of the connection.
- description str
- Description of the connection state.
- status str
- Status of the connection.
- description String
- Description of the connection state.
- status String
- Status of the connection.
EncryptionResponse 
- KeySource string
- Enumerates the possible value of keySource for Encryption
- KeyVault List<Pulumi.Properties Azure Native. Service Bus. Inputs. Key Vault Properties Response> 
- Properties of KeyVault
- RequireInfrastructure boolEncryption 
- Enable Infrastructure Encryption (Double Encryption)
- KeySource string
- Enumerates the possible value of keySource for Encryption
- KeyVault []KeyProperties Vault Properties Response 
- Properties of KeyVault
- RequireInfrastructure boolEncryption 
- Enable Infrastructure Encryption (Double Encryption)
- keySource String
- Enumerates the possible value of keySource for Encryption
- keyVault List<KeyProperties Vault Properties Response> 
- Properties of KeyVault
- requireInfrastructure BooleanEncryption 
- Enable Infrastructure Encryption (Double Encryption)
- keySource string
- Enumerates the possible value of keySource for Encryption
- keyVault KeyProperties Vault Properties Response[] 
- Properties of KeyVault
- requireInfrastructure booleanEncryption 
- Enable Infrastructure Encryption (Double Encryption)
- key_source str
- Enumerates the possible value of keySource for Encryption
- key_vault_ Sequence[Keyproperties Vault Properties Response] 
- Properties of KeyVault
- require_infrastructure_ boolencryption 
- Enable Infrastructure Encryption (Double Encryption)
- keySource String
- Enumerates the possible value of keySource for Encryption
- keyVault List<Property Map>Properties 
- Properties of KeyVault
- requireInfrastructure BooleanEncryption 
- Enable Infrastructure Encryption (Double Encryption)
IdentityResponse 
- PrincipalId string
- ObjectId from the KeyVault
- TenantId string
- TenantId from the KeyVault
- Type string
- Type of managed service identity.
- UserAssigned Dictionary<string, Pulumi.Identities Azure Native. Service Bus. Inputs. User Assigned Identity Response> 
- Properties for User Assigned Identities
- PrincipalId string
- ObjectId from the KeyVault
- TenantId string
- TenantId from the KeyVault
- Type string
- Type of managed service identity.
- UserAssigned map[string]UserIdentities Assigned Identity Response 
- Properties for User Assigned Identities
- principalId String
- ObjectId from the KeyVault
- tenantId String
- TenantId from the KeyVault
- type String
- Type of managed service identity.
- userAssigned Map<String,UserIdentities Assigned Identity Response> 
- Properties for User Assigned Identities
- principalId string
- ObjectId from the KeyVault
- tenantId string
- TenantId from the KeyVault
- type string
- Type of managed service identity.
- userAssigned {[key: string]: UserIdentities Assigned Identity Response} 
- Properties for User Assigned Identities
- principal_id str
- ObjectId from the KeyVault
- tenant_id str
- TenantId from the KeyVault
- type str
- Type of managed service identity.
- user_assigned_ Mapping[str, Useridentities Assigned Identity Response] 
- Properties for User Assigned Identities
- principalId String
- ObjectId from the KeyVault
- tenantId String
- TenantId from the KeyVault
- type String
- Type of managed service identity.
- userAssigned Map<Property Map>Identities 
- Properties for User Assigned Identities
KeyVaultPropertiesResponse   
- Identity
Pulumi.Azure Native. Service Bus. Inputs. User Assigned Identity Properties Response 
- KeyName string
- Name of the Key from KeyVault
- KeyVault stringUri 
- Uri of KeyVault
- KeyVersion string
- Version of KeyVault
- Identity
UserAssigned Identity Properties Response 
- KeyName string
- Name of the Key from KeyVault
- KeyVault stringUri 
- Uri of KeyVault
- KeyVersion string
- Version of KeyVault
- identity
UserAssigned Identity Properties Response 
- keyName String
- Name of the Key from KeyVault
- keyVault StringUri 
- Uri of KeyVault
- keyVersion String
- Version of KeyVault
- identity
UserAssigned Identity Properties Response 
- keyName string
- Name of the Key from KeyVault
- keyVault stringUri 
- Uri of KeyVault
- keyVersion string
- Version of KeyVault
- identity
UserAssigned Identity Properties Response 
- key_name str
- Name of the Key from KeyVault
- key_vault_ struri 
- Uri of KeyVault
- key_version str
- Version of KeyVault
- identity Property Map
- keyName String
- Name of the Key from KeyVault
- keyVault StringUri 
- Uri of KeyVault
- keyVersion String
- Version of KeyVault
PrivateEndpointConnectionResponse   
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- SystemData Pulumi.Azure Native. Service Bus. Inputs. System Data Response 
- The system meta data relating to this resource.
- Type string
- The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
- PrivateEndpoint Pulumi.Azure Native. Service Bus. Inputs. Private Endpoint Response 
- The Private Endpoint resource for this Connection.
- PrivateLink Pulumi.Service Connection State Azure Native. Service Bus. Inputs. Connection State Response 
- Details about the state of the connection.
- ProvisioningState string
- Provisioning state of the Private Endpoint Connection.
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Location string
- The geo-location where the resource lives
- Name string
- The name of the resource
- SystemData SystemData Response 
- The system meta data relating to this resource.
- Type string
- The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
- PrivateEndpoint PrivateEndpoint Response 
- The Private Endpoint resource for this Connection.
- PrivateLink ConnectionService Connection State State Response 
- Details about the state of the connection.
- ProvisioningState string
- Provisioning state of the Private Endpoint Connection.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- systemData SystemData Response 
- The system meta data relating to this resource.
- type String
- The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
- privateEndpoint PrivateEndpoint Response 
- The Private Endpoint resource for this Connection.
- privateLink ConnectionService Connection State State Response 
- Details about the state of the connection.
- provisioningState String
- Provisioning state of the Private Endpoint Connection.
- id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location string
- The geo-location where the resource lives
- name string
- The name of the resource
- systemData SystemData Response 
- The system meta data relating to this resource.
- type string
- The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
- privateEndpoint PrivateEndpoint Response 
- The Private Endpoint resource for this Connection.
- privateLink ConnectionService Connection State State Response 
- Details about the state of the connection.
- provisioningState string
- Provisioning state of the Private Endpoint Connection.
- id str
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location str
- The geo-location where the resource lives
- name str
- The name of the resource
- system_data SystemData Response 
- The system meta data relating to this resource.
- type str
- The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
- private_endpoint PrivateEndpoint Response 
- The Private Endpoint resource for this Connection.
- private_link_ Connectionservice_ connection_ state State Response 
- Details about the state of the connection.
- provisioning_state str
- Provisioning state of the Private Endpoint Connection.
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- location String
- The geo-location where the resource lives
- name String
- The name of the resource
- systemData Property Map
- The system meta data relating to this resource.
- type String
- The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
- privateEndpoint Property Map
- The Private Endpoint resource for this Connection.
- privateLink Property MapService Connection State 
- Details about the state of the connection.
- provisioningState String
- Provisioning state of the Private Endpoint Connection.
PrivateEndpointResponse  
- Id string
- The ARM identifier for Private Endpoint.
- Id string
- The ARM identifier for Private Endpoint.
- id String
- The ARM identifier for Private Endpoint.
- id string
- The ARM identifier for Private Endpoint.
- id str
- The ARM identifier for Private Endpoint.
- id String
- The ARM identifier for Private Endpoint.
SBSkuResponse 
SystemDataResponse  
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The type of identity that last modified the resource.
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The type of identity that last modified the resource.
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The type of identity that last modified the resource.
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The type of identity that last modified the resource.
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified stringBy Type 
- The type of identity that last modified the resource.
- created_at str
- The timestamp of resource creation (UTC).
- created_by str
- The identity that created the resource.
- created_by_ strtype 
- The type of identity that created the resource.
- last_modified_ strat 
- The type of identity that last modified the resource.
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The type of identity that last modified the resource.
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
UserAssignedIdentityPropertiesResponse    
- UserAssigned stringIdentity 
- ARM ID of user Identity selected for encryption
- UserAssigned stringIdentity 
- ARM ID of user Identity selected for encryption
- userAssigned StringIdentity 
- ARM ID of user Identity selected for encryption
- userAssigned stringIdentity 
- ARM ID of user Identity selected for encryption
- user_assigned_ stridentity 
- ARM ID of user Identity selected for encryption
- userAssigned StringIdentity 
- ARM ID of user Identity selected for encryption
UserAssignedIdentityResponse   
- ClientId string
- Client Id of user assigned identity
- PrincipalId string
- Principal Id of user assigned identity
- ClientId string
- Client Id of user assigned identity
- PrincipalId string
- Principal Id of user assigned identity
- clientId String
- Client Id of user assigned identity
- principalId String
- Principal Id of user assigned identity
- clientId string
- Client Id of user assigned identity
- principalId string
- Principal Id of user assigned identity
- client_id str
- Client Id of user assigned identity
- principal_id str
- Principal Id of user assigned identity
- clientId String
- Client Id of user assigned identity
- principalId String
- Principal Id of user assigned identity
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.3 published on Thursday, Mar 20, 2025 by Pulumi