diff --git a/sdk/ai/Azure.AI.Projects/api/Azure.AI.Projects.net8.0.cs b/sdk/ai/Azure.AI.Projects/api/Azure.AI.Projects.net8.0.cs index 3a42ddb74e4e..9fc580d1e208 100644 --- a/sdk/ai/Azure.AI.Projects/api/Azure.AI.Projects.net8.0.cs +++ b/sdk/ai/Azure.AI.Projects/api/Azure.AI.Projects.net8.0.cs @@ -354,7 +354,9 @@ public static partial class AzureAIProjectsModelFactory public static Azure.AI.Projects.AIProjectIndex AIProjectIndex(string type = null, string id = null, string name = null, string version = null, string description = null, System.Collections.Generic.IDictionary tags = null) { throw null; } public static Azure.AI.Projects.AIProjectIndexFieldMapping AIProjectIndexFieldMapping(System.Collections.Generic.IEnumerable contentFields = null, string filepathField = null, string titleField = null, string urlField = null, System.Collections.Generic.IEnumerable vectorFields = null, System.Collections.Generic.IEnumerable metadataFields = null) { throw null; } public static Azure.AI.Projects.AzureAISearchIndex AzureAISearchIndex(string id = null, string name = null, string version = null, string description = null, System.Collections.Generic.IDictionary tags = null, string connectionName = null, string indexName = null, Azure.AI.Projects.AIProjectIndexFieldMapping fieldMapping = null) { throw null; } - public static Azure.AI.Projects.BlobReferenceSasCredential BlobReferenceSasCredential(System.Uri sasUri = null, string type = null) { throw null; } + public static Azure.AI.Projects.BlobReferenceSasCredential BlobReferenceSasCredential(System.Uri sasUri = null) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public static Azure.AI.Projects.BlobReferenceSasCredential BlobReferenceSasCredential(System.Uri sasUri, string type) { throw null; } public static Azure.AI.Projects.DatasetCredential DatasetCredential(Azure.AI.Projects.AIProjectBlobReference blobReference = null) { throw null; } public static Azure.AI.Projects.EmbeddingConfiguration EmbeddingConfiguration(string modelDeploymentName = null, string embeddingField = null) { throw null; } public static Azure.AI.Projects.FileDataset FileDataset(System.Uri dataUri = null, bool? isReference = default(bool?), string connectionName = null, string id = null, string name = null, string version = null, string description = null, System.Collections.Generic.IDictionary tags = null) { throw null; } @@ -363,8 +365,12 @@ public static partial class AzureAIProjectsModelFactory public static Azure.AI.Projects.ModelDeployment ModelDeployment(string name = null, string modelName = null, string modelVersion = null, string modelPublisher = null, System.Collections.Generic.IReadOnlyDictionary capabilities = null, Azure.AI.Projects.ModelDeploymentSku sku = null, string connectionName = null) { throw null; } public static Azure.AI.Projects.ModelDeploymentSku ModelDeploymentSku(long capacity = (long)0, string family = null, string name = null, string size = null, string tier = null) { throw null; } public static Azure.AI.Projects.NoAuthenticationCredentials NoAuthenticationCredentials() { throw null; } - public static Azure.AI.Projects.PendingUploadConfiguration PendingUploadConfiguration(string pendingUploadId = null, string connectionName = null, Azure.AI.Projects.PendingUploadType pendingUploadType = default(Azure.AI.Projects.PendingUploadType)) { throw null; } - public static Azure.AI.Projects.PendingUploadResult PendingUploadResult(Azure.AI.Projects.AIProjectBlobReference blobReference = null, string pendingUploadId = null, string version = null, Azure.AI.Projects.PendingUploadType pendingUploadType = default(Azure.AI.Projects.PendingUploadType)) { throw null; } + public static Azure.AI.Projects.PendingUploadConfiguration PendingUploadConfiguration(string pendingUploadId = null, string connectionName = null) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public static Azure.AI.Projects.PendingUploadConfiguration PendingUploadConfiguration(string pendingUploadId, string connectionName, Azure.AI.Projects.PendingUploadType pendingUploadType) { throw null; } + public static Azure.AI.Projects.PendingUploadResult PendingUploadResult(Azure.AI.Projects.AIProjectBlobReference blobReference = null, string pendingUploadId = null, string version = null) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public static Azure.AI.Projects.PendingUploadResult PendingUploadResult(Azure.AI.Projects.AIProjectBlobReference blobReference, string pendingUploadId, string version, Azure.AI.Projects.PendingUploadType pendingUploadType) { throw null; } } public partial class AzureAISearchIndex : Azure.AI.Projects.AIProjectIndex, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { diff --git a/sdk/ai/Azure.AI.Projects/api/Azure.AI.Projects.netstandard2.0.cs b/sdk/ai/Azure.AI.Projects/api/Azure.AI.Projects.netstandard2.0.cs index 3a42ddb74e4e..9fc580d1e208 100644 --- a/sdk/ai/Azure.AI.Projects/api/Azure.AI.Projects.netstandard2.0.cs +++ b/sdk/ai/Azure.AI.Projects/api/Azure.AI.Projects.netstandard2.0.cs @@ -354,7 +354,9 @@ public static partial class AzureAIProjectsModelFactory public static Azure.AI.Projects.AIProjectIndex AIProjectIndex(string type = null, string id = null, string name = null, string version = null, string description = null, System.Collections.Generic.IDictionary tags = null) { throw null; } public static Azure.AI.Projects.AIProjectIndexFieldMapping AIProjectIndexFieldMapping(System.Collections.Generic.IEnumerable contentFields = null, string filepathField = null, string titleField = null, string urlField = null, System.Collections.Generic.IEnumerable vectorFields = null, System.Collections.Generic.IEnumerable metadataFields = null) { throw null; } public static Azure.AI.Projects.AzureAISearchIndex AzureAISearchIndex(string id = null, string name = null, string version = null, string description = null, System.Collections.Generic.IDictionary tags = null, string connectionName = null, string indexName = null, Azure.AI.Projects.AIProjectIndexFieldMapping fieldMapping = null) { throw null; } - public static Azure.AI.Projects.BlobReferenceSasCredential BlobReferenceSasCredential(System.Uri sasUri = null, string type = null) { throw null; } + public static Azure.AI.Projects.BlobReferenceSasCredential BlobReferenceSasCredential(System.Uri sasUri = null) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public static Azure.AI.Projects.BlobReferenceSasCredential BlobReferenceSasCredential(System.Uri sasUri, string type) { throw null; } public static Azure.AI.Projects.DatasetCredential DatasetCredential(Azure.AI.Projects.AIProjectBlobReference blobReference = null) { throw null; } public static Azure.AI.Projects.EmbeddingConfiguration EmbeddingConfiguration(string modelDeploymentName = null, string embeddingField = null) { throw null; } public static Azure.AI.Projects.FileDataset FileDataset(System.Uri dataUri = null, bool? isReference = default(bool?), string connectionName = null, string id = null, string name = null, string version = null, string description = null, System.Collections.Generic.IDictionary tags = null) { throw null; } @@ -363,8 +365,12 @@ public static partial class AzureAIProjectsModelFactory public static Azure.AI.Projects.ModelDeployment ModelDeployment(string name = null, string modelName = null, string modelVersion = null, string modelPublisher = null, System.Collections.Generic.IReadOnlyDictionary capabilities = null, Azure.AI.Projects.ModelDeploymentSku sku = null, string connectionName = null) { throw null; } public static Azure.AI.Projects.ModelDeploymentSku ModelDeploymentSku(long capacity = (long)0, string family = null, string name = null, string size = null, string tier = null) { throw null; } public static Azure.AI.Projects.NoAuthenticationCredentials NoAuthenticationCredentials() { throw null; } - public static Azure.AI.Projects.PendingUploadConfiguration PendingUploadConfiguration(string pendingUploadId = null, string connectionName = null, Azure.AI.Projects.PendingUploadType pendingUploadType = default(Azure.AI.Projects.PendingUploadType)) { throw null; } - public static Azure.AI.Projects.PendingUploadResult PendingUploadResult(Azure.AI.Projects.AIProjectBlobReference blobReference = null, string pendingUploadId = null, string version = null, Azure.AI.Projects.PendingUploadType pendingUploadType = default(Azure.AI.Projects.PendingUploadType)) { throw null; } + public static Azure.AI.Projects.PendingUploadConfiguration PendingUploadConfiguration(string pendingUploadId = null, string connectionName = null) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public static Azure.AI.Projects.PendingUploadConfiguration PendingUploadConfiguration(string pendingUploadId, string connectionName, Azure.AI.Projects.PendingUploadType pendingUploadType) { throw null; } + public static Azure.AI.Projects.PendingUploadResult PendingUploadResult(Azure.AI.Projects.AIProjectBlobReference blobReference = null, string pendingUploadId = null, string version = null) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] + public static Azure.AI.Projects.PendingUploadResult PendingUploadResult(Azure.AI.Projects.AIProjectBlobReference blobReference, string pendingUploadId, string version, Azure.AI.Projects.PendingUploadType pendingUploadType) { throw null; } } public partial class AzureAISearchIndex : Azure.AI.Projects.AIProjectIndex, System.ClientModel.Primitives.IJsonModel, System.ClientModel.Primitives.IPersistableModel { diff --git a/sdk/ai/Azure.AI.Projects/src/Custom/PendingUploadConfiguration.cs b/sdk/ai/Azure.AI.Projects/src/Custom/PendingUploadConfiguration.cs new file mode 100644 index 000000000000..8ae3416c3cb0 --- /dev/null +++ b/sdk/ai/Azure.AI.Projects/src/Custom/PendingUploadConfiguration.cs @@ -0,0 +1,11 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +namespace Azure.AI.Projects +{ + public partial class PendingUploadConfiguration + { + /// BlobReference is the only supported type. + public PendingUploadType PendingUploadType { get; } = "BlobReference"; + } +} diff --git a/sdk/ai/Azure.AI.Projects/src/Generated/AzureAIProjectsModelFactory.cs b/sdk/ai/Azure.AI.Projects/src/Generated/AzureAIProjectsModelFactory.cs index 0012fdec350e..fc5213e81782 100644 --- a/sdk/ai/Azure.AI.Projects/src/Generated/AzureAIProjectsModelFactory.cs +++ b/sdk/ai/Azure.AI.Projects/src/Generated/AzureAIProjectsModelFactory.cs @@ -4,6 +4,7 @@ using System; using System.Collections.Generic; +using System.ComponentModel; using System.Linq; using Azure.Core; using Azure.Core.Foundations; @@ -39,7 +40,7 @@ public static AIProjectConnection AIProjectConnection(string name = default, str /// /// A base class for connection credentials - /// Please note this is the abstract base class. The derived classes available for instantiation are: , , , , and . + /// Please note this is the abstract base class. The derived classes available for instantiation are: , , , , and . /// /// The type of credential used by the connection. /// A new instance for mocking. @@ -90,9 +91,9 @@ public static NoAuthenticationCredentials NoAuthenticationCredentials() /// /// DatasetVersion Definition - /// Please note this is the abstract base class. The derived classes available for instantiation are: and . + /// Please note this is the abstract base class. The derived classes available for instantiation are: and . /// - /// + /// URI of the data. Example: https://go.microsoft.com/fwlink/?linkid=2202330. /// Dataset type. /// Indicates if the dataset holds a reference to the storage, or the dataset manages storage itself. If true, the underlying data will not be deleted when the dataset version is deleted. /// The Azure Storage Account connection name. Required if startPendingUploadVersion was not called before creating the Dataset. @@ -120,7 +121,7 @@ public static AIProjectDataset AIProjectDataset(Uri dataUri = default, string @t } /// FileDatasetVersion Definition. - /// + /// URI of the data. Example: https://go.microsoft.com/fwlink/?linkid=2202330. /// Indicates if the dataset holds a reference to the storage, or the dataset manages storage itself. If true, the underlying data will not be deleted when the dataset version is deleted. /// The Azure Storage Account connection name. Required if startPendingUploadVersion was not called before creating the Dataset. /// Asset ID, a unique identifier for the asset. @@ -147,7 +148,7 @@ public static FileDataset FileDataset(Uri dataUri = default, bool? isReference = } /// FileDatasetVersion Definition. - /// + /// URI of the data. Example: https://go.microsoft.com/fwlink/?linkid=2202330. /// Indicates if the dataset holds a reference to the storage, or the dataset manages storage itself. If true, the underlying data will not be deleted when the dataset version is deleted. /// The Azure Storage Account connection name. Required if startPendingUploadVersion was not called before creating the Dataset. /// Asset ID, a unique identifier for the asset. @@ -176,26 +177,24 @@ public static FolderDataset FolderDataset(Uri dataUri = default, bool? isReferen /// Represents a request for a pending upload. /// If PendingUploadId is not provided, a random GUID will be used. /// Azure Storage Account connection name to use for generating temporary SAS token. - /// BlobReference is the only supported type. /// A new instance for mocking. - public static PendingUploadConfiguration PendingUploadConfiguration(string pendingUploadId = default, string connectionName = default, PendingUploadType pendingUploadType = default) + public static PendingUploadConfiguration PendingUploadConfiguration(string pendingUploadId = default, string connectionName = default) { - return new PendingUploadConfiguration(pendingUploadId, connectionName, pendingUploadType, additionalBinaryDataProperties: null); + return new PendingUploadConfiguration(pendingUploadId, connectionName, "BlobReference", additionalBinaryDataProperties: null); } /// Represents the response for a pending upload request. /// Container-level read, write, list SAS. /// ID for this upload request. /// Version of asset to be created if user did not specify version when initially creating upload. - /// BlobReference is the only supported type. /// A new instance for mocking. - public static PendingUploadResult PendingUploadResult(AIProjectBlobReference blobReference = default, string pendingUploadId = default, string version = default, PendingUploadType pendingUploadType = default) + public static PendingUploadResult PendingUploadResult(AIProjectBlobReference blobReference = default, string pendingUploadId = default, string version = default) { - return new PendingUploadResult(blobReference, pendingUploadId, version, pendingUploadType, additionalBinaryDataProperties: null); + return new PendingUploadResult(blobReference, pendingUploadId, version, "BlobReference", additionalBinaryDataProperties: null); } /// Blob reference details. - /// + /// Blob URI path for client to upload data. Example: https://blob.windows.core.net/Container/Path. /// ARM ID of the storage account to use. /// Credential info to access the storage account. /// A new instance for mocking. @@ -205,12 +204,11 @@ public static AIProjectBlobReference AIProjectBlobReference(Uri blobUri = defaul } /// SAS Credential definition. - /// - /// Type of credential. + /// SAS uri. /// A new instance for mocking. - public static BlobReferenceSasCredential BlobReferenceSasCredential(Uri sasUri = default, string @type = default) + public static BlobReferenceSasCredential BlobReferenceSasCredential(Uri sasUri = default) { - return new BlobReferenceSasCredential(sasUri, @type, additionalBinaryDataProperties: null); + return new BlobReferenceSasCredential(sasUri, "SAS", additionalBinaryDataProperties: null); } /// Represents a reference to a blob for consumption. @@ -223,7 +221,7 @@ public static DatasetCredential DatasetCredential(AIProjectBlobReference blobRef /// /// Index resource Definition - /// Please note this is the abstract base class. The derived classes available for instantiation are: , , and . + /// Please note this is the abstract base class. The derived classes available for instantiation are: , , and . /// /// Type of index. /// Asset ID, a unique identifier for the asset. @@ -362,7 +360,7 @@ public static EmbeddingConfiguration EmbeddingConfiguration(string modelDeployme /// /// Model Deployment Definition - /// Please note this is the abstract base class. The derived classes available for instantiation are: . + /// Please note this is the abstract base class. The derived classes available for instantiation are: . /// /// The type of the deployment. /// Name of the deployment. @@ -414,5 +412,38 @@ public static ModelDeploymentSku ModelDeploymentSku(long capacity = default, str tier, additionalBinaryDataProperties: null); } + + /// Represents a request for a pending upload. + /// If PendingUploadId is not provided, a random GUID will be used. + /// Azure Storage Account connection name to use for generating temporary SAS token. + /// BlobReference is the only supported type. + /// A new instance for mocking. + [EditorBrowsable(EditorBrowsableState.Never)] + public static PendingUploadConfiguration PendingUploadConfiguration(string pendingUploadId, string connectionName, PendingUploadType pendingUploadType) + { + return new PendingUploadConfiguration(pendingUploadId, connectionName, pendingUploadType, additionalBinaryDataProperties: null); + } + + /// Represents the response for a pending upload request. + /// Container-level read, write, list SAS. + /// ID for this upload request. + /// Version of asset to be created if user did not specify version when initially creating upload. + /// BlobReference is the only supported type. + /// A new instance for mocking. + [EditorBrowsable(EditorBrowsableState.Never)] + public static PendingUploadResult PendingUploadResult(AIProjectBlobReference blobReference, string pendingUploadId, string version, PendingUploadType pendingUploadType) + { + return new PendingUploadResult(blobReference, pendingUploadId, version, pendingUploadType, additionalBinaryDataProperties: null); + } + + /// SAS Credential definition. + /// + /// Type of credential. + /// A new instance for mocking. + [EditorBrowsable(EditorBrowsableState.Never)] + public static BlobReferenceSasCredential BlobReferenceSasCredential(Uri sasUri, string @type) + { + return new BlobReferenceSasCredential(sasUri, @type, additionalBinaryDataProperties: null); + } } } diff --git a/sdk/ai/Azure.AI.Projects/src/Generated/Models/AIProjectBlobReference.cs b/sdk/ai/Azure.AI.Projects/src/Generated/Models/AIProjectBlobReference.cs index 7e60449a59cd..13e8b792b4a7 100644 --- a/sdk/ai/Azure.AI.Projects/src/Generated/Models/AIProjectBlobReference.cs +++ b/sdk/ai/Azure.AI.Projects/src/Generated/Models/AIProjectBlobReference.cs @@ -14,7 +14,7 @@ public partial class AIProjectBlobReference private protected readonly IDictionary _additionalBinaryDataProperties; /// Initializes a new instance of . - /// + /// Blob URI path for client to upload data. Example: https://blob.windows.core.net/Container/Path. /// ARM ID of the storage account to use. /// Credential info to access the storage account. internal AIProjectBlobReference(Uri blobUri, string storageAccountArmId, BlobReferenceSasCredential credential) @@ -25,7 +25,7 @@ internal AIProjectBlobReference(Uri blobUri, string storageAccountArmId, BlobRef } /// Initializes a new instance of . - /// + /// Blob URI path for client to upload data. Example: https://blob.windows.core.net/Container/Path. /// ARM ID of the storage account to use. /// Credential info to access the storage account. /// Keeps track of any properties unknown to the library. diff --git a/sdk/ai/Azure.AI.Projects/src/Generated/Models/AIProjectDataset.cs b/sdk/ai/Azure.AI.Projects/src/Generated/Models/AIProjectDataset.cs index 6a47a6b1d6e6..dc6f81de9374 100644 --- a/sdk/ai/Azure.AI.Projects/src/Generated/Models/AIProjectDataset.cs +++ b/sdk/ai/Azure.AI.Projects/src/Generated/Models/AIProjectDataset.cs @@ -17,7 +17,7 @@ public abstract partial class AIProjectDataset private protected readonly IDictionary _additionalBinaryDataProperties; /// Initializes a new instance of . - /// + /// URI of the data. Example: https://go.microsoft.com/fwlink/?linkid=2202330. /// Dataset type. private protected AIProjectDataset(Uri dataUri, DatasetType @type) { @@ -27,7 +27,7 @@ private protected AIProjectDataset(Uri dataUri, DatasetType @type) } /// Initializes a new instance of . - /// + /// URI of the data. Example: https://go.microsoft.com/fwlink/?linkid=2202330. /// Dataset type. /// Indicates if the dataset holds a reference to the storage, or the dataset manages storage itself. If true, the underlying data will not be deleted when the dataset version is deleted. /// The Azure Storage Account connection name. Required if startPendingUploadVersion was not called before creating the Dataset. diff --git a/sdk/ai/Azure.AI.Projects/src/Generated/Models/BlobReferenceSasCredential.cs b/sdk/ai/Azure.AI.Projects/src/Generated/Models/BlobReferenceSasCredential.cs index 882d96974c40..a2f879469050 100644 --- a/sdk/ai/Azure.AI.Projects/src/Generated/Models/BlobReferenceSasCredential.cs +++ b/sdk/ai/Azure.AI.Projects/src/Generated/Models/BlobReferenceSasCredential.cs @@ -19,7 +19,7 @@ internal BlobReferenceSasCredential() } /// Initializes a new instance of . - /// + /// SAS uri. /// Type of credential. /// Keeps track of any properties unknown to the library. internal BlobReferenceSasCredential(Uri sasUri, string @type, IDictionary additionalBinaryDataProperties) diff --git a/sdk/ai/Azure.AI.Projects/src/Generated/Models/FileDataset.cs b/sdk/ai/Azure.AI.Projects/src/Generated/Models/FileDataset.cs index e55b05ad3879..c7ffd743d62d 100644 --- a/sdk/ai/Azure.AI.Projects/src/Generated/Models/FileDataset.cs +++ b/sdk/ai/Azure.AI.Projects/src/Generated/Models/FileDataset.cs @@ -11,7 +11,7 @@ namespace Azure.AI.Projects public partial class FileDataset : AIProjectDataset { /// Initializes a new instance of . - /// + /// URI of the data. Example: https://go.microsoft.com/fwlink/?linkid=2202330. /// is null. public FileDataset(Uri dataUri) : base(dataUri, DatasetType.UriFile) { @@ -20,7 +20,7 @@ public FileDataset(Uri dataUri) : base(dataUri, DatasetType.UriFile) } /// Initializes a new instance of . - /// + /// URI of the data. Example: https://go.microsoft.com/fwlink/?linkid=2202330. /// Dataset type. /// Indicates if the dataset holds a reference to the storage, or the dataset manages storage itself. If true, the underlying data will not be deleted when the dataset version is deleted. /// The Azure Storage Account connection name. Required if startPendingUploadVersion was not called before creating the Dataset. diff --git a/sdk/ai/Azure.AI.Projects/src/Generated/Models/FolderDataset.cs b/sdk/ai/Azure.AI.Projects/src/Generated/Models/FolderDataset.cs index 1c4ec195fee1..87a1c2ecba2f 100644 --- a/sdk/ai/Azure.AI.Projects/src/Generated/Models/FolderDataset.cs +++ b/sdk/ai/Azure.AI.Projects/src/Generated/Models/FolderDataset.cs @@ -11,7 +11,7 @@ namespace Azure.AI.Projects public partial class FolderDataset : AIProjectDataset { /// Initializes a new instance of . - /// + /// URI of the data. Example: https://go.microsoft.com/fwlink/?linkid=2202330. /// is null. public FolderDataset(Uri dataUri) : base(dataUri, DatasetType.UriFolder) { @@ -20,7 +20,7 @@ public FolderDataset(Uri dataUri) : base(dataUri, DatasetType.UriFolder) } /// Initializes a new instance of . - /// + /// URI of the data. Example: https://go.microsoft.com/fwlink/?linkid=2202330. /// Dataset type. /// Indicates if the dataset holds a reference to the storage, or the dataset manages storage itself. If true, the underlying data will not be deleted when the dataset version is deleted. /// The Azure Storage Account connection name. Required if startPendingUploadVersion was not called before creating the Dataset. diff --git a/sdk/ai/Azure.AI.Projects/src/Generated/Models/PendingUploadConfiguration.cs b/sdk/ai/Azure.AI.Projects/src/Generated/Models/PendingUploadConfiguration.cs index 90648aa09723..6fbaa3d3d78a 100644 --- a/sdk/ai/Azure.AI.Projects/src/Generated/Models/PendingUploadConfiguration.cs +++ b/sdk/ai/Azure.AI.Projects/src/Generated/Models/PendingUploadConfiguration.cs @@ -36,8 +36,5 @@ internal PendingUploadConfiguration(string pendingUploadId, string connectionNam /// Azure Storage Account connection name to use for generating temporary SAS token. public string ConnectionName { get; set; } - - /// BlobReference is the only supported type. - public PendingUploadType PendingUploadType { get; } = "BlobReference"; } } diff --git a/sdk/ai/Azure.AI.Projects/src/Generated/Models/UnknownAIProjectDataset.cs b/sdk/ai/Azure.AI.Projects/src/Generated/Models/UnknownAIProjectDataset.cs index 929beaac6ddc..7a2ad9acfd02 100644 --- a/sdk/ai/Azure.AI.Projects/src/Generated/Models/UnknownAIProjectDataset.cs +++ b/sdk/ai/Azure.AI.Projects/src/Generated/Models/UnknownAIProjectDataset.cs @@ -10,7 +10,7 @@ namespace Azure.AI.Projects internal partial class UnknownAIProjectDataset : AIProjectDataset { /// Initializes a new instance of . - /// + /// URI of the data. Example: https://go.microsoft.com/fwlink/?linkid=2202330. /// Dataset type. /// Indicates if the dataset holds a reference to the storage, or the dataset manages storage itself. If true, the underlying data will not be deleted when the dataset version is deleted. /// The Azure Storage Account connection name. Required if startPendingUploadVersion was not called before creating the Dataset.