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

com.azure.resourcemanager.netapp.models.CheckAvailabilityResponse 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.resourcemanager.netapp.fluent.models.CheckAvailabilityResponseInner;

/**
 * An immutable client-side representation of CheckAvailabilityResponse.
 */
public interface CheckAvailabilityResponse {
    /**
     * Gets the isAvailable property: <code>true</code> indicates name is valid and available.
     * <code>false</code> indicates the name is invalid, unavailable, or both.
     * 
     * @return the isAvailable value.
     */
    Boolean isAvailable();

    /**
     * Gets the reason property: <code>Invalid</code> indicates the name provided does not match Azure App
     * Service naming requirements. <code>AlreadyExists</code> indicates that the name is already in use and
     * is therefore unavailable.
     * 
     * @return the reason value.
     */
    InAvailabilityReasonType reason();

    /**
     * Gets the message property: If reason == invalid, provide the user with the reason why the given name is invalid,
     * and provide the resource naming requirements so that the user can select a valid name. If reason ==
     * AlreadyExists, explain that resource name is already in use, and direct them to select a different name.
     * 
     * @return the message value.
     */
    String message();

    /**
     * Gets the inner com.azure.resourcemanager.netapp.fluent.models.CheckAvailabilityResponseInner object.
     * 
     * @return the inner object.
     */
    CheckAvailabilityResponseInner innerModel();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy