Share via


MockableCognitiveServicesArmClient.GetRaiPolicyResource Method

Definition

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

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a RaiPolicyResource object.

Applies to