-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Avere Azure Storage Cache Auto Import 2025-07-01 API Spec #33395
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
Open
Aman-Jain-14
wants to merge
14
commits into
main
Choose a base branch
from
dev/Aman-Jain-14/StorageCache_AutoImport_2025-05-01_API_spec
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
a1d2d26
Copy files from stable/2024-07-01
0730ca0
Update version to stable/2025-07-01
8084f9d
Added tag for 2025-07-01 in readme file
4cbd3b8
Merge branch 'main' of https://github.com/Azure/azure-rest-api-specs …
3dc032b
Merge branch 'main' of https://github.com/Azure/azure-rest-api-specs …
8a6fadb
Merge branch 'main' of https://github.com/Azure/azure-rest-api-specs …
241fc32
Microsoft.StorageCace API version 2025-07-01 for AutoImport support
6a4a126
Addressing Lint, Prettier and ModelValidation errors
1d6bc8e
Addressing ModelValidation errors
469363a
Addressing ModelValidation errors
f2573b6
Merge branch 'main' of https://github.com/Azure/azure-rest-api-specs …
c969147
Addressing reviewers comments
f6394f1
Merge branch 'main' of https://github.com/Azure/azure-rest-api-specs …
4e1068f
Adding start and completion time for auto import jobs and updating th…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
2,959 changes: 2,959 additions & 0 deletions
2,959
...storagecache/resource-manager/Microsoft.StorageCache/stable/2025-07-01/amlfilesystem.json
Large diffs are not rendered by default.
Oops, something went wrong.
19 changes: 19 additions & 0 deletions
19
...resource-manager/Microsoft.StorageCache/stable/2025-07-01/examples/AscOperations_Get.json
This file contains hidden or 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,19 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"location": "westus", | ||
"operationId": "testoperationid", | ||
"api-version": "2025-07-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/id/locations/westus/ascOperations/testoperationid", | ||
"name": "testoperationid", | ||
"startTime": "2023-01-01T13:13:13.933Z", | ||
"endTime": "2023-01-01T16:13:13.933Z", | ||
"status": "Succeeded" | ||
} | ||
} | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
...urce-manager/Microsoft.StorageCache/stable/2025-07-01/examples/AscResourceUsages_Get.json
This file contains hidden or 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,33 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"location": "eastus", | ||
"api-version": "2025-07-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"limit": 4, | ||
"unit": "Count", | ||
"currentValue": 1, | ||
"name": { | ||
"value": "Cache", | ||
"localizedValue": "Cache" | ||
} | ||
}, | ||
{ | ||
"limit": 4, | ||
"unit": "Count", | ||
"currentValue": 0, | ||
"name": { | ||
"value": "AmlFilesystem", | ||
"localizedValue": "AmlFilesystem" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
324 changes: 324 additions & 0 deletions
324
...urce-manager/Microsoft.StorageCache/stable/2025-07-01/examples/Caches_CreateOrUpdate.json
This file contains hidden or 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,324 @@ | ||
{ | ||
"parameters": { | ||
"resourceGroupName": "scgroup", | ||
"cacheName": "sc1", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"api-version": "2025-07-01", | ||
"cache": { | ||
"tags": { | ||
"Dept": "Contoso" | ||
}, | ||
"location": "westus", | ||
"identity": { | ||
"type": "UserAssigned", | ||
"userAssignedIdentities": { | ||
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} | ||
} | ||
}, | ||
"properties": { | ||
"cacheSizeGB": 3072, | ||
"subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1", | ||
"encryptionSettings": { | ||
"keyEncryptionKey": { | ||
"keyUrl": "https://keyvault-cmk.vault.azure.net/keys/key2047/test", | ||
"sourceVault": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk" | ||
} | ||
} | ||
}, | ||
"directoryServicesSettings": { | ||
"activeDirectory": { | ||
"primaryDnsIpAddress": "192.0.2.10", | ||
"secondaryDnsIpAddress": "192.0.2.11", | ||
"cacheNetBiosName": "contosoSmb", | ||
"domainName": "contosoAd.contoso.local", | ||
"domainNetBiosName": "contosoAd", | ||
"credentials": { | ||
"username": "consotoAdmin", | ||
"password": "<password>" | ||
} | ||
}, | ||
"usernameDownload": { | ||
"extendedGroups": true, | ||
"usernameSource": "LDAP", | ||
"ldapServer": "192.0.2.12", | ||
"ldapBaseDN": "dc=contosoad,dc=contoso,dc=local", | ||
"credentials": { | ||
"bindDn": "cn=ldapadmin,dc=contosoad,dc=contoso,dc=local", | ||
"bindPassword": "<bindPassword>" | ||
} | ||
} | ||
}, | ||
"securitySettings": { | ||
"accessPolicies": [ | ||
{ | ||
"name": "default", | ||
"accessRules": [ | ||
{ | ||
"scope": "default", | ||
"access": "rw", | ||
"suid": false, | ||
"submountAccess": true, | ||
"rootSquash": false | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
"upgradeSettings": { | ||
"upgradeScheduleEnabled": true, | ||
"scheduledTime": "2022-04-26T18:25:43.511Z" | ||
} | ||
}, | ||
"sku": { | ||
"name": "Standard_2G" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"202": {}, | ||
"201": { | ||
"body": { | ||
"tags": { | ||
"Dept": "Contoso" | ||
}, | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1", | ||
"location": "westus", | ||
"name": "sc1", | ||
"type": "Microsoft.StorageCache/Cache", | ||
"systemData": { | ||
"createdBy": "user1", | ||
"createdByType": "User", | ||
"createdAt": "2020-01-01T17:18:19.1234567Z", | ||
"lastModifiedBy": "user2", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z" | ||
}, | ||
"properties": { | ||
"cacheSizeGB": 3072, | ||
"health": { | ||
"state": "Transitioning", | ||
"statusDescription": "Cache is being created.", | ||
"conditions": [ | ||
{ | ||
"timestamp": "2021-04-21T18:25:43.511Z", | ||
"message": "Cannot contact DNS server" | ||
} | ||
] | ||
}, | ||
"mountAddresses": [ | ||
"192.168.1.1", | ||
"192.168.1.2" | ||
], | ||
"provisioningState": "Succeeded", | ||
"subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1", | ||
"upgradeStatus": { | ||
"currentFirmwareVersion": "5.3.23", | ||
"firmwareUpdateStatus": "available", | ||
"firmwareUpdateDeadline": "2019-04-21T18:25:43.511Z", | ||
"lastFirmwareUpdate": "2019-01-21T18:25:43.511Z", | ||
"pendingFirmwareVersion": "5.3.24" | ||
}, | ||
"networkSettings": { | ||
"mtu": 1500, | ||
"dnsServers": [ | ||
"10.1.22.33", | ||
"10.1.12.33" | ||
], | ||
"dnsSearchDomain": "contoso.com", | ||
"ntpServer": "time.contoso.com" | ||
}, | ||
"securitySettings": { | ||
"accessPolicies": [ | ||
{ | ||
"name": "default", | ||
"accessRules": [ | ||
{ | ||
"scope": "default", | ||
"access": "rw", | ||
"suid": false, | ||
"submountAccess": true, | ||
"rootSquash": false | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
"upgradeSettings": { | ||
"upgradeScheduleEnabled": true, | ||
"scheduledTime": "2022-04-26T18:25:43.511Z" | ||
}, | ||
"encryptionSettings": { | ||
"keyEncryptionKey": { | ||
"keyUrl": "https://keyvault-cmk.vault.azure.net/keys/key2048/test", | ||
"sourceVault": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk" | ||
} | ||
} | ||
}, | ||
"directoryServicesSettings": { | ||
"activeDirectory": { | ||
"primaryDnsIpAddress": "192.0.2.10", | ||
"secondaryDnsIpAddress": "192.0.2.11", | ||
"domainName": "contosoAd.contoso.local", | ||
"domainNetBiosName": "contosoAd", | ||
"cacheNetBiosName": "contosoSmb", | ||
"domainJoined": "No" | ||
}, | ||
"usernameDownload": { | ||
"extendedGroups": true, | ||
"usernameSource": "LDAP", | ||
"groupFileURI": "http://contoso.net/group.file", | ||
"userFileURI": "http://contoso.net/passwd.file", | ||
"ldapServer": "192.0.2.12", | ||
"ldapBaseDN": "dc=contosoad,dc=contoso,dc=local", | ||
"encryptLdapConnection": false, | ||
"requireValidCertificate": false, | ||
"autoDownloadCertificate": false, | ||
"caCertificateURI": "http://contoso.net/cacert.pem", | ||
"usernameDownloaded": "No" | ||
} | ||
}, | ||
"primingJobs": [], | ||
"spaceAllocation": [], | ||
"zones": [ | ||
"1" | ||
] | ||
}, | ||
"sku": { | ||
"name": "Standard_2G" | ||
} | ||
} | ||
}, | ||
"200": { | ||
"body": { | ||
"tags": { | ||
"Dept": "Contoso" | ||
}, | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/caches/sc1", | ||
"location": "westus", | ||
"name": "sc1", | ||
"type": "Microsoft.StorageCache/Cache", | ||
"systemData": { | ||
"createdBy": "user1", | ||
"createdByType": "User", | ||
"createdAt": "2020-01-01T17:18:19.1234567Z", | ||
"lastModifiedBy": "user2", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2020-01-02T17:18:19.1234567Z" | ||
}, | ||
"properties": { | ||
"cacheSizeGB": 3072, | ||
"health": { | ||
"state": "Transitioning", | ||
"statusDescription": "Cache is being created.", | ||
"conditions": [ | ||
{ | ||
"timestamp": "2021-04-21T18:25:43.511Z", | ||
"message": "Cannot contact DNS server" | ||
} | ||
] | ||
}, | ||
"mountAddresses": [ | ||
"192.168.1.1", | ||
"192.168.1.2" | ||
], | ||
"provisioningState": "Updating", | ||
"subnet": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.Network/virtualNetworks/scvnet/subnets/sub1", | ||
"upgradeStatus": { | ||
"currentFirmwareVersion": "2022.08.1", | ||
"firmwareUpdateStatus": "available", | ||
"firmwareUpdateDeadline": "2019-04-21T18:25:43.511Z", | ||
"lastFirmwareUpdate": "2019-01-21T18:25:43.511Z", | ||
"pendingFirmwareVersion": "2022.08.1" | ||
}, | ||
"networkSettings": { | ||
"mtu": 1500, | ||
"dnsServers": [ | ||
"10.1.22.33", | ||
"10.1.12.33" | ||
], | ||
"dnsSearchDomain": "contoso.com", | ||
"ntpServer": "time.contoso.com" | ||
}, | ||
"securitySettings": { | ||
"accessPolicies": [ | ||
{ | ||
"name": "default", | ||
"accessRules": [ | ||
{ | ||
"scope": "default", | ||
"access": "rw", | ||
"suid": false, | ||
"submountAccess": true, | ||
"rootSquash": false | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
"upgradeSettings": { | ||
"upgradeScheduleEnabled": true, | ||
"scheduledTime": "2022-04-26T18:25:43.511Z" | ||
}, | ||
"encryptionSettings": { | ||
"keyEncryptionKey": { | ||
"keyUrl": "https://keyvault-cmk.vault.azure.net/keys/key2048/test", | ||
"sourceVault": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.KeyVault/vaults/keyvault-cmk" | ||
} | ||
} | ||
}, | ||
"directoryServicesSettings": { | ||
"activeDirectory": { | ||
"primaryDnsIpAddress": "192.0.2.10", | ||
"secondaryDnsIpAddress": "192.0.2.11", | ||
"domainName": "contosoAd.contoso.local", | ||
"domainNetBiosName": "contosoAd", | ||
"cacheNetBiosName": "contosoSmb", | ||
"domainJoined": "Yes" | ||
}, | ||
"usernameDownload": { | ||
"extendedGroups": true, | ||
"usernameSource": "LDAP", | ||
"groupFileURI": "http://contoso.net/group.file", | ||
"userFileURI": "http://contoso.net/passwd.file", | ||
"ldapServer": "192.0.2.12", | ||
"ldapBaseDN": "dc=contosoad,dc=contoso,dc=local", | ||
"encryptLdapConnection": false, | ||
"requireValidCertificate": false, | ||
"autoDownloadCertificate": false, | ||
"caCertificateURI": "http://contoso.net/cacert.pem", | ||
"usernameDownloaded": "Yes" | ||
} | ||
}, | ||
"primingJobs": [ | ||
{ | ||
"primingJobName": "contosoJob1", | ||
"primingJobId": "00000000000_0000000000", | ||
"primingJobState": "Complete", | ||
"primingJobStatus": "success", | ||
"primingJobDetails": "Files: Cached=635, Failed=0, Excluded=80, Data=346030 bytes, Directories: Cached=1003, Failed=0, Excluded=0", | ||
"primingJobPercentComplete": 100.0 | ||
}, | ||
{ | ||
"primingJobName": "contosoJob2", | ||
"primingJobId": "11111111111_1111111111", | ||
"primingJobState": "Queued", | ||
"primingJobStatus": "", | ||
"primingJobDetails": "", | ||
"primingJobPercentComplete": 0.0 | ||
} | ||
], | ||
"spaceAllocation": [], | ||
"zones": [ | ||
"1" | ||
] | ||
}, | ||
"sku": { | ||
"name": "Standard_2G" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why isn't there providers/ in this resource id?
(not arm [ARMBlockingComment] but could maybe in model validation checks??)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The model validation didn't throw any errors for this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, I'm flagging it as an area for possible improvement.
Anyway, it is pretty weird to put a nonrealistic uri in the example - operation results should always be in a provider namespace shouldn't they.