Interface DataCollectionRuleAssociationsClient

All Superinterfaces:
InnerSupportsDelete<Void>

public interface DataCollectionRuleAssociationsClient extends InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in DataCollectionRuleAssociationsClient.
  • Method Details

    • listByResourceAsync

      com.azure.core.http.rest.PagedFlux<DataCollectionRuleAssociationProxyOnlyResourceInner> listByResourceAsync(String resourceUri)
      Lists associations for the specified resource.
      Parameters:
      resourceUri - The identifier of the resource.
      Returns:
      a pageable list of 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.
    • listByResource

      com.azure.core.http.rest.PagedIterable<DataCollectionRuleAssociationProxyOnlyResourceInner> listByResource(String resourceUri)
      Lists associations for the specified resource.
      Parameters:
      resourceUri - The identifier of the resource.
      Returns:
      a pageable list of 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.
    • listByResource

      com.azure.core.http.rest.PagedIterable<DataCollectionRuleAssociationProxyOnlyResourceInner> listByResource(String resourceUri, com.azure.core.util.Context context)
      Lists associations for the specified resource.
      Parameters:
      resourceUri - The identifier of the resource.
      context - The context to associate with this operation.
      Returns:
      a pageable list of 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.
    • listByRuleAsync

      com.azure.core.http.rest.PagedFlux<DataCollectionRuleAssociationProxyOnlyResourceInner> listByRuleAsync(String resourceGroupName, String dataCollectionRuleName)
      Lists associations for the specified data collection rule.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      dataCollectionRuleName - The name of the data collection rule. The name is case insensitive.
      Returns:
      a pageable list of 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.
    • listByRule

      com.azure.core.http.rest.PagedIterable<DataCollectionRuleAssociationProxyOnlyResourceInner> listByRule(String resourceGroupName, String dataCollectionRuleName)
      Lists associations for the specified data collection rule.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      dataCollectionRuleName - The name of the data collection rule. The name is case insensitive.
      Returns:
      a pageable list of 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.
    • listByRule

      com.azure.core.http.rest.PagedIterable<DataCollectionRuleAssociationProxyOnlyResourceInner> listByRule(String resourceGroupName, String dataCollectionRuleName, com.azure.core.util.Context context)
      Lists associations for the specified data collection rule.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      dataCollectionRuleName - The name of the data collection rule. The name is case insensitive.
      context - The context to associate with this operation.
      Returns:
      a pageable list of 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.
    • listByDataCollectionEndpointAsync

      com.azure.core.http.rest.PagedFlux<DataCollectionRuleAssociationProxyOnlyResourceInner> listByDataCollectionEndpointAsync(String resourceGroupName, String dataCollectionEndpointName)
      Lists associations for the specified data collection endpoint.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      dataCollectionEndpointName - The name of the data collection endpoint. The name is case insensitive.
      Returns:
      a pageable list of 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.
    • listByDataCollectionEndpoint

      com.azure.core.http.rest.PagedIterable<DataCollectionRuleAssociationProxyOnlyResourceInner> listByDataCollectionEndpoint(String resourceGroupName, String dataCollectionEndpointName)
      Lists associations for the specified data collection endpoint.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      dataCollectionEndpointName - The name of the data collection endpoint. The name is case insensitive.
      Returns:
      a pageable list of 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.
    • listByDataCollectionEndpoint

      com.azure.core.http.rest.PagedIterable<DataCollectionRuleAssociationProxyOnlyResourceInner> listByDataCollectionEndpoint(String resourceGroupName, String dataCollectionEndpointName, com.azure.core.util.Context context)
      Lists associations for the specified data collection endpoint.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      dataCollectionEndpointName - The name of the data collection endpoint. The name is case insensitive.
      context - The context to associate with this operation.
      Returns:
      a pageable list of 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.
    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<DataCollectionRuleAssociationProxyOnlyResourceInner>> getWithResponseAsync(String resourceUri, String associationName)
      Returns the specified association.
      Parameters:
      resourceUri - The identifier of the resource.
      associationName - The name of the association. The name is case insensitive.
      Returns:
      definition of generic ARM proxy 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<DataCollectionRuleAssociationProxyOnlyResourceInner> getAsync(String resourceUri, String associationName)
      Returns the specified association.
      Parameters:
      resourceUri - The identifier of the resource.
      associationName - The name of the association. The name is case insensitive.
      Returns:
      definition of generic ARM proxy 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<DataCollectionRuleAssociationProxyOnlyResourceInner> getWithResponse(String resourceUri, String associationName, com.azure.core.util.Context context)
      Returns the specified association.
      Parameters:
      resourceUri - The identifier of the resource.
      associationName - The name of the association. The name is case insensitive.
      context - The context to associate with this operation.
      Returns:
      definition of generic ARM proxy 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

      Returns the specified association.
      Parameters:
      resourceUri - The identifier of the resource.
      associationName - The name of the association. The name is case insensitive.
      Returns:
      definition of generic ARM proxy 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.
    • createWithResponseAsync

      Mono<com.azure.core.http.rest.Response<DataCollectionRuleAssociationProxyOnlyResourceInner>> createWithResponseAsync(String resourceUri, String associationName, DataCollectionRuleAssociationProxyOnlyResourceInner body)
      Creates or updates an association.
      Parameters:
      resourceUri - The identifier of the resource.
      associationName - The name of the association. The name is case insensitive.
      body - The payload.
      Returns:
      definition of generic ARM proxy 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.
    • createAsync

      Mono<DataCollectionRuleAssociationProxyOnlyResourceInner> createAsync(String resourceUri, String associationName)
      Creates or updates an association.
      Parameters:
      resourceUri - The identifier of the resource.
      associationName - The name of the association. The name is case insensitive.
      Returns:
      definition of generic ARM proxy 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.
    • createWithResponse

      com.azure.core.http.rest.Response<DataCollectionRuleAssociationProxyOnlyResourceInner> createWithResponse(String resourceUri, String associationName, DataCollectionRuleAssociationProxyOnlyResourceInner body, com.azure.core.util.Context context)
      Creates or updates an association.
      Parameters:
      resourceUri - The identifier of the resource.
      associationName - The name of the association. The name is case insensitive.
      body - The payload.
      context - The context to associate with this operation.
      Returns:
      definition of generic ARM proxy 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.
    • create

      DataCollectionRuleAssociationProxyOnlyResourceInner create(String resourceUri, String associationName)
      Creates or updates an association.
      Parameters:
      resourceUri - The identifier of the resource.
      associationName - The name of the association. The name is case insensitive.
      Returns:
      definition of generic ARM proxy 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 resourceUri, String associationName)
      Deletes an association.
      Parameters:
      resourceUri - The identifier of the resource.
      associationName - The name of the association. The name is case insensitive.
      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 resourceUri, String associationName)
      Deletes an association.
      Specified by:
      deleteAsync in interface InnerSupportsDelete<Void>
      Parameters:
      resourceUri - The identifier of the resource.
      associationName - The name of the association. The name is case insensitive.
      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 resourceUri, String associationName, com.azure.core.util.Context context)
      Deletes an association.
      Parameters:
      resourceUri - The identifier of the resource.
      associationName - The name of the association. The name is case insensitive.
      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 resourceUri, String associationName)
      Deletes an association.
      Parameters:
      resourceUri - The identifier of the resource.
      associationName - The name of the association. The name is case insensitive.
      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.