Sdílet prostřednictvím


ArmMachineLearningModelFactory.BlobReferenceForConsumptionDto Method

Definition

Overloads

BlobReferenceForConsumptionDto(Uri, ResourceIdentifier, PendingUploadCredentialDto)

Initializes a new instance of BlobReferenceForConsumptionDto.

BlobReferenceForConsumptionDto(Uri, PendingUploadCredentialDto, ResourceIdentifier)

Initializes a new instance of BlobReferenceForConsumptionDto.

BlobReferenceForConsumptionDto(Uri, ResourceIdentifier, PendingUploadCredentialDto)

Initializes a new instance of BlobReferenceForConsumptionDto.

public static Azure.ResourceManager.MachineLearning.Models.BlobReferenceForConsumptionDto BlobReferenceForConsumptionDto (Uri blobUri = default, Azure.Core.ResourceIdentifier storageAccountArmId = default, Azure.ResourceManager.MachineLearning.Models.PendingUploadCredentialDto credential = default);
static member BlobReferenceForConsumptionDto : Uri * Azure.Core.ResourceIdentifier * Azure.ResourceManager.MachineLearning.Models.PendingUploadCredentialDto -> Azure.ResourceManager.MachineLearning.Models.BlobReferenceForConsumptionDto
Public Shared Function BlobReferenceForConsumptionDto (Optional blobUri As Uri = Nothing, Optional storageAccountArmId As ResourceIdentifier = Nothing, Optional credential As PendingUploadCredentialDto = Nothing) As BlobReferenceForConsumptionDto

Parameters

blobUri
Uri

Blob URI path for client to upload data. Example: https://blob.windows.core.net/Container/Path

storageAccountArmId
ResourceIdentifier

Arm ID of the storage account to use.

credential
PendingUploadCredentialDto

Credential info to access storage account Please note PendingUploadCredentialDto is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include SasCredentialDto.

Returns

A new BlobReferenceForConsumptionDto instance for mocking.

Applies to

BlobReferenceForConsumptionDto(Uri, PendingUploadCredentialDto, ResourceIdentifier)

Source:
ArmMachineLearningModelFactory.cs

Initializes a new instance of BlobReferenceForConsumptionDto.

public static Azure.ResourceManager.MachineLearning.Models.BlobReferenceForConsumptionDto BlobReferenceForConsumptionDto (Uri blobUri = default, Azure.ResourceManager.MachineLearning.Models.PendingUploadCredentialDto credential = default, Azure.Core.ResourceIdentifier storageAccountArmId = default);
static member BlobReferenceForConsumptionDto : Uri * Azure.ResourceManager.MachineLearning.Models.PendingUploadCredentialDto * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.MachineLearning.Models.BlobReferenceForConsumptionDto
Public Shared Function BlobReferenceForConsumptionDto (Optional blobUri As Uri = Nothing, Optional credential As PendingUploadCredentialDto = Nothing, Optional storageAccountArmId As ResourceIdentifier = Nothing) As BlobReferenceForConsumptionDto

Parameters

blobUri
Uri

Blob URI path for client to upload data. Example: https://blob.windows.core.net/Container/Path

credential
PendingUploadCredentialDto

Credential info to access storage account Please note PendingUploadCredentialDto is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include SasCredentialDto.

storageAccountArmId
ResourceIdentifier

Arm ID of the storage account to use.

Returns

A new BlobReferenceForConsumptionDto instance for mocking.

Applies to