Cloud Apps Workload API, gRPC: CloudApplicationService.ResolveByWorkload
Resolve Cloud Application by workload
gRPC request
rpc ResolveByWorkload (ResolveByWorkloadRequest) returns (ResolveByWorkloadResponse)
ResolveByWorkloadRequest
{
"workload_type": "WorkloadType",
"workload_id": "string"
}
Field |
Description |
workload_type |
enum WorkloadType Required field. Type of workload. See WorkloadType.
|
workload_id |
string Required field. Identifier of workload |
ResolveByWorkloadResponse
{
"cloud_application": {
"id": "string",
"status": "Status",
"billing": {
"type": "BillingType",
"subscriptions": [
{
"instance_id": "string",
"template_id": "string"
}
]
}
}
}
Field |
Description |
cloud_application |
Details of cloud application |
CloudApplication
Field |
Description |
id |
string Required field. Application Identifier |
status |
enum Status Required field. Application Status
|
billing |
Required field. Application billing info |
Billing
Field |
Description |
type |
enum BillingType Required field. Type of application billing
|
subscriptions[] |
Subscriptions bounded to cloud application |
Subscription
Field |
Description |
instance_id |
string Required field. Identifier of subscription instance |
template_id |
string Required field. Subscription template identifier |