DnsKeys: list

Enumerate DnsKeys to a ResourceRecordSet collection.

Request

HTTP request

GET https://dns.googleapis.com/dns/v1/projects/project/managedZones/managedZone/dnsKeys

Parameters

Parameter name Value Description
Path parameters
managedZone string Identifies the managed zone addressed by this request. Can be the managed zone name or id.
project string Identifies the project addressed by this request.
Optional query parameters
digestType string An optional comma-separated list of digest types to compute and display for key signing keys. If omitted, the recommended digest type will be computed and displayed.
maxResults integer Optional. Maximum number of results to be returned. If unspecified, the server will decide how many results to return.
pageToken string Optional. A tag returned by a previous list request that was truncated. Use this parameter to continue a previous list request.

Authorization

This request requires authorization with at least one of the following scopes:

Scope
https://www.googleapis.com/auth/ndev.clouddns.readonly
https://www.googleapis.com/auth/ndev.clouddns.readwrite
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/cloud-platform.read-only

Request body

Do not supply a request body with this method.

Response

If successful, this method returns a response body with the following structure:

{
  "kind": "dns#dnsKeysListResponse",
  "header": {
    "operationId": string
  },
  "dnsKeys": [
    dnsKeys Resource
  ],
  "nextPageToken": string
}
Property name Value Description Notes
kind string Type of resource.
header.operationId string For mutating operation requests that completed successfully. This is the client_operation_id if the client specified it, otherwise it is generated by the server (output only).
dnsKeys[] list The requested resources.
nextPageToken string The presence of this field indicates that there exist more results following your last page of results in pagination order. To fetch them, make another list request using this value as your pagination token.

In this way you can retrieve the complete contents of even very large collections one page at a time. However, if the contents of the collection change between the first and last paginated list request, the set of all elements returned will be an inconsistent view of the collection. There is no way to retrieve a "snapshot" of collections larger than the maximum page size.
이 페이지가 도움이 되었나요? 평가를 부탁드립니다.

다음에 대한 의견 보내기...