Interface MarketplaceAgreements
public interface MarketplaceAgreements
Resource collection API of MarketplaceAgreements.
-
Method Summary
Modifier and TypeMethodDescriptionCreate Datadog marketplace agreement in the subscription.com.azure.core.http.rest.Response<DatadogAgreementResource>
createOrUpdateWithResponse
(DatadogAgreementResourceInner body, com.azure.core.util.Context context) Create Datadog marketplace agreement in the subscription.com.azure.core.http.rest.PagedIterable<DatadogAgreementResource>
list()
List Datadog marketplace agreements in the subscription.com.azure.core.http.rest.PagedIterable<DatadogAgreementResource>
list
(com.azure.core.util.Context context) List Datadog marketplace agreements in the subscription.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<DatadogAgreementResource> 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<DatadogAgreementResource> 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<DatadogAgreementResource> 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
DatadogAgreementResource 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.
-