com.azure.resourcemanager.storagecache.fluent.ResourceProvidersClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-storagecache Show documentation
Show all versions of azure-resourcemanager-storagecache Show documentation
This package contains Microsoft Azure SDK for StorageCache Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Azure Managed Lustre provides a fully managed Lustre® file system, integrated with Blob storage, for use on demand. These operations create and manage Azure Managed Lustre file systems. Package tag package-2024-03.
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.storagecache.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.storagecache.fluent.models.RequiredAmlFilesystemSubnetsSizeInner;
import com.azure.resourcemanager.storagecache.models.AmlFilesystemSubnetInfo;
import com.azure.resourcemanager.storagecache.models.RequiredAmlFilesystemSubnetsSizeInfo;
/**
* An instance of this class provides access to all the operations defined in ResourceProvidersClient.
*/
public interface ResourceProvidersClient {
/**
* Check that subnets will be valid for AML file system create calls.
*
* @param amlFilesystemSubnetInfo Information about the subnets to validate.
* @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 com.azure.resourcemanager.storagecache.models.AmlFilesystemCheckSubnetErrorException thrown if the
* request is rejected by server on status code 400.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response checkAmlFSSubnetsWithResponse(AmlFilesystemSubnetInfo amlFilesystemSubnetInfo, Context context);
/**
* Check that subnets will be valid for AML file system create calls.
*
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws com.azure.resourcemanager.storagecache.models.AmlFilesystemCheckSubnetErrorException thrown if the
* request is rejected by server on status code 400.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
void checkAmlFSSubnets();
/**
* Get the number of available IP addresses needed for the AML file system information provided.
*
* @param requiredAmlFilesystemSubnetsSizeInfo Information to determine the number of available IPs a subnet will
* need to host the AML file system.
* @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 number of available IP addresses needed for the AML file system information provided along with
* {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getRequiredAmlFSSubnetsSizeWithResponse(
RequiredAmlFilesystemSubnetsSizeInfo requiredAmlFilesystemSubnetsSizeInfo, Context context);
/**
* Get the number of available IP addresses needed for the AML file system information provided.
*
* @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 number of available IP addresses needed for the AML file system information provided.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
RequiredAmlFilesystemSubnetsSizeInner getRequiredAmlFSSubnetsSize();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy