Watch Aspire live streamsDocsTry Aspire

CognitiveServicesAccountProxy

Handle
📦 Aspire.Hosting.Azure.Provisioning.CognitiveServices v13.6.0-preview.1.26478.8
interface CognitiveServicesAccountProxy {
readonly eTag: BicepValueProxy;
readonly id: BicepValueProxy;
identity: CognitiveServicesManagedServiceIdentityProxy;
kind: BicepValueProxy | string;
location: BicepValueProxy;
name: BicepValueProxy | string;
properties: CognitiveServicesAccountPropertiesProxy;
sku: CognitiveServicesSkuProxy;
readonly systemData: CognitiveServicesSystemDataProxy;
tags: Aspire_Hosting_Azure_Provisioning_CognitiveServices_Generated_DictionaryOfStringProxy;
addTo(infrastructure: AzureResourceInfrastructure): void;
clearKind(): void;
clearLocation(): void;
clearName(): void;
createRoleAssignment(
role: CognitiveServicesBuiltInRoleProxy,
principalType: BicepValueProxy | RoleManagementPrincipalType,
principalId: BicepValueProxy | guid,
bicepIdentifierSuffix: string): CognitiveServicesRoleAssignmentProxy;
getKeys(): ServiceAccountApiKeysProxy;
}

Properties

propertyeTagBicepValueProxyget
Gets the ETag provisioning property.
propertyidBicepValueProxyget
Gets the Id provisioning property.
propertyidentityCognitiveServicesManagedServiceIdentityProxyget · set
Gets or sets the Identity provisioning property.
propertykindBicepValueProxy | stringget · set
Gets or sets the Kind provisioning property.
propertylocationBicepValueProxyget · set
Gets or sets the Location provisioning property.
propertynameBicepValueProxy | stringget · set
Gets or sets the Name provisioning property.
propertypropertiesCognitiveServicesAccountPropertiesProxyget · set
Gets or sets the Properties provisioning property.
propertyskuCognitiveServicesSkuProxyget · set
Gets or sets the Sku provisioning property.
propertysystemDataCognitiveServicesSystemDataProxyget
Gets the SystemData provisioning property.
propertytagsAspire_Hosting_Azure_Provisioning_CognitiveServices_Generated_DictionaryOfStringProxyget · set
Gets or sets the Tags provisioning property.

Methods

methodaddTo
Adds this provisioning resource to the Azure resource infrastructure.
addTo(infrastructure: AzureResourceInfrastructure): void
infrastructureAzureResourceInfrastructure
methodclearKind
Clears the Kind provisioning property.
clearKind(): void
Clears the Location provisioning property.
clearLocation(): void
methodclearName
Clears the Name provisioning property.
clearName(): void
Invokes CreateRoleAssignment on the CognitiveServicesAccount provisioning model.
createRoleAssignment(
role: CognitiveServicesBuiltInRoleProxy,
principalType: BicepValueProxy | RoleManagementPrincipalType,
principalId: BicepValueProxy | guid,
bicepIdentifierSuffix: string): CognitiveServicesRoleAssignmentProxy
roleCognitiveServicesBuiltInRoleProxy
principalTypeBicepValueProxy | RoleManagementPrincipalType
principalIdBicepValueProxy | guid
bicepIdentifierSuffixstring
CognitiveServicesRoleAssignmentProxy
methodgetKeys
Invokes GetKeys on the CognitiveServicesAccount provisioning model.
getKeys(): ServiceAccountApiKeysProxy
ServiceAccountApiKeysProxy