# CognitiveServicesResourceIdentifierProxy

- Module: [Aspire.Hosting.Azure.Provisioning.CognitiveServices](/reference/api/typescript/aspire.hosting.azure.provisioning.cognitiveservices.md)
- Version: `17.0.0-preview.1.26567.5`
- Kind: `handle`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/2d325b13709752ba6d9a943635c5e2940a2530c0)

Represents the ResourceIdentifier Azure Provisioning model.

## Definition

```typescript
interface CognitiveServicesResourceIdentifierProxy {
  readonly location: CognitiveServicesAzureLocationProxy;
  readonly name: string;
  readonly parent: CognitiveServicesResourceIdentifierProxy;
  readonly provider: string;
  readonly resourceGroupName: string;
  readonly resourceType: CognitiveServicesResourceTypeProxy;
  readonly subscriptionId: string;
  appendChildResource(
      childResourceType: string,
      childResourceName: string): CognitiveServicesResourceIdentifierProxy;
  appendProviderResource(
      providerNamespace: string,
      resourceType: string,
      resourceName: string): CognitiveServicesResourceIdentifierProxy;
  compareTo(other: CognitiveServicesResourceIdentifierProxy): number;
}
```

## Properties

- `location`: [CognitiveServicesAzureLocationProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.cognitiveservices/cognitiveservicesazurelocationproxy.md) `get` -- Gets the Location provisioning property.
- `name`: `string` `get` -- Gets the Name provisioning property.
- `parent`: [CognitiveServicesResourceIdentifierProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.cognitiveservices/cognitiveservicesresourceidentifierproxy.md) `get` -- Gets the Parent provisioning property.
- `provider`: `string` `get` -- Gets the Provider provisioning property.
- `resourceGroupName`: `string` `get` -- Gets the ResourceGroupName provisioning property.
- `resourceType`: [CognitiveServicesResourceTypeProxy](/reference/api/typescript/aspire.hosting.azure.provisioning.cognitiveservices/cognitiveservicesresourcetypeproxy.md) `get` -- Gets the ResourceType provisioning property.
- `subscriptionId`: `string` `get` -- Gets the SubscriptionId provisioning property.

## Methods

- [appendChildResource](/reference/api/typescript/aspire.hosting.azure.provisioning.cognitiveservices/cognitiveservicesresourceidentifierproxy/appendchildresource.md) -- `method` -- Invokes AppendChildResource on the ResourceIdentifier provisioning model.
    ```typescript
  appendChildResource(childResourceType: string, childResourceName: string): CognitiveServicesResourceIdentifierProxy
  ```
- [appendProviderResource](/reference/api/typescript/aspire.hosting.azure.provisioning.cognitiveservices/cognitiveservicesresourceidentifierproxy/appendproviderresource.md) -- `method` -- Invokes AppendProviderResource on the ResourceIdentifier provisioning model.
    ```typescript
  appendProviderResource(providerNamespace: string, resourceType: string, resourceName: string): CognitiveServicesResourceIdentifierProxy
  ```
- [compareTo](/reference/api/typescript/aspire.hosting.azure.provisioning.cognitiveservices/cognitiveservicesresourceidentifierproxy/compareto.md) -- `method` -- Invokes CompareTo on the ResourceIdentifier provisioning model.
    ```typescript
  compareTo(other: CognitiveServicesResourceIdentifierProxy): number
  ```
