VMInsightsOnboardingStatusInner Class

  • java.lang.Object
    • ProxyResource
      • com.microsoft.azure.management.monitor.implementation.VMInsightsOnboardingStatusInner

public class VMInsightsOnboardingStatusInner

VM Insights onboarding status for a resource.

Method Summary

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

Get containers that currently store VM Insights data for the specified resource.

DataStatus dataStatus()

Get 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. Possible values include: 'present', 'notPresent'.

OnboardingStatus onboardingStatus()

Get 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. Possible values include: 'onboarded', 'notOnboarded', 'unknown'.

String resourceId()

Get azure Resource Manager identifier of the resource whose onboarding status is being represented.

VMInsightsOnboardingStatusInner withData(List<DataContainer> data)

Set containers that currently store VM Insights data for the specified resource.

VMInsightsOnboardingStatusInner withDataStatus(DataStatus dataStatus)

Set 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. Possible values include: 'present', 'notPresent'.

VMInsightsOnboardingStatusInner withOnboardingStatus(OnboardingStatus onboardingStatus)

Set 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. Possible values include: 'onboarded', 'notOnboarded', 'unknown'.

VMInsightsOnboardingStatusInner withResourceId(String resourceId)

Set azure Resource Manager identifier of the resource whose onboarding status is being represented.

Method Details

data

public List data()

Get containers that currently store VM Insights data for the specified resource.

Returns:

the data value

dataStatus

public DataStatus dataStatus()

Get 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. Possible values include: 'present', 'notPresent'.

Returns:

the dataStatus value

onboardingStatus

public OnboardingStatus onboardingStatus()

Get 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. Possible values include: 'onboarded', 'notOnboarded', 'unknown'.

Returns:

the onboardingStatus value

resourceId

public String resourceId()

Get azure Resource Manager identifier of the resource whose onboarding status is being represented.

Returns:

the resourceId value

withData

public VMInsightsOnboardingStatusInner withData(List data)

Set 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 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. Possible values include: 'present', 'notPresent'.

Parameters:

dataStatus - the dataStatus value to set

Returns:

the VMInsightsOnboardingStatusInner object itself.

withOnboardingStatus

public VMInsightsOnboardingStatusInner withOnboardingStatus(OnboardingStatus onboardingStatus)

Set 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. Possible values include: 'onboarded', 'notOnboarded', 'unknown'.

Parameters:

onboardingStatus - the onboardingStatus value to set

Returns:

the VMInsightsOnboardingStatusInner object itself.

withResourceId

public VMInsightsOnboardingStatusInner withResourceId(String resourceId)

Set 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