Skip to content

Commit c200239

Browse files
committed
Fixed #8, #6, #5
1 parent 2f9d6ff commit c200239

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

specification/scvmm/ScVmm.Management/models.tsp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@ model VmmServerProperties {
157157
fqdn: string;
158158

159159
/** Port is the port on which the vmmServer is listening. */
160+
@minValue(1)
161+
@maxValue(65535)
160162
port?: int32;
161163

162164
/** Gets the connection status to the vmmServer. */
@@ -350,10 +352,12 @@ model VirtualMachineTemplateProperties {
350352

351353
/** Gets the network interfaces of the template. */
352354
@visibility("read")
355+
@extension("x-ms-identifiers", ["name", "nicId"])
353356
networkInterfaces?: NetworkInterface[];
354357

355358
/** Gets the disks of the template. */
356359
@visibility("read")
360+
@extension("x-ms-identifiers", ["diskId", "name"])
357361
disks?: VirtualDisk[];
358362

359363
/** Provisioning state of the resource. */
@@ -639,6 +643,7 @@ model InfrastructureProfile {
639643

640644
/** Checkpoints in the vm. */
641645
@visibility("read")
646+
@extension("x-ms-identifiers", ["checkpointID"])
642647
checkpoints?: Checkpoint[];
643648

644649
/** Type of checkpoint supported for the vm. */
@@ -827,7 +832,7 @@ model VirtualMachineInventoryItem extends InventoryItemProperties {
827832

828833
/** Gets the tracked resource id corresponding to the inventory resource. */
829834
@visibility("read")
830-
managedMachineResourceId?: string;
835+
managedMachineResourceId?: ResourceIdentifier<[]>;
831836

832837
/** They inventory type. */
833838
inventoryType: "VirtualMachine";

0 commit comments

Comments
 (0)