Skip to content

Commit 10afe23

Browse files
author
SDKAuto
committed
CodeGen from PR 34270 in Azure/azure-rest-api-specs
Merge 447c4193246efcde66d0d0feaa59da2c756c794f into a19648565889eaae019e531c15f3045d1244c7ce
1 parent 47033fd commit 10afe23

File tree

285 files changed

+9634
-19583
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

285 files changed

+9634
-19583
lines changed

common/config/rush/pnpm-lock.yaml

+2-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/migrate/arm-migrate/CHANGELOG.md

+227-8
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,234 @@
11
# Release History
2-
3-
## 2.0.4 (Unreleased)
4-
2+
3+
## 3.0.0-beta.1 (2025-05-13)
4+
Compared with version 2.0.3
5+
56
### Features Added
67

7-
### Breaking Changes
8+
- Added operation group AKSAssessmentOperationsOperations
9+
- Added operation group AKSClusterOperationsOperations
10+
- Added operation group AKSCostDetailOperationsOperations
11+
- Added operation group AKSOptionsOperationsOperations
12+
- Added operation group AKSSummaryOperationsOperations
13+
- Added operation group AssessedWebApplicationOperationsOperations
14+
- Added Interface AKSAssessment
15+
- Added Interface AKSAssessmentOperationsCreateOptionalParams
16+
- Added Interface AKSAssessmentOperationsDeleteOptionalParams
17+
- Added Interface AKSAssessmentOperationsDownloadUrlOptionalParams
18+
- Added Interface AKSAssessmentOperationsGetOptionalParams
19+
- Added Interface AKSAssessmentOperationsListByParentOptionalParams
20+
- Added Interface AKSAssessmentOptions
21+
- Added Interface AKSAssessmentOptionsOutboundEdgeGroup
22+
- Added Interface AKSAssessmentOptionsProperties
23+
- Added Interface AKSAssessmentProperties
24+
- Added Interface AKSAssessmentSettings
25+
- Added Interface AKSCluster
26+
- Added Interface AKSClusterOperationsGetOptionalParams
27+
- Added Interface AKSClusterOperationsListByParentOptionalParams
28+
- Added Interface AKSClusterProperties
29+
- Added Interface AKSCostDetail
30+
- Added Interface AKSCostDetailOperationsListByParentOptionalParams
31+
- Added Interface AKSCostDetailProperties
32+
- Added Interface AKSOptionsOperationsGetOptionalParams
33+
- Added Interface AKSOptionsOperationsListByParentOptionalParams
34+
- Added Interface AKSSummary
35+
- Added Interface AKSSummaryOperationsGetOptionalParams
36+
- Added Interface AKSSummaryOperationsListByParentOptionalParams
37+
- Added Interface AKSSummaryProperties
38+
- Added Interface AssessedWebApplication
39+
- Added Interface AssessedWebApplicationOperationsGetOptionalParams
40+
- Added Interface AssessedWebApplicationOperationsListByParentOptionalParams
41+
- Added Interface AssessedWebApplicationProperties
42+
- Added Interface AssessmentDetails
43+
- Added Interface BillingSettings
44+
- Added Interface ComputeResource
45+
- Added Interface Configuration
46+
- Added Interface CostDetailsCommon
47+
- Added Interface ErrorAdditionalInfo
48+
- Added Interface ErrorDetail
49+
- Added Interface ErrorResponse
50+
- Added Interface Linkages
51+
- Added Interface ManagementDetails
52+
- Added Interface MigrateClientOptionalParams
53+
- Added Interface MigrationDetails
54+
- Added Interface MigrationIssues
55+
- Added Interface MigrationSuitability
56+
- Added Interface MoreInformation
57+
- Added Interface NameValuePair
58+
- Added Interface NameValuePairCloudSuitabilityCommon
59+
- Added Interface NameValuePairCostType
60+
- Added Interface NameValuePairSavingsType
61+
- Added Interface NodePool
62+
- Added Interface PagedAsyncIterableIterator
63+
- Added Interface PageSettings
64+
- Added Interface PerformanceData
65+
- Added Interface ProxyResource
66+
- Added Interface RecommendationResult
67+
- Added Interface RecommendationsMigrationIssuesMigrationSuitabilitySkus
68+
- Added Interface RecommendedFor
69+
- Added Interface Resource
70+
- Added Interface RestorePollerOptions
71+
- Added Interface SavingsDetailsCommon
72+
- Added Interface SavingsSettings
73+
- Added Interface Scope
74+
- Added Interface SecuritySuitability
75+
- Added Interface SkuDetails
76+
- Added Interface SkusMigrationSuitability
77+
- Added Interface SourceDetails
78+
- Added Interface SourceRecommendationMigrationSuitability
79+
- Added Interface SystemData
80+
- Added Interface TargetDetails
81+
- Added Interface TargetSourcePair
82+
- Added Class MigrateClient
83+
- Added Type Alias ActionType
84+
- Added Type Alias AssessmentSource
85+
- Added Type Alias AzureCurrency
86+
- Added Type Alias AzureManagementOfferingType
87+
- Added Type Alias AzureOffer
88+
- Added Type Alias AzureTarget
89+
- Added Type Alias AzureVmCategory
90+
- Added Type Alias CloudSuitabilityCommon
91+
- Added Type Alias ConsolidationType
92+
- Added Type Alias ContinuablePage
93+
- Added Type Alias CostType
94+
- Added Type Alias CreatedByType
95+
- Added Type Alias EnvironmentType
96+
- Added Type Alias LicensingProgram
97+
- Added Type Alias LinkageKind
98+
- Added Type Alias LinkageType
99+
- Added Type Alias MigrateWorkloadType
100+
- Added Type Alias MigrationIssuesCategory
101+
- Added Type Alias MigrationPlatform
102+
- Added Type Alias MigrationType
103+
- Added Type Alias NodePoolMode
104+
- Added Type Alias Origin
105+
- Added Type Alias OSType
106+
- Added Type Alias PricingTier
107+
- Added Type Alias SavingsOptions
108+
- Added Type Alias SavingsType
109+
- Added Type Alias ScopeType
110+
- Added Type Alias SkuKind
111+
- Added Type Alias SkuType
112+
- Added Type Alias StrategyType
113+
- Added Type Alias SummaryType
114+
- Added Type Alias WebServerType
115+
- Interface Operation has a new optional parameter actionType
116+
- Interface Operation has a new optional parameter isDataAction
117+
- Added Enum KnownActionType
118+
- Added Enum KnownAKSApiVersions
119+
- Added Enum KnownAssessmentSource
120+
- Added Enum KnownAzureCurrency
121+
- Added Enum KnownAzureManagementOfferingType
122+
- Added Enum KnownAzureOffer
123+
- Added Enum KnownAzureTarget
124+
- Added Enum KnownAzureVmCategory
125+
- Added Enum KnownCloudSuitabilityCommon
126+
- Added Enum KnownConsolidationType
127+
- Added Enum KnownCostType
128+
- Added Enum KnownCreatedByType
129+
- Added Enum KnownEnvironmentType
130+
- Added Enum KnownLicensingProgram
131+
- Added Enum KnownLinkageKind
132+
- Added Enum KnownLinkageType
133+
- Added Enum KnownMigrateWorkloadType
134+
- Added Enum KnownMigrationIssuesCategory
135+
- Added Enum KnownMigrationPlatform
136+
- Added Enum KnownMigrationType
137+
- Added Enum KnownNodePoolMode
138+
- Added Enum KnownOrigin
139+
- Added Enum KnownOSType
140+
- Added Enum KnownPricingTier
141+
- Added Enum KnownSavingsOptions
142+
- Added Enum KnownSavingsType
143+
- Added Enum KnownScopeType
144+
- Added Enum KnownSkuKind
145+
- Added Enum KnownSkuType
146+
- Added Enum KnownStrategyType
147+
- Added Enum KnownSummaryType
148+
- Added Enum KnownWebServerType
149+
- Enum KnownAssessmentStatus has a new value Deleted
150+
- Enum KnownAssessmentStatus has a new value Failed
151+
- Enum KnownAzureLocation has a new value AustraliaCentral
152+
- Enum KnownAzureLocation has a new value AustraliaCentral2
153+
- Enum KnownAzureLocation has a new value ChinaEast2
154+
- Enum KnownAzureLocation has a new value ChinaNorth2
155+
- Enum KnownAzureLocation has a new value FranceCentral
156+
- Enum KnownAzureLocation has a new value FranceSouth
157+
- Enum KnownAzureLocation has a new value GermanyNorth
158+
- Enum KnownAzureLocation has a new value GermanyWestCentral
159+
- Enum KnownAzureLocation has a new value IsraelCentral
160+
- Enum KnownAzureLocation has a new value ItalyNorth
161+
- Enum KnownAzureLocation has a new value JioIndiaWest
162+
- Enum KnownAzureLocation has a new value MexicoCentral
163+
- Enum KnownAzureLocation has a new value NewZealandNorth
164+
- Enum KnownAzureLocation has a new value NorwayEast
165+
- Enum KnownAzureLocation has a new value NorwayWest
166+
- Enum KnownAzureLocation has a new value PolandCentral
167+
- Enum KnownAzureLocation has a new value QatarCentral
168+
- Enum KnownAzureLocation has a new value SouthAfricaNorth
169+
- Enum KnownAzureLocation has a new value SouthAfricaWest
170+
- Enum KnownAzureLocation has a new value SpainCentral
171+
- Enum KnownAzureLocation has a new value SwedenCentral
172+
- Enum KnownAzureLocation has a new value SwitzerlandNorth
173+
- Enum KnownAzureLocation has a new value SwitzerlandWest
174+
- Enum KnownAzureLocation has a new value UAECentral
175+
- Enum KnownAzureLocation has a new value UAENorth
176+
- Enum KnownAzureLocation has a new value UsNatEast
177+
- Enum KnownAzureLocation has a new value UsNatWest
178+
- Enum KnownAzureLocation has a new value UsSecCentral
179+
- Enum KnownAzureLocation has a new value UsSecEast
180+
- Enum KnownAzureLocation has a new value UsSecWest
181+
- Enum KnownPercentile has a new value PercentileUnknown
182+
- Enum KnownProvisioningState has a new value Canceled
183+
- Enum KnownProvisioningState has a new value Provisioning
184+
- Enum KnownProvisioningState has a new value Updating
185+
- Added function restorePoller
8186

9-
### Bugs Fixed
10-
11-
### Other Changes
187+
### Breaking Changes
12188

189+
- Removed operation group AssessedMachines
190+
- Removed operation group Assessments
191+
- Removed operation group Groups
192+
- Removed operation group HyperVCollectors
193+
- Removed operation group ImportCollectors
194+
- Removed operation group Machines
195+
- Removed operation group PrivateEndpointConnectionOperations
196+
- Removed operation group PrivateLinkResourceOperations
197+
- Removed operation group Projects
198+
- Removed operation group ServerCollectors
199+
- Removed operation group VMwareCollectors
200+
- Deleted Class AzureMigrateV2
201+
- Parameter assessmentReportUrl of interface DownloadUrl is now required
202+
- Parameter expirationTime of interface DownloadUrl is now required
203+
- Type of parameter origin of interface Operation is changed from string to Origin
204+
- Removed Enum KnownAssessmentStage
205+
- Removed Enum KnownAzureDiskSize
206+
- Removed Enum KnownAzureDiskSuitabilityDetail
207+
- Removed Enum KnownAzureDiskSuitabilityExplanation
208+
- Removed Enum KnownAzureDiskType
209+
- Removed Enum KnownAzureHybridUseBenefit
210+
- Removed Enum KnownAzureNetworkAdapterSuitabilityDetail
211+
- Removed Enum KnownAzureNetworkAdapterSuitabilityExplanation
212+
- Removed Enum KnownAzureOfferCode
213+
- Removed Enum KnownAzurePricingTier
214+
- Removed Enum KnownAzureStorageRedundancy
215+
- Removed Enum KnownAzureVmFamily
216+
- Removed Enum KnownAzureVmSize
217+
- Removed Enum KnownAzureVmSuitabilityDetail
218+
- Removed Enum KnownAzureVmSuitabilityExplanation
219+
- Removed Enum KnownCloudSuitability
220+
- Removed Enum KnownCurrency
221+
- Removed Enum KnownGroupStatus
222+
- Removed Enum KnownGroupUpdateOperation
223+
- Removed Enum KnownMachineBootType
224+
- Removed Enum KnownPrivateEndpointConnectionPropertiesProvisioningState
225+
- Removed Enum KnownPrivateLinkServiceConnectionStateStatus
226+
- Removed Enum KnownProjectStatus
227+
- Removed Enum KnownReservedInstance
228+
- Enum KnownProvisioningState no longer has value Creating
229+
- Enum KnownProvisioningState no longer has value Moving
230+
- Removed function getContinuationToken
231+
13232
## 2.0.3 (2023-01-29)
14233

15234
### Features Added
@@ -40,4 +259,4 @@ To understand the detail of the change, please refer to [Changelog](https://aka.
40259

41260
To migrate the existing applications to the latest version, please refer to [Migration Guide](https://aka.ms/js-track2-migration-guide).
42261

43-
To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart ).
262+
To learn more, please refer to our documentation [Quick Start](https://aka.ms/azsdk/js/mgmt/quickstart).

sdk/migrate/arm-migrate/LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1818
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
21+
SOFTWARE.

sdk/migrate/arm-migrate/README.md

+24-26
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
1-
# AzureMigrateV2 client library for JavaScript
1+
# Azure Migrate client library for JavaScript
22

3-
This package contains an isomorphic SDK (runs both in Node.js and in browsers) for AzureMigrateV2 client.
3+
This package contains an isomorphic SDK (runs both in Node.js and in browsers) for Azure Migrate client.
44

5-
Assess your workloads for Azure.
5+
Azure Migrate Resource Provider management API.
66

7-
[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/migrate/arm-migrate) |
8-
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-migrate) |
9-
[API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-migrate) |
10-
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)
7+
Key links:
8+
9+
- [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/migrate/arm-migrate)
10+
- [Package (NPM)](https://www.npmjs.com/package/@azure/arm-migrate)
11+
- [API reference documentation](https://learn.microsoft.com/javascript/api/@azure/arm-migrate?view=azure-node-preview)
12+
- [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/migrate/arm-migrate/samples)
1113

1214
## Getting started
1315

@@ -24,16 +26,16 @@ See our [support policy](https://github.com/Azure/azure-sdk-for-js/blob/main/SUP
2426

2527
### Install the `@azure/arm-migrate` package
2628

27-
Install the AzureMigrateV2 client library for JavaScript with `npm`:
29+
Install the Azure Migrate client library for JavaScript with `npm`:
2830

2931
```bash
3032
npm install @azure/arm-migrate
3133
```
3234

33-
### Create and authenticate a `AzureMigrateV2`
35+
### Create and authenticate a `MigrateClient`
3436

35-
To create a client object to access the AzureMigrateV2 API, you will need the `endpoint` of your AzureMigrateV2 resource and a `credential`. The AzureMigrateV2 client can use Azure Active Directory credentials to authenticate.
36-
You can find the endpoint for your AzureMigrateV2 resource in the [Azure Portal][azure_portal].
37+
To create a client object to access the Azure Migrate API, you will need the `endpoint` of your Azure Migrate resource and a `credential`. The Azure Migrate client can use Azure Active Directory credentials to authenticate.
38+
You can find the endpoint for your Azure Migrate resource in the [Azure Portal][azure_portal].
3739

3840
You can authenticate with Azure Active Directory using a credential from the [@azure/identity][azure_identity] library or [an existing AAD Token](https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token).
3941

@@ -43,44 +45,42 @@ To use the [DefaultAzureCredential][defaultazurecredential] provider shown below
4345
npm install @azure/identity
4446
```
4547

46-
You will also need to **register a new AAD application and grant access to AzureMigrateV2** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
47-
Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables: `AZURE_CLIENT_ID`, `AZURE_TENANT_ID`, `AZURE_CLIENT_SECRET`.
48+
You will also need to **register a new AAD application and grant access to Azure Migrate** by assigning the suitable role to your service principal (note: roles such as `"Owner"` will not grant the necessary permissions).
4849

4950
For more information about how to create an Azure AD Application check out [this guide](https://learn.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal).
5051

5152
Using Node.js and Node-like environments, you can use the `DefaultAzureCredential` class to authenticate the client.
5253

5354
```ts snippet:ReadmeSampleCreateClient_Node
54-
import { AzureMigrateV2 } from "@azure/arm-migrate";
55+
import { MigrateClient } from "@azure/arm-migrate";
5556
import { DefaultAzureCredential } from "@azure/identity";
5657

5758
const subscriptionId = "00000000-0000-0000-0000-000000000000";
58-
const client = new AzureMigrateV2(new DefaultAzureCredential(), subscriptionId);
59+
const client = new MigrateClient(new DefaultAzureCredential(), subscriptionId);
5960
```
6061

6162
For browser environments, use the `InteractiveBrowserCredential` from the `@azure/identity` package to authenticate.
6263

6364
```ts snippet:ReadmeSampleCreateClient_Browser
6465
import { InteractiveBrowserCredential } from "@azure/identity";
65-
import { AzureMigrateV2 } from "@azure/arm-migrate";
66+
import { MigrateClient } from "@azure/arm-migrate";
6667

67-
const subscriptionId = "00000000-0000-0000-0000-000000000000";
6868
const credential = new InteractiveBrowserCredential({
6969
tenantId: "<YOUR_TENANT_ID>",
70-
clientId: "<YOUR_CLIENT_ID>",
71-
});
72-
const client = new AzureMigrateV2(credential, subscriptionId);
70+
clientId: "<YOUR_CLIENT_ID>"
71+
});
72+
const client = new MigrateClient(credential, subscriptionId);
7373
```
7474

75-
### JavaScript Bundle
7675

76+
### JavaScript Bundle
7777
To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).
7878

7979
## Key concepts
8080

81-
### AzureMigrateV2
81+
### MigrateClient
8282

83-
`AzureMigrateV2` is the primary interface for developers using the AzureMigrateV2 client library. Explore the methods on this client object to understand the different features of the AzureMigrateV2 service that you can access.
83+
`MigrateClient` is the primary interface for developers using the Azure Migrate client library. Explore the methods on this client object to understand the different features of the Azure Migrate service that you can access.
8484

8585
## Troubleshooting
8686

@@ -98,7 +98,7 @@ For more detailed instructions on how to enable logs, you can look at the [@azur
9898

9999
## Next steps
100100

101-
Please take a look at the [samples](https://github.com/Azure-Samples/azure-samples-js-management) directory for detailed examples on how to use this library.
101+
Please take a look at the [samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/migrate/arm-migrate/samples) directory for detailed examples on how to use this library.
102102

103103
## Contributing
104104

@@ -108,8 +108,6 @@ If you'd like to contribute to this library, please read the [contributing guide
108108

109109
- [Microsoft Azure SDK for JavaScript](https://github.com/Azure/azure-sdk-for-js)
110110

111-
[azure_cli]: https://learn.microsoft.com/cli/azure
112-
[azure_sub]: https://azure.microsoft.com/free/
113111
[azure_sub]: https://azure.microsoft.com/free/
114112
[azure_portal]: https://portal.azure.com
115113
[azure_identity]: https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/identity/identity

sdk/migrate/arm-migrate/_meta.json

-8
This file was deleted.

0 commit comments

Comments
 (0)