public RecordSetInner get(String resourceGroupName, String privateZoneName, RecordType recordType, String relativeRecordSetName) {
        return getWithServiceResponseAsync(resourceGroupName, privateZoneName, recordType, relativeRecordSetName).toBlocking().single().body();
    }
public RecordSetInner get ( String resourceGroupName , String privateZoneName , RecordType recordType , String relativeRecordSetName ) { return getWithServiceResponseAsync ( resourceGroupName , privateZoneName , recordType , relativeRecordSetName ) . toBlocking ( ) . single ( ) . body ( ) ; }
Gets a record set.

@param resourceGroupName The name of the resource group.
@param privateZoneName The name of the Private DNS zone (without a terminating dot).
@param recordType The type of DNS record in this record set. Possible values include: 'A', 'AAAA', 'CNAME', 'MX', 'PTR', 'SOA', 'SRV', 'TXT'
@param relativeRecordSetName The name of the record set, relative to the name of the zone.
@throws IllegalArgumentException thrown if parameters fail the validation
@throws CloudException thrown if the request is rejected by server
@throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
@return the RecordSetInner object if successful.