Skip to content

Commit f7cecf7

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

File tree

266 files changed

+9610
-19689
lines changed

Some content is hidden

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

266 files changed

+9610
-19689
lines changed

common/config/rush/pnpm-lock.yaml

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/migrate/arm-migrate/CHANGELOG.md

Lines changed: 227 additions & 8 deletions
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 AvsAssessedMachinesV2OperationsOperations
9+
- Added operation group AvsAssessmentsV2OperationsOperations
10+
- Added operation group AvsAssessmentV2SummaryOperationsOperations
11+
- Added operation group AvsGraphAssessmentOptionsOperationsOperations
12+
- Added Interface AssessmentDetails
13+
- Added Interface AvsAssessedDiskV2
14+
- Added Interface AvsAssessedMachineExtendedDetails
15+
- Added Interface AvsAssessedMachinePropertiesV2
16+
- Added Interface AvsAssessedMachinesV2OperationsGetOptionalParams
17+
- Added Interface AvsAssessedMachinesV2OperationsListByParentOptionalParams
18+
- Added Interface AvsAssessedMachineV2
19+
- Added Interface AvsAssessedNetworkAdapter
20+
- Added Interface AvsAssessmentOptionsOutboundEdgeGroup
21+
- Added Interface AvsAssessmentPropertiesV2
22+
- Added Interface AvsAssessmentSettings
23+
- Added Interface AvsAssessmentSummaryPropertiesV2
24+
- Added Interface AvsAssessmentsV2OperationsCreateOptionalParams
25+
- Added Interface AvsAssessmentsV2OperationsDeleteOptionalParams
26+
- Added Interface AvsAssessmentsV2OperationsDownloadUrlOptionalParams
27+
- Added Interface AvsAssessmentsV2OperationsGetOptionalParams
28+
- Added Interface AvsAssessmentsV2OperationsListByParentOptionalParams
29+
- Added Interface AvsAssessmentV2
30+
- Added Interface AvsAssessmentV2Summary
31+
- Added Interface AvsAssessmentV2SummaryOperationsGetOptionalParams
32+
- Added Interface AvsAssessmentV2SummaryOperationsListByParentOptionalParams
33+
- Added Interface AvsEstimatedExternalStorage
34+
- Added Interface AvsEstimatedNetwork
35+
- Added Interface AvsEstimatedNode
36+
- Added Interface AvsGraphAssessmentOptions
37+
- Added Interface AvsGraphAssessmentOptionsOperationsGetOptionalParams
38+
- Added Interface AvsGraphAssessmentOptionsOperationsListByParentOptionalParams
39+
- Added Interface AvsGraphAssessmentOptionsProperties
40+
- Added Interface AvsRecommendationsMigrationIssuesMigrationSuitabilitySkus
41+
- Added Interface BillingSettings
42+
- Added Interface Configuration
43+
- Added Interface CostDetailsCommon
44+
- Added Interface ErrorAdditionalInfo
45+
- Added Interface ErrorDetail
46+
- Added Interface ErrorModel
47+
- Added Interface ErrorResponse
48+
- Added Interface Linkages
49+
- Added Interface ManagementDetails
50+
- Added Interface MigrateClientOptionalParams
51+
- Added Interface MigrationDetails
52+
- Added Interface MigrationIssues
53+
- Added Interface MigrationSuitability
54+
- Added Interface MoreInformation
55+
- Added Interface NameValuePair
56+
- Added Interface NameValuePairCloudSuitabilityCommon
57+
- Added Interface NameValuePairCostType
58+
- Added Interface NameValuePairSavingsType
59+
- Added Interface PagedAsyncIterableIterator
60+
- Added Interface PageSettings
61+
- Added Interface PerformanceData
62+
- Added Interface ProxyResource
63+
- Added Interface RecommendedFor
64+
- Added Interface Resource
65+
- Added Interface RestorePollerOptions
66+
- Added Interface SavingsDetailsCommon
67+
- Added Interface SavingsSettings
68+
- Added Interface Scope
69+
- Added Interface SecuritySuitability
70+
- Added Interface SkuDetails
71+
- Added Interface SkusMigrationSuitability
72+
- Added Interface SourceDetails
73+
- Added Interface SourceRecommendationMigrationSuitability
74+
- Added Interface SystemData
75+
- Added Interface TargetDetails
76+
- Added Interface TargetSourcePair
77+
- Added Class MigrateClient
78+
- Added Type Alias ActionType
79+
- Added Type Alias AssessedMachineType
80+
- Added Type Alias AssessmentSource
81+
- Added Type Alias AvsAssessmentScenario
82+
- Added Type Alias AzureAvsNodeType
83+
- Added Type Alias AzureAvsSuitabilityExplanation
84+
- Added Type Alias AzureCurrency
85+
- Added Type Alias AzureManagementOfferingType
86+
- Added Type Alias AzureOffer
87+
- Added Type Alias AzureReservedInstance
88+
- Added Type Alias AzureTarget
89+
- Added Type Alias CloudSuitabilityCommon
90+
- Added Type Alias ContinuablePage
91+
- Added Type Alias CostType
92+
- Added Type Alias CreatedByType
93+
- Added Type Alias EnvironmentType
94+
- Added Type Alias ExternalStorageType
95+
- Added Type Alias FttAndRaidLevel
96+
- Added Type Alias GuestOperatingSystemArchitecture
97+
- Added Type Alias LicensingProgram
98+
- Added Type Alias LinkageKind
99+
- Added Type Alias LinkageType
100+
- Added Type Alias MigrateWorkloadType
101+
- Added Type Alias MigrationIssuesCategory
102+
- Added Type Alias MigrationPlatform
103+
- Added Type Alias MigrationType
104+
- Added Type Alias NetworkSkuType
105+
- Added Type Alias Origin
106+
- Added Type Alias SavingsOptions
107+
- Added Type Alias SavingsType
108+
- Added Type Alias ScopeType
109+
- Added Type Alias SkuKind
110+
- Added Type Alias SkuType
111+
- Added Type Alias StrategyType
112+
- Added Type Alias SummaryType
113+
- Interface Operation has a new optional parameter actionType
114+
- Interface Operation has a new optional parameter isDataAction
115+
- Added Enum KnownActionType
116+
- Added Enum KnownAssessedMachineType
117+
- Added Enum KnownAssessmentSource
118+
- Added Enum KnownAvsApiVersions
119+
- Added Enum KnownAvsAssessmentScenario
120+
- Added Enum KnownAzureAvsNodeType
121+
- Added Enum KnownAzureAvsSuitabilityExplanation
122+
- Added Enum KnownAzureCurrency
123+
- Added Enum KnownAzureManagementOfferingType
124+
- Added Enum KnownAzureOffer
125+
- Added Enum KnownAzureReservedInstance
126+
- Added Enum KnownAzureTarget
127+
- Added Enum KnownCloudSuitabilityCommon
128+
- Added Enum KnownCostType
129+
- Added Enum KnownCreatedByType
130+
- Added Enum KnownEnvironmentType
131+
- Added Enum KnownExternalStorageType
132+
- Added Enum KnownFttAndRaidLevel
133+
- Added Enum KnownGuestOperatingSystemArchitecture
134+
- Added Enum KnownLicensingProgram
135+
- Added Enum KnownLinkageKind
136+
- Added Enum KnownLinkageType
137+
- Added Enum KnownMigrateWorkloadType
138+
- Added Enum KnownMigrationIssuesCategory
139+
- Added Enum KnownMigrationPlatform
140+
- Added Enum KnownMigrationType
141+
- Added Enum KnownNetworkSkuType
142+
- Added Enum KnownOrigin
143+
- Added Enum KnownSavingsOptions
144+
- Added Enum KnownSavingsType
145+
- Added Enum KnownScopeType
146+
- Added Enum KnownSkuKind
147+
- Added Enum KnownSkuType
148+
- Added Enum KnownStrategyType
149+
- Added Enum KnownSummaryType
150+
- Enum KnownAssessmentStatus has a new value Deleted
151+
- Enum KnownAssessmentStatus has a new value Failed
152+
- Enum KnownAzureLocation has a new value AustraliaCentral
153+
- Enum KnownAzureLocation has a new value AustraliaCentral2
154+
- Enum KnownAzureLocation has a new value ChinaEast2
155+
- Enum KnownAzureLocation has a new value ChinaNorth2
156+
- Enum KnownAzureLocation has a new value FranceCentral
157+
- Enum KnownAzureLocation has a new value FranceSouth
158+
- Enum KnownAzureLocation has a new value GermanyNorth
159+
- Enum KnownAzureLocation has a new value GermanyWestCentral
160+
- Enum KnownAzureLocation has a new value IsraelCentral
161+
- Enum KnownAzureLocation has a new value ItalyNorth
162+
- Enum KnownAzureLocation has a new value JioIndiaWest
163+
- Enum KnownAzureLocation has a new value MexicoCentral
164+
- Enum KnownAzureLocation has a new value NewZealandNorth
165+
- Enum KnownAzureLocation has a new value NorwayEast
166+
- Enum KnownAzureLocation has a new value NorwayWest
167+
- Enum KnownAzureLocation has a new value PolandCentral
168+
- Enum KnownAzureLocation has a new value QatarCentral
169+
- Enum KnownAzureLocation has a new value SouthAfricaNorth
170+
- Enum KnownAzureLocation has a new value SouthAfricaWest
171+
- Enum KnownAzureLocation has a new value SpainCentral
172+
- Enum KnownAzureLocation has a new value SwedenCentral
173+
- Enum KnownAzureLocation has a new value SwitzerlandNorth
174+
- Enum KnownAzureLocation has a new value SwitzerlandWest
175+
- Enum KnownAzureLocation has a new value UAECentral
176+
- Enum KnownAzureLocation has a new value UAENorth
177+
- Enum KnownAzureLocation has a new value UsNatEast
178+
- Enum KnownAzureLocation has a new value UsNatWest
179+
- Enum KnownAzureLocation has a new value UsSecCentral
180+
- Enum KnownAzureLocation has a new value UsSecEast
181+
- Enum KnownAzureLocation has a new value UsSecWest
182+
- Enum KnownMachineBootType has a new value NotSpecified
183+
- Enum KnownPercentile has a new value PercentileUnknown
184+
- Enum KnownProvisioningState has a new value Canceled
185+
- Enum KnownProvisioningState has a new value Provisioning
186+
- Enum KnownProvisioningState has a new value Updating
187+
- Added function restorePoller
8188

9-
### Bugs Fixed
10-
11-
### Other Changes
189+
### Breaking Changes
12190

191+
- Removed operation group AssessedMachines
192+
- Removed operation group Assessments
193+
- Removed operation group Groups
194+
- Removed operation group HyperVCollectors
195+
- Removed operation group ImportCollectors
196+
- Removed operation group Machines
197+
- Removed operation group PrivateEndpointConnectionOperations
198+
- Removed operation group PrivateLinkResourceOperations
199+
- Removed operation group Projects
200+
- Removed operation group ServerCollectors
201+
- Removed operation group VMwareCollectors
202+
- Deleted Class AzureMigrateV2
203+
- Parameter assessmentReportUrl of interface DownloadUrl is now required
204+
- Parameter expirationTime of interface DownloadUrl is now required
205+
- Type of parameter origin of interface Operation is changed from string to Origin
206+
- Removed Enum KnownAssessmentStage
207+
- Removed Enum KnownAzureDiskSize
208+
- Removed Enum KnownAzureDiskSuitabilityDetail
209+
- Removed Enum KnownAzureDiskSuitabilityExplanation
210+
- Removed Enum KnownAzureDiskType
211+
- Removed Enum KnownAzureHybridUseBenefit
212+
- Removed Enum KnownAzureNetworkAdapterSuitabilityDetail
213+
- Removed Enum KnownAzureNetworkAdapterSuitabilityExplanation
214+
- Removed Enum KnownAzureOfferCode
215+
- Removed Enum KnownAzurePricingTier
216+
- Removed Enum KnownAzureStorageRedundancy
217+
- Removed Enum KnownAzureVmFamily
218+
- Removed Enum KnownAzureVmSize
219+
- Removed Enum KnownAzureVmSuitabilityDetail
220+
- Removed Enum KnownAzureVmSuitabilityExplanation
221+
- Removed Enum KnownCurrency
222+
- Removed Enum KnownGroupStatus
223+
- Removed Enum KnownGroupUpdateOperation
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 24 additions & 26 deletions
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

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)