SecurityRulesClient Interface

public interface SecurityRulesClient

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<SecurityRuleInner>,SecurityRuleInner> beginCreateOrUpdate(String resourceGroupName, String networkSecurityGroupName, String securityRuleName, SecurityRuleInner securityRuleParameters)

Creates or updates a security rule in the specified network security group.

abstract SyncPoller<PollResult<SecurityRuleInner>,SecurityRuleInner> beginCreateOrUpdate(String resourceGroupName, String networkSecurityGroupName, String securityRuleName, SecurityRuleInner securityRuleParameters, Context context)

Creates or updates a security rule in the specified network security group.

abstract PollerFlux<PollResult<SecurityRuleInner>,SecurityRuleInner> beginCreateOrUpdateAsync(String resourceGroupName, String networkSecurityGroupName, String securityRuleName, SecurityRuleInner securityRuleParameters)

Creates or updates a security rule in the specified network security group.

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

Deletes the specified network security rule.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String networkSecurityGroupName, String securityRuleName, Context context)

Deletes the specified network security rule.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String networkSecurityGroupName, String securityRuleName)

Deletes the specified network security rule.

abstract SecurityRuleInner createOrUpdate(String resourceGroupName, String networkSecurityGroupName, String securityRuleName, SecurityRuleInner securityRuleParameters)

Creates or updates a security rule in the specified network security group.

abstract SecurityRuleInner createOrUpdate(String resourceGroupName, String networkSecurityGroupName, String securityRuleName, SecurityRuleInner securityRuleParameters, Context context)

Creates or updates a security rule in the specified network security group.

abstract Mono<SecurityRuleInner> createOrUpdateAsync(String resourceGroupName, String networkSecurityGroupName, String securityRuleName, SecurityRuleInner securityRuleParameters)

Creates or updates a security rule in the specified network security group.

abstract Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String networkSecurityGroupName, String securityRuleName, SecurityRuleInner securityRuleParameters)

Creates or updates a security rule in the specified network security group.

abstract void delete(String resourceGroupName, String networkSecurityGroupName, String securityRuleName)

Deletes the specified network security rule.

abstract void delete(String resourceGroupName, String networkSecurityGroupName, String securityRuleName, Context context)

Deletes the specified network security rule.

abstract Mono<Void> deleteAsync(String resourceGroupName, String networkSecurityGroupName, String securityRuleName)

Deletes the specified network security rule.

abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String networkSecurityGroupName, String securityRuleName)

Deletes the specified network security rule.

abstract SecurityRuleInner get(String resourceGroupName, String networkSecurityGroupName, String securityRuleName)

Get the specified network security rule.

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

Get the specified network security rule.

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

Get the specified network security rule.

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

Get the specified network security rule.

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

Gets all security rules in a network security group.

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

Gets all security rules in a network security group.

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

Gets all security rules in a network security group.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<>,SecurityRuleInner> beginCreateOrUpdate(String resourceGroupName, String networkSecurityGroupName, String securityRuleName, SecurityRuleInner securityRuleParameters)

Creates or updates a security rule in the specified network security group.

Parameters:

resourceGroupName - The name of the resource group.
networkSecurityGroupName - The name of the network security group.
securityRuleName - The name of the security rule.
securityRuleParameters - Parameters supplied to the create or update network security rule operation.

Returns:

the SyncPoller<T,U> for polling of network security rule.

beginCreateOrUpdate

public abstract SyncPoller<>,SecurityRuleInner> beginCreateOrUpdate(String resourceGroupName, String networkSecurityGroupName, String securityRuleName, SecurityRuleInner securityRuleParameters, Context context)

Creates or updates a security rule in the specified network security group.

Parameters:

resourceGroupName - The name of the resource group.
networkSecurityGroupName - The name of the network security group.
securityRuleName - The name of the security rule.
securityRuleParameters - Parameters supplied to the create or update network security rule operation.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of network security rule.

beginCreateOrUpdateAsync

public abstract PollerFlux<>,SecurityRuleInner> beginCreateOrUpdateAsync(String resourceGroupName, String networkSecurityGroupName, String securityRuleName, SecurityRuleInner securityRuleParameters)

Creates or updates a security rule in the specified network security group.

Parameters:

resourceGroupName - The name of the resource group.
networkSecurityGroupName - The name of the network security group.
securityRuleName - The name of the security rule.
securityRuleParameters - Parameters supplied to the create or update network security rule operation.

Returns:

the PollerFlux<T,U> for polling of network security rule.

beginDelete

public abstract SyncPoller<>,Void> beginDelete(String resourceGroupName, String networkSecurityGroupName, String securityRuleName)

Deletes the specified network security rule.

Parameters:

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

Returns:

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

beginDelete

public abstract SyncPoller<>,Void> beginDelete(String resourceGroupName, String networkSecurityGroupName, String securityRuleName, Context context)

Deletes the specified network security rule.

Parameters:

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

Returns:

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

beginDeleteAsync

public abstract PollerFlux<>,Void> beginDeleteAsync(String resourceGroupName, String networkSecurityGroupName, String securityRuleName)

Deletes the specified network security rule.

Parameters:

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

Returns:

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

createOrUpdate

public abstract SecurityRuleInner createOrUpdate(String resourceGroupName, String networkSecurityGroupName, String securityRuleName, SecurityRuleInner securityRuleParameters)

Creates or updates a security rule in the specified network security group.

Parameters:

resourceGroupName - The name of the resource group.
networkSecurityGroupName - The name of the network security group.
securityRuleName - The name of the security rule.
securityRuleParameters - Parameters supplied to the create or update network security rule operation.

Returns:

network security rule.

createOrUpdate

public abstract SecurityRuleInner createOrUpdate(String resourceGroupName, String networkSecurityGroupName, String securityRuleName, SecurityRuleInner securityRuleParameters, Context context)

Creates or updates a security rule in the specified network security group.

Parameters:

resourceGroupName - The name of the resource group.
networkSecurityGroupName - The name of the network security group.
securityRuleName - The name of the security rule.
securityRuleParameters - Parameters supplied to the create or update network security rule operation.
context - The context to associate with this operation.

Returns:

network security rule.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String networkSecurityGroupName, String securityRuleName, SecurityRuleInner securityRuleParameters)

Creates or updates a security rule in the specified network security group.

Parameters:

resourceGroupName - The name of the resource group.
networkSecurityGroupName - The name of the network security group.
securityRuleName - The name of the security rule.
securityRuleParameters - Parameters supplied to the create or update network security rule operation.

Returns:

network security rule on successful completion of Mono.

createOrUpdateWithResponseAsync

public abstract Mono<><>>> createOrUpdateWithResponseAsync(String resourceGroupName, String networkSecurityGroupName, String securityRuleName, SecurityRuleInner securityRuleParameters)

Creates or updates a security rule in the specified network security group.

Parameters:

resourceGroupName - The name of the resource group.
networkSecurityGroupName - The name of the network security group.
securityRuleName - The name of the security rule.
securityRuleParameters - Parameters supplied to the create or update network security rule operation.

Returns:

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

delete

public abstract void delete(String resourceGroupName, String networkSecurityGroupName, String securityRuleName)

Deletes the specified network security rule.

Parameters:

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

delete

public abstract void delete(String resourceGroupName, String networkSecurityGroupName, String securityRuleName, Context context)

Deletes the specified network security rule.

Parameters:

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

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String networkSecurityGroupName, String securityRuleName)

Deletes the specified network security rule.

Parameters:

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

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

public abstract Mono<><>>> deleteWithResponseAsync(String resourceGroupName, String networkSecurityGroupName, String securityRuleName)

Deletes the specified network security rule.

Parameters:

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

Returns:

the Response<T> on successful completion of Mono.

get

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

Get the specified network security rule.

Parameters:

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

Returns:

the specified network security rule.

getAsync

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

Get the specified network security rule.

Parameters:

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

Returns:

the specified network security rule on successful completion of Mono.

getWithResponse

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

Get the specified network security rule.

Parameters:

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

Returns:

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

getWithResponseAsync

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

Get the specified network security rule.

Parameters:

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

Returns:

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

list

public abstract PagedIterable list(String resourceGroupName, String networkSecurityGroupName)

Gets all 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 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 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 security rules in a network security group as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync(String resourceGroupName, String networkSecurityGroupName)

Gets all 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 security rules in a network security group as paginated response with PagedFlux<T>.

Applies to