From 2d360150b894893628d7621ab022e91199f4c6c8 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Mon, 18 Apr 2022 04:08:14 +0000 Subject: [PATCH] CodeGen from PR 18685 in Azure/azure-rest-api-specs Merge cb17b8554b3898eae868d5c4623c16cabdbd4cbd into 5575aeff7364faef03c26a3661e1e64a6bb693a7 --- .../resources/armfeatures/CHANGELOG.md | 18 +++ .../resources/armfeatures/autorest.md | 6 +- .../resources/armfeatures/go.mod | 2 +- ...rated_example_featureclient_client_test.go | 44 ------ ..._generated_example_features_client_test.go | 147 ----------------- ...riptionfeatureregistrations_client_test.go | 148 ------------------ .../armfeatures/zz_generated_client.go | 8 +- .../armfeatures/zz_generated_constants.go | 2 +- .../zz_generated_feature_client.go | 4 +- ...subscriptionfeatureregistrations_client.go | 8 +- 10 files changed, 33 insertions(+), 354 deletions(-) delete mode 100644 sdk/resourcemanager/resources/armfeatures/ze_generated_example_featureclient_client_test.go delete mode 100644 sdk/resourcemanager/resources/armfeatures/ze_generated_example_features_client_test.go delete mode 100644 sdk/resourcemanager/resources/armfeatures/ze_generated_example_subscriptionfeatureregistrations_client_test.go diff --git a/sdk/resourcemanager/resources/armfeatures/CHANGELOG.md b/sdk/resourcemanager/resources/armfeatures/CHANGELOG.md index 80371224d88a..e2194da85e0f 100644 --- a/sdk/resourcemanager/resources/armfeatures/CHANGELOG.md +++ b/sdk/resourcemanager/resources/armfeatures/CHANGELOG.md @@ -1,5 +1,23 @@ # Release History +## 0.4.0 (2022-04-18) +### Breaking Changes + +- Function `*Client.ListAll` has been removed +- Function `*FeatureClient.ListOperations` has been removed +- Function `*SubscriptionFeatureRegistrationsClient.ListAllBySubscription` has been removed +- Function `*SubscriptionFeatureRegistrationsClient.ListBySubscription` has been removed +- Function `*Client.List` has been removed + +### Features Added + +- New function `*Client.NewListPager(string, *ClientListOptions) *runtime.Pager[ClientListResponse]` +- New function `*FeatureClient.NewListOperationsPager(*FeatureClientListOperationsOptions) *runtime.Pager[FeatureClientListOperationsResponse]` +- New function `*Client.NewListAllPager(*ClientListAllOptions) *runtime.Pager[ClientListAllResponse]` +- New function `*SubscriptionFeatureRegistrationsClient.NewListAllBySubscriptionPager(*SubscriptionFeatureRegistrationsClientListAllBySubscriptionOptions) *runtime.Pager[SubscriptionFeatureRegistrationsClientListAllBySubscriptionResponse]` +- New function `*SubscriptionFeatureRegistrationsClient.NewListBySubscriptionPager(string, *SubscriptionFeatureRegistrationsClientListBySubscriptionOptions) *runtime.Pager[SubscriptionFeatureRegistrationsClientListBySubscriptionResponse]` + + ## 0.3.0 (2022-04-14) ### Breaking Changes diff --git a/sdk/resourcemanager/resources/armfeatures/autorest.md b/sdk/resourcemanager/resources/armfeatures/autorest.md index a8de9aaa38fc..878fbdcecfb8 100644 --- a/sdk/resourcemanager/resources/armfeatures/autorest.md +++ b/sdk/resourcemanager/resources/armfeatures/autorest.md @@ -5,9 +5,9 @@ ``` yaml azure-arm: true require: -- https://github.com/Azure/azure-rest-api-specs/blob/49135492d5ea1c15f1ba53813c4be8cb2109c416/specification/resources/resource-manager/readme.md -- https://github.com/Azure/azure-rest-api-specs/blob/49135492d5ea1c15f1ba53813c4be8cb2109c416/specification/resources/resource-manager/readme.go.md +- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/resources/resource-manager/readme.md +- /mnt/vss/_work/1/s/azure-rest-api-specs/specification/resources/resource-manager/readme.go.md license-header: MICROSOFT_MIT_NO_VERSION -module-version: 0.3.0 +module-version: 0.4.0 package-features: true ``` \ No newline at end of file diff --git a/sdk/resourcemanager/resources/armfeatures/go.mod b/sdk/resourcemanager/resources/armfeatures/go.mod index e32c6677956b..703c63eb4a33 100644 --- a/sdk/resourcemanager/resources/armfeatures/go.mod +++ b/sdk/resourcemanager/resources/armfeatures/go.mod @@ -4,12 +4,12 @@ go 1.18 require ( github.com/Azure/azure-sdk-for-go/sdk/azcore v0.23.0 - github.com/Azure/azure-sdk-for-go/sdk/azidentity v0.14.0 github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/internal v0.3.0 github.com/stretchr/testify v1.7.0 ) require ( + github.com/Azure/azure-sdk-for-go/sdk/azidentity v0.14.0 // indirect github.com/Azure/azure-sdk-for-go/sdk/internal v0.9.1 // indirect github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources v0.4.0 // indirect github.com/AzureAD/microsoft-authentication-library-for-go v0.4.0 // indirect diff --git a/sdk/resourcemanager/resources/armfeatures/ze_generated_example_featureclient_client_test.go b/sdk/resourcemanager/resources/armfeatures/ze_generated_example_featureclient_client_test.go deleted file mode 100644 index eca9b1e23e40..000000000000 --- a/sdk/resourcemanager/resources/armfeatures/ze_generated_example_featureclient_client_test.go +++ /dev/null @@ -1,44 +0,0 @@ -//go:build go1.18 -// +build go1.18 - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -package armfeatures_test - -import ( - "context" - "log" - - "github.com/Azure/azure-sdk-for-go/sdk/azidentity" - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armfeatures" -) - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/listFeaturesOperations.json -func ExampleFeatureClient_ListOperations() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - return - } - ctx := context.Background() - client, err := armfeatures.NewFeatureClient(cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - return - } - pager := client.ListOperations(nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} diff --git a/sdk/resourcemanager/resources/armfeatures/ze_generated_example_features_client_test.go b/sdk/resourcemanager/resources/armfeatures/ze_generated_example_features_client_test.go deleted file mode 100644 index 96595d7f1c51..000000000000 --- a/sdk/resourcemanager/resources/armfeatures/ze_generated_example_features_client_test.go +++ /dev/null @@ -1,147 +0,0 @@ -//go:build go1.18 -// +build go1.18 - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -package armfeatures_test - -import ( - "context" - "log" - - "github.com/Azure/azure-sdk-for-go/sdk/azidentity" - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armfeatures" -) - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/listSubscriptionFeatures.json -func ExampleClient_ListAll() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - return - } - ctx := context.Background() - client, err := armfeatures.NewClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - return - } - pager := client.ListAll(nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/listProviderFeatures.json -func ExampleClient_List() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - return - } - ctx := context.Background() - client, err := armfeatures.NewClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - return - } - pager := client.List("", - nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/getFeature.json -func ExampleClient_Get() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - return - } - ctx := context.Background() - client, err := armfeatures.NewClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - return - } - res, err := client.Get(ctx, - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - return - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/registerFeature.json -func ExampleClient_Register() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - return - } - ctx := context.Background() - client, err := armfeatures.NewClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - return - } - res, err := client.Register(ctx, - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - return - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/unregisterFeature.json -func ExampleClient_Unregister() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - return - } - ctx := context.Background() - client, err := armfeatures.NewClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - return - } - res, err := client.Unregister(ctx, - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - return - } - // TODO: use response item - _ = res -} diff --git a/sdk/resourcemanager/resources/armfeatures/ze_generated_example_subscriptionfeatureregistrations_client_test.go b/sdk/resourcemanager/resources/armfeatures/ze_generated_example_subscriptionfeatureregistrations_client_test.go deleted file mode 100644 index c2d77501657d..000000000000 --- a/sdk/resourcemanager/resources/armfeatures/ze_generated_example_subscriptionfeatureregistrations_client_test.go +++ /dev/null @@ -1,148 +0,0 @@ -//go:build go1.18 -// +build go1.18 - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See License.txt in the project root for license information. -// Code generated by Microsoft (R) AutoRest Code Generator. -// Changes may cause incorrect behavior and will be lost if the code is regenerated. - -package armfeatures_test - -import ( - "context" - "log" - - "github.com/Azure/azure-sdk-for-go/sdk/azidentity" - "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armfeatures" -) - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/FeatureRegistration/SubscriptionFeatureRegistrationGET.json -func ExampleSubscriptionFeatureRegistrationsClient_Get() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - return - } - ctx := context.Background() - client, err := armfeatures.NewSubscriptionFeatureRegistrationsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - return - } - res, err := client.Get(ctx, - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - return - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/FeatureRegistration/SubscriptionFeatureRegistrationPUT.json -func ExampleSubscriptionFeatureRegistrationsClient_CreateOrUpdate() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - return - } - ctx := context.Background() - client, err := armfeatures.NewSubscriptionFeatureRegistrationsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - return - } - res, err := client.CreateOrUpdate(ctx, - "", - "", - &armfeatures.SubscriptionFeatureRegistrationsClientCreateOrUpdateOptions{SubscriptionFeatureRegistrationType: &armfeatures.SubscriptionFeatureRegistration{ - Properties: &armfeatures.SubscriptionFeatureRegistrationProperties{}, - }, - }) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - return - } - // TODO: use response item - _ = res -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/FeatureRegistration/SubscriptionFeatureRegistrationDELETE.json -func ExampleSubscriptionFeatureRegistrationsClient_Delete() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - return - } - ctx := context.Background() - client, err := armfeatures.NewSubscriptionFeatureRegistrationsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - return - } - _, err = client.Delete(ctx, - "", - "", - nil) - if err != nil { - log.Fatalf("failed to finish the request: %v", err) - return - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/FeatureRegistration/SubscriptionFeatureRegistrationLIST.json -func ExampleSubscriptionFeatureRegistrationsClient_ListBySubscription() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - return - } - ctx := context.Background() - client, err := armfeatures.NewSubscriptionFeatureRegistrationsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - return - } - pager := client.ListBySubscription("", - nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} - -// Generated from example definition: https://github.com/Azure/azure-rest-api-specs/tree/main/specification/resources/resource-manager/Microsoft.Features/stable/2021-07-01/examples/FeatureRegistration/SubscriptionFeatureRegistrationLISTALL.json -func ExampleSubscriptionFeatureRegistrationsClient_ListAllBySubscription() { - cred, err := azidentity.NewDefaultAzureCredential(nil) - if err != nil { - log.Fatalf("failed to obtain a credential: %v", err) - return - } - ctx := context.Background() - client, err := armfeatures.NewSubscriptionFeatureRegistrationsClient("", cred, nil) - if err != nil { - log.Fatalf("failed to create client: %v", err) - return - } - pager := client.ListAllBySubscription(nil) - for pager.More() { - nextResult, err := pager.NextPage(ctx) - if err != nil { - log.Fatalf("failed to advance page: %v", err) - return - } - for _, v := range nextResult.Value { - // TODO: use page item - _ = v - } - } -} diff --git a/sdk/resourcemanager/resources/armfeatures/zz_generated_client.go b/sdk/resourcemanager/resources/armfeatures/zz_generated_client.go index a0aafaad6b3c..2059d4021794 100644 --- a/sdk/resourcemanager/resources/armfeatures/zz_generated_client.go +++ b/sdk/resourcemanager/resources/armfeatures/zz_generated_client.go @@ -109,11 +109,11 @@ func (client *Client) getHandleResponse(resp *http.Response) (ClientGetResponse, return result, nil } -// List - Gets all the preview features in a provider namespace that are available through AFEC for the subscription. +// NewListPager - Gets all the preview features in a provider namespace that are available through AFEC for the subscription. // If the operation fails it returns an *azcore.ResponseError type. // resourceProviderNamespace - The namespace of the resource provider for getting features. // options - ClientListOptions contains the optional parameters for the Client.List method. -func (client *Client) List(resourceProviderNamespace string, options *ClientListOptions) *runtime.Pager[ClientListResponse] { +func (client *Client) NewListPager(resourceProviderNamespace string, options *ClientListOptions) *runtime.Pager[ClientListResponse] { return runtime.NewPager(runtime.PageProcessor[ClientListResponse]{ More: func(page ClientListResponse) bool { return page.NextLink != nil && len(*page.NextLink) > 0 @@ -172,10 +172,10 @@ func (client *Client) listHandleResponse(resp *http.Response) (ClientListRespons return result, nil } -// ListAll - Gets all the preview features that are available through AFEC for the subscription. +// NewListAllPager - Gets all the preview features that are available through AFEC for the subscription. // If the operation fails it returns an *azcore.ResponseError type. // options - ClientListAllOptions contains the optional parameters for the Client.ListAll method. -func (client *Client) ListAll(options *ClientListAllOptions) *runtime.Pager[ClientListAllResponse] { +func (client *Client) NewListAllPager(options *ClientListAllOptions) *runtime.Pager[ClientListAllResponse] { return runtime.NewPager(runtime.PageProcessor[ClientListAllResponse]{ More: func(page ClientListAllResponse) bool { return page.NextLink != nil && len(*page.NextLink) > 0 diff --git a/sdk/resourcemanager/resources/armfeatures/zz_generated_constants.go b/sdk/resourcemanager/resources/armfeatures/zz_generated_constants.go index 877b4f1a628d..bce903f2fee2 100644 --- a/sdk/resourcemanager/resources/armfeatures/zz_generated_constants.go +++ b/sdk/resourcemanager/resources/armfeatures/zz_generated_constants.go @@ -10,7 +10,7 @@ package armfeatures const ( moduleName = "armfeatures" - moduleVersion = "v0.3.0" + moduleVersion = "v0.4.0" ) // SubscriptionFeatureRegistrationApprovalType - The feature approval type. diff --git a/sdk/resourcemanager/resources/armfeatures/zz_generated_feature_client.go b/sdk/resourcemanager/resources/armfeatures/zz_generated_feature_client.go index 2971db6307a5..806bc470b1f2 100644 --- a/sdk/resourcemanager/resources/armfeatures/zz_generated_feature_client.go +++ b/sdk/resourcemanager/resources/armfeatures/zz_generated_feature_client.go @@ -48,10 +48,10 @@ func NewFeatureClient(credential azcore.TokenCredential, options *arm.ClientOpti return client, nil } -// ListOperations - Lists all of the available Microsoft.Features REST API operations. +// NewListOperationsPager - Lists all of the available Microsoft.Features REST API operations. // If the operation fails it returns an *azcore.ResponseError type. // options - FeatureClientListOperationsOptions contains the optional parameters for the FeatureClient.ListOperations method. -func (client *FeatureClient) ListOperations(options *FeatureClientListOperationsOptions) *runtime.Pager[FeatureClientListOperationsResponse] { +func (client *FeatureClient) NewListOperationsPager(options *FeatureClientListOperationsOptions) *runtime.Pager[FeatureClientListOperationsResponse] { return runtime.NewPager(runtime.PageProcessor[FeatureClientListOperationsResponse]{ More: func(page FeatureClientListOperationsResponse) bool { return page.NextLink != nil && len(*page.NextLink) > 0 diff --git a/sdk/resourcemanager/resources/armfeatures/zz_generated_subscriptionfeatureregistrations_client.go b/sdk/resourcemanager/resources/armfeatures/zz_generated_subscriptionfeatureregistrations_client.go index 371da85de7f4..12938cba7b60 100644 --- a/sdk/resourcemanager/resources/armfeatures/zz_generated_subscriptionfeatureregistrations_client.go +++ b/sdk/resourcemanager/resources/armfeatures/zz_generated_subscriptionfeatureregistrations_client.go @@ -216,11 +216,11 @@ func (client *SubscriptionFeatureRegistrationsClient) getHandleResponse(resp *ht return result, nil } -// ListAllBySubscription - Returns subscription feature registrations for given subscription. +// NewListAllBySubscriptionPager - Returns subscription feature registrations for given subscription. // If the operation fails it returns an *azcore.ResponseError type. // options - SubscriptionFeatureRegistrationsClientListAllBySubscriptionOptions contains the optional parameters for the SubscriptionFeatureRegistrationsClient.ListAllBySubscription // method. -func (client *SubscriptionFeatureRegistrationsClient) ListAllBySubscription(options *SubscriptionFeatureRegistrationsClientListAllBySubscriptionOptions) *runtime.Pager[SubscriptionFeatureRegistrationsClientListAllBySubscriptionResponse] { +func (client *SubscriptionFeatureRegistrationsClient) NewListAllBySubscriptionPager(options *SubscriptionFeatureRegistrationsClientListAllBySubscriptionOptions) *runtime.Pager[SubscriptionFeatureRegistrationsClientListAllBySubscriptionResponse] { return runtime.NewPager(runtime.PageProcessor[SubscriptionFeatureRegistrationsClientListAllBySubscriptionResponse]{ More: func(page SubscriptionFeatureRegistrationsClientListAllBySubscriptionResponse) bool { return page.NextLink != nil && len(*page.NextLink) > 0 @@ -275,12 +275,12 @@ func (client *SubscriptionFeatureRegistrationsClient) listAllBySubscriptionHandl return result, nil } -// ListBySubscription - Returns subscription feature registrations for given subscription and provider namespace. +// NewListBySubscriptionPager - Returns subscription feature registrations for given subscription and provider namespace. // If the operation fails it returns an *azcore.ResponseError type. // providerNamespace - The provider namespace. // options - SubscriptionFeatureRegistrationsClientListBySubscriptionOptions contains the optional parameters for the SubscriptionFeatureRegistrationsClient.ListBySubscription // method. -func (client *SubscriptionFeatureRegistrationsClient) ListBySubscription(providerNamespace string, options *SubscriptionFeatureRegistrationsClientListBySubscriptionOptions) *runtime.Pager[SubscriptionFeatureRegistrationsClientListBySubscriptionResponse] { +func (client *SubscriptionFeatureRegistrationsClient) NewListBySubscriptionPager(providerNamespace string, options *SubscriptionFeatureRegistrationsClientListBySubscriptionOptions) *runtime.Pager[SubscriptionFeatureRegistrationsClientListBySubscriptionResponse] { return runtime.NewPager(runtime.PageProcessor[SubscriptionFeatureRegistrationsClientListBySubscriptionResponse]{ More: func(page SubscriptionFeatureRegistrationsClientListBySubscriptionResponse) bool { return page.NextLink != nil && len(*page.NextLink) > 0