com.azure.resourcemanager.advisor.models.ConfigData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-advisor Show documentation
Show all versions of azure-resourcemanager-advisor Show documentation
This package contains Microsoft Azure SDK for Advisor Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. REST APIs for Azure Advisor. Package tag package-2020-01.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.advisor.models;
import com.azure.core.util.Context;
import com.azure.resourcemanager.advisor.fluent.models.ConfigDataInner;
import java.util.List;
/**
* An immutable client-side representation of ConfigData.
*/
public interface ConfigData {
/**
* Gets the id property: Fully qualified resource Id for the resource.
*
* @return the id value.
*/
String id();
/**
* Gets the name property: The name of the resource.
*
* @return the name value.
*/
String name();
/**
* Gets the type property: The type of the resource.
*
* @return the type value.
*/
String type();
/**
* Gets the exclude property: Exclude the resource from Advisor evaluations. Valid values: False (default) or True.
*
* @return the exclude value.
*/
Boolean exclude();
/**
* Gets the lowCpuThreshold property: Minimum percentage threshold for Advisor low CPU utilization evaluation. Valid
* only for subscriptions. Valid values: 5 (default), 10, 15 or 20.
*
* @return the lowCpuThreshold value.
*/
CpuThreshold lowCpuThreshold();
/**
* Gets the digests property: Advisor digest configuration. Valid only for subscriptions.
*
* @return the digests value.
*/
List digests();
/**
* Gets the inner com.azure.resourcemanager.advisor.fluent.models.ConfigDataInner object.
*
* @return the inner object.
*/
ConfigDataInner innerModel();
/**
* The entirety of the ConfigData definition.
*/
interface Definition
extends DefinitionStages.Blank, DefinitionStages.WithResourceGroup, DefinitionStages.WithCreate {
}
/**
* The ConfigData definition stages.
*/
interface DefinitionStages {
/**
* The first stage of the ConfigData definition.
*/
interface Blank extends WithResourceGroup {
}
/**
* The stage of the ConfigData definition allowing to specify parent resource.
*/
interface WithResourceGroup {
/**
* Specifies resourceGroup.
*
* @param resourceGroup The name of the Azure resource group.
* @return the next definition stage.
*/
WithCreate withExistingResourceGroup(String resourceGroup);
}
/**
* The stage of the ConfigData definition which contains all the minimum required properties for the resource to
* be created, but also allows for any other optional properties to be specified.
*/
interface WithCreate
extends DefinitionStages.WithExclude, DefinitionStages.WithLowCpuThreshold, DefinitionStages.WithDigests {
/**
* Executes the create request.
*
* @return the created resource.
*/
ConfigData create();
/**
* Executes the create request.
*
* @param context The context to associate with this operation.
* @return the created resource.
*/
ConfigData create(Context context);
}
/**
* The stage of the ConfigData definition allowing to specify exclude.
*/
interface WithExclude {
/**
* Specifies the exclude property: Exclude the resource from Advisor evaluations. Valid values: False
* (default) or True..
*
* @param exclude Exclude the resource from Advisor evaluations. Valid values: False (default) or True.
* @return the next definition stage.
*/
WithCreate withExclude(Boolean exclude);
}
/**
* The stage of the ConfigData definition allowing to specify lowCpuThreshold.
*/
interface WithLowCpuThreshold {
/**
* Specifies the lowCpuThreshold property: Minimum percentage threshold for Advisor low CPU utilization
* evaluation. Valid only for subscriptions. Valid values: 5 (default), 10, 15 or 20..
*
* @param lowCpuThreshold Minimum percentage threshold for Advisor low CPU utilization evaluation. Valid
* only for subscriptions. Valid values: 5 (default), 10, 15 or 20.
* @return the next definition stage.
*/
WithCreate withLowCpuThreshold(CpuThreshold lowCpuThreshold);
}
/**
* The stage of the ConfigData definition allowing to specify digests.
*/
interface WithDigests {
/**
* Specifies the digests property: Advisor digest configuration. Valid only for subscriptions.
*
* @param digests Advisor digest configuration. Valid only for subscriptions.
* @return the next definition stage.
*/
WithCreate withDigests(List digests);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy