Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 7 additions & 30 deletions sdk/appplatform/arm-appplatform/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,6 @@
# Release History

## 2.1.0-beta.5 (Unreleased)

### Features Added

### Breaking Changes

### Bugs Fixed

### Other Changes

## 2.1.0-beta.4 (2022-11-16)

- Bugs Fixed

## 2.1.0-beta.3 (2022-10-08)

**Bugs Fixed**

- revert credential scopes

## 2.1.0-beta.2 (2022-09-30)

**Bugs Fixed**

- fix better user experience of credential scopes in government cloud

## 2.1.0-beta.1 (2022-09-09)

## 3.0.0 (2022-12-05)

**Features**

Expand Down Expand Up @@ -134,7 +108,6 @@
- Added Interface IngressSettingsClientAuth
- Added Interface JarUploadedUserSourceInfo
- Added Interface KeyVaultCertificateProperties
- Added Interface MarketplaceResource
- Added Interface MonitoringSettingResource
- Added Interface NetCoreZipUploadedUserSourceInfo
- Added Interface Probe
Expand Down Expand Up @@ -214,7 +187,6 @@
- Interface AppResourceProperties has a new optional parameter vnetAddons
- Interface BuildProperties has a new optional parameter resourceRequests
- Interface CertificateProperties has a new optional parameter provisioningState
- Interface ClusterResourceProperties has a new optional parameter marketplaceResource
- Interface ClusterResourceProperties has a new optional parameter powerState
- Interface ClusterResourceProperties has a new optional parameter vnetAddons
- Interface CustomDomainProperties has a new optional parameter provisioningState
Expand Down Expand Up @@ -244,6 +216,11 @@
- Added Enum KnownSessionAffinity
- Added Enum KnownStorageType
- Added Enum KnownType

**Breaking Changes**

- Interface DeploymentsListForClusterNextOptionalParams no longer has parameter version
- Interface DeploymentsListNextOptionalParams no longer has parameter version


## 2.0.0 (2022-05-19)
Expand Down
2 changes: 1 addition & 1 deletion sdk/appplatform/arm-appplatform/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ REST API for Azure Spring Apps

[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/appplatform/arm-appplatform) |
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-appplatform) |
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-appplatform?view=azure-node-preview) |
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-appplatform) |
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)

## Getting started
Expand Down
10 changes: 5 additions & 5 deletions sdk/appplatform/arm-appplatform/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"commit": "dbc70fac5e8915c4e80bc1937bc11e6fbb037c91",
"readme": "specification\\appplatform\\resource-manager\\readme.md",
"autorest_command": "autorest --version=3.8.4 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\Git\\azure-sdk-for-js ..\\azure-rest-api-specs\\specification\\appplatform\\resource-manager\\readme.md --use=@autorest/typescript@6.0.0-rc.3.20221108.1 --generate-sample=true",
"commit": "957dc1f5fdb64e8d032d8782bd38659fa400b608",
"readme": "specification/appplatform/resource-manager/readme.md",
"autorest_command": "autorest --version=3.9.3 --typescript --modelerfour.lenient-model-deduplication --azure-arm --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-js ../azure-rest-api-specs/specification/appplatform/resource-manager/readme.md --use=@autorest/typescript@6.0.0-rc.4",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"release_tool": "@azure-tools/js-sdk-release-tools@2.4.2",
"use": "@autorest/typescript@6.0.0-rc.3.20221108.1"
"release_tool": "@azure-tools/js-sdk-release-tools@2.5.2",
"use": "@autorest/typescript@6.0.0-rc.4"
}
14 changes: 3 additions & 11 deletions sdk/appplatform/arm-appplatform/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for AppPlatformManagementClient.",
"version": "2.1.0-beta.5",
"version": "3.0.0",
"engines": {
"node": ">=14.0.0"
},
Expand Down Expand Up @@ -110,13 +110,5 @@
}
]
},
"autoPublish": true,
"//sampleConfiguration": {
"productName": "",
"productSlugs": [
"azure"
],
"disableDocsMs": true,
"apiRefLink": "https://docs.microsoft.com/javascript/api/@azure/arm-appplatform?view=azure-node-preview"
}
}
"autoPublish": true
}
10 changes: 0 additions & 10 deletions sdk/appplatform/arm-appplatform/review/arm-appplatform.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1021,7 +1021,6 @@ export interface CloudErrorBody {
// @public
export interface ClusterResourceProperties {
readonly fqdn?: string;
marketplaceResource?: MarketplaceResource;
networkProfile?: NetworkProfile;
readonly powerState?: PowerState;
readonly provisioningState?: ProvisioningState;
Expand Down Expand Up @@ -1550,7 +1549,6 @@ export type DeploymentsGetResponse = DeploymentResource;

// @public
export interface DeploymentsListForClusterNextOptionalParams extends coreClient.OperationOptions {
version?: string[];
}

// @public
Expand All @@ -1566,7 +1564,6 @@ export type DeploymentsListForClusterResponse = DeploymentResourceCollection;

// @public
export interface DeploymentsListNextOptionalParams extends coreClient.OperationOptions {
version?: string[];
}

// @public
Expand Down Expand Up @@ -2308,13 +2305,6 @@ export interface ManagedIdentityProperties {
// @public
export type ManagedIdentityType = string;

// @public
export interface MarketplaceResource {
plan?: string;
product?: string;
publisher?: string;
}

// @public
export interface MetricDimension {
displayName?: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export class AppPlatformManagementClient extends coreClient.ServiceClient {
credential: credentials
};

const packageDetails = `azsdk-js-arm-appplatform/2.1.0-beta.5`;
const packageDetails = `azsdk-js-arm-appplatform/3.0.0`;
const userAgentPrefix =
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
Expand Down Expand Up @@ -152,7 +152,7 @@ export class AppPlatformManagementClient extends coreClient.ServiceClient {

// Assigning values to Constant parameters
this.$host = options.$host || "https://management.azure.com";
this.apiVersion = options.apiVersion || "2022-09-01-preview";
this.apiVersion = options.apiVersion || "2022-12-01";
this.services = new ServicesImpl(this);
this.configServers = new ConfigServersImpl(this);
this.configurationServices = new ConfigurationServicesImpl(this);
Expand Down
22 changes: 2 additions & 20 deletions sdk/appplatform/arm-appplatform/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ export interface ClusterResourceProperties {
* NOTE: This property will not be serialized. It can only be populated by the server.
*/
readonly fqdn?: string;
/** Purchasing 3rd party product of the Service resource. */
marketplaceResource?: MarketplaceResource;
}

/** Service network profile payload */
Expand Down Expand Up @@ -146,16 +144,6 @@ export interface ServiceVNetAddons {
logStreamPublicEndpoint?: boolean;
}

/** Purchasing 3rd Party product for one Azure Spring Apps instance */
export interface MarketplaceResource {
/** The plan id of the 3rd Party Artifact that is being procured. */
plan?: string;
/** The publisher id of the 3rd Party Artifact that is being bought. */
publisher?: string;
/** The 3rd Party artifact that is being procured. */
product?: string;
}

/** Sku of Azure Spring Apps */
export interface Sku {
/** Name of the Sku */
Expand Down Expand Up @@ -4062,20 +4050,14 @@ export interface DeploymentsStartJFROptionalParams

/** Optional parameters. */
export interface DeploymentsListNextOptionalParams
extends coreClient.OperationOptions {
/** Version of the deployments to be listed */
version?: string[];
}
extends coreClient.OperationOptions {}

/** Contains response data for the listNext operation. */
export type DeploymentsListNextResponse = DeploymentResourceCollection;

/** Optional parameters. */
export interface DeploymentsListForClusterNextOptionalParams
extends coreClient.OperationOptions {
/** Version of the deployments to be listed */
version?: string[];
}
extends coreClient.OperationOptions {}

/** Contains response data for the listForClusterNext operation. */
export type DeploymentsListForClusterNextResponse = DeploymentResourceCollection;
Expand Down
34 changes: 0 additions & 34 deletions sdk/appplatform/arm-appplatform/src/models/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,6 @@ export const ClusterResourceProperties: coreClient.CompositeMapper = {
type: {
name: "String"
}
},
marketplaceResource: {
serializedName: "marketplaceResource",
type: {
name: "Composite",
className: "MarketplaceResource"
}
}
}
}
Expand Down Expand Up @@ -258,33 +251,6 @@ export const ServiceVNetAddons: coreClient.CompositeMapper = {
}
};

export const MarketplaceResource: coreClient.CompositeMapper = {
type: {
name: "Composite",
className: "MarketplaceResource",
modelProperties: {
plan: {
serializedName: "plan",
type: {
name: "String"
}
},
publisher: {
serializedName: "publisher",
type: {
name: "String"
}
},
product: {
serializedName: "product",
type: {
name: "String"
}
}
}
}
};

export const Sku: coreClient.CompositeMapper = {
type: {
name: "Composite",
Expand Down
2 changes: 1 addition & 1 deletion sdk/appplatform/arm-appplatform/src/models/parameters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export const $host: OperationURLParameter = {
export const apiVersion: OperationQueryParameter = {
parameterPath: "apiVersion",
mapper: {
defaultValue: "2022-09-01-preview",
defaultValue: "2022-12-01",
isConstant: true,
serializedName: "api-version",
type: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,6 @@ const listNextOperationSpec: coreClient.OperationSpec = {
bodyMapper: Mappers.CloudError
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,6 @@ const listNextOperationSpec: coreClient.OperationSpec = {
bodyMapper: Mappers.CloudError
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Expand Down
1 change: 0 additions & 1 deletion sdk/appplatform/arm-appplatform/src/operations/apps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,6 @@ const listNextOperationSpec: coreClient.OperationSpec = {
bodyMapper: Mappers.CloudError
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Expand Down
1 change: 0 additions & 1 deletion sdk/appplatform/arm-appplatform/src/operations/bindings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,6 @@ const listNextOperationSpec: coreClient.OperationSpec = {
bodyMapper: Mappers.CloudError
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,6 @@ const listNextOperationSpec: coreClient.OperationSpec = {
bodyMapper: Mappers.CloudError
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,6 @@ const listNextOperationSpec: coreClient.OperationSpec = {
bodyMapper: Mappers.CloudError
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1050,7 +1050,6 @@ const listBuildServicesNextOperationSpec: coreClient.OperationSpec = {
bodyMapper: Mappers.CloudError
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Expand All @@ -1072,7 +1071,6 @@ const listBuildsNextOperationSpec: coreClient.OperationSpec = {
bodyMapper: Mappers.CloudError
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Expand All @@ -1095,7 +1093,6 @@ const listBuildResultsNextOperationSpec: coreClient.OperationSpec = {
bodyMapper: Mappers.CloudError
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,6 @@ const listNextOperationSpec: coreClient.OperationSpec = {
bodyMapper: Mappers.CloudError
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,6 @@ const listNextOperationSpec: coreClient.OperationSpec = {
bodyMapper: Mappers.CloudError
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,6 @@ const listNextOperationSpec: coreClient.OperationSpec = {
bodyMapper: Mappers.CloudError
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,6 @@ const listNextOperationSpec: coreClient.OperationSpec = {
bodyMapper: Mappers.CloudError
}
},
queryParameters: [Parameters.apiVersion],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Expand Down
2 changes: 0 additions & 2 deletions sdk/appplatform/arm-appplatform/src/operations/deployments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1952,7 +1952,6 @@ const listNextOperationSpec: coreClient.OperationSpec = {
bodyMapper: Mappers.CloudError
}
},
queryParameters: [Parameters.apiVersion, Parameters.version],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Expand All @@ -1975,7 +1974,6 @@ const listForClusterNextOperationSpec: coreClient.OperationSpec = {
bodyMapper: Mappers.CloudError
}
},
queryParameters: [Parameters.apiVersion, Parameters.version],
urlParameters: [
Parameters.$host,
Parameters.subscriptionId,
Expand Down
Loading