Collector
A Collector is a plugin collecting data of external infrastructure resources.
Package : spaceone.api.inventory.plugin
Collector
Collector Methods:
Method | Request | Response |
---|---|---|
init
Initializes a specific Collector. During initialization, the Collector information to be passed to the Collector user is delivered as metadata
. Collector information includes its name and version.
{{< tabs " init " >}}
{{< tab "Request Example" >}}
options (Struct)
Required
{{< highlight json >}} {
} {{< /highlight >}} {{< /tab >}}
{{< tab "Response Example" >}}
metadata (Struct)
Required
{{< highlight json >}} {
} {{< /highlight >}} {{< /tab >}}
{{< /tabs >}}
verify
Verifies a specific Collector. You must specify the parameter secret_data
, encrypted account data of the Collector to validate.
{{< tabs " verify " >}}
{{< tab "Request Example" >}}
options (Struct)
Required
secret_data (Struct)
Required
{{< highlight json >}} {
} {{< /highlight >}} {{< /tab >}}
{{< /tabs >}}
collect
Collects data of external infrastructure resources by a specific Collector.
{{< tabs " collect " >}}
{{< tab "Request Example" >}}
options (Struct)
Required
secret_data (Struct)
Required
filter (Struct)
Required
task_options (Struct)
Required
{{< highlight json >}} {
} {{< /highlight >}} {{< /tab >}}
{{< /tabs >}}
Message
CollectRequest
options (Struct)
Required
secret_data (Struct)
Required
filter (Struct)
Required
task_options (Struct)
Required
CollectorVerifyInfo
options (Struct)
Required
InitRequest
options (Struct)
Required
PluginInfo
metadata (Struct)
Required
ResourceInfo
state (State)
Required
message (string)
Required
resource_type (string)
Required
match_rules (Struct)
Required
resource (Struct)
Required
options (Struct)
Required
VerifyRequest
options (Struct)
Required
secret_data (Struct)
Required
Last updated