forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.tsp
More file actions
35 lines (30 loc) · 1.03 KB
/
main.tsp
File metadata and controls
35 lines (30 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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";
import "./fleet.tsp";
import "./virtualMachineScaleSet.tsp";
using TypeSpec.Http;
using TypeSpec.Rest;
using TypeSpec.Versioning;
using Azure.ResourceManager;
@armProviderNamespace("Microsoft.AzureFleet")
@service({
title: "Microsoft.AzureFleet",
})
@versioned(Versions)
namespace Microsoft.AzureFleet;
/** Api versions */
enum Versions {
@useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1)
@armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v5)
@doc("Private Preview Api version")
v2023_11_01_preview: "2023-11-01-preview",
@useDependency(Azure.ResourceManager.Versions.v1_0_Preview_1)
@armCommonTypesVersion(Azure.ResourceManager.CommonTypes.Versions.v5)
@doc("Public Preview Api version")
v2024_05_01_preview: "2024-05-01-preview",
}
interface Operations extends Azure.ResourceManager.Operations {}