DiscoveryModelFactory.StorageAssetReference Method

Definition

Reference to a storage asset with identity information.

public static Azure.AI.Discovery.StorageAssetReference StorageAssetReference(Azure.Core.ResourceIdentifier id = default, Azure.Core.ResourceIdentifier userAssignedIdentity = default);
static member StorageAssetReference : Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier -> Azure.AI.Discovery.StorageAssetReference
Public Shared Function StorageAssetReference (Optional id As ResourceIdentifier = Nothing, Optional userAssignedIdentity As ResourceIdentifier = Nothing) As StorageAssetReference

Parameters

id
ResourceIdentifier

The ARM resource ID of the storage asset.

userAssignedIdentity
ResourceIdentifier

The ARM resource ID of the User Assigned Managed Identity to access the storage asset.

Returns

A new StorageAssetReference instance for mocking.

Applies to