From 119ba51144937627ec73377b60462f34e1a0b8a5 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Fri, 22 Oct 2021 03:24:44 +0000 Subject: [PATCH] CodeGen from PR 16325 in Azure/azure-rest-api-specs replace resource with proxyresource (#16325) Co-authored-by: Alex Goldschmidt --- .../consumption/armconsumption/CHANGELOG.md | 3 +++ sdk/resourcemanager/consumption/armconsumption/autorest.md | 6 +++--- sdk/resourcemanager/consumption/armconsumption/go.mod | 2 +- sdk/resourcemanager/consumption/armconsumption/go.sum | 4 ++-- .../armconsumption/zz_generated_aggregatedcost_client.go | 7 +++---- .../armconsumption/zz_generated_balances_client.go | 7 +++---- .../armconsumption/zz_generated_budgets_client.go | 7 +++---- .../armconsumption/zz_generated_charges_client.go | 5 ++--- .../consumption/armconsumption/zz_generated_constants.go | 2 +- .../armconsumption/zz_generated_credits_client.go | 7 +++---- .../armconsumption/zz_generated_events_client.go | 7 +++---- .../consumption/armconsumption/zz_generated_lots_client.go | 7 +++---- .../armconsumption/zz_generated_marketplaces_client.go | 7 +++---- .../consumption/armconsumption/zz_generated_models.go | 3 +-- .../armconsumption/zz_generated_operations_client.go | 3 +-- .../consumption/armconsumption/zz_generated_pagers.go | 5 ++--- .../armconsumption/zz_generated_pricesheet_client.go | 7 +++---- ...zz_generated_reservationrecommendationdetails_client.go | 5 ++--- .../zz_generated_reservationrecommendations_client.go | 5 ++--- .../zz_generated_reservationsdetails_client.go | 7 +++---- .../zz_generated_reservationssummaries_client.go | 7 +++---- .../zz_generated_reservationtransactions_client.go | 7 +++---- .../consumption/armconsumption/zz_generated_tags_client.go | 5 ++--- .../armconsumption/zz_generated_usagedetails_client.go | 7 +++---- 24 files changed, 58 insertions(+), 74 deletions(-) diff --git a/sdk/resourcemanager/consumption/armconsumption/CHANGELOG.md b/sdk/resourcemanager/consumption/armconsumption/CHANGELOG.md index 1f7250ae5937..a1b17b512556 100644 --- a/sdk/resourcemanager/consumption/armconsumption/CHANGELOG.md +++ b/sdk/resourcemanager/consumption/armconsumption/CHANGELOG.md @@ -1,5 +1,8 @@ # Release History +## 0.1.1 (2021-10-22) +No exported changes + ## 0.1.0 (2021-10-20) - Initial preview release. diff --git a/sdk/resourcemanager/consumption/armconsumption/autorest.md b/sdk/resourcemanager/consumption/armconsumption/autorest.md index 26112f484b8f..ce3f6ee5526f 100644 --- a/sdk/resourcemanager/consumption/armconsumption/autorest.md +++ b/sdk/resourcemanager/consumption/armconsumption/autorest.md @@ -5,8 +5,8 @@ ``` yaml azure-arm: true require: -- https://github.com/Azure/azure-rest-api-specs/blob/009e56c61035aab068711e519a9df73ae40654b2/specification/consumption/resource-manager/readme.md -- https://github.com/Azure/azure-rest-api-specs/blob/009e56c61035aab068711e519a9df73ae40654b2/specification/consumption/resource-manager/readme.go.md +- /home/vsts/work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/readme.md +- /home/vsts/work/1/s/azure-rest-api-specs/specification/consumption/resource-manager/readme.go.md license-header: MICROSOFT_MIT_NO_VERSION -module-version: 0.1.0 +module-version: 0.1.1 ``` \ No newline at end of file diff --git a/sdk/resourcemanager/consumption/armconsumption/go.mod b/sdk/resourcemanager/consumption/armconsumption/go.mod index d019611b3ca2..1af478c83daa 100644 --- a/sdk/resourcemanager/consumption/armconsumption/go.mod +++ b/sdk/resourcemanager/consumption/armconsumption/go.mod @@ -3,6 +3,6 @@ module github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/consumption/armcons go 1.16 require ( - github.com/Azure/azure-sdk-for-go v58.2.0+incompatible + github.com/Azure/azure-sdk-for-go v58.3.0+incompatible github.com/Azure/azure-sdk-for-go/sdk/azcore v0.19.0 ) diff --git a/sdk/resourcemanager/consumption/armconsumption/go.sum b/sdk/resourcemanager/consumption/armconsumption/go.sum index c8ff7a2143ad..af10d0f1292e 100644 --- a/sdk/resourcemanager/consumption/armconsumption/go.sum +++ b/sdk/resourcemanager/consumption/armconsumption/go.sum @@ -1,5 +1,5 @@ -github.com/Azure/azure-sdk-for-go v58.2.0+incompatible h1:iCb2tuoEm3N7ZpUDOvu1Yxl1B3iOVDmaD6weaRuIPzs= -github.com/Azure/azure-sdk-for-go v58.2.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= +github.com/Azure/azure-sdk-for-go v58.3.0+incompatible h1:lb9OWePNuJMiibdxg9XvdbiOldR0Yifge37L4LoOxIs= +github.com/Azure/azure-sdk-for-go v58.3.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= github.com/Azure/azure-sdk-for-go/sdk/azcore v0.19.0 h1:lhSJz9RMbJcTgxifR1hUNJnn6CNYtbgEDtQV22/9RBA= github.com/Azure/azure-sdk-for-go/sdk/azcore v0.19.0/go.mod h1:h6H6c8enJmmocHUbLiiGY6sx7f9i+X3m1CHdd5c6Rdw= github.com/Azure/azure-sdk-for-go/sdk/internal v0.7.0 h1:v9p9TfTbf7AwNb5NYQt7hI41IfPoLFiFkLtb+bmGjT0= diff --git a/sdk/resourcemanager/consumption/armconsumption/zz_generated_aggregatedcost_client.go b/sdk/resourcemanager/consumption/armconsumption/zz_generated_aggregatedcost_client.go index ff59a12ee212..1336bdf5715f 100644 --- a/sdk/resourcemanager/consumption/armconsumption/zz_generated_aggregatedcost_client.go +++ b/sdk/resourcemanager/consumption/armconsumption/zz_generated_aggregatedcost_client.go @@ -12,13 +12,12 @@ import ( "context" "errors" "fmt" - "net/http" - "net/url" - "strings" - "github.com/Azure/azure-sdk-for-go/sdk/azcore/arm" "github.com/Azure/azure-sdk-for-go/sdk/azcore/policy" "github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime" + "net/http" + "net/url" + "strings" ) // AggregatedCostClient contains the methods for the AggregatedCost group. diff --git a/sdk/resourcemanager/consumption/armconsumption/zz_generated_balances_client.go b/sdk/resourcemanager/consumption/armconsumption/zz_generated_balances_client.go index c7f61b649de5..4fe6320efa74 100644 --- a/sdk/resourcemanager/consumption/armconsumption/zz_generated_balances_client.go +++ b/sdk/resourcemanager/consumption/armconsumption/zz_generated_balances_client.go @@ -12,13 +12,12 @@ import ( "context" "errors" "fmt" - "net/http" - "net/url" - "strings" - "github.com/Azure/azure-sdk-for-go/sdk/azcore/arm" "github.com/Azure/azure-sdk-for-go/sdk/azcore/policy" "github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime" + "net/http" + "net/url" + "strings" ) // BalancesClient contains the methods for the Balances group. diff --git a/sdk/resourcemanager/consumption/armconsumption/zz_generated_budgets_client.go b/sdk/resourcemanager/consumption/armconsumption/zz_generated_budgets_client.go index 4b8af2fb4595..15646a482841 100644 --- a/sdk/resourcemanager/consumption/armconsumption/zz_generated_budgets_client.go +++ b/sdk/resourcemanager/consumption/armconsumption/zz_generated_budgets_client.go @@ -12,13 +12,12 @@ import ( "context" "errors" "fmt" - "net/http" - "net/url" - "strings" - "github.com/Azure/azure-sdk-for-go/sdk/azcore/arm" "github.com/Azure/azure-sdk-for-go/sdk/azcore/policy" "github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime" + "net/http" + "net/url" + "strings" ) // BudgetsClient contains the methods for the Budgets group. diff --git a/sdk/resourcemanager/consumption/armconsumption/zz_generated_charges_client.go b/sdk/resourcemanager/consumption/armconsumption/zz_generated_charges_client.go index fcc88716f9b7..68ff11cdb5ee 100644 --- a/sdk/resourcemanager/consumption/armconsumption/zz_generated_charges_client.go +++ b/sdk/resourcemanager/consumption/armconsumption/zz_generated_charges_client.go @@ -12,12 +12,11 @@ import ( "context" "errors" "fmt" - "net/http" - "strings" - "github.com/Azure/azure-sdk-for-go/sdk/azcore/arm" "github.com/Azure/azure-sdk-for-go/sdk/azcore/policy" "github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime" + "net/http" + "strings" ) // ChargesClient contains the methods for the Charges group. diff --git a/sdk/resourcemanager/consumption/armconsumption/zz_generated_constants.go b/sdk/resourcemanager/consumption/armconsumption/zz_generated_constants.go index 252b29963e68..f05951091ff3 100644 --- a/sdk/resourcemanager/consumption/armconsumption/zz_generated_constants.go +++ b/sdk/resourcemanager/consumption/armconsumption/zz_generated_constants.go @@ -10,7 +10,7 @@ package armconsumption const ( module = "armconsumption" - version = "v0.1.0" + version = "v0.1.1" ) // BillingFrequency - The billing frequency. diff --git a/sdk/resourcemanager/consumption/armconsumption/zz_generated_credits_client.go b/sdk/resourcemanager/consumption/armconsumption/zz_generated_credits_client.go index 57540f4cb20f..1a0b9f9a218b 100644 --- a/sdk/resourcemanager/consumption/armconsumption/zz_generated_credits_client.go +++ b/sdk/resourcemanager/consumption/armconsumption/zz_generated_credits_client.go @@ -12,13 +12,12 @@ import ( "context" "errors" "fmt" - "net/http" - "net/url" - "strings" - "github.com/Azure/azure-sdk-for-go/sdk/azcore/arm" "github.com/Azure/azure-sdk-for-go/sdk/azcore/policy" "github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime" + "net/http" + "net/url" + "strings" ) // CreditsClient contains the methods for the Credits group. diff --git a/sdk/resourcemanager/consumption/armconsumption/zz_generated_events_client.go b/sdk/resourcemanager/consumption/armconsumption/zz_generated_events_client.go index 502de8e7cf7f..5d9a4ad2770a 100644 --- a/sdk/resourcemanager/consumption/armconsumption/zz_generated_events_client.go +++ b/sdk/resourcemanager/consumption/armconsumption/zz_generated_events_client.go @@ -12,13 +12,12 @@ import ( "context" "errors" "fmt" - "net/http" - "net/url" - "strings" - "github.com/Azure/azure-sdk-for-go/sdk/azcore/arm" "github.com/Azure/azure-sdk-for-go/sdk/azcore/policy" "github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime" + "net/http" + "net/url" + "strings" ) // EventsClient contains the methods for the Events group. diff --git a/sdk/resourcemanager/consumption/armconsumption/zz_generated_lots_client.go b/sdk/resourcemanager/consumption/armconsumption/zz_generated_lots_client.go index 3c07af4431d1..9158951fa787 100644 --- a/sdk/resourcemanager/consumption/armconsumption/zz_generated_lots_client.go +++ b/sdk/resourcemanager/consumption/armconsumption/zz_generated_lots_client.go @@ -12,13 +12,12 @@ import ( "context" "errors" "fmt" - "net/http" - "net/url" - "strings" - "github.com/Azure/azure-sdk-for-go/sdk/azcore/arm" "github.com/Azure/azure-sdk-for-go/sdk/azcore/policy" "github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime" + "net/http" + "net/url" + "strings" ) // LotsClient contains the methods for the Lots group. diff --git a/sdk/resourcemanager/consumption/armconsumption/zz_generated_marketplaces_client.go b/sdk/resourcemanager/consumption/armconsumption/zz_generated_marketplaces_client.go index 395e9b79d53a..fabe917979ff 100644 --- a/sdk/resourcemanager/consumption/armconsumption/zz_generated_marketplaces_client.go +++ b/sdk/resourcemanager/consumption/armconsumption/zz_generated_marketplaces_client.go @@ -12,13 +12,12 @@ import ( "context" "errors" "fmt" - "net/http" - "strconv" - "strings" - "github.com/Azure/azure-sdk-for-go/sdk/azcore/arm" "github.com/Azure/azure-sdk-for-go/sdk/azcore/policy" "github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime" + "net/http" + "strconv" + "strings" ) // MarketplacesClient contains the methods for the Marketplaces group. diff --git a/sdk/resourcemanager/consumption/armconsumption/zz_generated_models.go b/sdk/resourcemanager/consumption/armconsumption/zz_generated_models.go index e159c1a08fd7..dffa4ef84dc3 100644 --- a/sdk/resourcemanager/consumption/armconsumption/zz_generated_models.go +++ b/sdk/resourcemanager/consumption/armconsumption/zz_generated_models.go @@ -10,10 +10,9 @@ package armconsumption import ( "encoding/json" + "github.com/Azure/azure-sdk-for-go/sdk/azcore" "reflect" "time" - - "github.com/Azure/azure-sdk-for-go/sdk/azcore" ) // AggregatedCostGetByManagementGroupOptions contains the optional parameters for the AggregatedCost.GetByManagementGroup method. diff --git a/sdk/resourcemanager/consumption/armconsumption/zz_generated_operations_client.go b/sdk/resourcemanager/consumption/armconsumption/zz_generated_operations_client.go index 187b989403da..82bdd445d1d2 100644 --- a/sdk/resourcemanager/consumption/armconsumption/zz_generated_operations_client.go +++ b/sdk/resourcemanager/consumption/armconsumption/zz_generated_operations_client.go @@ -11,11 +11,10 @@ package armconsumption import ( "context" "fmt" - "net/http" - "github.com/Azure/azure-sdk-for-go/sdk/azcore/arm" "github.com/Azure/azure-sdk-for-go/sdk/azcore/policy" "github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime" + "net/http" ) // OperationsClient contains the methods for the Operations group. diff --git a/sdk/resourcemanager/consumption/armconsumption/zz_generated_pagers.go b/sdk/resourcemanager/consumption/armconsumption/zz_generated_pagers.go index b8715bd18435..da703e628745 100644 --- a/sdk/resourcemanager/consumption/armconsumption/zz_generated_pagers.go +++ b/sdk/resourcemanager/consumption/armconsumption/zz_generated_pagers.go @@ -10,11 +10,10 @@ package armconsumption import ( "context" - "net/http" - "reflect" - "github.com/Azure/azure-sdk-for-go/sdk/azcore/policy" "github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime" + "net/http" + "reflect" ) // BudgetsListPager provides operations for iterating over paged responses. diff --git a/sdk/resourcemanager/consumption/armconsumption/zz_generated_pricesheet_client.go b/sdk/resourcemanager/consumption/armconsumption/zz_generated_pricesheet_client.go index 380fa5168069..07bec95ab8be 100644 --- a/sdk/resourcemanager/consumption/armconsumption/zz_generated_pricesheet_client.go +++ b/sdk/resourcemanager/consumption/armconsumption/zz_generated_pricesheet_client.go @@ -12,14 +12,13 @@ import ( "context" "errors" "fmt" + "github.com/Azure/azure-sdk-for-go/sdk/azcore/arm" + "github.com/Azure/azure-sdk-for-go/sdk/azcore/policy" + "github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime" "net/http" "net/url" "strconv" "strings" - - "github.com/Azure/azure-sdk-for-go/sdk/azcore/arm" - "github.com/Azure/azure-sdk-for-go/sdk/azcore/policy" - "github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime" ) // PriceSheetClient contains the methods for the PriceSheet group. diff --git a/sdk/resourcemanager/consumption/armconsumption/zz_generated_reservationrecommendationdetails_client.go b/sdk/resourcemanager/consumption/armconsumption/zz_generated_reservationrecommendationdetails_client.go index dd543218df7a..a3d23844726f 100644 --- a/sdk/resourcemanager/consumption/armconsumption/zz_generated_reservationrecommendationdetails_client.go +++ b/sdk/resourcemanager/consumption/armconsumption/zz_generated_reservationrecommendationdetails_client.go @@ -12,12 +12,11 @@ import ( "context" "errors" "fmt" - "net/http" - "strings" - "github.com/Azure/azure-sdk-for-go/sdk/azcore/arm" "github.com/Azure/azure-sdk-for-go/sdk/azcore/policy" "github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime" + "net/http" + "strings" ) // ReservationRecommendationDetailsClient contains the methods for the ReservationRecommendationDetails group. diff --git a/sdk/resourcemanager/consumption/armconsumption/zz_generated_reservationrecommendations_client.go b/sdk/resourcemanager/consumption/armconsumption/zz_generated_reservationrecommendations_client.go index bf9cf70ee88c..131f0220b197 100644 --- a/sdk/resourcemanager/consumption/armconsumption/zz_generated_reservationrecommendations_client.go +++ b/sdk/resourcemanager/consumption/armconsumption/zz_generated_reservationrecommendations_client.go @@ -12,12 +12,11 @@ import ( "context" "errors" "fmt" - "net/http" - "strings" - "github.com/Azure/azure-sdk-for-go/sdk/azcore/arm" "github.com/Azure/azure-sdk-for-go/sdk/azcore/policy" "github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime" + "net/http" + "strings" ) // ReservationRecommendationsClient contains the methods for the ReservationRecommendations group. diff --git a/sdk/resourcemanager/consumption/armconsumption/zz_generated_reservationsdetails_client.go b/sdk/resourcemanager/consumption/armconsumption/zz_generated_reservationsdetails_client.go index fcfb638deb0e..7d3a930bcc19 100644 --- a/sdk/resourcemanager/consumption/armconsumption/zz_generated_reservationsdetails_client.go +++ b/sdk/resourcemanager/consumption/armconsumption/zz_generated_reservationsdetails_client.go @@ -12,13 +12,12 @@ import ( "context" "errors" "fmt" - "net/http" - "net/url" - "strings" - "github.com/Azure/azure-sdk-for-go/sdk/azcore/arm" "github.com/Azure/azure-sdk-for-go/sdk/azcore/policy" "github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime" + "net/http" + "net/url" + "strings" ) // ReservationsDetailsClient contains the methods for the ReservationsDetails group. diff --git a/sdk/resourcemanager/consumption/armconsumption/zz_generated_reservationssummaries_client.go b/sdk/resourcemanager/consumption/armconsumption/zz_generated_reservationssummaries_client.go index 5c4e1d2b271a..c031a67b9491 100644 --- a/sdk/resourcemanager/consumption/armconsumption/zz_generated_reservationssummaries_client.go +++ b/sdk/resourcemanager/consumption/armconsumption/zz_generated_reservationssummaries_client.go @@ -12,13 +12,12 @@ import ( "context" "errors" "fmt" - "net/http" - "net/url" - "strings" - "github.com/Azure/azure-sdk-for-go/sdk/azcore/arm" "github.com/Azure/azure-sdk-for-go/sdk/azcore/policy" "github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime" + "net/http" + "net/url" + "strings" ) // ReservationsSummariesClient contains the methods for the ReservationsSummaries group. diff --git a/sdk/resourcemanager/consumption/armconsumption/zz_generated_reservationtransactions_client.go b/sdk/resourcemanager/consumption/armconsumption/zz_generated_reservationtransactions_client.go index fae7a11ecc9d..b146ef3b1b18 100644 --- a/sdk/resourcemanager/consumption/armconsumption/zz_generated_reservationtransactions_client.go +++ b/sdk/resourcemanager/consumption/armconsumption/zz_generated_reservationtransactions_client.go @@ -12,13 +12,12 @@ import ( "context" "errors" "fmt" - "net/http" - "net/url" - "strings" - "github.com/Azure/azure-sdk-for-go/sdk/azcore/arm" "github.com/Azure/azure-sdk-for-go/sdk/azcore/policy" "github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime" + "net/http" + "net/url" + "strings" ) // ReservationTransactionsClient contains the methods for the ReservationTransactions group. diff --git a/sdk/resourcemanager/consumption/armconsumption/zz_generated_tags_client.go b/sdk/resourcemanager/consumption/armconsumption/zz_generated_tags_client.go index b931397dac2d..6691b00482be 100644 --- a/sdk/resourcemanager/consumption/armconsumption/zz_generated_tags_client.go +++ b/sdk/resourcemanager/consumption/armconsumption/zz_generated_tags_client.go @@ -12,12 +12,11 @@ import ( "context" "errors" "fmt" - "net/http" - "strings" - "github.com/Azure/azure-sdk-for-go/sdk/azcore/arm" "github.com/Azure/azure-sdk-for-go/sdk/azcore/policy" "github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime" + "net/http" + "strings" ) // TagsClient contains the methods for the Tags group. diff --git a/sdk/resourcemanager/consumption/armconsumption/zz_generated_usagedetails_client.go b/sdk/resourcemanager/consumption/armconsumption/zz_generated_usagedetails_client.go index d5257ec84dab..97217d5b4050 100644 --- a/sdk/resourcemanager/consumption/armconsumption/zz_generated_usagedetails_client.go +++ b/sdk/resourcemanager/consumption/armconsumption/zz_generated_usagedetails_client.go @@ -12,13 +12,12 @@ import ( "context" "errors" "fmt" - "net/http" - "strconv" - "strings" - "github.com/Azure/azure-sdk-for-go/sdk/azcore/arm" "github.com/Azure/azure-sdk-for-go/sdk/azcore/policy" "github.com/Azure/azure-sdk-for-go/sdk/azcore/runtime" + "net/http" + "strconv" + "strings" ) // UsageDetailsClient contains the methods for the UsageDetails group.