Skip to content

Commit

Permalink
Merge pull request #4405 from hashicorp/data/regeneration-from-53999f…
Browse files Browse the repository at this point in the history
…82e6e9be59b84bdd88eff5d35cd47debc2-rest-api-specs

Data: Rest Api Specs - regenerating based on 53999f8
  • Loading branch information
katbyte authored Sep 10, 2024
2 parents 53999f8 + f245d91 commit 135dd4b
Show file tree
Hide file tree
Showing 68 changed files with 2,406 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"apiVersion": "2024-04-04-preview",
"isPreview": true,
"generate": true,
"resources": [
"ImageVersions",
"Pools",
"ResourceDetails",
"Sku",
"SubscriptionUsages"
],
"source": "Azure/azure-rest-api-specs"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
"name": "ImageVersion",
"fields": [
{
"containsDiscriminatedTypeValue": false,
"jsonName": "id",
"name": "Id",
"objectDefinition": {
"type": "String",
"referenceName": null
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
},
{
"containsDiscriminatedTypeValue": false,
"jsonName": "name",
"name": "Name",
"objectDefinition": {
"type": "String",
"referenceName": null
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
},
{
"containsDiscriminatedTypeValue": false,
"jsonName": "properties",
"name": "Properties",
"objectDefinition": {
"type": "Reference",
"referenceName": "ImageVersionProperties"
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
},
{
"containsDiscriminatedTypeValue": false,
"jsonName": "systemData",
"name": "SystemData",
"objectDefinition": {
"type": "SystemData",
"referenceName": null
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
},
{
"containsDiscriminatedTypeValue": false,
"jsonName": "type",
"name": "Type",
"objectDefinition": {
"type": "String",
"referenceName": null
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "ImageVersionProperties",
"fields": [
{
"containsDiscriminatedTypeValue": false,
"jsonName": "version",
"name": "Version",
"objectDefinition": {
"type": "String",
"referenceName": null
},
"optional": false,
"readOnly": false,
"required": true,
"sensitive": false
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "ListByImage",
"contentType": "application/json; charset=utf-8",
"expectedStatusCodes": [
200
],
"fieldContainingPaginationDetails": "nextLink",
"longRunning": false,
"httpMethod": "GET",
"resourceIdName": "ImageId",
"responseObject": {
"type": "Reference",
"referenceName": "ImageVersion"
},
"uriSuffix": "/versions"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"name": "ImageId",
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevOpsInfrastructure/images/{imageName}",
"segments": [
{
"name": "staticSubscriptions",
"type": "Static",
"value": "subscriptions"
},
{
"name": "subscriptionId",
"type": "SubscriptionId"
},
{
"name": "staticResourceGroups",
"type": "Static",
"value": "resourceGroups"
},
{
"name": "resourceGroupName",
"type": "ResourceGroup"
},
{
"name": "staticProviders",
"type": "Static",
"value": "providers"
},
{
"name": "staticMicrosoftDevOpsInfrastructure",
"type": "ResourceProvider",
"value": "Microsoft.DevOpsInfrastructure"
},
{
"name": "staticImages",
"type": "Static",
"value": "images"
},
{
"name": "imageName",
"type": "UserSpecified"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "AzureDevOpsPermissionType",
"type": "String",
"values": [
{
"key": "CreatorOnly",
"value": "CreatorOnly"
},
{
"key": "Inherit",
"value": "Inherit"
},
{
"key": "SpecificAccounts",
"value": "SpecificAccounts"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "CachingType",
"type": "String",
"values": [
{
"key": "None",
"value": "None"
},
{
"key": "ReadOnly",
"value": "ReadOnly"
},
{
"key": "ReadWrite",
"value": "ReadWrite"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "LogonType",
"type": "String",
"values": [
{
"key": "Interactive",
"value": "Interactive"
},
{
"key": "Service",
"value": "Service"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "OsDiskStorageAccountType",
"type": "String",
"values": [
{
"key": "Premium",
"value": "Premium"
},
{
"key": "Standard",
"value": "Standard"
},
{
"key": "StandardSSD",
"value": "StandardSSD"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"name": "PredictionPreference",
"type": "String",
"values": [
{
"key": "Balanced",
"value": "Balanced"
},
{
"key": "BestPerformance",
"value": "BestPerformance"
},
{
"key": "MoreCostEffective",
"value": "MoreCostEffective"
},
{
"key": "MorePerformance",
"value": "MorePerformance"
},
{
"key": "MostCostEffective",
"value": "MostCostEffective"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"name": "ProvisioningState",
"type": "String",
"values": [
{
"key": "Accepted",
"value": "Accepted"
},
{
"key": "Canceled",
"value": "Canceled"
},
{
"key": "Deleting",
"value": "Deleting"
},
{
"key": "Failed",
"value": "Failed"
},
{
"key": "Provisioning",
"value": "Provisioning"
},
{
"key": "Succeeded",
"value": "Succeeded"
},
{
"key": "Updating",
"value": "Updating"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "ResourcePredictionsProfileType",
"type": "String",
"values": [
{
"key": "Automatic",
"value": "Automatic"
},
{
"key": "Manual",
"value": "Manual"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"name": "StorageAccountType",
"type": "String",
"values": [
{
"key": "PremiumLRS",
"value": "Premium_LRS"
},
{
"key": "PremiumZRS",
"value": "Premium_ZRS"
},
{
"key": "StandardLRS",
"value": "Standard_LRS"
},
{
"key": "StandardSSDLRS",
"value": "StandardSSD_LRS"
},
{
"key": "StandardSSDZRS",
"value": "StandardSSD_ZRS"
}
]
}
Loading

0 comments on commit 135dd4b

Please sign in to comment.