Interface NetworkSecurityPerimeterProfilesClient


public interface NetworkSecurityPerimeterProfilesClient
An instance of this class provides access to all the operations defined in NetworkSecurityPerimeterProfilesClient.
  • 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 Response 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.
    • 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 Response 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.
    • 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 Response 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.
    • 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 Mono that 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

      void delete(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.
      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.