Interface NetworkSecurityPerimeterAssociationsClient


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

    • getWithResponseAsync

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

      Mono<NspAssociationInner> getAsync(String resourceGroupName, String networkSecurityPerimeterName, String associationName)
      Gets the specified NSP association by name.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      associationName - The name of the NSP association.
      Returns:
      the specified NSP association 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<NspAssociationInner> getWithResponse(String resourceGroupName, String networkSecurityPerimeterName, String associationName, com.azure.core.util.Context context)
      Gets the specified NSP association by name.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      associationName - The name of the NSP association.
      context - The context to associate with this operation.
      Returns:
      the specified NSP association 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

      NspAssociationInner get(String resourceGroupName, String networkSecurityPerimeterName, String associationName)
      Gets the specified NSP association by name.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      associationName - The name of the NSP association.
      Returns:
      the specified NSP association 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<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String networkSecurityPerimeterName, String associationName, NspAssociationInner parameters)
      Creates or updates a NSP resource association.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      associationName - The name of the NSP association.
      parameters - Parameters that hold the NspAssociation resource to be created/updated.
      Returns:
      the NSP resource association 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.
    • beginCreateOrUpdateAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<NspAssociationInner>, NspAssociationInner> beginCreateOrUpdateAsync(String resourceGroupName, String networkSecurityPerimeterName, String associationName, NspAssociationInner parameters)
      Creates or updates a NSP resource association.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      associationName - The name of the NSP association.
      parameters - Parameters that hold the NspAssociation resource to be created/updated.
      Returns:
      the PollerFlux for polling of the NSP resource association 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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<NspAssociationInner>, NspAssociationInner> beginCreateOrUpdate(String resourceGroupName, String networkSecurityPerimeterName, String associationName, NspAssociationInner parameters)
      Creates or updates a NSP resource association.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      associationName - The name of the NSP association.
      parameters - Parameters that hold the NspAssociation resource to be created/updated.
      Returns:
      the SyncPoller for polling of the NSP resource association 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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<NspAssociationInner>, NspAssociationInner> beginCreateOrUpdate(String resourceGroupName, String networkSecurityPerimeterName, String associationName, NspAssociationInner parameters, com.azure.core.util.Context context)
      Creates or updates a NSP resource association.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      associationName - The name of the NSP association.
      parameters - Parameters that hold the NspAssociation resource to be created/updated.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of the NSP resource association 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.
    • createOrUpdateAsync

      Mono<NspAssociationInner> createOrUpdateAsync(String resourceGroupName, String networkSecurityPerimeterName, String associationName, NspAssociationInner parameters)
      Creates or updates a NSP resource association.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      associationName - The name of the NSP association.
      parameters - Parameters that hold the NspAssociation resource to be created/updated.
      Returns:
      the NSP resource association 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.
    • createOrUpdate

      NspAssociationInner createOrUpdate(String resourceGroupName, String networkSecurityPerimeterName, String associationName, NspAssociationInner parameters)
      Creates or updates a NSP resource association.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      associationName - The name of the NSP association.
      parameters - Parameters that hold the NspAssociation resource to be created/updated.
      Returns:
      the NSP resource association 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.
    • createOrUpdate

      NspAssociationInner createOrUpdate(String resourceGroupName, String networkSecurityPerimeterName, String associationName, NspAssociationInner parameters, com.azure.core.util.Context context)
      Creates or updates a NSP resource association.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      associationName - The name of the NSP association.
      parameters - Parameters that hold the NspAssociation resource to be created/updated.
      context - The context to associate with this operation.
      Returns:
      the NSP resource association 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, String associationName)
      Deletes an NSP association resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      associationName - The name of the NSP association.
      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, String associationName)
      Deletes an NSP association resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      associationName - The name of the NSP association.
      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, String associationName)
      Deletes an NSP association resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      associationName - The name of the NSP association.
      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, String associationName, com.azure.core.util.Context context)
      Deletes an NSP association resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      associationName - The name of the NSP association.
      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, String associationName)
      Deletes an NSP association resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      associationName - The name of the NSP association.
      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, String associationName)
      Deletes an NSP association resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      associationName - The name of the NSP association.
      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 associationName, com.azure.core.util.Context context)
      Deletes an NSP association resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      associationName - The name of the NSP association.
      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.
    • listAsync

      com.azure.core.http.rest.PagedFlux<NspAssociationInner> listAsync(String resourceGroupName, String networkSecurityPerimeterName, Integer top, String skipToken)
      Lists the NSP resource associations.
      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 resource associations 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<NspAssociationInner> listAsync(String resourceGroupName, String networkSecurityPerimeterName)
      Lists the NSP resource associations.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      Returns:
      result of the request to list NSP resource associations 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<NspAssociationInner> list(String resourceGroupName, String networkSecurityPerimeterName)
      Lists the NSP resource associations.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      Returns:
      result of the request to list NSP resource associations 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<NspAssociationInner> list(String resourceGroupName, String networkSecurityPerimeterName, Integer top, String skipToken, com.azure.core.util.Context context)
      Lists the NSP resource associations.
      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 resource associations 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 associationName, Object parameters)
      Reconcile NSP association.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      associationName - The name of the NSP association.
      parameters - Parameters for NSP association reconcile.
      Returns:
      any object 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.
    • reconcileAsync

      Mono<Object> reconcileAsync(String resourceGroupName, String networkSecurityPerimeterName, String associationName, Object parameters)
      Reconcile NSP association.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      associationName - The name of the NSP association.
      parameters - Parameters for NSP association 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 associationName, Object parameters, com.azure.core.util.Context context)
      Reconcile NSP association.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      associationName - The name of the NSP association.
      parameters - Parameters for NSP association 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 associationName, Object parameters)
      Reconcile NSP association.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      associationName - The name of the NSP association.
      parameters - Parameters for NSP association 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.