Interface SecurityUserRuleCollectionsClient
public interface SecurityUserRuleCollectionsClient
An instance of this class provides access to all the operations defined in SecurityUserRuleCollectionsClient.
-
Method Summary
Modifier and TypeMethodDescriptionbeginDelete(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName) Deletes a Security User Rule collection.beginDelete(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, Boolean force, com.azure.core.util.Context context) Deletes a Security User Rule collection.beginDeleteAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName) Deletes a Security User Rule collection.beginDeleteAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, Boolean force) Deletes a Security User Rule collection.createOrUpdate(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, SecurityUserRuleCollectionInner securityUserRuleCollection) Creates or updates a security user rule collection.createOrUpdateAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, SecurityUserRuleCollectionInner securityUserRuleCollection) Creates or updates a security user rule collection.com.azure.core.http.rest.Response<SecurityUserRuleCollectionInner> createOrUpdateWithResponse(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, SecurityUserRuleCollectionInner securityUserRuleCollection, com.azure.core.util.Context context) Creates or updates a security user rule collection.Mono<com.azure.core.http.rest.Response<SecurityUserRuleCollectionInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, SecurityUserRuleCollectionInner securityUserRuleCollection) Creates or updates a security user rule collection.voiddelete(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName) Deletes a Security User Rule collection.voiddelete(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, Boolean force, com.azure.core.util.Context context) Deletes a Security User Rule collection.deleteAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName) Deletes a Security User Rule collection.deleteAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, Boolean force) Deletes a Security User Rule collection.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, Boolean force) Deletes a Security User Rule collection.get(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName) Gets a network manager security user configuration rule collection.getAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName) Gets a network manager security user configuration rule collection.com.azure.core.http.rest.Response<SecurityUserRuleCollectionInner> getWithResponse(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, com.azure.core.util.Context context) Gets a network manager security user configuration rule collection.Mono<com.azure.core.http.rest.Response<SecurityUserRuleCollectionInner>> getWithResponseAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName) Gets a network manager security user configuration rule collection.com.azure.core.http.rest.PagedIterable<SecurityUserRuleCollectionInner> Lists all the security user rule collections in a security configuration, in a paginated format.com.azure.core.http.rest.PagedIterable<SecurityUserRuleCollectionInner> list(String resourceGroupName, String networkManagerName, String configurationName, Integer top, String skipToken, com.azure.core.util.Context context) Lists all the security user rule collections in a security configuration, in a paginated format.com.azure.core.http.rest.PagedFlux<SecurityUserRuleCollectionInner> Lists all the security user rule collections in a security configuration, in a paginated format.com.azure.core.http.rest.PagedFlux<SecurityUserRuleCollectionInner> listAsync(String resourceGroupName, String networkManagerName, String configurationName, Integer top, String skipToken) Lists all the security user rule collections in a security configuration, in a paginated format.
-
Method Details
-
listAsync
com.azure.core.http.rest.PagedFlux<SecurityUserRuleCollectionInner> listAsync(String resourceGroupName, String networkManagerName, String configurationName, Integer top, String skipToken) Lists all the security user rule collections in a security configuration, in a paginated format.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.networkManagerName- The name of the network manager.configurationName- The name of the network manager Security Configuration.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 user configuration rule collection list result as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listAsync
com.azure.core.http.rest.PagedFlux<SecurityUserRuleCollectionInner> listAsync(String resourceGroupName, String networkManagerName, String configurationName) Lists all the security user rule collections in a security configuration, in a paginated format.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.networkManagerName- The name of the network manager.configurationName- The name of the network manager Security Configuration.- Returns:
- security user configuration rule collection list result as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<SecurityUserRuleCollectionInner> list(String resourceGroupName, String networkManagerName, String configurationName) Lists all the security user rule collections in a security configuration, in a paginated format.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.networkManagerName- The name of the network manager.configurationName- The name of the network manager Security Configuration.- Returns:
- security user configuration rule collection list result as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<SecurityUserRuleCollectionInner> list(String resourceGroupName, String networkManagerName, String configurationName, Integer top, String skipToken, com.azure.core.util.Context context) Lists all the security user rule collections in a security configuration, in a paginated format.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.networkManagerName- The name of the network manager.configurationName- The name of the network manager Security Configuration.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 user configuration rule collection list result as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<SecurityUserRuleCollectionInner>> getWithResponseAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName) Gets a network manager security user configuration rule collection.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.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:
- a network manager security user configuration rule collection along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAsync
Mono<SecurityUserRuleCollectionInner> getAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName) Gets a network manager security user configuration rule collection.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.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:
- a network manager security user configuration rule collection on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<SecurityUserRuleCollectionInner> getWithResponse(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, com.azure.core.util.Context context) Gets a network manager security user configuration rule collection.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.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.context- The context to associate with this operation.- Returns:
- a network manager security user configuration rule collection along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
get
SecurityUserRuleCollectionInner get(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName) Gets a network manager security user configuration rule collection.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.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:
- a network manager security user configuration rule collection.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<SecurityUserRuleCollectionInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, SecurityUserRuleCollectionInner securityUserRuleCollection) Creates or updates a security user rule collection.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.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.securityUserRuleCollection- The Security User Rule Collection to create or update.- Returns:
- defines the security user rule collection along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAsync
Mono<SecurityUserRuleCollectionInner> createOrUpdateAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, SecurityUserRuleCollectionInner securityUserRuleCollection) Creates or updates a security user rule collection.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.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.securityUserRuleCollection- The Security User Rule Collection to create or update.- Returns:
- defines the security user rule collection on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<SecurityUserRuleCollectionInner> createOrUpdateWithResponse(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, SecurityUserRuleCollectionInner securityUserRuleCollection, com.azure.core.util.Context context) Creates or updates a security user rule collection.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.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.securityUserRuleCollection- The Security User Rule Collection to create or update.context- The context to associate with this operation.- Returns:
- defines the security user rule collection along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
SecurityUserRuleCollectionInner createOrUpdate(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, SecurityUserRuleCollectionInner securityUserRuleCollection) Creates or updates a security user rule collection.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.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.securityUserRuleCollection- The Security User Rule Collection to create or update.- Returns:
- defines the security user rule collection.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, Boolean force) Deletes a Security User Rule collection.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.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.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
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeleteAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, Boolean force) Deletes a Security User Rule collection.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.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.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
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeleteAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName) Deletes a Security User Rule collection.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.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:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName) Deletes a Security User Rule collection.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.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:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, Boolean force, com.azure.core.util.Context context) Deletes a Security User Rule collection.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.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.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
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAsync
Mono<Void> deleteAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, Boolean force) Deletes a Security User Rule collection.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.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.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
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAsync
Mono<Void> deleteAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName) Deletes a Security User Rule collection.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.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:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
void delete(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName) Deletes a Security User Rule collection.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.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.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
void delete(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, Boolean force, com.azure.core.util.Context context) Deletes a Security User Rule collection.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.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.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.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-