Interface NetworkSecurityPerimetersClient

All Superinterfaces:
InnerSupportsDelete<Void>, InnerSupportsGet<NetworkSecurityPerimeterInner>, InnerSupportsListing<NetworkSecurityPerimeterInner>

An instance of this class provides access to all the operations defined in NetworkSecurityPerimetersClient.
  • Method Details

    • getByResourceGroupWithResponseAsync

      Mono<com.azure.core.http.rest.Response<NetworkSecurityPerimeterInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String networkSecurityPerimeterName)
      Gets the specified network security perimeter by the name.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      Returns:
      the specified network security perimeter by the name 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.
    • getByResourceGroupAsync

      Mono<NetworkSecurityPerimeterInner> getByResourceGroupAsync(String resourceGroupName, String networkSecurityPerimeterName)
      Gets the specified network security perimeter by the name.
      Specified by:
      getByResourceGroupAsync in interface InnerSupportsGet<NetworkSecurityPerimeterInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      Returns:
      the specified network security perimeter by the 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.
    • getByResourceGroupWithResponse

      com.azure.core.http.rest.Response<NetworkSecurityPerimeterInner> getByResourceGroupWithResponse(String resourceGroupName, String networkSecurityPerimeterName, com.azure.core.util.Context context)
      Gets the specified network security perimeter by the name.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      context - The context to associate with this operation.
      Returns:
      the specified network security perimeter by the 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.
    • getByResourceGroup

      NetworkSecurityPerimeterInner getByResourceGroup(String resourceGroupName, String networkSecurityPerimeterName)
      Gets the specified network security perimeter by the name.
      Specified by:
      getByResourceGroup in interface InnerSupportsGet<NetworkSecurityPerimeterInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      Returns:
      the specified network security perimeter by the 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<NetworkSecurityPerimeterInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String networkSecurityPerimeterName, NetworkSecurityPerimeterInner parameters)
      Creates or updates a Network Security Perimeter.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      parameters - Parameter supplied to create or update the network security perimeter.
      Returns:
      the Network Security Perimeter 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<NetworkSecurityPerimeterInner> createOrUpdateAsync(String resourceGroupName, String networkSecurityPerimeterName, NetworkSecurityPerimeterInner parameters)
      Creates or updates a Network Security Perimeter.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      parameters - Parameter supplied to create or update the network security perimeter.
      Returns:
      the Network Security Perimeter 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<NetworkSecurityPerimeterInner> createOrUpdateWithResponse(String resourceGroupName, String networkSecurityPerimeterName, NetworkSecurityPerimeterInner parameters, com.azure.core.util.Context context)
      Creates or updates a Network Security Perimeter.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      parameters - Parameter supplied to create or update the network security perimeter.
      context - The context to associate with this operation.
      Returns:
      the Network Security Perimeter 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

      NetworkSecurityPerimeterInner createOrUpdate(String resourceGroupName, String networkSecurityPerimeterName, NetworkSecurityPerimeterInner parameters)
      Creates or updates a Network Security Perimeter.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      parameters - Parameter supplied to create or update the network security perimeter.
      Returns:
      the Network Security Perimeter 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<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String networkSecurityPerimeterName, Boolean forceDeletion)
      Deletes a network security perimeter.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      forceDeletion - Deletes the resource even if it contains any child associations.
      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.
    • beginDeleteAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>, Void> beginDeleteAsync(String resourceGroupName, String networkSecurityPerimeterName, Boolean forceDeletion)
      Deletes a network security perimeter.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      forceDeletion - Deletes the resource even if it contains any child associations.
      Returns:
      the PollerFlux for 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 networkSecurityPerimeterName)
      Deletes a network security perimeter.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      Returns:
      the PollerFlux for 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 networkSecurityPerimeterName)
      Deletes a network security perimeter.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      Returns:
      the SyncPoller for 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 networkSecurityPerimeterName, Boolean forceDeletion, com.azure.core.util.Context context)
      Deletes a network security perimeter.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      forceDeletion - Deletes the resource even if it contains any child associations.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for 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 networkSecurityPerimeterName, Boolean forceDeletion)
      Deletes a network security perimeter.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      forceDeletion - Deletes the resource even if it contains any child associations.
      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.
    • deleteAsync

      Mono<Void> deleteAsync(String resourceGroupName, String networkSecurityPerimeterName)
      Deletes a network security perimeter.
      Specified by:
      deleteAsync in interface InnerSupportsDelete<Void>
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      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.
    • delete

      void delete(String resourceGroupName, String networkSecurityPerimeterName)
      Deletes a network security perimeter.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      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, Boolean forceDeletion, com.azure.core.util.Context context)
      Deletes a network security perimeter.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      forceDeletion - Deletes the resource even if it contains any child associations.
      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.
    • patchWithResponseAsync

      Mono<com.azure.core.http.rest.Response<NetworkSecurityPerimeterInner>> patchWithResponseAsync(String resourceGroupName, String networkSecurityPerimeterName, UpdateTagsRequest parameters)
      Patch Tags for a Network Security Perimeter.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      parameters - Parameter supplied to the network security perimeter.
      Returns:
      the Network Security Perimeter 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.
    • patchAsync

      Mono<NetworkSecurityPerimeterInner> patchAsync(String resourceGroupName, String networkSecurityPerimeterName, UpdateTagsRequest parameters)
      Patch Tags for a Network Security Perimeter.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      parameters - Parameter supplied to the network security perimeter.
      Returns:
      the Network Security Perimeter 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.
    • patchWithResponse

      com.azure.core.http.rest.Response<NetworkSecurityPerimeterInner> patchWithResponse(String resourceGroupName, String networkSecurityPerimeterName, UpdateTagsRequest parameters, com.azure.core.util.Context context)
      Patch Tags for a Network Security Perimeter.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      parameters - Parameter supplied to the network security perimeter.
      context - The context to associate with this operation.
      Returns:
      the Network Security Perimeter 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.
    • patch

      NetworkSecurityPerimeterInner patch(String resourceGroupName, String networkSecurityPerimeterName, UpdateTagsRequest parameters)
      Patch Tags for a Network Security Perimeter.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      parameters - Parameter supplied to the network security perimeter.
      Returns:
      the Network Security Perimeter 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.
    • listAsync

      com.azure.core.http.rest.PagedFlux<NetworkSecurityPerimeterInner> listAsync(Integer top, String skipToken)
      List all network security perimeters in a subscription.
      Parameters:
      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 NetworkSecurityPerimeter 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<NetworkSecurityPerimeterInner> listAsync()
      List all network security perimeters in a subscription.
      Specified by:
      listAsync in interface InnerSupportsListing<NetworkSecurityPerimeterInner>
      Returns:
      result of the request to list NetworkSecurityPerimeter as paginated response with PagedFlux.
      Throws:
      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<NetworkSecurityPerimeterInner> list()
      List all network security perimeters in a subscription.
      Specified by:
      list in interface InnerSupportsListing<NetworkSecurityPerimeterInner>
      Returns:
      result of the request to list NetworkSecurityPerimeter as paginated response with PagedIterable.
      Throws:
      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<NetworkSecurityPerimeterInner> list(Integer top, String skipToken, com.azure.core.util.Context context)
      List all network security perimeters in a subscription.
      Parameters:
      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 NetworkSecurityPerimeter 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.
    • listByResourceGroupAsync

      com.azure.core.http.rest.PagedFlux<NetworkSecurityPerimeterInner> listByResourceGroupAsync(String resourceGroupName, Integer top, String skipToken)
      List network security perimeters in a resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      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 NetworkSecurityPerimeter 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.
    • listByResourceGroupAsync

      com.azure.core.http.rest.PagedFlux<NetworkSecurityPerimeterInner> listByResourceGroupAsync(String resourceGroupName)
      List network security perimeters in a resource group.
      Specified by:
      listByResourceGroupAsync in interface InnerSupportsListing<NetworkSecurityPerimeterInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      Returns:
      result of the request to list NetworkSecurityPerimeter 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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<NetworkSecurityPerimeterInner> listByResourceGroup(String resourceGroupName)
      List network security perimeters in a resource group.
      Specified by:
      listByResourceGroup in interface InnerSupportsListing<NetworkSecurityPerimeterInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      Returns:
      result of the request to list NetworkSecurityPerimeter 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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<NetworkSecurityPerimeterInner> listByResourceGroup(String resourceGroupName, Integer top, String skipToken, com.azure.core.util.Context context)
      List network security perimeters in a resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      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 NetworkSecurityPerimeter 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.