Yandex Cloud Marketplace Product Instance Management API, gRPC: ProductInstanceService.Get
Статья создана
Обновлена 26 мая 2025 г.
Returns the specified product instance.
gRPC request
rpc Get (GetProductInstanceRequest) returns (ProductInstance)
GetProductInstanceRequest
{
"product_instance_id": "string"
}
Field |
Description |
product_instance_id |
string Required field. ID of the product instance to return. |
ProductInstance
{
"id": "string",
"resource_id": "string",
"resource_type": "ResourceType",
"resource_metadata": "map<string, string>",
"state": "State",
"created_at": "google.protobuf.Timestamp",
"updated_at": "google.protobuf.Timestamp",
// Includes only one of the fields `saas_info`
"saas_info": {
"id": "string",
"data": "map<string, string>"
}
// end of the list of possible fields
}
Field |
Description |
id |
string ID of the product instance. |
resource_id |
string ID of the resource. |
resource_type |
enum ResourceType Type of the resource.
|
resource_metadata |
object (map<string, string>) Metadata of the resource; Reserved for future use. |
state |
enum State State of the product instance.
|
created_at |
Creation timestamp |
updated_at |
Update timestamp |
saas_info |
Includes only one of the fields Additional information about the resource. |
SaasInfo
Field |
Description |
id |
string ID of the SaaS resource. |
data |
object (map<string, string>) Additional data about the SaaS resource. |