Microsoft Azure: Management - Resource Groups
Summary
This module contains actions for viewing Azure resource groups.
Actions
azure.mgmt.resource_groups.
get_all
Get all resource groups.
Minimum Plugin Version: 1.1.0
Input
-
azure_client: an AzureClient dictionary
-
subscription_id: the subscription ID
Output
A list of ResourceGroup dictionaries.
Example
1 2 3 4 5 |
|
azure.mgmt.resource_groups.
input_table
Display a list of resource groups in a table, & allow the task operator to make a selection.
The table will have the following columns:
- Name
- Location
- Tags
Minimum Plugin Version: 1.1.0
Input
-
text: the title of the table
-
groups: a list of ResourceGroup dictionaries to display in the table
-
minimum: The minimum number of acceptable selections (Optional)
-
maximum: The maximum number of acceptable selections (Optional)
Output
A list of ResourceGroup dictionaries.
Tip
-
If neither a
minimum
ormaximum
is provided, the task operator will be able to submit 0 selections. -
If
minimum
ormaximum
are provided, the operation will repeat until a valid number of selections is made.
Example
Finding groups with get_all, saving them as all_groups
, & waiting for a single selection:
1 2 3 4 5 6 7 8 9 10 11 12 13 |
|