VMInsightsOnboardingStatusInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. monitor. fluent. models. VMInsightsOnboardingStatusInner
- com.
- com.
public final class VMInsightsOnboardingStatusInner
extends ProxyResource
VM Insights onboarding status for a resource.
Constructor Summary
Constructor | Description |
---|---|
VMInsightsOnboardingStatusInner() |
Creates an instance of VMInsights |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Data |
data()
Get the data property: Containers that currently store VM Insights data for the specified resource. |
Data |
dataStatus()
Get the data |
static
VMInsights |
fromJson(JsonReader jsonReader)
Reads an instance of VMInsights |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
Onboarding |
onboardingStatus()
Get the onboarding |
String |
resourceId()
Get the resource |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
VMInsights |
withData(List<DataContainer> data)
Set the data property: Containers that currently store VM Insights data for the specified resource. |
VMInsights |
withDataStatus(DataStatus dataStatus)
Set the data |
VMInsights |
withOnboardingStatus(OnboardingStatus onboardingStatus)
Set the onboarding |
VMInsights |
withResourceId(String resourceId)
Set the resource |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
VMInsightsOnboardingStatusInner
public VMInsightsOnboardingStatusInner()
Creates an instance of VMInsightsOnboardingStatusInner class.
Method Details
data
public List
Get the data property: Containers that currently store VM Insights data for the specified resource.
Returns:
dataStatus
public DataStatus dataStatus()
Get the dataStatus property: The status of VM Insights data from the resource. When reported as `present` the data array will contain information about the data containers to which data for the specified resource is being routed.
Returns:
fromJson
public static VMInsightsOnboardingStatusInner fromJson(JsonReader jsonReader)
Reads an instance of VMInsightsOnboardingStatusInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
VMInsightsOnboardingStatusInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
VMInsightsOnboardingStatusInner.name()Returns:
onboardingStatus
public OnboardingStatus onboardingStatus()
Get the onboardingStatus property: The onboarding status for the resource. Note that, a higher level scope, e.g., resource group or subscription, is considered onboarded if at least one resource under it is onboarded.
Returns:
resourceId
public String resourceId()
Get the resourceId property: Azure Resource Manager identifier of the resource whose onboarding status is being represented.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
VMInsightsOnboardingStatusInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
VMInsightsOnboardingStatusInner.type()Returns:
validate
public void validate()
Validates the instance.
withData
public VMInsightsOnboardingStatusInner withData(List
Set the data property: Containers that currently store VM Insights data for the specified resource.
Parameters:
Returns:
withDataStatus
public VMInsightsOnboardingStatusInner withDataStatus(DataStatus dataStatus)
Set the dataStatus property: The status of VM Insights data from the resource. When reported as `present` the data array will contain information about the data containers to which data for the specified resource is being routed.
Parameters:
Returns:
withOnboardingStatus
public VMInsightsOnboardingStatusInner withOnboardingStatus(OnboardingStatus onboardingStatus)
Set the onboardingStatus property: The onboarding status for the resource. Note that, a higher level scope, e.g., resource group or subscription, is considered onboarded if at least one resource under it is onboarded.
Parameters:
Returns:
withResourceId
public VMInsightsOnboardingStatusInner withResourceId(String resourceId)
Set the resourceId property: Azure Resource Manager identifier of the resource whose onboarding status is being represented.
Parameters:
Returns:
Applies to
Azure SDK for Java