DiscoveryModelFactory.StorageAssetReference Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.