class Azure::DevTestLabs::Mgmt::V2018_09_15::Models::Lab

A lab.

Attributes

announcement[RW]

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

artifacts_storage_account[RW]

@return [String] The lab's artifact storage account.

created_date[RW]

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

default_premium_storage_account[RW]

@return [String] The lab's default premium storage account.

default_storage_account[RW]

@return [String] The lab's default storage account.

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'

load_balancer_id[RW]

@return [String] The load balancer used to for lab VMs that use shared IP address.

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.

network_security_group_id[RW]

@return [String] The Network Security Group attached to the lab VMs Network interfaces to restrict open ports.

premium_data_disk_storage_account[RW]

@return [String] The lab's premium data disk storage account.

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'

provisioning_state[RW]

@return [String] The provisioning status of the resource.

public_ip_id[RW]

@return [String] The public IP address for the lab's load balancer.

support[RW]

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

unique_identifier[RW]

@return [String] The unique immutable identifier of a resource (Guid).

vault_name[RW]

@return [String] The lab's Key vault.

vm_creation_resource_group[RW]

@return [String] The resource group in which all new lab virtual machines will be created. To let DevTest Labs manage resource group creation, set this value to null.

Private Class Methods

mapper() click to toggle source

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

# File lib/2018-09-15/generated/azure_mgmt_devtestlabs/models/lab.rb, line 100
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Lab',
    type: {
      name: 'Composite',
      class_name: 'Lab',
      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'
                }
            }
          }
        },
        default_storage_account: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.defaultStorageAccount',
          type: {
            name: 'String'
          }
        },
        default_premium_storage_account: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.defaultPremiumStorageAccount',
          type: {
            name: 'String'
          }
        },
        artifacts_storage_account: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.artifactsStorageAccount',
          type: {
            name: 'String'
          }
        },
        premium_data_disk_storage_account: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.premiumDataDiskStorageAccount',
          type: {
            name: 'String'
          }
        },
        vault_name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.vaultName',
          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'
                }
            }
          }
        },
        created_date: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.createdDate',
          type: {
            name: 'DateTime'
          }
        },
        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: 'LabAnnouncementProperties'
          }
        },
        support: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.support',
          type: {
            name: 'Composite',
            class_name: 'LabSupportProperties'
          }
        },
        vm_creation_resource_group: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.vmCreationResourceGroup',
          type: {
            name: 'String'
          }
        },
        public_ip_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.publicIpId',
          type: {
            name: 'String'
          }
        },
        load_balancer_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.loadBalancerId',
          type: {
            name: 'String'
          }
        },
        network_security_group_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.networkSecurityGroupId',
          type: {
            name: 'String'
          }
        },
        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'
                }
            }
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        unique_identifier: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.uniqueIdentifier',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end