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
  • Provider
  • create
  • update
  • update_plugin
  • delete
  • get
  • list
  • stat
  • Message
  • CreateProviderRequest
  • PluginInfo
  • ProviderInfo
  • ProviderRequest
  • ProviderSearchQuery
  • ProviderStatQuery
  • ProvidersInfo
  • UpdatePluginProviderRequest
  • UpdateProviderRequest
  1. content
  2. en
  3. identity
  4. v2

Provider

PreviousProjectGroupNextRole

Last updated 5 months ago

Package : spaceone.api.identity.v2

Provider

Provider Methods:

Method
Request
Response

create

POST /identity/v2/provider/create

{{< tabs " create " >}}

{{< tab "Request Example" >}}

  • provider (string) Required

  • name (string) Required

  • alias (string)

  • plugin_info (PluginInfo)

    If plugin_info is not empty, your provider support trusted account and support auto sync for Cloudforet. These two options are located in options field. not in plugin_info.

  • color (string)

  • icon (string)

  • order (int32)

  • options (Struct)

  • tags (Struct)

{{< highlight json >}} { "provider": "aws", "name": "AWS", "alias": "AWS", "color": "#FF9900", "icon": "https://cloudforet.io/icons/aws.svg", "order": 1, "options": { "supported_trusted_account": false } } {{< /highlight >}} {{< /tab >}}

{{< tab "Response Example" >}}

  • provider (string) Required

  • name (string) Required

  • alias (string) Required

  • plugin_info (PluginInfo) Required

  • color (string) Required

  • icon (string) Required

  • order (int32) Required

  • options (Struct) Required

  • tags (Struct) Required

  • is_managed (bool) Required

  • domain_id (string) Required

  • created_at (string) Required

  • updated_at (string) Required

{{< highlight json >}} { "alias": "AWS", "created_at": "2024-11-15T04:47:42.393Z", "domain_id": "domain-a1b2c3d4e5f6", "icon": "https://cloudforet.io/icons/aws.svg", "name": "AWS", "options": { "supported_trusted_account": false }, "order": 1, "provider": "aws", "updated_at": "2024-11-15T04:47:42.393Z" } {{< /highlight >}} {{< /tab >}}

{{< /tabs >}}

update

POST /identity/v2/provider/update

{{< tabs " update " >}}

{{< tab "Request Example" >}}

  • provider (string) Required

  • name (string)

  • alias (string)

  • plugin_info (PluginInfo)

  • color (string)

  • icon (string)

  • order (int32)

  • options (Struct)

  • tags (Struct)

{{< highlight json >}} { "provider": "aws", "name": "AWS", "alias": "AWS", "color": "#FF9900", "icon": "https://cloudforet.io/icons/aws.svg", "order": 2, "options": { "supported_trusted_account": false } } {{< /highlight >}} {{< /tab >}}

{{< tab "Response Example" >}}

  • provider (string) Required

  • name (string) Required

  • alias (string) Required

  • plugin_info (PluginInfo) Required

  • color (string) Required

  • icon (string) Required

  • order (int32) Required

  • options (Struct) Required

  • tags (Struct) Required

  • is_managed (bool) Required

  • domain_id (string) Required

  • created_at (string) Required

  • updated_at (string) Required

{{< highlight json >}} { "alias": "AWS", "created_at": "2024-11-15T04:47:42.393Z", "domain_id": "domain-a1b2c3d4e5f6", "icon": "https://cloudforet.io/icons/aws.svg", "name": "AWS", "options": { "supported_trusted_account": false }, "order": 1, "provider": "aws", "updated_at": "2024-11-15T04:47:42.393Z" } {{< /highlight >}} {{< /tab >}}

{{< /tabs >}}

update_plugin

POST /identity/v2/provider/update-plugin

{{< tabs " update_plugin " >}}

{{< tab "Request Example" >}}

  • provider (string) Required

    Managed provider are aws, azure, google_cloud and kubernetes. Maybe more in the future.

  • version (string)

  • options (Struct)

  • upgrade_mode (UpgradeMode)

{{< highlight json >}} { "provider": "aws", "version": "1.0.0", "options": {}, "upgrade_mode": "AUTO" } {{< /highlight >}} {{< /tab >}}

{{< tab "Response Example" >}}

  • provider (string) Required

  • name (string) Required

  • alias (string) Required

  • plugin_info (PluginInfo) Required

  • color (string) Required

  • icon (string) Required

  • order (int32) Required

  • options (Struct) Required

  • tags (Struct) Required

  • is_managed (bool) Required

  • domain_id (string) Required

  • created_at (string) Required

  • updated_at (string) Required

{{< highlight json >}} { "alias": "AWS", "created_at": "2024-11-15T04:47:42.393Z", "domain_id": "domain-a1b2c3d4e5f6", "icon": "https://cloudforet.io/icons/aws.svg", "name": "AWS", "options": { "supported_trusted_account": false }, "order": 1, "provider": "aws", "updated_at": "2024-11-15T04:47:42.393Z" } {{< /highlight >}} {{< /tab >}}

{{< /tabs >}}

delete

POST /identity/v2/provider/delete

{{< tabs " delete " >}}

{{< tab "Request Example" >}}

  • provider (string) Required

{{< highlight json >}} { "provider": "aws" } {{< /highlight >}} {{< /tab >}}

{{< /tabs >}}

get

POST /identity/v2/provider/get

{{< tabs " get " >}}

{{< tab "Request Example" >}}

  • provider (string) Required

{{< highlight json >}} { "provider": "aws" } {{< /highlight >}} {{< /tab >}}

{{< tab "Response Example" >}}

  • provider (string) Required

  • name (string) Required

  • alias (string) Required

  • plugin_info (PluginInfo) Required

  • color (string) Required

  • icon (string) Required

  • order (int32) Required

  • options (Struct) Required

  • tags (Struct) Required

  • is_managed (bool) Required

  • domain_id (string) Required

  • created_at (string) Required

  • updated_at (string) Required

{{< highlight json >}} { "alias": "AWS", "created_at": "2024-11-15T04:47:42.393Z", "domain_id": "domain-a1b2c3d4e5f6", "icon": "https://cloudforet.io/icons/aws.svg", "name": "AWS", "options": { "supported_trusted_account": false }, "order": 1, "provider": "aws", "updated_at": "2024-11-15T04:47:42.393Z" } {{< /highlight >}} {{< /tab >}}

{{< /tabs >}}

list

POST /identity/v2/provider/list

{{< tabs " list " >}}

{{< tab "Request Example" >}}

  • query (Query)

  • provider (string)

  • name (string)

  • alias (string)

  • is_managed (bool)

{{< highlight json >}} { "query": { "page": { "start": 1, "limit": 10 }, "sort": [ { "key": "created_at", "desc": true } ] } } {{< /highlight >}} {{< /tab >}}

{{< tab "Response Example" >}}

  • results (ProviderInfo) Repeated Required

  • total_count (int32) Required

{{< highlight json >}} { "results": [ { "alias": "Azure", "created_at": "2024-11-15T04:47:42.393Z", "domain_id": "domain-a1b2c3d4e5f6", "icon": "https://cloudforet.io/icons/azure.svg", "name": "Azure", "options": { "supported_trusted_account": false }, "order": 1, "provider": "azure", "updated_at": "2024-11-15T04:47:42.393Z" }, { "alias": "AWS", "created_at": "2024-11-15T04:47:42.393Z", "domain_id": "domain-a1b2c3d4e5f6", "icon": "https://cloudforet.io/icons/aws.svg", "name": "AWS", "options": { "supported_trusted_account": false }, "order": 1, "provider": "aws", "updated_at": "2024-11-15T04:47:42.393Z" } ], "total_count": 2 } {{< /highlight >}} {{< /tab >}}

{{< /tabs >}}

stat

POST /identity/v2/provider/stat

Message

CreateProviderRequest

  • provider (string) Required

  • name (string) Required

  • alias (string)

  • plugin_info (PluginInfo)

    If plugin_info is not empty, your provider support trusted account and support auto sync for Cloudforet. These two options are located in options field. not in plugin_info.

  • color (string)

  • icon (string)

  • order (int32)

  • options (Struct)

  • tags (Struct)

PluginInfo

  • plugin_id (string) Required

  • version (string) Required

  • upgrade_mode (UpgradeMode) Required

  • options (Struct) Required

  • metadata (Struct) Required

ProviderInfo

  • provider (string) Required

  • name (string) Required

  • alias (string) Required

  • plugin_info (PluginInfo) Required

  • color (string) Required

  • icon (string) Required

  • order (int32) Required

  • options (Struct) Required

  • tags (Struct) Required

  • is_managed (bool) Required

  • domain_id (string) Required

  • created_at (string) Required

  • updated_at (string) Required

ProviderRequest

  • provider (string) Required

ProviderSearchQuery

  • query (Query)

  • provider (string)

  • name (string)

  • alias (string)

  • is_managed (bool)

ProviderStatQuery

  • query (StatisticsQuery) Required

ProvidersInfo

  • results (ProviderInfo) Repeated Required

  • total_count (int32) Required

UpdatePluginProviderRequest

  • provider (string) Required

    Managed provider are aws, azure, google_cloud and kubernetes. Maybe more in the future.

  • version (string)

  • options (Struct)

  • upgrade_mode (UpgradeMode)

UpdateProviderRequest

  • provider (string) Required

  • name (string)

  • alias (string)

  • plugin_info (PluginInfo)

  • color (string)

  • icon (string)

  • order (int32)

  • options (Struct)

  • tags (Struct)

CreateProviderRequest
UpdateProviderRequest
UpdatePluginProviderRequest
ProviderRequest
ProviderRequest
ProviderSearchQuery
ProviderInfo
ProviderInfo
ProviderInfo
ProviderInfo
ProvidersInfo
create
CreateProviderRequest
ProviderInfo
update
UpdateProviderRequest
ProviderInfo
update_plugin
UpdatePluginProviderRequest
ProviderInfo
delete
ProviderRequest
Empty
get
ProviderRequest
ProviderInfo
list
ProviderSearchQuery
ProvidersInfo
stat
ProviderStatQuery
Struct