Namespace
Package : spaceone.api.inventory.v1
Namespace
Namespace Methods:
Method | Request | Response |
---|---|---|
create
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 >}}
update
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 >}}
delete
POST /inventory/v1/namespace/delete
{{< tabs " delete " >}}
{{< tab "Request Example" >}}
namespace_id (string)
Required
{{< highlight json >}} {
} {{< /highlight >}} {{< /tab >}}
{{< /tabs >}}
get
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 >}}
list
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 >}}
stat
POST /inventory/v1/namespace/stat
Message
CreateNamespaceRequest
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)
NamespaceInfo
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
NamespaceQuery
query (Query)
namespace_id (string)
category (string)
resource_type (string)
group (string)
is_managed (string)
workspace_id (string)
NamespaceRequest
namespace_id (string)
Required
NamespaceStatQuery
query (StatisticsQuery)
Required
NamespacesInfo
results (NamespaceInfo)
Repeated
Required
total_count (int32)
Required
UpdateNamespaceRequest
namespace_id (string)
Required
name (string)
icon (string)
tags (Struct)
Last updated