-
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.
[Hub Generated] Review request for Microsoft.StorageCache to add vers…
…ion stable/2021-03-01 (#12875) * Adds base for updating Microsoft.StorageCache from version stable/2020-10-01 to version 2021-03-01 * Updates readme * Updates API version in new specs and examples * Add storagecache 2021-03-01 content * Add blobNfs and fix issues found by autorest. * Updating anonymous UID and GID * Update dns and storage target descriptions and condition readonly status.
- Loading branch information
Showing
26 changed files
with
4,561 additions
and
1 deletion.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
...resource-manager/Microsoft.StorageCache/stable/2021-03-01/examples/AscOperations_Get.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,19 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"location": "westus", | ||
"operationId": "testoperationid", | ||
"api-version": "2021-03-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/id/locations/westus/ascOperations/testoperationid", | ||
"name": "testoperationid", | ||
"startTime": "2021-03-01T13:13:13.933Z", | ||
"endTime": "2021-03-01T16:13:13.933Z", | ||
"status": "Succeeded" | ||
} | ||
} | ||
} | ||
} |
279 changes: 279 additions & 0 deletions
279
...urce-manager/Microsoft.StorageCache/stable/2021-03-01/examples/Caches_CreateOrUpdate.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,279 @@ | ||
{ | ||
"parameters": { | ||
"resourceGroupName": "scgroup", | ||
"cacheName": "sc1", | ||
"subscriptionId": "00000000-0000-0000-0000-000000000000", | ||
"api-version": "2021-03-01", | ||
"cache": { | ||
"tags": { | ||
"Dept": "Contoso" | ||
}, | ||
"location": "westus", | ||
"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 | ||
} | ||
] | ||
} | ||
] | ||
} | ||
}, | ||
"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 | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
"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": "", | ||
"userFileURI": "", | ||
"ldapServer": "192.0.2.12", | ||
"ldapBaseDN": "dc=contosoad,dc=contoso,dc=local", | ||
"encryptLdapConnection": false, | ||
"requireValidCertificate": false, | ||
"autoDownloadCertificate": false, | ||
"caCertificateURI": "", | ||
"usernameDownloaded": "No" | ||
} | ||
} | ||
}, | ||
"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": "V5.1.12", | ||
"firmwareUpdateStatus": "available", | ||
"firmwareUpdateDeadline": "2019-04-21T18:25:43.511Z", | ||
"lastFirmwareUpdate": "2019-01-21T18:25:43.511Z", | ||
"pendingFirmwareVersion": "V5.1.15" | ||
}, | ||
"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 | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
"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": "", | ||
"userFileURI": "", | ||
"ldapServer": "192.0.2.12", | ||
"ldapBaseDN": "dc=contosoad,dc=contoso,dc=local", | ||
"encryptLdapConnection": false, | ||
"requireValidCertificate": false, | ||
"autoDownloadCertificate": false, | ||
"caCertificateURI": "", | ||
"usernameDownloaded": "Yes" | ||
} | ||
} | ||
}, | ||
"sku": { | ||
"name": "Standard_2G" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.