Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Hub Generated] Review request for Microsoft.Cache to add version preview/2022-11-01-preview #21026

Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
9efb79f
Update example value for module argument
Feb 22, 2022
2edc6b5
Merge branch 'Azure:main' into main
riyasimon23 May 20, 2022
04cd452
Adds base for updating Microsoft.Cache from version stable/2022-01-01…
riyasimon23 Oct 6, 2022
e5fff24
Updates readme
riyasimon23 Oct 6, 2022
51126a3
Updates API version in new specs and examples
riyasimon23 Oct 6, 2022
b8cef8a
Add changes
Oct 6, 2022
4d5a2cf
Changes from feedback
Oct 6, 2022
1bc9bea
Adding changes to fix checks
Oct 7, 2022
ae6fc5c
fix error
Oct 11, 2022
7a73ecb
fix error
Oct 11, 2022
7095d35
revert changes
Oct 11, 2022
647665e
change
Oct 11, 2022
b2c12fb
Adds base for updating Microsoft.Cache from version stable/2022-01-01…
jantache-microsoft Nov 9, 2022
a193ba0
Updates readme
jantache-microsoft Nov 9, 2022
da0a622
Updates API version in new specs and examples
jantache-microsoft Nov 9, 2022
7a7847c
Update spec and examples for redisenterprise 2022-11-01-preview
jantache-microsoft Nov 9, 2022
1f03b05
Fix update example by properly defining headers
jantache-microsoft Nov 9, 2022
22ecd6b
Add identity to patch to satisfy linter
jantache-microsoft Nov 16, 2022
3a5166f
Improve description of keyId
jantache-microsoft Nov 23, 2022
8491559
Switch to v3 types and use ref for location/operation
jantache-microsoft Nov 24, 2022
91624f4
Change missed v2 types to v3
jantache-microsoft Nov 24, 2022
3e28f8c
change keyId to keyUrl and add "format": "url" for it
jantache-microsoft Nov 29, 2022
5799cf1
Match common api contract
jantache-microsoft Nov 29, 2022
2124444
add identityType with description that states only userAssigned is su…
jantache-microsoft Nov 30, 2022
2aa1f28
Update encryption description to say encryption-at-rest
jantache-microsoft Dec 1, 2022
fccc09c
Merge remote-tracking branch 'riya/dev-redisenterprise-Microsoft.Cach…
jantache-microsoft Feb 1, 2023
e3b7f9d
fix(example): use correct API version in SKUs example
jantache-microsoft Feb 1, 2023
a48313e
fixes for checks
Feb 3, 2023
bbacf18
Merge branch 'main' into dev-redisenterprise-Microsoft.Cache-2022-11-…
Feb 3, 2023
3ccd60e
Merge branch 'Azure:main' into dev-redisenterprise-Microsoft.Cache-20…
riyasimon23 Feb 3, 2023
58812b9
updating from main
Feb 3, 2023
e1b6a47
fix
Feb 3, 2023
d8832ce
Merge remote-tracking branch 'jan/dev-redisenterprise-Microsoft.Cache…
Feb 3, 2023
67e5f1d
change header
Feb 3, 2023
38c465d
add headers subsection
Feb 3, 2023
ad054e0
updating 2022-01-01
Feb 3, 2023
a4746e9
removing read only, adding location common types
Feb 3, 2023
b838e44
Update specification/redisenterprise/resource-manager/Microsoft.Cache…
riyasimon23 Feb 3, 2023
c8313f4
review updates - for linter issues
Feb 9, 2023
196469f
Merge branch 'dev-redisenterprise-Microsoft.Cache-2022-11-01-preview'…
Feb 9, 2023
6872a27
edit
Feb 9, 2023
e890834
prettier fix
Feb 9, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"parameters": {
"api-version": "2021-03-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "Microsoft.Cache/redisEnterprise/read",
"display": {
"provider": "Microsoft Cache",
"resource": "Redis Enterprise cache",
"operation": "Manage Redis Enterprise cache (read)",
"description": "View the Redis Enterprise cache's settings and configuration in the management portal"
}
},
{
"name": "Microsoft.Cache/redisEnterprise/write",
"display": {
"provider": "Microsoft Cache",
"resource": "Redis Enterprise cache",
"operation": "Manage Redis Enterprise cache (write)",
"description": "Modify the Redis Enterprise cache's settings and configuration in the management portal"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"parameters": {
"subscriptionId": "subid",
"location": "West US",
"operationId": "testoperationid",
"api-version": "2022-11-01-preview"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/subid/providers/Microsoft.Cache/locations/westus/operationsStatus/testoperationid",
"name": "testoperationid",
"startTime": "2017-01-01T13:13:13.933Z",
"endTime": "2017-01-01T16:13:13.933Z",
"status": "Succeeded"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
{
"parameters": {
"clusterName": "cache1",
"resourceGroupName": "rg1",
"api-version": "2022-11-01-preview",
"subscriptionId": "subid",
"parameters": {
"location": "West US",
"sku": {
"name": "EnterpriseFlash_F300",
"capacity": 3
},
"zones": [
"1",
"2",
"3"
],
"properties": {
"minimumTlsVersion": "1.2"
},
"tags": {
"tag1": "value1"
}
}
},
"responses": {
"201": {
"body": {
"name": "cache1",
"type": "Microsoft.Cache/redisEnterprise",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/redisEnterprise/cache1",
"location": "West US",
"sku": {
"name": "EnterpriseFlash_F300",
"capacity": 3
},
"zones": [
"1",
"2",
"3"
],
"properties": {
"provisioningState": "Creating",
"resourceState": "Creating",
"hostName": "cache1.westus.something.azure.net",
"redisVersion": "5",
"minimumTlsVersion": "1.2"
},
"tags": {
"tag1": "value1"
}
}
},
"200": {
"body": {
"name": "cache1",
"type": "Microsoft.Cache/redisEnterprise",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/redisEnterprise/cache1",
"location": "West US",
"sku": {
"name": "EnterpriseFlash_F300",
"capacity": 3
},
"zones": [
"1",
"2",
"3"
],
"properties": {
"provisioningState": "Succeeded",
"resourceState": "Running",
"hostName": "cache1.westus.something.azure.net",
"redisVersion": "5",
"minimumTlsVersion": "1.2"
},
"tags": {
"tag1": "value1"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
{
"parameters": {
"databaseName": "default",
"clusterName": "cache1",
"resourceGroupName": "rg1",
"api-version": "2022-11-01-preview",
"subscriptionId": "subid",
"parameters": {
"properties": {
"clientProtocol": "Encrypted",
"clusteringPolicy": "EnterpriseCluster",
"evictionPolicy": "AllKeysLRU",
"persistence": {
"aofEnabled": true,
"aofFrequency": "1s"
},
"port": 10000,
"modules": [
{
"name": "RedisBloom",
"args": "ERROR_RATE 0.00 INITIAL_SIZE 400"
},
{
"name": "RedisTimeSeries",
"args": "RETENTION_POLICY 20"
},
{
"name": "RediSearch"
}
]
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/redisEnterprise/cache1/databases/default",
"name": "cache1/default",
"type": "Microsoft.Cache/redisEnterprise/databases",
"properties": {
"provisioningState": "Updating",
"resourceState": "Updating",
"clientProtocol": "Encrypted",
"clusteringPolicy": "EnterpriseCluster",
"evictionPolicy": "AllKeysLRU",
"persistence": {
"aofEnabled": true,
"aofFrequency": "1s"
},
"port": 10000,
"modules": [
{
"name": "RedisBloom",
"args": "ERROR_RATE 0.00 INITIAL_SIZE 400",
"version": "1.0.0"
},
{
"name": "RedisTimeSeries",
"args": "RETENTION_POLICY 20",
"version": "1.0.0"
},
{
"name": "RediSearch",
"args": "",
"version": "1.0.0"
}
]
}
}
},
"201": {
"body": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/redisEnterprise/cache1/databases/db1",
"name": "cache1/db1",
"type": "Microsoft.Cache/redisEnterprise/databases",
"properties": {
"provisioningState": "Creating",
"resourceState": "Creating",
"clientProtocol": "Encrypted",
"clusteringPolicy": "EnterpriseCluster",
"evictionPolicy": "AllKeysLRU",
"persistence": {
"aofEnabled": true,
"aofFrequency": "1s"
},
"port": 10000,
"modules": [
{
"name": "RedisBloom",
"args": "ERROR_RATE 0.00 INITIAL_SIZE 400",
"version": "1.0.0"
},
{
"name": "RedisTimeSeries",
"args": "RETENTION_POLICY 20",
"version": "1.0.0"
},
{
"name": "RediSearch",
"args": "",
"version": "1.0.0"
}
]
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
{
"parameters": {
"databaseName": "default",
"clusterName": "cache1",
"resourceGroupName": "rg1",
"api-version": "2021-02-01-preview",
"subscriptionId": "subid1",
"parameters": {
"properties": {
"clientProtocol": "Encrypted",
"clusteringPolicy": "EnterpriseCluster",
"evictionPolicy": "NoEviction",
"port": 10000,
"geoReplication": {
"groupNickname": "groupName",
"linkedDatabases": [
{
"id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Cache/redisEnterprise/cache1/databases/default"
},
{
"id": "/subscriptions/subid2/resourceGroups/rg2/providers/Microsoft.Cache/redisEnterprise/cache2/databases/default"
}
]
}
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Cache/redisEnterprise/cache1/databases/default",
"name": "cache1/default",
"type": "Microsoft.Cache/redisEnterprise/databases",
"properties": {
"provisioningState": "Updating",
"resourceState": "Updating",
"clientProtocol": "Encrypted",
"clusteringPolicy": "EnterpriseCluster",
"evictionPolicy": "NoEviction",
"port": 10000,
"geoReplication": {
"groupNickname": "groupName",
"linkedDatabases": [
{
"id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Cache/redisEnterprise/cache1/databases/default",
"state": "Linking"
},
{
"id": "/subscriptions/subid2/resourceGroups/rg2/providers/Microsoft.Cache/redisEnterprise/cache2/databases/default",
"state": "Linking"
}
]
}
}
}
},
"201": {
"body": {
"id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Cache/redisEnterprise/cache1/databases/db1",
"name": "cache1/db1",
"type": "Microsoft.Cache/redisEnterprise/databases",
"properties": {
"provisioningState": "Creating",
"resourceState": "Creating",
"clientProtocol": "Plaintext",
"clusteringPolicy": "EnterpriseCluster",
"evictionPolicy": "NoEviction",
"port": 10000,
"geoReplication": {
"groupNickname": "groupName",
"linkedDatabases": [
{
"id": "/subscriptions/subid1/resourceGroups/rg1/providers/Microsoft.Cache/redisEnterprise/cache1/databases/default",
"state": "Linking"
},
{
"id": "/subscriptions/subid2/resourceGroups/rg2/providers/Microsoft.Cache/redisEnterprise/cache2/databases/default",
"state": "Linking"
}
]
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"parameters": {
"databaseName": "db1",
"clusterName": "cache1",
"resourceGroupName": "rg1",
"api-version": "2022-11-01-preview",
"subscriptionId": "subid"
},
"responses": {
"200": {},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Cache/...pathToOperationStatus...",
"Location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Cache/...pathToOperationResult..."
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"parameters": {
"databaseName": "default",
"clusterName": "cache1",
"resourceGroupName": "rg1",
"api-version": "2022-11-01-preview",
"subscriptionId": "subid",
"parameters": {
"sasUri": "https://contosostorage.blob.core.window.net/urlToBlobContainer?sasKeyParameters"
}
},
"responses": {
"200": {},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Cache/...pathToOperationStatus...",
"Location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Cache/...pathToOperationResult..."
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"parameters": {
"databaseName": "default",
"clusterName": "cache1",
"resourceGroupName": "rg1",
"api-version": "2021-02-01-preview",
"subscriptionId": "subid",
"parameters": {
"ids": [
"/subscriptions/subid2/resourceGroups/rg2/providers/Microsoft.Cache/redisEnterprise/cache2/databases/default"
]
}
},
"responses": {
"200": {},
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Cache/...pathToOperationStatus..."
}
}
}
}
Loading