Cloud CDN API, gRPC: ResourceService.GetProviderCName
Статья создана
Обновлена 17 октября 2024 г.
Get Provider's CNAME (edge endpoint) bind to specified folder id.
Returns UNIMPLEMENTED error, if provider doesn't support CNAME request.
gRPC request
rpc GetProviderCName (GetProviderCNameRequest) returns (GetProviderCNameResponse)
GetProviderCNameRequest
{
"folderId": "string"
}
Field |
Description |
folderId |
string Required field. Folder ID to get provider's CNAME. |
GetProviderCNameResponse
{
"cname": "string",
"folderId": "string"
}
Field |
Description |
cname |
string Provider's CNAME. |
folderId |
string ID of the folder that the provider belongs to. |