Condividi tramite


MediaExtensions.GetStreamingLocatorResource Method

Definition

Gets an object representing a StreamingLocatorResource 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 StreamingLocatorResourceResourceIdentifier from its components. MockingTo mock this method, please mock GetStreamingLocatorResource(ResourceIdentifier) instead.

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

Parameters

client
ArmClient

The ArmClient instance the method will execute against.

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a StreamingLocatorResource object.

Exceptions

client is null.

Applies to