Cloud CDN API, gRPC: ResourceService.GetProviderCName
Written by
Updated at November 26, 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
{
"folder_id": "string"
}
Field |
Description |
folder_id |
string Required field. Folder ID to get provider's CNAME. |
GetProviderCNameResponse
{
"cname": "string",
"folder_id": "string"
}
Field |
Description |
cname |
string Provider's CNAME. |
folder_id |
string ID of the folder that the provider belongs to. |