diff --git a/specification/ai/Azure.AI.Projects/common/models.tsp b/specification/ai/Azure.AI.Projects/common/models.tsp index b7a0f35517f4..73911039e517 100644 --- a/specification/ai/Azure.AI.Projects/common/models.tsp +++ b/specification/ai/Azure.AI.Projects/common/models.tsp @@ -67,7 +67,7 @@ model PendingUploadRequest { @doc("If PendingUploadId is not provided, a random GUID will be used.") pendingUploadId?: string; - @doc("Name of Azure blob storage connection to use for generating temporary SAS token") + @doc("Azure Storage Account connection name to use for generating temporary SAS token") connectionName?: string; @doc("BlobReference is the only supported type.") diff --git a/specification/ai/Azure.AI.Projects/datasets/models.tsp b/specification/ai/Azure.AI.Projects/datasets/models.tsp index 6b1895fd7be7..2d32aa18657b 100644 --- a/specification/ai/Azure.AI.Projects/datasets/models.tsp +++ b/specification/ai/Azure.AI.Projects/datasets/models.tsp @@ -37,10 +37,14 @@ model DatasetVersion { @doc("Dataset type") type: DatasetType; - @doc("Indicates if dataset is reference only or managed by dataset service. If true, the underlying data will be deleted when the dataset version is deleted") + @doc("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") @visibility(Lifecycle.Read) isReference?: boolean; + @doc("The Azure Storage Account connection name. Required if startPendingUploadVersion was not called before creating the Dataset") + @visibility(Lifecycle.Read, Lifecycle.Create) + connectionName?: string; + ...AssetBase; } diff --git a/specification/ai/data-plane/Azure.AI.Projects/preview/2025-05-15-preview/azure-ai-projects.json b/specification/ai/data-plane/Azure.AI.Projects/preview/2025-05-15-preview/azure-ai-projects.json index 6f22bba580a2..db1103627d27 100644 --- a/specification/ai/data-plane/Azure.AI.Projects/preview/2025-05-15-preview/azure-ai-projects.json +++ b/specification/ai/data-plane/Azure.AI.Projects/preview/2025-05-15-preview/azure-ai-projects.json @@ -2211,9 +2211,17 @@ }, "isReference": { "type": "boolean", - "description": "Indicates if dataset is reference only or managed by dataset service. If true, the underlying data will be deleted when the dataset version is deleted", + "description": "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", "readOnly": true }, + "connectionName": { + "type": "string", + "description": "The Azure Storage Account connection name. Required if startPendingUploadVersion was not called before creating the Dataset", + "x-ms-mutability": [ + "read", + "create" + ] + }, "id": { "type": "string", "description": "Asset ID, a unique identifier for the asset", @@ -2937,7 +2945,7 @@ }, "connectionName": { "type": "string", - "description": "Name of Azure blob storage connection to use for generating temporary SAS token" + "description": "Azure Storage Account connection name to use for generating temporary SAS token" }, "pendingUploadType": { "type": "string", diff --git a/specification/ai/data-plane/Azure.AI.Projects/stable/2025-05-01/azure-ai-projects.json b/specification/ai/data-plane/Azure.AI.Projects/stable/2025-05-01/azure-ai-projects.json index 4f40ddab8e44..57eccaa32a4d 100644 --- a/specification/ai/data-plane/Azure.AI.Projects/stable/2025-05-01/azure-ai-projects.json +++ b/specification/ai/data-plane/Azure.AI.Projects/stable/2025-05-01/azure-ai-projects.json @@ -1528,9 +1528,17 @@ }, "isReference": { "type": "boolean", - "description": "Indicates if dataset is reference only or managed by dataset service. If true, the underlying data will be deleted when the dataset version is deleted", + "description": "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", "readOnly": true }, + "connectionName": { + "type": "string", + "description": "The Azure Storage Account connection name. Required if startPendingUploadVersion was not called before creating the Dataset", + "x-ms-mutability": [ + "read", + "create" + ] + }, "id": { "type": "string", "description": "Asset ID, a unique identifier for the asset", @@ -2097,7 +2105,7 @@ }, "connectionName": { "type": "string", - "description": "Name of Azure blob storage connection to use for generating temporary SAS token" + "description": "Azure Storage Account connection name to use for generating temporary SAS token" }, "pendingUploadType": { "type": "string", diff --git a/specification/ai/data-plane/Azure.AI.Projects/stable/v1/azure-ai-projects.json b/specification/ai/data-plane/Azure.AI.Projects/stable/v1/azure-ai-projects.json index 7bbe4c05a96c..25fc189ad970 100644 --- a/specification/ai/data-plane/Azure.AI.Projects/stable/v1/azure-ai-projects.json +++ b/specification/ai/data-plane/Azure.AI.Projects/stable/v1/azure-ai-projects.json @@ -1528,9 +1528,17 @@ }, "isReference": { "type": "boolean", - "description": "Indicates if dataset is reference only or managed by dataset service. If true, the underlying data will be deleted when the dataset version is deleted", + "description": "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", "readOnly": true }, + "connectionName": { + "type": "string", + "description": "The Azure Storage Account connection name. Required if startPendingUploadVersion was not called before creating the Dataset", + "x-ms-mutability": [ + "read", + "create" + ] + }, "id": { "type": "string", "description": "Asset ID, a unique identifier for the asset", @@ -2097,7 +2105,7 @@ }, "connectionName": { "type": "string", - "description": "Name of Azure blob storage connection to use for generating temporary SAS token" + "description": "Azure Storage Account connection name to use for generating temporary SAS token" }, "pendingUploadType": { "type": "string",