Skip to content

Commit

Permalink
CodeGen from PR 16149 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
[Hub Generated] Review request for Microsoft.AppPlatform to add version preview/2021-09-01-preview (Azure#16149)

* Adds base for updating Microsoft.AppPlatform from version preview/2021-06-01-preview to version 2021-09-01-preview

* Updates readme

* Updates API version in new specs and examples

* Add new changes for 2021-09-01-preview

* Fix some validation errors

* Use collection for loadedCertificates

* Fix typo

* Update readme for new api version autorest generating

* name update

* name update again

* name update again again

* rename storageProperties to properties

* add systemData

* fix

* fix lint

* resolve comments

* fix reference link

* fix

* add x-ms-secret and x-ms-mutability annotations to accountKey

* fix lint

Co-authored-by: Wenhao Zhang <[email protected]>
Co-authored-by: Xuyang Cao <[email protected]>
  • Loading branch information
3 people committed Oct 19, 2021
1 parent 008ed54 commit 5667b3c
Show file tree
Hide file tree
Showing 20 changed files with 1,303 additions and 32 deletions.
2 changes: 1 addition & 1 deletion sdk/appplatform/arm-appplatform/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"rollup-plugin-sourcemaps": "^0.4.2",
"uglify-js": "^3.6.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/feature/v4/sdk/appplatform/arm-appplatform",
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/appplatform/arm-appplatform",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ class AppPlatformManagementClient extends AppPlatformManagementClientContext {
monitoringSettings: operations.MonitoringSettings;
apps: operations.Apps;
bindings: operations.Bindings;
storages: operations.Storages;
certificates: operations.Certificates;
customDomains: operations.CustomDomains;
deployments: operations.Deployments;
Expand All @@ -48,6 +49,7 @@ class AppPlatformManagementClient extends AppPlatformManagementClientContext {
this.monitoringSettings = new operations.MonitoringSettings(this);
this.apps = new operations.Apps(this);
this.bindings = new operations.Bindings(this);
this.storages = new operations.Storages(this);
this.certificates = new operations.Certificates(this);
this.customDomains = new operations.CustomDomains(this);
this.deployments = new operations.Deployments(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export class AppPlatformManagementClientContext extends msRestAzure.AzureService

super(credentials, options);

this.apiVersion = '2021-06-01-preview';
this.apiVersion = '2021-09-01-preview';
this.acceptLanguage = 'en-US';
this.longRunningOperationRetryTimeout = 30;
this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
Expand Down
11 changes: 11 additions & 0 deletions sdk/appplatform/arm-appplatform/src/models/appsMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@
*/

export {
discriminators,
ApplicationInsightsAgentVersions,
AppResource,
AppResourceCollection,
AppResourceProperties,
AzureFileVolume,
BaseResource,
BindingResource,
BindingResourceProperties,
Expand All @@ -22,18 +24,23 @@ export {
ConfigServerProperties,
ConfigServerResource,
ConfigServerSettings,
ContentCertificateProperties,
CustomContainer,
CustomDomainProperties,
CustomDomainResource,
CustomDomainValidatePayload,
CustomDomainValidateResult,
CustomPersistentDiskProperties,
CustomPersistentDiskResource,
DeploymentInstance,
DeploymentResource,
DeploymentResourceProperties,
DeploymentSettings,
ErrorModel,
GitPatternRepository,
ImageRegistryCredential,
KeyVaultCertificateProperties,
LoadedCertificate,
ManagedIdentityProperties,
MonitoringSettingProperties,
MonitoringSettingResource,
Expand All @@ -47,6 +54,10 @@ export {
ResourceUploadDefinition,
ServiceResource,
Sku,
StorageAccount,
StorageProperties,
StorageResource,
SystemData,
TemporaryDisk,
TrackedResource,
UserSourceInfo
Expand Down
11 changes: 11 additions & 0 deletions sdk/appplatform/arm-appplatform/src/models/bindingsMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@
*/

export {
discriminators,
ApplicationInsightsAgentVersions,
AppResource,
AppResourceProperties,
AzureFileVolume,
BaseResource,
BindingResource,
BindingResourceCollection,
Expand All @@ -22,16 +24,21 @@ export {
ConfigServerProperties,
ConfigServerResource,
ConfigServerSettings,
ContentCertificateProperties,
CustomContainer,
CustomDomainProperties,
CustomDomainResource,
CustomPersistentDiskProperties,
CustomPersistentDiskResource,
DeploymentInstance,
DeploymentResource,
DeploymentResourceProperties,
DeploymentSettings,
ErrorModel,
GitPatternRepository,
ImageRegistryCredential,
KeyVaultCertificateProperties,
LoadedCertificate,
ManagedIdentityProperties,
MonitoringSettingProperties,
MonitoringSettingResource,
Expand All @@ -44,6 +51,10 @@ export {
ResourceRequests,
ServiceResource,
Sku,
StorageAccount,
StorageProperties,
StorageResource,
SystemData,
TemporaryDisk,
TrackedResource,
UserSourceInfo
Expand Down
11 changes: 11 additions & 0 deletions sdk/appplatform/arm-appplatform/src/models/certificatesMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@
*/

export {
discriminators,
ApplicationInsightsAgentVersions,
AppResource,
AppResourceProperties,
AzureFileVolume,
BaseResource,
BindingResource,
BindingResourceProperties,
Expand All @@ -22,16 +24,21 @@ export {
ConfigServerProperties,
ConfigServerResource,
ConfigServerSettings,
ContentCertificateProperties,
CustomContainer,
CustomDomainProperties,
CustomDomainResource,
CustomPersistentDiskProperties,
CustomPersistentDiskResource,
DeploymentInstance,
DeploymentResource,
DeploymentResourceProperties,
DeploymentSettings,
ErrorModel,
GitPatternRepository,
ImageRegistryCredential,
KeyVaultCertificateProperties,
LoadedCertificate,
ManagedIdentityProperties,
MonitoringSettingProperties,
MonitoringSettingResource,
Expand All @@ -44,6 +51,10 @@ export {
ResourceRequests,
ServiceResource,
Sku,
StorageAccount,
StorageProperties,
StorageResource,
SystemData,
TemporaryDisk,
TrackedResource,
UserSourceInfo
Expand Down
11 changes: 11 additions & 0 deletions sdk/appplatform/arm-appplatform/src/models/configServersMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@
*/

export {
discriminators,
ApplicationInsightsAgentVersions,
AppResource,
AppResourceProperties,
AzureFileVolume,
BaseResource,
BindingResource,
BindingResourceProperties,
Expand All @@ -23,16 +25,21 @@ export {
ConfigServerSettings,
ConfigServerSettingsErrorRecord,
ConfigServerSettingsValidateResult,
ContentCertificateProperties,
CustomContainer,
CustomDomainProperties,
CustomDomainResource,
CustomPersistentDiskProperties,
CustomPersistentDiskResource,
DeploymentInstance,
DeploymentResource,
DeploymentResourceProperties,
DeploymentSettings,
ErrorModel,
GitPatternRepository,
ImageRegistryCredential,
KeyVaultCertificateProperties,
LoadedCertificate,
ManagedIdentityProperties,
MonitoringSettingProperties,
MonitoringSettingResource,
Expand All @@ -45,6 +52,10 @@ export {
ResourceRequests,
ServiceResource,
Sku,
StorageAccount,
StorageProperties,
StorageResource,
SystemData,
TemporaryDisk,
TrackedResource,
UserSourceInfo
Expand Down
11 changes: 11 additions & 0 deletions sdk/appplatform/arm-appplatform/src/models/customDomainsMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@
*/

export {
discriminators,
ApplicationInsightsAgentVersions,
AppResource,
AppResourceProperties,
AzureFileVolume,
BaseResource,
BindingResource,
BindingResourceProperties,
Expand All @@ -21,17 +23,22 @@ export {
ConfigServerProperties,
ConfigServerResource,
ConfigServerSettings,
ContentCertificateProperties,
CustomContainer,
CustomDomainProperties,
CustomDomainResource,
CustomDomainResourceCollection,
CustomPersistentDiskProperties,
CustomPersistentDiskResource,
DeploymentInstance,
DeploymentResource,
DeploymentResourceProperties,
DeploymentSettings,
ErrorModel,
GitPatternRepository,
ImageRegistryCredential,
KeyVaultCertificateProperties,
LoadedCertificate,
ManagedIdentityProperties,
MonitoringSettingProperties,
MonitoringSettingResource,
Expand All @@ -44,6 +51,10 @@ export {
ResourceRequests,
ServiceResource,
Sku,
StorageAccount,
StorageProperties,
StorageResource,
SystemData,
TemporaryDisk,
TrackedResource,
UserSourceInfo
Expand Down
11 changes: 11 additions & 0 deletions sdk/appplatform/arm-appplatform/src/models/deploymentsMappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@
*/

export {
discriminators,
ApplicationInsightsAgentVersions,
AppResource,
AppResourceProperties,
AzureFileVolume,
BaseResource,
BindingResource,
BindingResourceProperties,
Expand All @@ -21,9 +23,12 @@ export {
ConfigServerProperties,
ConfigServerResource,
ConfigServerSettings,
ContentCertificateProperties,
CustomContainer,
CustomDomainProperties,
CustomDomainResource,
CustomPersistentDiskProperties,
CustomPersistentDiskResource,
DeploymentInstance,
DeploymentResource,
DeploymentResourceCollection,
Expand All @@ -32,6 +37,8 @@ export {
ErrorModel,
GitPatternRepository,
ImageRegistryCredential,
KeyVaultCertificateProperties,
LoadedCertificate,
LogFileUrlResponse,
ManagedIdentityProperties,
MonitoringSettingProperties,
Expand All @@ -45,6 +52,10 @@ export {
ResourceRequests,
ServiceResource,
Sku,
StorageAccount,
StorageProperties,
StorageResource,
SystemData,
TemporaryDisk,
TrackedResource,
UserSourceInfo
Expand Down
Loading

0 comments on commit 5667b3c

Please sign in to comment.