com.azure.resourcemanager.servicefabricmanagedclusters.models.ManagedUnsupportedVMSizes 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.servicefabricmanagedclusters.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 ManagedUnsupportedVMSizes.
*/
public interface ManagedUnsupportedVMSizes {
/**
* Get the lists of unsupported vm sizes for Service Fabric Managed Clusters.
*
* @param location The location for the cluster code versions. This is different from cluster location.
* @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 lists of unsupported vm sizes for Service Fabric Managed Clusters as paginated response with
* {@link PagedIterable}.
*/
PagedIterable list(String location);
/**
* Get the lists of unsupported vm sizes for Service Fabric Managed Clusters.
*
* @param location The location for the cluster code versions. This is different from cluster location.
* @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 lists of unsupported vm sizes for Service Fabric Managed Clusters as paginated response with
* {@link PagedIterable}.
*/
PagedIterable list(String location, Context context);
/**
* Get unsupported vm size for Service Fabric Managed Clusters.
*
* @param location The location for the cluster code versions. This is different from cluster location.
* @param vmSize VM Size name.
* @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 unsupported vm size for Service Fabric Managed Clusters along with {@link Response}.
*/
Response getWithResponse(String location, String vmSize, Context context);
/**
* Get unsupported vm size for Service Fabric Managed Clusters.
*
* @param location The location for the cluster code versions. This is different from cluster location.
* @param vmSize VM Size name.
* @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 unsupported vm size for Service Fabric Managed Clusters.
*/
ManagedVMSize get(String location, String vmSize);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy