Skip to content

Commit

Permalink
Changing default string for resources to be --name
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Lettieri <[email protected]>
  • Loading branch information
RyanLettieri committed Jan 21, 2025
1 parent 9fb95d9 commit 002e617
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion Commands/durabletask/scheduler/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ Create a Scheduler

- Create a scheduler in eastus
```bash
durabletask scheduler create --resource-group testrg --scheduler-name testscheduler --location eastus --ip-allowlist "[0.0.0.0/0]" --sku-capacity 1, --sku-name "Dedicated" --tags "{}"
durabletask scheduler create --resource-group testrg --name testscheduler --location eastus --ip-allowlist "[0.0.0.0/0]" --sku-capacity 1, --sku-name "Dedicated" --tags "{}"
```
2 changes: 1 addition & 1 deletion Commands/durabletask/scheduler/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ Delete a Scheduler

- Delete a scheduler
```bash
durabletask scheduler delete --resource-group testrg --scheduler-name testscheduler
durabletask scheduler delete --resource-group testrg --name testscheduler
```
2 changes: 1 addition & 1 deletion Commands/durabletask/scheduler/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ Get a Scheduler

- Show information on a particular scheduler
```bash
durabletask scheduler show --resource-group testrg --scheduler-name testscheduler
durabletask scheduler show --resource-group testrg --name testscheduler
```
2 changes: 1 addition & 1 deletion Commands/durabletask/taskhub/_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ Create a Task Hub

- Create a taskhub in a scheduler
```bash
durabletask taskhub create --resource-group testrg--scheduler-name testscheduler --task-hub-name testtaskhub
durabletask taskhub create --resource-group testrg --scheduler-name testscheduler --name testtaskhub
```
2 changes: 1 addition & 1 deletion Commands/durabletask/taskhub/_delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ Delete a Task Hub

- Delete a taskhub in a scheduler
```bash
durabletask taskhub delete --resource-group testrg --scheduler-name testscheduler --task-hub-name testtuskhub
durabletask taskhub delete --resource-group testrg --scheduler-name testscheduler --name testtuskhub
```
2 changes: 1 addition & 1 deletion Commands/durabletask/taskhub/_show.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ Get a Task Hub

- Show information on a particular taskhub
```bash
durabletask taskhub show --resource-group testrg --scheduler-name testscheduler --task-hub-name testtuskhub
durabletask taskhub show --resource-group testrg --scheduler-name testscheduler --name testtuskhub
```
12 changes: 6 additions & 6 deletions Commands/tree.json
Original file line number Diff line number Diff line change
Expand Up @@ -51155,7 +51155,7 @@
"examples": [
{
"commands": [
"durabletask scheduler create --resource-group testrg --scheduler-name testscheduler --location eastus --ip-allowlist \"[0.0.0.0/0]\" --sku-capacity 1, --sku-name \"Dedicated\" --tags \"{}\""
"durabletask scheduler create --resource-group testrg --name testscheduler --location eastus --ip-allowlist \"[0.0.0.0/0]\" --sku-capacity 1, --sku-name \"Dedicated\" --tags \"{}\""
],
"name": "Create a scheduler in eastus"
}
Expand Down Expand Up @@ -51185,7 +51185,7 @@
"examples": [
{
"commands": [
"durabletask scheduler delete --resource-group testrg --scheduler-name testscheduler"
"durabletask scheduler delete --resource-group testrg --name testscheduler"
],
"name": "Delete a scheduler"
}
Expand Down Expand Up @@ -51250,7 +51250,7 @@
"examples": [
{
"commands": [
"durabletask scheduler show --resource-group testrg --scheduler-name testscheduler"
"durabletask scheduler show --resource-group testrg --name testscheduler"
],
"name": "Show information on a particular scheduler"
}
Expand Down Expand Up @@ -51332,7 +51332,7 @@
"examples": [
{
"commands": [
"durabletask taskhub create --resource-group testrg--scheduler-name testscheduler --task-hub-name testtaskhub"
"durabletask taskhub create --resource-group testrg --scheduler-name testscheduler --name testtaskhub"
],
"name": "Create a taskhub in a scheduler"
}
Expand Down Expand Up @@ -51381,7 +51381,7 @@
"examples": [
{
"commands": [
"durabletask taskhub delete --resource-group testrg --scheduler-name testscheduler --task-hub-name testtuskhub"
"durabletask taskhub delete --resource-group testrg --scheduler-name testscheduler --name testtuskhub"
],
"name": "Delete a taskhub in a scheduler"
}
Expand Down Expand Up @@ -51479,7 +51479,7 @@
"examples": [
{
"commands": [
"durabletask taskhub show --resource-group testrg --scheduler-name testscheduler --task-hub-name testtuskhub"
"durabletask taskhub show --resource-group testrg --scheduler-name testscheduler --name testtuskhub"
],
"name": "Show information on a particular taskhub"
}
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.durabletask/schedulers/{}" version="2024-10-01-preview" swagger="mgmt-plane/durabletask/ResourceProviders/Microsoft.DurableTask/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRHVyYWJsZVRhc2svc2NoZWR1bGVycy97c2NoZWR1bGVyTmFtZX0=/V/MjAyNC0xMC0wMS1wcmV2aWV3"/>
<argGroup name="">
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/>
<arg type="string" var="$Path.schedulerName" options="scheduler-name n" required="True" group="" idPart="name">
<arg type="string" var="$Path.schedulerName" options="name n" required="True" group="" idPart="name">
<help short="The name of the Scheduler"/>
<format pattern="^[a-zA-Z0-9-]{3,64}$"/>
</arg>
Expand Down Expand Up @@ -114,7 +114,7 @@
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.durabletask/schedulers/{}" version="2024-10-01-preview" swagger="mgmt-plane/durabletask/ResourceProviders/Microsoft.DurableTask/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRHVyYWJsZVRhc2svc2NoZWR1bGVycy97c2NoZWR1bGVyTmFtZX0=/V/MjAyNC0xMC0wMS1wcmV2aWV3"/>
<argGroup name="">
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/>
<arg type="string" var="$Path.schedulerName" options="scheduler-name n" required="True" group="" idPart="name">
<arg type="string" var="$Path.schedulerName" options="name n" required="True" group="" idPart="name">
<help short="The name of the Scheduler"/>
<format pattern="^[a-zA-Z0-9-]{3,64}$"/>
</arg>
Expand Down Expand Up @@ -162,7 +162,7 @@
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.durabletask/schedulers/{}" version="2024-10-01-preview" swagger="mgmt-plane/durabletask/ResourceProviders/Microsoft.DurableTask/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRHVyYWJsZVRhc2svc2NoZWR1bGVycy97c2NoZWR1bGVyTmFtZX0=/V/MjAyNC0xMC0wMS1wcmV2aWV3"/>
<argGroup name="">
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/>
<arg type="string" var="$Path.schedulerName" options="scheduler-name n" required="True" group="" idPart="name">
<arg type="string" var="$Path.schedulerName" options="name n" required="True" group="" idPart="name">
<help short="The name of the Scheduler"/>
<format pattern="^[a-zA-Z0-9-]{3,64}$"/>
</arg>
Expand Down Expand Up @@ -317,7 +317,7 @@
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.durabletask/schedulers/{}" version="2024-10-01-preview" swagger="mgmt-plane/durabletask/ResourceProviders/Microsoft.DurableTask/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuRHVyYWJsZVRhc2svc2NoZWR1bGVycy97c2NoZWR1bGVyTmFtZX0=/V/MjAyNC0xMC0wMS1wcmV2aWV3"/>
<argGroup name="">
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" required="True" idPart="resource_group"/>
<arg type="string" var="$Path.schedulerName" options="scheduler-name n" required="True" group="" idPart="name">
<arg type="string" var="$Path.schedulerName" options="name n" required="True" group="" idPart="name">
<help short="The name of the Scheduler"/>
<format pattern="^[a-zA-Z0-9-]{3,64}$"/>
</arg>
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<format pattern="^[a-zA-Z0-9-]{3,64}$"/>
</arg>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
<arg type="string" var="$Path.taskHubName" options="task-hub-name name n" required="True" idPart="child_name_1">
<arg type="string" var="$Path.taskHubName" options="name n" required="True" group="" idPart="child_name_1">
<help short="The name of the TaskHub"/>
<format pattern="^[a-zA-Z0-9-]{3,64}$"/>
</arg>
Expand Down Expand Up @@ -107,7 +107,7 @@
<format pattern="^[a-zA-Z0-9-]{3,64}$"/>
</arg>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
<arg type="string" var="$Path.taskHubName" options="task-hub-name name n" required="True" idPart="child_name_1">
<arg type="string" var="$Path.taskHubName" options="name n" required="True" group="" idPart="child_name_1">
<help short="The name of the TaskHub"/>
<format pattern="^[a-zA-Z0-9-]{3,64}$"/>
</arg>
Expand Down Expand Up @@ -162,7 +162,7 @@
<format pattern="^[a-zA-Z0-9-]{3,64}$"/>
</arg>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
<arg type="string" var="$Path.taskHubName" options="task-hub-name name n" required="True" idPart="child_name_1">
<arg type="string" var="$Path.taskHubName" options="name n" required="True" group="" idPart="child_name_1">
<help short="The name of the TaskHub"/>
<format pattern="^[a-zA-Z0-9-]{3,64}$"/>
</arg>
Expand Down Expand Up @@ -264,7 +264,7 @@
<format pattern="^[a-zA-Z0-9-]{3,64}$"/>
</arg>
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
<arg type="string" var="$Path.taskHubName" options="task-hub-name name n" required="True" idPart="child_name_1">
<arg type="string" var="$Path.taskHubName" options="name n" required="True" group="" idPart="child_name_1">
<help short="The name of the TaskHub"/>
<format pattern="^[a-zA-Z0-9-]{3,64}$"/>
</arg>
Expand Down

0 comments on commit 002e617

Please sign in to comment.