Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions Commands/appservice/_list-locations.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _appservice list-locations_

List regions where a plan sku is available

## Versions

### [2025-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvZ2VvcmVnaW9ucw==/2025-03-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/providers/microsoft.web/georegions 2025-03-01 -->
9 changes: 9 additions & 0 deletions Commands/appservice/plan/_create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _appservice plan create_

Create for Creates or updates an App Service Plan.

## Versions

### [2025-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvc2VydmVyZmFybXMve30=/2025-03-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.web/serverfarms/{} 2025-03-01 -->
9 changes: 9 additions & 0 deletions Commands/appservice/plan/_delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _appservice plan delete_

Delete for Delete an App Service plan.

## Versions

### [2025-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvc2VydmVyZmFybXMve30=/2025-03-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.web/serverfarms/{} 2025-03-01 -->
9 changes: 9 additions & 0 deletions Commands/appservice/plan/_show.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _appservice plan show_

Get for Get an App Service plan.

## Versions

### [2025-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvc2VydmVyZmFybXMve30=/2025-03-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.web/serverfarms/{} 2025-03-01 -->
9 changes: 9 additions & 0 deletions Commands/appservice/plan/_update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _appservice plan update_

Update for Creates or updates an App Service Plan.

## Versions

### [2025-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvc2VydmVyZmFybXMve30=/2025-03-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.web/serverfarms/{} 2025-03-01 -->
9 changes: 9 additions & 0 deletions Commands/appservice/plan/identity/_assign.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _appservice plan identity assign_

Assign the user or system managed identities.

## Versions

### [2025-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvc2VydmVyZmFybXMve30=/2025-03-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.web/serverfarms/{} 2025-03-01 identity -->
9 changes: 9 additions & 0 deletions Commands/appservice/plan/identity/_remove.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _appservice plan identity remove_

Remove the user or system managed identities.

## Versions

### [2025-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvc2VydmVyZmFybXMve30=/2025-03-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.web/serverfarms/{} 2025-03-01 identity -->
9 changes: 9 additions & 0 deletions Commands/appservice/plan/identity/_show.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _appservice plan identity show_

Show the details of managed identities.

## Versions

### [2025-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvc2VydmVyZmFybXMve30=/2025-03-01.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.web/serverfarms/{} 2025-03-01 identity -->
14 changes: 14 additions & 0 deletions Commands/appservice/plan/identity/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# [Group] _appservice plan identity_

Manage Identity

## Commands

- [assign](/Commands/appservice/plan/identity/_assign.md)
: Assign the user or system managed identities.

- [remove](/Commands/appservice/plan/identity/_remove.md)
: Remove the user or system managed identities.

- [show](/Commands/appservice/plan/identity/_show.md)
: Show the details of managed identities.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# [Command] _appservice plan managed-instance show-rdp-password_

Get the RDP password for an IsCustomMode ServerFarm.

## Versions

### [2025-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvc2VydmVyZmFybXMve30vZ2V0cmRwcGFzc3dvcmQ=/2025-03-01.xml) **Preview**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.web/serverfarms/{}/getrdppassword 2025-03-01 -->
16 changes: 16 additions & 0 deletions Commands/appservice/plan/managed-instance/instance/_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _appservice plan managed-instance instance list_

List instances for a managed instance App Service plan.

## Versions

### [2025-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvc2VydmVyZmFybXMve30vbGlzdGluc3RhbmNlcw==/2025-03-01.xml) **Preview**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.web/serverfarms/{}/listinstances 2025-03-01 -->

#### examples

- List all instances for a managed instance App Service plan.
```bash
appservice plan managed-instance instance list --name MyAppServicePlan --resource-group MyResourceGroup
```
16 changes: 16 additions & 0 deletions Commands/appservice/plan/managed-instance/instance/_recycle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# [Command] _appservice plan managed-instance instance recycle_

Recycle a specific instance in a managed instance App Service plan.

## Versions

### [2025-03-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC53ZWIvc2VydmVyZmFybXMve30vd29ya2Vycy97fS9yZWN5Y2xlaW5zdGFuY2U=/2025-03-01.xml) **Preview**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.web/serverfarms/{}/workers/{}/recycleinstance 2025-03-01 -->

#### examples

- Recycle a specific worker instance in a managed instance App Service plan.
```bash
appservice plan managed-instance instance recycle --name MyAppServicePlan --resource-group MyResourceGroup --worker-name MyWorkerInstance
```
11 changes: 11 additions & 0 deletions Commands/appservice/plan/managed-instance/instance/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# [Group] _appservice plan managed-instance instance_

Manage Instance

## Commands

- [list](/Commands/appservice/plan/managed-instance/instance/_list.md)
: List instances for a managed instance App Service plan.

- [recycle](/Commands/appservice/plan/managed-instance/instance/_recycle.md)
: Recycle a specific instance in a managed instance App Service plan.
13 changes: 13 additions & 0 deletions Commands/appservice/plan/managed-instance/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# [Group] _appservice plan managed-instance_

Manage Managed Instance

## Subgroups

- [instance](/Commands/appservice/plan/managed-instance/instance/readme.md)
: Manage Instance

## Commands

- [show-rdp-password](/Commands/appservice/plan/managed-instance/_show-rdp-password.md)
: Get the RDP password for an IsCustomMode ServerFarm.
25 changes: 25 additions & 0 deletions Commands/appservice/plan/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# [Group] _appservice plan_

Manage Plan

## Subgroups

- [identity](/Commands/appservice/plan/identity/readme.md)
: Manage Identity

- [managed-instance](/Commands/appservice/plan/managed-instance/readme.md)
: Manage Managed Instance

## Commands

- [create](/Commands/appservice/plan/_create.md)
: Create for Creates or updates an App Service Plan.

- [delete](/Commands/appservice/plan/_delete.md)
: Delete for Delete an App Service plan.

- [show](/Commands/appservice/plan/_show.md)
: Get for Get an App Service plan.

- [update](/Commands/appservice/plan/_update.md)
: Update for Creates or updates an App Service Plan.
13 changes: 13 additions & 0 deletions Commands/appservice/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# [Group] _appservice_

Manage Appservice

## Subgroups

- [plan](/Commands/appservice/plan/readme.md)
: Manage Plan

## Commands

- [list-locations](/Commands/appservice/_list-locations.md)
: List regions where a plan sku is available
3 changes: 3 additions & 0 deletions Commands/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
- [apic](/Commands/apic/readme.md)
: Manage Azure API Center services

- [appservice](/Commands/appservice/readme.md)
: Manage Appservice

- [arc](/Commands/arc/readme.md)
: Manage Azure Arc Machines.

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.web/georegions", "version": "2025-03-01", "swagger": "mgmt-plane/web/ResourceProviders/Microsoft.Web/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LldlYi9nZW9SZWdpb25z/V/MjAyNS0wMy0wMQ=="}], "commandGroups": [{"name": "appservice", "commands": [{"name": "list-locations", "version": "2025-03-01", "resources": [{"id": "/subscriptions/{}/providers/microsoft.web/georegions", "version": "2025-03-01", "swagger": "mgmt-plane/web/ResourceProviders/Microsoft.Web/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LldlYi9nZW9SZWdpb25z/V/MjAyNS0wMy0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "boolean", "var": "$Query.customModeWorkersEnabled", "options": ["custom-mode-workers-enabled"], "help": {"short": "Specify <code>true</code> if you want to filter to only regions that support App Service Plans with <code>IsCustomMode</code> set to <code>true</code>."}}, {"type": "boolean", "var": "$Query.linuxDynamicWorkersEnabled", "options": ["linux-dynamic-workers-enabled"], "help": {"short": "Specify <code>true</code> if you want to filter to only regions that support Linux Consumption Workers."}}, {"type": "boolean", "var": "$Query.linuxWorkersEnabled", "options": ["linux-workers-enabled"], "group": "", "help": {"short": "Get regions which support hosting web apps on Linux workers."}}, {"type": "string", "var": "$Query.sku", "options": ["sku"], "help": {"short": "Name of SKU used to filter the regions."}, "enum": {"items": [{"name": "Basic", "value": "Basic"}, {"name": "Dynamic", "value": "Dynamic"}, {"name": "ElasticIsolated", "value": "ElasticIsolated"}, {"name": "ElasticPremium", "value": "ElasticPremium"}, {"name": "FlexConsumption", "value": "FlexConsumption"}, {"name": "Free", "value": "Free"}, {"name": "Isolated", "value": "Isolated"}, {"name": "IsolatedV2", "value": "IsolatedV2"}, {"name": "Premium", "value": "Premium"}, {"name": "PremiumContainer", "value": "PremiumContainer"}, {"name": "PremiumV2", "value": "PremiumV2"}, {"name": "PremiumV3", "value": "PremiumV3"}, {"name": "Shared", "value": "Shared"}, {"name": "Standard", "value": "Standard"}]}}, {"type": "boolean", "var": "$Query.xenonWorkersEnabled", "options": ["hyperv-workers-enabled"], "group": "", "help": {"short": "Get regions which support hosting web apps on Windows Container workers."}}]}], "operations": [{"operationId": "ListGeoRegions", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Web/geoRegions", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"params": [{"type": "boolean", "name": "customModeWorkersEnabled", "arg": "$Query.customModeWorkersEnabled"}, {"type": "boolean", "name": "linuxDynamicWorkersEnabled", "arg": "$Query.linuxDynamicWorkersEnabled"}, {"type": "boolean", "name": "linuxWorkersEnabled", "arg": "$Query.linuxWorkersEnabled"}, {"type": "string", "name": "sku", "arg": "$Query.sku", "enum": {"items": [{"value": "Basic"}, {"value": "Dynamic"}, {"value": "ElasticIsolated"}, {"value": "ElasticPremium"}, {"value": "FlexConsumption"}, {"value": "Free"}, {"value": "Isolated"}, {"value": "IsolatedV2"}, {"value": "Premium"}, {"value": "PremiumContainer"}, {"value": "PremiumV2"}, {"value": "PremiumV3"}, {"value": "Shared"}, {"value": "Standard"}]}}, {"type": "boolean", "name": "xenonWorkersEnabled", "arg": "$Query.xenonWorkersEnabled"}], "consts": [{"readOnly": true, "const": true, "default": {"value": "2025-03-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "nextLink"}, {"type": "array<object>", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "id"}, {"type": "string", "name": "kind"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "string", "name": "description"}, {"readOnly": true, "type": "string", "name": "displayName"}, {"readOnly": true, "type": "string", "name": "orgDomain"}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]}
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/providers/microsoft.web/georegions" version="2025-03-01" swagger="mgmt-plane/web/ResourceProviders/Microsoft.Web/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LldlYi9nZW9SZWdpb25z/V/MjAyNS0wMy0wMQ=="/>
<commandGroup name="appservice">
<command name="list-locations" version="2025-03-01" confirmation="">
<resource id="/subscriptions/{}/providers/microsoft.web/georegions" version="2025-03-01" swagger="mgmt-plane/web/ResourceProviders/Microsoft.Web/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LldlYi9nZW9SZWdpb25z/V/MjAyNS0wMy0wMQ=="/>
<argGroup name="">
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
<arg type="boolean" var="$Query.customModeWorkersEnabled" options="custom-mode-workers-enabled">
<help short="Specify <code>true</code> if you want to filter to only regions that support App Service Plans with <code>IsCustomMode</code> set to <code>true</code>."/>
</arg>
<arg type="boolean" var="$Query.linuxDynamicWorkersEnabled" options="linux-dynamic-workers-enabled">
<help short="Specify <code>true</code> if you want to filter to only regions that support Linux Consumption Workers."/>
</arg>
<arg type="boolean" var="$Query.linuxWorkersEnabled" options="linux-workers-enabled" group="">
<help short="Get regions which support hosting web apps on Linux workers."/>
</arg>
<arg type="string" var="$Query.sku" options="sku">
<help short="Name of SKU used to filter the regions."/>
<enum>
<item name="Basic" value="&quot;Basic&quot;"/>
<item name="Dynamic" value="&quot;Dynamic&quot;"/>
<item name="ElasticIsolated" value="&quot;ElasticIsolated&quot;"/>
<item name="ElasticPremium" value="&quot;ElasticPremium&quot;"/>
<item name="FlexConsumption" value="&quot;FlexConsumption&quot;"/>
<item name="Free" value="&quot;Free&quot;"/>
<item name="Isolated" value="&quot;Isolated&quot;"/>
<item name="IsolatedV2" value="&quot;IsolatedV2&quot;"/>
<item name="Premium" value="&quot;Premium&quot;"/>
<item name="PremiumContainer" value="&quot;PremiumContainer&quot;"/>
<item name="PremiumV2" value="&quot;PremiumV2&quot;"/>
<item name="PremiumV3" value="&quot;PremiumV3&quot;"/>
<item name="Shared" value="&quot;Shared&quot;"/>
<item name="Standard" value="&quot;Standard&quot;"/>
</enum>
</arg>
<arg type="boolean" var="$Query.xenonWorkersEnabled" options="hyperv-workers-enabled" group="">
<help short="Get regions which support hosting web apps on Windows Container workers."/>
</arg>
</argGroup>
<operation operationId="ListGeoRegions">
<http path="/subscriptions/{subscriptionId}/providers/Microsoft.Web/geoRegions">
<request method="get">
<path>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True"/>
</path>
<query>
<param type="boolean" name="customModeWorkersEnabled" arg="$Query.customModeWorkersEnabled"/>
<param type="boolean" name="linuxDynamicWorkersEnabled" arg="$Query.linuxDynamicWorkersEnabled"/>
<param type="boolean" name="linuxWorkersEnabled" arg="$Query.linuxWorkersEnabled"/>
<param type="string" name="sku" arg="$Query.sku">
<enum>
<item value="&quot;Basic&quot;"/>
<item value="&quot;Dynamic&quot;"/>
<item value="&quot;ElasticIsolated&quot;"/>
<item value="&quot;ElasticPremium&quot;"/>
<item value="&quot;FlexConsumption&quot;"/>
<item value="&quot;Free&quot;"/>
<item value="&quot;Isolated&quot;"/>
<item value="&quot;IsolatedV2&quot;"/>
<item value="&quot;Premium&quot;"/>
<item value="&quot;PremiumContainer&quot;"/>
<item value="&quot;PremiumV2&quot;"/>
<item value="&quot;PremiumV3&quot;"/>
<item value="&quot;Shared&quot;"/>
<item value="&quot;Standard&quot;"/>
</enum>
</param>
<param type="boolean" name="xenonWorkersEnabled" arg="$Query.xenonWorkersEnabled"/>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2025-03-01&quot;"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop readOnly="True" type="string" name="nextLink"/>
<prop type="array<object>" name="value" required="True">
<item type="object">
<prop readOnly="True" type="string" name="id"/>
<prop type="string" name="kind"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" clientFlatten="True">
<prop readOnly="True" type="string" name="description"/>
<prop readOnly="True" type="string" name="displayName"/>
<prop readOnly="True" type="string" name="orgDomain"/>
</prop>
<prop readOnly="True" type="string" name="type"/>
</item>
</prop>
</schema>
</json>
</body>
</response>
<response isError="True">
<body>
<json>
<schema type="@ODataV4Format"/>
</json>
</body>
</response>
</http>
</operation>
<output type="array" ref="$Instance.value" clientFlatten="True" nextLink="$Instance.nextLink"/>
</command>
</commandGroup>
</CodeGen>

Large diffs are not rendered by default.

Loading