@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 7.26 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
import * as enums from "../types/enums";
/**
* Description of a namespace resource.
*
* Uses Azure REST API version 2024-01-01. In version 2.x of the Azure Native provider, it used API version 2022-01-01-preview.
*
* Other available API versions: 2018-01-01-preview, 2021-01-01-preview, 2021-06-01-preview, 2021-11-01, 2022-01-01-preview, 2022-10-01-preview, 2023-01-01-preview, 2025-05-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native servicebus [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
*/
export declare class Namespace extends pulumi.CustomResource {
/**
* Get an existing Namespace resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Namespace;
/**
* Returns true if the given object is an instance of Namespace. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is Namespace;
/**
* Alternate name for namespace
*/
readonly alternateName: pulumi.Output<string | undefined>;
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: pulumi.Output<string>;
/**
* The time the namespace was created
*/
readonly createdAt: pulumi.Output<string>;
/**
* This property disables SAS authentication for the Service Bus namespace.
*/
readonly disableLocalAuth: pulumi.Output<boolean | undefined>;
/**
* Properties of BYOK Encryption description
*/
readonly encryption: pulumi.Output<outputs.servicebus.EncryptionResponse | undefined>;
/**
* Properties of BYOK Identity description
*/
readonly identity: pulumi.Output<outputs.servicebus.IdentityResponse | undefined>;
/**
* The Geo-location where the resource lives
*/
readonly location: pulumi.Output<string>;
/**
* Identifier for Azure Insights metrics
*/
readonly metricId: pulumi.Output<string>;
/**
* The minimum TLS version for the cluster to support, e.g. '1.2'
*/
readonly minimumTlsVersion: pulumi.Output<string | undefined>;
/**
* Resource name
*/
readonly name: pulumi.Output<string>;
/**
* The number of partitions of a Service Bus namespace. This property is only applicable to Premium SKU namespaces. The default value is 1 and possible values are 1, 2 and 4
*/
readonly premiumMessagingPartitions: pulumi.Output<number | undefined>;
/**
* List of private endpoint connections.
*/
readonly privateEndpointConnections: pulumi.Output<outputs.servicebus.PrivateEndpointConnectionResponse[] | undefined>;
/**
* Provisioning state of the namespace.
*/
readonly provisioningState: pulumi.Output<string>;
/**
* This determines if traffic is allowed over public network. By default it is enabled.
*/
readonly publicNetworkAccess: pulumi.Output<string | undefined>;
/**
* Endpoint you can use to perform Service Bus operations.
*/
readonly serviceBusEndpoint: pulumi.Output<string>;
/**
* Properties of SKU
*/
readonly sku: pulumi.Output<outputs.servicebus.SBSkuResponse | undefined>;
/**
* Status of the namespace.
*/
readonly status: pulumi.Output<string>;
/**
* The system meta data relating to this resource.
*/
readonly systemData: pulumi.Output<outputs.servicebus.SystemDataResponse>;
/**
* Resource tags
*/
readonly tags: pulumi.Output<{
[key: string]: string;
} | undefined>;
/**
* Resource type
*/
readonly type: pulumi.Output<string>;
/**
* The time the namespace was updated.
*/
readonly updatedAt: pulumi.Output<string>;
/**
* This property reflects if zone redundancy has been enabled for namespaces in regions that support availability zones.
*/
readonly zoneRedundant: pulumi.Output<boolean | undefined>;
/**
* Create a Namespace resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: NamespaceArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* The set of arguments for constructing a Namespace resource.
*/
export interface NamespaceArgs {
/**
* Alternate name for namespace
*/
alternateName?: pulumi.Input<string>;
/**
* This property disables SAS authentication for the Service Bus namespace.
*/
disableLocalAuth?: pulumi.Input<boolean>;
/**
* Properties of BYOK Encryption description
*/
encryption?: pulumi.Input<inputs.servicebus.EncryptionArgs>;
/**
* Properties of BYOK Identity description
*/
identity?: pulumi.Input<inputs.servicebus.IdentityArgs>;
/**
* The Geo-location where the resource lives
*/
location?: pulumi.Input<string>;
/**
* The minimum TLS version for the cluster to support, e.g. '1.2'
*/
minimumTlsVersion?: pulumi.Input<string | enums.servicebus.TlsVersion>;
/**
* The namespace name.
*/
namespaceName?: pulumi.Input<string>;
/**
* The number of partitions of a Service Bus namespace. This property is only applicable to Premium SKU namespaces. The default value is 1 and possible values are 1, 2 and 4
*/
premiumMessagingPartitions?: pulumi.Input<number>;
/**
* List of private endpoint connections.
* These are also available as standalone resources. Do not mix inline and standalone resource as they will conflict with each other, leading to resources deletion.
*/
privateEndpointConnections?: pulumi.Input<pulumi.Input<inputs.servicebus.PrivateEndpointConnectionArgs>[]>;
/**
* This determines if traffic is allowed over public network. By default it is enabled.
*/
publicNetworkAccess?: pulumi.Input<string | enums.servicebus.PublicNetworkAccess>;
/**
* The name of the resource group. The name is case insensitive.
*/
resourceGroupName: pulumi.Input<string>;
/**
* Properties of SKU
*/
sku?: pulumi.Input<inputs.servicebus.SBSkuArgs>;
/**
* Resource tags
*/
tags?: pulumi.Input<{
[key: string]: pulumi.Input<string>;
}>;
/**
* This property reflects if zone redundancy has been enabled for namespaces in regions that support availability zones.
*/
zoneRedundant?: pulumi.Input<boolean>;
}