/// <summary> /// Initializes a new instance of the LabVirtualMachine class. /// </summary> public LabVirtualMachine(string notes = default(string), string ownerObjectId = default(string), string createdByUserId = default(string), string createdByUser = default(string), string computeId = default(string), string customImageId = default(string), string osType = default(string), string size = default(string), string userName = default(string), string password = default(string), string sshKey = default(string), bool?isAuthenticationWithSshKey = default(bool?), string fqdn = default(string), string labSubnetName = default(string), string labVirtualNetworkId = default(string), bool?disallowPublicIpAddress = default(bool?), IList <ArtifactInstallProperties> artifacts = default(IList <ArtifactInstallProperties>), ArtifactDeploymentStatusProperties artifactDeploymentStatus = default(ArtifactDeploymentStatusProperties), GalleryImageReference galleryImageReference = default(GalleryImageReference), string provisioningState = default(string), string uniqueIdentifier = default(string), string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>)) { Notes = notes; OwnerObjectId = ownerObjectId; CreatedByUserId = createdByUserId; CreatedByUser = createdByUser; ComputeId = computeId; CustomImageId = customImageId; OsType = osType; Size = size; UserName = userName; Password = password; SshKey = sshKey; IsAuthenticationWithSshKey = isAuthenticationWithSshKey; Fqdn = fqdn; LabSubnetName = labSubnetName; LabVirtualNetworkId = labVirtualNetworkId; DisallowPublicIpAddress = disallowPublicIpAddress; Artifacts = artifacts; ArtifactDeploymentStatus = artifactDeploymentStatus; GalleryImageReference = galleryImageReference; ProvisioningState = provisioningState; UniqueIdentifier = uniqueIdentifier; Id = id; Name = name; Type = type; Location = location; Tags = tags; }
/// <summary> /// Initializes a new instance of the GalleryImage class. /// </summary> /// <param name="id">The identifier of the resource.</param> /// <param name="name">The name of the resource.</param> /// <param name="type">The type of the resource.</param> /// <param name="location">The location of the resource.</param> /// <param name="tags">The tags of the resource.</param> /// <param name="author">The author of the gallery image.</param> /// <param name="createdDate">The creation date of the gallery /// image.</param> /// <param name="description">The description of the gallery /// image.</param> /// <param name="imageReference">The image reference of the gallery /// image.</param> /// <param name="icon">The icon of the gallery image.</param> /// <param name="enabled">Indicates whether this gallery image is /// enabled.</param> /// <param name="planId">The third party plan that applies to this /// image</param> /// <param name="isPlanAuthorized">Indicates if the plan has been /// authorized for programmatic deployment.</param> public GalleryImage(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), string author = default(string), System.DateTime?createdDate = default(System.DateTime?), string description = default(string), GalleryImageReference imageReference = default(GalleryImageReference), string icon = default(string), bool?enabled = default(bool?), string planId = default(string), bool?isPlanAuthorized = default(bool?)) : base(id, name, type, location, tags) { Author = author; CreatedDate = createdDate; Description = description; ImageReference = imageReference; Icon = icon; Enabled = enabled; PlanId = planId; IsPlanAuthorized = isPlanAuthorized; CustomInit(); }
/// <summary> /// Initializes a new instance of the GalleryImage class. /// </summary> public GalleryImage(string author = default(string), DateTime?createdDate = default(DateTime?), string description = default(string), GalleryImageReference imageReference = default(GalleryImageReference), string icon = default(string), bool?enabled = default(bool?), string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>)) { Author = author; CreatedDate = createdDate; Description = description; ImageReference = imageReference; Icon = icon; Enabled = enabled; Id = id; Name = name; Type = type; Location = location; Tags = tags; }
/// <summary> /// Initializes a new instance of the LabVirtualMachine class. /// </summary> /// <param name="id">The identifier of the resource.</param> /// <param name="name">The name of the resource.</param> /// <param name="type">The type of the resource.</param> /// <param name="location">The location of the resource.</param> /// <param name="tags">The tags of the resource.</param> /// <param name="notes">The notes of the virtual machine.</param> /// <param name="ownerObjectId">The object identifier of the owner of /// the virtual machine.</param> /// <param name="ownerUserPrincipalName">The user principal name of the /// virtual machine owner.</param> /// <param name="createdByUserId">The object identifier of the creator /// of the virtual machine.</param> /// <param name="createdByUser">The email address of creator of the /// virtual machine.</param> /// <param name="createdDate">The creation date of the virtual /// machine.</param> /// <param name="computeId">The resource identifier (Microsoft.Compute) /// of the virtual machine.</param> /// <param name="customImageId">The custom image identifier of the /// virtual machine.</param> /// <param name="osType">The OS type of the virtual machine.</param> /// <param name="size">The size of the virtual machine.</param> /// <param name="userName">The user name of the virtual /// machine.</param> /// <param name="password">The password of the virtual machine /// administrator.</param> /// <param name="sshKey">The SSH key of the virtual machine /// administrator.</param> /// <param name="isAuthenticationWithSshKey">Indicates whether this /// virtual machine uses an SSH key for authentication.</param> /// <param name="fqdn">The fully-qualified domain name of the virtual /// machine.</param> /// <param name="labSubnetName">The lab subnet name of the virtual /// machine.</param> /// <param name="labVirtualNetworkId">The lab virtual network /// identifier of the virtual machine.</param> /// <param name="disallowPublicIpAddress">Indicates whether the virtual /// machine is to be created without a public IP address.</param> /// <param name="artifacts">The artifacts to be installed on the /// virtual machine.</param> /// <param name="artifactDeploymentStatus">The artifact deployment /// status for the virtual machine.</param> /// <param name="galleryImageReference">The Microsoft Azure Marketplace /// image reference of the virtual machine.</param> /// <param name="planId">The id of the plan associated with the virtual /// machine image</param> /// <param name="computeVm">The compute virtual machine /// properties.</param> /// <param name="networkInterface">The network interface /// properties.</param> /// <param name="applicableSchedule">The applicable schedule for the /// virtual machine.</param> /// <param name="expirationDate">The expiration date for VM.</param> /// <param name="allowClaim">Indicates whether another user can take /// ownership of the virtual machine</param> /// <param name="storageType">Storage type to use for virtual machine /// (i.e. Standard, Premium).</param> /// <param name="virtualMachineCreationSource">Tells source of creation /// of lab virtual machine. Output property only. Possible values /// include: 'FromCustomImage', 'FromGalleryImage'</param> /// <param name="environmentId">The resource ID of the environment that /// contains this virtual machine, if any.</param> /// <param name="dataDiskParameters">New or existing data disks to /// attach to the virtual machine after creation</param> /// <param name="scheduleParameters">Virtual Machine schedules to be /// created</param> /// <param name="lastKnownPowerState">Last known compute power state /// captured in DTL</param> /// <param name="provisioningState">The provisioning status of the /// resource.</param> /// <param name="uniqueIdentifier">The unique immutable identifier of a /// resource (Guid).</param> public LabVirtualMachine(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), string notes = default(string), string ownerObjectId = default(string), string ownerUserPrincipalName = default(string), string createdByUserId = default(string), string createdByUser = default(string), System.DateTime?createdDate = default(System.DateTime?), string computeId = default(string), string customImageId = default(string), string osType = default(string), string size = default(string), string userName = default(string), string password = default(string), string sshKey = default(string), bool?isAuthenticationWithSshKey = default(bool?), string fqdn = default(string), string labSubnetName = default(string), string labVirtualNetworkId = default(string), bool?disallowPublicIpAddress = default(bool?), IList <ArtifactInstallProperties> artifacts = default(IList <ArtifactInstallProperties>), ArtifactDeploymentStatusProperties artifactDeploymentStatus = default(ArtifactDeploymentStatusProperties), GalleryImageReference galleryImageReference = default(GalleryImageReference), string planId = default(string), ComputeVmProperties computeVm = default(ComputeVmProperties), NetworkInterfaceProperties networkInterface = default(NetworkInterfaceProperties), ApplicableSchedule applicableSchedule = default(ApplicableSchedule), System.DateTime?expirationDate = default(System.DateTime?), bool?allowClaim = default(bool?), string storageType = default(string), string virtualMachineCreationSource = default(string), string environmentId = default(string), IList <DataDiskProperties> dataDiskParameters = default(IList <DataDiskProperties>), IList <ScheduleCreationParameter> scheduleParameters = default(IList <ScheduleCreationParameter>), string lastKnownPowerState = default(string), string provisioningState = default(string), string uniqueIdentifier = default(string)) : base(id, name, type, location, tags) { Notes = notes; OwnerObjectId = ownerObjectId; OwnerUserPrincipalName = ownerUserPrincipalName; CreatedByUserId = createdByUserId; CreatedByUser = createdByUser; CreatedDate = createdDate; ComputeId = computeId; CustomImageId = customImageId; OsType = osType; Size = size; UserName = userName; Password = password; SshKey = sshKey; IsAuthenticationWithSshKey = isAuthenticationWithSshKey; Fqdn = fqdn; LabSubnetName = labSubnetName; LabVirtualNetworkId = labVirtualNetworkId; DisallowPublicIpAddress = disallowPublicIpAddress; Artifacts = artifacts; ArtifactDeploymentStatus = artifactDeploymentStatus; GalleryImageReference = galleryImageReference; PlanId = planId; ComputeVm = computeVm; NetworkInterface = networkInterface; ApplicableSchedule = applicableSchedule; ExpirationDate = expirationDate; AllowClaim = allowClaim; StorageType = storageType; VirtualMachineCreationSource = virtualMachineCreationSource; EnvironmentId = environmentId; DataDiskParameters = dataDiskParameters; ScheduleParameters = scheduleParameters; LastKnownPowerState = lastKnownPowerState; ProvisioningState = provisioningState; UniqueIdentifier = uniqueIdentifier; CustomInit(); }