AzureCognitiveServicesProjectResource.withCapabilityHost
Method
interface AzureCognitiveServicesProjectResource { // ... omitted for brevity withCapabilityHost(resource: AzureCosmosDBResource | AzureStorageResource | AzureSearchResource | FoundryResource): AzureCognitiveServicesProjectResource;}Signature
method
withCapabilityHost builderAssociates a supported resource with a capability host on a Microsoft Foundry project.
withCapabilityHost(resource: AzureCosmosDBResource | AzureStorageResource | AzureSearchResource | FoundryResource): AzureCognitiveServicesProjectResourceParameters
resourceAzureCosmosDBResource | AzureStorageResource | AzureSearchResource | FoundryResource The supported capability host resource.Returns
AzureCognitiveServicesProjectResource Defined on
This method is defined on the following type: