зеркало из https://github.com/Azure/aaz.git
Add Command Models for Redis
This commit is contained in:
Родитель
604f7e2b50
Коммит
7207067c86
|
@ -23,9 +23,6 @@
|
|||
- [cache](/Commands/cache/readme.md)
|
||||
: Azure Cache for Redis
|
||||
|
||||
- [blueprint](/Commands/blueprint/readme.md)
|
||||
: Commands to manage blueprint.
|
||||
|
||||
- [capacity](/Commands/capacity/readme.md)
|
||||
: Manage capacity.
|
||||
|
||||
|
|
|
@ -2788,6 +2788,636 @@
|
|||
"billing-benefits"
|
||||
]
|
||||
},
|
||||
"cache": {
|
||||
"commandGroups": {
|
||||
"redis": {
|
||||
"commandGroups": {
|
||||
"firewall-rule": {
|
||||
"commands": {
|
||||
"create": {
|
||||
"help": {
|
||||
"short": "Create a redis cache firewall rule"
|
||||
},
|
||||
"names": [
|
||||
"cache",
|
||||
"redis",
|
||||
"firewall-rule",
|
||||
"create"
|
||||
],
|
||||
"versions": [
|
||||
{
|
||||
"name": "2023-04-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cache/redis/{}/firewallrules/{}",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2023-04-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"delete": {
|
||||
"help": {
|
||||
"short": "Delete a single firewall rule in a specified redis cache."
|
||||
},
|
||||
"names": [
|
||||
"cache",
|
||||
"redis",
|
||||
"firewall-rule",
|
||||
"delete"
|
||||
],
|
||||
"versions": [
|
||||
{
|
||||
"name": "2023-04-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cache/redis/{}/firewallrules/{}",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2023-04-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"list": {
|
||||
"help": {
|
||||
"short": "List all firewall rules in the specified redis cache."
|
||||
},
|
||||
"names": [
|
||||
"cache",
|
||||
"redis",
|
||||
"firewall-rule",
|
||||
"list"
|
||||
],
|
||||
"versions": [
|
||||
{
|
||||
"name": "2023-04-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cache/redis/{}/firewallrules",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2023-04-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"show": {
|
||||
"help": {
|
||||
"short": "Get a single firewall rule in a specified redis cache."
|
||||
},
|
||||
"names": [
|
||||
"cache",
|
||||
"redis",
|
||||
"firewall-rule",
|
||||
"show"
|
||||
],
|
||||
"versions": [
|
||||
{
|
||||
"name": "2023-04-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cache/redis/{}/firewallrules/{}",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2023-04-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"update": {
|
||||
"help": {
|
||||
"short": "Update a redis cache firewall rule"
|
||||
},
|
||||
"names": [
|
||||
"cache",
|
||||
"redis",
|
||||
"firewall-rule",
|
||||
"update"
|
||||
],
|
||||
"versions": [
|
||||
{
|
||||
"name": "2023-04-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cache/redis/{}/firewallrules/{}",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2023-04-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"help": {
|
||||
"short": "Manage Firewall Rules for cache"
|
||||
},
|
||||
"names": [
|
||||
"cache",
|
||||
"redis",
|
||||
"firewall-rule"
|
||||
]
|
||||
},
|
||||
"linked-server": {
|
||||
"commands": {
|
||||
"list": {
|
||||
"help": {
|
||||
"short": "List the list of linked servers associated with this redis cache (requires Premium SKU)."
|
||||
},
|
||||
"names": [
|
||||
"cache",
|
||||
"redis",
|
||||
"linked-server",
|
||||
"list"
|
||||
],
|
||||
"versions": [
|
||||
{
|
||||
"name": "2023-04-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cache/redis/{}/linkedservers",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2023-04-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"help": {
|
||||
"short": "Manage Servers Linked to the Cache"
|
||||
},
|
||||
"names": [
|
||||
"cache",
|
||||
"redis",
|
||||
"linked-server"
|
||||
]
|
||||
},
|
||||
"patch-schedule": {
|
||||
"commands": {
|
||||
"list": {
|
||||
"help": {
|
||||
"short": "List all patch schedules in the specified redis cache (there is only one)."
|
||||
},
|
||||
"names": [
|
||||
"cache",
|
||||
"redis",
|
||||
"patch-schedule",
|
||||
"list"
|
||||
],
|
||||
"versions": [
|
||||
{
|
||||
"name": "2023-04-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cache/redis/{}/patchschedules",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2023-04-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"help": {
|
||||
"short": "Manage Patch Schedule of Cache"
|
||||
},
|
||||
"names": [
|
||||
"cache",
|
||||
"redis",
|
||||
"patch-schedule"
|
||||
]
|
||||
},
|
||||
"private-endpoint-connection": {
|
||||
"commands": {
|
||||
"create": {
|
||||
"help": {
|
||||
"short": "Create the state of specified private endpoint connection associated with the redis cache."
|
||||
},
|
||||
"names": [
|
||||
"cache",
|
||||
"redis",
|
||||
"private-endpoint-connection",
|
||||
"create"
|
||||
],
|
||||
"versions": [
|
||||
{
|
||||
"name": "2023-04-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cache/redis/{}/privateendpointconnections/{}",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2023-04-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"delete": {
|
||||
"help": {
|
||||
"short": "Delete the specified private endpoint connection associated with the redis cache."
|
||||
},
|
||||
"names": [
|
||||
"cache",
|
||||
"redis",
|
||||
"private-endpoint-connection",
|
||||
"delete"
|
||||
],
|
||||
"versions": [
|
||||
{
|
||||
"name": "2023-04-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cache/redis/{}/privateendpointconnections/{}",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2023-04-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"list": {
|
||||
"help": {
|
||||
"short": "List all the private endpoint connections associated with the redis cache."
|
||||
},
|
||||
"names": [
|
||||
"cache",
|
||||
"redis",
|
||||
"private-endpoint-connection",
|
||||
"list"
|
||||
],
|
||||
"versions": [
|
||||
{
|
||||
"name": "2023-04-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cache/redis/{}/privateendpointconnections",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2023-04-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"show": {
|
||||
"help": {
|
||||
"short": "Get the specified private endpoint connection associated with the redis cache."
|
||||
},
|
||||
"names": [
|
||||
"cache",
|
||||
"redis",
|
||||
"private-endpoint-connection",
|
||||
"show"
|
||||
],
|
||||
"versions": [
|
||||
{
|
||||
"name": "2023-04-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cache/redis/{}/privateendpointconnections/{}",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2023-04-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"update": {
|
||||
"help": {
|
||||
"short": "Update the state of specified private endpoint connection associated with the redis cache."
|
||||
},
|
||||
"names": [
|
||||
"cache",
|
||||
"redis",
|
||||
"private-endpoint-connection",
|
||||
"update"
|
||||
],
|
||||
"versions": [
|
||||
{
|
||||
"name": "2023-04-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cache/redis/{}/privateendpointconnections/{}",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2023-04-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"help": {
|
||||
"short": "Manage Private Endpoints for Cache"
|
||||
},
|
||||
"names": [
|
||||
"cache",
|
||||
"redis",
|
||||
"private-endpoint-connection"
|
||||
]
|
||||
},
|
||||
"private-link-resource": {
|
||||
"commands": {
|
||||
"list": {
|
||||
"help": {
|
||||
"short": "List the private link resources that need to be created for a redis cache."
|
||||
},
|
||||
"names": [
|
||||
"cache",
|
||||
"redis",
|
||||
"private-link-resource",
|
||||
"list"
|
||||
],
|
||||
"versions": [
|
||||
{
|
||||
"name": "2023-04-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cache/redis/{}/privatelinkresources",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2023-04-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"help": {
|
||||
"short": "Manage Private Link Resources for Cache"
|
||||
},
|
||||
"names": [
|
||||
"cache",
|
||||
"redis",
|
||||
"private-link-resource"
|
||||
]
|
||||
}
|
||||
},
|
||||
"commands": {
|
||||
"create": {
|
||||
"help": {
|
||||
"short": "Create (overwrite/recreate, with potential downtime) an existing Redis cache."
|
||||
},
|
||||
"names": [
|
||||
"cache",
|
||||
"redis",
|
||||
"create"
|
||||
],
|
||||
"versions": [
|
||||
{
|
||||
"name": "2023-04-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cache/redis/{}",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2023-04-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"delete": {
|
||||
"help": {
|
||||
"short": "Delete a Redis cache."
|
||||
},
|
||||
"names": [
|
||||
"cache",
|
||||
"redis",
|
||||
"delete"
|
||||
],
|
||||
"versions": [
|
||||
{
|
||||
"name": "2023-04-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cache/redis/{}",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2023-04-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"export": {
|
||||
"help": {
|
||||
"short": "Export data from the redis cache to blobs in a container."
|
||||
},
|
||||
"names": [
|
||||
"cache",
|
||||
"redis",
|
||||
"export"
|
||||
],
|
||||
"versions": [
|
||||
{
|
||||
"name": "2023-04-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cache/redis/{}/export",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2023-04-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"force-reboot": {
|
||||
"help": {
|
||||
"short": "Reboot specified Redis node(s). This operation requires write permission to the cache resource. There can be potential data loss."
|
||||
},
|
||||
"names": [
|
||||
"cache",
|
||||
"redis",
|
||||
"force-reboot"
|
||||
],
|
||||
"versions": [
|
||||
{
|
||||
"name": "2023-04-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cache/redis/{}/forcereboot",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2023-04-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"import": {
|
||||
"help": {
|
||||
"short": "Import data into Redis cache."
|
||||
},
|
||||
"names": [
|
||||
"cache",
|
||||
"redis",
|
||||
"import"
|
||||
],
|
||||
"versions": [
|
||||
{
|
||||
"name": "2023-04-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cache/redis/{}/import",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2023-04-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"list": {
|
||||
"help": {
|
||||
"short": "List all Redis caches in the specified subscription."
|
||||
},
|
||||
"names": [
|
||||
"cache",
|
||||
"redis",
|
||||
"list"
|
||||
],
|
||||
"versions": [
|
||||
{
|
||||
"name": "2023-04-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/providers/microsoft.cache/redis",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2023-04-01"
|
||||
},
|
||||
{
|
||||
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cache/redis",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2023-04-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"list-key": {
|
||||
"help": {
|
||||
"short": "Retrieve a Redis cache's access keys. This operation requires write permission to the cache resource."
|
||||
},
|
||||
"names": [
|
||||
"cache",
|
||||
"redis",
|
||||
"list-key"
|
||||
],
|
||||
"versions": [
|
||||
{
|
||||
"name": "2023-04-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cache/redis/{}/listkeys",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2023-04-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"regenerate-key": {
|
||||
"help": {
|
||||
"short": "Regenerate Redis cache's access keys. This operation requires write permission to the cache resource."
|
||||
},
|
||||
"names": [
|
||||
"cache",
|
||||
"redis",
|
||||
"regenerate-key"
|
||||
],
|
||||
"versions": [
|
||||
{
|
||||
"name": "2023-04-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cache/redis/{}/regeneratekey",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2023-04-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"show": {
|
||||
"help": {
|
||||
"short": "Get a Redis cache (resource description)."
|
||||
},
|
||||
"names": [
|
||||
"cache",
|
||||
"redis",
|
||||
"show"
|
||||
],
|
||||
"versions": [
|
||||
{
|
||||
"name": "2023-04-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cache/redis/{}",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2023-04-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"update": {
|
||||
"help": {
|
||||
"short": "Update (overwrite/recreate, with potential downtime) an existing Redis cache."
|
||||
},
|
||||
"names": [
|
||||
"cache",
|
||||
"redis",
|
||||
"update"
|
||||
],
|
||||
"versions": [
|
||||
{
|
||||
"name": "2023-04-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.cache/redis/{}",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2023-04-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"help": {
|
||||
"short": "Manage Azure Cache for Redis"
|
||||
},
|
||||
"names": [
|
||||
"cache",
|
||||
"redis"
|
||||
]
|
||||
}
|
||||
},
|
||||
"commands": {
|
||||
"check-name-availability": {
|
||||
"help": {
|
||||
"short": "Checks that the redis cache name is valid and is not already in use."
|
||||
},
|
||||
"names": [
|
||||
"cache",
|
||||
"check-name-availability"
|
||||
],
|
||||
"versions": [
|
||||
{
|
||||
"name": "2023-04-01",
|
||||
"resources": [
|
||||
{
|
||||
"id": "/subscriptions/{}/providers/microsoft.cache/checknameavailability",
|
||||
"plane": "mgmt-plane",
|
||||
"version": "2023-04-01"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"help": {
|
||||
"short": "Azure Cache for Redis"
|
||||
},
|
||||
"names": [
|
||||
"cache"
|
||||
]
|
||||
},
|
||||
"capacity": {
|
||||
"commandGroups": {
|
||||
"reservation": {
|
||||
|
|
Загрузка…
Ссылка в новой задаче