Share via


MockableCognitiveServicesArmClient.GetCognitiveServicesAccountResource Method

Definition

Gets an object representing a CognitiveServicesAccountResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String) to create a CognitiveServicesAccountResourceResourceIdentifier from its components.

public virtual Azure.ResourceManager.CognitiveServices.CognitiveServicesAccountResource GetCognitiveServicesAccountResource (Azure.Core.ResourceIdentifier id);
abstract member GetCognitiveServicesAccountResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.CognitiveServices.CognitiveServicesAccountResource
override this.GetCognitiveServicesAccountResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.CognitiveServices.CognitiveServicesAccountResource
Public Overridable Function GetCognitiveServicesAccountResource (id As ResourceIdentifier) As CognitiveServicesAccountResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a CognitiveServicesAccountResource object.

Applies to