AzureCognitiveServicesProjectConnectionResource Methods
ClassMethods2 members
The Microsoft Foundry project connection resource scoped to a project.
Gets the Azure.Provisioning resource from an existing Bicep identifier. Because static methods can't be abstract, this is an instance method.
public class AzureCognitiveServicesProjectConnectionResource{ public override CognitiveServicesProjectConnection FromExisting( string bicepIdentifier) { // ... }}Parameters
bicepIdentifierstringSetName(CognitiveServicesProjectConnection, BicepValue<string>)Section titled SetName(CognitiveServicesProjectConnection, BicepValue<string>)override Sets the name of the provisionable resource. This is needed because not all ProvisionableResource classes have a name property with a setter, and we can't put a type bound on T to require it.
public class AzureCognitiveServicesProjectConnectionResource{ public override void SetName( CognitiveServicesProjectConnection provisionableResource, BicepValue<string> name) { // ... }}Parameters
provisionableResourceCognitiveServicesProjectConnectionnameBicepValue<string>