cloudforet-apis
  • README
  • content
    • en
      • Cloudforet API Documentation
      • board
        • _index
        • v1
          • Board
          • Post
          • v1
      • config
        • _index
        • v1
          • DomainConfig
          • PublicConfig
          • UserConfig
          • WorkspaceConfig
          • v1
      • core
        • _index
        • v1
          • Handler
          • Query
          • ServerInfo
          • v1
        • v2
          • Handler
          • Plugin
          • Query
          • v2
      • cost_analysis
        • _index
        • plugin
          • Cost
          • DataSource
          • Job
          • plugin
        • v1
          • Budget
          • BudgetUsage
          • Cost
          • CostQuerySet
          • CostReport
          • CostReportConfig
          • CostReportData
          • CustomWidget
          • DataSource
          • DataSourceAccount
          • DataSourceRule
          • ExchangeRate
          • Job
          • JobTask
          • PublicDashboard
          • Schedule
          • UnifiedCost
          • UserDashboard
          • v1
      • dashboard
        • _index
        • v1
          • CustomWidget
          • Dashboard
          • DomainDashboard
          • PrivateDashboard
          • PrivateDataTable
          • PrivateFolder
          • PrivateWidget
          • ProjectDashboard
          • PublicDashboard
          • PublicDataTable
          • PublicFolder
          • PublicWidget
          • v1
      • file_manager
        • _index
        • v1
          • File
          • PublicFile
          • v1
      • identity
        • _index
        • plugin
          • AccountCollector
          • Auth
          • ExternalAuth
          • plugin
        • v1
          • ApiKey
          • Authorization
          • Domain
          • DomainOwner
          • Endpoint
          • Policy
          • Project
          • ProjectGroup
          • Provider
          • Role
          • RoleBinding
          • ServiceAccount
          • Token
          • User
          • v1
        • v2
          • Agent
          • ApiKey
          • App
          • Authorization
          • Domain
          • Endpoint
          • ExternalAuth
          • Job
          • Package
          • Policy
          • Project
          • ProjectGroup
          • Provider
          • Role
          • RoleBinding
          • Schema
          • ServiceAccount
          • System
          • Token
          • TrustedAccount
          • TrustedServiceAccount
          • User
          • UserGroup
          • UserProfile
          • Workspace
          • WorkspaceGroup
          • WorkspaceGroupDetails
          • WorkspaceGroupUser
          • WorkspaceUser
          • v2
      • inventory
        • _index
        • plugin
          • Collector
          • Job
          • plugin
        • v1
          • ChangeHistory
          • CloudService
          • CloudServiceQuerySet
          • CloudServiceReport
          • CloudServiceStats
          • CloudServiceType
          • Collector
          • CollectorRule
          • Job
          • JobTask
          • Metric
          • MetricData
          • MetricExample
          • Namespace
          • Note
          • Region
          • ResourceGroup
          • v1
        • v2
          • Region
          • v2
      • monitoring
        • _index
        • plugin
          • DataSource
          • Event
          • Log
          • Metric
          • Webhook
          • plugin
        • v1
          • Alert
          • DataSource
          • EscalationPolicy
          • Event
          • EventRule
          • Log
          • MaintenanceWindow
          • Metric
          • Note
          • ProjectAlertConfig
          • Webhook
          • v1
      • mzc_service_api
        • _index
        • v1
          • Contract
          • Offering
          • Organization
          • v1
      • notification
        • _index
        • plugin
          • Notification
          • Protocol
          • plugin
        • v1
          • Notification
          • NotificationUsage
          • ProjectChannel
          • Protocol
          • Quota
          • UserChannel
          • v1
      • opsflow
        • _index
        • v1
          • Comment
          • Event
          • Task
          • TaskCategory
          • TaskType
          • v1
      • plugin
        • _index
        • v1
          • Plugin
          • Supervisor
          • v1
      • repository
        • _index
        • v1
          • DashboardTemplate
          • Plugin
          • Policy
          • Repository
          • Schema
          • v1
        • v2
          • Common
          • Provider
          • RemoteRepository
          • Schema
          • v2
      • sample
        • _index
        • v1
          • Helloworld
          • v1
      • search
        • _index
        • v1
          • Resource
          • v1
      • secret
        • _index
        • v1
          • Secret
          • SecretGroup
          • TrustedSecret
          • UserSecret
          • v1
      • statistics
        • _index
        • plugin
          • Storage
          • plugin
        • v1
          • History
          • Resource
          • Schedule
          • Storage
          • v1
Powered by GitBook
On this page
  • CloudServiceType
  • create
  • update
  • delete
  • get
  • list
  • stat
  • Message
  • CloudServiceTypeInfo
  • CloudServiceTypeQuery
  • CloudServiceTypeRequest
  • CloudServiceTypeStatQuery
  • CloudServiceTypesInfo
  • CreateCloudServiceTypeRequest
  • UpdateCloudServiceTypeRequest
  1. content
  2. en
  3. inventory
  4. v1

CloudServiceType

A CloudServiceType is a classification with hierarchical information of CloudService. A CloudServiceType provides information about which group a specific Resource belongs to and which Services are in it.

Package : spaceone.api.inventory.v1

CloudServiceType

CloudServiceType Methods:

Method
Request
Response

create

Creates a new CloudServiceType. You must specify the name, provider, and group parameters to create a CloudServiceType. One or several CloudServiceTypes exist in a specific group, and each CloudServiceType is identified by the name parameter.

POST /inventory/v1/cloud-service-type/create

{{< tabs " create " >}}

{{< tab "Request Example" >}}

  • name (string) Required

  • provider (string) Required

  • group (string) Required

  • service_code (string)

  • is_primary (bool)

  • is_major (bool)

  • resource_type (string)

  • metadata (Struct)

  • labels (ListValue)

  • tags (Struct)

{{< highlight json >}} { "name": "API-TEST", "provider": "aws", "group": "APIGateway", "service_code": "AmazonApiGateway", "is_primary": true, "is_major": true, "resource_type": "inventory.CloudService", "metadata": {}, "labels": [ "Networking" ], "tags": { "a": "b" } } {{< /highlight >}} {{< /tab >}}

{{< tab "Response Example" >}}

  • cloud_service_type_id (string) Required

  • name (string) Required

  • provider (string) Required

  • group (string) Required

  • cloud_service_type_key (string) Required

  • service_code (string) Required

  • is_primary (bool) Required

  • is_major (bool) Required

  • resource_type (string) Required

  • metadata (Struct) Required

  • tags (Struct) Required

  • labels (ListValue) Required

  • domain_id (string) Required

  • workspace_id (string) Required

  • created_at (string) Required

  • updated_at (string) Required

{{< highlight json >}} { "cloud_service_type_id": "cloud-svc-type-27dd73ac89f8", "name": "API-TEST", "provider": "aws", "group": "APIGateway", "cloud_service_type_key": "aws.APIGateway.API-TEST", "service_code": "AmazonApiGateway", "is_primary": true, "is_major": true, "resource_type": "inventory.CloudService", "metadata": {}, "tags": { "a": "b" }, "labels": [ "Networking" ], "domain_id": "domain-58010aa2e451", "workspace_id": "workspace-abcde12345", "created_at": "2022-06-22T01:38:16.301Z", "updated_at": "2022-06-22T01:38:16.301Z" } {{< /highlight >}} {{< /tab >}}

{{< /tabs >}}

update

Updates a specific CloudServiceType. You can make changes in CloudServiceType settings, except for name, provider and group. In particular, you can set the CloudServiceType's priority in a group.

POST /inventory/v1/cloud-service-type/update

{{< tabs " update " >}}

{{< tab "Request Example" >}}

  • cloud_service_type_id (string) Required

  • service_code (string)

  • is_primary (bool)

  • is_major (bool)

  • resource_type (string)

  • metadata (Struct)

  • labels (ListValue)

  • tags (Struct)

{{< highlight json >}} { "cloud_service_type_id": "cloud-svc-type-27dd73ac89f8", "service_code": "AmazonApi", "metadata": {}, "labels": [ "Networking2" ], "tags": { "b": "c" } } {{< /highlight >}} {{< /tab >}}

{{< tab "Response Example" >}}

  • cloud_service_type_id (string) Required

  • name (string) Required

  • provider (string) Required

  • group (string) Required

  • cloud_service_type_key (string) Required

  • service_code (string) Required

  • is_primary (bool) Required

  • is_major (bool) Required

  • resource_type (string) Required

  • metadata (Struct) Required

  • tags (Struct) Required

  • labels (ListValue) Required

  • domain_id (string) Required

  • workspace_id (string) Required

  • created_at (string) Required

  • updated_at (string) Required

{{< highlight json >}} { "cloud_service_type_id": "cloud-svc-type-27dd73ac89f8", "name": "API-TEST", "provider": "aws", "group": "APIGateway", "cloud_service_type_key": "aws.APIGateway.API-TEST", "service_code": "AmazonApiGateway", "is_primary": true, "is_major": true, "resource_type": "inventory.CloudService", "metadata": {}, "tags": { "a": "b" }, "labels": [ "Networking" ], "domain_id": "domain-58010aa2e451", "workspace_id": "workspace-abcde12345", "created_at": "2022-06-22T01:38:16.301Z", "updated_at": "2022-06-22T01:38:16.301Z" } {{< /highlight >}} {{< /tab >}}

{{< /tabs >}}

delete

Deletes a specific CloudServiceType. You must specify the cloud_service_type_id of the CloudServiceType to delete.

POST /inventory/v1/cloud-service-type/delete

{{< tabs " delete " >}}

{{< tab "Request Example" >}}

  • cloud_service_type_id (string) Required

{{< highlight json >}} { "cloud_service_type_id": "cloud-svc-type-27dd73ac89f8" } {{< /highlight >}} {{< /tab >}}

{{< /tabs >}}

get

Gets a specific CloudServiceType. Prints detailed information about the CloudServiceType.

POST /inventory/v1/cloud-service-type/get

{{< tabs " get " >}}

{{< tab "Request Example" >}}

  • cloud_service_type_id (string) Required

{{< highlight json >}} { "cloud_service_type_id": "cloud-svc-type-27dd73ac89f8" } {{< /highlight >}} {{< /tab >}}

{{< tab "Response Example" >}}

  • cloud_service_type_id (string) Required

  • name (string) Required

  • provider (string) Required

  • group (string) Required

  • cloud_service_type_key (string) Required

  • service_code (string) Required

  • is_primary (bool) Required

  • is_major (bool) Required

  • resource_type (string) Required

  • metadata (Struct) Required

  • tags (Struct) Required

  • labels (ListValue) Required

  • domain_id (string) Required

  • workspace_id (string) Required

  • created_at (string) Required

  • updated_at (string) Required

{{< highlight json >}} { "cloud_service_type_id": "cloud-svc-type-27dd73ac89f8", "name": "API-TEST", "provider": "aws", "group": "APIGateway", "cloud_service_type_key": "aws.APIGateway.API-TEST", "service_code": "AmazonApiGateway", "is_primary": true, "is_major": true, "resource_type": "inventory.CloudService", "metadata": {}, "tags": { "a": "b" }, "labels": [ "Networking" ], "domain_id": "domain-58010aa2e451", "workspace_id": "workspace-abcde12345", "created_at": "2022-06-22T01:38:16.301Z", "updated_at": "2022-06-22T01:38:16.301Z" } {{< /highlight >}} {{< /tab >}}

{{< /tabs >}}

list

Gets a list of all CloudServiceTypes. You can use a query to get a filtered list of CloudServiceTypes.

POST /inventory/v1/cloud-service-type/list

{{< tabs " list " >}}

{{< tab "Request Example" >}}

  • query (Query)

  • cloud_service_type_id (string)

  • name (string)

  • provider (string)

  • group (string)

  • cloud_service_type_key (string)

  • service_code (string)

  • is_primary (bool)

  • is_major (bool)

  • resource_type (string)

  • workspace_id (string)

{{< highlight json >}} { "query": { "filter": [ { "key": "provider", "value": "aws", "operator": "eq" } ] } } {{< /highlight >}} {{< /tab >}}

{{< tab "Response Example" >}}

  • results (CloudServiceTypeInfo) Repeated Required

  • total_count (int32) Required

{{< highlight json >}} { "results": [ { "cloud_service_type_id": "cloud-svc-type-7e1c113b39ff", "name": "API", "provider": "aws", "group": "APIGateway", "cloud_service_type_key": "aws.APIGateway.API", "service_code": "AmazonApiGateway", "is_primary": true, "is_major": true, "resource_type": "inventory.CloudService", "metadata": { }, "tags": { "spaceone:icon": "https://spaceone.s3.ap-northeast-2.amazonaws.com/console-assets/icons/cloud-services/aws/Amazon-API-Gateway.svg" }, "labels": [ "Networking" ], "domain_id": "domain-58010aa2e451", "workspace_id": "workspace-abcde12345", "created_at": "2021-06-03T02:29:32.690Z", "updated_at": "2022-06-22T00:04:45.477Z" }, { "cloud_service_type_id": "cloud-svc-type-64a0de601371", "name": "Certificate", "provider": "aws", "group": "CertificateManager", "cloud_service_type_key": "aws.CertificateManager.Certificate", "service_code": "AWSCertificateManager", "is_primary": true, "resource_type": "inventory.CloudService", "metadata": { }, "tags": { "spaceone:icon": "https://spaceone.s3.ap-northeast-2.amazonaws.com/console-assets/icons/cloud-services/aws/AWS-Certificate-Manager.svg" }, "labels": [ "Security" ], "domain_id": "domain-58010aa2e451", "workspace_id": "workspace-abcde12345", "created_at": "2021-06-03T02:29:53.052Z", "updated_at": "2022-06-22T00:05:41.252Z" } ], "total_count": 2 } {{< /highlight >}} {{< /tab >}}

{{< /tabs >}}

stat

POST /inventory/v1/cloud-service-type/stat

Message

CloudServiceTypeInfo

  • cloud_service_type_id (string) Required

  • name (string) Required

  • provider (string) Required

  • group (string) Required

  • cloud_service_type_key (string) Required

  • service_code (string) Required

  • is_primary (bool) Required

  • is_major (bool) Required

  • resource_type (string) Required

  • metadata (Struct) Required

  • tags (Struct) Required

  • labels (ListValue) Required

  • domain_id (string) Required

  • workspace_id (string) Required

  • created_at (string) Required

  • updated_at (string) Required

CloudServiceTypeQuery

  • query (Query)

  • cloud_service_type_id (string)

  • name (string)

  • provider (string)

  • group (string)

  • cloud_service_type_key (string)

  • service_code (string)

  • is_primary (bool)

  • is_major (bool)

  • resource_type (string)

  • workspace_id (string)

CloudServiceTypeRequest

  • cloud_service_type_id (string) Required

CloudServiceTypeStatQuery

  • query (StatisticsQuery) Required

  • domain_id (string) Required

CloudServiceTypesInfo

  • results (CloudServiceTypeInfo) Repeated Required

  • total_count (int32) Required

CreateCloudServiceTypeRequest

  • name (string) Required

  • provider (string) Required

  • group (string) Required

  • service_code (string)

  • is_primary (bool)

  • is_major (bool)

  • resource_type (string)

  • metadata (Struct)

  • labels (ListValue)

  • tags (Struct)

UpdateCloudServiceTypeRequest

  • cloud_service_type_id (string) Required

  • service_code (string)

  • is_primary (bool)

  • is_major (bool)

  • resource_type (string)

  • metadata (Struct)

  • labels (ListValue)

  • tags (Struct)

PreviousCloudServiceStatsNextCollector

Last updated 1 year ago

CreateCloudServiceTypeRequest
UpdateCloudServiceTypeRequest
CloudServiceTypeRequest
CloudServiceTypeRequest
CloudServiceTypeQuery
CloudServiceTypeInfo
CloudServiceTypeInfo
CloudServiceTypeInfo
CloudServiceTypesInfo
create
CreateCloudServiceTypeRequest
CloudServiceTypeInfo
update
UpdateCloudServiceTypeRequest
CloudServiceTypeInfo
delete
CloudServiceTypeRequest
Empty
get
CloudServiceTypeRequest
CloudServiceTypeInfo
list
CloudServiceTypeQuery
CloudServiceTypesInfo
stat
CloudServiceTypeStatQuery
Struct