CognitiveServicesAccountProxy
Handle
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;}23 members
Properties
property
eTag BicepValueProxy getGets the ETag provisioning property.
property
idBicepValueProxy getGets the Id provisioning property.
property
identityCognitiveServicesManagedServiceIdentityProxy get · setGets or sets the Identity provisioning property.
property
kindBicepValueProxy | string get · setGets or sets the Kind provisioning property.
property
locationBicepValueProxy get · setGets or sets the Location provisioning property.
property
nameBicepValueProxy | string get · setGets or sets the Name provisioning property.
property
propertiesCognitiveServicesAccountPropertiesProxy get · setGets or sets the Properties provisioning property.
property
skuCognitiveServicesSkuProxy get · setGets or sets the Sku provisioning property.
property
systemData CognitiveServicesSystemDataProxy getGets the SystemData provisioning property.
Methods
method
addTo Adds this provisioning resource to the Azure resource infrastructure.
addTo(infrastructure: AzureResourceInfrastructure): voidParameters
infrastructureAzureResourceInfrastructure method
createRoleAssignment Invokes CreateRoleAssignment on the CognitiveServicesAccount provisioning model.
createRoleAssignment( role: CognitiveServicesBuiltInRoleProxy, principalType: BicepValueProxy | RoleManagementPrincipalType, principalId: BicepValueProxy | guid, bicepIdentifierSuffix: string): CognitiveServicesRoleAssignmentProxyParameters
roleCognitiveServicesBuiltInRoleProxy principalType BicepValueProxy | RoleManagementPrincipalType principalId BicepValueProxy | guid bicepIdentifierSuffix stringReturns
CognitiveServicesRoleAssignmentProxy method
getKeys Invokes GetKeys on the CognitiveServicesAccount provisioning model.
getKeys(): ServiceAccountApiKeysProxyReturns
ServiceAccountApiKeysProxy