class Azure::IotCentral::Mgmt::V2017_07_01_privatepreview::Models::App

The IoT Central application.

Attributes

application_id[RW]

@return [String] The ID of the application.

display_name[RW]

@return [String] The display name of the application.

sku[RW]

@return [AppSkuInfo] A valid instance SKU.

subdomain[RW]

@return [String] The subdomain of the application.

template[RW]

@return [String] The ID of the application template, which is a blueprint that defines the characteristics and behaviors of an application. Optional; if not specified, defaults to a blank blueprint and allows the application to be defined from scratch.

Public Class Methods

mapper() click to toggle source

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

# File lib/2017-07-01-privatepreview/generated/azure_mgmt_iot_central/models/app.rb, line 38
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'App',
    type: {
      name: 'Composite',
      class_name: 'App',
      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',
          constraints: {
            Pattern: '^(?![0-9]+$)(?!-)[a-zA-Z0-9-]{2,99}[a-zA-Z0-9]$'
          },
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        location: {
          client_side_validation: true,
          required: true,
          serialized_name: 'location',
          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'
                }
            }
          }
        },
        application_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.applicationId',
          type: {
            name: 'String'
          }
        },
        display_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.displayName',
          constraints: {
            Pattern: '^.{1,200}$'
          },
          type: {
            name: 'String'
          }
        },
        subdomain: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.subdomain',
          constraints: {
            Pattern: '^[a-z0-9-]{1,63}$'
          },
          type: {
            name: 'String'
          }
        },
        template: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.template',
          type: {
            name: 'String'
          }
        },
        sku: {
          client_side_validation: true,
          required: true,
          serialized_name: 'sku',
          type: {
            name: 'Composite',
            class_name: 'AppSkuInfo'
          }
        }
      }
    }
  }
end