LabVirtualMachineCreationParameterFragment Class
Properties for creating a virtual machine.
- Inheritance
-
LabVirtualMachineCreationParameterFragment
Constructor
LabVirtualMachineCreationParameterFragment(*, name: Optional[str] = None, location: Optional[str] = None, tags: Optional[Dict[str, str]] = None, bulk_creation_parameters: Optional[azure.mgmt.devtestlabs.models._models_py3.BulkCreationParametersFragment] = None, notes: Optional[str] = None, owner_object_id: Optional[str] = None, owner_user_principal_name: Optional[str] = None, created_by_user_id: Optional[str] = None, created_by_user: Optional[str] = None, created_date: Optional[datetime.datetime] = None, compute_id: Optional[str] = None, custom_image_id: Optional[str] = None, os_type: Optional[str] = None, size: Optional[str] = None, user_name: Optional[str] = None, password: Optional[str] = None, ssh_key: Optional[str] = None, is_authentication_with_ssh_key: Optional[bool] = None, fqdn: Optional[str] = None, lab_subnet_name: Optional[str] = None, lab_virtual_network_id: Optional[str] = None, disallow_public_ip_address: Optional[bool] = None, artifacts: Optional[List[azure.mgmt.devtestlabs.models._models_py3.ArtifactInstallPropertiesFragment]] = None, artifact_deployment_status: Optional[azure.mgmt.devtestlabs.models._models_py3.ArtifactDeploymentStatusPropertiesFragment] = None, gallery_image_reference: Optional[azure.mgmt.devtestlabs.models._models_py3.GalleryImageReferenceFragment] = None, plan_id: Optional[str] = None, network_interface: Optional[azure.mgmt.devtestlabs.models._models_py3.NetworkInterfacePropertiesFragment] = None, expiration_date: Optional[datetime.datetime] = None, allow_claim: Optional[bool] = None, storage_type: Optional[str] = None, virtual_machine_creation_source: Optional[Union[str, azure.mgmt.devtestlabs.models._dev_test_labs_client_enums.VirtualMachineCreationSource]] = None, environment_id: Optional[str] = None, data_disk_parameters: Optional[List[azure.mgmt.devtestlabs.models._models_py3.DataDiskPropertiesFragment]] = None, schedule_parameters: Optional[List[azure.mgmt.devtestlabs.models._models_py3.ScheduleCreationParameterFragment]] = None, last_known_power_state: Optional[str] = None, **kwargs)
Parameters
- bulk_creation_parameters
- BulkCreationParametersFragment
The number of virtual machine instances to create.
- is_authentication_with_ssh_key
- bool
Indicates whether this virtual machine uses an SSH key for authentication.
- disallow_public_ip_address
- bool
Indicates whether the virtual machine is to be created without a public IP address.
- artifacts
- list[ArtifactInstallPropertiesFragment]
The artifacts to be installed on the virtual machine.
- artifact_deployment_status
- ArtifactDeploymentStatusPropertiesFragment
The artifact deployment status for the virtual machine.
- gallery_image_reference
- GalleryImageReferenceFragment
The Microsoft Azure Marketplace image reference of the virtual machine.
- virtual_machine_creation_source
- str or VirtualMachineCreationSource
Tells source of creation of lab virtual machine. Output property only. Possible values include: "FromCustomImage", "FromGalleryImage", "FromSharedGalleryImage".
- environment_id
- str
The resource ID of the environment that contains this virtual machine, if any.
- data_disk_parameters
- list[DataDiskPropertiesFragment]
New or existing data disks to attach to the virtual machine after creation.
- schedule_parameters
- list[ScheduleCreationParameterFragment]
Virtual Machine schedules to be created.
Feedback
Submit and view feedback for