com.azure.resourcemanager.automation.fluent.SoftwareUpdateConfigurationsClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-automation Show documentation
Show all versions of azure-resourcemanager-automation Show documentation
This package contains Microsoft Azure SDK for Automation Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Automation Client. Package tag package-2022-02-22.
The newest version!
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.automation.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.automation.fluent.models.SoftwareUpdateConfigurationInner;
import com.azure.resourcemanager.automation.fluent.models.SoftwareUpdateConfigurationListResultInner;
/**
* An instance of this class provides access to all the operations defined in SoftwareUpdateConfigurationsClient.
*/
public interface SoftwareUpdateConfigurationsClient {
/**
* Create a new software update configuration with the name given in the URI.
*
* @param resourceGroupName Name of an Azure Resource group.
* @param automationAccountName The name of the automation account.
* @param softwareUpdateConfigurationName The name of the software update configuration to be created.
* @param parameters Request body.
* @param clientRequestId Identifies this specific client request.
* @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 software update configuration properties along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response createWithResponse(String resourceGroupName,
String automationAccountName, String softwareUpdateConfigurationName,
SoftwareUpdateConfigurationInner parameters, String clientRequestId, Context context);
/**
* Create a new software update configuration with the name given in the URI.
*
* @param resourceGroupName Name of an Azure Resource group.
* @param automationAccountName The name of the automation account.
* @param softwareUpdateConfigurationName The name of the software update configuration to be created.
* @param parameters Request body.
* @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 software update configuration properties.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
SoftwareUpdateConfigurationInner create(String resourceGroupName, String automationAccountName,
String softwareUpdateConfigurationName, SoftwareUpdateConfigurationInner parameters);
/**
* Get a single software update configuration by name.
*
* @param resourceGroupName Name of an Azure Resource group.
* @param automationAccountName The name of the automation account.
* @param softwareUpdateConfigurationName The name of the software update configuration to be created.
* @param clientRequestId Identifies this specific client request.
* @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 a single software update configuration by name along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getByNameWithResponse(String resourceGroupName,
String automationAccountName, String softwareUpdateConfigurationName, String clientRequestId, Context context);
/**
* Get a single software update configuration by name.
*
* @param resourceGroupName Name of an Azure Resource group.
* @param automationAccountName The name of the automation account.
* @param softwareUpdateConfigurationName The name of the software update configuration to be created.
* @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 a single software update configuration by name.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
SoftwareUpdateConfigurationInner getByName(String resourceGroupName, String automationAccountName,
String softwareUpdateConfigurationName);
/**
* delete a specific software update configuration.
*
* @param resourceGroupName Name of an Azure Resource group.
* @param automationAccountName The name of the automation account.
* @param softwareUpdateConfigurationName The name of the software update configuration to be created.
* @param clientRequestId Identifies this specific client request.
* @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 the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response deleteWithResponse(String resourceGroupName, String automationAccountName,
String softwareUpdateConfigurationName, String clientRequestId, Context context);
/**
* delete a specific software update configuration.
*
* @param resourceGroupName Name of an Azure Resource group.
* @param automationAccountName The name of the automation account.
* @param softwareUpdateConfigurationName The name of the software update configuration to be created.
* @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.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
void delete(String resourceGroupName, String automationAccountName, String softwareUpdateConfigurationName);
/**
* Get all software update configurations for the account.
*
* @param resourceGroupName Name of an Azure Resource group.
* @param automationAccountName The name of the automation account.
* @param clientRequestId Identifies this specific client request.
* @param filter The filter to apply on the operation.
* @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 all software update configurations for the account along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response listWithResponse(String resourceGroupName,
String automationAccountName, String clientRequestId, String filter, Context context);
/**
* Get all software update configurations for the account.
*
* @param resourceGroupName Name of an Azure Resource group.
* @param automationAccountName The name of the automation account.
* @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 all software update configurations for the account.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
SoftwareUpdateConfigurationListResultInner list(String resourceGroupName, String automationAccountName);
}