class Azure::Monitor::Mgmt::V2018_11_27_preview::Models::VMInsightsOnboardingStatus

VM Insights onboarding status for a resource.

Attributes

data[RW]

@return [Array<DataContainer>] Containers that currently store VM Insights data for the specified resource.

data_status[RW]

@return [DataStatus] 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'

onboarding_status[RW]

@return [OnboardingStatus] 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'

resource_id[RW]

@return [String] Azure Resource Manager identifier of the resource whose onboarding status is being represented.

Private Class Methods

mapper() click to toggle source

Mapper for VMInsightsOnboardingStatus class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2018-11-27-preview/generated/azure_mgmt_monitor/models/vminsights_onboarding_status.rb, line 40
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'VMInsightsOnboardingStatus',
    type: {
      name: 'Composite',
      class_name: 'VMInsightsOnboardingStatus',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        resource_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.resourceId',
          type: {
            name: 'String'
          }
        },
        onboarding_status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.onboardingStatus',
          type: {
            name: 'String'
          }
        },
        data_status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.dataStatus',
          type: {
            name: 'String'
          }
        },
        data: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.data',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'DataContainerElementType',
                type: {
                  name: 'Composite',
                  class_name: 'DataContainer'
                }
            }
          }
        }
      }
    }
  }
end