class Azure::DevTestLabs::Mgmt::V2018_09_15::Models::ArmTemplate

An Azure Resource Manager template.

Attributes

contents[RW]

@return The contents of the ARM template.

created_date[RW]

@return [DateTime] The creation date of the armTemplate.

description[RW]

@return [String] The description of the ARM template.

display_name[RW]

@return [String] The display name of the ARM template.

enabled[RW]

@return [Boolean] Whether or not ARM template is enabled for use by lab user.

icon[RW]

@return [String] The URI to the icon of the ARM template.

parameters_value_files_info[RW]

@return [Array<ParametersValueFileInfo>] File name and parameter values information from all azuredeploy.*.parameters.json for the ARM template.

publisher[RW]

@return [String] The publisher of the ARM template.

Private Class Methods

mapper() click to toggle source

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

# File lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/arm_template.rb, line 47
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ArmTemplate',
    type: {
      name: 'Composite',
      class_name: 'ArmTemplate',
      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'
          }
        },
        location: {
          client_side_validation: true,
          required: false,
          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'
                }
            }
          }
        },
        display_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.displayName',
          type: {
            name: 'String'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.description',
          type: {
            name: 'String'
          }
        },
        publisher: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.publisher',
          type: {
            name: 'String'
          }
        },
        icon: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.icon',
          type: {
            name: 'String'
          }
        },
        contents: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.contents',
          type: {
            name: 'Object'
          }
        },
        created_date: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.createdDate',
          type: {
            name: 'DateTime'
          }
        },
        parameters_value_files_info: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.parametersValueFilesInfo',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ParametersValueFileInfoElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ParametersValueFileInfo'
                }
            }
          }
        },
        enabled: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.enabled',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end