DefaultSecurityRulesClient Interface

public interface DefaultSecurityRulesClient

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

Method Summary

Modifier and Type Method and Description
abstract SecurityRuleInner get(String resourceGroupName, String networkSecurityGroupName, String defaultSecurityRuleName)

Get the specified default network security rule.

abstract Mono<SecurityRuleInner> getAsync(String resourceGroupName, String networkSecurityGroupName, String defaultSecurityRuleName)

Get the specified default network security rule.

abstract Response<SecurityRuleInner> getWithResponse(String resourceGroupName, String networkSecurityGroupName, String defaultSecurityRuleName, Context context)

Get the specified default network security rule.

abstract Mono<Response<SecurityRuleInner>> getWithResponseAsync(String resourceGroupName, String networkSecurityGroupName, String defaultSecurityRuleName)

Get the specified default network security rule.

abstract PagedIterable<SecurityRuleInner> list(String resourceGroupName, String networkSecurityGroupName)

Gets all default security rules in a network security group.

abstract PagedIterable<SecurityRuleInner> list(String resourceGroupName, String networkSecurityGroupName, Context context)

Gets all default security rules in a network security group.

abstract PagedFlux<SecurityRuleInner> listAsync(String resourceGroupName, String networkSecurityGroupName)

Gets all default security rules in a network security group.

Method Details

get

public abstract SecurityRuleInner get(String resourceGroupName, String networkSecurityGroupName, String defaultSecurityRuleName)

Get the specified default network security rule.

Parameters:

resourceGroupName - The name of the resource group.
networkSecurityGroupName - The name of the network security group.
defaultSecurityRuleName - The name of the default security rule.

Returns:

the specified default network security rule.

getAsync

public abstract Mono getAsync(String resourceGroupName, String networkSecurityGroupName, String defaultSecurityRuleName)

Get the specified default network security rule.

Parameters:

resourceGroupName - The name of the resource group.
networkSecurityGroupName - The name of the network security group.
defaultSecurityRuleName - The name of the default security rule.

Returns:

the specified default network security rule on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String networkSecurityGroupName, String defaultSecurityRuleName, Context context)

Get the specified default network security rule.

Parameters:

resourceGroupName - The name of the resource group.
networkSecurityGroupName - The name of the network security group.
defaultSecurityRuleName - The name of the default security rule.
context - The context to associate with this operation.

Returns:

the specified default network security rule along with Response<T>.

getWithResponseAsync

public abstract Mono<>> getWithResponseAsync(String resourceGroupName, String networkSecurityGroupName, String defaultSecurityRuleName)

Get the specified default network security rule.

Parameters:

resourceGroupName - The name of the resource group.
networkSecurityGroupName - The name of the network security group.
defaultSecurityRuleName - The name of the default security rule.

Returns:

the specified default network security rule along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable list(String resourceGroupName, String networkSecurityGroupName)

Gets all default security rules in a network security group.

Parameters:

resourceGroupName - The name of the resource group.
networkSecurityGroupName - The name of the network security group.

Returns:

all default security rules in a network security group as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(String resourceGroupName, String networkSecurityGroupName, Context context)

Gets all default security rules in a network security group.

Parameters:

resourceGroupName - The name of the resource group.
networkSecurityGroupName - The name of the network security group.
context - The context to associate with this operation.

Returns:

all default security rules in a network security group as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync(String resourceGroupName, String networkSecurityGroupName)

Gets all default security rules in a network security group.

Parameters:

resourceGroupName - The name of the resource group.
networkSecurityGroupName - The name of the network security group.

Returns:

all default security rules in a network security group as paginated response with PagedFlux<T>.

Applies to