Interface MarketplaceAgreementsClient


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

    • list

      com.azure.core.http.rest.PagedIterable<DatadogAgreementResourceInner> list()
      List Datadog marketplace agreements in the subscription.
      Returns:
      response of a list operation 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<DatadogAgreementResourceInner> list(com.azure.core.util.Context context)
      List Datadog marketplace agreements in the subscription.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      response of a list operation 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.
    • createOrUpdateWithResponse

      com.azure.core.http.rest.Response<DatadogAgreementResourceInner> createOrUpdateWithResponse(DatadogAgreementResourceInner body, com.azure.core.util.Context context)
      Create Datadog marketplace agreement in the subscription.
      Parameters:
      body - The body parameter.
      context - The context to associate with this operation.
      Returns:
      the response body 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

      Create Datadog marketplace agreement in the subscription.
      Returns:
      the response.
      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.