Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/
package com.microsoft.azure.management.batchai;
import com.microsoft.azure.management.apigeneration.Beta;
import com.microsoft.azure.management.apigeneration.Fluent;
import com.microsoft.azure.management.batchai.implementation.UsageInner;
import com.microsoft.azure.management.resources.fluentcore.model.HasInner;
An immutable client-side representation of an Azure Batch AI resource usage info object.
/**
* An immutable client-side representation of an Azure Batch AI resource usage info object.
*/
@Fluent
@Beta(Beta.SinceVersion.V1_10_0)
public interface BatchAIUsage extends HasInner<UsageInner> {
Returns: the unit of usage measurement
/**
* @return the unit of usage measurement
*/
UsageUnit unit();
Returns: the current count of the allocated resources in the subscription
/**
* @return the current count of the allocated resources in the subscription
*/
int currentValue();
Returns: the maximum count of the resources that can be allocated in the
subscription
/**
* @return the maximum count of the resources that can be allocated in the
* subscription
*/
long limit();
Returns: the name of the type of usage
/**
* @return the name of the type of usage
*/
UsageName name();
}