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
  • Protocol
  • create
  • update
  • update_plugin
  • enable
  • disable
  • delete
  • get
  • list
  • stat
  • Message
  • CreateProtocolRequest
  • PluginInfo
  • PluginRequest
  • ProtocolInfo
  • ProtocolQuery
  • ProtocolRequest
  • ProtocolStatQuery
  • ProtocolsInfo
  • UpdateProtocolPluginRequest
  • UpdateProtocolRequest
  1. content
  2. en
  3. notification
  4. v1

Protocol

A Protocol defines the method to use when dispatching Notifications via a channel.

Package : spaceone.api.notification.v1

Protocol

Protocol Methods:

Method
Request
Response

create

Creates a new Protocol. When creating a protocol, you must specify the plugins provided from the repository, and you must also set the credentials to be set in the plugin if necessary.

POST /notification/v1/protocol/create

{{< tabs " create " >}}

{{< tab "Request Example" >}}

  • name (string) Required

    The name of Protocol. It can have a maximum of 255 characters.

  • plugin_info (PluginRequest) Required

    Describe a Plugin information for protocol that include was used plugin, specific version, schema etc.

  • tags (Struct)

    The tags for protocol.

{{< highlight json >}} { "name": "Email", "plugin_info": { "plugin_id": "plugin-email-noti-protocol", "version": "1.0.1", "options": {}, "secret_id": "secret-123546789012", "metadata": { "data": { "schema": { "properties": { "email": { "pattern": "^[\W]([\w+\-.%]+@[\w\-.]+\.[A-Za-z]{2,4}[\W],{1}[\W])([\w+\-.%]+@[\w\-.]+\.[A-Za-z]{2,4})[\W]*$", "examples": [ "user1@test.com, user2@test.com" ], "minLength": 10.0, "description": "Email address to receive notifications", "type": "string", "title": "Email Address" } }, "required": [ "email" ], "type": "object" } }, "data_type": "PLAIN_TEXT" }, "upgrade_mode": "AUTO" }, "tags": {} } {{< /highlight >}} {{< /tab >}}

{{< tab "Response Example" >}}

  • protocol_id (string) Required

    The ID of Protocol.

  • name (string) Required

    The name of Protocol.

  • state (ProtocolState) Required

    The state of Protocol. ENABLED or DISABLED only.

  • protocol_type (ProtocolType) Required

    desc : The type of Protocol. INTERNAL or EXTERNAL only.

  • resource_type (string) Required

    desc : Resource type for Protocol. Currently only identity.Project or identity.User can be set.

  • capability (Struct) Required

    desc : The capability information for the Protocol. It included supported schema for the Protocol.

  • plugin_info (PluginInfo) Required

    the plugin information set in Protocol.

  • tags (Struct) Required

    The tags for protocol.

  • domain_id (string) Required

    The ID of domain to which the Protocol belongs.

  • created_at (string) Required

    Protocol creation time.

{{< highlight json >}} { "protocol_id": "protocol-123546789012", "name": "Email", "state": "ENABLED", "protocol_type": "EXTERNAL", "capability": { "supported_schema": [ "email_smtp" ] }, "plugin_info": { "plugin_id": "plugin-email-noti-protocol", "version": "1.0.1", "options": {}, "secret_id": "secret-123546789012", "metadata": { "data": { "schema": { "properties": { "email": { "pattern": "^[\W]([\w+\-.%]+@[\w\-.]+\.[A-Za-z]{2,4}[\W],{1}[\W])([\w+\-.%]+@[\w\-.]+\.[A-Za-z]{2,4})[\W]*$", "examples": [ "user1@test.com, user2@test.com" ], "minLength": 10.0, "description": "Email address to receive notifications", "type": "string", "title": "Email Address" } }, "required": [ "email" ], "type": "object" } }, "data_type": "PLAIN_TEXT" }, "upgrade_mode": "AUTO" }, "tags": {}, "domain_id": "domain-123546789012", "created_at": "2022-01-01T07:55:57.043Z" } {{< /highlight >}} {{< /tab >}}

{{< /tabs >}}

update

Updates a specific Protocol. The method update can update the name and tags only. If you want to update the plugin version or options, you can use update_plugin method.

POST /notification/v1/protocol/update

{{< tabs " update " >}}

{{< tab "Request Example" >}}

  • protocol_id (string) Required

    The ID of Protocol.

  • name (string)

    The Name of Protocol. It can have a maximum of 255 characters.

  • tags (Struct)

    The tags for protocol. When updating, existing tag information is deleted all and will be updated with new.

{{< highlight json >}} { "protocol_id": "protocol-123456789012", "name": "Email-test", "tags": { "type": "test" } } {{< /highlight >}} {{< /tab >}}

{{< tab "Response Example" >}}

  • protocol_id (string) Required

    The ID of Protocol.

  • name (string) Required

    The name of Protocol.

  • state (ProtocolState) Required

    The state of Protocol. ENABLED or DISABLED only.

  • protocol_type (ProtocolType) Required

    desc : The type of Protocol. INTERNAL or EXTERNAL only.

  • resource_type (string) Required

    desc : Resource type for Protocol. Currently only identity.Project or identity.User can be set.

  • capability (Struct) Required

    desc : The capability information for the Protocol. It included supported schema for the Protocol.

  • plugin_info (PluginInfo) Required

    the plugin information set in Protocol.

  • tags (Struct) Required

    The tags for protocol.

  • domain_id (string) Required

    The ID of domain to which the Protocol belongs.

  • created_at (string) Required

    Protocol creation time.

{{< highlight json >}} { "protocol_id": "protocol-123546789012", "name": "Email", "state": "ENABLED", "protocol_type": "EXTERNAL", "capability": { "supported_schema": [ "email_smtp" ] }, "plugin_info": { "plugin_id": "plugin-email-noti-protocol", "version": "1.0.1", "options": {}, "secret_id": "secret-123546789012", "metadata": { "data": { "schema": { "properties": { "email": { "pattern": "^[\W]([\w+\-.%]+@[\w\-.]+\.[A-Za-z]{2,4}[\W],{1}[\W])([\w+\-.%]+@[\w\-.]+\.[A-Za-z]{2,4})[\W]*$", "examples": [ "user1@test.com, user2@test.com" ], "minLength": 10.0, "description": "Email address to receive notifications", "type": "string", "title": "Email Address" } }, "required": [ "email" ], "type": "object" } }, "data_type": "PLAIN_TEXT" }, "upgrade_mode": "AUTO" }, "tags": {}, "domain_id": "domain-123546789012", "created_at": "2022-01-01T07:55:57.043Z" } {{< /highlight >}} {{< /tab >}}

{{< /tabs >}}

update_plugin

Updates a plugin for a Protocol. It is usually used when redeploying a plugin to a new version.

POST /notification/v1/protocol/update-plugin

{{< tabs " update_plugin " >}}

{{< tab "Request Example" >}}

  • protocol_id (string) Required

    The ID of Protocol.

  • domain_id (string) Required

    The ID of domain to which the Protocol belongs.

  • version (string)

    The version of plugin you want to update. Version means the tags of plugin container image in repository that specific market place.

  • options (Struct)

    The Options that contains information about using plugin.

{{< highlight json >}} { "protocol_id": "protocol-123456789012", "version": "1.0.2", "options": {} } {{< /highlight >}} {{< /tab >}}

{{< tab "Response Example" >}}

  • protocol_id (string) Required

    The ID of Protocol.

  • name (string) Required

    The name of Protocol.

  • state (ProtocolState) Required

    The state of Protocol. ENABLED or DISABLED only.

  • protocol_type (ProtocolType) Required

    desc : The type of Protocol. INTERNAL or EXTERNAL only.

  • resource_type (string) Required

    desc : Resource type for Protocol. Currently only identity.Project or identity.User can be set.

  • capability (Struct) Required

    desc : The capability information for the Protocol. It included supported schema for the Protocol.

  • plugin_info (PluginInfo) Required

    the plugin information set in Protocol.

  • tags (Struct) Required

    The tags for protocol.

  • domain_id (string) Required

    The ID of domain to which the Protocol belongs.

  • created_at (string) Required

    Protocol creation time.

{{< highlight json >}} { "protocol_id": "protocol-123546789012", "name": "Email", "state": "ENABLED", "protocol_type": "EXTERNAL", "capability": { "supported_schema": [ "email_smtp" ] }, "plugin_info": { "plugin_id": "plugin-email-noti-protocol", "version": "1.0.1", "options": {}, "secret_id": "secret-123546789012", "metadata": { "data": { "schema": { "properties": { "email": { "pattern": "^[\W]([\w+\-.%]+@[\w\-.]+\.[A-Za-z]{2,4}[\W],{1}[\W])([\w+\-.%]+@[\w\-.]+\.[A-Za-z]{2,4})[\W]*$", "examples": [ "user1@test.com, user2@test.com" ], "minLength": 10.0, "description": "Email address to receive notifications", "type": "string", "title": "Email Address" } }, "required": [ "email" ], "type": "object" } }, "data_type": "PLAIN_TEXT" }, "upgrade_mode": "AUTO" }, "tags": {}, "domain_id": "domain-123546789012", "created_at": "2022-01-01T07:55:57.043Z" } {{< /highlight >}} {{< /tab >}}

{{< /tabs >}}

enable

Enables a specific Protocol. If the Protocol is enabled, the Protocol can be used and the Notification can be dispatched.

POST /notification/v1/protocol/enable

{{< tabs " enable " >}}

{{< tab "Request Example" >}}

  • protocol_id (string) Required

    The ID of Protocol.

{{< highlight json >}} { "protocol_id": "protocol-123456789012" } {{< /highlight >}} {{< /tab >}}

{{< tab "Response Example" >}}

  • protocol_id (string) Required

    The ID of Protocol.

  • name (string) Required

    The name of Protocol.

  • state (ProtocolState) Required

    The state of Protocol. ENABLED or DISABLED only.

  • protocol_type (ProtocolType) Required

    desc : The type of Protocol. INTERNAL or EXTERNAL only.

  • resource_type (string) Required

    desc : Resource type for Protocol. Currently only identity.Project or identity.User can be set.

  • capability (Struct) Required

    desc : The capability information for the Protocol. It included supported schema for the Protocol.

  • plugin_info (PluginInfo) Required

    the plugin information set in Protocol.

  • tags (Struct) Required

    The tags for protocol.

  • domain_id (string) Required

    The ID of domain to which the Protocol belongs.

  • created_at (string) Required

    Protocol creation time.

{{< highlight json >}} { "protocol_id": "protocol-123546789012", "name": "Email", "state": "ENABLED", "protocol_type": "EXTERNAL", "capability": { "supported_schema": [ "email_smtp" ] }, "plugin_info": { "plugin_id": "plugin-email-noti-protocol", "version": "1.0.1", "options": {}, "secret_id": "secret-123546789012", "metadata": { "data": { "schema": { "properties": { "email": { "pattern": "^[\W]([\w+\-.%]+@[\w\-.]+\.[A-Za-z]{2,4}[\W],{1}[\W])([\w+\-.%]+@[\w\-.]+\.[A-Za-z]{2,4})[\W]*$", "examples": [ "user1@test.com, user2@test.com" ], "minLength": 10.0, "description": "Email address to receive notifications", "type": "string", "title": "Email Address" } }, "required": [ "email" ], "type": "object" } }, "data_type": "PLAIN_TEXT" }, "upgrade_mode": "AUTO" }, "tags": {}, "domain_id": "domain-123546789012", "created_at": "2022-01-01T07:55:57.043Z" } {{< /highlight >}} {{< /tab >}}

{{< /tabs >}}

disable

Disables a specific Protocol. If a Protocol is disabled, the Notification will not be dispatched, even if it is created.

POST /notification/v1/protocol/disable

{{< tabs " disable " >}}

{{< tab "Request Example" >}}

  • protocol_id (string) Required

    The ID of Protocol.

{{< highlight json >}} { "protocol_id": "protocol-123456789012" } {{< /highlight >}} {{< /tab >}}

{{< tab "Response Example" >}}

  • protocol_id (string) Required

    The ID of Protocol.

  • name (string) Required

    The name of Protocol.

  • state (ProtocolState) Required

    The state of Protocol. ENABLED or DISABLED only.

  • protocol_type (ProtocolType) Required

    desc : The type of Protocol. INTERNAL or EXTERNAL only.

  • resource_type (string) Required

    desc : Resource type for Protocol. Currently only identity.Project or identity.User can be set.

  • capability (Struct) Required

    desc : The capability information for the Protocol. It included supported schema for the Protocol.

  • plugin_info (PluginInfo) Required

    the plugin information set in Protocol.

  • tags (Struct) Required

    The tags for protocol.

  • domain_id (string) Required

    The ID of domain to which the Protocol belongs.

  • created_at (string) Required

    Protocol creation time.

{{< highlight json >}} { "protocol_id": "protocol-123546789012", "name": "Email", "state": "ENABLED", "protocol_type": "EXTERNAL", "capability": { "supported_schema": [ "email_smtp" ] }, "plugin_info": { "plugin_id": "plugin-email-noti-protocol", "version": "1.0.1", "options": {}, "secret_id": "secret-123546789012", "metadata": { "data": { "schema": { "properties": { "email": { "pattern": "^[\W]([\w+\-.%]+@[\w\-.]+\.[A-Za-z]{2,4}[\W],{1}[\W])([\w+\-.%]+@[\w\-.]+\.[A-Za-z]{2,4})[\W]*$", "examples": [ "user1@test.com, user2@test.com" ], "minLength": 10.0, "description": "Email address to receive notifications", "type": "string", "title": "Email Address" } }, "required": [ "email" ], "type": "object" } }, "data_type": "PLAIN_TEXT" }, "upgrade_mode": "AUTO" }, "tags": {}, "domain_id": "domain-123546789012", "created_at": "2022-01-01T07:55:57.043Z" } {{< /highlight >}} {{< /tab >}}

{{< /tabs >}}

delete

Deletes a specific Protocol. If there exists a channel using the Protocol, it cannot be deleted.

POST /notification/v1/protocol/delete

{{< tabs " delete " >}}

{{< tab "Request Example" >}}

  • protocol_id (string) Required

    The ID of Protocol.

{{< highlight json >}} { "protocol_id": "protocol-123456789012" } {{< /highlight >}} {{< /tab >}}

{{< /tabs >}}

get

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

POST /notification/v1/protocol/get

{{< tabs " get " >}}

{{< tab "Request Example" >}}

  • protocol_id (string) Required

    The ID of Protocol.

{{< highlight json >}} { "protocol_id": "protocol-123456789012" } {{< /highlight >}} {{< /tab >}}

{{< tab "Response Example" >}}

  • protocol_id (string) Required

    The ID of Protocol.

  • name (string) Required

    The name of Protocol.

  • state (ProtocolState) Required

    The state of Protocol. ENABLED or DISABLED only.

  • protocol_type (ProtocolType) Required

    desc : The type of Protocol. INTERNAL or EXTERNAL only.

  • resource_type (string) Required

    desc : Resource type for Protocol. Currently only identity.Project or identity.User can be set.

  • capability (Struct) Required

    desc : The capability information for the Protocol. It included supported schema for the Protocol.

  • plugin_info (PluginInfo) Required

    the plugin information set in Protocol.

  • tags (Struct) Required

    The tags for protocol.

  • domain_id (string) Required

    The ID of domain to which the Protocol belongs.

  • created_at (string) Required

    Protocol creation time.

{{< highlight json >}} { "protocol_id": "protocol-123546789012", "name": "Email", "state": "ENABLED", "protocol_type": "EXTERNAL", "capability": { "supported_schema": [ "email_smtp" ] }, "plugin_info": { "plugin_id": "plugin-email-noti-protocol", "version": "1.0.1", "options": {}, "secret_id": "secret-123546789012", "metadata": { "data": { "schema": { "properties": { "email": { "pattern": "^[\W]([\w+\-.%]+@[\w\-.]+\.[A-Za-z]{2,4}[\W],{1}[\W])([\w+\-.%]+@[\w\-.]+\.[A-Za-z]{2,4})[\W]*$", "examples": [ "user1@test.com, user2@test.com" ], "minLength": 10.0, "description": "Email address to receive notifications", "type": "string", "title": "Email Address" } }, "required": [ "email" ], "type": "object" } }, "data_type": "PLAIN_TEXT" }, "upgrade_mode": "AUTO" }, "tags": {}, "domain_id": "domain-123546789012", "created_at": "2022-01-01T07:55:57.043Z" } {{< /highlight >}} {{< /tab >}}

{{< /tabs >}}

list

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

POST /notification/v1/protocol/list

{{< tabs " list " >}}

{{< tab "Request Example" >}}

  • query (Query)

    Query format provided by SpaceONE. Please check the link for more information.

  • protocol_id (string)

    The ID of Protocol.

  • name (string)

    The name of Protocol.

  • state (ProtocolState)

    The state of Protocol. ENABLED or DISABLED only.

  • protocol_type (ProtocolType)

    The type of Protocol. INTERNAL or EXTERNAL only.

{{< highlight json >}} { "query": {} } {{< /highlight >}} {{< /tab >}}

{{< tab "Response Example" >}}

  • results (ProtocolInfo) Repeated Required

    List of queried protocols.

  • total_count (int32) Required

    Total counts of queried Protocols.

{{< highlight json >}} { "results":[ { "protocol_id":"protocol-123456789012", "name":"Email", "state":"ENABLED", "protocol_type":"EXTERNAL", "capability":{ "supported_schema":[ "email_smtp" ] }, "plugin_info":{ "plugin_id":"plugin-email-noti-protocol", "version":"1.0.1", "options":{

           },
           "secret_id":"secret-123456789012",
           "metadata":{
              "data_type":"PLAIN_TEXT",
              "data":{
                 "schema":{
                    "properties":{
                       "email":{
                          "pattern":"^[\\W]*([\\w+\\-.%]+@[\\w\\-.]+\\.[A-Za-z]{2,4}[\\W]*,{1}[\\W]*)*([\\w+\\-.%]+@[\\w\\-.]+\\.[A-Za-z]{2,4})[\\W]*$",
                          "examples":[
                             "user1@test.com, user2@test.com"
                          ],
                          "minLength":10.0,
                          "description":"Email address to receive notifications",
                          "type":"string",
                          "title":"Email Address"
                       }
                    },
                    "required":[
                       "email"
                    ],
                    "type":"object"
                 }
              }
           },
           "upgrade_mode":"AUTO"
        },
        "tags":{

        },
        "domain_id":"domain-123456789012",
        "created_at":"2022-01-01T07:55:57.043Z"
     }
  ],
  "total_count":1

} {{< /highlight >}} {{< /tab >}}

{{< /tabs >}}

stat

POST /notification/v1/protocol/stat

Message

CreateProtocolRequest

  • name (string) Required

    The name of Protocol. It can have a maximum of 255 characters.

  • plugin_info (PluginRequest) Required

    Describe a Plugin information for protocol that include was used plugin, specific version, schema etc.

  • tags (Struct)

    The tags for protocol.

PluginInfo

  • plugin_id (string) Required

    The ID of plugin set in the Protocol.

  • version (string) Required

    The version of plugin.

  • options (Struct) Required

    The Options that contains information about using plugin.

  • metadata (Struct) Required

    The metadata of plugin. It includes schema for the data that must be set for the Channel when creating the Channel using a Protocol. The schema follows the JSON Schema format.

  • upgrade_mode (UpgradeMode) Required

    Auto upgrade for plugin. If the upgrade_mode is AUTO, check the latest plugin version when running the plugin, and if a new version is existed, replace the plugin and then run it.

  • secret_id (string)

    The ID of the Secret containing encrypted data to be used in the plugin.

PluginRequest

  • plugin_id (string) Required

    The ID of plugin.

  • version (string) Required

    The version of plugin.

  • options (Struct)

    The Options that contains information about using plugin.

  • secret_data (Struct)

    The data for using plugin if necessary. This data is encrypted and stored in the Secret service.

  • schema (string)

    The name of schema. When the secret_data is stored in the Secret service, it can be set with schema if the schema is existed. The schema is provided through the Repository service.

  • upgrade_mode (UpgradeMode)

    Auto upgrade feature for plugin. If the upgrade mode is AUTO, check the latest plugin version when running the plugin, and if a new version is existed, replace the plugin and then run it.

ProtocolInfo

  • protocol_id (string) Required

    The ID of Protocol.

  • name (string) Required

    The name of Protocol.

  • state (ProtocolState) Required

    The state of Protocol. ENABLED or DISABLED only.

  • protocol_type (ProtocolType) Required

    desc : The type of Protocol. INTERNAL or EXTERNAL only.

  • resource_type (string) Required

    desc : Resource type for Protocol. Currently only identity.Project or identity.User can be set.

  • capability (Struct) Required

    desc : The capability information for the Protocol. It included supported schema for the Protocol.

  • plugin_info (PluginInfo) Required

    the plugin information set in Protocol.

  • tags (Struct) Required

    The tags for protocol.

  • domain_id (string) Required

    The ID of domain to which the Protocol belongs.

  • created_at (string) Required

    Protocol creation time.

ProtocolQuery

  • query (Query)

    Query format provided by SpaceONE. Please check the link for more information.

  • protocol_id (string)

    The ID of Protocol.

  • name (string)

    The name of Protocol.

  • state (ProtocolState)

    The state of Protocol. ENABLED or DISABLED only.

  • protocol_type (ProtocolType)

    The type of Protocol. INTERNAL or EXTERNAL only.

ProtocolRequest

  • protocol_id (string) Required

    The ID of Protocol.

ProtocolStatQuery

  • query (StatisticsQuery) Required

    Statistics Query format provided by SpaceONE. Please check the link for more information.

ProtocolsInfo

  • results (ProtocolInfo) Repeated Required

    List of queried protocols.

  • total_count (int32) Required

    Total counts of queried Protocols.

UpdateProtocolPluginRequest

  • protocol_id (string) Required

    The ID of Protocol.

  • domain_id (string) Required

    The ID of domain to which the Protocol belongs.

  • version (string)

    The version of plugin you want to update. Version means the tags of plugin container image in repository that specific market place.

  • options (Struct)

    The Options that contains information about using plugin.

UpdateProtocolRequest

  • protocol_id (string) Required

    The ID of Protocol.

  • name (string)

    The Name of Protocol. It can have a maximum of 255 characters.

  • tags (Struct)

    The tags for protocol. When updating, existing tag information is deleted all and will be updated with new.

PreviousProjectChannelNextQuota

Last updated 1 year ago

CreateProtocolRequest
UpdateProtocolRequest
UpdateProtocolPluginRequest
ProtocolRequest
ProtocolRequest
ProtocolRequest
ProtocolRequest
ProtocolQuery
ProtocolInfo
ProtocolInfo
ProtocolInfo
ProtocolInfo
ProtocolInfo
ProtocolInfo
ProtocolsInfo
create
CreateProtocolRequest
ProtocolInfo
update
UpdateProtocolRequest
ProtocolInfo
update_plugin
UpdateProtocolPluginRequest
ProtocolInfo
enable
ProtocolRequest
ProtocolInfo
disable
ProtocolRequest
ProtocolInfo
delete
ProtocolRequest
Empty
get
ProtocolRequest
ProtocolInfo
list
ProtocolQuery
ProtocolsInfo
stat
ProtocolStatQuery
Struct