Azure Native
getNamespace
Description of a Namespace resource. API Version: 2017-04-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)
// Output-based functions aren't available in Java yet
Fn::Invoke:
Function: azure-native:notificationhubs:getNamespace
Arguments:
# Arguments dictionary
The following arguments are supported:
- Namespace
Name string The namespace name.
- Resource
Group stringName The name of the resource group.
- Namespace
Name string The namespace name.
- Resource
Group stringName The name of the resource group.
- namespace
Name String The namespace name.
- resource
Group StringName The name of the resource group.
- namespace
Name string The namespace name.
- resource
Group stringName The name of the resource group.
- namespace_
name str The namespace name.
- resource_
group_ strname The name of the resource group.
- namespace
Name String The namespace name.
- resource
Group StringName The name of the resource group.
getNamespace Result
The following output properties are available:
- Id string
Resource Id
- Metric
Id string Identifier for Azure Insights metrics
- Name string
Resource name
- Type string
Resource type
- Created
At string The time the namespace was created.
- Critical bool
Whether or not the namespace is set as Critical.
- Data
Center string Data center for the namespace
- Enabled bool
Whether or not the namespace is currently enabled.
- Location string
Resource location
- Namespace
Type string The namespace type.
- Provisioning
State string Provisioning state of the Namespace.
- Region string
Specifies the targeted region in which the namespace should be created. It can be any of the following values: Australia East, Australia Southeast, Central US, East US, East US 2, West US, North Central US, South Central US, East Asia, Southeast Asia, Brazil South, Japan East, Japan West, North Europe, West Europe
- Scale
Unit string ScaleUnit where the namespace gets created
- Service
Bus stringEndpoint Endpoint you can use to perform NotificationHub operations.
- Sku
Pulumi.
Azure Native. Notification Hubs. Outputs. Sku Response The sku of the created namespace
- Status string
Status of the namespace. It can be any of these values:1 = Created/Active2 = Creating3 = Suspended4 = Deleting
- Subscription
Id string The Id of the Azure subscription associated with the namespace.
- Dictionary<string, string>
Resource tags
- Updated
At string The time the namespace was updated.
- Id string
Resource Id
- Metric
Id string Identifier for Azure Insights metrics
- Name string
Resource name
- Type string
Resource type
- Created
At string The time the namespace was created.
- Critical bool
Whether or not the namespace is set as Critical.
- Data
Center string Data center for the namespace
- Enabled bool
Whether or not the namespace is currently enabled.
- Location string
Resource location
- Namespace
Type string The namespace type.
- Provisioning
State string Provisioning state of the Namespace.
- Region string
Specifies the targeted region in which the namespace should be created. It can be any of the following values: Australia East, Australia Southeast, Central US, East US, East US 2, West US, North Central US, South Central US, East Asia, Southeast Asia, Brazil South, Japan East, Japan West, North Europe, West Europe
- Scale
Unit string ScaleUnit where the namespace gets created
- Service
Bus stringEndpoint Endpoint you can use to perform NotificationHub operations.
- Sku
Sku
Response The sku of the created namespace
- Status string
Status of the namespace. It can be any of these values:1 = Created/Active2 = Creating3 = Suspended4 = Deleting
- Subscription
Id string The Id of the Azure subscription associated with the namespace.
- map[string]string
Resource tags
- Updated
At string The time the namespace was updated.
- id String
Resource Id
- metric
Id String Identifier for Azure Insights metrics
- name String
Resource name
- type String
Resource type
- created
At String The time the namespace was created.
- critical Boolean
Whether or not the namespace is set as Critical.
- data
Center String Data center for the namespace
- enabled Boolean
Whether or not the namespace is currently enabled.
- location String
Resource location
- namespace
Type String The namespace type.
- provisioning
State String Provisioning state of the Namespace.
- region String
Specifies the targeted region in which the namespace should be created. It can be any of the following values: Australia East, Australia Southeast, Central US, East US, East US 2, West US, North Central US, South Central US, East Asia, Southeast Asia, Brazil South, Japan East, Japan West, North Europe, West Europe
- scale
Unit String ScaleUnit where the namespace gets created
- service
Bus StringEndpoint Endpoint you can use to perform NotificationHub operations.
- sku
Sku
Response The sku of the created namespace
- status String
Status of the namespace. It can be any of these values:1 = Created/Active2 = Creating3 = Suspended4 = Deleting
- subscription
Id String The Id of the Azure subscription associated with the namespace.
- Map<String,String>
Resource tags
- updated
At String The time the namespace was updated.
- id string
Resource Id
- metric
Id string Identifier for Azure Insights metrics
- name string
Resource name
- type string
Resource type
- created
At string The time the namespace was created.
- critical boolean
Whether or not the namespace is set as Critical.
- data
Center string Data center for the namespace
- enabled boolean
Whether or not the namespace is currently enabled.
- location string
Resource location
- namespace
Type string The namespace type.
- provisioning
State string Provisioning state of the Namespace.
- region string
Specifies the targeted region in which the namespace should be created. It can be any of the following values: Australia East, Australia Southeast, Central US, East US, East US 2, West US, North Central US, South Central US, East Asia, Southeast Asia, Brazil South, Japan East, Japan West, North Europe, West Europe
- scale
Unit string ScaleUnit where the namespace gets created
- service
Bus stringEndpoint Endpoint you can use to perform NotificationHub operations.
- sku
Sku
Response The sku of the created namespace
- status string
Status of the namespace. It can be any of these values:1 = Created/Active2 = Creating3 = Suspended4 = Deleting
- subscription
Id string The Id of the Azure subscription associated with the namespace.
- {[key: string]: string}
Resource tags
- updated
At string The time the namespace was updated.
- id str
Resource Id
- metric_
id str Identifier for Azure Insights metrics
- name str
Resource name
- type str
Resource type
- created_
at str The time the namespace was created.
- critical bool
Whether or not the namespace is set as Critical.
- data_
center str Data center for the namespace
- enabled bool
Whether or not the namespace is currently enabled.
- location str
Resource location
- namespace_
type str The namespace type.
- provisioning_
state str Provisioning state of the Namespace.
- region str
Specifies the targeted region in which the namespace should be created. It can be any of the following values: Australia East, Australia Southeast, Central US, East US, East US 2, West US, North Central US, South Central US, East Asia, Southeast Asia, Brazil South, Japan East, Japan West, North Europe, West Europe
- scale_
unit str ScaleUnit where the namespace gets created
- service_
bus_ strendpoint Endpoint you can use to perform NotificationHub operations.
- sku
Sku
Response The sku of the created namespace
- status str
Status of the namespace. It can be any of these values:1 = Created/Active2 = Creating3 = Suspended4 = Deleting
- subscription_
id str The Id of the Azure subscription associated with the namespace.
- Mapping[str, str]
Resource tags
- updated_
at str The time the namespace was updated.
- id String
Resource Id
- metric
Id String Identifier for Azure Insights metrics
- name String
Resource name
- type String
Resource type
- created
At String The time the namespace was created.
- critical Boolean
Whether or not the namespace is set as Critical.
- data
Center String Data center for the namespace
- enabled Boolean
Whether or not the namespace is currently enabled.
- location String
Resource location
- namespace
Type String The namespace type.
- provisioning
State String Provisioning state of the Namespace.
- region String
Specifies the targeted region in which the namespace should be created. It can be any of the following values: Australia East, Australia Southeast, Central US, East US, East US 2, West US, North Central US, South Central US, East Asia, Southeast Asia, Brazil South, Japan East, Japan West, North Europe, West Europe
- scale
Unit String ScaleUnit where the namespace gets created
- service
Bus StringEndpoint Endpoint you can use to perform NotificationHub operations.
- sku Property Map
The sku of the created namespace
- status String
Status of the namespace. It can be any of these values:1 = Created/Active2 = Creating3 = Suspended4 = Deleting
- subscription
Id String The Id of the Azure subscription associated with the namespace.
- Map<String>
Resource tags
- updated
At String The time the namespace was updated.
Supporting Types
SkuResponse
Package Details
- Repository
- https://github.com/pulumi/pulumi-azure-native
- License
- Apache-2.0