diff --git a/specification/computebulkactions/ComputeBulkActions.Management/common.tsp b/specification/computebulkactions/ComputeBulkActions.Management/common.tsp new file mode 100644 index 000000000000..4ab009dc690e --- /dev/null +++ b/specification/computebulkactions/ComputeBulkActions.Management/common.tsp @@ -0,0 +1,55 @@ +import "@typespec/http"; +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; + +using Azure.ResourceManager; + +namespace Microsoft.ComputeBulkActions; + +@doc("ApiError for Fleet") +model ApiError is ApiErrorBase { + @identifiers(#["message", "target"]) + @doc("The API error details") + details?: Array; + + @doc("The API inner error") + innererror?: InnerError; +} + +@doc("API error base.") +model ApiErrorBase { + @doc("The error code.") + code?: string; + + @doc("The target of the particular error.") + target?: string; + + @doc("The error message.") + message?: string; +} + +@doc("Inner error details.") +model InnerError { + @doc("The exception type.") + exceptionType?: string; + + @doc("The internal error message or exception dump.") + errorDetail?: string; +} + +@doc("Describes a reference to a sub-resource.") +model SubResource { + @doc("The ID of the sub-resource.") + id?: string; +} + +@doc("Describes a reference to Key Vault Secret") +model KeyVaultSecretReference { + @doc("The URL referencing a secret in a Key Vault.") + secretUrl: string; + + @doc("The relative URL of the Key Vault containing the secret.") + sourceVault: SubResource; +} diff --git a/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_Cancel_MaximumSet_Gen.json b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_Cancel_MaximumSet_Gen.json new file mode 100644 index 000000000000..565b2e0d5631 --- /dev/null +++ b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_Cancel_MaximumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "title": "BulkActions_Cancel - generated by [MaximumSet] rule", + "operationId": "BulkActions_Cancel", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B", + "resourceGroupName": "rgcomputebulkactions", + "name": "3ec2ab23-9f13-4328-85c8-21928acbc7b8", + "location": "eastus2euap" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_CreateOrUpdate_MaximumSet_Gen.json b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..68b89b35ecf2 --- /dev/null +++ b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,1501 @@ +{ + "title": "BulkActions_CreateOrUpdate - generated by [MaximumSet] rule", + "operationId": "BulkActions_CreateOrUpdate", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B", + "resourceGroupName": "rgcomputebulkactions", + "name": "3ec2ab23-9f13-4328-85c8-21928acbc7b8", + "location": "eastus2euap", + "resource": { + "properties": { + "capacity": 24, + "capacityType": "VM", + "priorityProfile": { + "type": "Regular", + "maxPricePerVM": 21, + "evictionPolicy": "Delete", + "allocationStrategy": "LowestPrice" + }, + "vmSizesProfile": [ + { + "name": "nolktwnfqdwikqiat", + "rank": 46189 + } + ], + "vmAttributes": { + "vCpuCount": { + "min": 0, + "max": 0 + }, + "memoryInGiB": { + "min": 0, + "max": 0 + }, + "architectureTypes": [ + "ARM64" + ], + "memoryInGiBPerVCpu": { + "min": 0, + "max": 0 + }, + "localStorageSupport": "Excluded", + "localStorageInGiB": { + "min": 0, + "max": 0 + }, + "localStorageDiskTypes": [ + "HDD" + ], + "dataDiskCount": { + "min": 0, + "max": 0 + }, + "networkInterfaceCount": { + "min": 0, + "max": 0 + }, + "networkBandwidthInMbps": { + "min": 0, + "max": 0 + }, + "rdmaSupport": "Excluded", + "rdmaNetworkInterfaceCount": { + "min": 0, + "max": 0 + }, + "acceleratorSupport": "Excluded", + "acceleratorManufacturers": [ + "AMD" + ], + "acceleratorTypes": [ + "GPU" + ], + "acceleratorCount": { + "min": 0, + "max": 0 + }, + "vmCategories": [ + "GeneralPurpose" + ], + "cpuManufacturers": [ + "Intel" + ], + "hyperVGenerations": [ + "Gen1" + ], + "burstableSupport": "Excluded", + "allowedVMSizes": [ + "dmtpdlqphckngwjhvkucfze" + ], + "excludedVMSizes": [ + "yhjhharuhcyfxjnhxmflvsrdmei" + ] + }, + "computeProfile": { + "virtualMachineProfile": { + "osProfile": { + "adminUsername": "tjdagcdhlpihlhkrz", + "adminPassword": "", + "customData": "jemgccf", + "windowsConfiguration": { + "provisionVMAgent": true, + "enableAutomaticUpdates": true, + "timeZone": "kiibvtut", + "additionalUnattendContent": [ + { + "passName": "OobeSystem", + "componentName": "Microsoft-Windows-Shell-Setup", + "settingName": "AutoLogon", + "content": "zdpsub" + } + ], + "patchSettings": { + "patchMode": "Manual", + "enableHotpatching": true, + "assessmentMode": "ImageDefault", + "automaticByPlatformSettings": { + "rebootSetting": "Unknown", + "bypassPlatformSafetyChecksOnUserSchedule": true + } + }, + "winRM": { + "listeners": [ + { + "protocol": "Http", + "certificateUrl": "https://microsoft.com/a" + } + ] + } + }, + "linuxConfiguration": { + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "path": "xyntsvqsiqsguyegxdvkmwhwz", + "keyData": "mfk" + } + ] + }, + "provisionVMAgent": true, + "patchSettings": { + "patchMode": "ImageDefault", + "assessmentMode": "ImageDefault", + "automaticByPlatformSettings": { + "rebootSetting": "Unknown", + "bypassPlatformSafetyChecksOnUserSchedule": true + } + }, + "enableVMAgentPlatformUpdates": true + }, + "secrets": [ + { + "sourceVault": { + "id": "obwiwwsgkdg" + }, + "vaultCertificates": [ + { + "certificateUrl": "https://microsoft.com/agmunp", + "certificateStore": "zxrjtvfmltdj" + } + ] + } + ], + "allowExtensionOperations": true, + "requireGuestProvisionSignal": true, + "computerName": "jagkikqx" + }, + "storageProfile": { + "imageReference": { + "id": "iwqrkiccafacxfctrxb", + "publisher": "edjvbyisusjhyvnzgyvhixmnfzzsy", + "offer": "olkxwdozixpjkjuk", + "sku": "qmsq", + "version": "hruassyajrafmgmub", + "sharedGalleryImageId": "ahzweiez", + "communityGalleryImageId": "bysd" + }, + "osDisk": { + "name": "pccysrjeo", + "caching": "None", + "writeAcceleratorEnabled": true, + "createOption": "FromImage", + "diffDiskSettings": { + "option": "Local", + "placement": "CacheDisk" + }, + "diskSizeGB": 18, + "osType": "Windows", + "image": { + "uri": "https://microsoft.com/a" + }, + "managedDisk": { + "storageAccountType": "Standard_LRS", + "diskEncryptionSet": { + "id": "thmks" + }, + "securityProfile": { + "securityEncryptionType": "VMGuestStateOnly", + "diskEncryptionSet": { + "id": "thmks" + } + }, + "id": "wuqdcyunrkewr" + }, + "deleteOption": "Delete", + "encryptionSettings": { + "diskEncryptionKey": { + "secretUrl": "cuatfdkula", + "sourceVault": { + "id": "ioypuofzltakyfcomjwfkmyz" + } + }, + "keyEncryptionKey": { + "keyUrl": "imt", + "sourceVault": { + "id": "ioypuofzltakyfcomjwfkmyz" + } + }, + "enabled": true + }, + "vhd": { + "uri": "anvtwgmfthxmyhdnbvabmzyrknxwf" + } + }, + "dataDisks": [ + { + "name": "aq", + "lun": 1, + "caching": "None", + "writeAcceleratorEnabled": true, + "createOption": "FromImage", + "diskSizeGB": 24, + "managedDisk": { + "storageAccountType": "Standard_LRS", + "diskEncryptionSet": { + "id": "thmks" + }, + "securityProfile": { + "securityEncryptionType": "VMGuestStateOnly", + "diskEncryptionSet": { + "id": "thmks" + } + }, + "id": "zcoqnxlomkordbdolkxraqbwgsh" + }, + "deleteOption": "Delete", + "vhd": { + "uri": "anvtwgmfthxmyhdnbvabmzyrknxwf" + }, + "image": { + "uri": "anvtwgmfthxmyhdnbvabmzyrknxwf" + }, + "sourceResource": { + "id": "fpabycyqmkqqfdfrzqmnykmy" + }, + "toBeDetached": true, + "detachOption": "ForceDetach" + } + ], + "diskControllerType": "SCSI" + }, + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "name": "keppldrpxjgckgsmq", + "properties": { + "primary": true, + "enableAcceleratedNetworking": true, + "disableTcpStateTracking": true, + "enableFpga": true, + "networkSecurityGroup": { + "id": "obwiwwsgkdg" + }, + "dnsSettings": { + "dnsServers": [ + "pnhvxygytoozxmkt" + ] + }, + "ipConfigurations": [ + { + "name": "nqjufbencyticmohsdxogwiu", + "properties": { + "subnet": { + "id": "djtafmblvomuabwlhlyoxzgdkwkz" + }, + "primary": true, + "publicIPAddressConfiguration": { + "name": "kgvjhctjspzldadcmtgsojglhmj", + "properties": { + "idleTimeoutInMinutes": 22, + "dnsSettings": { + "domainNameLabel": "vsvbcpusndz", + "domainNameLabelScope": "TenantReuse" + }, + "ipTags": [ + { + "ipTagType": "hengwhngakjlsmhuegnlbtpmiihf", + "tag": "zlnuzjdbdnwbtep" + } + ], + "publicIPPrefix": { + "id": "obwiwwsgkdg" + }, + "publicIPAddressVersion": "IPv4", + "deleteOption": "Delete", + "publicIPAllocationMethod": "Dynamic" + }, + "sku": { + "name": "Basic", + "tier": "Regional" + }, + "tags": {} + }, + "privateIPAddressVersion": "IPv4", + "applicationGatewayBackendAddressPools": [ + { + "id": "obwiwwsgkdg" + } + ], + "applicationSecurityGroups": [ + { + "id": "obwiwwsgkdg" + } + ], + "loadBalancerBackendAddressPools": [ + { + "id": "obwiwwsgkdg" + } + ] + } + } + ], + "enableIPForwarding": true, + "deleteOption": "Delete", + "auxiliaryMode": "None", + "auxiliarySku": "None", + "dscpConfiguration": { + "id": "ioypuofzltakyfcomjwfkmyz" + } + }, + "tags": {} + } + ], + "networkApiVersion": "2020-11-01", + "networkInterfaces": [ + { + "properties": { + "primary": true, + "deleteOption": "Delete" + }, + "id": "bmlqsytfgnkwgkibsmsoeh" + } + ] + }, + "securityProfile": { + "uefiSettings": { + "secureBootEnabled": true, + "vTpmEnabled": true + }, + "encryptionAtHost": true, + "securityType": "TrustedLaunch", + "encryptionIdentity": { + "userAssignedIdentityResourceId": "wkiykqbrifryaruzokophodpjig" + }, + "proxyAgentSettings": { + "enabled": true, + "mode": "Audit", + "keyIncarnationId": 17, + "wireServer": { + "mode": "Audit", + "inVMAccessControlProfileReferenceId": "cubhuucckqkxbifmertj" + }, + "imds": { + "mode": "Audit", + "inVMAccessControlProfileReferenceId": "cubhuucckqkxbifmertj" + }, + "addProxyAgentExtension": true + } + }, + "diagnosticsProfile": { + "bootDiagnostics": { + "enabled": true, + "storageUri": "https://microsoft.com/a" + } + }, + "licenseType": "iipnwxwfkfbbouzbwicqxnxicjz", + "scheduledEventsProfile": { + "terminateNotificationProfile": { + "notBeforeTimeout": "ypif", + "enable": true + }, + "osImageNotificationProfile": { + "notBeforeTimeout": "fztbudpjkicyigtvltlbszmivfbmb", + "enable": true + } + }, + "userData": "qcsgczwavs", + "capacityReservation": { + "capacityReservationGroup": { + "id": "obwiwwsgkdg" + } + }, + "applicationProfile": { + "galleryApplications": [ + { + "tags": "qgn", + "order": 14, + "packageReferenceId": "soddwzqduyolzz", + "configurationReference": "mddsvaruvzvblkafsotscupperzu", + "treatFailureAsDeploymentFailure": true, + "enableAutomaticUpgrade": true + } + ] + }, + "scheduledEventsPolicy": { + "userInitiatedRedeploy": { + "automaticallyApprove": true + }, + "userInitiatedReboot": { + "automaticallyApprove": true + }, + "scheduledEventsAdditionalPublishingTargets": { + "eventGridAndResourceGraph": { + "enable": true, + "scheduledEventsApiVersion": "sbzjonqss" + } + }, + "allInstancesDown": { + "automaticallyApprove": true + } + }, + "additionalCapabilities": { + "ultraSSDEnabled": true, + "hibernationEnabled": true + }, + "extensionsTimeBudget": "hvrimblcqujozpeurohjcn" + }, + "computeApiVersion": "bccikdfzgrygwpefvmvptutceg", + "extensions": [ + { + "name": "gj", + "properties": { + "forceUpdateTag": "mistpuvreycjbhahmcvgkjskeiop", + "publisher": "rzsodcysrfxkrgnrjqlpfqe", + "type": "eyehf", + "typeHandlerVersion": "wezzz", + "autoUpgradeMinorVersion": true, + "enableAutomaticUpgrade": true, + "suppressFailures": true, + "protectedSettingsFromKeyVault": { + "secretUrl": "cuatfdkula", + "sourceVault": { + "id": "ioypuofzltakyfcomjwfkmyz" + } + }, + "provisionAfterExtensions": [ + "jddcihtuzdczkvkryhktzjlf" + ], + "settings": {}, + "protectedSettings": {} + } + } + ] + }, + "zoneAllocationPolicy": { + "distributionStrategy": "BestEffortSingleZone", + "zonePreferences": [ + { + "zone": "voauikerqjpeepaeaokkcybyjd", + "rank": 46292 + } + ] + }, + "retryPolicy": { + "retryCount": 9, + "retryWindowInMinutes": 21 + } + }, + "zones": [ + "cyriutfcgydtaezeso" + ], + "identity": { + "type": "None", + "userAssignedIdentities": {} + }, + "plan": { + "name": "owvrgjbxrkj", + "publisher": "qhybdqbljmztcjujxal", + "product": "rlhap", + "promotionCode": "agypojbtdxvgqgisautnhcoysgy", + "version": "ghmnlomqg" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "capacity": 24, + "capacityType": "VM", + "priorityProfile": { + "type": "Regular", + "maxPricePerVM": 21, + "evictionPolicy": "Delete", + "allocationStrategy": "LowestPrice" + }, + "vmSizesProfile": [ + { + "name": "nolktwnfqdwikqiat", + "rank": 46189 + } + ], + "vmAttributes": { + "vCpuCount": { + "min": 0, + "max": 0 + }, + "memoryInGiB": { + "min": 0, + "max": 0 + }, + "architectureTypes": [ + "ARM64" + ], + "memoryInGiBPerVCpu": { + "min": 0, + "max": 0 + }, + "localStorageSupport": "Excluded", + "localStorageInGiB": { + "min": 0, + "max": 0 + }, + "localStorageDiskTypes": [ + "HDD" + ], + "dataDiskCount": { + "min": 0, + "max": 0 + }, + "networkInterfaceCount": { + "min": 0, + "max": 0 + }, + "networkBandwidthInMbps": { + "min": 0, + "max": 0 + }, + "rdmaSupport": "Excluded", + "rdmaNetworkInterfaceCount": { + "min": 0, + "max": 0 + }, + "acceleratorSupport": "Excluded", + "acceleratorManufacturers": [ + "AMD" + ], + "acceleratorTypes": [ + "GPU" + ], + "acceleratorCount": { + "min": 0, + "max": 0 + }, + "vmCategories": [ + "GeneralPurpose" + ], + "cpuManufacturers": [ + "Intel" + ], + "hyperVGenerations": [ + "Gen1" + ], + "burstableSupport": "Excluded", + "allowedVMSizes": [ + "dmtpdlqphckngwjhvkucfze" + ], + "excludedVMSizes": [ + "yhjhharuhcyfxjnhxmflvsrdmei" + ] + }, + "computeProfile": { + "virtualMachineProfile": { + "osProfile": { + "adminUsername": "tjdagcdhlpihlhkrz", + "customData": "jemgccf", + "windowsConfiguration": { + "provisionVMAgent": true, + "enableAutomaticUpdates": true, + "timeZone": "kiibvtut", + "additionalUnattendContent": [ + { + "passName": "OobeSystem", + "componentName": "Microsoft-Windows-Shell-Setup", + "settingName": "AutoLogon", + "content": "zdpsub" + } + ], + "patchSettings": { + "patchMode": "Manual", + "enableHotpatching": true, + "assessmentMode": "ImageDefault", + "automaticByPlatformSettings": { + "rebootSetting": "Unknown", + "bypassPlatformSafetyChecksOnUserSchedule": true + } + }, + "winRM": { + "listeners": [ + { + "protocol": "Http", + "certificateUrl": "https://microsoft.com/a" + } + ] + } + }, + "linuxConfiguration": { + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "path": "xyntsvqsiqsguyegxdvkmwhwz", + "keyData": "mfk" + } + ] + }, + "provisionVMAgent": true, + "patchSettings": { + "patchMode": "ImageDefault", + "assessmentMode": "ImageDefault", + "automaticByPlatformSettings": { + "rebootSetting": "Unknown", + "bypassPlatformSafetyChecksOnUserSchedule": true + } + }, + "enableVMAgentPlatformUpdates": true + }, + "secrets": [ + { + "sourceVault": { + "id": "obwiwwsgkdg" + }, + "vaultCertificates": [ + { + "certificateUrl": "https://microsoft.com/agmunp", + "certificateStore": "zxrjtvfmltdj" + } + ] + } + ], + "allowExtensionOperations": true, + "requireGuestProvisionSignal": true, + "computerName": "jagkikqx" + }, + "storageProfile": { + "imageReference": { + "id": "iwqrkiccafacxfctrxb", + "publisher": "edjvbyisusjhyvnzgyvhixmnfzzsy", + "offer": "olkxwdozixpjkjuk", + "sku": "qmsq", + "version": "hruassyajrafmgmub", + "sharedGalleryImageId": "ahzweiez", + "communityGalleryImageId": "bysd" + }, + "osDisk": { + "name": "pccysrjeo", + "caching": "None", + "writeAcceleratorEnabled": true, + "createOption": "FromImage", + "diffDiskSettings": { + "option": "Local", + "placement": "CacheDisk" + }, + "diskSizeGB": 18, + "osType": "Windows", + "image": { + "uri": "https://microsoft.com/a" + }, + "managedDisk": { + "storageAccountType": "Standard_LRS", + "diskEncryptionSet": { + "id": "thmks" + }, + "securityProfile": { + "securityEncryptionType": "VMGuestStateOnly", + "diskEncryptionSet": { + "id": "thmks" + } + }, + "id": "wuqdcyunrkewr" + }, + "deleteOption": "Delete", + "encryptionSettings": { + "diskEncryptionKey": { + "secretUrl": "cuatfdkula", + "sourceVault": { + "id": "ioypuofzltakyfcomjwfkmyz" + } + }, + "keyEncryptionKey": { + "keyUrl": "imt", + "sourceVault": { + "id": "ioypuofzltakyfcomjwfkmyz" + } + }, + "enabled": true + }, + "vhd": { + "uri": "anvtwgmfthxmyhdnbvabmzyrknxwf" + } + }, + "dataDisks": [ + { + "name": "aq", + "lun": 1, + "caching": "None", + "writeAcceleratorEnabled": true, + "createOption": "FromImage", + "diskSizeGB": 24, + "managedDisk": { + "storageAccountType": "Standard_LRS", + "diskEncryptionSet": { + "id": "thmks" + }, + "securityProfile": { + "securityEncryptionType": "VMGuestStateOnly", + "diskEncryptionSet": { + "id": "thmks" + } + }, + "id": "zcoqnxlomkordbdolkxraqbwgsh" + }, + "deleteOption": "Delete", + "vhd": { + "uri": "anvtwgmfthxmyhdnbvabmzyrknxwf" + }, + "image": { + "uri": "anvtwgmfthxmyhdnbvabmzyrknxwf" + }, + "sourceResource": { + "id": "fpabycyqmkqqfdfrzqmnykmy" + }, + "toBeDetached": true, + "detachOption": "ForceDetach" + } + ], + "diskControllerType": "SCSI" + }, + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "name": "keppldrpxjgckgsmq", + "properties": { + "primary": true, + "enableAcceleratedNetworking": true, + "disableTcpStateTracking": true, + "enableFpga": true, + "networkSecurityGroup": { + "id": "obwiwwsgkdg" + }, + "dnsSettings": { + "dnsServers": [ + "pnhvxygytoozxmkt" + ] + }, + "ipConfigurations": [ + { + "name": "nqjufbencyticmohsdxogwiu", + "properties": { + "subnet": { + "id": "djtafmblvomuabwlhlyoxzgdkwkz" + }, + "primary": true, + "publicIPAddressConfiguration": { + "name": "kgvjhctjspzldadcmtgsojglhmj", + "properties": { + "idleTimeoutInMinutes": 22, + "dnsSettings": { + "domainNameLabel": "vsvbcpusndz", + "domainNameLabelScope": "TenantReuse" + }, + "ipTags": [ + { + "ipTagType": "hengwhngakjlsmhuegnlbtpmiihf", + "tag": "zlnuzjdbdnwbtep" + } + ], + "publicIPPrefix": { + "id": "obwiwwsgkdg" + }, + "publicIPAddressVersion": "IPv4", + "deleteOption": "Delete", + "publicIPAllocationMethod": "Dynamic" + }, + "sku": { + "name": "Basic", + "tier": "Regional" + }, + "tags": {} + }, + "privateIPAddressVersion": "IPv4", + "applicationGatewayBackendAddressPools": [ + { + "id": "obwiwwsgkdg" + } + ], + "applicationSecurityGroups": [ + { + "id": "obwiwwsgkdg" + } + ], + "loadBalancerBackendAddressPools": [ + { + "id": "obwiwwsgkdg" + } + ] + } + } + ], + "enableIPForwarding": true, + "deleteOption": "Delete", + "auxiliaryMode": "None", + "auxiliarySku": "None", + "dscpConfiguration": { + "id": "ioypuofzltakyfcomjwfkmyz" + } + }, + "tags": {} + } + ], + "networkApiVersion": "2020-11-01", + "networkInterfaces": [ + { + "properties": { + "primary": true, + "deleteOption": "Delete" + }, + "id": "bmlqsytfgnkwgkibsmsoeh" + } + ] + }, + "securityProfile": { + "uefiSettings": { + "secureBootEnabled": true, + "vTpmEnabled": true + }, + "encryptionAtHost": true, + "securityType": "TrustedLaunch", + "encryptionIdentity": { + "userAssignedIdentityResourceId": "wkiykqbrifryaruzokophodpjig" + }, + "proxyAgentSettings": { + "enabled": true, + "mode": "Audit", + "keyIncarnationId": 17, + "wireServer": { + "mode": "Audit", + "inVMAccessControlProfileReferenceId": "cubhuucckqkxbifmertj" + }, + "imds": { + "mode": "Audit", + "inVMAccessControlProfileReferenceId": "cubhuucckqkxbifmertj" + }, + "addProxyAgentExtension": true + } + }, + "diagnosticsProfile": { + "bootDiagnostics": { + "enabled": true, + "storageUri": "https://microsoft.com/a" + } + }, + "licenseType": "iipnwxwfkfbbouzbwicqxnxicjz", + "scheduledEventsProfile": { + "terminateNotificationProfile": { + "notBeforeTimeout": "ypif", + "enable": true + }, + "osImageNotificationProfile": { + "notBeforeTimeout": "fztbudpjkicyigtvltlbszmivfbmb", + "enable": true + } + }, + "userData": "qcsgczwavs", + "capacityReservation": { + "capacityReservationGroup": { + "id": "obwiwwsgkdg" + } + }, + "applicationProfile": { + "galleryApplications": [ + { + "tags": "qgn", + "order": 14, + "packageReferenceId": "soddwzqduyolzz", + "configurationReference": "mddsvaruvzvblkafsotscupperzu", + "treatFailureAsDeploymentFailure": true, + "enableAutomaticUpgrade": true + } + ] + }, + "scheduledEventsPolicy": { + "userInitiatedRedeploy": { + "automaticallyApprove": true + }, + "userInitiatedReboot": { + "automaticallyApprove": true + }, + "scheduledEventsAdditionalPublishingTargets": { + "eventGridAndResourceGraph": { + "enable": true, + "scheduledEventsApiVersion": "sbzjonqss" + } + }, + "allInstancesDown": { + "automaticallyApprove": true + } + }, + "additionalCapabilities": { + "ultraSSDEnabled": true, + "hibernationEnabled": true + }, + "extensionsTimeBudget": "hvrimblcqujozpeurohjcn" + }, + "computeApiVersion": "bccikdfzgrygwpefvmvptutceg", + "extensions": [ + { + "name": "gj", + "properties": { + "forceUpdateTag": "mistpuvreycjbhahmcvgkjskeiop", + "publisher": "rzsodcysrfxkrgnrjqlpfqe", + "type": "eyehf", + "typeHandlerVersion": "wezzz", + "autoUpgradeMinorVersion": true, + "enableAutomaticUpgrade": true, + "suppressFailures": true, + "protectedSettingsFromKeyVault": { + "secretUrl": "cuatfdkula", + "sourceVault": { + "id": "ioypuofzltakyfcomjwfkmyz" + } + }, + "provisionAfterExtensions": [ + "jddcihtuzdczkvkryhktzjlf" + ], + "settings": {}, + "protectedSettings": {} + } + } + ] + }, + "zoneAllocationPolicy": { + "distributionStrategy": "BestEffortSingleZone", + "zonePreferences": [ + { + "zone": "voauikerqjpeepaeaokkcybyjd", + "rank": 46292 + } + ] + }, + "retryPolicy": { + "retryCount": 9, + "retryWindowInMinutes": 21 + }, + "provisioningState": "Succeeded" + }, + "zones": [ + "cyriutfcgydtaezeso" + ], + "identity": { + "type": "None", + "userAssignedIdentities": {}, + "principalId": "2ebdc740-a760-4406-80e9-6be95ebc9743", + "tenantId": "3ec2ab23-9f13-4328-85c8-21928acbc7b8" + }, + "plan": { + "name": "owvrgjbxrkj", + "publisher": "qhybdqbljmztcjujxal", + "product": "rlhap", + "promotionCode": "agypojbtdxvgqgisautnhcoysgy", + "version": "ghmnlomqg" + }, + "id": "/subscriptions/50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B/resourceGroups/rgcomputebulkactions/providers/Microsoft.Compute/bulkActions/3ec2ab23-9f13-4328-85c8-21928acbc7b8", + "name": "kv", + "type": "v", + "systemData": { + "createdBy": "kmjag", + "createdByType": "User", + "createdAt": "2025-10-02T21:36:21.174Z", + "lastModifiedBy": "fwcgdzyolflmgnxnnmpoevpwr", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-10-02T21:36:21.174Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "capacity": 24, + "capacityType": "VM", + "priorityProfile": { + "type": "Regular", + "maxPricePerVM": 21, + "evictionPolicy": "Delete", + "allocationStrategy": "LowestPrice" + }, + "vmSizesProfile": [ + { + "name": "nolktwnfqdwikqiat", + "rank": 46189 + } + ], + "vmAttributes": { + "vCpuCount": { + "min": 0, + "max": 0 + }, + "memoryInGiB": { + "min": 0, + "max": 0 + }, + "architectureTypes": [ + "ARM64" + ], + "memoryInGiBPerVCpu": { + "min": 0, + "max": 0 + }, + "localStorageSupport": "Excluded", + "localStorageInGiB": { + "min": 0, + "max": 0 + }, + "localStorageDiskTypes": [ + "HDD" + ], + "dataDiskCount": { + "min": 0, + "max": 0 + }, + "networkInterfaceCount": { + "min": 0, + "max": 0 + }, + "networkBandwidthInMbps": { + "min": 0, + "max": 0 + }, + "rdmaSupport": "Excluded", + "rdmaNetworkInterfaceCount": { + "min": 0, + "max": 0 + }, + "acceleratorSupport": "Excluded", + "acceleratorManufacturers": [ + "AMD" + ], + "acceleratorTypes": [ + "GPU" + ], + "acceleratorCount": { + "min": 0, + "max": 0 + }, + "vmCategories": [ + "GeneralPurpose" + ], + "cpuManufacturers": [ + "Intel" + ], + "hyperVGenerations": [ + "Gen1" + ], + "burstableSupport": "Excluded", + "allowedVMSizes": [ + "dmtpdlqphckngwjhvkucfze" + ], + "excludedVMSizes": [ + "yhjhharuhcyfxjnhxmflvsrdmei" + ] + }, + "computeProfile": { + "virtualMachineProfile": { + "osProfile": { + "adminUsername": "tjdagcdhlpihlhkrz", + "customData": "jemgccf", + "windowsConfiguration": { + "provisionVMAgent": true, + "enableAutomaticUpdates": true, + "timeZone": "kiibvtut", + "additionalUnattendContent": [ + { + "passName": "OobeSystem", + "componentName": "Microsoft-Windows-Shell-Setup", + "settingName": "AutoLogon", + "content": "zdpsub" + } + ], + "patchSettings": { + "patchMode": "Manual", + "enableHotpatching": true, + "assessmentMode": "ImageDefault", + "automaticByPlatformSettings": { + "rebootSetting": "Unknown", + "bypassPlatformSafetyChecksOnUserSchedule": true + } + }, + "winRM": { + "listeners": [ + { + "protocol": "Http", + "certificateUrl": "https://microsoft.com/a" + } + ] + } + }, + "linuxConfiguration": { + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "path": "xyntsvqsiqsguyegxdvkmwhwz", + "keyData": "mfk" + } + ] + }, + "provisionVMAgent": true, + "patchSettings": { + "patchMode": "ImageDefault", + "assessmentMode": "ImageDefault", + "automaticByPlatformSettings": { + "rebootSetting": "Unknown", + "bypassPlatformSafetyChecksOnUserSchedule": true + } + }, + "enableVMAgentPlatformUpdates": true + }, + "secrets": [ + { + "sourceVault": { + "id": "obwiwwsgkdg" + }, + "vaultCertificates": [ + { + "certificateUrl": "https://microsoft.com/agmunp", + "certificateStore": "zxrjtvfmltdj" + } + ] + } + ], + "allowExtensionOperations": true, + "requireGuestProvisionSignal": true, + "computerName": "jagkikqx" + }, + "storageProfile": { + "imageReference": { + "id": "iwqrkiccafacxfctrxb", + "publisher": "edjvbyisusjhyvnzgyvhixmnfzzsy", + "offer": "olkxwdozixpjkjuk", + "sku": "qmsq", + "version": "hruassyajrafmgmub", + "sharedGalleryImageId": "ahzweiez", + "communityGalleryImageId": "bysd" + }, + "osDisk": { + "name": "pccysrjeo", + "caching": "None", + "writeAcceleratorEnabled": true, + "createOption": "FromImage", + "diffDiskSettings": { + "option": "Local", + "placement": "CacheDisk" + }, + "diskSizeGB": 18, + "osType": "Windows", + "image": { + "uri": "https://microsoft.com/a" + }, + "managedDisk": { + "storageAccountType": "Standard_LRS", + "diskEncryptionSet": { + "id": "thmks" + }, + "securityProfile": { + "securityEncryptionType": "VMGuestStateOnly", + "diskEncryptionSet": { + "id": "thmks" + } + }, + "id": "wuqdcyunrkewr" + }, + "deleteOption": "Delete", + "encryptionSettings": { + "diskEncryptionKey": { + "secretUrl": "cuatfdkula", + "sourceVault": { + "id": "ioypuofzltakyfcomjwfkmyz" + } + }, + "keyEncryptionKey": { + "keyUrl": "imt", + "sourceVault": { + "id": "ioypuofzltakyfcomjwfkmyz" + } + }, + "enabled": true + }, + "vhd": { + "uri": "anvtwgmfthxmyhdnbvabmzyrknxwf" + } + }, + "dataDisks": [ + { + "name": "aq", + "lun": 1, + "caching": "None", + "writeAcceleratorEnabled": true, + "createOption": "FromImage", + "diskSizeGB": 24, + "managedDisk": { + "storageAccountType": "Standard_LRS", + "diskEncryptionSet": { + "id": "thmks" + }, + "securityProfile": { + "securityEncryptionType": "VMGuestStateOnly", + "diskEncryptionSet": { + "id": "thmks" + } + }, + "id": "zcoqnxlomkordbdolkxraqbwgsh" + }, + "deleteOption": "Delete", + "vhd": { + "uri": "anvtwgmfthxmyhdnbvabmzyrknxwf" + }, + "image": { + "uri": "anvtwgmfthxmyhdnbvabmzyrknxwf" + }, + "sourceResource": { + "id": "fpabycyqmkqqfdfrzqmnykmy" + }, + "toBeDetached": true, + "detachOption": "ForceDetach" + } + ], + "diskControllerType": "SCSI" + }, + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "name": "keppldrpxjgckgsmq", + "properties": { + "primary": true, + "enableAcceleratedNetworking": true, + "disableTcpStateTracking": true, + "enableFpga": true, + "networkSecurityGroup": { + "id": "obwiwwsgkdg" + }, + "dnsSettings": { + "dnsServers": [ + "pnhvxygytoozxmkt" + ] + }, + "ipConfigurations": [ + { + "name": "nqjufbencyticmohsdxogwiu", + "properties": { + "subnet": { + "id": "djtafmblvomuabwlhlyoxzgdkwkz" + }, + "primary": true, + "publicIPAddressConfiguration": { + "name": "kgvjhctjspzldadcmtgsojglhmj", + "properties": { + "idleTimeoutInMinutes": 22, + "dnsSettings": { + "domainNameLabel": "vsvbcpusndz", + "domainNameLabelScope": "TenantReuse" + }, + "ipTags": [ + { + "ipTagType": "hengwhngakjlsmhuegnlbtpmiihf", + "tag": "zlnuzjdbdnwbtep" + } + ], + "publicIPPrefix": { + "id": "obwiwwsgkdg" + }, + "publicIPAddressVersion": "IPv4", + "deleteOption": "Delete", + "publicIPAllocationMethod": "Dynamic" + }, + "sku": { + "name": "Basic", + "tier": "Regional" + }, + "tags": {} + }, + "privateIPAddressVersion": "IPv4", + "applicationGatewayBackendAddressPools": [ + { + "id": "obwiwwsgkdg" + } + ], + "applicationSecurityGroups": [ + { + "id": "obwiwwsgkdg" + } + ], + "loadBalancerBackendAddressPools": [ + { + "id": "obwiwwsgkdg" + } + ] + } + } + ], + "enableIPForwarding": true, + "deleteOption": "Delete", + "auxiliaryMode": "None", + "auxiliarySku": "None", + "dscpConfiguration": { + "id": "ioypuofzltakyfcomjwfkmyz" + } + }, + "tags": {} + } + ], + "networkApiVersion": "2020-11-01", + "networkInterfaces": [ + { + "properties": { + "primary": true, + "deleteOption": "Delete" + }, + "id": "bmlqsytfgnkwgkibsmsoeh" + } + ] + }, + "securityProfile": { + "uefiSettings": { + "secureBootEnabled": true, + "vTpmEnabled": true + }, + "encryptionAtHost": true, + "securityType": "TrustedLaunch", + "encryptionIdentity": { + "userAssignedIdentityResourceId": "wkiykqbrifryaruzokophodpjig" + }, + "proxyAgentSettings": { + "enabled": true, + "mode": "Audit", + "keyIncarnationId": 17, + "wireServer": { + "mode": "Audit", + "inVMAccessControlProfileReferenceId": "cubhuucckqkxbifmertj" + }, + "imds": { + "mode": "Audit", + "inVMAccessControlProfileReferenceId": "cubhuucckqkxbifmertj" + }, + "addProxyAgentExtension": true + } + }, + "diagnosticsProfile": { + "bootDiagnostics": { + "enabled": true, + "storageUri": "https://microsoft.com/a" + } + }, + "licenseType": "iipnwxwfkfbbouzbwicqxnxicjz", + "scheduledEventsProfile": { + "terminateNotificationProfile": { + "notBeforeTimeout": "ypif", + "enable": true + }, + "osImageNotificationProfile": { + "notBeforeTimeout": "fztbudpjkicyigtvltlbszmivfbmb", + "enable": true + } + }, + "userData": "qcsgczwavs", + "capacityReservation": { + "capacityReservationGroup": { + "id": "obwiwwsgkdg" + } + }, + "applicationProfile": { + "galleryApplications": [ + { + "tags": "qgn", + "order": 14, + "packageReferenceId": "soddwzqduyolzz", + "configurationReference": "mddsvaruvzvblkafsotscupperzu", + "treatFailureAsDeploymentFailure": true, + "enableAutomaticUpgrade": true + } + ] + }, + "scheduledEventsPolicy": { + "userInitiatedRedeploy": { + "automaticallyApprove": true + }, + "userInitiatedReboot": { + "automaticallyApprove": true + }, + "scheduledEventsAdditionalPublishingTargets": { + "eventGridAndResourceGraph": { + "enable": true, + "scheduledEventsApiVersion": "sbzjonqss" + } + }, + "allInstancesDown": { + "automaticallyApprove": true + } + }, + "additionalCapabilities": { + "ultraSSDEnabled": true, + "hibernationEnabled": true + }, + "extensionsTimeBudget": "hvrimblcqujozpeurohjcn" + }, + "computeApiVersion": "bccikdfzgrygwpefvmvptutceg", + "extensions": [ + { + "name": "gj", + "properties": { + "forceUpdateTag": "mistpuvreycjbhahmcvgkjskeiop", + "publisher": "rzsodcysrfxkrgnrjqlpfqe", + "type": "eyehf", + "typeHandlerVersion": "wezzz", + "autoUpgradeMinorVersion": true, + "enableAutomaticUpgrade": true, + "suppressFailures": true, + "protectedSettingsFromKeyVault": { + "secretUrl": "cuatfdkula", + "sourceVault": { + "id": "ioypuofzltakyfcomjwfkmyz" + } + }, + "provisionAfterExtensions": [ + "jddcihtuzdczkvkryhktzjlf" + ], + "settings": {}, + "protectedSettings": {} + } + } + ] + }, + "zoneAllocationPolicy": { + "distributionStrategy": "BestEffortSingleZone", + "zonePreferences": [ + { + "zone": "voauikerqjpeepaeaokkcybyjd", + "rank": 46292 + } + ] + }, + "retryPolicy": { + "retryCount": 9, + "retryWindowInMinutes": 21 + }, + "provisioningState": "Succeeded" + }, + "zones": [ + "cyriutfcgydtaezeso" + ], + "identity": { + "type": "None", + "userAssignedIdentities": {}, + "principalId": "2ebdc740-a760-4406-80e9-6be95ebc9743", + "tenantId": "3ec2ab23-9f13-4328-85c8-21928acbc7b8" + }, + "plan": { + "name": "owvrgjbxrkj", + "publisher": "qhybdqbljmztcjujxal", + "product": "rlhap", + "promotionCode": "agypojbtdxvgqgisautnhcoysgy", + "version": "ghmnlomqg" + }, + "id": "/subscriptions/50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B/resourceGroups/rgcomputebulkactions/providers/Microsoft.Compute/bulkActions/3ec2ab23-9f13-4328-85c8-21928acbc7b8", + "name": "kv", + "type": "v", + "systemData": { + "createdBy": "kmjag", + "createdByType": "User", + "createdAt": "2025-10-02T21:36:21.174Z", + "lastModifiedBy": "fwcgdzyolflmgnxnnmpoevpwr", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-10-02T21:36:21.174Z" + } + } + } + } +} diff --git a/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_DeleteBulkAction_MaximumSet_Gen.json b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_DeleteBulkAction_MaximumSet_Gen.json new file mode 100644 index 000000000000..e88a7430f770 --- /dev/null +++ b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_DeleteBulkAction_MaximumSet_Gen.json @@ -0,0 +1,15 @@ +{ + "title": "BulkActions_DeleteBulkAction", + "operationId": "BulkActions_DeleteBulkAction", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B", + "resourceGroupName": "rgcomputebulkactions", + "location": "eastus2euap", + "name": "3ec2ab23-9f13-4328-85c8-21928acbc7b8" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_Delete_MaximumSet_Gen.json b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..89073e6b1d0b --- /dev/null +++ b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_Delete_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "BulkActions_Delete - generated by [MaximumSet] rule", + "operationId": "BulkActions_Delete", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B", + "resourceGroupName": "rgcomputebulkactions", + "name": "3ec2ab23-9f13-4328-85c8-21928acbc7b8", + "location": "eastus2euap" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_GetOperationStatus_MaximumSet_Gen.json b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_GetOperationStatus_MaximumSet_Gen.json new file mode 100644 index 000000000000..3b35a1512cf4 --- /dev/null +++ b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_GetOperationStatus_MaximumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "BulkActions_GetOperationStatus - generated by [MaximumSet] rule", + "operationId": "BulkActions_GetOperationStatus", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B", + "location": "eastus2euap", + "id": "2a3fce8e-874c-45f4-9d27-1a804f3b7a0f" + }, + "responses": { + "200": { + "body": { + "status": "Succeeded", + "startTime": "2025-11-25T22:19:26.906Z", + "endTime": "2025-11-25T22:19:26.906Z", + "name": "2a3fce8e-874c-45f4-9d27-1a804f3b7a0f" + } + } + } +} diff --git a/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_Get_MaximumSet_Gen.json b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..6664c6c5dd3b --- /dev/null +++ b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_Get_MaximumSet_Gen.json @@ -0,0 +1,513 @@ +{ + "title": "BulkActions_Get - generated by [MaximumSet] rule", + "operationId": "BulkActions_Get", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B", + "resourceGroupName": "rgcomputebulkactions", + "name": "3ec2ab23-9f13-4328-85c8-21928acbc7b8", + "location": "eastus2euap" + }, + "responses": { + "200": { + "body": { + "properties": { + "capacity": 24, + "capacityType": "VM", + "priorityProfile": { + "type": "Regular", + "maxPricePerVM": 21, + "evictionPolicy": "Delete", + "allocationStrategy": "LowestPrice" + }, + "vmSizesProfile": [ + { + "name": "nolktwnfqdwikqiat", + "rank": 46189 + } + ], + "vmAttributes": { + "vCpuCount": { + "min": 0, + "max": 0 + }, + "memoryInGiB": { + "min": 0, + "max": 0 + }, + "architectureTypes": [ + "ARM64" + ], + "memoryInGiBPerVCpu": { + "min": 0, + "max": 0 + }, + "localStorageSupport": "Excluded", + "localStorageInGiB": { + "min": 0, + "max": 0 + }, + "localStorageDiskTypes": [ + "HDD" + ], + "dataDiskCount": { + "min": 0, + "max": 0 + }, + "networkInterfaceCount": { + "min": 0, + "max": 0 + }, + "networkBandwidthInMbps": { + "min": 0, + "max": 0 + }, + "rdmaSupport": "Excluded", + "rdmaNetworkInterfaceCount": { + "min": 0, + "max": 0 + }, + "acceleratorSupport": "Excluded", + "acceleratorManufacturers": [ + "AMD" + ], + "acceleratorTypes": [ + "GPU" + ], + "acceleratorCount": { + "min": 0, + "max": 0 + }, + "vmCategories": [ + "GeneralPurpose" + ], + "cpuManufacturers": [ + "Intel" + ], + "hyperVGenerations": [ + "Gen1" + ], + "burstableSupport": "Excluded", + "allowedVMSizes": [ + "dmtpdlqphckngwjhvkucfze" + ], + "excludedVMSizes": [ + "yhjhharuhcyfxjnhxmflvsrdmei" + ] + }, + "computeProfile": { + "virtualMachineProfile": { + "osProfile": { + "adminUsername": "tjdagcdhlpihlhkrz", + "customData": "jemgccf", + "windowsConfiguration": { + "provisionVMAgent": true, + "enableAutomaticUpdates": true, + "timeZone": "kiibvtut", + "additionalUnattendContent": [ + { + "passName": "OobeSystem", + "componentName": "Microsoft-Windows-Shell-Setup", + "settingName": "AutoLogon", + "content": "zdpsub" + } + ], + "patchSettings": { + "patchMode": "Manual", + "enableHotpatching": true, + "assessmentMode": "ImageDefault", + "automaticByPlatformSettings": { + "rebootSetting": "Unknown", + "bypassPlatformSafetyChecksOnUserSchedule": true + } + }, + "winRM": { + "listeners": [ + { + "protocol": "Http", + "certificateUrl": "https://microsoft.com/a" + } + ] + } + }, + "linuxConfiguration": { + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "path": "xyntsvqsiqsguyegxdvkmwhwz", + "keyData": "mfk" + } + ] + }, + "provisionVMAgent": true, + "patchSettings": { + "patchMode": "ImageDefault", + "assessmentMode": "ImageDefault", + "automaticByPlatformSettings": { + "rebootSetting": "Unknown", + "bypassPlatformSafetyChecksOnUserSchedule": true + } + }, + "enableVMAgentPlatformUpdates": true + }, + "secrets": [ + { + "sourceVault": { + "id": "obwiwwsgkdg" + }, + "vaultCertificates": [ + { + "certificateUrl": "https://microsoft.com/agmunp", + "certificateStore": "zxrjtvfmltdj" + } + ] + } + ], + "allowExtensionOperations": true, + "requireGuestProvisionSignal": true, + "computerName": "jagkikqx" + }, + "storageProfile": { + "imageReference": { + "id": "iwqrkiccafacxfctrxb", + "publisher": "edjvbyisusjhyvnzgyvhixmnfzzsy", + "offer": "olkxwdozixpjkjuk", + "sku": "qmsq", + "version": "hruassyajrafmgmub", + "sharedGalleryImageId": "ahzweiez", + "communityGalleryImageId": "bysd" + }, + "osDisk": { + "name": "pccysrjeo", + "caching": "None", + "writeAcceleratorEnabled": true, + "createOption": "FromImage", + "diffDiskSettings": { + "option": "Local", + "placement": "CacheDisk" + }, + "diskSizeGB": 18, + "osType": "Windows", + "image": { + "uri": "https://microsoft.com/a" + }, + "managedDisk": { + "storageAccountType": "Standard_LRS", + "diskEncryptionSet": { + "id": "thmks" + }, + "securityProfile": { + "securityEncryptionType": "VMGuestStateOnly", + "diskEncryptionSet": { + "id": "thmks" + } + }, + "id": "wuqdcyunrkewr" + }, + "deleteOption": "Delete", + "encryptionSettings": { + "diskEncryptionKey": { + "secretUrl": "cuatfdkula", + "sourceVault": { + "id": "ioypuofzltakyfcomjwfkmyz" + } + }, + "keyEncryptionKey": { + "keyUrl": "imt", + "sourceVault": { + "id": "ioypuofzltakyfcomjwfkmyz" + } + }, + "enabled": true + }, + "vhd": { + "uri": "anvtwgmfthxmyhdnbvabmzyrknxwf" + } + }, + "dataDisks": [ + { + "name": "aq", + "lun": 1, + "caching": "None", + "writeAcceleratorEnabled": true, + "createOption": "FromImage", + "diskSizeGB": 24, + "managedDisk": { + "storageAccountType": "Standard_LRS", + "diskEncryptionSet": { + "id": "thmks" + }, + "securityProfile": { + "securityEncryptionType": "VMGuestStateOnly", + "diskEncryptionSet": { + "id": "thmks" + } + }, + "id": "zcoqnxlomkordbdolkxraqbwgsh" + }, + "deleteOption": "Delete", + "vhd": { + "uri": "anvtwgmfthxmyhdnbvabmzyrknxwf" + }, + "image": { + "uri": "anvtwgmfthxmyhdnbvabmzyrknxwf" + }, + "sourceResource": { + "id": "fpabycyqmkqqfdfrzqmnykmy" + }, + "toBeDetached": true, + "detachOption": "ForceDetach" + } + ], + "diskControllerType": "SCSI" + }, + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "name": "keppldrpxjgckgsmq", + "properties": { + "primary": true, + "enableAcceleratedNetworking": true, + "disableTcpStateTracking": true, + "enableFpga": true, + "networkSecurityGroup": { + "id": "obwiwwsgkdg" + }, + "dnsSettings": { + "dnsServers": [ + "pnhvxygytoozxmkt" + ] + }, + "ipConfigurations": [ + { + "name": "nqjufbencyticmohsdxogwiu", + "properties": { + "subnet": { + "id": "djtafmblvomuabwlhlyoxzgdkwkz" + }, + "primary": true, + "publicIPAddressConfiguration": { + "name": "kgvjhctjspzldadcmtgsojglhmj", + "properties": { + "idleTimeoutInMinutes": 22, + "dnsSettings": { + "domainNameLabel": "vsvbcpusndz", + "domainNameLabelScope": "TenantReuse" + }, + "ipTags": [ + { + "ipTagType": "hengwhngakjlsmhuegnlbtpmiihf", + "tag": "zlnuzjdbdnwbtep" + } + ], + "publicIPPrefix": { + "id": "obwiwwsgkdg" + }, + "publicIPAddressVersion": "IPv4", + "deleteOption": "Delete", + "publicIPAllocationMethod": "Dynamic" + }, + "sku": { + "name": "Basic", + "tier": "Regional" + }, + "tags": {} + }, + "privateIPAddressVersion": "IPv4", + "applicationGatewayBackendAddressPools": [ + { + "id": "obwiwwsgkdg" + } + ], + "applicationSecurityGroups": [ + { + "id": "obwiwwsgkdg" + } + ], + "loadBalancerBackendAddressPools": [ + { + "id": "obwiwwsgkdg" + } + ] + } + } + ], + "enableIPForwarding": true, + "deleteOption": "Delete", + "auxiliaryMode": "None", + "auxiliarySku": "None", + "dscpConfiguration": { + "id": "ioypuofzltakyfcomjwfkmyz" + } + }, + "tags": {} + } + ], + "networkApiVersion": "2020-11-01", + "networkInterfaces": [ + { + "properties": { + "primary": true, + "deleteOption": "Delete" + }, + "id": "bmlqsytfgnkwgkibsmsoeh" + } + ] + }, + "securityProfile": { + "uefiSettings": { + "secureBootEnabled": true, + "vTpmEnabled": true + }, + "encryptionAtHost": true, + "securityType": "TrustedLaunch", + "encryptionIdentity": { + "userAssignedIdentityResourceId": "wkiykqbrifryaruzokophodpjig" + }, + "proxyAgentSettings": { + "enabled": true, + "mode": "Audit", + "keyIncarnationId": 17, + "wireServer": { + "mode": "Audit", + "inVMAccessControlProfileReferenceId": "cubhuucckqkxbifmertj" + }, + "imds": { + "mode": "Audit", + "inVMAccessControlProfileReferenceId": "cubhuucckqkxbifmertj" + }, + "addProxyAgentExtension": true + } + }, + "diagnosticsProfile": { + "bootDiagnostics": { + "enabled": true, + "storageUri": "https://microsoft.com/a" + } + }, + "licenseType": "iipnwxwfkfbbouzbwicqxnxicjz", + "scheduledEventsProfile": { + "terminateNotificationProfile": { + "notBeforeTimeout": "ypif", + "enable": true + }, + "osImageNotificationProfile": { + "notBeforeTimeout": "fztbudpjkicyigtvltlbszmivfbmb", + "enable": true + } + }, + "userData": "qcsgczwavs", + "capacityReservation": { + "capacityReservationGroup": { + "id": "obwiwwsgkdg" + } + }, + "applicationProfile": { + "galleryApplications": [ + { + "tags": "qgn", + "order": 14, + "packageReferenceId": "soddwzqduyolzz", + "configurationReference": "mddsvaruvzvblkafsotscupperzu", + "treatFailureAsDeploymentFailure": true, + "enableAutomaticUpgrade": true + } + ] + }, + "scheduledEventsPolicy": { + "userInitiatedRedeploy": { + "automaticallyApprove": true + }, + "userInitiatedReboot": { + "automaticallyApprove": true + }, + "scheduledEventsAdditionalPublishingTargets": { + "eventGridAndResourceGraph": { + "enable": true, + "scheduledEventsApiVersion": "sbzjonqss" + } + }, + "allInstancesDown": { + "automaticallyApprove": true + } + }, + "additionalCapabilities": { + "ultraSSDEnabled": true, + "hibernationEnabled": true + }, + "extensionsTimeBudget": "hvrimblcqujozpeurohjcn" + }, + "computeApiVersion": "bccikdfzgrygwpefvmvptutceg", + "extensions": [ + { + "name": "gj", + "properties": { + "forceUpdateTag": "mistpuvreycjbhahmcvgkjskeiop", + "publisher": "rzsodcysrfxkrgnrjqlpfqe", + "type": "eyehf", + "typeHandlerVersion": "wezzz", + "autoUpgradeMinorVersion": true, + "enableAutomaticUpgrade": true, + "suppressFailures": true, + "protectedSettingsFromKeyVault": { + "secretUrl": "cuatfdkula", + "sourceVault": { + "id": "ioypuofzltakyfcomjwfkmyz" + } + }, + "provisionAfterExtensions": [ + "jddcihtuzdczkvkryhktzjlf" + ], + "settings": {}, + "protectedSettings": {} + } + } + ] + }, + "zoneAllocationPolicy": { + "distributionStrategy": "BestEffortSingleZone", + "zonePreferences": [ + { + "zone": "voauikerqjpeepaeaokkcybyjd", + "rank": 46292 + } + ] + }, + "retryPolicy": { + "retryCount": 9, + "retryWindowInMinutes": 21 + }, + "provisioningState": "Succeeded" + }, + "zones": [ + "cyriutfcgydtaezeso" + ], + "identity": { + "type": "None", + "userAssignedIdentities": {}, + "principalId": "2ebdc740-a760-4406-80e9-6be95ebc9743", + "tenantId": "3ec2ab23-9f13-4328-85c8-21928acbc7b8" + }, + "plan": { + "name": "owvrgjbxrkj", + "publisher": "qhybdqbljmztcjujxal", + "product": "rlhap", + "promotionCode": "agypojbtdxvgqgisautnhcoysgy", + "version": "ghmnlomqg" + }, + "id": "/subscriptions/50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B/resourceGroups/rgcomputebulkactions/providers/Microsoft.Compute/bulkActions/3ec2ab23-9f13-4328-85c8-21928acbc7b8", + "name": "kv", + "type": "v", + "systemData": { + "createdBy": "kmjag", + "createdByType": "User", + "createdAt": "2025-10-02T21:36:21.174Z", + "lastModifiedBy": "fwcgdzyolflmgnxnnmpoevpwr", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-10-02T21:36:21.174Z" + } + } + } + } +} diff --git a/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_ListByResourceGroup_MaximumSet_Gen.json b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..39d1d0605eb3 --- /dev/null +++ b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,517 @@ +{ + "title": "BulkActions_ListByResourceGroup - generated by [MaximumSet] rule", + "operationId": "BulkActions_ListByResourceGroup", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B", + "resourceGroupName": "rgcomputebulkactions", + "location": "eastus2euap" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "capacity": 24, + "capacityType": "VM", + "priorityProfile": { + "type": "Regular", + "maxPricePerVM": 21, + "evictionPolicy": "Delete", + "allocationStrategy": "LowestPrice" + }, + "vmSizesProfile": [ + { + "name": "nolktwnfqdwikqiat", + "rank": 46189 + } + ], + "vmAttributes": { + "vCpuCount": { + "min": 0, + "max": 0 + }, + "memoryInGiB": { + "min": 0, + "max": 0 + }, + "architectureTypes": [ + "ARM64" + ], + "memoryInGiBPerVCpu": { + "min": 0, + "max": 0 + }, + "localStorageSupport": "Excluded", + "localStorageInGiB": { + "min": 0, + "max": 0 + }, + "localStorageDiskTypes": [ + "HDD" + ], + "dataDiskCount": { + "min": 0, + "max": 0 + }, + "networkInterfaceCount": { + "min": 0, + "max": 0 + }, + "networkBandwidthInMbps": { + "min": 0, + "max": 0 + }, + "rdmaSupport": "Excluded", + "rdmaNetworkInterfaceCount": { + "min": 0, + "max": 0 + }, + "acceleratorSupport": "Excluded", + "acceleratorManufacturers": [ + "AMD" + ], + "acceleratorTypes": [ + "GPU" + ], + "acceleratorCount": { + "min": 0, + "max": 0 + }, + "vmCategories": [ + "GeneralPurpose" + ], + "cpuManufacturers": [ + "Intel" + ], + "hyperVGenerations": [ + "Gen1" + ], + "burstableSupport": "Excluded", + "allowedVMSizes": [ + "dmtpdlqphckngwjhvkucfze" + ], + "excludedVMSizes": [ + "yhjhharuhcyfxjnhxmflvsrdmei" + ] + }, + "computeProfile": { + "virtualMachineProfile": { + "osProfile": { + "adminUsername": "tjdagcdhlpihlhkrz", + "customData": "jemgccf", + "windowsConfiguration": { + "provisionVMAgent": true, + "enableAutomaticUpdates": true, + "timeZone": "kiibvtut", + "additionalUnattendContent": [ + { + "passName": "OobeSystem", + "componentName": "Microsoft-Windows-Shell-Setup", + "settingName": "AutoLogon", + "content": "zdpsub" + } + ], + "patchSettings": { + "patchMode": "Manual", + "enableHotpatching": true, + "assessmentMode": "ImageDefault", + "automaticByPlatformSettings": { + "rebootSetting": "Unknown", + "bypassPlatformSafetyChecksOnUserSchedule": true + } + }, + "winRM": { + "listeners": [ + { + "protocol": "Http", + "certificateUrl": "https://microsoft.com/a" + } + ] + } + }, + "linuxConfiguration": { + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "path": "xyntsvqsiqsguyegxdvkmwhwz", + "keyData": "mfk" + } + ] + }, + "provisionVMAgent": true, + "patchSettings": { + "patchMode": "ImageDefault", + "assessmentMode": "ImageDefault", + "automaticByPlatformSettings": { + "rebootSetting": "Unknown", + "bypassPlatformSafetyChecksOnUserSchedule": true + } + }, + "enableVMAgentPlatformUpdates": true + }, + "secrets": [ + { + "sourceVault": { + "id": "obwiwwsgkdg" + }, + "vaultCertificates": [ + { + "certificateUrl": "https://microsoft.com/agmunp", + "certificateStore": "zxrjtvfmltdj" + } + ] + } + ], + "allowExtensionOperations": true, + "requireGuestProvisionSignal": true, + "computerName": "jagkikqx" + }, + "storageProfile": { + "imageReference": { + "id": "iwqrkiccafacxfctrxb", + "publisher": "edjvbyisusjhyvnzgyvhixmnfzzsy", + "offer": "olkxwdozixpjkjuk", + "sku": "qmsq", + "version": "hruassyajrafmgmub", + "sharedGalleryImageId": "ahzweiez", + "communityGalleryImageId": "bysd" + }, + "osDisk": { + "name": "pccysrjeo", + "caching": "None", + "writeAcceleratorEnabled": true, + "createOption": "FromImage", + "diffDiskSettings": { + "option": "Local", + "placement": "CacheDisk" + }, + "diskSizeGB": 18, + "osType": "Windows", + "image": { + "uri": "https://microsoft.com/a" + }, + "managedDisk": { + "storageAccountType": "Standard_LRS", + "diskEncryptionSet": { + "id": "thmks" + }, + "securityProfile": { + "securityEncryptionType": "VMGuestStateOnly", + "diskEncryptionSet": { + "id": "thmks" + } + }, + "id": "wuqdcyunrkewr" + }, + "deleteOption": "Delete", + "encryptionSettings": { + "diskEncryptionKey": { + "secretUrl": "cuatfdkula", + "sourceVault": { + "id": "ioypuofzltakyfcomjwfkmyz" + } + }, + "keyEncryptionKey": { + "keyUrl": "imt", + "sourceVault": { + "id": "ioypuofzltakyfcomjwfkmyz" + } + }, + "enabled": true + }, + "vhd": { + "uri": "anvtwgmfthxmyhdnbvabmzyrknxwf" + } + }, + "dataDisks": [ + { + "name": "aq", + "lun": 1, + "caching": "None", + "writeAcceleratorEnabled": true, + "createOption": "FromImage", + "diskSizeGB": 24, + "managedDisk": { + "storageAccountType": "Standard_LRS", + "diskEncryptionSet": { + "id": "thmks" + }, + "securityProfile": { + "securityEncryptionType": "VMGuestStateOnly", + "diskEncryptionSet": { + "id": "thmks" + } + }, + "id": "zcoqnxlomkordbdolkxraqbwgsh" + }, + "deleteOption": "Delete", + "vhd": { + "uri": "anvtwgmfthxmyhdnbvabmzyrknxwf" + }, + "image": { + "uri": "anvtwgmfthxmyhdnbvabmzyrknxwf" + }, + "sourceResource": { + "id": "fpabycyqmkqqfdfrzqmnykmy" + }, + "toBeDetached": true, + "detachOption": "ForceDetach" + } + ], + "diskControllerType": "SCSI" + }, + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "name": "keppldrpxjgckgsmq", + "properties": { + "primary": true, + "enableAcceleratedNetworking": true, + "disableTcpStateTracking": true, + "enableFpga": true, + "networkSecurityGroup": { + "id": "obwiwwsgkdg" + }, + "dnsSettings": { + "dnsServers": [ + "pnhvxygytoozxmkt" + ] + }, + "ipConfigurations": [ + { + "name": "nqjufbencyticmohsdxogwiu", + "properties": { + "subnet": { + "id": "djtafmblvomuabwlhlyoxzgdkwkz" + }, + "primary": true, + "publicIPAddressConfiguration": { + "name": "kgvjhctjspzldadcmtgsojglhmj", + "properties": { + "idleTimeoutInMinutes": 22, + "dnsSettings": { + "domainNameLabel": "vsvbcpusndz", + "domainNameLabelScope": "TenantReuse" + }, + "ipTags": [ + { + "ipTagType": "hengwhngakjlsmhuegnlbtpmiihf", + "tag": "zlnuzjdbdnwbtep" + } + ], + "publicIPPrefix": { + "id": "obwiwwsgkdg" + }, + "publicIPAddressVersion": "IPv4", + "deleteOption": "Delete", + "publicIPAllocationMethod": "Dynamic" + }, + "sku": { + "name": "Basic", + "tier": "Regional" + }, + "tags": {} + }, + "privateIPAddressVersion": "IPv4", + "applicationGatewayBackendAddressPools": [ + { + "id": "obwiwwsgkdg" + } + ], + "applicationSecurityGroups": [ + { + "id": "obwiwwsgkdg" + } + ], + "loadBalancerBackendAddressPools": [ + { + "id": "obwiwwsgkdg" + } + ] + } + } + ], + "enableIPForwarding": true, + "deleteOption": "Delete", + "auxiliaryMode": "None", + "auxiliarySku": "None", + "dscpConfiguration": { + "id": "ioypuofzltakyfcomjwfkmyz" + } + }, + "tags": {} + } + ], + "networkApiVersion": "2020-11-01", + "networkInterfaces": [ + { + "properties": { + "primary": true, + "deleteOption": "Delete" + }, + "id": "bmlqsytfgnkwgkibsmsoeh" + } + ] + }, + "securityProfile": { + "uefiSettings": { + "secureBootEnabled": true, + "vTpmEnabled": true + }, + "encryptionAtHost": true, + "securityType": "TrustedLaunch", + "encryptionIdentity": { + "userAssignedIdentityResourceId": "wkiykqbrifryaruzokophodpjig" + }, + "proxyAgentSettings": { + "enabled": true, + "mode": "Audit", + "keyIncarnationId": 17, + "wireServer": { + "mode": "Audit", + "inVMAccessControlProfileReferenceId": "cubhuucckqkxbifmertj" + }, + "imds": { + "mode": "Audit", + "inVMAccessControlProfileReferenceId": "cubhuucckqkxbifmertj" + }, + "addProxyAgentExtension": true + } + }, + "diagnosticsProfile": { + "bootDiagnostics": { + "enabled": true, + "storageUri": "https://microsoft.com/a" + } + }, + "licenseType": "iipnwxwfkfbbouzbwicqxnxicjz", + "scheduledEventsProfile": { + "terminateNotificationProfile": { + "notBeforeTimeout": "ypif", + "enable": true + }, + "osImageNotificationProfile": { + "notBeforeTimeout": "fztbudpjkicyigtvltlbszmivfbmb", + "enable": true + } + }, + "userData": "qcsgczwavs", + "capacityReservation": { + "capacityReservationGroup": { + "id": "obwiwwsgkdg" + } + }, + "applicationProfile": { + "galleryApplications": [ + { + "tags": "qgn", + "order": 14, + "packageReferenceId": "soddwzqduyolzz", + "configurationReference": "mddsvaruvzvblkafsotscupperzu", + "treatFailureAsDeploymentFailure": true, + "enableAutomaticUpgrade": true + } + ] + }, + "scheduledEventsPolicy": { + "userInitiatedRedeploy": { + "automaticallyApprove": true + }, + "userInitiatedReboot": { + "automaticallyApprove": true + }, + "scheduledEventsAdditionalPublishingTargets": { + "eventGridAndResourceGraph": { + "enable": true, + "scheduledEventsApiVersion": "sbzjonqss" + } + }, + "allInstancesDown": { + "automaticallyApprove": true + } + }, + "additionalCapabilities": { + "ultraSSDEnabled": true, + "hibernationEnabled": true + }, + "extensionsTimeBudget": "hvrimblcqujozpeurohjcn" + }, + "computeApiVersion": "bccikdfzgrygwpefvmvptutceg", + "extensions": [ + { + "name": "gj", + "properties": { + "forceUpdateTag": "mistpuvreycjbhahmcvgkjskeiop", + "publisher": "rzsodcysrfxkrgnrjqlpfqe", + "type": "eyehf", + "typeHandlerVersion": "wezzz", + "autoUpgradeMinorVersion": true, + "enableAutomaticUpgrade": true, + "suppressFailures": true, + "protectedSettingsFromKeyVault": { + "secretUrl": "cuatfdkula", + "sourceVault": { + "id": "ioypuofzltakyfcomjwfkmyz" + } + }, + "provisionAfterExtensions": [ + "jddcihtuzdczkvkryhktzjlf" + ], + "settings": {}, + "protectedSettings": {} + } + } + ] + }, + "zoneAllocationPolicy": { + "distributionStrategy": "BestEffortSingleZone", + "zonePreferences": [ + { + "zone": "voauikerqjpeepaeaokkcybyjd", + "rank": 46292 + } + ] + }, + "retryPolicy": { + "retryCount": 9, + "retryWindowInMinutes": 21 + }, + "provisioningState": "Succeeded" + }, + "zones": [ + "cyriutfcgydtaezeso" + ], + "identity": { + "type": "None", + "userAssignedIdentities": {}, + "principalId": "2ebdc740-a760-4406-80e9-6be95ebc9743", + "tenantId": "3ec2ab23-9f13-4328-85c8-21928acbc7b8" + }, + "plan": { + "name": "owvrgjbxrkj", + "publisher": "qhybdqbljmztcjujxal", + "product": "rlhap", + "promotionCode": "agypojbtdxvgqgisautnhcoysgy", + "version": "ghmnlomqg" + }, + "id": "/subscriptions/50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B/resourceGroups/rgcomputebulkactions/providers/Microsoft.Compute/bulkActions/3ec2ab23-9f13-4328-85c8-21928acbc7b8", + "name": "kv", + "type": "v", + "systemData": { + "createdBy": "kmjag", + "createdByType": "User", + "createdAt": "2025-10-02T21:36:21.174Z", + "lastModifiedBy": "fwcgdzyolflmgnxnnmpoevpwr", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-10-02T21:36:21.174Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_ListByResourceGroup_MinimumSet_Gen.json b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_ListByResourceGroup_MinimumSet_Gen.json new file mode 100644 index 000000000000..4a4569f1c45d --- /dev/null +++ b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_ListByResourceGroup_MinimumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "title": "BulkActions_ListByResourceGroup - generated by [MinimumSet] rule", + "operationId": "BulkActions_ListByResourceGroup", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B", + "resourceGroupName": "rgcomputebulkactions", + "location": "eastus2euap" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B/resourceGroups/rgcomputebulkactions/providers/Microsoft.Compute/bulkActions/3ec2ab23-9f13-4328-85c8-21928acbc7b8" + } + ] + } + } + } +} diff --git a/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_ListBySubscription_MaximumSet_Gen.json b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..09e4fcc64fcf --- /dev/null +++ b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,516 @@ +{ + "title": "BulkActions_ListBySubscription - generated by [MaximumSet] rule", + "operationId": "BulkActions_ListBySubscription", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B", + "location": "eastus2euap" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "capacity": 24, + "capacityType": "VM", + "priorityProfile": { + "type": "Regular", + "maxPricePerVM": 21, + "evictionPolicy": "Delete", + "allocationStrategy": "LowestPrice" + }, + "vmSizesProfile": [ + { + "name": "nolktwnfqdwikqiat", + "rank": 46189 + } + ], + "vmAttributes": { + "vCpuCount": { + "min": 0, + "max": 0 + }, + "memoryInGiB": { + "min": 0, + "max": 0 + }, + "architectureTypes": [ + "ARM64" + ], + "memoryInGiBPerVCpu": { + "min": 0, + "max": 0 + }, + "localStorageSupport": "Excluded", + "localStorageInGiB": { + "min": 0, + "max": 0 + }, + "localStorageDiskTypes": [ + "HDD" + ], + "dataDiskCount": { + "min": 0, + "max": 0 + }, + "networkInterfaceCount": { + "min": 0, + "max": 0 + }, + "networkBandwidthInMbps": { + "min": 0, + "max": 0 + }, + "rdmaSupport": "Excluded", + "rdmaNetworkInterfaceCount": { + "min": 0, + "max": 0 + }, + "acceleratorSupport": "Excluded", + "acceleratorManufacturers": [ + "AMD" + ], + "acceleratorTypes": [ + "GPU" + ], + "acceleratorCount": { + "min": 0, + "max": 0 + }, + "vmCategories": [ + "GeneralPurpose" + ], + "cpuManufacturers": [ + "Intel" + ], + "hyperVGenerations": [ + "Gen1" + ], + "burstableSupport": "Excluded", + "allowedVMSizes": [ + "dmtpdlqphckngwjhvkucfze" + ], + "excludedVMSizes": [ + "yhjhharuhcyfxjnhxmflvsrdmei" + ] + }, + "computeProfile": { + "virtualMachineProfile": { + "osProfile": { + "adminUsername": "tjdagcdhlpihlhkrz", + "customData": "jemgccf", + "windowsConfiguration": { + "provisionVMAgent": true, + "enableAutomaticUpdates": true, + "timeZone": "kiibvtut", + "additionalUnattendContent": [ + { + "passName": "OobeSystem", + "componentName": "Microsoft-Windows-Shell-Setup", + "settingName": "AutoLogon", + "content": "zdpsub" + } + ], + "patchSettings": { + "patchMode": "Manual", + "enableHotpatching": true, + "assessmentMode": "ImageDefault", + "automaticByPlatformSettings": { + "rebootSetting": "Unknown", + "bypassPlatformSafetyChecksOnUserSchedule": true + } + }, + "winRM": { + "listeners": [ + { + "protocol": "Http", + "certificateUrl": "https://microsoft.com/a" + } + ] + } + }, + "linuxConfiguration": { + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "path": "xyntsvqsiqsguyegxdvkmwhwz", + "keyData": "mfk" + } + ] + }, + "provisionVMAgent": true, + "patchSettings": { + "patchMode": "ImageDefault", + "assessmentMode": "ImageDefault", + "automaticByPlatformSettings": { + "rebootSetting": "Unknown", + "bypassPlatformSafetyChecksOnUserSchedule": true + } + }, + "enableVMAgentPlatformUpdates": true + }, + "secrets": [ + { + "sourceVault": { + "id": "obwiwwsgkdg" + }, + "vaultCertificates": [ + { + "certificateUrl": "https://microsoft.com/agmunp", + "certificateStore": "zxrjtvfmltdj" + } + ] + } + ], + "allowExtensionOperations": true, + "requireGuestProvisionSignal": true, + "computerName": "jagkikqx" + }, + "storageProfile": { + "imageReference": { + "id": "iwqrkiccafacxfctrxb", + "publisher": "edjvbyisusjhyvnzgyvhixmnfzzsy", + "offer": "olkxwdozixpjkjuk", + "sku": "qmsq", + "version": "hruassyajrafmgmub", + "sharedGalleryImageId": "ahzweiez", + "communityGalleryImageId": "bysd" + }, + "osDisk": { + "name": "pccysrjeo", + "caching": "None", + "writeAcceleratorEnabled": true, + "createOption": "FromImage", + "diffDiskSettings": { + "option": "Local", + "placement": "CacheDisk" + }, + "diskSizeGB": 18, + "osType": "Windows", + "image": { + "uri": "https://microsoft.com/a" + }, + "managedDisk": { + "storageAccountType": "Standard_LRS", + "diskEncryptionSet": { + "id": "thmks" + }, + "securityProfile": { + "securityEncryptionType": "VMGuestStateOnly", + "diskEncryptionSet": { + "id": "thmks" + } + }, + "id": "wuqdcyunrkewr" + }, + "deleteOption": "Delete", + "encryptionSettings": { + "diskEncryptionKey": { + "secretUrl": "cuatfdkula", + "sourceVault": { + "id": "ioypuofzltakyfcomjwfkmyz" + } + }, + "keyEncryptionKey": { + "keyUrl": "imt", + "sourceVault": { + "id": "ioypuofzltakyfcomjwfkmyz" + } + }, + "enabled": true + }, + "vhd": { + "uri": "anvtwgmfthxmyhdnbvabmzyrknxwf" + } + }, + "dataDisks": [ + { + "name": "aq", + "lun": 1, + "caching": "None", + "writeAcceleratorEnabled": true, + "createOption": "FromImage", + "diskSizeGB": 24, + "managedDisk": { + "storageAccountType": "Standard_LRS", + "diskEncryptionSet": { + "id": "thmks" + }, + "securityProfile": { + "securityEncryptionType": "VMGuestStateOnly", + "diskEncryptionSet": { + "id": "thmks" + } + }, + "id": "zcoqnxlomkordbdolkxraqbwgsh" + }, + "deleteOption": "Delete", + "vhd": { + "uri": "anvtwgmfthxmyhdnbvabmzyrknxwf" + }, + "image": { + "uri": "anvtwgmfthxmyhdnbvabmzyrknxwf" + }, + "sourceResource": { + "id": "fpabycyqmkqqfdfrzqmnykmy" + }, + "toBeDetached": true, + "detachOption": "ForceDetach" + } + ], + "diskControllerType": "SCSI" + }, + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "name": "keppldrpxjgckgsmq", + "properties": { + "primary": true, + "enableAcceleratedNetworking": true, + "disableTcpStateTracking": true, + "enableFpga": true, + "networkSecurityGroup": { + "id": "obwiwwsgkdg" + }, + "dnsSettings": { + "dnsServers": [ + "pnhvxygytoozxmkt" + ] + }, + "ipConfigurations": [ + { + "name": "nqjufbencyticmohsdxogwiu", + "properties": { + "subnet": { + "id": "djtafmblvomuabwlhlyoxzgdkwkz" + }, + "primary": true, + "publicIPAddressConfiguration": { + "name": "kgvjhctjspzldadcmtgsojglhmj", + "properties": { + "idleTimeoutInMinutes": 22, + "dnsSettings": { + "domainNameLabel": "vsvbcpusndz", + "domainNameLabelScope": "TenantReuse" + }, + "ipTags": [ + { + "ipTagType": "hengwhngakjlsmhuegnlbtpmiihf", + "tag": "zlnuzjdbdnwbtep" + } + ], + "publicIPPrefix": { + "id": "obwiwwsgkdg" + }, + "publicIPAddressVersion": "IPv4", + "deleteOption": "Delete", + "publicIPAllocationMethod": "Dynamic" + }, + "sku": { + "name": "Basic", + "tier": "Regional" + }, + "tags": {} + }, + "privateIPAddressVersion": "IPv4", + "applicationGatewayBackendAddressPools": [ + { + "id": "obwiwwsgkdg" + } + ], + "applicationSecurityGroups": [ + { + "id": "obwiwwsgkdg" + } + ], + "loadBalancerBackendAddressPools": [ + { + "id": "obwiwwsgkdg" + } + ] + } + } + ], + "enableIPForwarding": true, + "deleteOption": "Delete", + "auxiliaryMode": "None", + "auxiliarySku": "None", + "dscpConfiguration": { + "id": "ioypuofzltakyfcomjwfkmyz" + } + }, + "tags": {} + } + ], + "networkApiVersion": "2020-11-01", + "networkInterfaces": [ + { + "properties": { + "primary": true, + "deleteOption": "Delete" + }, + "id": "bmlqsytfgnkwgkibsmsoeh" + } + ] + }, + "securityProfile": { + "uefiSettings": { + "secureBootEnabled": true, + "vTpmEnabled": true + }, + "encryptionAtHost": true, + "securityType": "TrustedLaunch", + "encryptionIdentity": { + "userAssignedIdentityResourceId": "wkiykqbrifryaruzokophodpjig" + }, + "proxyAgentSettings": { + "enabled": true, + "mode": "Audit", + "keyIncarnationId": 17, + "wireServer": { + "mode": "Audit", + "inVMAccessControlProfileReferenceId": "cubhuucckqkxbifmertj" + }, + "imds": { + "mode": "Audit", + "inVMAccessControlProfileReferenceId": "cubhuucckqkxbifmertj" + }, + "addProxyAgentExtension": true + } + }, + "diagnosticsProfile": { + "bootDiagnostics": { + "enabled": true, + "storageUri": "https://microsoft.com/a" + } + }, + "licenseType": "iipnwxwfkfbbouzbwicqxnxicjz", + "scheduledEventsProfile": { + "terminateNotificationProfile": { + "notBeforeTimeout": "ypif", + "enable": true + }, + "osImageNotificationProfile": { + "notBeforeTimeout": "fztbudpjkicyigtvltlbszmivfbmb", + "enable": true + } + }, + "userData": "qcsgczwavs", + "capacityReservation": { + "capacityReservationGroup": { + "id": "obwiwwsgkdg" + } + }, + "applicationProfile": { + "galleryApplications": [ + { + "tags": "qgn", + "order": 14, + "packageReferenceId": "soddwzqduyolzz", + "configurationReference": "mddsvaruvzvblkafsotscupperzu", + "treatFailureAsDeploymentFailure": true, + "enableAutomaticUpgrade": true + } + ] + }, + "scheduledEventsPolicy": { + "userInitiatedRedeploy": { + "automaticallyApprove": true + }, + "userInitiatedReboot": { + "automaticallyApprove": true + }, + "scheduledEventsAdditionalPublishingTargets": { + "eventGridAndResourceGraph": { + "enable": true, + "scheduledEventsApiVersion": "sbzjonqss" + } + }, + "allInstancesDown": { + "automaticallyApprove": true + } + }, + "additionalCapabilities": { + "ultraSSDEnabled": true, + "hibernationEnabled": true + }, + "extensionsTimeBudget": "hvrimblcqujozpeurohjcn" + }, + "computeApiVersion": "bccikdfzgrygwpefvmvptutceg", + "extensions": [ + { + "name": "gj", + "properties": { + "forceUpdateTag": "mistpuvreycjbhahmcvgkjskeiop", + "publisher": "rzsodcysrfxkrgnrjqlpfqe", + "type": "eyehf", + "typeHandlerVersion": "wezzz", + "autoUpgradeMinorVersion": true, + "enableAutomaticUpgrade": true, + "suppressFailures": true, + "protectedSettingsFromKeyVault": { + "secretUrl": "cuatfdkula", + "sourceVault": { + "id": "ioypuofzltakyfcomjwfkmyz" + } + }, + "provisionAfterExtensions": [ + "jddcihtuzdczkvkryhktzjlf" + ], + "settings": {}, + "protectedSettings": {} + } + } + ] + }, + "zoneAllocationPolicy": { + "distributionStrategy": "BestEffortSingleZone", + "zonePreferences": [ + { + "zone": "voauikerqjpeepaeaokkcybyjd", + "rank": 46292 + } + ] + }, + "retryPolicy": { + "retryCount": 9, + "retryWindowInMinutes": 21 + }, + "provisioningState": "Succeeded" + }, + "zones": [ + "cyriutfcgydtaezeso" + ], + "identity": { + "type": "None", + "userAssignedIdentities": {}, + "principalId": "2ebdc740-a760-4406-80e9-6be95ebc9743", + "tenantId": "3ec2ab23-9f13-4328-85c8-21928acbc7b8" + }, + "plan": { + "name": "owvrgjbxrkj", + "publisher": "qhybdqbljmztcjujxal", + "product": "rlhap", + "promotionCode": "agypojbtdxvgqgisautnhcoysgy", + "version": "ghmnlomqg" + }, + "id": "/subscriptions/50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B/resourceGroups/rgcomputebulkactions/providers/Microsoft.Compute/bulkActions/3ec2ab23-9f13-4328-85c8-21928acbc7b8", + "name": "kv", + "type": "v", + "systemData": { + "createdBy": "kmjag", + "createdByType": "User", + "createdAt": "2025-10-02T21:36:21.174Z", + "lastModifiedBy": "fwcgdzyolflmgnxnnmpoevpwr", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-10-02T21:36:21.174Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_ListBySubscription_MinimumSet_Gen.json b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_ListBySubscription_MinimumSet_Gen.json new file mode 100644 index 000000000000..3a72ac5c238e --- /dev/null +++ b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_ListBySubscription_MinimumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "BulkActions_ListBySubscription - generated by [MinimumSet] rule", + "operationId": "BulkActions_ListBySubscription", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B", + "location": "eastus2euap" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B/resourceGroups/rgcomputebulkactions/providers/Microsoft.Compute/bulkActions/3ec2ab23-9f13-4328-85c8-21928acbc7b8" + } + ] + } + } + } +} diff --git a/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_ListVirtualMachines_MaximumSet_Gen.json b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_ListVirtualMachines_MaximumSet_Gen.json new file mode 100644 index 000000000000..82cf66eeb6c9 --- /dev/null +++ b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_ListVirtualMachines_MaximumSet_Gen.json @@ -0,0 +1,44 @@ +{ + "title": "BulkActions_ListVirtualMachines - generated by [MaximumSet] rule", + "operationId": "BulkActions_ListVirtualMachines", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B", + "resourceGroupName": "rgcomputebulkactions", + "name": "50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B", + "location": "eastus2euap", + "$filter": "elxwdbimmgosmnb", + "$skiptoken": "nrcv" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "wyonfuximvgywtidpl", + "id": "/subscriptions/50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B/resourceGroups/rgcomputebulkactions/providers/Microsoft.Compute/virtualMachines/vm1", + "type": "ocaksutbzfxnzsrk", + "operationStatus": "Creating", + "error": { + "code": "pabnwukgp", + "target": "eubgddtxzkwsnntfrdtn", + "message": "mdx", + "details": [ + { + "code": "cxrrixrtbseucawmgz", + "target": "baifi", + "message": "hbwvuseelsixdnsrosai" + } + ], + "innererror": { + "exceptionType": "klyhjncvdigrputprzqhthxr", + "errorDetail": "xvsexmezlv" + } + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_VirtualMachinesCancelOperations_MaximumSet_Gen.json b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_VirtualMachinesCancelOperations_MaximumSet_Gen.json new file mode 100644 index 000000000000..8a31b9695e2f --- /dev/null +++ b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_VirtualMachinesCancelOperations_MaximumSet_Gen.json @@ -0,0 +1,47 @@ +{ + "title": "BulkActions_VirtualMachinesCancelOperations_MaximumSet_Gen - generated by [MaximumSet] rule", + "operationId": "BulkActions_VirtualMachinesCancelOperations", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "D8E30CC0-2763-4FCC-84A8-3C5659281032", + "location": "eastus2euap", + "requestBody": { + "operationIds": [ + "2a3fce8e-874c-45f4-9d27-1a804f3b7a0f" + ], + "correlationid": "4431320c-7a90-4300-b82b-73f0696ae50e" + } + }, + "responses": { + "200": { + "body": { + "results": [ + { + "resourceId": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3", + "errorCode": "null", + "errorDetails": "null", + "operation": { + "operationId": "2a3fce8e-874c-45f4-9d27-1a804f3b7a0f", + "resourceId": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3", + "opType": "Deallocate", + "subscriptionId": "D8E30CC0-2763-4FCC-84A8-3C5659281032", + "deadline": "2024-11-01T17:52:53.667Z", + "deadlineType": "InitiateAt", + "state": "Cancelled", + "timezone": "UTC", + "resourceOperationError": { + "errorCode": "null", + "errorDetails": "null" + }, + "completedAt": "2024-11-01T17:52:53.668Z", + "retryPolicy": { + "retryCount": 4, + "retryWindowInMinutes": 27 + } + } + } + ] + } + } + } +} diff --git a/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_VirtualMachinesCancelOperations_MinimumSet_Gen.json b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_VirtualMachinesCancelOperations_MinimumSet_Gen.json new file mode 100644 index 000000000000..5bededd8dd0c --- /dev/null +++ b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_VirtualMachinesCancelOperations_MinimumSet_Gen.json @@ -0,0 +1,24 @@ +{ + "title": "BulkActions_VirtualMachinesCancelOperations_MaximumSet_Gen - generated by [MaximumSet] rule - generated by [MinimumSet] rule", + "operationId": "BulkActions_VirtualMachinesCancelOperations", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B", + "location": "eastus2euap", + "requestBody": { + "operationIds": [ + "23480d2f-1dca-4610-afb4-dd25eec1f34r" + ], + "correlationid": "4431320c-7a90-4300-b82b-73f0696ae50e" + } + }, + "responses": { + "200": { + "body": { + "results": [ + {} + ] + } + } + } +} diff --git a/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_VirtualMachinesExecuteCreate_MaximumSet_Gen.json b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_VirtualMachinesExecuteCreate_MaximumSet_Gen.json new file mode 100644 index 000000000000..50cff2303383 --- /dev/null +++ b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_VirtualMachinesExecuteCreate_MaximumSet_Gen.json @@ -0,0 +1,147 @@ +{ + "title": "BulkActions_VirtualMachinesExecuteCreate_MaximumSet_Gen - generated by [MaximumSet] rule", + "operationId": "BulkActions_VirtualMachinesExecuteCreate", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B", + "location": "eastus2euap", + "requestBody": { + "resourceConfigParameters": { + "resourceCount": 1, + "baseProfile": { + "resourcegroupName": "yourresourcegroup", + "computeApiVersion": "2023-09-01", + "properties": { + "vmExtensions": [ + { + "name": "Microsoft.Azure.Geneva.GenevaMonitoring", + "location": "eastus2euap", + "properties": { + "autoUpgradeMinorVersion": true, + "enableAutomaticUpgrade": true, + "suppressFailures": true, + "publisher": "Microsoft.Azure.Geneva", + "type": "GenevaMonitoring", + "typeHandlerVersion": "2.0" + } + } + ], + "hardwareProfile": { + "vmSize": "Standard_D2ads_v5" + }, + "storageProfile": { + "imageReference": { + "publisher": "MicrosoftWindowsServer", + "offer": "WindowsServer", + "sku": "2022-datacenter-azure-edition", + "version": "latest" + }, + "osDisk": { + "osType": "Windows", + "createOption": "FromImage", + "caching": "ReadWrite", + "managedDisk": { + "storageAccountType": "Standard_LRS" + }, + "deleteOption": "Detach", + "diskSizeGB": 127 + }, + "diskControllerType": "SCSI" + }, + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "name": "vmTest", + "properties": { + "primary": true, + "enableIPForwarding": true, + "ipConfigurations": [ + { + "name": "vmTest", + "properties": { + "subnet": { + "id": "/subscriptions/264f0c8a-4d5f-496c-80df-b438624ce55f/resourceGroups/yourresourcegroup/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/default" + }, + "primary": true, + "applicationGatewayBackendAddressPools": [], + "loadBalancerBackendAddressPools": [] + } + } + ] + } + } + ], + "networkApiVersion": "2022-07-01" + } + } + }, + "resourceOverrides": [ + { + "name": "testvmtestTwo", + "location": "eastus2euap", + "properties": { + "hardwareProfile": { + "vmSize": "Standard_D2ads_v5" + }, + "osProfile": { + "computerName": "testtestTwo", + "adminUsername": "testUserName", + "adminPassword": "YourStr0ngP@ssword123!", + "windowsConfiguration": { + "provisionVmAgent": true, + "enableAutomaticUpdates": true, + "patchSettings": { + "patchMode": "AutomaticByPlatform", + "assessmentMode": "ImageDefault" + } + } + } + } + } + ] + }, + "executionParameters": { + "retryPolicy": { + "retryCount": 5, + "retryWindowInMinutes": 45 + } + }, + "correlationid": "7efcfae3-f50d-4323-9aba-1093a33368f8" + } + }, + "responses": { + "200": { + "body": { + "type": "VirtualMachine", + "location": "eastus2euap", + "description": "Create Resource Request", + "results": [ + { + "resourceId": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/TC_0", + "errorCode": "null", + "errorDetails": "null", + "operation": { + "operationId": "2a3fce8e-874c-45f4-9d27-1a804f3b7a0f", + "resourceId": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3", + "opType": "Create", + "subscriptionId": "D8E30CC0-2763-4FCC-84A8-3C5659281032", + "deadline": "2024-11-01T17:52:53.667Z", + "deadlineType": "InitiateAt", + "state": "Succeeded", + "timezone": "UTC", + "resourceOperationError": { + "errorCode": "null", + "errorDetails": "null" + }, + "completedAt": "2024-11-01T17:52:53.668Z", + "retryPolicy": { + "retryCount": 4, + "retryWindowInMinutes": 27 + } + } + } + ] + } + } + } +} diff --git a/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_VirtualMachinesExecuteCreate_MinimumSet_Gen.json b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_VirtualMachinesExecuteCreate_MinimumSet_Gen.json new file mode 100644 index 000000000000..d77022665aa5 --- /dev/null +++ b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_VirtualMachinesExecuteCreate_MinimumSet_Gen.json @@ -0,0 +1,24 @@ +{ + "title": "BulkActions_VirtualMachinesExecuteCreate_MinimumSet_Gen - generated by [MinimumSet] rule - generated by [MinimumSet] rule", + "operationId": "BulkActions_VirtualMachinesExecuteCreate", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B", + "location": "eastus2euap", + "requestBody": { + "resourceConfigParameters": { + "resourceCount": 1 + }, + "executionParameters": {} + } + }, + "responses": { + "200": { + "body": { + "type": "VirtualMachine", + "location": "eastus2euap", + "description": "Create Resource Request" + } + } + } +} diff --git a/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_VirtualMachinesExecuteDeallocate_MaximumSet_Gen.json b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_VirtualMachinesExecuteDeallocate_MaximumSet_Gen.json new file mode 100644 index 000000000000..86d0e2d4955a --- /dev/null +++ b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_VirtualMachinesExecuteDeallocate_MaximumSet_Gen.json @@ -0,0 +1,58 @@ +{ + "title": "BulkActions_VirtualMachinesExecuteDeallocate_MaximumSet_Gen - generated by [MaximumSet] rule", + "operationId": "BulkActions_VirtualMachinesExecuteDeallocate", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "D8E30CC0-2763-4FCC-84A8-3C5659281032", + "location": "eastus2euap", + "requestBody": { + "executionParameters": { + "retryPolicy": { + "retryCount": 4, + "retryWindowInMinutes": 27 + } + }, + "resources": { + "ids": [ + "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3" + ] + }, + "correlationid": "4431320c-7a90-4300-b82b-73f0696ae50e" + } + }, + "responses": { + "200": { + "body": { + "type": "VirtualMachine", + "location": "eastus2euap", + "results": [ + { + "resourceId": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3", + "errorCode": "null", + "errorDetails": "null", + "operation": { + "operationId": "2a3fce8e-874c-45f4-9d27-1a804f3b7a0f", + "resourceId": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3", + "opType": "Deallocate", + "subscriptionId": "D8E30CC0-2763-4FCC-84A8-3C5659281032", + "deadline": "2024-11-01T17:52:53.667Z", + "deadlineType": "InitiateAt", + "state": "Succeeded", + "timezone": "UTC", + "resourceOperationError": { + "errorCode": "null", + "errorDetails": "null" + }, + "completedAt": "2024-11-01T17:52:53.668Z", + "retryPolicy": { + "retryCount": 4, + "retryWindowInMinutes": 27 + } + } + } + ], + "description": "Deallocate Resource Request" + } + } + } +} diff --git a/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_VirtualMachinesExecuteDeallocate_MinimumSet_Gen.json b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_VirtualMachinesExecuteDeallocate_MinimumSet_Gen.json new file mode 100644 index 000000000000..43709d949940 --- /dev/null +++ b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_VirtualMachinesExecuteDeallocate_MinimumSet_Gen.json @@ -0,0 +1,27 @@ +{ + "title": "BulkActions_VirtualMachinesExecuteDeallocate_MinimumSet_Gen - generated by [MinimumSet] rule", + "operationId": "BulkActions_VirtualMachinesExecuteDeallocate", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B", + "location": "eastus2euap", + "requestBody": { + "executionParameters": {}, + "resources": { + "ids": [ + "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3" + ] + }, + "correlationid": "4431320c-7a90-4300-b82b-73f0696ae50e" + } + }, + "responses": { + "200": { + "body": { + "type": "VirtualMachine", + "location": "eastus2euap", + "description": "Deallocate Resource Request" + } + } + } +} diff --git a/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_VirtualMachinesExecuteDelete_MaximumSet_Gen.json b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_VirtualMachinesExecuteDelete_MaximumSet_Gen.json new file mode 100644 index 000000000000..7c8f2366856b --- /dev/null +++ b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_VirtualMachinesExecuteDelete_MaximumSet_Gen.json @@ -0,0 +1,78 @@ +{ + "title": "BulkActions_VirtualMachinesExecuteDelete_MaximumSet_Gen - generated by [MaximumSet] rule", + "operationId": "BulkActions_VirtualMachinesExecuteDelete", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "0505D8E4-D41A-48FB-9CA5-4AF8D93BE75F", + "location": "east2us2euap", + "requestBody": { + "executionParameters": { + "retryPolicy": { + "retryCount": 2, + "retryWindowInMinutes": 45 + } + }, + "resources": { + "ids": [ + "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3", + "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource4" + ] + }, + "correlationid": "dfe927c5-16a6-40b7-a0f7-8524975ed642", + "forceDeletion": true + } + }, + "responses": { + "200": { + "body": { + "type": "virtualmachines", + "location": "eastus2euap", + "description": "Delete Resource response", + "results": [ + { + "resourceId": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3", + "errorCode": "", + "errorDetails": "", + "operation": { + "operationId": "2a3fce8e-874c-45f4-9d27-1a804f3b7a0f", + "resourceId": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3", + "opType": "Delete", + "subscriptionId": "YourSubscriptionId", + "deadline": "2025-04-15T19:47:03.591Z", + "deadlineType": "InitiateAt", + "state": "PendingScheduling", + "timezone": "UTC", + "resourceOperationError": null, + "completedAt": "2025-04-15T19:47:03.591Z", + "retryPolicy": { + "retryCount": 2, + "retryWindowInMinutes": 45 + } + } + }, + { + "resourceId": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource4", + "errorCode": "", + "errorDetails": "", + "operation": { + "operationId": "264f0c8a-4d5f-496c-80df-b438624ce55f", + "resourceId": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource4", + "opType": "Delete", + "subscriptionId": "YourSubscriptionId", + "deadline": "2025-04-15T19:47:03.591Z", + "deadlineType": "InitiateAt", + "state": "PendingScheduling", + "timezone": "UTC", + "resourceOperationError": null, + "completedAt": "2025-04-15T19:47:03.591Z", + "retryPolicy": { + "retryCount": 2, + "retryWindowInMinutes": 45 + } + } + } + ] + } + } + } +} diff --git a/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_VirtualMachinesExecuteDelete_MinimumSet_Gen.json b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_VirtualMachinesExecuteDelete_MinimumSet_Gen.json new file mode 100644 index 000000000000..5d73718cffee --- /dev/null +++ b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_VirtualMachinesExecuteDelete_MinimumSet_Gen.json @@ -0,0 +1,28 @@ +{ + "title": "BulkActions_VirtualMachinesExecuteDelete_MinimumSet_Gen - generated by [MinimumSet] rule", + "operationId": "BulkActions_VirtualMachinesExecuteDelete", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B", + "location": "eastus2euap", + "requestBody": { + "executionParameters": {}, + "resources": { + "ids": [ + "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3", + "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource4" + ] + }, + "correlationid": "4431320c-7a90-4300-b82b-73f0696ae50e" + } + }, + "responses": { + "200": { + "body": { + "type": "virtualmachines", + "location": "eastus2euap", + "description": "Delete Resource Request" + } + } + } +} diff --git a/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_VirtualMachinesExecuteHibernate_MaximumSet_Gen.json b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_VirtualMachinesExecuteHibernate_MaximumSet_Gen.json new file mode 100644 index 000000000000..365f17c040fa --- /dev/null +++ b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_VirtualMachinesExecuteHibernate_MaximumSet_Gen.json @@ -0,0 +1,58 @@ +{ + "title": "BulkActions_VirtualMachinesExecuteHibernate_MaximumSet_Gen - generated by [MaximumSet] rule", + "operationId": "BulkActions_VirtualMachinesExecuteHibernate", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "D8E30CC0-2763-4FCC-84A8-3C5659281032", + "location": "eastus2euap", + "requestBody": { + "executionParameters": { + "retryPolicy": { + "retryCount": 5, + "retryWindowInMinutes": 27 + } + }, + "resources": { + "ids": [ + "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3" + ] + }, + "correlationid": "4431320c-7a90-4300-b82b-73f0696ae50e" + } + }, + "responses": { + "200": { + "body": { + "type": "VirtualMachine", + "location": "eastus2euap", + "results": [ + { + "resourceId": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3", + "errorCode": "null", + "errorDetails": "null", + "operation": { + "operationId": "2a3fce8e-874c-45f4-9d27-1a804f3b7a0f", + "resourceId": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3", + "opType": "Hibernate", + "subscriptionId": "D8E30CC0-2763-4FCC-84A8-3C5659281032", + "deadline": "2024-11-01T17:52:53.667Z", + "deadlineType": "InitiateAt", + "state": "Succeeded", + "timezone": "UTC", + "resourceOperationError": { + "errorCode": "null", + "errorDetails": "null" + }, + "completedAt": "2024-11-01T17:52:53.668Z", + "retryPolicy": { + "retryCount": 5, + "retryWindowInMinutes": 27 + } + } + } + ], + "description": "Hibernate Resource Request" + } + } + } +} diff --git a/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_VirtualMachinesExecuteHibernate_MinimumSet_Gen.json b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_VirtualMachinesExecuteHibernate_MinimumSet_Gen.json new file mode 100644 index 000000000000..e63e300055d5 --- /dev/null +++ b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_VirtualMachinesExecuteHibernate_MinimumSet_Gen.json @@ -0,0 +1,27 @@ +{ + "title": "BulkActions_VirtualMachinesExecuteHibernate_MinimumSet_Gen - generated by [MinimumSet] rule", + "operationId": "BulkActions_VirtualMachinesExecuteHibernate", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B", + "location": "acuh", + "requestBody": { + "executionParameters": {}, + "resources": { + "ids": [ + "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3" + ] + }, + "correlationid": "4431320c-7a90-4300-b82b-73f0696ae50e" + } + }, + "responses": { + "200": { + "body": { + "type": "VirtualMachine", + "location": "eastus2euap", + "description": "Hibernate Resource Request" + } + } + } +} diff --git a/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_VirtualMachinesExecuteStart_MaximumSet_Gen.json b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_VirtualMachinesExecuteStart_MaximumSet_Gen.json new file mode 100644 index 000000000000..778576350483 --- /dev/null +++ b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_VirtualMachinesExecuteStart_MaximumSet_Gen.json @@ -0,0 +1,58 @@ +{ + "title": "BulkActions_VirtualMachinesExecuteStart_MaximumSet_Gen - generated by [MaximumSet] rule", + "operationId": "BulkActions_VirtualMachinesExecuteStart", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "D8E30CC0-2763-4FCC-84A8-3C5659281032", + "location": "eastus2euap", + "requestBody": { + "executionParameters": { + "retryPolicy": { + "retryCount": 2, + "retryWindowInMinutes": 27 + } + }, + "resources": { + "ids": [ + "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3" + ] + }, + "correlationid": "4431320c-7a90-4300-b82b-73f0696ae50e" + } + }, + "responses": { + "200": { + "body": { + "type": "virtualMachine", + "location": "eastus2euap", + "results": [ + { + "resourceId": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3", + "errorCode": "null", + "errorDetails": "null", + "operation": { + "operationId": "2a3fce8e-874c-45f4-9d27-1a804f3b7a0f", + "resourceId": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3", + "opType": "Start", + "subscriptionId": "D8E30CC0-2763-4FCC-84A8-3C5659281032", + "deadline": "2024-11-01T17:52:53.667Z", + "deadlineType": "InitiateAt", + "state": "Succeeded", + "timezone": "UTC", + "resourceOperationError": { + "errorCode": "null", + "errorDetails": "null" + }, + "completedAt": "2024-11-01T17:52:53.668Z", + "retryPolicy": { + "retryCount": 2, + "retryWindowInMinutes": 27 + } + } + } + ], + "description": "Start Resource Request" + } + } + } +} diff --git a/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_VirtualMachinesExecuteStart_MinimumSet_Gen.json b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_VirtualMachinesExecuteStart_MinimumSet_Gen.json new file mode 100644 index 000000000000..fc1793415881 --- /dev/null +++ b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_VirtualMachinesExecuteStart_MinimumSet_Gen.json @@ -0,0 +1,27 @@ +{ + "title": "BulkActions_VirtualMachinesExecuteStart_MinimumSet_Gen - generated by [MinimumSet] rule", + "operationId": "BulkActions_VirtualMachinesExecuteStart", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B", + "location": "eastus2euap", + "requestBody": { + "executionParameters": {}, + "resources": { + "ids": [ + "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3" + ] + }, + "correlationid": "4431320c-7a90-4300-b82b-73f0696ae50e" + } + }, + "responses": { + "200": { + "body": { + "type": "virtualMachine", + "location": "eastus2euap", + "description": "Start Resource Request" + } + } + } +} diff --git a/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_VirtualMachinesGetOperationStatus_MaximumSet_Gen.json b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_VirtualMachinesGetOperationStatus_MaximumSet_Gen.json new file mode 100644 index 000000000000..978aacaf0b7e --- /dev/null +++ b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_VirtualMachinesGetOperationStatus_MaximumSet_Gen.json @@ -0,0 +1,47 @@ +{ + "title": "BulkActions_VirtualMachinesGetOperationStatus_MaximumSet_Gen - generated by [MaximumSet] rule", + "operationId": "BulkActions_VirtualMachinesGetOperationStatus", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "D8E30CC0-2763-4FCC-84A8-3C5659281032", + "location": "eastus2euap", + "requestBody": { + "operationIds": [ + "2a3fce8e-874c-45f4-9d27-1a804f3b7a0f" + ], + "correlationid": "4431320c-7a90-4300-b82b-73f0696ae50e" + } + }, + "responses": { + "200": { + "body": { + "results": [ + { + "resourceId": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3", + "errorCode": "null", + "errorDetails": "null", + "operation": { + "operationId": "2a3fce8e-874c-45f4-9d27-1a804f3b7a0f", + "resourceId": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3", + "opType": "Deallocate", + "subscriptionId": "D8E30CC0-2763-4FCC-84A8-3C5659281032", + "deadline": "2024-11-01T17:52:53.667Z", + "deadlineType": "InitiateAt", + "state": "Succeeded", + "timezone": "UTC", + "resourceOperationError": { + "errorCode": "null", + "errorDetails": "null" + }, + "completedAt": "2024-11-01T17:52:53.668Z", + "retryPolicy": { + "retryCount": 4, + "retryWindowInMinutes": 27 + } + } + } + ] + } + } + } +} diff --git a/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_VirtualMachinesGetOperationStatus_MinimumSet_Gen.json b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_VirtualMachinesGetOperationStatus_MinimumSet_Gen.json new file mode 100644 index 000000000000..2fbb6e3c2c75 --- /dev/null +++ b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/BulkActions_VirtualMachinesGetOperationStatus_MinimumSet_Gen.json @@ -0,0 +1,24 @@ +{ + "title": "BulkActions_VirtualMachinesGetOperationStatus_MinimumSet_Gen - generated by [MinimumSet] rule", + "operationId": "BulkActions_VirtualMachinesGetOperationStatus", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B", + "location": "eastus2euap", + "requestBody": { + "operationIds": [ + "23480d2f-1dca-4610-afb4-dd25eec1f34r" + ], + "correlationid": "4431320c-7a90-4300-b82b-73f0696ae50e" + } + }, + "responses": { + "200": { + "body": { + "results": [ + {} + ] + } + } + } +} diff --git a/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/Operations_List_MaximumSet_Gen.json b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/Operations_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..45c9578cfde5 --- /dev/null +++ b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/Operations_List_MaximumSet_Gen.json @@ -0,0 +1,28 @@ +{ + "title": "Operations_List - generated by [MaximumSet] rule", + "operationId": "Operations_List", + "parameters": { + "api-version": "2026-02-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "sgbqlnhrgmfpcddqyemvzhsbehs", + "isDataAction": true, + "display": { + "provider": "qiytxlivrxvlznpmtrq", + "resource": "cejwsjrqtuvkxfunqutibpxsqjrph", + "operation": "pcvvkqeuhctsp", + "description": "eukcdvgrb" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/Operations_List_MinimumSet_Gen.json b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/Operations_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..0d67de92f7d6 --- /dev/null +++ b/specification/computebulkactions/ComputeBulkActions.Management/examples/2026-02-01-preview/Operations_List_MinimumSet_Gen.json @@ -0,0 +1,12 @@ +{ + "title": "Operations_List - generated by [MinimumSet] rule", + "operationId": "Operations_List", + "parameters": { + "api-version": "2026-02-01-preview" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/computebulkactions/ComputeBulkActions.Management/main.tsp b/specification/computebulkactions/ComputeBulkActions.Management/main.tsp new file mode 100644 index 000000000000..fc32ef5a2ecf --- /dev/null +++ b/specification/computebulkactions/ComputeBulkActions.Management/main.tsp @@ -0,0 +1,23 @@ +import "@typespec/http"; +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "./routes.tsp"; + +using TypeSpec.Versioning; +using Azure.ResourceManager; + +@armProviderNamespace +@service(#{ title: "Microsoft.ComputeBulkActions" }) +@doc("Microsoft.ComputeBulkActions Resource Provider management API.") +@versioned(Versions) +namespace Microsoft.ComputeBulkActions; + +/** BulkActions API versions */ +// Order matters here as versions lower in the enum list will inherit models and routes from versions above it +enum Versions { + /** 2026-02-01-preview version */ + @armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v6) + `2026-02-01-preview`, +} diff --git a/specification/computebulkactions/ComputeBulkActions.Management/models.tsp b/specification/computebulkactions/ComputeBulkActions.Management/models.tsp new file mode 100644 index 000000000000..aa4ee77eb5c5 --- /dev/null +++ b/specification/computebulkactions/ComputeBulkActions.Management/models.tsp @@ -0,0 +1,584 @@ +import "@typespec/http"; +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "./virtualMachineProfile.tsp"; +import "./virtualMachines.tsp"; +import "./virtualMachineExtension.tsp"; +import "./scheduledactionmodel.tsp"; + +using Http; +using Rest; +using Azure.Core; +using Azure.ResourceManager; + +namespace Microsoft.ComputeBulkActions; + +// ------------------ Common Values --------------- +alias CommonParams = { + ...ApiVersionParameter; + ...SubscriptionIdParameter; + ...ResourceGroupParameter; +}; + +alias LocationParameter = { + /** The location name. */ + @path + @minLength(1) + @segment("locations") + @key + location: azureLocation; +}; + +alias OperationParameter = { + /** The async operation id. */ + @path + @minLength(1) + @segment("operations") + @key + @pattern("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") + id: string; +}; + +alias LaunchBulkInstancesOperationId = { + /** The name of the LaunchBulkInstancesOperation. */ + @path + @minLength(1) + @segment("launchBulkInstancesOperations") + @key + @pattern("^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$") + name: string; +}; + +alias DeleteInstancesParameter = { + /** When true, deletes all virtual machines created by this BulkAction Operation. */ + @query + deleteInstances?: boolean; +}; + +alias SubscriptionParams = { + ...ApiVersionParameter; + ...SubscriptionIdParameter; +}; + +alias CustomParams = { + ...CommonParams; + ...ProviderNamespace; + ...LocationParameter; + ...ResourceNameParameter< + LaunchBulkInstancesOperation, + NamePattern = "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" + >; +}; + +// ------------------ Union --------------- // +@doc("The status of the LaunchBulkInstancesOperation.") +@Azure.Core.lroStatus +union ProvisioningState { + string, + + @doc("Initial creation in progress.") + Creating: "Creating", + + @doc("The operation has completed successfully.") + Succeeded: "Succeeded", + + @doc("The operation has failed.") + Failed: "Failed", + + @doc("Deletion in progress.") + Deleting: "Deleting", + + @doc("The operation has been canceled.") + Canceled: "Canceled", +} + +@doc("Capacity types for LaunchBulkInstancesOperation.") +union CapacityType { + string, + + @doc("Default. VM is the default capacity type for LaunchBulkInstancesOperation where capacity is provisioned in terms of VMs.") + VM: "VM", + + @doc("VCpu is the capacity type for LaunchBulkInstancesOperation where capacity is provisioned in terms of VCpus. If VCpu capacity is not exactly divisible by VCpu count in VMSizes, capacity in VCpus will be overprovisioned by default.") + VCpu: "VCpu", +} + +@doc("Specifies the priority type of virtual machines to launch.") +union VirtualMachineType { + string, + + @doc("Default. Regular/On-demand VMs will be launched") + Regular: "Regular", + + @doc("Spot VMs will be launched.") + Spot: "Spot", +} + +@doc("Different kind of eviction policies") +union EvictionPolicy { + string, + + @doc("When evicted, the Spot VM will be deleted and the corresponding capacity will be updated to reflect this.") + Delete: "Delete", + + @doc("When evicted, the Spot VM will be deallocated/stopped") + Deallocate: "Deallocate", +} + +@doc("Allocation strategy types for LaunchBulkInstancesOperation") +union AllocationStrategy { + string, + + @doc("Default. VM sizes distribution will be determined to optimize for price. Note: Capacity will still be considered here but will be given much less weight.") + LowestPrice: "LowestPrice", + + @doc("VM sizes distribution will be determined to optimize for capacity.") + CapacityOptimized: "CapacityOptimized", + + @doc("VM sizes distribution will be determined to optimize for the 'rank' specified for each vm size.") + Prioritized: "Prioritized", +} + +@doc("Distribution strategies for LaunchBulkInstancesOperation zone allocation policy.") +union ZoneDistributionStrategy { + string, + + @doc(""" + Default. Launch instances in a single zone based on best effort. + If capacity is not available, LaunchBulkInstancesOperation can allocate capacity in different zones. + """) + BestEffortSingleZone: "BestEffortSingleZone", + + @doc(""" + Launch instances based on zone preferences. + Higher priority zones are filled first before allocating to lower priority zones. + """) + Prioritized: "Prioritized", + + @doc(""" + Balance launching instances across zones specified based on best effort. + If capacity is not available, LaunchBulkInstancesOperation can deviate balancing across all zones. + """) + BestEffortBalanced: "BestEffortBalanced", + + @doc("Launch instances across all provided zones, ensuring the difference between any two zones is no more than one instance.") + StrictBalanced: "StrictBalanced", +} + +@doc("Architecture types supported by Azure VMs.") +union ArchitectureType { + string, + + @doc("ARM64 Architecture") + ARM64: "ARM64", + + @doc("X64 Architecture") + X64: "X64", +} + +@doc("VMSizes supported by Azure VMs. Included is a union of Excluded and Required.") +union VMAttributeSupport { + string, + + @doc("All VMSizes having the feature support will be excluded.") + Excluded: "Excluded", + + @doc(" VMSizes that have the feature support and that do not have the feature support will be used. Included is a union of Excluded and Required.") + Included: "Included", + + @doc("Only the VMSizes having the feature support will be used.") + Required: "Required", +} + +@doc("Local storage disk types supported by Azure VMs.") +union LocalStorageDiskType { + string, + + @doc("HDD DiskType.") + HDD: "HDD", + + @doc("SDD DiskType.") + SSD: "SSD", +} + +@doc("Accelerator manufacturers supported by Azure VMs.") +union AcceleratorManufacturer { + string, + + @doc("AMD GpuType") + AMD: "AMD", + + @doc("Nvidia GpuType") + Nvidia: "Nvidia", + + @doc("Xilinx GpuType") + Xilinx: "Xilinx", +} + +@doc("Accelerator types supported by Azure VMs.") +union AcceleratorType { + string, + + @doc("GPU Accelerator") + GPU: "GPU", + + @doc("FPGA Accelerator") + FPGA: "FPGA", +} + +@doc(""" + VMCategories defined for Azure VMs. + See: https://learn.microsoft.com/en-us/azure/virtual-machines/sizes/overview?tabs=breakdownseries%2Cgeneralsizelist%2Ccomputesizelist%2Cmemorysizelist%2Cstoragesizelist%2Cgpusizelist%2Cfpgasizelist%2Chpcsizelist#general-purpose + """) +union VMCategory { + string, + + @doc(""" + General purpose VM sizes provide balanced CPU-to-memory ratio. Ideal for testing and development, small to medium databases, and low to medium traffic web servers. + """) + GeneralPurpose: "GeneralPurpose", + + @doc(""" + Compute optimized VM sizes have a high CPU-to-memory ratio. These sizes are good for medium traffic web servers, network appliances, batch processes, and application servers. + """) + ComputeOptimized: "ComputeOptimized", + + @doc(""" + Memory optimized VM sizes offer a high memory-to-CPU ratio that is great for relational database servers, medium to large caches, and in-memory analytics. + """) + MemoryOptimized: "MemoryOptimized", + + @doc(""" + Storage optimized virtual machine (VM) sizes offer high disk throughput and IO, and are ideal for Big Data, SQL, NoSQL databases, data warehousing, and large transactional databases. + Examples include Cassandra, MongoDB, Cloudera, and Redis. + """) + StorageOptimized: "StorageOptimized", + + @doc(""" + GPU optimized VM sizes are specialized virtual machines available with single, multiple, or fractional GPUs. + These sizes are designed for compute-intensive, graphics-intensive, and visualization workloads. + """) + GpuAccelerated: "GpuAccelerated", + + @doc(""" + FPGA optimized VM sizes are specialized virtual machines available with single or multiple FPGA. + These sizes are designed for compute-intensive workloads. This article provides information about the number and type of FPGA, vCPUs, data disks, and NICs. + Storage throughput and network bandwidth are also included for each size in this grouping. + """) + FpgaAccelerated: "FpgaAccelerated", + + @doc(""" + Azure High Performance Compute VMs are optimized for various HPC workloads such as computational fluid dynamics, finite element analysis, frontend and backend EDA, + rendering, molecular dynamics, computational geo science, weather simulation, and financial risk analysis. + """) + HighPerformanceCompute: "HighPerformanceCompute", +} + +@doc("Cpu Manufacturers supported by Azure VMs.") +union CpuManufacturer { + string, + + @doc("Intel CPU.") + Intel: "Intel", + + @doc("AMD CPU.") + AMD: "AMD", + + @doc("Microsoft CPU.") + Microsoft: "Microsoft", + + @doc("Ampere CPU.") + Ampere: "Ampere", +} + +@doc("HyperVGenerations supported by Azure VMs.") +union HyperVGeneration { + string, + + @doc("Gen1 hyperV.") + Gen1: "Gen1", + + @doc("Gen2 hyperV.") + Gen2: "Gen2", +} +// ------------------ Resource Types --------------- // +@doc("Managed Service Identity updatable properties that are optional.") +model ManagedServiceIdentityUpdate + is OptionalProperties>; + +@doc("Resource plan updatable properties that are optional.") +model ResourcePlanUpdate + is OptionalProperties>; + +@doc("A LaunchBulkInstancesOperation resource") +model LaunchBulkInstancesOperation { + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "Zones is a valid property" + @doc("Zones in which the LaunchBulkInstancesOperation is available") + zones?: Array; + + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "This field is using the existing compute context for tags where this field is a free-form JSON object." + #suppress "@azure-tools/typespec-azure-resource-manager/arm-resource-invalid-envelope-property" "Tags is a standard ARM resource property" + @doc("Resource tags.") + tags?: Record; + + ...ManagedServiceIdentityProperty; + ...ResourcePlanProperty; +} + +@doc("Location based type.") +model LocationBasedLaunchBulkInstancesOperation + is ProxyResource { + @doc("The location name.") + @path + @minLength(1) + @segment("locations") + @key + @visibility(Lifecycle.Read) + location: azureLocation; + + ...LaunchBulkInstancesOperation; +} + +// ------------------ Models --------------- // +@doc("List of LaunchBulkInstancesOperation resources.") +model LaunchBulkInstancesOperationListResult { + @pageItems + @doc("The list of LaunchBulkInstancesOperation resources.") + // @OpenAPI.extension("x-ms-identifiers", #[]) + value: LocationBasedLaunchBulkInstancesOperation[]; + + @doc("The URL to get the next set of results.") + @nextLink + nextLink?: string; +} + +@doc("Details of the LaunchBulkInstancesOperation.") +model LaunchBulkInstancesOperationProperties { + @visibility(Lifecycle.Read) + @doc("The status of the last operation.") + provisioningState?: ProvisioningState; + + @doc("Total capacity to achieve. It can be in terms of VMs or vCPUs.") + @minValue(1) + capacity: int32; + + @doc("Specifies capacity type for launching instances. It can be in terms of VMs or vCPUs.") + capacityType?: CapacityType; + + @doc("Configuration Options for Regular or Spot instances in LaunchBulkInstancesOperation.") + priorityProfile: PriorityProfile; + + @identifiers(#[]) + @doc("List of VM sizes supported for LaunchBulkInstancesOperation") + vmSizesProfile?: Array; + + @doc("Attributes to launch instances.") + vmAttributes?: VMAttributes; + + @doc("Compute Profile to configure the Virtual Machines.") + computeProfile: ComputeProfile; + + @doc("Zone Allocation Policy for launching instances.") + zoneAllocationPolicy?: ZoneAllocationPolicy; + + @doc("Retry policy the user can pass") + retryPolicy?: RetryPolicy; +} + +@doc("Contains properties that are applicable to both Spot and Regular.") +model PriorityProfile { + @doc("Specifies the type of Virtual Machine.") + type?: VirtualMachineType; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "maxPricePerVM has VM which does not follow camel casing" + @doc("Price per hour of each Spot VM will never exceed this.") + maxPricePerVM?: float32; + + @doc("Eviction Policy to follow when evicting Spot VMs.") + evictionPolicy?: EvictionPolicy; + + @doc("Allocation strategy to follow when determining the VM sizes distribution.") + allocationStrategy?: AllocationStrategy; +} + +@doc("Specifications about a VM Size. This will also contain the corresponding rank and weight in future.") +model VmSizeProfile { + @doc("The Sku name (e.g. 'Standard_DS1_v2')") + name: string; + + @doc(""" + The rank of the VM size. This is used with 'AllocationStrategy.Prioritized' + The lower the number, the higher the priority. Starting with 0. + """) + @minValue(0) + @maxValue(65535) + rank?: int32; +} + +@doc("Compute Profile to configure the Virtual Machines.") +model ComputeProfile { + @doc(""" + Base Virtual Machine Profile Properties to be specified according to "specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/{computeApiVersion}/virtualMachine.json#/definitions/VirtualMachineProperties" + """) + virtualMachineProfile: VirtualMachineProfile; + + @doc(""" + Virtual Machine Extensions Array to be specified according to "specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/{computeApiVersion}/virtualMachine.json#/definitions/VirtualMachineExtension" + """) + extensions?: Array; + + @doc(""" + Specifies the Microsoft.Compute API version to use when creating underlying Virtual Machines. + The default value will be the latest supported computeApiVersion by LaunchBulkInstancesOperation. + """) + computeApiVersion?: string; +} + +@doc("ZoneAllocationPolicy for LaunchBulkInstancesOperation.") +model ZoneAllocationPolicy { + @doc("Distribution strategy used for zone allocation policy.") + distributionStrategy: ZoneDistributionStrategy; + + @doc("Zone preferences, required when zone distribution strategy is Prioritized.") + @identifiers(#[]) + zonePreferences?: Array; +} + +@doc("Zone preferences for LaunchBulkInstancesOperation zone allocation policy.") +model ZonePreference { + @doc("Name of the zone.") + zone: string; + + @doc(""" + The rank of the zone. This is used with 'Prioritized' ZoneDistributionStrategy. + The lower the number, the higher the priority, starting with 0. + 0 is the highest rank. If not specified, defaults to lowest rank. + """) + @minValue(0) + @maxValue(65535) + rank?: int32; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "VMAttributeMinMaxInteger which does not follow camel casing" +@doc("While retrieving VMSizes from CRS, Min = 0 (uint.MinValue) if not specified, Max = 4294967295 (uint.MaxValue) if not specified. This allows to filter VMAttributes on all available VMSizes.") +model VMAttributeMinMaxInteger { + @minValue(0) + @doc("Min VMSize from CRS, Min = 0 (uint.MinValue) if not specified.") + min?: int32; + + @minValue(0) + @doc("Max VMSize from CRS, Max = 4294967295 (uint.MaxValue) if not specified.") + max?: int32; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "VMAttributeMinMaxDouble which does not follow camel casing" +@doc("VMAttributes using double values.") +model VMAttributeMinMaxDouble { + @minValue(0.0) + @doc("Minimum value. If not specified, no minimum filter is applied.") + min?: float64; + + @minValue(0.0) + @doc("Maximum value. Must be greater than zero. Double.MaxValue(1.7976931348623157E+308).") + max?: float64; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "VMAttributes which does not follow camel casing" +@doc("VMAttributes that will be used to filter VMSizes which will be used to launch instances.") +model VMAttributes { + @doc("The range of vCpuCount specified from Min to Max. Must be specified if VMAttributes are specified, either Min or Max is required if specified.") + vCpuCount: VMAttributeMinMaxInteger; + + @doc("The range of memory specified from Min to Max. Must be specified if VMAttributes are specified, either Min or Max is required if specified.") + memoryInGiB: VMAttributeMinMaxDouble; + + @doc("The VM architecture types specified as a list. Must be specified if VMAttributes are specified. Must be compatible with image used.") + architectureTypes: Array; + + @doc("The range of memory in GiB per vCPU specified from min to max. Optional parameter. Either Min or Max is required if specified.") + memoryInGiBPerVCpu?: VMAttributeMinMaxDouble; + + @doc(""" + Specifies whether the VMSize supporting local storage should be used to launch instances or not. + Included - Default if not specified as most Azure VMs support local storage. + """) + localStorageSupport?: VMAttributeSupport; + + @doc(""" + LocalStorageSupport should be set to "Included" or "Required" to use this VMAttribute. + If localStorageSupport is "Excluded", this VMAttribute can not be used. + """) + localStorageInGiB?: VMAttributeMinMaxDouble; + + @doc(""" + The local storage disk types specified as a list. LocalStorageSupport should be set to "Included" or "Required" to use this VMAttribute. + If localStorageSupport is "Excluded", this VMAttribute can not be used. + """) + localStorageDiskTypes?: Array; + + @doc("The range of data disk count specified from Min to Max. Optional parameter. Either Min or Max is required if specified.") + dataDiskCount?: VMAttributeMinMaxInteger; + + @doc("The range of network interface count specified from Min to Max. Optional parameter. Either Min or Max is required if specified.") + networkInterfaceCount?: VMAttributeMinMaxInteger; + + @doc("The range of network bandwidth in Mbps specified from Min to Max. Optional parameter. Either Min or Max is required if specified.") + networkBandwidthInMbps?: VMAttributeMinMaxDouble; + + @doc("Specifies whether the VMSize supporting RDMA (Remote Direct Memory Access) should be used to build launch instances or not.") + rdmaSupport?: VMAttributeSupport; + + @doc(""" + The range of RDMA (Remote Direct Memory Access) network interface count specified from Min to Max. Optional parameter. Either Min or Max is required if specified. + rdmaSupport should be set to "Included" or "Required" to use this VMAttribute. + If rdmaSupport is "Excluded", this VMAttribute can not be used. + """) + rdmaNetworkInterfaceCount?: VMAttributeMinMaxInteger; + + @doc(""" + Specifies whether the VMSize supporting accelerator should be used to launch instances or not. + acceleratorSupport should be set to "Included" or "Required" to use this VMAttribute. + If acceleratorSupport is "Excluded", this VMAttribute can not be used. + """) + acceleratorSupport?: VMAttributeSupport; + + @doc(""" + The accelerator manufacturers specified as a list. + acceleratorSupport should be set to "Included" or "Required" to use this VMAttribute. + If acceleratorSupport is "Excluded", this VMAttribute can not be used. + """) + acceleratorManufacturers?: Array; + + @doc(""" + The accelerator types specified as a list. acceleratorSupport should be set to "Included" or "Required" to use this VMAttribute. + If acceleratorSupport is "Excluded", this VMAttribute can not be used. + """) + acceleratorTypes?: Array; + + @doc(""" + The range of accelerator count specified from min to max. Optional parameter. Either Min or Max is required if specified. + acceleratorSupport should be set to "Included" or "Required" to use this VMAttribute. + If acceleratorSupport is "Excluded", this VMAttribute can not be used. + """) + acceleratorCount?: VMAttributeMinMaxInteger; + + @doc("The VM category specified as a list. Optional parameter.") + vmCategories?: Array; + + @doc("The VM CPU manufacturers specified as a list. Optional parameter.") + cpuManufacturers?: Array; + + @doc("The hyperV generations specified as a list. Optional parameter.") + hyperVGenerations?: Array; + + @doc("Specifies whether the VMSize supporting burstable capability should be used to launch instances or not.") + burstableSupport?: VMAttributeSupport; + + @doc("Specifies which VMSizes should be allowed while filtering on VMAttributes. Cannot be specified together with excludedVMSizes. Maximum of 10 VM sizes allowed. Optional parameter.") + allowedVMSizes?: Array; + + @doc("Specifies which VMSizes should be excluded while filtering on VMAttributes. Cannot be specified together with allowedVMSizes. Maximum of 10 VM sizes allowed. Optional parameter.") + excludedVMSizes?: Array; +} diff --git a/specification/computebulkactions/ComputeBulkActions.Management/routes.tsp b/specification/computebulkactions/ComputeBulkActions.Management/routes.tsp new file mode 100644 index 000000000000..64da23e8f385 --- /dev/null +++ b/specification/computebulkactions/ComputeBulkActions.Management/routes.tsp @@ -0,0 +1,161 @@ +import "@typespec/http"; +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "./models.tsp"; + +using TypeSpec.Http; +using TypeSpec.Rest; +using TypeSpec.Versioning; +using Azure.ResourceManager; + +namespace Microsoft.ComputeBulkActions; + +interface Operations extends Azure.ResourceManager.Operations {} + +@armResourceOperations(#{ allowStaticRoutes: true }) +interface BulkActions { + @doc("Gets an instance of LaunchBulkInstancesOperations.") + get is ArmResourceRead< + Resource = LocationBasedLaunchBulkInstancesOperation, + Parameters = LaunchBulkInstancesOperationId, + Response = ArmResponse + >; + + @doc("Get the status of a LaunchBulkInstancesOperation.") + getOperationStatus is ArmResourceRead< + Resource = LocationBasedLaunchBulkInstancesOperation, + Parameters = OperationParameter, + Response = ArmResponse, + BaseParameters = SubscriptionParams + >; + + @doc("Creates or updates LaunchBulkInstancesOperations.") + createOrUpdate is ArmResourceCreateOrUpdateAsync< + Resource = LocationBasedLaunchBulkInstancesOperation, + Parameters = LaunchBulkInstancesOperationId + >; + + @doc("Deletes LaunchBulkInstancesOperations.") + delete is ArmResourceDeleteWithoutOkAsync< + Resource = LocationBasedLaunchBulkInstancesOperation, + Parameters = LaunchBulkInstancesOperationId & DeleteInstancesParameter + >; + + @doc("Cancels LaunchBulkInstancesOperation instances that have not yet launched.") + cancel is ArmResourceActionNoResponseContentAsync< + Resource = LocationBasedLaunchBulkInstancesOperation, + Request = void, + Parameters = LaunchBulkInstancesOperationId + >; + + @doc("List LaunchBulkInstancesOperation resources by resource group.") + @get + @autoRoute + @action("launchBulkInstancesOperations") + @list + @listsResource(LaunchBulkInstancesOperation) + @armResourceList(LocationBasedLaunchBulkInstancesOperation) + listByResourceGroup( + ...CommonParams, + ...ProviderNamespace, + ...LocationParameter, + ): ArmResponse | ErrorResponse; + + @doc("List LaunchBulkInstancesOperation resources by subscriptionId.") + @get + @autoRoute + @action("launchBulkInstancesOperations") + @list + @listsResource(LaunchBulkInstancesOperation) + @armResourceList(LocationBasedLaunchBulkInstancesOperation) + listBySubscription( + ...SubscriptionParams, + ...ProviderNamespace, + ...LocationParameter, + ): ArmResponse | ErrorResponse; + + @doc("List VirtualMachine resources of a LaunchBulkInstancesOperation.") + @autoRoute + @listsResource(VirtualMachine) + @armResourceList(VirtualMachine) + @list + @get + listVirtualMachines( + ...CustomParams, + + @doc("Filter expression to filter the virtual machines.") + @query + $filter?: string, + + @doc("Skip token for pagination. Uses the token from a previous response to fetch the next page of results.") + @query + $skiptoken?: string, + ): ArmResponse | ErrorResponse; + + // ------------------ Scheduledaction endpoints --------------- + /** VirtualMachinesExecuteDeallocate: Execute deallocate operation for a batch of virtual machines, this operation is triggered as soon as Computeschedule receives it. */ + @autoRoute + virtualMachinesExecuteDeallocate is ArmProviderActionSync< + Request = ExecuteDeallocateRequest, + Response = ArmResponse, + Scope = Extension.Subscription, + Parameters = LocationParameter + >; + + /** VirtualMachinesExecuteHibernate: Execute hibernate operation for a batch of virtual machines, this operation is triggered as soon as Computeschedule receives it. */ + @autoRoute + virtualMachinesExecuteHibernate is ArmProviderActionSync< + Request = ExecuteHibernateRequest, + Response = ArmResponse, + Scope = Extension.Subscription, + Parameters = LocationParameter + >; + + /** VirtualMachinesExecuteStart: Execute start operation for a batch of virtual machines, this operation is triggered as soon as Computeschedule receives it. */ + @autoRoute + virtualMachinesExecuteStart is ArmProviderActionSync< + Request = ExecuteStartRequest, + Response = ArmResponse, + Scope = Extension.Subscription, + Parameters = LocationParameter + >; + + /** VirtualMachinesExecuteCreate: Execute create operation for a batch of virtual machines, this operation is triggered as soon as Computeschedule receives it. */ + @autoRoute + virtualMachinesExecuteCreate is ArmProviderActionSync< + Request = ExecuteCreateRequest, + Response = ArmResponse, + Scope = Extension.Subscription, + Parameters = LocationParameter + >; + + /** VirtualMachinesExecuteDelete: Execute delete operation for a batch of virtual machines, this operation is triggered as soon as Computeschedule receives it. */ + @autoRoute + virtualMachinesExecuteDelete is ArmProviderActionSync< + Request = ExecuteDeleteRequest, + Response = ArmResponse, + Scope = Extension.Subscription, + Parameters = LocationParameter + >; + + /** VirtualMachinesGetOperationStatus: Polling endpoint to read status of operations performed on virtual machines */ + @autoRoute + virtualMachinesGetOperationStatus is ArmProviderActionSync< + Request = GetOperationStatusRequest, + Response = ArmResponse, + Scope = Extension.Subscription, + Parameters = LocationParameter + >; + + /** VirtualMachinesCancelOperations: Cancel a previously submitted (start/deallocate/hibernate) request */ + @autoRoute + virtualMachinesCancelOperations is ArmProviderActionSync< + Request = CancelOperationsRequest, + Response = ArmResponse, + Scope = Extension.Subscription, + Parameters = LocationParameter + >; + // ------------------ Scheduledaction endpoints --------------- +} diff --git a/specification/computebulkactions/ComputeBulkActions.Management/scheduledactionmodel.tsp b/specification/computebulkactions/ComputeBulkActions.Management/scheduledactionmodel.tsp new file mode 100644 index 000000000000..15ee0e85b5c4 --- /dev/null +++ b/specification/computebulkactions/ComputeBulkActions.Management/scheduledactionmodel.tsp @@ -0,0 +1,448 @@ +import "@typespec/http"; +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@azure-tools/typespec-client-generator-core"; + +using Azure.Core; +using Azure.ResourceManager; +using Azure.ClientGenerator.Core; +using TypeSpec.Versioning; + +namespace Microsoft.ComputeBulkActions; + +// --------------- Request Body Naming --------------- +@@clientName(BulkActions.virtualMachinesExecuteDeallocate::parameters.body, + "requestBody" +); +@@doc(BulkActions.virtualMachinesExecuteDeallocate::parameters.body, + "The request body" +); +@@clientName(BulkActions.virtualMachinesExecuteHibernate::parameters.body, + "requestBody" +); +@@doc(BulkActions.virtualMachinesExecuteHibernate::parameters.body, + "The request body" +); +@@clientName(BulkActions.virtualMachinesExecuteStart::parameters.body, + "requestBody" +); +@@doc(BulkActions.virtualMachinesExecuteStart::parameters.body, + "The request body" +); +@@clientName(BulkActions.virtualMachinesExecuteCreate::parameters.body, + "requestBody" +); +@@doc(BulkActions.virtualMachinesExecuteCreate::parameters.body, + "The request body" +); +@@clientName(BulkActions.virtualMachinesExecuteDelete::parameters.body, + "requestBody" +); +@@doc(BulkActions.virtualMachinesExecuteDelete::parameters.body, + "The request body" +); +@@clientName(BulkActions.virtualMachinesGetOperationStatus::parameters.body, + "requestBody" +); +@@doc(BulkActions.virtualMachinesGetOperationStatus::parameters.body, + "The request body" +); +@@clientName(BulkActions.virtualMachinesCancelOperations::parameters.body, + "requestBody" +); +@@doc(BulkActions.virtualMachinesCancelOperations::parameters.body, + "The request body" +); + +// ------------------ Enums --------------- +@doc("The types of deadlines supported by Bulkactions") +union DeadlineType { + @doc("Default value of Unknown.") + Unknown: "Unknown", + + @doc("Initiate the operation at the given deadline.") + InitiateAt: "InitiateAt", + + @doc("Complete the operation by the given deadline.") + CompleteBy: "CompleteBy", + + string, +} + +@doc("The preferences customers can select to optimize their requests to Bulkactions") +union OptimizationPreference { + @doc("Optimize while considering cost savings") + Cost: "Cost", + + @doc("Optimize while considering availability of resources") + Availability: "Availability", + + @doc("Optimize while considering a balance of cost and availability") + CostAvailabilityBalanced: "CostAvailabilityBalanced", + + string, +} + +@doc("The kind of operation types that can be performed on resources eg Virtual Machines, using BulkActions") +union ResourceOperationType { + @doc("The default value for this enum type") + Unknown: "Unknown", + + @doc("Start operations on the resources") + Start: "Start", + + @doc("Deallocate operations on the resources") + Deallocate: "Deallocate", + + @doc("Hibernate operations on the resources") + Hibernate: "Hibernate", + + @doc("Create operations on the resources") + Create: "Create", + + @doc("Delete operations on the resources") + Delete: "Delete", + + string, +} + +@doc("Values that define the states of operations in BulkActions") +union OperationState { + @doc("The default value for the operation state enum") + Unknown: "Unknown", + + @doc("Operations that are pending scheduling") + PendingScheduling: "PendingScheduling", + + @doc("Operations that have been scheduled") + Scheduled: "Scheduled", + + @doc("Operations that are waiting to be executed") + PendingExecution: "PendingExecution", + + @doc("Operations that are in the process of being executed") + Executing: "Executing", + + @doc("Operations that succeeded") + Succeeded: "Succeeded", + + @doc("Operations that have failed") + Failed: "Failed", + + @doc("Operations that have been Cancelled by the user") + Cancelled: "Cancelled", + + @doc("Operations that are blocked") + Blocked: "Blocked", + + string, +} + +// ------------------ Models --------------- +@doc("Describes the fallback operation that was performed") +model FallbackOperation { + @doc("The last operation type that was performed as a fallback") + lastOpType?: ResourceOperationType; + + @doc("The status of the fallback operation") + status?: string; +} + +@doc("The schedule details for the user request") +model Schedule { + #suppress "@azure-tools/typespec-azure-core/no-offsetdatetime" "Prefer using `offsetDateTime` when representing a datetime." + @doc("The deadline for the operation") + deadline?: offsetDateTime; + + @doc("The timezone for the operation") + timezone?: string; + + @doc("The deadlinetype of the operation, this can either be InitiateAt or CompleteBy") + deadlineType: DeadlineType = DeadlineType.Unknown; +} + +@doc("The resources needed for the user request") +model Resources { + @doc("The resource ids used for the request") + ids: Array>; +} + +@doc("The resources needed for the user request with the correlationId") +model ResourceWithContext { + @doc("The resource ids used for the request") + id: armResourceIdentifier<[ + { + type: "Microsoft.Compute/vm"; + } + ]>; + + @doc("The operational context of the resourceId") + context: string; +} + +@doc("The resources needed for the user request with the context for tracking purposes") +model ResourcesWithContext { + @doc("The resource ids used for the request") + ids: Array; +} + +@doc("Resource creation data model") +model ResourceProvisionPayload { + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "reviewed this with ARM, we are a pass through to compute RP and doing any property specific validation, compute RP will do that." + @doc("JSON object that contains VM properties that are common across all VMs in this batch (if you want to create 100 VMs in this request, and they all have same vmSize, then include vmSize in baseProfile)") + baseProfile?: Record; + + #suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" "reviewed this with ARM, we are a pass through to compute RP and doing any property specific validation, compute RP will do that." + @doc("JSON array, that contains VM properties that should to be overridden for each VM in the batch (if you want to create 100 VMs, they all need a distinct computerName property, you pass computerNames for each VM in batch in this array), service will merge baseProfile with VM specific overrides and create a merged VMProfile.") + resourceOverrides?: Record[]; + + @doc("Number of VMs to be created") + resourceCount: int32; + + @doc("if resourceOverrides doesn't contain \"name\", service will create name based of prefix and ResourceCount e.g. resourceprefix-0,resourceprefix-1..") + resourcePrefix?: string; +} + +@doc("The retry policy for the user request") +model RetryPolicy { + @doc("Retry count for user request") + retryCount?: int32; + + @doc("Retry window in minutes for user request") + retryWindowInMinutes?: int32; + + @removed(Microsoft.ComputeBulkActions.Versions.`2026-02-01-preview`) + @doc("Action to take on failed retries for user request") + onFailureAction?: ResourceOperationType; +} + +@doc("Extra details needed to run the user's request") +model ExecutionParameters { + @doc("Details that could optimize the user's request") + optimizationPreference?: OptimizationPreference; + + @doc("Retry policy the user can pass") + retryPolicy?: RetryPolicy; +} + +@doc("These describe errors that occur at the resource level") +model ResourceOperationError { + @doc("Code for the error eg 404, 500") + errorCode: string; + + @doc("Detailed message about the error") + errorDetails: string; +} + +@doc("The details of a response from an operation on a resource") +model ResourceOperationDetails { + @doc("Operation identifier for the unique operation") + operationId: string; + + @doc("Unique identifier for the resource involved in the operation, eg Azure Resource Manager ID") + resourceId?: armResourceIdentifier<[ + { + type: "Microsoft.Compute/vm"; + } + ]>; + + @doc("Type of operation performed on the resources") + opType?: ResourceOperationType = ResourceOperationType.Unknown; + + @doc("Subscription id attached to the request") + subscriptionId?: string; + + #suppress "@azure-tools/typespec-azure-core/no-offsetdatetime" "Prefer using `offsetDateTime` when representing a datetime." + @doc("Deadline for the operation") + deadline?: offsetDateTime; + + @doc("Type of deadline of the operation") + deadlineType?: DeadlineType = DeadlineType.Unknown; + + @doc("Current state of the operation") + state?: OperationState = OperationState.Unknown; + + @doc("Timezone for the operation") + timezone?: string; + + @doc("Operation level errors if they exist") + resourceOperationError?: ResourceOperationError; + + #suppress "@azure-tools/typespec-azure-core/no-offsetdatetime" "Prefer using `offsetDateTime` when representing a datetime." + @doc("Time the operation was complete if errors are null") + completedAt?: offsetDateTime; + + @doc("Retry policy the user can pass") + retryPolicy?: RetryPolicy; + + @removed(Microsoft.ComputeBulkActions.Versions.`2026-02-01-preview`) + @doc("Resource notification details.") + resourceNotificationDetails?: ResourceNotificationDetails; + + @removed(Microsoft.ComputeBulkActions.Versions.`2026-02-01-preview`) + @doc("Fallback operation details if a fallback was performed") + fallbackOperation?: FallbackOperation; +} + +@doc("Top level response from an operation on a resource") +model ResourceOperation { + @doc("Unique identifier for the resource involved in the operation, eg Azure Resource Manager ID") + resourceId?: armResourceIdentifier<[ + { + type: "Microsoft.Compute/vm"; + } + ]>; + + @doc("Resource level error code if it exists") + errorCode?: string; + + @doc("Resource level error details if they exist") + errorDetails?: string; + + @doc("Details of the operation performed on a resource") + operation?: ResourceOperationDetails; +} + +// ------------------ Common Models --------------- +@doc("The common request model for power operations") +model ResourceNotificationDetails { + @doc("Operation context for notification tracking") + operationContext?: string; +} + +@doc("The execute-type request for power operations") +model ExecuteTypeRequest { + @doc("The execution parameters for the request") + executionParameters: ExecutionParameters; + + @doc("The resources for the request") + resources?: Resources; + + @removed(Microsoft.ComputeBulkActions.Versions.`2026-02-01-preview`) + @doc("The resources for the request with operation context information") + resourcesWithContext?: ResourcesWithContext; + + @doc("CorrelationId item") + correlationid: string; +} + +@doc("Common model for operation response") +model OperationResponse { + @doc("The description of the operation response") + description: string; + + @doc("The type of resources used in the request eg virtual machines") + type: string; + + @doc("The location of the request eg westus") + @visibility(Lifecycle.Read, Lifecycle.Create) + location: azureLocation; + + @identifiers(#["resourceId"]) + @doc("The results from the request.") + results?: Array; +} + +// ----------- DeallocateResponse --------- +@doc("The response from a deallocate request") +model DeallocateResourceOperationResponse { + ...OperationResponse; +} + +// ----------- StartResponse --------- +@doc("The response from a start request") +model StartResourceOperationResponse { + ...OperationResponse; +} + +// ----------- HibernateResponse --------- +@doc("The response from a Hibernate request") +model HibernateResourceOperationResponse { + ...OperationResponse; +} + +// ----------- Execute Operations Request --------- +@doc("The ExecuteDeallocateRequest request for executeDeallocate operations") +model ExecuteDeallocateRequest { + ...ExecuteTypeRequest; +} + +@doc("The ExecuteHibernateRequest request for executeHibernate operations") +model ExecuteHibernateRequest { + ...ExecuteTypeRequest; +} + +@doc("The ExecuteStartRequest request for executeStart operations") +model ExecuteStartRequest { + ...ExecuteTypeRequest; +} + +@doc("The ExecuteCreateRequest request for create operations") +model ExecuteCreateRequest { + @doc("resource creation payload") + resourceConfigParameters: ResourceProvisionPayload; + + @doc("The execution parameters for the request") + executionParameters: ExecutionParameters; + + @doc("CorrelationId item") + correlationid?: string; +} + +@doc("The response from a create request") +model CreateResourceOperationResponse { + ...OperationResponse; +} + +@doc("The response from a delete request") +model DeleteResourceOperationResponse { + ...OperationResponse; +} + +@doc("The ExecuteDeleteRequest for delete VM operation") +model ExecuteDeleteRequest { + ...ExecuteTypeRequest; + + @doc("Forced delete resource item") + forceDeletion?: boolean; +} + +// ----------- GetOperationStatus --------- +@doc("This is the request to get operation status using operationids") +model GetOperationStatusRequest { + @doc("The list of operation ids to get the status of") + operationIds: Array; + + @doc("CorrelationId item") + correlationid: string; +} + +@doc("This is the response from a get operations status request") +model GetOperationStatusResponse { + @identifiers(#["resourceId"]) + @doc("An array of resource operations based on their operation ids") + results: Array; +} + +// ----------- CancelOperations --------- +@doc("This is the request to cancel running operations in bulkactions using the operation ids") +model CancelOperationsRequest { + @doc("The list of operation ids to cancel operations on") + operationIds: Array; + + @doc("CorrelationId item") + correlationid: string; +} + +@doc("This is the response from a cancel operations request") +model CancelOperationsResponse { + @identifiers(#["resourceId"]) + @doc("An array of resource operations that were successfully cancelled") + results: Array; +} diff --git a/specification/computebulkactions/ComputeBulkActions.Management/tspconfig.yaml b/specification/computebulkactions/ComputeBulkActions.Management/tspconfig.yaml new file mode 100644 index 000000000000..92cf4a2aa294 --- /dev/null +++ b/specification/computebulkactions/ComputeBulkActions.Management/tspconfig.yaml @@ -0,0 +1,47 @@ +parameters: + "service-dir": + default: "sdk/computebulkactions" +emit: + - "@azure-tools/typespec-autorest" +options: + "@azure-tools/typespec-autorest": + emitter-output-dir: "{project-root}/.." + azure-resource-provider-folder: "resource-manager" + output-file: "{azure-resource-provider-folder}/{service-name}/{version-status}/{version}/computebulkactions.json" + use-read-only-status-schema: true + "@azure-tools/typespec-python": + emitter-output-dir: "{output-dir}/{service-dir}/azure-mgmt-computebulkactions" + namespace: "azure.mgmt.computebulkactions" + flavor: "azure" + generate-test: true + generate-sample: true + "@azure-tools/typespec-ts": + generate-sample: false + experimental-extensible-enums: true + emitter-output-dir: "{output-dir}/{service-dir}/arm-computebulkactions" + flavor: azure + package-details: + name: "@azure/arm-computebulkactions" + "@azure-tools/typespec-csharp": + emitter-output-dir: "{output-dir}/{service-dir}/Azure.ResourceManager.ComputeBulkActions" + flavor: azure + clear-output-folder: true + namespace: "Azure.ResourceManager.ComputeBulkActions" + "@azure-tools/typespec-java": + emitter-output-dir: "{output-dir}/{service-dir}/azure-resourcemanager-computebulkactions" + namespace: "com.azure.resourcemanager.computebulkactions" + flavor: "azure" + service-name: "Compute BulkActions" + "@azure-tools/typespec-go": + service-dir: "sdk/resourcemanager/computebulkactions" + emitter-output-dir: "{output-dir}/{service-dir}/armcomputebulkactions" + module: "github.com/Azure/azure-sdk-for-go/{service-dir}/armcomputebulkactions" + fix-const-stuttering: true + flavor: "azure" + generate-samples: true + generate-fakes: true + head-as-boolean: true + inject-spans: true +linter: + extends: + - "@azure-tools/typespec-azure-rulesets/resource-manager" diff --git a/specification/computebulkactions/ComputeBulkActions.Management/virtualMachineExtension.tsp b/specification/computebulkactions/ComputeBulkActions.Management/virtualMachineExtension.tsp new file mode 100644 index 000000000000..da395eb740d4 --- /dev/null +++ b/specification/computebulkactions/ComputeBulkActions.Management/virtualMachineExtension.tsp @@ -0,0 +1,53 @@ +import "@typespec/rest"; +import "@typespec/http"; +import "@azure-tools/typespec-azure-core"; +import "./common.tsp"; + +namespace Microsoft.ComputeBulkActions; + +@doc("Defines a virtual machine extension.") +model VirtualMachineExtension { + @doc("The name of the virtual machine extension.") + name: string; + + @doc("Properties of the virtual machine extension.") + properties: VirtualMachineExtensionProperties; +} + +@doc("Describes the properties of a Virtual Machine Extension.") +model VirtualMachineExtensionProperties { + @doc("How the extension handler should be forced to update even if the extension configuration has not changed.") + forceUpdateTag?: string; + + @doc("The name of the extension handler publisher.") + publisher?: string; + + @doc("Specifies the type of the extension; an example is 'CustomScriptExtension'.") + type?: string; + + @doc("Specifies the version of the script handler.") + typeHandlerVersion?: string; + + @doc("Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true.") + autoUpgradeMinorVersion?: boolean; + + @doc("Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available.") + enableAutomaticUpgrade?: boolean; + + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "This field is using the existing compute context for settings where this field is a free-form JSON object." + @doc("JSON formatted public settings for the extension.") + settings?: Record; + + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "This field is using the existing compute context for protectedSettings where this field is a free-form JSON object." + @doc("The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.") + protectedSettings?: Record; + + @doc("Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false.") + suppressFailures?: boolean; + + @doc("The extensions protected settings that are passed by reference, and consumed from key vault") + protectedSettingsFromKeyVault?: KeyVaultSecretReference; + + @doc("Collection of extension names after which this extension needs to be provisioned.") + provisionAfterExtensions?: string[]; +} diff --git a/specification/computebulkactions/ComputeBulkActions.Management/virtualMachineProfile.tsp b/specification/computebulkactions/ComputeBulkActions.Management/virtualMachineProfile.tsp new file mode 100644 index 000000000000..27142a8e04a8 --- /dev/null +++ b/specification/computebulkactions/ComputeBulkActions.Management/virtualMachineProfile.tsp @@ -0,0 +1,1381 @@ +import "@typespec/rest"; +import "@typespec/http"; +import "@azure-tools/typespec-azure-core"; +import "./common.tsp"; + +using Azure.ResourceManager; + +namespace Microsoft.ComputeBulkActions; +@doc("Describes the properties of a Virtual Machine.") +model VirtualMachineProfile { + @doc("Specifies Redeploy, Reboot and ScheduledEventsAdditionalPublishingTargets Scheduled Event related configurations for the virtual machine.") + scheduledEventsPolicy?: ScheduledEventsPolicy; + + @doc("Specifies the storage settings for the virtual machine disks.") + storageProfile?: StorageProfile; + + @doc("Specifies additional capabilities enabled or disabled on the virtual machine.") + additionalCapabilities?: AdditionalCapabilities; + + @doc("Specifies the operating system settings used while creating the virtual machine. Some of the settings cannot be changed once VM is provisioned.") + osProfile?: OSProfile; + + @doc("Specifies the network interfaces of the virtual machine.") + networkProfile?: NetworkProfile; + + @doc("Specifies the Security related profile settings for the virtual machine.") + securityProfile?: SecurityProfile; + + @doc("Specifies the boot diagnostic settings state. Minimum compute api-version: 2015-06-15.") + diagnosticsProfile?: DiagnosticsProfile; + + @doc("Specifies that the image or disk that is being used was licensed on-premises.

Possible values for Windows Server operating system are:

Windows_Client

Windows_Server

Possible values for Linux Server operating system are:

RHEL_BYOS (for RHEL)

SLES_BYOS (for SUSE)

For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)

[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)

Minimum api-version: 2015-06-15") + licenseType?: string; + + @doc("Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M). Minimum compute api-version: 2020-06-01.") + extensionsTimeBudget?: string; + + @doc("Specifies Scheduled Event related configurations.") + scheduledEventsProfile?: ScheduledEventsProfile; + + @doc("UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here. Minimum compute api-version: 2021-03-01.") + userData?: string; + + @doc("Specifies information about the capacity reservation that is used to allocate virtual machine. Minimum compute api-version: 2021-04-01.") + capacityReservation?: CapacityReservationProfile; + + @doc("Specifies the gallery applications that should be made available to the VM.") + applicationProfile?: ApplicationProfile; +} + +@doc("Specifies Redeploy, Reboot and ScheduledEventsAdditionalPublishingTargets Scheduled Event related configurations.") +model ScheduledEventsPolicy { + @doc("The configuration parameters used while creating userInitiatedRedeploy scheduled event setting creation.") + userInitiatedRedeploy?: UserInitiatedRedeploy; + + @doc("The configuration parameters used while creating userInitiatedReboot scheduled event setting creation.") + userInitiatedReboot?: UserInitiatedReboot; + + @doc("The configuration parameters used while publishing scheduledEventsAdditionalPublishingTargets.") + scheduledEventsAdditionalPublishingTargets?: ScheduledEventsAdditionalPublishingTargets; + + @doc("The configuration parameters used while creating AllInstancesDown scheduled event setting creation.") + allInstancesDown?: AllInstancesDown; +} + +@doc("Specifies Redeploy related Scheduled Event related configurations.") +model UserInitiatedRedeploy { + @doc("Specifies Redeploy Scheduled Event related configurations.") + automaticallyApprove?: boolean; +} + +@doc("Specifies Reboot related Scheduled Event related configurations.") +model UserInitiatedReboot { + @doc("Specifies Reboot Scheduled Event related configurations.") + automaticallyApprove?: boolean; +} + +@doc("Specifies additional publishing targets for scheduled events.") +model ScheduledEventsAdditionalPublishingTargets { + @doc("The configuration parameters used while creating eventGridAndResourceGraph Scheduled Event setting.") + eventGridAndResourceGraph?: EventGridAndResourceGraph; +} + +@doc("Specifies eventGridAndResourceGraph related Scheduled Event related configurations.") +model EventGridAndResourceGraph { + @doc("Specifies if event grid and resource graph is enabled for Scheduled event related configurations.") + enable?: boolean; + + @doc("Specifies the api-version to determine which Scheduled Events configuration schema version will be delivered.") + scheduledEventsApiVersion?: string; +} + +@doc("Specifies if Scheduled Events should be auto-approved when all instances are down.") +model AllInstancesDown { + @doc("Specifies if Scheduled Events should be auto-approved when all instances are down. Its default value is true.") + automaticallyApprove?: boolean; +} + +@doc("Specifies the storage settings for the virtual machine disks.") +model StorageProfile { + @doc("Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations.") + imageReference?: ImageReference; + + @doc("Specifies information about the operating system disk used by the virtual machine. For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).") + osDisk?: OSDisk; + + @doc("Specifies the parameters that are used to add a data disk to a virtual machine. For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).") + @identifiers(#["lun"]) + dataDisks?: DataDisk[]; + + @doc("Specifies the disk controller type configured for the VM. **Note:** This property will be set to the default disk controller type if not specified provided virtual machine is being created with 'hyperVGeneration' set to V2 based on the capabilities of the operating system disk and VM size from the the specified minimum api version. You need to deallocate the VM before updating its disk controller type unless you are updating the VM size in the VM configuration which implicitly deallocates and reallocates the VM. Minimum api-version: 2022-08-01.") + diskControllerType?: DiskControllerTypes; +} + +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility" +@doc("Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. NOTE: Image reference publisher and offer can only be set when you create the scale set.") +model ImageReference extends SubResource { + @doc("The image publisher.") + publisher?: string; + + @doc("Specifies the offer of the platform image or marketplace image used to create the virtual machine.") + offer?: string; + + @doc("The image SKU.") + sku?: string; + + @doc("Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available. Please do not use field 'version' for gallery image deployment, gallery image should always use 'id' field for deployment, to use 'latest' version of gallery image, just set '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}' in the 'id' field without version input.") + version?: string; + + @doc("Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call.") + sharedGalleryImageId?: string; + + @doc("Specified the community gallery image unique id for vm deployment. This can be fetched from community gallery image GET call.") + communityGalleryImageId?: string; +} + +@doc("Specifies information about the operating system disk used by the virtual machine. For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).") +model OSDisk { + @doc("This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. Possible values are: Windows, Linux.") + osType?: OperatingSystemTypes; + + @doc("Specifies the encryption settings for the OS Disk. Minimum compute api-version: 2015-06-15.") + encryptionSettings?: DiskEncryptionSettings; + + @doc("The disk name.") + name?: string; + + @doc("The virtual hard disk.") + vhd?: VirtualHardDisk; + + @doc("The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.") + image?: VirtualHardDisk; + + @doc("Specifies the caching requirements. Possible values are: None, ReadOnly, ReadWrite. The defaulting behavior is: None for Standard storage. ReadOnly for Premium storage.") + caching?: CachingTypes; + + @doc("Specifies whether writeAccelerator should be enabled or disabled on the disk.") + writeAcceleratorEnabled?: boolean; + + @doc("Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine.") + diffDiskSettings?: DiffDiskSettings; + + @doc("Specifies how the virtual machine disk should be created. Possible values are Attach, FromImage. If you are using a platform image, you should also use the imageReference element described above. If you are using a marketplace image, you should also use the plan element previously described.") + createOption: DiskCreateOptionTypes; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "GB is an abbreviation for Gigabyte" + @doc("Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property 'diskSizeGB' is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023.") + diskSizeGB?: int32; + + @doc("The managed disk parameters.") + managedDisk?: ManagedDiskParameters; + + @doc("Specifies whether OS Disk should be deleted or detached upon VM deletion. Possible values are: Delete, Detach. The default value is set to Detach. For an ephemeral OS Disk, the default value is set to Delete. The user cannot change the delete option for an ephemeral OS Disk.") + deleteOption?: DiskDeleteOptionTypes; +} + +@doc("Describes the parameters of ephemeral disk settings that can be specified for operating system disk. Note: The ephemeral disk settings can only be specified for managed disk.") +model DiffDiskSettings { + @doc("Specifies the ephemeral disk settings for operating system disk.") + option?: DiffDiskOptions; + + @doc("Specifies the ephemeral disk placement for operating system disk. Possible values are: CacheDisk, ResourceDisk, NvmeDisk. The defaulting behavior is: CacheDisk if one is configured for the VM size otherwise ResourceDisk or NvmeDisk is used. Minimum api-version for NvmeDisk: 2024-03-01.") + placement?: DiffDiskPlacement; +} + +@doc("Specifies the ephemeral disk option for operating system disk.") +union DiffDiskOptions { + string, + + @doc("Local Ephemeral disk option: Local") + Local: "Local", +} + +@doc("Specifies the ephemeral disk placement for operating system disk. This property can be used by user in the request to choose the location i.e, cache disk, resource disk or nvme disk space for Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer Ephemeral OS disk size requirements for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements. Minimum api-version for NvmeDisk: 2024-03-01.") +union DiffDiskPlacement { + string, + + @doc("CacheDisk disk placement") + CacheDisk: "CacheDisk", + + @doc("ResourceDisk disk placement") + ResourceDisk: "ResourceDisk", + + @doc("NvmeDisk disk placement") + NvmeDisk: "NvmeDisk", +} + +@doc("Specifies how the virtual machine disk should be created. Possible values are **Attach:** This value is used when you are using a specialized disk to create the virtual machine. **FromImage:** This value is used when you are using an image to create the virtual machine. If you are using a platform image, you should also use the imageReference element described above. If you are using a marketplace image, you should also use the plan element previously described. **Empty:** This value is used when creating an empty data disk. **Copy:** This value is used to create a data disk from a snapshot or another disk. **Restore:** This value is used to create a data disk from a disk restore point.") +union DiskCreateOptionTypes { + string, + + @doc("Create disk FromImage") + FromImage: "FromImage", + + @doc("Empty value") + Empty: "Empty", + + @doc("Create disk by Attach") + Attach: "Attach", + + @doc("Create disk by Copy") + Copy: "Copy", + + @doc("Create disk by Restore") + Restore: "Restore", +} + +@doc("Specifies the behavior of the managed disk when the VM gets deleted, for example whether the managed disk is deleted or detached. Supported values are: **Delete.** If this value is used, the managed disk is deleted when VM gets deleted. **Detach.** If this value is used, the managed disk is retained after VM gets deleted. Minimum api-version: 2021-03-01.") +union DiskDeleteOptionTypes { + string, + + @doc("Delete the disk upon VM deletion") + Delete: "Delete", + + @doc("Detach the disk upon VM deletion") + Detach: "Detach", +} + +@doc("This property allows you to specify the supported type of the OS that application is built for. Possible values are: **Windows,** **Linux.**") +union OperatingSystemTypes { + string, + + @doc("Windows OS") + Windows: "Windows", + + @doc("Linux OS") + Linux: "Linux", +} + +@doc("Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The default values are: **None for Standard storage. ReadOnly for Premium storage**") +union CachingTypes { + string, + + @doc("Caching type:None") + None: "None", + + @doc("Caching type:ReadOnly") + ReadOnly: "ReadOnly", + + @doc("Caching type:ReadWrite") + ReadWrite: "ReadWrite", +} + +/** + * Specifies the storage account type for the managed disk. Managed OS disk storage account type can only be set when you create the scale set. NOTE: UltraSSD_LRS can only be used with data disks. It cannot be used with OS Disk. Standard_LRS uses Standard HDD. StandardSSD_LRS uses Standard SSD. Premium_LRS uses Premium SSD. UltraSSD_LRS uses Ultra disk. Premium_ZRS uses Premium SSD zone redundant storage. StandardSSD_ZRS uses Standard SSD zone redundant storage. For more information regarding disks supported for Windows Virtual Machines, refer to https://docs.microsoft.com/azure/virtual-machines/windows/disks-types and, for Linux Virtual Machines, refer to https://docs.microsoft.com/azure/virtual-machines/linux/disks-types + */ +union StorageAccountTypes { + string, + + @doc("Standard_LRS storage account type") + Standard_LRS: "Standard_LRS", + + @doc("Premium_LRS storage account type") + Premium_LRS: "Premium_LRS", + + @doc("StandardSSD_LRS storage account type") + StandardSSD_LRS: "StandardSSD_LRS", + + @doc("UltraSSD_LRS storage account type") + UltraSSD_LRS: "UltraSSD_LRS", + + @doc("Premium_ZRS storage account type") + Premium_ZRS: "Premium_ZRS", + + @doc("StandardSSD_ZRS storage account type") + StandardSSD_ZRS: "StandardSSD_ZRS", + + @doc("PremiumV2_LRS storage account type") + PremiumV2_LRS: "PremiumV2_LRS", +} + +/** + * Describes the uri of a disk. + */ +model VirtualHardDisk { + @doc("Specifies the virtual hard disk's uri.") + uri?: string; +} + +/** + * Describes a Encryption Settings for a Disk + */ +model DiskEncryptionSettings { + @doc("Specifies the location of the disk encryption key, which is a Key Vault Secret.") + diskEncryptionKey?: KeyVaultSecretReference; + + @doc("Specifies the location of the key encryption key in Key Vault.") + keyEncryptionKey?: KeyVaultKeyReference; + + @doc("Specifies whether disk encryption should be enabled on the virtual machine.") + enabled?: boolean; +} + +/** + * Describes a reference to Key Vault Key + */ +model KeyVaultKeyReference { + @doc("The URL referencing a key encryption key in Key Vault.") + keyUrl: string; + + @doc("The relative URL of the Key Vault containing the key.") + sourceVault: SubResource; +} + +/** + * The parameters of a managed disk. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility" +model ManagedDiskParameters extends SubResource { + @doc("Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk.") + storageAccountType?: StorageAccountTypes; + + @doc("Specifies the customer managed disk encryption set resource id for the managed disk.") + diskEncryptionSet?: DiskEncryptionSetParameters; + + @doc("Specifies the security profile for the managed disk.") + securityProfile?: VMDiskSecurityProfile; +} + +/** + * Describes the parameter of customer managed disk encryption set resource id that can be specified for disk. **Note:** The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details. + */ +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility" +#suppress "@azure-tools/typespec-azure-resource-manager/no-empty-model" "Maintaining existing struct in compute model" +model DiskEncryptionSetParameters extends SubResource {} + +/** + * Specifies the security profile settings for the managed disk. **Note:** It can only be set for Confidential VMs. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "VM is an abbreviation for Virtual Machine" +model VMDiskSecurityProfile { + @doc("Specifies the EncryptionType of the managed disk. It is set to DiskWithVMGuestState for encryption of the managed disk along with VMGuestState blob, VMGuestStateOnly for encryption of just the VMGuestState blob, and NonPersistedTPM for not persisting firmware state in the VMGuestState blob.. **Note:** It can be set for only Confidential VMs.") + securityEncryptionType?: SecurityEncryptionTypes; + + @doc("Specifies the customer managed disk encryption set resource id for the managed disk that is used for Customer Managed Key encrypted ConfidentialVM OS Disk and VMGuest blob.") + diskEncryptionSet?: DiskEncryptionSetParameters; +} + +/** + * Specifies the EncryptionType of the managed disk. It is set to DiskWithVMGuestState for encryption of the managed disk along with VMGuestState blob, VMGuestStateOnly for encryption of just the VMGuestState blob, and NonPersistedTPM for not persisting firmware state in the VMGuestState blob.. **Note:** It can be set for only Confidential VMs. + */ +union SecurityEncryptionTypes { + string, + + @doc("VMGuestStateOnly encryption") + VMGuestStateOnly: "VMGuestStateOnly", + + @doc("DiskWithVMGuestState encryption") + DiskWithVMGuestState: "DiskWithVMGuestState", + + @doc("NonPersistedTPM encryption") + NonPersistedTPM: "NonPersistedTPM", +} + +@doc("Describes a data disk.") +model DataDisk { + @doc("Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.") + lun: int32; + + @doc("The disk name.") + name?: string; + + @doc("The virtual hard disk.") + vhd?: VirtualHardDisk; + + @doc("The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist.") + image?: VirtualHardDisk; + + @doc("Specifies the caching requirements. Possible values are: None, ReadOnly, ReadWrite. The defaulting behavior is: None for Standard storage. ReadOnly for Premium storage.") + caching?: CachingTypes; + + @doc("Specifies whether writeAccelerator should be enabled or disabled on the disk.") + writeAcceleratorEnabled?: boolean; + + @doc("Specifies how the virtual machine disk should be created. Possible values are Attach, FromImage, Empty, Copy, Restore.") + createOption: DiskCreateOptionTypes; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "GB is an abbreviation for Gigabyte" + @doc("Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property 'diskSizeGB' is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023.") + diskSizeGB?: int32; + + @doc("The managed disk parameters.") + managedDisk?: ManagedDiskParameters; + + @doc("The source resource identifier. It can be a snapshot, or disk restore point from which to create a disk.") + sourceResource?: ApiEntityReference; + + @doc("Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset.") + toBeDetached?: boolean; + + @doc("Specifies the detach behavior to be used while detaching a disk or which is already in the process of detachment from the virtual machine. Supported values: ForceDetach. This feature is still in preview. To force-detach a data disk update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'.") + detachOption?: DiskDetachOptionTypes; + + @doc("Specifies whether data disk should be deleted or detached upon VM deletion. Possible values are: Delete, Detach. The default value is set to Detach.") + deleteOption?: DiskDeleteOptionTypes; +} + +/** + * The API entity reference. + */ +model ApiEntityReference { + @doc("The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/...") + id?: string; +} + +@doc("Specifies the detach behavior to be used while detaching a disk or which is already in the process of detachment from the virtual machine. Supported values are: **ForceDetach.** detachOption: **ForceDetach** is applicable only for managed data disks. If a previous detachment attempt of the data disk did not complete due to an unexpected failure from the virtual machine and the disk is still not released then use force-detach as a last resort option to detach the disk forcibly from the VM. All writes might not have been flushed when using this detach behavior. **This feature is still in preview**. To force-detach a data disk update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'.") +union DiskDetachOptionTypes { + string, + + @doc("ForceDetach the disk") + ForceDetach: "ForceDetach", +} + +/** + * Specifies the disk controller type configured for the VM and VirtualMachineScaleSet. This property is only supported for virtual machines whose operating system disk and VM sku supports Generation 2 (https://docs.microsoft.com/en-us/azure/virtual-machines/generation-2), please check the HyperVGenerations capability returned as part of VM sku capabilities in the response of Microsoft.Compute SKUs api for the region contains V2 (https://docs.microsoft.com/rest/api/compute/resourceskus/list). For more information about Disk Controller Types supported please refer to https://aka.ms/azure-diskcontrollertypes. + */ +union DiskControllerTypes { + string, + + @doc("SCSI disk controller type") + SCSI: "SCSI", + + @doc("NVMe disk controller type") + NVMe: "NVMe", +} + +/** + * Enables or disables a capability on the virtual machine or virtual machine scale set. + */ +model AdditionalCapabilities { + #suppress "@azure-tools/typespec-azure-core/casing-style" "SSD is an abbreviation for Solid State Drive" + @doc("The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled.") + ultraSSDEnabled?: boolean; + + @doc("The flag that enables or disables hibernation capability on the VM.") + hibernationEnabled?: boolean; +} + +@doc("Specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned.") +model OSProfile { + /** + * Specifies the host OS name of the virtual machine. This name cannot be updated after the VM is created. **Max-length (Windows):** 15 characters. **Max-length (Linux):** 64 characters. For naming conventions and restrictions see [Azure infrastructure services implementation guidelines](https://docs.microsoft.com/azure/azure-resource-manager/management/resource-name-rules). + */ + computerName?: string; + + /** + * Specifies the name of the administrator account.

This property cannot be updated after the VM is created.

**Windows-only restriction:** Cannot end in "."

**Disallowed values:** "administrator", "admin", "user", "user1", "test", "user2", "test1", "user3", "admin1", "1", "123", "a", "actuser", "adm", "admin2", "aspnet", "backup", "console", "david", "guest", "john", "owner", "root", "server", "sql", "support", "support_388945a0", "sys", "test2", "test3", "user4", "user5".

**Minimum-length (Linux):** 1 character

**Max-length (Linux):** 64 characters

**Max-length (Windows):** 20 characters. + */ + adminUsername?: string; + + @doc("Specifies the password of the administrator account.

**Minimum-length (Windows):** 8 characters

**Minimum-length (Linux):** 6 characters

**Max-length (Windows):** 123 characters

**Max-length (Linux):** 72 characters

**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])

**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"

For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)

For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)") + @secret + adminPassword?: string; + + /** + * Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. **Note: Do not pass any secrets or passwords in customData property.** This property cannot be updated after the VM is created. The property 'customData' is passed to the VM to be saved as a file, for more information see [Custom Data on Azure VMs](https://azure.microsoft.com/blog/custom-data-and-cloud-init-on-windows-azure/). For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init). + */ + customData?: string; + + /** + * Specifies Windows operating system settings on the virtual machine. + */ + windowsConfiguration?: WindowsConfiguration; + + /** + * Specifies the Linux operating system settings on the virtual machine. For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros). + */ + linuxConfiguration?: LinuxConfiguration; + + /** + * Specifies set of certificates that should be installed onto the virtual machine. To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows). + */ + @identifiers(#["sourceVault/id"]) + secrets?: VaultSecretGroup[]; + + /** + * Specifies whether extension operations should be allowed on the virtual machine. This may only be set to False when no extensions are present on the virtual machine. + */ + allowExtensionOperations?: boolean; + + /** + * Optional property which must either be set to True or omitted. + */ + requireGuestProvisionSignal?: boolean; +} + +/** + * Specifies Windows operating system settings on the virtual machine. + */ +model WindowsConfiguration { + /** + * Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, it is set to true by default. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "VM is an abbreviation for Virtual Machine" + provisionVMAgent?: boolean; + + /** + * Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true. For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning. + */ + enableAutomaticUpdates?: boolean; + + /** + * Specifies the time zone of the virtual machine. e.g. "Pacific Standard Time". Possible values can be [TimeZoneInfo.Id](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.id?#System_TimeZoneInfo_Id) value from time zones returned by [TimeZoneInfo.GetSystemTimeZones](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.getsystemtimezones). + */ + timeZone?: string; + + /** + * Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. + */ + @identifiers(#[]) + additionalUnattendContent?: AdditionalUnattendContent[]; + + /** + * [Preview Feature] Specifies settings related to VM Guest Patching on Windows. + */ + patchSettings?: PatchSettings; + + /** + * Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "RM is an abbreviation for Remote Management" + winRM?: WinRMConfiguration; +} + +/** + * Specifies additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied. + */ +model AdditionalUnattendContent { + /** + * The pass name. Currently, the only allowable value is OobeSystem. + */ + passName?: "OobeSystem"; + + /** + * The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup. + */ + componentName?: "Microsoft-Windows-Shell-Setup"; + + /** + * Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon. + */ + settingName?: SettingNames; + + /** + * Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted. + */ + content?: string; +} + +/** + * Specifies settings related to VM Guest Patching on Windows. + */ +model PatchSettings { + /** + * Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.

Possible values are:

**Manual** - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false

**AutomaticByOS** - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true.

**AutomaticByPlatform** - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true + */ + patchMode?: WindowsVMGuestPatchMode; + + /** + * Enables customers to patch their Azure VMs without requiring a reboot. For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must be set to 'AutomaticByPlatform'. + */ + enableHotpatching?: boolean; + + /** + * Specifies the mode of VM Guest patch assessment for the IaaS virtual machine.

Possible values are:

**ImageDefault** - You control the timing of patch assessments on a virtual machine.

**AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true. + */ + assessmentMode?: WindowsPatchAssessmentMode; + + /** + * Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Windows. + */ + automaticByPlatformSettings?: WindowsVMGuestPatchAutomaticByPlatformSettings; +} + +/** + * Specifies additional settings to be applied when patch mode AutomaticByPlatform is selected in Windows patch settings. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "VM is an abbreviation for Virtual Machine" +model WindowsVMGuestPatchAutomaticByPlatformSettings { + /** + * Specifies the reboot setting for all AutomaticByPlatform patch installation operations. + */ + rebootSetting?: WindowsVMGuestPatchAutomaticByPlatformRebootSetting; + + /** + * Enables customer to schedule patching without accidental upgrades + */ + bypassPlatformSafetyChecksOnUserSchedule?: boolean; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "RM is an abbreviation for Remote Management" +@doc("Describes Windows Remote Management configuration of the VM") +model WinRMConfiguration { + /** + * The list of Windows Remote Management listeners + */ + @identifiers(#[]) + listeners?: WinRMListener[]; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "RM is an abbreviation for Remote Management" +@doc("Describes Protocol and thumbprint of Windows Remote Management listener") +model WinRMListener { + /** + * Specifies the protocol of WinRM listener. Possible values are: **http,** **https.** + */ + protocol?: ProtocolTypes; + + /** + * This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be the Base64 encoding of the following JSON Object which is encoded in UTF-8:

{
"data":"",
"dataType":"pfx",
"password":""
}
To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows). + */ + certificateUrl?: string; +} + +@doc("Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.") +union SettingNames { + string, + + @doc("AutoLogon mode") + AutoLogon: "AutoLogon", + + @doc("FirstLogonCommands mode") + FirstLogonCommands: "FirstLogonCommands", +} + +/** + * Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.

Possible values are:

**Manual** - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false

**AutomaticByOS** - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true.

**AutomaticByPlatform** - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true + */ +union WindowsVMGuestPatchMode { + string, + + @doc("Manual VM guest patch mode") + Manual: "Manual", + + @doc("AutomaticByOS VM guest patch mode") + AutomaticByOS: "AutomaticByOS", + + @doc("AutomaticByPlatform VM guest patch mode") + AutomaticByPlatform: "AutomaticByPlatform", +} + +/** + * Specifies the mode of VM Guest patch assessment for the IaaS virtual machine.

Possible values are:

**ImageDefault** - You control the timing of patch assessments on a virtual machine.

**AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true. + */ +union WindowsPatchAssessmentMode { + string, + + @doc("ImageDefault patch assessment mode") + ImageDefault: "ImageDefault", + + @doc("AutomaticByPlatform patch assessment mode") + AutomaticByPlatform: "AutomaticByPlatform", +} + +/** + * Specifies the reboot setting for all AutomaticByPlatform patch installation operations. + */ +union WindowsVMGuestPatchAutomaticByPlatformRebootSetting { + string, + + @doc("Reboot setting for Unknown") + Unknown: "Unknown", + + @doc("Reboot setting for IfRequired") + IfRequired: "IfRequired", + + @doc("Reboot setting for Never") + Never: "Never", + + @doc("Reboot setting for Always") + Always: "Always", +} + +/** + * Specifies the protocol of WinRM listener. Possible values are: **http,** **https.** + */ +union ProtocolTypes { + string, + + @doc("Http protocol") + Http: "Http", + + @doc("Https protocol") + Https: "Https", +} + +/** + * Specifies the Linux operating system settings on the virtual machine. For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros). + */ +model LinuxConfiguration { + /** + * Specifies whether password authentication should be disabled. + */ + disablePasswordAuthentication?: boolean; + + /** + * Specifies the ssh key configuration for a Linux OS. + */ + ssh?: SshConfiguration; + + /** + * Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "VM is an abbreviation for Virtual Machine" + provisionVMAgent?: boolean; + + /** + * [Preview Feature] Specifies settings related to VM Guest Patching on Linux. + */ + patchSettings?: LinuxPatchSettings; + + /** + * Indicates whether VMAgent Platform Updates is enabled for the Linux virtual machine. Default value is false. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "VM is an abbreviation for Virtual Machine" + enableVMAgentPlatformUpdates?: boolean; +} + +@doc("SSH configuration for Linux based VMs running on Azure") +model SshConfiguration { + /** + * The list of SSH public keys used to authenticate with linux based VMs. + */ + @identifiers(#["path"]) + publicKeys?: SshPublicKey[]; +} + +@doc("Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed.") +model SshPublicKey { + /** + * Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys + */ + path?: string; + + /** + * SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed). + */ + keyData?: string; +} + +@doc("Specifies settings related to VM Guest Patching on Linux.") +model LinuxPatchSettings { + /** + * Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.

Possible values are:

**ImageDefault** - The virtual machine's default patching configuration is used.

**AutomaticByPlatform** - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true + */ + patchMode?: LinuxVMGuestPatchMode; + + /** + * Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine.

Possible values are:

**ImageDefault** - You control the timing of patch assessments on a virtual machine.

**AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true. + */ + assessmentMode?: LinuxPatchAssessmentMode; + + /** + * Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Linux. + */ + automaticByPlatformSettings?: LinuxVMGuestPatchAutomaticByPlatformSettings; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "VM is an abbreviation for Virtual Machine" +@doc("Specifies additional settings to be applied when patch mode AutomaticByPlatform is selected in Linux patch settings.") +model LinuxVMGuestPatchAutomaticByPlatformSettings { + /** + * Specifies the reboot setting for all AutomaticByPlatform patch installation operations. + */ + rebootSetting?: LinuxVMGuestPatchAutomaticByPlatformRebootSetting; + + /** + * Enables customer to schedule patching without accidental upgrades + */ + bypassPlatformSafetyChecksOnUserSchedule?: boolean; +} + +/** + * Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.

Possible values are:

**ImageDefault** - The virtual machine's default patching configuration is used.

**AutomaticByPlatform** - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true + */ +union LinuxVMGuestPatchMode { + string, + + @doc("ImageDefault linux VM guest patch mode") + ImageDefault: "ImageDefault", + + @doc("AutomaticByPlatform linux VM guest patch mode") + AutomaticByPlatform: "AutomaticByPlatform", +} + +/** + * Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine.

Possible values are:

**ImageDefault** - You control the timing of patch assessments on a virtual machine.

**AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true. + */ +union LinuxPatchAssessmentMode { + string, + + @doc("ImageDefault mode") + ImageDefault: "ImageDefault", + + @doc("AutomaticByPlatform mode") + AutomaticByPlatform: "AutomaticByPlatform", +} + +/** + * Specifies the reboot setting for all AutomaticByPlatform patch installation operations. + */ +union LinuxVMGuestPatchAutomaticByPlatformRebootSetting { + string, + + @doc("Unknown reboot setting") + Unknown: "Unknown", + + @doc("Reboot if required") + IfRequired: "IfRequired", + + @doc("Never reboot") + Never: "Never", + + @doc("Always reboot") + Always: "Always", +} + +@doc("Describes a set of certificates which are all in the same Key Vault.") +model VaultSecretGroup { + @doc("The relative URL of the Key Vault containing all of the certificates in VaultCertificates.") + sourceVault?: SubResource; + + @doc("The list of key vault references in SourceVault which contain certificates.") + @identifiers(#["certificateUrl"]) + vaultCertificates?: VaultCertificate[]; +} + +@doc("Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM.") +model VaultCertificate { + @doc("This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:

{
'data':'',
'dataType':'pfx',
'password':''
}
To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).") + certificateUrl?: string; + + @doc("For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account. For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name .crt for the X509 certificate file and .prv for private key. Both of these files are .pem formatted.") + certificateStore?: string; +} + +@doc("Specifies the network interfaces or the networking configuration of the virtual machine.") +model NetworkProfile { + @doc("Specifies the list of resource Ids for the network interfaces associated with the virtual machine.") + networkInterfaces?: NetworkInterfaceReference[]; + + @doc("specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations") + networkApiVersion?: NetworkApiVersion; + + @doc("Specifies the networking configurations that will be used to create the virtual machine networking resources.") + @identifiers(#["name"]) + networkInterfaceConfigurations?: VirtualMachineNetworkInterfaceConfiguration[]; +} + +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility" +@doc("Describes a network interface reference.") +model NetworkInterfaceReference extends SubResource { + @doc("Describes a network interface reference properties.") + properties?: NetworkInterfaceReferenceProperties; +} + +@doc("Describes a network interface reference properties.") +model NetworkInterfaceReferenceProperties { + @doc("Specifies the primary network interface in case the virtual machine has more than 1 network interface.") + primary?: boolean; + + @doc("Specify what happens to the network interface when the VM is deleted") + deleteOption?: DeleteOptions; +} + +@doc("Describes a virtual machine network interface configurations.") +model VirtualMachineNetworkInterfaceConfiguration { + @doc("The network interface configuration name.") + name: string; + + @doc("Describes a virtual machine network profile's IP configuration.") + properties?: VirtualMachineNetworkInterfaceConfigurationProperties; + + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "This field is using the existing compute context for tags where this field is a free-form JSON object." + @doc("Resource tags applied to the networkInterface address created by this NetworkInterfaceConfiguration") + tags?: Record; +} + +@doc("Describes a virtual machine network profile's IP configuration.") +model VirtualMachineNetworkInterfaceConfigurationProperties { + @doc("Specifies the primary network interface in case the virtual machine has more than 1 network interface.") + primary?: boolean; + + @doc("Specify what happens to the network interface when the VM is deleted") + deleteOption?: DeleteOptions; + + @doc("Specifies whether the network interface is accelerated networking-enabled.") + enableAcceleratedNetworking?: boolean; + + @doc("Specifies whether the network interface is disabled for tcp state tracking.") + disableTcpStateTracking?: boolean; + + @doc("Specifies whether the network interface is FPGA networking-enabled.") + enableFpga?: boolean; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "IP is an abbreviation for Internet Protocol" + @doc("Whether IP forwarding enabled on this NIC.") + enableIPForwarding?: boolean; + + @doc("The network security group.") + networkSecurityGroup?: SubResource; + + @doc("The dns settings to be applied on the network interfaces.") + dnsSettings?: VirtualMachineNetworkInterfaceDnsSettingsConfiguration; + + @doc("Specifies the IP configurations of the network interface.") + @identifiers(#["name"]) + ipConfigurations: VirtualMachineNetworkInterfaceIPConfiguration[]; + + @doc("The DSCP configuration for the network interface.") + dscpConfiguration?: SubResource; + + @doc("Specifies whether the Auxiliary mode is enabled for the Network Interface resource.") + auxiliaryMode?: NetworkInterfaceAuxiliaryMode; + + @doc("Specifies whether the Auxiliary sku is enabled for the Network Interface resource.") + auxiliarySku?: NetworkInterfaceAuxiliarySku; +} + +@doc("Describes a virtual machines network configuration's DNS settings.") +model VirtualMachineNetworkInterfaceDnsSettingsConfiguration { + @doc("List of DNS servers IP addresses") + dnsServers?: string[]; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "IP is an abbreviation for Internet Protocol" +@doc("Describes a virtual machine network profile's IP configuration.") +model VirtualMachineNetworkInterfaceIPConfiguration { + @doc("The IP configuration name.") + name: string; + + @doc("Describes a virtual machine network interface IP configuration properties.") + properties?: VirtualMachineNetworkInterfaceIPConfigurationProperties; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "IP is an abbreviation for Internet Protocol" +@doc("Describes a virtual machine network interface IP configuration properties.") +model VirtualMachineNetworkInterfaceIPConfigurationProperties { + @doc("Specifies the identifier of the subnet.") + subnet?: SubResource; + + @doc("Specifies the primary network interface in case the virtual machine has more than 1 network interface.") + primary?: boolean; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "IP is an abbreviation for Internet Protocol" + @doc("The publicIPAddressConfiguration.") + publicIPAddressConfiguration?: VirtualMachinePublicIPAddressConfiguration; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "IP is an abbreviation for Internet Protocol" + @doc("Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.") + privateIPAddressVersion?: IPVersions; + + @doc("Specifies an array of references to application security group.") + applicationSecurityGroups?: SubResource[]; + + @doc("Specifies an array of references to backend address pools of application gateways. A virtual machine can reference backend address pools of multiple application gateways. Multiple virtual machines cannot use the same application gateway.") + applicationGatewayBackendAddressPools?: SubResource[]; + + @doc("Specifies an array of references to backend address pools of load balancers. A virtual machine can reference backend address pools of one public and one internal load balancer. [Multiple virtual machines cannot use the same basic sku load balancer].") + loadBalancerBackendAddressPools?: SubResource[]; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "IP is an abbreviation for Internet Protocol" +@doc("Describes a virtual machines IP Configuration's PublicIPAddress configuration") +model VirtualMachinePublicIPAddressConfiguration { + @doc("The publicIP address configuration name.") + name: string; + + @doc("Describes a virtual machines IP Configuration's PublicIPAddress configuration") + properties?: VirtualMachinePublicIPAddressConfigurationProperties; + + @doc("Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible.") + sku?: PublicIPAddressSku; + + #suppress "@azure-tools/typespec-azure-resource-manager/arm-no-record" "This field is using the existing compute context for tags where this field is a free-form JSON object." + @doc("Resource tags applied to the publicIP address created by this PublicIPAddressConfiguration") + tags?: Record; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "IP is an abbreviation for Internet Protocol" +@doc("Describes a virtual machines IP Configuration's PublicIPAddress configuration") +model VirtualMachinePublicIPAddressConfigurationProperties { + @doc("The idle timeout of the public IP address.") + idleTimeoutInMinutes?: int32; + + @doc("Specify what happens to the public IP address when the VM is deleted") + deleteOption?: DeleteOptions; + + @doc("The dns settings to be applied on the publicIP addresses .") + dnsSettings?: VirtualMachinePublicIPAddressDnsSettingsConfiguration; + + @doc("The list of IP tags associated with the public IP address.") + @identifiers(#[]) + ipTags?: VirtualMachineIpTag[]; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "IP is an abbreviation for Internet Protocol" + @doc("The PublicIPPrefix from which to allocate publicIP addresses.") + publicIPPrefix?: SubResource; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "IP is an abbreviation for Internet Protocol" + @doc("Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.") + publicIPAddressVersion?: IPVersions; + + #suppress "@azure-tools/typespec-azure-core/casing-style" "IP is an abbreviation for Internet Protocol" + @doc("Specify the public IP allocation type") + publicIPAllocationMethod?: PublicIPAllocationMethod; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "IP is an abbreviation for Internet Protocol" +@doc("Describes a virtual machines network configuration's DNS settings.") +model VirtualMachinePublicIPAddressDnsSettingsConfiguration { + @doc("The Domain name label prefix of the PublicIPAddress resources that will be created. The generated name label is the concatenation of the domain name label and vm network profile unique ID.") + domainNameLabel: string; + + @doc("The Domain name label scope of the PublicIPAddress resources that will be created. The generated name label is the concatenation of the hashed domain name label with policy according to the domain name label scope and vm network profile unique ID.") + domainNameLabelScope?: DomainNameLabelScopeTypes; +} + +@doc("Contains the IP tag associated with the public IP address.") +model VirtualMachineIpTag { + @doc("IP tag type. Example: FirstPartyUsage.") + ipTagType?: string; + + @doc("IP tag associated with the public IP. Example: SQL, Storage etc.") + tag?: string; +} + +@doc("Specify what happens to the network interface when the VM is deleted") +union DeleteOptions { + string, + + @doc("Delete network interface when the VM is deleted") + Delete: "Delete", + + @doc("Detach network interface when the VM is deleted") + Detach: "Detach", +} + +@doc("The Domain name label scope.The concatenation of the hashed domain name label that generated according to the policy from domain name label scope and vm index will be the domain name labels of the PublicIPAddress resources that will be created") +union DomainNameLabelScopeTypes { + string, + + @doc("TenantReuse scope type") + TenantReuse: "TenantReuse", + + @doc("SubscriptionReuse scope type") + SubscriptionReuse: "SubscriptionReuse", + + @doc("ResourceGroupReuse scope type") + ResourceGroupReuse: "ResourceGroupReuse", + + @doc("NoReuse scope type") + NoReuse: "NoReuse", +} + +@doc("Available from compute Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.") +union IPVersions { + string, + + @doc("IPv4 version") + IPv4: "IPv4", + + @doc("IPv6 version") + IPv6: "IPv6", +} + +@doc("Specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations") +union NetworkApiVersion { + string, + + @doc("2020-11-01 version") + `2020-11-01`: "2020-11-01", + + @doc("2022-11-01 version") + `2022-11-01`: "2022-11-01", +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "IP is an abbreviation for Internet Protocol" +@doc("Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible.") +model PublicIPAddressSku { + @doc("Specify public IP sku name") + name?: PublicIPAddressSkuName; + + @doc("Specify public IP sku tier") + tier?: PublicIPAddressSkuTier; +} + +@doc("Specify public IP sku name") +union PublicIPAddressSkuName { + string, + + @doc("Basic IP sku name") + Basic: "Basic", + + @doc("Standard IP sku name") + Standard: "Standard", +} + +@doc("Specify public IP sku tier") +union PublicIPAddressSkuTier { + string, + + @doc("Regional IP address sku tier") + Regional: "Regional", + + @doc("Global IP address sku tier") + Global: "Global", +} + +@doc("Specify the public IP allocation type") +union PublicIPAllocationMethod { + string, + + @doc("Dynamic IP allocation") + Dynamic: "Dynamic", + + @doc("Static IP allocation") + Static: "Static", +} + +/** + * Specifies whether the Auxiliary mode is enabled for the Network Interface resource. + */ +union NetworkInterfaceAuxiliaryMode { + string, + + @doc("None mode") + None: "None", + + @doc("AcceleratedConnections mode") + AcceleratedConnections: "AcceleratedConnections", + + @doc("Floating mode") + Floating: "Floating", +} + +/** + * Specifies whether the Auxiliary sku is enabled for the Network Interface resource. + */ +union NetworkInterfaceAuxiliarySku { + string, + + @doc("None: None sku") + None: "None", + + @doc("A1 sku") + A1: "A1", + + @doc("A2 sku") + A2: "A2", + + @doc("A4 sku") + A4: "A4", + + @doc("A8 sku") + A8: "A8", +} + +/** + * Contains the list of gallery applications that should be made available to the VM + */ +model ApplicationProfile { + @doc("Specifies the gallery applications that should be made available to the VM") + @identifiers(#["packageReferenceId"]) + galleryApplications?: VMGalleryApplication[]; +} + +/** + * Specifies the required information to reference a compute gallery application version + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "VM is an abbreviation for virtual machine" +model VMGalleryApplication { + @doc("Optional, Specifies a passthrough value for more generic context.") + tags?: string; + + @doc("Optional, Specifies the order in which the packages have to be installed") + order?: int32; + + @doc("Specifies the GalleryApplicationVersion resource id on the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version}") + packageReferenceId: string; + + @doc("Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided") + configurationReference?: string; + + @doc("Optional, If true, any failure for any operation in the VmApplication will fail the deployment") + treatFailureAsDeploymentFailure?: boolean; + + @doc("If set to true, when a new Gallery Application version is available in PIR/SIG, it will be automatically updated for the VM/VMSS") + enableAutomaticUpgrade?: boolean; +} + +/** + * The parameters of a capacity reservation Profile. + */ +model CapacityReservationProfile { + @doc("Specifies the capacity reservation group resource id that should be used for allocating the virtual machine provided enough capacity has been reserved. Please refer to https://aka.ms/CapacityReservation for more details.") + capacityReservationGroup?: SubResource; +} + +@doc("Profile for the scheduled events.") +model ScheduledEventsProfile { + @doc("Specifies Terminate Scheduled Event related configurations.") + terminateNotificationProfile?: TerminateNotificationProfile; + + @doc("Specifies OS Image Scheduled Event related configurations.") + osImageNotificationProfile?: OSImageNotificationProfile; +} + +@doc("Profile properties for the Terminate Scheduled event.") +model TerminateNotificationProfile { + @doc("Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M)") + notBeforeTimeout?: string; + + @doc("Specifies whether the Terminate Scheduled event is enabled or disabled.") + enable?: boolean; +} + +#suppress "@azure-tools/typespec-azure-core/casing-style" "OS is an abbreviation for operating system" +@doc("Profile for the OS Image Scheduled event.") +model OSImageNotificationProfile { + @doc("Length of time a Virtual Machine being reimaged or having its OS upgraded will have to potentially approve the OS Image Scheduled Event before the event is auto approved (timed out). The configuration is specified in ISO 8601 format, and the value must be 15 minutes (PT15M)") + notBeforeTimeout?: string; + + @doc("Specifies whether the OS Image Scheduled event is enabled or disabled.") + enable?: boolean; +} + +/** + * Specifies the boot diagnostic settings state. Minimum compute api-version: 2015-06-15. + */ +model DiagnosticsProfile { + @doc("Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. **NOTE**: If storageUri is being specified then ensure that the storage account is in the same region and subscription as the VM. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor.") + bootDiagnostics?: BootDiagnostics; +} + +/** + * Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor. + */ +model BootDiagnostics { + @doc("Whether boot diagnostics should be enabled on the Virtual Machine.") + enabled?: boolean; + + @doc("Uri of the storage account to use for placing the console output and screenshot. If storageUri is not specified while enabling boot diagnostics, managed storage will be used.") + storageUri?: string; +} + +/** + * Specifies the Security profile settings for the virtual machine or virtual machine scale set. + */ +model SecurityProfile { + @doc("Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum compute api-version: 2020-12-01.") + uefiSettings?: UefiSettings; + + @doc("This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself. The default behavior is: The Encryption at host will be disabled unless this property is set to true for the resource.") + encryptionAtHost?: boolean; + + @doc("Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings. The default behavior is: UefiSettings will not be enabled unless this property is set.") + securityType?: SecurityTypes; + + @doc("Specifies the Managed Identity used by ADE to get access token for keyvault operations.") + encryptionIdentity?: EncryptionIdentity; + + @doc("Specifies ProxyAgent settings while creating the virtual machine. Minimum compute api-version: 2023-09-01.") + proxyAgentSettings?: ProxyAgentSettings; +} + +/** + * Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01. + */ +model UefiSettings { + @doc("Specifies whether secure boot should be enabled on the virtual machine. Minimum compute api-version: 2020-12-01.") + secureBootEnabled?: boolean; + + @doc("Specifies whether vTPM should be enabled on the virtual machine. Minimum compute api-version: 2020-12-01.") + vTpmEnabled?: boolean; +} + +/** + * Specifies the Managed Identity used by ADE to get access token for keyvault operations. + */ +model EncryptionIdentity { + @doc("Specifies ARM Resource ID of one of the user identities associated with the VM.") + userAssignedIdentityResourceId?: string; +} + +/** + * Specifies ProxyAgent settings for the virtual machine or virtual machine scale set. Minimum api-version: 2023-09-01. + */ +model ProxyAgentSettings { + @doc("Specifies whether ProxyAgent feature should be enabled on the virtual machine or virtual machine scale set.") + enabled?: boolean; + + @doc("Specifies the mode that ProxyAgent will execute on. Warning: this property has been deprecated, please specify 'mode' under particular hostendpoint setting.") + mode?: Mode; + + @doc("Increase the value of this property allows users to reset the key used for securing communication channel between guest and host.") + keyIncarnationId?: int32; + + @doc("Specifies the Wire Server endpoint settings while creating the virtual machine or virtual machine scale set. Minimum api-version: 2024-03-01.") + wireServer?: HostEndpointSettings; + + @doc("Specifies the IMDS endpoint settings while creating the virtual machine or virtual machine scale set. Minimum api-version: 2024-03-01.") + imds?: HostEndpointSettings; + + @doc("Specify whether to implicitly install the ProxyAgent Extension. This option is currently applicable only for Linux Os.") + addProxyAgentExtension?: boolean; +} + +/** + * Specifies particular host endpoint settings. + */ +#suppress "@azure-tools/typespec-azure-core/casing-style" "VM is an abbreviation for virtual machine" +model HostEndpointSettings { + @doc("Specifies the execution mode. In Audit mode, the system acts as if it is enforcing the access control policy, including emitting access denial entries in the logs but it does not actually deny any requests to host endpoints. In Enforce mode, the system will enforce the access control and it is the recommended mode of operation.") + mode?: Modes; + + @doc("Specifies the InVMAccessControlProfileVersion resource id in the format of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/inVMAccessControlProfiles/{profile}/versions/{version}") + inVMAccessControlProfileReferenceId?: string; +} + +/** + * Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings. The default behavior is: UefiSettings will not be enabled unless this property is set. + */ +union SecurityTypes { + string, + + @doc("TrustedLaunch security type") + TrustedLaunch: "TrustedLaunch", + + @doc("ConfidentialVM security type") + ConfidentialVM: "ConfidentialVM", +} + +/** + * Specifies the mode that ProxyAgent will execute on if the feature is enabled. ProxyAgent will start to audit or monitor but not enforce access control over requests to host endpoints in Audit mode, while in Enforce mode it will enforce access control. The default value is Enforce mode. + */ +union Mode { + string, + + @doc("Audit mode") + Audit: "Audit", + + @doc("Enforce mode") + Enforce: "Enforce", +} + +/** + * Specifies the execution mode. In Audit mode, the system acts as if it is enforcing the access control policy, including emitting access denial entries in the logs but it does not actually deny any requests to host endpoints. In Enforce mode, the system will enforce the access control and it is the recommended mode of operation. + */ +union Modes { + string, + + @doc("Audit mode") + Audit: "Audit", + + @doc("Enforce mode") + Enforce: "Enforce", + + @doc("Disabled mode") + Disabled: "Disabled", +} diff --git a/specification/computebulkactions/ComputeBulkActions.Management/virtualMachines.tsp b/specification/computebulkactions/ComputeBulkActions.Management/virtualMachines.tsp new file mode 100644 index 000000000000..97107fd5d517 --- /dev/null +++ b/specification/computebulkactions/ComputeBulkActions.Management/virtualMachines.tsp @@ -0,0 +1,73 @@ +import "@typespec/http"; +import "@typespec/rest"; +import "@typespec/versioning"; +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "./common.tsp"; + +using TypeSpec.Rest; +using Azure.Core; + +namespace Microsoft.ComputeBulkActions; + +@doc("An instant Fleet's virtual machine.") +model VirtualMachine { + @doc("The name of the virtual machine.") + @key("virtualMachineName") + @segment("virtualMachines") + @visibility(Lifecycle.Read) + name: string; + + @doc("The compute RP resource id of the virtual machine. subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.Compute/virtualMachines/{vmName}") + @visibility(Lifecycle.Read) + id: armResourceIdentifier; + + @doc("Type of the virtual machine") + @visibility(Lifecycle.Read) + type?: string; + + @doc("This represents the operationStatus of the virtual machine in response to the last operation that was performed on it by Azure Fleet resource.") + @visibility(Lifecycle.Read) + operationStatus: VMOperationStatus; + + @doc("Error information when `operationStatus` is `Failed`.") + @visibility(Lifecycle.Read) + error?: ApiError; +} + +@doc("Virtual Machine operation status values.") +union VMOperationStatus { + string, + + @doc("Indicates that the virtual machine is either in the process of being created or is scheduled to be created.") + Creating: "Creating", + + @doc("Indicates that the cancellation request was successful because the virtual machine had not been created yet.") + Canceled: "Canceled", + + @doc("Indicates that the cancellation request could not be applied because the virtual machine had already been created.") + CancelFailedStatusUnknown: "CancelFailedStatusUnknown", + + @doc("Indicates that the virtual machine operation failed.") + Failed: "Failed", + + @doc("Indicates that the virtual machine operation completed successfully.") + Succeeded: "Succeeded", + + @doc("Indicates that the virtual machine is being deleted.") + Deleting: "Deleting", + + @doc("Indicates that the virtual machine operation is being cancelled.") + Cancelling: "Cancelling", +} + +@doc("The response of a virtual machine list operation.") +model VirtualMachineListResult { + @doc("The Virtual Machine items on this page.") + @pageItems + value: Array; + + @doc("The link to the next page of items.") + @nextLink + nextLink?: url; +} diff --git a/specification/computebulkactions/cspell.yaml b/specification/computebulkactions/cspell.yaml new file mode 100644 index 000000000000..3587520ece4e --- /dev/null +++ b/specification/computebulkactions/cspell.yaml @@ -0,0 +1,31 @@ +# This file configures spell checking. Items in "words" were initially populated +# with words that might be spelling errors. Review these words and take +# appropriate action. For more information, see: https://aka.ms/ci-fix#spell-check + +# Spell checking is not case sensitive +# Keep word lists in alphabetical order so the file is easier to manage +version: '0.2' +import: + - ../../cspell.yaml +words: + - RDMA + - rdma + - SLES + - VHDs + - Nvme + - nvme + - iloveyou + - Unattend + - unattend + - waagent + - DSCP + - dscp + - ipconfiguration + - reimaged + - unattend + - uefi + - Uefi + - IMDS + - imds + - correlationid + - operationid diff --git a/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/computebulkactions.json b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/computebulkactions.json new file mode 100644 index 000000000000..97d0a55c3ea0 --- /dev/null +++ b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/computebulkactions.json @@ -0,0 +1,5373 @@ +{ + "swagger": "2.0", + "info": { + "title": "Microsoft.ComputeBulkActions", + "version": "2026-02-01-preview", + "description": "Microsoft.ComputeBulkActions Resource Provider management API.", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "host": "management.azure.com", + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "security": [ + { + "azure_auth": [ + "user_impersonation" + ] + } + ], + "securityDefinitions": { + "azure_auth": { + "type": "oauth2", + "description": "Azure Active Directory OAuth2 Flow.", + "flow": "implicit", + "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", + "scopes": { + "user_impersonation": "impersonate your user account" + } + } + }, + "tags": [ + { + "name": "Operations" + }, + { + "name": "BulkActions" + } + ], + "paths": { + "/providers/Microsoft.ComputeBulkActions/operations": { + "get": { + "operationId": "Operations_List", + "tags": [ + "Operations" + ], + "description": "List the operations for the provider", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/OperationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Operations_List - generated by [MaximumSet] rule": { + "$ref": "./examples/Operations_List_MaximumSet_Gen.json" + }, + "Operations_List - generated by [MinimumSet] rule": { + "$ref": "./examples/Operations_List_MinimumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ComputeBulkActions/locations/{location}/launchBulkInstancesOperations": { + "get": { + "operationId": "BulkActions_ListBySubscription", + "tags": [ + "BulkActions" + ], + "description": "List LaunchBulkInstancesOperation resources by subscriptionId.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "location", + "in": "path", + "description": "The location name.", + "required": true, + "type": "string", + "minLength": 1 + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/LaunchBulkInstancesOperationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BulkActions_ListBySubscription - generated by [MaximumSet] rule": { + "$ref": "./examples/BulkActions_ListBySubscription_MaximumSet_Gen.json" + }, + "BulkActions_ListBySubscription - generated by [MinimumSet] rule": { + "$ref": "./examples/BulkActions_ListBySubscription_MinimumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ComputeBulkActions/locations/{location}/operations/{id}": { + "get": { + "operationId": "BulkActions_GetOperationStatus", + "tags": [ + "BulkActions" + ], + "description": "Get the status of a LaunchBulkInstancesOperation.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "location", + "in": "path", + "description": "The location name.", + "required": true, + "type": "string", + "minLength": 1 + }, + { + "name": "id", + "in": "path", + "description": "The async operation id.", + "required": true, + "type": "string", + "minLength": 1, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/OperationStatusResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BulkActions_GetOperationStatus - generated by [MaximumSet] rule": { + "$ref": "./examples/BulkActions_GetOperationStatus_MaximumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ComputeBulkActions/locations/{location}/virtualMachinesCancelOperations": { + "post": { + "operationId": "BulkActions_VirtualMachinesCancelOperations", + "tags": [ + "BulkActions" + ], + "description": "VirtualMachinesCancelOperations: Cancel a previously submitted (start/deallocate/hibernate) request", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "location", + "in": "path", + "description": "The location name.", + "required": true, + "type": "string", + "minLength": 1 + }, + { + "name": "requestBody", + "in": "body", + "description": "The request body", + "required": true, + "schema": { + "$ref": "#/definitions/CancelOperationsRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CancelOperationsResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BulkActions_VirtualMachinesCancelOperations_MaximumSet_Gen - generated by [MaximumSet] rule": { + "$ref": "./examples/BulkActions_VirtualMachinesCancelOperations_MaximumSet_Gen.json" + }, + "BulkActions_VirtualMachinesCancelOperations_MaximumSet_Gen - generated by [MaximumSet] rule - generated by [MinimumSet] rule": { + "$ref": "./examples/BulkActions_VirtualMachinesCancelOperations_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ComputeBulkActions/locations/{location}/virtualMachinesExecuteCreate": { + "post": { + "operationId": "BulkActions_VirtualMachinesExecuteCreate", + "tags": [ + "BulkActions" + ], + "description": "VirtualMachinesExecuteCreate: Execute create operation for a batch of virtual machines, this operation is triggered as soon as Computeschedule receives it.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "location", + "in": "path", + "description": "The location name.", + "required": true, + "type": "string", + "minLength": 1 + }, + { + "name": "requestBody", + "in": "body", + "description": "The request body", + "required": true, + "schema": { + "$ref": "#/definitions/ExecuteCreateRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CreateResourceOperationResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BulkActions_VirtualMachinesExecuteCreate_MaximumSet_Gen - generated by [MaximumSet] rule": { + "$ref": "./examples/BulkActions_VirtualMachinesExecuteCreate_MaximumSet_Gen.json" + }, + "BulkActions_VirtualMachinesExecuteCreate_MinimumSet_Gen - generated by [MinimumSet] rule - generated by [MinimumSet] rule": { + "$ref": "./examples/BulkActions_VirtualMachinesExecuteCreate_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ComputeBulkActions/locations/{location}/virtualMachinesExecuteDeallocate": { + "post": { + "operationId": "BulkActions_VirtualMachinesExecuteDeallocate", + "tags": [ + "BulkActions" + ], + "description": "VirtualMachinesExecuteDeallocate: Execute deallocate operation for a batch of virtual machines, this operation is triggered as soon as Computeschedule receives it.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "location", + "in": "path", + "description": "The location name.", + "required": true, + "type": "string", + "minLength": 1 + }, + { + "name": "requestBody", + "in": "body", + "description": "The request body", + "required": true, + "schema": { + "$ref": "#/definitions/ExecuteDeallocateRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DeallocateResourceOperationResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BulkActions_VirtualMachinesExecuteDeallocate_MaximumSet_Gen - generated by [MaximumSet] rule": { + "$ref": "./examples/BulkActions_VirtualMachinesExecuteDeallocate_MaximumSet_Gen.json" + }, + "BulkActions_VirtualMachinesExecuteDeallocate_MinimumSet_Gen - generated by [MinimumSet] rule": { + "$ref": "./examples/BulkActions_VirtualMachinesExecuteDeallocate_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ComputeBulkActions/locations/{location}/virtualMachinesExecuteDelete": { + "post": { + "operationId": "BulkActions_VirtualMachinesExecuteDelete", + "tags": [ + "BulkActions" + ], + "description": "VirtualMachinesExecuteDelete: Execute delete operation for a batch of virtual machines, this operation is triggered as soon as Computeschedule receives it.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "location", + "in": "path", + "description": "The location name.", + "required": true, + "type": "string", + "minLength": 1 + }, + { + "name": "requestBody", + "in": "body", + "description": "The request body", + "required": true, + "schema": { + "$ref": "#/definitions/ExecuteDeleteRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DeleteResourceOperationResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BulkActions_VirtualMachinesExecuteDelete_MaximumSet_Gen - generated by [MaximumSet] rule": { + "$ref": "./examples/BulkActions_VirtualMachinesExecuteDelete_MaximumSet_Gen.json" + }, + "BulkActions_VirtualMachinesExecuteDelete_MinimumSet_Gen - generated by [MinimumSet] rule": { + "$ref": "./examples/BulkActions_VirtualMachinesExecuteDelete_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ComputeBulkActions/locations/{location}/virtualMachinesExecuteHibernate": { + "post": { + "operationId": "BulkActions_VirtualMachinesExecuteHibernate", + "tags": [ + "BulkActions" + ], + "description": "VirtualMachinesExecuteHibernate: Execute hibernate operation for a batch of virtual machines, this operation is triggered as soon as Computeschedule receives it.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "location", + "in": "path", + "description": "The location name.", + "required": true, + "type": "string", + "minLength": 1 + }, + { + "name": "requestBody", + "in": "body", + "description": "The request body", + "required": true, + "schema": { + "$ref": "#/definitions/ExecuteHibernateRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/HibernateResourceOperationResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BulkActions_VirtualMachinesExecuteHibernate_MaximumSet_Gen - generated by [MaximumSet] rule": { + "$ref": "./examples/BulkActions_VirtualMachinesExecuteHibernate_MaximumSet_Gen.json" + }, + "BulkActions_VirtualMachinesExecuteHibernate_MinimumSet_Gen - generated by [MinimumSet] rule": { + "$ref": "./examples/BulkActions_VirtualMachinesExecuteHibernate_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ComputeBulkActions/locations/{location}/virtualMachinesExecuteStart": { + "post": { + "operationId": "BulkActions_VirtualMachinesExecuteStart", + "tags": [ + "BulkActions" + ], + "description": "VirtualMachinesExecuteStart: Execute start operation for a batch of virtual machines, this operation is triggered as soon as Computeschedule receives it.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "location", + "in": "path", + "description": "The location name.", + "required": true, + "type": "string", + "minLength": 1 + }, + { + "name": "requestBody", + "in": "body", + "description": "The request body", + "required": true, + "schema": { + "$ref": "#/definitions/ExecuteStartRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StartResourceOperationResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BulkActions_VirtualMachinesExecuteStart_MaximumSet_Gen - generated by [MaximumSet] rule": { + "$ref": "./examples/BulkActions_VirtualMachinesExecuteStart_MaximumSet_Gen.json" + }, + "BulkActions_VirtualMachinesExecuteStart_MinimumSet_Gen - generated by [MinimumSet] rule": { + "$ref": "./examples/BulkActions_VirtualMachinesExecuteStart_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.ComputeBulkActions/locations/{location}/virtualMachinesGetOperationStatus": { + "post": { + "operationId": "BulkActions_VirtualMachinesGetOperationStatus", + "tags": [ + "BulkActions" + ], + "description": "VirtualMachinesGetOperationStatus: Polling endpoint to read status of operations performed on virtual machines", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "location", + "in": "path", + "description": "The location name.", + "required": true, + "type": "string", + "minLength": 1 + }, + { + "name": "requestBody", + "in": "body", + "description": "The request body", + "required": true, + "schema": { + "$ref": "#/definitions/GetOperationStatusRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/GetOperationStatusResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BulkActions_VirtualMachinesGetOperationStatus_MaximumSet_Gen - generated by [MaximumSet] rule": { + "$ref": "./examples/BulkActions_VirtualMachinesGetOperationStatus_MaximumSet_Gen.json" + }, + "BulkActions_VirtualMachinesGetOperationStatus_MinimumSet_Gen - generated by [MinimumSet] rule": { + "$ref": "./examples/BulkActions_VirtualMachinesGetOperationStatus_MinimumSet_Gen.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ComputeBulkActions/locations/{location}/launchBulkInstancesOperations": { + "get": { + "operationId": "BulkActions_ListByResourceGroup", + "tags": [ + "BulkActions" + ], + "description": "List LaunchBulkInstancesOperation resources by resource group.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "location", + "in": "path", + "description": "The location name.", + "required": true, + "type": "string", + "minLength": 1 + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/LaunchBulkInstancesOperationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BulkActions_ListByResourceGroup - generated by [MaximumSet] rule": { + "$ref": "./examples/BulkActions_ListByResourceGroup_MaximumSet_Gen.json" + }, + "BulkActions_ListByResourceGroup - generated by [MinimumSet] rule": { + "$ref": "./examples/BulkActions_ListByResourceGroup_MinimumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ComputeBulkActions/locations/{location}/launchBulkInstancesOperations/{name}": { + "get": { + "operationId": "BulkActions_Get", + "tags": [ + "BulkActions" + ], + "description": "Gets an instance of LaunchBulkInstancesOperations.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "location", + "in": "path", + "description": "The location name.", + "required": true, + "type": "string", + "minLength": 1 + }, + { + "name": "name", + "in": "path", + "description": "The name of the LaunchBulkInstancesOperation.", + "required": true, + "type": "string", + "minLength": 1, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/LocationBasedLaunchBulkInstancesOperation" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BulkActions_Get - generated by [MaximumSet] rule": { + "$ref": "./examples/BulkActions_Get_MaximumSet_Gen.json" + } + } + }, + "put": { + "operationId": "BulkActions_CreateOrUpdate", + "tags": [ + "BulkActions" + ], + "description": "Creates or updates LaunchBulkInstancesOperations.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "location", + "in": "path", + "description": "The location name.", + "required": true, + "type": "string", + "minLength": 1 + }, + { + "name": "name", + "in": "path", + "description": "The name of the LaunchBulkInstancesOperation.", + "required": true, + "type": "string", + "minLength": 1, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" + }, + { + "name": "resource", + "in": "body", + "description": "Resource create parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/LocationBasedLaunchBulkInstancesOperation" + } + } + ], + "responses": { + "200": { + "description": "Resource 'LocationBasedLaunchBulkInstancesOperation' update operation succeeded", + "schema": { + "$ref": "#/definitions/LocationBasedLaunchBulkInstancesOperation" + } + }, + "201": { + "description": "Resource 'LocationBasedLaunchBulkInstancesOperation' create operation succeeded", + "schema": { + "$ref": "#/definitions/LocationBasedLaunchBulkInstancesOperation" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BulkActions_CreateOrUpdate - generated by [MaximumSet] rule": { + "$ref": "./examples/BulkActions_CreateOrUpdate_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "BulkActions_Delete", + "tags": [ + "BulkActions" + ], + "description": "Deletes LaunchBulkInstancesOperations.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "location", + "in": "path", + "description": "The location name.", + "required": true, + "type": "string", + "minLength": 1 + }, + { + "name": "name", + "in": "path", + "description": "The name of the LaunchBulkInstancesOperation.", + "required": true, + "type": "string", + "minLength": 1, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" + }, + { + "name": "deleteInstances", + "in": "query", + "description": "When true, deletes all virtual machines created by this BulkAction Operation.", + "required": false, + "type": "boolean" + } + ], + "responses": { + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BulkActions_Delete - generated by [MaximumSet] rule": { + "$ref": "./examples/BulkActions_Delete_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ComputeBulkActions/locations/{location}/launchBulkInstancesOperations/{name}/cancel": { + "post": { + "operationId": "BulkActions_Cancel", + "tags": [ + "BulkActions" + ], + "description": "Cancels LaunchBulkInstancesOperation instances that have not yet launched.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "location", + "in": "path", + "description": "The location name.", + "required": true, + "type": "string", + "minLength": 1 + }, + { + "name": "name", + "in": "path", + "description": "The name of the LaunchBulkInstancesOperation.", + "required": true, + "type": "string", + "minLength": 1, + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Location": { + "type": "string", + "description": "The Location header contains the URL where the status of the long running operation can be checked." + }, + "Retry-After": { + "type": "integer", + "format": "int32", + "description": "The Retry-After header can indicate how long the client should wait before polling the operation status." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BulkActions_Cancel - generated by [MaximumSet] rule": { + "$ref": "./examples/BulkActions_Cancel_MaximumSet_Gen.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ComputeBulkActions/locations/{location}/launchBulkInstancesOperations/{name}/virtualMachines": { + "get": { + "operationId": "BulkActions_ListVirtualMachines", + "tags": [ + "BulkActions" + ], + "description": "List VirtualMachine resources of a LaunchBulkInstancesOperation.", + "parameters": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/SubscriptionIdParameter" + }, + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/parameters/ResourceGroupNameParameter" + }, + { + "name": "location", + "in": "path", + "description": "The location name.", + "required": true, + "type": "string", + "minLength": 1 + }, + { + "name": "name", + "in": "path", + "description": "The name of the LaunchBulkInstancesOperation", + "required": true, + "type": "string", + "pattern": "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$" + }, + { + "name": "$filter", + "in": "query", + "description": "Filter expression to filter the virtual machines.", + "required": false, + "type": "string" + }, + { + "name": "$skiptoken", + "in": "query", + "description": "Skip token for pagination. Uses the token from a previous response to fetch the next page of results.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VirtualMachineListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "BulkActions_ListVirtualMachines - generated by [MaximumSet] rule": { + "$ref": "./examples/BulkActions_ListVirtualMachines_MaximumSet_Gen.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "AcceleratorManufacturer": { + "type": "string", + "description": "Accelerator manufacturers supported by Azure VMs.", + "enum": [ + "AMD", + "Nvidia", + "Xilinx" + ], + "x-ms-enum": { + "name": "AcceleratorManufacturer", + "modelAsString": true, + "values": [ + { + "name": "AMD", + "value": "AMD", + "description": "AMD GpuType" + }, + { + "name": "Nvidia", + "value": "Nvidia", + "description": "Nvidia GpuType" + }, + { + "name": "Xilinx", + "value": "Xilinx", + "description": "Xilinx GpuType" + } + ] + } + }, + "AcceleratorType": { + "type": "string", + "description": "Accelerator types supported by Azure VMs.", + "enum": [ + "GPU", + "FPGA" + ], + "x-ms-enum": { + "name": "AcceleratorType", + "modelAsString": true, + "values": [ + { + "name": "GPU", + "value": "GPU", + "description": "GPU Accelerator" + }, + { + "name": "FPGA", + "value": "FPGA", + "description": "FPGA Accelerator" + } + ] + } + }, + "AdditionalCapabilities": { + "type": "object", + "description": "Enables or disables a capability on the virtual machine or virtual machine scale set.", + "properties": { + "ultraSSDEnabled": { + "type": "boolean", + "description": "The flag that enables or disables a capability to have one or more managed data disks with UltraSSD_LRS storage account type on the VM or VMSS. Managed disks with storage account type UltraSSD_LRS can be added to a virtual machine or virtual machine scale set only if this property is enabled." + }, + "hibernationEnabled": { + "type": "boolean", + "description": "The flag that enables or disables hibernation capability on the VM." + } + } + }, + "AdditionalUnattendContent": { + "type": "object", + "description": "Specifies additional XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup. Contents are defined by setting name, component name, and the pass in which the content is applied.", + "properties": { + "passName": { + "type": "string", + "description": "The pass name. Currently, the only allowable value is OobeSystem.", + "enum": [ + "OobeSystem" + ], + "x-ms-enum": { + "modelAsString": false + } + }, + "componentName": { + "type": "string", + "description": "The component name. Currently, the only allowable value is Microsoft-Windows-Shell-Setup.", + "enum": [ + "Microsoft-Windows-Shell-Setup" + ], + "x-ms-enum": { + "modelAsString": false + } + }, + "settingName": { + "$ref": "#/definitions/SettingNames", + "description": "Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon." + }, + "content": { + "type": "string", + "description": "Specifies the XML formatted content that is added to the unattend.xml file for the specified path and component. The XML must be less than 4KB and must include the root element for the setting or feature that is being inserted." + } + } + }, + "AllInstancesDown": { + "type": "object", + "description": "Specifies if Scheduled Events should be auto-approved when all instances are down.", + "properties": { + "automaticallyApprove": { + "type": "boolean", + "description": "Specifies if Scheduled Events should be auto-approved when all instances are down. Its default value is true." + } + } + }, + "AllocationStrategy": { + "type": "string", + "description": "Allocation strategy types for LaunchBulkInstancesOperation", + "enum": [ + "LowestPrice", + "CapacityOptimized", + "Prioritized" + ], + "x-ms-enum": { + "name": "AllocationStrategy", + "modelAsString": true, + "values": [ + { + "name": "LowestPrice", + "value": "LowestPrice", + "description": "Default. VM sizes distribution will be determined to optimize for price. Note: Capacity will still be considered here but will be given much less weight." + }, + { + "name": "CapacityOptimized", + "value": "CapacityOptimized", + "description": "VM sizes distribution will be determined to optimize for capacity." + }, + { + "name": "Prioritized", + "value": "Prioritized", + "description": "VM sizes distribution will be determined to optimize for the 'rank' specified for each vm size." + } + ] + } + }, + "ApiEntityReference": { + "type": "object", + "description": "The API entity reference.", + "properties": { + "id": { + "type": "string", + "description": "The ARM resource id in the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/..." + } + } + }, + "ApiError": { + "type": "object", + "description": "ApiError for Fleet", + "properties": { + "code": { + "type": "string", + "description": "The error code." + }, + "target": { + "type": "string", + "description": "The target of the particular error." + }, + "message": { + "type": "string", + "description": "The error message." + }, + "details": { + "type": "array", + "description": "The API error details", + "items": { + "$ref": "#/definitions/ApiErrorBase" + }, + "x-ms-identifiers": [ + "message", + "target" + ] + }, + "innererror": { + "$ref": "#/definitions/InnerError", + "description": "The API inner error" + } + } + }, + "ApiErrorBase": { + "type": "object", + "description": "API error base.", + "properties": { + "code": { + "type": "string", + "description": "The error code." + }, + "target": { + "type": "string", + "description": "The target of the particular error." + }, + "message": { + "type": "string", + "description": "The error message." + } + } + }, + "ApplicationProfile": { + "type": "object", + "description": "Contains the list of gallery applications that should be made available to the VM", + "properties": { + "galleryApplications": { + "type": "array", + "description": "Specifies the gallery applications that should be made available to the VM", + "items": { + "$ref": "#/definitions/VMGalleryApplication" + }, + "x-ms-identifiers": [ + "packageReferenceId" + ] + } + } + }, + "ArchitectureType": { + "type": "string", + "description": "Architecture types supported by Azure VMs.", + "enum": [ + "ARM64", + "X64" + ], + "x-ms-enum": { + "name": "ArchitectureType", + "modelAsString": true, + "values": [ + { + "name": "ARM64", + "value": "ARM64", + "description": "ARM64 Architecture" + }, + { + "name": "X64", + "value": "X64", + "description": "X64 Architecture" + } + ] + } + }, + "Azure.Core.azureLocation": { + "type": "string", + "description": "Represents an Azure geography region where supported resource providers live." + }, + "BootDiagnostics": { + "type": "object", + "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor.", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether boot diagnostics should be enabled on the Virtual Machine." + }, + "storageUri": { + "type": "string", + "description": "Uri of the storage account to use for placing the console output and screenshot. If storageUri is not specified while enabling boot diagnostics, managed storage will be used." + } + } + }, + "CachingTypes": { + "type": "string", + "description": "Specifies the caching requirements. Possible values are: **None,** **ReadOnly,** **ReadWrite.** The default values are: **None for Standard storage. ReadOnly for Premium storage**", + "enum": [ + "None", + "ReadOnly", + "ReadWrite" + ], + "x-ms-enum": { + "name": "CachingTypes", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "Caching type:None" + }, + { + "name": "ReadOnly", + "value": "ReadOnly", + "description": "Caching type:ReadOnly" + }, + { + "name": "ReadWrite", + "value": "ReadWrite", + "description": "Caching type:ReadWrite" + } + ] + } + }, + "CancelOperationsRequest": { + "type": "object", + "description": "This is the request to cancel running operations in bulkactions using the operation ids", + "properties": { + "operationIds": { + "type": "array", + "description": "The list of operation ids to cancel operations on", + "items": { + "type": "string" + } + }, + "correlationid": { + "type": "string", + "description": "CorrelationId item" + } + }, + "required": [ + "operationIds", + "correlationid" + ] + }, + "CancelOperationsResponse": { + "type": "object", + "description": "This is the response from a cancel operations request", + "properties": { + "results": { + "type": "array", + "description": "An array of resource operations that were successfully cancelled", + "items": { + "$ref": "#/definitions/ResourceOperation" + }, + "x-ms-identifiers": [ + "resourceId" + ] + } + }, + "required": [ + "results" + ] + }, + "CapacityReservationProfile": { + "type": "object", + "description": "The parameters of a capacity reservation Profile.", + "properties": { + "capacityReservationGroup": { + "$ref": "#/definitions/SubResource", + "description": "Specifies the capacity reservation group resource id that should be used for allocating the virtual machine provided enough capacity has been reserved. Please refer to https://aka.ms/CapacityReservation for more details." + } + } + }, + "CapacityType": { + "type": "string", + "description": "Capacity types for LaunchBulkInstancesOperation.", + "enum": [ + "VM", + "VCpu" + ], + "x-ms-enum": { + "name": "CapacityType", + "modelAsString": true, + "values": [ + { + "name": "VM", + "value": "VM", + "description": "Default. VM is the default capacity type for LaunchBulkInstancesOperation where capacity is provisioned in terms of VMs." + }, + { + "name": "VCpu", + "value": "VCpu", + "description": "VCpu is the capacity type for LaunchBulkInstancesOperation where capacity is provisioned in terms of VCpus. If VCpu capacity is not exactly divisible by VCpu count in VMSizes, capacity in VCpus will be overprovisioned by default." + } + ] + } + }, + "ComputeProfile": { + "type": "object", + "description": "Compute Profile to configure the Virtual Machines.", + "properties": { + "virtualMachineProfile": { + "$ref": "#/definitions/VirtualMachineProfile", + "description": "Base Virtual Machine Profile Properties to be specified according to \"specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/{computeApiVersion}/virtualMachine.json#/definitions/VirtualMachineProperties\"" + }, + "extensions": { + "type": "array", + "description": "Virtual Machine Extensions Array to be specified according to \"specification/compute/resource-manager/Microsoft.Compute/ComputeRP/stable/{computeApiVersion}/virtualMachine.json#/definitions/VirtualMachineExtension\"", + "items": { + "$ref": "#/definitions/VirtualMachineExtension" + } + }, + "computeApiVersion": { + "type": "string", + "description": "Specifies the Microsoft.Compute API version to use when creating underlying Virtual Machines.\nThe default value will be the latest supported computeApiVersion by LaunchBulkInstancesOperation." + } + }, + "required": [ + "virtualMachineProfile" + ] + }, + "CpuManufacturer": { + "type": "string", + "description": "Cpu Manufacturers supported by Azure VMs.", + "enum": [ + "Intel", + "AMD", + "Microsoft", + "Ampere" + ], + "x-ms-enum": { + "name": "CpuManufacturer", + "modelAsString": true, + "values": [ + { + "name": "Intel", + "value": "Intel", + "description": "Intel CPU." + }, + { + "name": "AMD", + "value": "AMD", + "description": "AMD CPU." + }, + { + "name": "Microsoft", + "value": "Microsoft", + "description": "Microsoft CPU." + }, + { + "name": "Ampere", + "value": "Ampere", + "description": "Ampere CPU." + } + ] + } + }, + "CreateResourceOperationResponse": { + "type": "object", + "description": "The response from a create request", + "properties": { + "description": { + "type": "string", + "description": "The description of the operation response" + }, + "type": { + "type": "string", + "description": "The type of resources used in the request eg virtual machines" + }, + "location": { + "$ref": "#/definitions/Azure.Core.azureLocation", + "description": "The location of the request eg westus", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "results": { + "type": "array", + "description": "The results from the request.", + "items": { + "$ref": "#/definitions/ResourceOperation" + }, + "x-ms-identifiers": [ + "resourceId" + ] + } + }, + "required": [ + "description", + "type", + "location" + ] + }, + "DataDisk": { + "type": "object", + "description": "Describes a data disk.", + "properties": { + "lun": { + "type": "integer", + "format": "int32", + "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM." + }, + "name": { + "type": "string", + "description": "The disk name." + }, + "vhd": { + "$ref": "#/definitions/VirtualHardDisk", + "description": "The virtual hard disk." + }, + "image": { + "$ref": "#/definitions/VirtualHardDisk", + "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist." + }, + "caching": { + "$ref": "#/definitions/CachingTypes", + "description": "Specifies the caching requirements. Possible values are: None, ReadOnly, ReadWrite. The defaulting behavior is: None for Standard storage. ReadOnly for Premium storage." + }, + "writeAcceleratorEnabled": { + "type": "boolean", + "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk." + }, + "createOption": { + "$ref": "#/definitions/DiskCreateOptionTypes", + "description": "Specifies how the virtual machine disk should be created. Possible values are Attach, FromImage, Empty, Copy, Restore." + }, + "diskSizeGB": { + "type": "integer", + "format": "int32", + "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property 'diskSizeGB' is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023." + }, + "managedDisk": { + "$ref": "#/definitions/ManagedDiskParameters", + "description": "The managed disk parameters." + }, + "sourceResource": { + "$ref": "#/definitions/ApiEntityReference", + "description": "The source resource identifier. It can be a snapshot, or disk restore point from which to create a disk." + }, + "toBeDetached": { + "type": "boolean", + "description": "Specifies whether the data disk is in process of detachment from the VirtualMachine/VirtualMachineScaleset." + }, + "detachOption": { + "$ref": "#/definitions/DiskDetachOptionTypes", + "description": "Specifies the detach behavior to be used while detaching a disk or which is already in the process of detachment from the virtual machine. Supported values: ForceDetach. This feature is still in preview. To force-detach a data disk update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'." + }, + "deleteOption": { + "$ref": "#/definitions/DiskDeleteOptionTypes", + "description": "Specifies whether data disk should be deleted or detached upon VM deletion. Possible values are: Delete, Detach. The default value is set to Detach." + } + }, + "required": [ + "lun", + "createOption" + ] + }, + "DeadlineType": { + "type": "string", + "description": "The types of deadlines supported by Bulkactions", + "enum": [ + "Unknown", + "InitiateAt", + "CompleteBy" + ], + "x-ms-enum": { + "name": "DeadlineType", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown", + "description": "Default value of Unknown." + }, + { + "name": "InitiateAt", + "value": "InitiateAt", + "description": "Initiate the operation at the given deadline." + }, + { + "name": "CompleteBy", + "value": "CompleteBy", + "description": "Complete the operation by the given deadline." + } + ] + } + }, + "DeallocateResourceOperationResponse": { + "type": "object", + "description": "The response from a deallocate request", + "properties": { + "description": { + "type": "string", + "description": "The description of the operation response" + }, + "type": { + "type": "string", + "description": "The type of resources used in the request eg virtual machines" + }, + "location": { + "$ref": "#/definitions/Azure.Core.azureLocation", + "description": "The location of the request eg westus", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "results": { + "type": "array", + "description": "The results from the request.", + "items": { + "$ref": "#/definitions/ResourceOperation" + }, + "x-ms-identifiers": [ + "resourceId" + ] + } + }, + "required": [ + "description", + "type", + "location" + ] + }, + "DeleteOptions": { + "type": "string", + "description": "Specify what happens to the network interface when the VM is deleted", + "enum": [ + "Delete", + "Detach" + ], + "x-ms-enum": { + "name": "DeleteOptions", + "modelAsString": true, + "values": [ + { + "name": "Delete", + "value": "Delete", + "description": "Delete network interface when the VM is deleted" + }, + { + "name": "Detach", + "value": "Detach", + "description": "Detach network interface when the VM is deleted" + } + ] + } + }, + "DeleteResourceOperationResponse": { + "type": "object", + "description": "The response from a delete request", + "properties": { + "description": { + "type": "string", + "description": "The description of the operation response" + }, + "type": { + "type": "string", + "description": "The type of resources used in the request eg virtual machines" + }, + "location": { + "$ref": "#/definitions/Azure.Core.azureLocation", + "description": "The location of the request eg westus", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "results": { + "type": "array", + "description": "The results from the request.", + "items": { + "$ref": "#/definitions/ResourceOperation" + }, + "x-ms-identifiers": [ + "resourceId" + ] + } + }, + "required": [ + "description", + "type", + "location" + ] + }, + "DiagnosticsProfile": { + "type": "object", + "description": "Specifies the boot diagnostic settings state. Minimum compute api-version: 2015-06-15.", + "properties": { + "bootDiagnostics": { + "$ref": "#/definitions/BootDiagnostics", + "description": "Boot Diagnostics is a debugging feature which allows you to view Console Output and Screenshot to diagnose VM status. **NOTE**: If storageUri is being specified then ensure that the storage account is in the same region and subscription as the VM. You can easily view the output of your console log. Azure also enables you to see a screenshot of the VM from the hypervisor." + } + } + }, + "DiffDiskOptions": { + "type": "string", + "description": "Specifies the ephemeral disk option for operating system disk.", + "enum": [ + "Local" + ], + "x-ms-enum": { + "name": "DiffDiskOptions", + "modelAsString": true, + "values": [ + { + "name": "Local", + "value": "Local", + "description": "Local Ephemeral disk option: Local" + } + ] + } + }, + "DiffDiskPlacement": { + "type": "string", + "description": "Specifies the ephemeral disk placement for operating system disk. This property can be used by user in the request to choose the location i.e, cache disk, resource disk or nvme disk space for Ephemeral OS disk provisioning. For more information on Ephemeral OS disk size requirements, please refer Ephemeral OS disk size requirements for Windows VM at https://docs.microsoft.com/azure/virtual-machines/windows/ephemeral-os-disks#size-requirements and Linux VM at https://docs.microsoft.com/azure/virtual-machines/linux/ephemeral-os-disks#size-requirements. Minimum api-version for NvmeDisk: 2024-03-01.", + "enum": [ + "CacheDisk", + "ResourceDisk", + "NvmeDisk" + ], + "x-ms-enum": { + "name": "DiffDiskPlacement", + "modelAsString": true, + "values": [ + { + "name": "CacheDisk", + "value": "CacheDisk", + "description": "CacheDisk disk placement" + }, + { + "name": "ResourceDisk", + "value": "ResourceDisk", + "description": "ResourceDisk disk placement" + }, + { + "name": "NvmeDisk", + "value": "NvmeDisk", + "description": "NvmeDisk disk placement" + } + ] + } + }, + "DiffDiskSettings": { + "type": "object", + "description": "Describes the parameters of ephemeral disk settings that can be specified for operating system disk. Note: The ephemeral disk settings can only be specified for managed disk.", + "properties": { + "option": { + "$ref": "#/definitions/DiffDiskOptions", + "description": "Specifies the ephemeral disk settings for operating system disk." + }, + "placement": { + "$ref": "#/definitions/DiffDiskPlacement", + "description": "Specifies the ephemeral disk placement for operating system disk. Possible values are: CacheDisk, ResourceDisk, NvmeDisk. The defaulting behavior is: CacheDisk if one is configured for the VM size otherwise ResourceDisk or NvmeDisk is used. Minimum api-version for NvmeDisk: 2024-03-01." + } + } + }, + "DiskControllerTypes": { + "type": "string", + "description": "Specifies the disk controller type configured for the VM and VirtualMachineScaleSet. This property is only supported for virtual machines whose operating system disk and VM sku supports Generation 2 (https://docs.microsoft.com/en-us/azure/virtual-machines/generation-2), please check the HyperVGenerations capability returned as part of VM sku capabilities in the response of Microsoft.Compute SKUs api for the region contains V2 (https://docs.microsoft.com/rest/api/compute/resourceskus/list). For more information about Disk Controller Types supported please refer to https://aka.ms/azure-diskcontrollertypes.", + "enum": [ + "SCSI", + "NVMe" + ], + "x-ms-enum": { + "name": "DiskControllerTypes", + "modelAsString": true, + "values": [ + { + "name": "SCSI", + "value": "SCSI", + "description": "SCSI disk controller type" + }, + { + "name": "NVMe", + "value": "NVMe", + "description": "NVMe disk controller type" + } + ] + } + }, + "DiskCreateOptionTypes": { + "type": "string", + "description": "Specifies how the virtual machine disk should be created. Possible values are **Attach:** This value is used when you are using a specialized disk to create the virtual machine. **FromImage:** This value is used when you are using an image to create the virtual machine. If you are using a platform image, you should also use the imageReference element described above. If you are using a marketplace image, you should also use the plan element previously described. **Empty:** This value is used when creating an empty data disk. **Copy:** This value is used to create a data disk from a snapshot or another disk. **Restore:** This value is used to create a data disk from a disk restore point.", + "enum": [ + "FromImage", + "Empty", + "Attach", + "Copy", + "Restore" + ], + "x-ms-enum": { + "name": "DiskCreateOptionTypes", + "modelAsString": true, + "values": [ + { + "name": "FromImage", + "value": "FromImage", + "description": "Create disk FromImage" + }, + { + "name": "Empty", + "value": "Empty", + "description": "Empty value" + }, + { + "name": "Attach", + "value": "Attach", + "description": "Create disk by Attach" + }, + { + "name": "Copy", + "value": "Copy", + "description": "Create disk by Copy" + }, + { + "name": "Restore", + "value": "Restore", + "description": "Create disk by Restore" + } + ] + } + }, + "DiskDeleteOptionTypes": { + "type": "string", + "description": "Specifies the behavior of the managed disk when the VM gets deleted, for example whether the managed disk is deleted or detached. Supported values are: **Delete.** If this value is used, the managed disk is deleted when VM gets deleted. **Detach.** If this value is used, the managed disk is retained after VM gets deleted. Minimum api-version: 2021-03-01.", + "enum": [ + "Delete", + "Detach" + ], + "x-ms-enum": { + "name": "DiskDeleteOptionTypes", + "modelAsString": true, + "values": [ + { + "name": "Delete", + "value": "Delete", + "description": "Delete the disk upon VM deletion" + }, + { + "name": "Detach", + "value": "Detach", + "description": "Detach the disk upon VM deletion" + } + ] + } + }, + "DiskDetachOptionTypes": { + "type": "string", + "description": "Specifies the detach behavior to be used while detaching a disk or which is already in the process of detachment from the virtual machine. Supported values are: **ForceDetach.** detachOption: **ForceDetach** is applicable only for managed data disks. If a previous detachment attempt of the data disk did not complete due to an unexpected failure from the virtual machine and the disk is still not released then use force-detach as a last resort option to detach the disk forcibly from the VM. All writes might not have been flushed when using this detach behavior. **This feature is still in preview**. To force-detach a data disk update toBeDetached to 'true' along with setting detachOption: 'ForceDetach'.", + "enum": [ + "ForceDetach" + ], + "x-ms-enum": { + "name": "DiskDetachOptionTypes", + "modelAsString": true, + "values": [ + { + "name": "ForceDetach", + "value": "ForceDetach", + "description": "ForceDetach the disk" + } + ] + } + }, + "DiskEncryptionSetParameters": { + "type": "object", + "description": "Describes the parameter of customer managed disk encryption set resource id that can be specified for disk. **Note:** The disk encryption set resource id can only be specified for managed disk. Please refer https://aka.ms/mdssewithcmkoverview for more details.", + "allOf": [ + { + "$ref": "#/definitions/SubResource" + } + ] + }, + "DiskEncryptionSettings": { + "type": "object", + "description": "Describes a Encryption Settings for a Disk", + "properties": { + "diskEncryptionKey": { + "$ref": "#/definitions/KeyVaultSecretReference", + "description": "Specifies the location of the disk encryption key, which is a Key Vault Secret." + }, + "keyEncryptionKey": { + "$ref": "#/definitions/KeyVaultKeyReference", + "description": "Specifies the location of the key encryption key in Key Vault." + }, + "enabled": { + "type": "boolean", + "description": "Specifies whether disk encryption should be enabled on the virtual machine." + } + } + }, + "DomainNameLabelScopeTypes": { + "type": "string", + "description": "The Domain name label scope.The concatenation of the hashed domain name label that generated according to the policy from domain name label scope and vm index will be the domain name labels of the PublicIPAddress resources that will be created", + "enum": [ + "TenantReuse", + "SubscriptionReuse", + "ResourceGroupReuse", + "NoReuse" + ], + "x-ms-enum": { + "name": "DomainNameLabelScopeTypes", + "modelAsString": true, + "values": [ + { + "name": "TenantReuse", + "value": "TenantReuse", + "description": "TenantReuse scope type" + }, + { + "name": "SubscriptionReuse", + "value": "SubscriptionReuse", + "description": "SubscriptionReuse scope type" + }, + { + "name": "ResourceGroupReuse", + "value": "ResourceGroupReuse", + "description": "ResourceGroupReuse scope type" + }, + { + "name": "NoReuse", + "value": "NoReuse", + "description": "NoReuse scope type" + } + ] + } + }, + "EncryptionIdentity": { + "type": "object", + "description": "Specifies the Managed Identity used by ADE to get access token for keyvault operations.", + "properties": { + "userAssignedIdentityResourceId": { + "type": "string", + "description": "Specifies ARM Resource ID of one of the user identities associated with the VM." + } + } + }, + "EventGridAndResourceGraph": { + "type": "object", + "description": "Specifies eventGridAndResourceGraph related Scheduled Event related configurations.", + "properties": { + "enable": { + "type": "boolean", + "description": "Specifies if event grid and resource graph is enabled for Scheduled event related configurations." + }, + "scheduledEventsApiVersion": { + "type": "string", + "description": "Specifies the api-version to determine which Scheduled Events configuration schema version will be delivered." + } + } + }, + "EvictionPolicy": { + "type": "string", + "description": "Different kind of eviction policies", + "enum": [ + "Delete", + "Deallocate" + ], + "x-ms-enum": { + "name": "EvictionPolicy", + "modelAsString": true, + "values": [ + { + "name": "Delete", + "value": "Delete", + "description": "When evicted, the Spot VM will be deleted and the corresponding capacity will be updated to reflect this." + }, + { + "name": "Deallocate", + "value": "Deallocate", + "description": "When evicted, the Spot VM will be deallocated/stopped" + } + ] + } + }, + "ExecuteCreateRequest": { + "type": "object", + "description": "The ExecuteCreateRequest request for create operations", + "properties": { + "resourceConfigParameters": { + "$ref": "#/definitions/ResourceProvisionPayload", + "description": "resource creation payload" + }, + "executionParameters": { + "$ref": "#/definitions/ExecutionParameters", + "description": "The execution parameters for the request" + }, + "correlationid": { + "type": "string", + "description": "CorrelationId item" + } + }, + "required": [ + "resourceConfigParameters", + "executionParameters" + ] + }, + "ExecuteDeallocateRequest": { + "type": "object", + "description": "The ExecuteDeallocateRequest request for executeDeallocate operations", + "properties": { + "executionParameters": { + "$ref": "#/definitions/ExecutionParameters", + "description": "The execution parameters for the request" + }, + "resources": { + "$ref": "#/definitions/Resources", + "description": "The resources for the request" + }, + "correlationid": { + "type": "string", + "description": "CorrelationId item" + } + }, + "required": [ + "executionParameters", + "correlationid" + ] + }, + "ExecuteDeleteRequest": { + "type": "object", + "description": "The ExecuteDeleteRequest for delete VM operation", + "properties": { + "executionParameters": { + "$ref": "#/definitions/ExecutionParameters", + "description": "The execution parameters for the request" + }, + "resources": { + "$ref": "#/definitions/Resources", + "description": "The resources for the request" + }, + "correlationid": { + "type": "string", + "description": "CorrelationId item" + }, + "forceDeletion": { + "type": "boolean", + "description": "Forced delete resource item" + } + }, + "required": [ + "executionParameters", + "correlationid" + ] + }, + "ExecuteHibernateRequest": { + "type": "object", + "description": "The ExecuteHibernateRequest request for executeHibernate operations", + "properties": { + "executionParameters": { + "$ref": "#/definitions/ExecutionParameters", + "description": "The execution parameters for the request" + }, + "resources": { + "$ref": "#/definitions/Resources", + "description": "The resources for the request" + }, + "correlationid": { + "type": "string", + "description": "CorrelationId item" + } + }, + "required": [ + "executionParameters", + "correlationid" + ] + }, + "ExecuteStartRequest": { + "type": "object", + "description": "The ExecuteStartRequest request for executeStart operations", + "properties": { + "executionParameters": { + "$ref": "#/definitions/ExecutionParameters", + "description": "The execution parameters for the request" + }, + "resources": { + "$ref": "#/definitions/Resources", + "description": "The resources for the request" + }, + "correlationid": { + "type": "string", + "description": "CorrelationId item" + } + }, + "required": [ + "executionParameters", + "correlationid" + ] + }, + "ExecuteTypeRequest": { + "type": "object", + "description": "The execute-type request for power operations", + "properties": { + "executionParameters": { + "$ref": "#/definitions/ExecutionParameters", + "description": "The execution parameters for the request" + }, + "resources": { + "$ref": "#/definitions/Resources", + "description": "The resources for the request" + }, + "correlationid": { + "type": "string", + "description": "CorrelationId item" + } + }, + "required": [ + "executionParameters", + "correlationid" + ] + }, + "ExecutionParameters": { + "type": "object", + "description": "Extra details needed to run the user's request", + "properties": { + "optimizationPreference": { + "$ref": "#/definitions/OptimizationPreference", + "description": "Details that could optimize the user's request" + }, + "retryPolicy": { + "$ref": "#/definitions/RetryPolicy", + "description": "Retry policy the user can pass" + } + } + }, + "FallbackOperation": { + "type": "object", + "description": "Describes the fallback operation that was performed", + "properties": { + "lastOpType": { + "$ref": "#/definitions/ResourceOperationType", + "description": "The last operation type that was performed as a fallback" + }, + "status": { + "type": "string", + "description": "The status of the fallback operation" + } + } + }, + "GetOperationStatusRequest": { + "type": "object", + "description": "This is the request to get operation status using operationids", + "properties": { + "operationIds": { + "type": "array", + "description": "The list of operation ids to get the status of", + "items": { + "type": "string" + } + }, + "correlationid": { + "type": "string", + "description": "CorrelationId item" + } + }, + "required": [ + "operationIds", + "correlationid" + ] + }, + "GetOperationStatusResponse": { + "type": "object", + "description": "This is the response from a get operations status request", + "properties": { + "results": { + "type": "array", + "description": "An array of resource operations based on their operation ids", + "items": { + "$ref": "#/definitions/ResourceOperation" + }, + "x-ms-identifiers": [ + "resourceId" + ] + } + }, + "required": [ + "results" + ] + }, + "HibernateResourceOperationResponse": { + "type": "object", + "description": "The response from a Hibernate request", + "properties": { + "description": { + "type": "string", + "description": "The description of the operation response" + }, + "type": { + "type": "string", + "description": "The type of resources used in the request eg virtual machines" + }, + "location": { + "$ref": "#/definitions/Azure.Core.azureLocation", + "description": "The location of the request eg westus", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "results": { + "type": "array", + "description": "The results from the request.", + "items": { + "$ref": "#/definitions/ResourceOperation" + }, + "x-ms-identifiers": [ + "resourceId" + ] + } + }, + "required": [ + "description", + "type", + "location" + ] + }, + "HostEndpointSettings": { + "type": "object", + "description": "Specifies particular host endpoint settings.", + "properties": { + "mode": { + "$ref": "#/definitions/Modes", + "description": "Specifies the execution mode. In Audit mode, the system acts as if it is enforcing the access control policy, including emitting access denial entries in the logs but it does not actually deny any requests to host endpoints. In Enforce mode, the system will enforce the access control and it is the recommended mode of operation." + }, + "inVMAccessControlProfileReferenceId": { + "type": "string", + "description": "Specifies the InVMAccessControlProfileVersion resource id in the format of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/inVMAccessControlProfiles/{profile}/versions/{version}" + } + } + }, + "HyperVGeneration": { + "type": "string", + "description": "HyperVGenerations supported by Azure VMs.", + "enum": [ + "Gen1", + "Gen2" + ], + "x-ms-enum": { + "name": "HyperVGeneration", + "modelAsString": true, + "values": [ + { + "name": "Gen1", + "value": "Gen1", + "description": "Gen1 hyperV." + }, + { + "name": "Gen2", + "value": "Gen2", + "description": "Gen2 hyperV." + } + ] + } + }, + "IPVersions": { + "type": "string", + "description": "Available from compute Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'.", + "enum": [ + "IPv4", + "IPv6" + ], + "x-ms-enum": { + "name": "IPVersions", + "modelAsString": true, + "values": [ + { + "name": "IPv4", + "value": "IPv4", + "description": "IPv4 version" + }, + { + "name": "IPv6", + "value": "IPv6", + "description": "IPv6 version" + } + ] + } + }, + "ImageReference": { + "type": "object", + "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations. NOTE: Image reference publisher and offer can only be set when you create the scale set.", + "properties": { + "publisher": { + "type": "string", + "description": "The image publisher." + }, + "offer": { + "type": "string", + "description": "Specifies the offer of the platform image or marketplace image used to create the virtual machine." + }, + "sku": { + "type": "string", + "description": "The image SKU." + }, + "version": { + "type": "string", + "description": "Specifies the version of the platform image or marketplace image used to create the virtual machine. The allowed formats are Major.Minor.Build or 'latest'. Major, Minor, and Build are decimal numbers. Specify 'latest' to use the latest version of an image available at deploy time. Even if you use 'latest', the VM image will not automatically update after deploy time even if a new version becomes available. Please do not use field 'version' for gallery image deployment, gallery image should always use 'id' field for deployment, to use 'latest' version of gallery image, just set '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{imageName}' in the 'id' field without version input." + }, + "sharedGalleryImageId": { + "type": "string", + "description": "Specified the shared gallery image unique id for vm deployment. This can be fetched from shared gallery image GET call." + }, + "communityGalleryImageId": { + "type": "string", + "description": "Specified the community gallery image unique id for vm deployment. This can be fetched from community gallery image GET call." + } + }, + "allOf": [ + { + "$ref": "#/definitions/SubResource" + } + ] + }, + "InnerError": { + "type": "object", + "description": "Inner error details.", + "properties": { + "exceptionType": { + "type": "string", + "description": "The exception type." + }, + "errorDetail": { + "type": "string", + "description": "The internal error message or exception dump." + } + } + }, + "KeyVaultKeyReference": { + "type": "object", + "description": "Describes a reference to Key Vault Key", + "properties": { + "keyUrl": { + "type": "string", + "description": "The URL referencing a key encryption key in Key Vault." + }, + "sourceVault": { + "$ref": "#/definitions/SubResource", + "description": "The relative URL of the Key Vault containing the key." + } + }, + "required": [ + "keyUrl", + "sourceVault" + ] + }, + "KeyVaultSecretReference": { + "type": "object", + "description": "Describes a reference to Key Vault Secret", + "properties": { + "secretUrl": { + "type": "string", + "description": "The URL referencing a secret in a Key Vault." + }, + "sourceVault": { + "$ref": "#/definitions/SubResource", + "description": "The relative URL of the Key Vault containing the secret." + } + }, + "required": [ + "secretUrl", + "sourceVault" + ] + }, + "LaunchBulkInstancesOperation": { + "type": "object", + "description": "A LaunchBulkInstancesOperation resource", + "properties": { + "zones": { + "type": "array", + "description": "Zones in which the LaunchBulkInstancesOperation is available", + "items": { + "type": "string" + } + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." + }, + "plan": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/Plan", + "description": "Details of the resource plan." + } + } + }, + "LaunchBulkInstancesOperationListResult": { + "type": "object", + "description": "List of LaunchBulkInstancesOperation resources.", + "properties": { + "value": { + "type": "array", + "description": "The list of LaunchBulkInstancesOperation resources.", + "items": { + "$ref": "#/definitions/LocationBasedLaunchBulkInstancesOperation" + }, + "x-ms-identifiers": [ + "location", + "id" + ] + }, + "nextLink": { + "type": "string", + "description": "The URL to get the next set of results." + } + }, + "required": [ + "value" + ] + }, + "LaunchBulkInstancesOperationProperties": { + "type": "object", + "description": "Details of the LaunchBulkInstancesOperation.", + "properties": { + "provisioningState": { + "$ref": "#/definitions/ProvisioningState", + "description": "The status of the last operation.", + "readOnly": true + }, + "capacity": { + "type": "integer", + "format": "int32", + "description": "Total capacity to achieve. It can be in terms of VMs or vCPUs.", + "minimum": 1 + }, + "capacityType": { + "$ref": "#/definitions/CapacityType", + "description": "Specifies capacity type for launching instances. It can be in terms of VMs or vCPUs." + }, + "priorityProfile": { + "$ref": "#/definitions/PriorityProfile", + "description": "Configuration Options for Regular or Spot instances in LaunchBulkInstancesOperation." + }, + "vmSizesProfile": { + "type": "array", + "description": "List of VM sizes supported for LaunchBulkInstancesOperation", + "items": { + "$ref": "#/definitions/VmSizeProfile" + }, + "x-ms-identifiers": [] + }, + "vmAttributes": { + "$ref": "#/definitions/VMAttributes", + "description": "Attributes to launch instances." + }, + "computeProfile": { + "$ref": "#/definitions/ComputeProfile", + "description": "Compute Profile to configure the Virtual Machines." + }, + "zoneAllocationPolicy": { + "$ref": "#/definitions/ZoneAllocationPolicy", + "description": "Zone Allocation Policy for launching instances." + }, + "retryPolicy": { + "$ref": "#/definitions/RetryPolicy", + "description": "Retry policy the user can pass" + } + }, + "required": [ + "capacity", + "priorityProfile", + "computeProfile" + ] + }, + "LinuxConfiguration": { + "type": "object", + "description": "Specifies the Linux operating system settings on the virtual machine. For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros).", + "properties": { + "disablePasswordAuthentication": { + "type": "boolean", + "description": "Specifies whether password authentication should be disabled." + }, + "ssh": { + "$ref": "#/definitions/SshConfiguration", + "description": "Specifies the ssh key configuration for a Linux OS." + }, + "provisionVMAgent": { + "type": "boolean", + "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later." + }, + "patchSettings": { + "$ref": "#/definitions/LinuxPatchSettings", + "description": "[Preview Feature] Specifies settings related to VM Guest Patching on Linux." + }, + "enableVMAgentPlatformUpdates": { + "type": "boolean", + "description": "Indicates whether VMAgent Platform Updates is enabled for the Linux virtual machine. Default value is false." + } + } + }, + "LinuxPatchAssessmentMode": { + "type": "string", + "description": "Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine.

Possible values are:

**ImageDefault** - You control the timing of patch assessments on a virtual machine.

**AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.", + "enum": [ + "ImageDefault", + "AutomaticByPlatform" + ], + "x-ms-enum": { + "name": "LinuxPatchAssessmentMode", + "modelAsString": true, + "values": [ + { + "name": "ImageDefault", + "value": "ImageDefault", + "description": "ImageDefault mode" + }, + { + "name": "AutomaticByPlatform", + "value": "AutomaticByPlatform", + "description": "AutomaticByPlatform mode" + } + ] + } + }, + "LinuxPatchSettings": { + "type": "object", + "description": "Specifies settings related to VM Guest Patching on Linux.", + "properties": { + "patchMode": { + "$ref": "#/definitions/LinuxVMGuestPatchMode", + "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.

Possible values are:

**ImageDefault** - The virtual machine's default patching configuration is used.

**AutomaticByPlatform** - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true" + }, + "assessmentMode": { + "$ref": "#/definitions/LinuxPatchAssessmentMode", + "description": "Specifies the mode of VM Guest Patch Assessment for the IaaS virtual machine.

Possible values are:

**ImageDefault** - You control the timing of patch assessments on a virtual machine.

**AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true." + }, + "automaticByPlatformSettings": { + "$ref": "#/definitions/LinuxVMGuestPatchAutomaticByPlatformSettings", + "description": "Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Linux." + } + } + }, + "LinuxVMGuestPatchAutomaticByPlatformRebootSetting": { + "type": "string", + "description": "Specifies the reboot setting for all AutomaticByPlatform patch installation operations.", + "enum": [ + "Unknown", + "IfRequired", + "Never", + "Always" + ], + "x-ms-enum": { + "name": "LinuxVMGuestPatchAutomaticByPlatformRebootSetting", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown", + "description": "Unknown reboot setting" + }, + { + "name": "IfRequired", + "value": "IfRequired", + "description": "Reboot if required" + }, + { + "name": "Never", + "value": "Never", + "description": "Never reboot" + }, + { + "name": "Always", + "value": "Always", + "description": "Always reboot" + } + ] + } + }, + "LinuxVMGuestPatchAutomaticByPlatformSettings": { + "type": "object", + "description": "Specifies additional settings to be applied when patch mode AutomaticByPlatform is selected in Linux patch settings.", + "properties": { + "rebootSetting": { + "$ref": "#/definitions/LinuxVMGuestPatchAutomaticByPlatformRebootSetting", + "description": "Specifies the reboot setting for all AutomaticByPlatform patch installation operations." + }, + "bypassPlatformSafetyChecksOnUserSchedule": { + "type": "boolean", + "description": "Enables customer to schedule patching without accidental upgrades" + } + } + }, + "LinuxVMGuestPatchMode": { + "type": "string", + "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.

Possible values are:

**ImageDefault** - The virtual machine's default patching configuration is used.

**AutomaticByPlatform** - The virtual machine will be automatically updated by the platform. The property provisionVMAgent must be true", + "enum": [ + "ImageDefault", + "AutomaticByPlatform" + ], + "x-ms-enum": { + "name": "LinuxVMGuestPatchMode", + "modelAsString": true, + "values": [ + { + "name": "ImageDefault", + "value": "ImageDefault", + "description": "ImageDefault linux VM guest patch mode" + }, + { + "name": "AutomaticByPlatform", + "value": "AutomaticByPlatform", + "description": "AutomaticByPlatform linux VM guest patch mode" + } + ] + } + }, + "LocalStorageDiskType": { + "type": "string", + "description": "Local storage disk types supported by Azure VMs.", + "enum": [ + "HDD", + "SSD" + ], + "x-ms-enum": { + "name": "LocalStorageDiskType", + "modelAsString": true, + "values": [ + { + "name": "HDD", + "value": "HDD", + "description": "HDD DiskType." + }, + { + "name": "SSD", + "value": "SSD", + "description": "SDD DiskType." + } + ] + } + }, + "LocationBasedLaunchBulkInstancesOperation": { + "type": "object", + "description": "Location based type.", + "properties": { + "properties": { + "$ref": "#/definitions/LaunchBulkInstancesOperationProperties", + "description": "The resource-specific properties for this resource." + }, + "zones": { + "type": "array", + "description": "Zones in which the LaunchBulkInstancesOperation is available", + "items": { + "type": "string" + } + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "identity": { + "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentity", + "description": "The managed service identities assigned to this resource." + }, + "plan": { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/Plan", + "description": "Details of the resource plan." + } + }, + "allOf": [ + { + "$ref": "../../../../../common-types/resource-management/v6/types.json#/definitions/ProxyResource" + } + ] + }, + "ManagedDiskParameters": { + "type": "object", + "description": "The parameters of a managed disk.", + "properties": { + "storageAccountType": { + "$ref": "#/definitions/StorageAccountTypes", + "description": "Specifies the storage account type for the managed disk. NOTE: UltraSSD_LRS can only be used with data disks, it cannot be used with OS Disk." + }, + "diskEncryptionSet": { + "$ref": "#/definitions/DiskEncryptionSetParameters", + "description": "Specifies the customer managed disk encryption set resource id for the managed disk." + }, + "securityProfile": { + "$ref": "#/definitions/VMDiskSecurityProfile", + "description": "Specifies the security profile for the managed disk." + } + }, + "allOf": [ + { + "$ref": "#/definitions/SubResource" + } + ] + }, + "ManagedServiceIdentityUpdate": { + "type": "object", + "description": "Managed Service Identity updatable properties that are optional.", + "properties": { + "type": { + "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/ManagedServiceIdentityType", + "description": "The type of managed identity assigned to this resource." + }, + "userAssignedIdentities": { + "type": "object", + "description": "The identities assigned to this resource by the user.", + "additionalProperties": { + "$ref": "../../../../../common-types/resource-management/v6/managedidentity.json#/definitions/UserAssignedIdentity", + "x-nullable": true + } + } + } + }, + "Mode": { + "type": "string", + "description": "Specifies the mode that ProxyAgent will execute on if the feature is enabled. ProxyAgent will start to audit or monitor but not enforce access control over requests to host endpoints in Audit mode, while in Enforce mode it will enforce access control. The default value is Enforce mode.", + "enum": [ + "Audit", + "Enforce" + ], + "x-ms-enum": { + "name": "Mode", + "modelAsString": true, + "values": [ + { + "name": "Audit", + "value": "Audit", + "description": "Audit mode" + }, + { + "name": "Enforce", + "value": "Enforce", + "description": "Enforce mode" + } + ] + } + }, + "Modes": { + "type": "string", + "description": "Specifies the execution mode. In Audit mode, the system acts as if it is enforcing the access control policy, including emitting access denial entries in the logs but it does not actually deny any requests to host endpoints. In Enforce mode, the system will enforce the access control and it is the recommended mode of operation.", + "enum": [ + "Audit", + "Enforce", + "Disabled" + ], + "x-ms-enum": { + "name": "Modes", + "modelAsString": true, + "values": [ + { + "name": "Audit", + "value": "Audit", + "description": "Audit mode" + }, + { + "name": "Enforce", + "value": "Enforce", + "description": "Enforce mode" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Disabled mode" + } + ] + } + }, + "NetworkApiVersion": { + "type": "string", + "description": "Specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations", + "enum": [ + "2020-11-01", + "2022-11-01" + ], + "x-ms-enum": { + "name": "NetworkApiVersion", + "modelAsString": true, + "values": [ + { + "name": "2020-11-01", + "value": "2020-11-01", + "description": "2020-11-01 version" + }, + { + "name": "2022-11-01", + "value": "2022-11-01", + "description": "2022-11-01 version" + } + ] + } + }, + "NetworkInterfaceAuxiliaryMode": { + "type": "string", + "description": "Specifies whether the Auxiliary mode is enabled for the Network Interface resource.", + "enum": [ + "None", + "AcceleratedConnections", + "Floating" + ], + "x-ms-enum": { + "name": "NetworkInterfaceAuxiliaryMode", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "None mode" + }, + { + "name": "AcceleratedConnections", + "value": "AcceleratedConnections", + "description": "AcceleratedConnections mode" + }, + { + "name": "Floating", + "value": "Floating", + "description": "Floating mode" + } + ] + } + }, + "NetworkInterfaceAuxiliarySku": { + "type": "string", + "description": "Specifies whether the Auxiliary sku is enabled for the Network Interface resource.", + "enum": [ + "None", + "A1", + "A2", + "A4", + "A8" + ], + "x-ms-enum": { + "name": "NetworkInterfaceAuxiliarySku", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "None: None sku" + }, + { + "name": "A1", + "value": "A1", + "description": "A1 sku" + }, + { + "name": "A2", + "value": "A2", + "description": "A2 sku" + }, + { + "name": "A4", + "value": "A4", + "description": "A4 sku" + }, + { + "name": "A8", + "value": "A8", + "description": "A8 sku" + } + ] + } + }, + "NetworkInterfaceReference": { + "type": "object", + "description": "Describes a network interface reference.", + "properties": { + "properties": { + "$ref": "#/definitions/NetworkInterfaceReferenceProperties", + "description": "Describes a network interface reference properties." + } + }, + "allOf": [ + { + "$ref": "#/definitions/SubResource" + } + ] + }, + "NetworkInterfaceReferenceProperties": { + "type": "object", + "description": "Describes a network interface reference properties.", + "properties": { + "primary": { + "type": "boolean", + "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface." + }, + "deleteOption": { + "$ref": "#/definitions/DeleteOptions", + "description": "Specify what happens to the network interface when the VM is deleted" + } + } + }, + "NetworkProfile": { + "type": "object", + "description": "Specifies the network interfaces or the networking configuration of the virtual machine.", + "properties": { + "networkInterfaces": { + "type": "array", + "description": "Specifies the list of resource Ids for the network interfaces associated with the virtual machine.", + "items": { + "$ref": "#/definitions/NetworkInterfaceReference" + } + }, + "networkApiVersion": { + "$ref": "#/definitions/NetworkApiVersion", + "description": "specifies the Microsoft.Network API version used when creating networking resources in the Network Interface Configurations" + }, + "networkInterfaceConfigurations": { + "type": "array", + "description": "Specifies the networking configurations that will be used to create the virtual machine networking resources.", + "items": { + "$ref": "#/definitions/VirtualMachineNetworkInterfaceConfiguration" + }, + "x-ms-identifiers": [ + "name" + ] + } + } + }, + "OSDisk": { + "type": "object", + "description": "Specifies information about the operating system disk used by the virtual machine. For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).", + "properties": { + "osType": { + "$ref": "#/definitions/OperatingSystemTypes", + "description": "This property allows you to specify the type of the OS that is included in the disk if creating a VM from user-image or a specialized VHD. Possible values are: Windows, Linux." + }, + "encryptionSettings": { + "$ref": "#/definitions/DiskEncryptionSettings", + "description": "Specifies the encryption settings for the OS Disk. Minimum compute api-version: 2015-06-15." + }, + "name": { + "type": "string", + "description": "The disk name." + }, + "vhd": { + "$ref": "#/definitions/VirtualHardDisk", + "description": "The virtual hard disk." + }, + "image": { + "$ref": "#/definitions/VirtualHardDisk", + "description": "The source user image virtual hard disk. The virtual hard disk will be copied before being attached to the virtual machine. If SourceImage is provided, the destination virtual hard drive must not exist." + }, + "caching": { + "$ref": "#/definitions/CachingTypes", + "description": "Specifies the caching requirements. Possible values are: None, ReadOnly, ReadWrite. The defaulting behavior is: None for Standard storage. ReadOnly for Premium storage." + }, + "writeAcceleratorEnabled": { + "type": "boolean", + "description": "Specifies whether writeAccelerator should be enabled or disabled on the disk." + }, + "diffDiskSettings": { + "$ref": "#/definitions/DiffDiskSettings", + "description": "Specifies the ephemeral Disk Settings for the operating system disk used by the virtual machine." + }, + "createOption": { + "$ref": "#/definitions/DiskCreateOptionTypes", + "description": "Specifies how the virtual machine disk should be created. Possible values are Attach, FromImage. If you are using a platform image, you should also use the imageReference element described above. If you are using a marketplace image, you should also use the plan element previously described." + }, + "diskSizeGB": { + "type": "integer", + "format": "int32", + "description": "Specifies the size of an empty data disk in gigabytes. This element can be used to overwrite the size of the disk in a virtual machine image. The property 'diskSizeGB' is the number of bytes x 1024^3 for the disk and the value cannot be larger than 1023." + }, + "managedDisk": { + "$ref": "#/definitions/ManagedDiskParameters", + "description": "The managed disk parameters." + }, + "deleteOption": { + "$ref": "#/definitions/DiskDeleteOptionTypes", + "description": "Specifies whether OS Disk should be deleted or detached upon VM deletion. Possible values are: Delete, Detach. The default value is set to Detach. For an ephemeral OS Disk, the default value is set to Delete. The user cannot change the delete option for an ephemeral OS Disk." + } + }, + "required": [ + "createOption" + ] + }, + "OSImageNotificationProfile": { + "type": "object", + "description": "Profile for the OS Image Scheduled event.", + "properties": { + "notBeforeTimeout": { + "type": "string", + "description": "Length of time a Virtual Machine being reimaged or having its OS upgraded will have to potentially approve the OS Image Scheduled Event before the event is auto approved (timed out). The configuration is specified in ISO 8601 format, and the value must be 15 minutes (PT15M)" + }, + "enable": { + "type": "boolean", + "description": "Specifies whether the OS Image Scheduled event is enabled or disabled." + } + } + }, + "OSProfile": { + "type": "object", + "description": "Specifies the operating system settings for the virtual machine. Some of the settings cannot be changed once VM is provisioned.", + "properties": { + "computerName": { + "type": "string", + "description": "Specifies the host OS name of the virtual machine. This name cannot be updated after the VM is created. **Max-length (Windows):** 15 characters. **Max-length (Linux):** 64 characters. For naming conventions and restrictions see [Azure infrastructure services implementation guidelines](https://docs.microsoft.com/azure/azure-resource-manager/management/resource-name-rules)." + }, + "adminUsername": { + "type": "string", + "description": "Specifies the name of the administrator account.

This property cannot be updated after the VM is created.

**Windows-only restriction:** Cannot end in \".\"

**Disallowed values:** \"administrator\", \"admin\", \"user\", \"user1\", \"test\", \"user2\", \"test1\", \"user3\", \"admin1\", \"1\", \"123\", \"a\", \"actuser\", \"adm\", \"admin2\", \"aspnet\", \"backup\", \"console\", \"david\", \"guest\", \"john\", \"owner\", \"root\", \"server\", \"sql\", \"support\", \"support_388945a0\", \"sys\", \"test2\", \"test3\", \"user4\", \"user5\".

**Minimum-length (Linux):** 1 character

**Max-length (Linux):** 64 characters

**Max-length (Windows):** 20 characters." + }, + "adminPassword": { + "type": "string", + "format": "password", + "description": "Specifies the password of the administrator account.

**Minimum-length (Windows):** 8 characters

**Minimum-length (Linux):** 6 characters

**Max-length (Windows):** 123 characters

**Max-length (Linux):** 72 characters

**Complexity requirements:** 3 out of 4 conditions below need to be fulfilled
Has lower characters
Has upper characters
Has a digit
Has a special character (Regex match [\\W_])

**Disallowed values:** \"abc@123\", \"P@$$w0rd\", \"P@ssw0rd\", \"P@ssword123\", \"Pa$$word\", \"pass@word1\", \"Password!\", \"Password1\", \"Password22\", \"iloveyou!\"

For resetting the password, see [How to reset the Remote Desktop service or its login password in a Windows VM](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/reset-rdp)

For resetting root password, see [Manage users, SSH, and check or repair disks on Azure Linux VMs using the VMAccess Extension](https://docs.microsoft.com/troubleshoot/azure/virtual-machines/troubleshoot-ssh-connection)", + "x-ms-secret": true + }, + "customData": { + "type": "string", + "description": "Specifies a base-64 encoded string of custom data. The base-64 encoded string is decoded to a binary array that is saved as a file on the Virtual Machine. The maximum length of the binary array is 65535 bytes. **Note: Do not pass any secrets or passwords in customData property.** This property cannot be updated after the VM is created. The property 'customData' is passed to the VM to be saved as a file, for more information see [Custom Data on Azure VMs](https://azure.microsoft.com/blog/custom-data-and-cloud-init-on-windows-azure/). For using cloud-init for your Linux VM, see [Using cloud-init to customize a Linux VM during creation](https://docs.microsoft.com/azure/virtual-machines/linux/using-cloud-init)." + }, + "windowsConfiguration": { + "$ref": "#/definitions/WindowsConfiguration", + "description": "Specifies Windows operating system settings on the virtual machine." + }, + "linuxConfiguration": { + "$ref": "#/definitions/LinuxConfiguration", + "description": "Specifies the Linux operating system settings on the virtual machine. For a list of supported Linux distributions, see [Linux on Azure-Endorsed Distributions](https://docs.microsoft.com/azure/virtual-machines/linux/endorsed-distros)." + }, + "secrets": { + "type": "array", + "description": "Specifies set of certificates that should be installed onto the virtual machine. To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows).", + "items": { + "$ref": "#/definitions/VaultSecretGroup" + }, + "x-ms-identifiers": [ + "sourceVault/id" + ] + }, + "allowExtensionOperations": { + "type": "boolean", + "description": "Specifies whether extension operations should be allowed on the virtual machine. This may only be set to False when no extensions are present on the virtual machine." + }, + "requireGuestProvisionSignal": { + "type": "boolean", + "description": "Optional property which must either be set to True or omitted." + } + } + }, + "OperatingSystemTypes": { + "type": "string", + "description": "This property allows you to specify the supported type of the OS that application is built for. Possible values are: **Windows,** **Linux.**", + "enum": [ + "Windows", + "Linux" + ], + "x-ms-enum": { + "name": "OperatingSystemTypes", + "modelAsString": true, + "values": [ + { + "name": "Windows", + "value": "Windows", + "description": "Windows OS" + }, + { + "name": "Linux", + "value": "Linux", + "description": "Linux OS" + } + ] + } + }, + "OperationResponse": { + "type": "object", + "description": "Common model for operation response", + "properties": { + "description": { + "type": "string", + "description": "The description of the operation response" + }, + "type": { + "type": "string", + "description": "The type of resources used in the request eg virtual machines" + }, + "location": { + "$ref": "#/definitions/Azure.Core.azureLocation", + "description": "The location of the request eg westus", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "results": { + "type": "array", + "description": "The results from the request.", + "items": { + "$ref": "#/definitions/ResourceOperation" + }, + "x-ms-identifiers": [ + "resourceId" + ] + } + }, + "required": [ + "description", + "type", + "location" + ] + }, + "OperationState": { + "type": "string", + "description": "Values that define the states of operations in BulkActions", + "enum": [ + "Unknown", + "PendingScheduling", + "Scheduled", + "PendingExecution", + "Executing", + "Succeeded", + "Failed", + "Cancelled", + "Blocked" + ], + "x-ms-enum": { + "name": "OperationState", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown", + "description": "The default value for the operation state enum" + }, + { + "name": "PendingScheduling", + "value": "PendingScheduling", + "description": "Operations that are pending scheduling" + }, + { + "name": "Scheduled", + "value": "Scheduled", + "description": "Operations that have been scheduled" + }, + { + "name": "PendingExecution", + "value": "PendingExecution", + "description": "Operations that are waiting to be executed" + }, + { + "name": "Executing", + "value": "Executing", + "description": "Operations that are in the process of being executed" + }, + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Operations that succeeded" + }, + { + "name": "Failed", + "value": "Failed", + "description": "Operations that have failed" + }, + { + "name": "Cancelled", + "value": "Cancelled", + "description": "Operations that have been Cancelled by the user" + }, + { + "name": "Blocked", + "value": "Blocked", + "description": "Operations that are blocked" + } + ] + }, + "readOnly": true + }, + "OptimizationPreference": { + "type": "string", + "description": "The preferences customers can select to optimize their requests to Bulkactions", + "enum": [ + "Cost", + "Availability", + "CostAvailabilityBalanced" + ], + "x-ms-enum": { + "name": "OptimizationPreference", + "modelAsString": true, + "values": [ + { + "name": "Cost", + "value": "Cost", + "description": "Optimize while considering cost savings" + }, + { + "name": "Availability", + "value": "Availability", + "description": "Optimize while considering availability of resources" + }, + { + "name": "CostAvailabilityBalanced", + "value": "CostAvailabilityBalanced", + "description": "Optimize while considering a balance of cost and availability" + } + ] + } + }, + "PatchSettings": { + "type": "object", + "description": "Specifies settings related to VM Guest Patching on Windows.", + "properties": { + "patchMode": { + "$ref": "#/definitions/WindowsVMGuestPatchMode", + "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.

Possible values are:

**Manual** - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false

**AutomaticByOS** - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true.

**AutomaticByPlatform** - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true" + }, + "enableHotpatching": { + "type": "boolean", + "description": "Enables customers to patch their Azure VMs without requiring a reboot. For enableHotpatching, the 'provisionVMAgent' must be set to true and 'patchMode' must be set to 'AutomaticByPlatform'." + }, + "assessmentMode": { + "$ref": "#/definitions/WindowsPatchAssessmentMode", + "description": "Specifies the mode of VM Guest patch assessment for the IaaS virtual machine.

Possible values are:

**ImageDefault** - You control the timing of patch assessments on a virtual machine.

**AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true." + }, + "automaticByPlatformSettings": { + "$ref": "#/definitions/WindowsVMGuestPatchAutomaticByPlatformSettings", + "description": "Specifies additional settings for patch mode AutomaticByPlatform in VM Guest Patching on Windows." + } + } + }, + "PriorityProfile": { + "type": "object", + "description": "Contains properties that are applicable to both Spot and Regular.", + "properties": { + "type": { + "$ref": "#/definitions/VirtualMachineType", + "description": "Specifies the type of Virtual Machine." + }, + "maxPricePerVM": { + "type": "number", + "format": "float", + "description": "Price per hour of each Spot VM will never exceed this." + }, + "evictionPolicy": { + "$ref": "#/definitions/EvictionPolicy", + "description": "Eviction Policy to follow when evicting Spot VMs." + }, + "allocationStrategy": { + "$ref": "#/definitions/AllocationStrategy", + "description": "Allocation strategy to follow when determining the VM sizes distribution." + } + } + }, + "ProtocolTypes": { + "type": "string", + "description": "Specifies the protocol of WinRM listener. Possible values are: **http,** **https.**", + "enum": [ + "Http", + "Https" + ], + "x-ms-enum": { + "name": "ProtocolTypes", + "modelAsString": true, + "values": [ + { + "name": "Http", + "value": "Http", + "description": "Http protocol" + }, + { + "name": "Https", + "value": "Https", + "description": "Https protocol" + } + ] + } + }, + "ProvisioningState": { + "type": "string", + "description": "The status of the LaunchBulkInstancesOperation.", + "enum": [ + "Creating", + "Succeeded", + "Failed", + "Deleting", + "Canceled" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Creating", + "value": "Creating", + "description": "Initial creation in progress." + }, + { + "name": "Succeeded", + "value": "Succeeded", + "description": "The operation has completed successfully." + }, + { + "name": "Failed", + "value": "Failed", + "description": "The operation has failed." + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "Deletion in progress." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "The operation has been canceled." + } + ] + }, + "readOnly": true + }, + "ProxyAgentSettings": { + "type": "object", + "description": "Specifies ProxyAgent settings for the virtual machine or virtual machine scale set. Minimum api-version: 2023-09-01.", + "properties": { + "enabled": { + "type": "boolean", + "description": "Specifies whether ProxyAgent feature should be enabled on the virtual machine or virtual machine scale set." + }, + "mode": { + "$ref": "#/definitions/Mode", + "description": "Specifies the mode that ProxyAgent will execute on. Warning: this property has been deprecated, please specify 'mode' under particular hostendpoint setting." + }, + "keyIncarnationId": { + "type": "integer", + "format": "int32", + "description": "Increase the value of this property allows users to reset the key used for securing communication channel between guest and host." + }, + "wireServer": { + "$ref": "#/definitions/HostEndpointSettings", + "description": "Specifies the Wire Server endpoint settings while creating the virtual machine or virtual machine scale set. Minimum api-version: 2024-03-01." + }, + "imds": { + "$ref": "#/definitions/HostEndpointSettings", + "description": "Specifies the IMDS endpoint settings while creating the virtual machine or virtual machine scale set. Minimum api-version: 2024-03-01." + }, + "addProxyAgentExtension": { + "type": "boolean", + "description": "Specify whether to implicitly install the ProxyAgent Extension. This option is currently applicable only for Linux Os." + } + } + }, + "PublicIPAddressSku": { + "type": "object", + "description": "Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible.", + "properties": { + "name": { + "$ref": "#/definitions/PublicIPAddressSkuName", + "description": "Specify public IP sku name" + }, + "tier": { + "$ref": "#/definitions/PublicIPAddressSkuTier", + "description": "Specify public IP sku tier" + } + } + }, + "PublicIPAddressSkuName": { + "type": "string", + "description": "Specify public IP sku name", + "enum": [ + "Basic", + "Standard" + ], + "x-ms-enum": { + "name": "PublicIPAddressSkuName", + "modelAsString": true, + "values": [ + { + "name": "Basic", + "value": "Basic", + "description": "Basic IP sku name" + }, + { + "name": "Standard", + "value": "Standard", + "description": "Standard IP sku name" + } + ] + } + }, + "PublicIPAddressSkuTier": { + "type": "string", + "description": "Specify public IP sku tier", + "enum": [ + "Regional", + "Global" + ], + "x-ms-enum": { + "name": "PublicIPAddressSkuTier", + "modelAsString": true, + "values": [ + { + "name": "Regional", + "value": "Regional", + "description": "Regional IP address sku tier" + }, + { + "name": "Global", + "value": "Global", + "description": "Global IP address sku tier" + } + ] + } + }, + "PublicIPAllocationMethod": { + "type": "string", + "description": "Specify the public IP allocation type", + "enum": [ + "Dynamic", + "Static" + ], + "x-ms-enum": { + "name": "PublicIPAllocationMethod", + "modelAsString": true, + "values": [ + { + "name": "Dynamic", + "value": "Dynamic", + "description": "Dynamic IP allocation" + }, + { + "name": "Static", + "value": "Static", + "description": "Static IP allocation" + } + ] + } + }, + "ResourceNotificationDetails": { + "type": "object", + "description": "The common request model for power operations", + "properties": { + "operationContext": { + "type": "string", + "description": "Operation context for notification tracking" + } + } + }, + "ResourceOperation": { + "type": "object", + "description": "Top level response from an operation on a resource", + "properties": { + "resourceId": { + "type": "string", + "format": "arm-id", + "description": "Unique identifier for the resource involved in the operation, eg Azure Resource Manager ID", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Compute/vm" + } + ] + } + }, + "errorCode": { + "type": "string", + "description": "Resource level error code if it exists" + }, + "errorDetails": { + "type": "string", + "description": "Resource level error details if they exist" + }, + "operation": { + "$ref": "#/definitions/ResourceOperationDetails", + "description": "Details of the operation performed on a resource" + } + } + }, + "ResourceOperationDetails": { + "type": "object", + "description": "The details of a response from an operation on a resource", + "properties": { + "operationId": { + "type": "string", + "description": "Operation identifier for the unique operation" + }, + "resourceId": { + "type": "string", + "format": "arm-id", + "description": "Unique identifier for the resource involved in the operation, eg Azure Resource Manager ID", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Compute/vm" + } + ] + } + }, + "opType": { + "type": "string", + "description": "Type of operation performed on the resources", + "default": "Unknown", + "enum": [ + "Unknown", + "Start", + "Deallocate", + "Hibernate", + "Create", + "Delete" + ], + "x-ms-enum": { + "name": "ResourceOperationType", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown", + "description": "The default value for this enum type" + }, + { + "name": "Start", + "value": "Start", + "description": "Start operations on the resources" + }, + { + "name": "Deallocate", + "value": "Deallocate", + "description": "Deallocate operations on the resources" + }, + { + "name": "Hibernate", + "value": "Hibernate", + "description": "Hibernate operations on the resources" + }, + { + "name": "Create", + "value": "Create", + "description": "Create operations on the resources" + }, + { + "name": "Delete", + "value": "Delete", + "description": "Delete operations on the resources" + } + ] + } + }, + "subscriptionId": { + "type": "string", + "description": "Subscription id attached to the request" + }, + "deadline": { + "type": "string", + "format": "date-time", + "description": "Deadline for the operation" + }, + "deadlineType": { + "type": "string", + "description": "Type of deadline of the operation", + "default": "Unknown", + "enum": [ + "Unknown", + "InitiateAt", + "CompleteBy" + ], + "x-ms-enum": { + "name": "DeadlineType", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown", + "description": "Default value of Unknown." + }, + { + "name": "InitiateAt", + "value": "InitiateAt", + "description": "Initiate the operation at the given deadline." + }, + { + "name": "CompleteBy", + "value": "CompleteBy", + "description": "Complete the operation by the given deadline." + } + ] + } + }, + "state": { + "type": "string", + "description": "Current state of the operation", + "default": "Unknown", + "enum": [ + "Unknown", + "PendingScheduling", + "Scheduled", + "PendingExecution", + "Executing", + "Succeeded", + "Failed", + "Cancelled", + "Blocked" + ], + "x-ms-enum": { + "name": "OperationState", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown", + "description": "The default value for the operation state enum" + }, + { + "name": "PendingScheduling", + "value": "PendingScheduling", + "description": "Operations that are pending scheduling" + }, + { + "name": "Scheduled", + "value": "Scheduled", + "description": "Operations that have been scheduled" + }, + { + "name": "PendingExecution", + "value": "PendingExecution", + "description": "Operations that are waiting to be executed" + }, + { + "name": "Executing", + "value": "Executing", + "description": "Operations that are in the process of being executed" + }, + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Operations that succeeded" + }, + { + "name": "Failed", + "value": "Failed", + "description": "Operations that have failed" + }, + { + "name": "Cancelled", + "value": "Cancelled", + "description": "Operations that have been Cancelled by the user" + }, + { + "name": "Blocked", + "value": "Blocked", + "description": "Operations that are blocked" + } + ] + }, + "readOnly": true + }, + "timezone": { + "type": "string", + "description": "Timezone for the operation" + }, + "resourceOperationError": { + "$ref": "#/definitions/ResourceOperationError", + "description": "Operation level errors if they exist" + }, + "completedAt": { + "type": "string", + "format": "date-time", + "description": "Time the operation was complete if errors are null" + }, + "retryPolicy": { + "$ref": "#/definitions/RetryPolicy", + "description": "Retry policy the user can pass" + } + }, + "required": [ + "operationId" + ] + }, + "ResourceOperationError": { + "type": "object", + "description": "These describe errors that occur at the resource level", + "properties": { + "errorCode": { + "type": "string", + "description": "Code for the error eg 404, 500" + }, + "errorDetails": { + "type": "string", + "description": "Detailed message about the error" + } + }, + "required": [ + "errorCode", + "errorDetails" + ] + }, + "ResourceOperationType": { + "type": "string", + "description": "The kind of operation types that can be performed on resources eg Virtual Machines, using BulkActions", + "enum": [ + "Unknown", + "Start", + "Deallocate", + "Hibernate", + "Create", + "Delete" + ], + "x-ms-enum": { + "name": "ResourceOperationType", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown", + "description": "The default value for this enum type" + }, + { + "name": "Start", + "value": "Start", + "description": "Start operations on the resources" + }, + { + "name": "Deallocate", + "value": "Deallocate", + "description": "Deallocate operations on the resources" + }, + { + "name": "Hibernate", + "value": "Hibernate", + "description": "Hibernate operations on the resources" + }, + { + "name": "Create", + "value": "Create", + "description": "Create operations on the resources" + }, + { + "name": "Delete", + "value": "Delete", + "description": "Delete operations on the resources" + } + ] + } + }, + "ResourcePlanUpdate": { + "type": "object", + "description": "Resource plan updatable properties that are optional.", + "properties": { + "name": { + "type": "string", + "description": "A user defined name of the 3rd Party Artifact that is being procured." + }, + "publisher": { + "type": "string", + "description": "The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic" + }, + "product": { + "type": "string", + "description": "The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding." + }, + "promotionCode": { + "type": "string", + "description": "A publisher provided promotion code as provisioned in Data Market for the said product/artifact." + }, + "version": { + "type": "string", + "description": "The version of the desired product/artifact." + } + } + }, + "ResourceProvisionPayload": { + "type": "object", + "description": "Resource creation data model", + "properties": { + "baseProfile": { + "type": "object", + "description": "JSON object that contains VM properties that are common across all VMs in this batch (if you want to create 100 VMs in this request, and they all have same vmSize, then include vmSize in baseProfile)", + "additionalProperties": {} + }, + "resourceOverrides": { + "type": "array", + "description": "JSON array, that contains VM properties that should to be overridden for each VM in the batch (if you want to create 100 VMs, they all need a distinct computerName property, you pass computerNames for each VM in batch in this array), service will merge baseProfile with VM specific overrides and create a merged VMProfile.", + "items": { + "type": "object", + "additionalProperties": {} + } + }, + "resourceCount": { + "type": "integer", + "format": "int32", + "description": "Number of VMs to be created" + }, + "resourcePrefix": { + "type": "string", + "description": "if resourceOverrides doesn't contain \"name\", service will create name based of prefix and ResourceCount e.g. resourceprefix-0,resourceprefix-1.." + } + }, + "required": [ + "resourceCount" + ] + }, + "ResourceWithContext": { + "type": "object", + "description": "The resources needed for the user request with the correlationId", + "properties": { + "id": { + "type": "string", + "format": "arm-id", + "description": "The resource ids used for the request", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Compute/vm" + } + ] + } + }, + "context": { + "type": "string", + "description": "The operational context of the resourceId" + } + }, + "required": [ + "id", + "context" + ] + }, + "Resources": { + "type": "object", + "description": "The resources needed for the user request", + "properties": { + "ids": { + "type": "array", + "description": "The resource ids used for the request", + "items": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Compute/vm" + } + ] + } + } + } + }, + "required": [ + "ids" + ] + }, + "ResourcesWithContext": { + "type": "object", + "description": "The resources needed for the user request with the context for tracking purposes", + "properties": { + "ids": { + "type": "array", + "description": "The resource ids used for the request", + "items": { + "$ref": "#/definitions/ResourceWithContext" + } + } + }, + "required": [ + "ids" + ] + }, + "RetryPolicy": { + "type": "object", + "description": "The retry policy for the user request", + "properties": { + "retryCount": { + "type": "integer", + "format": "int32", + "description": "Retry count for user request" + }, + "retryWindowInMinutes": { + "type": "integer", + "format": "int32", + "description": "Retry window in minutes for user request" + } + } + }, + "Schedule": { + "type": "object", + "description": "The schedule details for the user request", + "properties": { + "deadline": { + "type": "string", + "format": "date-time", + "description": "The deadline for the operation" + }, + "timezone": { + "type": "string", + "description": "The timezone for the operation" + }, + "deadlineType": { + "type": "string", + "description": "The deadlinetype of the operation, this can either be InitiateAt or CompleteBy", + "default": "Unknown", + "enum": [ + "Unknown", + "InitiateAt", + "CompleteBy" + ], + "x-ms-enum": { + "name": "DeadlineType", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown", + "description": "Default value of Unknown." + }, + { + "name": "InitiateAt", + "value": "InitiateAt", + "description": "Initiate the operation at the given deadline." + }, + { + "name": "CompleteBy", + "value": "CompleteBy", + "description": "Complete the operation by the given deadline." + } + ] + } + } + }, + "required": [ + "deadlineType" + ] + }, + "ScheduledEventsAdditionalPublishingTargets": { + "type": "object", + "description": "Specifies additional publishing targets for scheduled events.", + "properties": { + "eventGridAndResourceGraph": { + "$ref": "#/definitions/EventGridAndResourceGraph", + "description": "The configuration parameters used while creating eventGridAndResourceGraph Scheduled Event setting." + } + } + }, + "ScheduledEventsPolicy": { + "type": "object", + "description": "Specifies Redeploy, Reboot and ScheduledEventsAdditionalPublishingTargets Scheduled Event related configurations.", + "properties": { + "userInitiatedRedeploy": { + "$ref": "#/definitions/UserInitiatedRedeploy", + "description": "The configuration parameters used while creating userInitiatedRedeploy scheduled event setting creation." + }, + "userInitiatedReboot": { + "$ref": "#/definitions/UserInitiatedReboot", + "description": "The configuration parameters used while creating userInitiatedReboot scheduled event setting creation." + }, + "scheduledEventsAdditionalPublishingTargets": { + "$ref": "#/definitions/ScheduledEventsAdditionalPublishingTargets", + "description": "The configuration parameters used while publishing scheduledEventsAdditionalPublishingTargets." + }, + "allInstancesDown": { + "$ref": "#/definitions/AllInstancesDown", + "description": "The configuration parameters used while creating AllInstancesDown scheduled event setting creation." + } + } + }, + "ScheduledEventsProfile": { + "type": "object", + "description": "Profile for the scheduled events.", + "properties": { + "terminateNotificationProfile": { + "$ref": "#/definitions/TerminateNotificationProfile", + "description": "Specifies Terminate Scheduled Event related configurations." + }, + "osImageNotificationProfile": { + "$ref": "#/definitions/OSImageNotificationProfile", + "description": "Specifies OS Image Scheduled Event related configurations." + } + } + }, + "SecurityEncryptionTypes": { + "type": "string", + "description": "Specifies the EncryptionType of the managed disk. It is set to DiskWithVMGuestState for encryption of the managed disk along with VMGuestState blob, VMGuestStateOnly for encryption of just the VMGuestState blob, and NonPersistedTPM for not persisting firmware state in the VMGuestState blob.. **Note:** It can be set for only Confidential VMs.", + "enum": [ + "VMGuestStateOnly", + "DiskWithVMGuestState", + "NonPersistedTPM" + ], + "x-ms-enum": { + "name": "SecurityEncryptionTypes", + "modelAsString": true, + "values": [ + { + "name": "VMGuestStateOnly", + "value": "VMGuestStateOnly", + "description": "VMGuestStateOnly encryption" + }, + { + "name": "DiskWithVMGuestState", + "value": "DiskWithVMGuestState", + "description": "DiskWithVMGuestState encryption" + }, + { + "name": "NonPersistedTPM", + "value": "NonPersistedTPM", + "description": "NonPersistedTPM encryption" + } + ] + } + }, + "SecurityProfile": { + "type": "object", + "description": "Specifies the Security profile settings for the virtual machine or virtual machine scale set.", + "properties": { + "uefiSettings": { + "$ref": "#/definitions/UefiSettings", + "description": "Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum compute api-version: 2020-12-01." + }, + "encryptionAtHost": { + "type": "boolean", + "description": "This property can be used by user in the request to enable or disable the Host Encryption for the virtual machine or virtual machine scale set. This will enable the encryption for all the disks including Resource/Temp disk at host itself. The default behavior is: The Encryption at host will be disabled unless this property is set to true for the resource." + }, + "securityType": { + "$ref": "#/definitions/SecurityTypes", + "description": "Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings. The default behavior is: UefiSettings will not be enabled unless this property is set." + }, + "encryptionIdentity": { + "$ref": "#/definitions/EncryptionIdentity", + "description": "Specifies the Managed Identity used by ADE to get access token for keyvault operations." + }, + "proxyAgentSettings": { + "$ref": "#/definitions/ProxyAgentSettings", + "description": "Specifies ProxyAgent settings while creating the virtual machine. Minimum compute api-version: 2023-09-01." + } + } + }, + "SecurityTypes": { + "type": "string", + "description": "Specifies the SecurityType of the virtual machine. It has to be set to any specified value to enable UefiSettings. The default behavior is: UefiSettings will not be enabled unless this property is set.", + "enum": [ + "TrustedLaunch", + "ConfidentialVM" + ], + "x-ms-enum": { + "name": "SecurityTypes", + "modelAsString": true, + "values": [ + { + "name": "TrustedLaunch", + "value": "TrustedLaunch", + "description": "TrustedLaunch security type" + }, + { + "name": "ConfidentialVM", + "value": "ConfidentialVM", + "description": "ConfidentialVM security type" + } + ] + } + }, + "SettingNames": { + "type": "string", + "description": "Specifies the name of the setting to which the content applies. Possible values are: FirstLogonCommands and AutoLogon.", + "enum": [ + "AutoLogon", + "FirstLogonCommands" + ], + "x-ms-enum": { + "name": "SettingNames", + "modelAsString": true, + "values": [ + { + "name": "AutoLogon", + "value": "AutoLogon", + "description": "AutoLogon mode" + }, + { + "name": "FirstLogonCommands", + "value": "FirstLogonCommands", + "description": "FirstLogonCommands mode" + } + ] + } + }, + "SshConfiguration": { + "type": "object", + "description": "SSH configuration for Linux based VMs running on Azure", + "properties": { + "publicKeys": { + "type": "array", + "description": "The list of SSH public keys used to authenticate with linux based VMs.", + "items": { + "$ref": "#/definitions/SshPublicKey" + }, + "x-ms-identifiers": [ + "path" + ] + } + } + }, + "SshPublicKey": { + "type": "object", + "description": "Contains information about SSH certificate public key and the path on the Linux VM where the public key is placed.", + "properties": { + "path": { + "type": "string", + "description": "Specifies the full path on the created VM where ssh public key is stored. If the file already exists, the specified key is appended to the file. Example: /home/user/.ssh/authorized_keys" + }, + "keyData": { + "type": "string", + "description": "SSH public key certificate used to authenticate with the VM through ssh. The key needs to be at least 2048-bit and in ssh-rsa format. For creating ssh keys, see [Create SSH keys on Linux and Mac for Linux VMs in Azure]https://docs.microsoft.com/azure/virtual-machines/linux/create-ssh-keys-detailed)." + } + } + }, + "StartResourceOperationResponse": { + "type": "object", + "description": "The response from a start request", + "properties": { + "description": { + "type": "string", + "description": "The description of the operation response" + }, + "type": { + "type": "string", + "description": "The type of resources used in the request eg virtual machines" + }, + "location": { + "$ref": "#/definitions/Azure.Core.azureLocation", + "description": "The location of the request eg westus", + "x-ms-mutability": [ + "read", + "create" + ] + }, + "results": { + "type": "array", + "description": "The results from the request.", + "items": { + "$ref": "#/definitions/ResourceOperation" + }, + "x-ms-identifiers": [ + "resourceId" + ] + } + }, + "required": [ + "description", + "type", + "location" + ] + }, + "StorageAccountTypes": { + "type": "string", + "description": "Specifies the storage account type for the managed disk. Managed OS disk storage account type can only be set when you create the scale set. NOTE: UltraSSD_LRS can only be used with data disks. It cannot be used with OS Disk. Standard_LRS uses Standard HDD. StandardSSD_LRS uses Standard SSD. Premium_LRS uses Premium SSD. UltraSSD_LRS uses Ultra disk. Premium_ZRS uses Premium SSD zone redundant storage. StandardSSD_ZRS uses Standard SSD zone redundant storage. For more information regarding disks supported for Windows Virtual Machines, refer to https://docs.microsoft.com/azure/virtual-machines/windows/disks-types and, for Linux Virtual Machines, refer to https://docs.microsoft.com/azure/virtual-machines/linux/disks-types", + "enum": [ + "Standard_LRS", + "Premium_LRS", + "StandardSSD_LRS", + "UltraSSD_LRS", + "Premium_ZRS", + "StandardSSD_ZRS", + "PremiumV2_LRS" + ], + "x-ms-enum": { + "name": "StorageAccountTypes", + "modelAsString": true, + "values": [ + { + "name": "Standard_LRS", + "value": "Standard_LRS", + "description": "Standard_LRS storage account type" + }, + { + "name": "Premium_LRS", + "value": "Premium_LRS", + "description": "Premium_LRS storage account type" + }, + { + "name": "StandardSSD_LRS", + "value": "StandardSSD_LRS", + "description": "StandardSSD_LRS storage account type" + }, + { + "name": "UltraSSD_LRS", + "value": "UltraSSD_LRS", + "description": "UltraSSD_LRS storage account type" + }, + { + "name": "Premium_ZRS", + "value": "Premium_ZRS", + "description": "Premium_ZRS storage account type" + }, + { + "name": "StandardSSD_ZRS", + "value": "StandardSSD_ZRS", + "description": "StandardSSD_ZRS storage account type" + }, + { + "name": "PremiumV2_LRS", + "value": "PremiumV2_LRS", + "description": "PremiumV2_LRS storage account type" + } + ] + } + }, + "StorageProfile": { + "type": "object", + "description": "Specifies the storage settings for the virtual machine disks.", + "properties": { + "imageReference": { + "$ref": "#/definitions/ImageReference", + "description": "Specifies information about the image to use. You can specify information about platform images, marketplace images, or virtual machine images. This element is required when you want to use a platform image, marketplace image, or virtual machine image, but is not used in other creation operations." + }, + "osDisk": { + "$ref": "#/definitions/OSDisk", + "description": "Specifies information about the operating system disk used by the virtual machine. For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview)." + }, + "dataDisks": { + "type": "array", + "description": "Specifies the parameters that are used to add a data disk to a virtual machine. For more information about disks, see [About disks and VHDs for Azure virtual machines](https://docs.microsoft.com/azure/virtual-machines/managed-disks-overview).", + "items": { + "$ref": "#/definitions/DataDisk" + }, + "x-ms-identifiers": [ + "lun" + ] + }, + "diskControllerType": { + "$ref": "#/definitions/DiskControllerTypes", + "description": "Specifies the disk controller type configured for the VM. **Note:** This property will be set to the default disk controller type if not specified provided virtual machine is being created with 'hyperVGeneration' set to V2 based on the capabilities of the operating system disk and VM size from the the specified minimum api version. You need to deallocate the VM before updating its disk controller type unless you are updating the VM size in the VM configuration which implicitly deallocates and reallocates the VM. Minimum api-version: 2022-08-01." + } + } + }, + "SubResource": { + "type": "object", + "description": "Describes a reference to a sub-resource.", + "properties": { + "id": { + "type": "string", + "description": "The ID of the sub-resource." + } + } + }, + "TerminateNotificationProfile": { + "type": "object", + "description": "Profile properties for the Terminate Scheduled event.", + "properties": { + "notBeforeTimeout": { + "type": "string", + "description": "Configurable length of time a Virtual Machine being deleted will have to potentially approve the Terminate Scheduled Event before the event is auto approved (timed out). The configuration must be specified in ISO 8601 format, the default value is 5 minutes (PT5M)" + }, + "enable": { + "type": "boolean", + "description": "Specifies whether the Terminate Scheduled event is enabled or disabled." + } + } + }, + "UefiSettings": { + "type": "object", + "description": "Specifies the security settings like secure boot and vTPM used while creating the virtual machine. Minimum api-version: 2020-12-01.", + "properties": { + "secureBootEnabled": { + "type": "boolean", + "description": "Specifies whether secure boot should be enabled on the virtual machine. Minimum compute api-version: 2020-12-01." + }, + "vTpmEnabled": { + "type": "boolean", + "description": "Specifies whether vTPM should be enabled on the virtual machine. Minimum compute api-version: 2020-12-01." + } + } + }, + "UserInitiatedReboot": { + "type": "object", + "description": "Specifies Reboot related Scheduled Event related configurations.", + "properties": { + "automaticallyApprove": { + "type": "boolean", + "description": "Specifies Reboot Scheduled Event related configurations." + } + } + }, + "UserInitiatedRedeploy": { + "type": "object", + "description": "Specifies Redeploy related Scheduled Event related configurations.", + "properties": { + "automaticallyApprove": { + "type": "boolean", + "description": "Specifies Redeploy Scheduled Event related configurations." + } + } + }, + "VMAttributeMinMaxDouble": { + "type": "object", + "description": "VMAttributes using double values.", + "properties": { + "min": { + "type": "number", + "format": "double", + "description": "Minimum value. If not specified, no minimum filter is applied.", + "minimum": 0 + }, + "max": { + "type": "number", + "format": "double", + "description": "Maximum value. Must be greater than zero. Double.MaxValue(1.7976931348623157E+308).", + "minimum": 0 + } + } + }, + "VMAttributeMinMaxInteger": { + "type": "object", + "description": "While retrieving VMSizes from CRS, Min = 0 (uint.MinValue) if not specified, Max = 4294967295 (uint.MaxValue) if not specified. This allows to filter VMAttributes on all available VMSizes.", + "properties": { + "min": { + "type": "integer", + "format": "int32", + "description": "Min VMSize from CRS, Min = 0 (uint.MinValue) if not specified.", + "minimum": 0 + }, + "max": { + "type": "integer", + "format": "int32", + "description": "Max VMSize from CRS, Max = 4294967295 (uint.MaxValue) if not specified.", + "minimum": 0 + } + } + }, + "VMAttributeSupport": { + "type": "string", + "description": "VMSizes supported by Azure VMs. Included is a union of Excluded and Required.", + "enum": [ + "Excluded", + "Included", + "Required" + ], + "x-ms-enum": { + "name": "VMAttributeSupport", + "modelAsString": true, + "values": [ + { + "name": "Excluded", + "value": "Excluded", + "description": "All VMSizes having the feature support will be excluded." + }, + { + "name": "Included", + "value": "Included", + "description": " VMSizes that have the feature support and that do not have the feature support will be used. Included is a union of Excluded and Required." + }, + { + "name": "Required", + "value": "Required", + "description": "Only the VMSizes having the feature support will be used." + } + ] + } + }, + "VMAttributes": { + "type": "object", + "description": "VMAttributes that will be used to filter VMSizes which will be used to launch instances.", + "properties": { + "vCpuCount": { + "$ref": "#/definitions/VMAttributeMinMaxInteger", + "description": "The range of vCpuCount specified from Min to Max. Must be specified if VMAttributes are specified, either Min or Max is required if specified." + }, + "memoryInGiB": { + "$ref": "#/definitions/VMAttributeMinMaxDouble", + "description": "The range of memory specified from Min to Max. Must be specified if VMAttributes are specified, either Min or Max is required if specified." + }, + "architectureTypes": { + "type": "array", + "description": "The VM architecture types specified as a list. Must be specified if VMAttributes are specified. Must be compatible with image used.", + "items": { + "$ref": "#/definitions/ArchitectureType" + } + }, + "memoryInGiBPerVCpu": { + "$ref": "#/definitions/VMAttributeMinMaxDouble", + "description": "The range of memory in GiB per vCPU specified from min to max. Optional parameter. Either Min or Max is required if specified." + }, + "localStorageSupport": { + "$ref": "#/definitions/VMAttributeSupport", + "description": "Specifies whether the VMSize supporting local storage should be used to launch instances or not.\nIncluded - Default if not specified as most Azure VMs support local storage." + }, + "localStorageInGiB": { + "$ref": "#/definitions/VMAttributeMinMaxDouble", + "description": "LocalStorageSupport should be set to \"Included\" or \"Required\" to use this VMAttribute. \nIf localStorageSupport is \"Excluded\", this VMAttribute can not be used." + }, + "localStorageDiskTypes": { + "type": "array", + "description": "The local storage disk types specified as a list. LocalStorageSupport should be set to \"Included\" or \"Required\" to use this VMAttribute. \nIf localStorageSupport is \"Excluded\", this VMAttribute can not be used.", + "items": { + "$ref": "#/definitions/LocalStorageDiskType" + } + }, + "dataDiskCount": { + "$ref": "#/definitions/VMAttributeMinMaxInteger", + "description": "The range of data disk count specified from Min to Max. Optional parameter. Either Min or Max is required if specified." + }, + "networkInterfaceCount": { + "$ref": "#/definitions/VMAttributeMinMaxInteger", + "description": "The range of network interface count specified from Min to Max. Optional parameter. Either Min or Max is required if specified." + }, + "networkBandwidthInMbps": { + "$ref": "#/definitions/VMAttributeMinMaxDouble", + "description": "The range of network bandwidth in Mbps specified from Min to Max. Optional parameter. Either Min or Max is required if specified." + }, + "rdmaSupport": { + "$ref": "#/definitions/VMAttributeSupport", + "description": "Specifies whether the VMSize supporting RDMA (Remote Direct Memory Access) should be used to build launch instances or not." + }, + "rdmaNetworkInterfaceCount": { + "$ref": "#/definitions/VMAttributeMinMaxInteger", + "description": "The range of RDMA (Remote Direct Memory Access) network interface count specified from Min to Max. Optional parameter. Either Min or Max is required if specified.\nrdmaSupport should be set to \"Included\" or \"Required\" to use this VMAttribute. \nIf rdmaSupport is \"Excluded\", this VMAttribute can not be used." + }, + "acceleratorSupport": { + "$ref": "#/definitions/VMAttributeSupport", + "description": "Specifies whether the VMSize supporting accelerator should be used to launch instances or not.\nacceleratorSupport should be set to \"Included\" or \"Required\" to use this VMAttribute. \nIf acceleratorSupport is \"Excluded\", this VMAttribute can not be used." + }, + "acceleratorManufacturers": { + "type": "array", + "description": "The accelerator manufacturers specified as a list. \nacceleratorSupport should be set to \"Included\" or \"Required\" to use this VMAttribute. \nIf acceleratorSupport is \"Excluded\", this VMAttribute can not be used.", + "items": { + "$ref": "#/definitions/AcceleratorManufacturer" + } + }, + "acceleratorTypes": { + "type": "array", + "description": "The accelerator types specified as a list. acceleratorSupport should be set to \"Included\" or \"Required\" to use this VMAttribute. \nIf acceleratorSupport is \"Excluded\", this VMAttribute can not be used.", + "items": { + "$ref": "#/definitions/AcceleratorType" + } + }, + "acceleratorCount": { + "$ref": "#/definitions/VMAttributeMinMaxInteger", + "description": "The range of accelerator count specified from min to max. Optional parameter. Either Min or Max is required if specified.\nacceleratorSupport should be set to \"Included\" or \"Required\" to use this VMAttribute. \nIf acceleratorSupport is \"Excluded\", this VMAttribute can not be used." + }, + "vmCategories": { + "type": "array", + "description": "The VM category specified as a list. Optional parameter.", + "items": { + "$ref": "#/definitions/VMCategory" + } + }, + "cpuManufacturers": { + "type": "array", + "description": "The VM CPU manufacturers specified as a list. Optional parameter.", + "items": { + "$ref": "#/definitions/CpuManufacturer" + } + }, + "hyperVGenerations": { + "type": "array", + "description": "The hyperV generations specified as a list. Optional parameter.", + "items": { + "$ref": "#/definitions/HyperVGeneration" + } + }, + "burstableSupport": { + "$ref": "#/definitions/VMAttributeSupport", + "description": "Specifies whether the VMSize supporting burstable capability should be used to launch instances or not." + }, + "allowedVMSizes": { + "type": "array", + "description": "Specifies which VMSizes should be allowed while filtering on VMAttributes. Cannot be specified together with excludedVMSizes. Maximum of 10 VM sizes allowed. Optional parameter.", + "items": { + "type": "string" + } + }, + "excludedVMSizes": { + "type": "array", + "description": "Specifies which VMSizes should be excluded while filtering on VMAttributes. Cannot be specified together with allowedVMSizes. Maximum of 10 VM sizes allowed. Optional parameter.", + "items": { + "type": "string" + } + } + }, + "required": [ + "vCpuCount", + "memoryInGiB", + "architectureTypes" + ] + }, + "VMCategory": { + "type": "string", + "description": " VMCategories defined for Azure VMs.\n See: https://learn.microsoft.com/en-us/azure/virtual-machines/sizes/overview?tabs=breakdownseries%2Cgeneralsizelist%2Ccomputesizelist%2Cmemorysizelist%2Cstoragesizelist%2Cgpusizelist%2Cfpgasizelist%2Chpcsizelist#general-purpose", + "enum": [ + "GeneralPurpose", + "ComputeOptimized", + "MemoryOptimized", + "StorageOptimized", + "GpuAccelerated", + "FpgaAccelerated", + "HighPerformanceCompute" + ], + "x-ms-enum": { + "name": "VMCategory", + "modelAsString": true, + "values": [ + { + "name": "GeneralPurpose", + "value": "GeneralPurpose", + "description": " General purpose VM sizes provide balanced CPU-to-memory ratio. Ideal for testing and development, small to medium databases, and low to medium traffic web servers." + }, + { + "name": "ComputeOptimized", + "value": "ComputeOptimized", + "description": " Compute optimized VM sizes have a high CPU-to-memory ratio. These sizes are good for medium traffic web servers, network appliances, batch processes, and application servers." + }, + { + "name": "MemoryOptimized", + "value": "MemoryOptimized", + "description": " Memory optimized VM sizes offer a high memory-to-CPU ratio that is great for relational database servers, medium to large caches, and in-memory analytics." + }, + { + "name": "StorageOptimized", + "value": "StorageOptimized", + "description": " Storage optimized virtual machine (VM) sizes offer high disk throughput and IO, and are ideal for Big Data, SQL, NoSQL databases, data warehousing, and large transactional databases. \n Examples include Cassandra, MongoDB, Cloudera, and Redis." + }, + { + "name": "GpuAccelerated", + "value": "GpuAccelerated", + "description": " GPU optimized VM sizes are specialized virtual machines available with single, multiple, or fractional GPUs. \n These sizes are designed for compute-intensive, graphics-intensive, and visualization workloads." + }, + { + "name": "FpgaAccelerated", + "value": "FpgaAccelerated", + "description": " FPGA optimized VM sizes are specialized virtual machines available with single or multiple FPGA. \n These sizes are designed for compute-intensive workloads. This article provides information about the number and type of FPGA, vCPUs, data disks, and NICs. \n Storage throughput and network bandwidth are also included for each size in this grouping." + }, + { + "name": "HighPerformanceCompute", + "value": "HighPerformanceCompute", + "description": " Azure High Performance Compute VMs are optimized for various HPC workloads such as computational fluid dynamics, finite element analysis, frontend and backend EDA, \n rendering, molecular dynamics, computational geo science, weather simulation, and financial risk analysis." + } + ] + } + }, + "VMDiskSecurityProfile": { + "type": "object", + "description": "Specifies the security profile settings for the managed disk. **Note:** It can only be set for Confidential VMs.", + "properties": { + "securityEncryptionType": { + "$ref": "#/definitions/SecurityEncryptionTypes", + "description": "Specifies the EncryptionType of the managed disk. It is set to DiskWithVMGuestState for encryption of the managed disk along with VMGuestState blob, VMGuestStateOnly for encryption of just the VMGuestState blob, and NonPersistedTPM for not persisting firmware state in the VMGuestState blob.. **Note:** It can be set for only Confidential VMs." + }, + "diskEncryptionSet": { + "$ref": "#/definitions/DiskEncryptionSetParameters", + "description": "Specifies the customer managed disk encryption set resource id for the managed disk that is used for Customer Managed Key encrypted ConfidentialVM OS Disk and VMGuest blob." + } + } + }, + "VMGalleryApplication": { + "type": "object", + "description": "Specifies the required information to reference a compute gallery application version", + "properties": { + "tags": { + "type": "string", + "description": "Optional, Specifies a passthrough value for more generic context." + }, + "order": { + "type": "integer", + "format": "int32", + "description": "Optional, Specifies the order in which the packages have to be installed" + }, + "packageReferenceId": { + "type": "string", + "description": "Specifies the GalleryApplicationVersion resource id on the form of /subscriptions/{SubscriptionId}/resourceGroups/{ResourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{application}/versions/{version}" + }, + "configurationReference": { + "type": "string", + "description": "Optional, Specifies the uri to an azure blob that will replace the default configuration for the package if provided" + }, + "treatFailureAsDeploymentFailure": { + "type": "boolean", + "description": "Optional, If true, any failure for any operation in the VmApplication will fail the deployment" + }, + "enableAutomaticUpgrade": { + "type": "boolean", + "description": "If set to true, when a new Gallery Application version is available in PIR/SIG, it will be automatically updated for the VM/VMSS" + } + }, + "required": [ + "packageReferenceId" + ] + }, + "VMOperationStatus": { + "type": "string", + "description": "Virtual Machine operation status values.", + "enum": [ + "Creating", + "Canceled", + "CancelFailedStatusUnknown", + "Failed", + "Succeeded", + "Deleting", + "Cancelling" + ], + "x-ms-enum": { + "name": "VMOperationStatus", + "modelAsString": true, + "values": [ + { + "name": "Creating", + "value": "Creating", + "description": "Indicates that the virtual machine is either in the process of being created or is scheduled to be created." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Indicates that the cancellation request was successful because the virtual machine had not been created yet." + }, + { + "name": "CancelFailedStatusUnknown", + "value": "CancelFailedStatusUnknown", + "description": "Indicates that the cancellation request could not be applied because the virtual machine had already been created." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Indicates that the virtual machine operation failed." + }, + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Indicates that the virtual machine operation completed successfully." + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "Indicates that the virtual machine is being deleted." + }, + { + "name": "Cancelling", + "value": "Cancelling", + "description": "Indicates that the virtual machine operation is being cancelled." + } + ] + }, + "readOnly": true + }, + "VaultCertificate": { + "type": "object", + "description": "Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM.", + "properties": { + "certificateUrl": { + "type": "string", + "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:

{
'data':'',
'dataType':'pfx',
'password':''
}
To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows)." + }, + "certificateStore": { + "type": "string", + "description": "For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account. For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name .crt for the X509 certificate file and .prv for private key. Both of these files are .pem formatted." + } + } + }, + "VaultSecretGroup": { + "type": "object", + "description": "Describes a set of certificates which are all in the same Key Vault.", + "properties": { + "sourceVault": { + "$ref": "#/definitions/SubResource", + "description": "The relative URL of the Key Vault containing all of the certificates in VaultCertificates." + }, + "vaultCertificates": { + "type": "array", + "description": "The list of key vault references in SourceVault which contain certificates.", + "items": { + "$ref": "#/definitions/VaultCertificate" + }, + "x-ms-identifiers": [ + "certificateUrl" + ] + } + } + }, + "VirtualHardDisk": { + "type": "object", + "description": "Describes the uri of a disk.", + "properties": { + "uri": { + "type": "string", + "description": "Specifies the virtual hard disk's uri." + } + } + }, + "VirtualMachine": { + "type": "object", + "description": "An instant Fleet's virtual machine.", + "properties": { + "name": { + "type": "string", + "description": "The name of the virtual machine.", + "readOnly": true + }, + "id": { + "type": "string", + "format": "arm-id", + "description": "The compute RP resource id of the virtual machine. subscriptions/{subId}/resourceGroups/{rgName}/providers/Microsoft.Compute/virtualMachines/{vmName}", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Type of the virtual machine", + "readOnly": true + }, + "operationStatus": { + "$ref": "#/definitions/VMOperationStatus", + "description": "This represents the operationStatus of the virtual machine in response to the last operation that was performed on it by Azure Fleet resource.", + "readOnly": true + }, + "error": { + "$ref": "#/definitions/ApiError", + "description": "Error information when `operationStatus` is `Failed`.", + "readOnly": true + } + }, + "required": [ + "name", + "id", + "operationStatus" + ] + }, + "VirtualMachineExtension": { + "type": "object", + "description": "Defines a virtual machine extension.", + "properties": { + "name": { + "type": "string", + "description": "The name of the virtual machine extension." + }, + "properties": { + "$ref": "#/definitions/VirtualMachineExtensionProperties", + "description": "Properties of the virtual machine extension." + } + }, + "required": [ + "name", + "properties" + ] + }, + "VirtualMachineExtensionProperties": { + "type": "object", + "description": "Describes the properties of a Virtual Machine Extension.", + "properties": { + "forceUpdateTag": { + "type": "string", + "description": "How the extension handler should be forced to update even if the extension configuration has not changed." + }, + "publisher": { + "type": "string", + "description": "The name of the extension handler publisher." + }, + "type": { + "type": "string", + "description": "Specifies the type of the extension; an example is 'CustomScriptExtension'." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Specifies the version of the script handler." + }, + "autoUpgradeMinorVersion": { + "type": "boolean", + "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true." + }, + "enableAutomaticUpgrade": { + "type": "boolean", + "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available." + }, + "settings": { + "type": "object", + "description": "JSON formatted public settings for the extension.", + "additionalProperties": {} + }, + "protectedSettings": { + "type": "object", + "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all.", + "additionalProperties": {} + }, + "suppressFailures": { + "type": "boolean", + "description": "Indicates whether failures stemming from the extension will be suppressed (Operational failures such as not connecting to the VM will not be suppressed regardless of this value). The default is false." + }, + "protectedSettingsFromKeyVault": { + "$ref": "#/definitions/KeyVaultSecretReference", + "description": "The extensions protected settings that are passed by reference, and consumed from key vault" + }, + "provisionAfterExtensions": { + "type": "array", + "description": "Collection of extension names after which this extension needs to be provisioned.", + "items": { + "type": "string" + } + } + } + }, + "VirtualMachineIpTag": { + "type": "object", + "description": "Contains the IP tag associated with the public IP address.", + "properties": { + "ipTagType": { + "type": "string", + "description": "IP tag type. Example: FirstPartyUsage." + }, + "tag": { + "type": "string", + "description": "IP tag associated with the public IP. Example: SQL, Storage etc." + } + } + }, + "VirtualMachineListResult": { + "type": "object", + "description": "The response of a virtual machine list operation.", + "properties": { + "value": { + "type": "array", + "description": "The Virtual Machine items on this page.", + "items": { + "$ref": "#/definitions/VirtualMachine" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items." + } + }, + "required": [ + "value" + ] + }, + "VirtualMachineNetworkInterfaceConfiguration": { + "type": "object", + "description": "Describes a virtual machine network interface configurations.", + "properties": { + "name": { + "type": "string", + "description": "The network interface configuration name." + }, + "properties": { + "$ref": "#/definitions/VirtualMachineNetworkInterfaceConfigurationProperties", + "description": "Describes a virtual machine network profile's IP configuration." + }, + "tags": { + "type": "object", + "description": "Resource tags applied to the networkInterface address created by this NetworkInterfaceConfiguration", + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "name" + ] + }, + "VirtualMachineNetworkInterfaceConfigurationProperties": { + "type": "object", + "description": "Describes a virtual machine network profile's IP configuration.", + "properties": { + "primary": { + "type": "boolean", + "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface." + }, + "deleteOption": { + "$ref": "#/definitions/DeleteOptions", + "description": "Specify what happens to the network interface when the VM is deleted" + }, + "enableAcceleratedNetworking": { + "type": "boolean", + "description": "Specifies whether the network interface is accelerated networking-enabled." + }, + "disableTcpStateTracking": { + "type": "boolean", + "description": "Specifies whether the network interface is disabled for tcp state tracking." + }, + "enableFpga": { + "type": "boolean", + "description": "Specifies whether the network interface is FPGA networking-enabled." + }, + "enableIPForwarding": { + "type": "boolean", + "description": "Whether IP forwarding enabled on this NIC." + }, + "networkSecurityGroup": { + "$ref": "#/definitions/SubResource", + "description": "The network security group." + }, + "dnsSettings": { + "$ref": "#/definitions/VirtualMachineNetworkInterfaceDnsSettingsConfiguration", + "description": "The dns settings to be applied on the network interfaces." + }, + "ipConfigurations": { + "type": "array", + "description": "Specifies the IP configurations of the network interface.", + "items": { + "$ref": "#/definitions/VirtualMachineNetworkInterfaceIPConfiguration" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "dscpConfiguration": { + "$ref": "#/definitions/SubResource", + "description": "The DSCP configuration for the network interface." + }, + "auxiliaryMode": { + "$ref": "#/definitions/NetworkInterfaceAuxiliaryMode", + "description": "Specifies whether the Auxiliary mode is enabled for the Network Interface resource." + }, + "auxiliarySku": { + "$ref": "#/definitions/NetworkInterfaceAuxiliarySku", + "description": "Specifies whether the Auxiliary sku is enabled for the Network Interface resource." + } + }, + "required": [ + "ipConfigurations" + ] + }, + "VirtualMachineNetworkInterfaceDnsSettingsConfiguration": { + "type": "object", + "description": "Describes a virtual machines network configuration's DNS settings.", + "properties": { + "dnsServers": { + "type": "array", + "description": "List of DNS servers IP addresses", + "items": { + "type": "string" + } + } + } + }, + "VirtualMachineNetworkInterfaceIPConfiguration": { + "type": "object", + "description": "Describes a virtual machine network profile's IP configuration.", + "properties": { + "name": { + "type": "string", + "description": "The IP configuration name." + }, + "properties": { + "$ref": "#/definitions/VirtualMachineNetworkInterfaceIPConfigurationProperties", + "description": "Describes a virtual machine network interface IP configuration properties." + } + }, + "required": [ + "name" + ] + }, + "VirtualMachineNetworkInterfaceIPConfigurationProperties": { + "type": "object", + "description": "Describes a virtual machine network interface IP configuration properties.", + "properties": { + "subnet": { + "$ref": "#/definitions/SubResource", + "description": "Specifies the identifier of the subnet." + }, + "primary": { + "type": "boolean", + "description": "Specifies the primary network interface in case the virtual machine has more than 1 network interface." + }, + "publicIPAddressConfiguration": { + "$ref": "#/definitions/VirtualMachinePublicIPAddressConfiguration", + "description": "The publicIPAddressConfiguration." + }, + "privateIPAddressVersion": { + "$ref": "#/definitions/IPVersions", + "description": "Available from Api-Version 2017-03-30 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'." + }, + "applicationSecurityGroups": { + "type": "array", + "description": "Specifies an array of references to application security group.", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + "applicationGatewayBackendAddressPools": { + "type": "array", + "description": "Specifies an array of references to backend address pools of application gateways. A virtual machine can reference backend address pools of multiple application gateways. Multiple virtual machines cannot use the same application gateway.", + "items": { + "$ref": "#/definitions/SubResource" + } + }, + "loadBalancerBackendAddressPools": { + "type": "array", + "description": "Specifies an array of references to backend address pools of load balancers. A virtual machine can reference backend address pools of one public and one internal load balancer. [Multiple virtual machines cannot use the same basic sku load balancer].", + "items": { + "$ref": "#/definitions/SubResource" + } + } + } + }, + "VirtualMachineProfile": { + "type": "object", + "description": "Describes the properties of a Virtual Machine.", + "properties": { + "scheduledEventsPolicy": { + "$ref": "#/definitions/ScheduledEventsPolicy", + "description": "Specifies Redeploy, Reboot and ScheduledEventsAdditionalPublishingTargets Scheduled Event related configurations for the virtual machine." + }, + "storageProfile": { + "$ref": "#/definitions/StorageProfile", + "description": "Specifies the storage settings for the virtual machine disks." + }, + "additionalCapabilities": { + "$ref": "#/definitions/AdditionalCapabilities", + "description": "Specifies additional capabilities enabled or disabled on the virtual machine." + }, + "osProfile": { + "$ref": "#/definitions/OSProfile", + "description": "Specifies the operating system settings used while creating the virtual machine. Some of the settings cannot be changed once VM is provisioned." + }, + "networkProfile": { + "$ref": "#/definitions/NetworkProfile", + "description": "Specifies the network interfaces of the virtual machine." + }, + "securityProfile": { + "$ref": "#/definitions/SecurityProfile", + "description": "Specifies the Security related profile settings for the virtual machine." + }, + "diagnosticsProfile": { + "$ref": "#/definitions/DiagnosticsProfile", + "description": "Specifies the boot diagnostic settings state. Minimum compute api-version: 2015-06-15." + }, + "licenseType": { + "type": "string", + "description": "Specifies that the image or disk that is being used was licensed on-premises.

Possible values for Windows Server operating system are:

Windows_Client

Windows_Server

Possible values for Linux Server operating system are:

RHEL_BYOS (for RHEL)

SLES_BYOS (for SUSE)

For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/windows/hybrid-use-benefit-licensing)

[Azure Hybrid Use Benefit for Linux Server](https://docs.microsoft.com/azure/virtual-machines/linux/azure-hybrid-benefit-linux)

Minimum api-version: 2015-06-15" + }, + "extensionsTimeBudget": { + "type": "string", + "description": "Specifies the time alloted for all extensions to start. The time duration should be between 15 minutes and 120 minutes (inclusive) and should be specified in ISO 8601 format. The default value is 90 minutes (PT1H30M). Minimum compute api-version: 2020-06-01." + }, + "scheduledEventsProfile": { + "$ref": "#/definitions/ScheduledEventsProfile", + "description": "Specifies Scheduled Event related configurations." + }, + "userData": { + "type": "string", + "description": "UserData for the VM, which must be base-64 encoded. Customer should not pass any secrets in here. Minimum compute api-version: 2021-03-01." + }, + "capacityReservation": { + "$ref": "#/definitions/CapacityReservationProfile", + "description": "Specifies information about the capacity reservation that is used to allocate virtual machine. Minimum compute api-version: 2021-04-01." + }, + "applicationProfile": { + "$ref": "#/definitions/ApplicationProfile", + "description": "Specifies the gallery applications that should be made available to the VM." + } + } + }, + "VirtualMachinePublicIPAddressConfiguration": { + "type": "object", + "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration", + "properties": { + "name": { + "type": "string", + "description": "The publicIP address configuration name." + }, + "properties": { + "$ref": "#/definitions/VirtualMachinePublicIPAddressConfigurationProperties", + "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration" + }, + "sku": { + "$ref": "#/definitions/PublicIPAddressSku", + "description": "Describes the public IP Sku. It can only be set with OrchestrationMode as Flexible." + }, + "tags": { + "type": "object", + "description": "Resource tags applied to the publicIP address created by this PublicIPAddressConfiguration", + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "name" + ] + }, + "VirtualMachinePublicIPAddressConfigurationProperties": { + "type": "object", + "description": "Describes a virtual machines IP Configuration's PublicIPAddress configuration", + "properties": { + "idleTimeoutInMinutes": { + "type": "integer", + "format": "int32", + "description": "The idle timeout of the public IP address." + }, + "deleteOption": { + "$ref": "#/definitions/DeleteOptions", + "description": "Specify what happens to the public IP address when the VM is deleted" + }, + "dnsSettings": { + "$ref": "#/definitions/VirtualMachinePublicIPAddressDnsSettingsConfiguration", + "description": "The dns settings to be applied on the publicIP addresses ." + }, + "ipTags": { + "type": "array", + "description": "The list of IP tags associated with the public IP address.", + "items": { + "$ref": "#/definitions/VirtualMachineIpTag" + }, + "x-ms-identifiers": [] + }, + "publicIPPrefix": { + "$ref": "#/definitions/SubResource", + "description": "The PublicIPPrefix from which to allocate publicIP addresses." + }, + "publicIPAddressVersion": { + "$ref": "#/definitions/IPVersions", + "description": "Available from Api-Version 2019-07-01 onwards, it represents whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4. Possible values are: 'IPv4' and 'IPv6'." + }, + "publicIPAllocationMethod": { + "$ref": "#/definitions/PublicIPAllocationMethod", + "description": "Specify the public IP allocation type" + } + } + }, + "VirtualMachinePublicIPAddressDnsSettingsConfiguration": { + "type": "object", + "description": "Describes a virtual machines network configuration's DNS settings.", + "properties": { + "domainNameLabel": { + "type": "string", + "description": "The Domain name label prefix of the PublicIPAddress resources that will be created. The generated name label is the concatenation of the domain name label and vm network profile unique ID." + }, + "domainNameLabelScope": { + "$ref": "#/definitions/DomainNameLabelScopeTypes", + "description": "The Domain name label scope of the PublicIPAddress resources that will be created. The generated name label is the concatenation of the hashed domain name label with policy according to the domain name label scope and vm network profile unique ID." + } + }, + "required": [ + "domainNameLabel" + ] + }, + "VirtualMachineType": { + "type": "string", + "description": "Specifies the priority type of virtual machines to launch.", + "enum": [ + "Regular", + "Spot" + ], + "x-ms-enum": { + "name": "VirtualMachineType", + "modelAsString": true, + "values": [ + { + "name": "Regular", + "value": "Regular", + "description": "Default. Regular/On-demand VMs will be launched" + }, + { + "name": "Spot", + "value": "Spot", + "description": "Spot VMs will be launched." + } + ] + } + }, + "VmSizeProfile": { + "type": "object", + "description": "Specifications about a VM Size. This will also contain the corresponding rank and weight in future.", + "properties": { + "name": { + "type": "string", + "description": "The Sku name (e.g. 'Standard_DS1_v2')" + }, + "rank": { + "type": "integer", + "format": "int32", + "description": "The rank of the VM size. This is used with 'AllocationStrategy.Prioritized'\nThe lower the number, the higher the priority. Starting with 0.", + "minimum": 0, + "maximum": 65535 + } + }, + "required": [ + "name" + ] + }, + "WinRMConfiguration": { + "type": "object", + "description": "Describes Windows Remote Management configuration of the VM", + "properties": { + "listeners": { + "type": "array", + "description": "The list of Windows Remote Management listeners", + "items": { + "$ref": "#/definitions/WinRMListener" + }, + "x-ms-identifiers": [] + } + } + }, + "WinRMListener": { + "type": "object", + "description": "Describes Protocol and thumbprint of Windows Remote Management listener", + "properties": { + "protocol": { + "$ref": "#/definitions/ProtocolTypes", + "description": "Specifies the protocol of WinRM listener. Possible values are: **http,** **https.**" + }, + "certificateUrl": { + "type": "string", + "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be the Base64 encoding of the following JSON Object which is encoded in UTF-8:

{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}
To install certificates on a virtual machine it is recommended to use the [Azure Key Vault virtual machine extension for Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-linux) or the [Azure Key Vault virtual machine extension for Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/key-vault-windows)." + } + } + }, + "WindowsConfiguration": { + "type": "object", + "description": "Specifies Windows operating system settings on the virtual machine.", + "properties": { + "provisionVMAgent": { + "type": "boolean", + "description": "Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, it is set to true by default. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later." + }, + "enableAutomaticUpdates": { + "type": "boolean", + "description": "Indicates whether Automatic Updates is enabled for the Windows virtual machine. Default value is true. For virtual machine scale sets, this property can be updated and updates will take effect on OS reprovisioning." + }, + "timeZone": { + "type": "string", + "description": "Specifies the time zone of the virtual machine. e.g. \"Pacific Standard Time\". Possible values can be [TimeZoneInfo.Id](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.id?#System_TimeZoneInfo_Id) value from time zones returned by [TimeZoneInfo.GetSystemTimeZones](https://docs.microsoft.com/dotnet/api/system.timezoneinfo.getsystemtimezones)." + }, + "additionalUnattendContent": { + "type": "array", + "description": "Specifies additional base-64 encoded XML formatted information that can be included in the Unattend.xml file, which is used by Windows Setup.", + "items": { + "$ref": "#/definitions/AdditionalUnattendContent" + }, + "x-ms-identifiers": [] + }, + "patchSettings": { + "$ref": "#/definitions/PatchSettings", + "description": "[Preview Feature] Specifies settings related to VM Guest Patching on Windows." + }, + "winRM": { + "$ref": "#/definitions/WinRMConfiguration", + "description": "Specifies the Windows Remote Management listeners. This enables remote Windows PowerShell." + } + } + }, + "WindowsPatchAssessmentMode": { + "type": "string", + "description": "Specifies the mode of VM Guest patch assessment for the IaaS virtual machine.

Possible values are:

**ImageDefault** - You control the timing of patch assessments on a virtual machine.

**AutomaticByPlatform** - The platform will trigger periodic patch assessments. The property provisionVMAgent must be true.", + "enum": [ + "ImageDefault", + "AutomaticByPlatform" + ], + "x-ms-enum": { + "name": "WindowsPatchAssessmentMode", + "modelAsString": true, + "values": [ + { + "name": "ImageDefault", + "value": "ImageDefault", + "description": "ImageDefault patch assessment mode" + }, + { + "name": "AutomaticByPlatform", + "value": "AutomaticByPlatform", + "description": "AutomaticByPlatform patch assessment mode" + } + ] + } + }, + "WindowsVMGuestPatchAutomaticByPlatformRebootSetting": { + "type": "string", + "description": "Specifies the reboot setting for all AutomaticByPlatform patch installation operations.", + "enum": [ + "Unknown", + "IfRequired", + "Never", + "Always" + ], + "x-ms-enum": { + "name": "WindowsVMGuestPatchAutomaticByPlatformRebootSetting", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown", + "description": "Reboot setting for Unknown" + }, + { + "name": "IfRequired", + "value": "IfRequired", + "description": "Reboot setting for IfRequired" + }, + { + "name": "Never", + "value": "Never", + "description": "Reboot setting for Never" + }, + { + "name": "Always", + "value": "Always", + "description": "Reboot setting for Always" + } + ] + } + }, + "WindowsVMGuestPatchAutomaticByPlatformSettings": { + "type": "object", + "description": "Specifies additional settings to be applied when patch mode AutomaticByPlatform is selected in Windows patch settings.", + "properties": { + "rebootSetting": { + "$ref": "#/definitions/WindowsVMGuestPatchAutomaticByPlatformRebootSetting", + "description": "Specifies the reboot setting for all AutomaticByPlatform patch installation operations." + }, + "bypassPlatformSafetyChecksOnUserSchedule": { + "type": "boolean", + "description": "Enables customer to schedule patching without accidental upgrades" + } + } + }, + "WindowsVMGuestPatchMode": { + "type": "string", + "description": "Specifies the mode of VM Guest Patching to IaaS virtual machine or virtual machines associated to virtual machine scale set with OrchestrationMode as Flexible.

Possible values are:

**Manual** - You control the application of patches to a virtual machine. You do this by applying patches manually inside the VM. In this mode, automatic updates are disabled; the property WindowsConfiguration.enableAutomaticUpdates must be false

**AutomaticByOS** - The virtual machine will automatically be updated by the OS. The property WindowsConfiguration.enableAutomaticUpdates must be true.

**AutomaticByPlatform** - the virtual machine will automatically updated by the platform. The properties provisionVMAgent and WindowsConfiguration.enableAutomaticUpdates must be true", + "enum": [ + "Manual", + "AutomaticByOS", + "AutomaticByPlatform" + ], + "x-ms-enum": { + "name": "WindowsVMGuestPatchMode", + "modelAsString": true, + "values": [ + { + "name": "Manual", + "value": "Manual", + "description": "Manual VM guest patch mode" + }, + { + "name": "AutomaticByOS", + "value": "AutomaticByOS", + "description": "AutomaticByOS VM guest patch mode" + }, + { + "name": "AutomaticByPlatform", + "value": "AutomaticByPlatform", + "description": "AutomaticByPlatform VM guest patch mode" + } + ] + } + }, + "ZoneAllocationPolicy": { + "type": "object", + "description": "ZoneAllocationPolicy for LaunchBulkInstancesOperation.", + "properties": { + "distributionStrategy": { + "$ref": "#/definitions/ZoneDistributionStrategy", + "description": "Distribution strategy used for zone allocation policy." + }, + "zonePreferences": { + "type": "array", + "description": "Zone preferences, required when zone distribution strategy is Prioritized.", + "items": { + "$ref": "#/definitions/ZonePreference" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "distributionStrategy" + ] + }, + "ZoneDistributionStrategy": { + "type": "string", + "description": "Distribution strategies for LaunchBulkInstancesOperation zone allocation policy.", + "enum": [ + "BestEffortSingleZone", + "Prioritized", + "BestEffortBalanced", + "StrictBalanced" + ], + "x-ms-enum": { + "name": "ZoneDistributionStrategy", + "modelAsString": true, + "values": [ + { + "name": "BestEffortSingleZone", + "value": "BestEffortSingleZone", + "description": " Default. Launch instances in a single zone based on best effort.\n If capacity is not available, LaunchBulkInstancesOperation can allocate capacity in different zones." + }, + { + "name": "Prioritized", + "value": "Prioritized", + "description": " Launch instances based on zone preferences.\n Higher priority zones are filled first before allocating to lower priority zones." + }, + { + "name": "BestEffortBalanced", + "value": "BestEffortBalanced", + "description": " Balance launching instances across zones specified based on best effort.\n If capacity is not available, LaunchBulkInstancesOperation can deviate balancing across all zones." + }, + { + "name": "StrictBalanced", + "value": "StrictBalanced", + "description": "Launch instances across all provided zones, ensuring the difference between any two zones is no more than one instance." + } + ] + } + }, + "ZonePreference": { + "type": "object", + "description": "Zone preferences for LaunchBulkInstancesOperation zone allocation policy.", + "properties": { + "zone": { + "type": "string", + "description": "Name of the zone." + }, + "rank": { + "type": "integer", + "format": "int32", + "description": " The rank of the zone. This is used with 'Prioritized' ZoneDistributionStrategy.\n The lower the number, the higher the priority, starting with 0.\n 0 is the highest rank. If not specified, defaults to lowest rank.", + "minimum": 0, + "maximum": 65535 + } + }, + "required": [ + "zone" + ] + } + }, + "parameters": {} +} diff --git a/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_Cancel_MaximumSet_Gen.json b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_Cancel_MaximumSet_Gen.json new file mode 100644 index 000000000000..565b2e0d5631 --- /dev/null +++ b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_Cancel_MaximumSet_Gen.json @@ -0,0 +1,18 @@ +{ + "title": "BulkActions_Cancel - generated by [MaximumSet] rule", + "operationId": "BulkActions_Cancel", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B", + "resourceGroupName": "rgcomputebulkactions", + "name": "3ec2ab23-9f13-4328-85c8-21928acbc7b8", + "location": "eastus2euap" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + } + } +} diff --git a/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_CreateOrUpdate_MaximumSet_Gen.json b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_CreateOrUpdate_MaximumSet_Gen.json new file mode 100644 index 000000000000..68b89b35ecf2 --- /dev/null +++ b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_CreateOrUpdate_MaximumSet_Gen.json @@ -0,0 +1,1501 @@ +{ + "title": "BulkActions_CreateOrUpdate - generated by [MaximumSet] rule", + "operationId": "BulkActions_CreateOrUpdate", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B", + "resourceGroupName": "rgcomputebulkactions", + "name": "3ec2ab23-9f13-4328-85c8-21928acbc7b8", + "location": "eastus2euap", + "resource": { + "properties": { + "capacity": 24, + "capacityType": "VM", + "priorityProfile": { + "type": "Regular", + "maxPricePerVM": 21, + "evictionPolicy": "Delete", + "allocationStrategy": "LowestPrice" + }, + "vmSizesProfile": [ + { + "name": "nolktwnfqdwikqiat", + "rank": 46189 + } + ], + "vmAttributes": { + "vCpuCount": { + "min": 0, + "max": 0 + }, + "memoryInGiB": { + "min": 0, + "max": 0 + }, + "architectureTypes": [ + "ARM64" + ], + "memoryInGiBPerVCpu": { + "min": 0, + "max": 0 + }, + "localStorageSupport": "Excluded", + "localStorageInGiB": { + "min": 0, + "max": 0 + }, + "localStorageDiskTypes": [ + "HDD" + ], + "dataDiskCount": { + "min": 0, + "max": 0 + }, + "networkInterfaceCount": { + "min": 0, + "max": 0 + }, + "networkBandwidthInMbps": { + "min": 0, + "max": 0 + }, + "rdmaSupport": "Excluded", + "rdmaNetworkInterfaceCount": { + "min": 0, + "max": 0 + }, + "acceleratorSupport": "Excluded", + "acceleratorManufacturers": [ + "AMD" + ], + "acceleratorTypes": [ + "GPU" + ], + "acceleratorCount": { + "min": 0, + "max": 0 + }, + "vmCategories": [ + "GeneralPurpose" + ], + "cpuManufacturers": [ + "Intel" + ], + "hyperVGenerations": [ + "Gen1" + ], + "burstableSupport": "Excluded", + "allowedVMSizes": [ + "dmtpdlqphckngwjhvkucfze" + ], + "excludedVMSizes": [ + "yhjhharuhcyfxjnhxmflvsrdmei" + ] + }, + "computeProfile": { + "virtualMachineProfile": { + "osProfile": { + "adminUsername": "tjdagcdhlpihlhkrz", + "adminPassword": "", + "customData": "jemgccf", + "windowsConfiguration": { + "provisionVMAgent": true, + "enableAutomaticUpdates": true, + "timeZone": "kiibvtut", + "additionalUnattendContent": [ + { + "passName": "OobeSystem", + "componentName": "Microsoft-Windows-Shell-Setup", + "settingName": "AutoLogon", + "content": "zdpsub" + } + ], + "patchSettings": { + "patchMode": "Manual", + "enableHotpatching": true, + "assessmentMode": "ImageDefault", + "automaticByPlatformSettings": { + "rebootSetting": "Unknown", + "bypassPlatformSafetyChecksOnUserSchedule": true + } + }, + "winRM": { + "listeners": [ + { + "protocol": "Http", + "certificateUrl": "https://microsoft.com/a" + } + ] + } + }, + "linuxConfiguration": { + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "path": "xyntsvqsiqsguyegxdvkmwhwz", + "keyData": "mfk" + } + ] + }, + "provisionVMAgent": true, + "patchSettings": { + "patchMode": "ImageDefault", + "assessmentMode": "ImageDefault", + "automaticByPlatformSettings": { + "rebootSetting": "Unknown", + "bypassPlatformSafetyChecksOnUserSchedule": true + } + }, + "enableVMAgentPlatformUpdates": true + }, + "secrets": [ + { + "sourceVault": { + "id": "obwiwwsgkdg" + }, + "vaultCertificates": [ + { + "certificateUrl": "https://microsoft.com/agmunp", + "certificateStore": "zxrjtvfmltdj" + } + ] + } + ], + "allowExtensionOperations": true, + "requireGuestProvisionSignal": true, + "computerName": "jagkikqx" + }, + "storageProfile": { + "imageReference": { + "id": "iwqrkiccafacxfctrxb", + "publisher": "edjvbyisusjhyvnzgyvhixmnfzzsy", + "offer": "olkxwdozixpjkjuk", + "sku": "qmsq", + "version": "hruassyajrafmgmub", + "sharedGalleryImageId": "ahzweiez", + "communityGalleryImageId": "bysd" + }, + "osDisk": { + "name": "pccysrjeo", + "caching": "None", + "writeAcceleratorEnabled": true, + "createOption": "FromImage", + "diffDiskSettings": { + "option": "Local", + "placement": "CacheDisk" + }, + "diskSizeGB": 18, + "osType": "Windows", + "image": { + "uri": "https://microsoft.com/a" + }, + "managedDisk": { + "storageAccountType": "Standard_LRS", + "diskEncryptionSet": { + "id": "thmks" + }, + "securityProfile": { + "securityEncryptionType": "VMGuestStateOnly", + "diskEncryptionSet": { + "id": "thmks" + } + }, + "id": "wuqdcyunrkewr" + }, + "deleteOption": "Delete", + "encryptionSettings": { + "diskEncryptionKey": { + "secretUrl": "cuatfdkula", + "sourceVault": { + "id": "ioypuofzltakyfcomjwfkmyz" + } + }, + "keyEncryptionKey": { + "keyUrl": "imt", + "sourceVault": { + "id": "ioypuofzltakyfcomjwfkmyz" + } + }, + "enabled": true + }, + "vhd": { + "uri": "anvtwgmfthxmyhdnbvabmzyrknxwf" + } + }, + "dataDisks": [ + { + "name": "aq", + "lun": 1, + "caching": "None", + "writeAcceleratorEnabled": true, + "createOption": "FromImage", + "diskSizeGB": 24, + "managedDisk": { + "storageAccountType": "Standard_LRS", + "diskEncryptionSet": { + "id": "thmks" + }, + "securityProfile": { + "securityEncryptionType": "VMGuestStateOnly", + "diskEncryptionSet": { + "id": "thmks" + } + }, + "id": "zcoqnxlomkordbdolkxraqbwgsh" + }, + "deleteOption": "Delete", + "vhd": { + "uri": "anvtwgmfthxmyhdnbvabmzyrknxwf" + }, + "image": { + "uri": "anvtwgmfthxmyhdnbvabmzyrknxwf" + }, + "sourceResource": { + "id": "fpabycyqmkqqfdfrzqmnykmy" + }, + "toBeDetached": true, + "detachOption": "ForceDetach" + } + ], + "diskControllerType": "SCSI" + }, + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "name": "keppldrpxjgckgsmq", + "properties": { + "primary": true, + "enableAcceleratedNetworking": true, + "disableTcpStateTracking": true, + "enableFpga": true, + "networkSecurityGroup": { + "id": "obwiwwsgkdg" + }, + "dnsSettings": { + "dnsServers": [ + "pnhvxygytoozxmkt" + ] + }, + "ipConfigurations": [ + { + "name": "nqjufbencyticmohsdxogwiu", + "properties": { + "subnet": { + "id": "djtafmblvomuabwlhlyoxzgdkwkz" + }, + "primary": true, + "publicIPAddressConfiguration": { + "name": "kgvjhctjspzldadcmtgsojglhmj", + "properties": { + "idleTimeoutInMinutes": 22, + "dnsSettings": { + "domainNameLabel": "vsvbcpusndz", + "domainNameLabelScope": "TenantReuse" + }, + "ipTags": [ + { + "ipTagType": "hengwhngakjlsmhuegnlbtpmiihf", + "tag": "zlnuzjdbdnwbtep" + } + ], + "publicIPPrefix": { + "id": "obwiwwsgkdg" + }, + "publicIPAddressVersion": "IPv4", + "deleteOption": "Delete", + "publicIPAllocationMethod": "Dynamic" + }, + "sku": { + "name": "Basic", + "tier": "Regional" + }, + "tags": {} + }, + "privateIPAddressVersion": "IPv4", + "applicationGatewayBackendAddressPools": [ + { + "id": "obwiwwsgkdg" + } + ], + "applicationSecurityGroups": [ + { + "id": "obwiwwsgkdg" + } + ], + "loadBalancerBackendAddressPools": [ + { + "id": "obwiwwsgkdg" + } + ] + } + } + ], + "enableIPForwarding": true, + "deleteOption": "Delete", + "auxiliaryMode": "None", + "auxiliarySku": "None", + "dscpConfiguration": { + "id": "ioypuofzltakyfcomjwfkmyz" + } + }, + "tags": {} + } + ], + "networkApiVersion": "2020-11-01", + "networkInterfaces": [ + { + "properties": { + "primary": true, + "deleteOption": "Delete" + }, + "id": "bmlqsytfgnkwgkibsmsoeh" + } + ] + }, + "securityProfile": { + "uefiSettings": { + "secureBootEnabled": true, + "vTpmEnabled": true + }, + "encryptionAtHost": true, + "securityType": "TrustedLaunch", + "encryptionIdentity": { + "userAssignedIdentityResourceId": "wkiykqbrifryaruzokophodpjig" + }, + "proxyAgentSettings": { + "enabled": true, + "mode": "Audit", + "keyIncarnationId": 17, + "wireServer": { + "mode": "Audit", + "inVMAccessControlProfileReferenceId": "cubhuucckqkxbifmertj" + }, + "imds": { + "mode": "Audit", + "inVMAccessControlProfileReferenceId": "cubhuucckqkxbifmertj" + }, + "addProxyAgentExtension": true + } + }, + "diagnosticsProfile": { + "bootDiagnostics": { + "enabled": true, + "storageUri": "https://microsoft.com/a" + } + }, + "licenseType": "iipnwxwfkfbbouzbwicqxnxicjz", + "scheduledEventsProfile": { + "terminateNotificationProfile": { + "notBeforeTimeout": "ypif", + "enable": true + }, + "osImageNotificationProfile": { + "notBeforeTimeout": "fztbudpjkicyigtvltlbszmivfbmb", + "enable": true + } + }, + "userData": "qcsgczwavs", + "capacityReservation": { + "capacityReservationGroup": { + "id": "obwiwwsgkdg" + } + }, + "applicationProfile": { + "galleryApplications": [ + { + "tags": "qgn", + "order": 14, + "packageReferenceId": "soddwzqduyolzz", + "configurationReference": "mddsvaruvzvblkafsotscupperzu", + "treatFailureAsDeploymentFailure": true, + "enableAutomaticUpgrade": true + } + ] + }, + "scheduledEventsPolicy": { + "userInitiatedRedeploy": { + "automaticallyApprove": true + }, + "userInitiatedReboot": { + "automaticallyApprove": true + }, + "scheduledEventsAdditionalPublishingTargets": { + "eventGridAndResourceGraph": { + "enable": true, + "scheduledEventsApiVersion": "sbzjonqss" + } + }, + "allInstancesDown": { + "automaticallyApprove": true + } + }, + "additionalCapabilities": { + "ultraSSDEnabled": true, + "hibernationEnabled": true + }, + "extensionsTimeBudget": "hvrimblcqujozpeurohjcn" + }, + "computeApiVersion": "bccikdfzgrygwpefvmvptutceg", + "extensions": [ + { + "name": "gj", + "properties": { + "forceUpdateTag": "mistpuvreycjbhahmcvgkjskeiop", + "publisher": "rzsodcysrfxkrgnrjqlpfqe", + "type": "eyehf", + "typeHandlerVersion": "wezzz", + "autoUpgradeMinorVersion": true, + "enableAutomaticUpgrade": true, + "suppressFailures": true, + "protectedSettingsFromKeyVault": { + "secretUrl": "cuatfdkula", + "sourceVault": { + "id": "ioypuofzltakyfcomjwfkmyz" + } + }, + "provisionAfterExtensions": [ + "jddcihtuzdczkvkryhktzjlf" + ], + "settings": {}, + "protectedSettings": {} + } + } + ] + }, + "zoneAllocationPolicy": { + "distributionStrategy": "BestEffortSingleZone", + "zonePreferences": [ + { + "zone": "voauikerqjpeepaeaokkcybyjd", + "rank": 46292 + } + ] + }, + "retryPolicy": { + "retryCount": 9, + "retryWindowInMinutes": 21 + } + }, + "zones": [ + "cyriutfcgydtaezeso" + ], + "identity": { + "type": "None", + "userAssignedIdentities": {} + }, + "plan": { + "name": "owvrgjbxrkj", + "publisher": "qhybdqbljmztcjujxal", + "product": "rlhap", + "promotionCode": "agypojbtdxvgqgisautnhcoysgy", + "version": "ghmnlomqg" + } + } + }, + "responses": { + "200": { + "body": { + "properties": { + "capacity": 24, + "capacityType": "VM", + "priorityProfile": { + "type": "Regular", + "maxPricePerVM": 21, + "evictionPolicy": "Delete", + "allocationStrategy": "LowestPrice" + }, + "vmSizesProfile": [ + { + "name": "nolktwnfqdwikqiat", + "rank": 46189 + } + ], + "vmAttributes": { + "vCpuCount": { + "min": 0, + "max": 0 + }, + "memoryInGiB": { + "min": 0, + "max": 0 + }, + "architectureTypes": [ + "ARM64" + ], + "memoryInGiBPerVCpu": { + "min": 0, + "max": 0 + }, + "localStorageSupport": "Excluded", + "localStorageInGiB": { + "min": 0, + "max": 0 + }, + "localStorageDiskTypes": [ + "HDD" + ], + "dataDiskCount": { + "min": 0, + "max": 0 + }, + "networkInterfaceCount": { + "min": 0, + "max": 0 + }, + "networkBandwidthInMbps": { + "min": 0, + "max": 0 + }, + "rdmaSupport": "Excluded", + "rdmaNetworkInterfaceCount": { + "min": 0, + "max": 0 + }, + "acceleratorSupport": "Excluded", + "acceleratorManufacturers": [ + "AMD" + ], + "acceleratorTypes": [ + "GPU" + ], + "acceleratorCount": { + "min": 0, + "max": 0 + }, + "vmCategories": [ + "GeneralPurpose" + ], + "cpuManufacturers": [ + "Intel" + ], + "hyperVGenerations": [ + "Gen1" + ], + "burstableSupport": "Excluded", + "allowedVMSizes": [ + "dmtpdlqphckngwjhvkucfze" + ], + "excludedVMSizes": [ + "yhjhharuhcyfxjnhxmflvsrdmei" + ] + }, + "computeProfile": { + "virtualMachineProfile": { + "osProfile": { + "adminUsername": "tjdagcdhlpihlhkrz", + "customData": "jemgccf", + "windowsConfiguration": { + "provisionVMAgent": true, + "enableAutomaticUpdates": true, + "timeZone": "kiibvtut", + "additionalUnattendContent": [ + { + "passName": "OobeSystem", + "componentName": "Microsoft-Windows-Shell-Setup", + "settingName": "AutoLogon", + "content": "zdpsub" + } + ], + "patchSettings": { + "patchMode": "Manual", + "enableHotpatching": true, + "assessmentMode": "ImageDefault", + "automaticByPlatformSettings": { + "rebootSetting": "Unknown", + "bypassPlatformSafetyChecksOnUserSchedule": true + } + }, + "winRM": { + "listeners": [ + { + "protocol": "Http", + "certificateUrl": "https://microsoft.com/a" + } + ] + } + }, + "linuxConfiguration": { + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "path": "xyntsvqsiqsguyegxdvkmwhwz", + "keyData": "mfk" + } + ] + }, + "provisionVMAgent": true, + "patchSettings": { + "patchMode": "ImageDefault", + "assessmentMode": "ImageDefault", + "automaticByPlatformSettings": { + "rebootSetting": "Unknown", + "bypassPlatformSafetyChecksOnUserSchedule": true + } + }, + "enableVMAgentPlatformUpdates": true + }, + "secrets": [ + { + "sourceVault": { + "id": "obwiwwsgkdg" + }, + "vaultCertificates": [ + { + "certificateUrl": "https://microsoft.com/agmunp", + "certificateStore": "zxrjtvfmltdj" + } + ] + } + ], + "allowExtensionOperations": true, + "requireGuestProvisionSignal": true, + "computerName": "jagkikqx" + }, + "storageProfile": { + "imageReference": { + "id": "iwqrkiccafacxfctrxb", + "publisher": "edjvbyisusjhyvnzgyvhixmnfzzsy", + "offer": "olkxwdozixpjkjuk", + "sku": "qmsq", + "version": "hruassyajrafmgmub", + "sharedGalleryImageId": "ahzweiez", + "communityGalleryImageId": "bysd" + }, + "osDisk": { + "name": "pccysrjeo", + "caching": "None", + "writeAcceleratorEnabled": true, + "createOption": "FromImage", + "diffDiskSettings": { + "option": "Local", + "placement": "CacheDisk" + }, + "diskSizeGB": 18, + "osType": "Windows", + "image": { + "uri": "https://microsoft.com/a" + }, + "managedDisk": { + "storageAccountType": "Standard_LRS", + "diskEncryptionSet": { + "id": "thmks" + }, + "securityProfile": { + "securityEncryptionType": "VMGuestStateOnly", + "diskEncryptionSet": { + "id": "thmks" + } + }, + "id": "wuqdcyunrkewr" + }, + "deleteOption": "Delete", + "encryptionSettings": { + "diskEncryptionKey": { + "secretUrl": "cuatfdkula", + "sourceVault": { + "id": "ioypuofzltakyfcomjwfkmyz" + } + }, + "keyEncryptionKey": { + "keyUrl": "imt", + "sourceVault": { + "id": "ioypuofzltakyfcomjwfkmyz" + } + }, + "enabled": true + }, + "vhd": { + "uri": "anvtwgmfthxmyhdnbvabmzyrknxwf" + } + }, + "dataDisks": [ + { + "name": "aq", + "lun": 1, + "caching": "None", + "writeAcceleratorEnabled": true, + "createOption": "FromImage", + "diskSizeGB": 24, + "managedDisk": { + "storageAccountType": "Standard_LRS", + "diskEncryptionSet": { + "id": "thmks" + }, + "securityProfile": { + "securityEncryptionType": "VMGuestStateOnly", + "diskEncryptionSet": { + "id": "thmks" + } + }, + "id": "zcoqnxlomkordbdolkxraqbwgsh" + }, + "deleteOption": "Delete", + "vhd": { + "uri": "anvtwgmfthxmyhdnbvabmzyrknxwf" + }, + "image": { + "uri": "anvtwgmfthxmyhdnbvabmzyrknxwf" + }, + "sourceResource": { + "id": "fpabycyqmkqqfdfrzqmnykmy" + }, + "toBeDetached": true, + "detachOption": "ForceDetach" + } + ], + "diskControllerType": "SCSI" + }, + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "name": "keppldrpxjgckgsmq", + "properties": { + "primary": true, + "enableAcceleratedNetworking": true, + "disableTcpStateTracking": true, + "enableFpga": true, + "networkSecurityGroup": { + "id": "obwiwwsgkdg" + }, + "dnsSettings": { + "dnsServers": [ + "pnhvxygytoozxmkt" + ] + }, + "ipConfigurations": [ + { + "name": "nqjufbencyticmohsdxogwiu", + "properties": { + "subnet": { + "id": "djtafmblvomuabwlhlyoxzgdkwkz" + }, + "primary": true, + "publicIPAddressConfiguration": { + "name": "kgvjhctjspzldadcmtgsojglhmj", + "properties": { + "idleTimeoutInMinutes": 22, + "dnsSettings": { + "domainNameLabel": "vsvbcpusndz", + "domainNameLabelScope": "TenantReuse" + }, + "ipTags": [ + { + "ipTagType": "hengwhngakjlsmhuegnlbtpmiihf", + "tag": "zlnuzjdbdnwbtep" + } + ], + "publicIPPrefix": { + "id": "obwiwwsgkdg" + }, + "publicIPAddressVersion": "IPv4", + "deleteOption": "Delete", + "publicIPAllocationMethod": "Dynamic" + }, + "sku": { + "name": "Basic", + "tier": "Regional" + }, + "tags": {} + }, + "privateIPAddressVersion": "IPv4", + "applicationGatewayBackendAddressPools": [ + { + "id": "obwiwwsgkdg" + } + ], + "applicationSecurityGroups": [ + { + "id": "obwiwwsgkdg" + } + ], + "loadBalancerBackendAddressPools": [ + { + "id": "obwiwwsgkdg" + } + ] + } + } + ], + "enableIPForwarding": true, + "deleteOption": "Delete", + "auxiliaryMode": "None", + "auxiliarySku": "None", + "dscpConfiguration": { + "id": "ioypuofzltakyfcomjwfkmyz" + } + }, + "tags": {} + } + ], + "networkApiVersion": "2020-11-01", + "networkInterfaces": [ + { + "properties": { + "primary": true, + "deleteOption": "Delete" + }, + "id": "bmlqsytfgnkwgkibsmsoeh" + } + ] + }, + "securityProfile": { + "uefiSettings": { + "secureBootEnabled": true, + "vTpmEnabled": true + }, + "encryptionAtHost": true, + "securityType": "TrustedLaunch", + "encryptionIdentity": { + "userAssignedIdentityResourceId": "wkiykqbrifryaruzokophodpjig" + }, + "proxyAgentSettings": { + "enabled": true, + "mode": "Audit", + "keyIncarnationId": 17, + "wireServer": { + "mode": "Audit", + "inVMAccessControlProfileReferenceId": "cubhuucckqkxbifmertj" + }, + "imds": { + "mode": "Audit", + "inVMAccessControlProfileReferenceId": "cubhuucckqkxbifmertj" + }, + "addProxyAgentExtension": true + } + }, + "diagnosticsProfile": { + "bootDiagnostics": { + "enabled": true, + "storageUri": "https://microsoft.com/a" + } + }, + "licenseType": "iipnwxwfkfbbouzbwicqxnxicjz", + "scheduledEventsProfile": { + "terminateNotificationProfile": { + "notBeforeTimeout": "ypif", + "enable": true + }, + "osImageNotificationProfile": { + "notBeforeTimeout": "fztbudpjkicyigtvltlbszmivfbmb", + "enable": true + } + }, + "userData": "qcsgczwavs", + "capacityReservation": { + "capacityReservationGroup": { + "id": "obwiwwsgkdg" + } + }, + "applicationProfile": { + "galleryApplications": [ + { + "tags": "qgn", + "order": 14, + "packageReferenceId": "soddwzqduyolzz", + "configurationReference": "mddsvaruvzvblkafsotscupperzu", + "treatFailureAsDeploymentFailure": true, + "enableAutomaticUpgrade": true + } + ] + }, + "scheduledEventsPolicy": { + "userInitiatedRedeploy": { + "automaticallyApprove": true + }, + "userInitiatedReboot": { + "automaticallyApprove": true + }, + "scheduledEventsAdditionalPublishingTargets": { + "eventGridAndResourceGraph": { + "enable": true, + "scheduledEventsApiVersion": "sbzjonqss" + } + }, + "allInstancesDown": { + "automaticallyApprove": true + } + }, + "additionalCapabilities": { + "ultraSSDEnabled": true, + "hibernationEnabled": true + }, + "extensionsTimeBudget": "hvrimblcqujozpeurohjcn" + }, + "computeApiVersion": "bccikdfzgrygwpefvmvptutceg", + "extensions": [ + { + "name": "gj", + "properties": { + "forceUpdateTag": "mistpuvreycjbhahmcvgkjskeiop", + "publisher": "rzsodcysrfxkrgnrjqlpfqe", + "type": "eyehf", + "typeHandlerVersion": "wezzz", + "autoUpgradeMinorVersion": true, + "enableAutomaticUpgrade": true, + "suppressFailures": true, + "protectedSettingsFromKeyVault": { + "secretUrl": "cuatfdkula", + "sourceVault": { + "id": "ioypuofzltakyfcomjwfkmyz" + } + }, + "provisionAfterExtensions": [ + "jddcihtuzdczkvkryhktzjlf" + ], + "settings": {}, + "protectedSettings": {} + } + } + ] + }, + "zoneAllocationPolicy": { + "distributionStrategy": "BestEffortSingleZone", + "zonePreferences": [ + { + "zone": "voauikerqjpeepaeaokkcybyjd", + "rank": 46292 + } + ] + }, + "retryPolicy": { + "retryCount": 9, + "retryWindowInMinutes": 21 + }, + "provisioningState": "Succeeded" + }, + "zones": [ + "cyriutfcgydtaezeso" + ], + "identity": { + "type": "None", + "userAssignedIdentities": {}, + "principalId": "2ebdc740-a760-4406-80e9-6be95ebc9743", + "tenantId": "3ec2ab23-9f13-4328-85c8-21928acbc7b8" + }, + "plan": { + "name": "owvrgjbxrkj", + "publisher": "qhybdqbljmztcjujxal", + "product": "rlhap", + "promotionCode": "agypojbtdxvgqgisautnhcoysgy", + "version": "ghmnlomqg" + }, + "id": "/subscriptions/50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B/resourceGroups/rgcomputebulkactions/providers/Microsoft.Compute/bulkActions/3ec2ab23-9f13-4328-85c8-21928acbc7b8", + "name": "kv", + "type": "v", + "systemData": { + "createdBy": "kmjag", + "createdByType": "User", + "createdAt": "2025-10-02T21:36:21.174Z", + "lastModifiedBy": "fwcgdzyolflmgnxnnmpoevpwr", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-10-02T21:36:21.174Z" + } + } + }, + "201": { + "headers": { + "Azure-AsyncOperation": "https://contoso.com/operationstatus" + }, + "body": { + "properties": { + "capacity": 24, + "capacityType": "VM", + "priorityProfile": { + "type": "Regular", + "maxPricePerVM": 21, + "evictionPolicy": "Delete", + "allocationStrategy": "LowestPrice" + }, + "vmSizesProfile": [ + { + "name": "nolktwnfqdwikqiat", + "rank": 46189 + } + ], + "vmAttributes": { + "vCpuCount": { + "min": 0, + "max": 0 + }, + "memoryInGiB": { + "min": 0, + "max": 0 + }, + "architectureTypes": [ + "ARM64" + ], + "memoryInGiBPerVCpu": { + "min": 0, + "max": 0 + }, + "localStorageSupport": "Excluded", + "localStorageInGiB": { + "min": 0, + "max": 0 + }, + "localStorageDiskTypes": [ + "HDD" + ], + "dataDiskCount": { + "min": 0, + "max": 0 + }, + "networkInterfaceCount": { + "min": 0, + "max": 0 + }, + "networkBandwidthInMbps": { + "min": 0, + "max": 0 + }, + "rdmaSupport": "Excluded", + "rdmaNetworkInterfaceCount": { + "min": 0, + "max": 0 + }, + "acceleratorSupport": "Excluded", + "acceleratorManufacturers": [ + "AMD" + ], + "acceleratorTypes": [ + "GPU" + ], + "acceleratorCount": { + "min": 0, + "max": 0 + }, + "vmCategories": [ + "GeneralPurpose" + ], + "cpuManufacturers": [ + "Intel" + ], + "hyperVGenerations": [ + "Gen1" + ], + "burstableSupport": "Excluded", + "allowedVMSizes": [ + "dmtpdlqphckngwjhvkucfze" + ], + "excludedVMSizes": [ + "yhjhharuhcyfxjnhxmflvsrdmei" + ] + }, + "computeProfile": { + "virtualMachineProfile": { + "osProfile": { + "adminUsername": "tjdagcdhlpihlhkrz", + "customData": "jemgccf", + "windowsConfiguration": { + "provisionVMAgent": true, + "enableAutomaticUpdates": true, + "timeZone": "kiibvtut", + "additionalUnattendContent": [ + { + "passName": "OobeSystem", + "componentName": "Microsoft-Windows-Shell-Setup", + "settingName": "AutoLogon", + "content": "zdpsub" + } + ], + "patchSettings": { + "patchMode": "Manual", + "enableHotpatching": true, + "assessmentMode": "ImageDefault", + "automaticByPlatformSettings": { + "rebootSetting": "Unknown", + "bypassPlatformSafetyChecksOnUserSchedule": true + } + }, + "winRM": { + "listeners": [ + { + "protocol": "Http", + "certificateUrl": "https://microsoft.com/a" + } + ] + } + }, + "linuxConfiguration": { + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "path": "xyntsvqsiqsguyegxdvkmwhwz", + "keyData": "mfk" + } + ] + }, + "provisionVMAgent": true, + "patchSettings": { + "patchMode": "ImageDefault", + "assessmentMode": "ImageDefault", + "automaticByPlatformSettings": { + "rebootSetting": "Unknown", + "bypassPlatformSafetyChecksOnUserSchedule": true + } + }, + "enableVMAgentPlatformUpdates": true + }, + "secrets": [ + { + "sourceVault": { + "id": "obwiwwsgkdg" + }, + "vaultCertificates": [ + { + "certificateUrl": "https://microsoft.com/agmunp", + "certificateStore": "zxrjtvfmltdj" + } + ] + } + ], + "allowExtensionOperations": true, + "requireGuestProvisionSignal": true, + "computerName": "jagkikqx" + }, + "storageProfile": { + "imageReference": { + "id": "iwqrkiccafacxfctrxb", + "publisher": "edjvbyisusjhyvnzgyvhixmnfzzsy", + "offer": "olkxwdozixpjkjuk", + "sku": "qmsq", + "version": "hruassyajrafmgmub", + "sharedGalleryImageId": "ahzweiez", + "communityGalleryImageId": "bysd" + }, + "osDisk": { + "name": "pccysrjeo", + "caching": "None", + "writeAcceleratorEnabled": true, + "createOption": "FromImage", + "diffDiskSettings": { + "option": "Local", + "placement": "CacheDisk" + }, + "diskSizeGB": 18, + "osType": "Windows", + "image": { + "uri": "https://microsoft.com/a" + }, + "managedDisk": { + "storageAccountType": "Standard_LRS", + "diskEncryptionSet": { + "id": "thmks" + }, + "securityProfile": { + "securityEncryptionType": "VMGuestStateOnly", + "diskEncryptionSet": { + "id": "thmks" + } + }, + "id": "wuqdcyunrkewr" + }, + "deleteOption": "Delete", + "encryptionSettings": { + "diskEncryptionKey": { + "secretUrl": "cuatfdkula", + "sourceVault": { + "id": "ioypuofzltakyfcomjwfkmyz" + } + }, + "keyEncryptionKey": { + "keyUrl": "imt", + "sourceVault": { + "id": "ioypuofzltakyfcomjwfkmyz" + } + }, + "enabled": true + }, + "vhd": { + "uri": "anvtwgmfthxmyhdnbvabmzyrknxwf" + } + }, + "dataDisks": [ + { + "name": "aq", + "lun": 1, + "caching": "None", + "writeAcceleratorEnabled": true, + "createOption": "FromImage", + "diskSizeGB": 24, + "managedDisk": { + "storageAccountType": "Standard_LRS", + "diskEncryptionSet": { + "id": "thmks" + }, + "securityProfile": { + "securityEncryptionType": "VMGuestStateOnly", + "diskEncryptionSet": { + "id": "thmks" + } + }, + "id": "zcoqnxlomkordbdolkxraqbwgsh" + }, + "deleteOption": "Delete", + "vhd": { + "uri": "anvtwgmfthxmyhdnbvabmzyrknxwf" + }, + "image": { + "uri": "anvtwgmfthxmyhdnbvabmzyrknxwf" + }, + "sourceResource": { + "id": "fpabycyqmkqqfdfrzqmnykmy" + }, + "toBeDetached": true, + "detachOption": "ForceDetach" + } + ], + "diskControllerType": "SCSI" + }, + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "name": "keppldrpxjgckgsmq", + "properties": { + "primary": true, + "enableAcceleratedNetworking": true, + "disableTcpStateTracking": true, + "enableFpga": true, + "networkSecurityGroup": { + "id": "obwiwwsgkdg" + }, + "dnsSettings": { + "dnsServers": [ + "pnhvxygytoozxmkt" + ] + }, + "ipConfigurations": [ + { + "name": "nqjufbencyticmohsdxogwiu", + "properties": { + "subnet": { + "id": "djtafmblvomuabwlhlyoxzgdkwkz" + }, + "primary": true, + "publicIPAddressConfiguration": { + "name": "kgvjhctjspzldadcmtgsojglhmj", + "properties": { + "idleTimeoutInMinutes": 22, + "dnsSettings": { + "domainNameLabel": "vsvbcpusndz", + "domainNameLabelScope": "TenantReuse" + }, + "ipTags": [ + { + "ipTagType": "hengwhngakjlsmhuegnlbtpmiihf", + "tag": "zlnuzjdbdnwbtep" + } + ], + "publicIPPrefix": { + "id": "obwiwwsgkdg" + }, + "publicIPAddressVersion": "IPv4", + "deleteOption": "Delete", + "publicIPAllocationMethod": "Dynamic" + }, + "sku": { + "name": "Basic", + "tier": "Regional" + }, + "tags": {} + }, + "privateIPAddressVersion": "IPv4", + "applicationGatewayBackendAddressPools": [ + { + "id": "obwiwwsgkdg" + } + ], + "applicationSecurityGroups": [ + { + "id": "obwiwwsgkdg" + } + ], + "loadBalancerBackendAddressPools": [ + { + "id": "obwiwwsgkdg" + } + ] + } + } + ], + "enableIPForwarding": true, + "deleteOption": "Delete", + "auxiliaryMode": "None", + "auxiliarySku": "None", + "dscpConfiguration": { + "id": "ioypuofzltakyfcomjwfkmyz" + } + }, + "tags": {} + } + ], + "networkApiVersion": "2020-11-01", + "networkInterfaces": [ + { + "properties": { + "primary": true, + "deleteOption": "Delete" + }, + "id": "bmlqsytfgnkwgkibsmsoeh" + } + ] + }, + "securityProfile": { + "uefiSettings": { + "secureBootEnabled": true, + "vTpmEnabled": true + }, + "encryptionAtHost": true, + "securityType": "TrustedLaunch", + "encryptionIdentity": { + "userAssignedIdentityResourceId": "wkiykqbrifryaruzokophodpjig" + }, + "proxyAgentSettings": { + "enabled": true, + "mode": "Audit", + "keyIncarnationId": 17, + "wireServer": { + "mode": "Audit", + "inVMAccessControlProfileReferenceId": "cubhuucckqkxbifmertj" + }, + "imds": { + "mode": "Audit", + "inVMAccessControlProfileReferenceId": "cubhuucckqkxbifmertj" + }, + "addProxyAgentExtension": true + } + }, + "diagnosticsProfile": { + "bootDiagnostics": { + "enabled": true, + "storageUri": "https://microsoft.com/a" + } + }, + "licenseType": "iipnwxwfkfbbouzbwicqxnxicjz", + "scheduledEventsProfile": { + "terminateNotificationProfile": { + "notBeforeTimeout": "ypif", + "enable": true + }, + "osImageNotificationProfile": { + "notBeforeTimeout": "fztbudpjkicyigtvltlbszmivfbmb", + "enable": true + } + }, + "userData": "qcsgczwavs", + "capacityReservation": { + "capacityReservationGroup": { + "id": "obwiwwsgkdg" + } + }, + "applicationProfile": { + "galleryApplications": [ + { + "tags": "qgn", + "order": 14, + "packageReferenceId": "soddwzqduyolzz", + "configurationReference": "mddsvaruvzvblkafsotscupperzu", + "treatFailureAsDeploymentFailure": true, + "enableAutomaticUpgrade": true + } + ] + }, + "scheduledEventsPolicy": { + "userInitiatedRedeploy": { + "automaticallyApprove": true + }, + "userInitiatedReboot": { + "automaticallyApprove": true + }, + "scheduledEventsAdditionalPublishingTargets": { + "eventGridAndResourceGraph": { + "enable": true, + "scheduledEventsApiVersion": "sbzjonqss" + } + }, + "allInstancesDown": { + "automaticallyApprove": true + } + }, + "additionalCapabilities": { + "ultraSSDEnabled": true, + "hibernationEnabled": true + }, + "extensionsTimeBudget": "hvrimblcqujozpeurohjcn" + }, + "computeApiVersion": "bccikdfzgrygwpefvmvptutceg", + "extensions": [ + { + "name": "gj", + "properties": { + "forceUpdateTag": "mistpuvreycjbhahmcvgkjskeiop", + "publisher": "rzsodcysrfxkrgnrjqlpfqe", + "type": "eyehf", + "typeHandlerVersion": "wezzz", + "autoUpgradeMinorVersion": true, + "enableAutomaticUpgrade": true, + "suppressFailures": true, + "protectedSettingsFromKeyVault": { + "secretUrl": "cuatfdkula", + "sourceVault": { + "id": "ioypuofzltakyfcomjwfkmyz" + } + }, + "provisionAfterExtensions": [ + "jddcihtuzdczkvkryhktzjlf" + ], + "settings": {}, + "protectedSettings": {} + } + } + ] + }, + "zoneAllocationPolicy": { + "distributionStrategy": "BestEffortSingleZone", + "zonePreferences": [ + { + "zone": "voauikerqjpeepaeaokkcybyjd", + "rank": 46292 + } + ] + }, + "retryPolicy": { + "retryCount": 9, + "retryWindowInMinutes": 21 + }, + "provisioningState": "Succeeded" + }, + "zones": [ + "cyriutfcgydtaezeso" + ], + "identity": { + "type": "None", + "userAssignedIdentities": {}, + "principalId": "2ebdc740-a760-4406-80e9-6be95ebc9743", + "tenantId": "3ec2ab23-9f13-4328-85c8-21928acbc7b8" + }, + "plan": { + "name": "owvrgjbxrkj", + "publisher": "qhybdqbljmztcjujxal", + "product": "rlhap", + "promotionCode": "agypojbtdxvgqgisautnhcoysgy", + "version": "ghmnlomqg" + }, + "id": "/subscriptions/50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B/resourceGroups/rgcomputebulkactions/providers/Microsoft.Compute/bulkActions/3ec2ab23-9f13-4328-85c8-21928acbc7b8", + "name": "kv", + "type": "v", + "systemData": { + "createdBy": "kmjag", + "createdByType": "User", + "createdAt": "2025-10-02T21:36:21.174Z", + "lastModifiedBy": "fwcgdzyolflmgnxnnmpoevpwr", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-10-02T21:36:21.174Z" + } + } + } + } +} diff --git a/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_DeleteBulkAction_MaximumSet_Gen.json b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_DeleteBulkAction_MaximumSet_Gen.json new file mode 100644 index 000000000000..e88a7430f770 --- /dev/null +++ b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_DeleteBulkAction_MaximumSet_Gen.json @@ -0,0 +1,15 @@ +{ + "title": "BulkActions_DeleteBulkAction", + "operationId": "BulkActions_DeleteBulkAction", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B", + "resourceGroupName": "rgcomputebulkactions", + "location": "eastus2euap", + "name": "3ec2ab23-9f13-4328-85c8-21928acbc7b8" + }, + "responses": { + "200": {}, + "204": {} + } +} diff --git a/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_Delete_MaximumSet_Gen.json b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_Delete_MaximumSet_Gen.json new file mode 100644 index 000000000000..89073e6b1d0b --- /dev/null +++ b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_Delete_MaximumSet_Gen.json @@ -0,0 +1,19 @@ +{ + "title": "BulkActions_Delete - generated by [MaximumSet] rule", + "operationId": "BulkActions_Delete", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B", + "resourceGroupName": "rgcomputebulkactions", + "name": "3ec2ab23-9f13-4328-85c8-21928acbc7b8", + "location": "eastus2euap" + }, + "responses": { + "202": { + "headers": { + "location": "https://contoso.com/operationstatus" + } + }, + "204": {} + } +} diff --git a/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_GetOperationStatus_MaximumSet_Gen.json b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_GetOperationStatus_MaximumSet_Gen.json new file mode 100644 index 000000000000..3b35a1512cf4 --- /dev/null +++ b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_GetOperationStatus_MaximumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "BulkActions_GetOperationStatus - generated by [MaximumSet] rule", + "operationId": "BulkActions_GetOperationStatus", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B", + "location": "eastus2euap", + "id": "2a3fce8e-874c-45f4-9d27-1a804f3b7a0f" + }, + "responses": { + "200": { + "body": { + "status": "Succeeded", + "startTime": "2025-11-25T22:19:26.906Z", + "endTime": "2025-11-25T22:19:26.906Z", + "name": "2a3fce8e-874c-45f4-9d27-1a804f3b7a0f" + } + } + } +} diff --git a/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_Get_MaximumSet_Gen.json b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_Get_MaximumSet_Gen.json new file mode 100644 index 000000000000..6664c6c5dd3b --- /dev/null +++ b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_Get_MaximumSet_Gen.json @@ -0,0 +1,513 @@ +{ + "title": "BulkActions_Get - generated by [MaximumSet] rule", + "operationId": "BulkActions_Get", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B", + "resourceGroupName": "rgcomputebulkactions", + "name": "3ec2ab23-9f13-4328-85c8-21928acbc7b8", + "location": "eastus2euap" + }, + "responses": { + "200": { + "body": { + "properties": { + "capacity": 24, + "capacityType": "VM", + "priorityProfile": { + "type": "Regular", + "maxPricePerVM": 21, + "evictionPolicy": "Delete", + "allocationStrategy": "LowestPrice" + }, + "vmSizesProfile": [ + { + "name": "nolktwnfqdwikqiat", + "rank": 46189 + } + ], + "vmAttributes": { + "vCpuCount": { + "min": 0, + "max": 0 + }, + "memoryInGiB": { + "min": 0, + "max": 0 + }, + "architectureTypes": [ + "ARM64" + ], + "memoryInGiBPerVCpu": { + "min": 0, + "max": 0 + }, + "localStorageSupport": "Excluded", + "localStorageInGiB": { + "min": 0, + "max": 0 + }, + "localStorageDiskTypes": [ + "HDD" + ], + "dataDiskCount": { + "min": 0, + "max": 0 + }, + "networkInterfaceCount": { + "min": 0, + "max": 0 + }, + "networkBandwidthInMbps": { + "min": 0, + "max": 0 + }, + "rdmaSupport": "Excluded", + "rdmaNetworkInterfaceCount": { + "min": 0, + "max": 0 + }, + "acceleratorSupport": "Excluded", + "acceleratorManufacturers": [ + "AMD" + ], + "acceleratorTypes": [ + "GPU" + ], + "acceleratorCount": { + "min": 0, + "max": 0 + }, + "vmCategories": [ + "GeneralPurpose" + ], + "cpuManufacturers": [ + "Intel" + ], + "hyperVGenerations": [ + "Gen1" + ], + "burstableSupport": "Excluded", + "allowedVMSizes": [ + "dmtpdlqphckngwjhvkucfze" + ], + "excludedVMSizes": [ + "yhjhharuhcyfxjnhxmflvsrdmei" + ] + }, + "computeProfile": { + "virtualMachineProfile": { + "osProfile": { + "adminUsername": "tjdagcdhlpihlhkrz", + "customData": "jemgccf", + "windowsConfiguration": { + "provisionVMAgent": true, + "enableAutomaticUpdates": true, + "timeZone": "kiibvtut", + "additionalUnattendContent": [ + { + "passName": "OobeSystem", + "componentName": "Microsoft-Windows-Shell-Setup", + "settingName": "AutoLogon", + "content": "zdpsub" + } + ], + "patchSettings": { + "patchMode": "Manual", + "enableHotpatching": true, + "assessmentMode": "ImageDefault", + "automaticByPlatformSettings": { + "rebootSetting": "Unknown", + "bypassPlatformSafetyChecksOnUserSchedule": true + } + }, + "winRM": { + "listeners": [ + { + "protocol": "Http", + "certificateUrl": "https://microsoft.com/a" + } + ] + } + }, + "linuxConfiguration": { + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "path": "xyntsvqsiqsguyegxdvkmwhwz", + "keyData": "mfk" + } + ] + }, + "provisionVMAgent": true, + "patchSettings": { + "patchMode": "ImageDefault", + "assessmentMode": "ImageDefault", + "automaticByPlatformSettings": { + "rebootSetting": "Unknown", + "bypassPlatformSafetyChecksOnUserSchedule": true + } + }, + "enableVMAgentPlatformUpdates": true + }, + "secrets": [ + { + "sourceVault": { + "id": "obwiwwsgkdg" + }, + "vaultCertificates": [ + { + "certificateUrl": "https://microsoft.com/agmunp", + "certificateStore": "zxrjtvfmltdj" + } + ] + } + ], + "allowExtensionOperations": true, + "requireGuestProvisionSignal": true, + "computerName": "jagkikqx" + }, + "storageProfile": { + "imageReference": { + "id": "iwqrkiccafacxfctrxb", + "publisher": "edjvbyisusjhyvnzgyvhixmnfzzsy", + "offer": "olkxwdozixpjkjuk", + "sku": "qmsq", + "version": "hruassyajrafmgmub", + "sharedGalleryImageId": "ahzweiez", + "communityGalleryImageId": "bysd" + }, + "osDisk": { + "name": "pccysrjeo", + "caching": "None", + "writeAcceleratorEnabled": true, + "createOption": "FromImage", + "diffDiskSettings": { + "option": "Local", + "placement": "CacheDisk" + }, + "diskSizeGB": 18, + "osType": "Windows", + "image": { + "uri": "https://microsoft.com/a" + }, + "managedDisk": { + "storageAccountType": "Standard_LRS", + "diskEncryptionSet": { + "id": "thmks" + }, + "securityProfile": { + "securityEncryptionType": "VMGuestStateOnly", + "diskEncryptionSet": { + "id": "thmks" + } + }, + "id": "wuqdcyunrkewr" + }, + "deleteOption": "Delete", + "encryptionSettings": { + "diskEncryptionKey": { + "secretUrl": "cuatfdkula", + "sourceVault": { + "id": "ioypuofzltakyfcomjwfkmyz" + } + }, + "keyEncryptionKey": { + "keyUrl": "imt", + "sourceVault": { + "id": "ioypuofzltakyfcomjwfkmyz" + } + }, + "enabled": true + }, + "vhd": { + "uri": "anvtwgmfthxmyhdnbvabmzyrknxwf" + } + }, + "dataDisks": [ + { + "name": "aq", + "lun": 1, + "caching": "None", + "writeAcceleratorEnabled": true, + "createOption": "FromImage", + "diskSizeGB": 24, + "managedDisk": { + "storageAccountType": "Standard_LRS", + "diskEncryptionSet": { + "id": "thmks" + }, + "securityProfile": { + "securityEncryptionType": "VMGuestStateOnly", + "diskEncryptionSet": { + "id": "thmks" + } + }, + "id": "zcoqnxlomkordbdolkxraqbwgsh" + }, + "deleteOption": "Delete", + "vhd": { + "uri": "anvtwgmfthxmyhdnbvabmzyrknxwf" + }, + "image": { + "uri": "anvtwgmfthxmyhdnbvabmzyrknxwf" + }, + "sourceResource": { + "id": "fpabycyqmkqqfdfrzqmnykmy" + }, + "toBeDetached": true, + "detachOption": "ForceDetach" + } + ], + "diskControllerType": "SCSI" + }, + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "name": "keppldrpxjgckgsmq", + "properties": { + "primary": true, + "enableAcceleratedNetworking": true, + "disableTcpStateTracking": true, + "enableFpga": true, + "networkSecurityGroup": { + "id": "obwiwwsgkdg" + }, + "dnsSettings": { + "dnsServers": [ + "pnhvxygytoozxmkt" + ] + }, + "ipConfigurations": [ + { + "name": "nqjufbencyticmohsdxogwiu", + "properties": { + "subnet": { + "id": "djtafmblvomuabwlhlyoxzgdkwkz" + }, + "primary": true, + "publicIPAddressConfiguration": { + "name": "kgvjhctjspzldadcmtgsojglhmj", + "properties": { + "idleTimeoutInMinutes": 22, + "dnsSettings": { + "domainNameLabel": "vsvbcpusndz", + "domainNameLabelScope": "TenantReuse" + }, + "ipTags": [ + { + "ipTagType": "hengwhngakjlsmhuegnlbtpmiihf", + "tag": "zlnuzjdbdnwbtep" + } + ], + "publicIPPrefix": { + "id": "obwiwwsgkdg" + }, + "publicIPAddressVersion": "IPv4", + "deleteOption": "Delete", + "publicIPAllocationMethod": "Dynamic" + }, + "sku": { + "name": "Basic", + "tier": "Regional" + }, + "tags": {} + }, + "privateIPAddressVersion": "IPv4", + "applicationGatewayBackendAddressPools": [ + { + "id": "obwiwwsgkdg" + } + ], + "applicationSecurityGroups": [ + { + "id": "obwiwwsgkdg" + } + ], + "loadBalancerBackendAddressPools": [ + { + "id": "obwiwwsgkdg" + } + ] + } + } + ], + "enableIPForwarding": true, + "deleteOption": "Delete", + "auxiliaryMode": "None", + "auxiliarySku": "None", + "dscpConfiguration": { + "id": "ioypuofzltakyfcomjwfkmyz" + } + }, + "tags": {} + } + ], + "networkApiVersion": "2020-11-01", + "networkInterfaces": [ + { + "properties": { + "primary": true, + "deleteOption": "Delete" + }, + "id": "bmlqsytfgnkwgkibsmsoeh" + } + ] + }, + "securityProfile": { + "uefiSettings": { + "secureBootEnabled": true, + "vTpmEnabled": true + }, + "encryptionAtHost": true, + "securityType": "TrustedLaunch", + "encryptionIdentity": { + "userAssignedIdentityResourceId": "wkiykqbrifryaruzokophodpjig" + }, + "proxyAgentSettings": { + "enabled": true, + "mode": "Audit", + "keyIncarnationId": 17, + "wireServer": { + "mode": "Audit", + "inVMAccessControlProfileReferenceId": "cubhuucckqkxbifmertj" + }, + "imds": { + "mode": "Audit", + "inVMAccessControlProfileReferenceId": "cubhuucckqkxbifmertj" + }, + "addProxyAgentExtension": true + } + }, + "diagnosticsProfile": { + "bootDiagnostics": { + "enabled": true, + "storageUri": "https://microsoft.com/a" + } + }, + "licenseType": "iipnwxwfkfbbouzbwicqxnxicjz", + "scheduledEventsProfile": { + "terminateNotificationProfile": { + "notBeforeTimeout": "ypif", + "enable": true + }, + "osImageNotificationProfile": { + "notBeforeTimeout": "fztbudpjkicyigtvltlbszmivfbmb", + "enable": true + } + }, + "userData": "qcsgczwavs", + "capacityReservation": { + "capacityReservationGroup": { + "id": "obwiwwsgkdg" + } + }, + "applicationProfile": { + "galleryApplications": [ + { + "tags": "qgn", + "order": 14, + "packageReferenceId": "soddwzqduyolzz", + "configurationReference": "mddsvaruvzvblkafsotscupperzu", + "treatFailureAsDeploymentFailure": true, + "enableAutomaticUpgrade": true + } + ] + }, + "scheduledEventsPolicy": { + "userInitiatedRedeploy": { + "automaticallyApprove": true + }, + "userInitiatedReboot": { + "automaticallyApprove": true + }, + "scheduledEventsAdditionalPublishingTargets": { + "eventGridAndResourceGraph": { + "enable": true, + "scheduledEventsApiVersion": "sbzjonqss" + } + }, + "allInstancesDown": { + "automaticallyApprove": true + } + }, + "additionalCapabilities": { + "ultraSSDEnabled": true, + "hibernationEnabled": true + }, + "extensionsTimeBudget": "hvrimblcqujozpeurohjcn" + }, + "computeApiVersion": "bccikdfzgrygwpefvmvptutceg", + "extensions": [ + { + "name": "gj", + "properties": { + "forceUpdateTag": "mistpuvreycjbhahmcvgkjskeiop", + "publisher": "rzsodcysrfxkrgnrjqlpfqe", + "type": "eyehf", + "typeHandlerVersion": "wezzz", + "autoUpgradeMinorVersion": true, + "enableAutomaticUpgrade": true, + "suppressFailures": true, + "protectedSettingsFromKeyVault": { + "secretUrl": "cuatfdkula", + "sourceVault": { + "id": "ioypuofzltakyfcomjwfkmyz" + } + }, + "provisionAfterExtensions": [ + "jddcihtuzdczkvkryhktzjlf" + ], + "settings": {}, + "protectedSettings": {} + } + } + ] + }, + "zoneAllocationPolicy": { + "distributionStrategy": "BestEffortSingleZone", + "zonePreferences": [ + { + "zone": "voauikerqjpeepaeaokkcybyjd", + "rank": 46292 + } + ] + }, + "retryPolicy": { + "retryCount": 9, + "retryWindowInMinutes": 21 + }, + "provisioningState": "Succeeded" + }, + "zones": [ + "cyriutfcgydtaezeso" + ], + "identity": { + "type": "None", + "userAssignedIdentities": {}, + "principalId": "2ebdc740-a760-4406-80e9-6be95ebc9743", + "tenantId": "3ec2ab23-9f13-4328-85c8-21928acbc7b8" + }, + "plan": { + "name": "owvrgjbxrkj", + "publisher": "qhybdqbljmztcjujxal", + "product": "rlhap", + "promotionCode": "agypojbtdxvgqgisautnhcoysgy", + "version": "ghmnlomqg" + }, + "id": "/subscriptions/50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B/resourceGroups/rgcomputebulkactions/providers/Microsoft.Compute/bulkActions/3ec2ab23-9f13-4328-85c8-21928acbc7b8", + "name": "kv", + "type": "v", + "systemData": { + "createdBy": "kmjag", + "createdByType": "User", + "createdAt": "2025-10-02T21:36:21.174Z", + "lastModifiedBy": "fwcgdzyolflmgnxnnmpoevpwr", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-10-02T21:36:21.174Z" + } + } + } + } +} diff --git a/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_ListByResourceGroup_MaximumSet_Gen.json b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_ListByResourceGroup_MaximumSet_Gen.json new file mode 100644 index 000000000000..39d1d0605eb3 --- /dev/null +++ b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_ListByResourceGroup_MaximumSet_Gen.json @@ -0,0 +1,517 @@ +{ + "title": "BulkActions_ListByResourceGroup - generated by [MaximumSet] rule", + "operationId": "BulkActions_ListByResourceGroup", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B", + "resourceGroupName": "rgcomputebulkactions", + "location": "eastus2euap" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "capacity": 24, + "capacityType": "VM", + "priorityProfile": { + "type": "Regular", + "maxPricePerVM": 21, + "evictionPolicy": "Delete", + "allocationStrategy": "LowestPrice" + }, + "vmSizesProfile": [ + { + "name": "nolktwnfqdwikqiat", + "rank": 46189 + } + ], + "vmAttributes": { + "vCpuCount": { + "min": 0, + "max": 0 + }, + "memoryInGiB": { + "min": 0, + "max": 0 + }, + "architectureTypes": [ + "ARM64" + ], + "memoryInGiBPerVCpu": { + "min": 0, + "max": 0 + }, + "localStorageSupport": "Excluded", + "localStorageInGiB": { + "min": 0, + "max": 0 + }, + "localStorageDiskTypes": [ + "HDD" + ], + "dataDiskCount": { + "min": 0, + "max": 0 + }, + "networkInterfaceCount": { + "min": 0, + "max": 0 + }, + "networkBandwidthInMbps": { + "min": 0, + "max": 0 + }, + "rdmaSupport": "Excluded", + "rdmaNetworkInterfaceCount": { + "min": 0, + "max": 0 + }, + "acceleratorSupport": "Excluded", + "acceleratorManufacturers": [ + "AMD" + ], + "acceleratorTypes": [ + "GPU" + ], + "acceleratorCount": { + "min": 0, + "max": 0 + }, + "vmCategories": [ + "GeneralPurpose" + ], + "cpuManufacturers": [ + "Intel" + ], + "hyperVGenerations": [ + "Gen1" + ], + "burstableSupport": "Excluded", + "allowedVMSizes": [ + "dmtpdlqphckngwjhvkucfze" + ], + "excludedVMSizes": [ + "yhjhharuhcyfxjnhxmflvsrdmei" + ] + }, + "computeProfile": { + "virtualMachineProfile": { + "osProfile": { + "adminUsername": "tjdagcdhlpihlhkrz", + "customData": "jemgccf", + "windowsConfiguration": { + "provisionVMAgent": true, + "enableAutomaticUpdates": true, + "timeZone": "kiibvtut", + "additionalUnattendContent": [ + { + "passName": "OobeSystem", + "componentName": "Microsoft-Windows-Shell-Setup", + "settingName": "AutoLogon", + "content": "zdpsub" + } + ], + "patchSettings": { + "patchMode": "Manual", + "enableHotpatching": true, + "assessmentMode": "ImageDefault", + "automaticByPlatformSettings": { + "rebootSetting": "Unknown", + "bypassPlatformSafetyChecksOnUserSchedule": true + } + }, + "winRM": { + "listeners": [ + { + "protocol": "Http", + "certificateUrl": "https://microsoft.com/a" + } + ] + } + }, + "linuxConfiguration": { + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "path": "xyntsvqsiqsguyegxdvkmwhwz", + "keyData": "mfk" + } + ] + }, + "provisionVMAgent": true, + "patchSettings": { + "patchMode": "ImageDefault", + "assessmentMode": "ImageDefault", + "automaticByPlatformSettings": { + "rebootSetting": "Unknown", + "bypassPlatformSafetyChecksOnUserSchedule": true + } + }, + "enableVMAgentPlatformUpdates": true + }, + "secrets": [ + { + "sourceVault": { + "id": "obwiwwsgkdg" + }, + "vaultCertificates": [ + { + "certificateUrl": "https://microsoft.com/agmunp", + "certificateStore": "zxrjtvfmltdj" + } + ] + } + ], + "allowExtensionOperations": true, + "requireGuestProvisionSignal": true, + "computerName": "jagkikqx" + }, + "storageProfile": { + "imageReference": { + "id": "iwqrkiccafacxfctrxb", + "publisher": "edjvbyisusjhyvnzgyvhixmnfzzsy", + "offer": "olkxwdozixpjkjuk", + "sku": "qmsq", + "version": "hruassyajrafmgmub", + "sharedGalleryImageId": "ahzweiez", + "communityGalleryImageId": "bysd" + }, + "osDisk": { + "name": "pccysrjeo", + "caching": "None", + "writeAcceleratorEnabled": true, + "createOption": "FromImage", + "diffDiskSettings": { + "option": "Local", + "placement": "CacheDisk" + }, + "diskSizeGB": 18, + "osType": "Windows", + "image": { + "uri": "https://microsoft.com/a" + }, + "managedDisk": { + "storageAccountType": "Standard_LRS", + "diskEncryptionSet": { + "id": "thmks" + }, + "securityProfile": { + "securityEncryptionType": "VMGuestStateOnly", + "diskEncryptionSet": { + "id": "thmks" + } + }, + "id": "wuqdcyunrkewr" + }, + "deleteOption": "Delete", + "encryptionSettings": { + "diskEncryptionKey": { + "secretUrl": "cuatfdkula", + "sourceVault": { + "id": "ioypuofzltakyfcomjwfkmyz" + } + }, + "keyEncryptionKey": { + "keyUrl": "imt", + "sourceVault": { + "id": "ioypuofzltakyfcomjwfkmyz" + } + }, + "enabled": true + }, + "vhd": { + "uri": "anvtwgmfthxmyhdnbvabmzyrknxwf" + } + }, + "dataDisks": [ + { + "name": "aq", + "lun": 1, + "caching": "None", + "writeAcceleratorEnabled": true, + "createOption": "FromImage", + "diskSizeGB": 24, + "managedDisk": { + "storageAccountType": "Standard_LRS", + "diskEncryptionSet": { + "id": "thmks" + }, + "securityProfile": { + "securityEncryptionType": "VMGuestStateOnly", + "diskEncryptionSet": { + "id": "thmks" + } + }, + "id": "zcoqnxlomkordbdolkxraqbwgsh" + }, + "deleteOption": "Delete", + "vhd": { + "uri": "anvtwgmfthxmyhdnbvabmzyrknxwf" + }, + "image": { + "uri": "anvtwgmfthxmyhdnbvabmzyrknxwf" + }, + "sourceResource": { + "id": "fpabycyqmkqqfdfrzqmnykmy" + }, + "toBeDetached": true, + "detachOption": "ForceDetach" + } + ], + "diskControllerType": "SCSI" + }, + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "name": "keppldrpxjgckgsmq", + "properties": { + "primary": true, + "enableAcceleratedNetworking": true, + "disableTcpStateTracking": true, + "enableFpga": true, + "networkSecurityGroup": { + "id": "obwiwwsgkdg" + }, + "dnsSettings": { + "dnsServers": [ + "pnhvxygytoozxmkt" + ] + }, + "ipConfigurations": [ + { + "name": "nqjufbencyticmohsdxogwiu", + "properties": { + "subnet": { + "id": "djtafmblvomuabwlhlyoxzgdkwkz" + }, + "primary": true, + "publicIPAddressConfiguration": { + "name": "kgvjhctjspzldadcmtgsojglhmj", + "properties": { + "idleTimeoutInMinutes": 22, + "dnsSettings": { + "domainNameLabel": "vsvbcpusndz", + "domainNameLabelScope": "TenantReuse" + }, + "ipTags": [ + { + "ipTagType": "hengwhngakjlsmhuegnlbtpmiihf", + "tag": "zlnuzjdbdnwbtep" + } + ], + "publicIPPrefix": { + "id": "obwiwwsgkdg" + }, + "publicIPAddressVersion": "IPv4", + "deleteOption": "Delete", + "publicIPAllocationMethod": "Dynamic" + }, + "sku": { + "name": "Basic", + "tier": "Regional" + }, + "tags": {} + }, + "privateIPAddressVersion": "IPv4", + "applicationGatewayBackendAddressPools": [ + { + "id": "obwiwwsgkdg" + } + ], + "applicationSecurityGroups": [ + { + "id": "obwiwwsgkdg" + } + ], + "loadBalancerBackendAddressPools": [ + { + "id": "obwiwwsgkdg" + } + ] + } + } + ], + "enableIPForwarding": true, + "deleteOption": "Delete", + "auxiliaryMode": "None", + "auxiliarySku": "None", + "dscpConfiguration": { + "id": "ioypuofzltakyfcomjwfkmyz" + } + }, + "tags": {} + } + ], + "networkApiVersion": "2020-11-01", + "networkInterfaces": [ + { + "properties": { + "primary": true, + "deleteOption": "Delete" + }, + "id": "bmlqsytfgnkwgkibsmsoeh" + } + ] + }, + "securityProfile": { + "uefiSettings": { + "secureBootEnabled": true, + "vTpmEnabled": true + }, + "encryptionAtHost": true, + "securityType": "TrustedLaunch", + "encryptionIdentity": { + "userAssignedIdentityResourceId": "wkiykqbrifryaruzokophodpjig" + }, + "proxyAgentSettings": { + "enabled": true, + "mode": "Audit", + "keyIncarnationId": 17, + "wireServer": { + "mode": "Audit", + "inVMAccessControlProfileReferenceId": "cubhuucckqkxbifmertj" + }, + "imds": { + "mode": "Audit", + "inVMAccessControlProfileReferenceId": "cubhuucckqkxbifmertj" + }, + "addProxyAgentExtension": true + } + }, + "diagnosticsProfile": { + "bootDiagnostics": { + "enabled": true, + "storageUri": "https://microsoft.com/a" + } + }, + "licenseType": "iipnwxwfkfbbouzbwicqxnxicjz", + "scheduledEventsProfile": { + "terminateNotificationProfile": { + "notBeforeTimeout": "ypif", + "enable": true + }, + "osImageNotificationProfile": { + "notBeforeTimeout": "fztbudpjkicyigtvltlbszmivfbmb", + "enable": true + } + }, + "userData": "qcsgczwavs", + "capacityReservation": { + "capacityReservationGroup": { + "id": "obwiwwsgkdg" + } + }, + "applicationProfile": { + "galleryApplications": [ + { + "tags": "qgn", + "order": 14, + "packageReferenceId": "soddwzqduyolzz", + "configurationReference": "mddsvaruvzvblkafsotscupperzu", + "treatFailureAsDeploymentFailure": true, + "enableAutomaticUpgrade": true + } + ] + }, + "scheduledEventsPolicy": { + "userInitiatedRedeploy": { + "automaticallyApprove": true + }, + "userInitiatedReboot": { + "automaticallyApprove": true + }, + "scheduledEventsAdditionalPublishingTargets": { + "eventGridAndResourceGraph": { + "enable": true, + "scheduledEventsApiVersion": "sbzjonqss" + } + }, + "allInstancesDown": { + "automaticallyApprove": true + } + }, + "additionalCapabilities": { + "ultraSSDEnabled": true, + "hibernationEnabled": true + }, + "extensionsTimeBudget": "hvrimblcqujozpeurohjcn" + }, + "computeApiVersion": "bccikdfzgrygwpefvmvptutceg", + "extensions": [ + { + "name": "gj", + "properties": { + "forceUpdateTag": "mistpuvreycjbhahmcvgkjskeiop", + "publisher": "rzsodcysrfxkrgnrjqlpfqe", + "type": "eyehf", + "typeHandlerVersion": "wezzz", + "autoUpgradeMinorVersion": true, + "enableAutomaticUpgrade": true, + "suppressFailures": true, + "protectedSettingsFromKeyVault": { + "secretUrl": "cuatfdkula", + "sourceVault": { + "id": "ioypuofzltakyfcomjwfkmyz" + } + }, + "provisionAfterExtensions": [ + "jddcihtuzdczkvkryhktzjlf" + ], + "settings": {}, + "protectedSettings": {} + } + } + ] + }, + "zoneAllocationPolicy": { + "distributionStrategy": "BestEffortSingleZone", + "zonePreferences": [ + { + "zone": "voauikerqjpeepaeaokkcybyjd", + "rank": 46292 + } + ] + }, + "retryPolicy": { + "retryCount": 9, + "retryWindowInMinutes": 21 + }, + "provisioningState": "Succeeded" + }, + "zones": [ + "cyriutfcgydtaezeso" + ], + "identity": { + "type": "None", + "userAssignedIdentities": {}, + "principalId": "2ebdc740-a760-4406-80e9-6be95ebc9743", + "tenantId": "3ec2ab23-9f13-4328-85c8-21928acbc7b8" + }, + "plan": { + "name": "owvrgjbxrkj", + "publisher": "qhybdqbljmztcjujxal", + "product": "rlhap", + "promotionCode": "agypojbtdxvgqgisautnhcoysgy", + "version": "ghmnlomqg" + }, + "id": "/subscriptions/50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B/resourceGroups/rgcomputebulkactions/providers/Microsoft.Compute/bulkActions/3ec2ab23-9f13-4328-85c8-21928acbc7b8", + "name": "kv", + "type": "v", + "systemData": { + "createdBy": "kmjag", + "createdByType": "User", + "createdAt": "2025-10-02T21:36:21.174Z", + "lastModifiedBy": "fwcgdzyolflmgnxnnmpoevpwr", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-10-02T21:36:21.174Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_ListByResourceGroup_MinimumSet_Gen.json b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_ListByResourceGroup_MinimumSet_Gen.json new file mode 100644 index 000000000000..4a4569f1c45d --- /dev/null +++ b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_ListByResourceGroup_MinimumSet_Gen.json @@ -0,0 +1,21 @@ +{ + "title": "BulkActions_ListByResourceGroup - generated by [MinimumSet] rule", + "operationId": "BulkActions_ListByResourceGroup", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B", + "resourceGroupName": "rgcomputebulkactions", + "location": "eastus2euap" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B/resourceGroups/rgcomputebulkactions/providers/Microsoft.Compute/bulkActions/3ec2ab23-9f13-4328-85c8-21928acbc7b8" + } + ] + } + } + } +} diff --git a/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_ListBySubscription_MaximumSet_Gen.json b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_ListBySubscription_MaximumSet_Gen.json new file mode 100644 index 000000000000..09e4fcc64fcf --- /dev/null +++ b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_ListBySubscription_MaximumSet_Gen.json @@ -0,0 +1,516 @@ +{ + "title": "BulkActions_ListBySubscription - generated by [MaximumSet] rule", + "operationId": "BulkActions_ListBySubscription", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B", + "location": "eastus2euap" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "properties": { + "capacity": 24, + "capacityType": "VM", + "priorityProfile": { + "type": "Regular", + "maxPricePerVM": 21, + "evictionPolicy": "Delete", + "allocationStrategy": "LowestPrice" + }, + "vmSizesProfile": [ + { + "name": "nolktwnfqdwikqiat", + "rank": 46189 + } + ], + "vmAttributes": { + "vCpuCount": { + "min": 0, + "max": 0 + }, + "memoryInGiB": { + "min": 0, + "max": 0 + }, + "architectureTypes": [ + "ARM64" + ], + "memoryInGiBPerVCpu": { + "min": 0, + "max": 0 + }, + "localStorageSupport": "Excluded", + "localStorageInGiB": { + "min": 0, + "max": 0 + }, + "localStorageDiskTypes": [ + "HDD" + ], + "dataDiskCount": { + "min": 0, + "max": 0 + }, + "networkInterfaceCount": { + "min": 0, + "max": 0 + }, + "networkBandwidthInMbps": { + "min": 0, + "max": 0 + }, + "rdmaSupport": "Excluded", + "rdmaNetworkInterfaceCount": { + "min": 0, + "max": 0 + }, + "acceleratorSupport": "Excluded", + "acceleratorManufacturers": [ + "AMD" + ], + "acceleratorTypes": [ + "GPU" + ], + "acceleratorCount": { + "min": 0, + "max": 0 + }, + "vmCategories": [ + "GeneralPurpose" + ], + "cpuManufacturers": [ + "Intel" + ], + "hyperVGenerations": [ + "Gen1" + ], + "burstableSupport": "Excluded", + "allowedVMSizes": [ + "dmtpdlqphckngwjhvkucfze" + ], + "excludedVMSizes": [ + "yhjhharuhcyfxjnhxmflvsrdmei" + ] + }, + "computeProfile": { + "virtualMachineProfile": { + "osProfile": { + "adminUsername": "tjdagcdhlpihlhkrz", + "customData": "jemgccf", + "windowsConfiguration": { + "provisionVMAgent": true, + "enableAutomaticUpdates": true, + "timeZone": "kiibvtut", + "additionalUnattendContent": [ + { + "passName": "OobeSystem", + "componentName": "Microsoft-Windows-Shell-Setup", + "settingName": "AutoLogon", + "content": "zdpsub" + } + ], + "patchSettings": { + "patchMode": "Manual", + "enableHotpatching": true, + "assessmentMode": "ImageDefault", + "automaticByPlatformSettings": { + "rebootSetting": "Unknown", + "bypassPlatformSafetyChecksOnUserSchedule": true + } + }, + "winRM": { + "listeners": [ + { + "protocol": "Http", + "certificateUrl": "https://microsoft.com/a" + } + ] + } + }, + "linuxConfiguration": { + "disablePasswordAuthentication": true, + "ssh": { + "publicKeys": [ + { + "path": "xyntsvqsiqsguyegxdvkmwhwz", + "keyData": "mfk" + } + ] + }, + "provisionVMAgent": true, + "patchSettings": { + "patchMode": "ImageDefault", + "assessmentMode": "ImageDefault", + "automaticByPlatformSettings": { + "rebootSetting": "Unknown", + "bypassPlatformSafetyChecksOnUserSchedule": true + } + }, + "enableVMAgentPlatformUpdates": true + }, + "secrets": [ + { + "sourceVault": { + "id": "obwiwwsgkdg" + }, + "vaultCertificates": [ + { + "certificateUrl": "https://microsoft.com/agmunp", + "certificateStore": "zxrjtvfmltdj" + } + ] + } + ], + "allowExtensionOperations": true, + "requireGuestProvisionSignal": true, + "computerName": "jagkikqx" + }, + "storageProfile": { + "imageReference": { + "id": "iwqrkiccafacxfctrxb", + "publisher": "edjvbyisusjhyvnzgyvhixmnfzzsy", + "offer": "olkxwdozixpjkjuk", + "sku": "qmsq", + "version": "hruassyajrafmgmub", + "sharedGalleryImageId": "ahzweiez", + "communityGalleryImageId": "bysd" + }, + "osDisk": { + "name": "pccysrjeo", + "caching": "None", + "writeAcceleratorEnabled": true, + "createOption": "FromImage", + "diffDiskSettings": { + "option": "Local", + "placement": "CacheDisk" + }, + "diskSizeGB": 18, + "osType": "Windows", + "image": { + "uri": "https://microsoft.com/a" + }, + "managedDisk": { + "storageAccountType": "Standard_LRS", + "diskEncryptionSet": { + "id": "thmks" + }, + "securityProfile": { + "securityEncryptionType": "VMGuestStateOnly", + "diskEncryptionSet": { + "id": "thmks" + } + }, + "id": "wuqdcyunrkewr" + }, + "deleteOption": "Delete", + "encryptionSettings": { + "diskEncryptionKey": { + "secretUrl": "cuatfdkula", + "sourceVault": { + "id": "ioypuofzltakyfcomjwfkmyz" + } + }, + "keyEncryptionKey": { + "keyUrl": "imt", + "sourceVault": { + "id": "ioypuofzltakyfcomjwfkmyz" + } + }, + "enabled": true + }, + "vhd": { + "uri": "anvtwgmfthxmyhdnbvabmzyrknxwf" + } + }, + "dataDisks": [ + { + "name": "aq", + "lun": 1, + "caching": "None", + "writeAcceleratorEnabled": true, + "createOption": "FromImage", + "diskSizeGB": 24, + "managedDisk": { + "storageAccountType": "Standard_LRS", + "diskEncryptionSet": { + "id": "thmks" + }, + "securityProfile": { + "securityEncryptionType": "VMGuestStateOnly", + "diskEncryptionSet": { + "id": "thmks" + } + }, + "id": "zcoqnxlomkordbdolkxraqbwgsh" + }, + "deleteOption": "Delete", + "vhd": { + "uri": "anvtwgmfthxmyhdnbvabmzyrknxwf" + }, + "image": { + "uri": "anvtwgmfthxmyhdnbvabmzyrknxwf" + }, + "sourceResource": { + "id": "fpabycyqmkqqfdfrzqmnykmy" + }, + "toBeDetached": true, + "detachOption": "ForceDetach" + } + ], + "diskControllerType": "SCSI" + }, + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "name": "keppldrpxjgckgsmq", + "properties": { + "primary": true, + "enableAcceleratedNetworking": true, + "disableTcpStateTracking": true, + "enableFpga": true, + "networkSecurityGroup": { + "id": "obwiwwsgkdg" + }, + "dnsSettings": { + "dnsServers": [ + "pnhvxygytoozxmkt" + ] + }, + "ipConfigurations": [ + { + "name": "nqjufbencyticmohsdxogwiu", + "properties": { + "subnet": { + "id": "djtafmblvomuabwlhlyoxzgdkwkz" + }, + "primary": true, + "publicIPAddressConfiguration": { + "name": "kgvjhctjspzldadcmtgsojglhmj", + "properties": { + "idleTimeoutInMinutes": 22, + "dnsSettings": { + "domainNameLabel": "vsvbcpusndz", + "domainNameLabelScope": "TenantReuse" + }, + "ipTags": [ + { + "ipTagType": "hengwhngakjlsmhuegnlbtpmiihf", + "tag": "zlnuzjdbdnwbtep" + } + ], + "publicIPPrefix": { + "id": "obwiwwsgkdg" + }, + "publicIPAddressVersion": "IPv4", + "deleteOption": "Delete", + "publicIPAllocationMethod": "Dynamic" + }, + "sku": { + "name": "Basic", + "tier": "Regional" + }, + "tags": {} + }, + "privateIPAddressVersion": "IPv4", + "applicationGatewayBackendAddressPools": [ + { + "id": "obwiwwsgkdg" + } + ], + "applicationSecurityGroups": [ + { + "id": "obwiwwsgkdg" + } + ], + "loadBalancerBackendAddressPools": [ + { + "id": "obwiwwsgkdg" + } + ] + } + } + ], + "enableIPForwarding": true, + "deleteOption": "Delete", + "auxiliaryMode": "None", + "auxiliarySku": "None", + "dscpConfiguration": { + "id": "ioypuofzltakyfcomjwfkmyz" + } + }, + "tags": {} + } + ], + "networkApiVersion": "2020-11-01", + "networkInterfaces": [ + { + "properties": { + "primary": true, + "deleteOption": "Delete" + }, + "id": "bmlqsytfgnkwgkibsmsoeh" + } + ] + }, + "securityProfile": { + "uefiSettings": { + "secureBootEnabled": true, + "vTpmEnabled": true + }, + "encryptionAtHost": true, + "securityType": "TrustedLaunch", + "encryptionIdentity": { + "userAssignedIdentityResourceId": "wkiykqbrifryaruzokophodpjig" + }, + "proxyAgentSettings": { + "enabled": true, + "mode": "Audit", + "keyIncarnationId": 17, + "wireServer": { + "mode": "Audit", + "inVMAccessControlProfileReferenceId": "cubhuucckqkxbifmertj" + }, + "imds": { + "mode": "Audit", + "inVMAccessControlProfileReferenceId": "cubhuucckqkxbifmertj" + }, + "addProxyAgentExtension": true + } + }, + "diagnosticsProfile": { + "bootDiagnostics": { + "enabled": true, + "storageUri": "https://microsoft.com/a" + } + }, + "licenseType": "iipnwxwfkfbbouzbwicqxnxicjz", + "scheduledEventsProfile": { + "terminateNotificationProfile": { + "notBeforeTimeout": "ypif", + "enable": true + }, + "osImageNotificationProfile": { + "notBeforeTimeout": "fztbudpjkicyigtvltlbszmivfbmb", + "enable": true + } + }, + "userData": "qcsgczwavs", + "capacityReservation": { + "capacityReservationGroup": { + "id": "obwiwwsgkdg" + } + }, + "applicationProfile": { + "galleryApplications": [ + { + "tags": "qgn", + "order": 14, + "packageReferenceId": "soddwzqduyolzz", + "configurationReference": "mddsvaruvzvblkafsotscupperzu", + "treatFailureAsDeploymentFailure": true, + "enableAutomaticUpgrade": true + } + ] + }, + "scheduledEventsPolicy": { + "userInitiatedRedeploy": { + "automaticallyApprove": true + }, + "userInitiatedReboot": { + "automaticallyApprove": true + }, + "scheduledEventsAdditionalPublishingTargets": { + "eventGridAndResourceGraph": { + "enable": true, + "scheduledEventsApiVersion": "sbzjonqss" + } + }, + "allInstancesDown": { + "automaticallyApprove": true + } + }, + "additionalCapabilities": { + "ultraSSDEnabled": true, + "hibernationEnabled": true + }, + "extensionsTimeBudget": "hvrimblcqujozpeurohjcn" + }, + "computeApiVersion": "bccikdfzgrygwpefvmvptutceg", + "extensions": [ + { + "name": "gj", + "properties": { + "forceUpdateTag": "mistpuvreycjbhahmcvgkjskeiop", + "publisher": "rzsodcysrfxkrgnrjqlpfqe", + "type": "eyehf", + "typeHandlerVersion": "wezzz", + "autoUpgradeMinorVersion": true, + "enableAutomaticUpgrade": true, + "suppressFailures": true, + "protectedSettingsFromKeyVault": { + "secretUrl": "cuatfdkula", + "sourceVault": { + "id": "ioypuofzltakyfcomjwfkmyz" + } + }, + "provisionAfterExtensions": [ + "jddcihtuzdczkvkryhktzjlf" + ], + "settings": {}, + "protectedSettings": {} + } + } + ] + }, + "zoneAllocationPolicy": { + "distributionStrategy": "BestEffortSingleZone", + "zonePreferences": [ + { + "zone": "voauikerqjpeepaeaokkcybyjd", + "rank": 46292 + } + ] + }, + "retryPolicy": { + "retryCount": 9, + "retryWindowInMinutes": 21 + }, + "provisioningState": "Succeeded" + }, + "zones": [ + "cyriutfcgydtaezeso" + ], + "identity": { + "type": "None", + "userAssignedIdentities": {}, + "principalId": "2ebdc740-a760-4406-80e9-6be95ebc9743", + "tenantId": "3ec2ab23-9f13-4328-85c8-21928acbc7b8" + }, + "plan": { + "name": "owvrgjbxrkj", + "publisher": "qhybdqbljmztcjujxal", + "product": "rlhap", + "promotionCode": "agypojbtdxvgqgisautnhcoysgy", + "version": "ghmnlomqg" + }, + "id": "/subscriptions/50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B/resourceGroups/rgcomputebulkactions/providers/Microsoft.Compute/bulkActions/3ec2ab23-9f13-4328-85c8-21928acbc7b8", + "name": "kv", + "type": "v", + "systemData": { + "createdBy": "kmjag", + "createdByType": "User", + "createdAt": "2025-10-02T21:36:21.174Z", + "lastModifiedBy": "fwcgdzyolflmgnxnnmpoevpwr", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-10-02T21:36:21.174Z" + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_ListBySubscription_MinimumSet_Gen.json b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_ListBySubscription_MinimumSet_Gen.json new file mode 100644 index 000000000000..3a72ac5c238e --- /dev/null +++ b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_ListBySubscription_MinimumSet_Gen.json @@ -0,0 +1,20 @@ +{ + "title": "BulkActions_ListBySubscription - generated by [MinimumSet] rule", + "operationId": "BulkActions_ListBySubscription", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B", + "location": "eastus2euap" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B/resourceGroups/rgcomputebulkactions/providers/Microsoft.Compute/bulkActions/3ec2ab23-9f13-4328-85c8-21928acbc7b8" + } + ] + } + } + } +} diff --git a/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_ListVirtualMachines_MaximumSet_Gen.json b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_ListVirtualMachines_MaximumSet_Gen.json new file mode 100644 index 000000000000..82cf66eeb6c9 --- /dev/null +++ b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_ListVirtualMachines_MaximumSet_Gen.json @@ -0,0 +1,44 @@ +{ + "title": "BulkActions_ListVirtualMachines - generated by [MaximumSet] rule", + "operationId": "BulkActions_ListVirtualMachines", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B", + "resourceGroupName": "rgcomputebulkactions", + "name": "50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B", + "location": "eastus2euap", + "$filter": "elxwdbimmgosmnb", + "$skiptoken": "nrcv" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "wyonfuximvgywtidpl", + "id": "/subscriptions/50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B/resourceGroups/rgcomputebulkactions/providers/Microsoft.Compute/virtualMachines/vm1", + "type": "ocaksutbzfxnzsrk", + "operationStatus": "Creating", + "error": { + "code": "pabnwukgp", + "target": "eubgddtxzkwsnntfrdtn", + "message": "mdx", + "details": [ + { + "code": "cxrrixrtbseucawmgz", + "target": "baifi", + "message": "hbwvuseelsixdnsrosai" + } + ], + "innererror": { + "exceptionType": "klyhjncvdigrputprzqhthxr", + "errorDetail": "xvsexmezlv" + } + } + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_VirtualMachinesCancelOperations_MaximumSet_Gen.json b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_VirtualMachinesCancelOperations_MaximumSet_Gen.json new file mode 100644 index 000000000000..8a31b9695e2f --- /dev/null +++ b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_VirtualMachinesCancelOperations_MaximumSet_Gen.json @@ -0,0 +1,47 @@ +{ + "title": "BulkActions_VirtualMachinesCancelOperations_MaximumSet_Gen - generated by [MaximumSet] rule", + "operationId": "BulkActions_VirtualMachinesCancelOperations", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "D8E30CC0-2763-4FCC-84A8-3C5659281032", + "location": "eastus2euap", + "requestBody": { + "operationIds": [ + "2a3fce8e-874c-45f4-9d27-1a804f3b7a0f" + ], + "correlationid": "4431320c-7a90-4300-b82b-73f0696ae50e" + } + }, + "responses": { + "200": { + "body": { + "results": [ + { + "resourceId": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3", + "errorCode": "null", + "errorDetails": "null", + "operation": { + "operationId": "2a3fce8e-874c-45f4-9d27-1a804f3b7a0f", + "resourceId": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3", + "opType": "Deallocate", + "subscriptionId": "D8E30CC0-2763-4FCC-84A8-3C5659281032", + "deadline": "2024-11-01T17:52:53.667Z", + "deadlineType": "InitiateAt", + "state": "Cancelled", + "timezone": "UTC", + "resourceOperationError": { + "errorCode": "null", + "errorDetails": "null" + }, + "completedAt": "2024-11-01T17:52:53.668Z", + "retryPolicy": { + "retryCount": 4, + "retryWindowInMinutes": 27 + } + } + } + ] + } + } + } +} diff --git a/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_VirtualMachinesCancelOperations_MinimumSet_Gen.json b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_VirtualMachinesCancelOperations_MinimumSet_Gen.json new file mode 100644 index 000000000000..5bededd8dd0c --- /dev/null +++ b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_VirtualMachinesCancelOperations_MinimumSet_Gen.json @@ -0,0 +1,24 @@ +{ + "title": "BulkActions_VirtualMachinesCancelOperations_MaximumSet_Gen - generated by [MaximumSet] rule - generated by [MinimumSet] rule", + "operationId": "BulkActions_VirtualMachinesCancelOperations", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B", + "location": "eastus2euap", + "requestBody": { + "operationIds": [ + "23480d2f-1dca-4610-afb4-dd25eec1f34r" + ], + "correlationid": "4431320c-7a90-4300-b82b-73f0696ae50e" + } + }, + "responses": { + "200": { + "body": { + "results": [ + {} + ] + } + } + } +} diff --git a/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_VirtualMachinesExecuteCreate_MaximumSet_Gen.json b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_VirtualMachinesExecuteCreate_MaximumSet_Gen.json new file mode 100644 index 000000000000..50cff2303383 --- /dev/null +++ b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_VirtualMachinesExecuteCreate_MaximumSet_Gen.json @@ -0,0 +1,147 @@ +{ + "title": "BulkActions_VirtualMachinesExecuteCreate_MaximumSet_Gen - generated by [MaximumSet] rule", + "operationId": "BulkActions_VirtualMachinesExecuteCreate", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B", + "location": "eastus2euap", + "requestBody": { + "resourceConfigParameters": { + "resourceCount": 1, + "baseProfile": { + "resourcegroupName": "yourresourcegroup", + "computeApiVersion": "2023-09-01", + "properties": { + "vmExtensions": [ + { + "name": "Microsoft.Azure.Geneva.GenevaMonitoring", + "location": "eastus2euap", + "properties": { + "autoUpgradeMinorVersion": true, + "enableAutomaticUpgrade": true, + "suppressFailures": true, + "publisher": "Microsoft.Azure.Geneva", + "type": "GenevaMonitoring", + "typeHandlerVersion": "2.0" + } + } + ], + "hardwareProfile": { + "vmSize": "Standard_D2ads_v5" + }, + "storageProfile": { + "imageReference": { + "publisher": "MicrosoftWindowsServer", + "offer": "WindowsServer", + "sku": "2022-datacenter-azure-edition", + "version": "latest" + }, + "osDisk": { + "osType": "Windows", + "createOption": "FromImage", + "caching": "ReadWrite", + "managedDisk": { + "storageAccountType": "Standard_LRS" + }, + "deleteOption": "Detach", + "diskSizeGB": 127 + }, + "diskControllerType": "SCSI" + }, + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "name": "vmTest", + "properties": { + "primary": true, + "enableIPForwarding": true, + "ipConfigurations": [ + { + "name": "vmTest", + "properties": { + "subnet": { + "id": "/subscriptions/264f0c8a-4d5f-496c-80df-b438624ce55f/resourceGroups/yourresourcegroup/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/default" + }, + "primary": true, + "applicationGatewayBackendAddressPools": [], + "loadBalancerBackendAddressPools": [] + } + } + ] + } + } + ], + "networkApiVersion": "2022-07-01" + } + } + }, + "resourceOverrides": [ + { + "name": "testvmtestTwo", + "location": "eastus2euap", + "properties": { + "hardwareProfile": { + "vmSize": "Standard_D2ads_v5" + }, + "osProfile": { + "computerName": "testtestTwo", + "adminUsername": "testUserName", + "adminPassword": "YourStr0ngP@ssword123!", + "windowsConfiguration": { + "provisionVmAgent": true, + "enableAutomaticUpdates": true, + "patchSettings": { + "patchMode": "AutomaticByPlatform", + "assessmentMode": "ImageDefault" + } + } + } + } + } + ] + }, + "executionParameters": { + "retryPolicy": { + "retryCount": 5, + "retryWindowInMinutes": 45 + } + }, + "correlationid": "7efcfae3-f50d-4323-9aba-1093a33368f8" + } + }, + "responses": { + "200": { + "body": { + "type": "VirtualMachine", + "location": "eastus2euap", + "description": "Create Resource Request", + "results": [ + { + "resourceId": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/TC_0", + "errorCode": "null", + "errorDetails": "null", + "operation": { + "operationId": "2a3fce8e-874c-45f4-9d27-1a804f3b7a0f", + "resourceId": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3", + "opType": "Create", + "subscriptionId": "D8E30CC0-2763-4FCC-84A8-3C5659281032", + "deadline": "2024-11-01T17:52:53.667Z", + "deadlineType": "InitiateAt", + "state": "Succeeded", + "timezone": "UTC", + "resourceOperationError": { + "errorCode": "null", + "errorDetails": "null" + }, + "completedAt": "2024-11-01T17:52:53.668Z", + "retryPolicy": { + "retryCount": 4, + "retryWindowInMinutes": 27 + } + } + } + ] + } + } + } +} diff --git a/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_VirtualMachinesExecuteCreate_MinimumSet_Gen.json b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_VirtualMachinesExecuteCreate_MinimumSet_Gen.json new file mode 100644 index 000000000000..d77022665aa5 --- /dev/null +++ b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_VirtualMachinesExecuteCreate_MinimumSet_Gen.json @@ -0,0 +1,24 @@ +{ + "title": "BulkActions_VirtualMachinesExecuteCreate_MinimumSet_Gen - generated by [MinimumSet] rule - generated by [MinimumSet] rule", + "operationId": "BulkActions_VirtualMachinesExecuteCreate", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B", + "location": "eastus2euap", + "requestBody": { + "resourceConfigParameters": { + "resourceCount": 1 + }, + "executionParameters": {} + } + }, + "responses": { + "200": { + "body": { + "type": "VirtualMachine", + "location": "eastus2euap", + "description": "Create Resource Request" + } + } + } +} diff --git a/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_VirtualMachinesExecuteDeallocate_MaximumSet_Gen.json b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_VirtualMachinesExecuteDeallocate_MaximumSet_Gen.json new file mode 100644 index 000000000000..86d0e2d4955a --- /dev/null +++ b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_VirtualMachinesExecuteDeallocate_MaximumSet_Gen.json @@ -0,0 +1,58 @@ +{ + "title": "BulkActions_VirtualMachinesExecuteDeallocate_MaximumSet_Gen - generated by [MaximumSet] rule", + "operationId": "BulkActions_VirtualMachinesExecuteDeallocate", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "D8E30CC0-2763-4FCC-84A8-3C5659281032", + "location": "eastus2euap", + "requestBody": { + "executionParameters": { + "retryPolicy": { + "retryCount": 4, + "retryWindowInMinutes": 27 + } + }, + "resources": { + "ids": [ + "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3" + ] + }, + "correlationid": "4431320c-7a90-4300-b82b-73f0696ae50e" + } + }, + "responses": { + "200": { + "body": { + "type": "VirtualMachine", + "location": "eastus2euap", + "results": [ + { + "resourceId": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3", + "errorCode": "null", + "errorDetails": "null", + "operation": { + "operationId": "2a3fce8e-874c-45f4-9d27-1a804f3b7a0f", + "resourceId": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3", + "opType": "Deallocate", + "subscriptionId": "D8E30CC0-2763-4FCC-84A8-3C5659281032", + "deadline": "2024-11-01T17:52:53.667Z", + "deadlineType": "InitiateAt", + "state": "Succeeded", + "timezone": "UTC", + "resourceOperationError": { + "errorCode": "null", + "errorDetails": "null" + }, + "completedAt": "2024-11-01T17:52:53.668Z", + "retryPolicy": { + "retryCount": 4, + "retryWindowInMinutes": 27 + } + } + } + ], + "description": "Deallocate Resource Request" + } + } + } +} diff --git a/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_VirtualMachinesExecuteDeallocate_MinimumSet_Gen.json b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_VirtualMachinesExecuteDeallocate_MinimumSet_Gen.json new file mode 100644 index 000000000000..43709d949940 --- /dev/null +++ b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_VirtualMachinesExecuteDeallocate_MinimumSet_Gen.json @@ -0,0 +1,27 @@ +{ + "title": "BulkActions_VirtualMachinesExecuteDeallocate_MinimumSet_Gen - generated by [MinimumSet] rule", + "operationId": "BulkActions_VirtualMachinesExecuteDeallocate", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B", + "location": "eastus2euap", + "requestBody": { + "executionParameters": {}, + "resources": { + "ids": [ + "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3" + ] + }, + "correlationid": "4431320c-7a90-4300-b82b-73f0696ae50e" + } + }, + "responses": { + "200": { + "body": { + "type": "VirtualMachine", + "location": "eastus2euap", + "description": "Deallocate Resource Request" + } + } + } +} diff --git a/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_VirtualMachinesExecuteDelete_MaximumSet_Gen.json b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_VirtualMachinesExecuteDelete_MaximumSet_Gen.json new file mode 100644 index 000000000000..7c8f2366856b --- /dev/null +++ b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_VirtualMachinesExecuteDelete_MaximumSet_Gen.json @@ -0,0 +1,78 @@ +{ + "title": "BulkActions_VirtualMachinesExecuteDelete_MaximumSet_Gen - generated by [MaximumSet] rule", + "operationId": "BulkActions_VirtualMachinesExecuteDelete", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "0505D8E4-D41A-48FB-9CA5-4AF8D93BE75F", + "location": "east2us2euap", + "requestBody": { + "executionParameters": { + "retryPolicy": { + "retryCount": 2, + "retryWindowInMinutes": 45 + } + }, + "resources": { + "ids": [ + "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3", + "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource4" + ] + }, + "correlationid": "dfe927c5-16a6-40b7-a0f7-8524975ed642", + "forceDeletion": true + } + }, + "responses": { + "200": { + "body": { + "type": "virtualmachines", + "location": "eastus2euap", + "description": "Delete Resource response", + "results": [ + { + "resourceId": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3", + "errorCode": "", + "errorDetails": "", + "operation": { + "operationId": "2a3fce8e-874c-45f4-9d27-1a804f3b7a0f", + "resourceId": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3", + "opType": "Delete", + "subscriptionId": "YourSubscriptionId", + "deadline": "2025-04-15T19:47:03.591Z", + "deadlineType": "InitiateAt", + "state": "PendingScheduling", + "timezone": "UTC", + "resourceOperationError": null, + "completedAt": "2025-04-15T19:47:03.591Z", + "retryPolicy": { + "retryCount": 2, + "retryWindowInMinutes": 45 + } + } + }, + { + "resourceId": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource4", + "errorCode": "", + "errorDetails": "", + "operation": { + "operationId": "264f0c8a-4d5f-496c-80df-b438624ce55f", + "resourceId": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource4", + "opType": "Delete", + "subscriptionId": "YourSubscriptionId", + "deadline": "2025-04-15T19:47:03.591Z", + "deadlineType": "InitiateAt", + "state": "PendingScheduling", + "timezone": "UTC", + "resourceOperationError": null, + "completedAt": "2025-04-15T19:47:03.591Z", + "retryPolicy": { + "retryCount": 2, + "retryWindowInMinutes": 45 + } + } + } + ] + } + } + } +} diff --git a/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_VirtualMachinesExecuteDelete_MinimumSet_Gen.json b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_VirtualMachinesExecuteDelete_MinimumSet_Gen.json new file mode 100644 index 000000000000..5d73718cffee --- /dev/null +++ b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_VirtualMachinesExecuteDelete_MinimumSet_Gen.json @@ -0,0 +1,28 @@ +{ + "title": "BulkActions_VirtualMachinesExecuteDelete_MinimumSet_Gen - generated by [MinimumSet] rule", + "operationId": "BulkActions_VirtualMachinesExecuteDelete", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B", + "location": "eastus2euap", + "requestBody": { + "executionParameters": {}, + "resources": { + "ids": [ + "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3", + "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource4" + ] + }, + "correlationid": "4431320c-7a90-4300-b82b-73f0696ae50e" + } + }, + "responses": { + "200": { + "body": { + "type": "virtualmachines", + "location": "eastus2euap", + "description": "Delete Resource Request" + } + } + } +} diff --git a/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_VirtualMachinesExecuteHibernate_MaximumSet_Gen.json b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_VirtualMachinesExecuteHibernate_MaximumSet_Gen.json new file mode 100644 index 000000000000..365f17c040fa --- /dev/null +++ b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_VirtualMachinesExecuteHibernate_MaximumSet_Gen.json @@ -0,0 +1,58 @@ +{ + "title": "BulkActions_VirtualMachinesExecuteHibernate_MaximumSet_Gen - generated by [MaximumSet] rule", + "operationId": "BulkActions_VirtualMachinesExecuteHibernate", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "D8E30CC0-2763-4FCC-84A8-3C5659281032", + "location": "eastus2euap", + "requestBody": { + "executionParameters": { + "retryPolicy": { + "retryCount": 5, + "retryWindowInMinutes": 27 + } + }, + "resources": { + "ids": [ + "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3" + ] + }, + "correlationid": "4431320c-7a90-4300-b82b-73f0696ae50e" + } + }, + "responses": { + "200": { + "body": { + "type": "VirtualMachine", + "location": "eastus2euap", + "results": [ + { + "resourceId": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3", + "errorCode": "null", + "errorDetails": "null", + "operation": { + "operationId": "2a3fce8e-874c-45f4-9d27-1a804f3b7a0f", + "resourceId": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3", + "opType": "Hibernate", + "subscriptionId": "D8E30CC0-2763-4FCC-84A8-3C5659281032", + "deadline": "2024-11-01T17:52:53.667Z", + "deadlineType": "InitiateAt", + "state": "Succeeded", + "timezone": "UTC", + "resourceOperationError": { + "errorCode": "null", + "errorDetails": "null" + }, + "completedAt": "2024-11-01T17:52:53.668Z", + "retryPolicy": { + "retryCount": 5, + "retryWindowInMinutes": 27 + } + } + } + ], + "description": "Hibernate Resource Request" + } + } + } +} diff --git a/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_VirtualMachinesExecuteHibernate_MinimumSet_Gen.json b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_VirtualMachinesExecuteHibernate_MinimumSet_Gen.json new file mode 100644 index 000000000000..e63e300055d5 --- /dev/null +++ b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_VirtualMachinesExecuteHibernate_MinimumSet_Gen.json @@ -0,0 +1,27 @@ +{ + "title": "BulkActions_VirtualMachinesExecuteHibernate_MinimumSet_Gen - generated by [MinimumSet] rule", + "operationId": "BulkActions_VirtualMachinesExecuteHibernate", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B", + "location": "acuh", + "requestBody": { + "executionParameters": {}, + "resources": { + "ids": [ + "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3" + ] + }, + "correlationid": "4431320c-7a90-4300-b82b-73f0696ae50e" + } + }, + "responses": { + "200": { + "body": { + "type": "VirtualMachine", + "location": "eastus2euap", + "description": "Hibernate Resource Request" + } + } + } +} diff --git a/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_VirtualMachinesExecuteStart_MaximumSet_Gen.json b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_VirtualMachinesExecuteStart_MaximumSet_Gen.json new file mode 100644 index 000000000000..778576350483 --- /dev/null +++ b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_VirtualMachinesExecuteStart_MaximumSet_Gen.json @@ -0,0 +1,58 @@ +{ + "title": "BulkActions_VirtualMachinesExecuteStart_MaximumSet_Gen - generated by [MaximumSet] rule", + "operationId": "BulkActions_VirtualMachinesExecuteStart", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "D8E30CC0-2763-4FCC-84A8-3C5659281032", + "location": "eastus2euap", + "requestBody": { + "executionParameters": { + "retryPolicy": { + "retryCount": 2, + "retryWindowInMinutes": 27 + } + }, + "resources": { + "ids": [ + "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3" + ] + }, + "correlationid": "4431320c-7a90-4300-b82b-73f0696ae50e" + } + }, + "responses": { + "200": { + "body": { + "type": "virtualMachine", + "location": "eastus2euap", + "results": [ + { + "resourceId": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3", + "errorCode": "null", + "errorDetails": "null", + "operation": { + "operationId": "2a3fce8e-874c-45f4-9d27-1a804f3b7a0f", + "resourceId": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3", + "opType": "Start", + "subscriptionId": "D8E30CC0-2763-4FCC-84A8-3C5659281032", + "deadline": "2024-11-01T17:52:53.667Z", + "deadlineType": "InitiateAt", + "state": "Succeeded", + "timezone": "UTC", + "resourceOperationError": { + "errorCode": "null", + "errorDetails": "null" + }, + "completedAt": "2024-11-01T17:52:53.668Z", + "retryPolicy": { + "retryCount": 2, + "retryWindowInMinutes": 27 + } + } + } + ], + "description": "Start Resource Request" + } + } + } +} diff --git a/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_VirtualMachinesExecuteStart_MinimumSet_Gen.json b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_VirtualMachinesExecuteStart_MinimumSet_Gen.json new file mode 100644 index 000000000000..fc1793415881 --- /dev/null +++ b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_VirtualMachinesExecuteStart_MinimumSet_Gen.json @@ -0,0 +1,27 @@ +{ + "title": "BulkActions_VirtualMachinesExecuteStart_MinimumSet_Gen - generated by [MinimumSet] rule", + "operationId": "BulkActions_VirtualMachinesExecuteStart", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B", + "location": "eastus2euap", + "requestBody": { + "executionParameters": {}, + "resources": { + "ids": [ + "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3" + ] + }, + "correlationid": "4431320c-7a90-4300-b82b-73f0696ae50e" + } + }, + "responses": { + "200": { + "body": { + "type": "virtualMachine", + "location": "eastus2euap", + "description": "Start Resource Request" + } + } + } +} diff --git a/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_VirtualMachinesGetOperationStatus_MaximumSet_Gen.json b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_VirtualMachinesGetOperationStatus_MaximumSet_Gen.json new file mode 100644 index 000000000000..978aacaf0b7e --- /dev/null +++ b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_VirtualMachinesGetOperationStatus_MaximumSet_Gen.json @@ -0,0 +1,47 @@ +{ + "title": "BulkActions_VirtualMachinesGetOperationStatus_MaximumSet_Gen - generated by [MaximumSet] rule", + "operationId": "BulkActions_VirtualMachinesGetOperationStatus", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "D8E30CC0-2763-4FCC-84A8-3C5659281032", + "location": "eastus2euap", + "requestBody": { + "operationIds": [ + "2a3fce8e-874c-45f4-9d27-1a804f3b7a0f" + ], + "correlationid": "4431320c-7a90-4300-b82b-73f0696ae50e" + } + }, + "responses": { + "200": { + "body": { + "results": [ + { + "resourceId": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3", + "errorCode": "null", + "errorDetails": "null", + "operation": { + "operationId": "2a3fce8e-874c-45f4-9d27-1a804f3b7a0f", + "resourceId": "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroupName/providers/Microsoft.Compute/virtualMachines/testResource3", + "opType": "Deallocate", + "subscriptionId": "D8E30CC0-2763-4FCC-84A8-3C5659281032", + "deadline": "2024-11-01T17:52:53.667Z", + "deadlineType": "InitiateAt", + "state": "Succeeded", + "timezone": "UTC", + "resourceOperationError": { + "errorCode": "null", + "errorDetails": "null" + }, + "completedAt": "2024-11-01T17:52:53.668Z", + "retryPolicy": { + "retryCount": 4, + "retryWindowInMinutes": 27 + } + } + } + ] + } + } + } +} diff --git a/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_VirtualMachinesGetOperationStatus_MinimumSet_Gen.json b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_VirtualMachinesGetOperationStatus_MinimumSet_Gen.json new file mode 100644 index 000000000000..2fbb6e3c2c75 --- /dev/null +++ b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/BulkActions_VirtualMachinesGetOperationStatus_MinimumSet_Gen.json @@ -0,0 +1,24 @@ +{ + "title": "BulkActions_VirtualMachinesGetOperationStatus_MinimumSet_Gen - generated by [MinimumSet] rule", + "operationId": "BulkActions_VirtualMachinesGetOperationStatus", + "parameters": { + "api-version": "2026-02-01-preview", + "subscriptionId": "50352BBD-59F1-4EE2-BA9C-A6E51B0B1B2B", + "location": "eastus2euap", + "requestBody": { + "operationIds": [ + "23480d2f-1dca-4610-afb4-dd25eec1f34r" + ], + "correlationid": "4431320c-7a90-4300-b82b-73f0696ae50e" + } + }, + "responses": { + "200": { + "body": { + "results": [ + {} + ] + } + } + } +} diff --git a/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/Operations_List_MaximumSet_Gen.json b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/Operations_List_MaximumSet_Gen.json new file mode 100644 index 000000000000..45c9578cfde5 --- /dev/null +++ b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/Operations_List_MaximumSet_Gen.json @@ -0,0 +1,28 @@ +{ + "title": "Operations_List - generated by [MaximumSet] rule", + "operationId": "Operations_List", + "parameters": { + "api-version": "2026-02-01-preview" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "sgbqlnhrgmfpcddqyemvzhsbehs", + "isDataAction": true, + "display": { + "provider": "qiytxlivrxvlznpmtrq", + "resource": "cejwsjrqtuvkxfunqutibpxsqjrph", + "operation": "pcvvkqeuhctsp", + "description": "eukcdvgrb" + }, + "origin": "user", + "actionType": "Internal" + } + ], + "nextLink": "https://microsoft.com/a" + } + } + } +} diff --git a/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/Operations_List_MinimumSet_Gen.json b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/Operations_List_MinimumSet_Gen.json new file mode 100644 index 000000000000..0d67de92f7d6 --- /dev/null +++ b/specification/computebulkactions/resource-manager/Microsoft.ComputeBulkActions/preview/2026-02-01-preview/examples/Operations_List_MinimumSet_Gen.json @@ -0,0 +1,12 @@ +{ + "title": "Operations_List - generated by [MinimumSet] rule", + "operationId": "Operations_List", + "parameters": { + "api-version": "2026-02-01-preview" + }, + "responses": { + "200": { + "body": {} + } + } +} diff --git a/specification/computebulkactions/resource-manager/readme.az.md b/specification/computebulkactions/resource-manager/readme.az.md new file mode 100644 index 000000000000..f38c19ea6a8c --- /dev/null +++ b/specification/computebulkactions/resource-manager/readme.az.md @@ -0,0 +1,28 @@ +## AZ + +These settings apply only when `--az` is specified on the command line. + +For new Resource Provider. It is highly recommended to onboard Azure CLI extensions. There's no differences in terms of customer usage. + +``` yaml $(az) && $(target-mode) != 'core' +az: + extensions: computebulkactions + namespace: azure.mgmt.computebulkactions + package-name: azure-mgmt-computebulkactions +az-output-folder: $(azure-cli-extension-folder)/src/computebulkactions +python-sdk-output-folder: "$(az-output-folder)/azext_computebulkactions/vendored_sdks/computebulkactions" +# add additional configuration here specific for Azure CLI +# refer to the faq.md for more details +``` + + + +This is for command modules that already in azure cli main repo. +``` yaml $(az) && $(target-mode) == 'core' +az: + extensions: computebulkactions + namespace: azure.mgmt.computebulkactions + package-name: azure-mgmt-computebulkactions +az-output-folder: $(azure-cli-folder)/src/azure-cli/azure/cli/command_modules/computebulkactions +python-sdk-output-folder: "$(az-output-folder)/vendored_sdks/computebulkactions" +``` \ No newline at end of file diff --git a/specification/computebulkactions/resource-manager/readme.cli.md b/specification/computebulkactions/resource-manager/readme.cli.md new file mode 100644 index 000000000000..c6cf6ad37ea4 --- /dev/null +++ b/specification/computebulkactions/resource-manager/readme.cli.md @@ -0,0 +1 @@ +## CLI Common Settings for all the command line tools \ No newline at end of file diff --git a/specification/computebulkactions/resource-manager/readme.csharp.md b/specification/computebulkactions/resource-manager/readme.csharp.md new file mode 100644 index 000000000000..797e4c6531ff --- /dev/null +++ b/specification/computebulkactions/resource-manager/readme.csharp.md @@ -0,0 +1,15 @@ +## C# + +These settings apply only when `--csharp` is specified on the command line. +Please also specify `--csharp-sdks-folder=`. + +```yaml $(csharp) +csharp: + azure-arm: true + license-header: MICROSOFT_MIT_NO_VERSION + payload-flattening-threshold: 1 + clear-output-folder: true + client-side-validation: false + namespace: Microsoft.BulkActions + output-folder: $(csharp-sdks-folder)/BulkActions/management/Microsoft.BulkActions/GeneratedProtocol +``` diff --git a/specification/computebulkactions/resource-manager/readme.go.md b/specification/computebulkactions/resource-manager/readme.go.md new file mode 100644 index 000000000000..a4b34969822c --- /dev/null +++ b/specification/computebulkactions/resource-manager/readme.go.md @@ -0,0 +1,11 @@ +## Go + +These settings apply only when `--go` is specified on the command line. + +```yaml $(go) && $(track2) +azure-arm: true +license-header: MICROSOFT_MIT_NO_VERSION +module-name: sdk/resourcemanager/computebulkactions/armcomputebulkactions +module: github.com/Azure/azure-sdk-for-go/$(module-name) +output-folder: $(go-sdk-folder)/$(module-name) +``` diff --git a/specification/computebulkactions/resource-manager/readme.md b/specification/computebulkactions/resource-manager/readme.md new file mode 100644 index 000000000000..21392617d117 --- /dev/null +++ b/specification/computebulkactions/resource-manager/readme.md @@ -0,0 +1,105 @@ +# computebulkactions + +> see https://aka.ms/autorest + +This is the AutoRest configuration file for computebulkactions. + +## Getting Started + +To build the SDKs for My API, simply install AutoRest via `npm` (`npm install -g autorest`) and then run: + +> `autorest readme.md` + +To see additional help and options, run: + +> `autorest --help` + +For other options on installation see [Installing AutoRest](https://aka.ms/autorest/install) on the AutoRest github page. + +--- + +## Configuration + +### Basic Information + +These are the global settings for the computebulkactions. + +```yaml +openapi-subtype: providerHub +openapi-type: arm +tag: package-2026-02-01-preview +``` + +### Tag: package-2026-02-01-preview + +These settings apply only when `--tag=package-2026-02-01-preview` is specified on the command line. + +```yaml $(tag) == 'package-2026-02-01-preview' +input-file: + - Microsoft.ComputeBulkActions/preview/2026-02-01-preview/computebulkactions.json +suppressions: + - code: DefinitionsPropertiesNamesCamelCase + reason: SSD is the abbreviation for solid state drive used in the property name. + from: computebulkactions.json + where: $.definitions.AdditionalCapabilities.properties.ultraSSDEnabled + - code: AvoidAdditionalProperties + reason: Tags are mimicing the existing object structure from compute, bulkactions is a passthrough API and will deliver the object as is to compute. + from: computebulkactions.json + where: $.definitions.VirtualMachineExtensionProperties.properties.settings + - code: AvoidAdditionalProperties + reason: Tags are mimicing the existing object structure from compute, bulkactions is a passthrough API and will deliver the object as is to compute. + from: computebulkactions.json + where: $.definitions.VirtualMachineExtensionProperties.properties.protectedSettings + - code: PostResponseCodes + reason: Long-running POST operations is currently using ArmResourceActionNoResponseContentAsync pattern. + from: computebulkactions.json + - code: AvoidAdditionalProperties + reason: Record unknown because we are a passthrough API to compute and we can't take dependency on VirtualMachine properties for updating with version change. + from: computebulkactions.json + where: $.definitions.ResourceProvisionPayload.properties.baseProfile + - code: AvoidAdditionalProperties + reason: Record unknown because we are a passthrough API to compute and we can't take dependency on VirtualMachine properties for updating with version change. + from: computebulkactions.json + where: $.definitions.ResourceProvisionPayload.properties.resourceOverrides.items + - code: BodyTopLevelProperties + reason: Operations endpoint here is a subscription level endpoint for getting the status of a long running operation on a launchbulkactions instance, we're retaining the /operations/{id} endpoint to retain backward compatibility. + from: computebulkactions.json + where: $.definitions.OperationStatus +``` + +# Code Generation + +## Swagger to SDK + +This section describes what SDK should be generated by the automatic system. +This is not used by Autorest itself. + +```yaml $(swagger-to-sdk) +swagger-to-sdk: + - repo: azure-sdk-for-python-track2 + - repo: azure-sdk-for-java + - repo: azure-sdk-for-go + - repo: azure-sdk-for-js + - repo: azure-resource-manager-schemas + - repo: azure-cli-extensions + - repo: azure-powershell +``` +## Az + +See configuration in [readme.az.md](./readme.az.md) + +## Go + +See configuration in [readme.go.md](./readme.go.md) + +## Python + +See configuration in [readme.python.md](./readme.python.md) + +## TypeScript + +See configuration in [readme.typescript.md](./readme.typescript.md) + +## CSharp + +See configuration in [readme.csharp.md](./readme.csharp.md) diff --git a/specification/computebulkactions/resource-manager/readme.python.md b/specification/computebulkactions/resource-manager/readme.python.md new file mode 100644 index 000000000000..db40f35a9ce9 --- /dev/null +++ b/specification/computebulkactions/resource-manager/readme.python.md @@ -0,0 +1,18 @@ +## Python + +These settings apply only when `--python` is specified on the command line. +Please also specify `--python-sdks-folder=`. + +``` yaml $(python) +azure-arm: true +license-header: MICROSOFT_MIT_NO_VERSION +package-name: azure-mgmt-computebulkactions +namespace: azure.mgmt.computebulkactions +package-version: 1.0.0b1 +clear-output-folder: true +``` + +``` yaml $(python) +no-namespace-folders: true +output-folder: $(python-sdks-folder)/computebulkactions/azure-mgmt-computebulkactions/azure/mgmt/computebulkactions +``` diff --git a/specification/computebulkactions/resource-manager/readme.typescript.md b/specification/computebulkactions/resource-manager/readme.typescript.md new file mode 100644 index 000000000000..160ae4ce8734 --- /dev/null +++ b/specification/computebulkactions/resource-manager/readme.typescript.md @@ -0,0 +1,14 @@ +## TypeScript + +These settings apply only when `--typescript` is specified on the command line. +Please also specify `--typescript-sdks-folder=`. + +``` yaml $(typescript) +typescript: + azure-arm: true + package-name: "@azure/arm-computebulkactions" + output-folder: "$(typescript-sdks-folder)/sdk/computebulkactions/arm-computebulkactions" + payload-flattening-threshold: 1 + clear-output-folder: true + generate-metadata: true +```