AdminRulesClient Interface

public interface AdminRulesClient

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName)

Deletes an admin rule.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName, Boolean force, Context context)

Deletes an admin rule.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName)

Deletes an admin rule.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName, Boolean force)

Deletes an admin rule.

abstract BaseAdminRuleInner createOrUpdate(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName, BaseAdminRuleInner adminRule)

Creates or updates an admin rule.

abstract Mono<BaseAdminRuleInner> createOrUpdateAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName, BaseAdminRuleInner adminRule)

Creates or updates an admin rule.

abstract Response<BaseAdminRuleInner> createOrUpdateWithResponse(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName, BaseAdminRuleInner adminRule, Context context)

Creates or updates an admin rule.

abstract Mono<Response<BaseAdminRuleInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName, BaseAdminRuleInner adminRule)

Creates or updates an admin rule.

abstract void delete(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName)

Deletes an admin rule.

abstract void delete(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName, Boolean force, Context context)

Deletes an admin rule.

abstract Mono<Void> deleteAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName)

Deletes an admin rule.

abstract Mono<Void> deleteAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName, Boolean force)

Deletes an admin rule.

abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName, Boolean force)

Deletes an admin rule.

abstract BaseAdminRuleInner get(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName)

Gets a network manager security configuration admin rule.

abstract Mono<BaseAdminRuleInner> getAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName)

Gets a network manager security configuration admin rule.

abstract Response<BaseAdminRuleInner> getWithResponse(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName, Context context)

Gets a network manager security configuration admin rule.

abstract Mono<Response<BaseAdminRuleInner>> getWithResponseAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName)

Gets a network manager security configuration admin rule.

abstract PagedIterable<BaseAdminRuleInner> list(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName)

List all network manager security configuration admin rules.

abstract PagedIterable<BaseAdminRuleInner> list(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, Integer top, String skipToken, Context context)

List all network manager security configuration admin rules.

abstract PagedFlux<BaseAdminRuleInner> listAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName)

List all network manager security configuration admin rules.

abstract PagedFlux<BaseAdminRuleInner> listAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, Integer top, String skipToken)

List all network manager security configuration admin rules.

Method Details

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName)

Deletes an admin rule.

Parameters:

resourceGroupName - The name of the resource group.
networkManagerName - The name of the network manager.
configurationName - The name of the network manager Security Configuration.
ruleCollectionName - The name of the network manager security Configuration rule collection.
ruleName - The name of the rule.

Returns:

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

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName, Boolean force, Context context)

Deletes an admin rule.

Parameters:

resourceGroupName - The name of the resource group.
networkManagerName - The name of the network manager.
configurationName - The name of the network manager Security Configuration.
ruleCollectionName - The name of the network manager security Configuration rule collection.
ruleName - The name of the rule.
force - Deletes the resource even if it is part of a deployed configuration. If the configuration has been deployed, the service will do a cleanup deployment in the background, prior to the delete.
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 networkManagerName, String configurationName, String ruleCollectionName, String ruleName)

Deletes an admin rule.

Parameters:

resourceGroupName - The name of the resource group.
networkManagerName - The name of the network manager.
configurationName - The name of the network manager Security Configuration.
ruleCollectionName - The name of the network manager security Configuration rule collection.
ruleName - The name of the rule.

Returns:

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

beginDeleteAsync

public abstract PollerFlux,Void> beginDeleteAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName, Boolean force)

Deletes an admin rule.

Parameters:

resourceGroupName - The name of the resource group.
networkManagerName - The name of the network manager.
configurationName - The name of the network manager Security Configuration.
ruleCollectionName - The name of the network manager security Configuration rule collection.
ruleName - The name of the rule.
force - Deletes the resource even if it is part of a deployed configuration. If the configuration has been deployed, the service will do a cleanup deployment in the background, prior to the delete.

Returns:

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

createOrUpdate

public abstract BaseAdminRuleInner createOrUpdate(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName, BaseAdminRuleInner adminRule)

Creates or updates an admin rule.

Parameters:

resourceGroupName - The name of the resource group.
networkManagerName - The name of the network manager.
configurationName - The name of the network manager Security Configuration.
ruleCollectionName - The name of the network manager security Configuration rule collection.
ruleName - The name of the rule.
adminRule - The admin rule to create or update.

Returns:

network base admin rule.

createOrUpdateAsync

public abstract Mono createOrUpdateAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName, BaseAdminRuleInner adminRule)

Creates or updates an admin rule.

Parameters:

resourceGroupName - The name of the resource group.
networkManagerName - The name of the network manager.
configurationName - The name of the network manager Security Configuration.
ruleCollectionName - The name of the network manager security Configuration rule collection.
ruleName - The name of the rule.
adminRule - The admin rule to create or update.

Returns:

network base admin rule on successful completion of Mono.

createOrUpdateWithResponse

public abstract Response createOrUpdateWithResponse(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName, BaseAdminRuleInner adminRule, Context context)

Creates or updates an admin rule.

Parameters:

resourceGroupName - The name of the resource group.
networkManagerName - The name of the network manager.
configurationName - The name of the network manager Security Configuration.
ruleCollectionName - The name of the network manager security Configuration rule collection.
ruleName - The name of the rule.
adminRule - The admin rule to create or update.
context - The context to associate with this operation.

Returns:

network base admin rule along with Response<T>.

createOrUpdateWithResponseAsync

public abstract Mono> createOrUpdateWithResponseAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName, BaseAdminRuleInner adminRule)

Creates or updates an admin rule.

Parameters:

resourceGroupName - The name of the resource group.
networkManagerName - The name of the network manager.
configurationName - The name of the network manager Security Configuration.
ruleCollectionName - The name of the network manager security Configuration rule collection.
ruleName - The name of the rule.
adminRule - The admin rule to create or update.

Returns:

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

delete

public abstract void delete(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName)

Deletes an admin rule.

Parameters:

resourceGroupName - The name of the resource group.
networkManagerName - The name of the network manager.
configurationName - The name of the network manager Security Configuration.
ruleCollectionName - The name of the network manager security Configuration rule collection.
ruleName - The name of the rule.

delete

public abstract void delete(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName, Boolean force, Context context)

Deletes an admin rule.

Parameters:

resourceGroupName - The name of the resource group.
networkManagerName - The name of the network manager.
configurationName - The name of the network manager Security Configuration.
ruleCollectionName - The name of the network manager security Configuration rule collection.
ruleName - The name of the rule.
force - Deletes the resource even if it is part of a deployed configuration. If the configuration has been deployed, the service will do a cleanup deployment in the background, prior to the delete.
context - The context to associate with this operation.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName)

Deletes an admin rule.

Parameters:

resourceGroupName - The name of the resource group.
networkManagerName - The name of the network manager.
configurationName - The name of the network manager Security Configuration.
ruleCollectionName - The name of the network manager security Configuration rule collection.
ruleName - The name of the rule.

Returns:

A Mono that completes when a successful response is received.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName, Boolean force)

Deletes an admin rule.

Parameters:

resourceGroupName - The name of the resource group.
networkManagerName - The name of the network manager.
configurationName - The name of the network manager Security Configuration.
ruleCollectionName - The name of the network manager security Configuration rule collection.
ruleName - The name of the rule.
force - Deletes the resource even if it is part of a deployed configuration. If the configuration has been deployed, the service will do a cleanup deployment in the background, prior to the delete.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

public abstract Mono>> deleteWithResponseAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName, Boolean force)

Deletes an admin rule.

Parameters:

resourceGroupName - The name of the resource group.
networkManagerName - The name of the network manager.
configurationName - The name of the network manager Security Configuration.
ruleCollectionName - The name of the network manager security Configuration rule collection.
ruleName - The name of the rule.
force - Deletes the resource even if it is part of a deployed configuration. If the configuration has been deployed, the service will do a cleanup deployment in the background, prior to the delete.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract BaseAdminRuleInner get(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName)

Gets a network manager security configuration admin rule.

Parameters:

resourceGroupName - The name of the resource group.
networkManagerName - The name of the network manager.
configurationName - The name of the network manager Security Configuration.
ruleCollectionName - The name of the network manager security Configuration rule collection.
ruleName - The name of the rule.

Returns:

a network manager security configuration admin rule.

getAsync

public abstract Mono getAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName)

Gets a network manager security configuration admin rule.

Parameters:

resourceGroupName - The name of the resource group.
networkManagerName - The name of the network manager.
configurationName - The name of the network manager Security Configuration.
ruleCollectionName - The name of the network manager security Configuration rule collection.
ruleName - The name of the rule.

Returns:

a network manager security configuration admin rule on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName, Context context)

Gets a network manager security configuration admin rule.

Parameters:

resourceGroupName - The name of the resource group.
networkManagerName - The name of the network manager.
configurationName - The name of the network manager Security Configuration.
ruleCollectionName - The name of the network manager security Configuration rule collection.
ruleName - The name of the rule.
context - The context to associate with this operation.

Returns:

a network manager security configuration admin rule along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName)

Gets a network manager security configuration admin rule.

Parameters:

resourceGroupName - The name of the resource group.
networkManagerName - The name of the network manager.
configurationName - The name of the network manager Security Configuration.
ruleCollectionName - The name of the network manager security Configuration rule collection.
ruleName - The name of the rule.

Returns:

a network manager security configuration admin rule along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable list(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName)

List all network manager security configuration admin rules.

Parameters:

resourceGroupName - The name of the resource group.
networkManagerName - The name of the network manager.
configurationName - The name of the network manager Security Configuration.
ruleCollectionName - The name of the network manager security Configuration rule collection.

Returns:

security configuration admin rule list result as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, Integer top, String skipToken, Context context)

List all network manager security configuration admin rules.

Parameters:

resourceGroupName - The name of the resource group.
networkManagerName - The name of the network manager.
configurationName - The name of the network manager Security Configuration.
ruleCollectionName - The name of the network manager security Configuration rule collection.
top - An optional query parameter which specifies the maximum number of records to be returned by the server.
skipToken - SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.
context - The context to associate with this operation.

Returns:

security configuration admin rule list result as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName)

List all network manager security configuration admin rules.

Parameters:

resourceGroupName - The name of the resource group.
networkManagerName - The name of the network manager.
configurationName - The name of the network manager Security Configuration.
ruleCollectionName - The name of the network manager security Configuration rule collection.

Returns:

security configuration admin rule list result as paginated response with PagedFlux<T>.

listAsync

public abstract PagedFlux listAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, Integer top, String skipToken)

List all network manager security configuration admin rules.

Parameters:

resourceGroupName - The name of the resource group.
networkManagerName - The name of the network manager.
configurationName - The name of the network manager Security Configuration.
ruleCollectionName - The name of the network manager security Configuration rule collection.
top - An optional query parameter which specifies the maximum number of records to be returned by the server.
skipToken - SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.

Returns:

security configuration admin rule list result as paginated response with PagedFlux<T>.

Applies to