-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Review request for Microsoft.Cache to add version stable/2024-03-01 (#…
…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
1 parent
e21dcd7
commit 8046b31
Showing
45 changed files
with
5,969 additions
and
1 deletion.
There are no files selected for viewing
44 changes: 44 additions & 0 deletions
44
...rosoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentCreateUpdate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...er/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentDelete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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..." | ||
} | ||
} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
...nager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
...ager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyAssignmentList.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
40 changes: 40 additions & 0 deletions
40
...anager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyCreateUpdate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...urce-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyDelete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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..." | ||
} | ||
} | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
...esource-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyGet.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
...source-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAccessPolicyList.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
...ce-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheAsyncOperationStatus.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...e-manager/Microsoft.Cache/stable/2024-03-01/examples/RedisCacheCheckNameAvailability.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": {} | ||
} | ||
} |
Oops, something went wrong.