class Azure::DevTestLabs::Mgmt::V2018_09_15::Models::LabFragment

A lab.

Attributes

announcement[RW]

@return [LabAnnouncementPropertiesFragment] The properties of any lab announcement associated with this lab

environment_permission[RW]

@return [EnvironmentPermission] The access rights to be granted to the user when provisioning an environment. Possible values include: 'Reader', 'Contributor'

extended_properties[RW]

@return [Hash{String => String}] Extended properties of the lab used for experimental features

lab_storage_type[RW]

@return [StorageType] Type of storage used by the lab. It can be either Premium or Standard. Default is Premium. Possible values include: 'Standard', 'Premium', 'StandardSSD'

mandatory_artifacts_resource_ids_linux[RW]

@return [Array<String>] The ordered list of artifact resource IDs that should be applied on all Linux VM creations by default, prior to the artifacts specified by the user.

mandatory_artifacts_resource_ids_windows[RW]

@return [Array<String>] The ordered list of artifact resource IDs that should be applied on all Windows VM creations by default, prior to the artifacts specified by the user.

premium_data_disks[RW]

@return [PremiumDataDisk] The setting to enable usage of premium data disks. When its value is 'Enabled', creation of standard or premium data disks is allowed. When its value is 'Disabled', only creation of standard data disks is allowed. Possible values include: 'Disabled', 'Enabled'

support[RW]

@return [LabSupportPropertiesFragment] The properties of any lab support message associated with this lab

Private Class Methods

mapper() click to toggle source

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

# File lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab_fragment.rb, line 60
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'LabFragment',
    type: {
      name: 'Composite',
      class_name: 'LabFragment',
      model_properties: {
        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'
                }
            }
          }
        },
        lab_storage_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.labStorageType',
          type: {
            name: 'String'
          }
        },
        mandatory_artifacts_resource_ids_linux: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.mandatoryArtifactsResourceIdsLinux',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        mandatory_artifacts_resource_ids_windows: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.mandatoryArtifactsResourceIdsWindows',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        premium_data_disks: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.premiumDataDisks',
          type: {
            name: 'String'
          }
        },
        environment_permission: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.environmentPermission',
          type: {
            name: 'String'
          }
        },
        announcement: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.announcement',
          type: {
            name: 'Composite',
            class_name: 'LabAnnouncementPropertiesFragment'
          }
        },
        support: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.support',
          type: {
            name: 'Composite',
            class_name: 'LabSupportPropertiesFragment'
          }
        },
        extended_properties: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.extendedProperties',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end