Skip to content

Commit f1d9ddd

Browse files
author
SDKAuto
committed
CodeGen from PR 33891 in Azure/azure-rest-api-specs
Merge 85a0ca2368ebf6a3f33d6831a6b72a04a616ae40 into 17365a7eb28d3ee578e5307f6091ee172bdfbfa3
1 parent 74f2203 commit f1d9ddd

Some content is hidden

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

51 files changed

+4733
-2595
lines changed

sdk/resourcemanager/loadtesting/armloadtesting/CHANGELOG.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,58 @@
11
# Release History
22

3+
## 2.0.0-beta.1 (2025-04-28)
4+
### Breaking Changes
5+
6+
- Enum `ActionType` has been removed
7+
- Enum `Origin` has been removed
8+
- Function `*ClientFactory.NewLoadTestsClient` has been removed
9+
- Function `*ClientFactory.NewOperationsClient` has been removed
10+
- Function `*ClientFactory.NewQuotasClient` has been removed
11+
- Function `NewLoadTestsClient` has been removed
12+
- Function `*LoadTestsClient.BeginCreateOrUpdate` has been removed
13+
- Function `*LoadTestsClient.BeginDelete` has been removed
14+
- Function `*LoadTestsClient.Get` has been removed
15+
- Function `*LoadTestsClient.NewListByResourceGroupPager` has been removed
16+
- Function `*LoadTestsClient.NewListBySubscriptionPager` has been removed
17+
- Function `*LoadTestsClient.NewListOutboundNetworkDependenciesEndpointsPager` has been removed
18+
- Function `*LoadTestsClient.BeginUpdate` has been removed
19+
- Function `NewOperationsClient` has been removed
20+
- Function `*OperationsClient.NewListPager` has been removed
21+
- Function `NewQuotasClient` has been removed
22+
- Function `*QuotasClient.CheckAvailability` has been removed
23+
- Function `*QuotasClient.Get` has been removed
24+
- Function `*QuotasClient.NewListPager` has been removed
25+
- Struct `LoadTestResourcePageList` has been removed
26+
- Struct `LoadTestResourcePatchRequestBody` has been removed
27+
- Struct `LoadTestResourcePatchRequestBodyProperties` has been removed
28+
- Struct `Operation` has been removed
29+
- Struct `OperationDisplay` has been removed
30+
- Struct `OperationListResult` has been removed
31+
- Struct `OutboundEnvironmentEndpointCollection` has been removed
32+
- Struct `QuotaResourceList` has been removed
33+
- Field `ID`, `Name`, `SystemData`, `Type` of struct `QuotaBucketRequest` has been removed
34+
35+
### Features Added
36+
37+
- New function `*ClientFactory.NewLoadTestMgmtClient() *LoadTestMgmtClient`
38+
- New function `NewLoadTestMgmtClient(string, azcore.TokenCredential, *arm.ClientOptions) (*LoadTestMgmtClient, error)`
39+
- New function `*LoadTestMgmtClient.CheckAvailabilityQuota(context.Context, string, string, QuotaBucketRequest, *LoadTestMgmtClientCheckAvailabilityQuotaOptions) (LoadTestMgmtClientCheckAvailabilityQuotaResponse, error)`
40+
- New function `*LoadTestMgmtClient.BeginCreateOrUpdateLoadtest(context.Context, string, string, LoadTestResource, *LoadTestMgmtClientBeginCreateOrUpdateLoadtestOptions) (*runtime.Poller[LoadTestMgmtClientCreateOrUpdateLoadtestResponse], error)`
41+
- New function `*LoadTestMgmtClient.BeginDeleteLoadtest(context.Context, string, string, *LoadTestMgmtClientBeginDeleteLoadtestOptions) (*runtime.Poller[LoadTestMgmtClientDeleteLoadtestResponse], error)`
42+
- New function `*LoadTestMgmtClient.GetLoadtest(context.Context, string, string, *LoadTestMgmtClientGetLoadtestOptions) (LoadTestMgmtClientGetLoadtestResponse, error)`
43+
- New function `*LoadTestMgmtClient.GetQuota(context.Context, string, string, *LoadTestMgmtClientGetQuotaOptions) (LoadTestMgmtClientGetQuotaResponse, error)`
44+
- New function `*LoadTestMgmtClient.NewListByResourceGroupPager(string, *LoadTestMgmtClientListByResourceGroupOptions) *runtime.Pager[LoadTestMgmtClientListByResourceGroupResponse]`
45+
- New function `*LoadTestMgmtClient.NewListBySubscriptionPager(*LoadTestMgmtClientListBySubscriptionOptions) *runtime.Pager[LoadTestMgmtClientListBySubscriptionResponse]`
46+
- New function `*LoadTestMgmtClient.NewListQuotaPager(string, *LoadTestMgmtClientListQuotaOptions) *runtime.Pager[LoadTestMgmtClientListQuotaResponse]`
47+
- New function `*LoadTestMgmtClient.NewOutboundNetworkDependenciesEndpointsPager(string, string, *LoadTestMgmtClientOutboundNetworkDependenciesEndpointsOptions) *runtime.Pager[LoadTestMgmtClientOutboundNetworkDependenciesEndpointsResponse]`
48+
- New function `*LoadTestMgmtClient.BeginUpdateLoadtest(context.Context, string, string, LoadTestResourceUpdate, *LoadTestMgmtClientBeginUpdateLoadtestOptions) (*runtime.Poller[LoadTestMgmtClientUpdateLoadtestResponse], error)`
49+
- New struct `LoadTestResourceListResult`
50+
- New struct `LoadTestResourceUpdate`
51+
- New struct `LoadTestResourceUpdateProperties`
52+
- New struct `PagedOutboundEnvironmentEndpoint`
53+
- New struct `QuotaResourceListResult`
54+
55+
356
## 1.2.0 (2023-11-24)
457
### Features Added
558

sdk/resourcemanager/loadtesting/armloadtesting/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This project uses [Go modules](https://github.com/golang/go/wiki/Modules) for ve
1818
Install the Azure Load Testing module:
1919

2020
```sh
21-
go get github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/loadtesting/armloadtesting
21+
go get github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/loadtesting/armloadtesting/v2
2222
```
2323

2424
## Authorization
@@ -55,7 +55,7 @@ clientFactory, err := armloadtesting.NewClientFactory(<subscription ID>, cred, &
5555
A client groups a set of related APIs, providing access to its functionality. Create one or more clients to access the APIs you require using client factory.
5656

5757
```go
58-
client := clientFactory.NewLoadTestsClient()
58+
client := clientFactory.NewLoadTestMgmtClient()
5959
```
6060

6161
## Fakes

sdk/resourcemanager/loadtesting/armloadtesting/autorest.md

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

sdk/resourcemanager/loadtesting/armloadtesting/build.go

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

sdk/resourcemanager/loadtesting/armloadtesting/client_factory.go

Lines changed: 12 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/resourcemanager/loadtesting/armloadtesting/constants.go

Lines changed: 28 additions & 51 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/resourcemanager/loadtesting/armloadtesting/fake/internal.go

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)