Skip to content
Open
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
3 changes: 3 additions & 0 deletions Commands/automation/automation-account/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# [Group] _automation automation-account_

Manage Automation Account
55 changes: 29 additions & 26 deletions Commands/automation/readme.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,29 @@
# [Group] _automation_

Manage Automation Account.

## Subgroups

- [account](/Commands/automation/account/readme.md)
: Automation Account.

- [configuration](/Commands/automation/configuration/readme.md)
: Manage Dsc Configuration.

- [hrwg](/Commands/automation/hrwg/readme.md)
: Automation Hybrid Runbook Worker Group.

- [node](/Commands/automation/node/readme.md)
: Manage Dsc Node.

- [python3-package](/Commands/automation/python3-package/readme.md)
: python3-package

- [runtime-environment](/Commands/automation/runtime-environment/readme.md)
: Manage RuntimeEnvironment.

- [source-control](/Commands/automation/source-control/readme.md)
: Manage source control.
# [Group] _automation_

Manage Automation Account.

## Subgroups

- [account](/Commands/automation/account/readme.md)
: Automation Account.

- [automation-account](/Commands/automation/automation-account/readme.md)
: Manage Automation Account

- [configuration](/Commands/automation/configuration/readme.md)
: Manage Dsc Configuration.

- [hrwg](/Commands/automation/hrwg/readme.md)
: Automation Hybrid Runbook Worker Group.

- [node](/Commands/automation/node/readme.md)
: Manage Dsc Node.

- [python3-package](/Commands/automation/python3-package/readme.md)
: python3-package

- [runtime-environment](/Commands/automation/runtime-environment/readme.md)
: Manage RuntimeEnvironment.

- [source-control](/Commands/automation/source-control/readme.md)
: Manage source control.
4 changes: 4 additions & 0 deletions Commands/automation/runtime-environment/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@ Create Runtime Environment.
```bash
automation runtime-environment create -g rg --automation-account-name myAutomationAccount --name rt --location westus2 --language PowerShell --version 7.1 --default-packages "{Az:7.3.2}"
```

### [2024-10-23](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hdXRvbWF0aW9uL2F1dG9tYXRpb25hY2NvdW50cy97fS9ydW50aW1lZW52aXJvbm1lbnRzL3t9/2024-10-23.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.automation/automationaccounts/{}/runtimeenvironments/{} 2024-10-23 -->
4 changes: 4 additions & 0 deletions Commands/automation/runtime-environment/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@ Delete the Runtime Environment.
```bash
automation runtime-environment delete -g rg --automation-account-name myAutomationAccount --name rt -y
```

### [2024-10-23](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hdXRvbWF0aW9uL2F1dG9tYXRpb25hY2NvdW50cy97fS9ydW50aW1lZW52aXJvbm1lbnRzL3t9/2024-10-23.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.automation/automationaccounts/{}/runtimeenvironments/{} 2024-10-23 -->
4 changes: 4 additions & 0 deletions Commands/automation/runtime-environment/_list.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@ List a list of RuntimeEnvironments.
```bash
automation runtime-environment list -g rg --automation-account-name myAutomationAccount
```

### [2024-10-23](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hdXRvbWF0aW9uL2F1dG9tYXRpb25hY2NvdW50cy97fS9ydW50aW1lZW52aXJvbm1lbnRz/2024-10-23.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.automation/automationaccounts/{}/runtimeenvironments 2024-10-23 -->
4 changes: 4 additions & 0 deletions Commands/automation/runtime-environment/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@ Get information about the Runtime Environment.
```bash
automation runtime-environment show -g rg --automation-account-name myAutomationAccount --name rt
```

### [2024-10-23](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hdXRvbWF0aW9uL2F1dG9tYXRpb25hY2NvdW50cy97fS9ydW50aW1lZW52aXJvbm1lbnRzL3t9/2024-10-23.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.automation/automationaccounts/{}/runtimeenvironments/{} 2024-10-23 -->
4 changes: 4 additions & 0 deletions Commands/automation/runtime-environment/_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@ Update Runtime Environment.
```bash
automation runtime-environment update -g rg --automation-account-name myAutomationAccount --name rt --default-packages "{Az:8.0.0}"
```

### [2024-10-23](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hdXRvbWF0aW9uL2F1dG9tYXRpb25hY2NvdW50cy97fS9ydW50aW1lZW52aXJvbm1lbnRzL3t9/2024-10-23.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.automation/automationaccounts/{}/runtimeenvironments/{} 2024-10-23 -->
11 changes: 11 additions & 0 deletions Commands/automation/runtime-environment/package/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Create the package identified by package name.
```bash
automation runtime-environment package create -g rg--automation-account-name myAutomationAccount --runtime-environment-name rt --name rt-package --uri https://teststorage.blob.core.windows.net/mycontainer/MyModule.zip --content-version 1.0.0.0
```

### [2024-10-23](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hdXRvbWF0aW9uL2F1dG9tYXRpb25hY2NvdW50cy97fS9ydW50aW1lZW52aXJvbm1lbnRzL3t9L3BhY2thZ2VzL3t9/2024-10-23.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.automation/automationaccounts/{}/runtimeenvironments/{}/packages/{} 2024-10-23 -->

#### examples

- Create Runtime Environment Package
```bash
automation runtime-environment package create -g rg--automation-account-name myAutomationAccount --runtime-environment-name rt --name rt-package --uri https://teststorage.blob.core.windows.net/mycontainer/MyModule.zip --content-version 1.0.0.0
```
11 changes: 11 additions & 0 deletions Commands/automation/runtime-environment/package/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Delete the package by name.
```bash
automation runtime-environment package delete -g rg --automation-account-name myAutomationAccount --runtime-environment-name rt --name rt-package
```

### [2024-10-23](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hdXRvbWF0aW9uL2F1dG9tYXRpb25hY2NvdW50cy97fS9ydW50aW1lZW52aXJvbm1lbnRzL3t9L3BhY2thZ2VzL3t9/2024-10-23.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.automation/automationaccounts/{}/runtimeenvironments/{}/packages/{} 2024-10-23 -->

#### examples

- Delete the package
```bash
automation runtime-environment package delete -g rg --automation-account-name myAutomationAccount --runtime-environment-name rt --name rt-package
```
6 changes: 5 additions & 1 deletion Commands/automation/runtime-environment/package/_list.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# [Command] _automation runtime-environment package list_

List the a list of Packages
List the a list of Packages.

## Versions

Expand All @@ -14,3 +14,7 @@ List the a list of Packages
```bash
automation runtime-environment package list -g rg --automation-account-name myAutomationAccount --runtime-environment-name rt
```

### [2024-10-23](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hdXRvbWF0aW9uL2F1dG9tYXRpb25hY2NvdW50cy97fS9ydW50aW1lZW52aXJvbm1lbnRzL3t9L3BhY2thZ2Vz/2024-10-23.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.automation/automationaccounts/{}/runtimeenvironments/{}/packages 2024-10-23 -->
11 changes: 11 additions & 0 deletions Commands/automation/runtime-environment/package/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Get the Package identified by Package name.
```bash
automation runtime-environment package show -g rg --automation-account-name myAutomationAccount --runtime-environment-name rt --name rt-package
```

### [2024-10-23](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hdXRvbWF0aW9uL2F1dG9tYXRpb25hY2NvdW50cy97fS9ydW50aW1lZW52aXJvbm1lbnRzL3t9L3BhY2thZ2VzL3t9/2024-10-23.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.automation/automationaccounts/{}/runtimeenvironments/{}/packages/{} 2024-10-23 -->

#### examples

- Get the information about the package
```bash
automation runtime-environment package show -g rg --automation-account-name myAutomationAccount --runtime-environment-name rt --name rt-package
```
11 changes: 11 additions & 0 deletions Commands/automation/runtime-environment/package/_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,14 @@ Update the package identified by package name.
```bash
automation runtime-environment package update -g rg --automation-account-name myAutomationAccount --runtime-environment-name rt --name rt-package --uri https://teststorage.blob.core.windows.net/mycontainer/MyModule.zip --content-version 1.0.0.0
```

### [2024-10-23](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5hdXRvbWF0aW9uL2F1dG9tYXRpb25hY2NvdW50cy97fS9ydW50aW1lZW52aXJvbm1lbnRzL3t9L3BhY2thZ2VzL3t9/2024-10-23.xml) **Stable**

<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.automation/automationaccounts/{}/runtimeenvironments/{}/packages/{} 2024-10-23 -->

#### examples

- Update the package
```bash
automation runtime-environment package update -g rg --automation-account-name myAutomationAccount --runtime-environment-name rt --name rt-package --uri https://teststorage.blob.core.windows.net/mycontainer/MyModule.zip --content-version 1.0.0.0
```
2 changes: 1 addition & 1 deletion Commands/automation/runtime-environment/package/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Manage Package for Runtime Environment.
: Delete the package by name.

- [list](/Commands/automation/runtime-environment/package/_list.md)
: List the a list of Packages
: List the a list of Packages.

- [show](/Commands/automation/runtime-environment/package/_show.md)
: Get the Package identified by Package name.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.automation/automationaccounts/{}/runtimeenvironments", "version": "2024-10-23", "swagger": "mgmt-plane/automation/ResourceProviders/Microsoft.Automation/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0b21hdGlvbi9hdXRvbWF0aW9uQWNjb3VudHMve2F1dG9tYXRpb25BY2NvdW50TmFtZX0vcnVudGltZUVudmlyb25tZW50cw==/V/MjAyNC0xMC0yMw=="}], "commandGroups": [{"name": "automation runtime-environment", "commands": [{"name": "list", "version": "2024-10-23", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.automation/automationaccounts/{}/runtimeenvironments", "version": "2024-10-23", "swagger": "mgmt-plane/automation/ResourceProviders/Microsoft.Automation/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0b21hdGlvbi9hdXRvbWF0aW9uQWNjb3VudHMve2F1dG9tYXRpb25BY2NvdW50TmFtZX0vcnVudGltZUVudmlyb25tZW50cw==/V/MjAyNC0xMC0yMw=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.automationAccountName", "options": ["automation-account-name"], "required": true, "idPart": "name", "help": {"short": "The name of the automation account."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "RuntimeEnvironments_ListByAutomationAccount", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runtimeEnvironments", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "automationAccountName", "arg": "$Path.automationAccountName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"pattern": "^[-\\w\\._]+$", "maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2024-10-23"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array<object>", "name": "value", "item": {"type": "object", "props": [{"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Automation/automationAccounts/{}/runtimeEnvironments/{}"}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "defaultPackages", "additionalProps": {"item": {"type": "string"}}}, {"type": "string", "name": "description"}, {"type": "object", "name": "runtime", "props": [{"type": "string", "name": "language"}, {"type": "string", "name": "version"}], "clientFlatten": true}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt", "format": {"protocol": "iso"}}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]}
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
<?xml version='1.0' encoding='utf-8'?>
<CodeGen plane="mgmt-plane">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.automation/automationaccounts/{}/runtimeenvironments" version="2024-10-23" swagger="mgmt-plane/automation/ResourceProviders/Microsoft.Automation/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0b21hdGlvbi9hdXRvbWF0aW9uQWNjb3VudHMve2F1dG9tYXRpb25BY2NvdW50TmFtZX0vcnVudGltZUVudmlyb25tZW50cw==/V/MjAyNC0xMC0yMw=="/>
<commandGroup name="automation runtime-environment">
<command name="list" version="2024-10-23">
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.automation/automationaccounts/{}/runtimeenvironments" version="2024-10-23" swagger="mgmt-plane/automation/ResourceProviders/Microsoft.Automation/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0b21hdGlvbi9hdXRvbWF0aW9uQWNjb3VudHMve2F1dG9tYXRpb25BY2NvdW50TmFtZX0vcnVudGltZUVudmlyb25tZW50cw==/V/MjAyNC0xMC0yMw=="/>
<argGroup name="">
<arg type="string" var="$Path.automationAccountName" options="automation-account-name account" required="True" group="" idPart="name">
<help short="The name of the automation account."/>
</arg>
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
</argGroup>
<operation operationId="RuntimeEnvironments_ListByAutomationAccount">
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/runtimeEnvironments">
<request method="get">
<path>
<param type="string" name="automationAccountName" arg="$Path.automationAccountName" required="True"/>
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
<format pattern="^[-\w\._]+$" maxLength="90" minLength="1"/>
</param>
<param type="string" name="subscriptionId" arg="$Path.subscriptionId" required="True"/>
</path>
<query>
<const readOnly="True" const="True" type="string" name="api-version" required="True">
<default value="&quot;2024-10-23&quot;"/>
</const>
</query>
</request>
<response statusCode="200">
<body>
<json var="$Instance">
<schema type="object">
<prop type="string" name="nextLink"/>
<prop type="array<object>" name="value">
<item type="object">
<prop readOnly="True" type="ResourceId" name="id">
<format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Automation/automationAccounts/{}/runtimeEnvironments/{}"/>
</prop>
<prop type="ResourceLocation" name="location" required="True"/>
<prop readOnly="True" type="string" name="name"/>
<prop type="object" name="properties" clientFlatten="True">
<prop type="object" name="defaultPackages">
<additionalProp>
<item type="string"/>
</additionalProp>
</prop>
<prop type="string" name="description"/>
<prop type="object" name="runtime" clientFlatten="True">
<prop type="string" name="language"/>
<prop type="string" name="version"/>
</prop>
</prop>
<prop readOnly="True" type="object" name="systemData">
<prop type="dateTime" name="createdAt"/>
<prop type="string" name="createdBy"/>
<prop type="string" name="createdByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
<prop type="dateTime" name="lastModifiedAt"/>
<prop type="string" name="lastModifiedBy"/>
<prop type="string" name="lastModifiedByType">
<enum>
<item value="&quot;Application&quot;"/>
<item value="&quot;Key&quot;"/>
<item value="&quot;ManagedIdentity&quot;"/>
<item value="&quot;User&quot;"/>
</enum>
</prop>
</prop>
<prop type="object" name="tags">
<additionalProp>
<item type="string"/>
</additionalProp>
</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