// 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) Go Code Generator. DO NOT EDIT.

package armsearch_test

import (
	"context"
	"github.com/Azure/azure-sdk-for-go/sdk/azidentity"
	"github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/search/armsearch/v2"
	"log"
)

// Generated from example definition: 2026-03-01-preview/SearchListOperations.json
func ExampleOperationsClient_NewListPager() {
	cred, err := azidentity.NewDefaultAzureCredential(nil)
	if err != nil {
		log.Fatalf("failed to obtain a credential: %v", err)
	}
	ctx := context.Background()
	clientFactory, err := armsearch.NewClientFactory("<subscriptionID>", cred, nil)
	if err != nil {
		log.Fatalf("failed to create client: %v", err)
	}
	pager := clientFactory.NewOperationsClient().NewListPager(nil)
	for pager.More() {
		page, err := pager.NextPage(ctx)
		if err != nil {
			log.Fatalf("failed to advance page: %v", err)
		}
		for _, v := range page.Value {
			// You could use page here. We use blank identifier for just demo purposes.
			_ = v
		}
		// If the HTTP response code is 200 as defined in example definition, your page structure would look as follows. Please pay attention that all the values in the output are fake values for just demo purposes.
		// page = armsearch.OperationsClientListResponse{
		// 	OperationListResult: armsearch.OperationListResult{
		// 		Value: []*armsearch.Operation{
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/operations/read"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Search Services"),
		// 					Operation: to.Ptr("List all available operations"),
		// 					Description: to.Ptr("Lists all of the available operations of the Microsoft.Search provider."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/register/action"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Search Services"),
		// 					Operation: to.Ptr("Register the Search Resource Provider"),
		// 					Description: to.Ptr("Registers the subscription for the search resource provider and enables the creation of search services."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/write"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Search Services"),
		// 					Operation: to.Ptr("Set Search Service"),
		// 					Description: to.Ptr("Creates or updates the search service."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/read"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Search Services"),
		// 					Operation: to.Ptr("Get Search Service"),
		// 					Description: to.Ptr("Gets the search service properties and configuration."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/delete"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Search Services"),
		// 					Operation: to.Ptr("Delete Search Service"),
		// 					Description: to.Ptr("Deletes the search service."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/start/action"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Search Services"),
		// 					Operation: to.Ptr("Start Search Service"),
		// 					Description: to.Ptr("Starts the search service."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/stop/action"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Search Services"),
		// 					Operation: to.Ptr("Stop Search Service"),
		// 					Description: to.Ptr("Stops the search service."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/listAdminKeys/action"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Search Services"),
		// 					Operation: to.Ptr("Get Admin Key"),
		// 					Description: to.Ptr("Reads the admin keys."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/regenerateAdminKey/action"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Search Services"),
		// 					Operation: to.Ptr("Regenerate Admin Key"),
		// 					Description: to.Ptr("Regenerates the admin key."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/listQueryKeys/action"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("API Keys"),
		// 					Operation: to.Ptr("Get Query Keys"),
		// 					Description: to.Ptr("Returns the list of query API keys for the given Azure AI Search service."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/createQueryKey/action"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Search Services"),
		// 					Operation: to.Ptr("Create Query Key"),
		// 					Description: to.Ptr("Creates the query key."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/deleteQueryKey/delete"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("API Keys"),
		// 					Operation: to.Ptr("Delete Query Key"),
		// 					Description: to.Ptr("Deletes the query key."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/checkNameAvailability/action"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Service Name Availability"),
		// 					Operation: to.Ptr("Check Service Name Availability"),
		// 					Description: to.Ptr("Checks availability of the service name."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/diagnosticSettings/read"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Diagnostic Settings"),
		// 					Operation: to.Ptr("Get Diagnostic Setting"),
		// 					Description: to.Ptr("Gets the diagnostic setting for the resource."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/diagnosticSettings/write"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Diagnostic Settings"),
		// 					Operation: to.Ptr("Set Diagnostic Setting"),
		// 					Description: to.Ptr("Creates or updates the diagnostic setting for the resource."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/metricDefinitions/read"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("The metric definitions for the search service"),
		// 					Operation: to.Ptr("Read search service metric definitions"),
		// 					Description: to.Ptr("Gets the available metrics for the search service."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/logDefinitions/read"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("The log definition for the search service"),
		// 					Operation: to.Ptr("Read search service log definitions"),
		// 					Description: to.Ptr("Gets the available logs for the search service."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/privateEndpointConnectionProxies/validate/action"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Private Endpoint Connection Proxy"),
		// 					Operation: to.Ptr("Validate Private Endpoint Connection Proxy"),
		// 					Description: to.Ptr("Validates a private endpoint connection create call from NRP (Microsoft.Network Resource Provider) side."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/privateEndpointConnectionProxies/write"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Private Endpoint Connection Proxy"),
		// 					Operation: to.Ptr("Create Private Endpoint Connection Proxy"),
		// 					Description: to.Ptr("Creates a private endpoint connection proxy with the specified parameters or updates the properties or tags for the specified private endpoint connection proxy."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/privateEndpointConnectionProxies/read"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Private Endpoint Connection Proxy"),
		// 					Operation: to.Ptr("Get Private Endpoint Connection Proxy"),
		// 					Description: to.Ptr("Returns the list of private endpoint connection proxies or gets the properties for the specified private endpoint connection proxy."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/privateEndpointConnectionProxies/delete"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Private Endpoint Connection Proxy"),
		// 					Operation: to.Ptr("Delete Private Endpoint Connection Proxy"),
		// 					Description: to.Ptr("Deletes an existing private endpoint connection proxy."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/privateEndpointConnections/write"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Private Endpoint Connection"),
		// 					Operation: to.Ptr("Create Private Endpoint Connection"),
		// 					Description: to.Ptr("Creates a private endpoint connection with the specified parameters or updates the properties or tags for the specified private endpoint connections."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/privateEndpointConnections/read"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Private Endpoint Connection"),
		// 					Operation: to.Ptr("Get Private Endpoint Connection"),
		// 					Description: to.Ptr("Returns the list of private endpoint connections or gets the properties for the specified private endpoint connection."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/privateEndpointConnections/delete"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Private Endpoint Connection"),
		// 					Operation: to.Ptr("Delete Private Endpoint Connection"),
		// 					Description: to.Ptr("Deletes an existing private endpoint connection."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/privateEndpointConnectionsApproval/action"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Private Endpoint Connection"),
		// 					Operation: to.Ptr("Approve Private Endpoint Connection"),
		// 					Description: to.Ptr("Approve Private Endpoint Connection."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/sharedPrivateLinkResources/write"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Shared Private Link Resource"),
		// 					Operation: to.Ptr("Create Shared Private Link Resource"),
		// 					Description: to.Ptr("Creates a new shared private link resource with the specified parameters or updates the properties for the specified shared private link resource."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/sharedPrivateLinkResources/read"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Shared Private Link Resource"),
		// 					Operation: to.Ptr("Get Shared Private Link Resource"),
		// 					Description: to.Ptr("Returns the list of shared private link resources or gets the properties for the specified shared private link resource."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/sharedPrivateLinkResources/delete"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Shared Private Link Resource"),
		// 					Operation: to.Ptr("Delete Shared Private Link Resource"),
		// 					Description: to.Ptr("Deletes an existing shared private link resource."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/sharedPrivateLinkResources/operationStatuses/read"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Shared Private Link Resource"),
		// 					Operation: to.Ptr("Get Operation Status"),
		// 					Description: to.Ptr("Get the details of a long running shared private link resource operation."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/networkSecurityPerimeterAssociationProxies/delete"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Network Security Perimeter Association Proxy"),
		// 					Operation: to.Ptr("Delete a Network Security Perimeter Association Proxy"),
		// 					Description: to.Ptr("Delete an association proxy to a Network Security Perimeter resource of Microsoft.Network provider."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/locations/notifyNetworkSecurityPerimeterUpdatesAvailable/write"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Network Security Perimeter"),
		// 					Operation: to.Ptr("Check the Network Security Perimeter for configuration updates."),
		// 					Description: to.Ptr("Check if the configuration of the Network Security Perimeter needs updating."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/networkSecurityPerimeterAssociationProxies/read"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Network Security Perimeter Association Proxy"),
		// 					Operation: to.Ptr("Delete a Network Security Perimeter Association Proxy"),
		// 					Description: to.Ptr("Delete an association proxy to a Network Security Perimeter resource of Microsoft.Network provider."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/networkSecurityPerimeterAssociationProxies/write"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Network Security Perimeter Association Proxy"),
		// 					Operation: to.Ptr("Change state of Network Security Perimeter Association"),
		// 					Description: to.Ptr("Change the state of an association to a Network Security Perimeter resource of Microsoft.Network provider."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/networkSecurityPerimeterConfigurations/read"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Network Security Perimeter Configuration"),
		// 					Operation: to.Ptr("Read Network Security Perimeter configuration"),
		// 					Description: to.Ptr("Read the Network Security Perimeter configuration."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/networkSecurityPerimeterConfigurations/reconcile/action"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Network Security Perimeter Configuration"),
		// 					Operation: to.Ptr("Reconcile Network Security Perimeter configuration"),
		// 					Description: to.Ptr("Reconcile the Network Security Perimeter configuration with NRP''s (Microsoft.Network Resource Provider) copy."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/offerings/read"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Offerings"),
		// 					Operation: to.Ptr("Get Offerings"),
		// 					Description: to.Ptr("Lists all of the features and SKUs offered by the Azure AI Search service in each region."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/indexes/read"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Indexes"),
		// 					Operation: to.Ptr("Read Index"),
		// 					Description: to.Ptr("Return an index or its statistics, return a list of indexes or their statistics, or test the lexical analysis components of an index."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/indexes/write"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Indexes"),
		// 					Operation: to.Ptr("Create or Update Index"),
		// 					Description: to.Ptr("Create an index schema or update its properties, except for settings that affect how already indexed content is stored. Once an index contains data, some properties can't be changed."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/indexes/delete"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Indexes"),
		// 					Operation: to.Ptr("Delete Index"),
		// 					Description: to.Ptr("Delete an index."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/indexes/documents/read"),
		// 				IsDataAction: to.Ptr(true),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Documents"),
		// 					Operation: to.Ptr("Read Documents"),
		// 					Description: to.Ptr("Read documents or suggested query terms from an index."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/indexes/documents/write"),
		// 				IsDataAction: to.Ptr(true),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Documents"),
		// 					Operation: to.Ptr("Write Documents"),
		// 					Description: to.Ptr("Upload documents to an index or modify existing documents."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/indexes/documents/delete"),
		// 				IsDataAction: to.Ptr(true),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Documents"),
		// 					Operation: to.Ptr("Delete Documents"),
		// 					Description: to.Ptr("Delete documents from an index."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/indexes/contentSecurity/elevatedOperations/read"),
		// 				IsDataAction: to.Ptr(true),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Content Security"),
		// 					Operation: to.Ptr("Elevated Read"),
		// 					Description: to.Ptr("Enable the option to read all documents in an index regardless of permission filters."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/synonymMaps/read"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Synonym Maps"),
		// 					Operation: to.Ptr("Read Synonym Map"),
		// 					Description: to.Ptr("Return a synonym map or a list of synonym maps."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/synonymMaps/write"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Synonym Maps"),
		// 					Operation: to.Ptr("Create or Update Synonym Map"),
		// 					Description: to.Ptr("Create a synonym map or modify its properties."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/synonymMaps/delete"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Synonym Maps"),
		// 					Operation: to.Ptr("Delete Synonym Map"),
		// 					Description: to.Ptr("Delete a synonym map."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/dataSources/read"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Data Sources"),
		// 					Operation: to.Ptr("Read Data Source"),
		// 					Description: to.Ptr("Return a data source or a list of data sources."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/dataSources/write"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Data Sources"),
		// 					Operation: to.Ptr("Create or Update Data Source"),
		// 					Description: to.Ptr("Create a data source or modify its properties."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/dataSources/delete"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Data Sources"),
		// 					Operation: to.Ptr("Delete Data Source"),
		// 					Description: to.Ptr("Delete a data source."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/skillsets/read"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Skillsets"),
		// 					Operation: to.Ptr("Read Skillset"),
		// 					Description: to.Ptr("Return a skillset or a list of skillsets."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/skillsets/write"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Skillsets"),
		// 					Operation: to.Ptr("Create or Update Skillset"),
		// 					Description: to.Ptr("Create a skillset or modify its properties."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/skillsets/delete"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Skillsets"),
		// 					Operation: to.Ptr("Delete Skillset"),
		// 					Description: to.Ptr("Delete a skillset."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/indexers/read"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Indexers"),
		// 					Operation: to.Ptr("Read Indexer"),
		// 					Description: to.Ptr("Return an indexer or its status, or return a list of indexers or their statuses."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/indexers/write"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Indexers"),
		// 					Operation: to.Ptr("Create or Manage Indexer"),
		// 					Description: to.Ptr("Create an indexer, modify its properties, or manage its execution."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/indexers/delete"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Indexers"),
		// 					Operation: to.Ptr("Delete Indexer"),
		// 					Description: to.Ptr("Delete an indexer."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/debugSessions/read"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Debug Sessions"),
		// 					Operation: to.Ptr("Read Debug Session"),
		// 					Description: to.Ptr("Return a debug session or a list of debug sessions."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/debugSessions/write"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Debug Sessions"),
		// 					Operation: to.Ptr("Create or Update Debug Session"),
		// 					Description: to.Ptr("Create a debug session or modify its properties."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/debugSessions/delete"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Debug Sessions"),
		// 					Operation: to.Ptr("Delete Debug Session"),
		// 					Description: to.Ptr("Delete a debug session."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/debugSessions/execute/action"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Debug Sessions"),
		// 					Operation: to.Ptr("Execute Debug Session"),
		// 					Description: to.Ptr("Use a debug session, get execution data, or evaluate expressions on it."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/aliases/read"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Aliases"),
		// 					Operation: to.Ptr("Read Alias"),
		// 					Description: to.Ptr("Return an alias or a list of aliases."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/aliases/write"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Aliases"),
		// 					Operation: to.Ptr("Create or Update Alias"),
		// 					Description: to.Ptr("Create an alias or modify its properties."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/aliases/delete"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Aliases"),
		// 					Operation: to.Ptr("Delete Alias"),
		// 					Description: to.Ptr("Delete an alias."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/knowledgeBases/read"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Knowledge Bases"),
		// 					Operation: to.Ptr("Read Knowledge Base"),
		// 					Description: to.Ptr("Return a knowledge base or a list of knowledge bases."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/knowledgeBases/write"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Knowledge Bases"),
		// 					Operation: to.Ptr("Create or Update Knowledge Base"),
		// 					Description: to.Ptr("Create a knowledge base or modify its properties."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/knowledgeBases/delete"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Knowledge Bases"),
		// 					Operation: to.Ptr("Delete Knowledge Base"),
		// 					Description: to.Ptr("Delete a knowledge base."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/agents/read"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Agents"),
		// 					Operation: to.Ptr("Read Agents"),
		// 					Description: to.Ptr("Read agent configurations."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/agents/write"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Agents"),
		// 					Operation: to.Ptr("Create or Update Agent"),
		// 					Description: to.Ptr("Create new agents or modify existing agent configurations."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/agents/delete"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Agents"),
		// 					Operation: to.Ptr("Delete Agent"),
		// 					Description: to.Ptr("Delete an agent."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/knowledgeSources/read"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Knowledge Sources"),
		// 					Operation: to.Ptr("Read Knowledge Source"),
		// 					Description: to.Ptr("Read Knowledge Sources."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/knowledgeSources/write"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Knowledge Sources"),
		// 					Operation: to.Ptr("Create or Update Knowledge Source"),
		// 					Description: to.Ptr("Create new knowledge sources or modify existing knowledge sources."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 			{
		// 				Name: to.Ptr("Microsoft.Search/searchServices/knowledgeSources/delete"),
		// 				IsDataAction: to.Ptr(false),
		// 				Display: &armsearch.OperationDisplay{
		// 					Provider: to.Ptr("Microsoft Search"),
		// 					Resource: to.Ptr("Knowledge Sources"),
		// 					Operation: to.Ptr("Delete Knowledge Source"),
		// 					Description: to.Ptr("Delete a knowledge source."),
		// 				},
		// 				Origin: to.Ptr(armsearch.OriginUserSystem),
		// 			},
		// 		},
		// 	},
		// }
	}
}
