Skip to content

Commit

Permalink
Review request for Microsoft.Cache to add version stable/2024-03-01 (#…
Browse files Browse the repository at this point in the history
…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]>
  • Loading branch information
koderjoker and Kanchan Joshi authored May 14, 2024
1 parent e21dcd7 commit 8046b31
Show file tree
Hide file tree
Showing 45 changed files with 5,969 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"parameters": {
"subscriptionId": "subid",
"resourceGroupName": "rg1",
"cacheName": "cache1",
"accessPolicyAssignmentName": "accessPolicyAssignmentName1",
"api-version": "2024-03-01",
"parameters": {
"properties": {
"accessPolicyName": "accessPolicy1",
"objectId": "6497c918-11ad-41e7-1b0f-7c518a87d0b0",
"objectIdAlias": "TestAADAppRedis"
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/redis/cache1/accessPolicyAssignments/accessPolicyAssignmentName1",
"name": "accessPolicyAssignmentName1",
"type": "Microsoft.Cache/Redis/accessPolicyAssignments",
"properties": {
"provisioningState": "Succeeded",
"accessPolicyName": "accessPolicy1",
"objectId": "6497c918-11ad-41e7-1b0f-7c518a87d0b0",
"objectIdAlias": "TestAADAppRedis"
}
}
},
"201": {
"body": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/redis/cache1/accessPolicyAssignments/accessPolicyAssignmentName1",
"name": "accessPolicyAssignmentName1",
"type": "Microsoft.Cache/Redis/accessPolicyAssignments",
"properties": {
"provisioningState": "Succeeded",
"accessPolicyName": "accessPolicy1",
"objectId": "6497c918-11ad-41e7-1b0f-7c518a87d0b0",
"objectIdAlias": "TestAADAppRedis"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"parameters": {
"subscriptionId": "subid",
"resourceGroupName": "rg1",
"cacheName": "cache1",
"accessPolicyAssignmentName": "accessPolicyAssignmentName1",
"api-version": "2024-03-01"
},
"responses": {
"200": {},
"204": {},
"202": {
"headers": {
"location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Cache/...pathToOperationResult..."
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"parameters": {
"subscriptionId": "subid",
"resourceGroupName": "rg1",
"cacheName": "cache1",
"accessPolicyAssignmentName": "accessPolicyAssignmentName1",
"api-version": "2024-03-01"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/redis/cache1/accessPolicyAssignments/accessPolicyAssignmentName1",
"name": "accessPolicyAssignmentName1",
"type": "Microsoft.Cache/Redis/accessPolicyAssignments",
"properties": {
"provisioningState": "Succeeded",
"accessPolicyName": "accessPolicy1",
"objectId": "6497c918-11ad-41e7-1b0f-7c518a87d0b0",
"objectIdAlias": "TestAADAppRedis"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"parameters": {
"subscriptionId": "subid",
"resourceGroupName": "rg1",
"cacheName": "cache1",
"api-version": "2024-03-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/redis/cache1/accessPolicyAssignments/accessPolicyAssignmentName1",
"name": "accessPolicyAssignmentName1",
"type": "Microsoft.Cache/Redis/accessPolicyAssignments",
"properties": {
"provisioningState": "Succeeded",
"accessPolicyName": "accessPolicy1",
"objectId": "6497c918-11ad-41e7-1b0f-7c518a87d0b0",
"objectIdAlias": "TestAADAppRedis1"
}
},
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/redis/cache1/accessPolicyAssignments/accessPolicyAssignmentName2",
"name": "accessPolicyAssignmentName2",
"type": "Microsoft.Cache/Redis/accessPolicyAssignments",
"properties": {
"provisioningState": "Succeeded",
"accessPolicyName": "accessPolicy2",
"objectId": "7497c918-11ad-41e7-1b0f-7c518a87d0b0",
"objectIdAlias": "TestAADAppRedis2"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
{
"parameters": {
"subscriptionId": "subid",
"resourceGroupName": "rg1",
"cacheName": "cache1",
"accessPolicyName": "accessPolicy1",
"api-version": "2024-03-01",
"parameters": {
"properties": {
"permissions": "+get +hget"
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache1/accessPolicies/accessPolicy1",
"name": "accessPolicy1",
"type": "Microsoft.Cache/Redis/accessPolicies",
"properties": {
"provisioningState": "Succeeded",
"permissions": "+get +hget",
"type": "Custom"
}
}
},
"201": {
"body": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache1/accessPolicies/accessPolicy1",
"name": "accessPolicy1",
"type": "Microsoft.Cache/Redis/accessPolicies",
"properties": {
"provisioningState": "Succeeded",
"permissions": "+get +hget",
"type": "Custom"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"parameters": {
"subscriptionId": "subid",
"resourceGroupName": "rg1",
"cacheName": "cache1",
"accessPolicyName": "accessPolicy1",
"api-version": "2024-03-01"
},
"responses": {
"200": {},
"204": {},
"202": {
"headers": {
"location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.Cache/...pathToOperationResult..."
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"parameters": {
"subscriptionId": "subid",
"resourceGroupName": "rg1",
"cacheName": "cache1",
"accessPolicyName": "accessPolicy1",
"api-version": "2024-03-01"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache1/accessPolicies/accessPolicy1",
"name": "accessPolicy1",
"type": "Microsoft.Cache/Redis/accessPolicies",
"properties": {
"provisioningState": "Succeeded",
"permissions": "+get +hget",
"type": "Custom"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"parameters": {
"subscriptionId": "subid",
"resourceGroupName": "rg1",
"cacheName": "cache1",
"api-version": "2024-03-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache1/accessPolicies/accessPolicyBuiltIn",
"name": "accessPolicyBuiltIn",
"type": "Microsoft.Cache/Redis/accessPolicies",
"properties": {
"provisioningState": "Succeeded",
"permissions": "+get +hget",
"type": "BuiltIn"
}
},
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Cache/Redis/cache1/accessPolicies/accessPolicy1",
"name": "accessPolicy1",
"type": "Microsoft.Cache/Redis/accessPolicies",
"properties": {
"provisioningState": "Succeeded",
"permissions": "+get +hget",
"type": "Custom"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"parameters": {
"location": "East US",
"api-version": "2024-03-01",
"subscriptionId": "subid",
"operationId": "c7ba2bf5-5939-4d79-b037-2964ccf097da"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/subid/providers/Microsoft.Cache/locations/East US/asyncOperations/c7ba2bf5-5939-4d79-b037-2964ccf097da",
"name": "c7ba2bf5-5939-4d79-b037-2964ccf097da",
"status": "Succeeded",
"startTime": null,
"endTime": null,
"percentComplete": null,
"properties": null,
"error": null
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"api-version": "2024-03-01",
"subscriptionId": "subid",
"parameters": {
"type": "Microsoft.Cache/Redis",
"name": "cacheName"
}
},
"responses": {
"200": {}
}
}
Loading

0 comments on commit 8046b31

Please sign in to comment.