Namespace
Last updated
Last updated
Package : spaceone.api.inventory.v1
Namespace Methods:
POST /inventory/v1/namespace/create
{{< tabs " create " >}}
{{< tab "Request Example" >}}
name (string) Required
category (string) Required
resource_type (string) Required
resource_group (ResourceGroup) Required
namespace_id (string)
group (string)
icon (string)
tags (Struct)
workspace_id (string)
{{< highlight json >}} {
} {{< /highlight >}} {{< /tab >}}
{{< tab "Response Example" >}}
namespace_id (string) Required
name (string) Required
category (string) Required
resource_type (string) Required
group (string) Required
icon (string) Required
tags (Struct) Required
is_managed (bool) Required
resource_group (ResourceGroup) Required
domain_id (string) Required
workspace_id (string) Required
created_at (string) Required
updated_at (string) Required
{{< highlight json >}} {
} {{< /highlight >}} {{< /tab >}}
{{< /tabs >}}
POST /inventory/v1/namespace/update
{{< tabs " update " >}}
{{< tab "Request Example" >}}
namespace_id (string) Required
name (string)
icon (string)
tags (Struct)
{{< highlight json >}} {
} {{< /highlight >}} {{< /tab >}}
{{< tab "Response Example" >}}
namespace_id (string) Required
name (string) Required
category (string) Required
resource_type (string) Required
group (string) Required
icon (string) Required
tags (Struct) Required
is_managed (bool) Required
resource_group (ResourceGroup) Required
domain_id (string) Required
workspace_id (string) Required
created_at (string) Required
updated_at (string) Required
{{< highlight json >}} {
} {{< /highlight >}} {{< /tab >}}
{{< /tabs >}}
POST /inventory/v1/namespace/delete
{{< tabs " delete " >}}
{{< tab "Request Example" >}}
namespace_id (string) Required
{{< highlight json >}} {
} {{< /highlight >}} {{< /tab >}}
{{< /tabs >}}
POST /inventory/v1/namespace/get
{{< tabs " get " >}}
{{< tab "Request Example" >}}
namespace_id (string) Required
{{< highlight json >}} {
} {{< /highlight >}} {{< /tab >}}
{{< tab "Response Example" >}}
namespace_id (string) Required
name (string) Required
category (string) Required
resource_type (string) Required
group (string) Required
icon (string) Required
tags (Struct) Required
is_managed (bool) Required
resource_group (ResourceGroup) Required
domain_id (string) Required
workspace_id (string) Required
created_at (string) Required
updated_at (string) Required
{{< highlight json >}} {
} {{< /highlight >}} {{< /tab >}}
{{< /tabs >}}
POST /inventory/v1/namespace/list
{{< tabs " list " >}}
{{< tab "Request Example" >}}
query (Query)
namespace_id (string)
category (string)
resource_type (string)
group (string)
is_managed (string)
workspace_id (string)
{{< highlight json >}} {
} {{< /highlight >}} {{< /tab >}}
{{< /tabs >}}
POST /inventory/v1/namespace/stat
name (string) Required
category (string) Required
resource_type (string) Required
resource_group (ResourceGroup) Required
namespace_id (string)
group (string)
icon (string)
tags (Struct)
workspace_id (string)
namespace_id (string) Required
name (string) Required
category (string) Required
resource_type (string) Required
group (string) Required
icon (string) Required
tags (Struct) Required
is_managed (bool) Required
resource_group (ResourceGroup) Required
domain_id (string) Required
workspace_id (string) Required
created_at (string) Required
updated_at (string) Required
query (Query)
namespace_id (string)
category (string)
resource_type (string)
group (string)
is_managed (string)
workspace_id (string)
namespace_id (string) Required
query (StatisticsQuery) Required
results (NamespaceInfo) Repeated
Required
total_count (int32) Required
namespace_id (string) Required
name (string)
icon (string)
tags (Struct)