Interface RecordSetsClient


public interface RecordSetsClient
An instance of this class provides access to all the operations defined in RecordSetsClient.
  • Method Details

    • updateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<RecordSetInner>> updateWithResponseAsync(String resourceGroupName, String zoneName, String relativeRecordSetName, RecordType recordType, RecordSetInner parameters, String ifMatch)
      Updates a record set within a DNS zone.
      Parameters:
      resourceGroupName - The name of the resource group.
      zoneName - The name of the DNS zone (without a terminating dot).
      relativeRecordSetName - The name of the record set, relative to the name of the zone.
      recordType - The type of DNS record in this record set.
      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) along with Response 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.
    • updateAsync

      Mono<RecordSetInner> updateAsync(String resourceGroupName, String zoneName, String relativeRecordSetName, RecordType recordType, RecordSetInner parameters)
      Updates a record set within a DNS zone.
      Parameters:
      resourceGroupName - The name of the resource group.
      zoneName - The name of the DNS zone (without a terminating dot).
      relativeRecordSetName - The name of the record set, relative to the name of the zone.
      recordType - The type of DNS record in this record set.
      parameters - Parameters supplied to the Update operation.
      Returns:
      describes a DNS record set (a collection of DNS records with the same name and type) 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 zoneName, String relativeRecordSetName, RecordType recordType, RecordSetInner parameters, String ifMatch, com.azure.core.util.Context context)
      Updates a record set within a DNS zone.
      Parameters:
      resourceGroupName - The name of the resource group.
      zoneName - The name of the DNS zone (without a terminating dot).
      relativeRecordSetName - The name of the record set, relative to the name of the zone.
      recordType - The type of DNS record in this record set.
      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) 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 zoneName, String relativeRecordSetName, RecordType recordType, RecordSetInner parameters)
      Updates a record set within a DNS zone.
      Parameters:
      resourceGroupName - The name of the resource group.
      zoneName - The name of the DNS zone (without a terminating dot).
      relativeRecordSetName - The name of the record set, relative to the name of the zone.
      recordType - The type of DNS record in this record set.
      parameters - Parameters supplied to the Update operation.
      Returns:
      describes a DNS record set (a collection of DNS records with the same name and type).
      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.
    • createOrUpdateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<RecordSetInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String zoneName, String relativeRecordSetName, RecordType recordType, RecordSetInner parameters, String ifMatch, String ifNoneMatch)
      Creates or updates a record set within a DNS zone.
      Parameters:
      resourceGroupName - The name of the resource group.
      zoneName - The name of the DNS zone (without a terminating dot).
      relativeRecordSetName - The name of the record set, relative to the name of the zone.
      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 DNS zone is created).
      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) along with Response 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.
    • createOrUpdateAsync

      Mono<RecordSetInner> createOrUpdateAsync(String resourceGroupName, String zoneName, String relativeRecordSetName, RecordType recordType, RecordSetInner parameters)
      Creates or updates a record set within a DNS zone.
      Parameters:
      resourceGroupName - The name of the resource group.
      zoneName - The name of the DNS zone (without a terminating dot).
      relativeRecordSetName - The name of the record set, relative to the name of the zone.
      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 DNS zone is created).
      parameters - Parameters supplied to the CreateOrUpdate operation.
      Returns:
      describes a DNS record set (a collection of DNS records with the same name and type) 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 zoneName, String relativeRecordSetName, RecordType recordType, RecordSetInner parameters, String ifMatch, String ifNoneMatch, com.azure.core.util.Context context)
      Creates or updates a record set within a DNS zone.
      Parameters:
      resourceGroupName - The name of the resource group.
      zoneName - The name of the DNS zone (without a terminating dot).
      relativeRecordSetName - The name of the record set, relative to the name of the zone.
      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 DNS zone is created).
      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) 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 zoneName, String relativeRecordSetName, RecordType recordType, RecordSetInner parameters)
      Creates or updates a record set within a DNS zone.
      Parameters:
      resourceGroupName - The name of the resource group.
      zoneName - The name of the DNS zone (without a terminating dot).
      relativeRecordSetName - The name of the record set, relative to the name of the zone.
      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 DNS zone is created).
      parameters - Parameters supplied to the CreateOrUpdate operation.
      Returns:
      describes a DNS record set (a collection of DNS records with the same name and type).
      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 zoneName, String relativeRecordSetName, RecordType recordType, String ifMatch)
      Deletes a record set from a DNS zone. This operation cannot be undone.
      Parameters:
      resourceGroupName - The name of the resource group.
      zoneName - The name of the DNS zone (without a terminating dot).
      relativeRecordSetName - The name of the record set, relative to the name of the zone.
      recordType - The type of DNS record in this record set. Record sets of type SOA cannot be deleted (they are deleted when the DNS zone is deleted).
      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 Response 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.
    • deleteAsync

      Mono<Void> deleteAsync(String resourceGroupName, String zoneName, String relativeRecordSetName, RecordType recordType)
      Deletes a record set from a DNS zone. This operation cannot be undone.
      Parameters:
      resourceGroupName - The name of the resource group.
      zoneName - The name of the DNS zone (without a terminating dot).
      relativeRecordSetName - The name of the record set, relative to the name of the zone.
      recordType - The type of DNS record in this record set. Record sets of type SOA cannot be deleted (they are deleted when the DNS zone is deleted).
      Returns:
      A Mono that 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 zoneName, String relativeRecordSetName, RecordType recordType, String ifMatch, com.azure.core.util.Context context)
      Deletes a record set from a DNS zone. This operation cannot be undone.
      Parameters:
      resourceGroupName - The name of the resource group.
      zoneName - The name of the DNS zone (without a terminating dot).
      relativeRecordSetName - The name of the record set, relative to the name of the zone.
      recordType - The type of DNS record in this record set. Record sets of type SOA cannot be deleted (they are deleted when the DNS zone is deleted).
      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 zoneName, String relativeRecordSetName, RecordType recordType)
      Deletes a record set from a DNS zone. This operation cannot be undone.
      Parameters:
      resourceGroupName - The name of the resource group.
      zoneName - The name of the DNS zone (without a terminating dot).
      relativeRecordSetName - The name of the record set, relative to the name of the zone.
      recordType - The type of DNS record in this record set. Record sets of type SOA cannot be deleted (they are deleted when the DNS zone is deleted).
      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 zoneName, String relativeRecordSetName, RecordType recordType)
      Gets a record set.
      Parameters:
      resourceGroupName - The name of the resource group.
      zoneName - The name of the DNS zone (without a terminating dot).
      relativeRecordSetName - The name of the record set, relative to the name of the zone.
      recordType - The type of DNS record in this record set.
      Returns:
      a record set along with Response 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.
    • getAsync

      Mono<RecordSetInner> getAsync(String resourceGroupName, String zoneName, String relativeRecordSetName, RecordType recordType)
      Gets a record set.
      Parameters:
      resourceGroupName - The name of the resource group.
      zoneName - The name of the DNS zone (without a terminating dot).
      relativeRecordSetName - The name of the record set, relative to the name of the zone.
      recordType - The type of DNS record in this record set.
      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 zoneName, String relativeRecordSetName, RecordType recordType, com.azure.core.util.Context context)
      Gets a record set.
      Parameters:
      resourceGroupName - The name of the resource group.
      zoneName - The name of the DNS zone (without a terminating dot).
      relativeRecordSetName - The name of the record set, relative to the name of the zone.
      recordType - The type of DNS record in this record set.
      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 zoneName, String relativeRecordSetName, RecordType recordType)
      Gets a record set.
      Parameters:
      resourceGroupName - The name of the resource group.
      zoneName - The name of the DNS zone (without a terminating dot).
      relativeRecordSetName - The name of the record set, relative to the name of the zone.
      recordType - The type of DNS record in this record set.
      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 zoneName, RecordType recordType, Integer top, String recordsetnamesuffix)
      Lists the record sets of a specified type in a DNS zone.
      Parameters:
      resourceGroupName - The name of the resource group.
      zoneName - The name of the 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 that has to be used to filter the record set enumerations. If this parameter is specified, Enumeration will return only 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 zoneName, RecordType recordType)
      Lists the record sets of a specified type in a DNS zone.
      Parameters:
      resourceGroupName - The name of the resource group.
      zoneName - The name of the 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 zoneName, RecordType recordType)
      Lists the record sets of a specified type in a DNS zone.
      Parameters:
      resourceGroupName - The name of the resource group.
      zoneName - The name of the 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 zoneName, RecordType recordType, Integer top, String recordsetnamesuffix, com.azure.core.util.Context context)
      Lists the record sets of a specified type in a DNS zone.
      Parameters:
      resourceGroupName - The name of the resource group.
      zoneName - The name of the 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 that has to be used to filter the record set enumerations. If this parameter is specified, Enumeration will return only 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.
    • listByDnsZoneAsync

      com.azure.core.http.rest.PagedFlux<RecordSetInner> listByDnsZoneAsync(String resourceGroupName, String zoneName, Integer top, String recordsetnamesuffix)
      Lists all record sets in a DNS zone.
      Parameters:
      resourceGroupName - The name of the resource group.
      zoneName - The name of the 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 that has to be used to filter the record set enumerations. If this parameter is specified, Enumeration will return only 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.
    • listByDnsZoneAsync

      com.azure.core.http.rest.PagedFlux<RecordSetInner> listByDnsZoneAsync(String resourceGroupName, String zoneName)
      Lists all record sets in a DNS zone.
      Parameters:
      resourceGroupName - The name of the resource group.
      zoneName - The name of the 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.
    • listByDnsZone

      com.azure.core.http.rest.PagedIterable<RecordSetInner> listByDnsZone(String resourceGroupName, String zoneName)
      Lists all record sets in a DNS zone.
      Parameters:
      resourceGroupName - The name of the resource group.
      zoneName - The name of the 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.
    • listByDnsZone

      com.azure.core.http.rest.PagedIterable<RecordSetInner> listByDnsZone(String resourceGroupName, String zoneName, Integer top, String recordsetnamesuffix, com.azure.core.util.Context context)
      Lists all record sets in a DNS zone.
      Parameters:
      resourceGroupName - The name of the resource group.
      zoneName - The name of the 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 that has to be used to filter the record set enumerations. If this parameter is specified, Enumeration will return only 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.
    • listAllByDnsZoneAsync

      com.azure.core.http.rest.PagedFlux<RecordSetInner> listAllByDnsZoneAsync(String resourceGroupName, String zoneName, Integer top, String recordSetNameSuffix)
      Lists all record sets in a DNS zone.
      Parameters:
      resourceGroupName - The name of the resource group.
      zoneName - The name of the 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 that has to be used to filter the record set enumerations. If this parameter is specified, Enumeration will return only 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.
    • listAllByDnsZoneAsync

      com.azure.core.http.rest.PagedFlux<RecordSetInner> listAllByDnsZoneAsync(String resourceGroupName, String zoneName)
      Lists all record sets in a DNS zone.
      Parameters:
      resourceGroupName - The name of the resource group.
      zoneName - The name of the 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.
    • listAllByDnsZone

      com.azure.core.http.rest.PagedIterable<RecordSetInner> listAllByDnsZone(String resourceGroupName, String zoneName)
      Lists all record sets in a DNS zone.
      Parameters:
      resourceGroupName - The name of the resource group.
      zoneName - The name of the 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.
    • listAllByDnsZone

      com.azure.core.http.rest.PagedIterable<RecordSetInner> listAllByDnsZone(String resourceGroupName, String zoneName, Integer top, String recordSetNameSuffix, com.azure.core.util.Context context)
      Lists all record sets in a DNS zone.
      Parameters:
      resourceGroupName - The name of the resource group.
      zoneName - The name of the 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 that has to be used to filter the record set enumerations. If this parameter is specified, Enumeration will return only 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.