Skip to content

Commit 7aa5188

Browse files
koderjokerKanchan Joshi
authored andcommitted
Review request for Microsoft.Cache to add version stable/2024-03-01 (Azure#28983)
* Copy files from stable/2023-08-01 Copied the files in a separate commit. This allows reviewers to easily diff subsequent changes against the previous spec. * Update version to stable/2024-03-01 Updated the API version from stable/2023-08-01 to stable/2024-03-01. * Added tag for 2024-03-01 in readme file * Add disableAccessKeyAuthentication property * Update pattern for access policy name to allow space * Run prettier * Run prettier * Update description * Run prettier * Update description for redisConfiguration * Add default value and update description --------- Co-authored-by: Kanchan Joshi <[email protected]>
1 parent c3802d5 commit 7aa5188

File tree

45 files changed

+5969
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+5969
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subid",
4+
"resourceGroupName": "rg1",
5+
"cacheName": "cache1",
6+
"accessPolicyAssignmentName": "accessPolicyAssignmentName1",
7+
"api-version": "2024-03-01",
8+
"parameters": {
9+
"properties": {
10+
"accessPolicyName": "accessPolicy1",
11+
"objectId": "6497c918-11ad-41e7-1b0f-7c518a87d0b0",
12+
"objectIdAlias": "TestAADAppRedis"
13+
}
14+
}
15+
},
16+
"responses": {
17+
"200": {
18+
"body": {
19+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/redis/cache1/accessPolicyAssignments/accessPolicyAssignmentName1",
20+
"name": "accessPolicyAssignmentName1",
21+
"type": "Microsoft.Cache/Redis/accessPolicyAssignments",
22+
"properties": {
23+
"provisioningState": "Succeeded",
24+
"accessPolicyName": "accessPolicy1",
25+
"objectId": "6497c918-11ad-41e7-1b0f-7c518a87d0b0",
26+
"objectIdAlias": "TestAADAppRedis"
27+
}
28+
}
29+
},
30+
"201": {
31+
"body": {
32+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/redis/cache1/accessPolicyAssignments/accessPolicyAssignmentName1",
33+
"name": "accessPolicyAssignmentName1",
34+
"type": "Microsoft.Cache/Redis/accessPolicyAssignments",
35+
"properties": {
36+
"provisioningState": "Succeeded",
37+
"accessPolicyName": "accessPolicy1",
38+
"objectId": "6497c918-11ad-41e7-1b0f-7c518a87d0b0",
39+
"objectIdAlias": "TestAADAppRedis"
40+
}
41+
}
42+
}
43+
}
44+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subid",
4+
"resourceGroupName": "rg1",
5+
"cacheName": "cache1",
6+
"accessPolicyAssignmentName": "accessPolicyAssignmentName1",
7+
"api-version": "2024-03-01"
8+
},
9+
"responses": {
10+
"200": {},
11+
"204": {},
12+
"202": {
13+
"headers": {
14+
"location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Cache/...pathToOperationResult..."
15+
}
16+
}
17+
}
18+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subid",
4+
"resourceGroupName": "rg1",
5+
"cacheName": "cache1",
6+
"accessPolicyAssignmentName": "accessPolicyAssignmentName1",
7+
"api-version": "2024-03-01"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/redis/cache1/accessPolicyAssignments/accessPolicyAssignmentName1",
13+
"name": "accessPolicyAssignmentName1",
14+
"type": "Microsoft.Cache/Redis/accessPolicyAssignments",
15+
"properties": {
16+
"provisioningState": "Succeeded",
17+
"accessPolicyName": "accessPolicy1",
18+
"objectId": "6497c918-11ad-41e7-1b0f-7c518a87d0b0",
19+
"objectIdAlias": "TestAADAppRedis"
20+
}
21+
}
22+
}
23+
}
24+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subid",
4+
"resourceGroupName": "rg1",
5+
"cacheName": "cache1",
6+
"api-version": "2024-03-01"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/redis/cache1/accessPolicyAssignments/accessPolicyAssignmentName1",
14+
"name": "accessPolicyAssignmentName1",
15+
"type": "Microsoft.Cache/Redis/accessPolicyAssignments",
16+
"properties": {
17+
"provisioningState": "Succeeded",
18+
"accessPolicyName": "accessPolicy1",
19+
"objectId": "6497c918-11ad-41e7-1b0f-7c518a87d0b0",
20+
"objectIdAlias": "TestAADAppRedis1"
21+
}
22+
},
23+
{
24+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/redis/cache1/accessPolicyAssignments/accessPolicyAssignmentName2",
25+
"name": "accessPolicyAssignmentName2",
26+
"type": "Microsoft.Cache/Redis/accessPolicyAssignments",
27+
"properties": {
28+
"provisioningState": "Succeeded",
29+
"accessPolicyName": "accessPolicy2",
30+
"objectId": "7497c918-11ad-41e7-1b0f-7c518a87d0b0",
31+
"objectIdAlias": "TestAADAppRedis2"
32+
}
33+
}
34+
]
35+
}
36+
}
37+
}
38+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subid",
4+
"resourceGroupName": "rg1",
5+
"cacheName": "cache1",
6+
"accessPolicyName": "accessPolicy1",
7+
"api-version": "2024-03-01",
8+
"parameters": {
9+
"properties": {
10+
"permissions": "+get +hget"
11+
}
12+
}
13+
},
14+
"responses": {
15+
"200": {
16+
"body": {
17+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache1/accessPolicies/accessPolicy1",
18+
"name": "accessPolicy1",
19+
"type": "Microsoft.Cache/Redis/accessPolicies",
20+
"properties": {
21+
"provisioningState": "Succeeded",
22+
"permissions": "+get +hget",
23+
"type": "Custom"
24+
}
25+
}
26+
},
27+
"201": {
28+
"body": {
29+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache1/accessPolicies/accessPolicy1",
30+
"name": "accessPolicy1",
31+
"type": "Microsoft.Cache/Redis/accessPolicies",
32+
"properties": {
33+
"provisioningState": "Succeeded",
34+
"permissions": "+get +hget",
35+
"type": "Custom"
36+
}
37+
}
38+
}
39+
}
40+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subid",
4+
"resourceGroupName": "rg1",
5+
"cacheName": "cache1",
6+
"accessPolicyName": "accessPolicy1",
7+
"api-version": "2024-03-01"
8+
},
9+
"responses": {
10+
"200": {},
11+
"204": {},
12+
"202": {
13+
"headers": {
14+
"location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Cache/...pathToOperationResult..."
15+
}
16+
}
17+
}
18+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subid",
4+
"resourceGroupName": "rg1",
5+
"cacheName": "cache1",
6+
"accessPolicyName": "accessPolicy1",
7+
"api-version": "2024-03-01"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache1/accessPolicies/accessPolicy1",
13+
"name": "accessPolicy1",
14+
"type": "Microsoft.Cache/Redis/accessPolicies",
15+
"properties": {
16+
"provisioningState": "Succeeded",
17+
"permissions": "+get +hget",
18+
"type": "Custom"
19+
}
20+
}
21+
}
22+
}
23+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subid",
4+
"resourceGroupName": "rg1",
5+
"cacheName": "cache1",
6+
"api-version": "2024-03-01"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache1/accessPolicies/accessPolicyBuiltIn",
14+
"name": "accessPolicyBuiltIn",
15+
"type": "Microsoft.Cache/Redis/accessPolicies",
16+
"properties": {
17+
"provisioningState": "Succeeded",
18+
"permissions": "+get +hget",
19+
"type": "BuiltIn"
20+
}
21+
},
22+
{
23+
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache1/accessPolicies/accessPolicy1",
24+
"name": "accessPolicy1",
25+
"type": "Microsoft.Cache/Redis/accessPolicies",
26+
"properties": {
27+
"provisioningState": "Succeeded",
28+
"permissions": "+get +hget",
29+
"type": "Custom"
30+
}
31+
}
32+
]
33+
}
34+
}
35+
}
36+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"parameters": {
3+
"location": "East US",
4+
"api-version": "2024-03-01",
5+
"subscriptionId": "subid",
6+
"operationId": "c7ba2bf5-5939-4d79-b037-2964ccf097da"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"id": "/subscriptions/subid/providers/Microsoft.Cache/locations/East US/asyncOperations/c7ba2bf5-5939-4d79-b037-2964ccf097da",
12+
"name": "c7ba2bf5-5939-4d79-b037-2964ccf097da",
13+
"status": "Succeeded",
14+
"startTime": null,
15+
"endTime": null,
16+
"percentComplete": null,
17+
"properties": null,
18+
"error": null
19+
}
20+
}
21+
}
22+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"parameters": {
3+
"api-version": "2024-03-01",
4+
"subscriptionId": "subid",
5+
"parameters": {
6+
"type": "Microsoft.Cache/Redis",
7+
"name": "cacheName"
8+
}
9+
},
10+
"responses": {
11+
"200": {}
12+
}
13+
}

0 commit comments

Comments
 (0)