class Azure::DevTestLabs::Mgmt::V2016_05_15::Models::LabVirtualMachine

A virtual machine.

Attributes

allow_claim[RW]

@return [Boolean] Indicates whether another user can take ownership of the virtual machine

applicable_schedule[RW]

@return [ApplicableSchedule] The applicable schedule for the virtual machine.

artifact_deployment_status[RW]

@return [ArtifactDeploymentStatusProperties] The artifact deployment status for the virtual machine.

artifacts[RW]

@return [Array<ArtifactInstallProperties>] The artifacts to be installed on the virtual machine.

compute_id[RW]

@return [String] The resource identifier (Microsoft.Compute) of the virtual machine.

compute_vm[RW]

@return [ComputeVmProperties] The compute virtual machine properties.

created_by_user[RW]

@return [String] The email address of creator of the virtual machine.

created_by_user_id[RW]

@return [String] The object identifier of the creator of the virtual machine.

created_date[RW]

@return [DateTime] The creation date of the virtual machine.

custom_image_id[RW]

@return [String] The custom image identifier of the virtual machine.

disallow_public_ip_address[RW]

@return [Boolean] Indicates whether the virtual machine is to be created without a public IP address.

environment_id[RW]

@return [String] The resource ID of the environment that contains this virtual machine, if any.

expiration_date[RW]

@return [DateTime] The expiration date for VM.

fqdn[RW]

@return [String] The fully-qualified domain name of the virtual machine.

is_authentication_with_ssh_key[RW]

@return [Boolean] Indicates whether this virtual machine uses an SSH key for authentication.

lab_subnet_name[RW]

@return [String] The lab subnet name of the virtual machine.

lab_virtual_network_id[RW]

@return [String] The lab virtual network identifier of the virtual machine.

network_interface[RW]

@return [NetworkInterfaceProperties] The network interface properties.

notes[RW]

@return [String] The notes of the virtual machine.

os_type[RW]

@return [String] The OS type of the virtual machine.

owner_object_id[RW]

@return [String] The object identifier of the owner of the virtual machine.

owner_user_principal_name[RW]

@return [String] The user principal name of the virtual machine owner.

password[RW]

@return [String] The password of the virtual machine administrator.

provisioning_state[RW]

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

size[RW]

@return [String] The size of the virtual machine.

ssh_key[RW]

@return [String] The SSH key of the virtual machine administrator.

storage_type[RW]

@return [String] Storage type to use for virtual machine (i.e. Standard, Premium).

unique_identifier[RW]

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

user_name[RW]

@return [String] The user name of the virtual machine.

virtual_machine_creation_source[RW]

@return [VirtualMachineCreationSource] Tells source of creation of lab virtual machine. Output property only. Possible values include: 'FromCustomImage', 'FromGalleryImage'

Public Class Methods

mapper() click to toggle source

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

# File lib/2016-05-15/generated/azure_mgmt_devtestlabs/models/lab_virtual_machine.rb, line 129
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'LabVirtualMachine',
    type: {
      name: 'Composite',
      class_name: 'LabVirtualMachine',
      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'
                }
            }
          }
        },
        notes: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.notes',
          type: {
            name: 'String'
          }
        },
        owner_object_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.ownerObjectId',
          type: {
            name: 'String'
          }
        },
        owner_user_principal_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.ownerUserPrincipalName',
          type: {
            name: 'String'
          }
        },
        created_by_user_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.createdByUserId',
          type: {
            name: 'String'
          }
        },
        created_by_user: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.createdByUser',
          type: {
            name: 'String'
          }
        },
        created_date: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.createdDate',
          type: {
            name: 'DateTime'
          }
        },
        compute_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.computeId',
          type: {
            name: 'String'
          }
        },
        custom_image_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.customImageId',
          type: {
            name: 'String'
          }
        },
        os_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.osType',
          type: {
            name: 'String'
          }
        },
        size: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.size',
          type: {
            name: 'String'
          }
        },
        user_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.userName',
          type: {
            name: 'String'
          }
        },
        password: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.password',
          type: {
            name: 'String'
          }
        },
        ssh_key: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.sshKey',
          type: {
            name: 'String'
          }
        },
        is_authentication_with_ssh_key: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.isAuthenticationWithSshKey',
          type: {
            name: 'Boolean'
          }
        },
        fqdn: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.fqdn',
          type: {
            name: 'String'
          }
        },
        lab_subnet_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.labSubnetName',
          type: {
            name: 'String'
          }
        },
        lab_virtual_network_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.labVirtualNetworkId',
          type: {
            name: 'String'
          }
        },
        disallow_public_ip_address: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.disallowPublicIpAddress',
          type: {
            name: 'Boolean'
          }
        },
        artifacts: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.artifacts',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ArtifactInstallPropertiesElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ArtifactInstallProperties'
                }
            }
          }
        },
        artifact_deployment_status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.artifactDeploymentStatus',
          type: {
            name: 'Composite',
            class_name: 'ArtifactDeploymentStatusProperties'
          }
        },
        gallery_image_reference: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.galleryImageReference',
          type: {
            name: 'Composite',
            class_name: 'GalleryImageReference'
          }
        },
        compute_vm: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.computeVm',
          type: {
            name: 'Composite',
            class_name: 'ComputeVmProperties'
          }
        },
        network_interface: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.networkInterface',
          type: {
            name: 'Composite',
            class_name: 'NetworkInterfaceProperties'
          }
        },
        applicable_schedule: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.applicableSchedule',
          type: {
            name: 'Composite',
            class_name: 'ApplicableSchedule'
          }
        },
        expiration_date: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.expirationDate',
          type: {
            name: 'DateTime'
          }
        },
        allow_claim: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.allowClaim',
          type: {
            name: 'Boolean'
          }
        },
        storage_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.storageType',
          type: {
            name: 'String'
          }
        },
        virtual_machine_creation_source: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.virtualMachineCreationSource',
          type: {
            name: 'String'
          }
        },
        environment_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.environmentId',
          type: {
            name: 'String'
          }
        },
        provisioning_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.provisioningState',
          type: {
            name: 'String'
          }
        },
        unique_identifier: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.uniqueIdentifier',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end