DnsSecurityRulesClient Interface

public interface DnsSecurityRulesClient

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<DnsSecurityRuleInner>,DnsSecurityRuleInner> beginCreateOrUpdate(String resourceGroupName, String dnsResolverPolicyName, String dnsSecurityRuleName, DnsSecurityRuleInner parameters)

Creates or updates a DNS security rule for a DNS resolver policy.

abstract SyncPoller<PollResult<DnsSecurityRuleInner>,DnsSecurityRuleInner> beginCreateOrUpdate(String resourceGroupName, String dnsResolverPolicyName, String dnsSecurityRuleName, DnsSecurityRuleInner parameters, String ifMatch, String ifNoneMatch, Context context)

Creates or updates a DNS security rule for a DNS resolver policy.

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

Deletes a DNS security rule for a DNS resolver policy.

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

Deletes a DNS security rule for a DNS resolver policy.

abstract SyncPoller<PollResult<DnsSecurityRuleInner>,DnsSecurityRuleInner> beginUpdate(String resourceGroupName, String dnsResolverPolicyName, String dnsSecurityRuleName, DnsSecurityRulePatch parameters)

Updates a DNS security rule.

abstract SyncPoller<PollResult<DnsSecurityRuleInner>,DnsSecurityRuleInner> beginUpdate(String resourceGroupName, String dnsResolverPolicyName, String dnsSecurityRuleName, DnsSecurityRulePatch parameters, String ifMatch, Context context)

Updates a DNS security rule.

abstract DnsSecurityRuleInner createOrUpdate(String resourceGroupName, String dnsResolverPolicyName, String dnsSecurityRuleName, DnsSecurityRuleInner parameters)

Creates or updates a DNS security rule for a DNS resolver policy.

abstract DnsSecurityRuleInner createOrUpdate(String resourceGroupName, String dnsResolverPolicyName, String dnsSecurityRuleName, DnsSecurityRuleInner parameters, String ifMatch, String ifNoneMatch, Context context)

Creates or updates a DNS security rule for a DNS resolver policy.

abstract void delete(String resourceGroupName, String dnsResolverPolicyName, String dnsSecurityRuleName)

Deletes a DNS security rule for a DNS resolver policy.

abstract void delete(String resourceGroupName, String dnsResolverPolicyName, String dnsSecurityRuleName, String ifMatch, Context context)

Deletes a DNS security rule for a DNS resolver policy.

abstract DnsSecurityRuleInner get(String resourceGroupName, String dnsResolverPolicyName, String dnsSecurityRuleName)

Gets properties of a DNS security rule for a DNS resolver policy.

abstract Response<DnsSecurityRuleInner> getWithResponse(String resourceGroupName, String dnsResolverPolicyName, String dnsSecurityRuleName, Context context)

Gets properties of a DNS security rule for a DNS resolver policy.

abstract PagedIterable<DnsSecurityRuleInner> list(String resourceGroupName, String dnsResolverPolicyName)

Lists DNS security rules for a DNS resolver policy.

abstract PagedIterable<DnsSecurityRuleInner> list(String resourceGroupName, String dnsResolverPolicyName, Integer top, Context context)

Lists DNS security rules for a DNS resolver policy.

abstract DnsSecurityRuleInner update(String resourceGroupName, String dnsResolverPolicyName, String dnsSecurityRuleName, DnsSecurityRulePatch parameters)

Updates a DNS security rule.

abstract DnsSecurityRuleInner update(String resourceGroupName, String dnsResolverPolicyName, String dnsSecurityRuleName, DnsSecurityRulePatch parameters, String ifMatch, Context context)

Updates a DNS security rule.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<PollResult<DnsSecurityRuleInner>,DnsSecurityRuleInner> beginCreateOrUpdate(String resourceGroupName, String dnsResolverPolicyName, String dnsSecurityRuleName, DnsSecurityRuleInner parameters)

Creates or updates a DNS security rule for a DNS resolver policy.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
dnsResolverPolicyName - The name of the DNS resolver policy.
dnsSecurityRuleName - The name of the DNS security rule.
parameters - Parameters supplied to the CreateOrUpdate operation.

Returns:

the SyncPoller<T,U> for polling of describes a DNS security rule.

beginCreateOrUpdate

public abstract SyncPoller<PollResult<DnsSecurityRuleInner>,DnsSecurityRuleInner> beginCreateOrUpdate(String resourceGroupName, String dnsResolverPolicyName, String dnsSecurityRuleName, DnsSecurityRuleInner parameters, String ifMatch, String ifNoneMatch, Context context)

Creates or updates a DNS security rule for a DNS resolver policy.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
dnsResolverPolicyName - The name of the DNS resolver policy.
dnsSecurityRuleName - The name of the DNS security rule.
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 security rule.

beginDelete

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

Deletes a DNS security rule for a DNS resolver policy. WARNING: This operation cannot be undone.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
dnsResolverPolicyName - The name of the DNS resolver policy.
dnsSecurityRuleName - The name of the DNS security rule.

Returns:

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

beginDelete

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

Deletes a DNS security rule for a DNS resolver policy. WARNING: This operation cannot be undone.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
dnsResolverPolicyName - The name of the DNS resolver policy.
dnsSecurityRuleName - The name of the DNS security rule.
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<DnsSecurityRuleInner>,DnsSecurityRuleInner> beginUpdate(String resourceGroupName, String dnsResolverPolicyName, String dnsSecurityRuleName, DnsSecurityRulePatch parameters)

Updates a DNS security rule.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
dnsResolverPolicyName - The name of the DNS resolver policy.
dnsSecurityRuleName - The name of the DNS security rule.
parameters - Parameters supplied to the Update operation.

Returns:

the SyncPoller<T,U> for polling of describes a DNS security rule.

beginUpdate

public abstract SyncPoller<PollResult<DnsSecurityRuleInner>,DnsSecurityRuleInner> beginUpdate(String resourceGroupName, String dnsResolverPolicyName, String dnsSecurityRuleName, DnsSecurityRulePatch parameters, String ifMatch, Context context)

Updates a DNS security rule.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
dnsResolverPolicyName - The name of the DNS resolver policy.
dnsSecurityRuleName - The name of the DNS security rule.
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 security rule.

createOrUpdate

public abstract DnsSecurityRuleInner createOrUpdate(String resourceGroupName, String dnsResolverPolicyName, String dnsSecurityRuleName, DnsSecurityRuleInner parameters)

Creates or updates a DNS security rule for a DNS resolver policy.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
dnsResolverPolicyName - The name of the DNS resolver policy.
dnsSecurityRuleName - The name of the DNS security rule.
parameters - Parameters supplied to the CreateOrUpdate operation.

Returns:

describes a DNS security rule.

createOrUpdate

public abstract DnsSecurityRuleInner createOrUpdate(String resourceGroupName, String dnsResolverPolicyName, String dnsSecurityRuleName, DnsSecurityRuleInner parameters, String ifMatch, String ifNoneMatch, Context context)

Creates or updates a DNS security rule for a DNS resolver policy.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
dnsResolverPolicyName - The name of the DNS resolver policy.
dnsSecurityRuleName - The name of the DNS security rule.
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 security rule.

delete

public abstract void delete(String resourceGroupName, String dnsResolverPolicyName, String dnsSecurityRuleName)

Deletes a DNS security rule for a DNS resolver policy. WARNING: This operation cannot be undone.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
dnsResolverPolicyName - The name of the DNS resolver policy.
dnsSecurityRuleName - The name of the DNS security rule.

delete

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

Deletes a DNS security rule for a DNS resolver policy. WARNING: This operation cannot be undone.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
dnsResolverPolicyName - The name of the DNS resolver policy.
dnsSecurityRuleName - The name of the DNS security rule.
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.

get

public abstract DnsSecurityRuleInner get(String resourceGroupName, String dnsResolverPolicyName, String dnsSecurityRuleName)

Gets properties of a DNS security rule for a DNS resolver policy.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
dnsResolverPolicyName - The name of the DNS resolver policy.
dnsSecurityRuleName - The name of the DNS security rule.

Returns:

properties of a DNS security rule for a DNS resolver policy.

getWithResponse

public abstract Response<DnsSecurityRuleInner> getWithResponse(String resourceGroupName, String dnsResolverPolicyName, String dnsSecurityRuleName, Context context)

Gets properties of a DNS security rule for a DNS resolver policy.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
dnsResolverPolicyName - The name of the DNS resolver policy.
dnsSecurityRuleName - The name of the DNS security rule.
context - The context to associate with this operation.

Returns:

properties of a DNS security rule for a DNS resolver policy along with Response<T>.

list

public abstract PagedIterable<DnsSecurityRuleInner> list(String resourceGroupName, String dnsResolverPolicyName)

Lists DNS security rules for a DNS resolver policy.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
dnsResolverPolicyName - The name of the DNS resolver policy.

Returns:

the response to an enumeration operation on DNS security rules within a DNS resolver policy as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<DnsSecurityRuleInner> list(String resourceGroupName, String dnsResolverPolicyName, Integer top, Context context)

Lists DNS security rules for a DNS resolver policy.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
dnsResolverPolicyName - The name of the DNS resolver policy.
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 DNS security rules within a DNS resolver policy as paginated response with PagedIterable<T>.

update

public abstract DnsSecurityRuleInner update(String resourceGroupName, String dnsResolverPolicyName, String dnsSecurityRuleName, DnsSecurityRulePatch parameters)

Updates a DNS security rule.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
dnsResolverPolicyName - The name of the DNS resolver policy.
dnsSecurityRuleName - The name of the DNS security rule.
parameters - Parameters supplied to the Update operation.

Returns:

describes a DNS security rule.

update

public abstract DnsSecurityRuleInner update(String resourceGroupName, String dnsResolverPolicyName, String dnsSecurityRuleName, DnsSecurityRulePatch parameters, String ifMatch, Context context)

Updates a DNS security rule.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
dnsResolverPolicyName - The name of the DNS resolver policy.
dnsSecurityRuleName - The name of the DNS security rule.
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 security rule.

Applies to