All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.resourcemanager.netapp.models.NetAppResources Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure SDK for NetAppFiles Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Microsoft NetApp Files Azure Resource Provider specification. Package tag package-preview-2024-07-01-preview.

There is a newer version: 1.6.0-beta.1
Show 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.netapp.models;

import com.azure.core.http.rest.Response;
import com.azure.core.util.Context;

/**
 * Resource collection API of NetAppResources.
 */
public interface NetAppResources {
    /**
     * Check resource name availability
     * 
     * Check if a resource name is available.
     * 
     * @param location The name of the Azure region.
     * @param body Name availability 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 information regarding availability of a resource along with {@link Response}.
     */
    Response checkNameAvailabilityWithResponse(String location,
        ResourceNameAvailabilityRequest body, Context context);

    /**
     * Check resource name availability
     * 
     * Check if a resource name is available.
     * 
     * @param location The name of the Azure region.
     * @param body Name availability request.
     * @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 information regarding availability of a resource.
     */
    CheckAvailabilityResponse checkNameAvailability(String location, ResourceNameAvailabilityRequest body);

    /**
     * Check file path availability
     * 
     * Check if a file path is available.
     * 
     * @param location The name of the Azure region.
     * @param body File path availability 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 information regarding availability of a resource along with {@link Response}.
     */
    Response checkFilePathAvailabilityWithResponse(String location,
        FilePathAvailabilityRequest body, Context context);

    /**
     * Check file path availability
     * 
     * Check if a file path is available.
     * 
     * @param location The name of the Azure region.
     * @param body File path availability request.
     * @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 information regarding availability of a resource.
     */
    CheckAvailabilityResponse checkFilePathAvailability(String location, FilePathAvailabilityRequest body);

    /**
     * Check quota availability
     * 
     * Check if a quota is available.
     * 
     * @param location The name of the Azure region.
     * @param body Quota availability 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 information regarding availability of a resource along with {@link Response}.
     */
    Response checkQuotaAvailabilityWithResponse(String location,
        QuotaAvailabilityRequest body, Context context);

    /**
     * Check quota availability
     * 
     * Check if a quota is available.
     * 
     * @param location The name of the Azure region.
     * @param body Quota availability request.
     * @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 information regarding availability of a resource.
     */
    CheckAvailabilityResponse checkQuotaAvailability(String location, QuotaAvailabilityRequest body);

    /**
     * Describes region specific information.
     * 
     * Provides storage to network proximity and logical zone mapping information.
     * 
     * @param location The name of the Azure region.
     * @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 provides region specific information along with {@link Response}.
     */
    Response queryRegionInfoWithResponse(String location, Context context);

    /**
     * Describes region specific information.
     * 
     * Provides storage to network proximity and logical zone mapping information.
     * 
     * @param location The name of the Azure region.
     * @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 provides region specific information.
     */
    RegionInfo queryRegionInfo(String location);

    /**
     * Describe a network sibling set
     * 
     * Get details of the specified network sibling set.
     * 
     * @param location The name of the Azure region.
     * @param body Network sibling set to query.
     * @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 details of the specified network sibling set along with {@link Response}.
     */
    Response queryNetworkSiblingSetWithResponse(String location, QueryNetworkSiblingSetRequest body,
        Context context);

    /**
     * Describe a network sibling set
     * 
     * Get details of the specified network sibling set.
     * 
     * @param location The name of the Azure region.
     * @param body Network sibling set to query.
     * @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 details of the specified network sibling set.
     */
    NetworkSiblingSet queryNetworkSiblingSet(String location, QueryNetworkSiblingSetRequest body);

    /**
     * Update the network features of a network sibling set
     * 
     * Update the network features of the specified network sibling set.
     * 
     * @param location The name of the Azure region.
     * @param body Update for the specified network sibling set.
     * @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 network sibling set.
     */
    NetworkSiblingSet updateNetworkSiblingSet(String location, UpdateNetworkSiblingSetRequest body);

    /**
     * Update the network features of a network sibling set
     * 
     * Update the network features of the specified network sibling set.
     * 
     * @param location The name of the Azure region.
     * @param body Update for the specified network sibling set.
     * @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 network sibling set.
     */
    NetworkSiblingSet updateNetworkSiblingSet(String location, UpdateNetworkSiblingSetRequest body, Context context);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy