class Azure::Monitor::Mgmt::V2018_06_17_preview::Models::WorkbookUpdateParameters

The parameters that can be provided when updating workbook properties properties.

Attributes

category[RW]

@return [String] Workbook category, as defined by the user at creation time.

display_name[RW]

@return [String] The user-defined name (display name) of the workbook.

kind[RW]

@return [SharedTypeKind] The kind of workbook. Choices are user and shared. Possible values include: 'user', 'shared'

serialized_data[RW]

@return [String] Configuration of this particular workbook. Configuration data is a string containing valid JSON

tags[RW]

@return [Hash{String => String}] Resource tags

tags1[RW]

@return [Array<String>] A list of 0 or more tags that are associated with this workbook definition

Public Class Methods

mapper() click to toggle source

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

# File lib/2018-06-17-preview/generated/azure_mgmt_monitor/models/workbook_update_parameters.rb, line 43
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'WorkbookUpdateParameters',
    type: {
      name: 'Composite',
      class_name: 'WorkbookUpdateParameters',
      model_properties: {
        kind: {
          client_side_validation: true,
          required: false,
          serialized_name: 'kind',
          type: {
            name: 'String'
          }
        },
        tags: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        display_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.displayName',
          type: {
            name: 'String'
          }
        },
        serialized_data: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.serializedData',
          type: {
            name: 'String'
          }
        },
        category: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.category',
          type: {
            name: 'String'
          }
        },
        tags1: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.tags',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end