This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.4.0 published on Wednesday, May 7, 2025 by Pulumi
azure-native.containerservice.getNamespace
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.4.0 published on Wednesday, May 7, 2025 by Pulumi
Namespace managed by ARM.
Uses Azure REST API version 2025-02-02-preview.
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,
resource_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,
resource_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:containerservice:getNamespace
arguments:
# arguments dictionary
The following arguments are supported:
- Namespace
Name string - The name of the namespace.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Resource
Name string - The name of the managed cluster resource.
- Namespace
Name string - The name of the namespace.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Resource
Name string - The name of the managed cluster resource.
- namespace
Name String - The name of the namespace.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- resource
Name String - The name of the managed cluster resource.
- namespace
Name string - The name of the namespace.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- resource
Name string - The name of the managed cluster resource.
- namespace_
name str - The name of the namespace.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- resource_
name str - The name of the managed cluster resource.
- namespace
Name String - The name of the namespace.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- resource
Name String - The name of the managed cluster resource.
getNamespace Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- ETag string
- Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable optimistic concurrency per the normal etag convention.
- Id string
- Resource ID.
- Name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Properties
Pulumi.
Azure Native. Container Service. Outputs. Namespace Properties Response - Properties of a namespace.
- System
Data Pulumi.Azure Native. Container Service. Outputs. System Data Response - The system metadata relating to this resource.
- Type string
- Resource type
- Location string
- The location of the namespace.
- Dictionary<string, string>
- The tags to be persisted on the managed cluster namespace.
- Azure
Api stringVersion - The Azure API version of the resource.
- ETag string
- Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable optimistic concurrency per the normal etag convention.
- Id string
- Resource ID.
- Name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- Properties
Namespace
Properties Response - Properties of a namespace.
- System
Data SystemData Response - The system metadata relating to this resource.
- Type string
- Resource type
- Location string
- The location of the namespace.
- map[string]string
- The tags to be persisted on the managed cluster namespace.
- azure
Api StringVersion - The Azure API version of the resource.
- e
Tag String - Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable optimistic concurrency per the normal etag convention.
- id String
- Resource ID.
- name String
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- properties
Namespace
Properties Response - Properties of a namespace.
- system
Data SystemData Response - The system metadata relating to this resource.
- type String
- Resource type
- location String
- The location of the namespace.
- Map<String,String>
- The tags to be persisted on the managed cluster namespace.
- azure
Api stringVersion - The Azure API version of the resource.
- e
Tag string - Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable optimistic concurrency per the normal etag convention.
- id string
- Resource ID.
- name string
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- properties
Namespace
Properties Response - Properties of a namespace.
- system
Data SystemData Response - The system metadata relating to this resource.
- type string
- Resource type
- location string
- The location of the namespace.
- {[key: string]: string}
- The tags to be persisted on the managed cluster namespace.
- azure_
api_ strversion - The Azure API version of the resource.
- e_
tag str - Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable optimistic concurrency per the normal etag convention.
- id str
- Resource ID.
- name str
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- properties
Namespace
Properties Response - Properties of a namespace.
- system_
data SystemData Response - The system metadata relating to this resource.
- type str
- Resource type
- location str
- The location of the namespace.
- Mapping[str, str]
- The tags to be persisted on the managed cluster namespace.
- azure
Api StringVersion - The Azure API version of the resource.
- e
Tag String - Unique read-only string used to implement optimistic concurrency. The eTag value will change when the resource is updated. Specify an if-match or if-none-match header with the eTag value for a subsequent request to enable optimistic concurrency per the normal etag convention.
- id String
- Resource ID.
- name String
- The name of the resource that is unique within a resource group. This name can be used to access the resource.
- properties Property Map
- Properties of a namespace.
- system
Data Property Map - The system metadata relating to this resource.
- type String
- Resource type
- location String
- The location of the namespace.
- Map<String>
- The tags to be persisted on the managed cluster namespace.
Supporting Types
NamespacePropertiesResponse
- Provisioning
State string - The current provisioning state of the namespace.
- Adoption
Policy string - Action if Kubernetes namespace with same name already exists.
- Annotations Dictionary<string, string>
- The annotations of managed namespace.
- Default
Network Pulumi.Policy Azure Native. Container Service. Inputs. Network Policies Response - The default network policy enforced upon the namespace. Customers can have other Kubernetes network policy objects under the namespace. All the network policies will be enforced.
- Default
Resource Pulumi.Quota Azure Native. Container Service. Inputs. Resource Quota Response - The default resource quota enforced upon the namespace. Customers can have other Kubernetes resource quota objects under the namespace. All the resource quotas will be enforced.
- Delete
Policy string - Delete options of a namespace.
- Labels Dictionary<string, string>
- The labels of managed namespace.
- Provisioning
State string - The current provisioning state of the namespace.
- Adoption
Policy string - Action if Kubernetes namespace with same name already exists.
- Annotations map[string]string
- The annotations of managed namespace.
- Default
Network NetworkPolicy Policies Response - The default network policy enforced upon the namespace. Customers can have other Kubernetes network policy objects under the namespace. All the network policies will be enforced.
- Default
Resource ResourceQuota Quota Response - The default resource quota enforced upon the namespace. Customers can have other Kubernetes resource quota objects under the namespace. All the resource quotas will be enforced.
- Delete
Policy string - Delete options of a namespace.
- Labels map[string]string
- The labels of managed namespace.
- provisioning
State String - The current provisioning state of the namespace.
- adoption
Policy String - Action if Kubernetes namespace with same name already exists.
- annotations Map<String,String>
- The annotations of managed namespace.
- default
Network NetworkPolicy Policies Response - The default network policy enforced upon the namespace. Customers can have other Kubernetes network policy objects under the namespace. All the network policies will be enforced.
- default
Resource ResourceQuota Quota Response - The default resource quota enforced upon the namespace. Customers can have other Kubernetes resource quota objects under the namespace. All the resource quotas will be enforced.
- delete
Policy String - Delete options of a namespace.
- labels Map<String,String>
- The labels of managed namespace.
- provisioning
State string - The current provisioning state of the namespace.
- adoption
Policy string - Action if Kubernetes namespace with same name already exists.
- annotations {[key: string]: string}
- The annotations of managed namespace.
- default
Network NetworkPolicy Policies Response - The default network policy enforced upon the namespace. Customers can have other Kubernetes network policy objects under the namespace. All the network policies will be enforced.
- default
Resource ResourceQuota Quota Response - The default resource quota enforced upon the namespace. Customers can have other Kubernetes resource quota objects under the namespace. All the resource quotas will be enforced.
- delete
Policy string - Delete options of a namespace.
- labels {[key: string]: string}
- The labels of managed namespace.
- provisioning_
state str - The current provisioning state of the namespace.
- adoption_
policy str - Action if Kubernetes namespace with same name already exists.
- annotations Mapping[str, str]
- The annotations of managed namespace.
- default_
network_ Networkpolicy Policies Response - The default network policy enforced upon the namespace. Customers can have other Kubernetes network policy objects under the namespace. All the network policies will be enforced.
- default_
resource_ Resourcequota Quota Response - The default resource quota enforced upon the namespace. Customers can have other Kubernetes resource quota objects under the namespace. All the resource quotas will be enforced.
- delete_
policy str - Delete options of a namespace.
- labels Mapping[str, str]
- The labels of managed namespace.
- provisioning
State String - The current provisioning state of the namespace.
- adoption
Policy String - Action if Kubernetes namespace with same name already exists.
- annotations Map<String>
- The annotations of managed namespace.
- default
Network Property MapPolicy - The default network policy enforced upon the namespace. Customers can have other Kubernetes network policy objects under the namespace. All the network policies will be enforced.
- default
Resource Property MapQuota - The default resource quota enforced upon the namespace. Customers can have other Kubernetes resource quota objects under the namespace. All the resource quotas will be enforced.
- delete
Policy String - Delete options of a namespace.
- labels Map<String>
- The labels of managed namespace.
NetworkPoliciesResponse
ResourceQuotaResponse
- Cpu
Limit string - CPU limit of the namespace in one-thousandth CPU form. See CPU resource units for more details.
- Cpu
Request string - CPU request of the namespace in one-thousandth CPU form. See CPU resource units for more details.
- Memory
Limit string - Memory limit of the namespace in the power-of-two equivalents form: Ei, Pi, Ti, Gi, Mi, Ki. See Memory resource units for more details.
- Memory
Request string - Memory request of the namespace in the power-of-two equivalents form: Ei, Pi, Ti, Gi, Mi, Ki. See Memory resource units for more details.
- Cpu
Limit string - CPU limit of the namespace in one-thousandth CPU form. See CPU resource units for more details.
- Cpu
Request string - CPU request of the namespace in one-thousandth CPU form. See CPU resource units for more details.
- Memory
Limit string - Memory limit of the namespace in the power-of-two equivalents form: Ei, Pi, Ti, Gi, Mi, Ki. See Memory resource units for more details.
- Memory
Request string - Memory request of the namespace in the power-of-two equivalents form: Ei, Pi, Ti, Gi, Mi, Ki. See Memory resource units for more details.
- cpu
Limit String - CPU limit of the namespace in one-thousandth CPU form. See CPU resource units for more details.
- cpu
Request String - CPU request of the namespace in one-thousandth CPU form. See CPU resource units for more details.
- memory
Limit String - Memory limit of the namespace in the power-of-two equivalents form: Ei, Pi, Ti, Gi, Mi, Ki. See Memory resource units for more details.
- memory
Request String - Memory request of the namespace in the power-of-two equivalents form: Ei, Pi, Ti, Gi, Mi, Ki. See Memory resource units for more details.
- cpu
Limit string - CPU limit of the namespace in one-thousandth CPU form. See CPU resource units for more details.
- cpu
Request string - CPU request of the namespace in one-thousandth CPU form. See CPU resource units for more details.
- memory
Limit string - Memory limit of the namespace in the power-of-two equivalents form: Ei, Pi, Ti, Gi, Mi, Ki. See Memory resource units for more details.
- memory
Request string - Memory request of the namespace in the power-of-two equivalents form: Ei, Pi, Ti, Gi, Mi, Ki. See Memory resource units for more details.
- cpu_
limit str - CPU limit of the namespace in one-thousandth CPU form. See CPU resource units for more details.
- cpu_
request str - CPU request of the namespace in one-thousandth CPU form. See CPU resource units for more details.
- memory_
limit str - Memory limit of the namespace in the power-of-two equivalents form: Ei, Pi, Ti, Gi, Mi, Ki. See Memory resource units for more details.
- memory_
request str - Memory request of the namespace in the power-of-two equivalents form: Ei, Pi, Ti, Gi, Mi, Ki. See Memory resource units for more details.
- cpu
Limit String - CPU limit of the namespace in one-thousandth CPU form. See CPU resource units for more details.
- cpu
Request String - CPU request of the namespace in one-thousandth CPU form. See CPU resource units for more details.
- memory
Limit String - Memory limit of the namespace in the power-of-two equivalents form: Ei, Pi, Ti, Gi, Mi, Ki. See Memory resource units for more details.
- memory
Request String - Memory request of the namespace in the power-of-two equivalents form: Ei, Pi, Ti, Gi, Mi, Ki. See Memory resource units for more details.
SystemDataResponse
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified 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 timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
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 v2 docs if using the v2 version of this package.
Azure Native v3.4.0 published on Wednesday, May 7, 2025 by Pulumi