Skip to content

Commit

Permalink
Fixed #8, #6, #5
Browse files Browse the repository at this point in the history
  • Loading branch information
allenjzhang committed Feb 23, 2024
1 parent 2f9d6ff commit c200239
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion specification/scvmm/ScVmm.Management/models.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ model VmmServerProperties {
fqdn: string;

/** Port is the port on which the vmmServer is listening. */
@minValue(1)
@maxValue(65535)
port?: int32;

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

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

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

/** Provisioning state of the resource. */
Expand Down Expand Up @@ -639,6 +643,7 @@ model InfrastructureProfile {

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

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

/** Gets the tracked resource id corresponding to the inventory resource. */
@visibility("read")
managedMachineResourceId?: string;
managedMachineResourceId?: ResourceIdentifier<[]>;

/** They inventory type. */
inventoryType: "VirtualMachine";
Expand Down

0 comments on commit c200239

Please sign in to comment.