export type OsDiskImage = { uri: string; }; export type OsDiskVhd = { uri: string; }; export type OsDisk = { name: string; image: OsDiskImage; caching: string; createOption: string; osType: string; vhd: OsDiskVhd; }; export type VirtualMachineNetworkInterfaceProperties = { primary: boolean; }; export type VirtualMachineNetworkInterface = { id: string; properties: VirtualMachineNetworkInterfaceProperties; }; export type WindowsConfiguration = { provisionVMAgent: boolean; enableAutomaticUpdates: boolean; }; export type OsProfile = { adminUsername: string; secrets: unknown[]; computerName: string; windowsConfiguration: WindowsConfiguration; }; export type VirtualMachineProperties = { osProfile: OsProfile; networkProfile: { networkInterfaces: VirtualMachineNetworkInterface[]; }; storageProfile: { osDisk: OsDisk; dataDisks: unknown[]; }; vmId: string; hardwareProfile: { vmSize: string; }; provisioningState: string; }; export type VirtualMachineResource = { id: string; type: string; properties: VirtualMachineProperties; name: string; location: string; };