DnsForwardingRulesetsClient Interface

public interface DnsForwardingRulesetsClient

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<DnsForwardingRulesetInner>,DnsForwardingRulesetInner> beginCreateOrUpdate(String resourceGroupName, String dnsForwardingRulesetName, DnsForwardingRulesetInner parameters)

Creates or updates a DNS forwarding ruleset.

abstract SyncPoller<PollResult<DnsForwardingRulesetInner>,DnsForwardingRulesetInner> beginCreateOrUpdate(String resourceGroupName, String dnsForwardingRulesetName, DnsForwardingRulesetInner parameters, String ifMatch, String ifNoneMatch, Context context)

Creates or updates a DNS forwarding ruleset.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String dnsForwardingRulesetName)

Deletes a DNS forwarding ruleset.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String dnsForwardingRulesetName, String ifMatch, Context context)

Deletes a DNS forwarding ruleset.

abstract SyncPoller<PollResult<DnsForwardingRulesetInner>,DnsForwardingRulesetInner> beginUpdate(String resourceGroupName, String dnsForwardingRulesetName, DnsForwardingRulesetPatch parameters)

Updates a DNS forwarding ruleset.

abstract SyncPoller<PollResult<DnsForwardingRulesetInner>,DnsForwardingRulesetInner> beginUpdate(String resourceGroupName, String dnsForwardingRulesetName, DnsForwardingRulesetPatch parameters, String ifMatch, Context context)

Updates a DNS forwarding ruleset.

abstract DnsForwardingRulesetInner createOrUpdate(String resourceGroupName, String dnsForwardingRulesetName, DnsForwardingRulesetInner parameters)

Creates or updates a DNS forwarding ruleset.

abstract DnsForwardingRulesetInner createOrUpdate(String resourceGroupName, String dnsForwardingRulesetName, DnsForwardingRulesetInner parameters, String ifMatch, String ifNoneMatch, Context context)

Creates or updates a DNS forwarding ruleset.

abstract void delete(String resourceGroupName, String dnsForwardingRulesetName)

Deletes a DNS forwarding ruleset.

abstract void delete(String resourceGroupName, String dnsForwardingRulesetName, String ifMatch, Context context)

Deletes a DNS forwarding ruleset.

abstract DnsForwardingRulesetInner getByResourceGroup(String resourceGroupName, String dnsForwardingRulesetName)

Gets a DNS forwarding ruleset properties.

abstract Response<DnsForwardingRulesetInner> getByResourceGroupWithResponse(String resourceGroupName, String dnsForwardingRulesetName, Context context)

Gets a DNS forwarding ruleset properties.

abstract PagedIterable<DnsForwardingRulesetInner> list()

Lists DNS forwarding rulesets in all resource groups of a subscription.

abstract PagedIterable<DnsForwardingRulesetInner> list(Integer top, Context context)

Lists DNS forwarding rulesets in all resource groups of a subscription.

abstract PagedIterable<DnsForwardingRulesetInner> listByResourceGroup(String resourceGroupName)

Lists DNS forwarding rulesets within a resource group.

abstract PagedIterable<DnsForwardingRulesetInner> listByResourceGroup(String resourceGroupName, Integer top, Context context)

Lists DNS forwarding rulesets within a resource group.

abstract PagedIterable<VirtualNetworkDnsForwardingRulesetInner> listByVirtualNetwork(String resourceGroupName, String virtualNetworkName)

Lists DNS forwarding ruleset resource IDs attached to a virtual network.

abstract PagedIterable<VirtualNetworkDnsForwardingRulesetInner> listByVirtualNetwork(String resourceGroupName, String virtualNetworkName, Integer top, Context context)

Lists DNS forwarding ruleset resource IDs attached to a virtual network.

abstract DnsForwardingRulesetInner update(String resourceGroupName, String dnsForwardingRulesetName, DnsForwardingRulesetPatch parameters)

Updates a DNS forwarding ruleset.

abstract DnsForwardingRulesetInner update(String resourceGroupName, String dnsForwardingRulesetName, DnsForwardingRulesetPatch parameters, String ifMatch, Context context)

Updates a DNS forwarding ruleset.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<PollResult<DnsForwardingRulesetInner>,DnsForwardingRulesetInner> beginCreateOrUpdate(String resourceGroupName, String dnsForwardingRulesetName, DnsForwardingRulesetInner parameters)

Creates or updates a DNS forwarding ruleset.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
dnsForwardingRulesetName - The name of the DNS forwarding ruleset.
parameters - Parameters supplied to the CreateOrUpdate operation.

Returns:

the SyncPoller<T,U> for polling of describes a DNS forwarding ruleset.

beginCreateOrUpdate

public abstract SyncPoller<PollResult<DnsForwardingRulesetInner>,DnsForwardingRulesetInner> beginCreateOrUpdate(String resourceGroupName, String dnsForwardingRulesetName, DnsForwardingRulesetInner parameters, String ifMatch, String ifNoneMatch, Context context)

Creates or updates a DNS forwarding ruleset.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
dnsForwardingRulesetName - The name of the DNS forwarding ruleset.
parameters - Parameters supplied to the CreateOrUpdate operation.
ifMatch - ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.
ifNoneMatch - Set to '*' to allow a new resource to be created, but to prevent updating an existing resource. Other values will be ignored.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of describes a DNS forwarding ruleset.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String dnsForwardingRulesetName)

Deletes a DNS forwarding ruleset. WARNING: This operation cannot be undone. All forwarding rules within the ruleset will be deleted.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
dnsForwardingRulesetName - The name of the DNS forwarding ruleset.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String dnsForwardingRulesetName, String ifMatch, Context context)

Deletes a DNS forwarding ruleset. WARNING: This operation cannot be undone. All forwarding rules within the ruleset will be deleted.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
dnsForwardingRulesetName - The name of the DNS forwarding ruleset.
ifMatch - ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginUpdate

public abstract SyncPoller<PollResult<DnsForwardingRulesetInner>,DnsForwardingRulesetInner> beginUpdate(String resourceGroupName, String dnsForwardingRulesetName, DnsForwardingRulesetPatch parameters)

Updates a DNS forwarding ruleset.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
dnsForwardingRulesetName - The name of the DNS forwarding ruleset.
parameters - Parameters supplied to the Update operation.

Returns:

the SyncPoller<T,U> for polling of describes a DNS forwarding ruleset.

beginUpdate

public abstract SyncPoller<PollResult<DnsForwardingRulesetInner>,DnsForwardingRulesetInner> beginUpdate(String resourceGroupName, String dnsForwardingRulesetName, DnsForwardingRulesetPatch parameters, String ifMatch, Context context)

Updates a DNS forwarding ruleset.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
dnsForwardingRulesetName - The name of the DNS forwarding ruleset.
parameters - Parameters supplied to the Update operation.
ifMatch - ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of describes a DNS forwarding ruleset.

createOrUpdate

public abstract DnsForwardingRulesetInner createOrUpdate(String resourceGroupName, String dnsForwardingRulesetName, DnsForwardingRulesetInner parameters)

Creates or updates a DNS forwarding ruleset.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
dnsForwardingRulesetName - The name of the DNS forwarding ruleset.
parameters - Parameters supplied to the CreateOrUpdate operation.

Returns:

describes a DNS forwarding ruleset.

createOrUpdate

public abstract DnsForwardingRulesetInner createOrUpdate(String resourceGroupName, String dnsForwardingRulesetName, DnsForwardingRulesetInner parameters, String ifMatch, String ifNoneMatch, Context context)

Creates or updates a DNS forwarding ruleset.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
dnsForwardingRulesetName - The name of the DNS forwarding ruleset.
parameters - Parameters supplied to the CreateOrUpdate operation.
ifMatch - ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.
ifNoneMatch - Set to '*' to allow a new resource to be created, but to prevent updating an existing resource. Other values will be ignored.
context - The context to associate with this operation.

Returns:

describes a DNS forwarding ruleset.

delete

public abstract void delete(String resourceGroupName, String dnsForwardingRulesetName)

Deletes a DNS forwarding ruleset. WARNING: This operation cannot be undone. All forwarding rules within the ruleset will be deleted.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
dnsForwardingRulesetName - The name of the DNS forwarding ruleset.

delete

public abstract void delete(String resourceGroupName, String dnsForwardingRulesetName, String ifMatch, Context context)

Deletes a DNS forwarding ruleset. WARNING: This operation cannot be undone. All forwarding rules within the ruleset will be deleted.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
dnsForwardingRulesetName - The name of the DNS forwarding ruleset.
ifMatch - ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.
context - The context to associate with this operation.

getByResourceGroup

public abstract DnsForwardingRulesetInner getByResourceGroup(String resourceGroupName, String dnsForwardingRulesetName)

Gets a DNS forwarding ruleset properties.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
dnsForwardingRulesetName - The name of the DNS forwarding ruleset.

Returns:

a DNS forwarding ruleset properties.

getByResourceGroupWithResponse

public abstract Response<DnsForwardingRulesetInner> getByResourceGroupWithResponse(String resourceGroupName, String dnsForwardingRulesetName, Context context)

Gets a DNS forwarding ruleset properties.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
dnsForwardingRulesetName - The name of the DNS forwarding ruleset.
context - The context to associate with this operation.

Returns:

a DNS forwarding ruleset properties along with Response<T>.

list

public abstract PagedIterable<DnsForwardingRulesetInner> list()

Lists DNS forwarding rulesets in all resource groups of a subscription.

Returns:

the response of a DnsForwardingRuleset list operation as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<DnsForwardingRulesetInner> list(Integer top, Context context)

Lists DNS forwarding rulesets in all resource groups of a subscription.

Parameters:

top - The maximum number of results to return. If not specified, returns up to 100 results.
context - The context to associate with this operation.

Returns:

the response of a DnsForwardingRuleset list operation as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<DnsForwardingRulesetInner> listByResourceGroup(String resourceGroupName)

Lists DNS forwarding rulesets within a resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.

Returns:

the response of a DnsForwardingRuleset list operation as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<DnsForwardingRulesetInner> listByResourceGroup(String resourceGroupName, Integer top, Context context)

Lists DNS forwarding rulesets within a resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
top - The maximum number of results to return. If not specified, returns up to 100 results.
context - The context to associate with this operation.

Returns:

the response of a DnsForwardingRuleset list operation as paginated response with PagedIterable<T>.

listByVirtualNetwork

public abstract PagedIterable<VirtualNetworkDnsForwardingRulesetInner> listByVirtualNetwork(String resourceGroupName, String virtualNetworkName)

Lists DNS forwarding ruleset resource IDs attached to a virtual network.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
virtualNetworkName - The name of the VirtualNetwork.

Returns:

the response to an enumeration operation on Virtual Network DNS Forwarding Ruleset as paginated response with PagedIterable<T>.

listByVirtualNetwork

public abstract PagedIterable<VirtualNetworkDnsForwardingRulesetInner> listByVirtualNetwork(String resourceGroupName, String virtualNetworkName, Integer top, Context context)

Lists DNS forwarding ruleset resource IDs attached to a virtual network.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
virtualNetworkName - The name of the VirtualNetwork.
top - The maximum number of results to return. If not specified, returns up to 100 results.
context - The context to associate with this operation.

Returns:

the response to an enumeration operation on Virtual Network DNS Forwarding Ruleset as paginated response with PagedIterable<T>.

update

public abstract DnsForwardingRulesetInner update(String resourceGroupName, String dnsForwardingRulesetName, DnsForwardingRulesetPatch parameters)

Updates a DNS forwarding ruleset.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
dnsForwardingRulesetName - The name of the DNS forwarding ruleset.
parameters - Parameters supplied to the Update operation.

Returns:

describes a DNS forwarding ruleset.

update

public abstract DnsForwardingRulesetInner update(String resourceGroupName, String dnsForwardingRulesetName, DnsForwardingRulesetPatch parameters, String ifMatch, Context context)

Updates a DNS forwarding ruleset.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
dnsForwardingRulesetName - The name of the DNS forwarding ruleset.
parameters - Parameters supplied to the Update operation.
ifMatch - ETag of the resource. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting any concurrent changes.
context - The context to associate with this operation.

Returns:

describes a DNS forwarding ruleset.

Applies to