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