VMInsightsOnboardingStatusInner Class

public final class VMInsightsOnboardingStatusInner
extends ProxyResource

VM Insights onboarding status for a resource.

Constructor Summary

Constructor Description
VMInsightsOnboardingStatusInner()

Creates an instance of VMInsightsOnboardingStatusInner class.

Method Summary

Modifier and Type Method and Description
List<DataContainer> data()

Get the data property: Containers that currently store VM Insights data for the specified resource.

DataStatus dataStatus()

Get the dataStatus property: The status of VM Insights data from the resource.

static VMInsightsOnboardingStatusInner fromJson(JsonReader jsonReader)

Reads an instance of VMInsightsOnboardingStatusInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

OnboardingStatus onboardingStatus()

Get the onboardingStatus property: The onboarding status for the resource.

String resourceId()

Get the resourceId property: Azure Resource Manager identifier of the resource whose onboarding status is being represented.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

VMInsightsOnboardingStatusInner withData(List<DataContainer> data)

Set the data property: Containers that currently store VM Insights data for the specified resource.

VMInsightsOnboardingStatusInner withDataStatus(DataStatus dataStatus)

Set the dataStatus property: The status of VM Insights data from the resource.

VMInsightsOnboardingStatusInner withOnboardingStatus(OnboardingStatus onboardingStatus)

Set the onboardingStatus property: The onboarding status for the resource.

VMInsightsOnboardingStatusInner withResourceId(String resourceId)

Set the resourceId property: Azure Resource Manager identifier of the resource whose onboarding status is being represented.

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 data()

Get the data property: Containers that currently store VM Insights data for the specified resource.

Returns:

the data value.

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:

the dataStatus value.

fromJson

public static VMInsightsOnboardingStatusInner fromJson(JsonReader jsonReader)

Reads an instance of VMInsightsOnboardingStatusInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of VMInsightsOnboardingStatusInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

VMInsightsOnboardingStatusInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

VMInsightsOnboardingStatusInner.name()

Returns:

the name value.

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:

the onboardingStatus value.

resourceId

public String resourceId()

Get the resourceId property: Azure Resource Manager identifier of the resource whose onboarding status is being represented.

Returns:

the resourceId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

VMInsightsOnboardingStatusInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

VMInsightsOnboardingStatusInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withData

public VMInsightsOnboardingStatusInner withData(List data)

Set the data property: Containers that currently store VM Insights data for the specified resource.

Parameters:

data - the data value to set.

Returns:

the VMInsightsOnboardingStatusInner object itself.

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:

dataStatus - the dataStatus value to set.

Returns:

the VMInsightsOnboardingStatusInner object itself.

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:

onboardingStatus - the onboardingStatus value to set.

Returns:

the VMInsightsOnboardingStatusInner object itself.

withResourceId

public VMInsightsOnboardingStatusInner withResourceId(String resourceId)

Set the resourceId property: Azure Resource Manager identifier of the resource whose onboarding status is being represented.

Parameters:

resourceId - the resourceId value to set.

Returns:

the VMInsightsOnboardingStatusInner object itself.

Applies to