azure-native.containerservice.getManagedNamespace
Explore with Pulumi AI
Namespace managed by ARM.
Uses Azure REST API version 2025-04-02-preview.
Other available API versions: 2025-03-02-preview, 2025-05-02-preview, 2025-06-02-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native containerservice [ApiVersion]
. See the version guide for details.
Using getManagedNamespace
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 getManagedNamespace(args: GetManagedNamespaceArgs, opts?: InvokeOptions): Promise<GetManagedNamespaceResult>
function getManagedNamespaceOutput(args: GetManagedNamespaceOutputArgs, opts?: InvokeOptions): Output<GetManagedNamespaceResult>
def get_managed_namespace(managed_namespace_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
resource_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetManagedNamespaceResult
def get_managed_namespace_output(managed_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[GetManagedNamespaceResult]
func LookupManagedNamespace(ctx *Context, args *LookupManagedNamespaceArgs, opts ...InvokeOption) (*LookupManagedNamespaceResult, error)
func LookupManagedNamespaceOutput(ctx *Context, args *LookupManagedNamespaceOutputArgs, opts ...InvokeOption) LookupManagedNamespaceResultOutput
> Note: This function is named LookupManagedNamespace
in the Go SDK.
public static class GetManagedNamespace
{
public static Task<GetManagedNamespaceResult> InvokeAsync(GetManagedNamespaceArgs args, InvokeOptions? opts = null)
public static Output<GetManagedNamespaceResult> Invoke(GetManagedNamespaceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetManagedNamespaceResult> getManagedNamespace(GetManagedNamespaceArgs args, InvokeOptions options)
public static Output<GetManagedNamespaceResult> getManagedNamespace(GetManagedNamespaceArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:containerservice:getManagedNamespace
arguments:
# arguments dictionary
The following arguments are supported:
- Managed
Namespace stringName - The name of the managed 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.
- Managed
Namespace stringName - The name of the managed 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.
- managed
Namespace StringName - The name of the managed 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.
- managed
Namespace stringName - The name of the managed 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.
- managed_
namespace_ strname - The name of the managed 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.
- managed
Namespace StringName - The name of the managed 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.
getManagedNamespace 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