-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Expand file tree
/
Copy pathStaticSitesAsyncOperations.tsp
More file actions
67 lines (58 loc) · 1.8 KB
/
Copy pathStaticSitesAsyncOperations.tsp
File metadata and controls
67 lines (58 loc) · 1.8 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
import "@azure-tools/typespec-azure-core";
import "@typespec/rest";
import "@azure-tools/typespec-azure-resource-manager";
import "@typespec/openapi";
import "./models.tsp";
using TypeSpec.Rest;
using TypeSpec.Http;
using TypeSpec.Versioning;
using Azure.ResourceManager;
using TypeSpec.OpenAPI;
namespace Microsoft.Web;
/**
* Static Sites async operation status and result resource operations.
*/
@armResourceOperations
@added(Versions.v2026_03_15)
interface StaticSitesAsyncOperations {
/**
* Gets the status of a static site async operation.
*/
@autoRoute
@summary("Gets the status of a static site async operation.")
getOperationStatus(
...ApiVersionParameter,
...SubscriptionIdParameter,
/**
* The provider namespace (this parameter will not show up in operations).
*/
@path
@segment("providers")
provider: "Microsoft.Web",
...LocationResourceParameter,
...Foundations.OperationIdParameter,
): ArmResponse<StaticSitesOperationStatus> | DefaultErrorResponse;
/**
* Gets the result of a static site async operation.
*/
@autoRoute
@summary("Gets the result of a static site async operation.")
getOperationResult(
...ApiVersionParameter,
...SubscriptionIdParameter,
/**
* The provider namespace (this parameter will not show up in operations).
*/
@path
@segment("providers")
provider: "Microsoft.Web",
...LocationResourceParameter,
...Foundations.OperationIdParameter,
): ArmResponse<Azure.ResourceManager.CommonTypes.Resource> | ArmAcceptedLroResponse | DefaultErrorResponse;
}
@@segment(StaticSitesAsyncOperations.getOperationStatus::parameters.operationId,
"staticSitesOperationStatuses"
);
@@segment(StaticSitesAsyncOperations.getOperationResult::parameters.operationId,
"staticSitesOperationResults"
);