Skip to content

Commit f9a7fb4

Browse files
authored
Add ux folder for autorest modules (#22934)
* Add ux folder for autorest modules * Add ux folder for autorest modules * Add ux folder for autorest modules * Add ux folder for autorest modules * Add ux folder for autorest modules
1 parent 04f52e5 commit f9a7fb4

File tree

460 files changed

+41270
-126
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

460 files changed

+41270
-126
lines changed

.ci-config.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,15 @@
117117
"file-change:module"
118118
]
119119
},
120+
{
121+
"patterns": [
122+
"src/{ModuleName}/*UX/*.json$"
123+
],
124+
"phases": [
125+
"build:module",
126+
"ux:module"
127+
]
128+
},
120129
{
121130
"patterns": [
122131
"src/{ModuleName}/*"
@@ -132,6 +141,12 @@
132141
"cmdlet-diff:module"
133142
]
134143
},
144+
{
145+
"patterns": [
146+
"tools/StaticAnalysis/Exceptions/{ModuleName}/*"
147+
],
148+
"phases": []
149+
},
135150
{
136151
"patterns": [
137152
"tools/StaticAnalysis/Exceptions/Az.{ModuleName}/MissingAssemblies.csv",
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
{
2+
"resourceType": "domainServices",
3+
"apiVersion": "2020-01-01",
4+
"learnMore": {
5+
"url": "https://learn.microsoft.com/powershell/module/az.addomainservices"
6+
},
7+
"commands": [
8+
{
9+
"name": "Get-AzADDomainService",
10+
"description": "The Get Domain Service operation retrieves a json representation of the Domain Service.",
11+
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AAD/domainServices/{domainServiceName}",
12+
"help": {
13+
"learnMore": {
14+
"url": "https://learn.microsoft.com/powershell/module/az.addomainservices/get-azaddomainservice"
15+
},
16+
"parameterSets": [
17+
{
18+
"parameters": [
19+
"-Name <String>",
20+
"-ResourceGroupName <String>",
21+
"[-SubscriptionId <String[]>]"
22+
]
23+
}
24+
]
25+
},
26+
"examples": [
27+
{
28+
"description": "The Get Domain Service operation retrieves a json representation of the Domain Service.",
29+
"parameters": [
30+
{
31+
"name": "-Name",
32+
"value": "[Path.domainServiceName]"
33+
},
34+
{
35+
"name": "-ResourceGroupName",
36+
"value": "[Path.resourceGroupName]"
37+
},
38+
{
39+
"name": "-SubscriptionId",
40+
"value": "[Path.subscriptionId]"
41+
}
42+
]
43+
}
44+
]
45+
},
46+
{
47+
"name": "Remove-AzADDomainService",
48+
"description": "The Delete Domain Service operation deletes an existing Domain Service.",
49+
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AAD/domainServices/{domainServiceName}",
50+
"help": {
51+
"learnMore": {
52+
"url": "https://learn.microsoft.com/powershell/module/az.addomainservices/remove-azaddomainservice"
53+
},
54+
"parameterSets": [
55+
{
56+
"parameters": [
57+
"-Name <String>",
58+
"-ResourceGroupName <String>",
59+
"[-SubscriptionId <String>]"
60+
]
61+
}
62+
]
63+
},
64+
"examples": [
65+
{
66+
"description": "The Delete Domain Service operation deletes an existing Domain Service.",
67+
"parameters": [
68+
{
69+
"name": "-Name",
70+
"value": "[Path.domainServiceName]"
71+
},
72+
{
73+
"name": "-ResourceGroupName",
74+
"value": "[Path.resourceGroupName]"
75+
},
76+
{
77+
"name": "-SubscriptionId",
78+
"value": "[Path.subscriptionId]"
79+
}
80+
]
81+
}
82+
]
83+
}
84+
]
85+
}

src/Aks/Aks/UX/Microsoft.ContainerService/managedClusters-agentPools.json

Lines changed: 88 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"resourceType": "managedClusters/agentPools",
3-
"apiVersion": "2021-05-01",
3+
"apiVersion": "2023-02-01",
44
"learnMore": {
5-
"url": "https://learn.microsoft.com/powershell/module/az.aks/#kubernetes-service"
5+
"url": "https://learn.microsoft.com/powershell/module/az.aks"
66
},
77
"commands": [
88
{
@@ -47,6 +47,92 @@
4747
]
4848
}
4949
]
50+
},
51+
{
52+
"name": "Get-AzAksNodePoolUpgradeProfile",
53+
"description": "Gets the upgrade profile for an agent pool.",
54+
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/agentPools/{agentPoolName}/upgradeProfiles/default",
55+
"help": {
56+
"learnMore": {
57+
"url": "https://learn.microsoft.com/powershell/module/az.aks/get-azaksnodepoolupgradeprofile"
58+
},
59+
"parameterSets": [
60+
{
61+
"parameters": [
62+
"-ClusterName <String>",
63+
"-NodePoolName <String>",
64+
"-ResourceGroupName <String>",
65+
"[-SubscriptionId <String[]>]"
66+
]
67+
}
68+
]
69+
},
70+
"examples": [
71+
{
72+
"description": "Gets the upgrade profile for an agent pool.",
73+
"parameters": [
74+
{
75+
"name": "-ClusterName",
76+
"value": "[Path.resourceName]"
77+
},
78+
{
79+
"name": "-NodePoolName",
80+
"value": "[Path.agentPoolName]"
81+
},
82+
{
83+
"name": "-ResourceGroupName",
84+
"value": "[Path.resourceGroupName]"
85+
},
86+
{
87+
"name": "-SubscriptionId",
88+
"value": "[Path.subscriptionId]"
89+
}
90+
]
91+
}
92+
]
93+
},
94+
{
95+
"name": "Invoke-AzAksAbortAgentPoolLatestOperation",
96+
"description": "Aborts the currently running operation on the agent pool.\nThe Agent Pool will be moved to a Canceling state and eventually to a Canceled state when cancellation finishes.\nIf the operation completes before cancellation can take place, a 409 error code is returned.",
97+
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedclusters/{resourceName}/agentPools/{agentPoolName}/abort",
98+
"help": {
99+
"learnMore": {
100+
"url": "https://learn.microsoft.com/powershell/module/az.aks/invoke-azaksabortagentpoollatestoperation"
101+
},
102+
"parameterSets": [
103+
{
104+
"parameters": [
105+
"-AgentPoolName <String>",
106+
"-ResourceGroupName <String>",
107+
"-ResourceName <String>",
108+
"[-SubscriptionId <String>]"
109+
]
110+
}
111+
]
112+
},
113+
"examples": [
114+
{
115+
"description": "Aborts the currently running operation on the agent pool. The Agent Pool will be moved to a Canceling state and eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can take place, a 409 error code is returned.",
116+
"parameters": [
117+
{
118+
"name": "-AgentPoolName",
119+
"value": "[Path.agentPoolName]"
120+
},
121+
{
122+
"name": "-ResourceGroupName",
123+
"value": "[Path.resourceGroupName]"
124+
},
125+
{
126+
"name": "-ResourceName",
127+
"value": "[Path.resourceName]"
128+
},
129+
{
130+
"name": "-SubscriptionId",
131+
"value": "[Path.subscriptionId]"
132+
}
133+
]
134+
}
135+
]
50136
}
51137
]
52138
}
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
{
2+
"resourceType": "managedClusters/commandResults",
3+
"apiVersion": "2023-02-01",
4+
"learnMore": {
5+
"url": "https://learn.microsoft.com/powershell/module/az.aks"
6+
},
7+
"commands": [
8+
{
9+
"name": "Get-AzAksManagedClusterCommandResult",
10+
"description": "Gets the results of a command which has been run on the Managed Cluster.",
11+
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/commandResults/{commandId}",
12+
"help": {
13+
"learnMore": {
14+
"url": "https://learn.microsoft.com/powershell/module/az.aks/get-azaksmanagedclustercommandresult"
15+
},
16+
"parameterSets": [
17+
{
18+
"parameters": [
19+
"-CommandId <String>",
20+
"-ResourceGroupName <String>",
21+
"-ResourceName <String>",
22+
"[-SubscriptionId <String[]>]"
23+
]
24+
}
25+
]
26+
},
27+
"examples": [
28+
{
29+
"description": "Gets the results of a command which has been run on the Managed Cluster.",
30+
"parameters": [
31+
{
32+
"name": "-CommandId",
33+
"value": "[Path.commandId]"
34+
},
35+
{
36+
"name": "-ResourceGroupName",
37+
"value": "[Path.resourceGroupName]"
38+
},
39+
{
40+
"name": "-ResourceName",
41+
"value": "[Path.resourceName]"
42+
},
43+
{
44+
"name": "-SubscriptionId",
45+
"value": "[Path.subscriptionId]"
46+
}
47+
]
48+
}
49+
]
50+
}
51+
]
52+
}
Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
{
2+
"resourceType": "managedClusters/maintenanceConfigurations",
3+
"apiVersion": "2023-02-01",
4+
"learnMore": {
5+
"url": "https://learn.microsoft.com/powershell/module/az.aks"
6+
},
7+
"commands": [
8+
{
9+
"name": "Get-AzAksMaintenanceConfiguration",
10+
"description": "Gets the specified maintenance configuration of a managed cluster.",
11+
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/maintenanceConfigurations/{configName}",
12+
"help": {
13+
"learnMore": {
14+
"url": "https://learn.microsoft.com/powershell/module/az.aks/get-azaksmaintenanceconfiguration"
15+
},
16+
"parameterSets": [
17+
{
18+
"parameters": [
19+
"-ConfigName <String>",
20+
"-ResourceGroupName <String>",
21+
"-ResourceName <String>",
22+
"[-SubscriptionId <String[]>]"
23+
]
24+
}
25+
]
26+
},
27+
"examples": [
28+
{
29+
"description": "Gets the specified maintenance configuration of a managed cluster.",
30+
"parameters": [
31+
{
32+
"name": "-ConfigName",
33+
"value": "[Path.configName]"
34+
},
35+
{
36+
"name": "-ResourceGroupName",
37+
"value": "[Path.resourceGroupName]"
38+
},
39+
{
40+
"name": "-ResourceName",
41+
"value": "[Path.resourceName]"
42+
},
43+
{
44+
"name": "-SubscriptionId",
45+
"value": "[Path.subscriptionId]"
46+
}
47+
]
48+
}
49+
]
50+
},
51+
{
52+
"name": "Remove-AzAksMaintenanceConfiguration",
53+
"description": "Deletes a maintenance configuration.",
54+
"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/maintenanceConfigurations/{configName}",
55+
"help": {
56+
"learnMore": {
57+
"url": "https://learn.microsoft.com/powershell/module/az.aks/remove-azaksmaintenanceconfiguration"
58+
},
59+
"parameterSets": [
60+
{
61+
"parameters": [
62+
"-ConfigName <String>",
63+
"-ResourceGroupName <String>",
64+
"-ResourceName <String>",
65+
"[-SubscriptionId <String>]"
66+
]
67+
}
68+
]
69+
},
70+
"examples": [
71+
{
72+
"description": "Deletes a maintenance configuration.",
73+
"parameters": [
74+
{
75+
"name": "-ConfigName",
76+
"value": "[Path.configName]"
77+
},
78+
{
79+
"name": "-ResourceGroupName",
80+
"value": "[Path.resourceGroupName]"
81+
},
82+
{
83+
"name": "-ResourceName",
84+
"value": "[Path.resourceName]"
85+
},
86+
{
87+
"name": "-SubscriptionId",
88+
"value": "[Path.subscriptionId]"
89+
}
90+
]
91+
}
92+
]
93+
}
94+
]
95+
}

0 commit comments

Comments
 (0)