withSearchRoleAssignments
Function
interface ContainerResource { // ... omitted for brevity withSearchRoleAssignments( target: AzureSearchResource, roles: AzureSearchRole[]): IResource;}Signature
method
withSearchRoleAssignments builder Assigns Azure AI Search roles to a resource
withSearchRoleAssignments( target: AzureSearchResource, roles: AzureSearchRole[]): IResourceParameters
target AzureSearchResource roles AzureSearchRole[] Returns
IResource Applies to
This function is an extension method on the following types:
type
ContainerResource type
ExecutableResource type
ProjectResource type
ParameterResource type
ConnectionStringResource type
ContainerRegistryResource type
DotnetToolResource type
ExternalServiceResource type
CSharpAppResource type
FoundryDeploymentResource type
FoundryResource type
AzureCognitiveServicesProjectResource type
AzurePromptAgentResource type
AzureCosmosDBResource type
AzureCognitiveServicesProjectConnectionResource type
AzureStorageResource type
AzureContainerRegistryResource type
AzureKeyVaultResource type
AzureApplicationInsightsResource type
AzureBicepResource type
AzureProvisioningResource type
AzureEnvironmentResource type
AzureUserAssignedIdentityResource type
AzureLogAnalyticsWorkspaceResource type
AzureCosmosDBEmulatorResource type
AzureCosmosDBDatabaseResource type
AzureCosmosDBContainerResource type
AzureKeyVaultSecretResource type
AzureSearchResource type
AzureStorageEmulatorResource type
AzureBlobStorageResource type
AzureDataLakeStorageResource type
AzureBlobStorageContainerResource type
AzureDataLakeStorageFileSystemResource type
AzureTableStorageResource type
AzureQueueStorageResource type
AzureQueueStorageQueueResource