Response Body Schema
+ * + *+ * {@code + * { + * name: String (Required) + * id: String (Required) + * type: String(AzureOpenAI/AzureBlob/AzureStorageAccount/CognitiveSearch/CosmosDB/ApiKey/AppConfig/AppInsights/CustomKeys) (Required) + * target: String (Required) + * isDefault: boolean (Required) + * credentials (Required): { + * type: String(ApiKey/AAD/SAS/CustomKeys/None) (Required) + * } + * metadata (Required): { + * String: String (Required) + * } + * } + * } + *+ * + * @param name The friendly name of the connection, provided by the user. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a connection by name, without populating connection credentials along with {@link Response} on successful + * completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + Mono
Response Body Schema
+ * + *+ * {@code + * { + * name: String (Required) + * id: String (Required) + * type: String(AzureOpenAI/AzureBlob/AzureStorageAccount/CognitiveSearch/CosmosDB/ApiKey/AppConfig/AppInsights/CustomKeys) (Required) + * target: String (Required) + * isDefault: boolean (Required) + * credentials (Required): { + * type: String(ApiKey/AAD/SAS/CustomKeys/None) (Required) + * } + * metadata (Required): { + * String: String (Required) + * } + * } + * } + *+ * + * @param name The friendly name of the connection, provided by the user. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a connection by name, with its connection credentials along with {@link Response} on successful + * completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + Mono
Query Parameters
+ *Name | Type | Required | Description |
---|---|---|---|
connectionType | String | No | List connections of this specific type. Allowed values: + * "AzureOpenAI", "AzureBlob", "AzureStorageAccount", "CognitiveSearch", "CosmosDB", "ApiKey", "AppConfig", + * "AppInsights", "CustomKeys". |
defaultConnection | Boolean | No | List connections that are default + * connections |
Response Body Schema
+ * + *+ * {@code + * { + * name: String (Required) + * id: String (Required) + * type: String(AzureOpenAI/AzureBlob/AzureStorageAccount/CognitiveSearch/CosmosDB/ApiKey/AppConfig/AppInsights/CustomKeys) (Required) + * target: String (Required) + * isDefault: boolean (Required) + * credentials (Required): { + * type: String(ApiKey/AAD/SAS/CustomKeys/None) (Required) + * } + * metadata (Required): { + * String: String (Required) + * } + * } + * } + *+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of Connection items as paginated response with {@link PagedFlux}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux
Response Body Schema
+ * + *+ * {@code + * { + * name: String (Required) + * id: String (Required) + * type: String(AzureOpenAI/AzureBlob/AzureStorageAccount/CognitiveSearch/CosmosDB/ApiKey/AppConfig/AppInsights/CustomKeys) (Required) + * target: String (Required) + * isDefault: boolean (Required) + * credentials (Required): { + * type: String(ApiKey/AAD/SAS/CustomKeys/None) (Required) + * } + * metadata (Required): { + * String: String (Required) + * } + * } + * } + *+ * + * @param name The friendly name of the connection, provided by the user. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a connection by name, without populating connection credentials along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + Response
Response Body Schema
+ * + *+ * {@code + * { + * name: String (Required) + * id: String (Required) + * type: String(AzureOpenAI/AzureBlob/AzureStorageAccount/CognitiveSearch/CosmosDB/ApiKey/AppConfig/AppInsights/CustomKeys) (Required) + * target: String (Required) + * isDefault: boolean (Required) + * credentials (Required): { + * type: String(ApiKey/AAD/SAS/CustomKeys/None) (Required) + * } + * metadata (Required): { + * String: String (Required) + * } + * } + * } + *+ * + * @param name The friendly name of the connection, provided by the user. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a connection by name, with its connection credentials along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + Response
Query Parameters
+ *Name | Type | Required | Description |
---|---|---|---|
connectionType | String | No | List connections of this specific type. Allowed values: + * "AzureOpenAI", "AzureBlob", "AzureStorageAccount", "CognitiveSearch", "CosmosDB", "ApiKey", "AppConfig", + * "AppInsights", "CustomKeys". |
defaultConnection | Boolean | No | List connections that are default + * connections |
Response Body Schema
+ * + *+ * {@code + * { + * name: String (Required) + * id: String (Required) + * type: String(AzureOpenAI/AzureBlob/AzureStorageAccount/CognitiveSearch/CosmosDB/ApiKey/AppConfig/AppInsights/CustomKeys) (Required) + * target: String (Required) + * isDefault: boolean (Required) + * credentials (Required): { + * type: String(ApiKey/AAD/SAS/CustomKeys/None) (Required) + * } + * metadata (Required): { + * String: String (Required) + * } + * } + * } + *+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of Connection items as paginated response with {@link PagedIterable}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable
Response Body Schema
+ * + *+ * {@code + * { + * type: String(uri_file/uri_folder) (Required) + * dataUri: String (Optional, Required on create) + * isReference: Boolean (Optional) + * connectionName: String (Optional) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + * @param name The name of the resource. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of DatasetVersion items as paginated response with {@link PagedFlux}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux
Response Body Schema
+ * + *+ * {@code + * { + * type: String(uri_file/uri_folder) (Required) + * dataUri: String (Optional, Required on create) + * isReference: Boolean (Optional) + * connectionName: String (Optional) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of DatasetVersion items as paginated response with {@link PagedFlux}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux
Response Body Schema
+ * + *+ * {@code + * { + * type: String(uri_file/uri_folder) (Required) + * dataUri: String (Optional, Required on create) + * isReference: Boolean (Optional) + * connectionName: String (Optional) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + * @param name The name of the resource. + * @param version The specific version id of the DatasetVersion to retrieve. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the specific version of the DatasetVersion along with {@link Response} on successful completion of + * {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono
Request Body Schema
+ * + *+ * {@code + * { + * type: String(uri_file/uri_folder) (Required) + * dataUri: String (Optional, Required on create) + * isReference: Boolean (Optional) + * connectionName: String (Optional) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + *
Response Body Schema
+ * + *+ * {@code + * { + * type: String(uri_file/uri_folder) (Required) + * dataUri: String (Optional, Required on create) + * isReference: Boolean (Optional) + * connectionName: String (Optional) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + * @param name The name of the resource. + * @param version The specific version id of the DatasetVersion to create or replace. + * @param body The definition of the DatasetVersion to create or update. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return datasetVersion Definition along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono
Request Body Schema
+ * + *+ * {@code + * { + * pendingUploadId: String (Optional) + * connectionName: String (Optional) + * pendingUploadType: String(None/BlobReference) (Required) + * } + * } + *+ * + *
Response Body Schema
+ * + *+ * {@code + * { + * blobReference (Required): { + * blobUri: String (Required) + * storageAccountArmId: String (Required) + * credential (Required): { + * sasUri: String (Required) + * type: String (Required) + * } + * } + * pendingUploadId: String (Required) + * version: String (Optional) + * pendingUploadType: String(None/BlobReference) (Required) + * } + * } + *+ * + * @param name The name of the resource. + * @param version The specific version id of the DatasetVersion to operate on. + * @param body Parameters for the action. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return represents the response for a pending upload request along with {@link Response} on successful completion + * of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono
Response Body Schema
+ * + *+ * {@code + * { + * blobReference (Required): { + * blobUri: String (Required) + * storageAccountArmId: String (Required) + * credential (Required): { + * sasUri: String (Required) + * type: String (Required) + * } + * } + * } + * } + *+ * + * @param name The name of the resource. + * @param version The specific version id of the DatasetVersion to operate on. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the SAS credential to access the storage account associated with a Dataset version along with + * {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono
Response Body Schema
+ * + *+ * {@code + * { + * type: String(uri_file/uri_folder) (Required) + * dataUri: String (Optional, Required on create) + * isReference: Boolean (Optional) + * connectionName: String (Optional) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + * @param name The name of the resource. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of DatasetVersion items as paginated response with {@link PagedIterable}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable
Response Body Schema
+ * + *+ * {@code + * { + * type: String(uri_file/uri_folder) (Required) + * dataUri: String (Optional, Required on create) + * isReference: Boolean (Optional) + * connectionName: String (Optional) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of DatasetVersion items as paginated response with {@link PagedIterable}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable
Response Body Schema
+ * + *+ * {@code + * { + * type: String(uri_file/uri_folder) (Required) + * dataUri: String (Optional, Required on create) + * isReference: Boolean (Optional) + * connectionName: String (Optional) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + * @param name The name of the resource. + * @param version The specific version id of the DatasetVersion to retrieve. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the specific version of the DatasetVersion along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response
Request Body Schema
+ * + *+ * {@code + * { + * type: String(uri_file/uri_folder) (Required) + * dataUri: String (Optional, Required on create) + * isReference: Boolean (Optional) + * connectionName: String (Optional) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + *
Response Body Schema
+ * + *+ * {@code + * { + * type: String(uri_file/uri_folder) (Required) + * dataUri: String (Optional, Required on create) + * isReference: Boolean (Optional) + * connectionName: String (Optional) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + * @param name The name of the resource. + * @param version The specific version id of the DatasetVersion to create or replace. + * @param body The definition of the DatasetVersion to create or update. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return datasetVersion Definition along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response
Request Body Schema
+ * + *+ * {@code + * { + * pendingUploadId: String (Optional) + * connectionName: String (Optional) + * pendingUploadType: String(None/BlobReference) (Required) + * } + * } + *+ * + *
Response Body Schema
+ * + *+ * {@code + * { + * blobReference (Required): { + * blobUri: String (Required) + * storageAccountArmId: String (Required) + * credential (Required): { + * sasUri: String (Required) + * type: String (Required) + * } + * } + * pendingUploadId: String (Required) + * version: String (Optional) + * pendingUploadType: String(None/BlobReference) (Required) + * } + * } + *+ * + * @param name The name of the resource. + * @param version The specific version id of the DatasetVersion to operate on. + * @param body Parameters for the action. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return represents the response for a pending upload request along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response
Response Body Schema
+ * + *+ * {@code + * { + * blobReference (Required): { + * blobUri: String (Required) + * storageAccountArmId: String (Required) + * credential (Required): { + * sasUri: String (Required) + * type: String (Required) + * } + * } + * } + * } + *+ * + * @param name The name of the resource. + * @param version The specific version id of the DatasetVersion to operate on. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the SAS credential to access the storage account associated with a Dataset version along with + * {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response
Response Body Schema
+ * + *+ * {@code + * { + * type: String(ModelDeployment) (Required) + * name: String (Required) + * } + * } + *+ * + * @param name Name of the deployment. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a deployed model along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono
Query Parameters
+ *Name | Type | Required | Description |
---|---|---|---|
modelPublisher | String | No | Model publisher to filter models by |
modelName | String | No | Model name (the publisher specific name) to filter models + * by |
deploymentType | String | No | Type of deployment to filter list by. Allowed values: + * "ModelDeployment". |
Response Body Schema
+ * + *+ * {@code + * { + * type: String(ModelDeployment) (Required) + * name: String (Required) + * } + * } + *+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of Deployment items as paginated response with {@link PagedFlux}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux
Response Body Schema
+ * + *+ * {@code + * { + * type: String(ModelDeployment) (Required) + * name: String (Required) + * } + * } + *+ * + * @param name Name of the deployment. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a deployed model along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response
Query Parameters
+ *Name | Type | Required | Description |
---|---|---|---|
modelPublisher | String | No | Model publisher to filter models by |
modelName | String | No | Model name (the publisher specific name) to filter models + * by |
deploymentType | String | No | Type of deployment to filter list by. Allowed values: + * "ModelDeployment". |
Response Body Schema
+ * + *+ * {@code + * { + * type: String(ModelDeployment) (Required) + * name: String (Required) + * } + * } + *+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of Deployment items as paginated response with {@link PagedIterable}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable
Response Body Schema
+ * + *+ * {@code + * { + * type: String(AzureSearch/CosmosDBNoSqlVectorStore/ManagedAzureSearch) (Required) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + * @param name The name of the resource. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of Index items as paginated response with {@link PagedFlux}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux
Response Body Schema
+ * + *+ * {@code + * { + * type: String(AzureSearch/CosmosDBNoSqlVectorStore/ManagedAzureSearch) (Required) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of Index items as paginated response with {@link PagedFlux}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux
Response Body Schema
+ * + *+ * {@code + * { + * type: String(AzureSearch/CosmosDBNoSqlVectorStore/ManagedAzureSearch) (Required) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + * @param name The name of the resource. + * @param version The specific version id of the Index to retrieve. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the specific version of the Index along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono
Request Body Schema
+ * + *+ * {@code + * { + * type: String(AzureSearch/CosmosDBNoSqlVectorStore/ManagedAzureSearch) (Required) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + *
Response Body Schema
+ * + *+ * {@code + * { + * type: String(AzureSearch/CosmosDBNoSqlVectorStore/ManagedAzureSearch) (Required) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + * @param name The name of the resource. + * @param version The specific version id of the Index to create or replace. + * @param body The definition of the Index to create or update. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return index resource Definition along with {@link Response} on successful completion of {@link Mono}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono
Response Body Schema
+ * + *+ * {@code + * { + * type: String(AzureSearch/CosmosDBNoSqlVectorStore/ManagedAzureSearch) (Required) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + * @param name The name of the resource. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of Index items as paginated response with {@link PagedIterable}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable
Response Body Schema
+ * + *+ * {@code + * { + * type: String(AzureSearch/CosmosDBNoSqlVectorStore/ManagedAzureSearch) (Required) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of Index items as paginated response with {@link PagedIterable}. + */ + @Generated + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable
Response Body Schema
+ * + *+ * {@code + * { + * type: String(AzureSearch/CosmosDBNoSqlVectorStore/ManagedAzureSearch) (Required) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + * @param name The name of the resource. + * @param version The specific version id of the Index to retrieve. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the specific version of the Index along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response
Request Body Schema
+ * + *+ * {@code + * { + * type: String(AzureSearch/CosmosDBNoSqlVectorStore/ManagedAzureSearch) (Required) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + *
Response Body Schema
+ * + *+ * {@code + * { + * type: String(AzureSearch/CosmosDBNoSqlVectorStore/ManagedAzureSearch) (Required) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + * @param name The name of the resource. + * @param version The specific version id of the Index to create or replace. + * @param body The definition of the Index to create or update. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return index resource Definition along with {@link Response}. + */ + @Generated + @ServiceMethod(returns = ReturnType.SINGLE) + public Response
Response Body Schema
+ * + *+ * {@code + * { + * name: String (Required) + * id: String (Required) + * type: String(AzureOpenAI/AzureBlob/AzureStorageAccount/CognitiveSearch/CosmosDB/ApiKey/AppConfig/AppInsights/CustomKeys) (Required) + * target: String (Required) + * isDefault: boolean (Required) + * credentials (Required): { + * type: String(ApiKey/AAD/SAS/CustomKeys/None) (Required) + * } + * metadata (Required): { + * String: String (Required) + * } + * } + * } + *+ * + * @param name The friendly name of the connection, provided by the user. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a connection by name, without populating connection credentials along with {@link Response} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono
Response Body Schema
+ * + *+ * {@code + * { + * name: String (Required) + * id: String (Required) + * type: String(AzureOpenAI/AzureBlob/AzureStorageAccount/CognitiveSearch/CosmosDB/ApiKey/AppConfig/AppInsights/CustomKeys) (Required) + * target: String (Required) + * isDefault: boolean (Required) + * credentials (Required): { + * type: String(ApiKey/AAD/SAS/CustomKeys/None) (Required) + * } + * metadata (Required): { + * String: String (Required) + * } + * } + * } + *+ * + * @param name The friendly name of the connection, provided by the user. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a connection by name, without populating connection credentials along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response
Response Body Schema
+ * + *+ * {@code + * { + * name: String (Required) + * id: String (Required) + * type: String(AzureOpenAI/AzureBlob/AzureStorageAccount/CognitiveSearch/CosmosDB/ApiKey/AppConfig/AppInsights/CustomKeys) (Required) + * target: String (Required) + * isDefault: boolean (Required) + * credentials (Required): { + * type: String(ApiKey/AAD/SAS/CustomKeys/None) (Required) + * } + * metadata (Required): { + * String: String (Required) + * } + * } + * } + *+ * + * @param name The friendly name of the connection, provided by the user. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a connection by name, with its connection credentials along with {@link Response} on successful + * completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono
Response Body Schema
+ * + *+ * {@code + * { + * name: String (Required) + * id: String (Required) + * type: String(AzureOpenAI/AzureBlob/AzureStorageAccount/CognitiveSearch/CosmosDB/ApiKey/AppConfig/AppInsights/CustomKeys) (Required) + * target: String (Required) + * isDefault: boolean (Required) + * credentials (Required): { + * type: String(ApiKey/AAD/SAS/CustomKeys/None) (Required) + * } + * metadata (Required): { + * String: String (Required) + * } + * } + * } + *+ * + * @param name The friendly name of the connection, provided by the user. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a connection by name, with its connection credentials along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response
Query Parameters
+ *Name | Type | Required | Description |
---|---|---|---|
connectionType | String | No | List connections of this specific type. Allowed values: + * "AzureOpenAI", "AzureBlob", "AzureStorageAccount", "CognitiveSearch", "CosmosDB", "ApiKey", "AppConfig", + * "AppInsights", "CustomKeys". |
defaultConnection | Boolean | No | List connections that are default + * connections |
Response Body Schema
+ * + *+ * {@code + * { + * name: String (Required) + * id: String (Required) + * type: String(AzureOpenAI/AzureBlob/AzureStorageAccount/CognitiveSearch/CosmosDB/ApiKey/AppConfig/AppInsights/CustomKeys) (Required) + * target: String (Required) + * isDefault: boolean (Required) + * credentials (Required): { + * type: String(ApiKey/AAD/SAS/CustomKeys/None) (Required) + * } + * metadata (Required): { + * String: String (Required) + * } + * } + * } + *+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of Connection items along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono
Query Parameters
+ *Name | Type | Required | Description |
---|---|---|---|
connectionType | String | No | List connections of this specific type. Allowed values: + * "AzureOpenAI", "AzureBlob", "AzureStorageAccount", "CognitiveSearch", "CosmosDB", "ApiKey", "AppConfig", + * "AppInsights", "CustomKeys". |
defaultConnection | Boolean | No | List connections that are default + * connections |
Response Body Schema
+ * + *+ * {@code + * { + * name: String (Required) + * id: String (Required) + * type: String(AzureOpenAI/AzureBlob/AzureStorageAccount/CognitiveSearch/CosmosDB/ApiKey/AppConfig/AppInsights/CustomKeys) (Required) + * target: String (Required) + * isDefault: boolean (Required) + * credentials (Required): { + * type: String(ApiKey/AAD/SAS/CustomKeys/None) (Required) + * } + * metadata (Required): { + * String: String (Required) + * } + * } + * } + *+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of Connection items as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux
Query Parameters
+ *Name | Type | Required | Description |
---|---|---|---|
connectionType | String | No | List connections of this specific type. Allowed values: + * "AzureOpenAI", "AzureBlob", "AzureStorageAccount", "CognitiveSearch", "CosmosDB", "ApiKey", "AppConfig", + * "AppInsights", "CustomKeys". |
defaultConnection | Boolean | No | List connections that are default + * connections |
Response Body Schema
+ * + *+ * {@code + * { + * name: String (Required) + * id: String (Required) + * type: String(AzureOpenAI/AzureBlob/AzureStorageAccount/CognitiveSearch/CosmosDB/ApiKey/AppConfig/AppInsights/CustomKeys) (Required) + * target: String (Required) + * isDefault: boolean (Required) + * credentials (Required): { + * type: String(ApiKey/AAD/SAS/CustomKeys/None) (Required) + * } + * metadata (Required): { + * String: String (Required) + * } + * } + * } + *+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of Connection items along with {@link PagedResponse}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private PagedResponse
Query Parameters
+ *Name | Type | Required | Description |
---|---|---|---|
connectionType | String | No | List connections of this specific type. Allowed values: + * "AzureOpenAI", "AzureBlob", "AzureStorageAccount", "CognitiveSearch", "CosmosDB", "ApiKey", "AppConfig", + * "AppInsights", "CustomKeys". |
defaultConnection | Boolean | No | List connections that are default + * connections |
Response Body Schema
+ * + *+ * {@code + * { + * name: String (Required) + * id: String (Required) + * type: String(AzureOpenAI/AzureBlob/AzureStorageAccount/CognitiveSearch/CosmosDB/ApiKey/AppConfig/AppInsights/CustomKeys) (Required) + * target: String (Required) + * isDefault: boolean (Required) + * credentials (Required): { + * type: String(ApiKey/AAD/SAS/CustomKeys/None) (Required) + * } + * metadata (Required): { + * String: String (Required) + * } + * } + * } + *+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of Connection items as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable
Response Body Schema
+ * + *+ * {@code + * { + * name: String (Required) + * id: String (Required) + * type: String(AzureOpenAI/AzureBlob/AzureStorageAccount/CognitiveSearch/CosmosDB/ApiKey/AppConfig/AppInsights/CustomKeys) (Required) + * target: String (Required) + * isDefault: boolean (Required) + * credentials (Required): { + * type: String(ApiKey/AAD/SAS/CustomKeys/None) (Required) + * } + * metadata (Required): { + * String: String (Required) + * } + * } + * } + *+ * + * @param nextLink The URL to get the next list of items. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of Connection items along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono
Response Body Schema
+ * + *+ * {@code + * { + * name: String (Required) + * id: String (Required) + * type: String(AzureOpenAI/AzureBlob/AzureStorageAccount/CognitiveSearch/CosmosDB/ApiKey/AppConfig/AppInsights/CustomKeys) (Required) + * target: String (Required) + * isDefault: boolean (Required) + * credentials (Required): { + * type: String(ApiKey/AAD/SAS/CustomKeys/None) (Required) + * } + * metadata (Required): { + * String: String (Required) + * } + * } + * } + *+ * + * @param nextLink The URL to get the next list of items. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of Connection items along with {@link PagedResponse}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private PagedResponse
Response Body Schema
+ * + *+ * {@code + * { + * type: String(uri_file/uri_folder) (Required) + * dataUri: String (Optional, Required on create) + * isReference: Boolean (Optional) + * connectionName: String (Optional) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + * @param name The name of the resource. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of DatasetVersion items along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono
Response Body Schema
+ * + *+ * {@code + * { + * type: String(uri_file/uri_folder) (Required) + * dataUri: String (Optional, Required on create) + * isReference: Boolean (Optional) + * connectionName: String (Optional) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + * @param name The name of the resource. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of DatasetVersion items as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux
Response Body Schema
+ * + *+ * {@code + * { + * type: String(uri_file/uri_folder) (Required) + * dataUri: String (Optional, Required on create) + * isReference: Boolean (Optional) + * connectionName: String (Optional) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + * @param name The name of the resource. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of DatasetVersion items along with {@link PagedResponse}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private PagedResponse
Response Body Schema
+ * + *+ * {@code + * { + * type: String(uri_file/uri_folder) (Required) + * dataUri: String (Optional, Required on create) + * isReference: Boolean (Optional) + * connectionName: String (Optional) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + * @param name The name of the resource. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of DatasetVersion items as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable
Response Body Schema
+ * + *+ * {@code + * { + * type: String(uri_file/uri_folder) (Required) + * dataUri: String (Optional, Required on create) + * isReference: Boolean (Optional) + * connectionName: String (Optional) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of DatasetVersion items along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono
Response Body Schema
+ * + *+ * {@code + * { + * type: String(uri_file/uri_folder) (Required) + * dataUri: String (Optional, Required on create) + * isReference: Boolean (Optional) + * connectionName: String (Optional) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of DatasetVersion items as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux
Response Body Schema
+ * + *+ * {@code + * { + * type: String(uri_file/uri_folder) (Required) + * dataUri: String (Optional, Required on create) + * isReference: Boolean (Optional) + * connectionName: String (Optional) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of DatasetVersion items along with {@link PagedResponse}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private PagedResponse
Response Body Schema
+ * + *+ * {@code + * { + * type: String(uri_file/uri_folder) (Required) + * dataUri: String (Optional, Required on create) + * isReference: Boolean (Optional) + * connectionName: String (Optional) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of DatasetVersion items as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable
Response Body Schema
+ * + *+ * {@code + * { + * type: String(uri_file/uri_folder) (Required) + * dataUri: String (Optional, Required on create) + * isReference: Boolean (Optional) + * connectionName: String (Optional) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + * @param name The name of the resource. + * @param version The specific version id of the DatasetVersion to retrieve. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the specific version of the DatasetVersion along with {@link Response} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono
Response Body Schema
+ * + *+ * {@code + * { + * type: String(uri_file/uri_folder) (Required) + * dataUri: String (Optional, Required on create) + * isReference: Boolean (Optional) + * connectionName: String (Optional) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + * @param name The name of the resource. + * @param version The specific version id of the DatasetVersion to retrieve. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the specific version of the DatasetVersion along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response
Request Body Schema
+ * + *+ * {@code + * { + * type: String(uri_file/uri_folder) (Required) + * dataUri: String (Optional, Required on create) + * isReference: Boolean (Optional) + * connectionName: String (Optional) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + *
Response Body Schema
+ * + *+ * {@code + * { + * type: String(uri_file/uri_folder) (Required) + * dataUri: String (Optional, Required on create) + * isReference: Boolean (Optional) + * connectionName: String (Optional) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + * @param name The name of the resource. + * @param version The specific version id of the DatasetVersion to create or replace. + * @param body The definition of the DatasetVersion to create or update. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return datasetVersion Definition along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono
Request Body Schema
+ * + *+ * {@code + * { + * type: String(uri_file/uri_folder) (Required) + * dataUri: String (Optional, Required on create) + * isReference: Boolean (Optional) + * connectionName: String (Optional) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + *
Response Body Schema
+ * + *+ * {@code + * { + * type: String(uri_file/uri_folder) (Required) + * dataUri: String (Optional, Required on create) + * isReference: Boolean (Optional) + * connectionName: String (Optional) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + * @param name The name of the resource. + * @param version The specific version id of the DatasetVersion to create or replace. + * @param body The definition of the DatasetVersion to create or update. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return datasetVersion Definition along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response
Request Body Schema
+ * + *+ * {@code + * { + * pendingUploadId: String (Optional) + * connectionName: String (Optional) + * pendingUploadType: String(None/BlobReference) (Required) + * } + * } + *+ * + *
Response Body Schema
+ * + *+ * {@code + * { + * blobReference (Required): { + * blobUri: String (Required) + * storageAccountArmId: String (Required) + * credential (Required): { + * sasUri: String (Required) + * type: String (Required) + * } + * } + * pendingUploadId: String (Required) + * version: String (Optional) + * pendingUploadType: String(None/BlobReference) (Required) + * } + * } + *+ * + * @param name The name of the resource. + * @param version The specific version id of the DatasetVersion to operate on. + * @param body Parameters for the action. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return represents the response for a pending upload request along with {@link Response} on successful completion + * of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono
Request Body Schema
+ * + *+ * {@code + * { + * pendingUploadId: String (Optional) + * connectionName: String (Optional) + * pendingUploadType: String(None/BlobReference) (Required) + * } + * } + *+ * + *
Response Body Schema
+ * + *+ * {@code + * { + * blobReference (Required): { + * blobUri: String (Required) + * storageAccountArmId: String (Required) + * credential (Required): { + * sasUri: String (Required) + * type: String (Required) + * } + * } + * pendingUploadId: String (Required) + * version: String (Optional) + * pendingUploadType: String(None/BlobReference) (Required) + * } + * } + *+ * + * @param name The name of the resource. + * @param version The specific version id of the DatasetVersion to operate on. + * @param body Parameters for the action. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return represents the response for a pending upload request along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response
Response Body Schema
+ * + *+ * {@code + * { + * blobReference (Required): { + * blobUri: String (Required) + * storageAccountArmId: String (Required) + * credential (Required): { + * sasUri: String (Required) + * type: String (Required) + * } + * } + * } + * } + *+ * + * @param name The name of the resource. + * @param version The specific version id of the DatasetVersion to operate on. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the SAS credential to access the storage account associated with a Dataset version along with + * {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono
Response Body Schema
+ * + *+ * {@code + * { + * blobReference (Required): { + * blobUri: String (Required) + * storageAccountArmId: String (Required) + * credential (Required): { + * sasUri: String (Required) + * type: String (Required) + * } + * } + * } + * } + *+ * + * @param name The name of the resource. + * @param version The specific version id of the DatasetVersion to operate on. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the SAS credential to access the storage account associated with a Dataset version along with + * {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response
Response Body Schema
+ * + *+ * {@code + * { + * type: String(uri_file/uri_folder) (Required) + * dataUri: String (Optional, Required on create) + * isReference: Boolean (Optional) + * connectionName: String (Optional) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + * @param nextLink The URL to get the next list of items. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of DatasetVersion items along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono
Response Body Schema
+ * + *+ * {@code + * { + * type: String(uri_file/uri_folder) (Required) + * dataUri: String (Optional, Required on create) + * isReference: Boolean (Optional) + * connectionName: String (Optional) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + * @param nextLink The URL to get the next list of items. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of DatasetVersion items along with {@link PagedResponse}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private PagedResponse
Response Body Schema
+ * + *+ * {@code + * { + * type: String(uri_file/uri_folder) (Required) + * dataUri: String (Optional, Required on create) + * isReference: Boolean (Optional) + * connectionName: String (Optional) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + * @param nextLink The URL to get the next list of items. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of DatasetVersion items along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono
Response Body Schema
+ * + *+ * {@code + * { + * type: String(uri_file/uri_folder) (Required) + * dataUri: String (Optional, Required on create) + * isReference: Boolean (Optional) + * connectionName: String (Optional) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + * @param nextLink The URL to get the next list of items. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of DatasetVersion items along with {@link PagedResponse}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private PagedResponse
Response Body Schema
+ * + *+ * {@code + * { + * type: String(ModelDeployment) (Required) + * name: String (Required) + * } + * } + *+ * + * @param name Name of the deployment. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a deployed model along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono
Response Body Schema
+ * + *+ * {@code + * { + * type: String(ModelDeployment) (Required) + * name: String (Required) + * } + * } + *+ * + * @param name Name of the deployment. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return a deployed model along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response
Query Parameters
+ *Name | Type | Required | Description |
---|---|---|---|
modelPublisher | String | No | Model publisher to filter models by |
modelName | String | No | Model name (the publisher specific name) to filter models + * by |
deploymentType | String | No | Type of deployment to filter list by. Allowed values: + * "ModelDeployment". |
Response Body Schema
+ * + *+ * {@code + * { + * type: String(ModelDeployment) (Required) + * name: String (Required) + * } + * } + *+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of Deployment items along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono
Query Parameters
+ *Name | Type | Required | Description |
---|---|---|---|
modelPublisher | String | No | Model publisher to filter models by |
modelName | String | No | Model name (the publisher specific name) to filter models + * by |
deploymentType | String | No | Type of deployment to filter list by. Allowed values: + * "ModelDeployment". |
Response Body Schema
+ * + *+ * {@code + * { + * type: String(ModelDeployment) (Required) + * name: String (Required) + * } + * } + *+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of Deployment items as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux
Query Parameters
+ *Name | Type | Required | Description |
---|---|---|---|
modelPublisher | String | No | Model publisher to filter models by |
modelName | String | No | Model name (the publisher specific name) to filter models + * by |
deploymentType | String | No | Type of deployment to filter list by. Allowed values: + * "ModelDeployment". |
Response Body Schema
+ * + *+ * {@code + * { + * type: String(ModelDeployment) (Required) + * name: String (Required) + * } + * } + *+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of Deployment items along with {@link PagedResponse}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private PagedResponse
Query Parameters
+ *Name | Type | Required | Description |
---|---|---|---|
modelPublisher | String | No | Model publisher to filter models by |
modelName | String | No | Model name (the publisher specific name) to filter models + * by |
deploymentType | String | No | Type of deployment to filter list by. Allowed values: + * "ModelDeployment". |
Response Body Schema
+ * + *+ * {@code + * { + * type: String(ModelDeployment) (Required) + * name: String (Required) + * } + * } + *+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of Deployment items as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable
Response Body Schema
+ * + *+ * {@code + * { + * type: String(ModelDeployment) (Required) + * name: String (Required) + * } + * } + *+ * + * @param nextLink The URL to get the next list of items. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of Deployment items along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono
Response Body Schema
+ * + *+ * {@code + * { + * type: String(ModelDeployment) (Required) + * name: String (Required) + * } + * } + *+ * + * @param nextLink The URL to get the next list of items. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of Deployment items along with {@link PagedResponse}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private PagedResponse
Response Body Schema
+ * + *+ * {@code + * { + * type: String(AzureSearch/CosmosDBNoSqlVectorStore/ManagedAzureSearch) (Required) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + * @param name The name of the resource. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of Index items along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono
Response Body Schema
+ * + *+ * {@code + * { + * type: String(AzureSearch/CosmosDBNoSqlVectorStore/ManagedAzureSearch) (Required) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + * @param name The name of the resource. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of Index items as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux
Response Body Schema
+ * + *+ * {@code + * { + * type: String(AzureSearch/CosmosDBNoSqlVectorStore/ManagedAzureSearch) (Required) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + * @param name The name of the resource. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of Index items along with {@link PagedResponse}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private PagedResponse
Response Body Schema
+ * + *+ * {@code + * { + * type: String(AzureSearch/CosmosDBNoSqlVectorStore/ManagedAzureSearch) (Required) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + * @param name The name of the resource. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of Index items as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable
Response Body Schema
+ * + *+ * {@code + * { + * type: String(AzureSearch/CosmosDBNoSqlVectorStore/ManagedAzureSearch) (Required) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of Index items along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono
Response Body Schema
+ * + *+ * {@code + * { + * type: String(AzureSearch/CosmosDBNoSqlVectorStore/ManagedAzureSearch) (Required) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of Index items as paginated response with {@link PagedFlux}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux
Response Body Schema
+ * + *+ * {@code + * { + * type: String(AzureSearch/CosmosDBNoSqlVectorStore/ManagedAzureSearch) (Required) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of Index items along with {@link PagedResponse}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private PagedResponse
Response Body Schema
+ * + *+ * {@code + * { + * type: String(AzureSearch/CosmosDBNoSqlVectorStore/ManagedAzureSearch) (Required) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of Index items as paginated response with {@link PagedIterable}. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedIterable
Response Body Schema
+ * + *+ * {@code + * { + * type: String(AzureSearch/CosmosDBNoSqlVectorStore/ManagedAzureSearch) (Required) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + * @param name The name of the resource. + * @param version The specific version id of the Index to retrieve. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the specific version of the Index along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono
Response Body Schema
+ * + *+ * {@code + * { + * type: String(AzureSearch/CosmosDBNoSqlVectorStore/ManagedAzureSearch) (Required) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + * @param name The name of the resource. + * @param version The specific version id of the Index to retrieve. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the specific version of the Index along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response
Request Body Schema
+ * + *+ * {@code + * { + * type: String(AzureSearch/CosmosDBNoSqlVectorStore/ManagedAzureSearch) (Required) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + *
Response Body Schema
+ * + *+ * {@code + * { + * type: String(AzureSearch/CosmosDBNoSqlVectorStore/ManagedAzureSearch) (Required) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + * @param name The name of the resource. + * @param version The specific version id of the Index to create or replace. + * @param body The definition of the Index to create or update. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return index resource Definition along with {@link Response} on successful completion of {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono
Request Body Schema
+ * + *+ * {@code + * { + * type: String(AzureSearch/CosmosDBNoSqlVectorStore/ManagedAzureSearch) (Required) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + *
Response Body Schema
+ * + *+ * {@code + * { + * type: String(AzureSearch/CosmosDBNoSqlVectorStore/ManagedAzureSearch) (Required) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + * @param name The name of the resource. + * @param version The specific version id of the Index to create or replace. + * @param body The definition of the Index to create or update. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return index resource Definition along with {@link Response}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public Response
Response Body Schema
+ * + *+ * {@code + * { + * type: String(AzureSearch/CosmosDBNoSqlVectorStore/ManagedAzureSearch) (Required) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + * @param nextLink The URL to get the next list of items. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of Index items along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono
Response Body Schema
+ * + *+ * {@code + * { + * type: String(AzureSearch/CosmosDBNoSqlVectorStore/ManagedAzureSearch) (Required) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + * @param nextLink The URL to get the next list of items. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of Index items along with {@link PagedResponse}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private PagedResponse
Response Body Schema
+ * + *+ * {@code + * { + * type: String(AzureSearch/CosmosDBNoSqlVectorStore/ManagedAzureSearch) (Required) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + * @param nextLink The URL to get the next list of items. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of Index items along with {@link PagedResponse} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono
Response Body Schema
+ * + *+ * {@code + * { + * type: String(AzureSearch/CosmosDBNoSqlVectorStore/ManagedAzureSearch) (Required) + * id: String (Optional) + * name: String (Required) + * version: String (Required) + * description: String (Optional) + * tags (Optional): { + * String: String (Required) + * } + * } + * } + *+ * + * @param nextLink The URL to get the next list of items. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return paged collection of Index items along with {@link PagedResponse}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private PagedResponse
Required when create the resource.
+ * + * @param connectionName the connectionName value to set. + * @return the AzureAISearchIndex object itself. + */ + @Generated + public AzureAISearchIndex setConnectionName(String connectionName) { + this.connectionName = connectionName; + this.updatedProperties.add("connectionName"); + return this; + } + + /** + * Get the indexName property: Name of index in Azure AI Search resource to attach. + * + * @return the indexName value. + */ + @Generated + public String getIndexName() { + return this.indexName; + } + + /** + * Set the indexName property: Name of index in Azure AI Search resource to attach. + *Required when create the resource.
+ * + * @param indexName the indexName value to set. + * @return the AzureAISearchIndex object itself. + */ + @Generated + public AzureAISearchIndex setIndexName(String indexName) { + this.indexName = indexName; + this.updatedProperties.add("indexName"); + return this; + } + + /** + * Get the fieldMapping property: Field mapping configuration. + * + * @return the fieldMapping value. + */ + @Generated + public FieldMapping getFieldMapping() { + return this.fieldMapping; + } + + /** + * Set the fieldMapping property: Field mapping configuration. + * + * @param fieldMapping the fieldMapping value to set. + * @return the AzureAISearchIndex object itself. + */ + @Generated + public AzureAISearchIndex setFieldMapping(FieldMapping fieldMapping) { + this.fieldMapping = fieldMapping; + this.updatedProperties.add("fieldMapping"); + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public AzureAISearchIndex setDescription(String description) { + super.setDescription(description); + this.updatedProperties.add("description"); + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public AzureAISearchIndex setTags(MapRequired when create the resource.
+ * + * @param connectionName the connectionName value to set. + * @return the CosmosDBIndex object itself. + */ + @Generated + public CosmosDBIndex setConnectionName(String connectionName) { + this.connectionName = connectionName; + this.updatedProperties.add("connectionName"); + return this; + } + + /** + * Get the databaseName property: Name of the CosmosDB Database. + * + * @return the databaseName value. + */ + @Generated + public String getDatabaseName() { + return this.databaseName; + } + + /** + * Set the databaseName property: Name of the CosmosDB Database. + *Required when create the resource.
+ * + * @param databaseName the databaseName value to set. + * @return the CosmosDBIndex object itself. + */ + @Generated + public CosmosDBIndex setDatabaseName(String databaseName) { + this.databaseName = databaseName; + this.updatedProperties.add("databaseName"); + return this; + } + + /** + * Get the containerName property: Name of CosmosDB Container. + * + * @return the containerName value. + */ + @Generated + public String getContainerName() { + return this.containerName; + } + + /** + * Set the containerName property: Name of CosmosDB Container. + *Required when create the resource.
+ * + * @param containerName the containerName value to set. + * @return the CosmosDBIndex object itself. + */ + @Generated + public CosmosDBIndex setContainerName(String containerName) { + this.containerName = containerName; + this.updatedProperties.add("containerName"); + return this; + } + + /** + * Get the embeddingConfiguration property: Embedding model configuration. + * + * @return the embeddingConfiguration value. + */ + @Generated + public EmbeddingConfiguration getEmbeddingConfiguration() { + return this.embeddingConfiguration; + } + + /** + * Set the embeddingConfiguration property: Embedding model configuration. + *Required when create the resource.
+ * + * @param embeddingConfiguration the embeddingConfiguration value to set. + * @return the CosmosDBIndex object itself. + */ + @Generated + public CosmosDBIndex setEmbeddingConfiguration(EmbeddingConfiguration embeddingConfiguration) { + this.embeddingConfiguration = embeddingConfiguration; + this.updatedProperties.add("embeddingConfiguration"); + return this; + } + + /** + * Get the fieldMapping property: Field mapping configuration. + * + * @return the fieldMapping value. + */ + @Generated + public FieldMapping getFieldMapping() { + return this.fieldMapping; + } + + /** + * Set the fieldMapping property: Field mapping configuration. + *Required when create the resource.
+ * + * @param fieldMapping the fieldMapping value to set. + * @return the CosmosDBIndex object itself. + */ + @Generated + public CosmosDBIndex setFieldMapping(FieldMapping fieldMapping) { + this.fieldMapping = fieldMapping; + this.updatedProperties.add("fieldMapping"); + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public CosmosDBIndex setDescription(String description) { + super.setDescription(description); + this.updatedProperties.add("description"); + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public CosmosDBIndex setTags(MapRequired when create the resource.
+ * + * @param dataUri the dataUri value to set. + * @return the DatasetVersion object itself. + */ + @Generated + public DatasetVersion setDataUri(String dataUri) { + this.dataUri = dataUri; + this.updatedProperties.add("dataUri"); + return this; + } + + /** + * Get the isReference property: 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. + * + * @return the isReference value. + */ + @Generated + public Boolean isReference() { + return this.isReference; + } + + /** + * Get the connectionName property: The Azure Storage Account connection name. Required if startPendingUploadVersion + * was not called before creating the Dataset. + * + * @return the connectionName value. + */ + @Generated + public String getConnectionName() { + return this.connectionName; + } + + /** + * Set the connectionName property: The Azure Storage Account connection name. Required if startPendingUploadVersion + * was not called before creating the Dataset. + * + * @param connectionName the connectionName value to set. + * @return the DatasetVersion object itself. + */ + @Generated + public DatasetVersion setConnectionName(String connectionName) { + this.connectionName = connectionName; + this.updatedProperties.add("connectionName"); + return this; + } + + /** + * Get the id property: Asset ID, a unique identifier for the asset. + * + * @return the id value. + */ + @Generated + public String getId() { + return this.id; + } + + /** + * Get the name property: The name of the resource. + * + * @return the name value. + */ + @Generated + public String getName() { + return this.name; + } + + /** + * Get the version property: The version of the resource. + * + * @return the version value. + */ + @Generated + public String getVersion() { + return this.version; + } + + /** + * Get the description property: The asset description text. + * + * @return the description value. + */ + @Generated + public String getDescription() { + return this.description; + } + + /** + * Set the description property: The asset description text. + * + * @param description the description value to set. + * @return the DatasetVersion object itself. + */ + @Generated + public DatasetVersion setDescription(String description) { + this.description = description; + this.updatedProperties.add("description"); + return this; + } + + /** + * Get the tags property: Tag dictionary. Tags can be added, removed, and updated. + * + * @return the tags value. + */ + @Generated + public MapRequired when create the resource.
+ * + * @param modelDeploymentName the modelDeploymentName value to set. + * @return the EmbeddingConfiguration object itself. + */ + @Generated + public EmbeddingConfiguration setModelDeploymentName(String modelDeploymentName) { + this.modelDeploymentName = modelDeploymentName; + this.updatedProperties.add("modelDeploymentName"); + return this; + } + + /** + * Get the embeddingField property: Embedding field. + * + * @return the embeddingField value. + */ + @Generated + public String getEmbeddingField() { + return this.embeddingField; + } + + /** + * Set the embeddingField property: Embedding field. + *Required when create the resource.
+ * + * @param embeddingField the embeddingField value to set. + * @return the EmbeddingConfiguration object itself. + */ + @Generated + public EmbeddingConfiguration setEmbeddingField(String embeddingField) { + this.embeddingField = embeddingField; + this.updatedProperties.add("embeddingField"); + return this; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + if (jsonMergePatch) { + return toJsonMergePatch(jsonWriter); + } else { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("modelDeploymentName", this.modelDeploymentName); + jsonWriter.writeStringField("embeddingField", this.embeddingField); + return jsonWriter.writeEndObject(); + } + } + + @Generated + private JsonWriter toJsonMergePatch(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + if (updatedProperties.contains("modelDeploymentName")) { + if (this.modelDeploymentName == null) { + jsonWriter.writeNullField("modelDeploymentName"); + } else { + jsonWriter.writeStringField("modelDeploymentName", this.modelDeploymentName); + } + } + if (updatedProperties.contains("embeddingField")) { + if (this.embeddingField == null) { + jsonWriter.writeNullField("embeddingField"); + } else { + jsonWriter.writeStringField("embeddingField", this.embeddingField); + } + } + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of EmbeddingConfiguration from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of EmbeddingConfiguration if the JsonReader was pointing to an instance of it, or null if it + * was pointing to JSON null. + * @throws IOException If an error occurs while reading the EmbeddingConfiguration. + */ + @Generated + public static EmbeddingConfiguration fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + EmbeddingConfiguration deserializedEmbeddingConfiguration = new EmbeddingConfiguration(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("modelDeploymentName".equals(fieldName)) { + deserializedEmbeddingConfiguration.modelDeploymentName = reader.getString(); + } else if ("embeddingField".equals(fieldName)) { + deserializedEmbeddingConfiguration.embeddingField = reader.getString(); + } else { + reader.skipChildren(); + } + } + + return deserializedEmbeddingConfiguration; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EntraIDCredentials.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EntraIDCredentials.java new file mode 100644 index 000000000000..77aa107adb06 --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/EntraIDCredentials.java @@ -0,0 +1,80 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.Immutable; +import com.azure.json.JsonReader; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; + +/** + * Entra ID credential definition. + */ +@Immutable +public final class EntraIDCredentials extends BaseCredentials { + /* + * The type of credential used by the connection + */ + @Generated + private CredentialType type = CredentialType.ENTRA_ID; + + /** + * Creates an instance of EntraIDCredentials class. + */ + @Generated + private EntraIDCredentials() { + } + + /** + * Get the type property: The type of credential used by the connection. + * + * @return the type value. + */ + @Generated + @Override + public CredentialType getType() { + return this.type; + } + + /** + * {@inheritDoc} + */ + @Generated + @Override + public JsonWriter toJson(JsonWriter jsonWriter) throws IOException { + jsonWriter.writeStartObject(); + jsonWriter.writeStringField("type", this.type == null ? null : this.type.toString()); + return jsonWriter.writeEndObject(); + } + + /** + * Reads an instance of EntraIDCredentials from the JsonReader. + * + * @param jsonReader The JsonReader being read. + * @return An instance of EntraIDCredentials if the JsonReader was pointing to an instance of it, or null if it was + * pointing to JSON null. + * @throws IOException If an error occurs while reading the EntraIDCredentials. + */ + @Generated + public static EntraIDCredentials fromJson(JsonReader jsonReader) throws IOException { + return jsonReader.readObject(reader -> { + EntraIDCredentials deserializedEntraIDCredentials = new EntraIDCredentials(); + while (reader.nextToken() != JsonToken.END_OBJECT) { + String fieldName = reader.getFieldName(); + reader.nextToken(); + + if ("type".equals(fieldName)) { + deserializedEntraIDCredentials.type = CredentialType.fromString(reader.getString()); + } else { + reader.skipChildren(); + } + } + + return deserializedEntraIDCredentials; + }); + } +} diff --git a/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FieldMapping.java b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FieldMapping.java new file mode 100644 index 000000000000..ac636ab45fde --- /dev/null +++ b/sdk/ai/azure-ai-projects/src/main/java/com/azure/ai/projects/models/FieldMapping.java @@ -0,0 +1,348 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) TypeSpec Code Generator. + +package com.azure.ai.projects.models; + +import com.azure.ai.projects.implementation.JsonMergePatchHelper; +import com.azure.core.annotation.Fluent; +import com.azure.core.annotation.Generated; +import com.azure.json.JsonReader; +import com.azure.json.JsonSerializable; +import com.azure.json.JsonToken; +import com.azure.json.JsonWriter; +import java.io.IOException; +import java.util.HashSet; +import java.util.List; +import java.util.Set; + +/** + * Field mapping configuration class. + */ +@Fluent +public final class FieldMapping implements JsonSerializable