Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion specification/ai/Azure.AI.Projects/common/models.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
Expand Down
6 changes: 5 additions & 1 deletion specification/ai/Azure.AI.Projects/datasets/models.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
Loading