Interface NetworkSecurityPerimeterLinksClient


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

    • getWithResponseAsync

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

      Mono<NspLinkInner> getAsync(String resourceGroupName, String networkSecurityPerimeterName, String linkName)
      Gets the specified NSP link resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      linkName - The name of the NSP link.
      Returns:
      the specified NSP link 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.
    • getWithResponse

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

      NspLinkInner get(String resourceGroupName, String networkSecurityPerimeterName, String linkName)
      Gets the specified NSP link resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      linkName - The name of the NSP link.
      Returns:
      the specified NSP link 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.
    • createOrUpdateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<NspLinkInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String networkSecurityPerimeterName, String linkName, NspLinkInner parameters)
      Creates or updates NSP link resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      linkName - The name of the NSP link.
      parameters - Parameters that hold the NspLink resource to be created/updated.
      Returns:
      the network security perimeter link 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<NspLinkInner> createOrUpdateAsync(String resourceGroupName, String networkSecurityPerimeterName, String linkName, NspLinkInner parameters)
      Creates or updates NSP link resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      linkName - The name of the NSP link.
      parameters - Parameters that hold the NspLink resource to be created/updated.
      Returns:
      the network security perimeter link 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<NspLinkInner> createOrUpdateWithResponse(String resourceGroupName, String networkSecurityPerimeterName, String linkName, NspLinkInner parameters, com.azure.core.util.Context context)
      Creates or updates NSP link resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      linkName - The name of the NSP link.
      parameters - Parameters that hold the NspLink resource to be created/updated.
      context - The context to associate with this operation.
      Returns:
      the network security perimeter link 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

      NspLinkInner createOrUpdate(String resourceGroupName, String networkSecurityPerimeterName, String linkName, NspLinkInner parameters)
      Creates or updates NSP link resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      linkName - The name of the NSP link.
      parameters - Parameters that hold the NspLink resource to be created/updated.
      Returns:
      the network security perimeter link 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 linkName)
      Deletes an NSP Link resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      linkName - The name of the NSP link.
      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 linkName)
      Deletes an NSP Link resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      linkName - The name of the NSP link.
      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 linkName)
      Deletes an NSP Link resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      linkName - The name of the NSP link.
      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 linkName, com.azure.core.util.Context context)
      Deletes an NSP Link resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      linkName - The name of the NSP link.
      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 linkName)
      Deletes an NSP Link resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      linkName - The name of the NSP link.
      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 linkName)
      Deletes an NSP Link resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      linkName - The name of the NSP link.
      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 linkName, com.azure.core.util.Context context)
      Deletes an NSP Link resource.
      Parameters:
      resourceGroupName - The name of the resource group.
      networkSecurityPerimeterName - The name of the network security perimeter.
      linkName - The name of the NSP link.
      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<NspLinkInner> listAsync(String resourceGroupName, String networkSecurityPerimeterName, Integer top, String skipToken)
      Lists the NSP Link resources 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 link resources 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<NspLinkInner> listAsync(String resourceGroupName, String networkSecurityPerimeterName)
      Lists the NSP Link resources 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 link resources 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<NspLinkInner> list(String resourceGroupName, String networkSecurityPerimeterName)
      Lists the NSP Link resources 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 link resources 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<NspLinkInner> list(String resourceGroupName, String networkSecurityPerimeterName, Integer top, String skipToken, com.azure.core.util.Context context)
      Lists the NSP Link resources 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 link resources 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.