Partager via


ElasticExtensions.GetOpenAIIntegrationRPModelResource Method

Definition

Gets an object representing an OpenAIIntegrationRPModelResource 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 an OpenAIIntegrationRPModelResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetOpenAIIntegrationRPModelResource(ResourceIdentifier) instead.

public static Azure.ResourceManager.Elastic.OpenAIIntegrationRPModelResource GetOpenAIIntegrationRPModelResource (this Azure.ResourceManager.ArmClient client, Azure.Core.ResourceIdentifier id);
static member GetOpenAIIntegrationRPModelResource : Azure.ResourceManager.ArmClient * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.Elastic.OpenAIIntegrationRPModelResource
<Extension()>
Public Function GetOpenAIIntegrationRPModelResource (client As ArmClient, id As ResourceIdentifier) As OpenAIIntegrationRPModelResource

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a OpenAIIntegrationRPModelResource object.

Exceptions

client is null.

Applies to