Interface NetworkSecurityPerimeterAccessRulesClient
public interface NetworkSecurityPerimeterAccessRulesClient
An instance of this class provides access to all the operations defined in NetworkSecurityPerimeterAccessRulesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate(String resourceGroupName, String networkSecurityPerimeterName, String profileName, String accessRuleName, NspAccessRuleInner parameters) Creates or updates a network access rule.createOrUpdateAsync(String resourceGroupName, String networkSecurityPerimeterName, String profileName, String accessRuleName, NspAccessRuleInner parameters) Creates or updates a network access rule.com.azure.core.http.rest.Response<NspAccessRuleInner> createOrUpdateWithResponse(String resourceGroupName, String networkSecurityPerimeterName, String profileName, String accessRuleName, NspAccessRuleInner parameters, com.azure.core.util.Context context) Creates or updates a network access rule.Mono<com.azure.core.http.rest.Response<NspAccessRuleInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String networkSecurityPerimeterName, String profileName, String accessRuleName, NspAccessRuleInner parameters) Creates or updates a network access rule.voiddelete(String resourceGroupName, String networkSecurityPerimeterName, String profileName, String accessRuleName) Deletes an NSP access rule.deleteAsync(String resourceGroupName, String networkSecurityPerimeterName, String profileName, String accessRuleName) Deletes an NSP access rule.com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String networkSecurityPerimeterName, String profileName, String accessRuleName, com.azure.core.util.Context context) Deletes an NSP access rule.deleteWithResponseAsync(String resourceGroupName, String networkSecurityPerimeterName, String profileName, String accessRuleName) Deletes an NSP access rule.get(String resourceGroupName, String networkSecurityPerimeterName, String profileName, String accessRuleName) Gets the specified NSP access rule by name.getAsync(String resourceGroupName, String networkSecurityPerimeterName, String profileName, String accessRuleName) Gets the specified NSP access rule by name.com.azure.core.http.rest.Response<NspAccessRuleInner> getWithResponse(String resourceGroupName, String networkSecurityPerimeterName, String profileName, String accessRuleName, com.azure.core.util.Context context) Gets the specified NSP access rule by name.Mono<com.azure.core.http.rest.Response<NspAccessRuleInner>> getWithResponseAsync(String resourceGroupName, String networkSecurityPerimeterName, String profileName, String accessRuleName) Gets the specified NSP access rule by name.com.azure.core.http.rest.PagedIterable<NspAccessRuleInner> Lists the NSP access rules in the specified NSP profile.com.azure.core.http.rest.PagedIterable<NspAccessRuleInner> list(String resourceGroupName, String networkSecurityPerimeterName, String profileName, Integer top, String skipToken, com.azure.core.util.Context context) Lists the NSP access rules in the specified NSP profile.com.azure.core.http.rest.PagedFlux<NspAccessRuleInner> Lists the NSP access rules in the specified NSP profile.com.azure.core.http.rest.PagedFlux<NspAccessRuleInner> listAsync(String resourceGroupName, String networkSecurityPerimeterName, String profileName, Integer top, String skipToken) Lists the NSP access rules in the specified NSP profile.reconcile(String resourceGroupName, String networkSecurityPerimeterName, String profileName, String accessRuleName, Object parameters) Reconcile NSP access rules.reconcileAsync(String resourceGroupName, String networkSecurityPerimeterName, String profileName, String accessRuleName, Object parameters) Reconcile NSP access rules.com.azure.core.http.rest.Response<Object> reconcileWithResponse(String resourceGroupName, String networkSecurityPerimeterName, String profileName, String accessRuleName, Object parameters, com.azure.core.util.Context context) Reconcile NSP access rules.reconcileWithResponseAsync(String resourceGroupName, String networkSecurityPerimeterName, String profileName, String accessRuleName, Object parameters) Reconcile NSP access rules.
-
Method Details
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<NspAccessRuleInner>> getWithResponseAsync(String resourceGroupName, String networkSecurityPerimeterName, String profileName, String accessRuleName) Gets the specified NSP access rule by name.- Parameters:
resourceGroupName- The name of the resource group.networkSecurityPerimeterName- The name of the network security perimeter.profileName- The name of the NSP profile.accessRuleName- The name of the NSP access rule.- Returns:
- the specified NSP access rule by name 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<NspAccessRuleInner> getAsync(String resourceGroupName, String networkSecurityPerimeterName, String profileName, String accessRuleName) Gets the specified NSP access rule by name.- Parameters:
resourceGroupName- The name of the resource group.networkSecurityPerimeterName- The name of the network security perimeter.profileName- The name of the NSP profile.accessRuleName- The name of the NSP access rule.- Returns:
- the specified NSP access rule by name 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<NspAccessRuleInner> getWithResponse(String resourceGroupName, String networkSecurityPerimeterName, String profileName, String accessRuleName, com.azure.core.util.Context context) Gets the specified NSP access rule by name.- Parameters:
resourceGroupName- The name of the resource group.networkSecurityPerimeterName- The name of the network security perimeter.profileName- The name of the NSP profile.accessRuleName- The name of the NSP access rule.context- The context to associate with this operation.- Returns:
- the specified NSP access rule by name 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
NspAccessRuleInner get(String resourceGroupName, String networkSecurityPerimeterName, String profileName, String accessRuleName) Gets the specified NSP access rule by name.- Parameters:
resourceGroupName- The name of the resource group.networkSecurityPerimeterName- The name of the network security perimeter.profileName- The name of the NSP profile.accessRuleName- The name of the NSP access rule.- Returns:
- the specified NSP access rule by name.
- 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<NspAccessRuleInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String networkSecurityPerimeterName, String profileName, String accessRuleName, NspAccessRuleInner parameters) Creates or updates a network access rule.- Parameters:
resourceGroupName- The name of the resource group.networkSecurityPerimeterName- The name of the network security perimeter.profileName- The name of the NSP profile.accessRuleName- The name of the NSP access rule.parameters- Parameters that hold the NspAccessRule resource to be created/updated.- Returns:
- the NSP access rule resource 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<NspAccessRuleInner> createOrUpdateAsync(String resourceGroupName, String networkSecurityPerimeterName, String profileName, String accessRuleName, NspAccessRuleInner parameters) Creates or updates a network access rule.- Parameters:
resourceGroupName- The name of the resource group.networkSecurityPerimeterName- The name of the network security perimeter.profileName- The name of the NSP profile.accessRuleName- The name of the NSP access rule.parameters- Parameters that hold the NspAccessRule resource to be created/updated.- Returns:
- the NSP access rule resource 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<NspAccessRuleInner> createOrUpdateWithResponse(String resourceGroupName, String networkSecurityPerimeterName, String profileName, String accessRuleName, NspAccessRuleInner parameters, com.azure.core.util.Context context) Creates or updates a network access rule.- Parameters:
resourceGroupName- The name of the resource group.networkSecurityPerimeterName- The name of the network security perimeter.profileName- The name of the NSP profile.accessRuleName- The name of the NSP access rule.parameters- Parameters that hold the NspAccessRule resource to be created/updated.context- The context to associate with this operation.- Returns:
- the NSP access rule resource 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
NspAccessRuleInner createOrUpdate(String resourceGroupName, String networkSecurityPerimeterName, String profileName, String accessRuleName, NspAccessRuleInner parameters) Creates or updates a network access rule.- Parameters:
resourceGroupName- The name of the resource group.networkSecurityPerimeterName- The name of the network security perimeter.profileName- The name of the NSP profile.accessRuleName- The name of the NSP access rule.parameters- Parameters that hold the NspAccessRule resource to be created/updated.- Returns:
- the NSP access rule resource.
- 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<Void>> deleteWithResponseAsync(String resourceGroupName, String networkSecurityPerimeterName, String profileName, String accessRuleName) Deletes an NSP access rule.- Parameters:
resourceGroupName- The name of the resource group.networkSecurityPerimeterName- The name of the network security perimeter.profileName- The name of the NSP profile.accessRuleName- The name of the NSP access rule.- 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.
-
deleteAsync
Mono<Void> deleteAsync(String resourceGroupName, String networkSecurityPerimeterName, String profileName, String accessRuleName) Deletes an NSP access rule.- Parameters:
resourceGroupName- The name of the resource group.networkSecurityPerimeterName- The name of the network security perimeter.profileName- The name of the NSP profile.accessRuleName- The name of the NSP access rule.- 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.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String networkSecurityPerimeterName, String profileName, String accessRuleName, com.azure.core.util.Context context) Deletes an NSP access rule.- Parameters:
resourceGroupName- The name of the resource group.networkSecurityPerimeterName- The name of the network security perimeter.profileName- The name of the NSP profile.accessRuleName- The name of the NSP access rule.context- The context to associate with this operation.- Returns:
- the
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.
-
delete
void delete(String resourceGroupName, String networkSecurityPerimeterName, String profileName, String accessRuleName) Deletes an NSP access rule.- Parameters:
resourceGroupName- The name of the resource group.networkSecurityPerimeterName- The name of the network security perimeter.profileName- The name of the NSP profile.accessRuleName- The name of the NSP access rule.- 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<NspAccessRuleInner> listAsync(String resourceGroupName, String networkSecurityPerimeterName, String profileName, Integer top, String skipToken) Lists the NSP access rules in the specified NSP profile.- Parameters:
resourceGroupName- The name of the resource group.networkSecurityPerimeterName- The name of the network security perimeter.profileName- The name of the NSP profile.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:
- result of the request to list NSP access rules 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<NspAccessRuleInner> listAsync(String resourceGroupName, String networkSecurityPerimeterName, String profileName) Lists the NSP access rules in the specified NSP profile.- Parameters:
resourceGroupName- The name of the resource group.networkSecurityPerimeterName- The name of the network security perimeter.profileName- The name of the NSP profile.- Returns:
- result of the request to list NSP access rules 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<NspAccessRuleInner> list(String resourceGroupName, String networkSecurityPerimeterName, String profileName) Lists the NSP access rules in the specified NSP profile.- Parameters:
resourceGroupName- The name of the resource group.networkSecurityPerimeterName- The name of the network security perimeter.profileName- The name of the NSP profile.- Returns:
- result of the request to list NSP access rules 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<NspAccessRuleInner> list(String resourceGroupName, String networkSecurityPerimeterName, String profileName, Integer top, String skipToken, com.azure.core.util.Context context) Lists the NSP access rules in the specified NSP profile.- Parameters:
resourceGroupName- The name of the resource group.networkSecurityPerimeterName- The name of the network security perimeter.profileName- The name of the NSP profile.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:
- result of the request to list NSP access rules 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.
-
reconcileWithResponseAsync
Mono<com.azure.core.http.rest.Response<Object>> reconcileWithResponseAsync(String resourceGroupName, String networkSecurityPerimeterName, String profileName, String accessRuleName, Object parameters) Reconcile NSP access rules.- Parameters:
resourceGroupName- The name of the resource group.networkSecurityPerimeterName- The name of the network security perimeter.profileName- The name of the NSP profile.accessRuleName- The name of the NSP access rule.parameters- Parameters for NSP access rule reconcile.- Returns:
- any object 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.
-
reconcileAsync
Mono<Object> reconcileAsync(String resourceGroupName, String networkSecurityPerimeterName, String profileName, String accessRuleName, Object parameters) Reconcile NSP access rules.- Parameters:
resourceGroupName- The name of the resource group.networkSecurityPerimeterName- The name of the network security perimeter.profileName- The name of the NSP profile.accessRuleName- The name of the NSP access rule.parameters- Parameters for NSP access rule reconcile.- Returns:
- any object 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.
-
reconcileWithResponse
com.azure.core.http.rest.Response<Object> reconcileWithResponse(String resourceGroupName, String networkSecurityPerimeterName, String profileName, String accessRuleName, Object parameters, com.azure.core.util.Context context) Reconcile NSP access rules.- Parameters:
resourceGroupName- The name of the resource group.networkSecurityPerimeterName- The name of the network security perimeter.profileName- The name of the NSP profile.accessRuleName- The name of the NSP access rule.parameters- Parameters for NSP access rule reconcile.context- The context to associate with this operation.- Returns:
- any object 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.
-
reconcile
Object reconcile(String resourceGroupName, String networkSecurityPerimeterName, String profileName, String accessRuleName, Object parameters) Reconcile NSP access rules.- Parameters:
resourceGroupName- The name of the resource group.networkSecurityPerimeterName- The name of the network security perimeter.profileName- The name of the NSP profile.accessRuleName- The name of the NSP access rule.parameters- Parameters for NSP access rule reconcile.- Returns:
- any object.
- 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.
-