diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2xvY2F0aW9ucy97fS9wbGFjZW1lbnRzY29yZXMvc3BvdC9nZW5lcmF0ZQ==/2024-06-01-preview.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2xvY2F0aW9ucy97fS9wbGFjZW1lbnRzY29yZXMvc3BvdC9nZW5lcmF0ZQ==/2024-06-01-preview.json index e95fd2164..115676e0e 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2xvY2F0aW9ucy97fS9wbGFjZW1lbnRzY29yZXMvc3BvdC9nZW5lcmF0ZQ==/2024-06-01-preview.json +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2xvY2F0aW9ucy97fS9wbGFjZW1lbnRzY29yZXMvc3BvdC9nZW5lcmF0ZQ==/2024-06-01-preview.json @@ -1 +1 @@ -{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.compute/locations/{}/placementscores/spot/generate", "version": "2024-06-01-preview", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvbG9jYXRpb25zL3tsb2NhdGlvbn0vcGxhY2VtZW50U2NvcmVzL3Nwb3QvZ2VuZXJhdGU=/V/MjAyNC0wNi0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "compute-recommender", "commands": [{"name": "spot-placement-recommender", "version": "2024-06-01-preview", "resources": [{"id": "/subscriptions/{}/providers/microsoft.compute/locations/{}/placementscores/spot/generate", "version": "2024-06-01-preview", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvbG9jYXRpb25zL3tsb2NhdGlvbn0vcGxhY2VtZW50U2NvcmVzL3Nwb3QvZ2VuZXJhdGU=/V/MjAyNC0wNi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceLocation", "var": "$Path.location", "options": ["l", "location"], "required": true, "idPart": "name"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}, {"name": "SpotPlacementScoresInput", "args": [{"type": "boolean", "var": "$spotPlacementScoresInput.availabilityZones", "options": ["availability-zones"], "group": "SpotPlacementScoresInput", "help": {"short": "Defines if the scope is zonal or regional."}}, {"type": "integer32", "var": "$spotPlacementScoresInput.desiredCount", "options": ["desired-count"], "group": "SpotPlacementScoresInput", "help": {"short": "Desired instance count per region/zone based on the scope."}}, {"type": "array", "var": "$spotPlacementScoresInput.desiredLocations", "options": ["desired-locations"], "group": "SpotPlacementScoresInput", "help": {"short": "The desired regions"}, "item": {"type": "string"}}, {"type": "array", "var": "$spotPlacementScoresInput.desiredSizes", "options": ["desired-sizes"], "group": "SpotPlacementScoresInput", "help": {"short": "The desired resource SKUs."}, "item": {"type": "object", "args": [{"type": "string", "var": "$spotPlacementScoresInput.desiredSizes[].sku", "options": ["sku"], "help": {"short": "The resource's CRP virtual machine SKU size."}}]}}]}], "operations": [{"operationId": "SpotPlacementScores_Post", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/placementScores/spot/generate", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "location", "arg": "$Path.location", "required": true, "format": {"minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-06-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "spotPlacementScoresInput", "required": true, "props": [{"type": "boolean", "name": "availabilityZones", "arg": "$spotPlacementScoresInput.availabilityZones"}, {"type": "integer32", "name": "desiredCount", "arg": "$spotPlacementScoresInput.desiredCount"}, {"type": "array", "name": "desiredLocations", "arg": "$spotPlacementScoresInput.desiredLocations", "item": {"type": "string"}}, {"type": "array", "name": "desiredSizes", "arg": "$spotPlacementScoresInput.desiredSizes", "item": {"type": "object", "props": [{"type": "string", "name": "sku", "arg": "$spotPlacementScoresInput.desiredSizes[].sku"}]}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "boolean", "name": "availabilityZones"}, {"type": "integer32", "name": "desiredCount"}, {"type": "array", "name": "desiredLocations", "item": {"type": "string"}}, {"type": "array", "name": "desiredSizes", "item": {"type": "object", "props": [{"type": "string", "name": "sku"}]}}, {"type": "array", "name": "placementScores", "item": {"type": "object", "props": [{"type": "string", "name": "availabilityZone"}, {"type": "boolean", "name": "isQuotaAvailable"}, {"type": "string", "name": "region"}, {"type": "string", "name": "score"}, {"type": "string", "name": "sku"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.compute/locations/{}/placementscores/spot/generate", "version": "2024-06-01-preview", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvbG9jYXRpb25zL3tsb2NhdGlvbn0vcGxhY2VtZW50U2NvcmVzL3Nwb3QvZ2VuZXJhdGU=/V/MjAyNC0wNi0wMS1wcmV2aWV3"}], "commandGroups": [{"name": "compute-recommender", "commands": [{"name": "spot-placement-recommender", "version": "2024-06-01-preview", "resources": [{"id": "/subscriptions/{}/providers/microsoft.compute/locations/{}/placementscores/spot/generate", "version": "2024-06-01-preview", "swagger": "mgmt-plane/compute/ResourceProviders/Microsoft.Compute/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LkNvbXB1dGUvbG9jYXRpb25zL3tsb2NhdGlvbn0vcGxhY2VtZW50U2NvcmVzL3Nwb3QvZ2VuZXJhdGU=/V/MjAyNC0wNi0wMS1wcmV2aWV3"}], "argGroups": [{"name": "", "args": [{"type": "ResourceLocation", "var": "$Path.location", "options": ["l", "location"], "required": true, "stage": "Preview", "group": "", "idPart": "name", "help": {"short": "the Azure region where the recommendation will be generated"}}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "stage": "Preview", "group": "", "idPart": "subscription", "help": {"short": "the Azure subscription ID to be used for the recommendation"}}]}, {"name": "SpotPlacementScoresInput", "args": [{"type": "boolean", "var": "$spotPlacementScoresInput.availabilityZones", "options": ["availability-zones"], "stage": "Preview", "group": "SpotPlacementScoresInput", "help": {"short": "Defines if the scope is zonal or regional."}}, {"type": "integer32", "var": "$spotPlacementScoresInput.desiredCount", "options": ["desired-count"], "required": true, "stage": "Preview", "group": "SpotPlacementScoresInput", "help": {"short": "Desired instance count per region/zone based on the scope."}}, {"type": "array", "var": "$spotPlacementScoresInput.desiredLocations", "options": ["desired-locations"], "required": true, "stage": "Preview", "group": "SpotPlacementScoresInput", "help": {"short": "The desired regions"}, "item": {"type": "string"}}, {"type": "array", "var": "$spotPlacementScoresInput.desiredSizes", "options": ["desired-sizes"], "required": true, "stage": "Preview", "group": "SpotPlacementScoresInput", "help": {"short": "The desired resource SKUs."}, "item": {"type": "object", "args": [{"type": "string", "var": "$spotPlacementScoresInput.desiredSizes[].sku", "options": ["sku"], "help": {"short": "The resource's CRP virtual machine SKU size."}}]}}]}], "operations": [{"operationId": "SpotPlacementScores_Post", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/placementScores/spot/generate", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "location", "arg": "$Path.location", "required": true, "format": {"minLength": 1}}, {"type": "uuid", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-06-01-preview"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "spotPlacementScoresInput", "required": true, "props": [{"type": "boolean", "name": "availabilityZones", "arg": "$spotPlacementScoresInput.availabilityZones"}, {"type": "integer32", "name": "desiredCount", "arg": "$spotPlacementScoresInput.desiredCount", "required": true}, {"type": "array", "name": "desiredLocations", "arg": "$spotPlacementScoresInput.desiredLocations", "required": true, "item": {"type": "string"}}, {"type": "array", "name": "desiredSizes", "arg": "$spotPlacementScoresInput.desiredSizes", "required": true, "item": {"type": "object", "props": [{"type": "string", "name": "sku", "arg": "$spotPlacementScoresInput.desiredSizes[].sku"}]}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "boolean", "name": "availabilityZones"}, {"type": "integer32", "name": "desiredCount"}, {"type": "array", "name": "desiredLocations", "item": {"type": "string"}}, {"type": "array", "name": "desiredSizes", "item": {"type": "object", "props": [{"type": "string", "name": "sku"}]}}, {"type": "array", "name": "placementScores", "item": {"type": "object", "props": [{"type": "string", "name": "availabilityZone"}, {"type": "boolean", "name": "isQuotaAvailable"}, {"type": "string", "name": "region"}, {"type": "string", "name": "score"}, {"type": "string", "name": "sku"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2xvY2F0aW9ucy97fS9wbGFjZW1lbnRzY29yZXMvc3BvdC9nZW5lcmF0ZQ==/2024-06-01-preview.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2xvY2F0aW9ucy97fS9wbGFjZW1lbnRzY29yZXMvc3BvdC9nZW5lcmF0ZQ==/2024-06-01-preview.xml index 290185a04..5aec10a76 100644 --- a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2xvY2F0aW9ucy97fS9wbGFjZW1lbnRzY29yZXMvc3BvdC9nZW5lcmF0ZQ==/2024-06-01-preview.xml +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5jb21wdXRlL2xvY2F0aW9ucy97fS9wbGFjZW1lbnRzY29yZXMvc3BvdC9nZW5lcmF0ZQ==/2024-06-01-preview.xml @@ -5,21 +5,25 @@ - - + + + + + + - + - + - + - + @@ -47,11 +51,11 @@ - - + + - +