[Документация Yandex Cloud](../../../../index.md) > [Yandex Cloud CDN](../../../index.md) > Справочник API > [gRPC (англ.)](../index.md) > [Resource](index.md) > GetProviderCName

# Cloud CDN API, gRPC: ResourceService.GetProviderCName

Deprecated: Provider-specific CNAME is now available in the `provider_cname` field of each Resource message.

## gRPC request

**rpc GetProviderCName ([GetProviderCNameRequest](#yandex.cloud.cdn.v1.GetProviderCNameRequest)) returns ([GetProviderCNameResponse](#yandex.cloud.cdn.v1.GetProviderCNameResponse))**

## GetProviderCNameRequest {#yandex.cloud.cdn.v1.GetProviderCNameRequest}

```json
{
  "folder_id": "string"
}
```

#|
||Field | Description ||
|| folder_id | **string**

Required field. Folder ID to get provider's CNAME.

The maximum string length in characters is 50. ||
|#

## GetProviderCNameResponse {#yandex.cloud.cdn.v1.GetProviderCNameResponse}

```json
{
  "cname": "string",
  "folder_id": "string"
}
```

#|
||Field | Description ||
|| cname | **string**

Provider's CNAME. ||
|| folder_id | **string**

ID of the folder that the provider belongs to. ||
|#