Partager via


RecordSetsClient Interface

public interface RecordSetsClient

An instance of this class provides access to all the operations defined in RecordSetsClient.

Method Summary

Modifier and Type Method and Description
abstract RecordSetInner createOrUpdate(String resourceGroupName, String zoneName, String relativeRecordSetName, RecordType recordType, RecordSetInner parameters)

Creates or updates a record set within a DNS zone.

abstract Mono<RecordSetInner> createOrUpdateAsync(String resourceGroupName, String zoneName, String relativeRecordSetName, RecordType recordType, RecordSetInner parameters)

Creates or updates a record set within a DNS zone.

abstract Response<RecordSetInner> createOrUpdateWithResponse(String resourceGroupName, String zoneName, String relativeRecordSetName, RecordType recordType, RecordSetInner parameters, String ifMatch, String ifNoneMatch, Context context)

Creates or updates a record set within a DNS zone.

abstract Mono<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.

abstract void delete(String resourceGroupName, String zoneName, String relativeRecordSetName, RecordType recordType)

Deletes a record set from a DNS zone.

abstract Mono<Void> deleteAsync(String resourceGroupName, String zoneName, String relativeRecordSetName, RecordType recordType)

Deletes a record set from a DNS zone.

abstract Response<Void> deleteWithResponse(String resourceGroupName, String zoneName, String relativeRecordSetName, RecordType recordType, String ifMatch, Context context)

Deletes a record set from a DNS zone.

abstract Mono<Response<Void>> deleteWithResponseAsync(String resourceGroupName, String zoneName, String relativeRecordSetName, RecordType recordType, String ifMatch)

Deletes a record set from a DNS zone.

abstract RecordSetInner get(String resourceGroupName, String zoneName, String relativeRecordSetName, RecordType recordType)

Gets a record set.

abstract Mono<RecordSetInner> getAsync(String resourceGroupName, String zoneName, String relativeRecordSetName, RecordType recordType)

Gets a record set.

abstract Response<RecordSetInner> getWithResponse(String resourceGroupName, String zoneName, String relativeRecordSetName, RecordType recordType, Context context)

Gets a record set.

abstract Mono<Response<RecordSetInner>> getWithResponseAsync(String resourceGroupName, String zoneName, String relativeRecordSetName, RecordType recordType)

Gets a record set.

abstract PagedIterable<RecordSetInner> listAllByDnsZone(String resourceGroupName, String zoneName)

Lists all record sets in a DNS zone.

abstract PagedIterable<RecordSetInner> listAllByDnsZone(String resourceGroupName, String zoneName, Integer top, String recordSetNameSuffix, Context context)

Lists all record sets in a DNS zone.

abstract PagedFlux<RecordSetInner> listAllByDnsZoneAsync(String resourceGroupName, String zoneName)

Lists all record sets in a DNS zone.

abstract PagedFlux<RecordSetInner> listAllByDnsZoneAsync(String resourceGroupName, String zoneName, Integer top, String recordSetNameSuffix)

Lists all record sets in a DNS zone.

abstract PagedIterable<RecordSetInner> listByDnsZone(String resourceGroupName, String zoneName)

Lists all record sets in a DNS zone.

abstract PagedIterable<RecordSetInner> listByDnsZone(String resourceGroupName, String zoneName, Integer top, String recordsetnamesuffix, Context context)

Lists all record sets in a DNS zone.

abstract PagedFlux<RecordSetInner> listByDnsZoneAsync(String resourceGroupName, String zoneName)

Lists all record sets in a DNS zone.

abstract PagedFlux<RecordSetInner> listByDnsZoneAsync(String resourceGroupName, String zoneName, Integer top, String recordsetnamesuffix)

Lists all record sets in a DNS zone.

abstract PagedIterable<RecordSetInner> listByType(String resourceGroupName, String zoneName, RecordType recordType)

Lists the record sets of a specified type in a DNS zone.

abstract PagedIterable<RecordSetInner> listByType(String resourceGroupName, String zoneName, RecordType recordType, Integer top, String recordsetnamesuffix, Context context)

Lists the record sets of a specified type in a DNS zone.

abstract PagedFlux<RecordSetInner> listByTypeAsync(String resourceGroupName, String zoneName, RecordType recordType)

Lists the record sets of a specified type in a DNS zone.

abstract 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.

abstract RecordSetInner update(String resourceGroupName, String zoneName, String relativeRecordSetName, RecordType recordType, RecordSetInner parameters)

Updates a record set within a DNS zone.

abstract Mono<RecordSetInner> updateAsync(String resourceGroupName, String zoneName, String relativeRecordSetName, RecordType recordType, RecordSetInner parameters)

Updates a record set within a DNS zone.

abstract Response<RecordSetInner> updateWithResponse(String resourceGroupName, String zoneName, String relativeRecordSetName, RecordType recordType, RecordSetInner parameters, String ifMatch, Context context)

Updates a record set within a DNS zone.

abstract Mono<Response<RecordSetInner>> updateWithResponseAsync(String resourceGroupName, String zoneName, String relativeRecordSetName, RecordType recordType, RecordSetInner parameters, String ifMatch)

Updates a record set within a DNS zone.

Method Details

createOrUpdate

public abstract 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).

createOrUpdateAsync

public abstract Mono 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.

createOrUpdateWithResponse

public abstract Response createOrUpdateWithResponse(String resourceGroupName, String zoneName, String relativeRecordSetName, RecordType recordType, RecordSetInner parameters, String ifMatch, String ifNoneMatch, 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<T>.

createOrUpdateWithResponseAsync

public abstract Mono> 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<T> on successful completion of Mono.

delete

public abstract 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).

deleteAsync

public abstract Mono 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.

deleteWithResponse

public abstract Response deleteWithResponse(String resourceGroupName, String zoneName, String relativeRecordSetName, RecordType recordType, String ifMatch, 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:

deleteWithResponseAsync

public abstract Mono> 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<T> on successful completion of Mono.

get

public abstract 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.

getAsync

public abstract Mono 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.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String zoneName, String relativeRecordSetName, RecordType recordType, 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<T>.

getWithResponseAsync

public abstract Mono> 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<T> on successful completion of Mono.

listAllByDnsZone

public abstract PagedIterable 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<T>.

listAllByDnsZone

public abstract PagedIterable listAllByDnsZone(String resourceGroupName, String zoneName, Integer top, String recordSetNameSuffix, 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<T>.

listAllByDnsZoneAsync

public abstract PagedFlux 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<T>.

listAllByDnsZoneAsync

public abstract PagedFlux 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<T>.

listByDnsZone

public abstract PagedIterable 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<T>.

listByDnsZone

public abstract PagedIterable listByDnsZone(String resourceGroupName, String zoneName, Integer top, String recordsetnamesuffix, 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<T>.

listByDnsZoneAsync

public abstract PagedFlux 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<T>.

listByDnsZoneAsync

public abstract PagedFlux 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<T>.

listByType

public abstract PagedIterable 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<T>.

listByType

public abstract PagedIterable listByType(String resourceGroupName, String zoneName, RecordType recordType, Integer top, String recordsetnamesuffix, 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<T>.

listByTypeAsync

public abstract PagedFlux 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<T>.

listByTypeAsync

public abstract PagedFlux 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<T>.

update

public abstract 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).

updateAsync

public abstract Mono 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.

updateWithResponse

public abstract Response updateWithResponse(String resourceGroupName, String zoneName, String relativeRecordSetName, RecordType recordType, RecordSetInner parameters, String ifMatch, 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<T>.

updateWithResponseAsync

public abstract Mono> 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<T> on successful completion of Mono.

Applies to