зеркало из https://github.com/Azure/aaz.git
update
This commit is contained in:
Родитель
8c8cfa63ff
Коммит
80b02a282d
|
@ -137,6 +137,9 @@
|
|||
- [redisenterprise](/Commands/redisenterprise/readme.md)
|
||||
: Manage the redisenterprise cache
|
||||
|
||||
- [relay](/Commands/relay/readme.md)
|
||||
: Manage Azure Relay Service namespaces, WCF relays, hybrid connections, and rules.
|
||||
|
||||
- [remote-rendering-account](/Commands/remote-rendering-account/readme.md)
|
||||
: Manage remote rendering account with mixed reality.
|
||||
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
# [Command] _relay hyco create_
|
||||
|
||||
Create the Relay Service Hybrid Connection.
|
||||
|
||||
## Versions
|
||||
|
||||
### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxheS9uYW1lc3BhY2VzL3t9L2h5YnJpZGNvbm5lY3Rpb25zL3t9/2017-04-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/hybridconnections/{} 2017-04-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- Create a new Relay Service Hybrid Connection
|
||||
```bash
|
||||
relay hyco create --resource-group myresourcegroup --namespace-name mynamespace --name myhyco
|
||||
```
|
|
@ -0,0 +1,16 @@
|
|||
# [Command] _relay hyco delete_
|
||||
|
||||
Deletes the Relay Service Hybrid Connection.
|
||||
|
||||
## Versions
|
||||
|
||||
### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxheS9uYW1lc3BhY2VzL3t9L2h5YnJpZGNvbm5lY3Rpb25zL3t9/2017-04-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/hybridconnections/{} 2017-04-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- Deletes the Relay Service Hybrid Connection
|
||||
```bash
|
||||
relay hyco delete --resource-group myresourcegroup --namespace-name mynamespace --name myhyco
|
||||
```
|
|
@ -0,0 +1,16 @@
|
|||
# [Command] _relay hyco list_
|
||||
|
||||
List the Hybrid Connection by Relay Service Namespace.
|
||||
|
||||
## Versions
|
||||
|
||||
### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxheS9uYW1lc3BhY2VzL3t9L2h5YnJpZGNvbm5lY3Rpb25z/2017-04-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/hybridconnections 2017-04-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- Get the Hybrid Connections by Namespace.
|
||||
```bash
|
||||
relay hyco list --resource-group myresourcegroup --namespace-name mynamespace
|
||||
```
|
|
@ -0,0 +1,16 @@
|
|||
# [Command] _relay hyco show_
|
||||
|
||||
Shows the Relay Service Hybrid Connection Details.
|
||||
|
||||
## Versions
|
||||
|
||||
### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxheS9uYW1lc3BhY2VzL3t9L2h5YnJpZGNvbm5lY3Rpb25zL3t9/2017-04-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/hybridconnections/{} 2017-04-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- Shows the Hybrid Connection details.
|
||||
```bash
|
||||
relay hyco show --resource-group myresourcegroup --namespace-name mynamespace --name myhyco
|
||||
```
|
|
@ -0,0 +1,16 @@
|
|||
# [Command] _relay hyco update_
|
||||
|
||||
Updates the Relay Service Hybrid Connection.
|
||||
|
||||
## Versions
|
||||
|
||||
### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxheS9uYW1lc3BhY2VzL3t9L2h5YnJpZGNvbm5lY3Rpb25zL3t9/2017-04-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/hybridconnections/{} 2017-04-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- Updates existing Relay Service Hybrid Connection.
|
||||
```bash
|
||||
relay hyco update --resource-group myresourcegroup --namespace-name mynamespace --name myhyco
|
||||
```
|
|
@ -0,0 +1,16 @@
|
|||
# [Command] _relay hyco authorization-rule create_
|
||||
|
||||
Create Authorization Rule for given Relay Service Hybrid Connection.
|
||||
|
||||
## Versions
|
||||
|
||||
### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxheS9uYW1lc3BhY2VzL3t9L2h5YnJpZGNvbm5lY3Rpb25zL3t9L2F1dGhvcml6YXRpb25ydWxlcy97fQ==/2017-04-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/hybridconnections/{}/authorizationrules/{} 2017-04-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- Create Authorization Rule for given Relay Service Hybrid Connection
|
||||
```bash
|
||||
relay hyco authorization-rule create --resource-group myresourcegroup --namespace-name mynamespace --hybrid-connection-name myhyco --name myauthorule --rights Send Listen
|
||||
```
|
|
@ -0,0 +1,16 @@
|
|||
# [Command] _relay hyco authorization-rule delete_
|
||||
|
||||
Deletes the Authorization Rule of the given Relay Service Hybrid Connection.
|
||||
|
||||
## Versions
|
||||
|
||||
### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxheS9uYW1lc3BhY2VzL3t9L2h5YnJpZGNvbm5lY3Rpb25zL3t9L2F1dGhvcml6YXRpb25ydWxlcy97fQ==/2017-04-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/hybridconnections/{}/authorizationrules/{} 2017-04-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- Deletes the Authorization Rule of Relay Service Hybrid Connection.
|
||||
```bash
|
||||
relay hyco authorization-rule delete --resource-group myresourcegroup --namespace-name mynamespace --hybrid-connection-name myhyco --name myauthorule
|
||||
```
|
|
@ -0,0 +1,16 @@
|
|||
# [Command] _relay hyco authorization-rule list_
|
||||
|
||||
Shows list of Authorization Rule by Relay Service Hybrid Connection.
|
||||
|
||||
## Versions
|
||||
|
||||
### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxheS9uYW1lc3BhY2VzL3t9L2h5YnJpZGNvbm5lY3Rpb25zL3t9L2F1dGhvcml6YXRpb25ydWxlcw==/2017-04-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/hybridconnections/{}/authorizationrules 2017-04-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- shows list of Authorization Rule by Relay Service Hybrid Connection
|
||||
```bash
|
||||
relay hyco authorization-rule list --resource-group myresourcegroup --namespace-name mynamespace --hybrid-connection-name myhyco
|
||||
```
|
|
@ -0,0 +1,16 @@
|
|||
# [Command] _relay hyco authorization-rule show_
|
||||
|
||||
Shows the details of Authorization Rule for given Relay Service Hybrid Connection.
|
||||
|
||||
## Versions
|
||||
|
||||
### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxheS9uYW1lc3BhY2VzL3t9L2h5YnJpZGNvbm5lY3Rpb25zL3t9L2F1dGhvcml6YXRpb25ydWxlcy97fQ==/2017-04-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/hybridconnections/{}/authorizationrules/{} 2017-04-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- Shows the details of Authorization Rule for given Relay Service Hybrid Connection
|
||||
```bash
|
||||
relay hyco authorization-rule show --resource-group myresourcegroup --namespace-name mynamespace --hybrid-connection-name myhyco --name myauthorule
|
||||
```
|
|
@ -0,0 +1,16 @@
|
|||
# [Command] _relay hyco authorization-rule update_
|
||||
|
||||
Update Authorization Rule for given Relay Service Hybrid Connection.
|
||||
|
||||
## Versions
|
||||
|
||||
### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxheS9uYW1lc3BhY2VzL3t9L2h5YnJpZGNvbm5lY3Rpb25zL3t9L2F1dGhvcml6YXRpb25ydWxlcy97fQ==/2017-04-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/hybridconnections/{}/authorizationrules/{} 2017-04-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- Update Authorization Rule for given Relay Service Hybrid Connection
|
||||
```bash
|
||||
relay hyco authorization-rule update --resource-group myresourcegroup --namespace-name mynamespace --hybrid-connection-name myhyco --name myauthorule --rights Send
|
||||
```
|
|
@ -0,0 +1,21 @@
|
|||
# [Command] _relay hyco authorization-rule keys list_
|
||||
|
||||
List the keys and connection strings of Authorization Rule for Relay Service Hybrid Connection.
|
||||
|
||||
## Versions
|
||||
|
||||
### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxheS9uYW1lc3BhY2VzL3t9L2h5YnJpZGNvbm5lY3Rpb25zL3t9L2F1dGhvcml6YXRpb25ydWxlcy97fS9saXN0a2V5cw==/2017-04-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/hybridconnections/{}/authorizationrules/{}/listkeys 2017-04-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- List the keys and connection strings of Authorization Rule for Relay Service Hybrid Connection.
|
||||
```bash
|
||||
relay hyco authorization-rule keys list --resource-group myresourcegroup --namespace-name mynamespace --hybrid-connection-name myhyco --name myauthorule
|
||||
```
|
||||
|
||||
- List the keys and connection strings of Authorization Rule for Relay Service Hybrid Connection (autogenerated)
|
||||
```bash
|
||||
relay hyco authorization-rule keys list --hybrid-connection-name myhyco --name myauthorule --namespace-name mynamespace --resource-group myresourcegroup --subscription MySubscription
|
||||
```
|
|
@ -0,0 +1,16 @@
|
|||
# [Command] _relay hyco authorization-rule keys renew_
|
||||
|
||||
Regenerate keys of Authorization Rule for Relay Service Hybrid Connection.
|
||||
|
||||
## Versions
|
||||
|
||||
### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxheS9uYW1lc3BhY2VzL3t9L2h5YnJpZGNvbm5lY3Rpb25zL3t9L2F1dGhvcml6YXRpb25ydWxlcy97fS9yZWdlbmVyYXRla2V5cw==/2017-04-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/hybridconnections/{}/authorizationrules/{}/regeneratekeys 2017-04-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- Regenerate key of Relay Service Hybrid Connection.
|
||||
```bash
|
||||
relay hyco authorization-rule keys renew --resource-group myresourcegroup --namespace- name mynamespace --hybrid-connection-name myhyco --name myauthorule --key PrimaryKey
|
||||
```
|
|
@ -0,0 +1,11 @@
|
|||
# [Group] _relay hyco authorization-rule keys_
|
||||
|
||||
Manage Azure Authorization Rule keys for Relay Service Hybrid Connection.
|
||||
|
||||
## Commands
|
||||
|
||||
- [list](/Commands/relay/hyco/authorization-rule/keys/_list.md)
|
||||
: List the keys and connection strings of Authorization Rule for Relay Service Hybrid Connection.
|
||||
|
||||
- [renew](/Commands/relay/hyco/authorization-rule/keys/_renew.md)
|
||||
: Regenerate keys of Authorization Rule for Relay Service Hybrid Connection.
|
|
@ -0,0 +1,25 @@
|
|||
# [Group] _relay hyco authorization-rule_
|
||||
|
||||
Manage Azure Relay Service Hybrid Connection Authorization Rule.
|
||||
|
||||
## Subgroups
|
||||
|
||||
- [keys](/Commands/relay/hyco/authorization-rule/keys/readme.md)
|
||||
: Manage Azure Authorization Rule keys for Relay Service Hybrid Connection.
|
||||
|
||||
## Commands
|
||||
|
||||
- [create](/Commands/relay/hyco/authorization-rule/_create.md)
|
||||
: Create Authorization Rule for given Relay Service Hybrid Connection.
|
||||
|
||||
- [delete](/Commands/relay/hyco/authorization-rule/_delete.md)
|
||||
: Deletes the Authorization Rule of the given Relay Service Hybrid Connection.
|
||||
|
||||
- [list](/Commands/relay/hyco/authorization-rule/_list.md)
|
||||
: Shows list of Authorization Rule by Relay Service Hybrid Connection.
|
||||
|
||||
- [show](/Commands/relay/hyco/authorization-rule/_show.md)
|
||||
: Shows the details of Authorization Rule for given Relay Service Hybrid Connection.
|
||||
|
||||
- [update](/Commands/relay/hyco/authorization-rule/_update.md)
|
||||
: Update Authorization Rule for given Relay Service Hybrid Connection.
|
|
@ -0,0 +1,25 @@
|
|||
# [Group] _relay hyco_
|
||||
|
||||
Manage Azure Relay Service Hybrid Connection and Authorization Rule.
|
||||
|
||||
## Subgroups
|
||||
|
||||
- [authorization-rule](/Commands/relay/hyco/authorization-rule/readme.md)
|
||||
: Manage Azure Relay Service Hybrid Connection Authorization Rule.
|
||||
|
||||
## Commands
|
||||
|
||||
- [create](/Commands/relay/hyco/_create.md)
|
||||
: Create the Relay Service Hybrid Connection.
|
||||
|
||||
- [delete](/Commands/relay/hyco/_delete.md)
|
||||
: Deletes the Relay Service Hybrid Connection.
|
||||
|
||||
- [list](/Commands/relay/hyco/_list.md)
|
||||
: List the Hybrid Connection by Relay Service Namespace.
|
||||
|
||||
- [show](/Commands/relay/hyco/_show.md)
|
||||
: Shows the Relay Service Hybrid Connection Details.
|
||||
|
||||
- [update](/Commands/relay/hyco/_update.md)
|
||||
: Updates the Relay Service Hybrid Connection.
|
|
@ -0,0 +1,16 @@
|
|||
# [Command] _relay namespace create_
|
||||
|
||||
Create a Relay Service Namespace.
|
||||
|
||||
## Versions
|
||||
|
||||
### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxheS9uYW1lc3BhY2VzL3t9/2017-04-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{} 2017-04-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- Create a Relay Service Namespace.
|
||||
```bash
|
||||
relay namespace create --resource-group myresourcegroup --name mynamespace --location westus --tags tag1=value1 tag2=value2
|
||||
```
|
|
@ -0,0 +1,16 @@
|
|||
# [Command] _relay namespace delete_
|
||||
|
||||
Deletes the Relay Service Namespace.
|
||||
|
||||
## Versions
|
||||
|
||||
### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxheS9uYW1lc3BhY2VzL3t9/2017-04-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{} 2017-04-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- Deletes the Relay Service Namespace
|
||||
```bash
|
||||
relay namespace delete --resource-group myresourcegroup --name mynamespace
|
||||
```
|
|
@ -0,0 +1,16 @@
|
|||
# [Command] _relay namespace exists_
|
||||
|
||||
Check for the availability of the given name for the Namespace.
|
||||
|
||||
## Versions
|
||||
|
||||
### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxheS9jaGVja25hbWVhdmFpbGFiaWxpdHk=/2017-04-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.relay/checknameavailability 2017-04-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- check for the availability of mynamespace for the Namespace
|
||||
```bash
|
||||
relay namespace exists --name mynamespace
|
||||
```
|
|
@ -0,0 +1,22 @@
|
|||
# [Command] _relay namespace list_
|
||||
|
||||
List the Relay Service Namespaces.
|
||||
|
||||
## Versions
|
||||
|
||||
### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxheS9uYW1lc3BhY2Vz/2017-04-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/providers/microsoft.relay/namespaces 2017-04-01 -->
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces 2017-04-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- Get the Relay Service Namespaces by resource group
|
||||
```bash
|
||||
relay namespace list --resource-group myresourcegroup
|
||||
```
|
||||
|
||||
- Get the Relay Service Namespaces by Subscription.
|
||||
```bash
|
||||
relay namespace list
|
||||
```
|
|
@ -0,0 +1,16 @@
|
|||
# [Command] _relay namespace show_
|
||||
|
||||
Shows the Relay Service Namespace details.
|
||||
|
||||
## Versions
|
||||
|
||||
### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxheS9uYW1lc3BhY2VzL3t9/2017-04-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{} 2017-04-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- shows the Namespace details.
|
||||
```bash
|
||||
relay namespace show --resource-group myresourcegroup --name mynamespace
|
||||
```
|
|
@ -0,0 +1,16 @@
|
|||
# [Command] _relay namespace update_
|
||||
|
||||
Updates a Relay Service Namespace.
|
||||
|
||||
## Versions
|
||||
|
||||
### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxheS9uYW1lc3BhY2VzL3t9/2017-04-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{} 2017-04-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- Updates a Relay Service Namespace.
|
||||
```bash
|
||||
relay namespace update --resource-group myresourcegroup --name mynamespace --tags tag=value
|
||||
```
|
|
@ -0,0 +1,16 @@
|
|||
# [Command] _relay namespace authorization-rule create_
|
||||
|
||||
Create Authorization Rule for the given Relay Service Namespace.
|
||||
|
||||
## Versions
|
||||
|
||||
### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxheS9uYW1lc3BhY2VzL3t9L2F1dGhvcml6YXRpb25ydWxlcy97fQ==/2017-04-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/authorizationrules/{} 2017-04-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- Create Authorization Rule 'myrule' for the given Relay Service Namespace 'mynamespace' in resourcegroup
|
||||
```bash
|
||||
relay namespace authorization-rule create --resource-group myresourcegroup --namespace-name mynamespace --name myauthorule --rights Send Listen
|
||||
```
|
|
@ -0,0 +1,16 @@
|
|||
# [Command] _relay namespace authorization-rule delete_
|
||||
|
||||
Deletes the Authorization Rule of the Relay Service Namespace.
|
||||
|
||||
## Versions
|
||||
|
||||
### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxheS9uYW1lc3BhY2VzL3t9L2F1dGhvcml6YXRpb25ydWxlcy97fQ==/2017-04-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/authorizationrules/{} 2017-04-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- Deletes the Authorization Rule of the Relay Service Namespace.
|
||||
```bash
|
||||
relay namespace authorization-rule delete --resource-group myresourcegroup --namespace- name mynamespace --name myauthorule
|
||||
```
|
|
@ -0,0 +1,16 @@
|
|||
# [Command] _relay namespace authorization-rule list_
|
||||
|
||||
Shows the list of Authorization Rule by Relay Service Namespace.
|
||||
|
||||
## Versions
|
||||
|
||||
### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxheS9uYW1lc3BhY2VzL3t9L2F1dGhvcml6YXRpb25ydWxlcw==/2017-04-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/authorizationrules 2017-04-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- Shows the list of Authorization Rule by Relay Service Namespace
|
||||
```bash
|
||||
relay namespace authorization-rule list --resource-group myresourcegroup --namespace-name mynamespace
|
||||
```
|
|
@ -0,0 +1,16 @@
|
|||
# [Command] _relay namespace authorization-rule show_
|
||||
|
||||
Shows the details of Relay Service Namespace Authorization Rule.
|
||||
|
||||
## Versions
|
||||
|
||||
### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxheS9uYW1lc3BhY2VzL3t9L2F1dGhvcml6YXRpb25ydWxlcy97fQ==/2017-04-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/authorizationrules/{} 2017-04-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- Shows the details of Relay Service Namespace Authorization Rule
|
||||
```bash
|
||||
relay namespace authorization-rule show --resource-group myresourcegroup --namespace-name mynamespace --name myauthorule
|
||||
```
|
|
@ -0,0 +1,16 @@
|
|||
# [Command] _relay namespace authorization-rule update_
|
||||
|
||||
Updates Authorization Rule for the given Relay Service Namespace.
|
||||
|
||||
## Versions
|
||||
|
||||
### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxheS9uYW1lc3BhY2VzL3t9L2F1dGhvcml6YXRpb25ydWxlcy97fQ==/2017-04-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/authorizationrules/{} 2017-04-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- Updates Authorization Rule 'myrule' for the given Relay Service Namespace 'mynamespace' in resourcegroup
|
||||
```bash
|
||||
relay namespace authorization-rule update --resource-group myresourcegroup --namespace- name mynamespace --name myauthorule --rights Send
|
||||
```
|
|
@ -0,0 +1,21 @@
|
|||
# [Command] _relay namespace authorization-rule keys list_
|
||||
|
||||
List the keys and connection strings of Authorization Rule for Relay Service Namespace.
|
||||
|
||||
## Versions
|
||||
|
||||
### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxheS9uYW1lc3BhY2VzL3t9L2F1dGhvcml6YXRpb25ydWxlcy97fS9saXN0a2V5cw==/2017-04-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/authorizationrules/{}/listkeys 2017-04-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- List the keys and connection strings of Authorization Rule for Relay Service Namespace
|
||||
```bash
|
||||
relay namespace authorization-rule keys list --resource-group myresourcegroup --namespace-name mynamespace --name myauthorule
|
||||
```
|
||||
|
||||
- List the keys and connection strings of Authorization Rule for Relay Service Namespace (commonly used with --output and --query). (autogenerated)
|
||||
```bash
|
||||
relay namespace authorization-rule keys list --name myauthorule --namespace-name mynamespace --resource-group myresourcegroup --subscription MySubscription
|
||||
```
|
|
@ -0,0 +1,16 @@
|
|||
# [Command] _relay namespace authorization-rule keys renew_
|
||||
|
||||
Regenerate keys of Authorization Rule for the Relay Service Namespace.
|
||||
|
||||
## Versions
|
||||
|
||||
### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxheS9uYW1lc3BhY2VzL3t9L2F1dGhvcml6YXRpb25ydWxlcy97fS9yZWdlbmVyYXRla2V5cw==/2017-04-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/authorizationrules/{}/regeneratekeys 2017-04-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- Regenerate keys of Authorization Rule for the Relay Service Namespace.
|
||||
```bash
|
||||
relay namespace authorization-rule keys renew --resource-group myresourcegroup --namespace-name mynamespace --name myauthorule --key PrimaryKey
|
||||
```
|
|
@ -0,0 +1,11 @@
|
|||
# [Group] _relay namespace authorization-rule keys_
|
||||
|
||||
Manage Azure Authorization Rule connection strings for Namespace.
|
||||
|
||||
## Commands
|
||||
|
||||
- [list](/Commands/relay/namespace/authorization-rule/keys/_list.md)
|
||||
: List the keys and connection strings of Authorization Rule for Relay Service Namespace.
|
||||
|
||||
- [renew](/Commands/relay/namespace/authorization-rule/keys/_renew.md)
|
||||
: Regenerate keys of Authorization Rule for the Relay Service Namespace.
|
|
@ -0,0 +1,25 @@
|
|||
# [Group] _relay namespace authorization-rule_
|
||||
|
||||
Manage Azure Relay Service Namespace Authorization Rule.
|
||||
|
||||
## Subgroups
|
||||
|
||||
- [keys](/Commands/relay/namespace/authorization-rule/keys/readme.md)
|
||||
: Manage Azure Authorization Rule connection strings for Namespace.
|
||||
|
||||
## Commands
|
||||
|
||||
- [create](/Commands/relay/namespace/authorization-rule/_create.md)
|
||||
: Create Authorization Rule for the given Relay Service Namespace.
|
||||
|
||||
- [delete](/Commands/relay/namespace/authorization-rule/_delete.md)
|
||||
: Deletes the Authorization Rule of the Relay Service Namespace.
|
||||
|
||||
- [list](/Commands/relay/namespace/authorization-rule/_list.md)
|
||||
: Shows the list of Authorization Rule by Relay Service Namespace.
|
||||
|
||||
- [show](/Commands/relay/namespace/authorization-rule/_show.md)
|
||||
: Shows the details of Relay Service Namespace Authorization Rule.
|
||||
|
||||
- [update](/Commands/relay/namespace/authorization-rule/_update.md)
|
||||
: Updates Authorization Rule for the given Relay Service Namespace.
|
|
@ -0,0 +1,28 @@
|
|||
# [Group] _relay namespace_
|
||||
|
||||
Manage Azure Relay Service Namespace.
|
||||
|
||||
## Subgroups
|
||||
|
||||
- [authorization-rule](/Commands/relay/namespace/authorization-rule/readme.md)
|
||||
: Manage Azure Relay Service Namespace Authorization Rule.
|
||||
|
||||
## Commands
|
||||
|
||||
- [create](/Commands/relay/namespace/_create.md)
|
||||
: Create a Relay Service Namespace.
|
||||
|
||||
- [delete](/Commands/relay/namespace/_delete.md)
|
||||
: Deletes the Relay Service Namespace.
|
||||
|
||||
- [exists](/Commands/relay/namespace/_exists.md)
|
||||
: Check for the availability of the given name for the Namespace.
|
||||
|
||||
- [list](/Commands/relay/namespace/_list.md)
|
||||
: List the Relay Service Namespaces.
|
||||
|
||||
- [show](/Commands/relay/namespace/_show.md)
|
||||
: Shows the Relay Service Namespace details.
|
||||
|
||||
- [update](/Commands/relay/namespace/_update.md)
|
||||
: Updates a Relay Service Namespace.
|
|
@ -0,0 +1,14 @@
|
|||
# [Group] _relay_
|
||||
|
||||
Manage Azure Relay Service namespaces, WCF relays, hybrid connections, and rules.
|
||||
|
||||
## Subgroups
|
||||
|
||||
- [hyco](/Commands/relay/hyco/readme.md)
|
||||
: Manage Azure Relay Service Hybrid Connection and Authorization Rule.
|
||||
|
||||
- [namespace](/Commands/relay/namespace/readme.md)
|
||||
: Manage Azure Relay Service Namespace.
|
||||
|
||||
- [wcfrelay](/Commands/relay/wcfrelay/readme.md)
|
||||
: Manage Azure Relay Service WCF Relay and Authorization Rule.
|
|
@ -0,0 +1,16 @@
|
|||
# [Command] _relay wcfrelay create_
|
||||
|
||||
Create the Relay Service WCF Relay.
|
||||
|
||||
## Versions
|
||||
|
||||
### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxheS9uYW1lc3BhY2VzL3t9L3djZnJlbGF5cy97fQ==/2017-04-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/wcfrelays/{} 2017-04-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- Create Relay Service WCF Relay.
|
||||
```bash
|
||||
relay wcfrelay create --resource-group myresourcegroup --namespace-name mynamespace --name myrelay --relay-type NetTcp
|
||||
```
|
|
@ -0,0 +1,16 @@
|
|||
# [Command] _relay wcfrelay delete_
|
||||
|
||||
Deletes the Relay Service WCF Relay.
|
||||
|
||||
## Versions
|
||||
|
||||
### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxheS9uYW1lc3BhY2VzL3t9L3djZnJlbGF5cy97fQ==/2017-04-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/wcfrelays/{} 2017-04-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- Deletes the wcfrelay
|
||||
```bash
|
||||
relay wcfrelay delete --resource-group myresourcegroup --namespace-name mynamespace --name myrelay
|
||||
```
|
|
@ -0,0 +1,16 @@
|
|||
# [Command] _relay wcfrelay list_
|
||||
|
||||
List the WCF Relay by Relay Service Namespace.
|
||||
|
||||
## Versions
|
||||
|
||||
### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxheS9uYW1lc3BhY2VzL3t9L3djZnJlbGF5cw==/2017-04-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/wcfrelays 2017-04-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- Get the WCF Relays by Relay Service Namespace.
|
||||
```bash
|
||||
relay wcfrelay list --resource-group myresourcegroup --namespace-name mynamespace
|
||||
```
|
|
@ -0,0 +1,16 @@
|
|||
# [Command] _relay wcfrelay show_
|
||||
|
||||
Shows the Relay Service WCF Relay Details.
|
||||
|
||||
## Versions
|
||||
|
||||
### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxheS9uYW1lc3BhY2VzL3t9L3djZnJlbGF5cy97fQ==/2017-04-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/wcfrelays/{} 2017-04-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- Shows the Relay Service WCF Relay Details
|
||||
```bash
|
||||
relay wcfrelay show --resource-group myresourcegroup --namespace-name mynamespace --name myrelay
|
||||
```
|
|
@ -0,0 +1,16 @@
|
|||
# [Command] _relay wcfrelay update_
|
||||
|
||||
Updates existing Relay Service WCF Relay.
|
||||
|
||||
## Versions
|
||||
|
||||
### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxheS9uYW1lc3BhY2VzL3t9L3djZnJlbGF5cy97fQ==/2017-04-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/wcfrelays/{} 2017-04-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- Updates Relay Service WCF Relay.
|
||||
```bash
|
||||
relay wcfrelay update --resource-group myresourcegroup --namespace-name mynamespace --name myrelay
|
||||
```
|
|
@ -0,0 +1,16 @@
|
|||
# [Command] _relay wcfrelay authorization-rule create_
|
||||
|
||||
Create Authorization Rule for the given Relay Service WCF Relay.
|
||||
|
||||
## Versions
|
||||
|
||||
### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxheS9uYW1lc3BhY2VzL3t9L3djZnJlbGF5cy97fS9hdXRob3JpemF0aW9ucnVsZXMve30=/2017-04-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/wcfrelays/{}/authorizationrules/{} 2017-04-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- Create Authorization Rule for WCF Relay
|
||||
```bash
|
||||
relay wcfrelay authorization-rule create --resource-group myresourcegroup --namespace- name mynamespace --relay-name myrelay --name myauthorule --rights Listen
|
||||
```
|
|
@ -0,0 +1,16 @@
|
|||
# [Command] _relay wcfrelay authorization-rule delete_
|
||||
|
||||
Delete the Authorization Rule of Relay Service WCF Relay.
|
||||
|
||||
## Versions
|
||||
|
||||
### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxheS9uYW1lc3BhY2VzL3t9L3djZnJlbGF5cy97fS9hdXRob3JpemF0aW9ucnVsZXMve30=/2017-04-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/wcfrelays/{}/authorizationrules/{} 2017-04-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- Delete the Authorization Rule of Relay Service WCF Relay
|
||||
```bash
|
||||
relay wcfrelay authorization-rule delete --resource-group myresourcegroup --namespace- name mynamespace --relay-name myrelay --name myauthorule
|
||||
```
|
|
@ -0,0 +1,16 @@
|
|||
# [Command] _relay wcfrelay authorization-rule list_
|
||||
|
||||
List of Authorization Rule by Relay Service WCF Relay.
|
||||
|
||||
## Versions
|
||||
|
||||
### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxheS9uYW1lc3BhY2VzL3t9L3djZnJlbGF5cy97fS9hdXRob3JpemF0aW9ucnVsZXM=/2017-04-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/wcfrelays/{}/authorizationrules 2017-04-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- List of Authorization Rule by WCF Relay
|
||||
```bash
|
||||
relay wcfrelay authorization-rule list --resource-group myresourcegroup --namespace-name mynamespace --relay-name myrelay
|
||||
```
|
|
@ -0,0 +1,16 @@
|
|||
# [Command] _relay wcfrelay authorization-rule show_
|
||||
|
||||
Show properties of Authorization Rule for the given Relay Service WCF Relay.
|
||||
|
||||
## Versions
|
||||
|
||||
### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxheS9uYW1lc3BhY2VzL3t9L3djZnJlbGF5cy97fS9hdXRob3JpemF0aW9ucnVsZXMve30=/2017-04-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/wcfrelays/{}/authorizationrules/{} 2017-04-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- show properties of Authorization Rule
|
||||
```bash
|
||||
relay wcfrelay authorization-rule show --resource-group myresourcegroup --namespace-name mynamespace --relay-name myrelay --name myauthorule
|
||||
```
|
|
@ -0,0 +1,16 @@
|
|||
# [Command] _relay wcfrelay authorization-rule update_
|
||||
|
||||
Update Authorization Rule for the given Relay Service WCF Relay.
|
||||
|
||||
## Versions
|
||||
|
||||
### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxheS9uYW1lc3BhY2VzL3t9L3djZnJlbGF5cy97fS9hdXRob3JpemF0aW9ucnVsZXMve30=/2017-04-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/wcfrelays/{}/authorizationrules/{} 2017-04-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- Update Authorization Rule for WCF Relay
|
||||
```bash
|
||||
relay wcfrelay authorization-rule update --resource-group myresourcegroup --namespace- name mynamespace --relay-name myrelay --name myauthorule --rights Send
|
||||
```
|
|
@ -0,0 +1,16 @@
|
|||
# [Command] _relay wcfrelay authorization-rule keys list_
|
||||
|
||||
List the keys and connection strings of Authorization Rule for the given Relay Service WCF Relay.
|
||||
|
||||
## Versions
|
||||
|
||||
### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxheS9uYW1lc3BhY2VzL3t9L3djZnJlbGF5cy97fS9hdXRob3JpemF0aW9ucnVsZXMve30vbGlzdGtleXM=/2017-04-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/wcfrelays/{}/authorizationrules/{}/listkeys 2017-04-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- List the keys and connection strings of Authorization Rule for the given Relay Service WCF Relay
|
||||
```bash
|
||||
relay wcfrelay authorization-rule keys list --resource-group myresourcegroup --namespace- name mynamespace --relay-name myrelay --name myauthorule
|
||||
```
|
|
@ -0,0 +1,16 @@
|
|||
# [Command] _relay wcfrelay authorization-rule keys renew_
|
||||
|
||||
Regenerate keys of Authorization Rule for Relay Service WCF Relay.
|
||||
|
||||
## Versions
|
||||
|
||||
### [2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxheS9uYW1lc3BhY2VzL3t9L3djZnJlbGF5cy97fS9hdXRob3JpemF0aW9ucnVsZXMve30vcmVnZW5lcmF0ZWtleXM=/2017-04-01.xml) **Stable**
|
||||
|
||||
<!-- mgmt-plane /subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/wcfrelays/{}/authorizationrules/{}/regeneratekeys 2017-04-01 -->
|
||||
|
||||
#### examples
|
||||
|
||||
- Regenerate keys of Authorization Rule for Relay Service WCF Relay
|
||||
```bash
|
||||
relay wcfrelay authorization-rule keys renew --resource-group myresourcegroup --namespace-name mynamespace --relay-name myrelay --name myauthorule --key PrimaryKey
|
||||
```
|
|
@ -0,0 +1,11 @@
|
|||
# [Group] _relay wcfrelay authorization-rule keys_
|
||||
|
||||
Manage Azure Authorization Rule keys for Relay Service WCF Relay.
|
||||
|
||||
## Commands
|
||||
|
||||
- [list](/Commands/relay/wcfrelay/authorization-rule/keys/_list.md)
|
||||
: List the keys and connection strings of Authorization Rule for the given Relay Service WCF Relay.
|
||||
|
||||
- [renew](/Commands/relay/wcfrelay/authorization-rule/keys/_renew.md)
|
||||
: Regenerate keys of Authorization Rule for Relay Service WCF Relay.
|
|
@ -0,0 +1,25 @@
|
|||
# [Group] _relay wcfrelay authorization-rule_
|
||||
|
||||
Manage Azure Relay Service WCF Relay Authorization Rule.
|
||||
|
||||
## Subgroups
|
||||
|
||||
- [keys](/Commands/relay/wcfrelay/authorization-rule/keys/readme.md)
|
||||
: Manage Azure Authorization Rule keys for Relay Service WCF Relay.
|
||||
|
||||
## Commands
|
||||
|
||||
- [create](/Commands/relay/wcfrelay/authorization-rule/_create.md)
|
||||
: Create Authorization Rule for the given Relay Service WCF Relay.
|
||||
|
||||
- [delete](/Commands/relay/wcfrelay/authorization-rule/_delete.md)
|
||||
: Delete the Authorization Rule of Relay Service WCF Relay.
|
||||
|
||||
- [list](/Commands/relay/wcfrelay/authorization-rule/_list.md)
|
||||
: List of Authorization Rule by Relay Service WCF Relay.
|
||||
|
||||
- [show](/Commands/relay/wcfrelay/authorization-rule/_show.md)
|
||||
: Show properties of Authorization Rule for the given Relay Service WCF Relay.
|
||||
|
||||
- [update](/Commands/relay/wcfrelay/authorization-rule/_update.md)
|
||||
: Update Authorization Rule for the given Relay Service WCF Relay.
|
|
@ -0,0 +1,25 @@
|
|||
# [Group] _relay wcfrelay_
|
||||
|
||||
Manage Azure Relay Service WCF Relay and Authorization Rule.
|
||||
|
||||
## Subgroups
|
||||
|
||||
- [authorization-rule](/Commands/relay/wcfrelay/authorization-rule/readme.md)
|
||||
: Manage Azure Relay Service WCF Relay Authorization Rule.
|
||||
|
||||
## Commands
|
||||
|
||||
- [create](/Commands/relay/wcfrelay/_create.md)
|
||||
: Create the Relay Service WCF Relay.
|
||||
|
||||
- [delete](/Commands/relay/wcfrelay/_delete.md)
|
||||
: Deletes the Relay Service WCF Relay.
|
||||
|
||||
- [list](/Commands/relay/wcfrelay/_list.md)
|
||||
: List the WCF Relay by Relay Service Namespace.
|
||||
|
||||
- [show](/Commands/relay/wcfrelay/_show.md)
|
||||
: Shows the Relay Service WCF Relay Details.
|
||||
|
||||
- [update](/Commands/relay/wcfrelay/_update.md)
|
||||
: Updates existing Relay Service WCF Relay.
|
1290
Commands/tree.json
1290
Commands/tree.json
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -0,0 +1 @@
|
|||
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.relay/checknameavailability", "version": "2017-04-01", "swagger": "mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L2NoZWNrTmFtZUF2YWlsYWJpbGl0eQ==/V/MjAxNy0wNC0wMQ=="}], "commandGroups": [{"name": "relay namespace", "commands": [{"name": "exists", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/providers/microsoft.relay/checknameavailability", "version": "2017-04-01", "swagger": "mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L2NoZWNrTmFtZUF2YWlsYWJpbGl0eQ==/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "string", "var": "$parameters.name", "options": ["n", "name"], "required": true, "group": "", "help": {"short": "Namespace name. Name can contain only letters, numbers, and hyphens. The namespace must start with a letter, and it must end with a letter or number."}}]}], "operations": [{"operationId": "Namespaces_CheckNameAvailability", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Relay/checkNameAvailability", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "string", "name": "name", "arg": "$parameters.name", "required": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "message"}, {"type": "boolean", "name": "nameAvailable"}, {"type": "string", "name": "reason", "enum": {"items": [{"value": "InvalidName"}, {"value": "NameInLockdown"}, {"value": "NameInUse"}, {"value": "None"}, {"value": "SubscriptionIsDisabled"}, {"value": "TooManyNamespaceInCurrentSubscription"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]}
|
|
@ -0,0 +1,64 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<CodeGen plane="mgmt-plane">
|
||||
<resource id="/subscriptions/{}/providers/microsoft.relay/checknameavailability" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L2NoZWNrTmFtZUF2YWlsYWJpbGl0eQ==/V/MjAxNy0wNC0wMQ=="/>
|
||||
<commandGroup name="relay namespace">
|
||||
<command name="exists" version="2017-04-01" confirmation="">
|
||||
<resource id="/subscriptions/{}/providers/microsoft.relay/checknameavailability" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L2NoZWNrTmFtZUF2YWlsYWJpbGl0eQ==/V/MjAxNy0wNC0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
|
||||
<arg type="string" var="$parameters.name" options="name n" required="True" group="">
|
||||
<help short="Namespace name. Name can contain only letters, numbers, and hyphens. The namespace must start with a letter, and it must end with a letter or number."/>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<operation operationId="Namespaces_CheckNameAvailability">
|
||||
<http path="/subscriptions/{subscriptionId}/providers/Microsoft.Relay/checkNameAvailability">
|
||||
<request method="post">
|
||||
<path>
|
||||
<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=""2017-04-01""/>
|
||||
</const>
|
||||
</query>
|
||||
<body>
|
||||
<json>
|
||||
<schema type="object" name="parameters" required="True" clientFlatten="True">
|
||||
<prop type="string" name="name" arg="$parameters.name" required="True"/>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="object">
|
||||
<prop readOnly="True" type="string" name="message"/>
|
||||
<prop type="boolean" name="nameAvailable"/>
|
||||
<prop type="string" name="reason">
|
||||
<enum>
|
||||
<item value=""InvalidName""/>
|
||||
<item value=""NameInLockdown""/>
|
||||
<item value=""NameInUse""/>
|
||||
<item value=""None""/>
|
||||
<item value=""SubscriptionIsDisabled""/>
|
||||
<item value=""TooManyNamespaceInCurrentSubscription""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@ODataV4Format"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<output type="object" ref="$Instance" clientFlatten="True"/>
|
||||
</command>
|
||||
</commandGroup>
|
||||
</CodeGen>
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
|
@ -0,0 +1,179 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<CodeGen plane="mgmt-plane">
|
||||
<resource id="/subscriptions/{}/providers/microsoft.relay/namespaces" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXM=/V/MjAxNy0wNC0wMQ=="/>
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcw==/V/MjAxNy0wNC0wMQ=="/>
|
||||
<commandGroup name="relay namespace">
|
||||
<command name="list" version="2017-04-01" confirmation="">
|
||||
<resource id="/subscriptions/{}/providers/microsoft.relay/namespaces" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0LlJlbGF5L25hbWVzcGFjZXM=/V/MjAxNy0wNC0wMQ=="/>
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcw==/V/MjAxNy0wNC0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="ResourceGroupName" var="$Path.resourceGroupName" options="resource-group g" idPart="resource_group"/>
|
||||
<arg type="SubscriptionId" var="$Path.subscriptionId" options="subscription" required="True" idPart="subscription"/>
|
||||
</argGroup>
|
||||
<condition var="$Condition_Namespaces_ListByResourceGroup">
|
||||
<operator type="and">
|
||||
<operator type="hasValue" arg="$Path.resourceGroupName"/>
|
||||
<operator type="hasValue" arg="$Path.subscriptionId"/>
|
||||
</operator>
|
||||
</condition>
|
||||
<condition var="$Condition_Namespaces_List">
|
||||
<operator type="and">
|
||||
<operator type="hasValue" arg="$Path.subscriptionId"/>
|
||||
<operator type="not">
|
||||
<operator type="hasValue" arg="$Path.resourceGroupName"/>
|
||||
</operator>
|
||||
</operator>
|
||||
</condition>
|
||||
<operation when="$Condition_Namespaces_ListByResourceGroup" operationId="Namespaces_ListByResourceGroup">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces">
|
||||
<request method="get">
|
||||
<path>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format 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=""2017-04-01""/>
|
||||
</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.Relay/namespaces/{}"/>
|
||||
</prop>
|
||||
<prop type="ResourceLocation" name="location" required="True"/>
|
||||
<prop readOnly="True" type="string" name="name"/>
|
||||
<prop type="object" name="properties" clientFlatten="True">
|
||||
<prop readOnly="True" type="dateTime" name="createdAt"/>
|
||||
<prop readOnly="True" type="string" name="metricId"/>
|
||||
<prop readOnly="True" type="string" name="provisioningState">
|
||||
<enum>
|
||||
<item value=""Created""/>
|
||||
<item value=""Deleted""/>
|
||||
<item value=""Failed""/>
|
||||
<item value=""Succeeded""/>
|
||||
<item value=""Unknown""/>
|
||||
<item value=""Updating""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="serviceBusEndpoint"/>
|
||||
<prop readOnly="True" type="dateTime" name="updatedAt"/>
|
||||
</prop>
|
||||
<prop type="object" name="sku">
|
||||
<prop type="string" name="name" required="True">
|
||||
<enum>
|
||||
<item value=""Standard""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="tier">
|
||||
<enum>
|
||||
<item value=""Standard""/>
|
||||
</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>
|
||||
<operation when="$Condition_Namespaces_List" operationId="Namespaces_List">
|
||||
<http path="/subscriptions/{subscriptionId}/providers/Microsoft.Relay/namespaces">
|
||||
<request method="get">
|
||||
<path>
|
||||
<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=""2017-04-01""/>
|
||||
</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.Relay/namespaces/{}"/>
|
||||
</prop>
|
||||
<prop type="ResourceLocation" name="location" required="True"/>
|
||||
<prop readOnly="True" type="string" name="name"/>
|
||||
<prop type="object" name="properties" clientFlatten="True">
|
||||
<prop readOnly="True" type="dateTime" name="createdAt"/>
|
||||
<prop readOnly="True" type="string" name="metricId"/>
|
||||
<prop readOnly="True" type="string" name="provisioningState">
|
||||
<enum>
|
||||
<item value=""Created""/>
|
||||
<item value=""Deleted""/>
|
||||
<item value=""Failed""/>
|
||||
<item value=""Succeeded""/>
|
||||
<item value=""Unknown""/>
|
||||
<item value=""Updating""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="serviceBusEndpoint"/>
|
||||
<prop readOnly="True" type="dateTime" name="updatedAt"/>
|
||||
</prop>
|
||||
<prop type="object" name="sku">
|
||||
<prop type="string" name="name" required="True">
|
||||
<enum>
|
||||
<item value=""Standard""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="tier">
|
||||
<enum>
|
||||
<item value=""Standard""/>
|
||||
</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>
|
|
@ -0,0 +1 @@
|
|||
Reference [/subscriptions/{}/providers/microsoft.relay/namespaces 2017-04-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5yZWxheS9uYW1lc3BhY2Vz/2017-04-01.xml)
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
|
@ -0,0 +1,443 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<CodeGen plane="mgmt-plane">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0=/V/MjAxNy0wNC0wMQ=="/>
|
||||
<commandGroup name="relay namespace">
|
||||
<command name="show" version="2017-04-01" confirmation="">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0=/V/MjAxNy0wNC0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.namespaceName" options="name n" required="True" group="" idPart="name">
|
||||
<help short="Name of Namespace."/>
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</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="Namespaces_Get">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}">
|
||||
<request method="get">
|
||||
<path>
|
||||
<param type="string" name="namespaceName" arg="$Path.namespaceName" required="True">
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format 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=""2017-04-01""/>
|
||||
</const>
|
||||
</query>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="object">
|
||||
<prop readOnly="True" type="ResourceId" name="id">
|
||||
<format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Relay/namespaces/{}"/>
|
||||
</prop>
|
||||
<prop type="ResourceLocation" name="location" required="True"/>
|
||||
<prop readOnly="True" type="string" name="name"/>
|
||||
<prop type="object" name="properties" clientFlatten="True">
|
||||
<prop readOnly="True" type="dateTime" name="createdAt"/>
|
||||
<prop readOnly="True" type="string" name="metricId"/>
|
||||
<prop readOnly="True" type="string" name="provisioningState">
|
||||
<enum>
|
||||
<item value=""Created""/>
|
||||
<item value=""Deleted""/>
|
||||
<item value=""Failed""/>
|
||||
<item value=""Succeeded""/>
|
||||
<item value=""Unknown""/>
|
||||
<item value=""Updating""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="serviceBusEndpoint"/>
|
||||
<prop readOnly="True" type="dateTime" name="updatedAt"/>
|
||||
</prop>
|
||||
<prop type="object" name="sku">
|
||||
<prop type="string" name="name" required="True">
|
||||
<enum>
|
||||
<item value=""Standard""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="tier">
|
||||
<enum>
|
||||
<item value=""Standard""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop type="object" name="tags">
|
||||
<additionalProp>
|
||||
<item type="string"/>
|
||||
</additionalProp>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="type"/>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@ODataV4Format"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<output type="object" ref="$Instance" clientFlatten="True"/>
|
||||
</command>
|
||||
<command name="delete" version="2017-04-01" confirmation="">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0=/V/MjAxNy0wNC0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.namespaceName" options="name n" required="True" group="" idPart="name">
|
||||
<help short="Name of Namespace."/>
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</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="Namespaces_Delete">
|
||||
<longRunning finalStateVia="azure-async-operation"/>
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}">
|
||||
<request method="delete">
|
||||
<path>
|
||||
<param type="string" name="namespaceName" arg="$Path.namespaceName" required="True">
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format 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=""2017-04-01""/>
|
||||
</const>
|
||||
</query>
|
||||
</request>
|
||||
<response statusCode="200"/>
|
||||
<response statusCode="202"/>
|
||||
<response statusCode="204"/>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@ODataV4Format"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
</command>
|
||||
<command name="create" version="2017-04-01" confirmation="">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0=/V/MjAxNy0wNC0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.namespaceName" options="name n" required="True" group="" idPart="name">
|
||||
<help short="Name of Namespace."/>
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</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"/>
|
||||
<arg type="ResourceLocation" var="$parameters.location" options="location l" required="True" group="">
|
||||
<help short="Location. Values from: `az account list-locations`. You can configure the default location using `az configure --defaults location=<location>`."/>
|
||||
</arg>
|
||||
<arg type="object" var="$parameters.tags" options="tags" group="">
|
||||
<help short="Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags."/>
|
||||
<additionalProp>
|
||||
<item type="string"/>
|
||||
</additionalProp>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<argGroup name="Parameters">
|
||||
<arg type="object" var="$parameters.sku" options="sku" hide="True" group="Parameters">
|
||||
<help short="SKU of the namespace."/>
|
||||
<arg type="string" var="$parameters.sku.name" options="name" required="True">
|
||||
<help short="Name of this SKU."/>
|
||||
<enum>
|
||||
<item name="Standard" value=""Standard""/>
|
||||
</enum>
|
||||
</arg>
|
||||
<arg type="string" var="$parameters.sku.tier" options="tier">
|
||||
<help short="The tier of this SKU."/>
|
||||
<enum>
|
||||
<item name="Standard" value=""Standard""/>
|
||||
</enum>
|
||||
</arg>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<operation operationId="Namespaces_CreateOrUpdate">
|
||||
<longRunning finalStateVia="azure-async-operation"/>
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}">
|
||||
<request method="put">
|
||||
<path>
|
||||
<param type="string" name="namespaceName" arg="$Path.namespaceName" required="True">
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format 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=""2017-04-01""/>
|
||||
</const>
|
||||
</query>
|
||||
<body>
|
||||
<json>
|
||||
<schema type="object" name="parameters" required="True" clientFlatten="True">
|
||||
<prop type="ResourceLocation" name="location" arg="$parameters.location" required="True"/>
|
||||
<prop type="object" name="sku" arg="$parameters.sku">
|
||||
<prop type="string" name="name" arg="$parameters.sku.name" required="True">
|
||||
<enum>
|
||||
<item value=""Standard""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="tier" arg="$parameters.sku.tier">
|
||||
<enum>
|
||||
<item value=""Standard""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop type="object" name="tags" arg="$parameters.tags">
|
||||
<additionalProp>
|
||||
<item type="string"/>
|
||||
</additionalProp>
|
||||
</prop>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</request>
|
||||
<response statusCode="200 201">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="object">
|
||||
<prop readOnly="True" type="ResourceId" name="id">
|
||||
<format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Relay/namespaces/{}"/>
|
||||
</prop>
|
||||
<prop type="ResourceLocation" name="location" required="True"/>
|
||||
<prop readOnly="True" type="string" name="name"/>
|
||||
<prop type="object" name="properties" clientFlatten="True">
|
||||
<prop readOnly="True" type="dateTime" name="createdAt"/>
|
||||
<prop readOnly="True" type="string" name="metricId"/>
|
||||
<prop readOnly="True" type="string" name="provisioningState">
|
||||
<enum>
|
||||
<item value=""Created""/>
|
||||
<item value=""Deleted""/>
|
||||
<item value=""Failed""/>
|
||||
<item value=""Succeeded""/>
|
||||
<item value=""Unknown""/>
|
||||
<item value=""Updating""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="serviceBusEndpoint"/>
|
||||
<prop readOnly="True" type="dateTime" name="updatedAt"/>
|
||||
</prop>
|
||||
<prop type="object" name="sku">
|
||||
<prop type="string" name="name" required="True">
|
||||
<enum>
|
||||
<item value=""Standard""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="tier">
|
||||
<enum>
|
||||
<item value=""Standard""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop type="object" name="tags">
|
||||
<additionalProp>
|
||||
<item type="string"/>
|
||||
</additionalProp>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="type"/>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@ODataV4Format"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<output type="object" ref="$Instance" clientFlatten="True"/>
|
||||
</command>
|
||||
<command name="update" version="2017-04-01" confirmation="">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0=/V/MjAxNy0wNC0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.namespaceName" options="name n" required="True" group="" idPart="name">
|
||||
<help short="Name of Namespace."/>
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</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"/>
|
||||
<arg nullable="True" type="object" var="$parameters.tags" options="tags" group="">
|
||||
<help short="Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags."/>
|
||||
<additionalProp>
|
||||
<item nullable="True" type="string"/>
|
||||
</additionalProp>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<argGroup name="Parameters">
|
||||
<arg nullable="True" type="object" var="$parameters.sku" options="sku" hide="True" group="Parameters">
|
||||
<help short="SKU of the namespace."/>
|
||||
<arg type="string" var="$parameters.sku.name" options="name">
|
||||
<help short="Name of this SKU."/>
|
||||
<enum>
|
||||
<item name="Standard" value=""Standard""/>
|
||||
</enum>
|
||||
</arg>
|
||||
<arg nullable="True" type="string" var="$parameters.sku.tier" options="tier">
|
||||
<help short="The tier of this SKU."/>
|
||||
<enum>
|
||||
<item name="Standard" value=""Standard""/>
|
||||
</enum>
|
||||
</arg>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<operation operationId="Namespaces_Get">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}">
|
||||
<request method="get">
|
||||
<path>
|
||||
<param type="string" name="namespaceName" arg="$Path.namespaceName" required="True">
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format 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=""2017-04-01""/>
|
||||
</const>
|
||||
</query>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="object" cls="RelayNamespace_read">
|
||||
<prop readOnly="True" type="ResourceId" name="id">
|
||||
<format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Relay/namespaces/{}"/>
|
||||
</prop>
|
||||
<prop type="ResourceLocation" name="location" required="True"/>
|
||||
<prop readOnly="True" type="string" name="name"/>
|
||||
<prop type="object" name="properties" clientFlatten="True">
|
||||
<prop readOnly="True" type="dateTime" name="createdAt"/>
|
||||
<prop readOnly="True" type="string" name="metricId"/>
|
||||
<prop readOnly="True" type="string" name="provisioningState">
|
||||
<enum>
|
||||
<item value=""Created""/>
|
||||
<item value=""Deleted""/>
|
||||
<item value=""Failed""/>
|
||||
<item value=""Succeeded""/>
|
||||
<item value=""Unknown""/>
|
||||
<item value=""Updating""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="serviceBusEndpoint"/>
|
||||
<prop readOnly="True" type="dateTime" name="updatedAt"/>
|
||||
</prop>
|
||||
<prop type="object" name="sku">
|
||||
<prop type="string" name="name" required="True">
|
||||
<enum>
|
||||
<item value=""Standard""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="tier">
|
||||
<enum>
|
||||
<item value=""Standard""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop type="object" name="tags">
|
||||
<additionalProp>
|
||||
<item type="string"/>
|
||||
</additionalProp>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="type"/>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@ODataV4Format"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<operation>
|
||||
<instanceUpdate ref="$Instance">
|
||||
<json>
|
||||
<schema type="object" name="parameters" required="True" clientFlatten="True">
|
||||
<prop type="object" name="sku" arg="$parameters.sku">
|
||||
<prop type="string" name="name" arg="$parameters.sku.name" required="True">
|
||||
<enum>
|
||||
<item value=""Standard""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="string" name="tier" arg="$parameters.sku.tier">
|
||||
<enum>
|
||||
<item value=""Standard""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop type="object" name="tags" arg="$parameters.tags">
|
||||
<additionalProp>
|
||||
<item type="string"/>
|
||||
</additionalProp>
|
||||
</prop>
|
||||
</schema>
|
||||
</json>
|
||||
</instanceUpdate>
|
||||
</operation>
|
||||
<operation operationId="Namespaces_CreateOrUpdate">
|
||||
<longRunning finalStateVia="azure-async-operation"/>
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}">
|
||||
<request method="put">
|
||||
<path>
|
||||
<param type="string" name="namespaceName" arg="$Path.namespaceName" required="True">
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format 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=""2017-04-01""/>
|
||||
</const>
|
||||
</query>
|
||||
<body>
|
||||
<json ref="$Instance"/>
|
||||
</body>
|
||||
</request>
|
||||
<response statusCode="200 201">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="@RelayNamespace_read"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@ODataV4Format"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<output type="object" ref="$Instance" clientFlatten="True"/>
|
||||
</command>
|
||||
</commandGroup>
|
||||
</CodeGen>
|
|
@ -0,0 +1 @@
|
|||
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/authorizationrules", "version": "2017-04-01", "swagger": "mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vYXV0aG9yaXphdGlvblJ1bGVz/V/MjAxNy0wNC0wMQ=="}], "commandGroups": [{"name": "relay namespace authorization-rule", "commands": [{"name": "list", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/authorizationrules", "version": "2017-04-01", "swagger": "mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vYXV0aG9yaXphdGlvblJ1bGVz/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of Namespace."}, "format": {"maxLength": 50, "minLength": 6}}, {"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": "Namespaces_ListAuthorizationRules", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/authorizationRules", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true, "format": {"maxLength": 50, "minLength": 6}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "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"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "array<string>", "name": "rights", "required": true, "format": {"unique": true}, "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}], "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": ""}]}]}
|
|
@ -0,0 +1,73 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<CodeGen plane="mgmt-plane">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/authorizationrules" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vYXV0aG9yaXphdGlvblJ1bGVz/V/MjAxNy0wNC0wMQ=="/>
|
||||
<commandGroup name="relay namespace authorization-rule">
|
||||
<command name="list" version="2017-04-01" confirmation="">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/authorizationrules" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vYXV0aG9yaXphdGlvblJ1bGVz/V/MjAxNy0wNC0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.namespaceName" options="namespace-name" required="True" group="" idPart="name">
|
||||
<help short="Name of Namespace."/>
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</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="Namespaces_ListAuthorizationRules">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/authorizationRules">
|
||||
<request method="get">
|
||||
<path>
|
||||
<param type="string" name="namespaceName" arg="$Path.namespaceName" required="True">
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format 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=""2017-04-01""/>
|
||||
</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"/>
|
||||
<prop readOnly="True" type="string" name="name"/>
|
||||
<prop type="object" name="properties" required="True" clientFlatten="True">
|
||||
<prop type="array<string>" name="rights" required="True">
|
||||
<format unique="True"/>
|
||||
<item type="string">
|
||||
<enum>
|
||||
<item value=""Listen""/>
|
||||
<item value=""Manage""/>
|
||||
<item value=""Send""/>
|
||||
</enum>
|
||||
</item>
|
||||
</prop>
|
||||
</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>
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
|
@ -0,0 +1,360 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<CodeGen plane="mgmt-plane">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/authorizationrules/{}" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vYXV0aG9yaXphdGlvblJ1bGVzL3thdXRob3JpemF0aW9uUnVsZU5hbWV9/V/MjAxNy0wNC0wMQ=="/>
|
||||
<commandGroup name="relay namespace authorization-rule">
|
||||
<command name="show" version="2017-04-01" confirmation="">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/authorizationrules/{}" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vYXV0aG9yaXphdGlvblJ1bGVzL3thdXRob3JpemF0aW9uUnVsZU5hbWV9/V/MjAxNy0wNC0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.authorizationRuleName" options="name n" required="True" group="" idPart="child_name_1">
|
||||
<help short="Name of Namespace Authorization Rule."/>
|
||||
<format minLength="1"/>
|
||||
</arg>
|
||||
<arg type="string" var="$Path.namespaceName" options="namespace-name" required="True" group="" idPart="name">
|
||||
<help short="Name of Namespace."/>
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</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="Namespaces_GetAuthorizationRule">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}">
|
||||
<request method="get">
|
||||
<path>
|
||||
<param type="string" name="authorizationRuleName" arg="$Path.authorizationRuleName" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="namespaceName" arg="$Path.namespaceName" required="True">
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format 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=""2017-04-01""/>
|
||||
</const>
|
||||
</query>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="object">
|
||||
<prop readOnly="True" type="ResourceId" name="id"/>
|
||||
<prop readOnly="True" type="string" name="name"/>
|
||||
<prop type="object" name="properties" required="True" clientFlatten="True">
|
||||
<prop type="array<string>" name="rights" required="True">
|
||||
<format unique="True"/>
|
||||
<item type="string">
|
||||
<enum>
|
||||
<item value=""Listen""/>
|
||||
<item value=""Manage""/>
|
||||
<item value=""Send""/>
|
||||
</enum>
|
||||
</item>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="type"/>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@ODataV4Format"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<output type="object" ref="$Instance" clientFlatten="True"/>
|
||||
</command>
|
||||
<command name="delete" version="2017-04-01" confirmation="">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/authorizationrules/{}" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vYXV0aG9yaXphdGlvblJ1bGVzL3thdXRob3JpemF0aW9uUnVsZU5hbWV9/V/MjAxNy0wNC0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.authorizationRuleName" options="name n" required="True" group="" idPart="child_name_1">
|
||||
<help short="Name of Namespace Authorization Rule."/>
|
||||
<format minLength="1"/>
|
||||
</arg>
|
||||
<arg type="string" var="$Path.namespaceName" options="namespace-name" required="True" group="" idPart="name">
|
||||
<help short="Name of Namespace."/>
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</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="Namespaces_DeleteAuthorizationRule">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}">
|
||||
<request method="delete">
|
||||
<path>
|
||||
<param type="string" name="authorizationRuleName" arg="$Path.authorizationRuleName" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="namespaceName" arg="$Path.namespaceName" required="True">
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format 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=""2017-04-01""/>
|
||||
</const>
|
||||
</query>
|
||||
</request>
|
||||
<response statusCode="200"/>
|
||||
<response statusCode="204"/>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@ODataV4Format"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
</command>
|
||||
<command name="create" version="2017-04-01" confirmation="">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/authorizationrules/{}" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vYXV0aG9yaXphdGlvblJ1bGVzL3thdXRob3JpemF0aW9uUnVsZU5hbWV9/V/MjAxNy0wNC0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.authorizationRuleName" options="name n" required="True" group="" idPart="child_name_1">
|
||||
<help short="Name of Namespace Authorization Rule."/>
|
||||
<format minLength="1"/>
|
||||
</arg>
|
||||
<arg type="string" var="$Path.namespaceName" options="namespace-name" required="True" group="" idPart="name">
|
||||
<help short="Name of Namespace."/>
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</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"/>
|
||||
<arg type="array<string>" var="$parameters.properties.rights" options="rights" required="True" group="">
|
||||
<help short="Space-separated list of Authorization rule rights. Allowed values: Listen, Manage, Send."/>
|
||||
<format unique="True"/>
|
||||
<item type="string">
|
||||
<enum>
|
||||
<item name="Listen" value=""Listen""/>
|
||||
<item name="Manage" value=""Manage""/>
|
||||
<item name="Send" value=""Send""/>
|
||||
</enum>
|
||||
</item>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<operation operationId="Namespaces_CreateOrUpdateAuthorizationRule">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}">
|
||||
<request method="put">
|
||||
<path>
|
||||
<param type="string" name="authorizationRuleName" arg="$Path.authorizationRuleName" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="namespaceName" arg="$Path.namespaceName" required="True">
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format 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=""2017-04-01""/>
|
||||
</const>
|
||||
</query>
|
||||
<body>
|
||||
<json>
|
||||
<schema type="object" name="parameters" required="True" clientFlatten="True">
|
||||
<prop type="object" name="properties" required="True" clientFlatten="True">
|
||||
<prop type="array<string>" name="rights" arg="$parameters.properties.rights" required="True">
|
||||
<format unique="True"/>
|
||||
<item type="string">
|
||||
<enum>
|
||||
<item value=""Listen""/>
|
||||
<item value=""Manage""/>
|
||||
<item value=""Send""/>
|
||||
</enum>
|
||||
</item>
|
||||
</prop>
|
||||
</prop>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="object">
|
||||
<prop readOnly="True" type="ResourceId" name="id"/>
|
||||
<prop readOnly="True" type="string" name="name"/>
|
||||
<prop type="object" name="properties" required="True" clientFlatten="True">
|
||||
<prop type="array<string>" name="rights" required="True">
|
||||
<format unique="True"/>
|
||||
<item type="string">
|
||||
<enum>
|
||||
<item value=""Listen""/>
|
||||
<item value=""Manage""/>
|
||||
<item value=""Send""/>
|
||||
</enum>
|
||||
</item>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="type"/>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@ODataV4Format"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<output type="object" ref="$Instance" clientFlatten="True"/>
|
||||
</command>
|
||||
<command name="update" version="2017-04-01" confirmation="">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/authorizationrules/{}" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vYXV0aG9yaXphdGlvblJ1bGVzL3thdXRob3JpemF0aW9uUnVsZU5hbWV9/V/MjAxNy0wNC0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.authorizationRuleName" options="name n" required="True" group="" idPart="child_name_1">
|
||||
<help short="Name of Namespace Authorization Rule."/>
|
||||
<format minLength="1"/>
|
||||
</arg>
|
||||
<arg type="string" var="$Path.namespaceName" options="namespace-name" required="True" group="" idPart="name">
|
||||
<help short="Name of Namespace."/>
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</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"/>
|
||||
<arg type="array<string>" var="$parameters.properties.rights" options="rights" group="">
|
||||
<help short="Space-separated list of Authorization rule rights. Allowed values: Listen, Manage, Send."/>
|
||||
<format unique="True"/>
|
||||
<item nullable="True" type="string">
|
||||
<enum>
|
||||
<item name="Listen" value=""Listen""/>
|
||||
<item name="Manage" value=""Manage""/>
|
||||
<item name="Send" value=""Send""/>
|
||||
</enum>
|
||||
</item>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<operation operationId="Namespaces_GetAuthorizationRule">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}">
|
||||
<request method="get">
|
||||
<path>
|
||||
<param type="string" name="authorizationRuleName" arg="$Path.authorizationRuleName" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="namespaceName" arg="$Path.namespaceName" required="True">
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format 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=""2017-04-01""/>
|
||||
</const>
|
||||
</query>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="object" cls="AuthorizationRule_read">
|
||||
<prop readOnly="True" type="ResourceId" name="id"/>
|
||||
<prop readOnly="True" type="string" name="name"/>
|
||||
<prop type="object" name="properties" required="True" clientFlatten="True">
|
||||
<prop type="array<string>" name="rights" required="True">
|
||||
<format unique="True"/>
|
||||
<item type="string">
|
||||
<enum>
|
||||
<item value=""Listen""/>
|
||||
<item value=""Manage""/>
|
||||
<item value=""Send""/>
|
||||
</enum>
|
||||
</item>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="type"/>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@ODataV4Format"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<operation>
|
||||
<instanceUpdate ref="$Instance">
|
||||
<json>
|
||||
<schema type="object" name="parameters" required="True" clientFlatten="True">
|
||||
<prop type="object" name="properties" required="True" clientFlatten="True">
|
||||
<prop type="array<string>" name="rights" arg="$parameters.properties.rights" required="True">
|
||||
<format unique="True"/>
|
||||
<item type="string">
|
||||
<enum>
|
||||
<item value=""Listen""/>
|
||||
<item value=""Manage""/>
|
||||
<item value=""Send""/>
|
||||
</enum>
|
||||
</item>
|
||||
</prop>
|
||||
</prop>
|
||||
</schema>
|
||||
</json>
|
||||
</instanceUpdate>
|
||||
</operation>
|
||||
<operation operationId="Namespaces_CreateOrUpdateAuthorizationRule">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}">
|
||||
<request method="put">
|
||||
<path>
|
||||
<param type="string" name="authorizationRuleName" arg="$Path.authorizationRuleName" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="namespaceName" arg="$Path.namespaceName" required="True">
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format 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=""2017-04-01""/>
|
||||
</const>
|
||||
</query>
|
||||
<body>
|
||||
<json ref="$Instance"/>
|
||||
</body>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="@AuthorizationRule_read"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@ODataV4Format"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<output type="object" ref="$Instance" clientFlatten="True"/>
|
||||
</command>
|
||||
</commandGroup>
|
||||
</CodeGen>
|
|
@ -0,0 +1 @@
|
|||
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/authorizationrules/{}/listkeys", "version": "2017-04-01", "swagger": "mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vYXV0aG9yaXphdGlvblJ1bGVzL3thdXRob3JpemF0aW9uUnVsZU5hbWV9L2xpc3RLZXlz/V/MjAxNy0wNC0wMQ=="}], "commandGroups": [{"name": "relay namespace authorization-rule keys", "commands": [{"name": "list", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/authorizationrules/{}/listkeys", "version": "2017-04-01", "swagger": "mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vYXV0aG9yaXphdGlvblJ1bGVzL3thdXRob3JpemF0aW9uUnVsZU5hbWV9L2xpc3RLZXlz/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.authorizationRuleName", "options": ["n", "name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "Name of Namespace Authorization Rule."}, "format": {"minLength": 1}}, {"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of Namespace."}, "format": {"maxLength": 50, "minLength": 6}}, {"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": "Namespaces_ListKeys", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}/listKeys", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "authorizationRuleName", "arg": "$Path.authorizationRuleName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true, "format": {"maxLength": 50, "minLength": 6}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "keyName"}, {"type": "string", "name": "primaryConnectionString"}, {"type": "string", "name": "primaryKey"}, {"type": "string", "name": "secondaryConnectionString"}, {"type": "string", "name": "secondaryKey"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]}
|
|
@ -0,0 +1,65 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<CodeGen plane="mgmt-plane">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/authorizationrules/{}/listkeys" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vYXV0aG9yaXphdGlvblJ1bGVzL3thdXRob3JpemF0aW9uUnVsZU5hbWV9L2xpc3RLZXlz/V/MjAxNy0wNC0wMQ=="/>
|
||||
<commandGroup name="relay namespace authorization-rule keys">
|
||||
<command name="list" version="2017-04-01" confirmation="">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/authorizationrules/{}/listkeys" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vYXV0aG9yaXphdGlvblJ1bGVzL3thdXRob3JpemF0aW9uUnVsZU5hbWV9L2xpc3RLZXlz/V/MjAxNy0wNC0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.authorizationRuleName" options="name n" required="True" group="" idPart="child_name_1">
|
||||
<help short="Name of Namespace Authorization Rule."/>
|
||||
<format minLength="1"/>
|
||||
</arg>
|
||||
<arg type="string" var="$Path.namespaceName" options="namespace-name" required="True" group="" idPart="name">
|
||||
<help short="Name of Namespace."/>
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</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="Namespaces_ListKeys">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}/listKeys">
|
||||
<request method="post">
|
||||
<path>
|
||||
<param type="string" name="authorizationRuleName" arg="$Path.authorizationRuleName" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="namespaceName" arg="$Path.namespaceName" required="True">
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format 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=""2017-04-01""/>
|
||||
</const>
|
||||
</query>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="object">
|
||||
<prop type="string" name="keyName"/>
|
||||
<prop type="string" name="primaryConnectionString"/>
|
||||
<prop type="string" name="primaryKey"/>
|
||||
<prop type="string" name="secondaryConnectionString"/>
|
||||
<prop type="string" name="secondaryKey"/>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@ODataV4Format"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<output type="object" ref="$Instance" clientFlatten="True"/>
|
||||
</command>
|
||||
</commandGroup>
|
||||
</CodeGen>
|
|
@ -0,0 +1 @@
|
|||
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/authorizationrules/{}/regeneratekeys", "version": "2017-04-01", "swagger": "mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vYXV0aG9yaXphdGlvblJ1bGVzL3thdXRob3JpemF0aW9uUnVsZU5hbWV9L3JlZ2VuZXJhdGVLZXlz/V/MjAxNy0wNC0wMQ=="}], "commandGroups": [{"name": "relay namespace authorization-rule keys", "commands": [{"name": "renew", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/authorizationrules/{}/regeneratekeys", "version": "2017-04-01", "swagger": "mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vYXV0aG9yaXphdGlvblJ1bGVzL3thdXRob3JpemF0aW9uUnVsZU5hbWV9L3JlZ2VuZXJhdGVLZXlz/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.authorizationRuleName", "options": ["n", "name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "Name of Namespace Authorization Rule."}, "format": {"minLength": 1}}, {"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of Namespace."}, "format": {"maxLength": 50, "minLength": 6}}, {"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"}, {"type": "string", "var": "$parameters.key", "options": ["key-value"], "group": "", "help": {"short": "Optional. If the key value is provided, this is set to key type, or autogenerated key value set for key type."}}, {"type": "string", "var": "$parameters.keyType", "options": ["key"], "required": true, "group": "", "help": {"short": "Specifies Primary or Secondary key needs to be reset."}, "enum": {"items": [{"name": "PrimaryKey", "value": "PrimaryKey"}, {"name": "SecondaryKey", "value": "SecondaryKey"}]}}]}], "operations": [{"operationId": "Namespaces_RegenerateKeys", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}/regenerateKeys", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "authorizationRuleName", "arg": "$Path.authorizationRuleName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true, "format": {"maxLength": 50, "minLength": 6}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "string", "name": "key", "arg": "$parameters.key"}, {"type": "string", "name": "keyType", "arg": "$parameters.keyType", "required": true, "enum": {"items": [{"value": "PrimaryKey"}, {"value": "SecondaryKey"}]}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "keyName"}, {"type": "string", "name": "primaryConnectionString"}, {"type": "string", "name": "primaryKey"}, {"type": "string", "name": "secondaryConnectionString"}, {"type": "string", "name": "secondaryKey"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]}
|
|
@ -0,0 +1,88 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<CodeGen plane="mgmt-plane">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/authorizationrules/{}/regeneratekeys" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vYXV0aG9yaXphdGlvblJ1bGVzL3thdXRob3JpemF0aW9uUnVsZU5hbWV9L3JlZ2VuZXJhdGVLZXlz/V/MjAxNy0wNC0wMQ=="/>
|
||||
<commandGroup name="relay namespace authorization-rule keys">
|
||||
<command name="renew" version="2017-04-01" confirmation="">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/authorizationrules/{}/regeneratekeys" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vYXV0aG9yaXphdGlvblJ1bGVzL3thdXRob3JpemF0aW9uUnVsZU5hbWV9L3JlZ2VuZXJhdGVLZXlz/V/MjAxNy0wNC0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.authorizationRuleName" options="name n" required="True" group="" idPart="child_name_1">
|
||||
<help short="Name of Namespace Authorization Rule."/>
|
||||
<format minLength="1"/>
|
||||
</arg>
|
||||
<arg type="string" var="$Path.namespaceName" options="namespace-name" required="True" group="" idPart="name">
|
||||
<help short="Name of Namespace."/>
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</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"/>
|
||||
<arg type="string" var="$parameters.key" options="key-value" group="">
|
||||
<help short="Optional. If the key value is provided, this is set to key type, or autogenerated key value set for key type."/>
|
||||
</arg>
|
||||
<arg type="string" var="$parameters.keyType" options="key" required="True" group="">
|
||||
<help short="Specifies Primary or Secondary key needs to be reset."/>
|
||||
<enum>
|
||||
<item name="PrimaryKey" value=""PrimaryKey""/>
|
||||
<item name="SecondaryKey" value=""SecondaryKey""/>
|
||||
</enum>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<operation operationId="Namespaces_RegenerateKeys">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/authorizationRules/{authorizationRuleName}/regenerateKeys">
|
||||
<request method="post">
|
||||
<path>
|
||||
<param type="string" name="authorizationRuleName" arg="$Path.authorizationRuleName" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="namespaceName" arg="$Path.namespaceName" required="True">
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format 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=""2017-04-01""/>
|
||||
</const>
|
||||
</query>
|
||||
<body>
|
||||
<json>
|
||||
<schema type="object" name="parameters" required="True" clientFlatten="True">
|
||||
<prop type="string" name="key" arg="$parameters.key"/>
|
||||
<prop type="string" name="keyType" arg="$parameters.keyType" required="True">
|
||||
<enum>
|
||||
<item value=""PrimaryKey""/>
|
||||
<item value=""SecondaryKey""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="object">
|
||||
<prop type="string" name="keyName"/>
|
||||
<prop type="string" name="primaryConnectionString"/>
|
||||
<prop type="string" name="primaryKey"/>
|
||||
<prop type="string" name="secondaryConnectionString"/>
|
||||
<prop type="string" name="secondaryKey"/>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@ODataV4Format"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<output type="object" ref="$Instance" clientFlatten="True"/>
|
||||
</command>
|
||||
</commandGroup>
|
||||
</CodeGen>
|
|
@ -0,0 +1 @@
|
|||
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/hybridconnections", "version": "2017-04-01", "swagger": "mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vaHlicmlkQ29ubmVjdGlvbnM=/V/MjAxNy0wNC0wMQ=="}], "commandGroups": [{"name": "relay hyco", "commands": [{"name": "list", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/hybridconnections", "version": "2017-04-01", "swagger": "mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vaHlicmlkQ29ubmVjdGlvbnM=/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of Namespace."}, "format": {"maxLength": 50, "minLength": 6}}, {"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": "HybridConnections_ListByNamespace", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/hybridConnections", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true, "format": {"maxLength": 50, "minLength": 6}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "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.Relay/namespaces/{}/hybridConnections/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "integer32", "name": "listenerCount", "format": {"maximum": 25, "minimum": 0}}, {"type": "boolean", "name": "requiresClientAuthorization"}, {"readOnly": true, "type": "dateTime", "name": "updatedAt"}, {"type": "string", "name": "userMetadata"}], "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": ""}]}]}
|
|
@ -0,0 +1,72 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<CodeGen plane="mgmt-plane">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/hybridconnections" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vaHlicmlkQ29ubmVjdGlvbnM=/V/MjAxNy0wNC0wMQ=="/>
|
||||
<commandGroup name="relay hyco">
|
||||
<command name="list" version="2017-04-01" confirmation="">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/hybridconnections" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vaHlicmlkQ29ubmVjdGlvbnM=/V/MjAxNy0wNC0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.namespaceName" options="namespace-name" required="True" group="" idPart="name">
|
||||
<help short="Name of Namespace."/>
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</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="HybridConnections_ListByNamespace">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/hybridConnections">
|
||||
<request method="get">
|
||||
<path>
|
||||
<param type="string" name="namespaceName" arg="$Path.namespaceName" required="True">
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format 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=""2017-04-01""/>
|
||||
</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.Relay/namespaces/{}/hybridConnections/{}"/>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="name"/>
|
||||
<prop type="object" name="properties" clientFlatten="True">
|
||||
<prop readOnly="True" type="dateTime" name="createdAt"/>
|
||||
<prop readOnly="True" type="integer32" name="listenerCount">
|
||||
<format maximum="25" minimum="0"/>
|
||||
</prop>
|
||||
<prop type="boolean" name="requiresClientAuthorization"/>
|
||||
<prop readOnly="True" type="dateTime" name="updatedAt"/>
|
||||
<prop type="string" name="userMetadata"/>
|
||||
</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>
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
|
@ -0,0 +1,331 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<CodeGen plane="mgmt-plane">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/hybridconnections/{}" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vaHlicmlkQ29ubmVjdGlvbnMve2h5YnJpZENvbm5lY3Rpb25OYW1lfQ==/V/MjAxNy0wNC0wMQ=="/>
|
||||
<commandGroup name="relay hyco">
|
||||
<command name="show" version="2017-04-01" confirmation="">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/hybridconnections/{}" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vaHlicmlkQ29ubmVjdGlvbnMve2h5YnJpZENvbm5lY3Rpb25OYW1lfQ==/V/MjAxNy0wNC0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.hybridConnectionName" options="name n" required="True" group="" idPart="child_name_1">
|
||||
<help short="Name of Hybrid Connection."/>
|
||||
<format minLength="1"/>
|
||||
</arg>
|
||||
<arg type="string" var="$Path.namespaceName" options="namespace-name" required="True" group="" idPart="name">
|
||||
<help short="Name of Namespace."/>
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</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="HybridConnections_Get">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/hybridConnections/{hybridConnectionName}">
|
||||
<request method="get">
|
||||
<path>
|
||||
<param type="string" name="hybridConnectionName" arg="$Path.hybridConnectionName" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="namespaceName" arg="$Path.namespaceName" required="True">
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format 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=""2017-04-01""/>
|
||||
</const>
|
||||
</query>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="object">
|
||||
<prop readOnly="True" type="ResourceId" name="id">
|
||||
<format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Relay/namespaces/{}/hybridConnections/{}"/>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="name"/>
|
||||
<prop type="object" name="properties" clientFlatten="True">
|
||||
<prop readOnly="True" type="dateTime" name="createdAt"/>
|
||||
<prop readOnly="True" type="integer32" name="listenerCount">
|
||||
<format maximum="25" minimum="0"/>
|
||||
</prop>
|
||||
<prop type="boolean" name="requiresClientAuthorization"/>
|
||||
<prop readOnly="True" type="dateTime" name="updatedAt"/>
|
||||
<prop type="string" name="userMetadata"/>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="type"/>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@ODataV4Format"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<output type="object" ref="$Instance" clientFlatten="True"/>
|
||||
</command>
|
||||
<command name="delete" version="2017-04-01" confirmation="">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/hybridconnections/{}" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vaHlicmlkQ29ubmVjdGlvbnMve2h5YnJpZENvbm5lY3Rpb25OYW1lfQ==/V/MjAxNy0wNC0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.hybridConnectionName" options="name n" required="True" group="" idPart="child_name_1">
|
||||
<help short="Name of Hybrid Connection."/>
|
||||
<format minLength="1"/>
|
||||
</arg>
|
||||
<arg type="string" var="$Path.namespaceName" options="namespace-name" required="True" group="" idPart="name">
|
||||
<help short="Name of Namespace."/>
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</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="HybridConnections_Delete">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/hybridConnections/{hybridConnectionName}">
|
||||
<request method="delete">
|
||||
<path>
|
||||
<param type="string" name="hybridConnectionName" arg="$Path.hybridConnectionName" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="namespaceName" arg="$Path.namespaceName" required="True">
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format 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=""2017-04-01""/>
|
||||
</const>
|
||||
</query>
|
||||
</request>
|
||||
<response statusCode="200"/>
|
||||
<response statusCode="204"/>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@ODataV4Format"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
</command>
|
||||
<command name="create" version="2017-04-01" confirmation="">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/hybridconnections/{}" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vaHlicmlkQ29ubmVjdGlvbnMve2h5YnJpZENvbm5lY3Rpb25OYW1lfQ==/V/MjAxNy0wNC0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.hybridConnectionName" options="name n" required="True" group="" idPart="child_name_1">
|
||||
<help short="Name of Hybrid Connection."/>
|
||||
<format minLength="1"/>
|
||||
</arg>
|
||||
<arg type="string" var="$Path.namespaceName" options="namespace-name" required="True" group="" idPart="name">
|
||||
<help short="Name of Namespace."/>
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</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"/>
|
||||
<arg type="boolean" var="$parameters.properties.requiresClientAuthorization" options="requires-client-authorization c" group="">
|
||||
<help short="Indicates whether client authorization is required."/>
|
||||
</arg>
|
||||
<arg type="string" var="$parameters.properties.userMetadata" options="user-metadata" group="">
|
||||
<help short="Endpoint metadata."/>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<operation operationId="HybridConnections_CreateOrUpdate">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/hybridConnections/{hybridConnectionName}">
|
||||
<request method="put">
|
||||
<path>
|
||||
<param type="string" name="hybridConnectionName" arg="$Path.hybridConnectionName" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="namespaceName" arg="$Path.namespaceName" required="True">
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format 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=""2017-04-01""/>
|
||||
</const>
|
||||
</query>
|
||||
<body>
|
||||
<json>
|
||||
<schema type="object" name="parameters" required="True" clientFlatten="True">
|
||||
<prop type="object" name="properties" clientFlatten="True">
|
||||
<prop type="boolean" name="requiresClientAuthorization" arg="$parameters.properties.requiresClientAuthorization"/>
|
||||
<prop type="string" name="userMetadata" arg="$parameters.properties.userMetadata"/>
|
||||
</prop>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="object">
|
||||
<prop readOnly="True" type="ResourceId" name="id">
|
||||
<format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Relay/namespaces/{}/hybridConnections/{}"/>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="name"/>
|
||||
<prop type="object" name="properties" clientFlatten="True">
|
||||
<prop readOnly="True" type="dateTime" name="createdAt"/>
|
||||
<prop readOnly="True" type="integer32" name="listenerCount">
|
||||
<format maximum="25" minimum="0"/>
|
||||
</prop>
|
||||
<prop type="boolean" name="requiresClientAuthorization"/>
|
||||
<prop readOnly="True" type="dateTime" name="updatedAt"/>
|
||||
<prop type="string" name="userMetadata"/>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="type"/>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@ODataV4Format"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<output type="object" ref="$Instance" clientFlatten="True"/>
|
||||
</command>
|
||||
<command name="update" version="2017-04-01" confirmation="">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/hybridconnections/{}" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vaHlicmlkQ29ubmVjdGlvbnMve2h5YnJpZENvbm5lY3Rpb25OYW1lfQ==/V/MjAxNy0wNC0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.hybridConnectionName" options="name n" required="True" group="" idPart="child_name_1">
|
||||
<help short="Name of Hybrid Connection."/>
|
||||
<format minLength="1"/>
|
||||
</arg>
|
||||
<arg type="string" var="$Path.namespaceName" options="namespace-name" required="True" group="" idPart="name">
|
||||
<help short="Name of Namespace."/>
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</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"/>
|
||||
<arg nullable="True" type="boolean" var="$parameters.properties.requiresClientAuthorization" options="requires-client-authorization r" group="">
|
||||
<help short="Indicates whether client authorization is required."/>
|
||||
</arg>
|
||||
<arg nullable="True" type="string" var="$parameters.properties.userMetadata" options="user-metadata" group="">
|
||||
<help short="Endpoint metadata."/>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<operation operationId="HybridConnections_Get">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/hybridConnections/{hybridConnectionName}">
|
||||
<request method="get">
|
||||
<path>
|
||||
<param type="string" name="hybridConnectionName" arg="$Path.hybridConnectionName" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="namespaceName" arg="$Path.namespaceName" required="True">
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format 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=""2017-04-01""/>
|
||||
</const>
|
||||
</query>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="object" cls="HybridConnection_read">
|
||||
<prop readOnly="True" type="ResourceId" name="id">
|
||||
<format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Relay/namespaces/{}/hybridConnections/{}"/>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="name"/>
|
||||
<prop type="object" name="properties" clientFlatten="True">
|
||||
<prop readOnly="True" type="dateTime" name="createdAt"/>
|
||||
<prop readOnly="True" type="integer32" name="listenerCount">
|
||||
<format maximum="25" minimum="0"/>
|
||||
</prop>
|
||||
<prop type="boolean" name="requiresClientAuthorization"/>
|
||||
<prop readOnly="True" type="dateTime" name="updatedAt"/>
|
||||
<prop type="string" name="userMetadata"/>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="type"/>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@ODataV4Format"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<operation>
|
||||
<instanceUpdate ref="$Instance">
|
||||
<json>
|
||||
<schema type="object" name="parameters" required="True" clientFlatten="True">
|
||||
<prop type="object" name="properties" clientFlatten="True">
|
||||
<prop type="boolean" name="requiresClientAuthorization" arg="$parameters.properties.requiresClientAuthorization"/>
|
||||
<prop type="string" name="userMetadata" arg="$parameters.properties.userMetadata"/>
|
||||
</prop>
|
||||
</schema>
|
||||
</json>
|
||||
</instanceUpdate>
|
||||
</operation>
|
||||
<operation operationId="HybridConnections_CreateOrUpdate">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/hybridConnections/{hybridConnectionName}">
|
||||
<request method="put">
|
||||
<path>
|
||||
<param type="string" name="hybridConnectionName" arg="$Path.hybridConnectionName" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="namespaceName" arg="$Path.namespaceName" required="True">
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format 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=""2017-04-01""/>
|
||||
</const>
|
||||
</query>
|
||||
<body>
|
||||
<json ref="$Instance"/>
|
||||
</body>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="@HybridConnection_read"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@ODataV4Format"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<output type="object" ref="$Instance" clientFlatten="True"/>
|
||||
</command>
|
||||
</commandGroup>
|
||||
</CodeGen>
|
|
@ -0,0 +1 @@
|
|||
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/hybridconnections/{}/authorizationrules", "version": "2017-04-01", "swagger": "mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vaHlicmlkQ29ubmVjdGlvbnMve2h5YnJpZENvbm5lY3Rpb25OYW1lfS9hdXRob3JpemF0aW9uUnVsZXM=/V/MjAxNy0wNC0wMQ=="}], "commandGroups": [{"name": "relay hyco authorization-rule", "commands": [{"name": "list", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/hybridconnections/{}/authorizationrules", "version": "2017-04-01", "swagger": "mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vaHlicmlkQ29ubmVjdGlvbnMve2h5YnJpZENvbm5lY3Rpb25OYW1lfS9hdXRob3JpemF0aW9uUnVsZXM=/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.hybridConnectionName", "options": ["hybrid-connection-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "Name of Hybrid Connection."}, "format": {"minLength": 1}}, {"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of Namespace."}, "format": {"maxLength": 50, "minLength": 6}}, {"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": "HybridConnections_ListAuthorizationRules", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/hybridConnections/{hybridConnectionName}/authorizationRules", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "hybridConnectionName", "arg": "$Path.hybridConnectionName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true, "format": {"maxLength": 50, "minLength": 6}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "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"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "array<string>", "name": "rights", "required": true, "format": {"unique": true}, "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}], "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": ""}]}]}
|
|
@ -0,0 +1,80 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<CodeGen plane="mgmt-plane">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/hybridconnections/{}/authorizationrules" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vaHlicmlkQ29ubmVjdGlvbnMve2h5YnJpZENvbm5lY3Rpb25OYW1lfS9hdXRob3JpemF0aW9uUnVsZXM=/V/MjAxNy0wNC0wMQ=="/>
|
||||
<commandGroup name="relay hyco authorization-rule">
|
||||
<command name="list" version="2017-04-01" confirmation="">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/hybridconnections/{}/authorizationrules" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vaHlicmlkQ29ubmVjdGlvbnMve2h5YnJpZENvbm5lY3Rpb25OYW1lfS9hdXRob3JpemF0aW9uUnVsZXM=/V/MjAxNy0wNC0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.hybridConnectionName" options="hybrid-connection-name" required="True" group="" idPart="child_name_1">
|
||||
<help short="Name of Hybrid Connection."/>
|
||||
<format minLength="1"/>
|
||||
</arg>
|
||||
<arg type="string" var="$Path.namespaceName" options="namespace-name" required="True" group="" idPart="name">
|
||||
<help short="Name of Namespace."/>
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</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="HybridConnections_ListAuthorizationRules">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/hybridConnections/{hybridConnectionName}/authorizationRules">
|
||||
<request method="get">
|
||||
<path>
|
||||
<param type="string" name="hybridConnectionName" arg="$Path.hybridConnectionName" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="namespaceName" arg="$Path.namespaceName" required="True">
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format 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=""2017-04-01""/>
|
||||
</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"/>
|
||||
<prop readOnly="True" type="string" name="name"/>
|
||||
<prop type="object" name="properties" required="True" clientFlatten="True">
|
||||
<prop type="array<string>" name="rights" required="True">
|
||||
<format unique="True"/>
|
||||
<item type="string">
|
||||
<enum>
|
||||
<item value=""Listen""/>
|
||||
<item value=""Manage""/>
|
||||
<item value=""Send""/>
|
||||
</enum>
|
||||
</item>
|
||||
</prop>
|
||||
</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>
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
|
@ -0,0 +1,391 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<CodeGen plane="mgmt-plane">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/hybridconnections/{}/authorizationrules/{}" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vaHlicmlkQ29ubmVjdGlvbnMve2h5YnJpZENvbm5lY3Rpb25OYW1lfS9hdXRob3JpemF0aW9uUnVsZXMve2F1dGhvcml6YXRpb25SdWxlTmFtZX0=/V/MjAxNy0wNC0wMQ=="/>
|
||||
<commandGroup name="relay hyco authorization-rule">
|
||||
<command name="show" version="2017-04-01" confirmation="">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/hybridconnections/{}/authorizationrules/{}" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vaHlicmlkQ29ubmVjdGlvbnMve2h5YnJpZENvbm5lY3Rpb25OYW1lfS9hdXRob3JpemF0aW9uUnVsZXMve2F1dGhvcml6YXRpb25SdWxlTmFtZX0=/V/MjAxNy0wNC0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.authorizationRuleName" options="name n" required="True" group="" idPart="child_name_2">
|
||||
<help short="Name of Hybrid Connection Authorization Rule."/>
|
||||
<format minLength="1"/>
|
||||
</arg>
|
||||
<arg type="string" var="$Path.hybridConnectionName" options="hybrid-connection-name" required="True" group="" idPart="child_name_1">
|
||||
<help short="Name of Hybrid Connection."/>
|
||||
<format minLength="1"/>
|
||||
</arg>
|
||||
<arg type="string" var="$Path.namespaceName" options="namespace-name" required="True" group="" idPart="name">
|
||||
<help short="Name of Namespace."/>
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</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="HybridConnections_GetAuthorizationRule">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/hybridConnections/{hybridConnectionName}/authorizationRules/{authorizationRuleName}">
|
||||
<request method="get">
|
||||
<path>
|
||||
<param type="string" name="authorizationRuleName" arg="$Path.authorizationRuleName" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="hybridConnectionName" arg="$Path.hybridConnectionName" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="namespaceName" arg="$Path.namespaceName" required="True">
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format 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=""2017-04-01""/>
|
||||
</const>
|
||||
</query>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="object">
|
||||
<prop readOnly="True" type="ResourceId" name="id"/>
|
||||
<prop readOnly="True" type="string" name="name"/>
|
||||
<prop type="object" name="properties" required="True" clientFlatten="True">
|
||||
<prop type="array<string>" name="rights" required="True">
|
||||
<format unique="True"/>
|
||||
<item type="string">
|
||||
<enum>
|
||||
<item value=""Listen""/>
|
||||
<item value=""Manage""/>
|
||||
<item value=""Send""/>
|
||||
</enum>
|
||||
</item>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="type"/>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@ODataV4Format"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<output type="object" ref="$Instance" clientFlatten="True"/>
|
||||
</command>
|
||||
<command name="delete" version="2017-04-01" confirmation="">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/hybridconnections/{}/authorizationrules/{}" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vaHlicmlkQ29ubmVjdGlvbnMve2h5YnJpZENvbm5lY3Rpb25OYW1lfS9hdXRob3JpemF0aW9uUnVsZXMve2F1dGhvcml6YXRpb25SdWxlTmFtZX0=/V/MjAxNy0wNC0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.authorizationRuleName" options="name n" required="True" group="" idPart="child_name_2">
|
||||
<help short="Name of Hybrid Connection Authorization Rule."/>
|
||||
<format minLength="1"/>
|
||||
</arg>
|
||||
<arg type="string" var="$Path.hybridConnectionName" options="hybrid-connection-name" required="True" group="" idPart="child_name_1">
|
||||
<help short="Name of Hybrid Connection."/>
|
||||
<format minLength="1"/>
|
||||
</arg>
|
||||
<arg type="string" var="$Path.namespaceName" options="namespace-name" required="True" group="" idPart="name">
|
||||
<help short="Name of Namespace."/>
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</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="HybridConnections_DeleteAuthorizationRule">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/hybridConnections/{hybridConnectionName}/authorizationRules/{authorizationRuleName}">
|
||||
<request method="delete">
|
||||
<path>
|
||||
<param type="string" name="authorizationRuleName" arg="$Path.authorizationRuleName" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="hybridConnectionName" arg="$Path.hybridConnectionName" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="namespaceName" arg="$Path.namespaceName" required="True">
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format 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=""2017-04-01""/>
|
||||
</const>
|
||||
</query>
|
||||
</request>
|
||||
<response statusCode="200"/>
|
||||
<response statusCode="204"/>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@ODataV4Format"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
</command>
|
||||
<command name="create" version="2017-04-01" confirmation="">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/hybridconnections/{}/authorizationrules/{}" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vaHlicmlkQ29ubmVjdGlvbnMve2h5YnJpZENvbm5lY3Rpb25OYW1lfS9hdXRob3JpemF0aW9uUnVsZXMve2F1dGhvcml6YXRpb25SdWxlTmFtZX0=/V/MjAxNy0wNC0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.authorizationRuleName" options="name n" required="True" group="" idPart="child_name_2">
|
||||
<help short="Name of Hybrid Connection Authorization Rule."/>
|
||||
<format minLength="1"/>
|
||||
</arg>
|
||||
<arg type="string" var="$Path.hybridConnectionName" options="hybrid-connection-name" required="True" group="" idPart="child_name_1">
|
||||
<help short="Name of Hybrid Connection."/>
|
||||
<format minLength="1"/>
|
||||
</arg>
|
||||
<arg type="string" var="$Path.namespaceName" options="namespace-name" required="True" group="" idPart="name">
|
||||
<help short="Name of Namespace."/>
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</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"/>
|
||||
<arg type="array<string>" var="$parameters.properties.rights" options="rights" required="True" group="">
|
||||
<help short="Space-separated list of Authorization rule rights. Allowed values: Listen, Manage, Send."/>
|
||||
<format unique="True"/>
|
||||
<item type="string">
|
||||
<enum>
|
||||
<item name="Listen" value=""Listen""/>
|
||||
<item name="Manage" value=""Manage""/>
|
||||
<item name="Send" value=""Send""/>
|
||||
</enum>
|
||||
</item>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<operation operationId="HybridConnections_CreateOrUpdateAuthorizationRule">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/hybridConnections/{hybridConnectionName}/authorizationRules/{authorizationRuleName}">
|
||||
<request method="put">
|
||||
<path>
|
||||
<param type="string" name="authorizationRuleName" arg="$Path.authorizationRuleName" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="hybridConnectionName" arg="$Path.hybridConnectionName" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="namespaceName" arg="$Path.namespaceName" required="True">
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format 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=""2017-04-01""/>
|
||||
</const>
|
||||
</query>
|
||||
<body>
|
||||
<json>
|
||||
<schema type="object" name="parameters" required="True" clientFlatten="True">
|
||||
<prop type="object" name="properties" required="True" clientFlatten="True">
|
||||
<prop type="array<string>" name="rights" arg="$parameters.properties.rights" required="True">
|
||||
<format unique="True"/>
|
||||
<item type="string">
|
||||
<enum>
|
||||
<item value=""Listen""/>
|
||||
<item value=""Manage""/>
|
||||
<item value=""Send""/>
|
||||
</enum>
|
||||
</item>
|
||||
</prop>
|
||||
</prop>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="object">
|
||||
<prop readOnly="True" type="ResourceId" name="id"/>
|
||||
<prop readOnly="True" type="string" name="name"/>
|
||||
<prop type="object" name="properties" required="True" clientFlatten="True">
|
||||
<prop type="array<string>" name="rights" required="True">
|
||||
<format unique="True"/>
|
||||
<item type="string">
|
||||
<enum>
|
||||
<item value=""Listen""/>
|
||||
<item value=""Manage""/>
|
||||
<item value=""Send""/>
|
||||
</enum>
|
||||
</item>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="type"/>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@ODataV4Format"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<output type="object" ref="$Instance" clientFlatten="True"/>
|
||||
</command>
|
||||
<command name="update" version="2017-04-01" confirmation="">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/hybridconnections/{}/authorizationrules/{}" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vaHlicmlkQ29ubmVjdGlvbnMve2h5YnJpZENvbm5lY3Rpb25OYW1lfS9hdXRob3JpemF0aW9uUnVsZXMve2F1dGhvcml6YXRpb25SdWxlTmFtZX0=/V/MjAxNy0wNC0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.authorizationRuleName" options="name n" required="True" group="" idPart="child_name_2">
|
||||
<help short="Name of Hybrid Connection Authorization Rule."/>
|
||||
<format minLength="1"/>
|
||||
</arg>
|
||||
<arg type="string" var="$Path.hybridConnectionName" options="hybrid-connection-name" required="True" group="" idPart="child_name_1">
|
||||
<help short="Name of Hybrid Connection."/>
|
||||
<format minLength="1"/>
|
||||
</arg>
|
||||
<arg type="string" var="$Path.namespaceName" options="namespace-name" required="True" group="" idPart="name">
|
||||
<help short="Name of Namespace."/>
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</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"/>
|
||||
<arg type="array<string>" var="$parameters.properties.rights" options="rights" group="">
|
||||
<help short="Space-separated list of Authorization rule rights. Allowed values: Listen, Manage, Send."/>
|
||||
<format unique="True"/>
|
||||
<item nullable="True" type="string">
|
||||
<enum>
|
||||
<item name="Listen" value=""Listen""/>
|
||||
<item name="Manage" value=""Manage""/>
|
||||
<item name="Send" value=""Send""/>
|
||||
</enum>
|
||||
</item>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<operation operationId="HybridConnections_GetAuthorizationRule">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/hybridConnections/{hybridConnectionName}/authorizationRules/{authorizationRuleName}">
|
||||
<request method="get">
|
||||
<path>
|
||||
<param type="string" name="authorizationRuleName" arg="$Path.authorizationRuleName" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="hybridConnectionName" arg="$Path.hybridConnectionName" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="namespaceName" arg="$Path.namespaceName" required="True">
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format 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=""2017-04-01""/>
|
||||
</const>
|
||||
</query>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="object" cls="AuthorizationRule_read">
|
||||
<prop readOnly="True" type="ResourceId" name="id"/>
|
||||
<prop readOnly="True" type="string" name="name"/>
|
||||
<prop type="object" name="properties" required="True" clientFlatten="True">
|
||||
<prop type="array<string>" name="rights" required="True">
|
||||
<format unique="True"/>
|
||||
<item type="string">
|
||||
<enum>
|
||||
<item value=""Listen""/>
|
||||
<item value=""Manage""/>
|
||||
<item value=""Send""/>
|
||||
</enum>
|
||||
</item>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="type"/>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@ODataV4Format"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<operation>
|
||||
<instanceUpdate ref="$Instance">
|
||||
<json>
|
||||
<schema type="object" name="parameters" required="True" clientFlatten="True">
|
||||
<prop type="object" name="properties" required="True" clientFlatten="True">
|
||||
<prop type="array<string>" name="rights" arg="$parameters.properties.rights" required="True">
|
||||
<format unique="True"/>
|
||||
<item type="string">
|
||||
<enum>
|
||||
<item value=""Listen""/>
|
||||
<item value=""Manage""/>
|
||||
<item value=""Send""/>
|
||||
</enum>
|
||||
</item>
|
||||
</prop>
|
||||
</prop>
|
||||
</schema>
|
||||
</json>
|
||||
</instanceUpdate>
|
||||
</operation>
|
||||
<operation operationId="HybridConnections_CreateOrUpdateAuthorizationRule">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/hybridConnections/{hybridConnectionName}/authorizationRules/{authorizationRuleName}">
|
||||
<request method="put">
|
||||
<path>
|
||||
<param type="string" name="authorizationRuleName" arg="$Path.authorizationRuleName" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="hybridConnectionName" arg="$Path.hybridConnectionName" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="namespaceName" arg="$Path.namespaceName" required="True">
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format 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=""2017-04-01""/>
|
||||
</const>
|
||||
</query>
|
||||
<body>
|
||||
<json ref="$Instance"/>
|
||||
</body>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="@AuthorizationRule_read"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@ODataV4Format"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<output type="object" ref="$Instance" clientFlatten="True"/>
|
||||
</command>
|
||||
</commandGroup>
|
||||
</CodeGen>
|
|
@ -0,0 +1 @@
|
|||
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/hybridconnections/{}/authorizationrules/{}/listkeys", "version": "2017-04-01", "swagger": "mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vaHlicmlkQ29ubmVjdGlvbnMve2h5YnJpZENvbm5lY3Rpb25OYW1lfS9hdXRob3JpemF0aW9uUnVsZXMve2F1dGhvcml6YXRpb25SdWxlTmFtZX0vbGlzdEtleXM=/V/MjAxNy0wNC0wMQ=="}], "commandGroups": [{"name": "relay hyco authorization-rule keys", "commands": [{"name": "list", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/hybridconnections/{}/authorizationrules/{}/listkeys", "version": "2017-04-01", "swagger": "mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vaHlicmlkQ29ubmVjdGlvbnMve2h5YnJpZENvbm5lY3Rpb25OYW1lfS9hdXRob3JpemF0aW9uUnVsZXMve2F1dGhvcml6YXRpb25SdWxlTmFtZX0vbGlzdEtleXM=/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.authorizationRuleName", "options": ["n", "name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "Name of Hybrid Connection Authorization Rule."}, "format": {"minLength": 1}}, {"type": "string", "var": "$Path.hybridConnectionName", "options": ["hybrid-connection-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "Name of Hybrid Connection."}, "format": {"minLength": 1}}, {"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of Namespace."}, "format": {"maxLength": 50, "minLength": 6}}, {"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": "HybridConnections_ListKeys", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/hybridConnections/{hybridConnectionName}/authorizationRules/{authorizationRuleName}/listKeys", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "authorizationRuleName", "arg": "$Path.authorizationRuleName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "hybridConnectionName", "arg": "$Path.hybridConnectionName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true, "format": {"maxLength": 50, "minLength": 6}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "keyName"}, {"type": "string", "name": "primaryConnectionString"}, {"type": "string", "name": "primaryKey"}, {"type": "string", "name": "secondaryConnectionString"}, {"type": "string", "name": "secondaryKey"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]}
|
|
@ -0,0 +1,72 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<CodeGen plane="mgmt-plane">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/hybridconnections/{}/authorizationrules/{}/listkeys" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vaHlicmlkQ29ubmVjdGlvbnMve2h5YnJpZENvbm5lY3Rpb25OYW1lfS9hdXRob3JpemF0aW9uUnVsZXMve2F1dGhvcml6YXRpb25SdWxlTmFtZX0vbGlzdEtleXM=/V/MjAxNy0wNC0wMQ=="/>
|
||||
<commandGroup name="relay hyco authorization-rule keys">
|
||||
<command name="list" version="2017-04-01" confirmation="">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/hybridconnections/{}/authorizationrules/{}/listkeys" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vaHlicmlkQ29ubmVjdGlvbnMve2h5YnJpZENvbm5lY3Rpb25OYW1lfS9hdXRob3JpemF0aW9uUnVsZXMve2F1dGhvcml6YXRpb25SdWxlTmFtZX0vbGlzdEtleXM=/V/MjAxNy0wNC0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.authorizationRuleName" options="name n" required="True" group="" idPart="child_name_2">
|
||||
<help short="Name of Hybrid Connection Authorization Rule."/>
|
||||
<format minLength="1"/>
|
||||
</arg>
|
||||
<arg type="string" var="$Path.hybridConnectionName" options="hybrid-connection-name" required="True" group="" idPart="child_name_1">
|
||||
<help short="Name of Hybrid Connection."/>
|
||||
<format minLength="1"/>
|
||||
</arg>
|
||||
<arg type="string" var="$Path.namespaceName" options="namespace-name" required="True" group="" idPart="name">
|
||||
<help short="Name of Namespace."/>
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</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="HybridConnections_ListKeys">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/hybridConnections/{hybridConnectionName}/authorizationRules/{authorizationRuleName}/listKeys">
|
||||
<request method="post">
|
||||
<path>
|
||||
<param type="string" name="authorizationRuleName" arg="$Path.authorizationRuleName" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="hybridConnectionName" arg="$Path.hybridConnectionName" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="namespaceName" arg="$Path.namespaceName" required="True">
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format 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=""2017-04-01""/>
|
||||
</const>
|
||||
</query>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="object">
|
||||
<prop type="string" name="keyName"/>
|
||||
<prop type="string" name="primaryConnectionString"/>
|
||||
<prop type="string" name="primaryKey"/>
|
||||
<prop type="string" name="secondaryConnectionString"/>
|
||||
<prop type="string" name="secondaryKey"/>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@ODataV4Format"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<output type="object" ref="$Instance" clientFlatten="True"/>
|
||||
</command>
|
||||
</commandGroup>
|
||||
</CodeGen>
|
|
@ -0,0 +1 @@
|
|||
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/hybridconnections/{}/authorizationrules/{}/regeneratekeys", "version": "2017-04-01", "swagger": "mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vaHlicmlkQ29ubmVjdGlvbnMve2h5YnJpZENvbm5lY3Rpb25OYW1lfS9hdXRob3JpemF0aW9uUnVsZXMve2F1dGhvcml6YXRpb25SdWxlTmFtZX0vcmVnZW5lcmF0ZUtleXM=/V/MjAxNy0wNC0wMQ=="}], "commandGroups": [{"name": "relay hyco authorization-rule keys", "commands": [{"name": "renew", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/hybridconnections/{}/authorizationrules/{}/regeneratekeys", "version": "2017-04-01", "swagger": "mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vaHlicmlkQ29ubmVjdGlvbnMve2h5YnJpZENvbm5lY3Rpb25OYW1lfS9hdXRob3JpemF0aW9uUnVsZXMve2F1dGhvcml6YXRpb25SdWxlTmFtZX0vcmVnZW5lcmF0ZUtleXM=/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.authorizationRuleName", "options": ["n", "name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "Name of Hybrid Connection Authorization Rule."}, "format": {"minLength": 1}}, {"type": "string", "var": "$Path.hybridConnectionName", "options": ["hybrid-connection-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "Name of Hybrid Connection."}, "format": {"minLength": 1}}, {"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of Namespace."}, "format": {"maxLength": 50, "minLength": 6}}, {"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"}, {"type": "string", "var": "$parameters.key", "options": ["key-value"], "group": "", "help": {"short": "Optional. If the key value is provided, this is set to key type, or autogenerated key value set for key type."}}, {"type": "string", "var": "$parameters.keyType", "options": ["key"], "required": true, "group": "", "help": {"short": "Specifies Primary or Secondary key needs to be reset."}, "enum": {"items": [{"name": "PrimaryKey", "value": "PrimaryKey"}, {"name": "SecondaryKey", "value": "SecondaryKey"}]}}]}], "operations": [{"operationId": "HybridConnections_RegenerateKeys", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/hybridConnections/{hybridConnectionName}/authorizationRules/{authorizationRuleName}/regenerateKeys", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "authorizationRuleName", "arg": "$Path.authorizationRuleName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "hybridConnectionName", "arg": "$Path.hybridConnectionName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true, "format": {"maxLength": 50, "minLength": 6}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "string", "name": "key", "arg": "$parameters.key"}, {"type": "string", "name": "keyType", "arg": "$parameters.keyType", "required": true, "enum": {"items": [{"value": "PrimaryKey"}, {"value": "SecondaryKey"}]}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "keyName"}, {"type": "string", "name": "primaryConnectionString"}, {"type": "string", "name": "primaryKey"}, {"type": "string", "name": "secondaryConnectionString"}, {"type": "string", "name": "secondaryKey"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]}
|
|
@ -0,0 +1,95 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<CodeGen plane="mgmt-plane">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/hybridconnections/{}/authorizationrules/{}/regeneratekeys" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vaHlicmlkQ29ubmVjdGlvbnMve2h5YnJpZENvbm5lY3Rpb25OYW1lfS9hdXRob3JpemF0aW9uUnVsZXMve2F1dGhvcml6YXRpb25SdWxlTmFtZX0vcmVnZW5lcmF0ZUtleXM=/V/MjAxNy0wNC0wMQ=="/>
|
||||
<commandGroup name="relay hyco authorization-rule keys">
|
||||
<command name="renew" version="2017-04-01" confirmation="">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/hybridconnections/{}/authorizationrules/{}/regeneratekeys" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vaHlicmlkQ29ubmVjdGlvbnMve2h5YnJpZENvbm5lY3Rpb25OYW1lfS9hdXRob3JpemF0aW9uUnVsZXMve2F1dGhvcml6YXRpb25SdWxlTmFtZX0vcmVnZW5lcmF0ZUtleXM=/V/MjAxNy0wNC0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.authorizationRuleName" options="name n" required="True" group="" idPart="child_name_2">
|
||||
<help short="Name of Hybrid Connection Authorization Rule."/>
|
||||
<format minLength="1"/>
|
||||
</arg>
|
||||
<arg type="string" var="$Path.hybridConnectionName" options="hybrid-connection-name" required="True" group="" idPart="child_name_1">
|
||||
<help short="Name of Hybrid Connection."/>
|
||||
<format minLength="1"/>
|
||||
</arg>
|
||||
<arg type="string" var="$Path.namespaceName" options="namespace-name" required="True" group="" idPart="name">
|
||||
<help short="Name of Namespace."/>
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</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"/>
|
||||
<arg type="string" var="$parameters.key" options="key-value" group="">
|
||||
<help short="Optional. If the key value is provided, this is set to key type, or autogenerated key value set for key type."/>
|
||||
</arg>
|
||||
<arg type="string" var="$parameters.keyType" options="key" required="True" group="">
|
||||
<help short="Specifies Primary or Secondary key needs to be reset."/>
|
||||
<enum>
|
||||
<item name="PrimaryKey" value=""PrimaryKey""/>
|
||||
<item name="SecondaryKey" value=""SecondaryKey""/>
|
||||
</enum>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<operation operationId="HybridConnections_RegenerateKeys">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/hybridConnections/{hybridConnectionName}/authorizationRules/{authorizationRuleName}/regenerateKeys">
|
||||
<request method="post">
|
||||
<path>
|
||||
<param type="string" name="authorizationRuleName" arg="$Path.authorizationRuleName" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="hybridConnectionName" arg="$Path.hybridConnectionName" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="namespaceName" arg="$Path.namespaceName" required="True">
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format 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=""2017-04-01""/>
|
||||
</const>
|
||||
</query>
|
||||
<body>
|
||||
<json>
|
||||
<schema type="object" name="parameters" required="True" clientFlatten="True">
|
||||
<prop type="string" name="key" arg="$parameters.key"/>
|
||||
<prop type="string" name="keyType" arg="$parameters.keyType" required="True">
|
||||
<enum>
|
||||
<item value=""PrimaryKey""/>
|
||||
<item value=""SecondaryKey""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="object">
|
||||
<prop type="string" name="keyName"/>
|
||||
<prop type="string" name="primaryConnectionString"/>
|
||||
<prop type="string" name="primaryKey"/>
|
||||
<prop type="string" name="secondaryConnectionString"/>
|
||||
<prop type="string" name="secondaryKey"/>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@ODataV4Format"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<output type="object" ref="$Instance" clientFlatten="True"/>
|
||||
</command>
|
||||
</commandGroup>
|
||||
</CodeGen>
|
|
@ -0,0 +1 @@
|
|||
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/wcfrelays", "version": "2017-04-01", "swagger": "mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vd2NmUmVsYXlz/V/MjAxNy0wNC0wMQ=="}], "commandGroups": [{"name": "relay wcfrelay", "commands": [{"name": "list", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/wcfrelays", "version": "2017-04-01", "swagger": "mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vd2NmUmVsYXlz/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of Namespace."}, "format": {"maxLength": 50, "minLength": 6}}, {"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": "WCFRelays_ListByNamespace", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true, "format": {"maxLength": 50, "minLength": 6}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "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.Relay/namespaces/{}/wcfRelays/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"readOnly": true, "type": "dateTime", "name": "createdAt"}, {"readOnly": true, "type": "boolean", "name": "isDynamic"}, {"readOnly": true, "type": "integer32", "name": "listenerCount", "format": {"maximum": 25, "minimum": 0}}, {"type": "string", "name": "relayType", "enum": {"items": [{"value": "Http"}, {"value": "NetTcp"}]}}, {"type": "boolean", "name": "requiresClientAuthorization"}, {"type": "boolean", "name": "requiresTransportSecurity"}, {"readOnly": true, "type": "dateTime", "name": "updatedAt"}, {"type": "string", "name": "userMetadata"}], "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": ""}]}]}
|
|
@ -0,0 +1,80 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<CodeGen plane="mgmt-plane">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/wcfrelays" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vd2NmUmVsYXlz/V/MjAxNy0wNC0wMQ=="/>
|
||||
<commandGroup name="relay wcfrelay">
|
||||
<command name="list" version="2017-04-01" confirmation="">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/wcfrelays" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vd2NmUmVsYXlz/V/MjAxNy0wNC0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.namespaceName" options="namespace-name" required="True" group="" idPart="name">
|
||||
<help short="Name of Namespace."/>
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</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="WCFRelays_ListByNamespace">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays">
|
||||
<request method="get">
|
||||
<path>
|
||||
<param type="string" name="namespaceName" arg="$Path.namespaceName" required="True">
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format 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=""2017-04-01""/>
|
||||
</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.Relay/namespaces/{}/wcfRelays/{}"/>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="name"/>
|
||||
<prop type="object" name="properties" clientFlatten="True">
|
||||
<prop readOnly="True" type="dateTime" name="createdAt"/>
|
||||
<prop readOnly="True" type="boolean" name="isDynamic"/>
|
||||
<prop readOnly="True" type="integer32" name="listenerCount">
|
||||
<format maximum="25" minimum="0"/>
|
||||
</prop>
|
||||
<prop type="string" name="relayType">
|
||||
<enum>
|
||||
<item value=""Http""/>
|
||||
<item value=""NetTcp""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="boolean" name="requiresClientAuthorization"/>
|
||||
<prop type="boolean" name="requiresTransportSecurity"/>
|
||||
<prop readOnly="True" type="dateTime" name="updatedAt"/>
|
||||
<prop type="string" name="userMetadata"/>
|
||||
</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>
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
|
@ -0,0 +1,392 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<CodeGen plane="mgmt-plane">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/wcfrelays/{}" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vd2NmUmVsYXlzL3tyZWxheU5hbWV9/V/MjAxNy0wNC0wMQ=="/>
|
||||
<commandGroup name="relay wcfrelay">
|
||||
<command name="show" version="2017-04-01" confirmation="">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/wcfrelays/{}" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vd2NmUmVsYXlzL3tyZWxheU5hbWV9/V/MjAxNy0wNC0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.namespaceName" options="namespace-name" required="True" group="" idPart="name">
|
||||
<help short="Name of Namespace."/>
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</arg>
|
||||
<arg type="string" var="$Path.relayName" options="name n" required="True" group="" idPart="child_name_1">
|
||||
<help short="Name of WCF Relay."/>
|
||||
<format minLength="1"/>
|
||||
</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="WCFRelays_Get">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}">
|
||||
<request method="get">
|
||||
<path>
|
||||
<param type="string" name="namespaceName" arg="$Path.namespaceName" required="True">
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</param>
|
||||
<param type="string" name="relayName" arg="$Path.relayName" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format 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=""2017-04-01""/>
|
||||
</const>
|
||||
</query>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="object">
|
||||
<prop readOnly="True" type="ResourceId" name="id">
|
||||
<format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Relay/namespaces/{}/wcfRelays/{}"/>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="name"/>
|
||||
<prop type="object" name="properties" clientFlatten="True">
|
||||
<prop readOnly="True" type="dateTime" name="createdAt"/>
|
||||
<prop readOnly="True" type="boolean" name="isDynamic"/>
|
||||
<prop readOnly="True" type="integer32" name="listenerCount">
|
||||
<format maximum="25" minimum="0"/>
|
||||
</prop>
|
||||
<prop type="string" name="relayType">
|
||||
<enum>
|
||||
<item value=""Http""/>
|
||||
<item value=""NetTcp""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="boolean" name="requiresClientAuthorization"/>
|
||||
<prop type="boolean" name="requiresTransportSecurity"/>
|
||||
<prop readOnly="True" type="dateTime" name="updatedAt"/>
|
||||
<prop type="string" name="userMetadata"/>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="type"/>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response statusCode="204"/>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@ODataV4Format"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<output type="object" ref="$Instance" clientFlatten="True"/>
|
||||
</command>
|
||||
<command name="delete" version="2017-04-01" confirmation="">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/wcfrelays/{}" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vd2NmUmVsYXlzL3tyZWxheU5hbWV9/V/MjAxNy0wNC0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.namespaceName" options="namespace-name" required="True" group="" idPart="name">
|
||||
<help short="Name of Namespace."/>
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</arg>
|
||||
<arg type="string" var="$Path.relayName" options="name n" required="True" group="" idPart="child_name_1">
|
||||
<help short="Name of WCF Relay."/>
|
||||
<format minLength="1"/>
|
||||
</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="WCFRelays_Delete">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}">
|
||||
<request method="delete">
|
||||
<path>
|
||||
<param type="string" name="namespaceName" arg="$Path.namespaceName" required="True">
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</param>
|
||||
<param type="string" name="relayName" arg="$Path.relayName" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format 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=""2017-04-01""/>
|
||||
</const>
|
||||
</query>
|
||||
</request>
|
||||
<response statusCode="200"/>
|
||||
<response statusCode="204"/>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@ODataV4Format"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
</command>
|
||||
<command name="create" version="2017-04-01" confirmation="">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/wcfrelays/{}" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vd2NmUmVsYXlzL3tyZWxheU5hbWV9/V/MjAxNy0wNC0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.namespaceName" options="namespace-name" required="True" group="" idPart="name">
|
||||
<help short="Name of Namespace."/>
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</arg>
|
||||
<arg type="string" var="$Path.relayName" options="name n" required="True" group="" idPart="child_name_1">
|
||||
<help short="Name of WCF Relay."/>
|
||||
<format minLength="1"/>
|
||||
</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"/>
|
||||
<arg type="string" var="$parameters.properties.relayType" options="relay-type" group="">
|
||||
<help short="Relay type. Allowed values: Http, NetTcp."/>
|
||||
<default value=""NetTcp""/>
|
||||
<enum>
|
||||
<item name="Http" value=""Http""/>
|
||||
<item name="NetTcp" value=""NetTcp""/>
|
||||
</enum>
|
||||
</arg>
|
||||
<arg type="boolean" var="$parameters.properties.requiresClientAuthorization" options="requires-client-authorization c" group="">
|
||||
<help short="Indicates whether client authorization is required."/>
|
||||
</arg>
|
||||
<arg type="boolean" var="$parameters.properties.requiresTransportSecurity" options="requires-transport-security t" group="">
|
||||
<help short="Indicates whether transport security is required."/>
|
||||
</arg>
|
||||
<arg type="string" var="$parameters.properties.userMetadata" options="user-metadata" group="">
|
||||
<help short="Endpoint metadata."/>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<operation operationId="WCFRelays_CreateOrUpdate">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}">
|
||||
<request method="put">
|
||||
<path>
|
||||
<param type="string" name="namespaceName" arg="$Path.namespaceName" required="True">
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</param>
|
||||
<param type="string" name="relayName" arg="$Path.relayName" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format 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=""2017-04-01""/>
|
||||
</const>
|
||||
</query>
|
||||
<body>
|
||||
<json>
|
||||
<schema type="object" name="parameters" required="True" clientFlatten="True">
|
||||
<prop type="object" name="properties" clientFlatten="True">
|
||||
<prop type="string" name="relayType" arg="$parameters.properties.relayType">
|
||||
<enum>
|
||||
<item value=""Http""/>
|
||||
<item value=""NetTcp""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="boolean" name="requiresClientAuthorization" arg="$parameters.properties.requiresClientAuthorization"/>
|
||||
<prop type="boolean" name="requiresTransportSecurity" arg="$parameters.properties.requiresTransportSecurity"/>
|
||||
<prop type="string" name="userMetadata" arg="$parameters.properties.userMetadata"/>
|
||||
</prop>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="object">
|
||||
<prop readOnly="True" type="ResourceId" name="id">
|
||||
<format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Relay/namespaces/{}/wcfRelays/{}"/>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="name"/>
|
||||
<prop type="object" name="properties" clientFlatten="True">
|
||||
<prop readOnly="True" type="dateTime" name="createdAt"/>
|
||||
<prop readOnly="True" type="boolean" name="isDynamic"/>
|
||||
<prop readOnly="True" type="integer32" name="listenerCount">
|
||||
<format maximum="25" minimum="0"/>
|
||||
</prop>
|
||||
<prop type="string" name="relayType">
|
||||
<enum>
|
||||
<item value=""Http""/>
|
||||
<item value=""NetTcp""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="boolean" name="requiresClientAuthorization"/>
|
||||
<prop type="boolean" name="requiresTransportSecurity"/>
|
||||
<prop readOnly="True" type="dateTime" name="updatedAt"/>
|
||||
<prop type="string" name="userMetadata"/>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="type"/>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@ODataV4Format"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<output type="object" ref="$Instance" clientFlatten="True"/>
|
||||
</command>
|
||||
<command name="update" version="2017-04-01" confirmation="">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/wcfrelays/{}" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vd2NmUmVsYXlzL3tyZWxheU5hbWV9/V/MjAxNy0wNC0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.namespaceName" options="namespace-name" required="True" group="" idPart="name">
|
||||
<help short="Name of Namespace."/>
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</arg>
|
||||
<arg type="string" var="$Path.relayName" options="name n" required="True" group="" idPart="child_name_1">
|
||||
<help short="Name of WCF Relay."/>
|
||||
<format minLength="1"/>
|
||||
</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"/>
|
||||
<arg nullable="True" type="string" var="$parameters.properties.relayType" options="relay-type" group="">
|
||||
<help short="Relay type."/>
|
||||
<enum>
|
||||
<item name="Http" value=""Http""/>
|
||||
<item name="NetTcp" value=""NetTcp""/>
|
||||
</enum>
|
||||
</arg>
|
||||
<arg nullable="True" type="boolean" var="$parameters.properties.requiresClientAuthorization" options="requires-client-authorization" hide="True" group="">
|
||||
<help short="Indicates whether client authorization is required."/>
|
||||
</arg>
|
||||
<arg nullable="True" type="boolean" var="$parameters.properties.requiresTransportSecurity" options="requires-transport-security" hide="True" group="">
|
||||
<help short="Returns true if transport security is needed for this relay; otherwise, false."/>
|
||||
</arg>
|
||||
<arg nullable="True" type="string" var="$parameters.properties.userMetadata" options="user-metadata" group="">
|
||||
<help short="Endpoint metadata."/>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<operation operationId="WCFRelays_Get">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}">
|
||||
<request method="get">
|
||||
<path>
|
||||
<param type="string" name="namespaceName" arg="$Path.namespaceName" required="True">
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</param>
|
||||
<param type="string" name="relayName" arg="$Path.relayName" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format 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=""2017-04-01""/>
|
||||
</const>
|
||||
</query>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="object" cls="WcfRelay_read">
|
||||
<prop readOnly="True" type="ResourceId" name="id">
|
||||
<format template="/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Relay/namespaces/{}/wcfRelays/{}"/>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="name"/>
|
||||
<prop type="object" name="properties" clientFlatten="True">
|
||||
<prop readOnly="True" type="dateTime" name="createdAt"/>
|
||||
<prop readOnly="True" type="boolean" name="isDynamic"/>
|
||||
<prop readOnly="True" type="integer32" name="listenerCount">
|
||||
<format maximum="25" minimum="0"/>
|
||||
</prop>
|
||||
<prop type="string" name="relayType">
|
||||
<enum>
|
||||
<item value=""Http""/>
|
||||
<item value=""NetTcp""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="boolean" name="requiresClientAuthorization"/>
|
||||
<prop type="boolean" name="requiresTransportSecurity"/>
|
||||
<prop readOnly="True" type="dateTime" name="updatedAt"/>
|
||||
<prop type="string" name="userMetadata"/>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="type"/>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response statusCode="204"/>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@ODataV4Format"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<operation>
|
||||
<instanceUpdate ref="$Instance">
|
||||
<json>
|
||||
<schema type="object" name="parameters" required="True" clientFlatten="True">
|
||||
<prop type="object" name="properties" clientFlatten="True">
|
||||
<prop type="string" name="relayType" arg="$parameters.properties.relayType">
|
||||
<enum>
|
||||
<item value=""Http""/>
|
||||
<item value=""NetTcp""/>
|
||||
</enum>
|
||||
</prop>
|
||||
<prop type="boolean" name="requiresClientAuthorization" arg="$parameters.properties.requiresClientAuthorization"/>
|
||||
<prop type="boolean" name="requiresTransportSecurity" arg="$parameters.properties.requiresTransportSecurity"/>
|
||||
<prop type="string" name="userMetadata" arg="$parameters.properties.userMetadata"/>
|
||||
</prop>
|
||||
</schema>
|
||||
</json>
|
||||
</instanceUpdate>
|
||||
</operation>
|
||||
<operation operationId="WCFRelays_CreateOrUpdate">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}">
|
||||
<request method="put">
|
||||
<path>
|
||||
<param type="string" name="namespaceName" arg="$Path.namespaceName" required="True">
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</param>
|
||||
<param type="string" name="relayName" arg="$Path.relayName" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format 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=""2017-04-01""/>
|
||||
</const>
|
||||
</query>
|
||||
<body>
|
||||
<json ref="$Instance"/>
|
||||
</body>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="@WcfRelay_read"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@ODataV4Format"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<output type="object" ref="$Instance" clientFlatten="True"/>
|
||||
</command>
|
||||
</commandGroup>
|
||||
</CodeGen>
|
|
@ -0,0 +1 @@
|
|||
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/wcfrelays/{}/authorizationrules", "version": "2017-04-01", "swagger": "mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vd2NmUmVsYXlzL3tyZWxheU5hbWV9L2F1dGhvcml6YXRpb25SdWxlcw==/V/MjAxNy0wNC0wMQ=="}], "commandGroups": [{"name": "relay wcfrelay authorization-rule", "commands": [{"name": "list", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/wcfrelays/{}/authorizationrules", "version": "2017-04-01", "swagger": "mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vd2NmUmVsYXlzL3tyZWxheU5hbWV9L2F1dGhvcml6YXRpb25SdWxlcw==/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of Namespace."}, "format": {"maxLength": 50, "minLength": 6}}, {"type": "string", "var": "$Path.relayName", "options": ["relay-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "Name of WCF Relay."}, "format": {"minLength": 1}}, {"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": "WCFRelays_ListAuthorizationRules", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}/authorizationRules", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true, "format": {"maxLength": 50, "minLength": 6}}, {"type": "string", "name": "relayName", "arg": "$Path.relayName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "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"}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "required": true, "props": [{"type": "array<string>", "name": "rights", "required": true, "format": {"unique": true}, "item": {"type": "string", "enum": {"items": [{"value": "Listen"}, {"value": "Manage"}, {"value": "Send"}]}}}], "clientFlatten": true}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]}
|
|
@ -0,0 +1,80 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<CodeGen plane="mgmt-plane">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/wcfrelays/{}/authorizationrules" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vd2NmUmVsYXlzL3tyZWxheU5hbWV9L2F1dGhvcml6YXRpb25SdWxlcw==/V/MjAxNy0wNC0wMQ=="/>
|
||||
<commandGroup name="relay wcfrelay authorization-rule">
|
||||
<command name="list" version="2017-04-01" confirmation="">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/wcfrelays/{}/authorizationrules" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vd2NmUmVsYXlzL3tyZWxheU5hbWV9L2F1dGhvcml6YXRpb25SdWxlcw==/V/MjAxNy0wNC0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.namespaceName" options="namespace-name" required="True" group="" idPart="name">
|
||||
<help short="Name of Namespace."/>
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</arg>
|
||||
<arg type="string" var="$Path.relayName" options="relay-name" required="True" group="" idPart="child_name_1">
|
||||
<help short="Name of WCF Relay."/>
|
||||
<format minLength="1"/>
|
||||
</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="WCFRelays_ListAuthorizationRules">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}/authorizationRules">
|
||||
<request method="get">
|
||||
<path>
|
||||
<param type="string" name="namespaceName" arg="$Path.namespaceName" required="True">
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</param>
|
||||
<param type="string" name="relayName" arg="$Path.relayName" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format 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=""2017-04-01""/>
|
||||
</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"/>
|
||||
<prop readOnly="True" type="string" name="name"/>
|
||||
<prop type="object" name="properties" required="True" clientFlatten="True">
|
||||
<prop type="array<string>" name="rights" required="True">
|
||||
<format unique="True"/>
|
||||
<item type="string">
|
||||
<enum>
|
||||
<item value=""Listen""/>
|
||||
<item value=""Manage""/>
|
||||
<item value=""Send""/>
|
||||
</enum>
|
||||
</item>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="type"/>
|
||||
</item>
|
||||
</prop>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@MgmtErrorFormat"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<output type="array" ref="$Instance.value" clientFlatten="True" nextLink="$Instance.nextLink"/>
|
||||
</command>
|
||||
</commandGroup>
|
||||
</CodeGen>
|
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
|
@ -0,0 +1,391 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<CodeGen plane="mgmt-plane">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/wcfrelays/{}/authorizationrules/{}" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vd2NmUmVsYXlzL3tyZWxheU5hbWV9L2F1dGhvcml6YXRpb25SdWxlcy97YXV0aG9yaXphdGlvblJ1bGVOYW1lfQ==/V/MjAxNy0wNC0wMQ=="/>
|
||||
<commandGroup name="relay wcfrelay authorization-rule">
|
||||
<command name="show" version="2017-04-01" confirmation="">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/wcfrelays/{}/authorizationrules/{}" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vd2NmUmVsYXlzL3tyZWxheU5hbWV9L2F1dGhvcml6YXRpb25SdWxlcy97YXV0aG9yaXphdGlvblJ1bGVOYW1lfQ==/V/MjAxNy0wNC0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.authorizationRuleName" options="name n" required="True" group="" idPart="child_name_2">
|
||||
<help short="Name of WCF Relay Authorization Rule."/>
|
||||
<format minLength="1"/>
|
||||
</arg>
|
||||
<arg type="string" var="$Path.namespaceName" options="namespace-name" required="True" group="" idPart="name">
|
||||
<help short="Name of Namespace."/>
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</arg>
|
||||
<arg type="string" var="$Path.relayName" options="relay-name" required="True" group="" idPart="child_name_1">
|
||||
<help short="Name of WCF Relay."/>
|
||||
<format minLength="1"/>
|
||||
</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="WCFRelays_GetAuthorizationRule">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}/authorizationRules/{authorizationRuleName}">
|
||||
<request method="get">
|
||||
<path>
|
||||
<param type="string" name="authorizationRuleName" arg="$Path.authorizationRuleName" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="namespaceName" arg="$Path.namespaceName" required="True">
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</param>
|
||||
<param type="string" name="relayName" arg="$Path.relayName" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format 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=""2017-04-01""/>
|
||||
</const>
|
||||
</query>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="object">
|
||||
<prop readOnly="True" type="ResourceId" name="id"/>
|
||||
<prop readOnly="True" type="string" name="name"/>
|
||||
<prop type="object" name="properties" required="True" clientFlatten="True">
|
||||
<prop type="array<string>" name="rights" required="True">
|
||||
<format unique="True"/>
|
||||
<item type="string">
|
||||
<enum>
|
||||
<item value=""Listen""/>
|
||||
<item value=""Manage""/>
|
||||
<item value=""Send""/>
|
||||
</enum>
|
||||
</item>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="type"/>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@ODataV4Format"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<output type="object" ref="$Instance" clientFlatten="True"/>
|
||||
</command>
|
||||
<command name="delete" version="2017-04-01" confirmation="">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/wcfrelays/{}/authorizationrules/{}" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vd2NmUmVsYXlzL3tyZWxheU5hbWV9L2F1dGhvcml6YXRpb25SdWxlcy97YXV0aG9yaXphdGlvblJ1bGVOYW1lfQ==/V/MjAxNy0wNC0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.authorizationRuleName" options="name n" required="True" group="" idPart="child_name_2">
|
||||
<help short="Name of WCF Relay Authorization Rule."/>
|
||||
<format minLength="1"/>
|
||||
</arg>
|
||||
<arg type="string" var="$Path.namespaceName" options="namespace-name" required="True" group="" idPart="name">
|
||||
<help short="Name of Namespace."/>
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</arg>
|
||||
<arg type="string" var="$Path.relayName" options="relay-name" required="True" group="" idPart="child_name_1">
|
||||
<help short="Name of WCF Relay."/>
|
||||
<format minLength="1"/>
|
||||
</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="WCFRelays_DeleteAuthorizationRule">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}/authorizationRules/{authorizationRuleName}">
|
||||
<request method="delete">
|
||||
<path>
|
||||
<param type="string" name="authorizationRuleName" arg="$Path.authorizationRuleName" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="namespaceName" arg="$Path.namespaceName" required="True">
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</param>
|
||||
<param type="string" name="relayName" arg="$Path.relayName" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format 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=""2017-04-01""/>
|
||||
</const>
|
||||
</query>
|
||||
</request>
|
||||
<response statusCode="200"/>
|
||||
<response statusCode="204"/>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@ODataV4Format"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
</command>
|
||||
<command name="create" version="2017-04-01" confirmation="">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/wcfrelays/{}/authorizationrules/{}" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vd2NmUmVsYXlzL3tyZWxheU5hbWV9L2F1dGhvcml6YXRpb25SdWxlcy97YXV0aG9yaXphdGlvblJ1bGVOYW1lfQ==/V/MjAxNy0wNC0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.authorizationRuleName" options="name n" required="True" group="" idPart="child_name_2">
|
||||
<help short="Name of WCF Relay Authorization Rule."/>
|
||||
<format minLength="1"/>
|
||||
</arg>
|
||||
<arg type="string" var="$Path.namespaceName" options="namespace-name" required="True" group="" idPart="name">
|
||||
<help short="Name of Namespace."/>
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</arg>
|
||||
<arg type="string" var="$Path.relayName" options="relay-name" required="True" group="" idPart="child_name_1">
|
||||
<help short="Name of WCF Relay."/>
|
||||
<format minLength="1"/>
|
||||
</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"/>
|
||||
<arg type="array<string>" var="$parameters.properties.rights" options="rights" required="True" group="">
|
||||
<help short="The rights associated with the rule."/>
|
||||
<format unique="True"/>
|
||||
<item type="string">
|
||||
<enum>
|
||||
<item name="Listen" value=""Listen""/>
|
||||
<item name="Manage" value=""Manage""/>
|
||||
<item name="Send" value=""Send""/>
|
||||
</enum>
|
||||
</item>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<operation operationId="WCFRelays_CreateOrUpdateAuthorizationRule">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}/authorizationRules/{authorizationRuleName}">
|
||||
<request method="put">
|
||||
<path>
|
||||
<param type="string" name="authorizationRuleName" arg="$Path.authorizationRuleName" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="namespaceName" arg="$Path.namespaceName" required="True">
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</param>
|
||||
<param type="string" name="relayName" arg="$Path.relayName" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format 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=""2017-04-01""/>
|
||||
</const>
|
||||
</query>
|
||||
<body>
|
||||
<json>
|
||||
<schema type="object" name="parameters" required="True" clientFlatten="True">
|
||||
<prop type="object" name="properties" required="True" clientFlatten="True">
|
||||
<prop type="array<string>" name="rights" arg="$parameters.properties.rights" required="True">
|
||||
<format unique="True"/>
|
||||
<item type="string">
|
||||
<enum>
|
||||
<item value=""Listen""/>
|
||||
<item value=""Manage""/>
|
||||
<item value=""Send""/>
|
||||
</enum>
|
||||
</item>
|
||||
</prop>
|
||||
</prop>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="object">
|
||||
<prop readOnly="True" type="ResourceId" name="id"/>
|
||||
<prop readOnly="True" type="string" name="name"/>
|
||||
<prop type="object" name="properties" required="True" clientFlatten="True">
|
||||
<prop type="array<string>" name="rights" required="True">
|
||||
<format unique="True"/>
|
||||
<item type="string">
|
||||
<enum>
|
||||
<item value=""Listen""/>
|
||||
<item value=""Manage""/>
|
||||
<item value=""Send""/>
|
||||
</enum>
|
||||
</item>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="type"/>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@ODataV4Format"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<output type="object" ref="$Instance" clientFlatten="True"/>
|
||||
</command>
|
||||
<command name="update" version="2017-04-01" confirmation="">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/wcfrelays/{}/authorizationrules/{}" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vd2NmUmVsYXlzL3tyZWxheU5hbWV9L2F1dGhvcml6YXRpb25SdWxlcy97YXV0aG9yaXphdGlvblJ1bGVOYW1lfQ==/V/MjAxNy0wNC0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.authorizationRuleName" options="name n" required="True" group="" idPart="child_name_2">
|
||||
<help short="Name of WCF Relay Authorization Rule."/>
|
||||
<format minLength="1"/>
|
||||
</arg>
|
||||
<arg type="string" var="$Path.namespaceName" options="namespace-name" required="True" group="" idPart="name">
|
||||
<help short="Name of Namespace."/>
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</arg>
|
||||
<arg type="string" var="$Path.relayName" options="relay-name" required="True" group="" idPart="child_name_1">
|
||||
<help short="Name of WCF Relay."/>
|
||||
<format minLength="1"/>
|
||||
</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"/>
|
||||
<arg type="array<string>" var="$parameters.properties.rights" options="rights" group="">
|
||||
<help short="The rights associated with the rule."/>
|
||||
<format unique="True"/>
|
||||
<item nullable="True" type="string">
|
||||
<enum>
|
||||
<item name="Listen" value=""Listen""/>
|
||||
<item name="Manage" value=""Manage""/>
|
||||
<item name="Send" value=""Send""/>
|
||||
</enum>
|
||||
</item>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<operation operationId="WCFRelays_GetAuthorizationRule">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}/authorizationRules/{authorizationRuleName}">
|
||||
<request method="get">
|
||||
<path>
|
||||
<param type="string" name="authorizationRuleName" arg="$Path.authorizationRuleName" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="namespaceName" arg="$Path.namespaceName" required="True">
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</param>
|
||||
<param type="string" name="relayName" arg="$Path.relayName" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format 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=""2017-04-01""/>
|
||||
</const>
|
||||
</query>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="object" cls="AuthorizationRule_read">
|
||||
<prop readOnly="True" type="ResourceId" name="id"/>
|
||||
<prop readOnly="True" type="string" name="name"/>
|
||||
<prop type="object" name="properties" required="True" clientFlatten="True">
|
||||
<prop type="array<string>" name="rights" required="True">
|
||||
<format unique="True"/>
|
||||
<item type="string">
|
||||
<enum>
|
||||
<item value=""Listen""/>
|
||||
<item value=""Manage""/>
|
||||
<item value=""Send""/>
|
||||
</enum>
|
||||
</item>
|
||||
</prop>
|
||||
</prop>
|
||||
<prop readOnly="True" type="string" name="type"/>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@ODataV4Format"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<operation>
|
||||
<instanceUpdate ref="$Instance">
|
||||
<json>
|
||||
<schema type="object" name="parameters" required="True" clientFlatten="True">
|
||||
<prop type="object" name="properties" required="True" clientFlatten="True">
|
||||
<prop type="array<string>" name="rights" arg="$parameters.properties.rights" required="True">
|
||||
<format unique="True"/>
|
||||
<item type="string">
|
||||
<enum>
|
||||
<item value=""Listen""/>
|
||||
<item value=""Manage""/>
|
||||
<item value=""Send""/>
|
||||
</enum>
|
||||
</item>
|
||||
</prop>
|
||||
</prop>
|
||||
</schema>
|
||||
</json>
|
||||
</instanceUpdate>
|
||||
</operation>
|
||||
<operation operationId="WCFRelays_CreateOrUpdateAuthorizationRule">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}/authorizationRules/{authorizationRuleName}">
|
||||
<request method="put">
|
||||
<path>
|
||||
<param type="string" name="authorizationRuleName" arg="$Path.authorizationRuleName" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="namespaceName" arg="$Path.namespaceName" required="True">
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</param>
|
||||
<param type="string" name="relayName" arg="$Path.relayName" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format 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=""2017-04-01""/>
|
||||
</const>
|
||||
</query>
|
||||
<body>
|
||||
<json ref="$Instance"/>
|
||||
</body>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="@AuthorizationRule_read"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@ODataV4Format"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<output type="object" ref="$Instance" clientFlatten="True"/>
|
||||
</command>
|
||||
</commandGroup>
|
||||
</CodeGen>
|
|
@ -0,0 +1 @@
|
|||
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/wcfrelays/{}/authorizationrules/{}/listkeys", "version": "2017-04-01", "swagger": "mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vd2NmUmVsYXlzL3tyZWxheU5hbWV9L2F1dGhvcml6YXRpb25SdWxlcy97YXV0aG9yaXphdGlvblJ1bGVOYW1lfS9saXN0S2V5cw==/V/MjAxNy0wNC0wMQ=="}], "commandGroups": [{"name": "relay wcfrelay authorization-rule keys", "commands": [{"name": "list", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/wcfrelays/{}/authorizationrules/{}/listkeys", "version": "2017-04-01", "swagger": "mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vd2NmUmVsYXlzL3tyZWxheU5hbWV9L2F1dGhvcml6YXRpb25SdWxlcy97YXV0aG9yaXphdGlvblJ1bGVOYW1lfS9saXN0S2V5cw==/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.authorizationRuleName", "options": ["n", "name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "Name of WCF Relay Authorization Rule."}, "format": {"minLength": 1}}, {"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of Namespace."}, "format": {"maxLength": 50, "minLength": 6}}, {"type": "string", "var": "$Path.relayName", "options": ["relay-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "Name of WCF Relay."}, "format": {"minLength": 1}}, {"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": "WCFRelays_ListKeys", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}/authorizationRules/{authorizationRuleName}/listKeys", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "authorizationRuleName", "arg": "$Path.authorizationRuleName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true, "format": {"maxLength": 50, "minLength": 6}}, {"type": "string", "name": "relayName", "arg": "$Path.relayName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "keyName"}, {"type": "string", "name": "primaryConnectionString"}, {"type": "string", "name": "primaryKey"}, {"type": "string", "name": "secondaryConnectionString"}, {"type": "string", "name": "secondaryKey"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]}
|
|
@ -0,0 +1,72 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<CodeGen plane="mgmt-plane">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/wcfrelays/{}/authorizationrules/{}/listkeys" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vd2NmUmVsYXlzL3tyZWxheU5hbWV9L2F1dGhvcml6YXRpb25SdWxlcy97YXV0aG9yaXphdGlvblJ1bGVOYW1lfS9saXN0S2V5cw==/V/MjAxNy0wNC0wMQ=="/>
|
||||
<commandGroup name="relay wcfrelay authorization-rule keys">
|
||||
<command name="list" version="2017-04-01" confirmation="">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/wcfrelays/{}/authorizationrules/{}/listkeys" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vd2NmUmVsYXlzL3tyZWxheU5hbWV9L2F1dGhvcml6YXRpb25SdWxlcy97YXV0aG9yaXphdGlvblJ1bGVOYW1lfS9saXN0S2V5cw==/V/MjAxNy0wNC0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.authorizationRuleName" options="name n" required="True" group="" idPart="child_name_2">
|
||||
<help short="Name of WCF Relay Authorization Rule."/>
|
||||
<format minLength="1"/>
|
||||
</arg>
|
||||
<arg type="string" var="$Path.namespaceName" options="namespace-name" required="True" group="" idPart="name">
|
||||
<help short="Name of Namespace."/>
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</arg>
|
||||
<arg type="string" var="$Path.relayName" options="relay-name" required="True" group="" idPart="child_name_1">
|
||||
<help short="Name of WCF Relay."/>
|
||||
<format minLength="1"/>
|
||||
</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="WCFRelays_ListKeys">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}/authorizationRules/{authorizationRuleName}/listKeys">
|
||||
<request method="post">
|
||||
<path>
|
||||
<param type="string" name="authorizationRuleName" arg="$Path.authorizationRuleName" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="namespaceName" arg="$Path.namespaceName" required="True">
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</param>
|
||||
<param type="string" name="relayName" arg="$Path.relayName" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format 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=""2017-04-01""/>
|
||||
</const>
|
||||
</query>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="object">
|
||||
<prop type="string" name="keyName"/>
|
||||
<prop type="string" name="primaryConnectionString"/>
|
||||
<prop type="string" name="primaryKey"/>
|
||||
<prop type="string" name="secondaryConnectionString"/>
|
||||
<prop type="string" name="secondaryKey"/>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@ODataV4Format"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<output type="object" ref="$Instance" clientFlatten="True"/>
|
||||
</command>
|
||||
</commandGroup>
|
||||
</CodeGen>
|
|
@ -0,0 +1 @@
|
|||
{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/wcfrelays/{}/authorizationrules/{}/regeneratekeys", "version": "2017-04-01", "swagger": "mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vd2NmUmVsYXlzL3tyZWxheU5hbWV9L2F1dGhvcml6YXRpb25SdWxlcy97YXV0aG9yaXphdGlvblJ1bGVOYW1lfS9yZWdlbmVyYXRlS2V5cw==/V/MjAxNy0wNC0wMQ=="}], "commandGroups": [{"name": "relay wcfrelay authorization-rule keys", "commands": [{"name": "renew", "version": "2017-04-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/wcfrelays/{}/authorizationrules/{}/regeneratekeys", "version": "2017-04-01", "swagger": "mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vd2NmUmVsYXlzL3tyZWxheU5hbWV9L2F1dGhvcml6YXRpb25SdWxlcy97YXV0aG9yaXphdGlvblJ1bGVOYW1lfS9yZWdlbmVyYXRlS2V5cw==/V/MjAxNy0wNC0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.authorizationRuleName", "options": ["n", "name"], "required": true, "group": "", "idPart": "child_name_2", "help": {"short": "Name of WCF Relay Authorization Rule."}, "format": {"minLength": 1}}, {"type": "string", "var": "$Path.namespaceName", "options": ["namespace-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "Name of Namespace."}, "format": {"maxLength": 50, "minLength": 6}}, {"type": "string", "var": "$Path.relayName", "options": ["relay-name"], "required": true, "group": "", "idPart": "child_name_1", "help": {"short": "Name of WCF Relay."}, "format": {"minLength": 1}}, {"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"}, {"type": "string", "var": "$parameters.key", "options": ["key-value"], "group": "", "help": {"short": "Optional. If the key value is provided, this is set to key type, or autogenerated key value set for key type."}}, {"type": "string", "var": "$parameters.keyType", "options": ["key"], "required": true, "group": "", "help": {"short": "Specifies Primary or Secondary key needs to be reset."}, "enum": {"items": [{"name": "PrimaryKey", "value": "PrimaryKey"}, {"name": "SecondaryKey", "value": "SecondaryKey"}]}}]}], "operations": [{"operationId": "WCFRelays_RegenerateKeys", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}/authorizationRules/{authorizationRuleName}/regenerateKeys", "request": {"method": "post", "path": {"params": [{"type": "string", "name": "authorizationRuleName", "arg": "$Path.authorizationRuleName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "namespaceName", "arg": "$Path.namespaceName", "required": true, "format": {"maxLength": 50, "minLength": 6}}, {"type": "string", "name": "relayName", "arg": "$Path.relayName", "required": true, "format": {"minLength": 1}}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2017-04-01"}, "type": "string", "name": "api-version", "required": true}]}, "body": {"json": {"schema": {"type": "object", "name": "parameters", "required": true, "props": [{"type": "string", "name": "key", "arg": "$parameters.key"}, {"type": "string", "name": "keyType", "arg": "$parameters.keyType", "required": true, "enum": {"items": [{"value": "PrimaryKey"}, {"value": "SecondaryKey"}]}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "keyName"}, {"type": "string", "name": "primaryConnectionString"}, {"type": "string", "name": "primaryKey"}, {"type": "string", "name": "secondaryConnectionString"}, {"type": "string", "name": "secondaryKey"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@ODataV4Format"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}]}]}
|
|
@ -0,0 +1,95 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<CodeGen plane="mgmt-plane">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/wcfrelays/{}/authorizationrules/{}/regeneratekeys" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vd2NmUmVsYXlzL3tyZWxheU5hbWV9L2F1dGhvcml6YXRpb25SdWxlcy97YXV0aG9yaXphdGlvblJ1bGVOYW1lfS9yZWdlbmVyYXRlS2V5cw==/V/MjAxNy0wNC0wMQ=="/>
|
||||
<commandGroup name="relay wcfrelay authorization-rule keys">
|
||||
<command name="renew" version="2017-04-01" confirmation="">
|
||||
<resource id="/subscriptions/{}/resourcegroups/{}/providers/microsoft.relay/namespaces/{}/wcfrelays/{}/authorizationrules/{}/regeneratekeys" version="2017-04-01" swagger="mgmt-plane/relay/ResourceProviders/Microsoft.Relay/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuUmVsYXkvbmFtZXNwYWNlcy97bmFtZXNwYWNlTmFtZX0vd2NmUmVsYXlzL3tyZWxheU5hbWV9L2F1dGhvcml6YXRpb25SdWxlcy97YXV0aG9yaXphdGlvblJ1bGVOYW1lfS9yZWdlbmVyYXRlS2V5cw==/V/MjAxNy0wNC0wMQ=="/>
|
||||
<argGroup name="">
|
||||
<arg type="string" var="$Path.authorizationRuleName" options="name n" required="True" group="" idPart="child_name_2">
|
||||
<help short="Name of WCF Relay Authorization Rule."/>
|
||||
<format minLength="1"/>
|
||||
</arg>
|
||||
<arg type="string" var="$Path.namespaceName" options="namespace-name" required="True" group="" idPart="name">
|
||||
<help short="Name of Namespace."/>
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</arg>
|
||||
<arg type="string" var="$Path.relayName" options="relay-name" required="True" group="" idPart="child_name_1">
|
||||
<help short="Name of WCF Relay."/>
|
||||
<format minLength="1"/>
|
||||
</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"/>
|
||||
<arg type="string" var="$parameters.key" options="key-value" group="">
|
||||
<help short="Optional. If the key value is provided, this is set to key type, or autogenerated key value set for key type."/>
|
||||
</arg>
|
||||
<arg type="string" var="$parameters.keyType" options="key" required="True" group="">
|
||||
<help short="Specifies Primary or Secondary key needs to be reset."/>
|
||||
<enum>
|
||||
<item name="PrimaryKey" value=""PrimaryKey""/>
|
||||
<item name="SecondaryKey" value=""SecondaryKey""/>
|
||||
</enum>
|
||||
</arg>
|
||||
</argGroup>
|
||||
<operation operationId="WCFRelays_RegenerateKeys">
|
||||
<http path="/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Relay/namespaces/{namespaceName}/wcfRelays/{relayName}/authorizationRules/{authorizationRuleName}/regenerateKeys">
|
||||
<request method="post">
|
||||
<path>
|
||||
<param type="string" name="authorizationRuleName" arg="$Path.authorizationRuleName" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="namespaceName" arg="$Path.namespaceName" required="True">
|
||||
<format maxLength="50" minLength="6"/>
|
||||
</param>
|
||||
<param type="string" name="relayName" arg="$Path.relayName" required="True">
|
||||
<format minLength="1"/>
|
||||
</param>
|
||||
<param type="string" name="resourceGroupName" arg="$Path.resourceGroupName" required="True">
|
||||
<format 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=""2017-04-01""/>
|
||||
</const>
|
||||
</query>
|
||||
<body>
|
||||
<json>
|
||||
<schema type="object" name="parameters" required="True" clientFlatten="True">
|
||||
<prop type="string" name="key" arg="$parameters.key"/>
|
||||
<prop type="string" name="keyType" arg="$parameters.keyType" required="True">
|
||||
<enum>
|
||||
<item value=""PrimaryKey""/>
|
||||
<item value=""SecondaryKey""/>
|
||||
</enum>
|
||||
</prop>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</request>
|
||||
<response statusCode="200">
|
||||
<body>
|
||||
<json var="$Instance">
|
||||
<schema type="object">
|
||||
<prop type="string" name="keyName"/>
|
||||
<prop type="string" name="primaryConnectionString"/>
|
||||
<prop type="string" name="primaryKey"/>
|
||||
<prop type="string" name="secondaryConnectionString"/>
|
||||
<prop type="string" name="secondaryKey"/>
|
||||
</schema>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
<response isError="True">
|
||||
<body>
|
||||
<json>
|
||||
<schema type="@ODataV4Format"/>
|
||||
</json>
|
||||
</body>
|
||||
</response>
|
||||
</http>
|
||||
</operation>
|
||||
<output type="object" ref="$Instance" clientFlatten="True"/>
|
||||
</command>
|
||||
</commandGroup>
|
||||
</CodeGen>
|
Загрузка…
Ссылка в новой задаче