class Azure::Monitor::Mgmt::V2015_05_01::Models::ApplicationInsightsComponentAPIKey

Properties that define an API key of an Application Insights Component.

Attributes

api_key[RW]

@return [String] The API key value. It will be only return once when the API Key was created.

created_date[RW]

@return [String] The create date of this API key.

id[RW]

@return [String] The unique ID of the API key inside an Application Insights component. It is auto generated when the API key is created.

linked_read_properties[RW]

@return [Array<String>] The read access rights of this API Key.

linked_write_properties[RW]

@return [Array<String>] The write access rights of this API Key.

name[RW]

@return [String] The name of the API key.

Public Class Methods

mapper() click to toggle source

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

# File lib/2015-05-01/generated/azure_mgmt_monitor/models/application_insights_component_apikey.rb, line 40
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ApplicationInsightsComponentAPIKey',
    type: {
      name: 'Composite',
      class_name: 'ApplicationInsightsComponentAPIKey',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        api_key: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'apiKey',
          type: {
            name: 'String'
          }
        },
        created_date: {
          client_side_validation: true,
          required: false,
          serialized_name: 'createdDate',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        linked_read_properties: {
          client_side_validation: true,
          required: false,
          serialized_name: 'linkedReadProperties',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        linked_write_properties: {
          client_side_validation: true,
          required: false,
          serialized_name: 'linkedWriteProperties',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end