Interface RecordSetsClient
public interface RecordSetsClient
An instance of this class provides access to all the operations defined in RecordSetsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate(String resourceGroupName, String privateZoneName, RecordType recordType, String relativeRecordSetName, RecordSetInner parameters) Creates or updates a record set within a Private DNS zone.createOrUpdateAsync(String resourceGroupName, String privateZoneName, RecordType recordType, String relativeRecordSetName, RecordSetInner parameters) Creates or updates a record set within a Private DNS zone.com.azure.core.http.rest.Response<RecordSetInner>createOrUpdateWithResponse(String resourceGroupName, String privateZoneName, RecordType recordType, String relativeRecordSetName, RecordSetInner parameters, String ifMatch, String ifNoneMatch, com.azure.core.util.Context context) Creates or updates a record set within a Private DNS zone.Mono<com.azure.core.http.rest.Response<RecordSetInner>>createOrUpdateWithResponseAsync(String resourceGroupName, String privateZoneName, RecordType recordType, String relativeRecordSetName, RecordSetInner parameters, String ifMatch, String ifNoneMatch) Creates or updates a record set within a Private DNS zone.voiddelete(String resourceGroupName, String privateZoneName, RecordType recordType, String relativeRecordSetName) Deletes a record set from a Private DNS zone.deleteAsync(String resourceGroupName, String privateZoneName, RecordType recordType, String relativeRecordSetName) Deletes a record set from a Private DNS zone.com.azure.core.http.rest.Response<Void>deleteWithResponse(String resourceGroupName, String privateZoneName, RecordType recordType, String relativeRecordSetName, String ifMatch, com.azure.core.util.Context context) Deletes a record set from a Private DNS zone.deleteWithResponseAsync(String resourceGroupName, String privateZoneName, RecordType recordType, String relativeRecordSetName, String ifMatch) Deletes a record set from a Private DNS zone.get(String resourceGroupName, String privateZoneName, RecordType recordType, String relativeRecordSetName) Gets a record set.getAsync(String resourceGroupName, String privateZoneName, RecordType recordType, String relativeRecordSetName) Gets a record set.com.azure.core.http.rest.Response<RecordSetInner>getWithResponse(String resourceGroupName, String privateZoneName, RecordType recordType, String relativeRecordSetName, com.azure.core.util.Context context) Gets a record set.Mono<com.azure.core.http.rest.Response<RecordSetInner>>getWithResponseAsync(String resourceGroupName, String privateZoneName, RecordType recordType, String relativeRecordSetName) Gets a record set.com.azure.core.http.rest.PagedIterable<RecordSetInner>Lists all record sets in a Private DNS zone.com.azure.core.http.rest.PagedIterable<RecordSetInner>list(String resourceGroupName, String privateZoneName, Integer top, String recordsetnamesuffix, com.azure.core.util.Context context) Lists all record sets in a Private DNS zone.com.azure.core.http.rest.PagedFlux<RecordSetInner>Lists all record sets in a Private DNS zone.com.azure.core.http.rest.PagedFlux<RecordSetInner>listAsync(String resourceGroupName, String privateZoneName, Integer top, String recordsetnamesuffix) Lists all record sets in a Private DNS zone.com.azure.core.http.rest.PagedIterable<RecordSetInner>listByType(String resourceGroupName, String privateZoneName, RecordType recordType) Lists the record sets of a specified type in a Private DNS zone.com.azure.core.http.rest.PagedIterable<RecordSetInner>listByType(String resourceGroupName, String privateZoneName, RecordType recordType, Integer top, String recordsetnamesuffix, com.azure.core.util.Context context) Lists the record sets of a specified type in a Private DNS zone.com.azure.core.http.rest.PagedFlux<RecordSetInner>listByTypeAsync(String resourceGroupName, String privateZoneName, RecordType recordType) Lists the record sets of a specified type in a Private DNS zone.com.azure.core.http.rest.PagedFlux<RecordSetInner>listByTypeAsync(String resourceGroupName, String privateZoneName, RecordType recordType, Integer top, String recordsetnamesuffix) Lists the record sets of a specified type in a Private DNS zone.update(String resourceGroupName, String privateZoneName, RecordType recordType, String relativeRecordSetName, RecordSetInner parameters) Updates a record set within a Private DNS zone.updateAsync(String resourceGroupName, String privateZoneName, RecordType recordType, String relativeRecordSetName, RecordSetInner parameters) Updates a record set within a Private DNS zone.com.azure.core.http.rest.Response<RecordSetInner>updateWithResponse(String resourceGroupName, String privateZoneName, RecordType recordType, String relativeRecordSetName, RecordSetInner parameters, String ifMatch, com.azure.core.util.Context context) Updates a record set within a Private DNS zone.Mono<com.azure.core.http.rest.Response<RecordSetInner>>updateWithResponseAsync(String resourceGroupName, String privateZoneName, RecordType recordType, String relativeRecordSetName, RecordSetInner parameters, String ifMatch) Updates a record set within a Private DNS zone.
-
Method Details
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<RecordSetInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String privateZoneName, RecordType recordType, String relativeRecordSetName, RecordSetInner parameters, String ifMatch, String ifNoneMatch) Creates or updates a record set within a Private DNS zone.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).recordType- The type of DNS record in this record set. Record sets of type SOA can be updated but not created (they are created when the Private DNS zone is created).relativeRecordSetName- The name of the record set, relative to the name of the zone.parameters- Parameters supplied to the CreateOrUpdate operation.ifMatch- The ETag of the record set. Omit this value to always overwrite the current record set. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.ifNoneMatch- Set to '*' to allow a new record set to be created, but to prevent updating an existing record set. Other values will be ignored.- Returns:
- describes a DNS record set (a collection of DNS records with the same name and type) in a Private DNS
zone along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAsync
Mono<RecordSetInner> createOrUpdateAsync(String resourceGroupName, String privateZoneName, RecordType recordType, String relativeRecordSetName, RecordSetInner parameters) Creates or updates a record set within a Private DNS zone.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).recordType- The type of DNS record in this record set. Record sets of type SOA can be updated but not created (they are created when the Private DNS zone is created).relativeRecordSetName- The name of the record set, relative to the name of the zone.parameters- Parameters supplied to the CreateOrUpdate operation.- Returns:
- describes a DNS record set (a collection of DNS records with the same name and type) in a Private DNS
zone on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<RecordSetInner> createOrUpdateWithResponse(String resourceGroupName, String privateZoneName, RecordType recordType, String relativeRecordSetName, RecordSetInner parameters, String ifMatch, String ifNoneMatch, com.azure.core.util.Context context) Creates or updates a record set within a Private DNS zone.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).recordType- The type of DNS record in this record set. Record sets of type SOA can be updated but not created (they are created when the Private DNS zone is created).relativeRecordSetName- The name of the record set, relative to the name of the zone.parameters- Parameters supplied to the CreateOrUpdate operation.ifMatch- The ETag of the record set. Omit this value to always overwrite the current record set. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.ifNoneMatch- Set to '*' to allow a new record set to be created, but to prevent updating an existing record set. Other values will be ignored.context- The context to associate with this operation.- Returns:
- describes a DNS record set (a collection of DNS records with the same name and type) in a Private DNS
zone along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
RecordSetInner createOrUpdate(String resourceGroupName, String privateZoneName, RecordType recordType, String relativeRecordSetName, RecordSetInner parameters) Creates or updates a record set within a Private DNS zone.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).recordType- The type of DNS record in this record set. Record sets of type SOA can be updated but not created (they are created when the Private DNS zone is created).relativeRecordSetName- The name of the record set, relative to the name of the zone.parameters- Parameters supplied to the CreateOrUpdate operation.- Returns:
- describes a DNS record set (a collection of DNS records with the same name and type) in a Private DNS zone.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateWithResponseAsync
Mono<com.azure.core.http.rest.Response<RecordSetInner>> updateWithResponseAsync(String resourceGroupName, String privateZoneName, RecordType recordType, String relativeRecordSetName, RecordSetInner parameters, String ifMatch) Updates a record set within a Private DNS zone.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).recordType- The type of DNS record in this record set.relativeRecordSetName- The name of the record set, relative to the name of the zone.parameters- Parameters supplied to the Update operation.ifMatch- The ETag of the record set. Omit this value to always overwrite the current record set. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.- Returns:
- describes a DNS record set (a collection of DNS records with the same name and type) in a Private DNS
zone along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateAsync
Mono<RecordSetInner> updateAsync(String resourceGroupName, String privateZoneName, RecordType recordType, String relativeRecordSetName, RecordSetInner parameters) Updates a record set within a Private DNS zone.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).recordType- The type of DNS record in this record set.relativeRecordSetName- The name of the record set, relative to the name of the zone.parameters- Parameters supplied to the Update operation.- Returns:
- describes a DNS record set (a collection of DNS records with the same name and type) in a Private DNS
zone on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateWithResponse
com.azure.core.http.rest.Response<RecordSetInner> updateWithResponse(String resourceGroupName, String privateZoneName, RecordType recordType, String relativeRecordSetName, RecordSetInner parameters, String ifMatch, com.azure.core.util.Context context) Updates a record set within a Private DNS zone.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).recordType- The type of DNS record in this record set.relativeRecordSetName- The name of the record set, relative to the name of the zone.parameters- Parameters supplied to the Update operation.ifMatch- The ETag of the record set. Omit this value to always overwrite the current record set. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.context- The context to associate with this operation.- Returns:
- describes a DNS record set (a collection of DNS records with the same name and type) in a Private DNS
zone along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
update
RecordSetInner update(String resourceGroupName, String privateZoneName, RecordType recordType, String relativeRecordSetName, RecordSetInner parameters) Updates a record set within a Private DNS zone.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).recordType- The type of DNS record in this record set.relativeRecordSetName- The name of the record set, relative to the name of the zone.parameters- Parameters supplied to the Update operation.- Returns:
- describes a DNS record set (a collection of DNS records with the same name and type) in a Private DNS zone.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> deleteWithResponseAsync(String resourceGroupName, String privateZoneName, RecordType recordType, String relativeRecordSetName, String ifMatch) Deletes a record set from a Private DNS zone. This operation cannot be undone.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).recordType- The type of DNS record in this record set. Record sets of type SOA cannot be deleted (they are deleted when the Private DNS zone is deleted).relativeRecordSetName- The name of the record set, relative to the name of the zone.ifMatch- The ETag of the record set. Omit this value to always delete the current record set. Specify the last-seen ETag value to prevent accidentally deleting any concurrent changes.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAsync
Mono<Void> deleteAsync(String resourceGroupName, String privateZoneName, RecordType recordType, String relativeRecordSetName) Deletes a record set from a Private DNS zone. This operation cannot be undone.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).recordType- The type of DNS record in this record set. Record sets of type SOA cannot be deleted (they are deleted when the Private DNS zone is deleted).relativeRecordSetName- The name of the record set, relative to the name of the zone.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String privateZoneName, RecordType recordType, String relativeRecordSetName, String ifMatch, com.azure.core.util.Context context) Deletes a record set from a Private DNS zone. This operation cannot be undone.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).recordType- The type of DNS record in this record set. Record sets of type SOA cannot be deleted (they are deleted when the Private DNS zone is deleted).relativeRecordSetName- The name of the record set, relative to the name of the zone.ifMatch- The ETag of the record set. Omit this value to always delete the current record set. Specify the last-seen ETag value to prevent accidentally deleting any concurrent changes.context- The context to associate with this operation.- Returns:
- the
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
void delete(String resourceGroupName, String privateZoneName, RecordType recordType, String relativeRecordSetName) Deletes a record set from a Private DNS zone. This operation cannot be undone.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).recordType- The type of DNS record in this record set. Record sets of type SOA cannot be deleted (they are deleted when the Private DNS zone is deleted).relativeRecordSetName- The name of the record set, relative to the name of the zone.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<RecordSetInner>> getWithResponseAsync(String resourceGroupName, String privateZoneName, RecordType recordType, String relativeRecordSetName) Gets a record set.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).recordType- The type of DNS record in this record set.relativeRecordSetName- The name of the record set, relative to the name of the zone.- Returns:
- a record set along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAsync
Mono<RecordSetInner> getAsync(String resourceGroupName, String privateZoneName, RecordType recordType, String relativeRecordSetName) Gets a record set.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).recordType- The type of DNS record in this record set.relativeRecordSetName- The name of the record set, relative to the name of the zone.- Returns:
- a record set on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<RecordSetInner> getWithResponse(String resourceGroupName, String privateZoneName, RecordType recordType, String relativeRecordSetName, com.azure.core.util.Context context) Gets a record set.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).recordType- The type of DNS record in this record set.relativeRecordSetName- The name of the record set, relative to the name of the zone.context- The context to associate with this operation.- Returns:
- a record set along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
get
RecordSetInner get(String resourceGroupName, String privateZoneName, RecordType recordType, String relativeRecordSetName) Gets a record set.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).recordType- The type of DNS record in this record set.relativeRecordSetName- The name of the record set, relative to the name of the zone.- Returns:
- a record set.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByTypeAsync
com.azure.core.http.rest.PagedFlux<RecordSetInner> listByTypeAsync(String resourceGroupName, String privateZoneName, RecordType recordType, Integer top, String recordsetnamesuffix) Lists the record sets of a specified type in a Private DNS zone.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).recordType- The type of record sets to enumerate.top- The maximum number of record sets to return. If not specified, returns up to 100 record sets.recordsetnamesuffix- The suffix label of the record set name to be used to filter the record set enumeration. If this parameter is specified, the returned enumeration will only contain records that end with ".<recordsetnamesuffix>".- Returns:
- the response to a record set list operation as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByTypeAsync
com.azure.core.http.rest.PagedFlux<RecordSetInner> listByTypeAsync(String resourceGroupName, String privateZoneName, RecordType recordType) Lists the record sets of a specified type in a Private DNS zone.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).recordType- The type of record sets to enumerate.- Returns:
- the response to a record set list operation as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByType
com.azure.core.http.rest.PagedIterable<RecordSetInner> listByType(String resourceGroupName, String privateZoneName, RecordType recordType) Lists the record sets of a specified type in a Private DNS zone.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).recordType- The type of record sets to enumerate.- Returns:
- the response to a record set list operation as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByType
com.azure.core.http.rest.PagedIterable<RecordSetInner> listByType(String resourceGroupName, String privateZoneName, RecordType recordType, Integer top, String recordsetnamesuffix, com.azure.core.util.Context context) Lists the record sets of a specified type in a Private DNS zone.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).recordType- The type of record sets to enumerate.top- The maximum number of record sets to return. If not specified, returns up to 100 record sets.recordsetnamesuffix- The suffix label of the record set name to be used to filter the record set enumeration. If this parameter is specified, the returned enumeration will only contain records that end with ".<recordsetnamesuffix>".context- The context to associate with this operation.- Returns:
- the response to a record set list operation as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listAsync
com.azure.core.http.rest.PagedFlux<RecordSetInner> listAsync(String resourceGroupName, String privateZoneName, Integer top, String recordsetnamesuffix) Lists all record sets in a Private DNS zone.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).top- The maximum number of record sets to return. If not specified, returns up to 100 record sets.recordsetnamesuffix- The suffix label of the record set name to be used to filter the record set enumeration. If this parameter is specified, the returned enumeration will only contain records that end with ".<recordsetnamesuffix>".- Returns:
- the response to a record set list operation as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listAsync
com.azure.core.http.rest.PagedFlux<RecordSetInner> listAsync(String resourceGroupName, String privateZoneName) Lists all record sets in a Private DNS zone.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).- Returns:
- the response to a record set list operation as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<RecordSetInner> list(String resourceGroupName, String privateZoneName) Lists all record sets in a Private DNS zone.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).- Returns:
- the response to a record set list operation as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<RecordSetInner> list(String resourceGroupName, String privateZoneName, Integer top, String recordsetnamesuffix, com.azure.core.util.Context context) Lists all record sets in a Private DNS zone.- Parameters:
resourceGroupName- The name of the resource group.privateZoneName- The name of the Private DNS zone (without a terminating dot).top- The maximum number of record sets to return. If not specified, returns up to 100 record sets.recordsetnamesuffix- The suffix label of the record set name to be used to filter the record set enumeration. If this parameter is specified, the returned enumeration will only contain records that end with ".<recordsetnamesuffix>".context- The context to associate with this operation.- Returns:
- the response to a record set list operation as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-