com.azure.resourcemanager.hybridcompute.models.Machines Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-hybridcompute Show documentation
Show all versions of azure-resourcemanager-hybridcompute Show documentation
This package contains Microsoft Azure SDK for HybridCompute Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. The Hybrid Compute Management Client. Package tag package-preview-2024-07.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.hybridcompute.models;
import com.azure.core.http.rest.PagedIterable;
import com.azure.core.http.rest.Response;
import com.azure.core.util.Context;
/**
* Resource collection API of Machines.
*/
public interface Machines {
/**
* The operation to delete a hybrid machine.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param machineName The name of the hybrid machine.
* @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}.
*/
Response deleteByResourceGroupWithResponse(String resourceGroupName, String machineName, Context context);
/**
* The operation to delete a hybrid machine.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param machineName The name of the hybrid machine.
* @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.
*/
void deleteByResourceGroup(String resourceGroupName, String machineName);
/**
* Retrieves information about the model view or the instance view of a hybrid machine.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param machineName The name of the hybrid machine.
* @param expand The expand expression 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 describes a hybrid machine along with {@link Response}.
*/
Response getByResourceGroupWithResponse(String resourceGroupName, String machineName, String expand,
Context context);
/**
* Retrieves information about the model view or the instance view of a hybrid machine.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param machineName The name of the hybrid machine.
* @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 describes a hybrid machine.
*/
Machine getByResourceGroup(String resourceGroupName, String machineName);
/**
* The operation to assess patches on a hybrid machine identity in Azure.
*
* @param resourceGroupName The name of the resource group.
* @param name The name of the hybrid machine.
* @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 describes the properties of an AssessPatches result.
*/
MachineAssessPatchesResult assessPatches(String resourceGroupName, String name);
/**
* The operation to assess patches on a hybrid machine identity in Azure.
*
* @param resourceGroupName The name of the resource group.
* @param name The name of the hybrid machine.
* @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 describes the properties of an AssessPatches result.
*/
MachineAssessPatchesResult assessPatches(String resourceGroupName, String name, Context context);
/**
* The operation to install patches on a hybrid machine identity in Azure.
*
* @param resourceGroupName The name of the resource group.
* @param name The name of the hybrid machine.
* @param installPatchesInput Input for InstallPatches as directly received by the API.
* @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 result summary of an installation operation.
*/
MachineInstallPatchesResult installPatches(String resourceGroupName, String name,
MachineInstallPatchesParameters installPatchesInput);
/**
* The operation to install patches on a hybrid machine identity in Azure.
*
* @param resourceGroupName The name of the resource group.
* @param name The name of the hybrid machine.
* @param installPatchesInput Input for InstallPatches as directly received by the API.
* @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 result summary of an installation operation.
*/
MachineInstallPatchesResult installPatches(String resourceGroupName, String name,
MachineInstallPatchesParameters installPatchesInput, Context context);
/**
* Lists all the hybrid machines in the specified resource group. Use the nextLink property in the response to get
* the next page of hybrid machines.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @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 List hybrid machine operation response as paginated response with {@link PagedIterable}.
*/
PagedIterable listByResourceGroup(String resourceGroupName);
/**
* Lists all the hybrid machines in the specified resource group. Use the nextLink property in the response to get
* the next page of hybrid machines.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param expand Expands referenced resources.
* @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 List hybrid machine operation response as paginated response with {@link PagedIterable}.
*/
PagedIterable listByResourceGroup(String resourceGroupName, String expand, Context context);
/**
* Lists all the hybrid machines in the specified subscription. Use the nextLink property in the response to get the
* next page of hybrid machines.
*
* @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 List hybrid machine operation response as paginated response with {@link PagedIterable}.
*/
PagedIterable list();
/**
* Lists all the hybrid machines in the specified subscription. Use the nextLink property in the response to get the
* next page of hybrid machines.
*
* @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 List hybrid machine operation response as paginated response with {@link PagedIterable}.
*/
PagedIterable list(Context context);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy