
com.azure.resourcemanager.maintenance.fluent.ScheduledEventsClient Maven / Gradle / Ivy
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.maintenance.fluent;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceMethod;
import com.azure.core.http.rest.Response;
import com.azure.core.util.Context;
import com.azure.resourcemanager.maintenance.fluent.models.ScheduledEventApproveResponseInner;
/**
* An instance of this class provides access to all the operations defined in ScheduledEventsClient.
*/
public interface ScheduledEventsClient {
/**
* Post Scheduled Event Acknowledgement.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceType Resource type.
* @param resourceName Resource Name.
* @param scheduledEventId Scheduled Event Id. This is a GUID-formatted string (e.g.
* 00000000-0000-0000-0000-000000000000).
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return response of scheduled event acknowledge along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response acknowledgeWithResponse(String resourceGroupName, String resourceType,
String resourceName, String scheduledEventId, Context context);
/**
* Post Scheduled Event Acknowledgement.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param resourceType Resource type.
* @param resourceName Resource Name.
* @param scheduledEventId Scheduled Event Id. This is a GUID-formatted string (e.g.
* 00000000-0000-0000-0000-000000000000).
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return response of scheduled event acknowledge.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
ScheduledEventApproveResponseInner acknowledge(String resourceGroupName, String resourceType, String resourceName,
String scheduledEventId);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy