text
stringlengths 8
1.72M
| id
stringlengths 22
143
| metadata
dict | __index_level_0__
int64 0
104
|
---|---|---|---|
from promptflow import tool
from typing import List
from promptflow import log_metric
# The inputs section will change based on the arguments of the tool function, after you save the code
# Adding type to arguments and return value will help the system show the types properly
# Please update the function name/signature per need
@tool
def log_metrics(match_counts: List[dict]):
exact_match_rate = sum([m["exact_match"] for m in match_counts]) / len(match_counts)
partial_match_rate = sum([m["partial_match"] for m in match_counts]) / len(match_counts)
log_metric(key="exact_match_rate", value=exact_match_rate)
log_metric(key="partial_match_rate", value=partial_match_rate)
print("exact_match_rate: ", exact_match_rate)
print("partial_match_rate: ", partial_match_rate)
return {"exact_match_rate": exact_match_rate, "partial_match_rate": partial_match_rate}
| promptflow/examples/flows/evaluation/eval-entity-match-rate/log_metrics.py/0 | {
"file_path": "promptflow/examples/flows/evaluation/eval-entity-match-rate/log_metrics.py",
"repo_id": "promptflow",
"token_count": 284
} | 11 |
# Q&A Evaluation:
This is a flow evaluating the Q&A RAG (Retrieval Augmented Generation) systems by leveraging the state-of-the-art Large Language Models (LLM) to measure the quality and safety of responses. Utilizing GPT model to assist with measurements aims to achieve a high agreement with human evaluations compared to traditional mathematical measurements.
## What you will learn
The Q&A RAG evaluation flow allows you to assess and evaluate your model with the LLM-assisted metrics:
__gpt_retrieval_score__: Measures the relevance between the retrieved documents and the potential answer to the given question in the range of 1 to 5:
* 1 means that none of the document is relevant to the question at all
* 5 means that either one of the documents or combination of a few documents is ideal for answering the given question.
__gpt_groundedness__ : Measures how grounded the factual information in the answers is against the fact from the retrieved documents. Even if answers is true, if not verifiable against context, then such answers are considered ungrounded.
Grounding score is scored on a scale of 1 to 5, with 1 being the worst and 5 being the best.
__gpt_relevance__: Measures the answer quality against the preference answer generated by LLm with the retrieved documents in the range of 1 to 5:
* 1 means the provided answer is completely irrelevant to the reference answer.
* 5 means the provided answer includes all information necessary to answer the question based on the reference answer.
If the reference answer is can not be generated since no relevant document were retrieved, the answer would be rated as 5.
## Prerequisites
- Connection: Azure OpenAI or OpenAI connection.
- Data input: Evaluating the Coherence metric requires you to provide data inputs including a question, an answer, and documents in json format.
## Tools used in this flow
- `Python` tool
- `LLM` tool
## 0. Setup connection
Prepare your Azure Open AI resource follow this [instruction](https://learn.microsoft.com/en-us/azure/cognitive-services/openai/how-to/create-resource?pivots=web-portal) and get your `api_key` if you don't have one.
```bash
# Override keys with --set to avoid yaml file changes
pf connection create --file ../../../connections/azure_openai.yml --set api_key=<your_api_key> api_base=<your_api_base>
```
## 1. Test flow/node
```bash
# test with default input value in flow.dag.yaml
pf flow test --flow .
```
## 2. Create flow run with multi line data and selected metrics
```bash
pf run create --flow . --data ./data.jsonl --column-mapping question='${data.question}' answer='${data.answer}' documents='${data.documents}' metrics='gpt_groundedness' --stream
```
You can also skip providing `column-mapping` if provided data has same column name as the flow.
Reference [here](https://aka.ms/pf/column-mapping) for default behavior when `column-mapping` not provided in CLI.
## 3. Run and Evaluate your flow with this Q&A RAG evaluation flow
After you develop your flow, you may want to run and evaluate it with this evaluation flow.
Here we use the flow [basic_chat](../../chat/basic-chat/) as the main flow to evaluate. It is a flow demonstrating how to create a chatbot with LLM. The chatbot can remember previous interactions and use the conversation history to generate next message, given a question.
### 3.1 Create a batch run of your flow
```bash
pf run create --flow ../../chat/basic-chat --data data.jsonl --column-mapping question='${data.question}' --name basic_chat_run --stream
```
Please note that `column-mapping` is a mapping from flow input name to specified values. Please refer to [Use column mapping](https://aka.ms/pf/column-mapping) for more details.
The flow run is named by specifying `--name basic_chat_run` in the above command. You can view the run details with its run name using the command:
```bash
pf run show-details -n basic_chat_run
```
### 3.2 Evaluate your flow
You can use this evaluation flow to measure the quality and safety of your flow responses.
After the chat flow run is finished, you can this evaluation flow to the run:
```bash
pf run create --flow . --data data.jsonl --column-mapping answer='${run.outputs.answer}' documents='{${data.documents}}' question='${data.question}' metrics='gpt_groundedness,gpt_relevance,gpt_retrieval_score' --run basic_chat_run --stream --name evaluation_qa_rag
```
Please note the flow run to be evaluated is specified with `--run basic_chat_run`. Also same as previous run, the evaluation run is named with `--name evaluation_qa_rag`.
You can view the evaluation run details with:
```bash
pf run show-details -n evaluation_qa_rag
pf run show-metrics -n evaluation_qa_rag
``` | promptflow/examples/flows/evaluation/eval-qna-rag-metrics/README.md/0 | {
"file_path": "promptflow/examples/flows/evaluation/eval-qna-rag-metrics/README.md",
"repo_id": "promptflow",
"token_count": 1259
} | 12 |
{"document_path": "./document1.txt", "language": "en"}
{"document_path": "./document2.txt", "language": "en"} | promptflow/examples/flows/integrations/azure-ai-language/analyze_documents/data.jsonl/0 | {
"file_path": "promptflow/examples/flows/integrations/azure-ai-language/analyze_documents/data.jsonl",
"repo_id": "promptflow",
"token_count": 37
} | 13 |
from typing import Union
from promptflow import tool
from promptflow.connections import AzureOpenAIConnection, OpenAIConnection
@tool
def autogpt_easy_start(connection: Union[AzureOpenAIConnection, OpenAIConnection], system_prompt: str, user_prompt: str,
triggering_prompt: str, functions: list, model_or_deployment_name: str):
from wiki_search import search
from python_repl import python
from autogpt_class import AutoGPT
full_message_history = []
tools = [
search,
python
]
agent = AutoGPT(
full_message_history=full_message_history,
tools=tools,
system_prompt=system_prompt,
connection=connection,
model_or_deployment_name=model_or_deployment_name,
functions=functions,
user_prompt=user_prompt,
triggering_prompt=triggering_prompt
)
result = agent.run()
return result
| promptflow/examples/flows/standard/autonomous-agent/autogpt_easy_start.py/0 | {
"file_path": "promptflow/examples/flows/standard/autonomous-agent/autogpt_easy_start.py",
"repo_id": "promptflow",
"token_count": 374
} | 14 |
# Conditional flow for if-else scenario
This example is a conditional flow for if-else scenario.
By following this example, you will learn how to create a conditional flow using the `activate config`.
## Flow description
In this flow, it checks if an input query passes content safety check. If it's denied, we'll return a default response; otherwise, we'll call LLM to get a response and then summarize the final results.
The following are two execution situations of this flow:
- if input query passes content safety check:

- else:

**Notice**: The `content_safety_check` and `llm_result` node in this flow are dummy nodes that do not actually use the conten safety tool and LLM tool. You can replace them with the real ones. Learn more: [LLM Tool](https://microsoft.github.io/promptflow/reference/tools-reference/llm-tool.html)
## Prerequisites
Install promptflow sdk and other dependencies:
```bash
pip install -r requirements.txt
```
## Run flow
- Test flow
```bash
# test with default input value in flow.dag.yaml
pf flow test --flow .
# test with flow inputs
pf flow test --flow . --inputs question="What is Prompt flow?"
```
- Create run with multiple lines of data
```bash
# create a random run name
run_name="conditional_flow_for_if_else_"$(openssl rand -hex 12)
# create run
pf run create --flow . --data ./data.jsonl --column-mapping question='${data.question}' --stream --name $run_name
```
- List and show run metadata
```bash
# list created run
pf run list
# show specific run detail
pf run show --name $run_name
# show output
pf run show-details --name $run_name
# visualize run in browser
pf run visualize --name $run_name
```
| promptflow/examples/flows/standard/conditional-flow-for-if-else/README.md/0 | {
"file_path": "promptflow/examples/flows/standard/conditional-flow-for-if-else/README.md",
"repo_id": "promptflow",
"token_count": 522
} | 15 |
from promptflow import tool
@tool
def generate_response(order_search="", product_info="", product_recommendation="") -> str:
default_response = "Sorry, no results matching your search were found."
responses = [order_search, product_info, product_recommendation]
return next((response for response in responses if response), default_response)
| promptflow/examples/flows/standard/conditional-flow-for-switch/generate_response.py/0 | {
"file_path": "promptflow/examples/flows/standard/conditional-flow-for-switch/generate_response.py",
"repo_id": "promptflow",
"token_count": 95
} | 16 |
You are given a list of orders with item_numbers from a customer and a statement from the customer. It is your job to identify the intent that the customer has with their statement. Possible intents can be: "product return", "product exchange", "general question", "product question", "other".
In triple backticks below is the customer information and a list of orders.
```
{{customer_info}}
```
In triple backticks below are the is the chat history with customer statements and replies from the customer service agent:
```
{{history}}
```
What is the customer's `intent:` here?
"product return", "exchange product", "general question", "product question" or "other"?
Reply with only the intent string. | promptflow/examples/flows/standard/customer-intent-extraction/user_intent_zero_shot.jinja2/0 | {
"file_path": "promptflow/examples/flows/standard/customer-intent-extraction/user_intent_zero_shot.jinja2",
"repo_id": "promptflow",
"token_count": 180
} | 17 |
$schema: https://azuremlschemas.azureedge.net/promptflow/latest/Flow.schema.json
inputs:
url:
type: string
default: https://www.microsoft.com/en-us/d/xbox-wireless-controller-stellar-shift-special-edition/94fbjc7h0h6h
outputs:
category:
type: string
reference: ${convert_to_dict.output.category}
evidence:
type: string
reference: ${convert_to_dict.output.evidence}
nodes:
- name: fetch_text_content_from_url
type: python
source:
type: code
path: fetch_text_content_from_url.py
inputs:
url: ${inputs.url}
- name: summarize_text_content
use_variants: true
- name: prepare_examples
type: python
source:
type: code
path: prepare_examples.py
inputs: {}
- name: classify_with_llm
type: llm
source:
type: code
path: classify_with_llm.jinja2
inputs:
# This is to easily switch between openai and azure openai.
# deployment_name is required by azure openai, model is required by openai.
deployment_name: gpt-35-turbo
model: gpt-3.5-turbo
max_tokens: 128
temperature: 0.2
url: ${inputs.url}
text_content: ${summarize_text_content.output}
examples: ${prepare_examples.output}
connection: open_ai_connection
api: chat
- name: convert_to_dict
type: python
source:
type: code
path: convert_to_dict.py
inputs:
input_str: ${classify_with_llm.output}
node_variants:
summarize_text_content:
default_variant_id: variant_0
variants:
variant_0:
node:
type: llm
source:
type: code
path: summarize_text_content.jinja2
inputs:
# This is to easily switch between openai and azure openai.
# deployment_name is required by azure openai, model is required by openai.
deployment_name: gpt-35-turbo
model: gpt-3.5-turbo
max_tokens: 128
temperature: 0.2
text: ${fetch_text_content_from_url.output}
connection: open_ai_connection
api: chat
variant_1:
node:
type: llm
source:
type: code
path: summarize_text_content__variant_1.jinja2
inputs:
# This is to easily switch between openai and azure openai.
# deployment_name is required by azure openai, model is required by openai.
deployment_name: gpt-35-turbo
model: gpt-3.5-turbo
max_tokens: 256
temperature: 0.3
text: ${fetch_text_content_from_url.output}
connection: open_ai_connection
api: chat
environment:
python_requirements_txt: requirements.txt
| promptflow/examples/flows/standard/flow-with-symlinks/flow.dag.yaml/0 | {
"file_path": "promptflow/examples/flows/standard/flow-with-symlinks/flow.dag.yaml",
"repo_id": "promptflow",
"token_count": 1182
} | 18 |
import argparse
from file import File
from diff import show_diff
from load_code_tool import load_code
from promptflow import PFClient
from pathlib import Path
if __name__ == "__main__":
current_folder = Path(__file__).absolute().parent
parser = argparse.ArgumentParser(description="The code path of code that need to generate docstring.")
parser.add_argument("--source", help="Path for the code file", default=str(current_folder / 'azure_open_ai.py'))
args = parser.parse_args()
pf = PFClient()
source = args.source
flow_result = pf.test(flow=str(current_folder), inputs={"source": source})
show_diff(load_code(source), flow_result['code'], File(source).filename)
| promptflow/examples/flows/standard/gen-docstring/main.py/0 | {
"file_path": "promptflow/examples/flows/standard/gen-docstring/main.py",
"repo_id": "promptflow",
"token_count": 222
} | 19 |
# Named Entity Recognition
A flow that perform named entity recognition task.
[Named Entity Recognition (NER)](https://en.wikipedia.org/wiki/Named-entity_recognition) is a Natural Language Processing (NLP) task. It involves identifying and classifying named entities (such as people, organizations, locations, date expressions, percentages, etc.) in a given text. This is a crucial aspect of NLP as it helps to understand the context and extract key information from the text.
This sample flow performs named entity recognition task using ChatGPT/GPT4 and prompts.
Tools used in this flow:
- `python` tool
- built-in `llm` tool
Connections used in this flow:
- `azure_open_ai` connection
## Prerequisites
Install promptflow sdk and other dependencies:
```bash
pip install -r requirements.txt
```
## Setup connection
Prepare your Azure Open AI resource follow this [instruction](https://learn.microsoft.com/en-us/azure/cognitive-services/openai/how-to/create-resource?pivots=web-portal) and get your `api_key` if you don't have one.
Note in this example, we are using [chat api](https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/chatgpt?pivots=programming-language-chat-completions), please use `gpt-35-turbo` or `gpt-4` model deployment.
Create connection if you haven't done that. Ensure you have put your azure open ai endpoint key in [azure_openai.yml](../../../connections/azure_openai.yml) file.
```bash
# Override keys with --set to avoid yaml file changes
pf connection create -f ../../../connections/azure_openai.yml --set api_key=<your_api_key> api_base=<your_api_base>
```
Ensure you have created `open_ai_connection` connection.
```bash
pf connection show -n open_ai_connection
```
## Run flow
### Run with single line input
```bash
# test with default input value in flow.dag.yaml
pf flow test --flow .
# test with specific input
pf flow test --flow . --inputs text='The phone number (321) 654-0987 is no longer in service' entity_type='phone number'
```
### run with multiple lines data
- create run
```bash
pf run create --flow . --data ./data.jsonl --column-mapping entity_type='${data.entity_type}' text='${data.text}' --stream
```
You can also skip providing `column-mapping` if provided data has same column name as the flow.
Reference [here](https://aka.ms/pf/column-mapping) for default behavior when `column-mapping` not provided in CLI.
| promptflow/examples/flows/standard/named-entity-recognition/README.md/0 | {
"file_path": "promptflow/examples/flows/standard/named-entity-recognition/README.md",
"repo_id": "promptflow",
"token_count": 724
} | 20 |
$schema: https://azuremlschemas.azureedge.net/promptflow/latest/Run.schema.json
flow: .
data: data.jsonl
variant: ${summarize_text_content.variant_1}
column_mapping:
url: ${data.url}
| promptflow/examples/flows/standard/web-classification/run.yml/0 | {
"file_path": "promptflow/examples/flows/standard/web-classification/run.yml",
"repo_id": "promptflow",
"token_count": 77
} | 21 |
from promptflow import tool
from promptflow.connections import CustomStrongTypeConnection
from promptflow.contracts.types import Secret
class MyCustomConnection(CustomStrongTypeConnection):
"""My custom strong type connection.
:param api_key: The api key get from "https://xxx.com".
:type api_key: Secret
:param api_base: The api base.
:type api_base: String
"""
api_key: Secret
api_base: str = "This is a fake api base."
@tool
def my_tool(connection: MyCustomConnection, input_text: str) -> str:
# Replace with your tool code.
# Use custom strong type connection like: connection.api_key, connection.api_base
return "Hello " + input_text
| promptflow/examples/tools/tool-package-quickstart/my_tool_package/tools/tool_with_custom_strong_type_connection.py/0 | {
"file_path": "promptflow/examples/tools/tool-package-quickstart/my_tool_package/tools/tool_with_custom_strong_type_connection.py",
"repo_id": "promptflow",
"token_count": 213
} | 22 |
import pytest
import unittest
from promptflow.connections import CustomConnection
from my_tool_package.tools.my_tool_2 import MyTool
@pytest.fixture
def my_custom_connection() -> CustomConnection:
my_custom_connection = CustomConnection(
{
"api-key" : "my-api-key",
"api-secret" : "my-api-secret",
"api-url" : "my-api-url"
}
)
return my_custom_connection
@pytest.fixture
def my_tool_provider(my_custom_connection) -> MyTool:
my_tool_provider = MyTool(my_custom_connection)
return my_tool_provider
class TestMyTool2:
def test_my_tool_2(self, my_tool_provider: MyTool):
result = my_tool_provider.my_tool(input_text="Microsoft")
assert result == "Hello Microsoft"
# Run the unit tests
if __name__ == "__main__":
unittest.main()
| promptflow/examples/tools/tool-package-quickstart/tests/test_my_tool_2.py/0 | {
"file_path": "promptflow/examples/tools/tool-package-quickstart/tests/test_my_tool_2.py",
"repo_id": "promptflow",
"token_count": 340
} | 23 |
# Basic flow with script tool using custom strong type connection
This is a flow demonstrating the use of a script tool with custom string type connection which provides a secure way to manage credentials for external APIs and data sources, and it offers an improved user-friendly and intellisense experience compared to custom connections.
Tools used in this flow:
- custom `python` tool
Connections used in this flow:
- custom strong type connection
## Prerequisites
Install promptflow sdk and other dependencies:
```bash
pip install -r requirements.txt
```
## Setup connection
Create connection if you haven't done that.
```bash
# Override keys with --set to avoid yaml file changes
pf connection create -f custom.yml --set secrets.api_key='<your_api_key>' configs.api_base='<your_api_base>'
```
Ensure you have created `normal_custom_connection` connection.
```bash
pf connection show -n normal_custom_connection
```
## Run flow
### Run with single line input
```bash
# test with default input value in flow.dag.yaml
pf flow test --flow .
# test with flow inputs
pf flow test --flow . --inputs text="Promptflow"
```
### Run with multiple lines data
- create run
```bash
pf run create --flow . --data ./data.jsonl --stream
```
- list and show run meta
```bash
# list created run
pf run list -r 3
# get a sample run name
name=$(pf run list -r 10 | jq '.[] | select(.name | contains("custom_strong_type")) | .name'| head -n 1 | tr -d '"')
# show specific run detail
pf run show --name $name
# show output
pf run show-details --name $name
# visualize run in browser
pf run visualize --name $name
```
### Run with connection override
Run flow with newly created connection.
```bash
pf run create --flow . --data ./data.jsonl --connections my_script_tool.connection=normal_custom_connection --stream
```
| promptflow/examples/tools/use-cases/custom-strong-type-connection-script-tool-showcase/README.md/0 | {
"file_path": "promptflow/examples/tools/use-cases/custom-strong-type-connection-script-tool-showcase/README.md",
"repo_id": "promptflow",
"token_count": 533
} | 24 |
# -*- mode: python ; coding: utf-8 -*-
from PyInstaller.utils.hooks import collect_data_files
from PyInstaller.utils.hooks import copy_metadata
datas = [('connections', 'connections'), ('flow', 'flow'), ('settings.json', '.'), ('main.py', '.'), ('{{streamlit_runtime_interpreter_path}}', './streamlit/runtime')]
datas += collect_data_files('streamlit')
datas += copy_metadata('streamlit')
datas += collect_data_files('keyrings.alt', include_py_files=True)
datas += copy_metadata('keyrings.alt')
datas += collect_data_files('streamlit_quill')
block_cipher = None
a = Analysis(
['app.py', 'main.py'],
pathex=[],
binaries=[],
datas=datas,
hiddenimports=['bs4'],
hookspath=[],
hooksconfig={},
runtime_hooks=[],
excludes=[],
win_no_prefer_redirects=False,
win_private_assemblies=False,
cipher=block_cipher,
noarchive=False,
)
pyz = PYZ(a.pure, a.zipped_data, cipher=block_cipher)
exe = EXE(
pyz,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
[],
name='app',
debug=False,
bootloader_ignore_signals=False,
strip=False,
upx=True,
upx_exclude=[],
runtime_tmpdir=None,
console=True,
disable_windowed_traceback=False,
argv_emulation=False,
target_arch=None,
codesign_identity=None,
entitlements_file=None,
) | promptflow/examples/tutorials/flow-deploy/distribute-flow-as-executable-app/app.spec/0 | {
"file_path": "promptflow/examples/tutorials/flow-deploy/distribute-flow-as-executable-app/app.spec",
"repo_id": "promptflow",
"token_count": 554
} | 25 |
<jupyter_start><jupyter_text>Flow Run Management**Prerequisite** - To make the most of this tutorial, you'll need:- A local clone of the prompt flow repository- A Python environment with Jupyter Notebook support (such as Jupyter Lab or the Python extension for Visual Studio Code)- Know how to program with Python :)_A basic understanding of Machine Learning can be beneficial, but it's not mandatory._**Learning Objectives** - By the end of this tutorial, you should be able to:- manage runs via run.yaml- create run which references another runs inputs- create run with connection override**Motivations** - This guide will walk you through local run management abilities. 0. Install dependent packages<jupyter_code>%pip install -r ../../requirements.txt<jupyter_output><empty_output><jupyter_text>1. Create necessary connectionsConnection helps securely store and manage secret keys or other sensitive credentials required for interacting with LLM and other external tools for example Azure Content Safety.This notebook's will use connection `open_ai_connection` inside, we need to set up the connection if we haven't added it before. After created, it's stored in local db and can be used in any flow.Prepare your Azure Open AI resource follow this [instruction](https://learn.microsoft.com/en-us/azure/cognitive-services/openai/how-to/create-resource?pivots=web-portal) and get your `api_key` if you don't have one.<jupyter_code>import json
from promptflow import PFClient
from promptflow.connections import AzureOpenAIConnection, OpenAIConnection
# client can help manage your runs and connections.
pf = PFClient()
try:
conn_name = "open_ai_connection"
conn = pf.connections.get(name=conn_name)
print("using existing connection")
except:
# Follow https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/create-resource?pivots=web-portal to create an Azure Open AI resource.
connection = AzureOpenAIConnection(
name=conn_name,
api_key="<test_key>",
api_base="<test_base>",
api_type="azure",
api_version="<test_version>",
)
# use this if you have an existing OpenAI account
# connection = OpenAIConnection(
# name=conn_name,
# api_key="<user-input>",
# )
conn = pf.connections.create_or_update(connection)
print("successfully created connection")
print(conn)<jupyter_output><empty_output><jupyter_text>2. Create run with YAML fileYou can save configurations for a run in a YAML file to save the effort to repeately provide them in SDK/CLI.In this step, we will create a sample run with a YAML file.<jupyter_code>from promptflow._sdk._load_functions import load_run
# load a run from YAML file
base_run = load_run(
source="../../flows/standard/web-classification/run.yml",
# override the default params in the YAML file
params_override=[{"column_mapping": {"url": "${data.url}"}}],
)
# create the run
base_run = pf.runs.create_or_update(run=base_run)
details = pf.get_details(base_run)
details.head(10)<jupyter_output><empty_output><jupyter_text>3 Create a flow run which uses an existing run's inputsWhen running a flow with an existing run, you can reference either it's inputs or outputs in column mapping.The following code cell show how to reference a run's inputs in column mapping.<jupyter_code>from promptflow.entities import Run
# directly create the run object
run = Run(
# local flow file
flow="../../flows/standard/web-classification",
# run name
run=base_run,
column_mapping={
# reference another run's inputs data column
"url": "${run.inputs.url}",
},
)
base_run = pf.runs.create_or_update(
run=run,
)
pf.runs.stream(base_run)<jupyter_output><empty_output><jupyter_text>4. Create a flow run with connection overrideSometime you want to switch connection or deployment name inside a flow when submitting it.Connection override provided an easy way to do it without changing original `flow.dag.yaml`.In the following code cell, we will submit flow `web-classification` and override it's connection to `open_ai_connection`. Please make sure the connection `open_ai_connection` exists in your local environment.<jupyter_code>run = Run(
# local flow file
flow="../../flows/standard/web-classification",
data="../../flows/standard/web-classification/data.jsonl",
# override connection for node classify_with_llm & summarize_text_content
# you can replace connection to your local connections
connections={
"classify_with_llm": {"connection": "open_ai_connection"},
"summarize_text_content": {"connection": "open_ai_connection"},
},
)
base_run = pf.runs.create_or_update(
run=run,
)
pf.runs.stream(base_run)<jupyter_output><empty_output> | promptflow/examples/tutorials/run-management/run-management.ipynb/0 | {
"file_path": "promptflow/examples/tutorials/run-management/run-management.ipynb",
"repo_id": "promptflow",
"token_count": 1499
} | 26 |
# -- Path setup --------------------------------------------------------------
import sys
# -- Project information -----------------------------------------------------
project = 'Prompt flow'
copyright = '2023, Microsoft'
author = 'Microsoft'
sys.path.append(".")
from gallery_directive import GalleryDirective # noqa: E402
# -- General configuration ---------------------------------------------------
extensions = [
"sphinx.ext.autodoc",
"sphinx.ext.autosummary",
"sphinx.ext.todo",
"sphinxext.rediraffe",
"sphinx_design",
"sphinx_copybutton",
"matplotlib.sphinxext.plot_directive",
"sphinx_togglebutton",
'myst_parser',
"sphinx.builders.linkcheck",
]
# -- Internationalization ------------------------------------------------
# specifying the natural language populates some key tags
language = "en"
# specify charset as utf-8 to accept chinese punctuation
charset_type = "utf-8"
autosummary_generate = True
# Add any paths that contain templates here, relative to this directory.
# templates_path = ["_templates"]
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = [
"_build", "Thumbs.db", ".DS_Store", "**.ipynb_checkpoints",
"**.py", "**.yml", "**.ipynb", "**.sh", "**.zip", "**.skip"
]
# Options for the linkcheck builder
linkcheck_ignore = [
r"https://platform\.openai\.com/",
r"https://help\.openai\.com/",
# These are used in card links, for example 'xx.html', .md can't be resolved.
r"^(?!https?)",
"deploy-using-docker.html",
"deploy-using-kubernetes.html",
]
linkcheck_exclude_documents = ["contributing"]
# -- Extension options -------------------------------------------------------
# This allows us to use ::: to denote directives, useful for admonitions
myst_enable_extensions = ["colon_fence", "substitution"]
# -- Options for HTML output -------------------------------------------------
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = "pydata_sphinx_theme"
html_logo = "_static/logo.svg"
html_favicon = "_static/logo32.ico"
html_sourcelink_suffix = ""
html_show_sourcelink = False
# Define the json_url for our version switcher.
html_theme_options = {
"github_url": "https://github.com/microsoft/promptflow",
"header_links_before_dropdown": 6,
"icon_links": [
{
"name": "PyPI",
"url": "https://pypi.org/project/promptflow/",
"icon": "fa-solid fa-box",
},
],
"logo": {
"text": "Prompt flow",
"alt_text": "Prompt flow",
},
"use_edit_page_button": True,
"show_toc_level": 1,
"navbar_align": "left", # [left, content, right] For testing that the navbar items align properly
"navbar_center": ["navbar-nav"],
"announcement":
"Prompt flow supports OpenAI 1.x since v1.1.0. This may introduce breaking change. Reach "
"<a href='https://microsoft.github.io/promptflow/how-to-guides/faq.html#openai-1-x-support'>here</a> "
"for guide to upgrade.",
"show_nav_level": 1,
}
html_sidebars = {
# "quick_start/README.md": ['localtoc.html', 'relations.html', 'searchbox.html'],
# "examples/persistent-search-field": ["search-field"],
# Blog sidebars
# ref: https://ablog.readthedocs.io/manual/ablog-configuration-options/#blog-sidebars
"features": ['localtoc.html', 'relations.html', 'searchbox.html'],
# "tutorials": ['localtoc.html', 'relations.html', 'searchbox.html'],
}
html_context = {
"default_mode": "light",
"github_user": "",
"github_repo": "microsoft/promptflow",
"github_version": "main",
"doc_path": "docs",
}
rediraffe_redirects = {
}
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ["_static"]
html_css_files = ["custom.css"]
html_js_files = ['custom.js']
todo_include_todos = True
# myst reference config
myst_heading_anchors = 5
def setup(app):
# Add the gallery directive
app.add_directive("gallery-grid", GalleryDirective)
| promptflow/scripts/docs/conf.py/0 | {
"file_path": "promptflow/scripts/docs/conf.py",
"repo_id": "promptflow",
"token_count": 1543
} | 27 |
import sys
import multiprocessing
# use this file as the only entry point for the CLI to avoid packaging the same environment repeatedly
if __name__ == "__main__":
multiprocessing.freeze_support()
command = sys.argv[1] if len(sys.argv) > 1 else None
sys.argv = sys.argv[1:]
if command == 'pf':
from promptflow._cli._pf.entry import main as pf_main
pf_main()
elif command == 'pfazure':
from promptflow._cli._pf_azure.entry import main as pfazure_main
pfazure_main()
elif command == 'pfs':
from promptflow._sdk._service.entry import main as pfs_main
pfs_main()
elif command == 'pfsvc':
from promptflow._sdk._service.pfsvc import init as pfsvc_init
pfsvc_init()
else:
print(f"Invalid command {sys.argv}. Please use 'pf', 'pfazure', 'pfs' or 'pfsvc'.")
| promptflow/scripts/installer/windows/scripts/pfcli.py/0 | {
"file_path": "promptflow/scripts/installer/windows/scripts/pfcli.py",
"repo_id": "promptflow",
"token_count": 359
} | 28 |
# Promptflow examples
[](https://github.com/psf/black)
[](../LICENSE)
## Get started
**Install dependencies**
- Bootstrap your python environment.
- e.g: create a new [conda](https://conda.io/projects/conda/en/latest/user-guide/getting-started.html) environment. `conda create -n pf-examples python=3.9`.
- install required packages in python environment : `pip install -r requirements.txt`
- show installed sdk: `pip show promptflow`
**Quick start**
| path | status | description |
------|--------|-------------
{% for quickstart in quickstarts.notebooks %}| [{{ quickstart.name }}]({{ quickstart.path }}) | [](https://github.com/microsoft/promptflow/actions/workflows/{{quickstart.yaml_name}}) | {{ quickstart.description }} |
{% endfor %}
## CLI examples
### Tutorials ([tutorials](tutorials))
| path | status | description |
------|--------|-------------
{% for tutorial in tutorials.readmes %}| [{{ tutorial.name }}]({{ tutorial.path }}) | [](https://github.com/microsoft/promptflow/actions/workflows/{{tutorial.yaml_name}}) | {{ tutorial.description }} |
{% endfor %}
### Flows ([flows](flows))
#### [Standard flows](flows/standard/)
| path | status | description |
------|--------|-------------
{% for flow in flows.readmes %}| [{{ flow.name }}]({{ flow.path }}) | [](https://github.com/microsoft/promptflow/actions/workflows/{{flow.yaml_name}}) | {{ flow.description }} |
{% endfor %}
#### [Evaluation flows](flows/evaluation/)
| path | status | description |
------|--------|-------------
{% for evaluation in evaluations.readmes %}| [{{ evaluation.name }}]({{ evaluation.path }}) | [](https://github.com/microsoft/promptflow/actions/workflows/{{evaluation.yaml_name}}) | {{ evaluation.description }} |
{% endfor %}
#### [Chat flows](flows/chat/)
| path | status | description |
------|--------|-------------
{% for chat in chats.readmes %}| [{{ chat.name }}]({{ chat.path }}) | [](https://github.com/microsoft/promptflow/actions/workflows/{{chat.yaml_name}}) | {{ chat.description }} |
{% endfor %}
### Tool Use Cases ([Tool Use Cases](tools/use-cases))
| path | status | description |
------|--------|-------------
{% for toolusecase in toolusecases.readmes %}| [{{ toolusecase.name }}]({{ toolusecase.path }}) | [](https://github.com/microsoft/promptflow/actions/workflows/{{toolusecase.yaml_name}}) | {{ toolusecase.description }} |
{% endfor %}
### Connections ([connections](connections))
| path | status | description |
------|--------|-------------
{% for connection in connections.readmes %}| [{{ connection.name }}]({{ connection.path }}) | [](https://github.com/microsoft/promptflow/actions/workflows/{{connection.yaml_name}}) | {{ connection.description }} |
{% endfor %}
## SDK examples
| path | status | description |
------|--------|-------------
{% for quickstart in quickstarts.notebooks %}| [{{ quickstart.name }}]({{ quickstart.path }}) | [](https://github.com/microsoft/promptflow/actions/workflows/{{quickstart.yaml_name}}) | {{ quickstart.description }} |
{% endfor %}
{%- for tutorial in tutorials.notebooks -%}| [{{ tutorial.name }}]({{ tutorial.path }}) | [](https://github.com/microsoft/promptflow/actions/workflows/{{tutorial.yaml_name}}) | {{ tutorial.description }} |
{% endfor %}
{%- if connections.notebooks|length > 0 -%}{% for connection in connections.notebooks %}| [{{ connection.name }}]({{ connection.path }}) | [](https://github.com/microsoft/promptflow/actions/workflows/{{connection.yaml_name}}) | {{ connection.description }} |
{% endfor %}{% endif %}
{%- if chats.notebooks|length > 0 -%}{% for chat in chats.notebooks %}| [{{ chat.name }}]({{ chat.path }}) | [](https://github.com/microsoft/promptflow/actions/workflows/{{chat.yaml_name}}) | {{ chat.description }} |
{% endfor %}{% endif %}
{%- if evaluations.notebooks|length > 0 -%}{% for evaluation in evaluations.notebooks %}| [{{ evaluation.name }}]({{ evaluation.path }}) | [](https://github.com/microsoft/promptflow/actions/workflows/{{evaluation.yaml_name}}) | {{ evaluation.description }} |
{% endfor %}{% endif %}
{%- if flows.notebooks|length > 0 -%}{% for flow in flows.notebooks %}| [{{ flow.name }}]({{ flow.path }}) | [](https://github.com/microsoft/promptflow/actions/workflows/{{flow.yaml_name}}) | {{ flow.description }} |
{% endfor %}{% endif %}
## Contributing
We welcome contributions and suggestions! Please see the [contributing guidelines](../CONTRIBUTING.md) for details.
## Code of Conduct
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). Please see the [code of conduct](../CODE_OF_CONDUCT.md) for details.
## Reference
* [Promptflow documentation](https://microsoft.github.io/promptflow/)
| promptflow/scripts/readme/ghactions_driver/readme_templates/README.md.jinja2/0 | {
"file_path": "promptflow/scripts/readme/ghactions_driver/readme_templates/README.md.jinja2",
"repo_id": "promptflow",
"token_count": 2246
} | 29 |
{% extends "workflow_skeleton.yml.jinja2" %}
{% block steps %}
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Python 3.9 environment
uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Generate config.json for canary workspace (scheduled runs only)
if: github.event_name == 'schedule'
run: echo '${{ '{{' }} secrets.TEST_WORKSPACE_CONFIG_JSON_CANARY }}' > ${{ '{{' }} github.workspace }}/examples/config.json
- name: Generate config.json for production workspace
if: github.event_name != 'schedule'
run: echo '${{ '{{' }} secrets.EXAMPLE_WORKSPACE_CONFIG_JSON_PROD }}' > ${{ '{{' }} github.workspace }}/examples/config.json
{%- filter indent(width=2) -%}
{% for step in steps %}
{{ step.get_workflow_step() }}{% endfor %}
{%- endfilter -%}
{% endblock steps %} | promptflow/scripts/readme/ghactions_driver/workflow_templates/basic_workflow_replace_config_json.yml.jinja2/0 | {
"file_path": "promptflow/scripts/readme/ghactions_driver/workflow_templates/basic_workflow_replace_config_json.yml.jinja2",
"repo_id": "promptflow",
"token_count": 330
} | 30 |
from .secret_exceptions import SecretNameAlreadyExistsException, SecretNameInvalidException, SecretNoSetPermissionException # noqa: F401, E501
| promptflow/scripts/tool/exceptions/__init__.py/0 | {
"file_path": "promptflow/scripts/tool/exceptions/__init__.py",
"repo_id": "promptflow",
"token_count": 36
} | 31 |
{
"stagesToSkip": [],
"resources": {
"repositories": {
"self": {
"refName": "refs/heads/dev-branch"
}
}
},
"templateParameters": {
"deployEndpoint": "True"
},
"variables": {
"model-file": {
"value": "promptflow-gallery-tool-test.yaml",
"isSecret": false
}
}
} | promptflow/scripts/tool/utils/configs/deploy-endpoint-request-body.json/0 | {
"file_path": "promptflow/scripts/tool/utils/configs/deploy-endpoint-request-body.json",
"repo_id": "promptflow",
"token_count": 226
} | 32 |
try:
from openai import AzureOpenAI as AzureOpenAIClient
except Exception:
raise Exception(
"Please upgrade your OpenAI package to version 1.0.0 or later using the command: pip install --upgrade openai.")
from promptflow._internal import ToolProvider, tool
from promptflow.connections import AzureOpenAIConnection
from promptflow.contracts.types import PromptTemplate
from promptflow.tools.common import render_jinja_template, handle_openai_error, parse_chat, \
preprocess_template_string, find_referenced_image_set, convert_to_chat_list, normalize_connection_config, \
post_process_chat_api_response
class AzureOpenAI(ToolProvider):
def __init__(self, connection: AzureOpenAIConnection):
super().__init__()
self.connection = connection
self._connection_dict = normalize_connection_config(self.connection)
azure_endpoint = self._connection_dict.get("azure_endpoint")
api_version = self._connection_dict.get("api_version")
api_key = self._connection_dict.get("api_key")
self._client = AzureOpenAIClient(azure_endpoint=azure_endpoint, api_version=api_version, api_key=api_key)
@tool(streaming_option_parameter="stream")
@handle_openai_error()
def chat(
self,
prompt: PromptTemplate,
deployment_name: str,
temperature: float = 1.0,
top_p: float = 1.0,
# stream is a hidden to the end user, it is only supposed to be set by the executor.
stream: bool = False,
stop: list = None,
max_tokens: int = None,
presence_penalty: float = 0,
frequency_penalty: float = 0,
**kwargs,
) -> str:
# keep_trailing_newline=True is to keep the last \n in the prompt to avoid converting "user:\t\n" to "user:".
prompt = preprocess_template_string(prompt)
referenced_images = find_referenced_image_set(kwargs)
# convert list type into ChatInputList type
converted_kwargs = convert_to_chat_list(kwargs)
chat_str = render_jinja_template(prompt, trim_blocks=True, keep_trailing_newline=True, **converted_kwargs)
messages = parse_chat(chat_str, list(referenced_images))
headers = {
"Content-Type": "application/json",
"ms-azure-ai-promptflow-called-from": "aoai-gpt4v-tool"
}
params = {
"messages": messages,
"temperature": temperature,
"top_p": top_p,
"n": 1,
"stream": stream,
"presence_penalty": presence_penalty,
"frequency_penalty": frequency_penalty,
"extra_headers": headers,
"model": deployment_name,
}
if stop:
params["stop"] = stop
if max_tokens is not None:
params["max_tokens"] = max_tokens
completion = self._client.chat.completions.create(**params)
return post_process_chat_api_response(completion, stream, None)
| promptflow/src/promptflow-tools/promptflow/tools/aoai_gpt4v.py/0 | {
"file_path": "promptflow/src/promptflow-tools/promptflow/tools/aoai_gpt4v.py",
"repo_id": "promptflow",
"token_count": 1230
} | 33 |
promptflow.tools.serpapi.SerpAPI.search:
name: Serp API
description: Use Serp API to obtain search results from a specific search engine.
inputs:
connection:
type:
- SerpConnection
engine:
default: google
enum:
- google
- bing
type:
- string
location:
default: ''
type:
- string
num:
default: '10'
type:
- int
query:
type:
- string
safe:
default: 'off'
enum:
- active
- 'off'
type:
- string
type: python
module: promptflow.tools.serpapi
class_name: SerpAPI
function: search
| promptflow/src/promptflow-tools/promptflow/tools/yamls/serpapi.yaml/0 | {
"file_path": "promptflow/src/promptflow-tools/promptflow/tools/yamls/serpapi.yaml",
"repo_id": "promptflow",
"token_count": 302
} | 34 |
# system:
## name:
AI
## content:
Don't make assumptions about what values to plug into functions. Ask for clarification if a user request is ambiguous.
# user:
## name:
person
## content:
{{prev_question}}
# assistant:
## name:
John
## content:
{{prev_answer}}
# function:
## name:
{{name}}
## content:
{{result}}
# user:
{{question}}
| promptflow/src/promptflow-tools/tests/test_configs/prompt_templates/prompt_with_name_in_roles.jinja2/0 | {
"file_path": "promptflow/src/promptflow-tools/tests/test_configs/prompt_templates/prompt_with_name_in_roles.jinja2",
"repo_id": "promptflow",
"token_count": 113
} | 35 |
@echo off
setlocal
SET PF_INSTALLER=PIP
IF EXIST "%~dp0\python.exe" (
"%~dp0\python.exe" -m promptflow._cli._pf.entry %*
) ELSE (
python -m promptflow._cli._pf.entry %*
)
| promptflow/src/promptflow/pf.bat/0 | {
"file_path": "promptflow/src/promptflow/pf.bat",
"repo_id": "promptflow",
"token_count": 80
} | 36 |
# ---------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# ---------------------------------------------------------
from pathlib import Path
from dotenv import dotenv_values
from promptflow._cli._params import add_param_connection_name, add_param_env, base_params
from promptflow._cli._utils import _set_workspace_argument_for_subparsers, activate_action, get_client_for_cli
from promptflow._utils.logger_utils import get_cli_sdk_logger
from promptflow.connections import CustomConnection
from promptflow.contracts.types import Secret
logger = get_cli_sdk_logger()
def add_connection_parser(subparsers):
connection_parser = subparsers.add_parser(
"connection", description="A CLI tool to manage connections for promptflow.", help="pf connection"
)
subparsers = connection_parser.add_subparsers()
add_connection_create(subparsers)
add_connection_get(subparsers)
connection_parser.set_defaults(action="connection")
def add_connection_create(subparsers):
add_param_type = lambda parser: parser.add_argument( # noqa: E731
"--type",
type=str,
help='Type of the connection, Possible values include: "OpenAI", "AzureOpenAI", "Serp", "Bing", '
'"Custom", "AzureContentSafety", "CognitiveSearch", "SubstrateLLM',
)
add_params = [
_set_workspace_argument_for_subparsers,
add_param_connection_name,
add_param_type,
add_param_env,
] + base_params
activate_action(
name="create",
description="Create a connection for promptflow.",
epilog=None,
add_params=add_params,
subparsers=subparsers,
help_message="pf connection create",
action_param_name="sub_action",
)
def add_connection_get(subparsers):
add_params = [
_set_workspace_argument_for_subparsers,
add_param_connection_name,
add_param_env,
] + base_params
activate_action(
name="get",
description="Get a connection for promptflow.",
epilog=None,
add_params=add_params,
subparsers=subparsers,
help_message="pf connection get",
action_param_name="sub_action",
)
def _get_conn_operations(subscription_id, resource_group, workspace_name):
from promptflow.azure import PFClient
client = get_client_for_cli(
subscription_id=subscription_id, workspace_name=workspace_name, resource_group_name=resource_group
)
pf = PFClient(ml_client=client)
return pf._connections
def create_conn(name, type, env, subscription_id, resource_group, workspace_name):
from promptflow._sdk.entities._connection import _Connection
if not Path(env).exists():
raise ValueError(f"Env file {env} does not exist.")
try:
dot_env = dotenv_values(env)
except Exception as e:
raise ValueError(f"Failed to load env file {env}. Error: {e}")
custom_configs = CustomConnection(**{k: Secret(v) for k, v in dot_env.items()})
connection = _Connection(name=name, type=type, custom_configs=custom_configs, connection_scope="WorkspaceShared")
conn_ops = _get_conn_operations(subscription_id, resource_group, workspace_name)
result = conn_ops.create_or_update(connection=connection)
print(result._to_yaml())
def get_conn(name, subscription_id, resource_group, workspace_name):
conn_ops = _get_conn_operations(subscription_id, resource_group, workspace_name)
result = conn_ops.get(name=name)
print(result._to_yaml())
| promptflow/src/promptflow/promptflow/_cli/_pf_azure/_connection.py/0 | {
"file_path": "promptflow/src/promptflow/promptflow/_cli/_pf_azure/_connection.py",
"repo_id": "promptflow",
"token_count": 1313
} | 37 |
# ---------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# ---------------------------------------------------------
from promptflow import tool
# The inputs section will change based on the arguments of the tool function, after you save the code
# Adding type to arguments and return value will help the system show the types properly
# Please update the function name/signature per need
@tool
def my_python_tool(input1: str) -> str:
return "Prompt: " + input1
| promptflow/src/promptflow/promptflow/_cli/data/standard_flow/hello.py/0 | {
"file_path": "promptflow/src/promptflow/promptflow/_cli/data/standard_flow/hello.py",
"repo_id": "promptflow",
"token_count": 114
} | 38 |
# ---------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# ---------------------------------------------------------
import inspect
import logging
from abc import ABC
from dataclasses import InitVar, asdict, dataclass, field
from enum import Enum
from typing import Callable, Dict, List, Optional, Union
from promptflow._core.tracer import _traced
from promptflow.contracts.trace import TraceType
module_logger = logging.getLogger(__name__)
STREAMING_OPTION_PARAMETER_ATTR = "_streaming_option_parameter"
# copied from promptflow.contracts.tool import ToolType
class ToolType(str, Enum):
LLM = "llm"
PYTHON = "python"
CSHARP = "csharp"
PROMPT = "prompt"
_ACTION = "action"
CUSTOM_LLM = "custom_llm"
class ToolInvoker(ABC):
_active_tool_invoker: Optional["ToolInvoker"] = None
def invoke_tool(self, f, *args, **kwargs):
raise NotImplementedError()
@classmethod
def activate(cls, tool_invoker: "ToolInvoker"):
cls._active_tool_invoker = tool_invoker
@classmethod
def deactivate(cls):
cls._active_tool_invoker = None
@classmethod
def active_instance(cls) -> Optional["ToolInvoker"]:
return cls._active_tool_invoker
def tool(
func=None,
*,
name: str = None,
description: str = None,
type: str = None,
input_settings=None,
streaming_option_parameter: Optional[str] = None,
**kwargs,
) -> Callable:
"""Decorator for tool functions. The decorated function will be registered as a tool and can be used in a flow.
:param name: The tool name.
:type name: str
:param description: The tool description.
:type description: str
:param type: The tool type.
:type type: str
:param input_settings: Dict of input setting.
:type input_settings: Dict[str, promptflow.entities.InputSetting]
:return: The decorated function.
:rtype: Callable
"""
def tool_decorator(func: Callable) -> Callable:
from promptflow.exceptions import UserErrorException
if type is not None and type not in [k.value for k in ToolType]:
raise UserErrorException(f"Tool type {type} is not supported yet.")
# Calls to tool functions should be traced automatically.
new_f = _traced(func, trace_type=TraceType.TOOL)
new_f.__tool = None # This will be set when generating the tool definition.
new_f.__name = name
new_f.__description = description
new_f.__type = type
new_f.__input_settings = input_settings
new_f.__extra_info = kwargs
if streaming_option_parameter and isinstance(streaming_option_parameter, str):
setattr(new_f, STREAMING_OPTION_PARAMETER_ATTR, streaming_option_parameter)
return new_f
# enable use decorator without "()" if all arguments are default values
if func is not None:
return tool_decorator(func)
return tool_decorator
def parse_all_args(argnames, args, kwargs) -> dict:
"""Parse args + kwargs to kwargs."""
all_args = {name: value for name, value in zip(argnames, args)}
all_args.update(kwargs)
return all_args
class ToolProvider(ABC):
"""The base class of tool class."""
_initialize_inputs = None
_required_initialize_inputs = None
_instance_init_params = None
def __new__(cls, *args, **kwargs):
# Record the init parameters, use __new__ so that user doesn't need to
# repeat parameters when calling super().__init__()
cls._instance_init_params = parse_all_args(cls.get_initialize_inputs().keys(), args, kwargs)
return super(ToolProvider, cls).__new__(cls)
def __init__(self):
"""
Define the base inputs of each tool.
All the parameters of __init__ will be added to inputs of each @tool in the class.
"""
self._init_params = self._instance_init_params
@classmethod
def get_initialize_inputs(cls):
if not cls._initialize_inputs:
cls._initialize_inputs = {
k: v for k, v in inspect.signature(cls.__init__).parameters.items() if k != "self"
}
return cls._initialize_inputs
@classmethod
def get_required_initialize_inputs(cls):
if not cls._required_initialize_inputs:
cls._required_initialize_inputs = {
k: v
for k, v in inspect.signature(cls.__init__).parameters.items()
if k != "self" and v.default is inspect.Parameter.empty
}
return cls._required_initialize_inputs
@dataclass
class DynamicList:
function: InitVar[Union[str, Callable]]
"""The dynamic list function."""
input_mapping: InitVar[Dict] = None
"""The mapping between dynamic list function inputs and tool inputs."""
func_path: str = field(init=False)
func_kwargs: List = field(init=False)
def __post_init__(self, function, input_mapping):
from promptflow._sdk._constants import SKIP_FUNC_PARAMS
from promptflow._utils.tool_utils import _get_function_path, function_to_interface
self._func_obj, self.func_path = _get_function_path(function)
self._input_mapping = input_mapping or {}
dynamic_list_func_inputs, _, _, _ = function_to_interface(
self._func_obj, gen_custom_type_conn=True, skip_prompt_template=True
)
# Get function input info
self.func_kwargs = []
inputs = inspect.signature(self._func_obj).parameters
for name, value in dynamic_list_func_inputs.items():
if name not in SKIP_FUNC_PARAMS:
input_info = {"name": name}
input_info.update(asdict(value, dict_factory=lambda x: {k: v for (k, v) in x if v}))
if name in self._input_mapping:
input_info["reference"] = f"${{inputs.{self._input_mapping[name]}}}"
input_info["optional"] = inputs[name].default is not inspect.Parameter.empty
if input_info["optional"]:
input_info["default"] = inputs[name].default
self.func_kwargs.append(input_info)
@dataclass
class GeneratedBy:
"""Settings of the generated by"""
function: InitVar[Union[str, Callable]]
"""The generated by function."""
reverse_function: InitVar[Union[str, Callable]]
"""The reverse generated by function."""
input_settings: InitVar[Dict[str, object]] = None
"""The input settings of generated by function."""
func_path: str = field(init=False)
func_kwargs: List = field(init=False)
reverse_func_path: str = field(init=False)
def __post_init__(self, function, reverse_function, input_settings):
from promptflow._sdk._constants import SKIP_FUNC_PARAMS, UIONLY_HIDDEN
from promptflow._utils.tool_utils import _get_function_path, function_to_interface
self._func_obj, self.func_path = _get_function_path(function=function)
self._reverse_func_obj, self.reverse_func_path = _get_function_path(function=reverse_function)
self._input_settings = {}
generated_func_inputs, _, _, _ = function_to_interface(
self._func_obj, gen_custom_type_conn=True, skip_prompt_template=True
)
# Get function input info
self.func_kwargs = []
func_inputs = inspect.signature(self._func_obj).parameters
for name, value in generated_func_inputs.items():
if name not in SKIP_FUNC_PARAMS:
# Update kwargs in generated_by settings
input_info = {"name": name}
input_info.update(asdict(value, dict_factory=lambda x: {k: v for (k, v) in x if v}))
input_info["reference"] = f"${{inputs.{name}}}"
input_info["optional"] = func_inputs[name].default is not inspect.Parameter.empty
self.func_kwargs.append(input_info)
# Generated generated_by input settings in tool func
if name in input_settings:
self._input_settings[name] = asdict(
input_settings[name], dict_factory=lambda x: {k: v for (k, v) in x if v}
)
if "type" in input_info:
self._input_settings[name]["type"] = input_info["type"]
self._input_settings[name]["input_type"] = UIONLY_HIDDEN
@dataclass
class InputSetting:
"""Settings of the tool input"""
is_multi_select: bool = None
"""Allow user to select multiple values."""
allow_manual_entry: bool = None
"""Allow user to enter input value manually."""
enabled_by: str = None
"""The input field which must be an enum type, that controls the visibility of the dependent input field."""
enabled_by_value: List = None
"""Defines the accepted enum values from the enabled_by field that will make this dependent input field visible."""
dynamic_list: DynamicList = None
"""Settings of dynamic list function."""
generated_by: GeneratedBy = None
"""Settings of generated by function."""
| promptflow/src/promptflow/promptflow/_core/tool.py/0 | {
"file_path": "promptflow/src/promptflow/promptflow/_core/tool.py",
"repo_id": "promptflow",
"token_count": 3636
} | 39 |
# ---------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# ---------------------------------------------------------
import datetime
import os
from contextlib import contextmanager
from pathlib import Path
from typing import List, Union
from filelock import FileLock
from sqlalchemy import create_engine, event, inspect, text
from sqlalchemy.exc import OperationalError
from sqlalchemy.orm import Session, sessionmaker
from sqlalchemy.schema import CreateTable
from promptflow._sdk._configuration import Configuration
from promptflow._sdk._constants import (
CONNECTION_TABLE_NAME,
EXPERIMENT_CREATED_ON_INDEX_NAME,
EXPERIMENT_TABLE_NAME,
LOCAL_MGMT_DB_PATH,
LOCAL_MGMT_DB_SESSION_ACQUIRE_LOCK_PATH,
RUN_INFO_CREATED_ON_INDEX_NAME,
RUN_INFO_TABLENAME,
SCHEMA_INFO_TABLENAME,
)
from promptflow._sdk._utils import (
get_promptflow_sdk_version,
print_red_error,
print_yellow_warning,
use_customized_encryption_key,
)
# though we have removed the upper bound of SQLAlchemy version in setup.py
# still silence RemovedIn20Warning to avoid unexpected warning message printed to users
# for those who still use SQLAlchemy<2.0.0
os.environ["SQLALCHEMY_SILENCE_UBER_WARNING"] = "1"
session_maker = None
lock = FileLock(LOCAL_MGMT_DB_SESSION_ACQUIRE_LOCK_PATH)
def support_transaction(engine):
# workaround to make SQLite support transaction; reference to SQLAlchemy doc:
# https://docs.sqlalchemy.org/en/20/dialects/sqlite.html#serializable-isolation-savepoints-transactional-ddl
@event.listens_for(engine, "connect")
def do_connect(db_api_connection, connection_record):
# disable pysqlite emitting of the BEGIN statement entirely.
# also stops it from emitting COMMIT before any DDL.
db_api_connection.isolation_level = None
@event.listens_for(engine, "begin")
def do_begin(conn):
# emit our own BEGIN
conn.exec_driver_sql("BEGIN")
return engine
def update_current_schema(engine, orm_class, tablename: str) -> None:
sql = f"REPLACE INTO {SCHEMA_INFO_TABLENAME} (tablename, version) VALUES (:tablename, :version);"
with engine.begin() as connection:
connection.execute(text(sql), {"tablename": tablename, "version": orm_class.__pf_schema_version__})
return
def mgmt_db_session() -> Session:
global session_maker
global lock
if session_maker is not None:
return session_maker()
lock.acquire()
try: # try-finally to always release lock
if session_maker is not None:
return session_maker()
if not LOCAL_MGMT_DB_PATH.parent.is_dir():
LOCAL_MGMT_DB_PATH.parent.mkdir(parents=True, exist_ok=True)
engine = create_engine(f"sqlite:///{str(LOCAL_MGMT_DB_PATH)}", future=True)
engine = support_transaction(engine)
from promptflow._sdk._orm import Connection, Experiment, RunInfo
create_or_update_table(engine, orm_class=RunInfo, tablename=RUN_INFO_TABLENAME)
create_table_if_not_exists(engine, CONNECTION_TABLE_NAME, Connection)
create_index_if_not_exists(engine, RUN_INFO_CREATED_ON_INDEX_NAME, RUN_INFO_TABLENAME, "created_on")
if Configuration.get_instance().is_internal_features_enabled():
create_or_update_table(engine, orm_class=Experiment, tablename=EXPERIMENT_TABLE_NAME)
create_index_if_not_exists(engine, EXPERIMENT_CREATED_ON_INDEX_NAME, EXPERIMENT_TABLE_NAME, "created_on")
session_maker = sessionmaker(bind=engine)
except Exception as e: # pylint: disable=broad-except
# if we cannot manage to create the connection to the management database
# we can barely do nothing but raise the exception with printing the error message
error_message = f"Failed to create management database: {str(e)}"
print_red_error(error_message)
raise
finally:
lock.release()
return session_maker()
def build_copy_sql(old_name: str, new_name: str, old_columns: List[str], new_columns: List[str]) -> str:
insert_stmt = f"INSERT INTO {new_name}"
# append some NULLs for new columns
columns = old_columns.copy() + ["NULL"] * (len(new_columns) - len(old_columns))
select_stmt = "SELECT " + ", ".join(columns) + f" FROM {old_name}"
sql = f"{insert_stmt} {select_stmt};"
return sql
def generate_legacy_tablename(engine, tablename: str) -> str:
try:
with engine.connect() as connection:
result = connection.execute(
text(f"SELECT version FROM {SCHEMA_INFO_TABLENAME} where tablename=(:tablename)"),
{"tablename": tablename},
).first()
current_schema_version = result[0]
except (OperationalError, TypeError):
# schema info table not exists(OperationalError) or no version for the table(TypeError)
# legacy tablename fallbacks to "v0_{timestamp}" - use timestamp to avoid duplication
timestamp = datetime.datetime.now().strftime("%Y%m%d_%H%M%S_%f")
current_schema_version = f"0_{timestamp}"
return f"{tablename}_v{current_schema_version}"
def get_db_schema_version(engine, tablename: str) -> int:
try:
with engine.connect() as connection:
result = connection.execute(
text(f"SELECT version FROM {SCHEMA_INFO_TABLENAME} where tablename=(:tablename)"),
{"tablename": tablename},
).first()
return int(result[0])
except (OperationalError, TypeError):
# schema info table not exists(OperationalError) or no version for the table(TypeError)
# version fallbacks to 0
return 0
def create_or_update_table(engine, orm_class, tablename: str) -> None:
# create schema_info table if not exists
sql = f"CREATE TABLE IF NOT EXISTS {SCHEMA_INFO_TABLENAME} (tablename TEXT PRIMARY KEY, version TEXT NOT NULL);"
with engine.begin() as connection:
connection.execute(text(sql))
# no table in database yet
# create table via ORM class and update schema info
if not inspect(engine).has_table(tablename):
orm_class.metadata.create_all(engine)
update_current_schema(engine, orm_class, tablename)
return
db_schema_version = get_db_schema_version(engine, tablename)
sdk_schema_version = int(orm_class.__pf_schema_version__)
# same schema, no action needed
if db_schema_version == sdk_schema_version:
return
elif db_schema_version > sdk_schema_version:
# schema in database is later than SDK schema
# though different, we have design principal that later schema will always have no less columns
# while new columns should be nullable or with default value
# so that older schema can always use existing schema
# we print warning message but not do other action
warning_message = (
f"We have noticed that you are using an older SDK version: {get_promptflow_sdk_version()!r}.\n"
"While we will do our best to ensure compatibility, "
"we highly recommend upgrading to the latest version of SDK for the best experience."
)
print_yellow_warning(warning_message)
return
else:
# schema in database is older than SDK schema
# so we have to create table with new schema
# in this case, we need to:
# 1. rename existing table name
# 2. create table with current schema
# 3. copy data from renamed table to new table
legacy_tablename = generate_legacy_tablename(engine, tablename)
rename_sql = f"ALTER TABLE {tablename} RENAME TO {legacy_tablename};"
create_table_sql = str(CreateTable(orm_class.__table__).compile(engine))
copy_sql = build_copy_sql(
old_name=legacy_tablename,
new_name=tablename,
old_columns=[column["name"] for column in inspect(engine).get_columns(tablename)],
new_columns=[column.name for column in orm_class.__table__.columns],
)
# note that we should do above in one transaction
with engine.begin() as connection:
connection.execute(text(rename_sql))
connection.execute(text(create_table_sql))
connection.execute(text(copy_sql))
# update schema info finally
update_current_schema(engine, orm_class, tablename)
return
def create_table_if_not_exists(engine, table_name, orm_class) -> None:
if inspect(engine).has_table(table_name):
return
try:
if inspect(engine).has_table(table_name):
return
orm_class.metadata.create_all(engine)
except OperationalError as e:
# only ignore error if table already exists
expected_error_message = f"table {table_name} already exists"
if expected_error_message not in str(e):
raise
def create_index_if_not_exists(engine, index_name, table_name, col_name) -> None:
# created_on
sql = f"CREATE INDEX IF NOT EXISTS {index_name} ON {table_name} (f{col_name});"
with engine.begin() as connection:
connection.execute(text(sql))
return
@contextmanager
def mgmt_db_rebase(mgmt_db_path: Union[Path, os.PathLike, str], customized_encryption_key: str = None) -> Session:
"""
This function will change the constant LOCAL_MGMT_DB_PATH to the new path so very dangerous.
It is created for pf flow export only and need to be removed in further version.
"""
global session_maker
global LOCAL_MGMT_DB_PATH
origin_local_db_path = LOCAL_MGMT_DB_PATH
LOCAL_MGMT_DB_PATH = mgmt_db_path
session_maker = None
if customized_encryption_key:
with use_customized_encryption_key(customized_encryption_key):
yield
else:
yield
LOCAL_MGMT_DB_PATH = origin_local_db_path
session_maker = None
| promptflow/src/promptflow/promptflow/_sdk/_orm/session.py/0 | {
"file_path": "promptflow/src/promptflow/promptflow/_sdk/_orm/session.py",
"repo_id": "promptflow",
"token_count": 3824
} | 40 |
# ---------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# ---------------------------------------------------------
import getpass
import socket
from dataclasses import InitVar, dataclass, field
from datetime import datetime
from functools import wraps
import psutil
from flask import abort, make_response, request
from promptflow._sdk._constants import DEFAULT_ENCODING, HOME_PROMPT_FLOW_DIR, PF_SERVICE_PORT_FILE
from promptflow._sdk._errors import ConnectionNotFoundError, RunNotFoundError
from promptflow._sdk._utils import read_write_by_user
from promptflow._utils.yaml_utils import dump_yaml, load_yaml
from promptflow._version import VERSION
from promptflow.exceptions import PromptflowException, UserErrorException
def local_user_only(func):
@wraps(func)
def wrapper(*args, **kwargs):
# Get the user name from request.
user = request.environ.get("REMOTE_USER") or request.headers.get("X-Remote-User")
if user != getpass.getuser():
abort(403)
return func(*args, **kwargs)
return wrapper
def get_port_from_config(create_if_not_exists=False):
(HOME_PROMPT_FLOW_DIR / PF_SERVICE_PORT_FILE).touch(mode=read_write_by_user(), exist_ok=True)
with open(HOME_PROMPT_FLOW_DIR / PF_SERVICE_PORT_FILE, "r", encoding=DEFAULT_ENCODING) as f:
service_config = load_yaml(f) or {}
port = service_config.get("service", {}).get("port", None)
if not port and create_if_not_exists:
with open(HOME_PROMPT_FLOW_DIR / PF_SERVICE_PORT_FILE, "w", encoding=DEFAULT_ENCODING) as f:
# Set random port to ~/.promptflow/pf.yaml
port = get_random_port()
service_config["service"] = service_config.get("service", {})
service_config["service"]["port"] = port
dump_yaml(service_config, f)
return port
def is_port_in_use(port: int):
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
return s.connect_ex(("localhost", port)) == 0
def get_random_port():
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
s.bind(("localhost", 0))
return s.getsockname()[1]
def _get_process_by_port(port):
for proc in psutil.process_iter(["pid", "connections", "create_time"]):
try:
for connection in proc.connections():
if connection.laddr.port == port:
return proc
except psutil.AccessDenied:
pass
def kill_exist_service(port):
proc = _get_process_by_port(port)
if proc:
proc.terminate()
proc.wait(10)
def get_started_service_info(port):
service_info = {}
proc = _get_process_by_port(port)
if proc:
create_time = proc.info["create_time"]
process_uptime = datetime.now() - datetime.fromtimestamp(create_time)
service_info["create_time"] = str(datetime.fromtimestamp(create_time))
service_info["uptime"] = str(process_uptime)
service_info["port"] = port
return service_info
def make_response_no_content():
return make_response("", 204)
@dataclass
class ErrorInfo:
exception: InitVar[Exception]
code: str = field(init=False)
message: str = field(init=False)
message_format: str = field(init=False, default=None)
message_parameters: dict = field(init=False, default=None)
target: str = field(init=False, default=None)
module: str = field(init=False, default=None)
reference_code: str = field(init=False, default=None)
inner_exception: dict = field(init=False, default=None)
additional_info: dict = field(init=False, default=None)
error_codes: list = field(init=False, default=None)
def __post_init__(self, exception):
if isinstance(exception, PromptflowException):
self.code = "PromptflowError"
if isinstance(exception, (UserErrorException, ConnectionNotFoundError, RunNotFoundError)):
self.code = "UserError"
self.message = exception.message
self.message_format = exception.message_format
self.message_parameters = exception.message_parameters
self.target = exception.target
self.module = exception.module
self.reference_code = exception.reference_code
self.inner_exception = exception.inner_exception
self.additional_info = exception.additional_info
self.error_codes = exception.error_codes
else:
self.code = "ServiceError"
self.message = str(exception)
@dataclass
class FormattedException:
exception: InitVar[Exception]
status_code: InitVar[int] = 500
error: ErrorInfo = field(init=False)
time: str = field(init=False)
def __post_init__(self, exception, status_code):
self.status_code = status_code
if isinstance(exception, (UserErrorException, ConnectionNotFoundError, RunNotFoundError)):
self.status_code = 404
self.error = ErrorInfo(exception)
self.time = datetime.now().isoformat()
def build_pfs_user_agent():
extra_agent = f"local_pfs/{VERSION}"
if request.user_agent.string:
return f"{request.user_agent.string} {extra_agent}"
return extra_agent
def get_client_from_request() -> "PFClient":
from promptflow._sdk._pf_client import PFClient
return PFClient(user_agent=build_pfs_user_agent())
| promptflow/src/promptflow/promptflow/_sdk/_service/utils/utils.py/0 | {
"file_path": "promptflow/src/promptflow/promptflow/_sdk/_service/utils/utils.py",
"repo_id": "promptflow",
"token_count": 2118
} | 41 |
# ---------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# ---------------------------------------------------------
from enum import Enum
from typing import Dict, Sequence, Set, List, Any
from promptflow._utils.exception_utils import ErrorResponse
from promptflow.contracts.run_info import FlowRunInfo, RunInfo, Status
# define metrics dimension keys
FLOW_KEY = "flow"
RUN_STATUS_KEY = "run_status"
NODE_KEY = "node"
LLM_ENGINE_KEY = "llm_engine"
TOKEN_TYPE_KEY = "token_type"
RESPONSE_CODE_KEY = "response_code"
EXCEPTION_TYPE_KEY = "exception"
STREAMING_KEY = "streaming"
API_CALL_KEY = "api_call"
RESPONSE_TYPE_KEY = "response_type" # firstbyte, lastbyte, default
HISTOGRAM_BOUNDARIES: Sequence[float] = (
1.0,
5.0,
10.0,
25.0,
50.0,
75.0,
100.0,
250.0,
500.0,
750.0,
1000.0,
2500.0,
5000.0,
7500.0,
10000.0,
25000.0,
50000.0,
75000.0,
100000.0,
300000.0,
)
class ResponseType(Enum):
# latency from receiving the request to sending the first byte of response, only applicable to streaming flow
FirstByte = "firstbyte"
# latency from receiving the request to sending the last byte of response, only applicable to streaming flow
LastByte = "lastbyte"
# latency from receiving the request to sending the whole response, only applicable to non-streaming flow
Default = "default"
class LLMTokenType(Enum):
PromptTokens = "prompt_tokens"
CompletionTokens = "completion_tokens"
try:
from opentelemetry import metrics
from opentelemetry.metrics import set_meter_provider
from opentelemetry.sdk.metrics import MeterProvider
from opentelemetry.sdk.metrics.view import ExplicitBucketHistogramAggregation, SumAggregation, View
# define meter
meter = metrics.get_meter_provider().get_meter("Promptflow Standard Metrics")
# define metrics
token_consumption = meter.create_counter("Token_Consumption")
flow_latency = meter.create_histogram("Flow_Latency")
node_latency = meter.create_histogram("Node_Latency")
flow_request = meter.create_counter("Flow_Request")
remote_api_call_latency = meter.create_histogram("RPC_Latency")
remote_api_call_request = meter.create_counter("RPC_Request")
node_request = meter.create_counter("Node_Request")
# metrics for streaming
streaming_response_duration = meter.create_histogram("Flow_Streaming_Response_Duration")
# define metrics views
# token view
token_view = View(
instrument_name="Token_Consumption",
description="",
attribute_keys={FLOW_KEY, NODE_KEY, LLM_ENGINE_KEY, TOKEN_TYPE_KEY},
aggregation=SumAggregation(),
)
# latency view
flow_latency_view = View(
instrument_name="Flow_Latency",
description="",
attribute_keys={FLOW_KEY, RESPONSE_CODE_KEY, STREAMING_KEY, RESPONSE_TYPE_KEY},
aggregation=ExplicitBucketHistogramAggregation(boundaries=HISTOGRAM_BOUNDARIES),
)
node_latency_view = View(
instrument_name="Node_Latency",
description="",
attribute_keys={FLOW_KEY, NODE_KEY, RUN_STATUS_KEY},
aggregation=ExplicitBucketHistogramAggregation(boundaries=HISTOGRAM_BOUNDARIES),
)
flow_streaming_response_duration_view = View(
instrument_name="Flow_Streaming_Response_Duration",
description="during between sending the first byte and last byte of the response, only for streaming flow",
attribute_keys={FLOW_KEY},
aggregation=ExplicitBucketHistogramAggregation(boundaries=HISTOGRAM_BOUNDARIES),
)
# request view
request_view = View(
instrument_name="Flow_Request",
description="",
attribute_keys={FLOW_KEY, RESPONSE_CODE_KEY, STREAMING_KEY, EXCEPTION_TYPE_KEY},
aggregation=SumAggregation(),
)
node_request_view = View(
instrument_name="Node_Request",
description="",
attribute_keys={FLOW_KEY, NODE_KEY, RUN_STATUS_KEY, EXCEPTION_TYPE_KEY},
aggregation=SumAggregation(),
)
# Remote API call view
remote_api_call_latency_view = View(
instrument_name="RPC_Latency",
description="",
attribute_keys={FLOW_KEY, NODE_KEY, API_CALL_KEY},
aggregation=ExplicitBucketHistogramAggregation(boundaries=HISTOGRAM_BOUNDARIES),
)
remote_api_call_request_view = View(
instrument_name="RPC_Request",
description="",
attribute_keys={FLOW_KEY, NODE_KEY, API_CALL_KEY, EXCEPTION_TYPE_KEY},
aggregation=SumAggregation(),
)
metrics_enabled = True
except ImportError:
metrics_enabled = False
class MetricsRecorder(object):
"""OpenTelemetry Metrics Recorder"""
def __init__(self, logger, reader=None, common_dimensions: Dict[str, str] = None) -> None:
"""initialize metrics recorder
:param logger: logger
:type logger: Logger
:param reader: metric reader
:type reader: opentelemetry.sdk.metrics.export.MetricReader
:param common_dimensions: common dimensions for all metrics
:type common_dimensions: Dict[str, str]
"""
self.logger = logger
if not metrics_enabled:
logger.warning("OpenTelemetry metric is not enabled, metrics will not be recorded." +
"If you want to collect metrics, please enable 'azureml-serving' extra requirement " +
"for promptflow: 'pip install promptflow[azureml-serving]'")
return
self.common_dimensions = common_dimensions or {}
self.reader = reader
dimension_keys = {key for key in common_dimensions}
self._config_common_monitor(dimension_keys, reader)
logger.info("OpenTelemetry metric is enabled, metrics will be recorded.")
def record_flow_request(self, flow_id: str, response_code: int, exception: str, streaming: bool):
if not metrics_enabled:
return
try:
flow_request.add(
1,
{
FLOW_KEY: flow_id,
RESPONSE_CODE_KEY: str(response_code),
EXCEPTION_TYPE_KEY: exception,
STREAMING_KEY: str(streaming),
**self.common_dimensions,
},
)
except Exception as e:
self.logger.warning("failed to record flow request metrics: %s", e)
def record_flow_latency(
self, flow_id: str, response_code: int, streaming: bool, response_type: str, duration: float
):
if not metrics_enabled:
return
try:
flow_latency.record(
duration,
{
FLOW_KEY: flow_id,
RESPONSE_CODE_KEY: str(response_code),
STREAMING_KEY: str(streaming),
RESPONSE_TYPE_KEY: response_type,
**self.common_dimensions,
},
)
except Exception as e:
self.logger.warning("failed to record flow latency metrics: %s", e)
def record_flow_streaming_response_duration(self, flow_id: str, duration: float):
if not metrics_enabled:
return
try:
streaming_response_duration.record(duration, {FLOW_KEY: flow_id, **self.common_dimensions})
except Exception as e:
self.logger.warning("failed to record streaming duration metrics: %s", e)
def record_tracing_metrics(self, flow_run: FlowRunInfo, node_runs: Dict[str, RunInfo]):
if not metrics_enabled:
return
try:
for _, run in node_runs.items():
flow_id = flow_run.flow_id if flow_run is not None else "default"
if len(run.system_metrics) > 0:
duration = run.system_metrics.get("duration", None)
if duration is not None:
duration = duration * 1000
node_latency.record(
duration,
{
FLOW_KEY: flow_id,
NODE_KEY: run.node,
RUN_STATUS_KEY: run.status.value,
**self.common_dimensions,
},
)
# openai token metrics
inputs = run.inputs or {}
engine = inputs.get("deployment_name") or ""
for token_type in [LLMTokenType.PromptTokens.value, LLMTokenType.CompletionTokens.value]:
count = run.system_metrics.get(token_type, None)
if count:
token_consumption.add(
count,
{
FLOW_KEY: flow_id,
NODE_KEY: run.node,
LLM_ENGINE_KEY: engine,
TOKEN_TYPE_KEY: token_type,
**self.common_dimensions,
},
)
# record node request metric
err = None
if run.status != Status.Completed:
err = "unknown"
if isinstance(run.error, dict):
err = self._get_exact_error(run.error)
elif isinstance(run.error, str):
err = run.error
node_request.add(
1,
{
FLOW_KEY: flow_id,
NODE_KEY: run.node,
RUN_STATUS_KEY: run.status.value,
EXCEPTION_TYPE_KEY: err,
**self.common_dimensions,
},
)
if run.api_calls and len(run.api_calls) > 0:
for api_call in run.api_calls:
# since first layer api_call is the node call itself, we ignore them here
api_calls: List[Dict[str, Any]] = api_call.get("children", None)
if api_calls is None:
continue
self._record_api_call_metrics(flow_id, run.node, api_calls)
except Exception as e:
self.logger.warning(f"failed to record metrics: {e}, flow_run: {flow_run}, node_runs: {node_runs}")
def _record_api_call_metrics(self, flow_id, node, api_calls: List[Dict[str, Any]], prefix: str = None):
if api_calls and len(api_calls) > 0:
for api_call in api_calls:
cur_name = api_call.get("name")
api_name = f"{prefix}_{cur_name}" if prefix else cur_name
# api-call latency metrics
# sample data: {"start_time":1688462182.744916, "end_time":1688462184.280989}
start_time = api_call.get("start_time", None)
end_time = api_call.get("end_time", None)
if start_time and end_time:
api_call_latency_ms = (end_time - start_time) * 1000
remote_api_call_latency.record(
api_call_latency_ms,
{
FLOW_KEY: flow_id,
NODE_KEY: node,
API_CALL_KEY: api_name,
**self.common_dimensions,
},
)
# remote api call request metrics
err = api_call.get("error") or {}
if isinstance(err, dict):
exception_type = self._get_exact_error(err)
else:
exception_type = err
remote_api_call_request.add(
1,
{
FLOW_KEY: flow_id,
NODE_KEY: node,
API_CALL_KEY: api_name,
EXCEPTION_TYPE_KEY: exception_type,
**self.common_dimensions,
},
)
child_api_calls = api_call.get("children", None)
if child_api_calls:
self._record_api_call_metrics(flow_id, node, child_api_calls, api_name)
def _get_exact_error(self, err: Dict):
error_response = ErrorResponse.from_error_dict(err)
return error_response.innermost_error_code
# configure monitor, by default only expose prometheus metrics
def _config_common_monitor(self, common_keys: Set[str] = {}, reader=None):
metrics_views = [
token_view,
flow_latency_view,
node_latency_view,
request_view,
remote_api_call_latency_view,
remote_api_call_request_view,
]
for view in metrics_views:
view._attribute_keys.update(common_keys)
readers = []
if reader:
readers.append(reader)
meter_provider = MeterProvider(
metric_readers=readers,
views=metrics_views,
)
set_meter_provider(meter_provider)
| promptflow/src/promptflow/promptflow/_sdk/_serving/monitor/metrics.py/0 | {
"file_path": "promptflow/src/promptflow/promptflow/_sdk/_serving/monitor/metrics.py",
"repo_id": "promptflow",
"token_count": 6645
} | 42 |
# ---------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# ---------------------------------------------------------
from promptflow._version import VERSION
USER_AGENT = "{}/{}".format("promptflow-sdk", VERSION)
| promptflow/src/promptflow/promptflow/_sdk/_user_agent.py/0 | {
"file_path": "promptflow/src/promptflow/promptflow/_sdk/_user_agent.py",
"repo_id": "promptflow",
"token_count": 57
} | 43 |
#!/bin/bash
# stop services created by runsv and propagate SIGINT, SIGTERM to child jobs
sv_stop() {
echo "$(date -uIns) - Stopping all runsv services"
for s in $(ls -d /var/runit/*); do
sv stop $s
done
}
# register SIGINT, SIGTERM handler
trap sv_stop SIGINT SIGTERM
# start services in background and wait all child jobs
runsvdir /var/runit &
wait
| promptflow/src/promptflow/promptflow/_sdk/data/docker_csharp/start.sh.jinja2/0 | {
"file_path": "promptflow/src/promptflow/promptflow/_sdk/data/docker_csharp/start.sh.jinja2",
"repo_id": "promptflow",
"token_count": 135
} | 44 |
# ---------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# ---------------------------------------------------------
from os import PathLike
from typing import Union
# TODO(2528165): remove this file when we deprecate Flow.run_bulk
class BaseInputs(object):
def __init__(self, data: Union[str, PathLike], inputs_mapping: dict = None, **kwargs):
self.data = data
self.inputs_mapping = inputs_mapping
class BulkInputs(BaseInputs):
"""Bulk run inputs.
data: pointer to test data for standard runs
inputs_mapping: define a data flow logic to map input data, support:
from data: data.col1:
Example:
{"question": "${data.question}", "context": "${data.context}"}
"""
# TODO: support inputs_mapping for bulk run
pass
class EvalInputs(BaseInputs):
"""Evaluation flow run inputs.
data: pointer to test data (of variant bulk runs) for eval runs
variant:
variant run id or variant run
keep lineage between current run and variant runs
variant outputs can be referenced as ${batch_run.outputs.col_name} in inputs_mapping
baseline:
baseline run id or baseline run
baseline bulk run for eval runs for pairwise comparison
inputs_mapping: define a data flow logic to map input data, support:
from data: data.col1:
from variant:
[0].col1, [1].col2: if need different col from variant run data
variant.output.col1: if all upstream runs has col1
Example:
{"ground_truth": "${data.answer}", "prediction": "${batch_run.outputs.answer}"}
"""
def __init__(
self,
data: Union[str, PathLike],
variant: Union[str, "BulkRun"] = None, # noqa: F821
baseline: Union[str, "BulkRun"] = None, # noqa: F821
inputs_mapping: dict = None,
**kwargs
):
super().__init__(data=data, inputs_mapping=inputs_mapping, **kwargs)
self.variant = variant
self.baseline = baseline
| promptflow/src/promptflow/promptflow/_sdk/entities/_run_inputs.py/0 | {
"file_path": "promptflow/src/promptflow/promptflow/_sdk/entities/_run_inputs.py",
"repo_id": "promptflow",
"token_count": 771
} | 45 |
# ---------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# ---------------------------------------------------------
import copy
from marshmallow import ValidationError, fields, pre_dump, validates
from promptflow._sdk._constants import (
SCHEMA_KEYS_CONTEXT_CONFIG_KEY,
SCHEMA_KEYS_CONTEXT_SECRET_KEY,
ConnectionType,
CustomStrongTypeConnectionConfigs,
)
from promptflow._sdk.schemas._base import YamlFileSchema
from promptflow._sdk.schemas._fields import StringTransformedEnum
from promptflow._utils.utils import camel_to_snake
def _casting_type(typ):
type_dict = {
ConnectionType.AZURE_OPEN_AI: "azure_open_ai",
ConnectionType.OPEN_AI: "open_ai",
}
if typ in type_dict:
return type_dict.get(typ)
return camel_to_snake(typ)
class ConnectionSchema(YamlFileSchema):
name = fields.Str(attribute="name")
module = fields.Str(dump_default="promptflow.connections")
created_date = fields.Str(dump_only=True)
last_modified_date = fields.Str(dump_only=True)
expiry_time = fields.Str(dump_only=True)
@pre_dump
def _pre_dump(self, data, **kwargs):
from promptflow._sdk.entities._connection import _Connection
if not isinstance(data, _Connection):
return data
# Update the type replica of the connection object to match schema
copied = copy.deepcopy(data)
copied.type = camel_to_snake(copied.type)
return copied
class AzureOpenAIConnectionSchema(ConnectionSchema):
type = StringTransformedEnum(allowed_values="azure_open_ai", required=True)
api_key = fields.Str(required=True)
api_base = fields.Str(required=True)
api_type = fields.Str(dump_default="azure")
api_version = fields.Str(dump_default="2023-07-01-preview")
class OpenAIConnectionSchema(ConnectionSchema):
type = StringTransformedEnum(allowed_values="open_ai", required=True)
api_key = fields.Str(required=True)
organization = fields.Str()
base_url = fields.Str()
class EmbeddingStoreConnectionSchema(ConnectionSchema):
module = fields.Str(dump_default="promptflow_vectordb.connections")
api_key = fields.Str(required=True)
api_base = fields.Str(required=True)
class QdrantConnectionSchema(EmbeddingStoreConnectionSchema):
type = StringTransformedEnum(allowed_values=camel_to_snake(ConnectionType.QDRANT), required=True)
class WeaviateConnectionSchema(EmbeddingStoreConnectionSchema):
type = StringTransformedEnum(allowed_values=camel_to_snake(ConnectionType.WEAVIATE), required=True)
class CognitiveSearchConnectionSchema(ConnectionSchema):
type = StringTransformedEnum(
allowed_values=camel_to_snake(ConnectionType.COGNITIVE_SEARCH),
required=True,
)
api_key = fields.Str(required=True)
api_base = fields.Str(required=True)
api_version = fields.Str(dump_default="2023-07-01-Preview")
class SerpConnectionSchema(ConnectionSchema):
type = StringTransformedEnum(allowed_values=camel_to_snake(ConnectionType.SERP), required=True)
api_key = fields.Str(required=True)
class AzureContentSafetyConnectionSchema(ConnectionSchema):
type = StringTransformedEnum(
allowed_values=camel_to_snake(ConnectionType.AZURE_CONTENT_SAFETY),
required=True,
)
api_key = fields.Str(required=True)
endpoint = fields.Str(required=True)
api_version = fields.Str(dump_default="2023-10-01")
api_type = fields.Str(dump_default="Content Safety")
class FormRecognizerConnectionSchema(ConnectionSchema):
type = StringTransformedEnum(
allowed_values=camel_to_snake(ConnectionType.FORM_RECOGNIZER),
required=True,
)
api_key = fields.Str(required=True)
endpoint = fields.Str(required=True)
api_version = fields.Str(dump_default="2023-07-31")
api_type = fields.Str(dump_default="Form Recognizer")
class CustomConnectionSchema(ConnectionSchema):
type = StringTransformedEnum(allowed_values=camel_to_snake(ConnectionType.CUSTOM), required=True)
configs = fields.Dict(keys=fields.Str(), values=fields.Str())
# Secrets is a must-have field for CustomConnection
secrets = fields.Dict(keys=fields.Str(), values=fields.Str(), required=True)
class CustomStrongTypeConnectionSchema(CustomConnectionSchema):
name = fields.Str(attribute="name")
module = fields.Str(required=True)
custom_type = fields.Str(required=True)
package = fields.Str(required=True)
package_version = fields.Str(required=True)
# TODO: validate configs and secrets
@validates("configs")
def validate_configs(self, value):
schema_config_keys = self.context.get(SCHEMA_KEYS_CONTEXT_CONFIG_KEY, None)
if schema_config_keys:
for key in value:
if CustomStrongTypeConnectionConfigs.is_custom_key(key) and key not in schema_config_keys:
raise ValidationError(f"Invalid config key {key}, please check the schema.")
@validates("secrets")
def validate_secrets(self, value):
schema_secret_keys = self.context.get(SCHEMA_KEYS_CONTEXT_SECRET_KEY, None)
if schema_secret_keys:
for key in value:
if key not in schema_secret_keys:
raise ValidationError(f"Invalid secret key {key}, please check the schema.")
| promptflow/src/promptflow/promptflow/_sdk/schemas/_connection.py/0 | {
"file_path": "promptflow/src/promptflow/promptflow/_sdk/schemas/_connection.py",
"repo_id": "promptflow",
"token_count": 1953
} | 46 |
# ---------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# ---------------------------------------------------------
import logging
import os
from pathlib import Path
from typing import Any, Dict, List, Tuple, Union
from promptflow.exceptions import ErrorTarget, UserErrorException
module_logger = logging.getLogger(__name__)
def _pd_read_file(local_path: str, logger: logging.Logger = None, max_rows_count: int = None) -> "DataFrame":
import pandas as pd
local_path = str(local_path)
# if file is empty, return empty DataFrame directly
if (
os.path.getsize(local_path) == 0
): # CodeQL [SM01305] Safe use per local_path is set by PRT service not by end user
return pd.DataFrame()
# load different file formats
# set dtype to object to avoid auto type conversion
# executor will apply type conversion based on flow definition, so no conversion should be acceptable
# note that for csv and tsv format, this will make integer and float columns to be string;
# for rest, integer will be int and float will be float
dtype = object
if local_path.endswith(".csv"):
df = pd.read_csv(local_path, dtype=dtype, keep_default_na=False, nrows=max_rows_count)
elif local_path.endswith(".json"):
df = pd.read_json(local_path, dtype=dtype)
elif local_path.endswith(".jsonl"):
df = pd.read_json(local_path, dtype=dtype, lines=True, nrows=max_rows_count)
elif local_path.endswith(".tsv"):
df = pd.read_table(local_path, dtype=dtype, keep_default_na=False, nrows=max_rows_count)
elif local_path.endswith(".parquet"):
df = pd.read_parquet(local_path) # read_parquet has no parameter dtype
else:
# parse file as jsonl when extension is not known (including unavailable)
# ignore and logging if failed to load file content.
try:
df = pd.read_json(local_path, dtype=dtype, lines=True, nrows=max_rows_count)
except: # noqa: E722
if logger is None:
logger = module_logger
logger.warning(
f"File {Path(local_path).name} is not supported format: "
f"csv, tsv, json, jsonl, parquet. Ignoring it."
)
return pd.DataFrame()
return df
def _bfs_dir(dir_path: List[str]) -> Tuple[List[str], List[str]]:
"""BFS traverse directory with depth 1, returns files and directories"""
files, dirs = [], []
for path in dir_path:
for filename in os.listdir(path):
file = Path(path, filename).resolve()
if file.is_file():
files.append(str(file))
else:
dirs.append(str(file))
return files, dirs
def _handle_dir(dir_path: str, max_rows_count: int, logger: logging.Logger = None) -> "DataFrame":
"""load data from directory"""
import pandas as pd
df = pd.DataFrame()
# BFS traverse directory to collect files to load
target_dir = [str(dir_path)]
while len(target_dir) > 0:
files, dirs = _bfs_dir(target_dir)
for file in files:
current_df = _pd_read_file(file, logger=logger, max_rows_count=max_rows_count)
df = pd.concat([df, current_df])
length = len(df)
if max_rows_count and length >= max_rows_count:
df = df.head(max_rows_count)
return df
# no readable data in current level, dive into next level
target_dir = dirs
return df
def load_data(
local_path: Union[str, Path], *, logger: logging.Logger = None, max_rows_count: int = None
) -> List[Dict[str, Any]]:
"""load data from local file"""
df = load_df(local_path, logger, max_rows_count=max_rows_count)
# convert dataframe to list of dict
result = []
for _, row in df.iterrows():
result.append(row.to_dict())
return result
def load_df(local_path: Union[str, Path], logger: logging.Logger = None, max_rows_count: int = None) -> "DataFrame":
"""load data from local file to df. For the usage of PRS."""
lp = local_path if isinstance(local_path, Path) else Path(local_path)
try:
if lp.is_file():
df = _pd_read_file(local_path, logger=logger, max_rows_count=max_rows_count)
# honor max_rows_count if it is specified
if max_rows_count and len(df) > max_rows_count:
df = df.head(max_rows_count)
else:
df = _handle_dir(local_path, max_rows_count=max_rows_count, logger=logger)
except ValueError as e:
raise InvalidUserData(
message_format="Fail to load invalid data. We support file formats: csv, tsv, json, jsonl, parquet. "
"Please check input data."
) from e
return df
class InvalidUserData(UserErrorException):
def __init__(self, **kwargs):
super().__init__(target=ErrorTarget.RUNTIME, **kwargs)
| promptflow/src/promptflow/promptflow/_utils/load_data.py/0 | {
"file_path": "promptflow/src/promptflow/promptflow/_utils/load_data.py",
"repo_id": "promptflow",
"token_count": 2029
} | 47 |
# ---------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# ---------------------------------------------------------
# coding=utf-8
# --------------------------------------------------------------------------
#
# Copyright (c) Microsoft Corporation. All rights reserved.
#
# The MIT License (MIT)
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the ""Software""), to
# deal in the Software without restriction, including without limitation the
# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
# sell copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.
#
# --------------------------------------------------------------------------
# This file is used for handwritten extensions to the generated code. Example:
# https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/customize_code/how-to-patch-sdk-code.md
def patch_sdk():
pass | promptflow/src/promptflow/promptflow/azure/_restclient/flow/aio/_patch.py/0 | {
"file_path": "promptflow/src/promptflow/promptflow/azure/_restclient/flow/aio/_patch.py",
"repo_id": "promptflow",
"token_count": 414
} | 48 |
# coding=utf-8
# --------------------------------------------------------------------------
# Code generated by Microsoft (R) AutoRest Code Generator (autorest: 3.8.0, generator: @autorest/[email protected])
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------
import datetime
from typing import Any, Dict, IO, List, Optional, Union
from azure.core.exceptions import HttpResponseError
import msrest.serialization
from ._azure_machine_learning_designer_service_client_enums import *
class ACIAdvanceSettings(msrest.serialization.Model):
"""ACIAdvanceSettings.
:ivar container_resource_requirements:
:vartype container_resource_requirements: ~flow.models.ContainerResourceRequirements
:ivar app_insights_enabled:
:vartype app_insights_enabled: bool
:ivar ssl_enabled:
:vartype ssl_enabled: bool
:ivar ssl_certificate:
:vartype ssl_certificate: str
:ivar ssl_key:
:vartype ssl_key: str
:ivar c_name:
:vartype c_name: str
:ivar dns_name_label:
:vartype dns_name_label: str
"""
_attribute_map = {
'container_resource_requirements': {'key': 'containerResourceRequirements', 'type': 'ContainerResourceRequirements'},
'app_insights_enabled': {'key': 'appInsightsEnabled', 'type': 'bool'},
'ssl_enabled': {'key': 'sslEnabled', 'type': 'bool'},
'ssl_certificate': {'key': 'sslCertificate', 'type': 'str'},
'ssl_key': {'key': 'sslKey', 'type': 'str'},
'c_name': {'key': 'cName', 'type': 'str'},
'dns_name_label': {'key': 'dnsNameLabel', 'type': 'str'},
}
def __init__(
self,
*,
container_resource_requirements: Optional["ContainerResourceRequirements"] = None,
app_insights_enabled: Optional[bool] = None,
ssl_enabled: Optional[bool] = None,
ssl_certificate: Optional[str] = None,
ssl_key: Optional[str] = None,
c_name: Optional[str] = None,
dns_name_label: Optional[str] = None,
**kwargs
):
"""
:keyword container_resource_requirements:
:paramtype container_resource_requirements: ~flow.models.ContainerResourceRequirements
:keyword app_insights_enabled:
:paramtype app_insights_enabled: bool
:keyword ssl_enabled:
:paramtype ssl_enabled: bool
:keyword ssl_certificate:
:paramtype ssl_certificate: str
:keyword ssl_key:
:paramtype ssl_key: str
:keyword c_name:
:paramtype c_name: str
:keyword dns_name_label:
:paramtype dns_name_label: str
"""
super(ACIAdvanceSettings, self).__init__(**kwargs)
self.container_resource_requirements = container_resource_requirements
self.app_insights_enabled = app_insights_enabled
self.ssl_enabled = ssl_enabled
self.ssl_certificate = ssl_certificate
self.ssl_key = ssl_key
self.c_name = c_name
self.dns_name_label = dns_name_label
class Activate(msrest.serialization.Model):
"""Activate.
:ivar when:
:vartype when: str
:ivar is_property: Anything.
:vartype is_property: any
"""
_attribute_map = {
'when': {'key': 'when', 'type': 'str'},
'is_property': {'key': 'is', 'type': 'object'},
}
def __init__(
self,
*,
when: Optional[str] = None,
is_property: Optional[Any] = None,
**kwargs
):
"""
:keyword when:
:paramtype when: str
:keyword is_property: Anything.
:paramtype is_property: any
"""
super(Activate, self).__init__(**kwargs)
self.when = when
self.is_property = is_property
class AdditionalErrorInfo(msrest.serialization.Model):
"""AdditionalErrorInfo.
:ivar type:
:vartype type: str
:ivar info: Anything.
:vartype info: any
"""
_attribute_map = {
'type': {'key': 'type', 'type': 'str'},
'info': {'key': 'info', 'type': 'object'},
}
def __init__(
self,
*,
type: Optional[str] = None,
info: Optional[Any] = None,
**kwargs
):
"""
:keyword type:
:paramtype type: str
:keyword info: Anything.
:paramtype info: any
"""
super(AdditionalErrorInfo, self).__init__(**kwargs)
self.type = type
self.info = info
class AdhocTriggerScheduledCommandJobRequest(msrest.serialization.Model):
"""AdhocTriggerScheduledCommandJobRequest.
:ivar job_name:
:vartype job_name: str
:ivar job_display_name:
:vartype job_display_name: str
:ivar trigger_time_string:
:vartype trigger_time_string: str
"""
_attribute_map = {
'job_name': {'key': 'jobName', 'type': 'str'},
'job_display_name': {'key': 'jobDisplayName', 'type': 'str'},
'trigger_time_string': {'key': 'triggerTimeString', 'type': 'str'},
}
def __init__(
self,
*,
job_name: Optional[str] = None,
job_display_name: Optional[str] = None,
trigger_time_string: Optional[str] = None,
**kwargs
):
"""
:keyword job_name:
:paramtype job_name: str
:keyword job_display_name:
:paramtype job_display_name: str
:keyword trigger_time_string:
:paramtype trigger_time_string: str
"""
super(AdhocTriggerScheduledCommandJobRequest, self).__init__(**kwargs)
self.job_name = job_name
self.job_display_name = job_display_name
self.trigger_time_string = trigger_time_string
class AdhocTriggerScheduledSparkJobRequest(msrest.serialization.Model):
"""AdhocTriggerScheduledSparkJobRequest.
:ivar job_name:
:vartype job_name: str
:ivar job_display_name:
:vartype job_display_name: str
:ivar trigger_time_string:
:vartype trigger_time_string: str
"""
_attribute_map = {
'job_name': {'key': 'jobName', 'type': 'str'},
'job_display_name': {'key': 'jobDisplayName', 'type': 'str'},
'trigger_time_string': {'key': 'triggerTimeString', 'type': 'str'},
}
def __init__(
self,
*,
job_name: Optional[str] = None,
job_display_name: Optional[str] = None,
trigger_time_string: Optional[str] = None,
**kwargs
):
"""
:keyword job_name:
:paramtype job_name: str
:keyword job_display_name:
:paramtype job_display_name: str
:keyword trigger_time_string:
:paramtype trigger_time_string: str
"""
super(AdhocTriggerScheduledSparkJobRequest, self).__init__(**kwargs)
self.job_name = job_name
self.job_display_name = job_display_name
self.trigger_time_string = trigger_time_string
class AetherAmlDataset(msrest.serialization.Model):
"""AetherAmlDataset.
:ivar registered_data_set_reference:
:vartype registered_data_set_reference: ~flow.models.AetherRegisteredDataSetReference
:ivar saved_data_set_reference:
:vartype saved_data_set_reference: ~flow.models.AetherSavedDataSetReference
:ivar additional_transformations:
:vartype additional_transformations: str
"""
_attribute_map = {
'registered_data_set_reference': {'key': 'registeredDataSetReference', 'type': 'AetherRegisteredDataSetReference'},
'saved_data_set_reference': {'key': 'savedDataSetReference', 'type': 'AetherSavedDataSetReference'},
'additional_transformations': {'key': 'additionalTransformations', 'type': 'str'},
}
def __init__(
self,
*,
registered_data_set_reference: Optional["AetherRegisteredDataSetReference"] = None,
saved_data_set_reference: Optional["AetherSavedDataSetReference"] = None,
additional_transformations: Optional[str] = None,
**kwargs
):
"""
:keyword registered_data_set_reference:
:paramtype registered_data_set_reference: ~flow.models.AetherRegisteredDataSetReference
:keyword saved_data_set_reference:
:paramtype saved_data_set_reference: ~flow.models.AetherSavedDataSetReference
:keyword additional_transformations:
:paramtype additional_transformations: str
"""
super(AetherAmlDataset, self).__init__(**kwargs)
self.registered_data_set_reference = registered_data_set_reference
self.saved_data_set_reference = saved_data_set_reference
self.additional_transformations = additional_transformations
class AetherAmlSparkCloudSetting(msrest.serialization.Model):
"""AetherAmlSparkCloudSetting.
:ivar entry:
:vartype entry: ~flow.models.AetherEntrySetting
:ivar files:
:vartype files: list[str]
:ivar archives:
:vartype archives: list[str]
:ivar jars:
:vartype jars: list[str]
:ivar py_files:
:vartype py_files: list[str]
:ivar driver_memory:
:vartype driver_memory: str
:ivar driver_cores:
:vartype driver_cores: int
:ivar executor_memory:
:vartype executor_memory: str
:ivar executor_cores:
:vartype executor_cores: int
:ivar number_executors:
:vartype number_executors: int
:ivar environment_asset_id:
:vartype environment_asset_id: str
:ivar environment_variables: Dictionary of :code:`<string>`.
:vartype environment_variables: dict[str, str]
:ivar inline_environment_definition_string:
:vartype inline_environment_definition_string: str
:ivar conf: Dictionary of :code:`<string>`.
:vartype conf: dict[str, str]
:ivar compute:
:vartype compute: str
:ivar resources:
:vartype resources: ~flow.models.AetherResourcesSetting
:ivar identity:
:vartype identity: ~flow.models.AetherIdentitySetting
"""
_attribute_map = {
'entry': {'key': 'entry', 'type': 'AetherEntrySetting'},
'files': {'key': 'files', 'type': '[str]'},
'archives': {'key': 'archives', 'type': '[str]'},
'jars': {'key': 'jars', 'type': '[str]'},
'py_files': {'key': 'pyFiles', 'type': '[str]'},
'driver_memory': {'key': 'driverMemory', 'type': 'str'},
'driver_cores': {'key': 'driverCores', 'type': 'int'},
'executor_memory': {'key': 'executorMemory', 'type': 'str'},
'executor_cores': {'key': 'executorCores', 'type': 'int'},
'number_executors': {'key': 'numberExecutors', 'type': 'int'},
'environment_asset_id': {'key': 'environmentAssetId', 'type': 'str'},
'environment_variables': {'key': 'environmentVariables', 'type': '{str}'},
'inline_environment_definition_string': {'key': 'inlineEnvironmentDefinitionString', 'type': 'str'},
'conf': {'key': 'conf', 'type': '{str}'},
'compute': {'key': 'compute', 'type': 'str'},
'resources': {'key': 'resources', 'type': 'AetherResourcesSetting'},
'identity': {'key': 'identity', 'type': 'AetherIdentitySetting'},
}
def __init__(
self,
*,
entry: Optional["AetherEntrySetting"] = None,
files: Optional[List[str]] = None,
archives: Optional[List[str]] = None,
jars: Optional[List[str]] = None,
py_files: Optional[List[str]] = None,
driver_memory: Optional[str] = None,
driver_cores: Optional[int] = None,
executor_memory: Optional[str] = None,
executor_cores: Optional[int] = None,
number_executors: Optional[int] = None,
environment_asset_id: Optional[str] = None,
environment_variables: Optional[Dict[str, str]] = None,
inline_environment_definition_string: Optional[str] = None,
conf: Optional[Dict[str, str]] = None,
compute: Optional[str] = None,
resources: Optional["AetherResourcesSetting"] = None,
identity: Optional["AetherIdentitySetting"] = None,
**kwargs
):
"""
:keyword entry:
:paramtype entry: ~flow.models.AetherEntrySetting
:keyword files:
:paramtype files: list[str]
:keyword archives:
:paramtype archives: list[str]
:keyword jars:
:paramtype jars: list[str]
:keyword py_files:
:paramtype py_files: list[str]
:keyword driver_memory:
:paramtype driver_memory: str
:keyword driver_cores:
:paramtype driver_cores: int
:keyword executor_memory:
:paramtype executor_memory: str
:keyword executor_cores:
:paramtype executor_cores: int
:keyword number_executors:
:paramtype number_executors: int
:keyword environment_asset_id:
:paramtype environment_asset_id: str
:keyword environment_variables: Dictionary of :code:`<string>`.
:paramtype environment_variables: dict[str, str]
:keyword inline_environment_definition_string:
:paramtype inline_environment_definition_string: str
:keyword conf: Dictionary of :code:`<string>`.
:paramtype conf: dict[str, str]
:keyword compute:
:paramtype compute: str
:keyword resources:
:paramtype resources: ~flow.models.AetherResourcesSetting
:keyword identity:
:paramtype identity: ~flow.models.AetherIdentitySetting
"""
super(AetherAmlSparkCloudSetting, self).__init__(**kwargs)
self.entry = entry
self.files = files
self.archives = archives
self.jars = jars
self.py_files = py_files
self.driver_memory = driver_memory
self.driver_cores = driver_cores
self.executor_memory = executor_memory
self.executor_cores = executor_cores
self.number_executors = number_executors
self.environment_asset_id = environment_asset_id
self.environment_variables = environment_variables
self.inline_environment_definition_string = inline_environment_definition_string
self.conf = conf
self.compute = compute
self.resources = resources
self.identity = identity
class AetherAPCloudConfiguration(msrest.serialization.Model):
"""AetherAPCloudConfiguration.
:ivar referenced_ap_module_guid:
:vartype referenced_ap_module_guid: str
:ivar user_alias:
:vartype user_alias: str
:ivar aether_module_type:
:vartype aether_module_type: str
"""
_attribute_map = {
'referenced_ap_module_guid': {'key': 'referencedAPModuleGuid', 'type': 'str'},
'user_alias': {'key': 'userAlias', 'type': 'str'},
'aether_module_type': {'key': 'aetherModuleType', 'type': 'str'},
}
def __init__(
self,
*,
referenced_ap_module_guid: Optional[str] = None,
user_alias: Optional[str] = None,
aether_module_type: Optional[str] = None,
**kwargs
):
"""
:keyword referenced_ap_module_guid:
:paramtype referenced_ap_module_guid: str
:keyword user_alias:
:paramtype user_alias: str
:keyword aether_module_type:
:paramtype aether_module_type: str
"""
super(AetherAPCloudConfiguration, self).__init__(**kwargs)
self.referenced_ap_module_guid = referenced_ap_module_guid
self.user_alias = user_alias
self.aether_module_type = aether_module_type
class AetherArgumentAssignment(msrest.serialization.Model):
"""AetherArgumentAssignment.
:ivar value_type: Possible values include: "Literal", "Parameter", "Input", "Output",
"NestedList", "StringInterpolationList".
:vartype value_type: str or ~flow.models.AetherArgumentValueType
:ivar value:
:vartype value: str
:ivar nested_argument_list:
:vartype nested_argument_list: list[~flow.models.AetherArgumentAssignment]
:ivar string_interpolation_argument_list:
:vartype string_interpolation_argument_list: list[~flow.models.AetherArgumentAssignment]
"""
_attribute_map = {
'value_type': {'key': 'valueType', 'type': 'str'},
'value': {'key': 'value', 'type': 'str'},
'nested_argument_list': {'key': 'nestedArgumentList', 'type': '[AetherArgumentAssignment]'},
'string_interpolation_argument_list': {'key': 'stringInterpolationArgumentList', 'type': '[AetherArgumentAssignment]'},
}
def __init__(
self,
*,
value_type: Optional[Union[str, "AetherArgumentValueType"]] = None,
value: Optional[str] = None,
nested_argument_list: Optional[List["AetherArgumentAssignment"]] = None,
string_interpolation_argument_list: Optional[List["AetherArgumentAssignment"]] = None,
**kwargs
):
"""
:keyword value_type: Possible values include: "Literal", "Parameter", "Input", "Output",
"NestedList", "StringInterpolationList".
:paramtype value_type: str or ~flow.models.AetherArgumentValueType
:keyword value:
:paramtype value: str
:keyword nested_argument_list:
:paramtype nested_argument_list: list[~flow.models.AetherArgumentAssignment]
:keyword string_interpolation_argument_list:
:paramtype string_interpolation_argument_list: list[~flow.models.AetherArgumentAssignment]
"""
super(AetherArgumentAssignment, self).__init__(**kwargs)
self.value_type = value_type
self.value = value
self.nested_argument_list = nested_argument_list
self.string_interpolation_argument_list = string_interpolation_argument_list
class AetherAssetDefinition(msrest.serialization.Model):
"""AetherAssetDefinition.
:ivar path:
:vartype path: str
:ivar type: Possible values include: "UriFile", "UriFolder", "MLTable", "CustomModel",
"MLFlowModel", "TritonModel", "OpenAIModel".
:vartype type: str or ~flow.models.AetherAssetType
:ivar asset_id:
:vartype asset_id: str
:ivar initial_asset_id:
:vartype initial_asset_id: str
:ivar serialized_asset_id:
:vartype serialized_asset_id: str
"""
_attribute_map = {
'path': {'key': 'path', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'asset_id': {'key': 'assetId', 'type': 'str'},
'initial_asset_id': {'key': 'initialAssetId', 'type': 'str'},
'serialized_asset_id': {'key': 'serializedAssetId', 'type': 'str'},
}
def __init__(
self,
*,
path: Optional[str] = None,
type: Optional[Union[str, "AetherAssetType"]] = None,
asset_id: Optional[str] = None,
initial_asset_id: Optional[str] = None,
serialized_asset_id: Optional[str] = None,
**kwargs
):
"""
:keyword path:
:paramtype path: str
:keyword type: Possible values include: "UriFile", "UriFolder", "MLTable", "CustomModel",
"MLFlowModel", "TritonModel", "OpenAIModel".
:paramtype type: str or ~flow.models.AetherAssetType
:keyword asset_id:
:paramtype asset_id: str
:keyword initial_asset_id:
:paramtype initial_asset_id: str
:keyword serialized_asset_id:
:paramtype serialized_asset_id: str
"""
super(AetherAssetDefinition, self).__init__(**kwargs)
self.path = path
self.type = type
self.asset_id = asset_id
self.initial_asset_id = initial_asset_id
self.serialized_asset_id = serialized_asset_id
class AetherAssetOutputSettings(msrest.serialization.Model):
"""AetherAssetOutputSettings.
:ivar path:
:vartype path: str
:ivar path_parameter_assignment:
:vartype path_parameter_assignment: ~flow.models.AetherParameterAssignment
:ivar type: Possible values include: "UriFile", "UriFolder", "MLTable", "CustomModel",
"MLFlowModel", "TritonModel", "OpenAIModel".
:vartype type: str or ~flow.models.AetherAssetType
:ivar options: This is a dictionary.
:vartype options: dict[str, str]
:ivar data_store_mode: Possible values include: "None", "Mount", "Download", "Upload",
"Direct", "Hdfs", "Link".
:vartype data_store_mode: str or ~flow.models.AetherDataStoreMode
:ivar name:
:vartype name: str
:ivar version:
:vartype version: str
"""
_attribute_map = {
'path': {'key': 'path', 'type': 'str'},
'path_parameter_assignment': {'key': 'PathParameterAssignment', 'type': 'AetherParameterAssignment'},
'type': {'key': 'type', 'type': 'str'},
'options': {'key': 'options', 'type': '{str}'},
'data_store_mode': {'key': 'dataStoreMode', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'version': {'key': 'version', 'type': 'str'},
}
def __init__(
self,
*,
path: Optional[str] = None,
path_parameter_assignment: Optional["AetherParameterAssignment"] = None,
type: Optional[Union[str, "AetherAssetType"]] = None,
options: Optional[Dict[str, str]] = None,
data_store_mode: Optional[Union[str, "AetherDataStoreMode"]] = None,
name: Optional[str] = None,
version: Optional[str] = None,
**kwargs
):
"""
:keyword path:
:paramtype path: str
:keyword path_parameter_assignment:
:paramtype path_parameter_assignment: ~flow.models.AetherParameterAssignment
:keyword type: Possible values include: "UriFile", "UriFolder", "MLTable", "CustomModel",
"MLFlowModel", "TritonModel", "OpenAIModel".
:paramtype type: str or ~flow.models.AetherAssetType
:keyword options: This is a dictionary.
:paramtype options: dict[str, str]
:keyword data_store_mode: Possible values include: "None", "Mount", "Download", "Upload",
"Direct", "Hdfs", "Link".
:paramtype data_store_mode: str or ~flow.models.AetherDataStoreMode
:keyword name:
:paramtype name: str
:keyword version:
:paramtype version: str
"""
super(AetherAssetOutputSettings, self).__init__(**kwargs)
self.path = path
self.path_parameter_assignment = path_parameter_assignment
self.type = type
self.options = options
self.data_store_mode = data_store_mode
self.name = name
self.version = version
class AetherAutoFeaturizeConfiguration(msrest.serialization.Model):
"""AetherAutoFeaturizeConfiguration.
:ivar featurization_config:
:vartype featurization_config: ~flow.models.AetherFeaturizationSettings
"""
_attribute_map = {
'featurization_config': {'key': 'featurizationConfig', 'type': 'AetherFeaturizationSettings'},
}
def __init__(
self,
*,
featurization_config: Optional["AetherFeaturizationSettings"] = None,
**kwargs
):
"""
:keyword featurization_config:
:paramtype featurization_config: ~flow.models.AetherFeaturizationSettings
"""
super(AetherAutoFeaturizeConfiguration, self).__init__(**kwargs)
self.featurization_config = featurization_config
class AetherAutoMLComponentConfiguration(msrest.serialization.Model):
"""AetherAutoMLComponentConfiguration.
:ivar auto_train_config:
:vartype auto_train_config: ~flow.models.AetherAutoTrainConfiguration
:ivar auto_featurize_config:
:vartype auto_featurize_config: ~flow.models.AetherAutoFeaturizeConfiguration
"""
_attribute_map = {
'auto_train_config': {'key': 'autoTrainConfig', 'type': 'AetherAutoTrainConfiguration'},
'auto_featurize_config': {'key': 'autoFeaturizeConfig', 'type': 'AetherAutoFeaturizeConfiguration'},
}
def __init__(
self,
*,
auto_train_config: Optional["AetherAutoTrainConfiguration"] = None,
auto_featurize_config: Optional["AetherAutoFeaturizeConfiguration"] = None,
**kwargs
):
"""
:keyword auto_train_config:
:paramtype auto_train_config: ~flow.models.AetherAutoTrainConfiguration
:keyword auto_featurize_config:
:paramtype auto_featurize_config: ~flow.models.AetherAutoFeaturizeConfiguration
"""
super(AetherAutoMLComponentConfiguration, self).__init__(**kwargs)
self.auto_train_config = auto_train_config
self.auto_featurize_config = auto_featurize_config
class AetherAutoTrainConfiguration(msrest.serialization.Model):
"""AetherAutoTrainConfiguration.
:ivar general_settings:
:vartype general_settings: ~flow.models.AetherGeneralSettings
:ivar limit_settings:
:vartype limit_settings: ~flow.models.AetherLimitSettings
:ivar data_settings:
:vartype data_settings: ~flow.models.AetherDataSettings
:ivar forecasting_settings:
:vartype forecasting_settings: ~flow.models.AetherForecastingSettings
:ivar training_settings:
:vartype training_settings: ~flow.models.AetherTrainingSettings
:ivar sweep_settings:
:vartype sweep_settings: ~flow.models.AetherSweepSettings
:ivar image_model_settings: Dictionary of :code:`<any>`.
:vartype image_model_settings: dict[str, any]
:ivar properties: Dictionary of :code:`<string>`.
:vartype properties: dict[str, str]
:ivar compute_configuration:
:vartype compute_configuration: ~flow.models.AetherComputeConfiguration
:ivar resource_configurtion:
:vartype resource_configurtion: ~flow.models.AetherResourceConfiguration
:ivar environment_id:
:vartype environment_id: str
:ivar environment_variables: Dictionary of :code:`<string>`.
:vartype environment_variables: dict[str, str]
"""
_attribute_map = {
'general_settings': {'key': 'generalSettings', 'type': 'AetherGeneralSettings'},
'limit_settings': {'key': 'limitSettings', 'type': 'AetherLimitSettings'},
'data_settings': {'key': 'dataSettings', 'type': 'AetherDataSettings'},
'forecasting_settings': {'key': 'forecastingSettings', 'type': 'AetherForecastingSettings'},
'training_settings': {'key': 'trainingSettings', 'type': 'AetherTrainingSettings'},
'sweep_settings': {'key': 'sweepSettings', 'type': 'AetherSweepSettings'},
'image_model_settings': {'key': 'imageModelSettings', 'type': '{object}'},
'properties': {'key': 'properties', 'type': '{str}'},
'compute_configuration': {'key': 'computeConfiguration', 'type': 'AetherComputeConfiguration'},
'resource_configurtion': {'key': 'resourceConfigurtion', 'type': 'AetherResourceConfiguration'},
'environment_id': {'key': 'environmentId', 'type': 'str'},
'environment_variables': {'key': 'environmentVariables', 'type': '{str}'},
}
def __init__(
self,
*,
general_settings: Optional["AetherGeneralSettings"] = None,
limit_settings: Optional["AetherLimitSettings"] = None,
data_settings: Optional["AetherDataSettings"] = None,
forecasting_settings: Optional["AetherForecastingSettings"] = None,
training_settings: Optional["AetherTrainingSettings"] = None,
sweep_settings: Optional["AetherSweepSettings"] = None,
image_model_settings: Optional[Dict[str, Any]] = None,
properties: Optional[Dict[str, str]] = None,
compute_configuration: Optional["AetherComputeConfiguration"] = None,
resource_configurtion: Optional["AetherResourceConfiguration"] = None,
environment_id: Optional[str] = None,
environment_variables: Optional[Dict[str, str]] = None,
**kwargs
):
"""
:keyword general_settings:
:paramtype general_settings: ~flow.models.AetherGeneralSettings
:keyword limit_settings:
:paramtype limit_settings: ~flow.models.AetherLimitSettings
:keyword data_settings:
:paramtype data_settings: ~flow.models.AetherDataSettings
:keyword forecasting_settings:
:paramtype forecasting_settings: ~flow.models.AetherForecastingSettings
:keyword training_settings:
:paramtype training_settings: ~flow.models.AetherTrainingSettings
:keyword sweep_settings:
:paramtype sweep_settings: ~flow.models.AetherSweepSettings
:keyword image_model_settings: Dictionary of :code:`<any>`.
:paramtype image_model_settings: dict[str, any]
:keyword properties: Dictionary of :code:`<string>`.
:paramtype properties: dict[str, str]
:keyword compute_configuration:
:paramtype compute_configuration: ~flow.models.AetherComputeConfiguration
:keyword resource_configurtion:
:paramtype resource_configurtion: ~flow.models.AetherResourceConfiguration
:keyword environment_id:
:paramtype environment_id: str
:keyword environment_variables: Dictionary of :code:`<string>`.
:paramtype environment_variables: dict[str, str]
"""
super(AetherAutoTrainConfiguration, self).__init__(**kwargs)
self.general_settings = general_settings
self.limit_settings = limit_settings
self.data_settings = data_settings
self.forecasting_settings = forecasting_settings
self.training_settings = training_settings
self.sweep_settings = sweep_settings
self.image_model_settings = image_model_settings
self.properties = properties
self.compute_configuration = compute_configuration
self.resource_configurtion = resource_configurtion
self.environment_id = environment_id
self.environment_variables = environment_variables
class AetherAzureBlobReference(msrest.serialization.Model):
"""AetherAzureBlobReference.
:ivar container:
:vartype container: str
:ivar sas_token:
:vartype sas_token: str
:ivar uri:
:vartype uri: str
:ivar account:
:vartype account: str
:ivar relative_path:
:vartype relative_path: str
:ivar path_type: Possible values include: "Unknown", "File", "Folder".
:vartype path_type: str or ~flow.models.AetherFileBasedPathType
:ivar aml_data_store_name:
:vartype aml_data_store_name: str
"""
_attribute_map = {
'container': {'key': 'container', 'type': 'str'},
'sas_token': {'key': 'sasToken', 'type': 'str'},
'uri': {'key': 'uri', 'type': 'str'},
'account': {'key': 'account', 'type': 'str'},
'relative_path': {'key': 'relativePath', 'type': 'str'},
'path_type': {'key': 'pathType', 'type': 'str'},
'aml_data_store_name': {'key': 'amlDataStoreName', 'type': 'str'},
}
def __init__(
self,
*,
container: Optional[str] = None,
sas_token: Optional[str] = None,
uri: Optional[str] = None,
account: Optional[str] = None,
relative_path: Optional[str] = None,
path_type: Optional[Union[str, "AetherFileBasedPathType"]] = None,
aml_data_store_name: Optional[str] = None,
**kwargs
):
"""
:keyword container:
:paramtype container: str
:keyword sas_token:
:paramtype sas_token: str
:keyword uri:
:paramtype uri: str
:keyword account:
:paramtype account: str
:keyword relative_path:
:paramtype relative_path: str
:keyword path_type: Possible values include: "Unknown", "File", "Folder".
:paramtype path_type: str or ~flow.models.AetherFileBasedPathType
:keyword aml_data_store_name:
:paramtype aml_data_store_name: str
"""
super(AetherAzureBlobReference, self).__init__(**kwargs)
self.container = container
self.sas_token = sas_token
self.uri = uri
self.account = account
self.relative_path = relative_path
self.path_type = path_type
self.aml_data_store_name = aml_data_store_name
class AetherAzureDatabaseReference(msrest.serialization.Model):
"""AetherAzureDatabaseReference.
:ivar server_uri:
:vartype server_uri: str
:ivar database_name:
:vartype database_name: str
:ivar table_name:
:vartype table_name: str
:ivar sql_query:
:vartype sql_query: str
:ivar stored_procedure_name:
:vartype stored_procedure_name: str
:ivar stored_procedure_parameters:
:vartype stored_procedure_parameters: list[~flow.models.AetherStoredProcedureParameter]
:ivar aml_data_store_name:
:vartype aml_data_store_name: str
"""
_attribute_map = {
'server_uri': {'key': 'serverUri', 'type': 'str'},
'database_name': {'key': 'databaseName', 'type': 'str'},
'table_name': {'key': 'tableName', 'type': 'str'},
'sql_query': {'key': 'sqlQuery', 'type': 'str'},
'stored_procedure_name': {'key': 'storedProcedureName', 'type': 'str'},
'stored_procedure_parameters': {'key': 'storedProcedureParameters', 'type': '[AetherStoredProcedureParameter]'},
'aml_data_store_name': {'key': 'amlDataStoreName', 'type': 'str'},
}
def __init__(
self,
*,
server_uri: Optional[str] = None,
database_name: Optional[str] = None,
table_name: Optional[str] = None,
sql_query: Optional[str] = None,
stored_procedure_name: Optional[str] = None,
stored_procedure_parameters: Optional[List["AetherStoredProcedureParameter"]] = None,
aml_data_store_name: Optional[str] = None,
**kwargs
):
"""
:keyword server_uri:
:paramtype server_uri: str
:keyword database_name:
:paramtype database_name: str
:keyword table_name:
:paramtype table_name: str
:keyword sql_query:
:paramtype sql_query: str
:keyword stored_procedure_name:
:paramtype stored_procedure_name: str
:keyword stored_procedure_parameters:
:paramtype stored_procedure_parameters: list[~flow.models.AetherStoredProcedureParameter]
:keyword aml_data_store_name:
:paramtype aml_data_store_name: str
"""
super(AetherAzureDatabaseReference, self).__init__(**kwargs)
self.server_uri = server_uri
self.database_name = database_name
self.table_name = table_name
self.sql_query = sql_query
self.stored_procedure_name = stored_procedure_name
self.stored_procedure_parameters = stored_procedure_parameters
self.aml_data_store_name = aml_data_store_name
class AetherAzureDataLakeGen2Reference(msrest.serialization.Model):
"""AetherAzureDataLakeGen2Reference.
:ivar file_system_name:
:vartype file_system_name: str
:ivar uri:
:vartype uri: str
:ivar account:
:vartype account: str
:ivar relative_path:
:vartype relative_path: str
:ivar path_type: Possible values include: "Unknown", "File", "Folder".
:vartype path_type: str or ~flow.models.AetherFileBasedPathType
:ivar aml_data_store_name:
:vartype aml_data_store_name: str
"""
_attribute_map = {
'file_system_name': {'key': 'fileSystemName', 'type': 'str'},
'uri': {'key': 'uri', 'type': 'str'},
'account': {'key': 'account', 'type': 'str'},
'relative_path': {'key': 'relativePath', 'type': 'str'},
'path_type': {'key': 'pathType', 'type': 'str'},
'aml_data_store_name': {'key': 'amlDataStoreName', 'type': 'str'},
}
def __init__(
self,
*,
file_system_name: Optional[str] = None,
uri: Optional[str] = None,
account: Optional[str] = None,
relative_path: Optional[str] = None,
path_type: Optional[Union[str, "AetherFileBasedPathType"]] = None,
aml_data_store_name: Optional[str] = None,
**kwargs
):
"""
:keyword file_system_name:
:paramtype file_system_name: str
:keyword uri:
:paramtype uri: str
:keyword account:
:paramtype account: str
:keyword relative_path:
:paramtype relative_path: str
:keyword path_type: Possible values include: "Unknown", "File", "Folder".
:paramtype path_type: str or ~flow.models.AetherFileBasedPathType
:keyword aml_data_store_name:
:paramtype aml_data_store_name: str
"""
super(AetherAzureDataLakeGen2Reference, self).__init__(**kwargs)
self.file_system_name = file_system_name
self.uri = uri
self.account = account
self.relative_path = relative_path
self.path_type = path_type
self.aml_data_store_name = aml_data_store_name
class AetherAzureDataLakeReference(msrest.serialization.Model):
"""AetherAzureDataLakeReference.
:ivar tenant:
:vartype tenant: str
:ivar subscription:
:vartype subscription: str
:ivar resource_group:
:vartype resource_group: str
:ivar data_lake_uri:
:vartype data_lake_uri: str
:ivar uri:
:vartype uri: str
:ivar account:
:vartype account: str
:ivar relative_path:
:vartype relative_path: str
:ivar path_type: Possible values include: "Unknown", "File", "Folder".
:vartype path_type: str or ~flow.models.AetherFileBasedPathType
:ivar aml_data_store_name:
:vartype aml_data_store_name: str
"""
_attribute_map = {
'tenant': {'key': 'tenant', 'type': 'str'},
'subscription': {'key': 'subscription', 'type': 'str'},
'resource_group': {'key': 'resourceGroup', 'type': 'str'},
'data_lake_uri': {'key': 'dataLakeUri', 'type': 'str'},
'uri': {'key': 'uri', 'type': 'str'},
'account': {'key': 'account', 'type': 'str'},
'relative_path': {'key': 'relativePath', 'type': 'str'},
'path_type': {'key': 'pathType', 'type': 'str'},
'aml_data_store_name': {'key': 'amlDataStoreName', 'type': 'str'},
}
def __init__(
self,
*,
tenant: Optional[str] = None,
subscription: Optional[str] = None,
resource_group: Optional[str] = None,
data_lake_uri: Optional[str] = None,
uri: Optional[str] = None,
account: Optional[str] = None,
relative_path: Optional[str] = None,
path_type: Optional[Union[str, "AetherFileBasedPathType"]] = None,
aml_data_store_name: Optional[str] = None,
**kwargs
):
"""
:keyword tenant:
:paramtype tenant: str
:keyword subscription:
:paramtype subscription: str
:keyword resource_group:
:paramtype resource_group: str
:keyword data_lake_uri:
:paramtype data_lake_uri: str
:keyword uri:
:paramtype uri: str
:keyword account:
:paramtype account: str
:keyword relative_path:
:paramtype relative_path: str
:keyword path_type: Possible values include: "Unknown", "File", "Folder".
:paramtype path_type: str or ~flow.models.AetherFileBasedPathType
:keyword aml_data_store_name:
:paramtype aml_data_store_name: str
"""
super(AetherAzureDataLakeReference, self).__init__(**kwargs)
self.tenant = tenant
self.subscription = subscription
self.resource_group = resource_group
self.data_lake_uri = data_lake_uri
self.uri = uri
self.account = account
self.relative_path = relative_path
self.path_type = path_type
self.aml_data_store_name = aml_data_store_name
class AetherAzureFilesReference(msrest.serialization.Model):
"""AetherAzureFilesReference.
:ivar share:
:vartype share: str
:ivar uri:
:vartype uri: str
:ivar account:
:vartype account: str
:ivar relative_path:
:vartype relative_path: str
:ivar path_type: Possible values include: "Unknown", "File", "Folder".
:vartype path_type: str or ~flow.models.AetherFileBasedPathType
:ivar aml_data_store_name:
:vartype aml_data_store_name: str
"""
_attribute_map = {
'share': {'key': 'share', 'type': 'str'},
'uri': {'key': 'uri', 'type': 'str'},
'account': {'key': 'account', 'type': 'str'},
'relative_path': {'key': 'relativePath', 'type': 'str'},
'path_type': {'key': 'pathType', 'type': 'str'},
'aml_data_store_name': {'key': 'amlDataStoreName', 'type': 'str'},
}
def __init__(
self,
*,
share: Optional[str] = None,
uri: Optional[str] = None,
account: Optional[str] = None,
relative_path: Optional[str] = None,
path_type: Optional[Union[str, "AetherFileBasedPathType"]] = None,
aml_data_store_name: Optional[str] = None,
**kwargs
):
"""
:keyword share:
:paramtype share: str
:keyword uri:
:paramtype uri: str
:keyword account:
:paramtype account: str
:keyword relative_path:
:paramtype relative_path: str
:keyword path_type: Possible values include: "Unknown", "File", "Folder".
:paramtype path_type: str or ~flow.models.AetherFileBasedPathType
:keyword aml_data_store_name:
:paramtype aml_data_store_name: str
"""
super(AetherAzureFilesReference, self).__init__(**kwargs)
self.share = share
self.uri = uri
self.account = account
self.relative_path = relative_path
self.path_type = path_type
self.aml_data_store_name = aml_data_store_name
class AetherBatchAiComputeInfo(msrest.serialization.Model):
"""AetherBatchAiComputeInfo.
:ivar batch_ai_subscription_id:
:vartype batch_ai_subscription_id: str
:ivar batch_ai_resource_group:
:vartype batch_ai_resource_group: str
:ivar batch_ai_workspace_name:
:vartype batch_ai_workspace_name: str
:ivar cluster_name:
:vartype cluster_name: str
:ivar native_shared_directory:
:vartype native_shared_directory: str
"""
_attribute_map = {
'batch_ai_subscription_id': {'key': 'batchAiSubscriptionId', 'type': 'str'},
'batch_ai_resource_group': {'key': 'batchAiResourceGroup', 'type': 'str'},
'batch_ai_workspace_name': {'key': 'batchAiWorkspaceName', 'type': 'str'},
'cluster_name': {'key': 'clusterName', 'type': 'str'},
'native_shared_directory': {'key': 'nativeSharedDirectory', 'type': 'str'},
}
def __init__(
self,
*,
batch_ai_subscription_id: Optional[str] = None,
batch_ai_resource_group: Optional[str] = None,
batch_ai_workspace_name: Optional[str] = None,
cluster_name: Optional[str] = None,
native_shared_directory: Optional[str] = None,
**kwargs
):
"""
:keyword batch_ai_subscription_id:
:paramtype batch_ai_subscription_id: str
:keyword batch_ai_resource_group:
:paramtype batch_ai_resource_group: str
:keyword batch_ai_workspace_name:
:paramtype batch_ai_workspace_name: str
:keyword cluster_name:
:paramtype cluster_name: str
:keyword native_shared_directory:
:paramtype native_shared_directory: str
"""
super(AetherBatchAiComputeInfo, self).__init__(**kwargs)
self.batch_ai_subscription_id = batch_ai_subscription_id
self.batch_ai_resource_group = batch_ai_resource_group
self.batch_ai_workspace_name = batch_ai_workspace_name
self.cluster_name = cluster_name
self.native_shared_directory = native_shared_directory
class AetherBuildArtifactInfo(msrest.serialization.Model):
"""AetherBuildArtifactInfo.
:ivar type: Possible values include: "CloudBuild", "Vso", "VsoGit".
:vartype type: str or ~flow.models.AetherBuildSourceType
:ivar cloud_build_drop_path_info:
:vartype cloud_build_drop_path_info: ~flow.models.AetherCloudBuildDropPathInfo
:ivar vso_build_artifact_info:
:vartype vso_build_artifact_info: ~flow.models.AetherVsoBuildArtifactInfo
"""
_attribute_map = {
'type': {'key': 'type', 'type': 'str'},
'cloud_build_drop_path_info': {'key': 'cloudBuildDropPathInfo', 'type': 'AetherCloudBuildDropPathInfo'},
'vso_build_artifact_info': {'key': 'vsoBuildArtifactInfo', 'type': 'AetherVsoBuildArtifactInfo'},
}
def __init__(
self,
*,
type: Optional[Union[str, "AetherBuildSourceType"]] = None,
cloud_build_drop_path_info: Optional["AetherCloudBuildDropPathInfo"] = None,
vso_build_artifact_info: Optional["AetherVsoBuildArtifactInfo"] = None,
**kwargs
):
"""
:keyword type: Possible values include: "CloudBuild", "Vso", "VsoGit".
:paramtype type: str or ~flow.models.AetherBuildSourceType
:keyword cloud_build_drop_path_info:
:paramtype cloud_build_drop_path_info: ~flow.models.AetherCloudBuildDropPathInfo
:keyword vso_build_artifact_info:
:paramtype vso_build_artifact_info: ~flow.models.AetherVsoBuildArtifactInfo
"""
super(AetherBuildArtifactInfo, self).__init__(**kwargs)
self.type = type
self.cloud_build_drop_path_info = cloud_build_drop_path_info
self.vso_build_artifact_info = vso_build_artifact_info
class AetherCloudBuildDropPathInfo(msrest.serialization.Model):
"""AetherCloudBuildDropPathInfo.
:ivar build_info:
:vartype build_info: ~flow.models.AetherCloudBuildInfo
:ivar root:
:vartype root: str
"""
_attribute_map = {
'build_info': {'key': 'buildInfo', 'type': 'AetherCloudBuildInfo'},
'root': {'key': 'root', 'type': 'str'},
}
def __init__(
self,
*,
build_info: Optional["AetherCloudBuildInfo"] = None,
root: Optional[str] = None,
**kwargs
):
"""
:keyword build_info:
:paramtype build_info: ~flow.models.AetherCloudBuildInfo
:keyword root:
:paramtype root: str
"""
super(AetherCloudBuildDropPathInfo, self).__init__(**kwargs)
self.build_info = build_info
self.root = root
class AetherCloudBuildInfo(msrest.serialization.Model):
"""AetherCloudBuildInfo.
:ivar queue_info:
:vartype queue_info: ~flow.models.AetherCloudBuildQueueInfo
:ivar build_id:
:vartype build_id: str
:ivar drop_url:
:vartype drop_url: str
"""
_attribute_map = {
'queue_info': {'key': 'queueInfo', 'type': 'AetherCloudBuildQueueInfo'},
'build_id': {'key': 'buildId', 'type': 'str'},
'drop_url': {'key': 'dropUrl', 'type': 'str'},
}
def __init__(
self,
*,
queue_info: Optional["AetherCloudBuildQueueInfo"] = None,
build_id: Optional[str] = None,
drop_url: Optional[str] = None,
**kwargs
):
"""
:keyword queue_info:
:paramtype queue_info: ~flow.models.AetherCloudBuildQueueInfo
:keyword build_id:
:paramtype build_id: str
:keyword drop_url:
:paramtype drop_url: str
"""
super(AetherCloudBuildInfo, self).__init__(**kwargs)
self.queue_info = queue_info
self.build_id = build_id
self.drop_url = drop_url
class AetherCloudBuildQueueInfo(msrest.serialization.Model):
"""AetherCloudBuildQueueInfo.
:ivar build_queue:
:vartype build_queue: str
:ivar build_role:
:vartype build_role: str
"""
_attribute_map = {
'build_queue': {'key': 'buildQueue', 'type': 'str'},
'build_role': {'key': 'buildRole', 'type': 'str'},
}
def __init__(
self,
*,
build_queue: Optional[str] = None,
build_role: Optional[str] = None,
**kwargs
):
"""
:keyword build_queue:
:paramtype build_queue: str
:keyword build_role:
:paramtype build_role: str
"""
super(AetherCloudBuildQueueInfo, self).__init__(**kwargs)
self.build_queue = build_queue
self.build_role = build_role
class AetherCloudPrioritySetting(msrest.serialization.Model):
"""AetherCloudPrioritySetting.
:ivar scope_priority:
:vartype scope_priority: ~flow.models.AetherPriorityConfiguration
:ivar aml_compute_priority:
:vartype aml_compute_priority: ~flow.models.AetherPriorityConfiguration
:ivar itp_priority:
:vartype itp_priority: ~flow.models.AetherPriorityConfiguration
:ivar singularity_priority:
:vartype singularity_priority: ~flow.models.AetherPriorityConfiguration
"""
_attribute_map = {
'scope_priority': {'key': 'scopePriority', 'type': 'AetherPriorityConfiguration'},
'aml_compute_priority': {'key': 'AmlComputePriority', 'type': 'AetherPriorityConfiguration'},
'itp_priority': {'key': 'ItpPriority', 'type': 'AetherPriorityConfiguration'},
'singularity_priority': {'key': 'SingularityPriority', 'type': 'AetherPriorityConfiguration'},
}
def __init__(
self,
*,
scope_priority: Optional["AetherPriorityConfiguration"] = None,
aml_compute_priority: Optional["AetherPriorityConfiguration"] = None,
itp_priority: Optional["AetherPriorityConfiguration"] = None,
singularity_priority: Optional["AetherPriorityConfiguration"] = None,
**kwargs
):
"""
:keyword scope_priority:
:paramtype scope_priority: ~flow.models.AetherPriorityConfiguration
:keyword aml_compute_priority:
:paramtype aml_compute_priority: ~flow.models.AetherPriorityConfiguration
:keyword itp_priority:
:paramtype itp_priority: ~flow.models.AetherPriorityConfiguration
:keyword singularity_priority:
:paramtype singularity_priority: ~flow.models.AetherPriorityConfiguration
"""
super(AetherCloudPrioritySetting, self).__init__(**kwargs)
self.scope_priority = scope_priority
self.aml_compute_priority = aml_compute_priority
self.itp_priority = itp_priority
self.singularity_priority = singularity_priority
class AetherCloudSettings(msrest.serialization.Model):
"""AetherCloudSettings.
:ivar linked_settings:
:vartype linked_settings: list[~flow.models.AetherParameterAssignment]
:ivar priority_config:
:vartype priority_config: ~flow.models.AetherPriorityConfiguration
:ivar hdi_run_config:
:vartype hdi_run_config: ~flow.models.AetherHdiRunConfiguration
:ivar sub_graph_config:
:vartype sub_graph_config: ~flow.models.AetherSubGraphConfiguration
:ivar auto_ml_component_config:
:vartype auto_ml_component_config: ~flow.models.AetherAutoMLComponentConfiguration
:ivar ap_cloud_config:
:vartype ap_cloud_config: ~flow.models.AetherAPCloudConfiguration
:ivar scope_cloud_config:
:vartype scope_cloud_config: ~flow.models.AetherScopeCloudConfiguration
:ivar es_cloud_config:
:vartype es_cloud_config: ~flow.models.AetherEsCloudConfiguration
:ivar data_transfer_cloud_config:
:vartype data_transfer_cloud_config: ~flow.models.AetherDataTransferCloudConfiguration
:ivar aml_spark_cloud_setting:
:vartype aml_spark_cloud_setting: ~flow.models.AetherAmlSparkCloudSetting
:ivar data_transfer_v2_cloud_setting:
:vartype data_transfer_v2_cloud_setting: ~flow.models.AetherDataTransferV2CloudSetting
"""
_attribute_map = {
'linked_settings': {'key': 'linkedSettings', 'type': '[AetherParameterAssignment]'},
'priority_config': {'key': 'priorityConfig', 'type': 'AetherPriorityConfiguration'},
'hdi_run_config': {'key': 'hdiRunConfig', 'type': 'AetherHdiRunConfiguration'},
'sub_graph_config': {'key': 'subGraphConfig', 'type': 'AetherSubGraphConfiguration'},
'auto_ml_component_config': {'key': 'autoMLComponentConfig', 'type': 'AetherAutoMLComponentConfiguration'},
'ap_cloud_config': {'key': 'apCloudConfig', 'type': 'AetherAPCloudConfiguration'},
'scope_cloud_config': {'key': 'scopeCloudConfig', 'type': 'AetherScopeCloudConfiguration'},
'es_cloud_config': {'key': 'esCloudConfig', 'type': 'AetherEsCloudConfiguration'},
'data_transfer_cloud_config': {'key': 'dataTransferCloudConfig', 'type': 'AetherDataTransferCloudConfiguration'},
'aml_spark_cloud_setting': {'key': 'amlSparkCloudSetting', 'type': 'AetherAmlSparkCloudSetting'},
'data_transfer_v2_cloud_setting': {'key': 'dataTransferV2CloudSetting', 'type': 'AetherDataTransferV2CloudSetting'},
}
def __init__(
self,
*,
linked_settings: Optional[List["AetherParameterAssignment"]] = None,
priority_config: Optional["AetherPriorityConfiguration"] = None,
hdi_run_config: Optional["AetherHdiRunConfiguration"] = None,
sub_graph_config: Optional["AetherSubGraphConfiguration"] = None,
auto_ml_component_config: Optional["AetherAutoMLComponentConfiguration"] = None,
ap_cloud_config: Optional["AetherAPCloudConfiguration"] = None,
scope_cloud_config: Optional["AetherScopeCloudConfiguration"] = None,
es_cloud_config: Optional["AetherEsCloudConfiguration"] = None,
data_transfer_cloud_config: Optional["AetherDataTransferCloudConfiguration"] = None,
aml_spark_cloud_setting: Optional["AetherAmlSparkCloudSetting"] = None,
data_transfer_v2_cloud_setting: Optional["AetherDataTransferV2CloudSetting"] = None,
**kwargs
):
"""
:keyword linked_settings:
:paramtype linked_settings: list[~flow.models.AetherParameterAssignment]
:keyword priority_config:
:paramtype priority_config: ~flow.models.AetherPriorityConfiguration
:keyword hdi_run_config:
:paramtype hdi_run_config: ~flow.models.AetherHdiRunConfiguration
:keyword sub_graph_config:
:paramtype sub_graph_config: ~flow.models.AetherSubGraphConfiguration
:keyword auto_ml_component_config:
:paramtype auto_ml_component_config: ~flow.models.AetherAutoMLComponentConfiguration
:keyword ap_cloud_config:
:paramtype ap_cloud_config: ~flow.models.AetherAPCloudConfiguration
:keyword scope_cloud_config:
:paramtype scope_cloud_config: ~flow.models.AetherScopeCloudConfiguration
:keyword es_cloud_config:
:paramtype es_cloud_config: ~flow.models.AetherEsCloudConfiguration
:keyword data_transfer_cloud_config:
:paramtype data_transfer_cloud_config: ~flow.models.AetherDataTransferCloudConfiguration
:keyword aml_spark_cloud_setting:
:paramtype aml_spark_cloud_setting: ~flow.models.AetherAmlSparkCloudSetting
:keyword data_transfer_v2_cloud_setting:
:paramtype data_transfer_v2_cloud_setting: ~flow.models.AetherDataTransferV2CloudSetting
"""
super(AetherCloudSettings, self).__init__(**kwargs)
self.linked_settings = linked_settings
self.priority_config = priority_config
self.hdi_run_config = hdi_run_config
self.sub_graph_config = sub_graph_config
self.auto_ml_component_config = auto_ml_component_config
self.ap_cloud_config = ap_cloud_config
self.scope_cloud_config = scope_cloud_config
self.es_cloud_config = es_cloud_config
self.data_transfer_cloud_config = data_transfer_cloud_config
self.aml_spark_cloud_setting = aml_spark_cloud_setting
self.data_transfer_v2_cloud_setting = data_transfer_v2_cloud_setting
class AetherColumnTransformer(msrest.serialization.Model):
"""AetherColumnTransformer.
:ivar fields:
:vartype fields: list[str]
:ivar parameters: Anything.
:vartype parameters: any
"""
_attribute_map = {
'fields': {'key': 'fields', 'type': '[str]'},
'parameters': {'key': 'parameters', 'type': 'object'},
}
def __init__(
self,
*,
fields: Optional[List[str]] = None,
parameters: Optional[Any] = None,
**kwargs
):
"""
:keyword fields:
:paramtype fields: list[str]
:keyword parameters: Anything.
:paramtype parameters: any
"""
super(AetherColumnTransformer, self).__init__(**kwargs)
self.fields = fields
self.parameters = parameters
class AetherComputeConfiguration(msrest.serialization.Model):
"""AetherComputeConfiguration.
:ivar target:
:vartype target: str
:ivar instance_count:
:vartype instance_count: int
:ivar is_local:
:vartype is_local: bool
:ivar location:
:vartype location: str
:ivar is_clusterless:
:vartype is_clusterless: bool
:ivar instance_type:
:vartype instance_type: str
:ivar properties: Dictionary of :code:`<any>`.
:vartype properties: dict[str, any]
:ivar is_preemptable:
:vartype is_preemptable: bool
"""
_attribute_map = {
'target': {'key': 'target', 'type': 'str'},
'instance_count': {'key': 'instanceCount', 'type': 'int'},
'is_local': {'key': 'isLocal', 'type': 'bool'},
'location': {'key': 'location', 'type': 'str'},
'is_clusterless': {'key': 'isClusterless', 'type': 'bool'},
'instance_type': {'key': 'instanceType', 'type': 'str'},
'properties': {'key': 'properties', 'type': '{object}'},
'is_preemptable': {'key': 'isPreemptable', 'type': 'bool'},
}
def __init__(
self,
*,
target: Optional[str] = None,
instance_count: Optional[int] = None,
is_local: Optional[bool] = None,
location: Optional[str] = None,
is_clusterless: Optional[bool] = None,
instance_type: Optional[str] = None,
properties: Optional[Dict[str, Any]] = None,
is_preemptable: Optional[bool] = None,
**kwargs
):
"""
:keyword target:
:paramtype target: str
:keyword instance_count:
:paramtype instance_count: int
:keyword is_local:
:paramtype is_local: bool
:keyword location:
:paramtype location: str
:keyword is_clusterless:
:paramtype is_clusterless: bool
:keyword instance_type:
:paramtype instance_type: str
:keyword properties: Dictionary of :code:`<any>`.
:paramtype properties: dict[str, any]
:keyword is_preemptable:
:paramtype is_preemptable: bool
"""
super(AetherComputeConfiguration, self).__init__(**kwargs)
self.target = target
self.instance_count = instance_count
self.is_local = is_local
self.location = location
self.is_clusterless = is_clusterless
self.instance_type = instance_type
self.properties = properties
self.is_preemptable = is_preemptable
class AetherComputeSetting(msrest.serialization.Model):
"""AetherComputeSetting.
:ivar name:
:vartype name: str
:ivar compute_type: Possible values include: "BatchAi", "MLC", "HdiCluster", "RemoteDocker",
"Databricks", "Aisc".
:vartype compute_type: str or ~flow.models.AetherComputeType
:ivar batch_ai_compute_info:
:vartype batch_ai_compute_info: ~flow.models.AetherBatchAiComputeInfo
:ivar remote_docker_compute_info:
:vartype remote_docker_compute_info: ~flow.models.AetherRemoteDockerComputeInfo
:ivar hdi_cluster_compute_info:
:vartype hdi_cluster_compute_info: ~flow.models.AetherHdiClusterComputeInfo
:ivar mlc_compute_info:
:vartype mlc_compute_info: ~flow.models.AetherMlcComputeInfo
:ivar databricks_compute_info:
:vartype databricks_compute_info: ~flow.models.AetherDatabricksComputeInfo
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'compute_type': {'key': 'computeType', 'type': 'str'},
'batch_ai_compute_info': {'key': 'batchAiComputeInfo', 'type': 'AetherBatchAiComputeInfo'},
'remote_docker_compute_info': {'key': 'remoteDockerComputeInfo', 'type': 'AetherRemoteDockerComputeInfo'},
'hdi_cluster_compute_info': {'key': 'hdiClusterComputeInfo', 'type': 'AetherHdiClusterComputeInfo'},
'mlc_compute_info': {'key': 'mlcComputeInfo', 'type': 'AetherMlcComputeInfo'},
'databricks_compute_info': {'key': 'databricksComputeInfo', 'type': 'AetherDatabricksComputeInfo'},
}
def __init__(
self,
*,
name: Optional[str] = None,
compute_type: Optional[Union[str, "AetherComputeType"]] = None,
batch_ai_compute_info: Optional["AetherBatchAiComputeInfo"] = None,
remote_docker_compute_info: Optional["AetherRemoteDockerComputeInfo"] = None,
hdi_cluster_compute_info: Optional["AetherHdiClusterComputeInfo"] = None,
mlc_compute_info: Optional["AetherMlcComputeInfo"] = None,
databricks_compute_info: Optional["AetherDatabricksComputeInfo"] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword compute_type: Possible values include: "BatchAi", "MLC", "HdiCluster", "RemoteDocker",
"Databricks", "Aisc".
:paramtype compute_type: str or ~flow.models.AetherComputeType
:keyword batch_ai_compute_info:
:paramtype batch_ai_compute_info: ~flow.models.AetherBatchAiComputeInfo
:keyword remote_docker_compute_info:
:paramtype remote_docker_compute_info: ~flow.models.AetherRemoteDockerComputeInfo
:keyword hdi_cluster_compute_info:
:paramtype hdi_cluster_compute_info: ~flow.models.AetherHdiClusterComputeInfo
:keyword mlc_compute_info:
:paramtype mlc_compute_info: ~flow.models.AetherMlcComputeInfo
:keyword databricks_compute_info:
:paramtype databricks_compute_info: ~flow.models.AetherDatabricksComputeInfo
"""
super(AetherComputeSetting, self).__init__(**kwargs)
self.name = name
self.compute_type = compute_type
self.batch_ai_compute_info = batch_ai_compute_info
self.remote_docker_compute_info = remote_docker_compute_info
self.hdi_cluster_compute_info = hdi_cluster_compute_info
self.mlc_compute_info = mlc_compute_info
self.databricks_compute_info = databricks_compute_info
class AetherControlInput(msrest.serialization.Model):
"""AetherControlInput.
:ivar name:
:vartype name: str
:ivar default_value: Possible values include: "None", "False", "True", "Skipped".
:vartype default_value: str or ~flow.models.AetherControlInputValue
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'default_value': {'key': 'defaultValue', 'type': 'str'},
}
def __init__(
self,
*,
name: Optional[str] = None,
default_value: Optional[Union[str, "AetherControlInputValue"]] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword default_value: Possible values include: "None", "False", "True", "Skipped".
:paramtype default_value: str or ~flow.models.AetherControlInputValue
"""
super(AetherControlInput, self).__init__(**kwargs)
self.name = name
self.default_value = default_value
class AetherControlOutput(msrest.serialization.Model):
"""AetherControlOutput.
:ivar name:
:vartype name: str
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
}
def __init__(
self,
*,
name: Optional[str] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
"""
super(AetherControlOutput, self).__init__(**kwargs)
self.name = name
class AetherCopyDataTask(msrest.serialization.Model):
"""AetherCopyDataTask.
:ivar data_copy_mode: Possible values include: "MergeWithOverwrite", "FailIfConflict".
:vartype data_copy_mode: str or ~flow.models.AetherDataCopyMode
"""
_attribute_map = {
'data_copy_mode': {'key': 'DataCopyMode', 'type': 'str'},
}
def __init__(
self,
*,
data_copy_mode: Optional[Union[str, "AetherDataCopyMode"]] = None,
**kwargs
):
"""
:keyword data_copy_mode: Possible values include: "MergeWithOverwrite", "FailIfConflict".
:paramtype data_copy_mode: str or ~flow.models.AetherDataCopyMode
"""
super(AetherCopyDataTask, self).__init__(**kwargs)
self.data_copy_mode = data_copy_mode
class AetherCosmosReference(msrest.serialization.Model):
"""AetherCosmosReference.
:ivar cluster:
:vartype cluster: str
:ivar vc:
:vartype vc: str
:ivar relative_path:
:vartype relative_path: str
"""
_attribute_map = {
'cluster': {'key': 'cluster', 'type': 'str'},
'vc': {'key': 'vc', 'type': 'str'},
'relative_path': {'key': 'relativePath', 'type': 'str'},
}
def __init__(
self,
*,
cluster: Optional[str] = None,
vc: Optional[str] = None,
relative_path: Optional[str] = None,
**kwargs
):
"""
:keyword cluster:
:paramtype cluster: str
:keyword vc:
:paramtype vc: str
:keyword relative_path:
:paramtype relative_path: str
"""
super(AetherCosmosReference, self).__init__(**kwargs)
self.cluster = cluster
self.vc = vc
self.relative_path = relative_path
class AetherCreatedBy(msrest.serialization.Model):
"""AetherCreatedBy.
:ivar user_object_id:
:vartype user_object_id: str
:ivar user_tenant_id:
:vartype user_tenant_id: str
:ivar user_name:
:vartype user_name: str
:ivar puid:
:vartype puid: str
:ivar iss:
:vartype iss: str
:ivar idp:
:vartype idp: str
:ivar altsec_id:
:vartype altsec_id: str
:ivar source_ip:
:vartype source_ip: str
:ivar skip_registry_private_link_check:
:vartype skip_registry_private_link_check: bool
"""
_attribute_map = {
'user_object_id': {'key': 'userObjectId', 'type': 'str'},
'user_tenant_id': {'key': 'userTenantId', 'type': 'str'},
'user_name': {'key': 'userName', 'type': 'str'},
'puid': {'key': 'puid', 'type': 'str'},
'iss': {'key': 'iss', 'type': 'str'},
'idp': {'key': 'idp', 'type': 'str'},
'altsec_id': {'key': 'altsecId', 'type': 'str'},
'source_ip': {'key': 'sourceIp', 'type': 'str'},
'skip_registry_private_link_check': {'key': 'skipRegistryPrivateLinkCheck', 'type': 'bool'},
}
def __init__(
self,
*,
user_object_id: Optional[str] = None,
user_tenant_id: Optional[str] = None,
user_name: Optional[str] = None,
puid: Optional[str] = None,
iss: Optional[str] = None,
idp: Optional[str] = None,
altsec_id: Optional[str] = None,
source_ip: Optional[str] = None,
skip_registry_private_link_check: Optional[bool] = None,
**kwargs
):
"""
:keyword user_object_id:
:paramtype user_object_id: str
:keyword user_tenant_id:
:paramtype user_tenant_id: str
:keyword user_name:
:paramtype user_name: str
:keyword puid:
:paramtype puid: str
:keyword iss:
:paramtype iss: str
:keyword idp:
:paramtype idp: str
:keyword altsec_id:
:paramtype altsec_id: str
:keyword source_ip:
:paramtype source_ip: str
:keyword skip_registry_private_link_check:
:paramtype skip_registry_private_link_check: bool
"""
super(AetherCreatedBy, self).__init__(**kwargs)
self.user_object_id = user_object_id
self.user_tenant_id = user_tenant_id
self.user_name = user_name
self.puid = puid
self.iss = iss
self.idp = idp
self.altsec_id = altsec_id
self.source_ip = source_ip
self.skip_registry_private_link_check = skip_registry_private_link_check
class AetherCustomReference(msrest.serialization.Model):
"""AetherCustomReference.
:ivar aml_data_store_name:
:vartype aml_data_store_name: str
:ivar relative_path:
:vartype relative_path: str
"""
_attribute_map = {
'aml_data_store_name': {'key': 'amlDataStoreName', 'type': 'str'},
'relative_path': {'key': 'relativePath', 'type': 'str'},
}
def __init__(
self,
*,
aml_data_store_name: Optional[str] = None,
relative_path: Optional[str] = None,
**kwargs
):
"""
:keyword aml_data_store_name:
:paramtype aml_data_store_name: str
:keyword relative_path:
:paramtype relative_path: str
"""
super(AetherCustomReference, self).__init__(**kwargs)
self.aml_data_store_name = aml_data_store_name
self.relative_path = relative_path
class AetherDatabaseSink(msrest.serialization.Model):
"""AetherDatabaseSink.
:ivar connection:
:vartype connection: str
:ivar table:
:vartype table: str
"""
_attribute_map = {
'connection': {'key': 'connection', 'type': 'str'},
'table': {'key': 'table', 'type': 'str'},
}
def __init__(
self,
*,
connection: Optional[str] = None,
table: Optional[str] = None,
**kwargs
):
"""
:keyword connection:
:paramtype connection: str
:keyword table:
:paramtype table: str
"""
super(AetherDatabaseSink, self).__init__(**kwargs)
self.connection = connection
self.table = table
class AetherDatabaseSource(msrest.serialization.Model):
"""AetherDatabaseSource.
:ivar connection:
:vartype connection: str
:ivar query:
:vartype query: str
:ivar stored_procedure_name:
:vartype stored_procedure_name: str
:ivar stored_procedure_parameters:
:vartype stored_procedure_parameters: list[~flow.models.AetherStoredProcedureParameter]
"""
_attribute_map = {
'connection': {'key': 'connection', 'type': 'str'},
'query': {'key': 'query', 'type': 'str'},
'stored_procedure_name': {'key': 'storedProcedureName', 'type': 'str'},
'stored_procedure_parameters': {'key': 'storedProcedureParameters', 'type': '[AetherStoredProcedureParameter]'},
}
def __init__(
self,
*,
connection: Optional[str] = None,
query: Optional[str] = None,
stored_procedure_name: Optional[str] = None,
stored_procedure_parameters: Optional[List["AetherStoredProcedureParameter"]] = None,
**kwargs
):
"""
:keyword connection:
:paramtype connection: str
:keyword query:
:paramtype query: str
:keyword stored_procedure_name:
:paramtype stored_procedure_name: str
:keyword stored_procedure_parameters:
:paramtype stored_procedure_parameters: list[~flow.models.AetherStoredProcedureParameter]
"""
super(AetherDatabaseSource, self).__init__(**kwargs)
self.connection = connection
self.query = query
self.stored_procedure_name = stored_procedure_name
self.stored_procedure_parameters = stored_procedure_parameters
class AetherDatabricksComputeInfo(msrest.serialization.Model):
"""AetherDatabricksComputeInfo.
:ivar existing_cluster_id:
:vartype existing_cluster_id: str
"""
_attribute_map = {
'existing_cluster_id': {'key': 'existingClusterId', 'type': 'str'},
}
def __init__(
self,
*,
existing_cluster_id: Optional[str] = None,
**kwargs
):
"""
:keyword existing_cluster_id:
:paramtype existing_cluster_id: str
"""
super(AetherDatabricksComputeInfo, self).__init__(**kwargs)
self.existing_cluster_id = existing_cluster_id
class AetherDataLocation(msrest.serialization.Model):
"""AetherDataLocation.
:ivar storage_type: Possible values include: "Cosmos", "AzureBlob", "Artifact", "Snapshot",
"SavedAmlDataset", "Asset".
:vartype storage_type: str or ~flow.models.AetherDataLocationStorageType
:ivar storage_id:
:vartype storage_id: str
:ivar uri:
:vartype uri: str
:ivar data_store_name:
:vartype data_store_name: str
:ivar data_reference:
:vartype data_reference: ~flow.models.AetherDataReference
:ivar aml_dataset:
:vartype aml_dataset: ~flow.models.AetherAmlDataset
:ivar asset_definition:
:vartype asset_definition: ~flow.models.AetherAssetDefinition
:ivar is_compliant:
:vartype is_compliant: bool
:ivar reuse_calculation_fields:
:vartype reuse_calculation_fields: ~flow.models.AetherDataLocationReuseCalculationFields
"""
_attribute_map = {
'storage_type': {'key': 'storageType', 'type': 'str'},
'storage_id': {'key': 'storageId', 'type': 'str'},
'uri': {'key': 'uri', 'type': 'str'},
'data_store_name': {'key': 'dataStoreName', 'type': 'str'},
'data_reference': {'key': 'dataReference', 'type': 'AetherDataReference'},
'aml_dataset': {'key': 'amlDataset', 'type': 'AetherAmlDataset'},
'asset_definition': {'key': 'assetDefinition', 'type': 'AetherAssetDefinition'},
'is_compliant': {'key': 'isCompliant', 'type': 'bool'},
'reuse_calculation_fields': {'key': 'reuseCalculationFields', 'type': 'AetherDataLocationReuseCalculationFields'},
}
def __init__(
self,
*,
storage_type: Optional[Union[str, "AetherDataLocationStorageType"]] = None,
storage_id: Optional[str] = None,
uri: Optional[str] = None,
data_store_name: Optional[str] = None,
data_reference: Optional["AetherDataReference"] = None,
aml_dataset: Optional["AetherAmlDataset"] = None,
asset_definition: Optional["AetherAssetDefinition"] = None,
is_compliant: Optional[bool] = None,
reuse_calculation_fields: Optional["AetherDataLocationReuseCalculationFields"] = None,
**kwargs
):
"""
:keyword storage_type: Possible values include: "Cosmos", "AzureBlob", "Artifact", "Snapshot",
"SavedAmlDataset", "Asset".
:paramtype storage_type: str or ~flow.models.AetherDataLocationStorageType
:keyword storage_id:
:paramtype storage_id: str
:keyword uri:
:paramtype uri: str
:keyword data_store_name:
:paramtype data_store_name: str
:keyword data_reference:
:paramtype data_reference: ~flow.models.AetherDataReference
:keyword aml_dataset:
:paramtype aml_dataset: ~flow.models.AetherAmlDataset
:keyword asset_definition:
:paramtype asset_definition: ~flow.models.AetherAssetDefinition
:keyword is_compliant:
:paramtype is_compliant: bool
:keyword reuse_calculation_fields:
:paramtype reuse_calculation_fields: ~flow.models.AetherDataLocationReuseCalculationFields
"""
super(AetherDataLocation, self).__init__(**kwargs)
self.storage_type = storage_type
self.storage_id = storage_id
self.uri = uri
self.data_store_name = data_store_name
self.data_reference = data_reference
self.aml_dataset = aml_dataset
self.asset_definition = asset_definition
self.is_compliant = is_compliant
self.reuse_calculation_fields = reuse_calculation_fields
class AetherDataLocationReuseCalculationFields(msrest.serialization.Model):
"""AetherDataLocationReuseCalculationFields.
:ivar data_store_name:
:vartype data_store_name: str
:ivar relative_path:
:vartype relative_path: str
:ivar data_experiment_id:
:vartype data_experiment_id: str
"""
_attribute_map = {
'data_store_name': {'key': 'dataStoreName', 'type': 'str'},
'relative_path': {'key': 'relativePath', 'type': 'str'},
'data_experiment_id': {'key': 'dataExperimentId', 'type': 'str'},
}
def __init__(
self,
*,
data_store_name: Optional[str] = None,
relative_path: Optional[str] = None,
data_experiment_id: Optional[str] = None,
**kwargs
):
"""
:keyword data_store_name:
:paramtype data_store_name: str
:keyword relative_path:
:paramtype relative_path: str
:keyword data_experiment_id:
:paramtype data_experiment_id: str
"""
super(AetherDataLocationReuseCalculationFields, self).__init__(**kwargs)
self.data_store_name = data_store_name
self.relative_path = relative_path
self.data_experiment_id = data_experiment_id
class AetherDataPath(msrest.serialization.Model):
"""AetherDataPath.
:ivar data_store_name:
:vartype data_store_name: str
:ivar relative_path:
:vartype relative_path: str
:ivar sql_data_path:
:vartype sql_data_path: ~flow.models.AetherSqlDataPath
"""
_attribute_map = {
'data_store_name': {'key': 'dataStoreName', 'type': 'str'},
'relative_path': {'key': 'relativePath', 'type': 'str'},
'sql_data_path': {'key': 'sqlDataPath', 'type': 'AetherSqlDataPath'},
}
def __init__(
self,
*,
data_store_name: Optional[str] = None,
relative_path: Optional[str] = None,
sql_data_path: Optional["AetherSqlDataPath"] = None,
**kwargs
):
"""
:keyword data_store_name:
:paramtype data_store_name: str
:keyword relative_path:
:paramtype relative_path: str
:keyword sql_data_path:
:paramtype sql_data_path: ~flow.models.AetherSqlDataPath
"""
super(AetherDataPath, self).__init__(**kwargs)
self.data_store_name = data_store_name
self.relative_path = relative_path
self.sql_data_path = sql_data_path
class AetherDataReference(msrest.serialization.Model):
"""AetherDataReference.
:ivar type: Possible values include: "None", "AzureBlob", "AzureDataLake", "AzureFiles",
"Cosmos", "PhillyHdfs", "AzureSqlDatabase", "AzurePostgresDatabase", "AzureDataLakeGen2",
"DBFS", "AzureMySqlDatabase", "Custom", "Hdfs".
:vartype type: str or ~flow.models.AetherDataReferenceType
:ivar azure_blob_reference:
:vartype azure_blob_reference: ~flow.models.AetherAzureBlobReference
:ivar azure_data_lake_reference:
:vartype azure_data_lake_reference: ~flow.models.AetherAzureDataLakeReference
:ivar azure_files_reference:
:vartype azure_files_reference: ~flow.models.AetherAzureFilesReference
:ivar cosmos_reference:
:vartype cosmos_reference: ~flow.models.AetherCosmosReference
:ivar philly_hdfs_reference:
:vartype philly_hdfs_reference: ~flow.models.AetherPhillyHdfsReference
:ivar azure_sql_database_reference:
:vartype azure_sql_database_reference: ~flow.models.AetherAzureDatabaseReference
:ivar azure_postgres_database_reference:
:vartype azure_postgres_database_reference: ~flow.models.AetherAzureDatabaseReference
:ivar azure_data_lake_gen2_reference:
:vartype azure_data_lake_gen2_reference: ~flow.models.AetherAzureDataLakeGen2Reference
:ivar dbfs_reference:
:vartype dbfs_reference: ~flow.models.AetherDBFSReference
:ivar azure_my_sql_database_reference:
:vartype azure_my_sql_database_reference: ~flow.models.AetherAzureDatabaseReference
:ivar custom_reference:
:vartype custom_reference: ~flow.models.AetherCustomReference
:ivar hdfs_reference:
:vartype hdfs_reference: ~flow.models.AetherHdfsReference
"""
_attribute_map = {
'type': {'key': 'type', 'type': 'str'},
'azure_blob_reference': {'key': 'azureBlobReference', 'type': 'AetherAzureBlobReference'},
'azure_data_lake_reference': {'key': 'azureDataLakeReference', 'type': 'AetherAzureDataLakeReference'},
'azure_files_reference': {'key': 'azureFilesReference', 'type': 'AetherAzureFilesReference'},
'cosmos_reference': {'key': 'cosmosReference', 'type': 'AetherCosmosReference'},
'philly_hdfs_reference': {'key': 'phillyHdfsReference', 'type': 'AetherPhillyHdfsReference'},
'azure_sql_database_reference': {'key': 'azureSqlDatabaseReference', 'type': 'AetherAzureDatabaseReference'},
'azure_postgres_database_reference': {'key': 'azurePostgresDatabaseReference', 'type': 'AetherAzureDatabaseReference'},
'azure_data_lake_gen2_reference': {'key': 'azureDataLakeGen2Reference', 'type': 'AetherAzureDataLakeGen2Reference'},
'dbfs_reference': {'key': 'dbfsReference', 'type': 'AetherDBFSReference'},
'azure_my_sql_database_reference': {'key': 'azureMySqlDatabaseReference', 'type': 'AetherAzureDatabaseReference'},
'custom_reference': {'key': 'customReference', 'type': 'AetherCustomReference'},
'hdfs_reference': {'key': 'hdfsReference', 'type': 'AetherHdfsReference'},
}
def __init__(
self,
*,
type: Optional[Union[str, "AetherDataReferenceType"]] = None,
azure_blob_reference: Optional["AetherAzureBlobReference"] = None,
azure_data_lake_reference: Optional["AetherAzureDataLakeReference"] = None,
azure_files_reference: Optional["AetherAzureFilesReference"] = None,
cosmos_reference: Optional["AetherCosmosReference"] = None,
philly_hdfs_reference: Optional["AetherPhillyHdfsReference"] = None,
azure_sql_database_reference: Optional["AetherAzureDatabaseReference"] = None,
azure_postgres_database_reference: Optional["AetherAzureDatabaseReference"] = None,
azure_data_lake_gen2_reference: Optional["AetherAzureDataLakeGen2Reference"] = None,
dbfs_reference: Optional["AetherDBFSReference"] = None,
azure_my_sql_database_reference: Optional["AetherAzureDatabaseReference"] = None,
custom_reference: Optional["AetherCustomReference"] = None,
hdfs_reference: Optional["AetherHdfsReference"] = None,
**kwargs
):
"""
:keyword type: Possible values include: "None", "AzureBlob", "AzureDataLake", "AzureFiles",
"Cosmos", "PhillyHdfs", "AzureSqlDatabase", "AzurePostgresDatabase", "AzureDataLakeGen2",
"DBFS", "AzureMySqlDatabase", "Custom", "Hdfs".
:paramtype type: str or ~flow.models.AetherDataReferenceType
:keyword azure_blob_reference:
:paramtype azure_blob_reference: ~flow.models.AetherAzureBlobReference
:keyword azure_data_lake_reference:
:paramtype azure_data_lake_reference: ~flow.models.AetherAzureDataLakeReference
:keyword azure_files_reference:
:paramtype azure_files_reference: ~flow.models.AetherAzureFilesReference
:keyword cosmos_reference:
:paramtype cosmos_reference: ~flow.models.AetherCosmosReference
:keyword philly_hdfs_reference:
:paramtype philly_hdfs_reference: ~flow.models.AetherPhillyHdfsReference
:keyword azure_sql_database_reference:
:paramtype azure_sql_database_reference: ~flow.models.AetherAzureDatabaseReference
:keyword azure_postgres_database_reference:
:paramtype azure_postgres_database_reference: ~flow.models.AetherAzureDatabaseReference
:keyword azure_data_lake_gen2_reference:
:paramtype azure_data_lake_gen2_reference: ~flow.models.AetherAzureDataLakeGen2Reference
:keyword dbfs_reference:
:paramtype dbfs_reference: ~flow.models.AetherDBFSReference
:keyword azure_my_sql_database_reference:
:paramtype azure_my_sql_database_reference: ~flow.models.AetherAzureDatabaseReference
:keyword custom_reference:
:paramtype custom_reference: ~flow.models.AetherCustomReference
:keyword hdfs_reference:
:paramtype hdfs_reference: ~flow.models.AetherHdfsReference
"""
super(AetherDataReference, self).__init__(**kwargs)
self.type = type
self.azure_blob_reference = azure_blob_reference
self.azure_data_lake_reference = azure_data_lake_reference
self.azure_files_reference = azure_files_reference
self.cosmos_reference = cosmos_reference
self.philly_hdfs_reference = philly_hdfs_reference
self.azure_sql_database_reference = azure_sql_database_reference
self.azure_postgres_database_reference = azure_postgres_database_reference
self.azure_data_lake_gen2_reference = azure_data_lake_gen2_reference
self.dbfs_reference = dbfs_reference
self.azure_my_sql_database_reference = azure_my_sql_database_reference
self.custom_reference = custom_reference
self.hdfs_reference = hdfs_reference
class AetherDataSetDefinition(msrest.serialization.Model):
"""AetherDataSetDefinition.
:ivar data_type_short_name:
:vartype data_type_short_name: str
:ivar parameter_name:
:vartype parameter_name: str
:ivar value:
:vartype value: ~flow.models.AetherDataSetDefinitionValue
"""
_attribute_map = {
'data_type_short_name': {'key': 'dataTypeShortName', 'type': 'str'},
'parameter_name': {'key': 'parameterName', 'type': 'str'},
'value': {'key': 'value', 'type': 'AetherDataSetDefinitionValue'},
}
def __init__(
self,
*,
data_type_short_name: Optional[str] = None,
parameter_name: Optional[str] = None,
value: Optional["AetherDataSetDefinitionValue"] = None,
**kwargs
):
"""
:keyword data_type_short_name:
:paramtype data_type_short_name: str
:keyword parameter_name:
:paramtype parameter_name: str
:keyword value:
:paramtype value: ~flow.models.AetherDataSetDefinitionValue
"""
super(AetherDataSetDefinition, self).__init__(**kwargs)
self.data_type_short_name = data_type_short_name
self.parameter_name = parameter_name
self.value = value
class AetherDataSetDefinitionValue(msrest.serialization.Model):
"""AetherDataSetDefinitionValue.
:ivar literal_value:
:vartype literal_value: ~flow.models.AetherDataPath
:ivar data_set_reference:
:vartype data_set_reference: ~flow.models.AetherRegisteredDataSetReference
:ivar saved_data_set_reference:
:vartype saved_data_set_reference: ~flow.models.AetherSavedDataSetReference
:ivar asset_definition:
:vartype asset_definition: ~flow.models.AetherAssetDefinition
"""
_attribute_map = {
'literal_value': {'key': 'literalValue', 'type': 'AetherDataPath'},
'data_set_reference': {'key': 'dataSetReference', 'type': 'AetherRegisteredDataSetReference'},
'saved_data_set_reference': {'key': 'savedDataSetReference', 'type': 'AetherSavedDataSetReference'},
'asset_definition': {'key': 'assetDefinition', 'type': 'AetherAssetDefinition'},
}
def __init__(
self,
*,
literal_value: Optional["AetherDataPath"] = None,
data_set_reference: Optional["AetherRegisteredDataSetReference"] = None,
saved_data_set_reference: Optional["AetherSavedDataSetReference"] = None,
asset_definition: Optional["AetherAssetDefinition"] = None,
**kwargs
):
"""
:keyword literal_value:
:paramtype literal_value: ~flow.models.AetherDataPath
:keyword data_set_reference:
:paramtype data_set_reference: ~flow.models.AetherRegisteredDataSetReference
:keyword saved_data_set_reference:
:paramtype saved_data_set_reference: ~flow.models.AetherSavedDataSetReference
:keyword asset_definition:
:paramtype asset_definition: ~flow.models.AetherAssetDefinition
"""
super(AetherDataSetDefinitionValue, self).__init__(**kwargs)
self.literal_value = literal_value
self.data_set_reference = data_set_reference
self.saved_data_set_reference = saved_data_set_reference
self.asset_definition = asset_definition
class AetherDatasetOutput(msrest.serialization.Model):
"""AetherDatasetOutput.
:ivar dataset_type: Possible values include: "File", "Tabular".
:vartype dataset_type: str or ~flow.models.AetherDatasetType
:ivar dataset_registration:
:vartype dataset_registration: ~flow.models.AetherDatasetRegistration
:ivar dataset_output_options:
:vartype dataset_output_options: ~flow.models.AetherDatasetOutputOptions
"""
_attribute_map = {
'dataset_type': {'key': 'datasetType', 'type': 'str'},
'dataset_registration': {'key': 'datasetRegistration', 'type': 'AetherDatasetRegistration'},
'dataset_output_options': {'key': 'datasetOutputOptions', 'type': 'AetherDatasetOutputOptions'},
}
def __init__(
self,
*,
dataset_type: Optional[Union[str, "AetherDatasetType"]] = None,
dataset_registration: Optional["AetherDatasetRegistration"] = None,
dataset_output_options: Optional["AetherDatasetOutputOptions"] = None,
**kwargs
):
"""
:keyword dataset_type: Possible values include: "File", "Tabular".
:paramtype dataset_type: str or ~flow.models.AetherDatasetType
:keyword dataset_registration:
:paramtype dataset_registration: ~flow.models.AetherDatasetRegistration
:keyword dataset_output_options:
:paramtype dataset_output_options: ~flow.models.AetherDatasetOutputOptions
"""
super(AetherDatasetOutput, self).__init__(**kwargs)
self.dataset_type = dataset_type
self.dataset_registration = dataset_registration
self.dataset_output_options = dataset_output_options
class AetherDatasetOutputOptions(msrest.serialization.Model):
"""AetherDatasetOutputOptions.
:ivar source_globs:
:vartype source_globs: ~flow.models.AetherGlobsOptions
:ivar path_on_datastore:
:vartype path_on_datastore: str
:ivar path_on_datastore_parameter_assignment:
:vartype path_on_datastore_parameter_assignment: ~flow.models.AetherParameterAssignment
"""
_attribute_map = {
'source_globs': {'key': 'sourceGlobs', 'type': 'AetherGlobsOptions'},
'path_on_datastore': {'key': 'pathOnDatastore', 'type': 'str'},
'path_on_datastore_parameter_assignment': {'key': 'PathOnDatastoreParameterAssignment', 'type': 'AetherParameterAssignment'},
}
def __init__(
self,
*,
source_globs: Optional["AetherGlobsOptions"] = None,
path_on_datastore: Optional[str] = None,
path_on_datastore_parameter_assignment: Optional["AetherParameterAssignment"] = None,
**kwargs
):
"""
:keyword source_globs:
:paramtype source_globs: ~flow.models.AetherGlobsOptions
:keyword path_on_datastore:
:paramtype path_on_datastore: str
:keyword path_on_datastore_parameter_assignment:
:paramtype path_on_datastore_parameter_assignment: ~flow.models.AetherParameterAssignment
"""
super(AetherDatasetOutputOptions, self).__init__(**kwargs)
self.source_globs = source_globs
self.path_on_datastore = path_on_datastore
self.path_on_datastore_parameter_assignment = path_on_datastore_parameter_assignment
class AetherDatasetRegistration(msrest.serialization.Model):
"""AetherDatasetRegistration.
:ivar name:
:vartype name: str
:ivar create_new_version:
:vartype create_new_version: bool
:ivar description:
:vartype description: str
:ivar tags: A set of tags. Dictionary of :code:`<string>`.
:vartype tags: dict[str, str]
:ivar additional_transformations:
:vartype additional_transformations: str
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'create_new_version': {'key': 'createNewVersion', 'type': 'bool'},
'description': {'key': 'description', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'additional_transformations': {'key': 'additionalTransformations', 'type': 'str'},
}
def __init__(
self,
*,
name: Optional[str] = None,
create_new_version: Optional[bool] = None,
description: Optional[str] = None,
tags: Optional[Dict[str, str]] = None,
additional_transformations: Optional[str] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword create_new_version:
:paramtype create_new_version: bool
:keyword description:
:paramtype description: str
:keyword tags: A set of tags. Dictionary of :code:`<string>`.
:paramtype tags: dict[str, str]
:keyword additional_transformations:
:paramtype additional_transformations: str
"""
super(AetherDatasetRegistration, self).__init__(**kwargs)
self.name = name
self.create_new_version = create_new_version
self.description = description
self.tags = tags
self.additional_transformations = additional_transformations
class AetherDataSettings(msrest.serialization.Model):
"""AetherDataSettings.
:ivar target_column_name:
:vartype target_column_name: str
:ivar weight_column_name:
:vartype weight_column_name: str
:ivar positive_label:
:vartype positive_label: str
:ivar validation_data:
:vartype validation_data: ~flow.models.AetherValidationDataSettings
:ivar test_data:
:vartype test_data: ~flow.models.AetherTestDataSettings
"""
_attribute_map = {
'target_column_name': {'key': 'targetColumnName', 'type': 'str'},
'weight_column_name': {'key': 'weightColumnName', 'type': 'str'},
'positive_label': {'key': 'positiveLabel', 'type': 'str'},
'validation_data': {'key': 'validationData', 'type': 'AetherValidationDataSettings'},
'test_data': {'key': 'testData', 'type': 'AetherTestDataSettings'},
}
def __init__(
self,
*,
target_column_name: Optional[str] = None,
weight_column_name: Optional[str] = None,
positive_label: Optional[str] = None,
validation_data: Optional["AetherValidationDataSettings"] = None,
test_data: Optional["AetherTestDataSettings"] = None,
**kwargs
):
"""
:keyword target_column_name:
:paramtype target_column_name: str
:keyword weight_column_name:
:paramtype weight_column_name: str
:keyword positive_label:
:paramtype positive_label: str
:keyword validation_data:
:paramtype validation_data: ~flow.models.AetherValidationDataSettings
:keyword test_data:
:paramtype test_data: ~flow.models.AetherTestDataSettings
"""
super(AetherDataSettings, self).__init__(**kwargs)
self.target_column_name = target_column_name
self.weight_column_name = weight_column_name
self.positive_label = positive_label
self.validation_data = validation_data
self.test_data = test_data
class AetherDatastoreSetting(msrest.serialization.Model):
"""AetherDatastoreSetting.
:ivar data_store_name:
:vartype data_store_name: str
"""
_attribute_map = {
'data_store_name': {'key': 'dataStoreName', 'type': 'str'},
}
def __init__(
self,
*,
data_store_name: Optional[str] = None,
**kwargs
):
"""
:keyword data_store_name:
:paramtype data_store_name: str
"""
super(AetherDatastoreSetting, self).__init__(**kwargs)
self.data_store_name = data_store_name
class AetherDataTransferCloudConfiguration(msrest.serialization.Model):
"""AetherDataTransferCloudConfiguration.
:ivar allow_overwrite:
:vartype allow_overwrite: bool
"""
_attribute_map = {
'allow_overwrite': {'key': 'AllowOverwrite', 'type': 'bool'},
}
def __init__(
self,
*,
allow_overwrite: Optional[bool] = None,
**kwargs
):
"""
:keyword allow_overwrite:
:paramtype allow_overwrite: bool
"""
super(AetherDataTransferCloudConfiguration, self).__init__(**kwargs)
self.allow_overwrite = allow_overwrite
class AetherDataTransferSink(msrest.serialization.Model):
"""AetherDataTransferSink.
:ivar type: Possible values include: "DataBase", "FileSystem".
:vartype type: str or ~flow.models.AetherDataTransferStorageType
:ivar file_system:
:vartype file_system: ~flow.models.AetherFileSystem
:ivar database_sink:
:vartype database_sink: ~flow.models.AetherDatabaseSink
"""
_attribute_map = {
'type': {'key': 'type', 'type': 'str'},
'file_system': {'key': 'fileSystem', 'type': 'AetherFileSystem'},
'database_sink': {'key': 'databaseSink', 'type': 'AetherDatabaseSink'},
}
def __init__(
self,
*,
type: Optional[Union[str, "AetherDataTransferStorageType"]] = None,
file_system: Optional["AetherFileSystem"] = None,
database_sink: Optional["AetherDatabaseSink"] = None,
**kwargs
):
"""
:keyword type: Possible values include: "DataBase", "FileSystem".
:paramtype type: str or ~flow.models.AetherDataTransferStorageType
:keyword file_system:
:paramtype file_system: ~flow.models.AetherFileSystem
:keyword database_sink:
:paramtype database_sink: ~flow.models.AetherDatabaseSink
"""
super(AetherDataTransferSink, self).__init__(**kwargs)
self.type = type
self.file_system = file_system
self.database_sink = database_sink
class AetherDataTransferSource(msrest.serialization.Model):
"""AetherDataTransferSource.
:ivar type: Possible values include: "DataBase", "FileSystem".
:vartype type: str or ~flow.models.AetherDataTransferStorageType
:ivar file_system:
:vartype file_system: ~flow.models.AetherFileSystem
:ivar database_source:
:vartype database_source: ~flow.models.AetherDatabaseSource
"""
_attribute_map = {
'type': {'key': 'type', 'type': 'str'},
'file_system': {'key': 'fileSystem', 'type': 'AetherFileSystem'},
'database_source': {'key': 'databaseSource', 'type': 'AetherDatabaseSource'},
}
def __init__(
self,
*,
type: Optional[Union[str, "AetherDataTransferStorageType"]] = None,
file_system: Optional["AetherFileSystem"] = None,
database_source: Optional["AetherDatabaseSource"] = None,
**kwargs
):
"""
:keyword type: Possible values include: "DataBase", "FileSystem".
:paramtype type: str or ~flow.models.AetherDataTransferStorageType
:keyword file_system:
:paramtype file_system: ~flow.models.AetherFileSystem
:keyword database_source:
:paramtype database_source: ~flow.models.AetherDatabaseSource
"""
super(AetherDataTransferSource, self).__init__(**kwargs)
self.type = type
self.file_system = file_system
self.database_source = database_source
class AetherDataTransferV2CloudSetting(msrest.serialization.Model):
"""AetherDataTransferV2CloudSetting.
:ivar task_type: Possible values include: "ImportData", "ExportData", "CopyData".
:vartype task_type: str or ~flow.models.AetherDataTransferTaskType
:ivar compute_name:
:vartype compute_name: str
:ivar copy_data_task:
:vartype copy_data_task: ~flow.models.AetherCopyDataTask
:ivar import_data_task:
:vartype import_data_task: ~flow.models.AetherImportDataTask
:ivar export_data_task:
:vartype export_data_task: ~flow.models.AetherExportDataTask
:ivar data_transfer_sources: This is a dictionary.
:vartype data_transfer_sources: dict[str, ~flow.models.AetherDataTransferSource]
:ivar data_transfer_sinks: This is a dictionary.
:vartype data_transfer_sinks: dict[str, ~flow.models.AetherDataTransferSink]
:ivar data_copy_mode: Possible values include: "MergeWithOverwrite", "FailIfConflict".
:vartype data_copy_mode: str or ~flow.models.AetherDataCopyMode
"""
_attribute_map = {
'task_type': {'key': 'taskType', 'type': 'str'},
'compute_name': {'key': 'ComputeName', 'type': 'str'},
'copy_data_task': {'key': 'CopyDataTask', 'type': 'AetherCopyDataTask'},
'import_data_task': {'key': 'ImportDataTask', 'type': 'AetherImportDataTask'},
'export_data_task': {'key': 'ExportDataTask', 'type': 'AetherExportDataTask'},
'data_transfer_sources': {'key': 'DataTransferSources', 'type': '{AetherDataTransferSource}'},
'data_transfer_sinks': {'key': 'DataTransferSinks', 'type': '{AetherDataTransferSink}'},
'data_copy_mode': {'key': 'DataCopyMode', 'type': 'str'},
}
def __init__(
self,
*,
task_type: Optional[Union[str, "AetherDataTransferTaskType"]] = None,
compute_name: Optional[str] = None,
copy_data_task: Optional["AetherCopyDataTask"] = None,
import_data_task: Optional["AetherImportDataTask"] = None,
export_data_task: Optional["AetherExportDataTask"] = None,
data_transfer_sources: Optional[Dict[str, "AetherDataTransferSource"]] = None,
data_transfer_sinks: Optional[Dict[str, "AetherDataTransferSink"]] = None,
data_copy_mode: Optional[Union[str, "AetherDataCopyMode"]] = None,
**kwargs
):
"""
:keyword task_type: Possible values include: "ImportData", "ExportData", "CopyData".
:paramtype task_type: str or ~flow.models.AetherDataTransferTaskType
:keyword compute_name:
:paramtype compute_name: str
:keyword copy_data_task:
:paramtype copy_data_task: ~flow.models.AetherCopyDataTask
:keyword import_data_task:
:paramtype import_data_task: ~flow.models.AetherImportDataTask
:keyword export_data_task:
:paramtype export_data_task: ~flow.models.AetherExportDataTask
:keyword data_transfer_sources: This is a dictionary.
:paramtype data_transfer_sources: dict[str, ~flow.models.AetherDataTransferSource]
:keyword data_transfer_sinks: This is a dictionary.
:paramtype data_transfer_sinks: dict[str, ~flow.models.AetherDataTransferSink]
:keyword data_copy_mode: Possible values include: "MergeWithOverwrite", "FailIfConflict".
:paramtype data_copy_mode: str or ~flow.models.AetherDataCopyMode
"""
super(AetherDataTransferV2CloudSetting, self).__init__(**kwargs)
self.task_type = task_type
self.compute_name = compute_name
self.copy_data_task = copy_data_task
self.import_data_task = import_data_task
self.export_data_task = export_data_task
self.data_transfer_sources = data_transfer_sources
self.data_transfer_sinks = data_transfer_sinks
self.data_copy_mode = data_copy_mode
class AetherDBFSReference(msrest.serialization.Model):
"""AetherDBFSReference.
:ivar relative_path:
:vartype relative_path: str
:ivar aml_data_store_name:
:vartype aml_data_store_name: str
"""
_attribute_map = {
'relative_path': {'key': 'relativePath', 'type': 'str'},
'aml_data_store_name': {'key': 'amlDataStoreName', 'type': 'str'},
}
def __init__(
self,
*,
relative_path: Optional[str] = None,
aml_data_store_name: Optional[str] = None,
**kwargs
):
"""
:keyword relative_path:
:paramtype relative_path: str
:keyword aml_data_store_name:
:paramtype aml_data_store_name: str
"""
super(AetherDBFSReference, self).__init__(**kwargs)
self.relative_path = relative_path
self.aml_data_store_name = aml_data_store_name
class AetherDockerSettingConfiguration(msrest.serialization.Model):
"""AetherDockerSettingConfiguration.
:ivar use_docker:
:vartype use_docker: bool
:ivar shared_volumes:
:vartype shared_volumes: bool
:ivar shm_size:
:vartype shm_size: str
:ivar arguments:
:vartype arguments: list[str]
"""
_attribute_map = {
'use_docker': {'key': 'useDocker', 'type': 'bool'},
'shared_volumes': {'key': 'sharedVolumes', 'type': 'bool'},
'shm_size': {'key': 'shmSize', 'type': 'str'},
'arguments': {'key': 'arguments', 'type': '[str]'},
}
def __init__(
self,
*,
use_docker: Optional[bool] = None,
shared_volumes: Optional[bool] = None,
shm_size: Optional[str] = None,
arguments: Optional[List[str]] = None,
**kwargs
):
"""
:keyword use_docker:
:paramtype use_docker: bool
:keyword shared_volumes:
:paramtype shared_volumes: bool
:keyword shm_size:
:paramtype shm_size: str
:keyword arguments:
:paramtype arguments: list[str]
"""
super(AetherDockerSettingConfiguration, self).__init__(**kwargs)
self.use_docker = use_docker
self.shared_volumes = shared_volumes
self.shm_size = shm_size
self.arguments = arguments
class AetherDoWhileControlFlowInfo(msrest.serialization.Model):
"""AetherDoWhileControlFlowInfo.
:ivar output_port_name_to_input_port_names_mapping: Dictionary of
<components·1f2aigm·schemas·aetherdowhilecontrolflowinfo·properties·outputportnametoinputportnamesmapping·additionalproperties>.
:vartype output_port_name_to_input_port_names_mapping: dict[str, list[str]]
:ivar condition_output_port_name:
:vartype condition_output_port_name: str
:ivar run_settings:
:vartype run_settings: ~flow.models.AetherDoWhileControlFlowRunSettings
"""
_attribute_map = {
'output_port_name_to_input_port_names_mapping': {'key': 'outputPortNameToInputPortNamesMapping', 'type': '{[str]}'},
'condition_output_port_name': {'key': 'conditionOutputPortName', 'type': 'str'},
'run_settings': {'key': 'runSettings', 'type': 'AetherDoWhileControlFlowRunSettings'},
}
def __init__(
self,
*,
output_port_name_to_input_port_names_mapping: Optional[Dict[str, List[str]]] = None,
condition_output_port_name: Optional[str] = None,
run_settings: Optional["AetherDoWhileControlFlowRunSettings"] = None,
**kwargs
):
"""
:keyword output_port_name_to_input_port_names_mapping: Dictionary of
<components·1f2aigm·schemas·aetherdowhilecontrolflowinfo·properties·outputportnametoinputportnamesmapping·additionalproperties>.
:paramtype output_port_name_to_input_port_names_mapping: dict[str, list[str]]
:keyword condition_output_port_name:
:paramtype condition_output_port_name: str
:keyword run_settings:
:paramtype run_settings: ~flow.models.AetherDoWhileControlFlowRunSettings
"""
super(AetherDoWhileControlFlowInfo, self).__init__(**kwargs)
self.output_port_name_to_input_port_names_mapping = output_port_name_to_input_port_names_mapping
self.condition_output_port_name = condition_output_port_name
self.run_settings = run_settings
class AetherDoWhileControlFlowRunSettings(msrest.serialization.Model):
"""AetherDoWhileControlFlowRunSettings.
:ivar max_loop_iteration_count:
:vartype max_loop_iteration_count: ~flow.models.AetherParameterAssignment
"""
_attribute_map = {
'max_loop_iteration_count': {'key': 'maxLoopIterationCount', 'type': 'AetherParameterAssignment'},
}
def __init__(
self,
*,
max_loop_iteration_count: Optional["AetherParameterAssignment"] = None,
**kwargs
):
"""
:keyword max_loop_iteration_count:
:paramtype max_loop_iteration_count: ~flow.models.AetherParameterAssignment
"""
super(AetherDoWhileControlFlowRunSettings, self).__init__(**kwargs)
self.max_loop_iteration_count = max_loop_iteration_count
class AetherEntityInterfaceDocumentation(msrest.serialization.Model):
"""AetherEntityInterfaceDocumentation.
:ivar inputs_documentation: Dictionary of :code:`<string>`.
:vartype inputs_documentation: dict[str, str]
:ivar outputs_documentation: Dictionary of :code:`<string>`.
:vartype outputs_documentation: dict[str, str]
:ivar parameters_documentation: Dictionary of :code:`<string>`.
:vartype parameters_documentation: dict[str, str]
"""
_attribute_map = {
'inputs_documentation': {'key': 'inputsDocumentation', 'type': '{str}'},
'outputs_documentation': {'key': 'outputsDocumentation', 'type': '{str}'},
'parameters_documentation': {'key': 'parametersDocumentation', 'type': '{str}'},
}
def __init__(
self,
*,
inputs_documentation: Optional[Dict[str, str]] = None,
outputs_documentation: Optional[Dict[str, str]] = None,
parameters_documentation: Optional[Dict[str, str]] = None,
**kwargs
):
"""
:keyword inputs_documentation: Dictionary of :code:`<string>`.
:paramtype inputs_documentation: dict[str, str]
:keyword outputs_documentation: Dictionary of :code:`<string>`.
:paramtype outputs_documentation: dict[str, str]
:keyword parameters_documentation: Dictionary of :code:`<string>`.
:paramtype parameters_documentation: dict[str, str]
"""
super(AetherEntityInterfaceDocumentation, self).__init__(**kwargs)
self.inputs_documentation = inputs_documentation
self.outputs_documentation = outputs_documentation
self.parameters_documentation = parameters_documentation
class AetherEntrySetting(msrest.serialization.Model):
"""AetherEntrySetting.
:ivar file:
:vartype file: str
:ivar class_name:
:vartype class_name: str
"""
_attribute_map = {
'file': {'key': 'file', 'type': 'str'},
'class_name': {'key': 'className', 'type': 'str'},
}
def __init__(
self,
*,
file: Optional[str] = None,
class_name: Optional[str] = None,
**kwargs
):
"""
:keyword file:
:paramtype file: str
:keyword class_name:
:paramtype class_name: str
"""
super(AetherEntrySetting, self).__init__(**kwargs)
self.file = file
self.class_name = class_name
class AetherEnvironmentConfiguration(msrest.serialization.Model):
"""AetherEnvironmentConfiguration.
:ivar name:
:vartype name: str
:ivar version:
:vartype version: str
:ivar use_environment_definition:
:vartype use_environment_definition: bool
:ivar environment_definition_string:
:vartype environment_definition_string: str
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'version': {'key': 'version', 'type': 'str'},
'use_environment_definition': {'key': 'useEnvironmentDefinition', 'type': 'bool'},
'environment_definition_string': {'key': 'environmentDefinitionString', 'type': 'str'},
}
def __init__(
self,
*,
name: Optional[str] = None,
version: Optional[str] = None,
use_environment_definition: Optional[bool] = None,
environment_definition_string: Optional[str] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword version:
:paramtype version: str
:keyword use_environment_definition:
:paramtype use_environment_definition: bool
:keyword environment_definition_string:
:paramtype environment_definition_string: str
"""
super(AetherEnvironmentConfiguration, self).__init__(**kwargs)
self.name = name
self.version = version
self.use_environment_definition = use_environment_definition
self.environment_definition_string = environment_definition_string
class AetherEsCloudConfiguration(msrest.serialization.Model):
"""AetherEsCloudConfiguration.
:ivar enable_output_to_file_based_on_data_type_id:
:vartype enable_output_to_file_based_on_data_type_id: bool
:ivar aml_compute_priority_internal:
:vartype aml_compute_priority_internal: ~flow.models.AetherPriorityConfiguration
:ivar itp_priority_internal:
:vartype itp_priority_internal: ~flow.models.AetherPriorityConfiguration
:ivar singularity_priority_internal:
:vartype singularity_priority_internal: ~flow.models.AetherPriorityConfiguration
:ivar environment:
:vartype environment: ~flow.models.AetherEnvironmentConfiguration
:ivar hyper_drive_configuration:
:vartype hyper_drive_configuration: ~flow.models.AetherHyperDriveConfiguration
:ivar k8_s_config:
:vartype k8_s_config: ~flow.models.AetherK8SConfiguration
:ivar resource_config:
:vartype resource_config: ~flow.models.AetherResourceConfiguration
:ivar torch_distributed_config:
:vartype torch_distributed_config: ~flow.models.AetherTorchDistributedConfiguration
:ivar target_selector_config:
:vartype target_selector_config: ~flow.models.AetherTargetSelectorConfiguration
:ivar docker_config:
:vartype docker_config: ~flow.models.AetherDockerSettingConfiguration
:ivar environment_variables: Dictionary of :code:`<string>`.
:vartype environment_variables: dict[str, str]
:ivar max_run_duration_seconds:
:vartype max_run_duration_seconds: int
:ivar identity:
:vartype identity: ~flow.models.AetherIdentitySetting
:ivar application_endpoints: Dictionary of :code:`<ApplicationEndpointConfiguration>`.
:vartype application_endpoints: dict[str, ~flow.models.ApplicationEndpointConfiguration]
:ivar run_config:
:vartype run_config: str
"""
_attribute_map = {
'enable_output_to_file_based_on_data_type_id': {'key': 'enableOutputToFileBasedOnDataTypeId', 'type': 'bool'},
'aml_compute_priority_internal': {'key': 'amlComputePriorityInternal', 'type': 'AetherPriorityConfiguration'},
'itp_priority_internal': {'key': 'itpPriorityInternal', 'type': 'AetherPriorityConfiguration'},
'singularity_priority_internal': {'key': 'singularityPriorityInternal', 'type': 'AetherPriorityConfiguration'},
'environment': {'key': 'environment', 'type': 'AetherEnvironmentConfiguration'},
'hyper_drive_configuration': {'key': 'hyperDriveConfiguration', 'type': 'AetherHyperDriveConfiguration'},
'k8_s_config': {'key': 'k8sConfig', 'type': 'AetherK8SConfiguration'},
'resource_config': {'key': 'resourceConfig', 'type': 'AetherResourceConfiguration'},
'torch_distributed_config': {'key': 'torchDistributedConfig', 'type': 'AetherTorchDistributedConfiguration'},
'target_selector_config': {'key': 'targetSelectorConfig', 'type': 'AetherTargetSelectorConfiguration'},
'docker_config': {'key': 'dockerConfig', 'type': 'AetherDockerSettingConfiguration'},
'environment_variables': {'key': 'environmentVariables', 'type': '{str}'},
'max_run_duration_seconds': {'key': 'maxRunDurationSeconds', 'type': 'int'},
'identity': {'key': 'identity', 'type': 'AetherIdentitySetting'},
'application_endpoints': {'key': 'applicationEndpoints', 'type': '{ApplicationEndpointConfiguration}'},
'run_config': {'key': 'runConfig', 'type': 'str'},
}
def __init__(
self,
*,
enable_output_to_file_based_on_data_type_id: Optional[bool] = None,
aml_compute_priority_internal: Optional["AetherPriorityConfiguration"] = None,
itp_priority_internal: Optional["AetherPriorityConfiguration"] = None,
singularity_priority_internal: Optional["AetherPriorityConfiguration"] = None,
environment: Optional["AetherEnvironmentConfiguration"] = None,
hyper_drive_configuration: Optional["AetherHyperDriveConfiguration"] = None,
k8_s_config: Optional["AetherK8SConfiguration"] = None,
resource_config: Optional["AetherResourceConfiguration"] = None,
torch_distributed_config: Optional["AetherTorchDistributedConfiguration"] = None,
target_selector_config: Optional["AetherTargetSelectorConfiguration"] = None,
docker_config: Optional["AetherDockerSettingConfiguration"] = None,
environment_variables: Optional[Dict[str, str]] = None,
max_run_duration_seconds: Optional[int] = None,
identity: Optional["AetherIdentitySetting"] = None,
application_endpoints: Optional[Dict[str, "ApplicationEndpointConfiguration"]] = None,
run_config: Optional[str] = None,
**kwargs
):
"""
:keyword enable_output_to_file_based_on_data_type_id:
:paramtype enable_output_to_file_based_on_data_type_id: bool
:keyword aml_compute_priority_internal:
:paramtype aml_compute_priority_internal: ~flow.models.AetherPriorityConfiguration
:keyword itp_priority_internal:
:paramtype itp_priority_internal: ~flow.models.AetherPriorityConfiguration
:keyword singularity_priority_internal:
:paramtype singularity_priority_internal: ~flow.models.AetherPriorityConfiguration
:keyword environment:
:paramtype environment: ~flow.models.AetherEnvironmentConfiguration
:keyword hyper_drive_configuration:
:paramtype hyper_drive_configuration: ~flow.models.AetherHyperDriveConfiguration
:keyword k8_s_config:
:paramtype k8_s_config: ~flow.models.AetherK8SConfiguration
:keyword resource_config:
:paramtype resource_config: ~flow.models.AetherResourceConfiguration
:keyword torch_distributed_config:
:paramtype torch_distributed_config: ~flow.models.AetherTorchDistributedConfiguration
:keyword target_selector_config:
:paramtype target_selector_config: ~flow.models.AetherTargetSelectorConfiguration
:keyword docker_config:
:paramtype docker_config: ~flow.models.AetherDockerSettingConfiguration
:keyword environment_variables: Dictionary of :code:`<string>`.
:paramtype environment_variables: dict[str, str]
:keyword max_run_duration_seconds:
:paramtype max_run_duration_seconds: int
:keyword identity:
:paramtype identity: ~flow.models.AetherIdentitySetting
:keyword application_endpoints: Dictionary of :code:`<ApplicationEndpointConfiguration>`.
:paramtype application_endpoints: dict[str, ~flow.models.ApplicationEndpointConfiguration]
:keyword run_config:
:paramtype run_config: str
"""
super(AetherEsCloudConfiguration, self).__init__(**kwargs)
self.enable_output_to_file_based_on_data_type_id = enable_output_to_file_based_on_data_type_id
self.aml_compute_priority_internal = aml_compute_priority_internal
self.itp_priority_internal = itp_priority_internal
self.singularity_priority_internal = singularity_priority_internal
self.environment = environment
self.hyper_drive_configuration = hyper_drive_configuration
self.k8_s_config = k8_s_config
self.resource_config = resource_config
self.torch_distributed_config = torch_distributed_config
self.target_selector_config = target_selector_config
self.docker_config = docker_config
self.environment_variables = environment_variables
self.max_run_duration_seconds = max_run_duration_seconds
self.identity = identity
self.application_endpoints = application_endpoints
self.run_config = run_config
class AetherExportDataTask(msrest.serialization.Model):
"""AetherExportDataTask.
:ivar data_transfer_sink:
:vartype data_transfer_sink: ~flow.models.AetherDataTransferSink
"""
_attribute_map = {
'data_transfer_sink': {'key': 'DataTransferSink', 'type': 'AetherDataTransferSink'},
}
def __init__(
self,
*,
data_transfer_sink: Optional["AetherDataTransferSink"] = None,
**kwargs
):
"""
:keyword data_transfer_sink:
:paramtype data_transfer_sink: ~flow.models.AetherDataTransferSink
"""
super(AetherExportDataTask, self).__init__(**kwargs)
self.data_transfer_sink = data_transfer_sink
class AetherFeaturizationSettings(msrest.serialization.Model):
"""AetherFeaturizationSettings.
:ivar mode: Possible values include: "Auto", "Custom", "Off".
:vartype mode: str or ~flow.models.AetherFeaturizationMode
:ivar blocked_transformers:
:vartype blocked_transformers: list[str]
:ivar column_purposes: Dictionary of :code:`<string>`.
:vartype column_purposes: dict[str, str]
:ivar drop_columns:
:vartype drop_columns: list[str]
:ivar transformer_params: Dictionary of
<components·1y90i4m·schemas·aetherfeaturizationsettings·properties·transformerparams·additionalproperties>.
:vartype transformer_params: dict[str, list[~flow.models.AetherColumnTransformer]]
:ivar dataset_language:
:vartype dataset_language: str
:ivar enable_dnn_featurization:
:vartype enable_dnn_featurization: bool
"""
_attribute_map = {
'mode': {'key': 'mode', 'type': 'str'},
'blocked_transformers': {'key': 'blockedTransformers', 'type': '[str]'},
'column_purposes': {'key': 'columnPurposes', 'type': '{str}'},
'drop_columns': {'key': 'dropColumns', 'type': '[str]'},
'transformer_params': {'key': 'transformerParams', 'type': '{[AetherColumnTransformer]}'},
'dataset_language': {'key': 'datasetLanguage', 'type': 'str'},
'enable_dnn_featurization': {'key': 'enableDnnFeaturization', 'type': 'bool'},
}
def __init__(
self,
*,
mode: Optional[Union[str, "AetherFeaturizationMode"]] = None,
blocked_transformers: Optional[List[str]] = None,
column_purposes: Optional[Dict[str, str]] = None,
drop_columns: Optional[List[str]] = None,
transformer_params: Optional[Dict[str, List["AetherColumnTransformer"]]] = None,
dataset_language: Optional[str] = None,
enable_dnn_featurization: Optional[bool] = None,
**kwargs
):
"""
:keyword mode: Possible values include: "Auto", "Custom", "Off".
:paramtype mode: str or ~flow.models.AetherFeaturizationMode
:keyword blocked_transformers:
:paramtype blocked_transformers: list[str]
:keyword column_purposes: Dictionary of :code:`<string>`.
:paramtype column_purposes: dict[str, str]
:keyword drop_columns:
:paramtype drop_columns: list[str]
:keyword transformer_params: Dictionary of
<components·1y90i4m·schemas·aetherfeaturizationsettings·properties·transformerparams·additionalproperties>.
:paramtype transformer_params: dict[str, list[~flow.models.AetherColumnTransformer]]
:keyword dataset_language:
:paramtype dataset_language: str
:keyword enable_dnn_featurization:
:paramtype enable_dnn_featurization: bool
"""
super(AetherFeaturizationSettings, self).__init__(**kwargs)
self.mode = mode
self.blocked_transformers = blocked_transformers
self.column_purposes = column_purposes
self.drop_columns = drop_columns
self.transformer_params = transformer_params
self.dataset_language = dataset_language
self.enable_dnn_featurization = enable_dnn_featurization
class AetherFileSystem(msrest.serialization.Model):
"""AetherFileSystem.
:ivar connection:
:vartype connection: str
:ivar path:
:vartype path: str
"""
_attribute_map = {
'connection': {'key': 'connection', 'type': 'str'},
'path': {'key': 'path', 'type': 'str'},
}
def __init__(
self,
*,
connection: Optional[str] = None,
path: Optional[str] = None,
**kwargs
):
"""
:keyword connection:
:paramtype connection: str
:keyword path:
:paramtype path: str
"""
super(AetherFileSystem, self).__init__(**kwargs)
self.connection = connection
self.path = path
class AetherForecastHorizon(msrest.serialization.Model):
"""AetherForecastHorizon.
:ivar mode: Possible values include: "Auto", "Custom".
:vartype mode: str or ~flow.models.AetherForecastHorizonMode
:ivar value:
:vartype value: int
"""
_attribute_map = {
'mode': {'key': 'mode', 'type': 'str'},
'value': {'key': 'value', 'type': 'int'},
}
def __init__(
self,
*,
mode: Optional[Union[str, "AetherForecastHorizonMode"]] = None,
value: Optional[int] = None,
**kwargs
):
"""
:keyword mode: Possible values include: "Auto", "Custom".
:paramtype mode: str or ~flow.models.AetherForecastHorizonMode
:keyword value:
:paramtype value: int
"""
super(AetherForecastHorizon, self).__init__(**kwargs)
self.mode = mode
self.value = value
class AetherForecastingSettings(msrest.serialization.Model):
"""AetherForecastingSettings.
:ivar country_or_region_for_holidays:
:vartype country_or_region_for_holidays: str
:ivar time_column_name:
:vartype time_column_name: str
:ivar target_lags:
:vartype target_lags: ~flow.models.AetherTargetLags
:ivar target_rolling_window_size:
:vartype target_rolling_window_size: ~flow.models.AetherTargetRollingWindowSize
:ivar forecast_horizon:
:vartype forecast_horizon: ~flow.models.AetherForecastHorizon
:ivar time_series_id_column_names:
:vartype time_series_id_column_names: list[str]
:ivar frequency:
:vartype frequency: str
:ivar feature_lags:
:vartype feature_lags: str
:ivar seasonality:
:vartype seasonality: ~flow.models.AetherSeasonality
:ivar short_series_handling_config: Possible values include: "Auto", "Pad", "Drop".
:vartype short_series_handling_config: str or
~flow.models.AetherShortSeriesHandlingConfiguration
:ivar use_stl: Possible values include: "Season", "SeasonTrend".
:vartype use_stl: str or ~flow.models.AetherUseStl
:ivar target_aggregate_function: Possible values include: "Sum", "Max", "Min", "Mean".
:vartype target_aggregate_function: str or ~flow.models.AetherTargetAggregationFunction
:ivar cv_step_size:
:vartype cv_step_size: int
:ivar features_unknown_at_forecast_time:
:vartype features_unknown_at_forecast_time: list[str]
"""
_attribute_map = {
'country_or_region_for_holidays': {'key': 'countryOrRegionForHolidays', 'type': 'str'},
'time_column_name': {'key': 'timeColumnName', 'type': 'str'},
'target_lags': {'key': 'targetLags', 'type': 'AetherTargetLags'},
'target_rolling_window_size': {'key': 'targetRollingWindowSize', 'type': 'AetherTargetRollingWindowSize'},
'forecast_horizon': {'key': 'forecastHorizon', 'type': 'AetherForecastHorizon'},
'time_series_id_column_names': {'key': 'timeSeriesIdColumnNames', 'type': '[str]'},
'frequency': {'key': 'frequency', 'type': 'str'},
'feature_lags': {'key': 'featureLags', 'type': 'str'},
'seasonality': {'key': 'seasonality', 'type': 'AetherSeasonality'},
'short_series_handling_config': {'key': 'shortSeriesHandlingConfig', 'type': 'str'},
'use_stl': {'key': 'useStl', 'type': 'str'},
'target_aggregate_function': {'key': 'targetAggregateFunction', 'type': 'str'},
'cv_step_size': {'key': 'cvStepSize', 'type': 'int'},
'features_unknown_at_forecast_time': {'key': 'featuresUnknownAtForecastTime', 'type': '[str]'},
}
def __init__(
self,
*,
country_or_region_for_holidays: Optional[str] = None,
time_column_name: Optional[str] = None,
target_lags: Optional["AetherTargetLags"] = None,
target_rolling_window_size: Optional["AetherTargetRollingWindowSize"] = None,
forecast_horizon: Optional["AetherForecastHorizon"] = None,
time_series_id_column_names: Optional[List[str]] = None,
frequency: Optional[str] = None,
feature_lags: Optional[str] = None,
seasonality: Optional["AetherSeasonality"] = None,
short_series_handling_config: Optional[Union[str, "AetherShortSeriesHandlingConfiguration"]] = None,
use_stl: Optional[Union[str, "AetherUseStl"]] = None,
target_aggregate_function: Optional[Union[str, "AetherTargetAggregationFunction"]] = None,
cv_step_size: Optional[int] = None,
features_unknown_at_forecast_time: Optional[List[str]] = None,
**kwargs
):
"""
:keyword country_or_region_for_holidays:
:paramtype country_or_region_for_holidays: str
:keyword time_column_name:
:paramtype time_column_name: str
:keyword target_lags:
:paramtype target_lags: ~flow.models.AetherTargetLags
:keyword target_rolling_window_size:
:paramtype target_rolling_window_size: ~flow.models.AetherTargetRollingWindowSize
:keyword forecast_horizon:
:paramtype forecast_horizon: ~flow.models.AetherForecastHorizon
:keyword time_series_id_column_names:
:paramtype time_series_id_column_names: list[str]
:keyword frequency:
:paramtype frequency: str
:keyword feature_lags:
:paramtype feature_lags: str
:keyword seasonality:
:paramtype seasonality: ~flow.models.AetherSeasonality
:keyword short_series_handling_config: Possible values include: "Auto", "Pad", "Drop".
:paramtype short_series_handling_config: str or
~flow.models.AetherShortSeriesHandlingConfiguration
:keyword use_stl: Possible values include: "Season", "SeasonTrend".
:paramtype use_stl: str or ~flow.models.AetherUseStl
:keyword target_aggregate_function: Possible values include: "Sum", "Max", "Min", "Mean".
:paramtype target_aggregate_function: str or ~flow.models.AetherTargetAggregationFunction
:keyword cv_step_size:
:paramtype cv_step_size: int
:keyword features_unknown_at_forecast_time:
:paramtype features_unknown_at_forecast_time: list[str]
"""
super(AetherForecastingSettings, self).__init__(**kwargs)
self.country_or_region_for_holidays = country_or_region_for_holidays
self.time_column_name = time_column_name
self.target_lags = target_lags
self.target_rolling_window_size = target_rolling_window_size
self.forecast_horizon = forecast_horizon
self.time_series_id_column_names = time_series_id_column_names
self.frequency = frequency
self.feature_lags = feature_lags
self.seasonality = seasonality
self.short_series_handling_config = short_series_handling_config
self.use_stl = use_stl
self.target_aggregate_function = target_aggregate_function
self.cv_step_size = cv_step_size
self.features_unknown_at_forecast_time = features_unknown_at_forecast_time
class AetherGeneralSettings(msrest.serialization.Model):
"""AetherGeneralSettings.
:ivar primary_metric: Possible values include: "AUCWeighted", "Accuracy", "NormMacroRecall",
"AveragePrecisionScoreWeighted", "PrecisionScoreWeighted", "SpearmanCorrelation",
"NormalizedRootMeanSquaredError", "R2Score", "NormalizedMeanAbsoluteError",
"NormalizedRootMeanSquaredLogError", "MeanAveragePrecision", "Iou".
:vartype primary_metric: str or ~flow.models.AetherPrimaryMetrics
:ivar task_type: Possible values include: "Classification", "Regression", "Forecasting",
"ImageClassification", "ImageClassificationMultilabel", "ImageObjectDetection",
"ImageInstanceSegmentation", "TextClassification", "TextMultiLabeling", "TextNER",
"TextClassificationMultilabel".
:vartype task_type: str or ~flow.models.AetherTaskType
:ivar log_verbosity: Possible values include: "NotSet", "Debug", "Info", "Warning", "Error",
"Critical".
:vartype log_verbosity: str or ~flow.models.AetherLogVerbosity
"""
_attribute_map = {
'primary_metric': {'key': 'primaryMetric', 'type': 'str'},
'task_type': {'key': 'taskType', 'type': 'str'},
'log_verbosity': {'key': 'logVerbosity', 'type': 'str'},
}
def __init__(
self,
*,
primary_metric: Optional[Union[str, "AetherPrimaryMetrics"]] = None,
task_type: Optional[Union[str, "AetherTaskType"]] = None,
log_verbosity: Optional[Union[str, "AetherLogVerbosity"]] = None,
**kwargs
):
"""
:keyword primary_metric: Possible values include: "AUCWeighted", "Accuracy", "NormMacroRecall",
"AveragePrecisionScoreWeighted", "PrecisionScoreWeighted", "SpearmanCorrelation",
"NormalizedRootMeanSquaredError", "R2Score", "NormalizedMeanAbsoluteError",
"NormalizedRootMeanSquaredLogError", "MeanAveragePrecision", "Iou".
:paramtype primary_metric: str or ~flow.models.AetherPrimaryMetrics
:keyword task_type: Possible values include: "Classification", "Regression", "Forecasting",
"ImageClassification", "ImageClassificationMultilabel", "ImageObjectDetection",
"ImageInstanceSegmentation", "TextClassification", "TextMultiLabeling", "TextNER",
"TextClassificationMultilabel".
:paramtype task_type: str or ~flow.models.AetherTaskType
:keyword log_verbosity: Possible values include: "NotSet", "Debug", "Info", "Warning", "Error",
"Critical".
:paramtype log_verbosity: str or ~flow.models.AetherLogVerbosity
"""
super(AetherGeneralSettings, self).__init__(**kwargs)
self.primary_metric = primary_metric
self.task_type = task_type
self.log_verbosity = log_verbosity
class AetherGlobsOptions(msrest.serialization.Model):
"""AetherGlobsOptions.
:ivar glob_patterns:
:vartype glob_patterns: list[str]
"""
_attribute_map = {
'glob_patterns': {'key': 'globPatterns', 'type': '[str]'},
}
def __init__(
self,
*,
glob_patterns: Optional[List[str]] = None,
**kwargs
):
"""
:keyword glob_patterns:
:paramtype glob_patterns: list[str]
"""
super(AetherGlobsOptions, self).__init__(**kwargs)
self.glob_patterns = glob_patterns
class AetherGraphControlNode(msrest.serialization.Model):
"""AetherGraphControlNode.
:ivar id:
:vartype id: str
:ivar control_type: The only acceptable values to pass in are None and "IfElse". The default
value is None.
:vartype control_type: str
:ivar control_parameter:
:vartype control_parameter: ~flow.models.AetherParameterAssignment
:ivar run_attribution:
:vartype run_attribution: str
"""
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'control_type': {'key': 'controlType', 'type': 'str'},
'control_parameter': {'key': 'controlParameter', 'type': 'AetherParameterAssignment'},
'run_attribution': {'key': 'runAttribution', 'type': 'str'},
}
def __init__(
self,
*,
id: Optional[str] = None,
control_type: Optional[str] = None,
control_parameter: Optional["AetherParameterAssignment"] = None,
run_attribution: Optional[str] = None,
**kwargs
):
"""
:keyword id:
:paramtype id: str
:keyword control_type: The only acceptable values to pass in are None and "IfElse". The
default value is None.
:paramtype control_type: str
:keyword control_parameter:
:paramtype control_parameter: ~flow.models.AetherParameterAssignment
:keyword run_attribution:
:paramtype run_attribution: str
"""
super(AetherGraphControlNode, self).__init__(**kwargs)
self.id = id
self.control_type = control_type
self.control_parameter = control_parameter
self.run_attribution = run_attribution
class AetherGraphControlReferenceNode(msrest.serialization.Model):
"""AetherGraphControlReferenceNode.
:ivar id:
:vartype id: str
:ivar name:
:vartype name: str
:ivar comment:
:vartype comment: str
:ivar control_flow_type: Possible values include: "None", "DoWhile", "ParallelFor".
:vartype control_flow_type: str or ~flow.models.AetherControlFlowType
:ivar reference_node_id:
:vartype reference_node_id: str
:ivar do_while_control_flow_info:
:vartype do_while_control_flow_info: ~flow.models.AetherDoWhileControlFlowInfo
:ivar parallel_for_control_flow_info:
:vartype parallel_for_control_flow_info: ~flow.models.AetherParallelForControlFlowInfo
:ivar run_attribution:
:vartype run_attribution: str
"""
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'comment': {'key': 'comment', 'type': 'str'},
'control_flow_type': {'key': 'controlFlowType', 'type': 'str'},
'reference_node_id': {'key': 'referenceNodeId', 'type': 'str'},
'do_while_control_flow_info': {'key': 'doWhileControlFlowInfo', 'type': 'AetherDoWhileControlFlowInfo'},
'parallel_for_control_flow_info': {'key': 'parallelForControlFlowInfo', 'type': 'AetherParallelForControlFlowInfo'},
'run_attribution': {'key': 'runAttribution', 'type': 'str'},
}
def __init__(
self,
*,
id: Optional[str] = None,
name: Optional[str] = None,
comment: Optional[str] = None,
control_flow_type: Optional[Union[str, "AetherControlFlowType"]] = None,
reference_node_id: Optional[str] = None,
do_while_control_flow_info: Optional["AetherDoWhileControlFlowInfo"] = None,
parallel_for_control_flow_info: Optional["AetherParallelForControlFlowInfo"] = None,
run_attribution: Optional[str] = None,
**kwargs
):
"""
:keyword id:
:paramtype id: str
:keyword name:
:paramtype name: str
:keyword comment:
:paramtype comment: str
:keyword control_flow_type: Possible values include: "None", "DoWhile", "ParallelFor".
:paramtype control_flow_type: str or ~flow.models.AetherControlFlowType
:keyword reference_node_id:
:paramtype reference_node_id: str
:keyword do_while_control_flow_info:
:paramtype do_while_control_flow_info: ~flow.models.AetherDoWhileControlFlowInfo
:keyword parallel_for_control_flow_info:
:paramtype parallel_for_control_flow_info: ~flow.models.AetherParallelForControlFlowInfo
:keyword run_attribution:
:paramtype run_attribution: str
"""
super(AetherGraphControlReferenceNode, self).__init__(**kwargs)
self.id = id
self.name = name
self.comment = comment
self.control_flow_type = control_flow_type
self.reference_node_id = reference_node_id
self.do_while_control_flow_info = do_while_control_flow_info
self.parallel_for_control_flow_info = parallel_for_control_flow_info
self.run_attribution = run_attribution
class AetherGraphDatasetNode(msrest.serialization.Model):
"""AetherGraphDatasetNode.
:ivar id:
:vartype id: str
:ivar dataset_id:
:vartype dataset_id: str
:ivar data_path_parameter_name:
:vartype data_path_parameter_name: str
:ivar data_set_definition:
:vartype data_set_definition: ~flow.models.AetherDataSetDefinition
"""
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'dataset_id': {'key': 'datasetId', 'type': 'str'},
'data_path_parameter_name': {'key': 'dataPathParameterName', 'type': 'str'},
'data_set_definition': {'key': 'dataSetDefinition', 'type': 'AetherDataSetDefinition'},
}
def __init__(
self,
*,
id: Optional[str] = None,
dataset_id: Optional[str] = None,
data_path_parameter_name: Optional[str] = None,
data_set_definition: Optional["AetherDataSetDefinition"] = None,
**kwargs
):
"""
:keyword id:
:paramtype id: str
:keyword dataset_id:
:paramtype dataset_id: str
:keyword data_path_parameter_name:
:paramtype data_path_parameter_name: str
:keyword data_set_definition:
:paramtype data_set_definition: ~flow.models.AetherDataSetDefinition
"""
super(AetherGraphDatasetNode, self).__init__(**kwargs)
self.id = id
self.dataset_id = dataset_id
self.data_path_parameter_name = data_path_parameter_name
self.data_set_definition = data_set_definition
class AetherGraphEdge(msrest.serialization.Model):
"""AetherGraphEdge.
:ivar source_output_port:
:vartype source_output_port: ~flow.models.AetherPortInfo
:ivar destination_input_port:
:vartype destination_input_port: ~flow.models.AetherPortInfo
"""
_attribute_map = {
'source_output_port': {'key': 'sourceOutputPort', 'type': 'AetherPortInfo'},
'destination_input_port': {'key': 'destinationInputPort', 'type': 'AetherPortInfo'},
}
def __init__(
self,
*,
source_output_port: Optional["AetherPortInfo"] = None,
destination_input_port: Optional["AetherPortInfo"] = None,
**kwargs
):
"""
:keyword source_output_port:
:paramtype source_output_port: ~flow.models.AetherPortInfo
:keyword destination_input_port:
:paramtype destination_input_port: ~flow.models.AetherPortInfo
"""
super(AetherGraphEdge, self).__init__(**kwargs)
self.source_output_port = source_output_port
self.destination_input_port = destination_input_port
class AetherGraphEntity(msrest.serialization.Model):
"""AetherGraphEntity.
:ivar module_nodes:
:vartype module_nodes: list[~flow.models.AetherGraphModuleNode]
:ivar dataset_nodes:
:vartype dataset_nodes: list[~flow.models.AetherGraphDatasetNode]
:ivar sub_graph_nodes:
:vartype sub_graph_nodes: list[~flow.models.AetherGraphReferenceNode]
:ivar control_reference_nodes:
:vartype control_reference_nodes: list[~flow.models.AetherGraphControlReferenceNode]
:ivar control_nodes:
:vartype control_nodes: list[~flow.models.AetherGraphControlNode]
:ivar edges:
:vartype edges: list[~flow.models.AetherGraphEdge]
:ivar default_compute:
:vartype default_compute: ~flow.models.AetherComputeSetting
:ivar default_datastore:
:vartype default_datastore: ~flow.models.AetherDatastoreSetting
:ivar default_cloud_priority:
:vartype default_cloud_priority: ~flow.models.AetherCloudPrioritySetting
:ivar parent_sub_graph_module_ids:
:vartype parent_sub_graph_module_ids: list[str]
:ivar id:
:vartype id: str
:ivar workspace_id:
:vartype workspace_id: str
:ivar etag:
:vartype etag: str
:ivar tags: A set of tags.
:vartype tags: list[str]
:ivar created_date:
:vartype created_date: ~datetime.datetime
:ivar last_modified_date:
:vartype last_modified_date: ~datetime.datetime
:ivar entity_status: Possible values include: "Active", "Deprecated", "Disabled".
:vartype entity_status: str or ~flow.models.AetherEntityStatus
"""
_attribute_map = {
'module_nodes': {'key': 'moduleNodes', 'type': '[AetherGraphModuleNode]'},
'dataset_nodes': {'key': 'datasetNodes', 'type': '[AetherGraphDatasetNode]'},
'sub_graph_nodes': {'key': 'subGraphNodes', 'type': '[AetherGraphReferenceNode]'},
'control_reference_nodes': {'key': 'controlReferenceNodes', 'type': '[AetherGraphControlReferenceNode]'},
'control_nodes': {'key': 'controlNodes', 'type': '[AetherGraphControlNode]'},
'edges': {'key': 'edges', 'type': '[AetherGraphEdge]'},
'default_compute': {'key': 'defaultCompute', 'type': 'AetherComputeSetting'},
'default_datastore': {'key': 'defaultDatastore', 'type': 'AetherDatastoreSetting'},
'default_cloud_priority': {'key': 'defaultCloudPriority', 'type': 'AetherCloudPrioritySetting'},
'parent_sub_graph_module_ids': {'key': 'parentSubGraphModuleIds', 'type': '[str]'},
'id': {'key': 'id', 'type': 'str'},
'workspace_id': {'key': 'workspaceId', 'type': 'str'},
'etag': {'key': 'etag', 'type': 'str'},
'tags': {'key': 'tags', 'type': '[str]'},
'created_date': {'key': 'createdDate', 'type': 'iso-8601'},
'last_modified_date': {'key': 'lastModifiedDate', 'type': 'iso-8601'},
'entity_status': {'key': 'entityStatus', 'type': 'str'},
}
def __init__(
self,
*,
module_nodes: Optional[List["AetherGraphModuleNode"]] = None,
dataset_nodes: Optional[List["AetherGraphDatasetNode"]] = None,
sub_graph_nodes: Optional[List["AetherGraphReferenceNode"]] = None,
control_reference_nodes: Optional[List["AetherGraphControlReferenceNode"]] = None,
control_nodes: Optional[List["AetherGraphControlNode"]] = None,
edges: Optional[List["AetherGraphEdge"]] = None,
default_compute: Optional["AetherComputeSetting"] = None,
default_datastore: Optional["AetherDatastoreSetting"] = None,
default_cloud_priority: Optional["AetherCloudPrioritySetting"] = None,
parent_sub_graph_module_ids: Optional[List[str]] = None,
id: Optional[str] = None,
workspace_id: Optional[str] = None,
etag: Optional[str] = None,
tags: Optional[List[str]] = None,
created_date: Optional[datetime.datetime] = None,
last_modified_date: Optional[datetime.datetime] = None,
entity_status: Optional[Union[str, "AetherEntityStatus"]] = None,
**kwargs
):
"""
:keyword module_nodes:
:paramtype module_nodes: list[~flow.models.AetherGraphModuleNode]
:keyword dataset_nodes:
:paramtype dataset_nodes: list[~flow.models.AetherGraphDatasetNode]
:keyword sub_graph_nodes:
:paramtype sub_graph_nodes: list[~flow.models.AetherGraphReferenceNode]
:keyword control_reference_nodes:
:paramtype control_reference_nodes: list[~flow.models.AetherGraphControlReferenceNode]
:keyword control_nodes:
:paramtype control_nodes: list[~flow.models.AetherGraphControlNode]
:keyword edges:
:paramtype edges: list[~flow.models.AetherGraphEdge]
:keyword default_compute:
:paramtype default_compute: ~flow.models.AetherComputeSetting
:keyword default_datastore:
:paramtype default_datastore: ~flow.models.AetherDatastoreSetting
:keyword default_cloud_priority:
:paramtype default_cloud_priority: ~flow.models.AetherCloudPrioritySetting
:keyword parent_sub_graph_module_ids:
:paramtype parent_sub_graph_module_ids: list[str]
:keyword id:
:paramtype id: str
:keyword workspace_id:
:paramtype workspace_id: str
:keyword etag:
:paramtype etag: str
:keyword tags: A set of tags.
:paramtype tags: list[str]
:keyword created_date:
:paramtype created_date: ~datetime.datetime
:keyword last_modified_date:
:paramtype last_modified_date: ~datetime.datetime
:keyword entity_status: Possible values include: "Active", "Deprecated", "Disabled".
:paramtype entity_status: str or ~flow.models.AetherEntityStatus
"""
super(AetherGraphEntity, self).__init__(**kwargs)
self.module_nodes = module_nodes
self.dataset_nodes = dataset_nodes
self.sub_graph_nodes = sub_graph_nodes
self.control_reference_nodes = control_reference_nodes
self.control_nodes = control_nodes
self.edges = edges
self.default_compute = default_compute
self.default_datastore = default_datastore
self.default_cloud_priority = default_cloud_priority
self.parent_sub_graph_module_ids = parent_sub_graph_module_ids
self.id = id
self.workspace_id = workspace_id
self.etag = etag
self.tags = tags
self.created_date = created_date
self.last_modified_date = last_modified_date
self.entity_status = entity_status
class AetherGraphModuleNode(msrest.serialization.Model):
"""AetherGraphModuleNode.
:ivar cloud_priority:
:vartype cloud_priority: int
:ivar default_data_retention_hint:
:vartype default_data_retention_hint: int
:ivar compliance_cluster:
:vartype compliance_cluster: str
:ivar euclid_workspace_id:
:vartype euclid_workspace_id: str
:ivar attached_modules:
:vartype attached_modules: list[str]
:ivar acceptable_machine_clusters:
:vartype acceptable_machine_clusters: list[str]
:ivar custom_data_location_id:
:vartype custom_data_location_id: str
:ivar alert_timeout_duration:
:vartype alert_timeout_duration: str
:ivar runconfig:
:vartype runconfig: str
:ivar id:
:vartype id: str
:ivar module_id:
:vartype module_id: str
:ivar comment:
:vartype comment: str
:ivar name:
:vartype name: str
:ivar module_parameters:
:vartype module_parameters: list[~flow.models.AetherParameterAssignment]
:ivar module_metadata_parameters:
:vartype module_metadata_parameters: list[~flow.models.AetherParameterAssignment]
:ivar module_output_settings:
:vartype module_output_settings: list[~flow.models.AetherOutputSetting]
:ivar module_input_settings:
:vartype module_input_settings: list[~flow.models.AetherInputSetting]
:ivar use_graph_default_compute:
:vartype use_graph_default_compute: bool
:ivar use_graph_default_datastore:
:vartype use_graph_default_datastore: bool
:ivar regenerate_output:
:vartype regenerate_output: bool
:ivar control_inputs:
:vartype control_inputs: list[~flow.models.AetherControlInput]
:ivar cloud_settings:
:vartype cloud_settings: ~flow.models.AetherCloudSettings
:ivar execution_phase: Possible values include: "Execution", "Initialization", "Finalization".
:vartype execution_phase: str or ~flow.models.AetherExecutionPhase
:ivar run_attribution:
:vartype run_attribution: str
"""
_attribute_map = {
'cloud_priority': {'key': 'cloudPriority', 'type': 'int'},
'default_data_retention_hint': {'key': 'defaultDataRetentionHint', 'type': 'int'},
'compliance_cluster': {'key': 'complianceCluster', 'type': 'str'},
'euclid_workspace_id': {'key': 'euclidWorkspaceId', 'type': 'str'},
'attached_modules': {'key': 'attachedModules', 'type': '[str]'},
'acceptable_machine_clusters': {'key': 'acceptableMachineClusters', 'type': '[str]'},
'custom_data_location_id': {'key': 'customDataLocationId', 'type': 'str'},
'alert_timeout_duration': {'key': 'alertTimeoutDuration', 'type': 'str'},
'runconfig': {'key': 'runconfig', 'type': 'str'},
'id': {'key': 'id', 'type': 'str'},
'module_id': {'key': 'moduleId', 'type': 'str'},
'comment': {'key': 'comment', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'module_parameters': {'key': 'moduleParameters', 'type': '[AetherParameterAssignment]'},
'module_metadata_parameters': {'key': 'moduleMetadataParameters', 'type': '[AetherParameterAssignment]'},
'module_output_settings': {'key': 'moduleOutputSettings', 'type': '[AetherOutputSetting]'},
'module_input_settings': {'key': 'moduleInputSettings', 'type': '[AetherInputSetting]'},
'use_graph_default_compute': {'key': 'useGraphDefaultCompute', 'type': 'bool'},
'use_graph_default_datastore': {'key': 'useGraphDefaultDatastore', 'type': 'bool'},
'regenerate_output': {'key': 'regenerateOutput', 'type': 'bool'},
'control_inputs': {'key': 'controlInputs', 'type': '[AetherControlInput]'},
'cloud_settings': {'key': 'cloudSettings', 'type': 'AetherCloudSettings'},
'execution_phase': {'key': 'executionPhase', 'type': 'str'},
'run_attribution': {'key': 'runAttribution', 'type': 'str'},
}
def __init__(
self,
*,
cloud_priority: Optional[int] = None,
default_data_retention_hint: Optional[int] = None,
compliance_cluster: Optional[str] = None,
euclid_workspace_id: Optional[str] = None,
attached_modules: Optional[List[str]] = None,
acceptable_machine_clusters: Optional[List[str]] = None,
custom_data_location_id: Optional[str] = None,
alert_timeout_duration: Optional[str] = None,
runconfig: Optional[str] = None,
id: Optional[str] = None,
module_id: Optional[str] = None,
comment: Optional[str] = None,
name: Optional[str] = None,
module_parameters: Optional[List["AetherParameterAssignment"]] = None,
module_metadata_parameters: Optional[List["AetherParameterAssignment"]] = None,
module_output_settings: Optional[List["AetherOutputSetting"]] = None,
module_input_settings: Optional[List["AetherInputSetting"]] = None,
use_graph_default_compute: Optional[bool] = None,
use_graph_default_datastore: Optional[bool] = None,
regenerate_output: Optional[bool] = None,
control_inputs: Optional[List["AetherControlInput"]] = None,
cloud_settings: Optional["AetherCloudSettings"] = None,
execution_phase: Optional[Union[str, "AetherExecutionPhase"]] = None,
run_attribution: Optional[str] = None,
**kwargs
):
"""
:keyword cloud_priority:
:paramtype cloud_priority: int
:keyword default_data_retention_hint:
:paramtype default_data_retention_hint: int
:keyword compliance_cluster:
:paramtype compliance_cluster: str
:keyword euclid_workspace_id:
:paramtype euclid_workspace_id: str
:keyword attached_modules:
:paramtype attached_modules: list[str]
:keyword acceptable_machine_clusters:
:paramtype acceptable_machine_clusters: list[str]
:keyword custom_data_location_id:
:paramtype custom_data_location_id: str
:keyword alert_timeout_duration:
:paramtype alert_timeout_duration: str
:keyword runconfig:
:paramtype runconfig: str
:keyword id:
:paramtype id: str
:keyword module_id:
:paramtype module_id: str
:keyword comment:
:paramtype comment: str
:keyword name:
:paramtype name: str
:keyword module_parameters:
:paramtype module_parameters: list[~flow.models.AetherParameterAssignment]
:keyword module_metadata_parameters:
:paramtype module_metadata_parameters: list[~flow.models.AetherParameterAssignment]
:keyword module_output_settings:
:paramtype module_output_settings: list[~flow.models.AetherOutputSetting]
:keyword module_input_settings:
:paramtype module_input_settings: list[~flow.models.AetherInputSetting]
:keyword use_graph_default_compute:
:paramtype use_graph_default_compute: bool
:keyword use_graph_default_datastore:
:paramtype use_graph_default_datastore: bool
:keyword regenerate_output:
:paramtype regenerate_output: bool
:keyword control_inputs:
:paramtype control_inputs: list[~flow.models.AetherControlInput]
:keyword cloud_settings:
:paramtype cloud_settings: ~flow.models.AetherCloudSettings
:keyword execution_phase: Possible values include: "Execution", "Initialization",
"Finalization".
:paramtype execution_phase: str or ~flow.models.AetherExecutionPhase
:keyword run_attribution:
:paramtype run_attribution: str
"""
super(AetherGraphModuleNode, self).__init__(**kwargs)
self.cloud_priority = cloud_priority
self.default_data_retention_hint = default_data_retention_hint
self.compliance_cluster = compliance_cluster
self.euclid_workspace_id = euclid_workspace_id
self.attached_modules = attached_modules
self.acceptable_machine_clusters = acceptable_machine_clusters
self.custom_data_location_id = custom_data_location_id
self.alert_timeout_duration = alert_timeout_duration
self.runconfig = runconfig
self.id = id
self.module_id = module_id
self.comment = comment
self.name = name
self.module_parameters = module_parameters
self.module_metadata_parameters = module_metadata_parameters
self.module_output_settings = module_output_settings
self.module_input_settings = module_input_settings
self.use_graph_default_compute = use_graph_default_compute
self.use_graph_default_datastore = use_graph_default_datastore
self.regenerate_output = regenerate_output
self.control_inputs = control_inputs
self.cloud_settings = cloud_settings
self.execution_phase = execution_phase
self.run_attribution = run_attribution
class AetherGraphReferenceNode(msrest.serialization.Model):
"""AetherGraphReferenceNode.
:ivar graph_id:
:vartype graph_id: str
:ivar default_compute:
:vartype default_compute: ~flow.models.AetherComputeSetting
:ivar default_datastore:
:vartype default_datastore: ~flow.models.AetherDatastoreSetting
:ivar id:
:vartype id: str
:ivar module_id:
:vartype module_id: str
:ivar comment:
:vartype comment: str
:ivar name:
:vartype name: str
:ivar module_parameters:
:vartype module_parameters: list[~flow.models.AetherParameterAssignment]
:ivar module_metadata_parameters:
:vartype module_metadata_parameters: list[~flow.models.AetherParameterAssignment]
:ivar module_output_settings:
:vartype module_output_settings: list[~flow.models.AetherOutputSetting]
:ivar module_input_settings:
:vartype module_input_settings: list[~flow.models.AetherInputSetting]
:ivar use_graph_default_compute:
:vartype use_graph_default_compute: bool
:ivar use_graph_default_datastore:
:vartype use_graph_default_datastore: bool
:ivar regenerate_output:
:vartype regenerate_output: bool
:ivar control_inputs:
:vartype control_inputs: list[~flow.models.AetherControlInput]
:ivar cloud_settings:
:vartype cloud_settings: ~flow.models.AetherCloudSettings
:ivar execution_phase: Possible values include: "Execution", "Initialization", "Finalization".
:vartype execution_phase: str or ~flow.models.AetherExecutionPhase
:ivar run_attribution:
:vartype run_attribution: str
"""
_attribute_map = {
'graph_id': {'key': 'graphId', 'type': 'str'},
'default_compute': {'key': 'defaultCompute', 'type': 'AetherComputeSetting'},
'default_datastore': {'key': 'defaultDatastore', 'type': 'AetherDatastoreSetting'},
'id': {'key': 'id', 'type': 'str'},
'module_id': {'key': 'moduleId', 'type': 'str'},
'comment': {'key': 'comment', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'module_parameters': {'key': 'moduleParameters', 'type': '[AetherParameterAssignment]'},
'module_metadata_parameters': {'key': 'moduleMetadataParameters', 'type': '[AetherParameterAssignment]'},
'module_output_settings': {'key': 'moduleOutputSettings', 'type': '[AetherOutputSetting]'},
'module_input_settings': {'key': 'moduleInputSettings', 'type': '[AetherInputSetting]'},
'use_graph_default_compute': {'key': 'useGraphDefaultCompute', 'type': 'bool'},
'use_graph_default_datastore': {'key': 'useGraphDefaultDatastore', 'type': 'bool'},
'regenerate_output': {'key': 'regenerateOutput', 'type': 'bool'},
'control_inputs': {'key': 'controlInputs', 'type': '[AetherControlInput]'},
'cloud_settings': {'key': 'cloudSettings', 'type': 'AetherCloudSettings'},
'execution_phase': {'key': 'executionPhase', 'type': 'str'},
'run_attribution': {'key': 'runAttribution', 'type': 'str'},
}
def __init__(
self,
*,
graph_id: Optional[str] = None,
default_compute: Optional["AetherComputeSetting"] = None,
default_datastore: Optional["AetherDatastoreSetting"] = None,
id: Optional[str] = None,
module_id: Optional[str] = None,
comment: Optional[str] = None,
name: Optional[str] = None,
module_parameters: Optional[List["AetherParameterAssignment"]] = None,
module_metadata_parameters: Optional[List["AetherParameterAssignment"]] = None,
module_output_settings: Optional[List["AetherOutputSetting"]] = None,
module_input_settings: Optional[List["AetherInputSetting"]] = None,
use_graph_default_compute: Optional[bool] = None,
use_graph_default_datastore: Optional[bool] = None,
regenerate_output: Optional[bool] = None,
control_inputs: Optional[List["AetherControlInput"]] = None,
cloud_settings: Optional["AetherCloudSettings"] = None,
execution_phase: Optional[Union[str, "AetherExecutionPhase"]] = None,
run_attribution: Optional[str] = None,
**kwargs
):
"""
:keyword graph_id:
:paramtype graph_id: str
:keyword default_compute:
:paramtype default_compute: ~flow.models.AetherComputeSetting
:keyword default_datastore:
:paramtype default_datastore: ~flow.models.AetherDatastoreSetting
:keyword id:
:paramtype id: str
:keyword module_id:
:paramtype module_id: str
:keyword comment:
:paramtype comment: str
:keyword name:
:paramtype name: str
:keyword module_parameters:
:paramtype module_parameters: list[~flow.models.AetherParameterAssignment]
:keyword module_metadata_parameters:
:paramtype module_metadata_parameters: list[~flow.models.AetherParameterAssignment]
:keyword module_output_settings:
:paramtype module_output_settings: list[~flow.models.AetherOutputSetting]
:keyword module_input_settings:
:paramtype module_input_settings: list[~flow.models.AetherInputSetting]
:keyword use_graph_default_compute:
:paramtype use_graph_default_compute: bool
:keyword use_graph_default_datastore:
:paramtype use_graph_default_datastore: bool
:keyword regenerate_output:
:paramtype regenerate_output: bool
:keyword control_inputs:
:paramtype control_inputs: list[~flow.models.AetherControlInput]
:keyword cloud_settings:
:paramtype cloud_settings: ~flow.models.AetherCloudSettings
:keyword execution_phase: Possible values include: "Execution", "Initialization",
"Finalization".
:paramtype execution_phase: str or ~flow.models.AetherExecutionPhase
:keyword run_attribution:
:paramtype run_attribution: str
"""
super(AetherGraphReferenceNode, self).__init__(**kwargs)
self.graph_id = graph_id
self.default_compute = default_compute
self.default_datastore = default_datastore
self.id = id
self.module_id = module_id
self.comment = comment
self.name = name
self.module_parameters = module_parameters
self.module_metadata_parameters = module_metadata_parameters
self.module_output_settings = module_output_settings
self.module_input_settings = module_input_settings
self.use_graph_default_compute = use_graph_default_compute
self.use_graph_default_datastore = use_graph_default_datastore
self.regenerate_output = regenerate_output
self.control_inputs = control_inputs
self.cloud_settings = cloud_settings
self.execution_phase = execution_phase
self.run_attribution = run_attribution
class AetherHdfsReference(msrest.serialization.Model):
"""AetherHdfsReference.
:ivar aml_data_store_name:
:vartype aml_data_store_name: str
:ivar relative_path:
:vartype relative_path: str
"""
_attribute_map = {
'aml_data_store_name': {'key': 'amlDataStoreName', 'type': 'str'},
'relative_path': {'key': 'relativePath', 'type': 'str'},
}
def __init__(
self,
*,
aml_data_store_name: Optional[str] = None,
relative_path: Optional[str] = None,
**kwargs
):
"""
:keyword aml_data_store_name:
:paramtype aml_data_store_name: str
:keyword relative_path:
:paramtype relative_path: str
"""
super(AetherHdfsReference, self).__init__(**kwargs)
self.aml_data_store_name = aml_data_store_name
self.relative_path = relative_path
class AetherHdiClusterComputeInfo(msrest.serialization.Model):
"""AetherHdiClusterComputeInfo.
:ivar address:
:vartype address: str
:ivar username:
:vartype username: str
:ivar password:
:vartype password: str
:ivar private_key:
:vartype private_key: str
"""
_attribute_map = {
'address': {'key': 'address', 'type': 'str'},
'username': {'key': 'username', 'type': 'str'},
'password': {'key': 'password', 'type': 'str'},
'private_key': {'key': 'privateKey', 'type': 'str'},
}
def __init__(
self,
*,
address: Optional[str] = None,
username: Optional[str] = None,
password: Optional[str] = None,
private_key: Optional[str] = None,
**kwargs
):
"""
:keyword address:
:paramtype address: str
:keyword username:
:paramtype username: str
:keyword password:
:paramtype password: str
:keyword private_key:
:paramtype private_key: str
"""
super(AetherHdiClusterComputeInfo, self).__init__(**kwargs)
self.address = address
self.username = username
self.password = password
self.private_key = private_key
class AetherHdiRunConfiguration(msrest.serialization.Model):
"""AetherHdiRunConfiguration.
:ivar file:
:vartype file: str
:ivar class_name:
:vartype class_name: str
:ivar files:
:vartype files: list[str]
:ivar archives:
:vartype archives: list[str]
:ivar jars:
:vartype jars: list[str]
:ivar py_files:
:vartype py_files: list[str]
:ivar compute_name:
:vartype compute_name: str
:ivar queue:
:vartype queue: str
:ivar driver_memory:
:vartype driver_memory: str
:ivar driver_cores:
:vartype driver_cores: int
:ivar executor_memory:
:vartype executor_memory: str
:ivar executor_cores:
:vartype executor_cores: int
:ivar number_executors:
:vartype number_executors: int
:ivar conf: Dictionary of :code:`<string>`.
:vartype conf: dict[str, str]
:ivar name:
:vartype name: str
"""
_attribute_map = {
'file': {'key': 'file', 'type': 'str'},
'class_name': {'key': 'className', 'type': 'str'},
'files': {'key': 'files', 'type': '[str]'},
'archives': {'key': 'archives', 'type': '[str]'},
'jars': {'key': 'jars', 'type': '[str]'},
'py_files': {'key': 'pyFiles', 'type': '[str]'},
'compute_name': {'key': 'computeName', 'type': 'str'},
'queue': {'key': 'queue', 'type': 'str'},
'driver_memory': {'key': 'driverMemory', 'type': 'str'},
'driver_cores': {'key': 'driverCores', 'type': 'int'},
'executor_memory': {'key': 'executorMemory', 'type': 'str'},
'executor_cores': {'key': 'executorCores', 'type': 'int'},
'number_executors': {'key': 'numberExecutors', 'type': 'int'},
'conf': {'key': 'conf', 'type': '{str}'},
'name': {'key': 'name', 'type': 'str'},
}
def __init__(
self,
*,
file: Optional[str] = None,
class_name: Optional[str] = None,
files: Optional[List[str]] = None,
archives: Optional[List[str]] = None,
jars: Optional[List[str]] = None,
py_files: Optional[List[str]] = None,
compute_name: Optional[str] = None,
queue: Optional[str] = None,
driver_memory: Optional[str] = None,
driver_cores: Optional[int] = None,
executor_memory: Optional[str] = None,
executor_cores: Optional[int] = None,
number_executors: Optional[int] = None,
conf: Optional[Dict[str, str]] = None,
name: Optional[str] = None,
**kwargs
):
"""
:keyword file:
:paramtype file: str
:keyword class_name:
:paramtype class_name: str
:keyword files:
:paramtype files: list[str]
:keyword archives:
:paramtype archives: list[str]
:keyword jars:
:paramtype jars: list[str]
:keyword py_files:
:paramtype py_files: list[str]
:keyword compute_name:
:paramtype compute_name: str
:keyword queue:
:paramtype queue: str
:keyword driver_memory:
:paramtype driver_memory: str
:keyword driver_cores:
:paramtype driver_cores: int
:keyword executor_memory:
:paramtype executor_memory: str
:keyword executor_cores:
:paramtype executor_cores: int
:keyword number_executors:
:paramtype number_executors: int
:keyword conf: Dictionary of :code:`<string>`.
:paramtype conf: dict[str, str]
:keyword name:
:paramtype name: str
"""
super(AetherHdiRunConfiguration, self).__init__(**kwargs)
self.file = file
self.class_name = class_name
self.files = files
self.archives = archives
self.jars = jars
self.py_files = py_files
self.compute_name = compute_name
self.queue = queue
self.driver_memory = driver_memory
self.driver_cores = driver_cores
self.executor_memory = executor_memory
self.executor_cores = executor_cores
self.number_executors = number_executors
self.conf = conf
self.name = name
class AetherHyperDriveConfiguration(msrest.serialization.Model):
"""AetherHyperDriveConfiguration.
:ivar hyper_drive_run_config:
:vartype hyper_drive_run_config: str
:ivar primary_metric_goal:
:vartype primary_metric_goal: str
:ivar primary_metric_name:
:vartype primary_metric_name: str
:ivar arguments:
:vartype arguments: list[~flow.models.AetherArgumentAssignment]
"""
_attribute_map = {
'hyper_drive_run_config': {'key': 'hyperDriveRunConfig', 'type': 'str'},
'primary_metric_goal': {'key': 'primaryMetricGoal', 'type': 'str'},
'primary_metric_name': {'key': 'primaryMetricName', 'type': 'str'},
'arguments': {'key': 'arguments', 'type': '[AetherArgumentAssignment]'},
}
def __init__(
self,
*,
hyper_drive_run_config: Optional[str] = None,
primary_metric_goal: Optional[str] = None,
primary_metric_name: Optional[str] = None,
arguments: Optional[List["AetherArgumentAssignment"]] = None,
**kwargs
):
"""
:keyword hyper_drive_run_config:
:paramtype hyper_drive_run_config: str
:keyword primary_metric_goal:
:paramtype primary_metric_goal: str
:keyword primary_metric_name:
:paramtype primary_metric_name: str
:keyword arguments:
:paramtype arguments: list[~flow.models.AetherArgumentAssignment]
"""
super(AetherHyperDriveConfiguration, self).__init__(**kwargs)
self.hyper_drive_run_config = hyper_drive_run_config
self.primary_metric_goal = primary_metric_goal
self.primary_metric_name = primary_metric_name
self.arguments = arguments
class AetherIdentitySetting(msrest.serialization.Model):
"""AetherIdentitySetting.
:ivar type: Possible values include: "UserIdentity", "Managed", "AMLToken".
:vartype type: str or ~flow.models.AetherIdentityType
:ivar client_id:
:vartype client_id: str
:ivar object_id:
:vartype object_id: str
:ivar msi_resource_id:
:vartype msi_resource_id: str
"""
_attribute_map = {
'type': {'key': 'type', 'type': 'str'},
'client_id': {'key': 'clientId', 'type': 'str'},
'object_id': {'key': 'objectId', 'type': 'str'},
'msi_resource_id': {'key': 'msiResourceId', 'type': 'str'},
}
def __init__(
self,
*,
type: Optional[Union[str, "AetherIdentityType"]] = None,
client_id: Optional[str] = None,
object_id: Optional[str] = None,
msi_resource_id: Optional[str] = None,
**kwargs
):
"""
:keyword type: Possible values include: "UserIdentity", "Managed", "AMLToken".
:paramtype type: str or ~flow.models.AetherIdentityType
:keyword client_id:
:paramtype client_id: str
:keyword object_id:
:paramtype object_id: str
:keyword msi_resource_id:
:paramtype msi_resource_id: str
"""
super(AetherIdentitySetting, self).__init__(**kwargs)
self.type = type
self.client_id = client_id
self.object_id = object_id
self.msi_resource_id = msi_resource_id
class AetherImportDataTask(msrest.serialization.Model):
"""AetherImportDataTask.
:ivar data_transfer_source:
:vartype data_transfer_source: ~flow.models.AetherDataTransferSource
"""
_attribute_map = {
'data_transfer_source': {'key': 'DataTransferSource', 'type': 'AetherDataTransferSource'},
}
def __init__(
self,
*,
data_transfer_source: Optional["AetherDataTransferSource"] = None,
**kwargs
):
"""
:keyword data_transfer_source:
:paramtype data_transfer_source: ~flow.models.AetherDataTransferSource
"""
super(AetherImportDataTask, self).__init__(**kwargs)
self.data_transfer_source = data_transfer_source
class AetherInputSetting(msrest.serialization.Model):
"""AetherInputSetting.
:ivar name:
:vartype name: str
:ivar data_store_mode: Possible values include: "None", "Mount", "Download", "Upload",
"Direct", "Hdfs", "Link".
:vartype data_store_mode: str or ~flow.models.AetherDataStoreMode
:ivar path_on_compute:
:vartype path_on_compute: str
:ivar options: This is a dictionary.
:vartype options: dict[str, str]
:ivar additional_transformations:
:vartype additional_transformations: str
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'data_store_mode': {'key': 'dataStoreMode', 'type': 'str'},
'path_on_compute': {'key': 'pathOnCompute', 'type': 'str'},
'options': {'key': 'options', 'type': '{str}'},
'additional_transformations': {'key': 'additionalTransformations', 'type': 'str'},
}
def __init__(
self,
*,
name: Optional[str] = None,
data_store_mode: Optional[Union[str, "AetherDataStoreMode"]] = None,
path_on_compute: Optional[str] = None,
options: Optional[Dict[str, str]] = None,
additional_transformations: Optional[str] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword data_store_mode: Possible values include: "None", "Mount", "Download", "Upload",
"Direct", "Hdfs", "Link".
:paramtype data_store_mode: str or ~flow.models.AetherDataStoreMode
:keyword path_on_compute:
:paramtype path_on_compute: str
:keyword options: This is a dictionary.
:paramtype options: dict[str, str]
:keyword additional_transformations:
:paramtype additional_transformations: str
"""
super(AetherInputSetting, self).__init__(**kwargs)
self.name = name
self.data_store_mode = data_store_mode
self.path_on_compute = path_on_compute
self.options = options
self.additional_transformations = additional_transformations
class AetherInteractiveConfig(msrest.serialization.Model):
"""AetherInteractiveConfig.
:ivar is_ssh_enabled:
:vartype is_ssh_enabled: bool
:ivar ssh_public_key:
:vartype ssh_public_key: str
:ivar is_i_python_enabled:
:vartype is_i_python_enabled: bool
:ivar is_tensor_board_enabled:
:vartype is_tensor_board_enabled: bool
:ivar interactive_port:
:vartype interactive_port: int
"""
_attribute_map = {
'is_ssh_enabled': {'key': 'isSSHEnabled', 'type': 'bool'},
'ssh_public_key': {'key': 'sshPublicKey', 'type': 'str'},
'is_i_python_enabled': {'key': 'isIPythonEnabled', 'type': 'bool'},
'is_tensor_board_enabled': {'key': 'isTensorBoardEnabled', 'type': 'bool'},
'interactive_port': {'key': 'interactivePort', 'type': 'int'},
}
def __init__(
self,
*,
is_ssh_enabled: Optional[bool] = None,
ssh_public_key: Optional[str] = None,
is_i_python_enabled: Optional[bool] = None,
is_tensor_board_enabled: Optional[bool] = None,
interactive_port: Optional[int] = None,
**kwargs
):
"""
:keyword is_ssh_enabled:
:paramtype is_ssh_enabled: bool
:keyword ssh_public_key:
:paramtype ssh_public_key: str
:keyword is_i_python_enabled:
:paramtype is_i_python_enabled: bool
:keyword is_tensor_board_enabled:
:paramtype is_tensor_board_enabled: bool
:keyword interactive_port:
:paramtype interactive_port: int
"""
super(AetherInteractiveConfig, self).__init__(**kwargs)
self.is_ssh_enabled = is_ssh_enabled
self.ssh_public_key = ssh_public_key
self.is_i_python_enabled = is_i_python_enabled
self.is_tensor_board_enabled = is_tensor_board_enabled
self.interactive_port = interactive_port
class AetherK8SConfiguration(msrest.serialization.Model):
"""AetherK8SConfiguration.
:ivar max_retry_count:
:vartype max_retry_count: int
:ivar resource_configuration:
:vartype resource_configuration: ~flow.models.AetherResourceConfig
:ivar priority_configuration:
:vartype priority_configuration: ~flow.models.AetherPriorityConfig
:ivar interactive_configuration:
:vartype interactive_configuration: ~flow.models.AetherInteractiveConfig
"""
_attribute_map = {
'max_retry_count': {'key': 'maxRetryCount', 'type': 'int'},
'resource_configuration': {'key': 'resourceConfiguration', 'type': 'AetherResourceConfig'},
'priority_configuration': {'key': 'priorityConfiguration', 'type': 'AetherPriorityConfig'},
'interactive_configuration': {'key': 'interactiveConfiguration', 'type': 'AetherInteractiveConfig'},
}
def __init__(
self,
*,
max_retry_count: Optional[int] = None,
resource_configuration: Optional["AetherResourceConfig"] = None,
priority_configuration: Optional["AetherPriorityConfig"] = None,
interactive_configuration: Optional["AetherInteractiveConfig"] = None,
**kwargs
):
"""
:keyword max_retry_count:
:paramtype max_retry_count: int
:keyword resource_configuration:
:paramtype resource_configuration: ~flow.models.AetherResourceConfig
:keyword priority_configuration:
:paramtype priority_configuration: ~flow.models.AetherPriorityConfig
:keyword interactive_configuration:
:paramtype interactive_configuration: ~flow.models.AetherInteractiveConfig
"""
super(AetherK8SConfiguration, self).__init__(**kwargs)
self.max_retry_count = max_retry_count
self.resource_configuration = resource_configuration
self.priority_configuration = priority_configuration
self.interactive_configuration = interactive_configuration
class AetherLegacyDataPath(msrest.serialization.Model):
"""AetherLegacyDataPath.
:ivar data_store_name:
:vartype data_store_name: str
:ivar data_store_mode: Possible values include: "None", "Mount", "Download", "Upload",
"Direct", "Hdfs", "Link".
:vartype data_store_mode: str or ~flow.models.AetherDataStoreMode
:ivar relative_path:
:vartype relative_path: str
"""
_attribute_map = {
'data_store_name': {'key': 'dataStoreName', 'type': 'str'},
'data_store_mode': {'key': 'dataStoreMode', 'type': 'str'},
'relative_path': {'key': 'relativePath', 'type': 'str'},
}
def __init__(
self,
*,
data_store_name: Optional[str] = None,
data_store_mode: Optional[Union[str, "AetherDataStoreMode"]] = None,
relative_path: Optional[str] = None,
**kwargs
):
"""
:keyword data_store_name:
:paramtype data_store_name: str
:keyword data_store_mode: Possible values include: "None", "Mount", "Download", "Upload",
"Direct", "Hdfs", "Link".
:paramtype data_store_mode: str or ~flow.models.AetherDataStoreMode
:keyword relative_path:
:paramtype relative_path: str
"""
super(AetherLegacyDataPath, self).__init__(**kwargs)
self.data_store_name = data_store_name
self.data_store_mode = data_store_mode
self.relative_path = relative_path
class AetherLimitSettings(msrest.serialization.Model):
"""AetherLimitSettings.
:ivar max_trials:
:vartype max_trials: int
:ivar timeout:
:vartype timeout: str
:ivar trial_timeout:
:vartype trial_timeout: str
:ivar max_concurrent_trials:
:vartype max_concurrent_trials: int
:ivar max_cores_per_trial:
:vartype max_cores_per_trial: int
:ivar exit_score:
:vartype exit_score: float
:ivar enable_early_termination:
:vartype enable_early_termination: bool
:ivar max_nodes:
:vartype max_nodes: int
"""
_attribute_map = {
'max_trials': {'key': 'maxTrials', 'type': 'int'},
'timeout': {'key': 'timeout', 'type': 'str'},
'trial_timeout': {'key': 'trialTimeout', 'type': 'str'},
'max_concurrent_trials': {'key': 'maxConcurrentTrials', 'type': 'int'},
'max_cores_per_trial': {'key': 'maxCoresPerTrial', 'type': 'int'},
'exit_score': {'key': 'exitScore', 'type': 'float'},
'enable_early_termination': {'key': 'enableEarlyTermination', 'type': 'bool'},
'max_nodes': {'key': 'maxNodes', 'type': 'int'},
}
def __init__(
self,
*,
max_trials: Optional[int] = None,
timeout: Optional[str] = None,
trial_timeout: Optional[str] = None,
max_concurrent_trials: Optional[int] = None,
max_cores_per_trial: Optional[int] = None,
exit_score: Optional[float] = None,
enable_early_termination: Optional[bool] = None,
max_nodes: Optional[int] = None,
**kwargs
):
"""
:keyword max_trials:
:paramtype max_trials: int
:keyword timeout:
:paramtype timeout: str
:keyword trial_timeout:
:paramtype trial_timeout: str
:keyword max_concurrent_trials:
:paramtype max_concurrent_trials: int
:keyword max_cores_per_trial:
:paramtype max_cores_per_trial: int
:keyword exit_score:
:paramtype exit_score: float
:keyword enable_early_termination:
:paramtype enable_early_termination: bool
:keyword max_nodes:
:paramtype max_nodes: int
"""
super(AetherLimitSettings, self).__init__(**kwargs)
self.max_trials = max_trials
self.timeout = timeout
self.trial_timeout = trial_timeout
self.max_concurrent_trials = max_concurrent_trials
self.max_cores_per_trial = max_cores_per_trial
self.exit_score = exit_score
self.enable_early_termination = enable_early_termination
self.max_nodes = max_nodes
class AetherMlcComputeInfo(msrest.serialization.Model):
"""AetherMlcComputeInfo.
:ivar mlc_compute_type:
:vartype mlc_compute_type: str
"""
_attribute_map = {
'mlc_compute_type': {'key': 'mlcComputeType', 'type': 'str'},
}
def __init__(
self,
*,
mlc_compute_type: Optional[str] = None,
**kwargs
):
"""
:keyword mlc_compute_type:
:paramtype mlc_compute_type: str
"""
super(AetherMlcComputeInfo, self).__init__(**kwargs)
self.mlc_compute_type = mlc_compute_type
class AetherModuleEntity(msrest.serialization.Model):
"""AetherModuleEntity.
:ivar last_updated_by:
:vartype last_updated_by: ~flow.models.AetherCreatedBy
:ivar display_name:
:vartype display_name: str
:ivar module_execution_type:
:vartype module_execution_type: str
:ivar module_type: Possible values include: "None", "BatchInferencing".
:vartype module_type: str or ~flow.models.AetherModuleType
:ivar module_type_version:
:vartype module_type_version: str
:ivar resource_requirements:
:vartype resource_requirements: ~flow.models.AetherResourceModel
:ivar machine_cluster:
:vartype machine_cluster: list[str]
:ivar default_compliance_cluster:
:vartype default_compliance_cluster: str
:ivar repository_type: Possible values include: "None", "Other", "Git", "SourceDepot",
"Cosmos".
:vartype repository_type: str or ~flow.models.AetherRepositoryType
:ivar relative_path_to_source_code:
:vartype relative_path_to_source_code: str
:ivar commit_id:
:vartype commit_id: str
:ivar code_review_link:
:vartype code_review_link: str
:ivar unit_tests_available:
:vartype unit_tests_available: bool
:ivar is_compressed:
:vartype is_compressed: bool
:ivar execution_environment: Possible values include: "ExeWorkerMachine",
"DockerContainerWithoutNetwork", "DockerContainerWithNetwork", "HyperVWithoutNetwork",
"HyperVWithNetwork".
:vartype execution_environment: str or ~flow.models.AetherExecutionEnvironment
:ivar is_output_markup_enabled:
:vartype is_output_markup_enabled: bool
:ivar docker_image_id:
:vartype docker_image_id: str
:ivar docker_image_reference:
:vartype docker_image_reference: str
:ivar docker_image_security_groups:
:vartype docker_image_security_groups: str
:ivar extended_properties:
:vartype extended_properties: ~flow.models.AetherModuleExtendedProperties
:ivar deployment_source: Possible values include: "Client", "AutoDeployment", "Vsts".
:vartype deployment_source: str or ~flow.models.AetherModuleDeploymentSource
:ivar deployment_source_metadata:
:vartype deployment_source_metadata: str
:ivar identifier_hash:
:vartype identifier_hash: str
:ivar identifier_hash_v2:
:vartype identifier_hash_v2: str
:ivar kv_tags: This is a dictionary.
:vartype kv_tags: dict[str, str]
:ivar properties: This is a dictionary.
:vartype properties: dict[str, str]
:ivar created_by:
:vartype created_by: ~flow.models.AetherCreatedBy
:ivar runconfig:
:vartype runconfig: str
:ivar cloud_settings:
:vartype cloud_settings: ~flow.models.AetherCloudSettings
:ivar category:
:vartype category: str
:ivar step_type:
:vartype step_type: str
:ivar stage:
:vartype stage: str
:ivar upload_state: Possible values include: "Uploading", "Completed", "Canceled", "Failed".
:vartype upload_state: str or ~flow.models.AetherUploadState
:ivar source_code_location:
:vartype source_code_location: str
:ivar size_in_bytes:
:vartype size_in_bytes: long
:ivar download_location:
:vartype download_location: str
:ivar data_location:
:vartype data_location: ~flow.models.AetherDataLocation
:ivar scripting_runtime_id:
:vartype scripting_runtime_id: str
:ivar interface_documentation:
:vartype interface_documentation: ~flow.models.AetherEntityInterfaceDocumentation
:ivar is_eyes_on:
:vartype is_eyes_on: bool
:ivar compliance_cluster:
:vartype compliance_cluster: str
:ivar is_deterministic:
:vartype is_deterministic: bool
:ivar information_url:
:vartype information_url: str
:ivar is_experiment_id_in_parameters:
:vartype is_experiment_id_in_parameters: bool
:ivar interface_string:
:vartype interface_string: str
:ivar default_parameters: This is a dictionary.
:vartype default_parameters: dict[str, str]
:ivar structured_interface:
:vartype structured_interface: ~flow.models.AetherStructuredInterface
:ivar family_id:
:vartype family_id: str
:ivar name:
:vartype name: str
:ivar hash:
:vartype hash: str
:ivar description:
:vartype description: str
:ivar version:
:vartype version: str
:ivar sequence_number_in_family:
:vartype sequence_number_in_family: int
:ivar owner:
:vartype owner: str
:ivar azure_tenant_id:
:vartype azure_tenant_id: str
:ivar azure_user_id:
:vartype azure_user_id: str
:ivar collaborators:
:vartype collaborators: list[str]
:ivar id:
:vartype id: str
:ivar workspace_id:
:vartype workspace_id: str
:ivar etag:
:vartype etag: str
:ivar tags: A set of tags.
:vartype tags: list[str]
:ivar created_date:
:vartype created_date: ~datetime.datetime
:ivar last_modified_date:
:vartype last_modified_date: ~datetime.datetime
:ivar entity_status: Possible values include: "Active", "Deprecated", "Disabled".
:vartype entity_status: str or ~flow.models.AetherEntityStatus
"""
_attribute_map = {
'last_updated_by': {'key': 'lastUpdatedBy', 'type': 'AetherCreatedBy'},
'display_name': {'key': 'displayName', 'type': 'str'},
'module_execution_type': {'key': 'moduleExecutionType', 'type': 'str'},
'module_type': {'key': 'moduleType', 'type': 'str'},
'module_type_version': {'key': 'moduleTypeVersion', 'type': 'str'},
'resource_requirements': {'key': 'resourceRequirements', 'type': 'AetherResourceModel'},
'machine_cluster': {'key': 'machineCluster', 'type': '[str]'},
'default_compliance_cluster': {'key': 'defaultComplianceCluster', 'type': 'str'},
'repository_type': {'key': 'repositoryType', 'type': 'str'},
'relative_path_to_source_code': {'key': 'relativePathToSourceCode', 'type': 'str'},
'commit_id': {'key': 'commitId', 'type': 'str'},
'code_review_link': {'key': 'codeReviewLink', 'type': 'str'},
'unit_tests_available': {'key': 'unitTestsAvailable', 'type': 'bool'},
'is_compressed': {'key': 'isCompressed', 'type': 'bool'},
'execution_environment': {'key': 'executionEnvironment', 'type': 'str'},
'is_output_markup_enabled': {'key': 'isOutputMarkupEnabled', 'type': 'bool'},
'docker_image_id': {'key': 'dockerImageId', 'type': 'str'},
'docker_image_reference': {'key': 'dockerImageReference', 'type': 'str'},
'docker_image_security_groups': {'key': 'dockerImageSecurityGroups', 'type': 'str'},
'extended_properties': {'key': 'extendedProperties', 'type': 'AetherModuleExtendedProperties'},
'deployment_source': {'key': 'deploymentSource', 'type': 'str'},
'deployment_source_metadata': {'key': 'deploymentSourceMetadata', 'type': 'str'},
'identifier_hash': {'key': 'identifierHash', 'type': 'str'},
'identifier_hash_v2': {'key': 'identifierHashV2', 'type': 'str'},
'kv_tags': {'key': 'kvTags', 'type': '{str}'},
'properties': {'key': 'properties', 'type': '{str}'},
'created_by': {'key': 'createdBy', 'type': 'AetherCreatedBy'},
'runconfig': {'key': 'runconfig', 'type': 'str'},
'cloud_settings': {'key': 'cloudSettings', 'type': 'AetherCloudSettings'},
'category': {'key': 'category', 'type': 'str'},
'step_type': {'key': 'stepType', 'type': 'str'},
'stage': {'key': 'stage', 'type': 'str'},
'upload_state': {'key': 'uploadState', 'type': 'str'},
'source_code_location': {'key': 'sourceCodeLocation', 'type': 'str'},
'size_in_bytes': {'key': 'sizeInBytes', 'type': 'long'},
'download_location': {'key': 'downloadLocation', 'type': 'str'},
'data_location': {'key': 'dataLocation', 'type': 'AetherDataLocation'},
'scripting_runtime_id': {'key': 'scriptingRuntimeId', 'type': 'str'},
'interface_documentation': {'key': 'interfaceDocumentation', 'type': 'AetherEntityInterfaceDocumentation'},
'is_eyes_on': {'key': 'isEyesOn', 'type': 'bool'},
'compliance_cluster': {'key': 'complianceCluster', 'type': 'str'},
'is_deterministic': {'key': 'isDeterministic', 'type': 'bool'},
'information_url': {'key': 'informationUrl', 'type': 'str'},
'is_experiment_id_in_parameters': {'key': 'isExperimentIdInParameters', 'type': 'bool'},
'interface_string': {'key': 'interfaceString', 'type': 'str'},
'default_parameters': {'key': 'defaultParameters', 'type': '{str}'},
'structured_interface': {'key': 'structuredInterface', 'type': 'AetherStructuredInterface'},
'family_id': {'key': 'familyId', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'hash': {'key': 'hash', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'version': {'key': 'version', 'type': 'str'},
'sequence_number_in_family': {'key': 'sequenceNumberInFamily', 'type': 'int'},
'owner': {'key': 'owner', 'type': 'str'},
'azure_tenant_id': {'key': 'azureTenantId', 'type': 'str'},
'azure_user_id': {'key': 'azureUserId', 'type': 'str'},
'collaborators': {'key': 'collaborators', 'type': '[str]'},
'id': {'key': 'id', 'type': 'str'},
'workspace_id': {'key': 'workspaceId', 'type': 'str'},
'etag': {'key': 'etag', 'type': 'str'},
'tags': {'key': 'tags', 'type': '[str]'},
'created_date': {'key': 'createdDate', 'type': 'iso-8601'},
'last_modified_date': {'key': 'lastModifiedDate', 'type': 'iso-8601'},
'entity_status': {'key': 'entityStatus', 'type': 'str'},
}
def __init__(
self,
*,
last_updated_by: Optional["AetherCreatedBy"] = None,
display_name: Optional[str] = None,
module_execution_type: Optional[str] = None,
module_type: Optional[Union[str, "AetherModuleType"]] = None,
module_type_version: Optional[str] = None,
resource_requirements: Optional["AetherResourceModel"] = None,
machine_cluster: Optional[List[str]] = None,
default_compliance_cluster: Optional[str] = None,
repository_type: Optional[Union[str, "AetherRepositoryType"]] = None,
relative_path_to_source_code: Optional[str] = None,
commit_id: Optional[str] = None,
code_review_link: Optional[str] = None,
unit_tests_available: Optional[bool] = None,
is_compressed: Optional[bool] = None,
execution_environment: Optional[Union[str, "AetherExecutionEnvironment"]] = None,
is_output_markup_enabled: Optional[bool] = None,
docker_image_id: Optional[str] = None,
docker_image_reference: Optional[str] = None,
docker_image_security_groups: Optional[str] = None,
extended_properties: Optional["AetherModuleExtendedProperties"] = None,
deployment_source: Optional[Union[str, "AetherModuleDeploymentSource"]] = None,
deployment_source_metadata: Optional[str] = None,
identifier_hash: Optional[str] = None,
identifier_hash_v2: Optional[str] = None,
kv_tags: Optional[Dict[str, str]] = None,
properties: Optional[Dict[str, str]] = None,
created_by: Optional["AetherCreatedBy"] = None,
runconfig: Optional[str] = None,
cloud_settings: Optional["AetherCloudSettings"] = None,
category: Optional[str] = None,
step_type: Optional[str] = None,
stage: Optional[str] = None,
upload_state: Optional[Union[str, "AetherUploadState"]] = None,
source_code_location: Optional[str] = None,
size_in_bytes: Optional[int] = None,
download_location: Optional[str] = None,
data_location: Optional["AetherDataLocation"] = None,
scripting_runtime_id: Optional[str] = None,
interface_documentation: Optional["AetherEntityInterfaceDocumentation"] = None,
is_eyes_on: Optional[bool] = None,
compliance_cluster: Optional[str] = None,
is_deterministic: Optional[bool] = None,
information_url: Optional[str] = None,
is_experiment_id_in_parameters: Optional[bool] = None,
interface_string: Optional[str] = None,
default_parameters: Optional[Dict[str, str]] = None,
structured_interface: Optional["AetherStructuredInterface"] = None,
family_id: Optional[str] = None,
name: Optional[str] = None,
hash: Optional[str] = None,
description: Optional[str] = None,
version: Optional[str] = None,
sequence_number_in_family: Optional[int] = None,
owner: Optional[str] = None,
azure_tenant_id: Optional[str] = None,
azure_user_id: Optional[str] = None,
collaborators: Optional[List[str]] = None,
id: Optional[str] = None,
workspace_id: Optional[str] = None,
etag: Optional[str] = None,
tags: Optional[List[str]] = None,
created_date: Optional[datetime.datetime] = None,
last_modified_date: Optional[datetime.datetime] = None,
entity_status: Optional[Union[str, "AetherEntityStatus"]] = None,
**kwargs
):
"""
:keyword last_updated_by:
:paramtype last_updated_by: ~flow.models.AetherCreatedBy
:keyword display_name:
:paramtype display_name: str
:keyword module_execution_type:
:paramtype module_execution_type: str
:keyword module_type: Possible values include: "None", "BatchInferencing".
:paramtype module_type: str or ~flow.models.AetherModuleType
:keyword module_type_version:
:paramtype module_type_version: str
:keyword resource_requirements:
:paramtype resource_requirements: ~flow.models.AetherResourceModel
:keyword machine_cluster:
:paramtype machine_cluster: list[str]
:keyword default_compliance_cluster:
:paramtype default_compliance_cluster: str
:keyword repository_type: Possible values include: "None", "Other", "Git", "SourceDepot",
"Cosmos".
:paramtype repository_type: str or ~flow.models.AetherRepositoryType
:keyword relative_path_to_source_code:
:paramtype relative_path_to_source_code: str
:keyword commit_id:
:paramtype commit_id: str
:keyword code_review_link:
:paramtype code_review_link: str
:keyword unit_tests_available:
:paramtype unit_tests_available: bool
:keyword is_compressed:
:paramtype is_compressed: bool
:keyword execution_environment: Possible values include: "ExeWorkerMachine",
"DockerContainerWithoutNetwork", "DockerContainerWithNetwork", "HyperVWithoutNetwork",
"HyperVWithNetwork".
:paramtype execution_environment: str or ~flow.models.AetherExecutionEnvironment
:keyword is_output_markup_enabled:
:paramtype is_output_markup_enabled: bool
:keyword docker_image_id:
:paramtype docker_image_id: str
:keyword docker_image_reference:
:paramtype docker_image_reference: str
:keyword docker_image_security_groups:
:paramtype docker_image_security_groups: str
:keyword extended_properties:
:paramtype extended_properties: ~flow.models.AetherModuleExtendedProperties
:keyword deployment_source: Possible values include: "Client", "AutoDeployment", "Vsts".
:paramtype deployment_source: str or ~flow.models.AetherModuleDeploymentSource
:keyword deployment_source_metadata:
:paramtype deployment_source_metadata: str
:keyword identifier_hash:
:paramtype identifier_hash: str
:keyword identifier_hash_v2:
:paramtype identifier_hash_v2: str
:keyword kv_tags: This is a dictionary.
:paramtype kv_tags: dict[str, str]
:keyword properties: This is a dictionary.
:paramtype properties: dict[str, str]
:keyword created_by:
:paramtype created_by: ~flow.models.AetherCreatedBy
:keyword runconfig:
:paramtype runconfig: str
:keyword cloud_settings:
:paramtype cloud_settings: ~flow.models.AetherCloudSettings
:keyword category:
:paramtype category: str
:keyword step_type:
:paramtype step_type: str
:keyword stage:
:paramtype stage: str
:keyword upload_state: Possible values include: "Uploading", "Completed", "Canceled", "Failed".
:paramtype upload_state: str or ~flow.models.AetherUploadState
:keyword source_code_location:
:paramtype source_code_location: str
:keyword size_in_bytes:
:paramtype size_in_bytes: long
:keyword download_location:
:paramtype download_location: str
:keyword data_location:
:paramtype data_location: ~flow.models.AetherDataLocation
:keyword scripting_runtime_id:
:paramtype scripting_runtime_id: str
:keyword interface_documentation:
:paramtype interface_documentation: ~flow.models.AetherEntityInterfaceDocumentation
:keyword is_eyes_on:
:paramtype is_eyes_on: bool
:keyword compliance_cluster:
:paramtype compliance_cluster: str
:keyword is_deterministic:
:paramtype is_deterministic: bool
:keyword information_url:
:paramtype information_url: str
:keyword is_experiment_id_in_parameters:
:paramtype is_experiment_id_in_parameters: bool
:keyword interface_string:
:paramtype interface_string: str
:keyword default_parameters: This is a dictionary.
:paramtype default_parameters: dict[str, str]
:keyword structured_interface:
:paramtype structured_interface: ~flow.models.AetherStructuredInterface
:keyword family_id:
:paramtype family_id: str
:keyword name:
:paramtype name: str
:keyword hash:
:paramtype hash: str
:keyword description:
:paramtype description: str
:keyword version:
:paramtype version: str
:keyword sequence_number_in_family:
:paramtype sequence_number_in_family: int
:keyword owner:
:paramtype owner: str
:keyword azure_tenant_id:
:paramtype azure_tenant_id: str
:keyword azure_user_id:
:paramtype azure_user_id: str
:keyword collaborators:
:paramtype collaborators: list[str]
:keyword id:
:paramtype id: str
:keyword workspace_id:
:paramtype workspace_id: str
:keyword etag:
:paramtype etag: str
:keyword tags: A set of tags.
:paramtype tags: list[str]
:keyword created_date:
:paramtype created_date: ~datetime.datetime
:keyword last_modified_date:
:paramtype last_modified_date: ~datetime.datetime
:keyword entity_status: Possible values include: "Active", "Deprecated", "Disabled".
:paramtype entity_status: str or ~flow.models.AetherEntityStatus
"""
super(AetherModuleEntity, self).__init__(**kwargs)
self.last_updated_by = last_updated_by
self.display_name = display_name
self.module_execution_type = module_execution_type
self.module_type = module_type
self.module_type_version = module_type_version
self.resource_requirements = resource_requirements
self.machine_cluster = machine_cluster
self.default_compliance_cluster = default_compliance_cluster
self.repository_type = repository_type
self.relative_path_to_source_code = relative_path_to_source_code
self.commit_id = commit_id
self.code_review_link = code_review_link
self.unit_tests_available = unit_tests_available
self.is_compressed = is_compressed
self.execution_environment = execution_environment
self.is_output_markup_enabled = is_output_markup_enabled
self.docker_image_id = docker_image_id
self.docker_image_reference = docker_image_reference
self.docker_image_security_groups = docker_image_security_groups
self.extended_properties = extended_properties
self.deployment_source = deployment_source
self.deployment_source_metadata = deployment_source_metadata
self.identifier_hash = identifier_hash
self.identifier_hash_v2 = identifier_hash_v2
self.kv_tags = kv_tags
self.properties = properties
self.created_by = created_by
self.runconfig = runconfig
self.cloud_settings = cloud_settings
self.category = category
self.step_type = step_type
self.stage = stage
self.upload_state = upload_state
self.source_code_location = source_code_location
self.size_in_bytes = size_in_bytes
self.download_location = download_location
self.data_location = data_location
self.scripting_runtime_id = scripting_runtime_id
self.interface_documentation = interface_documentation
self.is_eyes_on = is_eyes_on
self.compliance_cluster = compliance_cluster
self.is_deterministic = is_deterministic
self.information_url = information_url
self.is_experiment_id_in_parameters = is_experiment_id_in_parameters
self.interface_string = interface_string
self.default_parameters = default_parameters
self.structured_interface = structured_interface
self.family_id = family_id
self.name = name
self.hash = hash
self.description = description
self.version = version
self.sequence_number_in_family = sequence_number_in_family
self.owner = owner
self.azure_tenant_id = azure_tenant_id
self.azure_user_id = azure_user_id
self.collaborators = collaborators
self.id = id
self.workspace_id = workspace_id
self.etag = etag
self.tags = tags
self.created_date = created_date
self.last_modified_date = last_modified_date
self.entity_status = entity_status
class AetherModuleExtendedProperties(msrest.serialization.Model):
"""AetherModuleExtendedProperties.
:ivar auto_deployed_artifact:
:vartype auto_deployed_artifact: ~flow.models.AetherBuildArtifactInfo
:ivar script_needs_approval:
:vartype script_needs_approval: bool
"""
_attribute_map = {
'auto_deployed_artifact': {'key': 'autoDeployedArtifact', 'type': 'AetherBuildArtifactInfo'},
'script_needs_approval': {'key': 'scriptNeedsApproval', 'type': 'bool'},
}
def __init__(
self,
*,
auto_deployed_artifact: Optional["AetherBuildArtifactInfo"] = None,
script_needs_approval: Optional[bool] = None,
**kwargs
):
"""
:keyword auto_deployed_artifact:
:paramtype auto_deployed_artifact: ~flow.models.AetherBuildArtifactInfo
:keyword script_needs_approval:
:paramtype script_needs_approval: bool
"""
super(AetherModuleExtendedProperties, self).__init__(**kwargs)
self.auto_deployed_artifact = auto_deployed_artifact
self.script_needs_approval = script_needs_approval
class AetherNCrossValidations(msrest.serialization.Model):
"""AetherNCrossValidations.
:ivar mode: Possible values include: "Auto", "Custom".
:vartype mode: str or ~flow.models.AetherNCrossValidationMode
:ivar value:
:vartype value: int
"""
_attribute_map = {
'mode': {'key': 'mode', 'type': 'str'},
'value': {'key': 'value', 'type': 'int'},
}
def __init__(
self,
*,
mode: Optional[Union[str, "AetherNCrossValidationMode"]] = None,
value: Optional[int] = None,
**kwargs
):
"""
:keyword mode: Possible values include: "Auto", "Custom".
:paramtype mode: str or ~flow.models.AetherNCrossValidationMode
:keyword value:
:paramtype value: int
"""
super(AetherNCrossValidations, self).__init__(**kwargs)
self.mode = mode
self.value = value
class AetherOutputSetting(msrest.serialization.Model):
"""AetherOutputSetting.
:ivar name:
:vartype name: str
:ivar data_store_name:
:vartype data_store_name: str
:ivar data_store_name_parameter_assignment:
:vartype data_store_name_parameter_assignment: ~flow.models.AetherParameterAssignment
:ivar data_store_mode: Possible values include: "None", "Mount", "Download", "Upload",
"Direct", "Hdfs", "Link".
:vartype data_store_mode: str or ~flow.models.AetherDataStoreMode
:ivar data_store_mode_parameter_assignment:
:vartype data_store_mode_parameter_assignment: ~flow.models.AetherParameterAssignment
:ivar path_on_compute:
:vartype path_on_compute: str
:ivar path_on_compute_parameter_assignment:
:vartype path_on_compute_parameter_assignment: ~flow.models.AetherParameterAssignment
:ivar overwrite:
:vartype overwrite: bool
:ivar data_reference_name:
:vartype data_reference_name: str
:ivar web_service_port:
:vartype web_service_port: str
:ivar dataset_registration:
:vartype dataset_registration: ~flow.models.AetherDatasetRegistration
:ivar dataset_output_options:
:vartype dataset_output_options: ~flow.models.AetherDatasetOutputOptions
:ivar asset_output_settings:
:vartype asset_output_settings: ~flow.models.AetherAssetOutputSettings
:ivar parameter_name:
:vartype parameter_name: str
:ivar asset_output_settings_parameter_name:
:vartype asset_output_settings_parameter_name: str
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'data_store_name': {'key': 'dataStoreName', 'type': 'str'},
'data_store_name_parameter_assignment': {'key': 'DataStoreNameParameterAssignment', 'type': 'AetherParameterAssignment'},
'data_store_mode': {'key': 'dataStoreMode', 'type': 'str'},
'data_store_mode_parameter_assignment': {'key': 'DataStoreModeParameterAssignment', 'type': 'AetherParameterAssignment'},
'path_on_compute': {'key': 'pathOnCompute', 'type': 'str'},
'path_on_compute_parameter_assignment': {'key': 'PathOnComputeParameterAssignment', 'type': 'AetherParameterAssignment'},
'overwrite': {'key': 'overwrite', 'type': 'bool'},
'data_reference_name': {'key': 'dataReferenceName', 'type': 'str'},
'web_service_port': {'key': 'webServicePort', 'type': 'str'},
'dataset_registration': {'key': 'datasetRegistration', 'type': 'AetherDatasetRegistration'},
'dataset_output_options': {'key': 'datasetOutputOptions', 'type': 'AetherDatasetOutputOptions'},
'asset_output_settings': {'key': 'AssetOutputSettings', 'type': 'AetherAssetOutputSettings'},
'parameter_name': {'key': 'parameterName', 'type': 'str'},
'asset_output_settings_parameter_name': {'key': 'AssetOutputSettingsParameterName', 'type': 'str'},
}
def __init__(
self,
*,
name: Optional[str] = None,
data_store_name: Optional[str] = None,
data_store_name_parameter_assignment: Optional["AetherParameterAssignment"] = None,
data_store_mode: Optional[Union[str, "AetherDataStoreMode"]] = None,
data_store_mode_parameter_assignment: Optional["AetherParameterAssignment"] = None,
path_on_compute: Optional[str] = None,
path_on_compute_parameter_assignment: Optional["AetherParameterAssignment"] = None,
overwrite: Optional[bool] = None,
data_reference_name: Optional[str] = None,
web_service_port: Optional[str] = None,
dataset_registration: Optional["AetherDatasetRegistration"] = None,
dataset_output_options: Optional["AetherDatasetOutputOptions"] = None,
asset_output_settings: Optional["AetherAssetOutputSettings"] = None,
parameter_name: Optional[str] = None,
asset_output_settings_parameter_name: Optional[str] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword data_store_name:
:paramtype data_store_name: str
:keyword data_store_name_parameter_assignment:
:paramtype data_store_name_parameter_assignment: ~flow.models.AetherParameterAssignment
:keyword data_store_mode: Possible values include: "None", "Mount", "Download", "Upload",
"Direct", "Hdfs", "Link".
:paramtype data_store_mode: str or ~flow.models.AetherDataStoreMode
:keyword data_store_mode_parameter_assignment:
:paramtype data_store_mode_parameter_assignment: ~flow.models.AetherParameterAssignment
:keyword path_on_compute:
:paramtype path_on_compute: str
:keyword path_on_compute_parameter_assignment:
:paramtype path_on_compute_parameter_assignment: ~flow.models.AetherParameterAssignment
:keyword overwrite:
:paramtype overwrite: bool
:keyword data_reference_name:
:paramtype data_reference_name: str
:keyword web_service_port:
:paramtype web_service_port: str
:keyword dataset_registration:
:paramtype dataset_registration: ~flow.models.AetherDatasetRegistration
:keyword dataset_output_options:
:paramtype dataset_output_options: ~flow.models.AetherDatasetOutputOptions
:keyword asset_output_settings:
:paramtype asset_output_settings: ~flow.models.AetherAssetOutputSettings
:keyword parameter_name:
:paramtype parameter_name: str
:keyword asset_output_settings_parameter_name:
:paramtype asset_output_settings_parameter_name: str
"""
super(AetherOutputSetting, self).__init__(**kwargs)
self.name = name
self.data_store_name = data_store_name
self.data_store_name_parameter_assignment = data_store_name_parameter_assignment
self.data_store_mode = data_store_mode
self.data_store_mode_parameter_assignment = data_store_mode_parameter_assignment
self.path_on_compute = path_on_compute
self.path_on_compute_parameter_assignment = path_on_compute_parameter_assignment
self.overwrite = overwrite
self.data_reference_name = data_reference_name
self.web_service_port = web_service_port
self.dataset_registration = dataset_registration
self.dataset_output_options = dataset_output_options
self.asset_output_settings = asset_output_settings
self.parameter_name = parameter_name
self.asset_output_settings_parameter_name = asset_output_settings_parameter_name
class AetherParallelForControlFlowInfo(msrest.serialization.Model):
"""AetherParallelForControlFlowInfo.
:ivar parallel_for_items_input:
:vartype parallel_for_items_input: ~flow.models.AetherParameterAssignment
"""
_attribute_map = {
'parallel_for_items_input': {'key': 'parallelForItemsInput', 'type': 'AetherParameterAssignment'},
}
def __init__(
self,
*,
parallel_for_items_input: Optional["AetherParameterAssignment"] = None,
**kwargs
):
"""
:keyword parallel_for_items_input:
:paramtype parallel_for_items_input: ~flow.models.AetherParameterAssignment
"""
super(AetherParallelForControlFlowInfo, self).__init__(**kwargs)
self.parallel_for_items_input = parallel_for_items_input
class AetherParameterAssignment(msrest.serialization.Model):
"""AetherParameterAssignment.
:ivar value_type: Possible values include: "Literal", "GraphParameterName", "Concatenate",
"Input", "DataPath", "DataSetDefinition".
:vartype value_type: str or ~flow.models.AetherParameterValueType
:ivar assignments_to_concatenate:
:vartype assignments_to_concatenate: list[~flow.models.AetherParameterAssignment]
:ivar data_path_assignment:
:vartype data_path_assignment: ~flow.models.AetherLegacyDataPath
:ivar data_set_definition_value_assignment:
:vartype data_set_definition_value_assignment: ~flow.models.AetherDataSetDefinitionValue
:ivar name:
:vartype name: str
:ivar value:
:vartype value: str
"""
_attribute_map = {
'value_type': {'key': 'valueType', 'type': 'str'},
'assignments_to_concatenate': {'key': 'assignmentsToConcatenate', 'type': '[AetherParameterAssignment]'},
'data_path_assignment': {'key': 'dataPathAssignment', 'type': 'AetherLegacyDataPath'},
'data_set_definition_value_assignment': {'key': 'dataSetDefinitionValueAssignment', 'type': 'AetherDataSetDefinitionValue'},
'name': {'key': 'name', 'type': 'str'},
'value': {'key': 'value', 'type': 'str'},
}
def __init__(
self,
*,
value_type: Optional[Union[str, "AetherParameterValueType"]] = None,
assignments_to_concatenate: Optional[List["AetherParameterAssignment"]] = None,
data_path_assignment: Optional["AetherLegacyDataPath"] = None,
data_set_definition_value_assignment: Optional["AetherDataSetDefinitionValue"] = None,
name: Optional[str] = None,
value: Optional[str] = None,
**kwargs
):
"""
:keyword value_type: Possible values include: "Literal", "GraphParameterName", "Concatenate",
"Input", "DataPath", "DataSetDefinition".
:paramtype value_type: str or ~flow.models.AetherParameterValueType
:keyword assignments_to_concatenate:
:paramtype assignments_to_concatenate: list[~flow.models.AetherParameterAssignment]
:keyword data_path_assignment:
:paramtype data_path_assignment: ~flow.models.AetherLegacyDataPath
:keyword data_set_definition_value_assignment:
:paramtype data_set_definition_value_assignment: ~flow.models.AetherDataSetDefinitionValue
:keyword name:
:paramtype name: str
:keyword value:
:paramtype value: str
"""
super(AetherParameterAssignment, self).__init__(**kwargs)
self.value_type = value_type
self.assignments_to_concatenate = assignments_to_concatenate
self.data_path_assignment = data_path_assignment
self.data_set_definition_value_assignment = data_set_definition_value_assignment
self.name = name
self.value = value
class AetherPhillyHdfsReference(msrest.serialization.Model):
"""AetherPhillyHdfsReference.
:ivar cluster:
:vartype cluster: str
:ivar vc:
:vartype vc: str
:ivar relative_path:
:vartype relative_path: str
"""
_attribute_map = {
'cluster': {'key': 'cluster', 'type': 'str'},
'vc': {'key': 'vc', 'type': 'str'},
'relative_path': {'key': 'relativePath', 'type': 'str'},
}
def __init__(
self,
*,
cluster: Optional[str] = None,
vc: Optional[str] = None,
relative_path: Optional[str] = None,
**kwargs
):
"""
:keyword cluster:
:paramtype cluster: str
:keyword vc:
:paramtype vc: str
:keyword relative_path:
:paramtype relative_path: str
"""
super(AetherPhillyHdfsReference, self).__init__(**kwargs)
self.cluster = cluster
self.vc = vc
self.relative_path = relative_path
class AetherPortInfo(msrest.serialization.Model):
"""AetherPortInfo.
:ivar node_id:
:vartype node_id: str
:ivar port_name:
:vartype port_name: str
:ivar graph_port_name:
:vartype graph_port_name: str
:ivar is_parameter:
:vartype is_parameter: bool
:ivar web_service_port:
:vartype web_service_port: str
"""
_attribute_map = {
'node_id': {'key': 'nodeId', 'type': 'str'},
'port_name': {'key': 'portName', 'type': 'str'},
'graph_port_name': {'key': 'graphPortName', 'type': 'str'},
'is_parameter': {'key': 'isParameter', 'type': 'bool'},
'web_service_port': {'key': 'webServicePort', 'type': 'str'},
}
def __init__(
self,
*,
node_id: Optional[str] = None,
port_name: Optional[str] = None,
graph_port_name: Optional[str] = None,
is_parameter: Optional[bool] = None,
web_service_port: Optional[str] = None,
**kwargs
):
"""
:keyword node_id:
:paramtype node_id: str
:keyword port_name:
:paramtype port_name: str
:keyword graph_port_name:
:paramtype graph_port_name: str
:keyword is_parameter:
:paramtype is_parameter: bool
:keyword web_service_port:
:paramtype web_service_port: str
"""
super(AetherPortInfo, self).__init__(**kwargs)
self.node_id = node_id
self.port_name = port_name
self.graph_port_name = graph_port_name
self.is_parameter = is_parameter
self.web_service_port = web_service_port
class AetherPriorityConfig(msrest.serialization.Model):
"""AetherPriorityConfig.
:ivar job_priority:
:vartype job_priority: int
:ivar is_preemptible:
:vartype is_preemptible: bool
:ivar node_count_set:
:vartype node_count_set: list[int]
:ivar scale_interval:
:vartype scale_interval: int
"""
_attribute_map = {
'job_priority': {'key': 'jobPriority', 'type': 'int'},
'is_preemptible': {'key': 'isPreemptible', 'type': 'bool'},
'node_count_set': {'key': 'nodeCountSet', 'type': '[int]'},
'scale_interval': {'key': 'scaleInterval', 'type': 'int'},
}
def __init__(
self,
*,
job_priority: Optional[int] = None,
is_preemptible: Optional[bool] = None,
node_count_set: Optional[List[int]] = None,
scale_interval: Optional[int] = None,
**kwargs
):
"""
:keyword job_priority:
:paramtype job_priority: int
:keyword is_preemptible:
:paramtype is_preemptible: bool
:keyword node_count_set:
:paramtype node_count_set: list[int]
:keyword scale_interval:
:paramtype scale_interval: int
"""
super(AetherPriorityConfig, self).__init__(**kwargs)
self.job_priority = job_priority
self.is_preemptible = is_preemptible
self.node_count_set = node_count_set
self.scale_interval = scale_interval
class AetherPriorityConfiguration(msrest.serialization.Model):
"""AetherPriorityConfiguration.
:ivar cloud_priority:
:vartype cloud_priority: int
:ivar string_type_priority:
:vartype string_type_priority: str
"""
_attribute_map = {
'cloud_priority': {'key': 'cloudPriority', 'type': 'int'},
'string_type_priority': {'key': 'stringTypePriority', 'type': 'str'},
}
def __init__(
self,
*,
cloud_priority: Optional[int] = None,
string_type_priority: Optional[str] = None,
**kwargs
):
"""
:keyword cloud_priority:
:paramtype cloud_priority: int
:keyword string_type_priority:
:paramtype string_type_priority: str
"""
super(AetherPriorityConfiguration, self).__init__(**kwargs)
self.cloud_priority = cloud_priority
self.string_type_priority = string_type_priority
class AetherRegisteredDataSetReference(msrest.serialization.Model):
"""AetherRegisteredDataSetReference.
:ivar id:
:vartype id: str
:ivar name:
:vartype name: str
:ivar version:
:vartype version: str
"""
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'version': {'key': 'version', 'type': 'str'},
}
def __init__(
self,
*,
id: Optional[str] = None,
name: Optional[str] = None,
version: Optional[str] = None,
**kwargs
):
"""
:keyword id:
:paramtype id: str
:keyword name:
:paramtype name: str
:keyword version:
:paramtype version: str
"""
super(AetherRegisteredDataSetReference, self).__init__(**kwargs)
self.id = id
self.name = name
self.version = version
class AetherRemoteDockerComputeInfo(msrest.serialization.Model):
"""AetherRemoteDockerComputeInfo.
:ivar address:
:vartype address: str
:ivar username:
:vartype username: str
:ivar password:
:vartype password: str
:ivar private_key:
:vartype private_key: str
"""
_attribute_map = {
'address': {'key': 'address', 'type': 'str'},
'username': {'key': 'username', 'type': 'str'},
'password': {'key': 'password', 'type': 'str'},
'private_key': {'key': 'privateKey', 'type': 'str'},
}
def __init__(
self,
*,
address: Optional[str] = None,
username: Optional[str] = None,
password: Optional[str] = None,
private_key: Optional[str] = None,
**kwargs
):
"""
:keyword address:
:paramtype address: str
:keyword username:
:paramtype username: str
:keyword password:
:paramtype password: str
:keyword private_key:
:paramtype private_key: str
"""
super(AetherRemoteDockerComputeInfo, self).__init__(**kwargs)
self.address = address
self.username = username
self.password = password
self.private_key = private_key
class AetherResourceAssignment(msrest.serialization.Model):
"""AetherResourceAssignment.
:ivar attributes: Dictionary of :code:`<AetherResourceAttributeAssignment>`.
:vartype attributes: dict[str, ~flow.models.AetherResourceAttributeAssignment]
"""
_attribute_map = {
'attributes': {'key': 'attributes', 'type': '{AetherResourceAttributeAssignment}'},
}
def __init__(
self,
*,
attributes: Optional[Dict[str, "AetherResourceAttributeAssignment"]] = None,
**kwargs
):
"""
:keyword attributes: Dictionary of :code:`<AetherResourceAttributeAssignment>`.
:paramtype attributes: dict[str, ~flow.models.AetherResourceAttributeAssignment]
"""
super(AetherResourceAssignment, self).__init__(**kwargs)
self.attributes = attributes
class AetherResourceAttributeAssignment(msrest.serialization.Model):
"""AetherResourceAttributeAssignment.
:ivar attribute:
:vartype attribute: ~flow.models.AetherResourceAttributeDefinition
:ivar operator: Possible values include: "Equal", "Contain", "GreaterOrEqual".
:vartype operator: str or ~flow.models.AetherResourceOperator
:ivar value:
:vartype value: str
"""
_attribute_map = {
'attribute': {'key': 'attribute', 'type': 'AetherResourceAttributeDefinition'},
'operator': {'key': 'operator', 'type': 'str'},
'value': {'key': 'value', 'type': 'str'},
}
def __init__(
self,
*,
attribute: Optional["AetherResourceAttributeDefinition"] = None,
operator: Optional[Union[str, "AetherResourceOperator"]] = None,
value: Optional[str] = None,
**kwargs
):
"""
:keyword attribute:
:paramtype attribute: ~flow.models.AetherResourceAttributeDefinition
:keyword operator: Possible values include: "Equal", "Contain", "GreaterOrEqual".
:paramtype operator: str or ~flow.models.AetherResourceOperator
:keyword value:
:paramtype value: str
"""
super(AetherResourceAttributeAssignment, self).__init__(**kwargs)
self.attribute = attribute
self.operator = operator
self.value = value
class AetherResourceAttributeDefinition(msrest.serialization.Model):
"""AetherResourceAttributeDefinition.
:ivar name:
:vartype name: str
:ivar type: Possible values include: "String", "Double".
:vartype type: str or ~flow.models.AetherResourceValueType
:ivar units:
:vartype units: str
:ivar allowed_operators:
:vartype allowed_operators: list[str or ~flow.models.AetherResourceOperator]
"""
_validation = {
'allowed_operators': {'unique': True},
}
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'units': {'key': 'units', 'type': 'str'},
'allowed_operators': {'key': 'allowedOperators', 'type': '[str]'},
}
def __init__(
self,
*,
name: Optional[str] = None,
type: Optional[Union[str, "AetherResourceValueType"]] = None,
units: Optional[str] = None,
allowed_operators: Optional[List[Union[str, "AetherResourceOperator"]]] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword type: Possible values include: "String", "Double".
:paramtype type: str or ~flow.models.AetherResourceValueType
:keyword units:
:paramtype units: str
:keyword allowed_operators:
:paramtype allowed_operators: list[str or ~flow.models.AetherResourceOperator]
"""
super(AetherResourceAttributeDefinition, self).__init__(**kwargs)
self.name = name
self.type = type
self.units = units
self.allowed_operators = allowed_operators
class AetherResourceConfig(msrest.serialization.Model):
"""AetherResourceConfig.
:ivar gpu_count:
:vartype gpu_count: int
:ivar cpu_count:
:vartype cpu_count: int
:ivar memory_request_in_gb:
:vartype memory_request_in_gb: int
"""
_attribute_map = {
'gpu_count': {'key': 'gpuCount', 'type': 'int'},
'cpu_count': {'key': 'cpuCount', 'type': 'int'},
'memory_request_in_gb': {'key': 'memoryRequestInGB', 'type': 'int'},
}
def __init__(
self,
*,
gpu_count: Optional[int] = None,
cpu_count: Optional[int] = None,
memory_request_in_gb: Optional[int] = None,
**kwargs
):
"""
:keyword gpu_count:
:paramtype gpu_count: int
:keyword cpu_count:
:paramtype cpu_count: int
:keyword memory_request_in_gb:
:paramtype memory_request_in_gb: int
"""
super(AetherResourceConfig, self).__init__(**kwargs)
self.gpu_count = gpu_count
self.cpu_count = cpu_count
self.memory_request_in_gb = memory_request_in_gb
class AetherResourceConfiguration(msrest.serialization.Model):
"""AetherResourceConfiguration.
:ivar instance_count:
:vartype instance_count: int
:ivar instance_type:
:vartype instance_type: str
:ivar properties: Dictionary of :code:`<any>`.
:vartype properties: dict[str, any]
:ivar locations:
:vartype locations: list[str]
:ivar instance_priority:
:vartype instance_priority: str
:ivar quota_enforcement_resource_id:
:vartype quota_enforcement_resource_id: str
"""
_attribute_map = {
'instance_count': {'key': 'instanceCount', 'type': 'int'},
'instance_type': {'key': 'instanceType', 'type': 'str'},
'properties': {'key': 'properties', 'type': '{object}'},
'locations': {'key': 'locations', 'type': '[str]'},
'instance_priority': {'key': 'instancePriority', 'type': 'str'},
'quota_enforcement_resource_id': {'key': 'quotaEnforcementResourceId', 'type': 'str'},
}
def __init__(
self,
*,
instance_count: Optional[int] = None,
instance_type: Optional[str] = None,
properties: Optional[Dict[str, Any]] = None,
locations: Optional[List[str]] = None,
instance_priority: Optional[str] = None,
quota_enforcement_resource_id: Optional[str] = None,
**kwargs
):
"""
:keyword instance_count:
:paramtype instance_count: int
:keyword instance_type:
:paramtype instance_type: str
:keyword properties: Dictionary of :code:`<any>`.
:paramtype properties: dict[str, any]
:keyword locations:
:paramtype locations: list[str]
:keyword instance_priority:
:paramtype instance_priority: str
:keyword quota_enforcement_resource_id:
:paramtype quota_enforcement_resource_id: str
"""
super(AetherResourceConfiguration, self).__init__(**kwargs)
self.instance_count = instance_count
self.instance_type = instance_type
self.properties = properties
self.locations = locations
self.instance_priority = instance_priority
self.quota_enforcement_resource_id = quota_enforcement_resource_id
class AetherResourceModel(msrest.serialization.Model):
"""AetherResourceModel.
:ivar resources:
:vartype resources: list[~flow.models.AetherResourceAssignment]
"""
_attribute_map = {
'resources': {'key': 'resources', 'type': '[AetherResourceAssignment]'},
}
def __init__(
self,
*,
resources: Optional[List["AetherResourceAssignment"]] = None,
**kwargs
):
"""
:keyword resources:
:paramtype resources: list[~flow.models.AetherResourceAssignment]
"""
super(AetherResourceModel, self).__init__(**kwargs)
self.resources = resources
class AetherResourcesSetting(msrest.serialization.Model):
"""AetherResourcesSetting.
:ivar instance_size:
:vartype instance_size: str
:ivar spark_version:
:vartype spark_version: str
"""
_attribute_map = {
'instance_size': {'key': 'instanceSize', 'type': 'str'},
'spark_version': {'key': 'sparkVersion', 'type': 'str'},
}
def __init__(
self,
*,
instance_size: Optional[str] = None,
spark_version: Optional[str] = None,
**kwargs
):
"""
:keyword instance_size:
:paramtype instance_size: str
:keyword spark_version:
:paramtype spark_version: str
"""
super(AetherResourcesSetting, self).__init__(**kwargs)
self.instance_size = instance_size
self.spark_version = spark_version
class AetherSavedDataSetReference(msrest.serialization.Model):
"""AetherSavedDataSetReference.
:ivar id:
:vartype id: str
"""
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
}
def __init__(
self,
*,
id: Optional[str] = None,
**kwargs
):
"""
:keyword id:
:paramtype id: str
"""
super(AetherSavedDataSetReference, self).__init__(**kwargs)
self.id = id
class AetherScopeCloudConfiguration(msrest.serialization.Model):
"""AetherScopeCloudConfiguration.
:ivar input_path_suffixes: This is a dictionary.
:vartype input_path_suffixes: dict[str, ~flow.models.AetherArgumentAssignment]
:ivar output_path_suffixes: This is a dictionary.
:vartype output_path_suffixes: dict[str, ~flow.models.AetherArgumentAssignment]
:ivar user_alias:
:vartype user_alias: str
:ivar tokens:
:vartype tokens: int
:ivar auto_token:
:vartype auto_token: int
:ivar vcp:
:vartype vcp: float
"""
_attribute_map = {
'input_path_suffixes': {'key': 'inputPathSuffixes', 'type': '{AetherArgumentAssignment}'},
'output_path_suffixes': {'key': 'outputPathSuffixes', 'type': '{AetherArgumentAssignment}'},
'user_alias': {'key': 'userAlias', 'type': 'str'},
'tokens': {'key': 'tokens', 'type': 'int'},
'auto_token': {'key': 'autoToken', 'type': 'int'},
'vcp': {'key': 'vcp', 'type': 'float'},
}
def __init__(
self,
*,
input_path_suffixes: Optional[Dict[str, "AetherArgumentAssignment"]] = None,
output_path_suffixes: Optional[Dict[str, "AetherArgumentAssignment"]] = None,
user_alias: Optional[str] = None,
tokens: Optional[int] = None,
auto_token: Optional[int] = None,
vcp: Optional[float] = None,
**kwargs
):
"""
:keyword input_path_suffixes: This is a dictionary.
:paramtype input_path_suffixes: dict[str, ~flow.models.AetherArgumentAssignment]
:keyword output_path_suffixes: This is a dictionary.
:paramtype output_path_suffixes: dict[str, ~flow.models.AetherArgumentAssignment]
:keyword user_alias:
:paramtype user_alias: str
:keyword tokens:
:paramtype tokens: int
:keyword auto_token:
:paramtype auto_token: int
:keyword vcp:
:paramtype vcp: float
"""
super(AetherScopeCloudConfiguration, self).__init__(**kwargs)
self.input_path_suffixes = input_path_suffixes
self.output_path_suffixes = output_path_suffixes
self.user_alias = user_alias
self.tokens = tokens
self.auto_token = auto_token
self.vcp = vcp
class AetherSeasonality(msrest.serialization.Model):
"""AetherSeasonality.
:ivar mode: Possible values include: "Auto", "Custom".
:vartype mode: str or ~flow.models.AetherSeasonalityMode
:ivar value:
:vartype value: int
"""
_attribute_map = {
'mode': {'key': 'mode', 'type': 'str'},
'value': {'key': 'value', 'type': 'int'},
}
def __init__(
self,
*,
mode: Optional[Union[str, "AetherSeasonalityMode"]] = None,
value: Optional[int] = None,
**kwargs
):
"""
:keyword mode: Possible values include: "Auto", "Custom".
:paramtype mode: str or ~flow.models.AetherSeasonalityMode
:keyword value:
:paramtype value: int
"""
super(AetherSeasonality, self).__init__(**kwargs)
self.mode = mode
self.value = value
class AetherSqlDataPath(msrest.serialization.Model):
"""AetherSqlDataPath.
:ivar sql_table_name:
:vartype sql_table_name: str
:ivar sql_query:
:vartype sql_query: str
:ivar sql_stored_procedure_name:
:vartype sql_stored_procedure_name: str
:ivar sql_stored_procedure_params:
:vartype sql_stored_procedure_params: list[~flow.models.AetherStoredProcedureParameter]
"""
_attribute_map = {
'sql_table_name': {'key': 'sqlTableName', 'type': 'str'},
'sql_query': {'key': 'sqlQuery', 'type': 'str'},
'sql_stored_procedure_name': {'key': 'sqlStoredProcedureName', 'type': 'str'},
'sql_stored_procedure_params': {'key': 'sqlStoredProcedureParams', 'type': '[AetherStoredProcedureParameter]'},
}
def __init__(
self,
*,
sql_table_name: Optional[str] = None,
sql_query: Optional[str] = None,
sql_stored_procedure_name: Optional[str] = None,
sql_stored_procedure_params: Optional[List["AetherStoredProcedureParameter"]] = None,
**kwargs
):
"""
:keyword sql_table_name:
:paramtype sql_table_name: str
:keyword sql_query:
:paramtype sql_query: str
:keyword sql_stored_procedure_name:
:paramtype sql_stored_procedure_name: str
:keyword sql_stored_procedure_params:
:paramtype sql_stored_procedure_params: list[~flow.models.AetherStoredProcedureParameter]
"""
super(AetherSqlDataPath, self).__init__(**kwargs)
self.sql_table_name = sql_table_name
self.sql_query = sql_query
self.sql_stored_procedure_name = sql_stored_procedure_name
self.sql_stored_procedure_params = sql_stored_procedure_params
class AetherStackEnsembleSettings(msrest.serialization.Model):
"""AetherStackEnsembleSettings.
:ivar stack_meta_learner_type: Possible values include: "None", "LogisticRegression",
"LogisticRegressionCV", "LightGBMClassifier", "ElasticNet", "ElasticNetCV",
"LightGBMRegressor", "LinearRegression".
:vartype stack_meta_learner_type: str or ~flow.models.AetherStackMetaLearnerType
:ivar stack_meta_learner_train_percentage:
:vartype stack_meta_learner_train_percentage: float
:ivar stack_meta_learner_k_wargs: Anything.
:vartype stack_meta_learner_k_wargs: any
"""
_attribute_map = {
'stack_meta_learner_type': {'key': 'stackMetaLearnerType', 'type': 'str'},
'stack_meta_learner_train_percentage': {'key': 'stackMetaLearnerTrainPercentage', 'type': 'float'},
'stack_meta_learner_k_wargs': {'key': 'stackMetaLearnerKWargs', 'type': 'object'},
}
def __init__(
self,
*,
stack_meta_learner_type: Optional[Union[str, "AetherStackMetaLearnerType"]] = None,
stack_meta_learner_train_percentage: Optional[float] = None,
stack_meta_learner_k_wargs: Optional[Any] = None,
**kwargs
):
"""
:keyword stack_meta_learner_type: Possible values include: "None", "LogisticRegression",
"LogisticRegressionCV", "LightGBMClassifier", "ElasticNet", "ElasticNetCV",
"LightGBMRegressor", "LinearRegression".
:paramtype stack_meta_learner_type: str or ~flow.models.AetherStackMetaLearnerType
:keyword stack_meta_learner_train_percentage:
:paramtype stack_meta_learner_train_percentage: float
:keyword stack_meta_learner_k_wargs: Anything.
:paramtype stack_meta_learner_k_wargs: any
"""
super(AetherStackEnsembleSettings, self).__init__(**kwargs)
self.stack_meta_learner_type = stack_meta_learner_type
self.stack_meta_learner_train_percentage = stack_meta_learner_train_percentage
self.stack_meta_learner_k_wargs = stack_meta_learner_k_wargs
class AetherStoredProcedureParameter(msrest.serialization.Model):
"""AetherStoredProcedureParameter.
:ivar name:
:vartype name: str
:ivar value:
:vartype value: str
:ivar type: Possible values include: "String", "Int", "Decimal", "Guid", "Boolean", "Date".
:vartype type: str or ~flow.models.AetherStoredProcedureParameterType
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'value': {'key': 'value', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
}
def __init__(
self,
*,
name: Optional[str] = None,
value: Optional[str] = None,
type: Optional[Union[str, "AetherStoredProcedureParameterType"]] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword value:
:paramtype value: str
:keyword type: Possible values include: "String", "Int", "Decimal", "Guid", "Boolean", "Date".
:paramtype type: str or ~flow.models.AetherStoredProcedureParameterType
"""
super(AetherStoredProcedureParameter, self).__init__(**kwargs)
self.name = name
self.value = value
self.type = type
class AetherStructuredInterface(msrest.serialization.Model):
"""AetherStructuredInterface.
:ivar command_line_pattern:
:vartype command_line_pattern: str
:ivar inputs:
:vartype inputs: list[~flow.models.AetherStructuredInterfaceInput]
:ivar outputs:
:vartype outputs: list[~flow.models.AetherStructuredInterfaceOutput]
:ivar control_outputs:
:vartype control_outputs: list[~flow.models.AetherControlOutput]
:ivar parameters:
:vartype parameters: list[~flow.models.AetherStructuredInterfaceParameter]
:ivar metadata_parameters:
:vartype metadata_parameters: list[~flow.models.AetherStructuredInterfaceParameter]
:ivar arguments:
:vartype arguments: list[~flow.models.AetherArgumentAssignment]
"""
_attribute_map = {
'command_line_pattern': {'key': 'commandLinePattern', 'type': 'str'},
'inputs': {'key': 'inputs', 'type': '[AetherStructuredInterfaceInput]'},
'outputs': {'key': 'outputs', 'type': '[AetherStructuredInterfaceOutput]'},
'control_outputs': {'key': 'controlOutputs', 'type': '[AetherControlOutput]'},
'parameters': {'key': 'parameters', 'type': '[AetherStructuredInterfaceParameter]'},
'metadata_parameters': {'key': 'metadataParameters', 'type': '[AetherStructuredInterfaceParameter]'},
'arguments': {'key': 'arguments', 'type': '[AetherArgumentAssignment]'},
}
def __init__(
self,
*,
command_line_pattern: Optional[str] = None,
inputs: Optional[List["AetherStructuredInterfaceInput"]] = None,
outputs: Optional[List["AetherStructuredInterfaceOutput"]] = None,
control_outputs: Optional[List["AetherControlOutput"]] = None,
parameters: Optional[List["AetherStructuredInterfaceParameter"]] = None,
metadata_parameters: Optional[List["AetherStructuredInterfaceParameter"]] = None,
arguments: Optional[List["AetherArgumentAssignment"]] = None,
**kwargs
):
"""
:keyword command_line_pattern:
:paramtype command_line_pattern: str
:keyword inputs:
:paramtype inputs: list[~flow.models.AetherStructuredInterfaceInput]
:keyword outputs:
:paramtype outputs: list[~flow.models.AetherStructuredInterfaceOutput]
:keyword control_outputs:
:paramtype control_outputs: list[~flow.models.AetherControlOutput]
:keyword parameters:
:paramtype parameters: list[~flow.models.AetherStructuredInterfaceParameter]
:keyword metadata_parameters:
:paramtype metadata_parameters: list[~flow.models.AetherStructuredInterfaceParameter]
:keyword arguments:
:paramtype arguments: list[~flow.models.AetherArgumentAssignment]
"""
super(AetherStructuredInterface, self).__init__(**kwargs)
self.command_line_pattern = command_line_pattern
self.inputs = inputs
self.outputs = outputs
self.control_outputs = control_outputs
self.parameters = parameters
self.metadata_parameters = metadata_parameters
self.arguments = arguments
class AetherStructuredInterfaceInput(msrest.serialization.Model):
"""AetherStructuredInterfaceInput.
:ivar name:
:vartype name: str
:ivar label:
:vartype label: str
:ivar data_type_ids_list:
:vartype data_type_ids_list: list[str]
:ivar is_optional:
:vartype is_optional: bool
:ivar description:
:vartype description: str
:ivar skip_processing:
:vartype skip_processing: bool
:ivar is_resource:
:vartype is_resource: bool
:ivar data_store_mode: Possible values include: "None", "Mount", "Download", "Upload",
"Direct", "Hdfs", "Link".
:vartype data_store_mode: str or ~flow.models.AetherDataStoreMode
:ivar path_on_compute:
:vartype path_on_compute: str
:ivar overwrite:
:vartype overwrite: bool
:ivar data_reference_name:
:vartype data_reference_name: str
:ivar dataset_types:
:vartype dataset_types: list[str or ~flow.models.AetherDatasetType]
:ivar additional_transformations:
:vartype additional_transformations: str
"""
_validation = {
'dataset_types': {'unique': True},
}
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'label': {'key': 'label', 'type': 'str'},
'data_type_ids_list': {'key': 'dataTypeIdsList', 'type': '[str]'},
'is_optional': {'key': 'isOptional', 'type': 'bool'},
'description': {'key': 'description', 'type': 'str'},
'skip_processing': {'key': 'skipProcessing', 'type': 'bool'},
'is_resource': {'key': 'isResource', 'type': 'bool'},
'data_store_mode': {'key': 'dataStoreMode', 'type': 'str'},
'path_on_compute': {'key': 'pathOnCompute', 'type': 'str'},
'overwrite': {'key': 'overwrite', 'type': 'bool'},
'data_reference_name': {'key': 'dataReferenceName', 'type': 'str'},
'dataset_types': {'key': 'datasetTypes', 'type': '[str]'},
'additional_transformations': {'key': 'additionalTransformations', 'type': 'str'},
}
def __init__(
self,
*,
name: Optional[str] = None,
label: Optional[str] = None,
data_type_ids_list: Optional[List[str]] = None,
is_optional: Optional[bool] = None,
description: Optional[str] = None,
skip_processing: Optional[bool] = None,
is_resource: Optional[bool] = None,
data_store_mode: Optional[Union[str, "AetherDataStoreMode"]] = None,
path_on_compute: Optional[str] = None,
overwrite: Optional[bool] = None,
data_reference_name: Optional[str] = None,
dataset_types: Optional[List[Union[str, "AetherDatasetType"]]] = None,
additional_transformations: Optional[str] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword label:
:paramtype label: str
:keyword data_type_ids_list:
:paramtype data_type_ids_list: list[str]
:keyword is_optional:
:paramtype is_optional: bool
:keyword description:
:paramtype description: str
:keyword skip_processing:
:paramtype skip_processing: bool
:keyword is_resource:
:paramtype is_resource: bool
:keyword data_store_mode: Possible values include: "None", "Mount", "Download", "Upload",
"Direct", "Hdfs", "Link".
:paramtype data_store_mode: str or ~flow.models.AetherDataStoreMode
:keyword path_on_compute:
:paramtype path_on_compute: str
:keyword overwrite:
:paramtype overwrite: bool
:keyword data_reference_name:
:paramtype data_reference_name: str
:keyword dataset_types:
:paramtype dataset_types: list[str or ~flow.models.AetherDatasetType]
:keyword additional_transformations:
:paramtype additional_transformations: str
"""
super(AetherStructuredInterfaceInput, self).__init__(**kwargs)
self.name = name
self.label = label
self.data_type_ids_list = data_type_ids_list
self.is_optional = is_optional
self.description = description
self.skip_processing = skip_processing
self.is_resource = is_resource
self.data_store_mode = data_store_mode
self.path_on_compute = path_on_compute
self.overwrite = overwrite
self.data_reference_name = data_reference_name
self.dataset_types = dataset_types
self.additional_transformations = additional_transformations
class AetherStructuredInterfaceOutput(msrest.serialization.Model):
"""AetherStructuredInterfaceOutput.
:ivar name:
:vartype name: str
:ivar label:
:vartype label: str
:ivar data_type_id:
:vartype data_type_id: str
:ivar pass_through_data_type_input_name:
:vartype pass_through_data_type_input_name: str
:ivar description:
:vartype description: str
:ivar skip_processing:
:vartype skip_processing: bool
:ivar is_artifact:
:vartype is_artifact: bool
:ivar data_store_name:
:vartype data_store_name: str
:ivar data_store_mode: Possible values include: "None", "Mount", "Download", "Upload",
"Direct", "Hdfs", "Link".
:vartype data_store_mode: str or ~flow.models.AetherDataStoreMode
:ivar path_on_compute:
:vartype path_on_compute: str
:ivar overwrite:
:vartype overwrite: bool
:ivar data_reference_name:
:vartype data_reference_name: str
:ivar training_output:
:vartype training_output: ~flow.models.AetherTrainingOutput
:ivar dataset_output:
:vartype dataset_output: ~flow.models.AetherDatasetOutput
:ivar asset_output_settings:
:vartype asset_output_settings: ~flow.models.AetherAssetOutputSettings
:ivar early_available:
:vartype early_available: bool
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'label': {'key': 'label', 'type': 'str'},
'data_type_id': {'key': 'dataTypeId', 'type': 'str'},
'pass_through_data_type_input_name': {'key': 'passThroughDataTypeInputName', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'skip_processing': {'key': 'skipProcessing', 'type': 'bool'},
'is_artifact': {'key': 'isArtifact', 'type': 'bool'},
'data_store_name': {'key': 'dataStoreName', 'type': 'str'},
'data_store_mode': {'key': 'dataStoreMode', 'type': 'str'},
'path_on_compute': {'key': 'pathOnCompute', 'type': 'str'},
'overwrite': {'key': 'overwrite', 'type': 'bool'},
'data_reference_name': {'key': 'dataReferenceName', 'type': 'str'},
'training_output': {'key': 'trainingOutput', 'type': 'AetherTrainingOutput'},
'dataset_output': {'key': 'datasetOutput', 'type': 'AetherDatasetOutput'},
'asset_output_settings': {'key': 'AssetOutputSettings', 'type': 'AetherAssetOutputSettings'},
'early_available': {'key': 'earlyAvailable', 'type': 'bool'},
}
def __init__(
self,
*,
name: Optional[str] = None,
label: Optional[str] = None,
data_type_id: Optional[str] = None,
pass_through_data_type_input_name: Optional[str] = None,
description: Optional[str] = None,
skip_processing: Optional[bool] = None,
is_artifact: Optional[bool] = None,
data_store_name: Optional[str] = None,
data_store_mode: Optional[Union[str, "AetherDataStoreMode"]] = None,
path_on_compute: Optional[str] = None,
overwrite: Optional[bool] = None,
data_reference_name: Optional[str] = None,
training_output: Optional["AetherTrainingOutput"] = None,
dataset_output: Optional["AetherDatasetOutput"] = None,
asset_output_settings: Optional["AetherAssetOutputSettings"] = None,
early_available: Optional[bool] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword label:
:paramtype label: str
:keyword data_type_id:
:paramtype data_type_id: str
:keyword pass_through_data_type_input_name:
:paramtype pass_through_data_type_input_name: str
:keyword description:
:paramtype description: str
:keyword skip_processing:
:paramtype skip_processing: bool
:keyword is_artifact:
:paramtype is_artifact: bool
:keyword data_store_name:
:paramtype data_store_name: str
:keyword data_store_mode: Possible values include: "None", "Mount", "Download", "Upload",
"Direct", "Hdfs", "Link".
:paramtype data_store_mode: str or ~flow.models.AetherDataStoreMode
:keyword path_on_compute:
:paramtype path_on_compute: str
:keyword overwrite:
:paramtype overwrite: bool
:keyword data_reference_name:
:paramtype data_reference_name: str
:keyword training_output:
:paramtype training_output: ~flow.models.AetherTrainingOutput
:keyword dataset_output:
:paramtype dataset_output: ~flow.models.AetherDatasetOutput
:keyword asset_output_settings:
:paramtype asset_output_settings: ~flow.models.AetherAssetOutputSettings
:keyword early_available:
:paramtype early_available: bool
"""
super(AetherStructuredInterfaceOutput, self).__init__(**kwargs)
self.name = name
self.label = label
self.data_type_id = data_type_id
self.pass_through_data_type_input_name = pass_through_data_type_input_name
self.description = description
self.skip_processing = skip_processing
self.is_artifact = is_artifact
self.data_store_name = data_store_name
self.data_store_mode = data_store_mode
self.path_on_compute = path_on_compute
self.overwrite = overwrite
self.data_reference_name = data_reference_name
self.training_output = training_output
self.dataset_output = dataset_output
self.asset_output_settings = asset_output_settings
self.early_available = early_available
class AetherStructuredInterfaceParameter(msrest.serialization.Model):
"""AetherStructuredInterfaceParameter.
:ivar name:
:vartype name: str
:ivar label:
:vartype label: str
:ivar parameter_type: Possible values include: "Int", "Double", "Bool", "String", "Undefined".
:vartype parameter_type: str or ~flow.models.AetherParameterType
:ivar is_optional:
:vartype is_optional: bool
:ivar default_value:
:vartype default_value: str
:ivar lower_bound:
:vartype lower_bound: str
:ivar upper_bound:
:vartype upper_bound: str
:ivar enum_values:
:vartype enum_values: list[str]
:ivar enum_values_to_argument_strings: This is a dictionary.
:vartype enum_values_to_argument_strings: dict[str, str]
:ivar description:
:vartype description: str
:ivar set_environment_variable:
:vartype set_environment_variable: bool
:ivar environment_variable_override:
:vartype environment_variable_override: str
:ivar enabled_by_parameter_name:
:vartype enabled_by_parameter_name: str
:ivar enabled_by_parameter_values:
:vartype enabled_by_parameter_values: list[str]
:ivar ui_hint:
:vartype ui_hint: ~flow.models.AetherUIParameterHint
:ivar group_names:
:vartype group_names: list[str]
:ivar argument_name:
:vartype argument_name: str
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'label': {'key': 'label', 'type': 'str'},
'parameter_type': {'key': 'parameterType', 'type': 'str'},
'is_optional': {'key': 'isOptional', 'type': 'bool'},
'default_value': {'key': 'defaultValue', 'type': 'str'},
'lower_bound': {'key': 'lowerBound', 'type': 'str'},
'upper_bound': {'key': 'upperBound', 'type': 'str'},
'enum_values': {'key': 'enumValues', 'type': '[str]'},
'enum_values_to_argument_strings': {'key': 'enumValuesToArgumentStrings', 'type': '{str}'},
'description': {'key': 'description', 'type': 'str'},
'set_environment_variable': {'key': 'setEnvironmentVariable', 'type': 'bool'},
'environment_variable_override': {'key': 'environmentVariableOverride', 'type': 'str'},
'enabled_by_parameter_name': {'key': 'enabledByParameterName', 'type': 'str'},
'enabled_by_parameter_values': {'key': 'enabledByParameterValues', 'type': '[str]'},
'ui_hint': {'key': 'uiHint', 'type': 'AetherUIParameterHint'},
'group_names': {'key': 'groupNames', 'type': '[str]'},
'argument_name': {'key': 'argumentName', 'type': 'str'},
}
def __init__(
self,
*,
name: Optional[str] = None,
label: Optional[str] = None,
parameter_type: Optional[Union[str, "AetherParameterType"]] = None,
is_optional: Optional[bool] = None,
default_value: Optional[str] = None,
lower_bound: Optional[str] = None,
upper_bound: Optional[str] = None,
enum_values: Optional[List[str]] = None,
enum_values_to_argument_strings: Optional[Dict[str, str]] = None,
description: Optional[str] = None,
set_environment_variable: Optional[bool] = None,
environment_variable_override: Optional[str] = None,
enabled_by_parameter_name: Optional[str] = None,
enabled_by_parameter_values: Optional[List[str]] = None,
ui_hint: Optional["AetherUIParameterHint"] = None,
group_names: Optional[List[str]] = None,
argument_name: Optional[str] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword label:
:paramtype label: str
:keyword parameter_type: Possible values include: "Int", "Double", "Bool", "String",
"Undefined".
:paramtype parameter_type: str or ~flow.models.AetherParameterType
:keyword is_optional:
:paramtype is_optional: bool
:keyword default_value:
:paramtype default_value: str
:keyword lower_bound:
:paramtype lower_bound: str
:keyword upper_bound:
:paramtype upper_bound: str
:keyword enum_values:
:paramtype enum_values: list[str]
:keyword enum_values_to_argument_strings: This is a dictionary.
:paramtype enum_values_to_argument_strings: dict[str, str]
:keyword description:
:paramtype description: str
:keyword set_environment_variable:
:paramtype set_environment_variable: bool
:keyword environment_variable_override:
:paramtype environment_variable_override: str
:keyword enabled_by_parameter_name:
:paramtype enabled_by_parameter_name: str
:keyword enabled_by_parameter_values:
:paramtype enabled_by_parameter_values: list[str]
:keyword ui_hint:
:paramtype ui_hint: ~flow.models.AetherUIParameterHint
:keyword group_names:
:paramtype group_names: list[str]
:keyword argument_name:
:paramtype argument_name: str
"""
super(AetherStructuredInterfaceParameter, self).__init__(**kwargs)
self.name = name
self.label = label
self.parameter_type = parameter_type
self.is_optional = is_optional
self.default_value = default_value
self.lower_bound = lower_bound
self.upper_bound = upper_bound
self.enum_values = enum_values
self.enum_values_to_argument_strings = enum_values_to_argument_strings
self.description = description
self.set_environment_variable = set_environment_variable
self.environment_variable_override = environment_variable_override
self.enabled_by_parameter_name = enabled_by_parameter_name
self.enabled_by_parameter_values = enabled_by_parameter_values
self.ui_hint = ui_hint
self.group_names = group_names
self.argument_name = argument_name
class AetherSubGraphConfiguration(msrest.serialization.Model):
"""AetherSubGraphConfiguration.
:ivar graph_id:
:vartype graph_id: str
:ivar graph_draft_id:
:vartype graph_draft_id: str
:ivar default_compute_internal:
:vartype default_compute_internal: ~flow.models.AetherComputeSetting
:ivar default_datastore_internal:
:vartype default_datastore_internal: ~flow.models.AetherDatastoreSetting
:ivar default_cloud_priority:
:vartype default_cloud_priority: ~flow.models.AetherCloudPrioritySetting
:ivar user_alias:
:vartype user_alias: str
:ivar is_dynamic:
:vartype is_dynamic: bool
"""
_attribute_map = {
'graph_id': {'key': 'graphId', 'type': 'str'},
'graph_draft_id': {'key': 'graphDraftId', 'type': 'str'},
'default_compute_internal': {'key': 'defaultComputeInternal', 'type': 'AetherComputeSetting'},
'default_datastore_internal': {'key': 'defaultDatastoreInternal', 'type': 'AetherDatastoreSetting'},
'default_cloud_priority': {'key': 'DefaultCloudPriority', 'type': 'AetherCloudPrioritySetting'},
'user_alias': {'key': 'UserAlias', 'type': 'str'},
'is_dynamic': {'key': 'IsDynamic', 'type': 'bool'},
}
def __init__(
self,
*,
graph_id: Optional[str] = None,
graph_draft_id: Optional[str] = None,
default_compute_internal: Optional["AetherComputeSetting"] = None,
default_datastore_internal: Optional["AetherDatastoreSetting"] = None,
default_cloud_priority: Optional["AetherCloudPrioritySetting"] = None,
user_alias: Optional[str] = None,
is_dynamic: Optional[bool] = False,
**kwargs
):
"""
:keyword graph_id:
:paramtype graph_id: str
:keyword graph_draft_id:
:paramtype graph_draft_id: str
:keyword default_compute_internal:
:paramtype default_compute_internal: ~flow.models.AetherComputeSetting
:keyword default_datastore_internal:
:paramtype default_datastore_internal: ~flow.models.AetherDatastoreSetting
:keyword default_cloud_priority:
:paramtype default_cloud_priority: ~flow.models.AetherCloudPrioritySetting
:keyword user_alias:
:paramtype user_alias: str
:keyword is_dynamic:
:paramtype is_dynamic: bool
"""
super(AetherSubGraphConfiguration, self).__init__(**kwargs)
self.graph_id = graph_id
self.graph_draft_id = graph_draft_id
self.default_compute_internal = default_compute_internal
self.default_datastore_internal = default_datastore_internal
self.default_cloud_priority = default_cloud_priority
self.user_alias = user_alias
self.is_dynamic = is_dynamic
class AetherSweepEarlyTerminationPolicy(msrest.serialization.Model):
"""AetherSweepEarlyTerminationPolicy.
:ivar policy_type: Possible values include: "Bandit", "MedianStopping", "TruncationSelection".
:vartype policy_type: str or ~flow.models.AetherEarlyTerminationPolicyType
:ivar evaluation_interval:
:vartype evaluation_interval: int
:ivar delay_evaluation:
:vartype delay_evaluation: int
:ivar slack_factor:
:vartype slack_factor: float
:ivar slack_amount:
:vartype slack_amount: float
:ivar truncation_percentage:
:vartype truncation_percentage: int
"""
_attribute_map = {
'policy_type': {'key': 'policyType', 'type': 'str'},
'evaluation_interval': {'key': 'evaluationInterval', 'type': 'int'},
'delay_evaluation': {'key': 'delayEvaluation', 'type': 'int'},
'slack_factor': {'key': 'slackFactor', 'type': 'float'},
'slack_amount': {'key': 'slackAmount', 'type': 'float'},
'truncation_percentage': {'key': 'truncationPercentage', 'type': 'int'},
}
def __init__(
self,
*,
policy_type: Optional[Union[str, "AetherEarlyTerminationPolicyType"]] = None,
evaluation_interval: Optional[int] = None,
delay_evaluation: Optional[int] = None,
slack_factor: Optional[float] = None,
slack_amount: Optional[float] = None,
truncation_percentage: Optional[int] = None,
**kwargs
):
"""
:keyword policy_type: Possible values include: "Bandit", "MedianStopping",
"TruncationSelection".
:paramtype policy_type: str or ~flow.models.AetherEarlyTerminationPolicyType
:keyword evaluation_interval:
:paramtype evaluation_interval: int
:keyword delay_evaluation:
:paramtype delay_evaluation: int
:keyword slack_factor:
:paramtype slack_factor: float
:keyword slack_amount:
:paramtype slack_amount: float
:keyword truncation_percentage:
:paramtype truncation_percentage: int
"""
super(AetherSweepEarlyTerminationPolicy, self).__init__(**kwargs)
self.policy_type = policy_type
self.evaluation_interval = evaluation_interval
self.delay_evaluation = delay_evaluation
self.slack_factor = slack_factor
self.slack_amount = slack_amount
self.truncation_percentage = truncation_percentage
class AetherSweepSettings(msrest.serialization.Model):
"""AetherSweepSettings.
:ivar limits:
:vartype limits: ~flow.models.AetherSweepSettingsLimits
:ivar search_space:
:vartype search_space: list[dict[str, str]]
:ivar sampling_algorithm: Possible values include: "Random", "Grid", "Bayesian".
:vartype sampling_algorithm: str or ~flow.models.AetherSamplingAlgorithmType
:ivar early_termination:
:vartype early_termination: ~flow.models.AetherSweepEarlyTerminationPolicy
"""
_attribute_map = {
'limits': {'key': 'limits', 'type': 'AetherSweepSettingsLimits'},
'search_space': {'key': 'searchSpace', 'type': '[{str}]'},
'sampling_algorithm': {'key': 'samplingAlgorithm', 'type': 'str'},
'early_termination': {'key': 'earlyTermination', 'type': 'AetherSweepEarlyTerminationPolicy'},
}
def __init__(
self,
*,
limits: Optional["AetherSweepSettingsLimits"] = None,
search_space: Optional[List[Dict[str, str]]] = None,
sampling_algorithm: Optional[Union[str, "AetherSamplingAlgorithmType"]] = None,
early_termination: Optional["AetherSweepEarlyTerminationPolicy"] = None,
**kwargs
):
"""
:keyword limits:
:paramtype limits: ~flow.models.AetherSweepSettingsLimits
:keyword search_space:
:paramtype search_space: list[dict[str, str]]
:keyword sampling_algorithm: Possible values include: "Random", "Grid", "Bayesian".
:paramtype sampling_algorithm: str or ~flow.models.AetherSamplingAlgorithmType
:keyword early_termination:
:paramtype early_termination: ~flow.models.AetherSweepEarlyTerminationPolicy
"""
super(AetherSweepSettings, self).__init__(**kwargs)
self.limits = limits
self.search_space = search_space
self.sampling_algorithm = sampling_algorithm
self.early_termination = early_termination
class AetherSweepSettingsLimits(msrest.serialization.Model):
"""AetherSweepSettingsLimits.
:ivar max_total_trials:
:vartype max_total_trials: int
:ivar max_concurrent_trials:
:vartype max_concurrent_trials: int
"""
_attribute_map = {
'max_total_trials': {'key': 'maxTotalTrials', 'type': 'int'},
'max_concurrent_trials': {'key': 'maxConcurrentTrials', 'type': 'int'},
}
def __init__(
self,
*,
max_total_trials: Optional[int] = None,
max_concurrent_trials: Optional[int] = None,
**kwargs
):
"""
:keyword max_total_trials:
:paramtype max_total_trials: int
:keyword max_concurrent_trials:
:paramtype max_concurrent_trials: int
"""
super(AetherSweepSettingsLimits, self).__init__(**kwargs)
self.max_total_trials = max_total_trials
self.max_concurrent_trials = max_concurrent_trials
class AetherTargetLags(msrest.serialization.Model):
"""AetherTargetLags.
:ivar mode: Possible values include: "Auto", "Custom".
:vartype mode: str or ~flow.models.AetherTargetLagsMode
:ivar values:
:vartype values: list[int]
"""
_attribute_map = {
'mode': {'key': 'mode', 'type': 'str'},
'values': {'key': 'values', 'type': '[int]'},
}
def __init__(
self,
*,
mode: Optional[Union[str, "AetherTargetLagsMode"]] = None,
values: Optional[List[int]] = None,
**kwargs
):
"""
:keyword mode: Possible values include: "Auto", "Custom".
:paramtype mode: str or ~flow.models.AetherTargetLagsMode
:keyword values:
:paramtype values: list[int]
"""
super(AetherTargetLags, self).__init__(**kwargs)
self.mode = mode
self.values = values
class AetherTargetRollingWindowSize(msrest.serialization.Model):
"""AetherTargetRollingWindowSize.
:ivar mode: Possible values include: "Auto", "Custom".
:vartype mode: str or ~flow.models.AetherTargetRollingWindowSizeMode
:ivar value:
:vartype value: int
"""
_attribute_map = {
'mode': {'key': 'mode', 'type': 'str'},
'value': {'key': 'value', 'type': 'int'},
}
def __init__(
self,
*,
mode: Optional[Union[str, "AetherTargetRollingWindowSizeMode"]] = None,
value: Optional[int] = None,
**kwargs
):
"""
:keyword mode: Possible values include: "Auto", "Custom".
:paramtype mode: str or ~flow.models.AetherTargetRollingWindowSizeMode
:keyword value:
:paramtype value: int
"""
super(AetherTargetRollingWindowSize, self).__init__(**kwargs)
self.mode = mode
self.value = value
class AetherTargetSelectorConfiguration(msrest.serialization.Model):
"""AetherTargetSelectorConfiguration.
:ivar low_priority_vm_tolerant:
:vartype low_priority_vm_tolerant: bool
:ivar cluster_block_list:
:vartype cluster_block_list: list[str]
:ivar compute_type:
:vartype compute_type: str
:ivar instance_type:
:vartype instance_type: list[str]
:ivar instance_types:
:vartype instance_types: list[str]
:ivar my_resource_only:
:vartype my_resource_only: bool
:ivar plan_id:
:vartype plan_id: str
:ivar plan_region_id:
:vartype plan_region_id: str
:ivar region:
:vartype region: list[str]
:ivar regions:
:vartype regions: list[str]
:ivar vc_block_list:
:vartype vc_block_list: list[str]
"""
_attribute_map = {
'low_priority_vm_tolerant': {'key': 'lowPriorityVMTolerant', 'type': 'bool'},
'cluster_block_list': {'key': 'clusterBlockList', 'type': '[str]'},
'compute_type': {'key': 'computeType', 'type': 'str'},
'instance_type': {'key': 'instanceType', 'type': '[str]'},
'instance_types': {'key': 'instanceTypes', 'type': '[str]'},
'my_resource_only': {'key': 'myResourceOnly', 'type': 'bool'},
'plan_id': {'key': 'planId', 'type': 'str'},
'plan_region_id': {'key': 'planRegionId', 'type': 'str'},
'region': {'key': 'region', 'type': '[str]'},
'regions': {'key': 'regions', 'type': '[str]'},
'vc_block_list': {'key': 'vcBlockList', 'type': '[str]'},
}
def __init__(
self,
*,
low_priority_vm_tolerant: Optional[bool] = None,
cluster_block_list: Optional[List[str]] = None,
compute_type: Optional[str] = None,
instance_type: Optional[List[str]] = None,
instance_types: Optional[List[str]] = None,
my_resource_only: Optional[bool] = None,
plan_id: Optional[str] = None,
plan_region_id: Optional[str] = None,
region: Optional[List[str]] = None,
regions: Optional[List[str]] = None,
vc_block_list: Optional[List[str]] = None,
**kwargs
):
"""
:keyword low_priority_vm_tolerant:
:paramtype low_priority_vm_tolerant: bool
:keyword cluster_block_list:
:paramtype cluster_block_list: list[str]
:keyword compute_type:
:paramtype compute_type: str
:keyword instance_type:
:paramtype instance_type: list[str]
:keyword instance_types:
:paramtype instance_types: list[str]
:keyword my_resource_only:
:paramtype my_resource_only: bool
:keyword plan_id:
:paramtype plan_id: str
:keyword plan_region_id:
:paramtype plan_region_id: str
:keyword region:
:paramtype region: list[str]
:keyword regions:
:paramtype regions: list[str]
:keyword vc_block_list:
:paramtype vc_block_list: list[str]
"""
super(AetherTargetSelectorConfiguration, self).__init__(**kwargs)
self.low_priority_vm_tolerant = low_priority_vm_tolerant
self.cluster_block_list = cluster_block_list
self.compute_type = compute_type
self.instance_type = instance_type
self.instance_types = instance_types
self.my_resource_only = my_resource_only
self.plan_id = plan_id
self.plan_region_id = plan_region_id
self.region = region
self.regions = regions
self.vc_block_list = vc_block_list
class AetherTestDataSettings(msrest.serialization.Model):
"""AetherTestDataSettings.
:ivar test_data_size:
:vartype test_data_size: float
"""
_attribute_map = {
'test_data_size': {'key': 'testDataSize', 'type': 'float'},
}
def __init__(
self,
*,
test_data_size: Optional[float] = None,
**kwargs
):
"""
:keyword test_data_size:
:paramtype test_data_size: float
"""
super(AetherTestDataSettings, self).__init__(**kwargs)
self.test_data_size = test_data_size
class AetherTorchDistributedConfiguration(msrest.serialization.Model):
"""AetherTorchDistributedConfiguration.
:ivar process_count_per_node:
:vartype process_count_per_node: int
"""
_attribute_map = {
'process_count_per_node': {'key': 'processCountPerNode', 'type': 'int'},
}
def __init__(
self,
*,
process_count_per_node: Optional[int] = None,
**kwargs
):
"""
:keyword process_count_per_node:
:paramtype process_count_per_node: int
"""
super(AetherTorchDistributedConfiguration, self).__init__(**kwargs)
self.process_count_per_node = process_count_per_node
class AetherTrainingOutput(msrest.serialization.Model):
"""AetherTrainingOutput.
:ivar training_output_type: Possible values include: "Metrics", "Model".
:vartype training_output_type: str or ~flow.models.AetherTrainingOutputType
:ivar iteration:
:vartype iteration: int
:ivar metric:
:vartype metric: str
:ivar model_file:
:vartype model_file: str
"""
_attribute_map = {
'training_output_type': {'key': 'trainingOutputType', 'type': 'str'},
'iteration': {'key': 'iteration', 'type': 'int'},
'metric': {'key': 'metric', 'type': 'str'},
'model_file': {'key': 'modelFile', 'type': 'str'},
}
def __init__(
self,
*,
training_output_type: Optional[Union[str, "AetherTrainingOutputType"]] = None,
iteration: Optional[int] = None,
metric: Optional[str] = None,
model_file: Optional[str] = None,
**kwargs
):
"""
:keyword training_output_type: Possible values include: "Metrics", "Model".
:paramtype training_output_type: str or ~flow.models.AetherTrainingOutputType
:keyword iteration:
:paramtype iteration: int
:keyword metric:
:paramtype metric: str
:keyword model_file:
:paramtype model_file: str
"""
super(AetherTrainingOutput, self).__init__(**kwargs)
self.training_output_type = training_output_type
self.iteration = iteration
self.metric = metric
self.model_file = model_file
class AetherTrainingSettings(msrest.serialization.Model):
"""AetherTrainingSettings.
:ivar block_list_models:
:vartype block_list_models: list[str]
:ivar allow_list_models:
:vartype allow_list_models: list[str]
:ivar enable_dnn_training:
:vartype enable_dnn_training: bool
:ivar enable_onnx_compatible_models:
:vartype enable_onnx_compatible_models: bool
:ivar stack_ensemble_settings:
:vartype stack_ensemble_settings: ~flow.models.AetherStackEnsembleSettings
:ivar enable_stack_ensemble:
:vartype enable_stack_ensemble: bool
:ivar enable_vote_ensemble:
:vartype enable_vote_ensemble: bool
:ivar ensemble_model_download_timeout:
:vartype ensemble_model_download_timeout: str
:ivar enable_model_explainability:
:vartype enable_model_explainability: bool
:ivar training_mode: Possible values include: "Distributed", "NonDistributed", "Auto".
:vartype training_mode: str or ~flow.models.AetherTabularTrainingMode
"""
_attribute_map = {
'block_list_models': {'key': 'blockListModels', 'type': '[str]'},
'allow_list_models': {'key': 'allowListModels', 'type': '[str]'},
'enable_dnn_training': {'key': 'enableDnnTraining', 'type': 'bool'},
'enable_onnx_compatible_models': {'key': 'enableOnnxCompatibleModels', 'type': 'bool'},
'stack_ensemble_settings': {'key': 'stackEnsembleSettings', 'type': 'AetherStackEnsembleSettings'},
'enable_stack_ensemble': {'key': 'enableStackEnsemble', 'type': 'bool'},
'enable_vote_ensemble': {'key': 'enableVoteEnsemble', 'type': 'bool'},
'ensemble_model_download_timeout': {'key': 'ensembleModelDownloadTimeout', 'type': 'str'},
'enable_model_explainability': {'key': 'enableModelExplainability', 'type': 'bool'},
'training_mode': {'key': 'trainingMode', 'type': 'str'},
}
def __init__(
self,
*,
block_list_models: Optional[List[str]] = None,
allow_list_models: Optional[List[str]] = None,
enable_dnn_training: Optional[bool] = None,
enable_onnx_compatible_models: Optional[bool] = None,
stack_ensemble_settings: Optional["AetherStackEnsembleSettings"] = None,
enable_stack_ensemble: Optional[bool] = None,
enable_vote_ensemble: Optional[bool] = None,
ensemble_model_download_timeout: Optional[str] = None,
enable_model_explainability: Optional[bool] = None,
training_mode: Optional[Union[str, "AetherTabularTrainingMode"]] = None,
**kwargs
):
"""
:keyword block_list_models:
:paramtype block_list_models: list[str]
:keyword allow_list_models:
:paramtype allow_list_models: list[str]
:keyword enable_dnn_training:
:paramtype enable_dnn_training: bool
:keyword enable_onnx_compatible_models:
:paramtype enable_onnx_compatible_models: bool
:keyword stack_ensemble_settings:
:paramtype stack_ensemble_settings: ~flow.models.AetherStackEnsembleSettings
:keyword enable_stack_ensemble:
:paramtype enable_stack_ensemble: bool
:keyword enable_vote_ensemble:
:paramtype enable_vote_ensemble: bool
:keyword ensemble_model_download_timeout:
:paramtype ensemble_model_download_timeout: str
:keyword enable_model_explainability:
:paramtype enable_model_explainability: bool
:keyword training_mode: Possible values include: "Distributed", "NonDistributed", "Auto".
:paramtype training_mode: str or ~flow.models.AetherTabularTrainingMode
"""
super(AetherTrainingSettings, self).__init__(**kwargs)
self.block_list_models = block_list_models
self.allow_list_models = allow_list_models
self.enable_dnn_training = enable_dnn_training
self.enable_onnx_compatible_models = enable_onnx_compatible_models
self.stack_ensemble_settings = stack_ensemble_settings
self.enable_stack_ensemble = enable_stack_ensemble
self.enable_vote_ensemble = enable_vote_ensemble
self.ensemble_model_download_timeout = ensemble_model_download_timeout
self.enable_model_explainability = enable_model_explainability
self.training_mode = training_mode
class AetherUIAzureOpenAIDeploymentNameSelector(msrest.serialization.Model):
"""AetherUIAzureOpenAIDeploymentNameSelector.
:ivar capabilities:
:vartype capabilities: ~flow.models.AetherUIAzureOpenAIModelCapabilities
"""
_attribute_map = {
'capabilities': {'key': 'Capabilities', 'type': 'AetherUIAzureOpenAIModelCapabilities'},
}
def __init__(
self,
*,
capabilities: Optional["AetherUIAzureOpenAIModelCapabilities"] = None,
**kwargs
):
"""
:keyword capabilities:
:paramtype capabilities: ~flow.models.AetherUIAzureOpenAIModelCapabilities
"""
super(AetherUIAzureOpenAIDeploymentNameSelector, self).__init__(**kwargs)
self.capabilities = capabilities
class AetherUIAzureOpenAIModelCapabilities(msrest.serialization.Model):
"""AetherUIAzureOpenAIModelCapabilities.
:ivar completion:
:vartype completion: bool
:ivar chat_completion:
:vartype chat_completion: bool
:ivar embeddings:
:vartype embeddings: bool
"""
_attribute_map = {
'completion': {'key': 'Completion', 'type': 'bool'},
'chat_completion': {'key': 'ChatCompletion', 'type': 'bool'},
'embeddings': {'key': 'Embeddings', 'type': 'bool'},
}
def __init__(
self,
*,
completion: Optional[bool] = None,
chat_completion: Optional[bool] = None,
embeddings: Optional[bool] = None,
**kwargs
):
"""
:keyword completion:
:paramtype completion: bool
:keyword chat_completion:
:paramtype chat_completion: bool
:keyword embeddings:
:paramtype embeddings: bool
"""
super(AetherUIAzureOpenAIModelCapabilities, self).__init__(**kwargs)
self.completion = completion
self.chat_completion = chat_completion
self.embeddings = embeddings
class AetherUIColumnPicker(msrest.serialization.Model):
"""AetherUIColumnPicker.
:ivar column_picker_for:
:vartype column_picker_for: str
:ivar column_selection_categories:
:vartype column_selection_categories: list[str]
:ivar single_column_selection:
:vartype single_column_selection: bool
"""
_attribute_map = {
'column_picker_for': {'key': 'columnPickerFor', 'type': 'str'},
'column_selection_categories': {'key': 'columnSelectionCategories', 'type': '[str]'},
'single_column_selection': {'key': 'singleColumnSelection', 'type': 'bool'},
}
def __init__(
self,
*,
column_picker_for: Optional[str] = None,
column_selection_categories: Optional[List[str]] = None,
single_column_selection: Optional[bool] = None,
**kwargs
):
"""
:keyword column_picker_for:
:paramtype column_picker_for: str
:keyword column_selection_categories:
:paramtype column_selection_categories: list[str]
:keyword single_column_selection:
:paramtype single_column_selection: bool
"""
super(AetherUIColumnPicker, self).__init__(**kwargs)
self.column_picker_for = column_picker_for
self.column_selection_categories = column_selection_categories
self.single_column_selection = single_column_selection
class AetherUIJsonEditor(msrest.serialization.Model):
"""AetherUIJsonEditor.
:ivar json_schema:
:vartype json_schema: str
"""
_attribute_map = {
'json_schema': {'key': 'jsonSchema', 'type': 'str'},
}
def __init__(
self,
*,
json_schema: Optional[str] = None,
**kwargs
):
"""
:keyword json_schema:
:paramtype json_schema: str
"""
super(AetherUIJsonEditor, self).__init__(**kwargs)
self.json_schema = json_schema
class AetherUIParameterHint(msrest.serialization.Model):
"""AetherUIParameterHint.
:ivar ui_widget_type: Possible values include: "Default", "Mode", "ColumnPicker", "Credential",
"Script", "ComputeSelection", "JsonEditor", "SearchSpaceParameter", "SectionToggle",
"YamlEditor", "EnableRuntimeSweep", "DataStoreSelection", "InstanceTypeSelection",
"ConnectionSelection", "PromptFlowConnectionSelection", "AzureOpenAIDeploymentNameSelection".
:vartype ui_widget_type: str or ~flow.models.AetherUIWidgetTypeEnum
:ivar column_picker:
:vartype column_picker: ~flow.models.AetherUIColumnPicker
:ivar ui_script_language: Possible values include: "None", "Python", "R", "Json", "Sql".
:vartype ui_script_language: str or ~flow.models.AetherUIScriptLanguageEnum
:ivar json_editor:
:vartype json_editor: ~flow.models.AetherUIJsonEditor
:ivar prompt_flow_connection_selector:
:vartype prompt_flow_connection_selector: ~flow.models.AetherUIPromptFlowConnectionSelector
:ivar azure_open_ai_deployment_name_selector:
:vartype azure_open_ai_deployment_name_selector:
~flow.models.AetherUIAzureOpenAIDeploymentNameSelector
:ivar ux_ignore:
:vartype ux_ignore: bool
:ivar anonymous:
:vartype anonymous: bool
"""
_attribute_map = {
'ui_widget_type': {'key': 'uiWidgetType', 'type': 'str'},
'column_picker': {'key': 'columnPicker', 'type': 'AetherUIColumnPicker'},
'ui_script_language': {'key': 'uiScriptLanguage', 'type': 'str'},
'json_editor': {'key': 'jsonEditor', 'type': 'AetherUIJsonEditor'},
'prompt_flow_connection_selector': {'key': 'PromptFlowConnectionSelector', 'type': 'AetherUIPromptFlowConnectionSelector'},
'azure_open_ai_deployment_name_selector': {'key': 'AzureOpenAIDeploymentNameSelector', 'type': 'AetherUIAzureOpenAIDeploymentNameSelector'},
'ux_ignore': {'key': 'UxIgnore', 'type': 'bool'},
'anonymous': {'key': 'Anonymous', 'type': 'bool'},
}
def __init__(
self,
*,
ui_widget_type: Optional[Union[str, "AetherUIWidgetTypeEnum"]] = None,
column_picker: Optional["AetherUIColumnPicker"] = None,
ui_script_language: Optional[Union[str, "AetherUIScriptLanguageEnum"]] = None,
json_editor: Optional["AetherUIJsonEditor"] = None,
prompt_flow_connection_selector: Optional["AetherUIPromptFlowConnectionSelector"] = None,
azure_open_ai_deployment_name_selector: Optional["AetherUIAzureOpenAIDeploymentNameSelector"] = None,
ux_ignore: Optional[bool] = None,
anonymous: Optional[bool] = None,
**kwargs
):
"""
:keyword ui_widget_type: Possible values include: "Default", "Mode", "ColumnPicker",
"Credential", "Script", "ComputeSelection", "JsonEditor", "SearchSpaceParameter",
"SectionToggle", "YamlEditor", "EnableRuntimeSweep", "DataStoreSelection",
"InstanceTypeSelection", "ConnectionSelection", "PromptFlowConnectionSelection",
"AzureOpenAIDeploymentNameSelection".
:paramtype ui_widget_type: str or ~flow.models.AetherUIWidgetTypeEnum
:keyword column_picker:
:paramtype column_picker: ~flow.models.AetherUIColumnPicker
:keyword ui_script_language: Possible values include: "None", "Python", "R", "Json", "Sql".
:paramtype ui_script_language: str or ~flow.models.AetherUIScriptLanguageEnum
:keyword json_editor:
:paramtype json_editor: ~flow.models.AetherUIJsonEditor
:keyword prompt_flow_connection_selector:
:paramtype prompt_flow_connection_selector: ~flow.models.AetherUIPromptFlowConnectionSelector
:keyword azure_open_ai_deployment_name_selector:
:paramtype azure_open_ai_deployment_name_selector:
~flow.models.AetherUIAzureOpenAIDeploymentNameSelector
:keyword ux_ignore:
:paramtype ux_ignore: bool
:keyword anonymous:
:paramtype anonymous: bool
"""
super(AetherUIParameterHint, self).__init__(**kwargs)
self.ui_widget_type = ui_widget_type
self.column_picker = column_picker
self.ui_script_language = ui_script_language
self.json_editor = json_editor
self.prompt_flow_connection_selector = prompt_flow_connection_selector
self.azure_open_ai_deployment_name_selector = azure_open_ai_deployment_name_selector
self.ux_ignore = ux_ignore
self.anonymous = anonymous
class AetherUIPromptFlowConnectionSelector(msrest.serialization.Model):
"""AetherUIPromptFlowConnectionSelector.
:ivar prompt_flow_connection_type:
:vartype prompt_flow_connection_type: str
"""
_attribute_map = {
'prompt_flow_connection_type': {'key': 'PromptFlowConnectionType', 'type': 'str'},
}
def __init__(
self,
*,
prompt_flow_connection_type: Optional[str] = None,
**kwargs
):
"""
:keyword prompt_flow_connection_type:
:paramtype prompt_flow_connection_type: str
"""
super(AetherUIPromptFlowConnectionSelector, self).__init__(**kwargs)
self.prompt_flow_connection_type = prompt_flow_connection_type
class AetherValidationDataSettings(msrest.serialization.Model):
"""AetherValidationDataSettings.
:ivar n_cross_validations:
:vartype n_cross_validations: ~flow.models.AetherNCrossValidations
:ivar validation_data_size:
:vartype validation_data_size: float
:ivar cv_split_column_names:
:vartype cv_split_column_names: list[str]
:ivar validation_type:
:vartype validation_type: str
"""
_attribute_map = {
'n_cross_validations': {'key': 'nCrossValidations', 'type': 'AetherNCrossValidations'},
'validation_data_size': {'key': 'validationDataSize', 'type': 'float'},
'cv_split_column_names': {'key': 'cvSplitColumnNames', 'type': '[str]'},
'validation_type': {'key': 'validationType', 'type': 'str'},
}
def __init__(
self,
*,
n_cross_validations: Optional["AetherNCrossValidations"] = None,
validation_data_size: Optional[float] = None,
cv_split_column_names: Optional[List[str]] = None,
validation_type: Optional[str] = None,
**kwargs
):
"""
:keyword n_cross_validations:
:paramtype n_cross_validations: ~flow.models.AetherNCrossValidations
:keyword validation_data_size:
:paramtype validation_data_size: float
:keyword cv_split_column_names:
:paramtype cv_split_column_names: list[str]
:keyword validation_type:
:paramtype validation_type: str
"""
super(AetherValidationDataSettings, self).__init__(**kwargs)
self.n_cross_validations = n_cross_validations
self.validation_data_size = validation_data_size
self.cv_split_column_names = cv_split_column_names
self.validation_type = validation_type
class AetherVsoBuildArtifactInfo(msrest.serialization.Model):
"""AetherVsoBuildArtifactInfo.
:ivar build_info:
:vartype build_info: ~flow.models.AetherVsoBuildInfo
:ivar download_url:
:vartype download_url: str
"""
_attribute_map = {
'build_info': {'key': 'buildInfo', 'type': 'AetherVsoBuildInfo'},
'download_url': {'key': 'downloadUrl', 'type': 'str'},
}
def __init__(
self,
*,
build_info: Optional["AetherVsoBuildInfo"] = None,
download_url: Optional[str] = None,
**kwargs
):
"""
:keyword build_info:
:paramtype build_info: ~flow.models.AetherVsoBuildInfo
:keyword download_url:
:paramtype download_url: str
"""
super(AetherVsoBuildArtifactInfo, self).__init__(**kwargs)
self.build_info = build_info
self.download_url = download_url
class AetherVsoBuildDefinitionInfo(msrest.serialization.Model):
"""AetherVsoBuildDefinitionInfo.
:ivar account_name:
:vartype account_name: str
:ivar project_id:
:vartype project_id: str
:ivar build_definition_id:
:vartype build_definition_id: int
"""
_attribute_map = {
'account_name': {'key': 'accountName', 'type': 'str'},
'project_id': {'key': 'projectId', 'type': 'str'},
'build_definition_id': {'key': 'buildDefinitionId', 'type': 'int'},
}
def __init__(
self,
*,
account_name: Optional[str] = None,
project_id: Optional[str] = None,
build_definition_id: Optional[int] = None,
**kwargs
):
"""
:keyword account_name:
:paramtype account_name: str
:keyword project_id:
:paramtype project_id: str
:keyword build_definition_id:
:paramtype build_definition_id: int
"""
super(AetherVsoBuildDefinitionInfo, self).__init__(**kwargs)
self.account_name = account_name
self.project_id = project_id
self.build_definition_id = build_definition_id
class AetherVsoBuildInfo(msrest.serialization.Model):
"""AetherVsoBuildInfo.
:ivar definition_info:
:vartype definition_info: ~flow.models.AetherVsoBuildDefinitionInfo
:ivar build_id:
:vartype build_id: int
"""
_attribute_map = {
'definition_info': {'key': 'definitionInfo', 'type': 'AetherVsoBuildDefinitionInfo'},
'build_id': {'key': 'buildId', 'type': 'int'},
}
def __init__(
self,
*,
definition_info: Optional["AetherVsoBuildDefinitionInfo"] = None,
build_id: Optional[int] = None,
**kwargs
):
"""
:keyword definition_info:
:paramtype definition_info: ~flow.models.AetherVsoBuildDefinitionInfo
:keyword build_id:
:paramtype build_id: int
"""
super(AetherVsoBuildInfo, self).__init__(**kwargs)
self.definition_info = definition_info
self.build_id = build_id
class AEVAComputeConfiguration(msrest.serialization.Model):
"""AEVAComputeConfiguration.
:ivar target:
:vartype target: str
:ivar instance_count:
:vartype instance_count: int
:ivar is_local:
:vartype is_local: bool
:ivar location:
:vartype location: str
:ivar is_clusterless:
:vartype is_clusterless: bool
:ivar instance_type:
:vartype instance_type: str
:ivar properties: Dictionary of :code:`<any>`.
:vartype properties: dict[str, any]
:ivar is_preemptable:
:vartype is_preemptable: bool
"""
_attribute_map = {
'target': {'key': 'target', 'type': 'str'},
'instance_count': {'key': 'instanceCount', 'type': 'int'},
'is_local': {'key': 'isLocal', 'type': 'bool'},
'location': {'key': 'location', 'type': 'str'},
'is_clusterless': {'key': 'isClusterless', 'type': 'bool'},
'instance_type': {'key': 'instanceType', 'type': 'str'},
'properties': {'key': 'properties', 'type': '{object}'},
'is_preemptable': {'key': 'isPreemptable', 'type': 'bool'},
}
def __init__(
self,
*,
target: Optional[str] = None,
instance_count: Optional[int] = None,
is_local: Optional[bool] = None,
location: Optional[str] = None,
is_clusterless: Optional[bool] = None,
instance_type: Optional[str] = None,
properties: Optional[Dict[str, Any]] = None,
is_preemptable: Optional[bool] = None,
**kwargs
):
"""
:keyword target:
:paramtype target: str
:keyword instance_count:
:paramtype instance_count: int
:keyword is_local:
:paramtype is_local: bool
:keyword location:
:paramtype location: str
:keyword is_clusterless:
:paramtype is_clusterless: bool
:keyword instance_type:
:paramtype instance_type: str
:keyword properties: Dictionary of :code:`<any>`.
:paramtype properties: dict[str, any]
:keyword is_preemptable:
:paramtype is_preemptable: bool
"""
super(AEVAComputeConfiguration, self).__init__(**kwargs)
self.target = target
self.instance_count = instance_count
self.is_local = is_local
self.location = location
self.is_clusterless = is_clusterless
self.instance_type = instance_type
self.properties = properties
self.is_preemptable = is_preemptable
class AEVAResourceConfiguration(msrest.serialization.Model):
"""AEVAResourceConfiguration.
:ivar instance_count:
:vartype instance_count: int
:ivar instance_type:
:vartype instance_type: str
:ivar properties: Dictionary of :code:`<any>`.
:vartype properties: dict[str, any]
:ivar locations:
:vartype locations: list[str]
:ivar instance_priority:
:vartype instance_priority: str
:ivar quota_enforcement_resource_id:
:vartype quota_enforcement_resource_id: str
"""
_attribute_map = {
'instance_count': {'key': 'instanceCount', 'type': 'int'},
'instance_type': {'key': 'instanceType', 'type': 'str'},
'properties': {'key': 'properties', 'type': '{object}'},
'locations': {'key': 'locations', 'type': '[str]'},
'instance_priority': {'key': 'instancePriority', 'type': 'str'},
'quota_enforcement_resource_id': {'key': 'quotaEnforcementResourceId', 'type': 'str'},
}
def __init__(
self,
*,
instance_count: Optional[int] = None,
instance_type: Optional[str] = None,
properties: Optional[Dict[str, Any]] = None,
locations: Optional[List[str]] = None,
instance_priority: Optional[str] = None,
quota_enforcement_resource_id: Optional[str] = None,
**kwargs
):
"""
:keyword instance_count:
:paramtype instance_count: int
:keyword instance_type:
:paramtype instance_type: str
:keyword properties: Dictionary of :code:`<any>`.
:paramtype properties: dict[str, any]
:keyword locations:
:paramtype locations: list[str]
:keyword instance_priority:
:paramtype instance_priority: str
:keyword quota_enforcement_resource_id:
:paramtype quota_enforcement_resource_id: str
"""
super(AEVAResourceConfiguration, self).__init__(**kwargs)
self.instance_count = instance_count
self.instance_type = instance_type
self.properties = properties
self.locations = locations
self.instance_priority = instance_priority
self.quota_enforcement_resource_id = quota_enforcement_resource_id
class AISuperComputerConfiguration(msrest.serialization.Model):
"""AISuperComputerConfiguration.
:ivar instance_type:
:vartype instance_type: str
:ivar instance_types:
:vartype instance_types: list[str]
:ivar image_version:
:vartype image_version: str
:ivar location:
:vartype location: str
:ivar locations:
:vartype locations: list[str]
:ivar ai_super_computer_storage_data: Dictionary of
:code:`<AISuperComputerStorageReferenceConfiguration>`.
:vartype ai_super_computer_storage_data: dict[str,
~flow.models.AISuperComputerStorageReferenceConfiguration]
:ivar interactive:
:vartype interactive: bool
:ivar scale_policy:
:vartype scale_policy: ~flow.models.AISuperComputerScalePolicy
:ivar virtual_cluster_arm_id:
:vartype virtual_cluster_arm_id: str
:ivar tensorboard_log_directory:
:vartype tensorboard_log_directory: str
:ivar ssh_public_key:
:vartype ssh_public_key: str
:ivar ssh_public_keys:
:vartype ssh_public_keys: list[str]
:ivar enable_azml_int:
:vartype enable_azml_int: bool
:ivar priority:
:vartype priority: str
:ivar sla_tier:
:vartype sla_tier: str
:ivar suspend_on_idle_time_hours:
:vartype suspend_on_idle_time_hours: long
:ivar user_alias:
:vartype user_alias: str
:ivar quota_enforcement_resource_id:
:vartype quota_enforcement_resource_id: str
:ivar model_compute_specification_id:
:vartype model_compute_specification_id: str
:ivar group_policy_name:
:vartype group_policy_name: str
"""
_attribute_map = {
'instance_type': {'key': 'instanceType', 'type': 'str'},
'instance_types': {'key': 'instanceTypes', 'type': '[str]'},
'image_version': {'key': 'imageVersion', 'type': 'str'},
'location': {'key': 'location', 'type': 'str'},
'locations': {'key': 'locations', 'type': '[str]'},
'ai_super_computer_storage_data': {'key': 'aiSuperComputerStorageData', 'type': '{AISuperComputerStorageReferenceConfiguration}'},
'interactive': {'key': 'interactive', 'type': 'bool'},
'scale_policy': {'key': 'scalePolicy', 'type': 'AISuperComputerScalePolicy'},
'virtual_cluster_arm_id': {'key': 'virtualClusterArmId', 'type': 'str'},
'tensorboard_log_directory': {'key': 'tensorboardLogDirectory', 'type': 'str'},
'ssh_public_key': {'key': 'sshPublicKey', 'type': 'str'},
'ssh_public_keys': {'key': 'sshPublicKeys', 'type': '[str]'},
'enable_azml_int': {'key': 'enableAzmlInt', 'type': 'bool'},
'priority': {'key': 'priority', 'type': 'str'},
'sla_tier': {'key': 'slaTier', 'type': 'str'},
'suspend_on_idle_time_hours': {'key': 'suspendOnIdleTimeHours', 'type': 'long'},
'user_alias': {'key': 'userAlias', 'type': 'str'},
'quota_enforcement_resource_id': {'key': 'quotaEnforcementResourceId', 'type': 'str'},
'model_compute_specification_id': {'key': 'modelComputeSpecificationId', 'type': 'str'},
'group_policy_name': {'key': 'groupPolicyName', 'type': 'str'},
}
def __init__(
self,
*,
instance_type: Optional[str] = None,
instance_types: Optional[List[str]] = None,
image_version: Optional[str] = None,
location: Optional[str] = None,
locations: Optional[List[str]] = None,
ai_super_computer_storage_data: Optional[Dict[str, "AISuperComputerStorageReferenceConfiguration"]] = None,
interactive: Optional[bool] = None,
scale_policy: Optional["AISuperComputerScalePolicy"] = None,
virtual_cluster_arm_id: Optional[str] = None,
tensorboard_log_directory: Optional[str] = None,
ssh_public_key: Optional[str] = None,
ssh_public_keys: Optional[List[str]] = None,
enable_azml_int: Optional[bool] = None,
priority: Optional[str] = None,
sla_tier: Optional[str] = None,
suspend_on_idle_time_hours: Optional[int] = None,
user_alias: Optional[str] = None,
quota_enforcement_resource_id: Optional[str] = None,
model_compute_specification_id: Optional[str] = None,
group_policy_name: Optional[str] = None,
**kwargs
):
"""
:keyword instance_type:
:paramtype instance_type: str
:keyword instance_types:
:paramtype instance_types: list[str]
:keyword image_version:
:paramtype image_version: str
:keyword location:
:paramtype location: str
:keyword locations:
:paramtype locations: list[str]
:keyword ai_super_computer_storage_data: Dictionary of
:code:`<AISuperComputerStorageReferenceConfiguration>`.
:paramtype ai_super_computer_storage_data: dict[str,
~flow.models.AISuperComputerStorageReferenceConfiguration]
:keyword interactive:
:paramtype interactive: bool
:keyword scale_policy:
:paramtype scale_policy: ~flow.models.AISuperComputerScalePolicy
:keyword virtual_cluster_arm_id:
:paramtype virtual_cluster_arm_id: str
:keyword tensorboard_log_directory:
:paramtype tensorboard_log_directory: str
:keyword ssh_public_key:
:paramtype ssh_public_key: str
:keyword ssh_public_keys:
:paramtype ssh_public_keys: list[str]
:keyword enable_azml_int:
:paramtype enable_azml_int: bool
:keyword priority:
:paramtype priority: str
:keyword sla_tier:
:paramtype sla_tier: str
:keyword suspend_on_idle_time_hours:
:paramtype suspend_on_idle_time_hours: long
:keyword user_alias:
:paramtype user_alias: str
:keyword quota_enforcement_resource_id:
:paramtype quota_enforcement_resource_id: str
:keyword model_compute_specification_id:
:paramtype model_compute_specification_id: str
:keyword group_policy_name:
:paramtype group_policy_name: str
"""
super(AISuperComputerConfiguration, self).__init__(**kwargs)
self.instance_type = instance_type
self.instance_types = instance_types
self.image_version = image_version
self.location = location
self.locations = locations
self.ai_super_computer_storage_data = ai_super_computer_storage_data
self.interactive = interactive
self.scale_policy = scale_policy
self.virtual_cluster_arm_id = virtual_cluster_arm_id
self.tensorboard_log_directory = tensorboard_log_directory
self.ssh_public_key = ssh_public_key
self.ssh_public_keys = ssh_public_keys
self.enable_azml_int = enable_azml_int
self.priority = priority
self.sla_tier = sla_tier
self.suspend_on_idle_time_hours = suspend_on_idle_time_hours
self.user_alias = user_alias
self.quota_enforcement_resource_id = quota_enforcement_resource_id
self.model_compute_specification_id = model_compute_specification_id
self.group_policy_name = group_policy_name
class AISuperComputerScalePolicy(msrest.serialization.Model):
"""AISuperComputerScalePolicy.
:ivar auto_scale_instance_type_count_set:
:vartype auto_scale_instance_type_count_set: list[int]
:ivar auto_scale_interval_in_sec:
:vartype auto_scale_interval_in_sec: int
:ivar max_instance_type_count:
:vartype max_instance_type_count: int
:ivar min_instance_type_count:
:vartype min_instance_type_count: int
"""
_attribute_map = {
'auto_scale_instance_type_count_set': {'key': 'autoScaleInstanceTypeCountSet', 'type': '[int]'},
'auto_scale_interval_in_sec': {'key': 'autoScaleIntervalInSec', 'type': 'int'},
'max_instance_type_count': {'key': 'maxInstanceTypeCount', 'type': 'int'},
'min_instance_type_count': {'key': 'minInstanceTypeCount', 'type': 'int'},
}
def __init__(
self,
*,
auto_scale_instance_type_count_set: Optional[List[int]] = None,
auto_scale_interval_in_sec: Optional[int] = None,
max_instance_type_count: Optional[int] = None,
min_instance_type_count: Optional[int] = None,
**kwargs
):
"""
:keyword auto_scale_instance_type_count_set:
:paramtype auto_scale_instance_type_count_set: list[int]
:keyword auto_scale_interval_in_sec:
:paramtype auto_scale_interval_in_sec: int
:keyword max_instance_type_count:
:paramtype max_instance_type_count: int
:keyword min_instance_type_count:
:paramtype min_instance_type_count: int
"""
super(AISuperComputerScalePolicy, self).__init__(**kwargs)
self.auto_scale_instance_type_count_set = auto_scale_instance_type_count_set
self.auto_scale_interval_in_sec = auto_scale_interval_in_sec
self.max_instance_type_count = max_instance_type_count
self.min_instance_type_count = min_instance_type_count
class AISuperComputerStorageReferenceConfiguration(msrest.serialization.Model):
"""AISuperComputerStorageReferenceConfiguration.
:ivar container_name:
:vartype container_name: str
:ivar relative_path:
:vartype relative_path: str
"""
_attribute_map = {
'container_name': {'key': 'containerName', 'type': 'str'},
'relative_path': {'key': 'relativePath', 'type': 'str'},
}
def __init__(
self,
*,
container_name: Optional[str] = None,
relative_path: Optional[str] = None,
**kwargs
):
"""
:keyword container_name:
:paramtype container_name: str
:keyword relative_path:
:paramtype relative_path: str
"""
super(AISuperComputerStorageReferenceConfiguration, self).__init__(**kwargs)
self.container_name = container_name
self.relative_path = relative_path
class AKSAdvanceSettings(msrest.serialization.Model):
"""AKSAdvanceSettings.
:ivar auto_scaler:
:vartype auto_scaler: ~flow.models.AutoScaler
:ivar container_resource_requirements:
:vartype container_resource_requirements: ~flow.models.ContainerResourceRequirements
:ivar app_insights_enabled:
:vartype app_insights_enabled: bool
:ivar scoring_timeout_ms:
:vartype scoring_timeout_ms: int
:ivar num_replicas:
:vartype num_replicas: int
"""
_attribute_map = {
'auto_scaler': {'key': 'autoScaler', 'type': 'AutoScaler'},
'container_resource_requirements': {'key': 'containerResourceRequirements', 'type': 'ContainerResourceRequirements'},
'app_insights_enabled': {'key': 'appInsightsEnabled', 'type': 'bool'},
'scoring_timeout_ms': {'key': 'scoringTimeoutMs', 'type': 'int'},
'num_replicas': {'key': 'numReplicas', 'type': 'int'},
}
def __init__(
self,
*,
auto_scaler: Optional["AutoScaler"] = None,
container_resource_requirements: Optional["ContainerResourceRequirements"] = None,
app_insights_enabled: Optional[bool] = None,
scoring_timeout_ms: Optional[int] = None,
num_replicas: Optional[int] = None,
**kwargs
):
"""
:keyword auto_scaler:
:paramtype auto_scaler: ~flow.models.AutoScaler
:keyword container_resource_requirements:
:paramtype container_resource_requirements: ~flow.models.ContainerResourceRequirements
:keyword app_insights_enabled:
:paramtype app_insights_enabled: bool
:keyword scoring_timeout_ms:
:paramtype scoring_timeout_ms: int
:keyword num_replicas:
:paramtype num_replicas: int
"""
super(AKSAdvanceSettings, self).__init__(**kwargs)
self.auto_scaler = auto_scaler
self.container_resource_requirements = container_resource_requirements
self.app_insights_enabled = app_insights_enabled
self.scoring_timeout_ms = scoring_timeout_ms
self.num_replicas = num_replicas
class AKSReplicaStatus(msrest.serialization.Model):
"""AKSReplicaStatus.
:ivar desired_replicas:
:vartype desired_replicas: int
:ivar updated_replicas:
:vartype updated_replicas: int
:ivar available_replicas:
:vartype available_replicas: int
:ivar error:
:vartype error: ~flow.models.ModelManagementErrorResponse
"""
_attribute_map = {
'desired_replicas': {'key': 'desiredReplicas', 'type': 'int'},
'updated_replicas': {'key': 'updatedReplicas', 'type': 'int'},
'available_replicas': {'key': 'availableReplicas', 'type': 'int'},
'error': {'key': 'error', 'type': 'ModelManagementErrorResponse'},
}
def __init__(
self,
*,
desired_replicas: Optional[int] = None,
updated_replicas: Optional[int] = None,
available_replicas: Optional[int] = None,
error: Optional["ModelManagementErrorResponse"] = None,
**kwargs
):
"""
:keyword desired_replicas:
:paramtype desired_replicas: int
:keyword updated_replicas:
:paramtype updated_replicas: int
:keyword available_replicas:
:paramtype available_replicas: int
:keyword error:
:paramtype error: ~flow.models.ModelManagementErrorResponse
"""
super(AKSReplicaStatus, self).__init__(**kwargs)
self.desired_replicas = desired_replicas
self.updated_replicas = updated_replicas
self.available_replicas = available_replicas
self.error = error
class AMLComputeConfiguration(msrest.serialization.Model):
"""AMLComputeConfiguration.
:ivar name:
:vartype name: str
:ivar vm_size:
:vartype vm_size: str
:ivar vm_priority: Possible values include: "Dedicated", "Lowpriority".
:vartype vm_priority: str or ~flow.models.VmPriority
:ivar retain_cluster:
:vartype retain_cluster: bool
:ivar cluster_max_node_count:
:vartype cluster_max_node_count: int
:ivar os_type:
:vartype os_type: str
:ivar virtual_machine_image:
:vartype virtual_machine_image: str
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'vm_size': {'key': 'vmSize', 'type': 'str'},
'vm_priority': {'key': 'vmPriority', 'type': 'str'},
'retain_cluster': {'key': 'retainCluster', 'type': 'bool'},
'cluster_max_node_count': {'key': 'clusterMaxNodeCount', 'type': 'int'},
'os_type': {'key': 'osType', 'type': 'str'},
'virtual_machine_image': {'key': 'virtualMachineImage', 'type': 'str'},
}
def __init__(
self,
*,
name: Optional[str] = None,
vm_size: Optional[str] = None,
vm_priority: Optional[Union[str, "VmPriority"]] = None,
retain_cluster: Optional[bool] = None,
cluster_max_node_count: Optional[int] = None,
os_type: Optional[str] = None,
virtual_machine_image: Optional[str] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword vm_size:
:paramtype vm_size: str
:keyword vm_priority: Possible values include: "Dedicated", "Lowpriority".
:paramtype vm_priority: str or ~flow.models.VmPriority
:keyword retain_cluster:
:paramtype retain_cluster: bool
:keyword cluster_max_node_count:
:paramtype cluster_max_node_count: int
:keyword os_type:
:paramtype os_type: str
:keyword virtual_machine_image:
:paramtype virtual_machine_image: str
"""
super(AMLComputeConfiguration, self).__init__(**kwargs)
self.name = name
self.vm_size = vm_size
self.vm_priority = vm_priority
self.retain_cluster = retain_cluster
self.cluster_max_node_count = cluster_max_node_count
self.os_type = os_type
self.virtual_machine_image = virtual_machine_image
class AmlDataset(msrest.serialization.Model):
"""AmlDataset.
:ivar registered_data_set_reference:
:vartype registered_data_set_reference: ~flow.models.RegisteredDataSetReference
:ivar saved_data_set_reference:
:vartype saved_data_set_reference: ~flow.models.SavedDataSetReference
:ivar additional_transformations:
:vartype additional_transformations: str
"""
_attribute_map = {
'registered_data_set_reference': {'key': 'registeredDataSetReference', 'type': 'RegisteredDataSetReference'},
'saved_data_set_reference': {'key': 'savedDataSetReference', 'type': 'SavedDataSetReference'},
'additional_transformations': {'key': 'additionalTransformations', 'type': 'str'},
}
def __init__(
self,
*,
registered_data_set_reference: Optional["RegisteredDataSetReference"] = None,
saved_data_set_reference: Optional["SavedDataSetReference"] = None,
additional_transformations: Optional[str] = None,
**kwargs
):
"""
:keyword registered_data_set_reference:
:paramtype registered_data_set_reference: ~flow.models.RegisteredDataSetReference
:keyword saved_data_set_reference:
:paramtype saved_data_set_reference: ~flow.models.SavedDataSetReference
:keyword additional_transformations:
:paramtype additional_transformations: str
"""
super(AmlDataset, self).__init__(**kwargs)
self.registered_data_set_reference = registered_data_set_reference
self.saved_data_set_reference = saved_data_set_reference
self.additional_transformations = additional_transformations
class AmlK8SConfiguration(msrest.serialization.Model):
"""AmlK8SConfiguration.
:ivar resource_configuration:
:vartype resource_configuration: ~flow.models.ResourceConfiguration
:ivar priority_configuration:
:vartype priority_configuration: ~flow.models.AmlK8SPriorityConfiguration
:ivar interactive_configuration:
:vartype interactive_configuration: ~flow.models.InteractiveConfiguration
"""
_attribute_map = {
'resource_configuration': {'key': 'resourceConfiguration', 'type': 'ResourceConfiguration'},
'priority_configuration': {'key': 'priorityConfiguration', 'type': 'AmlK8SPriorityConfiguration'},
'interactive_configuration': {'key': 'interactiveConfiguration', 'type': 'InteractiveConfiguration'},
}
def __init__(
self,
*,
resource_configuration: Optional["ResourceConfiguration"] = None,
priority_configuration: Optional["AmlK8SPriorityConfiguration"] = None,
interactive_configuration: Optional["InteractiveConfiguration"] = None,
**kwargs
):
"""
:keyword resource_configuration:
:paramtype resource_configuration: ~flow.models.ResourceConfiguration
:keyword priority_configuration:
:paramtype priority_configuration: ~flow.models.AmlK8SPriorityConfiguration
:keyword interactive_configuration:
:paramtype interactive_configuration: ~flow.models.InteractiveConfiguration
"""
super(AmlK8SConfiguration, self).__init__(**kwargs)
self.resource_configuration = resource_configuration
self.priority_configuration = priority_configuration
self.interactive_configuration = interactive_configuration
class AmlK8SPriorityConfiguration(msrest.serialization.Model):
"""AmlK8SPriorityConfiguration.
:ivar job_priority:
:vartype job_priority: int
:ivar is_preemptible:
:vartype is_preemptible: bool
:ivar node_count_set:
:vartype node_count_set: list[int]
:ivar scale_interval:
:vartype scale_interval: int
"""
_attribute_map = {
'job_priority': {'key': 'jobPriority', 'type': 'int'},
'is_preemptible': {'key': 'isPreemptible', 'type': 'bool'},
'node_count_set': {'key': 'nodeCountSet', 'type': '[int]'},
'scale_interval': {'key': 'scaleInterval', 'type': 'int'},
}
def __init__(
self,
*,
job_priority: Optional[int] = None,
is_preemptible: Optional[bool] = None,
node_count_set: Optional[List[int]] = None,
scale_interval: Optional[int] = None,
**kwargs
):
"""
:keyword job_priority:
:paramtype job_priority: int
:keyword is_preemptible:
:paramtype is_preemptible: bool
:keyword node_count_set:
:paramtype node_count_set: list[int]
:keyword scale_interval:
:paramtype scale_interval: int
"""
super(AmlK8SPriorityConfiguration, self).__init__(**kwargs)
self.job_priority = job_priority
self.is_preemptible = is_preemptible
self.node_count_set = node_count_set
self.scale_interval = scale_interval
class AmlSparkCloudSetting(msrest.serialization.Model):
"""AmlSparkCloudSetting.
:ivar entry:
:vartype entry: ~flow.models.EntrySetting
:ivar files:
:vartype files: list[str]
:ivar archives:
:vartype archives: list[str]
:ivar jars:
:vartype jars: list[str]
:ivar py_files:
:vartype py_files: list[str]
:ivar driver_memory:
:vartype driver_memory: str
:ivar driver_cores:
:vartype driver_cores: int
:ivar executor_memory:
:vartype executor_memory: str
:ivar executor_cores:
:vartype executor_cores: int
:ivar number_executors:
:vartype number_executors: int
:ivar environment_asset_id:
:vartype environment_asset_id: str
:ivar environment_variables: Dictionary of :code:`<string>`.
:vartype environment_variables: dict[str, str]
:ivar inline_environment_definition_string:
:vartype inline_environment_definition_string: str
:ivar conf: Dictionary of :code:`<string>`.
:vartype conf: dict[str, str]
:ivar compute:
:vartype compute: str
:ivar resources:
:vartype resources: ~flow.models.ResourcesSetting
:ivar identity:
:vartype identity: ~flow.models.IdentitySetting
"""
_attribute_map = {
'entry': {'key': 'entry', 'type': 'EntrySetting'},
'files': {'key': 'files', 'type': '[str]'},
'archives': {'key': 'archives', 'type': '[str]'},
'jars': {'key': 'jars', 'type': '[str]'},
'py_files': {'key': 'pyFiles', 'type': '[str]'},
'driver_memory': {'key': 'driverMemory', 'type': 'str'},
'driver_cores': {'key': 'driverCores', 'type': 'int'},
'executor_memory': {'key': 'executorMemory', 'type': 'str'},
'executor_cores': {'key': 'executorCores', 'type': 'int'},
'number_executors': {'key': 'numberExecutors', 'type': 'int'},
'environment_asset_id': {'key': 'environmentAssetId', 'type': 'str'},
'environment_variables': {'key': 'environmentVariables', 'type': '{str}'},
'inline_environment_definition_string': {'key': 'inlineEnvironmentDefinitionString', 'type': 'str'},
'conf': {'key': 'conf', 'type': '{str}'},
'compute': {'key': 'compute', 'type': 'str'},
'resources': {'key': 'resources', 'type': 'ResourcesSetting'},
'identity': {'key': 'identity', 'type': 'IdentitySetting'},
}
def __init__(
self,
*,
entry: Optional["EntrySetting"] = None,
files: Optional[List[str]] = None,
archives: Optional[List[str]] = None,
jars: Optional[List[str]] = None,
py_files: Optional[List[str]] = None,
driver_memory: Optional[str] = None,
driver_cores: Optional[int] = None,
executor_memory: Optional[str] = None,
executor_cores: Optional[int] = None,
number_executors: Optional[int] = None,
environment_asset_id: Optional[str] = None,
environment_variables: Optional[Dict[str, str]] = None,
inline_environment_definition_string: Optional[str] = None,
conf: Optional[Dict[str, str]] = None,
compute: Optional[str] = None,
resources: Optional["ResourcesSetting"] = None,
identity: Optional["IdentitySetting"] = None,
**kwargs
):
"""
:keyword entry:
:paramtype entry: ~flow.models.EntrySetting
:keyword files:
:paramtype files: list[str]
:keyword archives:
:paramtype archives: list[str]
:keyword jars:
:paramtype jars: list[str]
:keyword py_files:
:paramtype py_files: list[str]
:keyword driver_memory:
:paramtype driver_memory: str
:keyword driver_cores:
:paramtype driver_cores: int
:keyword executor_memory:
:paramtype executor_memory: str
:keyword executor_cores:
:paramtype executor_cores: int
:keyword number_executors:
:paramtype number_executors: int
:keyword environment_asset_id:
:paramtype environment_asset_id: str
:keyword environment_variables: Dictionary of :code:`<string>`.
:paramtype environment_variables: dict[str, str]
:keyword inline_environment_definition_string:
:paramtype inline_environment_definition_string: str
:keyword conf: Dictionary of :code:`<string>`.
:paramtype conf: dict[str, str]
:keyword compute:
:paramtype compute: str
:keyword resources:
:paramtype resources: ~flow.models.ResourcesSetting
:keyword identity:
:paramtype identity: ~flow.models.IdentitySetting
"""
super(AmlSparkCloudSetting, self).__init__(**kwargs)
self.entry = entry
self.files = files
self.archives = archives
self.jars = jars
self.py_files = py_files
self.driver_memory = driver_memory
self.driver_cores = driver_cores
self.executor_memory = executor_memory
self.executor_cores = executor_cores
self.number_executors = number_executors
self.environment_asset_id = environment_asset_id
self.environment_variables = environment_variables
self.inline_environment_definition_string = inline_environment_definition_string
self.conf = conf
self.compute = compute
self.resources = resources
self.identity = identity
class APCloudConfiguration(msrest.serialization.Model):
"""APCloudConfiguration.
:ivar referenced_ap_module_guid:
:vartype referenced_ap_module_guid: str
:ivar user_alias:
:vartype user_alias: str
:ivar aether_module_type:
:vartype aether_module_type: str
"""
_attribute_map = {
'referenced_ap_module_guid': {'key': 'referencedAPModuleGuid', 'type': 'str'},
'user_alias': {'key': 'userAlias', 'type': 'str'},
'aether_module_type': {'key': 'aetherModuleType', 'type': 'str'},
}
def __init__(
self,
*,
referenced_ap_module_guid: Optional[str] = None,
user_alias: Optional[str] = None,
aether_module_type: Optional[str] = None,
**kwargs
):
"""
:keyword referenced_ap_module_guid:
:paramtype referenced_ap_module_guid: str
:keyword user_alias:
:paramtype user_alias: str
:keyword aether_module_type:
:paramtype aether_module_type: str
"""
super(APCloudConfiguration, self).__init__(**kwargs)
self.referenced_ap_module_guid = referenced_ap_module_guid
self.user_alias = user_alias
self.aether_module_type = aether_module_type
class ApiAndParameters(msrest.serialization.Model):
"""ApiAndParameters.
:ivar api:
:vartype api: str
:ivar parameters: This is a dictionary.
:vartype parameters: dict[str, ~flow.models.FlowToolSettingParameter]
:ivar default_prompt:
:vartype default_prompt: str
"""
_attribute_map = {
'api': {'key': 'api', 'type': 'str'},
'parameters': {'key': 'parameters', 'type': '{FlowToolSettingParameter}'},
'default_prompt': {'key': 'default_prompt', 'type': 'str'},
}
def __init__(
self,
*,
api: Optional[str] = None,
parameters: Optional[Dict[str, "FlowToolSettingParameter"]] = None,
default_prompt: Optional[str] = None,
**kwargs
):
"""
:keyword api:
:paramtype api: str
:keyword parameters: This is a dictionary.
:paramtype parameters: dict[str, ~flow.models.FlowToolSettingParameter]
:keyword default_prompt:
:paramtype default_prompt: str
"""
super(ApiAndParameters, self).__init__(**kwargs)
self.api = api
self.parameters = parameters
self.default_prompt = default_prompt
class ApplicationEndpointConfiguration(msrest.serialization.Model):
"""ApplicationEndpointConfiguration.
:ivar type: Possible values include: "Jupyter", "JupyterLab", "SSH", "TensorBoard", "VSCode",
"Theia", "Grafana", "Custom", "RayDashboard".
:vartype type: str or ~flow.models.ApplicationEndpointType
:ivar port:
:vartype port: int
:ivar properties: Dictionary of :code:`<string>`.
:vartype properties: dict[str, str]
:ivar nodes:
:vartype nodes: ~flow.models.Nodes
"""
_attribute_map = {
'type': {'key': 'type', 'type': 'str'},
'port': {'key': 'port', 'type': 'int'},
'properties': {'key': 'properties', 'type': '{str}'},
'nodes': {'key': 'nodes', 'type': 'Nodes'},
}
def __init__(
self,
*,
type: Optional[Union[str, "ApplicationEndpointType"]] = None,
port: Optional[int] = None,
properties: Optional[Dict[str, str]] = None,
nodes: Optional["Nodes"] = None,
**kwargs
):
"""
:keyword type: Possible values include: "Jupyter", "JupyterLab", "SSH", "TensorBoard",
"VSCode", "Theia", "Grafana", "Custom", "RayDashboard".
:paramtype type: str or ~flow.models.ApplicationEndpointType
:keyword port:
:paramtype port: int
:keyword properties: Dictionary of :code:`<string>`.
:paramtype properties: dict[str, str]
:keyword nodes:
:paramtype nodes: ~flow.models.Nodes
"""
super(ApplicationEndpointConfiguration, self).__init__(**kwargs)
self.type = type
self.port = port
self.properties = properties
self.nodes = nodes
class ArgumentAssignment(msrest.serialization.Model):
"""ArgumentAssignment.
:ivar value_type: Possible values include: "Literal", "Parameter", "Input", "Output",
"NestedList", "StringInterpolationList".
:vartype value_type: str or ~flow.models.ArgumentValueType
:ivar value:
:vartype value: str
:ivar nested_argument_list:
:vartype nested_argument_list: list[~flow.models.ArgumentAssignment]
:ivar string_interpolation_argument_list:
:vartype string_interpolation_argument_list: list[~flow.models.ArgumentAssignment]
"""
_attribute_map = {
'value_type': {'key': 'valueType', 'type': 'str'},
'value': {'key': 'value', 'type': 'str'},
'nested_argument_list': {'key': 'nestedArgumentList', 'type': '[ArgumentAssignment]'},
'string_interpolation_argument_list': {'key': 'stringInterpolationArgumentList', 'type': '[ArgumentAssignment]'},
}
def __init__(
self,
*,
value_type: Optional[Union[str, "ArgumentValueType"]] = None,
value: Optional[str] = None,
nested_argument_list: Optional[List["ArgumentAssignment"]] = None,
string_interpolation_argument_list: Optional[List["ArgumentAssignment"]] = None,
**kwargs
):
"""
:keyword value_type: Possible values include: "Literal", "Parameter", "Input", "Output",
"NestedList", "StringInterpolationList".
:paramtype value_type: str or ~flow.models.ArgumentValueType
:keyword value:
:paramtype value: str
:keyword nested_argument_list:
:paramtype nested_argument_list: list[~flow.models.ArgumentAssignment]
:keyword string_interpolation_argument_list:
:paramtype string_interpolation_argument_list: list[~flow.models.ArgumentAssignment]
"""
super(ArgumentAssignment, self).__init__(**kwargs)
self.value_type = value_type
self.value = value
self.nested_argument_list = nested_argument_list
self.string_interpolation_argument_list = string_interpolation_argument_list
class Asset(msrest.serialization.Model):
"""Asset.
:ivar asset_id:
:vartype asset_id: str
:ivar type:
:vartype type: str
"""
_attribute_map = {
'asset_id': {'key': 'assetId', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
}
def __init__(
self,
*,
asset_id: Optional[str] = None,
type: Optional[str] = None,
**kwargs
):
"""
:keyword asset_id:
:paramtype asset_id: str
:keyword type:
:paramtype type: str
"""
super(Asset, self).__init__(**kwargs)
self.asset_id = asset_id
self.type = type
class AssetDefinition(msrest.serialization.Model):
"""AssetDefinition.
:ivar path:
:vartype path: str
:ivar type: Possible values include: "UriFile", "UriFolder", "MLTable", "CustomModel",
"MLFlowModel", "TritonModel", "OpenAIModel".
:vartype type: str or ~flow.models.AEVAAssetType
:ivar asset_id:
:vartype asset_id: str
:ivar serialized_asset_id:
:vartype serialized_asset_id: str
"""
_attribute_map = {
'path': {'key': 'path', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'asset_id': {'key': 'assetId', 'type': 'str'},
'serialized_asset_id': {'key': 'serializedAssetId', 'type': 'str'},
}
def __init__(
self,
*,
path: Optional[str] = None,
type: Optional[Union[str, "AEVAAssetType"]] = None,
asset_id: Optional[str] = None,
serialized_asset_id: Optional[str] = None,
**kwargs
):
"""
:keyword path:
:paramtype path: str
:keyword type: Possible values include: "UriFile", "UriFolder", "MLTable", "CustomModel",
"MLFlowModel", "TritonModel", "OpenAIModel".
:paramtype type: str or ~flow.models.AEVAAssetType
:keyword asset_id:
:paramtype asset_id: str
:keyword serialized_asset_id:
:paramtype serialized_asset_id: str
"""
super(AssetDefinition, self).__init__(**kwargs)
self.path = path
self.type = type
self.asset_id = asset_id
self.serialized_asset_id = serialized_asset_id
class AssetNameAndVersionIdentifier(msrest.serialization.Model):
"""AssetNameAndVersionIdentifier.
:ivar asset_name:
:vartype asset_name: str
:ivar version:
:vartype version: str
:ivar feed_name:
:vartype feed_name: str
"""
_attribute_map = {
'asset_name': {'key': 'assetName', 'type': 'str'},
'version': {'key': 'version', 'type': 'str'},
'feed_name': {'key': 'feedName', 'type': 'str'},
}
def __init__(
self,
*,
asset_name: Optional[str] = None,
version: Optional[str] = None,
feed_name: Optional[str] = None,
**kwargs
):
"""
:keyword asset_name:
:paramtype asset_name: str
:keyword version:
:paramtype version: str
:keyword feed_name:
:paramtype feed_name: str
"""
super(AssetNameAndVersionIdentifier, self).__init__(**kwargs)
self.asset_name = asset_name
self.version = version
self.feed_name = feed_name
class AssetOutputSettings(msrest.serialization.Model):
"""AssetOutputSettings.
:ivar path:
:vartype path: str
:ivar path_parameter_assignment:
:vartype path_parameter_assignment: ~flow.models.ParameterAssignment
:ivar type: Possible values include: "UriFile", "UriFolder", "MLTable", "CustomModel",
"MLFlowModel", "TritonModel", "OpenAIModel".
:vartype type: str or ~flow.models.AEVAAssetType
:ivar options: This is a dictionary.
:vartype options: dict[str, str]
:ivar data_store_mode: Possible values include: "None", "Mount", "Download", "Upload",
"Direct", "Hdfs", "Link".
:vartype data_store_mode: str or ~flow.models.AEVADataStoreMode
:ivar name:
:vartype name: str
:ivar version:
:vartype version: str
"""
_attribute_map = {
'path': {'key': 'path', 'type': 'str'},
'path_parameter_assignment': {'key': 'PathParameterAssignment', 'type': 'ParameterAssignment'},
'type': {'key': 'type', 'type': 'str'},
'options': {'key': 'options', 'type': '{str}'},
'data_store_mode': {'key': 'dataStoreMode', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'version': {'key': 'version', 'type': 'str'},
}
def __init__(
self,
*,
path: Optional[str] = None,
path_parameter_assignment: Optional["ParameterAssignment"] = None,
type: Optional[Union[str, "AEVAAssetType"]] = None,
options: Optional[Dict[str, str]] = None,
data_store_mode: Optional[Union[str, "AEVADataStoreMode"]] = None,
name: Optional[str] = None,
version: Optional[str] = None,
**kwargs
):
"""
:keyword path:
:paramtype path: str
:keyword path_parameter_assignment:
:paramtype path_parameter_assignment: ~flow.models.ParameterAssignment
:keyword type: Possible values include: "UriFile", "UriFolder", "MLTable", "CustomModel",
"MLFlowModel", "TritonModel", "OpenAIModel".
:paramtype type: str or ~flow.models.AEVAAssetType
:keyword options: This is a dictionary.
:paramtype options: dict[str, str]
:keyword data_store_mode: Possible values include: "None", "Mount", "Download", "Upload",
"Direct", "Hdfs", "Link".
:paramtype data_store_mode: str or ~flow.models.AEVADataStoreMode
:keyword name:
:paramtype name: str
:keyword version:
:paramtype version: str
"""
super(AssetOutputSettings, self).__init__(**kwargs)
self.path = path
self.path_parameter_assignment = path_parameter_assignment
self.type = type
self.options = options
self.data_store_mode = data_store_mode
self.name = name
self.version = version
class AssetOutputSettingsParameter(msrest.serialization.Model):
"""AssetOutputSettingsParameter.
:ivar name:
:vartype name: str
:ivar documentation:
:vartype documentation: str
:ivar default_value:
:vartype default_value: ~flow.models.AssetOutputSettings
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'documentation': {'key': 'documentation', 'type': 'str'},
'default_value': {'key': 'defaultValue', 'type': 'AssetOutputSettings'},
}
def __init__(
self,
*,
name: Optional[str] = None,
documentation: Optional[str] = None,
default_value: Optional["AssetOutputSettings"] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword documentation:
:paramtype documentation: str
:keyword default_value:
:paramtype default_value: ~flow.models.AssetOutputSettings
"""
super(AssetOutputSettingsParameter, self).__init__(**kwargs)
self.name = name
self.documentation = documentation
self.default_value = default_value
class AssetPublishResult(msrest.serialization.Model):
"""AssetPublishResult.
:ivar feed_name:
:vartype feed_name: str
:ivar asset_name:
:vartype asset_name: str
:ivar asset_version:
:vartype asset_version: str
:ivar step_name:
:vartype step_name: str
:ivar status:
:vartype status: str
:ivar error_message:
:vartype error_message: str
:ivar created_time:
:vartype created_time: ~datetime.datetime
:ivar last_updated_time:
:vartype last_updated_time: ~datetime.datetime
:ivar regional_publish_results: Dictionary of :code:`<AssetPublishSingleRegionResult>`.
:vartype regional_publish_results: dict[str, ~flow.models.AssetPublishSingleRegionResult]
"""
_attribute_map = {
'feed_name': {'key': 'feedName', 'type': 'str'},
'asset_name': {'key': 'assetName', 'type': 'str'},
'asset_version': {'key': 'assetVersion', 'type': 'str'},
'step_name': {'key': 'stepName', 'type': 'str'},
'status': {'key': 'status', 'type': 'str'},
'error_message': {'key': 'errorMessage', 'type': 'str'},
'created_time': {'key': 'createdTime', 'type': 'iso-8601'},
'last_updated_time': {'key': 'lastUpdatedTime', 'type': 'iso-8601'},
'regional_publish_results': {'key': 'regionalPublishResults', 'type': '{AssetPublishSingleRegionResult}'},
}
def __init__(
self,
*,
feed_name: Optional[str] = None,
asset_name: Optional[str] = None,
asset_version: Optional[str] = None,
step_name: Optional[str] = None,
status: Optional[str] = None,
error_message: Optional[str] = None,
created_time: Optional[datetime.datetime] = None,
last_updated_time: Optional[datetime.datetime] = None,
regional_publish_results: Optional[Dict[str, "AssetPublishSingleRegionResult"]] = None,
**kwargs
):
"""
:keyword feed_name:
:paramtype feed_name: str
:keyword asset_name:
:paramtype asset_name: str
:keyword asset_version:
:paramtype asset_version: str
:keyword step_name:
:paramtype step_name: str
:keyword status:
:paramtype status: str
:keyword error_message:
:paramtype error_message: str
:keyword created_time:
:paramtype created_time: ~datetime.datetime
:keyword last_updated_time:
:paramtype last_updated_time: ~datetime.datetime
:keyword regional_publish_results: Dictionary of :code:`<AssetPublishSingleRegionResult>`.
:paramtype regional_publish_results: dict[str, ~flow.models.AssetPublishSingleRegionResult]
"""
super(AssetPublishResult, self).__init__(**kwargs)
self.feed_name = feed_name
self.asset_name = asset_name
self.asset_version = asset_version
self.step_name = step_name
self.status = status
self.error_message = error_message
self.created_time = created_time
self.last_updated_time = last_updated_time
self.regional_publish_results = regional_publish_results
class AssetPublishSingleRegionResult(msrest.serialization.Model):
"""AssetPublishSingleRegionResult.
:ivar step_name:
:vartype step_name: str
:ivar status:
:vartype status: str
:ivar error_message:
:vartype error_message: str
:ivar last_updated_time:
:vartype last_updated_time: ~datetime.datetime
:ivar total_steps:
:vartype total_steps: int
:ivar finished_steps:
:vartype finished_steps: int
:ivar remaining_steps:
:vartype remaining_steps: int
"""
_attribute_map = {
'step_name': {'key': 'stepName', 'type': 'str'},
'status': {'key': 'status', 'type': 'str'},
'error_message': {'key': 'errorMessage', 'type': 'str'},
'last_updated_time': {'key': 'lastUpdatedTime', 'type': 'iso-8601'},
'total_steps': {'key': 'totalSteps', 'type': 'int'},
'finished_steps': {'key': 'finishedSteps', 'type': 'int'},
'remaining_steps': {'key': 'remainingSteps', 'type': 'int'},
}
def __init__(
self,
*,
step_name: Optional[str] = None,
status: Optional[str] = None,
error_message: Optional[str] = None,
last_updated_time: Optional[datetime.datetime] = None,
total_steps: Optional[int] = None,
finished_steps: Optional[int] = None,
remaining_steps: Optional[int] = None,
**kwargs
):
"""
:keyword step_name:
:paramtype step_name: str
:keyword status:
:paramtype status: str
:keyword error_message:
:paramtype error_message: str
:keyword last_updated_time:
:paramtype last_updated_time: ~datetime.datetime
:keyword total_steps:
:paramtype total_steps: int
:keyword finished_steps:
:paramtype finished_steps: int
:keyword remaining_steps:
:paramtype remaining_steps: int
"""
super(AssetPublishSingleRegionResult, self).__init__(**kwargs)
self.step_name = step_name
self.status = status
self.error_message = error_message
self.last_updated_time = last_updated_time
self.total_steps = total_steps
self.finished_steps = finished_steps
self.remaining_steps = remaining_steps
class AssetTypeMetaInfo(msrest.serialization.Model):
"""AssetTypeMetaInfo.
:ivar consumption_mode: Possible values include: "Reference", "Copy", "CopyAndAutoUpgrade".
:vartype consumption_mode: str or ~flow.models.ConsumeMode
"""
_attribute_map = {
'consumption_mode': {'key': 'consumptionMode', 'type': 'str'},
}
def __init__(
self,
*,
consumption_mode: Optional[Union[str, "ConsumeMode"]] = None,
**kwargs
):
"""
:keyword consumption_mode: Possible values include: "Reference", "Copy", "CopyAndAutoUpgrade".
:paramtype consumption_mode: str or ~flow.models.ConsumeMode
"""
super(AssetTypeMetaInfo, self).__init__(**kwargs)
self.consumption_mode = consumption_mode
class AssetVersionPublishRequest(msrest.serialization.Model):
"""AssetVersionPublishRequest.
:ivar asset_type: Possible values include: "Component", "Model", "Environment", "Dataset",
"DataStore", "SampleGraph", "FlowTool", "FlowToolSetting", "FlowConnection", "FlowSample",
"FlowRuntimeSpec".
:vartype asset_type: str or ~flow.models.AssetType
:ivar asset_source_type: Possible values include: "Unknown", "Local", "GithubFile",
"GithubFolder", "DevopsArtifactsZip".
:vartype asset_source_type: str or ~flow.models.AssetSourceType
:ivar yaml_file:
:vartype yaml_file: str
:ivar source_zip_url:
:vartype source_zip_url: str
:ivar source_zip_file:
:vartype source_zip_file: IO
:ivar feed_name:
:vartype feed_name: str
:ivar set_as_default_version:
:vartype set_as_default_version: bool
:ivar referenced_assets:
:vartype referenced_assets: list[~flow.models.AssetNameAndVersionIdentifier]
:ivar flow_file:
:vartype flow_file: str
:ivar version:
:vartype version: str
"""
_attribute_map = {
'asset_type': {'key': 'assetType', 'type': 'str'},
'asset_source_type': {'key': 'assetSourceType', 'type': 'str'},
'yaml_file': {'key': 'yamlFile', 'type': 'str'},
'source_zip_url': {'key': 'sourceZipUrl', 'type': 'str'},
'source_zip_file': {'key': 'sourceZipFile', 'type': 'IO'},
'feed_name': {'key': 'feedName', 'type': 'str'},
'set_as_default_version': {'key': 'setAsDefaultVersion', 'type': 'bool'},
'referenced_assets': {'key': 'referencedAssets', 'type': '[AssetNameAndVersionIdentifier]'},
'flow_file': {'key': 'flowFile', 'type': 'str'},
'version': {'key': 'version', 'type': 'str'},
}
def __init__(
self,
*,
asset_type: Optional[Union[str, "AssetType"]] = None,
asset_source_type: Optional[Union[str, "AssetSourceType"]] = None,
yaml_file: Optional[str] = None,
source_zip_url: Optional[str] = None,
source_zip_file: Optional[IO] = None,
feed_name: Optional[str] = None,
set_as_default_version: Optional[bool] = None,
referenced_assets: Optional[List["AssetNameAndVersionIdentifier"]] = None,
flow_file: Optional[str] = None,
version: Optional[str] = None,
**kwargs
):
"""
:keyword asset_type: Possible values include: "Component", "Model", "Environment", "Dataset",
"DataStore", "SampleGraph", "FlowTool", "FlowToolSetting", "FlowConnection", "FlowSample",
"FlowRuntimeSpec".
:paramtype asset_type: str or ~flow.models.AssetType
:keyword asset_source_type: Possible values include: "Unknown", "Local", "GithubFile",
"GithubFolder", "DevopsArtifactsZip".
:paramtype asset_source_type: str or ~flow.models.AssetSourceType
:keyword yaml_file:
:paramtype yaml_file: str
:keyword source_zip_url:
:paramtype source_zip_url: str
:keyword source_zip_file:
:paramtype source_zip_file: IO
:keyword feed_name:
:paramtype feed_name: str
:keyword set_as_default_version:
:paramtype set_as_default_version: bool
:keyword referenced_assets:
:paramtype referenced_assets: list[~flow.models.AssetNameAndVersionIdentifier]
:keyword flow_file:
:paramtype flow_file: str
:keyword version:
:paramtype version: str
"""
super(AssetVersionPublishRequest, self).__init__(**kwargs)
self.asset_type = asset_type
self.asset_source_type = asset_source_type
self.yaml_file = yaml_file
self.source_zip_url = source_zip_url
self.source_zip_file = source_zip_file
self.feed_name = feed_name
self.set_as_default_version = set_as_default_version
self.referenced_assets = referenced_assets
self.flow_file = flow_file
self.version = version
class AssignedUser(msrest.serialization.Model):
"""AssignedUser.
:ivar object_id:
:vartype object_id: str
:ivar tenant_id:
:vartype tenant_id: str
"""
_attribute_map = {
'object_id': {'key': 'objectId', 'type': 'str'},
'tenant_id': {'key': 'tenantId', 'type': 'str'},
}
def __init__(
self,
*,
object_id: Optional[str] = None,
tenant_id: Optional[str] = None,
**kwargs
):
"""
:keyword object_id:
:paramtype object_id: str
:keyword tenant_id:
:paramtype tenant_id: str
"""
super(AssignedUser, self).__init__(**kwargs)
self.object_id = object_id
self.tenant_id = tenant_id
class AuthKeys(msrest.serialization.Model):
"""AuthKeys.
:ivar primary_key:
:vartype primary_key: str
:ivar secondary_key:
:vartype secondary_key: str
"""
_attribute_map = {
'primary_key': {'key': 'primaryKey', 'type': 'str'},
'secondary_key': {'key': 'secondaryKey', 'type': 'str'},
}
def __init__(
self,
*,
primary_key: Optional[str] = None,
secondary_key: Optional[str] = None,
**kwargs
):
"""
:keyword primary_key:
:paramtype primary_key: str
:keyword secondary_key:
:paramtype secondary_key: str
"""
super(AuthKeys, self).__init__(**kwargs)
self.primary_key = primary_key
self.secondary_key = secondary_key
class AutoClusterComputeSpecification(msrest.serialization.Model):
"""AutoClusterComputeSpecification.
:ivar instance_size:
:vartype instance_size: str
:ivar instance_priority:
:vartype instance_priority: str
:ivar os_type:
:vartype os_type: str
:ivar location:
:vartype location: str
:ivar runtime_version:
:vartype runtime_version: str
:ivar quota_enforcement_resource_id:
:vartype quota_enforcement_resource_id: str
:ivar model_compute_specification_id:
:vartype model_compute_specification_id: str
"""
_attribute_map = {
'instance_size': {'key': 'instanceSize', 'type': 'str'},
'instance_priority': {'key': 'instancePriority', 'type': 'str'},
'os_type': {'key': 'osType', 'type': 'str'},
'location': {'key': 'location', 'type': 'str'},
'runtime_version': {'key': 'runtimeVersion', 'type': 'str'},
'quota_enforcement_resource_id': {'key': 'quotaEnforcementResourceId', 'type': 'str'},
'model_compute_specification_id': {'key': 'modelComputeSpecificationId', 'type': 'str'},
}
def __init__(
self,
*,
instance_size: Optional[str] = None,
instance_priority: Optional[str] = None,
os_type: Optional[str] = None,
location: Optional[str] = None,
runtime_version: Optional[str] = None,
quota_enforcement_resource_id: Optional[str] = None,
model_compute_specification_id: Optional[str] = None,
**kwargs
):
"""
:keyword instance_size:
:paramtype instance_size: str
:keyword instance_priority:
:paramtype instance_priority: str
:keyword os_type:
:paramtype os_type: str
:keyword location:
:paramtype location: str
:keyword runtime_version:
:paramtype runtime_version: str
:keyword quota_enforcement_resource_id:
:paramtype quota_enforcement_resource_id: str
:keyword model_compute_specification_id:
:paramtype model_compute_specification_id: str
"""
super(AutoClusterComputeSpecification, self).__init__(**kwargs)
self.instance_size = instance_size
self.instance_priority = instance_priority
self.os_type = os_type
self.location = location
self.runtime_version = runtime_version
self.quota_enforcement_resource_id = quota_enforcement_resource_id
self.model_compute_specification_id = model_compute_specification_id
class AutoDeleteSetting(msrest.serialization.Model):
"""AutoDeleteSetting.
:ivar condition: Possible values include: "CreatedGreaterThan", "LastAccessedGreaterThan".
:vartype condition: str or ~flow.models.AutoDeleteCondition
:ivar value:
:vartype value: str
"""
_attribute_map = {
'condition': {'key': 'condition', 'type': 'str'},
'value': {'key': 'value', 'type': 'str'},
}
def __init__(
self,
*,
condition: Optional[Union[str, "AutoDeleteCondition"]] = None,
value: Optional[str] = None,
**kwargs
):
"""
:keyword condition: Possible values include: "CreatedGreaterThan", "LastAccessedGreaterThan".
:paramtype condition: str or ~flow.models.AutoDeleteCondition
:keyword value:
:paramtype value: str
"""
super(AutoDeleteSetting, self).__init__(**kwargs)
self.condition = condition
self.value = value
class AutoFeaturizeConfiguration(msrest.serialization.Model):
"""AutoFeaturizeConfiguration.
:ivar featurization_config:
:vartype featurization_config: ~flow.models.FeaturizationSettings
"""
_attribute_map = {
'featurization_config': {'key': 'featurizationConfig', 'type': 'FeaturizationSettings'},
}
def __init__(
self,
*,
featurization_config: Optional["FeaturizationSettings"] = None,
**kwargs
):
"""
:keyword featurization_config:
:paramtype featurization_config: ~flow.models.FeaturizationSettings
"""
super(AutoFeaturizeConfiguration, self).__init__(**kwargs)
self.featurization_config = featurization_config
class AutologgerSettings(msrest.serialization.Model):
"""AutologgerSettings.
:ivar ml_flow_autologger: Possible values include: "Enabled", "Disabled".
:vartype ml_flow_autologger: str or ~flow.models.MLFlowAutologgerState
"""
_attribute_map = {
'ml_flow_autologger': {'key': 'mlFlowAutologger', 'type': 'str'},
}
def __init__(
self,
*,
ml_flow_autologger: Optional[Union[str, "MLFlowAutologgerState"]] = None,
**kwargs
):
"""
:keyword ml_flow_autologger: Possible values include: "Enabled", "Disabled".
:paramtype ml_flow_autologger: str or ~flow.models.MLFlowAutologgerState
"""
super(AutologgerSettings, self).__init__(**kwargs)
self.ml_flow_autologger = ml_flow_autologger
class AutoMLComponentConfiguration(msrest.serialization.Model):
"""AutoMLComponentConfiguration.
:ivar auto_train_config:
:vartype auto_train_config: ~flow.models.AutoTrainConfiguration
:ivar auto_featurize_config:
:vartype auto_featurize_config: ~flow.models.AutoFeaturizeConfiguration
"""
_attribute_map = {
'auto_train_config': {'key': 'autoTrainConfig', 'type': 'AutoTrainConfiguration'},
'auto_featurize_config': {'key': 'autoFeaturizeConfig', 'type': 'AutoFeaturizeConfiguration'},
}
def __init__(
self,
*,
auto_train_config: Optional["AutoTrainConfiguration"] = None,
auto_featurize_config: Optional["AutoFeaturizeConfiguration"] = None,
**kwargs
):
"""
:keyword auto_train_config:
:paramtype auto_train_config: ~flow.models.AutoTrainConfiguration
:keyword auto_featurize_config:
:paramtype auto_featurize_config: ~flow.models.AutoFeaturizeConfiguration
"""
super(AutoMLComponentConfiguration, self).__init__(**kwargs)
self.auto_train_config = auto_train_config
self.auto_featurize_config = auto_featurize_config
class AutoScaler(msrest.serialization.Model):
"""AutoScaler.
:ivar autoscale_enabled:
:vartype autoscale_enabled: bool
:ivar min_replicas:
:vartype min_replicas: int
:ivar max_replicas:
:vartype max_replicas: int
:ivar target_utilization:
:vartype target_utilization: int
:ivar refresh_period_in_seconds:
:vartype refresh_period_in_seconds: int
"""
_attribute_map = {
'autoscale_enabled': {'key': 'autoscaleEnabled', 'type': 'bool'},
'min_replicas': {'key': 'minReplicas', 'type': 'int'},
'max_replicas': {'key': 'maxReplicas', 'type': 'int'},
'target_utilization': {'key': 'targetUtilization', 'type': 'int'},
'refresh_period_in_seconds': {'key': 'refreshPeriodInSeconds', 'type': 'int'},
}
def __init__(
self,
*,
autoscale_enabled: Optional[bool] = None,
min_replicas: Optional[int] = None,
max_replicas: Optional[int] = None,
target_utilization: Optional[int] = None,
refresh_period_in_seconds: Optional[int] = None,
**kwargs
):
"""
:keyword autoscale_enabled:
:paramtype autoscale_enabled: bool
:keyword min_replicas:
:paramtype min_replicas: int
:keyword max_replicas:
:paramtype max_replicas: int
:keyword target_utilization:
:paramtype target_utilization: int
:keyword refresh_period_in_seconds:
:paramtype refresh_period_in_seconds: int
"""
super(AutoScaler, self).__init__(**kwargs)
self.autoscale_enabled = autoscale_enabled
self.min_replicas = min_replicas
self.max_replicas = max_replicas
self.target_utilization = target_utilization
self.refresh_period_in_seconds = refresh_period_in_seconds
class AutoTrainConfiguration(msrest.serialization.Model):
"""AutoTrainConfiguration.
:ivar general_settings:
:vartype general_settings: ~flow.models.GeneralSettings
:ivar limit_settings:
:vartype limit_settings: ~flow.models.LimitSettings
:ivar data_settings:
:vartype data_settings: ~flow.models.DataSettings
:ivar forecasting_settings:
:vartype forecasting_settings: ~flow.models.ForecastingSettings
:ivar training_settings:
:vartype training_settings: ~flow.models.TrainingSettings
:ivar sweep_settings:
:vartype sweep_settings: ~flow.models.SweepSettings
:ivar image_model_settings: Dictionary of :code:`<any>`.
:vartype image_model_settings: dict[str, any]
:ivar properties: Dictionary of :code:`<string>`.
:vartype properties: dict[str, str]
:ivar compute_configuration:
:vartype compute_configuration: ~flow.models.AEVAComputeConfiguration
:ivar resource_configurtion:
:vartype resource_configurtion: ~flow.models.AEVAResourceConfiguration
:ivar environment_id:
:vartype environment_id: str
:ivar environment_variables: Dictionary of :code:`<string>`.
:vartype environment_variables: dict[str, str]
"""
_attribute_map = {
'general_settings': {'key': 'generalSettings', 'type': 'GeneralSettings'},
'limit_settings': {'key': 'limitSettings', 'type': 'LimitSettings'},
'data_settings': {'key': 'dataSettings', 'type': 'DataSettings'},
'forecasting_settings': {'key': 'forecastingSettings', 'type': 'ForecastingSettings'},
'training_settings': {'key': 'trainingSettings', 'type': 'TrainingSettings'},
'sweep_settings': {'key': 'sweepSettings', 'type': 'SweepSettings'},
'image_model_settings': {'key': 'imageModelSettings', 'type': '{object}'},
'properties': {'key': 'properties', 'type': '{str}'},
'compute_configuration': {'key': 'computeConfiguration', 'type': 'AEVAComputeConfiguration'},
'resource_configurtion': {'key': 'resourceConfigurtion', 'type': 'AEVAResourceConfiguration'},
'environment_id': {'key': 'environmentId', 'type': 'str'},
'environment_variables': {'key': 'environmentVariables', 'type': '{str}'},
}
def __init__(
self,
*,
general_settings: Optional["GeneralSettings"] = None,
limit_settings: Optional["LimitSettings"] = None,
data_settings: Optional["DataSettings"] = None,
forecasting_settings: Optional["ForecastingSettings"] = None,
training_settings: Optional["TrainingSettings"] = None,
sweep_settings: Optional["SweepSettings"] = None,
image_model_settings: Optional[Dict[str, Any]] = None,
properties: Optional[Dict[str, str]] = None,
compute_configuration: Optional["AEVAComputeConfiguration"] = None,
resource_configurtion: Optional["AEVAResourceConfiguration"] = None,
environment_id: Optional[str] = None,
environment_variables: Optional[Dict[str, str]] = None,
**kwargs
):
"""
:keyword general_settings:
:paramtype general_settings: ~flow.models.GeneralSettings
:keyword limit_settings:
:paramtype limit_settings: ~flow.models.LimitSettings
:keyword data_settings:
:paramtype data_settings: ~flow.models.DataSettings
:keyword forecasting_settings:
:paramtype forecasting_settings: ~flow.models.ForecastingSettings
:keyword training_settings:
:paramtype training_settings: ~flow.models.TrainingSettings
:keyword sweep_settings:
:paramtype sweep_settings: ~flow.models.SweepSettings
:keyword image_model_settings: Dictionary of :code:`<any>`.
:paramtype image_model_settings: dict[str, any]
:keyword properties: Dictionary of :code:`<string>`.
:paramtype properties: dict[str, str]
:keyword compute_configuration:
:paramtype compute_configuration: ~flow.models.AEVAComputeConfiguration
:keyword resource_configurtion:
:paramtype resource_configurtion: ~flow.models.AEVAResourceConfiguration
:keyword environment_id:
:paramtype environment_id: str
:keyword environment_variables: Dictionary of :code:`<string>`.
:paramtype environment_variables: dict[str, str]
"""
super(AutoTrainConfiguration, self).__init__(**kwargs)
self.general_settings = general_settings
self.limit_settings = limit_settings
self.data_settings = data_settings
self.forecasting_settings = forecasting_settings
self.training_settings = training_settings
self.sweep_settings = sweep_settings
self.image_model_settings = image_model_settings
self.properties = properties
self.compute_configuration = compute_configuration
self.resource_configurtion = resource_configurtion
self.environment_id = environment_id
self.environment_variables = environment_variables
class AvailabilityResponse(msrest.serialization.Model):
"""AvailabilityResponse.
:ivar is_available:
:vartype is_available: bool
:ivar error: The error response.
:vartype error: ~flow.models.ErrorResponse
"""
_attribute_map = {
'is_available': {'key': 'isAvailable', 'type': 'bool'},
'error': {'key': 'error', 'type': 'ErrorResponse'},
}
def __init__(
self,
*,
is_available: Optional[bool] = None,
error: Optional["ErrorResponse"] = None,
**kwargs
):
"""
:keyword is_available:
:paramtype is_available: bool
:keyword error: The error response.
:paramtype error: ~flow.models.ErrorResponse
"""
super(AvailabilityResponse, self).__init__(**kwargs)
self.is_available = is_available
self.error = error
class AzureBlobReference(msrest.serialization.Model):
"""AzureBlobReference.
:ivar container:
:vartype container: str
:ivar sas_token:
:vartype sas_token: str
:ivar uri:
:vartype uri: str
:ivar account:
:vartype account: str
:ivar relative_path:
:vartype relative_path: str
:ivar aml_data_store_name:
:vartype aml_data_store_name: str
"""
_attribute_map = {
'container': {'key': 'container', 'type': 'str'},
'sas_token': {'key': 'sasToken', 'type': 'str'},
'uri': {'key': 'uri', 'type': 'str'},
'account': {'key': 'account', 'type': 'str'},
'relative_path': {'key': 'relativePath', 'type': 'str'},
'aml_data_store_name': {'key': 'amlDataStoreName', 'type': 'str'},
}
def __init__(
self,
*,
container: Optional[str] = None,
sas_token: Optional[str] = None,
uri: Optional[str] = None,
account: Optional[str] = None,
relative_path: Optional[str] = None,
aml_data_store_name: Optional[str] = None,
**kwargs
):
"""
:keyword container:
:paramtype container: str
:keyword sas_token:
:paramtype sas_token: str
:keyword uri:
:paramtype uri: str
:keyword account:
:paramtype account: str
:keyword relative_path:
:paramtype relative_path: str
:keyword aml_data_store_name:
:paramtype aml_data_store_name: str
"""
super(AzureBlobReference, self).__init__(**kwargs)
self.container = container
self.sas_token = sas_token
self.uri = uri
self.account = account
self.relative_path = relative_path
self.aml_data_store_name = aml_data_store_name
class AzureDatabaseReference(msrest.serialization.Model):
"""AzureDatabaseReference.
:ivar table_name:
:vartype table_name: str
:ivar sql_query:
:vartype sql_query: str
:ivar stored_procedure_name:
:vartype stored_procedure_name: str
:ivar stored_procedure_parameters:
:vartype stored_procedure_parameters: list[~flow.models.StoredProcedureParameter]
:ivar aml_data_store_name:
:vartype aml_data_store_name: str
"""
_attribute_map = {
'table_name': {'key': 'tableName', 'type': 'str'},
'sql_query': {'key': 'sqlQuery', 'type': 'str'},
'stored_procedure_name': {'key': 'storedProcedureName', 'type': 'str'},
'stored_procedure_parameters': {'key': 'storedProcedureParameters', 'type': '[StoredProcedureParameter]'},
'aml_data_store_name': {'key': 'amlDataStoreName', 'type': 'str'},
}
def __init__(
self,
*,
table_name: Optional[str] = None,
sql_query: Optional[str] = None,
stored_procedure_name: Optional[str] = None,
stored_procedure_parameters: Optional[List["StoredProcedureParameter"]] = None,
aml_data_store_name: Optional[str] = None,
**kwargs
):
"""
:keyword table_name:
:paramtype table_name: str
:keyword sql_query:
:paramtype sql_query: str
:keyword stored_procedure_name:
:paramtype stored_procedure_name: str
:keyword stored_procedure_parameters:
:paramtype stored_procedure_parameters: list[~flow.models.StoredProcedureParameter]
:keyword aml_data_store_name:
:paramtype aml_data_store_name: str
"""
super(AzureDatabaseReference, self).__init__(**kwargs)
self.table_name = table_name
self.sql_query = sql_query
self.stored_procedure_name = stored_procedure_name
self.stored_procedure_parameters = stored_procedure_parameters
self.aml_data_store_name = aml_data_store_name
class AzureDataLakeGen2Reference(msrest.serialization.Model):
"""AzureDataLakeGen2Reference.
:ivar file_system_name:
:vartype file_system_name: str
:ivar uri:
:vartype uri: str
:ivar account:
:vartype account: str
:ivar relative_path:
:vartype relative_path: str
:ivar aml_data_store_name:
:vartype aml_data_store_name: str
"""
_attribute_map = {
'file_system_name': {'key': 'fileSystemName', 'type': 'str'},
'uri': {'key': 'uri', 'type': 'str'},
'account': {'key': 'account', 'type': 'str'},
'relative_path': {'key': 'relativePath', 'type': 'str'},
'aml_data_store_name': {'key': 'amlDataStoreName', 'type': 'str'},
}
def __init__(
self,
*,
file_system_name: Optional[str] = None,
uri: Optional[str] = None,
account: Optional[str] = None,
relative_path: Optional[str] = None,
aml_data_store_name: Optional[str] = None,
**kwargs
):
"""
:keyword file_system_name:
:paramtype file_system_name: str
:keyword uri:
:paramtype uri: str
:keyword account:
:paramtype account: str
:keyword relative_path:
:paramtype relative_path: str
:keyword aml_data_store_name:
:paramtype aml_data_store_name: str
"""
super(AzureDataLakeGen2Reference, self).__init__(**kwargs)
self.file_system_name = file_system_name
self.uri = uri
self.account = account
self.relative_path = relative_path
self.aml_data_store_name = aml_data_store_name
class AzureDataLakeReference(msrest.serialization.Model):
"""AzureDataLakeReference.
:ivar tenant:
:vartype tenant: str
:ivar subscription:
:vartype subscription: str
:ivar resource_group:
:vartype resource_group: str
:ivar uri:
:vartype uri: str
:ivar account:
:vartype account: str
:ivar relative_path:
:vartype relative_path: str
:ivar aml_data_store_name:
:vartype aml_data_store_name: str
"""
_attribute_map = {
'tenant': {'key': 'tenant', 'type': 'str'},
'subscription': {'key': 'subscription', 'type': 'str'},
'resource_group': {'key': 'resourceGroup', 'type': 'str'},
'uri': {'key': 'uri', 'type': 'str'},
'account': {'key': 'account', 'type': 'str'},
'relative_path': {'key': 'relativePath', 'type': 'str'},
'aml_data_store_name': {'key': 'amlDataStoreName', 'type': 'str'},
}
def __init__(
self,
*,
tenant: Optional[str] = None,
subscription: Optional[str] = None,
resource_group: Optional[str] = None,
uri: Optional[str] = None,
account: Optional[str] = None,
relative_path: Optional[str] = None,
aml_data_store_name: Optional[str] = None,
**kwargs
):
"""
:keyword tenant:
:paramtype tenant: str
:keyword subscription:
:paramtype subscription: str
:keyword resource_group:
:paramtype resource_group: str
:keyword uri:
:paramtype uri: str
:keyword account:
:paramtype account: str
:keyword relative_path:
:paramtype relative_path: str
:keyword aml_data_store_name:
:paramtype aml_data_store_name: str
"""
super(AzureDataLakeReference, self).__init__(**kwargs)
self.tenant = tenant
self.subscription = subscription
self.resource_group = resource_group
self.uri = uri
self.account = account
self.relative_path = relative_path
self.aml_data_store_name = aml_data_store_name
class AzureFilesReference(msrest.serialization.Model):
"""AzureFilesReference.
:ivar share:
:vartype share: str
:ivar uri:
:vartype uri: str
:ivar account:
:vartype account: str
:ivar relative_path:
:vartype relative_path: str
:ivar aml_data_store_name:
:vartype aml_data_store_name: str
"""
_attribute_map = {
'share': {'key': 'share', 'type': 'str'},
'uri': {'key': 'uri', 'type': 'str'},
'account': {'key': 'account', 'type': 'str'},
'relative_path': {'key': 'relativePath', 'type': 'str'},
'aml_data_store_name': {'key': 'amlDataStoreName', 'type': 'str'},
}
def __init__(
self,
*,
share: Optional[str] = None,
uri: Optional[str] = None,
account: Optional[str] = None,
relative_path: Optional[str] = None,
aml_data_store_name: Optional[str] = None,
**kwargs
):
"""
:keyword share:
:paramtype share: str
:keyword uri:
:paramtype uri: str
:keyword account:
:paramtype account: str
:keyword relative_path:
:paramtype relative_path: str
:keyword aml_data_store_name:
:paramtype aml_data_store_name: str
"""
super(AzureFilesReference, self).__init__(**kwargs)
self.share = share
self.uri = uri
self.account = account
self.relative_path = relative_path
self.aml_data_store_name = aml_data_store_name
class AzureMLModuleVersionDescriptor(msrest.serialization.Model):
"""AzureMLModuleVersionDescriptor.
:ivar module_version_id:
:vartype module_version_id: str
:ivar version:
:vartype version: str
"""
_attribute_map = {
'module_version_id': {'key': 'moduleVersionId', 'type': 'str'},
'version': {'key': 'version', 'type': 'str'},
}
def __init__(
self,
*,
module_version_id: Optional[str] = None,
version: Optional[str] = None,
**kwargs
):
"""
:keyword module_version_id:
:paramtype module_version_id: str
:keyword version:
:paramtype version: str
"""
super(AzureMLModuleVersionDescriptor, self).__init__(**kwargs)
self.module_version_id = module_version_id
self.version = version
class AzureOpenAIDeploymentDto(msrest.serialization.Model):
"""AzureOpenAIDeploymentDto.
:ivar name:
:vartype name: str
:ivar model_name:
:vartype model_name: str
:ivar capabilities:
:vartype capabilities: ~flow.models.AzureOpenAIModelCapabilities
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'model_name': {'key': 'modelName', 'type': 'str'},
'capabilities': {'key': 'capabilities', 'type': 'AzureOpenAIModelCapabilities'},
}
def __init__(
self,
*,
name: Optional[str] = None,
model_name: Optional[str] = None,
capabilities: Optional["AzureOpenAIModelCapabilities"] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword model_name:
:paramtype model_name: str
:keyword capabilities:
:paramtype capabilities: ~flow.models.AzureOpenAIModelCapabilities
"""
super(AzureOpenAIDeploymentDto, self).__init__(**kwargs)
self.name = name
self.model_name = model_name
self.capabilities = capabilities
class AzureOpenAIModelCapabilities(msrest.serialization.Model):
"""AzureOpenAIModelCapabilities.
:ivar completion:
:vartype completion: bool
:ivar chat_completion:
:vartype chat_completion: bool
:ivar embeddings:
:vartype embeddings: bool
"""
_attribute_map = {
'completion': {'key': 'completion', 'type': 'bool'},
'chat_completion': {'key': 'chat_completion', 'type': 'bool'},
'embeddings': {'key': 'embeddings', 'type': 'bool'},
}
def __init__(
self,
*,
completion: Optional[bool] = None,
chat_completion: Optional[bool] = None,
embeddings: Optional[bool] = None,
**kwargs
):
"""
:keyword completion:
:paramtype completion: bool
:keyword chat_completion:
:paramtype chat_completion: bool
:keyword embeddings:
:paramtype embeddings: bool
"""
super(AzureOpenAIModelCapabilities, self).__init__(**kwargs)
self.completion = completion
self.chat_completion = chat_completion
self.embeddings = embeddings
class BatchAiComputeInfo(msrest.serialization.Model):
"""BatchAiComputeInfo.
:ivar batch_ai_subscription_id:
:vartype batch_ai_subscription_id: str
:ivar batch_ai_resource_group:
:vartype batch_ai_resource_group: str
:ivar batch_ai_workspace_name:
:vartype batch_ai_workspace_name: str
:ivar cluster_name:
:vartype cluster_name: str
:ivar native_shared_directory:
:vartype native_shared_directory: str
"""
_attribute_map = {
'batch_ai_subscription_id': {'key': 'batchAiSubscriptionId', 'type': 'str'},
'batch_ai_resource_group': {'key': 'batchAiResourceGroup', 'type': 'str'},
'batch_ai_workspace_name': {'key': 'batchAiWorkspaceName', 'type': 'str'},
'cluster_name': {'key': 'clusterName', 'type': 'str'},
'native_shared_directory': {'key': 'nativeSharedDirectory', 'type': 'str'},
}
def __init__(
self,
*,
batch_ai_subscription_id: Optional[str] = None,
batch_ai_resource_group: Optional[str] = None,
batch_ai_workspace_name: Optional[str] = None,
cluster_name: Optional[str] = None,
native_shared_directory: Optional[str] = None,
**kwargs
):
"""
:keyword batch_ai_subscription_id:
:paramtype batch_ai_subscription_id: str
:keyword batch_ai_resource_group:
:paramtype batch_ai_resource_group: str
:keyword batch_ai_workspace_name:
:paramtype batch_ai_workspace_name: str
:keyword cluster_name:
:paramtype cluster_name: str
:keyword native_shared_directory:
:paramtype native_shared_directory: str
"""
super(BatchAiComputeInfo, self).__init__(**kwargs)
self.batch_ai_subscription_id = batch_ai_subscription_id
self.batch_ai_resource_group = batch_ai_resource_group
self.batch_ai_workspace_name = batch_ai_workspace_name
self.cluster_name = cluster_name
self.native_shared_directory = native_shared_directory
class BatchDataInput(msrest.serialization.Model):
"""BatchDataInput.
:ivar data_uri:
:vartype data_uri: str
:ivar type:
:vartype type: str
"""
_attribute_map = {
'data_uri': {'key': 'dataUri', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
}
def __init__(
self,
*,
data_uri: Optional[str] = None,
type: Optional[str] = None,
**kwargs
):
"""
:keyword data_uri:
:paramtype data_uri: str
:keyword type:
:paramtype type: str
"""
super(BatchDataInput, self).__init__(**kwargs)
self.data_uri = data_uri
self.type = type
class BatchExportComponentSpecResponse(msrest.serialization.Model):
"""BatchExportComponentSpecResponse.
:ivar component_spec_meta_infos:
:vartype component_spec_meta_infos: list[~flow.models.ComponentSpecMetaInfo]
:ivar errors:
:vartype errors: list[~flow.models.ErrorResponse]
"""
_attribute_map = {
'component_spec_meta_infos': {'key': 'componentSpecMetaInfos', 'type': '[ComponentSpecMetaInfo]'},
'errors': {'key': 'errors', 'type': '[ErrorResponse]'},
}
def __init__(
self,
*,
component_spec_meta_infos: Optional[List["ComponentSpecMetaInfo"]] = None,
errors: Optional[List["ErrorResponse"]] = None,
**kwargs
):
"""
:keyword component_spec_meta_infos:
:paramtype component_spec_meta_infos: list[~flow.models.ComponentSpecMetaInfo]
:keyword errors:
:paramtype errors: list[~flow.models.ErrorResponse]
"""
super(BatchExportComponentSpecResponse, self).__init__(**kwargs)
self.component_spec_meta_infos = component_spec_meta_infos
self.errors = errors
class BatchExportRawComponentResponse(msrest.serialization.Model):
"""BatchExportRawComponentResponse.
:ivar raw_component_dtos:
:vartype raw_component_dtos: list[~flow.models.RawComponentDto]
:ivar errors:
:vartype errors: list[~flow.models.ErrorResponse]
"""
_attribute_map = {
'raw_component_dtos': {'key': 'rawComponentDtos', 'type': '[RawComponentDto]'},
'errors': {'key': 'errors', 'type': '[ErrorResponse]'},
}
def __init__(
self,
*,
raw_component_dtos: Optional[List["RawComponentDto"]] = None,
errors: Optional[List["ErrorResponse"]] = None,
**kwargs
):
"""
:keyword raw_component_dtos:
:paramtype raw_component_dtos: list[~flow.models.RawComponentDto]
:keyword errors:
:paramtype errors: list[~flow.models.ErrorResponse]
"""
super(BatchExportRawComponentResponse, self).__init__(**kwargs)
self.raw_component_dtos = raw_component_dtos
self.errors = errors
class BatchGetComponentHashesRequest(msrest.serialization.Model):
"""BatchGetComponentHashesRequest.
:ivar module_hash_version: Possible values include: "IdentifierHash", "IdentifierHashV2".
:vartype module_hash_version: str or ~flow.models.AetherModuleHashVersion
:ivar module_entities: Dictionary of :code:`<AetherModuleEntity>`.
:vartype module_entities: dict[str, ~flow.models.AetherModuleEntity]
"""
_attribute_map = {
'module_hash_version': {'key': 'moduleHashVersion', 'type': 'str'},
'module_entities': {'key': 'moduleEntities', 'type': '{AetherModuleEntity}'},
}
def __init__(
self,
*,
module_hash_version: Optional[Union[str, "AetherModuleHashVersion"]] = None,
module_entities: Optional[Dict[str, "AetherModuleEntity"]] = None,
**kwargs
):
"""
:keyword module_hash_version: Possible values include: "IdentifierHash", "IdentifierHashV2".
:paramtype module_hash_version: str or ~flow.models.AetherModuleHashVersion
:keyword module_entities: Dictionary of :code:`<AetherModuleEntity>`.
:paramtype module_entities: dict[str, ~flow.models.AetherModuleEntity]
"""
super(BatchGetComponentHashesRequest, self).__init__(**kwargs)
self.module_hash_version = module_hash_version
self.module_entities = module_entities
class BatchGetComponentRequest(msrest.serialization.Model):
"""BatchGetComponentRequest.
:ivar version_ids:
:vartype version_ids: list[str]
:ivar name_and_versions:
:vartype name_and_versions: list[~flow.models.ComponentNameMetaInfo]
"""
_attribute_map = {
'version_ids': {'key': 'versionIds', 'type': '[str]'},
'name_and_versions': {'key': 'nameAndVersions', 'type': '[ComponentNameMetaInfo]'},
}
def __init__(
self,
*,
version_ids: Optional[List[str]] = None,
name_and_versions: Optional[List["ComponentNameMetaInfo"]] = None,
**kwargs
):
"""
:keyword version_ids:
:paramtype version_ids: list[str]
:keyword name_and_versions:
:paramtype name_and_versions: list[~flow.models.ComponentNameMetaInfo]
"""
super(BatchGetComponentRequest, self).__init__(**kwargs)
self.version_ids = version_ids
self.name_and_versions = name_and_versions
class Binding(msrest.serialization.Model):
"""Binding.
:ivar binding_type: The only acceptable values to pass in are None and "Basic". The default
value is None.
:vartype binding_type: str
"""
_attribute_map = {
'binding_type': {'key': 'bindingType', 'type': 'str'},
}
def __init__(
self,
*,
binding_type: Optional[str] = None,
**kwargs
):
"""
:keyword binding_type: The only acceptable values to pass in are None and "Basic". The default
value is None.
:paramtype binding_type: str
"""
super(Binding, self).__init__(**kwargs)
self.binding_type = binding_type
class BulkTestDto(msrest.serialization.Model):
"""BulkTestDto.
:ivar bulk_test_id:
:vartype bulk_test_id: str
:ivar display_name:
:vartype display_name: str
:ivar description:
:vartype description: str
:ivar tags: A set of tags. This is a dictionary.
:vartype tags: dict[str, str]
:ivar runtime:
:vartype runtime: str
:ivar created_by:
:vartype created_by: ~flow.models.SchemaContractsCreatedBy
:ivar created_on:
:vartype created_on: ~datetime.datetime
:ivar evaluation_count:
:vartype evaluation_count: int
:ivar variant_count:
:vartype variant_count: int
:ivar flow_submit_run_settings:
:vartype flow_submit_run_settings: ~flow.models.FlowSubmitRunSettings
:ivar inputs: This is a dictionary.
:vartype inputs: dict[str, ~flow.models.FlowInputDefinition]
:ivar outputs: This is a dictionary.
:vartype outputs: dict[str, ~flow.models.FlowOutputDefinition]
:ivar batch_inputs:
:vartype batch_inputs: list[dict[str, any]]
:ivar batch_data_input:
:vartype batch_data_input: ~flow.models.BatchDataInput
"""
_attribute_map = {
'bulk_test_id': {'key': 'bulkTestId', 'type': 'str'},
'display_name': {'key': 'displayName', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'runtime': {'key': 'runtime', 'type': 'str'},
'created_by': {'key': 'createdBy', 'type': 'SchemaContractsCreatedBy'},
'created_on': {'key': 'createdOn', 'type': 'iso-8601'},
'evaluation_count': {'key': 'evaluationCount', 'type': 'int'},
'variant_count': {'key': 'variantCount', 'type': 'int'},
'flow_submit_run_settings': {'key': 'flowSubmitRunSettings', 'type': 'FlowSubmitRunSettings'},
'inputs': {'key': 'inputs', 'type': '{FlowInputDefinition}'},
'outputs': {'key': 'outputs', 'type': '{FlowOutputDefinition}'},
'batch_inputs': {'key': 'batch_inputs', 'type': '[{object}]'},
'batch_data_input': {'key': 'batchDataInput', 'type': 'BatchDataInput'},
}
def __init__(
self,
*,
bulk_test_id: Optional[str] = None,
display_name: Optional[str] = None,
description: Optional[str] = None,
tags: Optional[Dict[str, str]] = None,
runtime: Optional[str] = None,
created_by: Optional["SchemaContractsCreatedBy"] = None,
created_on: Optional[datetime.datetime] = None,
evaluation_count: Optional[int] = None,
variant_count: Optional[int] = None,
flow_submit_run_settings: Optional["FlowSubmitRunSettings"] = None,
inputs: Optional[Dict[str, "FlowInputDefinition"]] = None,
outputs: Optional[Dict[str, "FlowOutputDefinition"]] = None,
batch_inputs: Optional[List[Dict[str, Any]]] = None,
batch_data_input: Optional["BatchDataInput"] = None,
**kwargs
):
"""
:keyword bulk_test_id:
:paramtype bulk_test_id: str
:keyword display_name:
:paramtype display_name: str
:keyword description:
:paramtype description: str
:keyword tags: A set of tags. This is a dictionary.
:paramtype tags: dict[str, str]
:keyword runtime:
:paramtype runtime: str
:keyword created_by:
:paramtype created_by: ~flow.models.SchemaContractsCreatedBy
:keyword created_on:
:paramtype created_on: ~datetime.datetime
:keyword evaluation_count:
:paramtype evaluation_count: int
:keyword variant_count:
:paramtype variant_count: int
:keyword flow_submit_run_settings:
:paramtype flow_submit_run_settings: ~flow.models.FlowSubmitRunSettings
:keyword inputs: This is a dictionary.
:paramtype inputs: dict[str, ~flow.models.FlowInputDefinition]
:keyword outputs: This is a dictionary.
:paramtype outputs: dict[str, ~flow.models.FlowOutputDefinition]
:keyword batch_inputs:
:paramtype batch_inputs: list[dict[str, any]]
:keyword batch_data_input:
:paramtype batch_data_input: ~flow.models.BatchDataInput
"""
super(BulkTestDto, self).__init__(**kwargs)
self.bulk_test_id = bulk_test_id
self.display_name = display_name
self.description = description
self.tags = tags
self.runtime = runtime
self.created_by = created_by
self.created_on = created_on
self.evaluation_count = evaluation_count
self.variant_count = variant_count
self.flow_submit_run_settings = flow_submit_run_settings
self.inputs = inputs
self.outputs = outputs
self.batch_inputs = batch_inputs
self.batch_data_input = batch_data_input
class CloudError(msrest.serialization.Model):
"""CloudError.
Variables are only populated by the server, and will be ignored when sending a request.
:ivar code:
:vartype code: str
:ivar message:
:vartype message: str
:ivar target:
:vartype target: str
:ivar details:
:vartype details: list[~flow.models.CloudError]
:ivar additional_info:
:vartype additional_info: list[~flow.models.AdditionalErrorInfo]
"""
_validation = {
'details': {'readonly': True},
'additional_info': {'readonly': True},
}
_attribute_map = {
'code': {'key': 'code', 'type': 'str'},
'message': {'key': 'message', 'type': 'str'},
'target': {'key': 'target', 'type': 'str'},
'details': {'key': 'details', 'type': '[CloudError]'},
'additional_info': {'key': 'additionalInfo', 'type': '[AdditionalErrorInfo]'},
}
def __init__(
self,
*,
code: Optional[str] = None,
message: Optional[str] = None,
target: Optional[str] = None,
**kwargs
):
"""
:keyword code:
:paramtype code: str
:keyword message:
:paramtype message: str
:keyword target:
:paramtype target: str
"""
super(CloudError, self).__init__(**kwargs)
self.code = code
self.message = message
self.target = target
self.details = None
self.additional_info = None
class CloudPrioritySetting(msrest.serialization.Model):
"""CloudPrioritySetting.
:ivar scope_priority:
:vartype scope_priority: ~flow.models.PriorityConfiguration
:ivar aml_compute_priority:
:vartype aml_compute_priority: ~flow.models.PriorityConfiguration
:ivar itp_priority:
:vartype itp_priority: ~flow.models.PriorityConfiguration
:ivar singularity_priority:
:vartype singularity_priority: ~flow.models.PriorityConfiguration
"""
_attribute_map = {
'scope_priority': {'key': 'scopePriority', 'type': 'PriorityConfiguration'},
'aml_compute_priority': {'key': 'AmlComputePriority', 'type': 'PriorityConfiguration'},
'itp_priority': {'key': 'ItpPriority', 'type': 'PriorityConfiguration'},
'singularity_priority': {'key': 'SingularityPriority', 'type': 'PriorityConfiguration'},
}
def __init__(
self,
*,
scope_priority: Optional["PriorityConfiguration"] = None,
aml_compute_priority: Optional["PriorityConfiguration"] = None,
itp_priority: Optional["PriorityConfiguration"] = None,
singularity_priority: Optional["PriorityConfiguration"] = None,
**kwargs
):
"""
:keyword scope_priority:
:paramtype scope_priority: ~flow.models.PriorityConfiguration
:keyword aml_compute_priority:
:paramtype aml_compute_priority: ~flow.models.PriorityConfiguration
:keyword itp_priority:
:paramtype itp_priority: ~flow.models.PriorityConfiguration
:keyword singularity_priority:
:paramtype singularity_priority: ~flow.models.PriorityConfiguration
"""
super(CloudPrioritySetting, self).__init__(**kwargs)
self.scope_priority = scope_priority
self.aml_compute_priority = aml_compute_priority
self.itp_priority = itp_priority
self.singularity_priority = singularity_priority
class CloudSettings(msrest.serialization.Model):
"""CloudSettings.
:ivar linked_settings:
:vartype linked_settings: list[~flow.models.ParameterAssignment]
:ivar priority_config:
:vartype priority_config: ~flow.models.PriorityConfiguration
:ivar hdi_run_config:
:vartype hdi_run_config: ~flow.models.HdiRunConfiguration
:ivar sub_graph_config:
:vartype sub_graph_config: ~flow.models.SubGraphConfiguration
:ivar auto_ml_component_config:
:vartype auto_ml_component_config: ~flow.models.AutoMLComponentConfiguration
:ivar ap_cloud_config:
:vartype ap_cloud_config: ~flow.models.APCloudConfiguration
:ivar scope_cloud_config:
:vartype scope_cloud_config: ~flow.models.ScopeCloudConfiguration
:ivar es_cloud_config:
:vartype es_cloud_config: ~flow.models.EsCloudConfiguration
:ivar data_transfer_cloud_config:
:vartype data_transfer_cloud_config: ~flow.models.DataTransferCloudConfiguration
:ivar aml_spark_cloud_setting:
:vartype aml_spark_cloud_setting: ~flow.models.AmlSparkCloudSetting
:ivar data_transfer_v2_cloud_setting:
:vartype data_transfer_v2_cloud_setting: ~flow.models.DataTransferV2CloudSetting
"""
_attribute_map = {
'linked_settings': {'key': 'linkedSettings', 'type': '[ParameterAssignment]'},
'priority_config': {'key': 'priorityConfig', 'type': 'PriorityConfiguration'},
'hdi_run_config': {'key': 'hdiRunConfig', 'type': 'HdiRunConfiguration'},
'sub_graph_config': {'key': 'subGraphConfig', 'type': 'SubGraphConfiguration'},
'auto_ml_component_config': {'key': 'autoMLComponentConfig', 'type': 'AutoMLComponentConfiguration'},
'ap_cloud_config': {'key': 'apCloudConfig', 'type': 'APCloudConfiguration'},
'scope_cloud_config': {'key': 'scopeCloudConfig', 'type': 'ScopeCloudConfiguration'},
'es_cloud_config': {'key': 'esCloudConfig', 'type': 'EsCloudConfiguration'},
'data_transfer_cloud_config': {'key': 'dataTransferCloudConfig', 'type': 'DataTransferCloudConfiguration'},
'aml_spark_cloud_setting': {'key': 'amlSparkCloudSetting', 'type': 'AmlSparkCloudSetting'},
'data_transfer_v2_cloud_setting': {'key': 'dataTransferV2CloudSetting', 'type': 'DataTransferV2CloudSetting'},
}
def __init__(
self,
*,
linked_settings: Optional[List["ParameterAssignment"]] = None,
priority_config: Optional["PriorityConfiguration"] = None,
hdi_run_config: Optional["HdiRunConfiguration"] = None,
sub_graph_config: Optional["SubGraphConfiguration"] = None,
auto_ml_component_config: Optional["AutoMLComponentConfiguration"] = None,
ap_cloud_config: Optional["APCloudConfiguration"] = None,
scope_cloud_config: Optional["ScopeCloudConfiguration"] = None,
es_cloud_config: Optional["EsCloudConfiguration"] = None,
data_transfer_cloud_config: Optional["DataTransferCloudConfiguration"] = None,
aml_spark_cloud_setting: Optional["AmlSparkCloudSetting"] = None,
data_transfer_v2_cloud_setting: Optional["DataTransferV2CloudSetting"] = None,
**kwargs
):
"""
:keyword linked_settings:
:paramtype linked_settings: list[~flow.models.ParameterAssignment]
:keyword priority_config:
:paramtype priority_config: ~flow.models.PriorityConfiguration
:keyword hdi_run_config:
:paramtype hdi_run_config: ~flow.models.HdiRunConfiguration
:keyword sub_graph_config:
:paramtype sub_graph_config: ~flow.models.SubGraphConfiguration
:keyword auto_ml_component_config:
:paramtype auto_ml_component_config: ~flow.models.AutoMLComponentConfiguration
:keyword ap_cloud_config:
:paramtype ap_cloud_config: ~flow.models.APCloudConfiguration
:keyword scope_cloud_config:
:paramtype scope_cloud_config: ~flow.models.ScopeCloudConfiguration
:keyword es_cloud_config:
:paramtype es_cloud_config: ~flow.models.EsCloudConfiguration
:keyword data_transfer_cloud_config:
:paramtype data_transfer_cloud_config: ~flow.models.DataTransferCloudConfiguration
:keyword aml_spark_cloud_setting:
:paramtype aml_spark_cloud_setting: ~flow.models.AmlSparkCloudSetting
:keyword data_transfer_v2_cloud_setting:
:paramtype data_transfer_v2_cloud_setting: ~flow.models.DataTransferV2CloudSetting
"""
super(CloudSettings, self).__init__(**kwargs)
self.linked_settings = linked_settings
self.priority_config = priority_config
self.hdi_run_config = hdi_run_config
self.sub_graph_config = sub_graph_config
self.auto_ml_component_config = auto_ml_component_config
self.ap_cloud_config = ap_cloud_config
self.scope_cloud_config = scope_cloud_config
self.es_cloud_config = es_cloud_config
self.data_transfer_cloud_config = data_transfer_cloud_config
self.aml_spark_cloud_setting = aml_spark_cloud_setting
self.data_transfer_v2_cloud_setting = data_transfer_v2_cloud_setting
class ColumnTransformer(msrest.serialization.Model):
"""ColumnTransformer.
:ivar fields:
:vartype fields: list[str]
:ivar parameters: Anything.
:vartype parameters: any
"""
_attribute_map = {
'fields': {'key': 'fields', 'type': '[str]'},
'parameters': {'key': 'parameters', 'type': 'object'},
}
def __init__(
self,
*,
fields: Optional[List[str]] = None,
parameters: Optional[Any] = None,
**kwargs
):
"""
:keyword fields:
:paramtype fields: list[str]
:keyword parameters: Anything.
:paramtype parameters: any
"""
super(ColumnTransformer, self).__init__(**kwargs)
self.fields = fields
self.parameters = parameters
class CommandJob(msrest.serialization.Model):
"""CommandJob.
:ivar job_type: Possible values include: "Command", "Sweep", "Labeling", "Pipeline", "Data",
"AutoML", "Spark", "Base".
:vartype job_type: str or ~flow.models.JobType
:ivar code_id:
:vartype code_id: str
:ivar command:
:vartype command: str
:ivar environment_id:
:vartype environment_id: str
:ivar input_data_bindings: Dictionary of :code:`<InputDataBinding>`.
:vartype input_data_bindings: dict[str, ~flow.models.InputDataBinding]
:ivar output_data_bindings: Dictionary of :code:`<OutputDataBinding>`.
:vartype output_data_bindings: dict[str, ~flow.models.OutputDataBinding]
:ivar distribution:
:vartype distribution: ~flow.models.DistributionConfiguration
:ivar environment_variables: Dictionary of :code:`<string>`.
:vartype environment_variables: dict[str, str]
:ivar parameters: Dictionary of :code:`<any>`.
:vartype parameters: dict[str, any]
:ivar autologger_settings:
:vartype autologger_settings: ~flow.models.MfeInternalAutologgerSettings
:ivar limits:
:vartype limits: ~flow.models.CommandJobLimits
:ivar provisioning_state: Possible values include: "Succeeded", "Failed", "Canceled",
"InProgress".
:vartype provisioning_state: str or ~flow.models.JobProvisioningState
:ivar parent_job_name:
:vartype parent_job_name: str
:ivar display_name:
:vartype display_name: str
:ivar experiment_name:
:vartype experiment_name: str
:ivar status: Possible values include: "NotStarted", "Starting", "Provisioning", "Preparing",
"Queued", "Running", "Finalizing", "CancelRequested", "Completed", "Failed", "Canceled",
"NotResponding", "Paused", "Unknown", "Scheduled".
:vartype status: str or ~flow.models.JobStatus
:ivar interaction_endpoints: Dictionary of :code:`<JobEndpoint>`.
:vartype interaction_endpoints: dict[str, ~flow.models.JobEndpoint]
:ivar identity:
:vartype identity: ~flow.models.MfeInternalIdentityConfiguration
:ivar compute:
:vartype compute: ~flow.models.ComputeConfiguration
:ivar priority:
:vartype priority: int
:ivar output:
:vartype output: ~flow.models.JobOutputArtifacts
:ivar is_archived:
:vartype is_archived: bool
:ivar schedule:
:vartype schedule: ~flow.models.ScheduleBase
:ivar component_id:
:vartype component_id: str
:ivar notification_setting:
:vartype notification_setting: ~flow.models.NotificationSetting
:ivar secrets_configuration: Dictionary of :code:`<MfeInternalSecretConfiguration>`.
:vartype secrets_configuration: dict[str, ~flow.models.MfeInternalSecretConfiguration]
:ivar description:
:vartype description: str
:ivar tags: A set of tags. This is a dictionary.
:vartype tags: dict[str, str]
:ivar properties: This is a dictionary.
:vartype properties: dict[str, str]
"""
_validation = {
'command': {'min_length': 1},
}
_attribute_map = {
'job_type': {'key': 'jobType', 'type': 'str'},
'code_id': {'key': 'codeId', 'type': 'str'},
'command': {'key': 'command', 'type': 'str'},
'environment_id': {'key': 'environmentId', 'type': 'str'},
'input_data_bindings': {'key': 'inputDataBindings', 'type': '{InputDataBinding}'},
'output_data_bindings': {'key': 'outputDataBindings', 'type': '{OutputDataBinding}'},
'distribution': {'key': 'distribution', 'type': 'DistributionConfiguration'},
'environment_variables': {'key': 'environmentVariables', 'type': '{str}'},
'parameters': {'key': 'parameters', 'type': '{object}'},
'autologger_settings': {'key': 'autologgerSettings', 'type': 'MfeInternalAutologgerSettings'},
'limits': {'key': 'limits', 'type': 'CommandJobLimits'},
'provisioning_state': {'key': 'provisioningState', 'type': 'str'},
'parent_job_name': {'key': 'parentJobName', 'type': 'str'},
'display_name': {'key': 'displayName', 'type': 'str'},
'experiment_name': {'key': 'experimentName', 'type': 'str'},
'status': {'key': 'status', 'type': 'str'},
'interaction_endpoints': {'key': 'interactionEndpoints', 'type': '{JobEndpoint}'},
'identity': {'key': 'identity', 'type': 'MfeInternalIdentityConfiguration'},
'compute': {'key': 'compute', 'type': 'ComputeConfiguration'},
'priority': {'key': 'priority', 'type': 'int'},
'output': {'key': 'output', 'type': 'JobOutputArtifacts'},
'is_archived': {'key': 'isArchived', 'type': 'bool'},
'schedule': {'key': 'schedule', 'type': 'ScheduleBase'},
'component_id': {'key': 'componentId', 'type': 'str'},
'notification_setting': {'key': 'notificationSetting', 'type': 'NotificationSetting'},
'secrets_configuration': {'key': 'secretsConfiguration', 'type': '{MfeInternalSecretConfiguration}'},
'description': {'key': 'description', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'properties': {'key': 'properties', 'type': '{str}'},
}
def __init__(
self,
*,
job_type: Optional[Union[str, "JobType"]] = None,
code_id: Optional[str] = None,
command: Optional[str] = None,
environment_id: Optional[str] = None,
input_data_bindings: Optional[Dict[str, "InputDataBinding"]] = None,
output_data_bindings: Optional[Dict[str, "OutputDataBinding"]] = None,
distribution: Optional["DistributionConfiguration"] = None,
environment_variables: Optional[Dict[str, str]] = None,
parameters: Optional[Dict[str, Any]] = None,
autologger_settings: Optional["MfeInternalAutologgerSettings"] = None,
limits: Optional["CommandJobLimits"] = None,
provisioning_state: Optional[Union[str, "JobProvisioningState"]] = None,
parent_job_name: Optional[str] = None,
display_name: Optional[str] = None,
experiment_name: Optional[str] = None,
status: Optional[Union[str, "JobStatus"]] = None,
interaction_endpoints: Optional[Dict[str, "JobEndpoint"]] = None,
identity: Optional["MfeInternalIdentityConfiguration"] = None,
compute: Optional["ComputeConfiguration"] = None,
priority: Optional[int] = None,
output: Optional["JobOutputArtifacts"] = None,
is_archived: Optional[bool] = None,
schedule: Optional["ScheduleBase"] = None,
component_id: Optional[str] = None,
notification_setting: Optional["NotificationSetting"] = None,
secrets_configuration: Optional[Dict[str, "MfeInternalSecretConfiguration"]] = None,
description: Optional[str] = None,
tags: Optional[Dict[str, str]] = None,
properties: Optional[Dict[str, str]] = None,
**kwargs
):
"""
:keyword job_type: Possible values include: "Command", "Sweep", "Labeling", "Pipeline", "Data",
"AutoML", "Spark", "Base".
:paramtype job_type: str or ~flow.models.JobType
:keyword code_id:
:paramtype code_id: str
:keyword command:
:paramtype command: str
:keyword environment_id:
:paramtype environment_id: str
:keyword input_data_bindings: Dictionary of :code:`<InputDataBinding>`.
:paramtype input_data_bindings: dict[str, ~flow.models.InputDataBinding]
:keyword output_data_bindings: Dictionary of :code:`<OutputDataBinding>`.
:paramtype output_data_bindings: dict[str, ~flow.models.OutputDataBinding]
:keyword distribution:
:paramtype distribution: ~flow.models.DistributionConfiguration
:keyword environment_variables: Dictionary of :code:`<string>`.
:paramtype environment_variables: dict[str, str]
:keyword parameters: Dictionary of :code:`<any>`.
:paramtype parameters: dict[str, any]
:keyword autologger_settings:
:paramtype autologger_settings: ~flow.models.MfeInternalAutologgerSettings
:keyword limits:
:paramtype limits: ~flow.models.CommandJobLimits
:keyword provisioning_state: Possible values include: "Succeeded", "Failed", "Canceled",
"InProgress".
:paramtype provisioning_state: str or ~flow.models.JobProvisioningState
:keyword parent_job_name:
:paramtype parent_job_name: str
:keyword display_name:
:paramtype display_name: str
:keyword experiment_name:
:paramtype experiment_name: str
:keyword status: Possible values include: "NotStarted", "Starting", "Provisioning",
"Preparing", "Queued", "Running", "Finalizing", "CancelRequested", "Completed", "Failed",
"Canceled", "NotResponding", "Paused", "Unknown", "Scheduled".
:paramtype status: str or ~flow.models.JobStatus
:keyword interaction_endpoints: Dictionary of :code:`<JobEndpoint>`.
:paramtype interaction_endpoints: dict[str, ~flow.models.JobEndpoint]
:keyword identity:
:paramtype identity: ~flow.models.MfeInternalIdentityConfiguration
:keyword compute:
:paramtype compute: ~flow.models.ComputeConfiguration
:keyword priority:
:paramtype priority: int
:keyword output:
:paramtype output: ~flow.models.JobOutputArtifacts
:keyword is_archived:
:paramtype is_archived: bool
:keyword schedule:
:paramtype schedule: ~flow.models.ScheduleBase
:keyword component_id:
:paramtype component_id: str
:keyword notification_setting:
:paramtype notification_setting: ~flow.models.NotificationSetting
:keyword secrets_configuration: Dictionary of :code:`<MfeInternalSecretConfiguration>`.
:paramtype secrets_configuration: dict[str, ~flow.models.MfeInternalSecretConfiguration]
:keyword description:
:paramtype description: str
:keyword tags: A set of tags. This is a dictionary.
:paramtype tags: dict[str, str]
:keyword properties: This is a dictionary.
:paramtype properties: dict[str, str]
"""
super(CommandJob, self).__init__(**kwargs)
self.job_type = job_type
self.code_id = code_id
self.command = command
self.environment_id = environment_id
self.input_data_bindings = input_data_bindings
self.output_data_bindings = output_data_bindings
self.distribution = distribution
self.environment_variables = environment_variables
self.parameters = parameters
self.autologger_settings = autologger_settings
self.limits = limits
self.provisioning_state = provisioning_state
self.parent_job_name = parent_job_name
self.display_name = display_name
self.experiment_name = experiment_name
self.status = status
self.interaction_endpoints = interaction_endpoints
self.identity = identity
self.compute = compute
self.priority = priority
self.output = output
self.is_archived = is_archived
self.schedule = schedule
self.component_id = component_id
self.notification_setting = notification_setting
self.secrets_configuration = secrets_configuration
self.description = description
self.tags = tags
self.properties = properties
class CommandJobLimits(msrest.serialization.Model):
"""CommandJobLimits.
:ivar job_limits_type: Possible values include: "Command", "Sweep".
:vartype job_limits_type: str or ~flow.models.JobLimitsType
:ivar timeout:
:vartype timeout: str
"""
_attribute_map = {
'job_limits_type': {'key': 'jobLimitsType', 'type': 'str'},
'timeout': {'key': 'timeout', 'type': 'str'},
}
def __init__(
self,
*,
job_limits_type: Optional[Union[str, "JobLimitsType"]] = None,
timeout: Optional[str] = None,
**kwargs
):
"""
:keyword job_limits_type: Possible values include: "Command", "Sweep".
:paramtype job_limits_type: str or ~flow.models.JobLimitsType
:keyword timeout:
:paramtype timeout: str
"""
super(CommandJobLimits, self).__init__(**kwargs)
self.job_limits_type = job_limits_type
self.timeout = timeout
class CommandReturnCodeConfig(msrest.serialization.Model):
"""CommandReturnCodeConfig.
:ivar return_code: Possible values include: "Zero", "ZeroOrGreater".
:vartype return_code: str or ~flow.models.SuccessfulCommandReturnCode
:ivar successful_return_codes:
:vartype successful_return_codes: list[int]
"""
_attribute_map = {
'return_code': {'key': 'returnCode', 'type': 'str'},
'successful_return_codes': {'key': 'successfulReturnCodes', 'type': '[int]'},
}
def __init__(
self,
*,
return_code: Optional[Union[str, "SuccessfulCommandReturnCode"]] = None,
successful_return_codes: Optional[List[int]] = None,
**kwargs
):
"""
:keyword return_code: Possible values include: "Zero", "ZeroOrGreater".
:paramtype return_code: str or ~flow.models.SuccessfulCommandReturnCode
:keyword successful_return_codes:
:paramtype successful_return_codes: list[int]
"""
super(CommandReturnCodeConfig, self).__init__(**kwargs)
self.return_code = return_code
self.successful_return_codes = successful_return_codes
class ComponentConfiguration(msrest.serialization.Model):
"""ComponentConfiguration.
:ivar component_identifier:
:vartype component_identifier: str
"""
_attribute_map = {
'component_identifier': {'key': 'componentIdentifier', 'type': 'str'},
}
def __init__(
self,
*,
component_identifier: Optional[str] = None,
**kwargs
):
"""
:keyword component_identifier:
:paramtype component_identifier: str
"""
super(ComponentConfiguration, self).__init__(**kwargs)
self.component_identifier = component_identifier
class ComponentInput(msrest.serialization.Model):
"""ComponentInput.
:ivar name:
:vartype name: str
:ivar optional:
:vartype optional: bool
:ivar description:
:vartype description: str
:ivar type:
:vartype type: str
:ivar default:
:vartype default: str
:ivar enum:
:vartype enum: list[str]
:ivar min:
:vartype min: str
:ivar max:
:vartype max: str
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'optional': {'key': 'optional', 'type': 'bool'},
'description': {'key': 'description', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'default': {'key': 'default', 'type': 'str'},
'enum': {'key': 'enum', 'type': '[str]'},
'min': {'key': 'min', 'type': 'str'},
'max': {'key': 'max', 'type': 'str'},
}
def __init__(
self,
*,
name: Optional[str] = None,
optional: Optional[bool] = None,
description: Optional[str] = None,
type: Optional[str] = None,
default: Optional[str] = None,
enum: Optional[List[str]] = None,
min: Optional[str] = None,
max: Optional[str] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword optional:
:paramtype optional: bool
:keyword description:
:paramtype description: str
:keyword type:
:paramtype type: str
:keyword default:
:paramtype default: str
:keyword enum:
:paramtype enum: list[str]
:keyword min:
:paramtype min: str
:keyword max:
:paramtype max: str
"""
super(ComponentInput, self).__init__(**kwargs)
self.name = name
self.optional = optional
self.description = description
self.type = type
self.default = default
self.enum = enum
self.min = min
self.max = max
class ComponentJob(msrest.serialization.Model):
"""ComponentJob.
:ivar compute:
:vartype compute: ~flow.models.ComputeConfiguration
:ivar component_id:
:vartype component_id: str
:ivar inputs: This is a dictionary.
:vartype inputs: dict[str, ~flow.models.ComponentJobInput]
:ivar outputs: This is a dictionary.
:vartype outputs: dict[str, ~flow.models.ComponentJobOutput]
"""
_attribute_map = {
'compute': {'key': 'compute', 'type': 'ComputeConfiguration'},
'component_id': {'key': 'componentId', 'type': 'str'},
'inputs': {'key': 'inputs', 'type': '{ComponentJobInput}'},
'outputs': {'key': 'outputs', 'type': '{ComponentJobOutput}'},
}
def __init__(
self,
*,
compute: Optional["ComputeConfiguration"] = None,
component_id: Optional[str] = None,
inputs: Optional[Dict[str, "ComponentJobInput"]] = None,
outputs: Optional[Dict[str, "ComponentJobOutput"]] = None,
**kwargs
):
"""
:keyword compute:
:paramtype compute: ~flow.models.ComputeConfiguration
:keyword component_id:
:paramtype component_id: str
:keyword inputs: This is a dictionary.
:paramtype inputs: dict[str, ~flow.models.ComponentJobInput]
:keyword outputs: This is a dictionary.
:paramtype outputs: dict[str, ~flow.models.ComponentJobOutput]
"""
super(ComponentJob, self).__init__(**kwargs)
self.compute = compute
self.component_id = component_id
self.inputs = inputs
self.outputs = outputs
class ComponentJobInput(msrest.serialization.Model):
"""ComponentJobInput.
:ivar data:
:vartype data: ~flow.models.InputData
:ivar input_binding:
:vartype input_binding: str
"""
_attribute_map = {
'data': {'key': 'data', 'type': 'InputData'},
'input_binding': {'key': 'inputBinding', 'type': 'str'},
}
def __init__(
self,
*,
data: Optional["InputData"] = None,
input_binding: Optional[str] = None,
**kwargs
):
"""
:keyword data:
:paramtype data: ~flow.models.InputData
:keyword input_binding:
:paramtype input_binding: str
"""
super(ComponentJobInput, self).__init__(**kwargs)
self.data = data
self.input_binding = input_binding
class ComponentJobOutput(msrest.serialization.Model):
"""ComponentJobOutput.
:ivar data:
:vartype data: ~flow.models.MfeInternalOutputData
:ivar output_binding:
:vartype output_binding: str
"""
_attribute_map = {
'data': {'key': 'data', 'type': 'MfeInternalOutputData'},
'output_binding': {'key': 'outputBinding', 'type': 'str'},
}
def __init__(
self,
*,
data: Optional["MfeInternalOutputData"] = None,
output_binding: Optional[str] = None,
**kwargs
):
"""
:keyword data:
:paramtype data: ~flow.models.MfeInternalOutputData
:keyword output_binding:
:paramtype output_binding: str
"""
super(ComponentJobOutput, self).__init__(**kwargs)
self.data = data
self.output_binding = output_binding
class ComponentNameAndDefaultVersion(msrest.serialization.Model):
"""ComponentNameAndDefaultVersion.
:ivar component_name:
:vartype component_name: str
:ivar version:
:vartype version: str
:ivar feed_name:
:vartype feed_name: str
:ivar registry_name:
:vartype registry_name: str
"""
_attribute_map = {
'component_name': {'key': 'componentName', 'type': 'str'},
'version': {'key': 'version', 'type': 'str'},
'feed_name': {'key': 'feedName', 'type': 'str'},
'registry_name': {'key': 'registryName', 'type': 'str'},
}
def __init__(
self,
*,
component_name: Optional[str] = None,
version: Optional[str] = None,
feed_name: Optional[str] = None,
registry_name: Optional[str] = None,
**kwargs
):
"""
:keyword component_name:
:paramtype component_name: str
:keyword version:
:paramtype version: str
:keyword feed_name:
:paramtype feed_name: str
:keyword registry_name:
:paramtype registry_name: str
"""
super(ComponentNameAndDefaultVersion, self).__init__(**kwargs)
self.component_name = component_name
self.version = version
self.feed_name = feed_name
self.registry_name = registry_name
class ComponentNameMetaInfo(msrest.serialization.Model):
"""ComponentNameMetaInfo.
:ivar feed_name:
:vartype feed_name: str
:ivar component_name:
:vartype component_name: str
:ivar component_version:
:vartype component_version: str
:ivar registry_name:
:vartype registry_name: str
"""
_attribute_map = {
'feed_name': {'key': 'feedName', 'type': 'str'},
'component_name': {'key': 'componentName', 'type': 'str'},
'component_version': {'key': 'componentVersion', 'type': 'str'},
'registry_name': {'key': 'registryName', 'type': 'str'},
}
def __init__(
self,
*,
feed_name: Optional[str] = None,
component_name: Optional[str] = None,
component_version: Optional[str] = None,
registry_name: Optional[str] = None,
**kwargs
):
"""
:keyword feed_name:
:paramtype feed_name: str
:keyword component_name:
:paramtype component_name: str
:keyword component_version:
:paramtype component_version: str
:keyword registry_name:
:paramtype registry_name: str
"""
super(ComponentNameMetaInfo, self).__init__(**kwargs)
self.feed_name = feed_name
self.component_name = component_name
self.component_version = component_version
self.registry_name = registry_name
class ComponentOutput(msrest.serialization.Model):
"""ComponentOutput.
:ivar name:
:vartype name: str
:ivar description:
:vartype description: str
:ivar type:
:vartype type: str
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
}
def __init__(
self,
*,
name: Optional[str] = None,
description: Optional[str] = None,
type: Optional[str] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword description:
:paramtype description: str
:keyword type:
:paramtype type: str
"""
super(ComponentOutput, self).__init__(**kwargs)
self.name = name
self.description = description
self.type = type
class ComponentPreflightResult(msrest.serialization.Model):
"""ComponentPreflightResult.
:ivar error_details:
:vartype error_details: list[~flow.models.RootError]
"""
_attribute_map = {
'error_details': {'key': 'errorDetails', 'type': '[RootError]'},
}
def __init__(
self,
*,
error_details: Optional[List["RootError"]] = None,
**kwargs
):
"""
:keyword error_details:
:paramtype error_details: list[~flow.models.RootError]
"""
super(ComponentPreflightResult, self).__init__(**kwargs)
self.error_details = error_details
class ComponentSpecMetaInfo(msrest.serialization.Model):
"""ComponentSpecMetaInfo.
:ivar component_spec: Anything.
:vartype component_spec: any
:ivar component_version:
:vartype component_version: str
:ivar is_anonymous:
:vartype is_anonymous: bool
:ivar properties: This is a dictionary.
:vartype properties: dict[str, str]
:ivar tags: A set of tags. This is a dictionary.
:vartype tags: dict[str, str]
:ivar component_name:
:vartype component_name: str
:ivar description:
:vartype description: str
:ivar is_archived:
:vartype is_archived: bool
"""
_attribute_map = {
'component_spec': {'key': 'componentSpec', 'type': 'object'},
'component_version': {'key': 'componentVersion', 'type': 'str'},
'is_anonymous': {'key': 'isAnonymous', 'type': 'bool'},
'properties': {'key': 'properties', 'type': '{str}'},
'tags': {'key': 'tags', 'type': '{str}'},
'component_name': {'key': 'componentName', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'is_archived': {'key': 'isArchived', 'type': 'bool'},
}
def __init__(
self,
*,
component_spec: Optional[Any] = None,
component_version: Optional[str] = None,
is_anonymous: Optional[bool] = None,
properties: Optional[Dict[str, str]] = None,
tags: Optional[Dict[str, str]] = None,
component_name: Optional[str] = None,
description: Optional[str] = None,
is_archived: Optional[bool] = None,
**kwargs
):
"""
:keyword component_spec: Anything.
:paramtype component_spec: any
:keyword component_version:
:paramtype component_version: str
:keyword is_anonymous:
:paramtype is_anonymous: bool
:keyword properties: This is a dictionary.
:paramtype properties: dict[str, str]
:keyword tags: A set of tags. This is a dictionary.
:paramtype tags: dict[str, str]
:keyword component_name:
:paramtype component_name: str
:keyword description:
:paramtype description: str
:keyword is_archived:
:paramtype is_archived: bool
"""
super(ComponentSpecMetaInfo, self).__init__(**kwargs)
self.component_spec = component_spec
self.component_version = component_version
self.is_anonymous = is_anonymous
self.properties = properties
self.tags = tags
self.component_name = component_name
self.description = description
self.is_archived = is_archived
class ComponentUpdateRequest(msrest.serialization.Model):
"""ComponentUpdateRequest.
:ivar original_module_entity:
:vartype original_module_entity: ~flow.models.ModuleEntity
:ivar update_module_entity:
:vartype update_module_entity: ~flow.models.ModuleEntity
:ivar module_name:
:vartype module_name: str
:ivar properties: This is a dictionary.
:vartype properties: dict[str, str]
:ivar overwrite_with_original_name_and_version:
:vartype overwrite_with_original_name_and_version: bool
:ivar snapshot_id:
:vartype snapshot_id: str
"""
_attribute_map = {
'original_module_entity': {'key': 'originalModuleEntity', 'type': 'ModuleEntity'},
'update_module_entity': {'key': 'updateModuleEntity', 'type': 'ModuleEntity'},
'module_name': {'key': 'moduleName', 'type': 'str'},
'properties': {'key': 'properties', 'type': '{str}'},
'overwrite_with_original_name_and_version': {'key': 'overwriteWithOriginalNameAndVersion', 'type': 'bool'},
'snapshot_id': {'key': 'snapshotId', 'type': 'str'},
}
def __init__(
self,
*,
original_module_entity: Optional["ModuleEntity"] = None,
update_module_entity: Optional["ModuleEntity"] = None,
module_name: Optional[str] = None,
properties: Optional[Dict[str, str]] = None,
overwrite_with_original_name_and_version: Optional[bool] = None,
snapshot_id: Optional[str] = None,
**kwargs
):
"""
:keyword original_module_entity:
:paramtype original_module_entity: ~flow.models.ModuleEntity
:keyword update_module_entity:
:paramtype update_module_entity: ~flow.models.ModuleEntity
:keyword module_name:
:paramtype module_name: str
:keyword properties: This is a dictionary.
:paramtype properties: dict[str, str]
:keyword overwrite_with_original_name_and_version:
:paramtype overwrite_with_original_name_and_version: bool
:keyword snapshot_id:
:paramtype snapshot_id: str
"""
super(ComponentUpdateRequest, self).__init__(**kwargs)
self.original_module_entity = original_module_entity
self.update_module_entity = update_module_entity
self.module_name = module_name
self.properties = properties
self.overwrite_with_original_name_and_version = overwrite_with_original_name_and_version
self.snapshot_id = snapshot_id
class ComponentValidationRequest(msrest.serialization.Model):
"""ComponentValidationRequest.
:ivar component_identifier:
:vartype component_identifier: str
:ivar compute_identity:
:vartype compute_identity: ~flow.models.ComputeIdentityDto
:ivar execution_context_dto:
:vartype execution_context_dto: ~flow.models.ExecutionContextDto
:ivar environment_definition:
:vartype environment_definition: ~flow.models.EnvironmentDefinitionDto
:ivar data_port_dtos:
:vartype data_port_dtos: list[~flow.models.DataPortDto]
"""
_attribute_map = {
'component_identifier': {'key': 'componentIdentifier', 'type': 'str'},
'compute_identity': {'key': 'computeIdentity', 'type': 'ComputeIdentityDto'},
'execution_context_dto': {'key': 'executionContextDto', 'type': 'ExecutionContextDto'},
'environment_definition': {'key': 'environmentDefinition', 'type': 'EnvironmentDefinitionDto'},
'data_port_dtos': {'key': 'dataPortDtos', 'type': '[DataPortDto]'},
}
def __init__(
self,
*,
component_identifier: Optional[str] = None,
compute_identity: Optional["ComputeIdentityDto"] = None,
execution_context_dto: Optional["ExecutionContextDto"] = None,
environment_definition: Optional["EnvironmentDefinitionDto"] = None,
data_port_dtos: Optional[List["DataPortDto"]] = None,
**kwargs
):
"""
:keyword component_identifier:
:paramtype component_identifier: str
:keyword compute_identity:
:paramtype compute_identity: ~flow.models.ComputeIdentityDto
:keyword execution_context_dto:
:paramtype execution_context_dto: ~flow.models.ExecutionContextDto
:keyword environment_definition:
:paramtype environment_definition: ~flow.models.EnvironmentDefinitionDto
:keyword data_port_dtos:
:paramtype data_port_dtos: list[~flow.models.DataPortDto]
"""
super(ComponentValidationRequest, self).__init__(**kwargs)
self.component_identifier = component_identifier
self.compute_identity = compute_identity
self.execution_context_dto = execution_context_dto
self.environment_definition = environment_definition
self.data_port_dtos = data_port_dtos
class ComponentValidationResponse(msrest.serialization.Model):
"""ComponentValidationResponse.
:ivar status: Possible values include: "Succeeded", "Failed".
:vartype status: str or ~flow.models.ValidationStatus
:ivar error: The error response.
:vartype error: ~flow.models.ErrorResponse
"""
_attribute_map = {
'status': {'key': 'status', 'type': 'str'},
'error': {'key': 'error', 'type': 'ErrorResponse'},
}
def __init__(
self,
*,
status: Optional[Union[str, "ValidationStatus"]] = None,
error: Optional["ErrorResponse"] = None,
**kwargs
):
"""
:keyword status: Possible values include: "Succeeded", "Failed".
:paramtype status: str or ~flow.models.ValidationStatus
:keyword error: The error response.
:paramtype error: ~flow.models.ErrorResponse
"""
super(ComponentValidationResponse, self).__init__(**kwargs)
self.status = status
self.error = error
class Compute(msrest.serialization.Model):
"""Compute.
:ivar target:
:vartype target: str
:ivar target_type:
:vartype target_type: str
:ivar vm_size:
:vartype vm_size: str
:ivar instance_type:
:vartype instance_type: str
:ivar instance_count:
:vartype instance_count: int
:ivar gpu_count:
:vartype gpu_count: int
:ivar priority:
:vartype priority: str
:ivar region:
:vartype region: str
:ivar arm_id:
:vartype arm_id: str
:ivar properties: This is a dictionary.
:vartype properties: dict[str, str]
"""
_attribute_map = {
'target': {'key': 'target', 'type': 'str'},
'target_type': {'key': 'targetType', 'type': 'str'},
'vm_size': {'key': 'vmSize', 'type': 'str'},
'instance_type': {'key': 'instanceType', 'type': 'str'},
'instance_count': {'key': 'instanceCount', 'type': 'int'},
'gpu_count': {'key': 'gpuCount', 'type': 'int'},
'priority': {'key': 'priority', 'type': 'str'},
'region': {'key': 'region', 'type': 'str'},
'arm_id': {'key': 'armId', 'type': 'str'},
'properties': {'key': 'properties', 'type': '{str}'},
}
def __init__(
self,
*,
target: Optional[str] = None,
target_type: Optional[str] = None,
vm_size: Optional[str] = None,
instance_type: Optional[str] = None,
instance_count: Optional[int] = None,
gpu_count: Optional[int] = None,
priority: Optional[str] = None,
region: Optional[str] = None,
arm_id: Optional[str] = None,
properties: Optional[Dict[str, str]] = None,
**kwargs
):
"""
:keyword target:
:paramtype target: str
:keyword target_type:
:paramtype target_type: str
:keyword vm_size:
:paramtype vm_size: str
:keyword instance_type:
:paramtype instance_type: str
:keyword instance_count:
:paramtype instance_count: int
:keyword gpu_count:
:paramtype gpu_count: int
:keyword priority:
:paramtype priority: str
:keyword region:
:paramtype region: str
:keyword arm_id:
:paramtype arm_id: str
:keyword properties: This is a dictionary.
:paramtype properties: dict[str, str]
"""
super(Compute, self).__init__(**kwargs)
self.target = target
self.target_type = target_type
self.vm_size = vm_size
self.instance_type = instance_type
self.instance_count = instance_count
self.gpu_count = gpu_count
self.priority = priority
self.region = region
self.arm_id = arm_id
self.properties = properties
class ComputeConfiguration(msrest.serialization.Model):
"""ComputeConfiguration.
:ivar target:
:vartype target: str
:ivar instance_count:
:vartype instance_count: int
:ivar max_instance_count:
:vartype max_instance_count: int
:ivar is_local:
:vartype is_local: bool
:ivar location:
:vartype location: str
:ivar is_clusterless:
:vartype is_clusterless: bool
:ivar instance_type:
:vartype instance_type: str
:ivar instance_priority:
:vartype instance_priority: str
:ivar job_priority:
:vartype job_priority: int
:ivar shm_size:
:vartype shm_size: str
:ivar docker_args:
:vartype docker_args: str
:ivar locations:
:vartype locations: list[str]
:ivar properties: Dictionary of :code:`<any>`.
:vartype properties: dict[str, any]
"""
_attribute_map = {
'target': {'key': 'target', 'type': 'str'},
'instance_count': {'key': 'instanceCount', 'type': 'int'},
'max_instance_count': {'key': 'maxInstanceCount', 'type': 'int'},
'is_local': {'key': 'isLocal', 'type': 'bool'},
'location': {'key': 'location', 'type': 'str'},
'is_clusterless': {'key': 'isClusterless', 'type': 'bool'},
'instance_type': {'key': 'instanceType', 'type': 'str'},
'instance_priority': {'key': 'instancePriority', 'type': 'str'},
'job_priority': {'key': 'jobPriority', 'type': 'int'},
'shm_size': {'key': 'shmSize', 'type': 'str'},
'docker_args': {'key': 'dockerArgs', 'type': 'str'},
'locations': {'key': 'locations', 'type': '[str]'},
'properties': {'key': 'properties', 'type': '{object}'},
}
def __init__(
self,
*,
target: Optional[str] = None,
instance_count: Optional[int] = None,
max_instance_count: Optional[int] = None,
is_local: Optional[bool] = None,
location: Optional[str] = None,
is_clusterless: Optional[bool] = None,
instance_type: Optional[str] = None,
instance_priority: Optional[str] = None,
job_priority: Optional[int] = None,
shm_size: Optional[str] = None,
docker_args: Optional[str] = None,
locations: Optional[List[str]] = None,
properties: Optional[Dict[str, Any]] = None,
**kwargs
):
"""
:keyword target:
:paramtype target: str
:keyword instance_count:
:paramtype instance_count: int
:keyword max_instance_count:
:paramtype max_instance_count: int
:keyword is_local:
:paramtype is_local: bool
:keyword location:
:paramtype location: str
:keyword is_clusterless:
:paramtype is_clusterless: bool
:keyword instance_type:
:paramtype instance_type: str
:keyword instance_priority:
:paramtype instance_priority: str
:keyword job_priority:
:paramtype job_priority: int
:keyword shm_size:
:paramtype shm_size: str
:keyword docker_args:
:paramtype docker_args: str
:keyword locations:
:paramtype locations: list[str]
:keyword properties: Dictionary of :code:`<any>`.
:paramtype properties: dict[str, any]
"""
super(ComputeConfiguration, self).__init__(**kwargs)
self.target = target
self.instance_count = instance_count
self.max_instance_count = max_instance_count
self.is_local = is_local
self.location = location
self.is_clusterless = is_clusterless
self.instance_type = instance_type
self.instance_priority = instance_priority
self.job_priority = job_priority
self.shm_size = shm_size
self.docker_args = docker_args
self.locations = locations
self.properties = properties
class ComputeContract(msrest.serialization.Model):
"""ComputeContract.
Variables are only populated by the server, and will be ignored when sending a request.
:ivar id:
:vartype id: str
:ivar name:
:vartype name: str
:ivar type:
:vartype type: str
:ivar location:
:vartype location: str
:ivar tags: A set of tags. This is a dictionary.
:vartype tags: dict[str, str]
:ivar identity:
:vartype identity: ~flow.models.ComputeIdentityContract
:ivar properties:
:vartype properties: ~flow.models.ComputeProperties
"""
_validation = {
'type': {'readonly': True},
}
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'location': {'key': 'location', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'identity': {'key': 'identity', 'type': 'ComputeIdentityContract'},
'properties': {'key': 'properties', 'type': 'ComputeProperties'},
}
def __init__(
self,
*,
id: Optional[str] = None,
name: Optional[str] = None,
location: Optional[str] = None,
tags: Optional[Dict[str, str]] = None,
identity: Optional["ComputeIdentityContract"] = None,
properties: Optional["ComputeProperties"] = None,
**kwargs
):
"""
:keyword id:
:paramtype id: str
:keyword name:
:paramtype name: str
:keyword location:
:paramtype location: str
:keyword tags: A set of tags. This is a dictionary.
:paramtype tags: dict[str, str]
:keyword identity:
:paramtype identity: ~flow.models.ComputeIdentityContract
:keyword properties:
:paramtype properties: ~flow.models.ComputeProperties
"""
super(ComputeContract, self).__init__(**kwargs)
self.id = id
self.name = name
self.type = None
self.location = location
self.tags = tags
self.identity = identity
self.properties = properties
class ComputeIdentityContract(msrest.serialization.Model):
"""ComputeIdentityContract.
:ivar type:
:vartype type: str
:ivar system_identity_url:
:vartype system_identity_url: str
:ivar principal_id:
:vartype principal_id: str
:ivar tenant_id:
:vartype tenant_id: str
:ivar client_id:
:vartype client_id: str
:ivar client_secret_url:
:vartype client_secret_url: str
:ivar user_assigned_identities: This is a dictionary.
:vartype user_assigned_identities: dict[str, ~flow.models.ComputeRPUserAssignedIdentity]
"""
_attribute_map = {
'type': {'key': 'type', 'type': 'str'},
'system_identity_url': {'key': 'systemIdentityUrl', 'type': 'str'},
'principal_id': {'key': 'principalId', 'type': 'str'},
'tenant_id': {'key': 'tenantId', 'type': 'str'},
'client_id': {'key': 'clientId', 'type': 'str'},
'client_secret_url': {'key': 'clientSecretUrl', 'type': 'str'},
'user_assigned_identities': {'key': 'userAssignedIdentities', 'type': '{ComputeRPUserAssignedIdentity}'},
}
def __init__(
self,
*,
type: Optional[str] = None,
system_identity_url: Optional[str] = None,
principal_id: Optional[str] = None,
tenant_id: Optional[str] = None,
client_id: Optional[str] = None,
client_secret_url: Optional[str] = None,
user_assigned_identities: Optional[Dict[str, "ComputeRPUserAssignedIdentity"]] = None,
**kwargs
):
"""
:keyword type:
:paramtype type: str
:keyword system_identity_url:
:paramtype system_identity_url: str
:keyword principal_id:
:paramtype principal_id: str
:keyword tenant_id:
:paramtype tenant_id: str
:keyword client_id:
:paramtype client_id: str
:keyword client_secret_url:
:paramtype client_secret_url: str
:keyword user_assigned_identities: This is a dictionary.
:paramtype user_assigned_identities: dict[str, ~flow.models.ComputeRPUserAssignedIdentity]
"""
super(ComputeIdentityContract, self).__init__(**kwargs)
self.type = type
self.system_identity_url = system_identity_url
self.principal_id = principal_id
self.tenant_id = tenant_id
self.client_id = client_id
self.client_secret_url = client_secret_url
self.user_assigned_identities = user_assigned_identities
class ComputeIdentityDto(msrest.serialization.Model):
"""ComputeIdentityDto.
:ivar compute_name:
:vartype compute_name: str
:ivar compute_target_type: Possible values include: "Local", "Remote", "HdiCluster",
"ContainerInstance", "AmlCompute", "ComputeInstance", "Cmk8s", "SynapseSpark", "Kubernetes",
"Aisc", "GlobalJobDispatcher", "Databricks", "MockedCompute".
:vartype compute_target_type: str or ~flow.models.ComputeTargetType
:ivar intellectual_property_publisher:
:vartype intellectual_property_publisher: str
"""
_attribute_map = {
'compute_name': {'key': 'computeName', 'type': 'str'},
'compute_target_type': {'key': 'computeTargetType', 'type': 'str'},
'intellectual_property_publisher': {'key': 'intellectualPropertyPublisher', 'type': 'str'},
}
def __init__(
self,
*,
compute_name: Optional[str] = None,
compute_target_type: Optional[Union[str, "ComputeTargetType"]] = None,
intellectual_property_publisher: Optional[str] = None,
**kwargs
):
"""
:keyword compute_name:
:paramtype compute_name: str
:keyword compute_target_type: Possible values include: "Local", "Remote", "HdiCluster",
"ContainerInstance", "AmlCompute", "ComputeInstance", "Cmk8s", "SynapseSpark", "Kubernetes",
"Aisc", "GlobalJobDispatcher", "Databricks", "MockedCompute".
:paramtype compute_target_type: str or ~flow.models.ComputeTargetType
:keyword intellectual_property_publisher:
:paramtype intellectual_property_publisher: str
"""
super(ComputeIdentityDto, self).__init__(**kwargs)
self.compute_name = compute_name
self.compute_target_type = compute_target_type
self.intellectual_property_publisher = intellectual_property_publisher
class ComputeInfo(msrest.serialization.Model):
"""ComputeInfo.
:ivar name:
:vartype name: str
:ivar compute_type: Possible values include: "ACI", "AKS", "AMLCOMPUTE", "IOT", "AKSENDPOINT",
"MIRSINGLEMODEL", "MIRAMLCOMPUTE", "MIRGA", "AMLARC", "BATCHAMLCOMPUTE", "UNKNOWN".
:vartype compute_type: str or ~flow.models.ComputeEnvironmentType
:ivar is_ssl_enabled:
:vartype is_ssl_enabled: bool
:ivar is_gpu_type:
:vartype is_gpu_type: bool
:ivar cluster_purpose:
:vartype cluster_purpose: str
:ivar public_ip_address:
:vartype public_ip_address: str
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'compute_type': {'key': 'computeType', 'type': 'str'},
'is_ssl_enabled': {'key': 'isSslEnabled', 'type': 'bool'},
'is_gpu_type': {'key': 'isGpuType', 'type': 'bool'},
'cluster_purpose': {'key': 'clusterPurpose', 'type': 'str'},
'public_ip_address': {'key': 'publicIpAddress', 'type': 'str'},
}
def __init__(
self,
*,
name: Optional[str] = None,
compute_type: Optional[Union[str, "ComputeEnvironmentType"]] = None,
is_ssl_enabled: Optional[bool] = None,
is_gpu_type: Optional[bool] = None,
cluster_purpose: Optional[str] = None,
public_ip_address: Optional[str] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword compute_type: Possible values include: "ACI", "AKS", "AMLCOMPUTE", "IOT",
"AKSENDPOINT", "MIRSINGLEMODEL", "MIRAMLCOMPUTE", "MIRGA", "AMLARC", "BATCHAMLCOMPUTE",
"UNKNOWN".
:paramtype compute_type: str or ~flow.models.ComputeEnvironmentType
:keyword is_ssl_enabled:
:paramtype is_ssl_enabled: bool
:keyword is_gpu_type:
:paramtype is_gpu_type: bool
:keyword cluster_purpose:
:paramtype cluster_purpose: str
:keyword public_ip_address:
:paramtype public_ip_address: str
"""
super(ComputeInfo, self).__init__(**kwargs)
self.name = name
self.compute_type = compute_type
self.is_ssl_enabled = is_ssl_enabled
self.is_gpu_type = is_gpu_type
self.cluster_purpose = cluster_purpose
self.public_ip_address = public_ip_address
class ComputeProperties(msrest.serialization.Model):
"""ComputeProperties.
All required parameters must be populated in order to send to Azure.
:ivar created_on:
:vartype created_on: ~datetime.datetime
:ivar modified_on:
:vartype modified_on: ~datetime.datetime
:ivar disable_local_auth:
:vartype disable_local_auth: bool
:ivar description:
:vartype description: str
:ivar resource_id:
:vartype resource_id: str
:ivar compute_type: Required.
:vartype compute_type: str
:ivar compute_location:
:vartype compute_location: str
:ivar provisioning_state: Possible values include: "Unknown", "Updating", "Creating",
"Deleting", "Accepted", "Succeeded", "Failed", "Canceled".
:vartype provisioning_state: str or ~flow.models.ProvisioningState
:ivar provisioning_errors:
:vartype provisioning_errors: list[~flow.models.ODataErrorResponse]
:ivar provisioning_warnings: This is a dictionary.
:vartype provisioning_warnings: dict[str, str]
:ivar is_attached_compute:
:vartype is_attached_compute: bool
:ivar properties: Any object.
:vartype properties: any
:ivar status:
:vartype status: ~flow.models.ComputeStatus
:ivar warnings:
:vartype warnings: list[~flow.models.ComputeWarning]
"""
_validation = {
'compute_type': {'required': True, 'min_length': 1},
}
_attribute_map = {
'created_on': {'key': 'createdOn', 'type': 'iso-8601'},
'modified_on': {'key': 'modifiedOn', 'type': 'iso-8601'},
'disable_local_auth': {'key': 'disableLocalAuth', 'type': 'bool'},
'description': {'key': 'description', 'type': 'str'},
'resource_id': {'key': 'resourceId', 'type': 'str'},
'compute_type': {'key': 'computeType', 'type': 'str'},
'compute_location': {'key': 'computeLocation', 'type': 'str'},
'provisioning_state': {'key': 'provisioningState', 'type': 'str'},
'provisioning_errors': {'key': 'provisioningErrors', 'type': '[ODataErrorResponse]'},
'provisioning_warnings': {'key': 'provisioningWarnings', 'type': '{str}'},
'is_attached_compute': {'key': 'isAttachedCompute', 'type': 'bool'},
'properties': {'key': 'properties', 'type': 'object'},
'status': {'key': 'status', 'type': 'ComputeStatus'},
'warnings': {'key': 'warnings', 'type': '[ComputeWarning]'},
}
def __init__(
self,
*,
compute_type: str,
created_on: Optional[datetime.datetime] = None,
modified_on: Optional[datetime.datetime] = None,
disable_local_auth: Optional[bool] = None,
description: Optional[str] = None,
resource_id: Optional[str] = None,
compute_location: Optional[str] = None,
provisioning_state: Optional[Union[str, "ProvisioningState"]] = None,
provisioning_errors: Optional[List["ODataErrorResponse"]] = None,
provisioning_warnings: Optional[Dict[str, str]] = None,
is_attached_compute: Optional[bool] = None,
properties: Optional[Any] = None,
status: Optional["ComputeStatus"] = None,
warnings: Optional[List["ComputeWarning"]] = None,
**kwargs
):
"""
:keyword created_on:
:paramtype created_on: ~datetime.datetime
:keyword modified_on:
:paramtype modified_on: ~datetime.datetime
:keyword disable_local_auth:
:paramtype disable_local_auth: bool
:keyword description:
:paramtype description: str
:keyword resource_id:
:paramtype resource_id: str
:keyword compute_type: Required.
:paramtype compute_type: str
:keyword compute_location:
:paramtype compute_location: str
:keyword provisioning_state: Possible values include: "Unknown", "Updating", "Creating",
"Deleting", "Accepted", "Succeeded", "Failed", "Canceled".
:paramtype provisioning_state: str or ~flow.models.ProvisioningState
:keyword provisioning_errors:
:paramtype provisioning_errors: list[~flow.models.ODataErrorResponse]
:keyword provisioning_warnings: This is a dictionary.
:paramtype provisioning_warnings: dict[str, str]
:keyword is_attached_compute:
:paramtype is_attached_compute: bool
:keyword properties: Any object.
:paramtype properties: any
:keyword status:
:paramtype status: ~flow.models.ComputeStatus
:keyword warnings:
:paramtype warnings: list[~flow.models.ComputeWarning]
"""
super(ComputeProperties, self).__init__(**kwargs)
self.created_on = created_on
self.modified_on = modified_on
self.disable_local_auth = disable_local_auth
self.description = description
self.resource_id = resource_id
self.compute_type = compute_type
self.compute_location = compute_location
self.provisioning_state = provisioning_state
self.provisioning_errors = provisioning_errors
self.provisioning_warnings = provisioning_warnings
self.is_attached_compute = is_attached_compute
self.properties = properties
self.status = status
self.warnings = warnings
class ComputeRequest(msrest.serialization.Model):
"""ComputeRequest.
:ivar node_count:
:vartype node_count: int
:ivar gpu_count:
:vartype gpu_count: int
"""
_attribute_map = {
'node_count': {'key': 'nodeCount', 'type': 'int'},
'gpu_count': {'key': 'gpuCount', 'type': 'int'},
}
def __init__(
self,
*,
node_count: Optional[int] = None,
gpu_count: Optional[int] = None,
**kwargs
):
"""
:keyword node_count:
:paramtype node_count: int
:keyword gpu_count:
:paramtype gpu_count: int
"""
super(ComputeRequest, self).__init__(**kwargs)
self.node_count = node_count
self.gpu_count = gpu_count
class ComputeRPUserAssignedIdentity(msrest.serialization.Model):
"""ComputeRPUserAssignedIdentity.
:ivar principal_id:
:vartype principal_id: str
:ivar tenant_id:
:vartype tenant_id: str
:ivar client_id:
:vartype client_id: str
:ivar client_secret_url:
:vartype client_secret_url: str
:ivar resource_id:
:vartype resource_id: str
"""
_attribute_map = {
'principal_id': {'key': 'principalId', 'type': 'str'},
'tenant_id': {'key': 'tenantId', 'type': 'str'},
'client_id': {'key': 'clientId', 'type': 'str'},
'client_secret_url': {'key': 'clientSecretUrl', 'type': 'str'},
'resource_id': {'key': 'resourceId', 'type': 'str'},
}
def __init__(
self,
*,
principal_id: Optional[str] = None,
tenant_id: Optional[str] = None,
client_id: Optional[str] = None,
client_secret_url: Optional[str] = None,
resource_id: Optional[str] = None,
**kwargs
):
"""
:keyword principal_id:
:paramtype principal_id: str
:keyword tenant_id:
:paramtype tenant_id: str
:keyword client_id:
:paramtype client_id: str
:keyword client_secret_url:
:paramtype client_secret_url: str
:keyword resource_id:
:paramtype resource_id: str
"""
super(ComputeRPUserAssignedIdentity, self).__init__(**kwargs)
self.principal_id = principal_id
self.tenant_id = tenant_id
self.client_id = client_id
self.client_secret_url = client_secret_url
self.resource_id = resource_id
class ComputeSetting(msrest.serialization.Model):
"""ComputeSetting.
:ivar name:
:vartype name: str
:ivar compute_type: Possible values include: "BatchAi", "MLC", "HdiCluster", "RemoteDocker",
"Databricks", "Aisc".
:vartype compute_type: str or ~flow.models.ComputeType
:ivar batch_ai_compute_info:
:vartype batch_ai_compute_info: ~flow.models.BatchAiComputeInfo
:ivar remote_docker_compute_info:
:vartype remote_docker_compute_info: ~flow.models.RemoteDockerComputeInfo
:ivar hdi_cluster_compute_info:
:vartype hdi_cluster_compute_info: ~flow.models.HdiClusterComputeInfo
:ivar mlc_compute_info:
:vartype mlc_compute_info: ~flow.models.MlcComputeInfo
:ivar databricks_compute_info:
:vartype databricks_compute_info: ~flow.models.DatabricksComputeInfo
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'compute_type': {'key': 'computeType', 'type': 'str'},
'batch_ai_compute_info': {'key': 'batchAiComputeInfo', 'type': 'BatchAiComputeInfo'},
'remote_docker_compute_info': {'key': 'remoteDockerComputeInfo', 'type': 'RemoteDockerComputeInfo'},
'hdi_cluster_compute_info': {'key': 'hdiClusterComputeInfo', 'type': 'HdiClusterComputeInfo'},
'mlc_compute_info': {'key': 'mlcComputeInfo', 'type': 'MlcComputeInfo'},
'databricks_compute_info': {'key': 'databricksComputeInfo', 'type': 'DatabricksComputeInfo'},
}
def __init__(
self,
*,
name: Optional[str] = None,
compute_type: Optional[Union[str, "ComputeType"]] = None,
batch_ai_compute_info: Optional["BatchAiComputeInfo"] = None,
remote_docker_compute_info: Optional["RemoteDockerComputeInfo"] = None,
hdi_cluster_compute_info: Optional["HdiClusterComputeInfo"] = None,
mlc_compute_info: Optional["MlcComputeInfo"] = None,
databricks_compute_info: Optional["DatabricksComputeInfo"] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword compute_type: Possible values include: "BatchAi", "MLC", "HdiCluster", "RemoteDocker",
"Databricks", "Aisc".
:paramtype compute_type: str or ~flow.models.ComputeType
:keyword batch_ai_compute_info:
:paramtype batch_ai_compute_info: ~flow.models.BatchAiComputeInfo
:keyword remote_docker_compute_info:
:paramtype remote_docker_compute_info: ~flow.models.RemoteDockerComputeInfo
:keyword hdi_cluster_compute_info:
:paramtype hdi_cluster_compute_info: ~flow.models.HdiClusterComputeInfo
:keyword mlc_compute_info:
:paramtype mlc_compute_info: ~flow.models.MlcComputeInfo
:keyword databricks_compute_info:
:paramtype databricks_compute_info: ~flow.models.DatabricksComputeInfo
"""
super(ComputeSetting, self).__init__(**kwargs)
self.name = name
self.compute_type = compute_type
self.batch_ai_compute_info = batch_ai_compute_info
self.remote_docker_compute_info = remote_docker_compute_info
self.hdi_cluster_compute_info = hdi_cluster_compute_info
self.mlc_compute_info = mlc_compute_info
self.databricks_compute_info = databricks_compute_info
class ComputeStatus(msrest.serialization.Model):
"""ComputeStatus.
Variables are only populated by the server, and will be ignored when sending a request.
:ivar is_status_available:
:vartype is_status_available: bool
:ivar detailed_status: Anything.
:vartype detailed_status: any
:ivar error: Represents OData v4 error object.
:vartype error: ~flow.models.ODataError
"""
_validation = {
'is_status_available': {'readonly': True},
}
_attribute_map = {
'is_status_available': {'key': 'isStatusAvailable', 'type': 'bool'},
'detailed_status': {'key': 'detailedStatus', 'type': 'object'},
'error': {'key': 'error', 'type': 'ODataError'},
}
def __init__(
self,
*,
detailed_status: Optional[Any] = None,
error: Optional["ODataError"] = None,
**kwargs
):
"""
:keyword detailed_status: Anything.
:paramtype detailed_status: any
:keyword error: Represents OData v4 error object.
:paramtype error: ~flow.models.ODataError
"""
super(ComputeStatus, self).__init__(**kwargs)
self.is_status_available = None
self.detailed_status = detailed_status
self.error = error
class ComputeStatusDetail(msrest.serialization.Model):
"""ComputeStatusDetail.
:ivar provisioning_state:
:vartype provisioning_state: str
:ivar provisioning_error_message:
:vartype provisioning_error_message: str
"""
_attribute_map = {
'provisioning_state': {'key': 'provisioningState', 'type': 'str'},
'provisioning_error_message': {'key': 'provisioningErrorMessage', 'type': 'str'},
}
def __init__(
self,
*,
provisioning_state: Optional[str] = None,
provisioning_error_message: Optional[str] = None,
**kwargs
):
"""
:keyword provisioning_state:
:paramtype provisioning_state: str
:keyword provisioning_error_message:
:paramtype provisioning_error_message: str
"""
super(ComputeStatusDetail, self).__init__(**kwargs)
self.provisioning_state = provisioning_state
self.provisioning_error_message = provisioning_error_message
class ComputeWarning(msrest.serialization.Model):
"""ComputeWarning.
:ivar title:
:vartype title: str
:ivar message:
:vartype message: str
:ivar code:
:vartype code: str
:ivar severity: Possible values include: "Critical", "Error", "Warning", "Info".
:vartype severity: str or ~flow.models.SeverityLevel
"""
_attribute_map = {
'title': {'key': 'title', 'type': 'str'},
'message': {'key': 'message', 'type': 'str'},
'code': {'key': 'code', 'type': 'str'},
'severity': {'key': 'severity', 'type': 'str'},
}
def __init__(
self,
*,
title: Optional[str] = None,
message: Optional[str] = None,
code: Optional[str] = None,
severity: Optional[Union[str, "SeverityLevel"]] = None,
**kwargs
):
"""
:keyword title:
:paramtype title: str
:keyword message:
:paramtype message: str
:keyword code:
:paramtype code: str
:keyword severity: Possible values include: "Critical", "Error", "Warning", "Info".
:paramtype severity: str or ~flow.models.SeverityLevel
"""
super(ComputeWarning, self).__init__(**kwargs)
self.title = title
self.message = message
self.code = code
self.severity = severity
class ConnectionConfigSpec(msrest.serialization.Model):
"""ConnectionConfigSpec.
:ivar name:
:vartype name: str
:ivar display_name:
:vartype display_name: str
:ivar config_value_type: Possible values include: "String", "Secret".
:vartype config_value_type: str or ~flow.models.ConfigValueType
:ivar description:
:vartype description: str
:ivar default_value:
:vartype default_value: str
:ivar enum_values:
:vartype enum_values: list[str]
:ivar is_optional:
:vartype is_optional: bool
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'display_name': {'key': 'displayName', 'type': 'str'},
'config_value_type': {'key': 'configValueType', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'default_value': {'key': 'defaultValue', 'type': 'str'},
'enum_values': {'key': 'enumValues', 'type': '[str]'},
'is_optional': {'key': 'isOptional', 'type': 'bool'},
}
def __init__(
self,
*,
name: Optional[str] = None,
display_name: Optional[str] = None,
config_value_type: Optional[Union[str, "ConfigValueType"]] = None,
description: Optional[str] = None,
default_value: Optional[str] = None,
enum_values: Optional[List[str]] = None,
is_optional: Optional[bool] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword display_name:
:paramtype display_name: str
:keyword config_value_type: Possible values include: "String", "Secret".
:paramtype config_value_type: str or ~flow.models.ConfigValueType
:keyword description:
:paramtype description: str
:keyword default_value:
:paramtype default_value: str
:keyword enum_values:
:paramtype enum_values: list[str]
:keyword is_optional:
:paramtype is_optional: bool
"""
super(ConnectionConfigSpec, self).__init__(**kwargs)
self.name = name
self.display_name = display_name
self.config_value_type = config_value_type
self.description = description
self.default_value = default_value
self.enum_values = enum_values
self.is_optional = is_optional
class ConnectionDto(msrest.serialization.Model):
"""ConnectionDto.
:ivar connection_name:
:vartype connection_name: str
:ivar connection_type: Possible values include: "OpenAI", "AzureOpenAI", "Serp", "Bing",
"AzureContentModerator", "Custom", "AzureContentSafety", "CognitiveSearch", "SubstrateLLM",
"Pinecone", "Qdrant", "Weaviate", "FormRecognizer".
:vartype connection_type: str or ~flow.models.ConnectionType
:ivar configs: This is a dictionary.
:vartype configs: dict[str, str]
:ivar custom_configs: This is a dictionary.
:vartype custom_configs: dict[str, ~flow.models.CustomConnectionConfig]
:ivar expiry_time:
:vartype expiry_time: ~datetime.datetime
:ivar owner:
:vartype owner: ~flow.models.SchemaContractsCreatedBy
:ivar created_date:
:vartype created_date: ~datetime.datetime
:ivar last_modified_date:
:vartype last_modified_date: ~datetime.datetime
"""
_attribute_map = {
'connection_name': {'key': 'connectionName', 'type': 'str'},
'connection_type': {'key': 'connectionType', 'type': 'str'},
'configs': {'key': 'configs', 'type': '{str}'},
'custom_configs': {'key': 'customConfigs', 'type': '{CustomConnectionConfig}'},
'expiry_time': {'key': 'expiryTime', 'type': 'iso-8601'},
'owner': {'key': 'owner', 'type': 'SchemaContractsCreatedBy'},
'created_date': {'key': 'createdDate', 'type': 'iso-8601'},
'last_modified_date': {'key': 'lastModifiedDate', 'type': 'iso-8601'},
}
def __init__(
self,
*,
connection_name: Optional[str] = None,
connection_type: Optional[Union[str, "ConnectionType"]] = None,
configs: Optional[Dict[str, str]] = None,
custom_configs: Optional[Dict[str, "CustomConnectionConfig"]] = None,
expiry_time: Optional[datetime.datetime] = None,
owner: Optional["SchemaContractsCreatedBy"] = None,
created_date: Optional[datetime.datetime] = None,
last_modified_date: Optional[datetime.datetime] = None,
**kwargs
):
"""
:keyword connection_name:
:paramtype connection_name: str
:keyword connection_type: Possible values include: "OpenAI", "AzureOpenAI", "Serp", "Bing",
"AzureContentModerator", "Custom", "AzureContentSafety", "CognitiveSearch", "SubstrateLLM",
"Pinecone", "Qdrant", "Weaviate", "FormRecognizer".
:paramtype connection_type: str or ~flow.models.ConnectionType
:keyword configs: This is a dictionary.
:paramtype configs: dict[str, str]
:keyword custom_configs: This is a dictionary.
:paramtype custom_configs: dict[str, ~flow.models.CustomConnectionConfig]
:keyword expiry_time:
:paramtype expiry_time: ~datetime.datetime
:keyword owner:
:paramtype owner: ~flow.models.SchemaContractsCreatedBy
:keyword created_date:
:paramtype created_date: ~datetime.datetime
:keyword last_modified_date:
:paramtype last_modified_date: ~datetime.datetime
"""
super(ConnectionDto, self).__init__(**kwargs)
self.connection_name = connection_name
self.connection_type = connection_type
self.configs = configs
self.custom_configs = custom_configs
self.expiry_time = expiry_time
self.owner = owner
self.created_date = created_date
self.last_modified_date = last_modified_date
class ConnectionEntity(msrest.serialization.Model):
"""ConnectionEntity.
:ivar connection_id:
:vartype connection_id: str
:ivar connection_name:
:vartype connection_name: str
:ivar connection_type: Possible values include: "OpenAI", "AzureOpenAI", "Serp", "Bing",
"AzureContentModerator", "Custom", "AzureContentSafety", "CognitiveSearch", "SubstrateLLM",
"Pinecone", "Qdrant", "Weaviate", "FormRecognizer".
:vartype connection_type: str or ~flow.models.ConnectionType
:ivar connection_scope: Possible values include: "User", "WorkspaceShared".
:vartype connection_scope: str or ~flow.models.ConnectionScope
:ivar configs: This is a dictionary.
:vartype configs: dict[str, str]
:ivar custom_configs: This is a dictionary.
:vartype custom_configs: dict[str, ~flow.models.CustomConnectionConfig]
:ivar expiry_time:
:vartype expiry_time: ~datetime.datetime
:ivar secret_name:
:vartype secret_name: str
:ivar owner:
:vartype owner: ~flow.models.SchemaContractsCreatedBy
:ivar created_date:
:vartype created_date: ~datetime.datetime
:ivar last_modified_date:
:vartype last_modified_date: ~datetime.datetime
"""
_attribute_map = {
'connection_id': {'key': 'connectionId', 'type': 'str'},
'connection_name': {'key': 'connectionName', 'type': 'str'},
'connection_type': {'key': 'connectionType', 'type': 'str'},
'connection_scope': {'key': 'connectionScope', 'type': 'str'},
'configs': {'key': 'configs', 'type': '{str}'},
'custom_configs': {'key': 'customConfigs', 'type': '{CustomConnectionConfig}'},
'expiry_time': {'key': 'expiryTime', 'type': 'iso-8601'},
'secret_name': {'key': 'secretName', 'type': 'str'},
'owner': {'key': 'owner', 'type': 'SchemaContractsCreatedBy'},
'created_date': {'key': 'createdDate', 'type': 'iso-8601'},
'last_modified_date': {'key': 'lastModifiedDate', 'type': 'iso-8601'},
}
def __init__(
self,
*,
connection_id: Optional[str] = None,
connection_name: Optional[str] = None,
connection_type: Optional[Union[str, "ConnectionType"]] = None,
connection_scope: Optional[Union[str, "ConnectionScope"]] = None,
configs: Optional[Dict[str, str]] = None,
custom_configs: Optional[Dict[str, "CustomConnectionConfig"]] = None,
expiry_time: Optional[datetime.datetime] = None,
secret_name: Optional[str] = None,
owner: Optional["SchemaContractsCreatedBy"] = None,
created_date: Optional[datetime.datetime] = None,
last_modified_date: Optional[datetime.datetime] = None,
**kwargs
):
"""
:keyword connection_id:
:paramtype connection_id: str
:keyword connection_name:
:paramtype connection_name: str
:keyword connection_type: Possible values include: "OpenAI", "AzureOpenAI", "Serp", "Bing",
"AzureContentModerator", "Custom", "AzureContentSafety", "CognitiveSearch", "SubstrateLLM",
"Pinecone", "Qdrant", "Weaviate", "FormRecognizer".
:paramtype connection_type: str or ~flow.models.ConnectionType
:keyword connection_scope: Possible values include: "User", "WorkspaceShared".
:paramtype connection_scope: str or ~flow.models.ConnectionScope
:keyword configs: This is a dictionary.
:paramtype configs: dict[str, str]
:keyword custom_configs: This is a dictionary.
:paramtype custom_configs: dict[str, ~flow.models.CustomConnectionConfig]
:keyword expiry_time:
:paramtype expiry_time: ~datetime.datetime
:keyword secret_name:
:paramtype secret_name: str
:keyword owner:
:paramtype owner: ~flow.models.SchemaContractsCreatedBy
:keyword created_date:
:paramtype created_date: ~datetime.datetime
:keyword last_modified_date:
:paramtype last_modified_date: ~datetime.datetime
"""
super(ConnectionEntity, self).__init__(**kwargs)
self.connection_id = connection_id
self.connection_name = connection_name
self.connection_type = connection_type
self.connection_scope = connection_scope
self.configs = configs
self.custom_configs = custom_configs
self.expiry_time = expiry_time
self.secret_name = secret_name
self.owner = owner
self.created_date = created_date
self.last_modified_date = last_modified_date
class ConnectionOverrideSetting(msrest.serialization.Model):
"""ConnectionOverrideSetting.
:ivar connection_source_type: Possible values include: "Node", "NodeInput".
:vartype connection_source_type: str or ~flow.models.ConnectionSourceType
:ivar node_name:
:vartype node_name: str
:ivar node_input_name:
:vartype node_input_name: str
:ivar node_deployment_name_input:
:vartype node_deployment_name_input: str
:ivar node_model_input:
:vartype node_model_input: str
:ivar connection_name:
:vartype connection_name: str
:ivar deployment_name:
:vartype deployment_name: str
:ivar model:
:vartype model: str
:ivar connection_types:
:vartype connection_types: list[str or ~flow.models.ConnectionType]
:ivar capabilities:
:vartype capabilities: ~flow.models.AzureOpenAIModelCapabilities
:ivar model_enum:
:vartype model_enum: list[str]
"""
_attribute_map = {
'connection_source_type': {'key': 'connectionSourceType', 'type': 'str'},
'node_name': {'key': 'nodeName', 'type': 'str'},
'node_input_name': {'key': 'nodeInputName', 'type': 'str'},
'node_deployment_name_input': {'key': 'nodeDeploymentNameInput', 'type': 'str'},
'node_model_input': {'key': 'nodeModelInput', 'type': 'str'},
'connection_name': {'key': 'connectionName', 'type': 'str'},
'deployment_name': {'key': 'deploymentName', 'type': 'str'},
'model': {'key': 'model', 'type': 'str'},
'connection_types': {'key': 'connectionTypes', 'type': '[str]'},
'capabilities': {'key': 'capabilities', 'type': 'AzureOpenAIModelCapabilities'},
'model_enum': {'key': 'modelEnum', 'type': '[str]'},
}
def __init__(
self,
*,
connection_source_type: Optional[Union[str, "ConnectionSourceType"]] = None,
node_name: Optional[str] = None,
node_input_name: Optional[str] = None,
node_deployment_name_input: Optional[str] = None,
node_model_input: Optional[str] = None,
connection_name: Optional[str] = None,
deployment_name: Optional[str] = None,
model: Optional[str] = None,
connection_types: Optional[List[Union[str, "ConnectionType"]]] = None,
capabilities: Optional["AzureOpenAIModelCapabilities"] = None,
model_enum: Optional[List[str]] = None,
**kwargs
):
"""
:keyword connection_source_type: Possible values include: "Node", "NodeInput".
:paramtype connection_source_type: str or ~flow.models.ConnectionSourceType
:keyword node_name:
:paramtype node_name: str
:keyword node_input_name:
:paramtype node_input_name: str
:keyword node_deployment_name_input:
:paramtype node_deployment_name_input: str
:keyword node_model_input:
:paramtype node_model_input: str
:keyword connection_name:
:paramtype connection_name: str
:keyword deployment_name:
:paramtype deployment_name: str
:keyword model:
:paramtype model: str
:keyword connection_types:
:paramtype connection_types: list[str or ~flow.models.ConnectionType]
:keyword capabilities:
:paramtype capabilities: ~flow.models.AzureOpenAIModelCapabilities
:keyword model_enum:
:paramtype model_enum: list[str]
"""
super(ConnectionOverrideSetting, self).__init__(**kwargs)
self.connection_source_type = connection_source_type
self.node_name = node_name
self.node_input_name = node_input_name
self.node_deployment_name_input = node_deployment_name_input
self.node_model_input = node_model_input
self.connection_name = connection_name
self.deployment_name = deployment_name
self.model = model
self.connection_types = connection_types
self.capabilities = capabilities
self.model_enum = model_enum
class ConnectionSpec(msrest.serialization.Model):
"""ConnectionSpec.
:ivar connection_type: Possible values include: "OpenAI", "AzureOpenAI", "Serp", "Bing",
"AzureContentModerator", "Custom", "AzureContentSafety", "CognitiveSearch", "SubstrateLLM",
"Pinecone", "Qdrant", "Weaviate", "FormRecognizer".
:vartype connection_type: str or ~flow.models.ConnectionType
:ivar config_specs:
:vartype config_specs: list[~flow.models.ConnectionConfigSpec]
"""
_attribute_map = {
'connection_type': {'key': 'connectionType', 'type': 'str'},
'config_specs': {'key': 'configSpecs', 'type': '[ConnectionConfigSpec]'},
}
def __init__(
self,
*,
connection_type: Optional[Union[str, "ConnectionType"]] = None,
config_specs: Optional[List["ConnectionConfigSpec"]] = None,
**kwargs
):
"""
:keyword connection_type: Possible values include: "OpenAI", "AzureOpenAI", "Serp", "Bing",
"AzureContentModerator", "Custom", "AzureContentSafety", "CognitiveSearch", "SubstrateLLM",
"Pinecone", "Qdrant", "Weaviate", "FormRecognizer".
:paramtype connection_type: str or ~flow.models.ConnectionType
:keyword config_specs:
:paramtype config_specs: list[~flow.models.ConnectionConfigSpec]
"""
super(ConnectionSpec, self).__init__(**kwargs)
self.connection_type = connection_type
self.config_specs = config_specs
class ContainerInstanceConfiguration(msrest.serialization.Model):
"""ContainerInstanceConfiguration.
:ivar region:
:vartype region: str
:ivar cpu_cores:
:vartype cpu_cores: float
:ivar memory_gb:
:vartype memory_gb: float
"""
_attribute_map = {
'region': {'key': 'region', 'type': 'str'},
'cpu_cores': {'key': 'cpuCores', 'type': 'float'},
'memory_gb': {'key': 'memoryGb', 'type': 'float'},
}
def __init__(
self,
*,
region: Optional[str] = None,
cpu_cores: Optional[float] = None,
memory_gb: Optional[float] = None,
**kwargs
):
"""
:keyword region:
:paramtype region: str
:keyword cpu_cores:
:paramtype cpu_cores: float
:keyword memory_gb:
:paramtype memory_gb: float
"""
super(ContainerInstanceConfiguration, self).__init__(**kwargs)
self.region = region
self.cpu_cores = cpu_cores
self.memory_gb = memory_gb
class ContainerRegistry(msrest.serialization.Model):
"""ContainerRegistry.
:ivar address:
:vartype address: str
:ivar username:
:vartype username: str
:ivar password:
:vartype password: str
:ivar credential_type:
:vartype credential_type: str
:ivar registry_identity:
:vartype registry_identity: ~flow.models.RegistryIdentity
"""
_attribute_map = {
'address': {'key': 'address', 'type': 'str'},
'username': {'key': 'username', 'type': 'str'},
'password': {'key': 'password', 'type': 'str'},
'credential_type': {'key': 'credentialType', 'type': 'str'},
'registry_identity': {'key': 'registryIdentity', 'type': 'RegistryIdentity'},
}
def __init__(
self,
*,
address: Optional[str] = None,
username: Optional[str] = None,
password: Optional[str] = None,
credential_type: Optional[str] = None,
registry_identity: Optional["RegistryIdentity"] = None,
**kwargs
):
"""
:keyword address:
:paramtype address: str
:keyword username:
:paramtype username: str
:keyword password:
:paramtype password: str
:keyword credential_type:
:paramtype credential_type: str
:keyword registry_identity:
:paramtype registry_identity: ~flow.models.RegistryIdentity
"""
super(ContainerRegistry, self).__init__(**kwargs)
self.address = address
self.username = username
self.password = password
self.credential_type = credential_type
self.registry_identity = registry_identity
class ContainerResourceRequirements(msrest.serialization.Model):
"""ContainerResourceRequirements.
:ivar cpu:
:vartype cpu: float
:ivar cpu_limit:
:vartype cpu_limit: float
:ivar memory_in_gb:
:vartype memory_in_gb: float
:ivar memory_in_gb_limit:
:vartype memory_in_gb_limit: float
:ivar gpu_enabled:
:vartype gpu_enabled: bool
:ivar gpu:
:vartype gpu: int
:ivar fpga:
:vartype fpga: int
"""
_attribute_map = {
'cpu': {'key': 'cpu', 'type': 'float'},
'cpu_limit': {'key': 'cpuLimit', 'type': 'float'},
'memory_in_gb': {'key': 'memoryInGB', 'type': 'float'},
'memory_in_gb_limit': {'key': 'memoryInGBLimit', 'type': 'float'},
'gpu_enabled': {'key': 'gpuEnabled', 'type': 'bool'},
'gpu': {'key': 'gpu', 'type': 'int'},
'fpga': {'key': 'fpga', 'type': 'int'},
}
def __init__(
self,
*,
cpu: Optional[float] = None,
cpu_limit: Optional[float] = None,
memory_in_gb: Optional[float] = None,
memory_in_gb_limit: Optional[float] = None,
gpu_enabled: Optional[bool] = None,
gpu: Optional[int] = None,
fpga: Optional[int] = None,
**kwargs
):
"""
:keyword cpu:
:paramtype cpu: float
:keyword cpu_limit:
:paramtype cpu_limit: float
:keyword memory_in_gb:
:paramtype memory_in_gb: float
:keyword memory_in_gb_limit:
:paramtype memory_in_gb_limit: float
:keyword gpu_enabled:
:paramtype gpu_enabled: bool
:keyword gpu:
:paramtype gpu: int
:keyword fpga:
:paramtype fpga: int
"""
super(ContainerResourceRequirements, self).__init__(**kwargs)
self.cpu = cpu
self.cpu_limit = cpu_limit
self.memory_in_gb = memory_in_gb
self.memory_in_gb_limit = memory_in_gb_limit
self.gpu_enabled = gpu_enabled
self.gpu = gpu
self.fpga = fpga
class ControlInput(msrest.serialization.Model):
"""ControlInput.
:ivar name:
:vartype name: str
:ivar default_value: Possible values include: "None", "False", "True", "Skipped".
:vartype default_value: str or ~flow.models.ControlInputValue
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'default_value': {'key': 'defaultValue', 'type': 'str'},
}
def __init__(
self,
*,
name: Optional[str] = None,
default_value: Optional[Union[str, "ControlInputValue"]] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword default_value: Possible values include: "None", "False", "True", "Skipped".
:paramtype default_value: str or ~flow.models.ControlInputValue
"""
super(ControlInput, self).__init__(**kwargs)
self.name = name
self.default_value = default_value
class ControlOutput(msrest.serialization.Model):
"""ControlOutput.
:ivar name:
:vartype name: str
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
}
def __init__(
self,
*,
name: Optional[str] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
"""
super(ControlOutput, self).__init__(**kwargs)
self.name = name
class CopyDataTask(msrest.serialization.Model):
"""CopyDataTask.
:ivar data_copy_mode: Possible values include: "MergeWithOverwrite", "FailIfConflict".
:vartype data_copy_mode: str or ~flow.models.DataCopyMode
"""
_attribute_map = {
'data_copy_mode': {'key': 'DataCopyMode', 'type': 'str'},
}
def __init__(
self,
*,
data_copy_mode: Optional[Union[str, "DataCopyMode"]] = None,
**kwargs
):
"""
:keyword data_copy_mode: Possible values include: "MergeWithOverwrite", "FailIfConflict".
:paramtype data_copy_mode: str or ~flow.models.DataCopyMode
"""
super(CopyDataTask, self).__init__(**kwargs)
self.data_copy_mode = data_copy_mode
class CreatedBy(msrest.serialization.Model):
"""CreatedBy.
:ivar user_object_id:
:vartype user_object_id: str
:ivar user_tenant_id:
:vartype user_tenant_id: str
:ivar user_name:
:vartype user_name: str
"""
_attribute_map = {
'user_object_id': {'key': 'userObjectId', 'type': 'str'},
'user_tenant_id': {'key': 'userTenantId', 'type': 'str'},
'user_name': {'key': 'userName', 'type': 'str'},
}
def __init__(
self,
*,
user_object_id: Optional[str] = None,
user_tenant_id: Optional[str] = None,
user_name: Optional[str] = None,
**kwargs
):
"""
:keyword user_object_id:
:paramtype user_object_id: str
:keyword user_tenant_id:
:paramtype user_tenant_id: str
:keyword user_name:
:paramtype user_name: str
"""
super(CreatedBy, self).__init__(**kwargs)
self.user_object_id = user_object_id
self.user_tenant_id = user_tenant_id
self.user_name = user_name
class CreatedFromDto(msrest.serialization.Model):
"""CreatedFromDto.
:ivar type: The only acceptable values to pass in are None and "Notebook". The default value
is None.
:vartype type: str
:ivar location_type: The only acceptable values to pass in are None and "ArtifactId". The
default value is None.
:vartype location_type: str
:ivar location:
:vartype location: str
"""
_attribute_map = {
'type': {'key': 'type', 'type': 'str'},
'location_type': {'key': 'locationType', 'type': 'str'},
'location': {'key': 'location', 'type': 'str'},
}
def __init__(
self,
*,
type: Optional[str] = None,
location_type: Optional[str] = None,
location: Optional[str] = None,
**kwargs
):
"""
:keyword type: The only acceptable values to pass in are None and "Notebook". The default
value is None.
:paramtype type: str
:keyword location_type: The only acceptable values to pass in are None and "ArtifactId". The
default value is None.
:paramtype location_type: str
:keyword location:
:paramtype location: str
"""
super(CreatedFromDto, self).__init__(**kwargs)
self.type = type
self.location_type = location_type
self.location = location
class CreateFlowFromSampleRequest(msrest.serialization.Model):
"""CreateFlowFromSampleRequest.
:ivar flow_name:
:vartype flow_name: str
:ivar sample_resource_id:
:vartype sample_resource_id: str
:ivar flow_definition_file_path:
:vartype flow_definition_file_path: str
:ivar tags: A set of tags. Dictionary of :code:`<string>`.
:vartype tags: dict[str, str]
:ivar is_archived:
:vartype is_archived: bool
"""
_attribute_map = {
'flow_name': {'key': 'flowName', 'type': 'str'},
'sample_resource_id': {'key': 'sampleResourceId', 'type': 'str'},
'flow_definition_file_path': {'key': 'flowDefinitionFilePath', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'is_archived': {'key': 'isArchived', 'type': 'bool'},
}
def __init__(
self,
*,
flow_name: Optional[str] = None,
sample_resource_id: Optional[str] = None,
flow_definition_file_path: Optional[str] = None,
tags: Optional[Dict[str, str]] = None,
is_archived: Optional[bool] = None,
**kwargs
):
"""
:keyword flow_name:
:paramtype flow_name: str
:keyword sample_resource_id:
:paramtype sample_resource_id: str
:keyword flow_definition_file_path:
:paramtype flow_definition_file_path: str
:keyword tags: A set of tags. Dictionary of :code:`<string>`.
:paramtype tags: dict[str, str]
:keyword is_archived:
:paramtype is_archived: bool
"""
super(CreateFlowFromSampleRequest, self).__init__(**kwargs)
self.flow_name = flow_name
self.sample_resource_id = sample_resource_id
self.flow_definition_file_path = flow_definition_file_path
self.tags = tags
self.is_archived = is_archived
class CreateFlowRequest(msrest.serialization.Model):
"""CreateFlowRequest.
:ivar flow_name:
:vartype flow_name: str
:ivar description:
:vartype description: str
:ivar details:
:vartype details: str
:ivar tags: A set of tags. Dictionary of :code:`<string>`.
:vartype tags: dict[str, str]
:ivar flow:
:vartype flow: ~flow.models.Flow
:ivar flow_definition_file_path:
:vartype flow_definition_file_path: str
:ivar flow_type: Possible values include: "Default", "Evaluation", "Chat", "Rag".
:vartype flow_type: str or ~flow.models.FlowType
:ivar flow_run_settings:
:vartype flow_run_settings: ~flow.models.FlowRunSettings
:ivar is_archived:
:vartype is_archived: bool
:ivar vm_size:
:vartype vm_size: str
:ivar max_idle_time_seconds:
:vartype max_idle_time_seconds: long
:ivar identity:
:vartype identity: str
"""
_attribute_map = {
'flow_name': {'key': 'flowName', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'details': {'key': 'details', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'flow': {'key': 'flow', 'type': 'Flow'},
'flow_definition_file_path': {'key': 'flowDefinitionFilePath', 'type': 'str'},
'flow_type': {'key': 'flowType', 'type': 'str'},
'flow_run_settings': {'key': 'flowRunSettings', 'type': 'FlowRunSettings'},
'is_archived': {'key': 'isArchived', 'type': 'bool'},
'vm_size': {'key': 'vmSize', 'type': 'str'},
'max_idle_time_seconds': {'key': 'maxIdleTimeSeconds', 'type': 'long'},
'identity': {'key': 'identity', 'type': 'str'},
}
def __init__(
self,
*,
flow_name: Optional[str] = None,
description: Optional[str] = None,
details: Optional[str] = None,
tags: Optional[Dict[str, str]] = None,
flow: Optional["Flow"] = None,
flow_definition_file_path: Optional[str] = None,
flow_type: Optional[Union[str, "FlowType"]] = None,
flow_run_settings: Optional["FlowRunSettings"] = None,
is_archived: Optional[bool] = None,
vm_size: Optional[str] = None,
max_idle_time_seconds: Optional[int] = None,
identity: Optional[str] = None,
**kwargs
):
"""
:keyword flow_name:
:paramtype flow_name: str
:keyword description:
:paramtype description: str
:keyword details:
:paramtype details: str
:keyword tags: A set of tags. Dictionary of :code:`<string>`.
:paramtype tags: dict[str, str]
:keyword flow:
:paramtype flow: ~flow.models.Flow
:keyword flow_definition_file_path:
:paramtype flow_definition_file_path: str
:keyword flow_type: Possible values include: "Default", "Evaluation", "Chat", "Rag".
:paramtype flow_type: str or ~flow.models.FlowType
:keyword flow_run_settings:
:paramtype flow_run_settings: ~flow.models.FlowRunSettings
:keyword is_archived:
:paramtype is_archived: bool
:keyword vm_size:
:paramtype vm_size: str
:keyword max_idle_time_seconds:
:paramtype max_idle_time_seconds: long
:keyword identity:
:paramtype identity: str
"""
super(CreateFlowRequest, self).__init__(**kwargs)
self.flow_name = flow_name
self.description = description
self.details = details
self.tags = tags
self.flow = flow
self.flow_definition_file_path = flow_definition_file_path
self.flow_type = flow_type
self.flow_run_settings = flow_run_settings
self.is_archived = is_archived
self.vm_size = vm_size
self.max_idle_time_seconds = max_idle_time_seconds
self.identity = identity
class CreateFlowRuntimeRequest(msrest.serialization.Model):
"""CreateFlowRuntimeRequest.
:ivar runtime_type: Possible values include: "ManagedOnlineEndpoint", "ComputeInstance",
"TrainingSession".
:vartype runtime_type: str or ~flow.models.RuntimeType
:ivar identity:
:vartype identity: ~flow.models.ManagedServiceIdentity
:ivar instance_type:
:vartype instance_type: str
:ivar from_existing_endpoint:
:vartype from_existing_endpoint: bool
:ivar from_existing_deployment:
:vartype from_existing_deployment: bool
:ivar endpoint_name:
:vartype endpoint_name: str
:ivar deployment_name:
:vartype deployment_name: str
:ivar compute_instance_name:
:vartype compute_instance_name: str
:ivar from_existing_custom_app:
:vartype from_existing_custom_app: bool
:ivar custom_app_name:
:vartype custom_app_name: str
:ivar runtime_description:
:vartype runtime_description: str
:ivar environment:
:vartype environment: str
:ivar instance_count:
:vartype instance_count: int
"""
_attribute_map = {
'runtime_type': {'key': 'runtimeType', 'type': 'str'},
'identity': {'key': 'identity', 'type': 'ManagedServiceIdentity'},
'instance_type': {'key': 'instanceType', 'type': 'str'},
'from_existing_endpoint': {'key': 'fromExistingEndpoint', 'type': 'bool'},
'from_existing_deployment': {'key': 'fromExistingDeployment', 'type': 'bool'},
'endpoint_name': {'key': 'endpointName', 'type': 'str'},
'deployment_name': {'key': 'deploymentName', 'type': 'str'},
'compute_instance_name': {'key': 'computeInstanceName', 'type': 'str'},
'from_existing_custom_app': {'key': 'fromExistingCustomApp', 'type': 'bool'},
'custom_app_name': {'key': 'customAppName', 'type': 'str'},
'runtime_description': {'key': 'runtimeDescription', 'type': 'str'},
'environment': {'key': 'environment', 'type': 'str'},
'instance_count': {'key': 'instanceCount', 'type': 'int'},
}
def __init__(
self,
*,
runtime_type: Optional[Union[str, "RuntimeType"]] = None,
identity: Optional["ManagedServiceIdentity"] = None,
instance_type: Optional[str] = None,
from_existing_endpoint: Optional[bool] = None,
from_existing_deployment: Optional[bool] = None,
endpoint_name: Optional[str] = None,
deployment_name: Optional[str] = None,
compute_instance_name: Optional[str] = None,
from_existing_custom_app: Optional[bool] = None,
custom_app_name: Optional[str] = None,
runtime_description: Optional[str] = None,
environment: Optional[str] = None,
instance_count: Optional[int] = None,
**kwargs
):
"""
:keyword runtime_type: Possible values include: "ManagedOnlineEndpoint", "ComputeInstance",
"TrainingSession".
:paramtype runtime_type: str or ~flow.models.RuntimeType
:keyword identity:
:paramtype identity: ~flow.models.ManagedServiceIdentity
:keyword instance_type:
:paramtype instance_type: str
:keyword from_existing_endpoint:
:paramtype from_existing_endpoint: bool
:keyword from_existing_deployment:
:paramtype from_existing_deployment: bool
:keyword endpoint_name:
:paramtype endpoint_name: str
:keyword deployment_name:
:paramtype deployment_name: str
:keyword compute_instance_name:
:paramtype compute_instance_name: str
:keyword from_existing_custom_app:
:paramtype from_existing_custom_app: bool
:keyword custom_app_name:
:paramtype custom_app_name: str
:keyword runtime_description:
:paramtype runtime_description: str
:keyword environment:
:paramtype environment: str
:keyword instance_count:
:paramtype instance_count: int
"""
super(CreateFlowRuntimeRequest, self).__init__(**kwargs)
self.runtime_type = runtime_type
self.identity = identity
self.instance_type = instance_type
self.from_existing_endpoint = from_existing_endpoint
self.from_existing_deployment = from_existing_deployment
self.endpoint_name = endpoint_name
self.deployment_name = deployment_name
self.compute_instance_name = compute_instance_name
self.from_existing_custom_app = from_existing_custom_app
self.custom_app_name = custom_app_name
self.runtime_description = runtime_description
self.environment = environment
self.instance_count = instance_count
class CreateFlowSessionRequest(msrest.serialization.Model):
"""CreateFlowSessionRequest.
:ivar python_pip_requirements:
:vartype python_pip_requirements: list[str]
:ivar base_image:
:vartype base_image: str
:ivar vm_size:
:vartype vm_size: str
:ivar max_idle_time_seconds:
:vartype max_idle_time_seconds: long
:ivar action: Possible values include: "Install", "Reset", "Update", "Delete".
:vartype action: str or ~flow.models.SetupFlowSessionAction
:ivar identity:
:vartype identity: str
"""
_attribute_map = {
'python_pip_requirements': {'key': 'pythonPipRequirements', 'type': '[str]'},
'base_image': {'key': 'baseImage', 'type': 'str'},
'vm_size': {'key': 'vmSize', 'type': 'str'},
'max_idle_time_seconds': {'key': 'maxIdleTimeSeconds', 'type': 'long'},
'action': {'key': 'action', 'type': 'str'},
'identity': {'key': 'identity', 'type': 'str'},
}
def __init__(
self,
*,
python_pip_requirements: Optional[List[str]] = None,
base_image: Optional[str] = None,
vm_size: Optional[str] = None,
max_idle_time_seconds: Optional[int] = None,
action: Optional[Union[str, "SetupFlowSessionAction"]] = None,
identity: Optional[str] = None,
**kwargs
):
"""
:keyword python_pip_requirements:
:paramtype python_pip_requirements: list[str]
:keyword base_image:
:paramtype base_image: str
:keyword vm_size:
:paramtype vm_size: str
:keyword max_idle_time_seconds:
:paramtype max_idle_time_seconds: long
:keyword action: Possible values include: "Install", "Reset", "Update", "Delete".
:paramtype action: str or ~flow.models.SetupFlowSessionAction
:keyword identity:
:paramtype identity: str
"""
super(CreateFlowSessionRequest, self).__init__(**kwargs)
self.python_pip_requirements = python_pip_requirements
self.base_image = base_image
self.vm_size = vm_size
self.max_idle_time_seconds = max_idle_time_seconds
self.action = action
self.identity = identity
class CreateInferencePipelineRequest(msrest.serialization.Model):
"""CreateInferencePipelineRequest.
:ivar module_node_id:
:vartype module_node_id: str
:ivar port_name:
:vartype port_name: str
:ivar training_pipeline_draft_name:
:vartype training_pipeline_draft_name: str
:ivar training_pipeline_run_display_name:
:vartype training_pipeline_run_display_name: str
:ivar name:
:vartype name: str
:ivar pipeline_type: Possible values include: "TrainingPipeline", "RealTimeInferencePipeline",
"BatchInferencePipeline", "Unknown".
:vartype pipeline_type: str or ~flow.models.PipelineType
:ivar pipeline_draft_mode: Possible values include: "None", "Normal", "Custom".
:vartype pipeline_draft_mode: str or ~flow.models.PipelineDraftMode
:ivar graph_components_mode: Possible values include: "Normal", "AllDesignerBuildin",
"ContainsDesignerBuildin".
:vartype graph_components_mode: str or ~flow.models.GraphComponentsMode
:ivar sub_pipelines_info:
:vartype sub_pipelines_info: ~flow.models.SubPipelinesInfo
:ivar flattened_sub_graphs: Dictionary of :code:`<PipelineSubDraft>`.
:vartype flattened_sub_graphs: dict[str, ~flow.models.PipelineSubDraft]
:ivar pipeline_parameters: This is a dictionary.
:vartype pipeline_parameters: dict[str, str]
:ivar data_path_assignments: This is a dictionary.
:vartype data_path_assignments: dict[str, ~flow.models.LegacyDataPath]
:ivar data_set_definition_value_assignments: This is a dictionary.
:vartype data_set_definition_value_assignments: dict[str, ~flow.models.DataSetDefinitionValue]
:ivar asset_output_settings_assignments: This is a dictionary.
:vartype asset_output_settings_assignments: dict[str, ~flow.models.AssetOutputSettings]
:ivar graph:
:vartype graph: ~flow.models.GraphDraftEntity
:ivar pipeline_run_settings:
:vartype pipeline_run_settings: list[~flow.models.RunSettingParameterAssignment]
:ivar module_node_run_settings:
:vartype module_node_run_settings: list[~flow.models.GraphModuleNodeRunSetting]
:ivar module_node_ui_input_settings:
:vartype module_node_ui_input_settings: list[~flow.models.GraphModuleNodeUIInputSetting]
:ivar tags: A set of tags. This is a dictionary.
:vartype tags: dict[str, str]
:ivar continue_run_on_step_failure:
:vartype continue_run_on_step_failure: bool
:ivar description:
:vartype description: str
:ivar properties: This is a dictionary.
:vartype properties: dict[str, str]
:ivar enforce_rerun:
:vartype enforce_rerun: bool
:ivar dataset_access_modes: Possible values include: "Default", "DatasetInDpv2", "AssetInDpv2",
"DatasetInDesignerUI", "DatasetInDpv2WithDatasetInDesignerUI", "Dataset",
"AssetInDpv2WithDatasetInDesignerUI", "DatasetAndAssetInDpv2WithDatasetInDesignerUI",
"AssetInDesignerUI", "AssetInDpv2WithAssetInDesignerUI", "Asset".
:vartype dataset_access_modes: str or ~flow.models.DatasetAccessModes
"""
_attribute_map = {
'module_node_id': {'key': 'moduleNodeId', 'type': 'str'},
'port_name': {'key': 'portName', 'type': 'str'},
'training_pipeline_draft_name': {'key': 'trainingPipelineDraftName', 'type': 'str'},
'training_pipeline_run_display_name': {'key': 'trainingPipelineRunDisplayName', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'pipeline_type': {'key': 'pipelineType', 'type': 'str'},
'pipeline_draft_mode': {'key': 'pipelineDraftMode', 'type': 'str'},
'graph_components_mode': {'key': 'graphComponentsMode', 'type': 'str'},
'sub_pipelines_info': {'key': 'subPipelinesInfo', 'type': 'SubPipelinesInfo'},
'flattened_sub_graphs': {'key': 'flattenedSubGraphs', 'type': '{PipelineSubDraft}'},
'pipeline_parameters': {'key': 'pipelineParameters', 'type': '{str}'},
'data_path_assignments': {'key': 'dataPathAssignments', 'type': '{LegacyDataPath}'},
'data_set_definition_value_assignments': {'key': 'dataSetDefinitionValueAssignments', 'type': '{DataSetDefinitionValue}'},
'asset_output_settings_assignments': {'key': 'assetOutputSettingsAssignments', 'type': '{AssetOutputSettings}'},
'graph': {'key': 'graph', 'type': 'GraphDraftEntity'},
'pipeline_run_settings': {'key': 'pipelineRunSettings', 'type': '[RunSettingParameterAssignment]'},
'module_node_run_settings': {'key': 'moduleNodeRunSettings', 'type': '[GraphModuleNodeRunSetting]'},
'module_node_ui_input_settings': {'key': 'moduleNodeUIInputSettings', 'type': '[GraphModuleNodeUIInputSetting]'},
'tags': {'key': 'tags', 'type': '{str}'},
'continue_run_on_step_failure': {'key': 'continueRunOnStepFailure', 'type': 'bool'},
'description': {'key': 'description', 'type': 'str'},
'properties': {'key': 'properties', 'type': '{str}'},
'enforce_rerun': {'key': 'enforceRerun', 'type': 'bool'},
'dataset_access_modes': {'key': 'datasetAccessModes', 'type': 'str'},
}
def __init__(
self,
*,
module_node_id: Optional[str] = None,
port_name: Optional[str] = None,
training_pipeline_draft_name: Optional[str] = None,
training_pipeline_run_display_name: Optional[str] = None,
name: Optional[str] = None,
pipeline_type: Optional[Union[str, "PipelineType"]] = None,
pipeline_draft_mode: Optional[Union[str, "PipelineDraftMode"]] = None,
graph_components_mode: Optional[Union[str, "GraphComponentsMode"]] = None,
sub_pipelines_info: Optional["SubPipelinesInfo"] = None,
flattened_sub_graphs: Optional[Dict[str, "PipelineSubDraft"]] = None,
pipeline_parameters: Optional[Dict[str, str]] = None,
data_path_assignments: Optional[Dict[str, "LegacyDataPath"]] = None,
data_set_definition_value_assignments: Optional[Dict[str, "DataSetDefinitionValue"]] = None,
asset_output_settings_assignments: Optional[Dict[str, "AssetOutputSettings"]] = None,
graph: Optional["GraphDraftEntity"] = None,
pipeline_run_settings: Optional[List["RunSettingParameterAssignment"]] = None,
module_node_run_settings: Optional[List["GraphModuleNodeRunSetting"]] = None,
module_node_ui_input_settings: Optional[List["GraphModuleNodeUIInputSetting"]] = None,
tags: Optional[Dict[str, str]] = None,
continue_run_on_step_failure: Optional[bool] = None,
description: Optional[str] = None,
properties: Optional[Dict[str, str]] = None,
enforce_rerun: Optional[bool] = None,
dataset_access_modes: Optional[Union[str, "DatasetAccessModes"]] = None,
**kwargs
):
"""
:keyword module_node_id:
:paramtype module_node_id: str
:keyword port_name:
:paramtype port_name: str
:keyword training_pipeline_draft_name:
:paramtype training_pipeline_draft_name: str
:keyword training_pipeline_run_display_name:
:paramtype training_pipeline_run_display_name: str
:keyword name:
:paramtype name: str
:keyword pipeline_type: Possible values include: "TrainingPipeline",
"RealTimeInferencePipeline", "BatchInferencePipeline", "Unknown".
:paramtype pipeline_type: str or ~flow.models.PipelineType
:keyword pipeline_draft_mode: Possible values include: "None", "Normal", "Custom".
:paramtype pipeline_draft_mode: str or ~flow.models.PipelineDraftMode
:keyword graph_components_mode: Possible values include: "Normal", "AllDesignerBuildin",
"ContainsDesignerBuildin".
:paramtype graph_components_mode: str or ~flow.models.GraphComponentsMode
:keyword sub_pipelines_info:
:paramtype sub_pipelines_info: ~flow.models.SubPipelinesInfo
:keyword flattened_sub_graphs: Dictionary of :code:`<PipelineSubDraft>`.
:paramtype flattened_sub_graphs: dict[str, ~flow.models.PipelineSubDraft]
:keyword pipeline_parameters: This is a dictionary.
:paramtype pipeline_parameters: dict[str, str]
:keyword data_path_assignments: This is a dictionary.
:paramtype data_path_assignments: dict[str, ~flow.models.LegacyDataPath]
:keyword data_set_definition_value_assignments: This is a dictionary.
:paramtype data_set_definition_value_assignments: dict[str,
~flow.models.DataSetDefinitionValue]
:keyword asset_output_settings_assignments: This is a dictionary.
:paramtype asset_output_settings_assignments: dict[str, ~flow.models.AssetOutputSettings]
:keyword graph:
:paramtype graph: ~flow.models.GraphDraftEntity
:keyword pipeline_run_settings:
:paramtype pipeline_run_settings: list[~flow.models.RunSettingParameterAssignment]
:keyword module_node_run_settings:
:paramtype module_node_run_settings: list[~flow.models.GraphModuleNodeRunSetting]
:keyword module_node_ui_input_settings:
:paramtype module_node_ui_input_settings: list[~flow.models.GraphModuleNodeUIInputSetting]
:keyword tags: A set of tags. This is a dictionary.
:paramtype tags: dict[str, str]
:keyword continue_run_on_step_failure:
:paramtype continue_run_on_step_failure: bool
:keyword description:
:paramtype description: str
:keyword properties: This is a dictionary.
:paramtype properties: dict[str, str]
:keyword enforce_rerun:
:paramtype enforce_rerun: bool
:keyword dataset_access_modes: Possible values include: "Default", "DatasetInDpv2",
"AssetInDpv2", "DatasetInDesignerUI", "DatasetInDpv2WithDatasetInDesignerUI", "Dataset",
"AssetInDpv2WithDatasetInDesignerUI", "DatasetAndAssetInDpv2WithDatasetInDesignerUI",
"AssetInDesignerUI", "AssetInDpv2WithAssetInDesignerUI", "Asset".
:paramtype dataset_access_modes: str or ~flow.models.DatasetAccessModes
"""
super(CreateInferencePipelineRequest, self).__init__(**kwargs)
self.module_node_id = module_node_id
self.port_name = port_name
self.training_pipeline_draft_name = training_pipeline_draft_name
self.training_pipeline_run_display_name = training_pipeline_run_display_name
self.name = name
self.pipeline_type = pipeline_type
self.pipeline_draft_mode = pipeline_draft_mode
self.graph_components_mode = graph_components_mode
self.sub_pipelines_info = sub_pipelines_info
self.flattened_sub_graphs = flattened_sub_graphs
self.pipeline_parameters = pipeline_parameters
self.data_path_assignments = data_path_assignments
self.data_set_definition_value_assignments = data_set_definition_value_assignments
self.asset_output_settings_assignments = asset_output_settings_assignments
self.graph = graph
self.pipeline_run_settings = pipeline_run_settings
self.module_node_run_settings = module_node_run_settings
self.module_node_ui_input_settings = module_node_ui_input_settings
self.tags = tags
self.continue_run_on_step_failure = continue_run_on_step_failure
self.description = description
self.properties = properties
self.enforce_rerun = enforce_rerun
self.dataset_access_modes = dataset_access_modes
class CreateOrUpdateConnectionRequest(msrest.serialization.Model):
"""CreateOrUpdateConnectionRequest.
:ivar connection_type: Possible values include: "OpenAI", "AzureOpenAI", "Serp", "Bing",
"AzureContentModerator", "Custom", "AzureContentSafety", "CognitiveSearch", "SubstrateLLM",
"Pinecone", "Qdrant", "Weaviate", "FormRecognizer".
:vartype connection_type: str or ~flow.models.ConnectionType
:ivar connection_scope: Possible values include: "User", "WorkspaceShared".
:vartype connection_scope: str or ~flow.models.ConnectionScope
:ivar configs: This is a dictionary.
:vartype configs: dict[str, str]
:ivar custom_configs: This is a dictionary.
:vartype custom_configs: dict[str, ~flow.models.CustomConnectionConfig]
:ivar expiry_time:
:vartype expiry_time: ~datetime.datetime
"""
_attribute_map = {
'connection_type': {'key': 'connectionType', 'type': 'str'},
'connection_scope': {'key': 'connectionScope', 'type': 'str'},
'configs': {'key': 'configs', 'type': '{str}'},
'custom_configs': {'key': 'customConfigs', 'type': '{CustomConnectionConfig}'},
'expiry_time': {'key': 'expiryTime', 'type': 'iso-8601'},
}
def __init__(
self,
*,
connection_type: Optional[Union[str, "ConnectionType"]] = None,
connection_scope: Optional[Union[str, "ConnectionScope"]] = None,
configs: Optional[Dict[str, str]] = None,
custom_configs: Optional[Dict[str, "CustomConnectionConfig"]] = None,
expiry_time: Optional[datetime.datetime] = None,
**kwargs
):
"""
:keyword connection_type: Possible values include: "OpenAI", "AzureOpenAI", "Serp", "Bing",
"AzureContentModerator", "Custom", "AzureContentSafety", "CognitiveSearch", "SubstrateLLM",
"Pinecone", "Qdrant", "Weaviate", "FormRecognizer".
:paramtype connection_type: str or ~flow.models.ConnectionType
:keyword connection_scope: Possible values include: "User", "WorkspaceShared".
:paramtype connection_scope: str or ~flow.models.ConnectionScope
:keyword configs: This is a dictionary.
:paramtype configs: dict[str, str]
:keyword custom_configs: This is a dictionary.
:paramtype custom_configs: dict[str, ~flow.models.CustomConnectionConfig]
:keyword expiry_time:
:paramtype expiry_time: ~datetime.datetime
"""
super(CreateOrUpdateConnectionRequest, self).__init__(**kwargs)
self.connection_type = connection_type
self.connection_scope = connection_scope
self.configs = configs
self.custom_configs = custom_configs
self.expiry_time = expiry_time
class CreateOrUpdateConnectionRequestDto(msrest.serialization.Model):
"""CreateOrUpdateConnectionRequestDto.
:ivar connection_type: Possible values include: "OpenAI", "AzureOpenAI", "Serp", "Bing",
"AzureContentModerator", "Custom", "AzureContentSafety", "CognitiveSearch", "SubstrateLLM",
"Pinecone", "Qdrant", "Weaviate", "FormRecognizer".
:vartype connection_type: str or ~flow.models.ConnectionType
:ivar configs: This is a dictionary.
:vartype configs: dict[str, str]
:ivar custom_configs: This is a dictionary.
:vartype custom_configs: dict[str, ~flow.models.CustomConnectionConfig]
:ivar expiry_time:
:vartype expiry_time: ~datetime.datetime
"""
_attribute_map = {
'connection_type': {'key': 'connectionType', 'type': 'str'},
'configs': {'key': 'configs', 'type': '{str}'},
'custom_configs': {'key': 'customConfigs', 'type': '{CustomConnectionConfig}'},
'expiry_time': {'key': 'expiryTime', 'type': 'iso-8601'},
}
def __init__(
self,
*,
connection_type: Optional[Union[str, "ConnectionType"]] = None,
configs: Optional[Dict[str, str]] = None,
custom_configs: Optional[Dict[str, "CustomConnectionConfig"]] = None,
expiry_time: Optional[datetime.datetime] = None,
**kwargs
):
"""
:keyword connection_type: Possible values include: "OpenAI", "AzureOpenAI", "Serp", "Bing",
"AzureContentModerator", "Custom", "AzureContentSafety", "CognitiveSearch", "SubstrateLLM",
"Pinecone", "Qdrant", "Weaviate", "FormRecognizer".
:paramtype connection_type: str or ~flow.models.ConnectionType
:keyword configs: This is a dictionary.
:paramtype configs: dict[str, str]
:keyword custom_configs: This is a dictionary.
:paramtype custom_configs: dict[str, ~flow.models.CustomConnectionConfig]
:keyword expiry_time:
:paramtype expiry_time: ~datetime.datetime
"""
super(CreateOrUpdateConnectionRequestDto, self).__init__(**kwargs)
self.connection_type = connection_type
self.configs = configs
self.custom_configs = custom_configs
self.expiry_time = expiry_time
class CreatePipelineDraftRequest(msrest.serialization.Model):
"""CreatePipelineDraftRequest.
:ivar name:
:vartype name: str
:ivar pipeline_type: Possible values include: "TrainingPipeline", "RealTimeInferencePipeline",
"BatchInferencePipeline", "Unknown".
:vartype pipeline_type: str or ~flow.models.PipelineType
:ivar pipeline_draft_mode: Possible values include: "None", "Normal", "Custom".
:vartype pipeline_draft_mode: str or ~flow.models.PipelineDraftMode
:ivar graph_components_mode: Possible values include: "Normal", "AllDesignerBuildin",
"ContainsDesignerBuildin".
:vartype graph_components_mode: str or ~flow.models.GraphComponentsMode
:ivar sub_pipelines_info:
:vartype sub_pipelines_info: ~flow.models.SubPipelinesInfo
:ivar flattened_sub_graphs: Dictionary of :code:`<PipelineSubDraft>`.
:vartype flattened_sub_graphs: dict[str, ~flow.models.PipelineSubDraft]
:ivar pipeline_parameters: This is a dictionary.
:vartype pipeline_parameters: dict[str, str]
:ivar data_path_assignments: This is a dictionary.
:vartype data_path_assignments: dict[str, ~flow.models.LegacyDataPath]
:ivar data_set_definition_value_assignments: This is a dictionary.
:vartype data_set_definition_value_assignments: dict[str, ~flow.models.DataSetDefinitionValue]
:ivar asset_output_settings_assignments: This is a dictionary.
:vartype asset_output_settings_assignments: dict[str, ~flow.models.AssetOutputSettings]
:ivar graph:
:vartype graph: ~flow.models.GraphDraftEntity
:ivar pipeline_run_settings:
:vartype pipeline_run_settings: list[~flow.models.RunSettingParameterAssignment]
:ivar module_node_run_settings:
:vartype module_node_run_settings: list[~flow.models.GraphModuleNodeRunSetting]
:ivar module_node_ui_input_settings:
:vartype module_node_ui_input_settings: list[~flow.models.GraphModuleNodeUIInputSetting]
:ivar tags: A set of tags. This is a dictionary.
:vartype tags: dict[str, str]
:ivar continue_run_on_step_failure:
:vartype continue_run_on_step_failure: bool
:ivar description:
:vartype description: str
:ivar properties: This is a dictionary.
:vartype properties: dict[str, str]
:ivar enforce_rerun:
:vartype enforce_rerun: bool
:ivar dataset_access_modes: Possible values include: "Default", "DatasetInDpv2", "AssetInDpv2",
"DatasetInDesignerUI", "DatasetInDpv2WithDatasetInDesignerUI", "Dataset",
"AssetInDpv2WithDatasetInDesignerUI", "DatasetAndAssetInDpv2WithDatasetInDesignerUI",
"AssetInDesignerUI", "AssetInDpv2WithAssetInDesignerUI", "Asset".
:vartype dataset_access_modes: str or ~flow.models.DatasetAccessModes
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'pipeline_type': {'key': 'pipelineType', 'type': 'str'},
'pipeline_draft_mode': {'key': 'pipelineDraftMode', 'type': 'str'},
'graph_components_mode': {'key': 'graphComponentsMode', 'type': 'str'},
'sub_pipelines_info': {'key': 'subPipelinesInfo', 'type': 'SubPipelinesInfo'},
'flattened_sub_graphs': {'key': 'flattenedSubGraphs', 'type': '{PipelineSubDraft}'},
'pipeline_parameters': {'key': 'pipelineParameters', 'type': '{str}'},
'data_path_assignments': {'key': 'dataPathAssignments', 'type': '{LegacyDataPath}'},
'data_set_definition_value_assignments': {'key': 'dataSetDefinitionValueAssignments', 'type': '{DataSetDefinitionValue}'},
'asset_output_settings_assignments': {'key': 'assetOutputSettingsAssignments', 'type': '{AssetOutputSettings}'},
'graph': {'key': 'graph', 'type': 'GraphDraftEntity'},
'pipeline_run_settings': {'key': 'pipelineRunSettings', 'type': '[RunSettingParameterAssignment]'},
'module_node_run_settings': {'key': 'moduleNodeRunSettings', 'type': '[GraphModuleNodeRunSetting]'},
'module_node_ui_input_settings': {'key': 'moduleNodeUIInputSettings', 'type': '[GraphModuleNodeUIInputSetting]'},
'tags': {'key': 'tags', 'type': '{str}'},
'continue_run_on_step_failure': {'key': 'continueRunOnStepFailure', 'type': 'bool'},
'description': {'key': 'description', 'type': 'str'},
'properties': {'key': 'properties', 'type': '{str}'},
'enforce_rerun': {'key': 'enforceRerun', 'type': 'bool'},
'dataset_access_modes': {'key': 'datasetAccessModes', 'type': 'str'},
}
def __init__(
self,
*,
name: Optional[str] = None,
pipeline_type: Optional[Union[str, "PipelineType"]] = None,
pipeline_draft_mode: Optional[Union[str, "PipelineDraftMode"]] = None,
graph_components_mode: Optional[Union[str, "GraphComponentsMode"]] = None,
sub_pipelines_info: Optional["SubPipelinesInfo"] = None,
flattened_sub_graphs: Optional[Dict[str, "PipelineSubDraft"]] = None,
pipeline_parameters: Optional[Dict[str, str]] = None,
data_path_assignments: Optional[Dict[str, "LegacyDataPath"]] = None,
data_set_definition_value_assignments: Optional[Dict[str, "DataSetDefinitionValue"]] = None,
asset_output_settings_assignments: Optional[Dict[str, "AssetOutputSettings"]] = None,
graph: Optional["GraphDraftEntity"] = None,
pipeline_run_settings: Optional[List["RunSettingParameterAssignment"]] = None,
module_node_run_settings: Optional[List["GraphModuleNodeRunSetting"]] = None,
module_node_ui_input_settings: Optional[List["GraphModuleNodeUIInputSetting"]] = None,
tags: Optional[Dict[str, str]] = None,
continue_run_on_step_failure: Optional[bool] = None,
description: Optional[str] = None,
properties: Optional[Dict[str, str]] = None,
enforce_rerun: Optional[bool] = None,
dataset_access_modes: Optional[Union[str, "DatasetAccessModes"]] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword pipeline_type: Possible values include: "TrainingPipeline",
"RealTimeInferencePipeline", "BatchInferencePipeline", "Unknown".
:paramtype pipeline_type: str or ~flow.models.PipelineType
:keyword pipeline_draft_mode: Possible values include: "None", "Normal", "Custom".
:paramtype pipeline_draft_mode: str or ~flow.models.PipelineDraftMode
:keyword graph_components_mode: Possible values include: "Normal", "AllDesignerBuildin",
"ContainsDesignerBuildin".
:paramtype graph_components_mode: str or ~flow.models.GraphComponentsMode
:keyword sub_pipelines_info:
:paramtype sub_pipelines_info: ~flow.models.SubPipelinesInfo
:keyword flattened_sub_graphs: Dictionary of :code:`<PipelineSubDraft>`.
:paramtype flattened_sub_graphs: dict[str, ~flow.models.PipelineSubDraft]
:keyword pipeline_parameters: This is a dictionary.
:paramtype pipeline_parameters: dict[str, str]
:keyword data_path_assignments: This is a dictionary.
:paramtype data_path_assignments: dict[str, ~flow.models.LegacyDataPath]
:keyword data_set_definition_value_assignments: This is a dictionary.
:paramtype data_set_definition_value_assignments: dict[str,
~flow.models.DataSetDefinitionValue]
:keyword asset_output_settings_assignments: This is a dictionary.
:paramtype asset_output_settings_assignments: dict[str, ~flow.models.AssetOutputSettings]
:keyword graph:
:paramtype graph: ~flow.models.GraphDraftEntity
:keyword pipeline_run_settings:
:paramtype pipeline_run_settings: list[~flow.models.RunSettingParameterAssignment]
:keyword module_node_run_settings:
:paramtype module_node_run_settings: list[~flow.models.GraphModuleNodeRunSetting]
:keyword module_node_ui_input_settings:
:paramtype module_node_ui_input_settings: list[~flow.models.GraphModuleNodeUIInputSetting]
:keyword tags: A set of tags. This is a dictionary.
:paramtype tags: dict[str, str]
:keyword continue_run_on_step_failure:
:paramtype continue_run_on_step_failure: bool
:keyword description:
:paramtype description: str
:keyword properties: This is a dictionary.
:paramtype properties: dict[str, str]
:keyword enforce_rerun:
:paramtype enforce_rerun: bool
:keyword dataset_access_modes: Possible values include: "Default", "DatasetInDpv2",
"AssetInDpv2", "DatasetInDesignerUI", "DatasetInDpv2WithDatasetInDesignerUI", "Dataset",
"AssetInDpv2WithDatasetInDesignerUI", "DatasetAndAssetInDpv2WithDatasetInDesignerUI",
"AssetInDesignerUI", "AssetInDpv2WithAssetInDesignerUI", "Asset".
:paramtype dataset_access_modes: str or ~flow.models.DatasetAccessModes
"""
super(CreatePipelineDraftRequest, self).__init__(**kwargs)
self.name = name
self.pipeline_type = pipeline_type
self.pipeline_draft_mode = pipeline_draft_mode
self.graph_components_mode = graph_components_mode
self.sub_pipelines_info = sub_pipelines_info
self.flattened_sub_graphs = flattened_sub_graphs
self.pipeline_parameters = pipeline_parameters
self.data_path_assignments = data_path_assignments
self.data_set_definition_value_assignments = data_set_definition_value_assignments
self.asset_output_settings_assignments = asset_output_settings_assignments
self.graph = graph
self.pipeline_run_settings = pipeline_run_settings
self.module_node_run_settings = module_node_run_settings
self.module_node_ui_input_settings = module_node_ui_input_settings
self.tags = tags
self.continue_run_on_step_failure = continue_run_on_step_failure
self.description = description
self.properties = properties
self.enforce_rerun = enforce_rerun
self.dataset_access_modes = dataset_access_modes
class CreatePipelineJobScheduleDto(msrest.serialization.Model):
"""CreatePipelineJobScheduleDto.
:ivar name:
:vartype name: str
:ivar pipeline_job_name:
:vartype pipeline_job_name: str
:ivar pipeline_job_runtime_settings:
:vartype pipeline_job_runtime_settings: ~flow.models.PipelineJobRuntimeBasicSettings
:ivar display_name:
:vartype display_name: str
:ivar trigger_type: Possible values include: "Recurrence", "Cron".
:vartype trigger_type: str or ~flow.models.TriggerType
:ivar recurrence:
:vartype recurrence: ~flow.models.Recurrence
:ivar cron:
:vartype cron: ~flow.models.Cron
:ivar status: Possible values include: "Enabled", "Disabled".
:vartype status: str or ~flow.models.ScheduleStatus
:ivar description:
:vartype description: str
:ivar tags: A set of tags. This is a dictionary.
:vartype tags: dict[str, str]
:ivar properties: This is a dictionary.
:vartype properties: dict[str, str]
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'pipeline_job_name': {'key': 'pipelineJobName', 'type': 'str'},
'pipeline_job_runtime_settings': {'key': 'pipelineJobRuntimeSettings', 'type': 'PipelineJobRuntimeBasicSettings'},
'display_name': {'key': 'displayName', 'type': 'str'},
'trigger_type': {'key': 'triggerType', 'type': 'str'},
'recurrence': {'key': 'recurrence', 'type': 'Recurrence'},
'cron': {'key': 'cron', 'type': 'Cron'},
'status': {'key': 'status', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'properties': {'key': 'properties', 'type': '{str}'},
}
def __init__(
self,
*,
name: Optional[str] = None,
pipeline_job_name: Optional[str] = None,
pipeline_job_runtime_settings: Optional["PipelineJobRuntimeBasicSettings"] = None,
display_name: Optional[str] = None,
trigger_type: Optional[Union[str, "TriggerType"]] = None,
recurrence: Optional["Recurrence"] = None,
cron: Optional["Cron"] = None,
status: Optional[Union[str, "ScheduleStatus"]] = None,
description: Optional[str] = None,
tags: Optional[Dict[str, str]] = None,
properties: Optional[Dict[str, str]] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword pipeline_job_name:
:paramtype pipeline_job_name: str
:keyword pipeline_job_runtime_settings:
:paramtype pipeline_job_runtime_settings: ~flow.models.PipelineJobRuntimeBasicSettings
:keyword display_name:
:paramtype display_name: str
:keyword trigger_type: Possible values include: "Recurrence", "Cron".
:paramtype trigger_type: str or ~flow.models.TriggerType
:keyword recurrence:
:paramtype recurrence: ~flow.models.Recurrence
:keyword cron:
:paramtype cron: ~flow.models.Cron
:keyword status: Possible values include: "Enabled", "Disabled".
:paramtype status: str or ~flow.models.ScheduleStatus
:keyword description:
:paramtype description: str
:keyword tags: A set of tags. This is a dictionary.
:paramtype tags: dict[str, str]
:keyword properties: This is a dictionary.
:paramtype properties: dict[str, str]
"""
super(CreatePipelineJobScheduleDto, self).__init__(**kwargs)
self.name = name
self.pipeline_job_name = pipeline_job_name
self.pipeline_job_runtime_settings = pipeline_job_runtime_settings
self.display_name = display_name
self.trigger_type = trigger_type
self.recurrence = recurrence
self.cron = cron
self.status = status
self.description = description
self.tags = tags
self.properties = properties
class CreatePublishedPipelineRequest(msrest.serialization.Model):
"""CreatePublishedPipelineRequest.
:ivar use_pipeline_endpoint:
:vartype use_pipeline_endpoint: bool
:ivar pipeline_name:
:vartype pipeline_name: str
:ivar pipeline_description:
:vartype pipeline_description: str
:ivar use_existing_pipeline_endpoint:
:vartype use_existing_pipeline_endpoint: bool
:ivar pipeline_endpoint_name:
:vartype pipeline_endpoint_name: str
:ivar pipeline_endpoint_description:
:vartype pipeline_endpoint_description: str
:ivar set_as_default_pipeline_for_endpoint:
:vartype set_as_default_pipeline_for_endpoint: bool
:ivar step_tags: This is a dictionary.
:vartype step_tags: dict[str, str]
:ivar experiment_name:
:vartype experiment_name: str
:ivar pipeline_parameters: This is a dictionary.
:vartype pipeline_parameters: dict[str, str]
:ivar data_path_assignments: This is a dictionary.
:vartype data_path_assignments: dict[str, ~flow.models.LegacyDataPath]
:ivar data_set_definition_value_assignments: This is a dictionary.
:vartype data_set_definition_value_assignments: dict[str, ~flow.models.DataSetDefinitionValue]
:ivar asset_output_settings_assignments: This is a dictionary.
:vartype asset_output_settings_assignments: dict[str, ~flow.models.AssetOutputSettings]
:ivar enable_notification:
:vartype enable_notification: bool
:ivar sub_pipelines_info:
:vartype sub_pipelines_info: ~flow.models.SubPipelinesInfo
:ivar display_name:
:vartype display_name: str
:ivar run_id:
:vartype run_id: str
:ivar parent_run_id:
:vartype parent_run_id: str
:ivar graph:
:vartype graph: ~flow.models.GraphDraftEntity
:ivar pipeline_run_settings:
:vartype pipeline_run_settings: list[~flow.models.RunSettingParameterAssignment]
:ivar module_node_run_settings:
:vartype module_node_run_settings: list[~flow.models.GraphModuleNodeRunSetting]
:ivar module_node_ui_input_settings:
:vartype module_node_ui_input_settings: list[~flow.models.GraphModuleNodeUIInputSetting]
:ivar tags: A set of tags. This is a dictionary.
:vartype tags: dict[str, str]
:ivar continue_run_on_step_failure:
:vartype continue_run_on_step_failure: bool
:ivar description:
:vartype description: str
:ivar properties: This is a dictionary.
:vartype properties: dict[str, str]
:ivar enforce_rerun:
:vartype enforce_rerun: bool
:ivar dataset_access_modes: Possible values include: "Default", "DatasetInDpv2", "AssetInDpv2",
"DatasetInDesignerUI", "DatasetInDpv2WithDatasetInDesignerUI", "Dataset",
"AssetInDpv2WithDatasetInDesignerUI", "DatasetAndAssetInDpv2WithDatasetInDesignerUI",
"AssetInDesignerUI", "AssetInDpv2WithAssetInDesignerUI", "Asset".
:vartype dataset_access_modes: str or ~flow.models.DatasetAccessModes
"""
_attribute_map = {
'use_pipeline_endpoint': {'key': 'usePipelineEndpoint', 'type': 'bool'},
'pipeline_name': {'key': 'pipelineName', 'type': 'str'},
'pipeline_description': {'key': 'pipelineDescription', 'type': 'str'},
'use_existing_pipeline_endpoint': {'key': 'useExistingPipelineEndpoint', 'type': 'bool'},
'pipeline_endpoint_name': {'key': 'pipelineEndpointName', 'type': 'str'},
'pipeline_endpoint_description': {'key': 'pipelineEndpointDescription', 'type': 'str'},
'set_as_default_pipeline_for_endpoint': {'key': 'setAsDefaultPipelineForEndpoint', 'type': 'bool'},
'step_tags': {'key': 'stepTags', 'type': '{str}'},
'experiment_name': {'key': 'experimentName', 'type': 'str'},
'pipeline_parameters': {'key': 'pipelineParameters', 'type': '{str}'},
'data_path_assignments': {'key': 'dataPathAssignments', 'type': '{LegacyDataPath}'},
'data_set_definition_value_assignments': {'key': 'dataSetDefinitionValueAssignments', 'type': '{DataSetDefinitionValue}'},
'asset_output_settings_assignments': {'key': 'assetOutputSettingsAssignments', 'type': '{AssetOutputSettings}'},
'enable_notification': {'key': 'enableNotification', 'type': 'bool'},
'sub_pipelines_info': {'key': 'subPipelinesInfo', 'type': 'SubPipelinesInfo'},
'display_name': {'key': 'displayName', 'type': 'str'},
'run_id': {'key': 'runId', 'type': 'str'},
'parent_run_id': {'key': 'parentRunId', 'type': 'str'},
'graph': {'key': 'graph', 'type': 'GraphDraftEntity'},
'pipeline_run_settings': {'key': 'pipelineRunSettings', 'type': '[RunSettingParameterAssignment]'},
'module_node_run_settings': {'key': 'moduleNodeRunSettings', 'type': '[GraphModuleNodeRunSetting]'},
'module_node_ui_input_settings': {'key': 'moduleNodeUIInputSettings', 'type': '[GraphModuleNodeUIInputSetting]'},
'tags': {'key': 'tags', 'type': '{str}'},
'continue_run_on_step_failure': {'key': 'continueRunOnStepFailure', 'type': 'bool'},
'description': {'key': 'description', 'type': 'str'},
'properties': {'key': 'properties', 'type': '{str}'},
'enforce_rerun': {'key': 'enforceRerun', 'type': 'bool'},
'dataset_access_modes': {'key': 'datasetAccessModes', 'type': 'str'},
}
def __init__(
self,
*,
use_pipeline_endpoint: Optional[bool] = None,
pipeline_name: Optional[str] = None,
pipeline_description: Optional[str] = None,
use_existing_pipeline_endpoint: Optional[bool] = None,
pipeline_endpoint_name: Optional[str] = None,
pipeline_endpoint_description: Optional[str] = None,
set_as_default_pipeline_for_endpoint: Optional[bool] = None,
step_tags: Optional[Dict[str, str]] = None,
experiment_name: Optional[str] = None,
pipeline_parameters: Optional[Dict[str, str]] = None,
data_path_assignments: Optional[Dict[str, "LegacyDataPath"]] = None,
data_set_definition_value_assignments: Optional[Dict[str, "DataSetDefinitionValue"]] = None,
asset_output_settings_assignments: Optional[Dict[str, "AssetOutputSettings"]] = None,
enable_notification: Optional[bool] = None,
sub_pipelines_info: Optional["SubPipelinesInfo"] = None,
display_name: Optional[str] = None,
run_id: Optional[str] = None,
parent_run_id: Optional[str] = None,
graph: Optional["GraphDraftEntity"] = None,
pipeline_run_settings: Optional[List["RunSettingParameterAssignment"]] = None,
module_node_run_settings: Optional[List["GraphModuleNodeRunSetting"]] = None,
module_node_ui_input_settings: Optional[List["GraphModuleNodeUIInputSetting"]] = None,
tags: Optional[Dict[str, str]] = None,
continue_run_on_step_failure: Optional[bool] = None,
description: Optional[str] = None,
properties: Optional[Dict[str, str]] = None,
enforce_rerun: Optional[bool] = None,
dataset_access_modes: Optional[Union[str, "DatasetAccessModes"]] = None,
**kwargs
):
"""
:keyword use_pipeline_endpoint:
:paramtype use_pipeline_endpoint: bool
:keyword pipeline_name:
:paramtype pipeline_name: str
:keyword pipeline_description:
:paramtype pipeline_description: str
:keyword use_existing_pipeline_endpoint:
:paramtype use_existing_pipeline_endpoint: bool
:keyword pipeline_endpoint_name:
:paramtype pipeline_endpoint_name: str
:keyword pipeline_endpoint_description:
:paramtype pipeline_endpoint_description: str
:keyword set_as_default_pipeline_for_endpoint:
:paramtype set_as_default_pipeline_for_endpoint: bool
:keyword step_tags: This is a dictionary.
:paramtype step_tags: dict[str, str]
:keyword experiment_name:
:paramtype experiment_name: str
:keyword pipeline_parameters: This is a dictionary.
:paramtype pipeline_parameters: dict[str, str]
:keyword data_path_assignments: This is a dictionary.
:paramtype data_path_assignments: dict[str, ~flow.models.LegacyDataPath]
:keyword data_set_definition_value_assignments: This is a dictionary.
:paramtype data_set_definition_value_assignments: dict[str,
~flow.models.DataSetDefinitionValue]
:keyword asset_output_settings_assignments: This is a dictionary.
:paramtype asset_output_settings_assignments: dict[str, ~flow.models.AssetOutputSettings]
:keyword enable_notification:
:paramtype enable_notification: bool
:keyword sub_pipelines_info:
:paramtype sub_pipelines_info: ~flow.models.SubPipelinesInfo
:keyword display_name:
:paramtype display_name: str
:keyword run_id:
:paramtype run_id: str
:keyword parent_run_id:
:paramtype parent_run_id: str
:keyword graph:
:paramtype graph: ~flow.models.GraphDraftEntity
:keyword pipeline_run_settings:
:paramtype pipeline_run_settings: list[~flow.models.RunSettingParameterAssignment]
:keyword module_node_run_settings:
:paramtype module_node_run_settings: list[~flow.models.GraphModuleNodeRunSetting]
:keyword module_node_ui_input_settings:
:paramtype module_node_ui_input_settings: list[~flow.models.GraphModuleNodeUIInputSetting]
:keyword tags: A set of tags. This is a dictionary.
:paramtype tags: dict[str, str]
:keyword continue_run_on_step_failure:
:paramtype continue_run_on_step_failure: bool
:keyword description:
:paramtype description: str
:keyword properties: This is a dictionary.
:paramtype properties: dict[str, str]
:keyword enforce_rerun:
:paramtype enforce_rerun: bool
:keyword dataset_access_modes: Possible values include: "Default", "DatasetInDpv2",
"AssetInDpv2", "DatasetInDesignerUI", "DatasetInDpv2WithDatasetInDesignerUI", "Dataset",
"AssetInDpv2WithDatasetInDesignerUI", "DatasetAndAssetInDpv2WithDatasetInDesignerUI",
"AssetInDesignerUI", "AssetInDpv2WithAssetInDesignerUI", "Asset".
:paramtype dataset_access_modes: str or ~flow.models.DatasetAccessModes
"""
super(CreatePublishedPipelineRequest, self).__init__(**kwargs)
self.use_pipeline_endpoint = use_pipeline_endpoint
self.pipeline_name = pipeline_name
self.pipeline_description = pipeline_description
self.use_existing_pipeline_endpoint = use_existing_pipeline_endpoint
self.pipeline_endpoint_name = pipeline_endpoint_name
self.pipeline_endpoint_description = pipeline_endpoint_description
self.set_as_default_pipeline_for_endpoint = set_as_default_pipeline_for_endpoint
self.step_tags = step_tags
self.experiment_name = experiment_name
self.pipeline_parameters = pipeline_parameters
self.data_path_assignments = data_path_assignments
self.data_set_definition_value_assignments = data_set_definition_value_assignments
self.asset_output_settings_assignments = asset_output_settings_assignments
self.enable_notification = enable_notification
self.sub_pipelines_info = sub_pipelines_info
self.display_name = display_name
self.run_id = run_id
self.parent_run_id = parent_run_id
self.graph = graph
self.pipeline_run_settings = pipeline_run_settings
self.module_node_run_settings = module_node_run_settings
self.module_node_ui_input_settings = module_node_ui_input_settings
self.tags = tags
self.continue_run_on_step_failure = continue_run_on_step_failure
self.description = description
self.properties = properties
self.enforce_rerun = enforce_rerun
self.dataset_access_modes = dataset_access_modes
class CreateRealTimeEndpointRequest(msrest.serialization.Model):
"""CreateRealTimeEndpointRequest.
:ivar name:
:vartype name: str
:ivar compute_info:
:vartype compute_info: ~flow.models.ComputeInfo
:ivar description:
:vartype description: str
:ivar linked_pipeline_draft_id:
:vartype linked_pipeline_draft_id: str
:ivar linked_pipeline_run_id:
:vartype linked_pipeline_run_id: str
:ivar aks_advance_settings:
:vartype aks_advance_settings: ~flow.models.AKSAdvanceSettings
:ivar aci_advance_settings:
:vartype aci_advance_settings: ~flow.models.ACIAdvanceSettings
:ivar linked_training_pipeline_run_id:
:vartype linked_training_pipeline_run_id: str
:ivar linked_experiment_name:
:vartype linked_experiment_name: str
:ivar graph_nodes_run_id_mapping: This is a dictionary.
:vartype graph_nodes_run_id_mapping: dict[str, str]
:ivar workflow:
:vartype workflow: ~flow.models.PipelineGraph
:ivar inputs:
:vartype inputs: list[~flow.models.InputOutputPortMetadata]
:ivar outputs:
:vartype outputs: list[~flow.models.InputOutputPortMetadata]
:ivar example_request:
:vartype example_request: ~flow.models.ExampleRequest
:ivar user_storage_connection_string:
:vartype user_storage_connection_string: str
:ivar user_storage_endpoint_uri:
:vartype user_storage_endpoint_uri: str
:ivar user_storage_workspace_sai_token:
:vartype user_storage_workspace_sai_token: str
:ivar user_storage_container_name:
:vartype user_storage_container_name: str
:ivar pipeline_run_id:
:vartype pipeline_run_id: str
:ivar root_pipeline_run_id:
:vartype root_pipeline_run_id: str
:ivar experiment_name:
:vartype experiment_name: str
:ivar experiment_id:
:vartype experiment_id: str
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'compute_info': {'key': 'computeInfo', 'type': 'ComputeInfo'},
'description': {'key': 'description', 'type': 'str'},
'linked_pipeline_draft_id': {'key': 'linkedPipelineDraftId', 'type': 'str'},
'linked_pipeline_run_id': {'key': 'linkedPipelineRunId', 'type': 'str'},
'aks_advance_settings': {'key': 'aksAdvanceSettings', 'type': 'AKSAdvanceSettings'},
'aci_advance_settings': {'key': 'aciAdvanceSettings', 'type': 'ACIAdvanceSettings'},
'linked_training_pipeline_run_id': {'key': 'linkedTrainingPipelineRunId', 'type': 'str'},
'linked_experiment_name': {'key': 'linkedExperimentName', 'type': 'str'},
'graph_nodes_run_id_mapping': {'key': 'graphNodesRunIdMapping', 'type': '{str}'},
'workflow': {'key': 'workflow', 'type': 'PipelineGraph'},
'inputs': {'key': 'inputs', 'type': '[InputOutputPortMetadata]'},
'outputs': {'key': 'outputs', 'type': '[InputOutputPortMetadata]'},
'example_request': {'key': 'exampleRequest', 'type': 'ExampleRequest'},
'user_storage_connection_string': {'key': 'userStorageConnectionString', 'type': 'str'},
'user_storage_endpoint_uri': {'key': 'userStorageEndpointUri', 'type': 'str'},
'user_storage_workspace_sai_token': {'key': 'userStorageWorkspaceSaiToken', 'type': 'str'},
'user_storage_container_name': {'key': 'userStorageContainerName', 'type': 'str'},
'pipeline_run_id': {'key': 'pipelineRunId', 'type': 'str'},
'root_pipeline_run_id': {'key': 'rootPipelineRunId', 'type': 'str'},
'experiment_name': {'key': 'experimentName', 'type': 'str'},
'experiment_id': {'key': 'experimentId', 'type': 'str'},
}
def __init__(
self,
*,
name: Optional[str] = None,
compute_info: Optional["ComputeInfo"] = None,
description: Optional[str] = None,
linked_pipeline_draft_id: Optional[str] = None,
linked_pipeline_run_id: Optional[str] = None,
aks_advance_settings: Optional["AKSAdvanceSettings"] = None,
aci_advance_settings: Optional["ACIAdvanceSettings"] = None,
linked_training_pipeline_run_id: Optional[str] = None,
linked_experiment_name: Optional[str] = None,
graph_nodes_run_id_mapping: Optional[Dict[str, str]] = None,
workflow: Optional["PipelineGraph"] = None,
inputs: Optional[List["InputOutputPortMetadata"]] = None,
outputs: Optional[List["InputOutputPortMetadata"]] = None,
example_request: Optional["ExampleRequest"] = None,
user_storage_connection_string: Optional[str] = None,
user_storage_endpoint_uri: Optional[str] = None,
user_storage_workspace_sai_token: Optional[str] = None,
user_storage_container_name: Optional[str] = None,
pipeline_run_id: Optional[str] = None,
root_pipeline_run_id: Optional[str] = None,
experiment_name: Optional[str] = None,
experiment_id: Optional[str] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword compute_info:
:paramtype compute_info: ~flow.models.ComputeInfo
:keyword description:
:paramtype description: str
:keyword linked_pipeline_draft_id:
:paramtype linked_pipeline_draft_id: str
:keyword linked_pipeline_run_id:
:paramtype linked_pipeline_run_id: str
:keyword aks_advance_settings:
:paramtype aks_advance_settings: ~flow.models.AKSAdvanceSettings
:keyword aci_advance_settings:
:paramtype aci_advance_settings: ~flow.models.ACIAdvanceSettings
:keyword linked_training_pipeline_run_id:
:paramtype linked_training_pipeline_run_id: str
:keyword linked_experiment_name:
:paramtype linked_experiment_name: str
:keyword graph_nodes_run_id_mapping: This is a dictionary.
:paramtype graph_nodes_run_id_mapping: dict[str, str]
:keyword workflow:
:paramtype workflow: ~flow.models.PipelineGraph
:keyword inputs:
:paramtype inputs: list[~flow.models.InputOutputPortMetadata]
:keyword outputs:
:paramtype outputs: list[~flow.models.InputOutputPortMetadata]
:keyword example_request:
:paramtype example_request: ~flow.models.ExampleRequest
:keyword user_storage_connection_string:
:paramtype user_storage_connection_string: str
:keyword user_storage_endpoint_uri:
:paramtype user_storage_endpoint_uri: str
:keyword user_storage_workspace_sai_token:
:paramtype user_storage_workspace_sai_token: str
:keyword user_storage_container_name:
:paramtype user_storage_container_name: str
:keyword pipeline_run_id:
:paramtype pipeline_run_id: str
:keyword root_pipeline_run_id:
:paramtype root_pipeline_run_id: str
:keyword experiment_name:
:paramtype experiment_name: str
:keyword experiment_id:
:paramtype experiment_id: str
"""
super(CreateRealTimeEndpointRequest, self).__init__(**kwargs)
self.name = name
self.compute_info = compute_info
self.description = description
self.linked_pipeline_draft_id = linked_pipeline_draft_id
self.linked_pipeline_run_id = linked_pipeline_run_id
self.aks_advance_settings = aks_advance_settings
self.aci_advance_settings = aci_advance_settings
self.linked_training_pipeline_run_id = linked_training_pipeline_run_id
self.linked_experiment_name = linked_experiment_name
self.graph_nodes_run_id_mapping = graph_nodes_run_id_mapping
self.workflow = workflow
self.inputs = inputs
self.outputs = outputs
self.example_request = example_request
self.user_storage_connection_string = user_storage_connection_string
self.user_storage_endpoint_uri = user_storage_endpoint_uri
self.user_storage_workspace_sai_token = user_storage_workspace_sai_token
self.user_storage_container_name = user_storage_container_name
self.pipeline_run_id = pipeline_run_id
self.root_pipeline_run_id = root_pipeline_run_id
self.experiment_name = experiment_name
self.experiment_id = experiment_id
class CreationContext(msrest.serialization.Model):
"""CreationContext.
:ivar created_time:
:vartype created_time: ~datetime.datetime
:ivar created_by:
:vartype created_by: ~flow.models.SchemaContractsCreatedBy
:ivar creation_source:
:vartype creation_source: str
"""
_attribute_map = {
'created_time': {'key': 'createdTime', 'type': 'iso-8601'},
'created_by': {'key': 'createdBy', 'type': 'SchemaContractsCreatedBy'},
'creation_source': {'key': 'creationSource', 'type': 'str'},
}
def __init__(
self,
*,
created_time: Optional[datetime.datetime] = None,
created_by: Optional["SchemaContractsCreatedBy"] = None,
creation_source: Optional[str] = None,
**kwargs
):
"""
:keyword created_time:
:paramtype created_time: ~datetime.datetime
:keyword created_by:
:paramtype created_by: ~flow.models.SchemaContractsCreatedBy
:keyword creation_source:
:paramtype creation_source: str
"""
super(CreationContext, self).__init__(**kwargs)
self.created_time = created_time
self.created_by = created_by
self.creation_source = creation_source
class Cron(msrest.serialization.Model):
"""Cron.
:ivar expression:
:vartype expression: str
:ivar end_time:
:vartype end_time: str
:ivar start_time:
:vartype start_time: str
:ivar time_zone:
:vartype time_zone: str
"""
_attribute_map = {
'expression': {'key': 'expression', 'type': 'str'},
'end_time': {'key': 'endTime', 'type': 'str'},
'start_time': {'key': 'startTime', 'type': 'str'},
'time_zone': {'key': 'timeZone', 'type': 'str'},
}
def __init__(
self,
*,
expression: Optional[str] = None,
end_time: Optional[str] = None,
start_time: Optional[str] = None,
time_zone: Optional[str] = None,
**kwargs
):
"""
:keyword expression:
:paramtype expression: str
:keyword end_time:
:paramtype end_time: str
:keyword start_time:
:paramtype start_time: str
:keyword time_zone:
:paramtype time_zone: str
"""
super(Cron, self).__init__(**kwargs)
self.expression = expression
self.end_time = end_time
self.start_time = start_time
self.time_zone = time_zone
class CustomConnectionConfig(msrest.serialization.Model):
"""CustomConnectionConfig.
:ivar config_value_type: Possible values include: "String", "Secret".
:vartype config_value_type: str or ~flow.models.ConfigValueType
:ivar value:
:vartype value: str
"""
_attribute_map = {
'config_value_type': {'key': 'configValueType', 'type': 'str'},
'value': {'key': 'value', 'type': 'str'},
}
def __init__(
self,
*,
config_value_type: Optional[Union[str, "ConfigValueType"]] = None,
value: Optional[str] = None,
**kwargs
):
"""
:keyword config_value_type: Possible values include: "String", "Secret".
:paramtype config_value_type: str or ~flow.models.ConfigValueType
:keyword value:
:paramtype value: str
"""
super(CustomConnectionConfig, self).__init__(**kwargs)
self.config_value_type = config_value_type
self.value = value
class CustomReference(msrest.serialization.Model):
"""CustomReference.
:ivar aml_data_store_name:
:vartype aml_data_store_name: str
:ivar relative_path:
:vartype relative_path: str
"""
_attribute_map = {
'aml_data_store_name': {'key': 'amlDataStoreName', 'type': 'str'},
'relative_path': {'key': 'relativePath', 'type': 'str'},
}
def __init__(
self,
*,
aml_data_store_name: Optional[str] = None,
relative_path: Optional[str] = None,
**kwargs
):
"""
:keyword aml_data_store_name:
:paramtype aml_data_store_name: str
:keyword relative_path:
:paramtype relative_path: str
"""
super(CustomReference, self).__init__(**kwargs)
self.aml_data_store_name = aml_data_store_name
self.relative_path = relative_path
class Data(msrest.serialization.Model):
"""Data.
:ivar data_location:
:vartype data_location: ~flow.models.ExecutionDataLocation
:ivar mechanism: Possible values include: "Direct", "Mount", "Download", "Hdfs".
:vartype mechanism: str or ~flow.models.DeliveryMechanism
:ivar environment_variable_name:
:vartype environment_variable_name: str
:ivar path_on_compute:
:vartype path_on_compute: str
:ivar overwrite:
:vartype overwrite: bool
:ivar options: Dictionary of :code:`<string>`.
:vartype options: dict[str, str]
"""
_attribute_map = {
'data_location': {'key': 'dataLocation', 'type': 'ExecutionDataLocation'},
'mechanism': {'key': 'mechanism', 'type': 'str'},
'environment_variable_name': {'key': 'environmentVariableName', 'type': 'str'},
'path_on_compute': {'key': 'pathOnCompute', 'type': 'str'},
'overwrite': {'key': 'overwrite', 'type': 'bool'},
'options': {'key': 'options', 'type': '{str}'},
}
def __init__(
self,
*,
data_location: Optional["ExecutionDataLocation"] = None,
mechanism: Optional[Union[str, "DeliveryMechanism"]] = None,
environment_variable_name: Optional[str] = None,
path_on_compute: Optional[str] = None,
overwrite: Optional[bool] = None,
options: Optional[Dict[str, str]] = None,
**kwargs
):
"""
:keyword data_location:
:paramtype data_location: ~flow.models.ExecutionDataLocation
:keyword mechanism: Possible values include: "Direct", "Mount", "Download", "Hdfs".
:paramtype mechanism: str or ~flow.models.DeliveryMechanism
:keyword environment_variable_name:
:paramtype environment_variable_name: str
:keyword path_on_compute:
:paramtype path_on_compute: str
:keyword overwrite:
:paramtype overwrite: bool
:keyword options: Dictionary of :code:`<string>`.
:paramtype options: dict[str, str]
"""
super(Data, self).__init__(**kwargs)
self.data_location = data_location
self.mechanism = mechanism
self.environment_variable_name = environment_variable_name
self.path_on_compute = path_on_compute
self.overwrite = overwrite
self.options = options
class DatabaseSink(msrest.serialization.Model):
"""DatabaseSink.
:ivar connection:
:vartype connection: str
:ivar table:
:vartype table: str
"""
_attribute_map = {
'connection': {'key': 'connection', 'type': 'str'},
'table': {'key': 'table', 'type': 'str'},
}
def __init__(
self,
*,
connection: Optional[str] = None,
table: Optional[str] = None,
**kwargs
):
"""
:keyword connection:
:paramtype connection: str
:keyword table:
:paramtype table: str
"""
super(DatabaseSink, self).__init__(**kwargs)
self.connection = connection
self.table = table
class DatabaseSource(msrest.serialization.Model):
"""DatabaseSource.
:ivar connection:
:vartype connection: str
:ivar query:
:vartype query: str
:ivar stored_procedure_name:
:vartype stored_procedure_name: str
:ivar stored_procedure_parameters:
:vartype stored_procedure_parameters: list[~flow.models.StoredProcedureParameter]
"""
_attribute_map = {
'connection': {'key': 'connection', 'type': 'str'},
'query': {'key': 'query', 'type': 'str'},
'stored_procedure_name': {'key': 'storedProcedureName', 'type': 'str'},
'stored_procedure_parameters': {'key': 'storedProcedureParameters', 'type': '[StoredProcedureParameter]'},
}
def __init__(
self,
*,
connection: Optional[str] = None,
query: Optional[str] = None,
stored_procedure_name: Optional[str] = None,
stored_procedure_parameters: Optional[List["StoredProcedureParameter"]] = None,
**kwargs
):
"""
:keyword connection:
:paramtype connection: str
:keyword query:
:paramtype query: str
:keyword stored_procedure_name:
:paramtype stored_procedure_name: str
:keyword stored_procedure_parameters:
:paramtype stored_procedure_parameters: list[~flow.models.StoredProcedureParameter]
"""
super(DatabaseSource, self).__init__(**kwargs)
self.connection = connection
self.query = query
self.stored_procedure_name = stored_procedure_name
self.stored_procedure_parameters = stored_procedure_parameters
class DatabricksComputeInfo(msrest.serialization.Model):
"""DatabricksComputeInfo.
:ivar existing_cluster_id:
:vartype existing_cluster_id: str
"""
_attribute_map = {
'existing_cluster_id': {'key': 'existingClusterId', 'type': 'str'},
}
def __init__(
self,
*,
existing_cluster_id: Optional[str] = None,
**kwargs
):
"""
:keyword existing_cluster_id:
:paramtype existing_cluster_id: str
"""
super(DatabricksComputeInfo, self).__init__(**kwargs)
self.existing_cluster_id = existing_cluster_id
class DatabricksConfiguration(msrest.serialization.Model):
"""DatabricksConfiguration.
:ivar workers:
:vartype workers: int
:ivar minimum_worker_count:
:vartype minimum_worker_count: int
:ivar max_mum_worker_count:
:vartype max_mum_worker_count: int
:ivar spark_version:
:vartype spark_version: str
:ivar node_type_id:
:vartype node_type_id: str
:ivar spark_conf: Dictionary of :code:`<string>`.
:vartype spark_conf: dict[str, str]
:ivar spark_env_vars: Dictionary of :code:`<string>`.
:vartype spark_env_vars: dict[str, str]
:ivar cluster_log_conf_dbfs_path:
:vartype cluster_log_conf_dbfs_path: str
:ivar dbfs_init_scripts:
:vartype dbfs_init_scripts: list[~flow.models.InitScriptInfoDto]
:ivar instance_pool_id:
:vartype instance_pool_id: str
:ivar timeout_seconds:
:vartype timeout_seconds: int
:ivar notebook_task:
:vartype notebook_task: ~flow.models.NoteBookTaskDto
:ivar spark_python_task:
:vartype spark_python_task: ~flow.models.SparkPythonTaskDto
:ivar spark_jar_task:
:vartype spark_jar_task: ~flow.models.SparkJarTaskDto
:ivar spark_submit_task:
:vartype spark_submit_task: ~flow.models.SparkSubmitTaskDto
:ivar jar_libraries:
:vartype jar_libraries: list[str]
:ivar egg_libraries:
:vartype egg_libraries: list[str]
:ivar whl_libraries:
:vartype whl_libraries: list[str]
:ivar pypi_libraries:
:vartype pypi_libraries: list[~flow.models.PythonPyPiOrRCranLibraryDto]
:ivar r_cran_libraries:
:vartype r_cran_libraries: list[~flow.models.PythonPyPiOrRCranLibraryDto]
:ivar maven_libraries:
:vartype maven_libraries: list[~flow.models.MavenLibraryDto]
:ivar libraries:
:vartype libraries: list[any]
:ivar linked_adb_workspace_metadata:
:vartype linked_adb_workspace_metadata: ~flow.models.LinkedADBWorkspaceMetadata
:ivar databrick_resource_id:
:vartype databrick_resource_id: str
:ivar auto_scale:
:vartype auto_scale: bool
"""
_attribute_map = {
'workers': {'key': 'workers', 'type': 'int'},
'minimum_worker_count': {'key': 'minimumWorkerCount', 'type': 'int'},
'max_mum_worker_count': {'key': 'maxMumWorkerCount', 'type': 'int'},
'spark_version': {'key': 'sparkVersion', 'type': 'str'},
'node_type_id': {'key': 'nodeTypeId', 'type': 'str'},
'spark_conf': {'key': 'sparkConf', 'type': '{str}'},
'spark_env_vars': {'key': 'sparkEnvVars', 'type': '{str}'},
'cluster_log_conf_dbfs_path': {'key': 'clusterLogConfDbfsPath', 'type': 'str'},
'dbfs_init_scripts': {'key': 'dbfsInitScripts', 'type': '[InitScriptInfoDto]'},
'instance_pool_id': {'key': 'instancePoolId', 'type': 'str'},
'timeout_seconds': {'key': 'timeoutSeconds', 'type': 'int'},
'notebook_task': {'key': 'notebookTask', 'type': 'NoteBookTaskDto'},
'spark_python_task': {'key': 'sparkPythonTask', 'type': 'SparkPythonTaskDto'},
'spark_jar_task': {'key': 'sparkJarTask', 'type': 'SparkJarTaskDto'},
'spark_submit_task': {'key': 'sparkSubmitTask', 'type': 'SparkSubmitTaskDto'},
'jar_libraries': {'key': 'jarLibraries', 'type': '[str]'},
'egg_libraries': {'key': 'eggLibraries', 'type': '[str]'},
'whl_libraries': {'key': 'whlLibraries', 'type': '[str]'},
'pypi_libraries': {'key': 'pypiLibraries', 'type': '[PythonPyPiOrRCranLibraryDto]'},
'r_cran_libraries': {'key': 'rCranLibraries', 'type': '[PythonPyPiOrRCranLibraryDto]'},
'maven_libraries': {'key': 'mavenLibraries', 'type': '[MavenLibraryDto]'},
'libraries': {'key': 'libraries', 'type': '[object]'},
'linked_adb_workspace_metadata': {'key': 'linkedADBWorkspaceMetadata', 'type': 'LinkedADBWorkspaceMetadata'},
'databrick_resource_id': {'key': 'databrickResourceId', 'type': 'str'},
'auto_scale': {'key': 'autoScale', 'type': 'bool'},
}
def __init__(
self,
*,
workers: Optional[int] = None,
minimum_worker_count: Optional[int] = None,
max_mum_worker_count: Optional[int] = None,
spark_version: Optional[str] = None,
node_type_id: Optional[str] = None,
spark_conf: Optional[Dict[str, str]] = None,
spark_env_vars: Optional[Dict[str, str]] = None,
cluster_log_conf_dbfs_path: Optional[str] = None,
dbfs_init_scripts: Optional[List["InitScriptInfoDto"]] = None,
instance_pool_id: Optional[str] = None,
timeout_seconds: Optional[int] = None,
notebook_task: Optional["NoteBookTaskDto"] = None,
spark_python_task: Optional["SparkPythonTaskDto"] = None,
spark_jar_task: Optional["SparkJarTaskDto"] = None,
spark_submit_task: Optional["SparkSubmitTaskDto"] = None,
jar_libraries: Optional[List[str]] = None,
egg_libraries: Optional[List[str]] = None,
whl_libraries: Optional[List[str]] = None,
pypi_libraries: Optional[List["PythonPyPiOrRCranLibraryDto"]] = None,
r_cran_libraries: Optional[List["PythonPyPiOrRCranLibraryDto"]] = None,
maven_libraries: Optional[List["MavenLibraryDto"]] = None,
libraries: Optional[List[Any]] = None,
linked_adb_workspace_metadata: Optional["LinkedADBWorkspaceMetadata"] = None,
databrick_resource_id: Optional[str] = None,
auto_scale: Optional[bool] = None,
**kwargs
):
"""
:keyword workers:
:paramtype workers: int
:keyword minimum_worker_count:
:paramtype minimum_worker_count: int
:keyword max_mum_worker_count:
:paramtype max_mum_worker_count: int
:keyword spark_version:
:paramtype spark_version: str
:keyword node_type_id:
:paramtype node_type_id: str
:keyword spark_conf: Dictionary of :code:`<string>`.
:paramtype spark_conf: dict[str, str]
:keyword spark_env_vars: Dictionary of :code:`<string>`.
:paramtype spark_env_vars: dict[str, str]
:keyword cluster_log_conf_dbfs_path:
:paramtype cluster_log_conf_dbfs_path: str
:keyword dbfs_init_scripts:
:paramtype dbfs_init_scripts: list[~flow.models.InitScriptInfoDto]
:keyword instance_pool_id:
:paramtype instance_pool_id: str
:keyword timeout_seconds:
:paramtype timeout_seconds: int
:keyword notebook_task:
:paramtype notebook_task: ~flow.models.NoteBookTaskDto
:keyword spark_python_task:
:paramtype spark_python_task: ~flow.models.SparkPythonTaskDto
:keyword spark_jar_task:
:paramtype spark_jar_task: ~flow.models.SparkJarTaskDto
:keyword spark_submit_task:
:paramtype spark_submit_task: ~flow.models.SparkSubmitTaskDto
:keyword jar_libraries:
:paramtype jar_libraries: list[str]
:keyword egg_libraries:
:paramtype egg_libraries: list[str]
:keyword whl_libraries:
:paramtype whl_libraries: list[str]
:keyword pypi_libraries:
:paramtype pypi_libraries: list[~flow.models.PythonPyPiOrRCranLibraryDto]
:keyword r_cran_libraries:
:paramtype r_cran_libraries: list[~flow.models.PythonPyPiOrRCranLibraryDto]
:keyword maven_libraries:
:paramtype maven_libraries: list[~flow.models.MavenLibraryDto]
:keyword libraries:
:paramtype libraries: list[any]
:keyword linked_adb_workspace_metadata:
:paramtype linked_adb_workspace_metadata: ~flow.models.LinkedADBWorkspaceMetadata
:keyword databrick_resource_id:
:paramtype databrick_resource_id: str
:keyword auto_scale:
:paramtype auto_scale: bool
"""
super(DatabricksConfiguration, self).__init__(**kwargs)
self.workers = workers
self.minimum_worker_count = minimum_worker_count
self.max_mum_worker_count = max_mum_worker_count
self.spark_version = spark_version
self.node_type_id = node_type_id
self.spark_conf = spark_conf
self.spark_env_vars = spark_env_vars
self.cluster_log_conf_dbfs_path = cluster_log_conf_dbfs_path
self.dbfs_init_scripts = dbfs_init_scripts
self.instance_pool_id = instance_pool_id
self.timeout_seconds = timeout_seconds
self.notebook_task = notebook_task
self.spark_python_task = spark_python_task
self.spark_jar_task = spark_jar_task
self.spark_submit_task = spark_submit_task
self.jar_libraries = jar_libraries
self.egg_libraries = egg_libraries
self.whl_libraries = whl_libraries
self.pypi_libraries = pypi_libraries
self.r_cran_libraries = r_cran_libraries
self.maven_libraries = maven_libraries
self.libraries = libraries
self.linked_adb_workspace_metadata = linked_adb_workspace_metadata
self.databrick_resource_id = databrick_resource_id
self.auto_scale = auto_scale
class DatacacheConfiguration(msrest.serialization.Model):
"""DatacacheConfiguration.
:ivar datacache_id:
:vartype datacache_id: str
:ivar datacache_store:
:vartype datacache_store: str
:ivar dataset_id:
:vartype dataset_id: str
:ivar mode: The only acceptable values to pass in are None and "Mount". The default value is
None.
:vartype mode: str
:ivar replica:
:vartype replica: int
:ivar failure_fallback:
:vartype failure_fallback: bool
:ivar path_on_compute:
:vartype path_on_compute: str
"""
_attribute_map = {
'datacache_id': {'key': 'datacacheId', 'type': 'str'},
'datacache_store': {'key': 'datacacheStore', 'type': 'str'},
'dataset_id': {'key': 'datasetId', 'type': 'str'},
'mode': {'key': 'mode', 'type': 'str'},
'replica': {'key': 'replica', 'type': 'int'},
'failure_fallback': {'key': 'failureFallback', 'type': 'bool'},
'path_on_compute': {'key': 'pathOnCompute', 'type': 'str'},
}
def __init__(
self,
*,
datacache_id: Optional[str] = None,
datacache_store: Optional[str] = None,
dataset_id: Optional[str] = None,
mode: Optional[str] = None,
replica: Optional[int] = None,
failure_fallback: Optional[bool] = None,
path_on_compute: Optional[str] = None,
**kwargs
):
"""
:keyword datacache_id:
:paramtype datacache_id: str
:keyword datacache_store:
:paramtype datacache_store: str
:keyword dataset_id:
:paramtype dataset_id: str
:keyword mode: The only acceptable values to pass in are None and "Mount". The default value
is None.
:paramtype mode: str
:keyword replica:
:paramtype replica: int
:keyword failure_fallback:
:paramtype failure_fallback: bool
:keyword path_on_compute:
:paramtype path_on_compute: str
"""
super(DatacacheConfiguration, self).__init__(**kwargs)
self.datacache_id = datacache_id
self.datacache_store = datacache_store
self.dataset_id = dataset_id
self.mode = mode
self.replica = replica
self.failure_fallback = failure_fallback
self.path_on_compute = path_on_compute
class DataInfo(msrest.serialization.Model):
"""DataInfo.
:ivar feed_name:
:vartype feed_name: str
:ivar id:
:vartype id: str
:ivar data_source_type: Possible values include: "None", "PipelineDataSource", "AmlDataset",
"GlobalDataset", "FeedModel", "FeedDataset", "AmlDataVersion", "AMLModelVersion".
:vartype data_source_type: str or ~flow.models.DataSourceType
:ivar name:
:vartype name: str
:ivar description:
:vartype description: str
:ivar data_type_id:
:vartype data_type_id: str
:ivar aml_data_store_name:
:vartype aml_data_store_name: str
:ivar relative_path:
:vartype relative_path: str
:ivar created_date:
:vartype created_date: ~datetime.datetime
:ivar modified_date:
:vartype modified_date: ~datetime.datetime
:ivar registered_by:
:vartype registered_by: str
:ivar tags: A set of tags. Dictionary of :code:`<string>`.
:vartype tags: dict[str, str]
:ivar created_by_studio:
:vartype created_by_studio: bool
:ivar data_reference_type: Possible values include: "None", "AzureBlob", "AzureDataLake",
"AzureFiles", "AzureSqlDatabase", "AzurePostgresDatabase", "AzureDataLakeGen2", "DBFS",
"AzureMySqlDatabase", "Custom", "Hdfs".
:vartype data_reference_type: str or ~flow.models.DataReferenceType
:ivar dataset_type:
:vartype dataset_type: str
:ivar saved_dataset_id:
:vartype saved_dataset_id: str
:ivar dataset_version_id:
:vartype dataset_version_id: str
:ivar is_visible:
:vartype is_visible: bool
:ivar is_registered:
:vartype is_registered: bool
:ivar properties: This is a dictionary.
:vartype properties: dict[str, any]
:ivar connection_string:
:vartype connection_string: str
:ivar container_name:
:vartype container_name: str
:ivar data_storage_endpoint_uri:
:vartype data_storage_endpoint_uri: str
:ivar workspace_sai_token:
:vartype workspace_sai_token: str
:ivar aml_dataset_data_flow:
:vartype aml_dataset_data_flow: str
:ivar system_data:
:vartype system_data: ~flow.models.SystemData
:ivar arm_id:
:vartype arm_id: str
:ivar asset_id:
:vartype asset_id: str
:ivar asset_uri:
:vartype asset_uri: str
:ivar asset_type:
:vartype asset_type: str
:ivar is_data_v2:
:vartype is_data_v2: bool
:ivar asset_scope_type: Possible values include: "Workspace", "Global", "All", "Feed".
:vartype asset_scope_type: str or ~flow.models.AssetScopeTypes
:ivar pipeline_run_id:
:vartype pipeline_run_id: str
:ivar module_node_id:
:vartype module_node_id: str
:ivar output_port_name:
:vartype output_port_name: str
"""
_attribute_map = {
'feed_name': {'key': 'feedName', 'type': 'str'},
'id': {'key': 'id', 'type': 'str'},
'data_source_type': {'key': 'dataSourceType', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'data_type_id': {'key': 'dataTypeId', 'type': 'str'},
'aml_data_store_name': {'key': 'amlDataStoreName', 'type': 'str'},
'relative_path': {'key': 'relativePath', 'type': 'str'},
'created_date': {'key': 'createdDate', 'type': 'iso-8601'},
'modified_date': {'key': 'modifiedDate', 'type': 'iso-8601'},
'registered_by': {'key': 'registeredBy', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'created_by_studio': {'key': 'createdByStudio', 'type': 'bool'},
'data_reference_type': {'key': 'dataReferenceType', 'type': 'str'},
'dataset_type': {'key': 'datasetType', 'type': 'str'},
'saved_dataset_id': {'key': 'savedDatasetId', 'type': 'str'},
'dataset_version_id': {'key': 'datasetVersionId', 'type': 'str'},
'is_visible': {'key': 'isVisible', 'type': 'bool'},
'is_registered': {'key': 'isRegistered', 'type': 'bool'},
'properties': {'key': 'properties', 'type': '{object}'},
'connection_string': {'key': 'connectionString', 'type': 'str'},
'container_name': {'key': 'containerName', 'type': 'str'},
'data_storage_endpoint_uri': {'key': 'dataStorageEndpointUri', 'type': 'str'},
'workspace_sai_token': {'key': 'workspaceSaiToken', 'type': 'str'},
'aml_dataset_data_flow': {'key': 'amlDatasetDataFlow', 'type': 'str'},
'system_data': {'key': 'systemData', 'type': 'SystemData'},
'arm_id': {'key': 'armId', 'type': 'str'},
'asset_id': {'key': 'assetId', 'type': 'str'},
'asset_uri': {'key': 'assetUri', 'type': 'str'},
'asset_type': {'key': 'assetType', 'type': 'str'},
'is_data_v2': {'key': 'isDataV2', 'type': 'bool'},
'asset_scope_type': {'key': 'assetScopeType', 'type': 'str'},
'pipeline_run_id': {'key': 'pipelineRunId', 'type': 'str'},
'module_node_id': {'key': 'moduleNodeId', 'type': 'str'},
'output_port_name': {'key': 'outputPortName', 'type': 'str'},
}
def __init__(
self,
*,
feed_name: Optional[str] = None,
id: Optional[str] = None,
data_source_type: Optional[Union[str, "DataSourceType"]] = None,
name: Optional[str] = None,
description: Optional[str] = None,
data_type_id: Optional[str] = None,
aml_data_store_name: Optional[str] = None,
relative_path: Optional[str] = None,
created_date: Optional[datetime.datetime] = None,
modified_date: Optional[datetime.datetime] = None,
registered_by: Optional[str] = None,
tags: Optional[Dict[str, str]] = None,
created_by_studio: Optional[bool] = None,
data_reference_type: Optional[Union[str, "DataReferenceType"]] = None,
dataset_type: Optional[str] = None,
saved_dataset_id: Optional[str] = None,
dataset_version_id: Optional[str] = None,
is_visible: Optional[bool] = None,
is_registered: Optional[bool] = None,
properties: Optional[Dict[str, Any]] = None,
connection_string: Optional[str] = None,
container_name: Optional[str] = None,
data_storage_endpoint_uri: Optional[str] = None,
workspace_sai_token: Optional[str] = None,
aml_dataset_data_flow: Optional[str] = None,
system_data: Optional["SystemData"] = None,
arm_id: Optional[str] = None,
asset_id: Optional[str] = None,
asset_uri: Optional[str] = None,
asset_type: Optional[str] = None,
is_data_v2: Optional[bool] = None,
asset_scope_type: Optional[Union[str, "AssetScopeTypes"]] = None,
pipeline_run_id: Optional[str] = None,
module_node_id: Optional[str] = None,
output_port_name: Optional[str] = None,
**kwargs
):
"""
:keyword feed_name:
:paramtype feed_name: str
:keyword id:
:paramtype id: str
:keyword data_source_type: Possible values include: "None", "PipelineDataSource", "AmlDataset",
"GlobalDataset", "FeedModel", "FeedDataset", "AmlDataVersion", "AMLModelVersion".
:paramtype data_source_type: str or ~flow.models.DataSourceType
:keyword name:
:paramtype name: str
:keyword description:
:paramtype description: str
:keyword data_type_id:
:paramtype data_type_id: str
:keyword aml_data_store_name:
:paramtype aml_data_store_name: str
:keyword relative_path:
:paramtype relative_path: str
:keyword created_date:
:paramtype created_date: ~datetime.datetime
:keyword modified_date:
:paramtype modified_date: ~datetime.datetime
:keyword registered_by:
:paramtype registered_by: str
:keyword tags: A set of tags. Dictionary of :code:`<string>`.
:paramtype tags: dict[str, str]
:keyword created_by_studio:
:paramtype created_by_studio: bool
:keyword data_reference_type: Possible values include: "None", "AzureBlob", "AzureDataLake",
"AzureFiles", "AzureSqlDatabase", "AzurePostgresDatabase", "AzureDataLakeGen2", "DBFS",
"AzureMySqlDatabase", "Custom", "Hdfs".
:paramtype data_reference_type: str or ~flow.models.DataReferenceType
:keyword dataset_type:
:paramtype dataset_type: str
:keyword saved_dataset_id:
:paramtype saved_dataset_id: str
:keyword dataset_version_id:
:paramtype dataset_version_id: str
:keyword is_visible:
:paramtype is_visible: bool
:keyword is_registered:
:paramtype is_registered: bool
:keyword properties: This is a dictionary.
:paramtype properties: dict[str, any]
:keyword connection_string:
:paramtype connection_string: str
:keyword container_name:
:paramtype container_name: str
:keyword data_storage_endpoint_uri:
:paramtype data_storage_endpoint_uri: str
:keyword workspace_sai_token:
:paramtype workspace_sai_token: str
:keyword aml_dataset_data_flow:
:paramtype aml_dataset_data_flow: str
:keyword system_data:
:paramtype system_data: ~flow.models.SystemData
:keyword arm_id:
:paramtype arm_id: str
:keyword asset_id:
:paramtype asset_id: str
:keyword asset_uri:
:paramtype asset_uri: str
:keyword asset_type:
:paramtype asset_type: str
:keyword is_data_v2:
:paramtype is_data_v2: bool
:keyword asset_scope_type: Possible values include: "Workspace", "Global", "All", "Feed".
:paramtype asset_scope_type: str or ~flow.models.AssetScopeTypes
:keyword pipeline_run_id:
:paramtype pipeline_run_id: str
:keyword module_node_id:
:paramtype module_node_id: str
:keyword output_port_name:
:paramtype output_port_name: str
"""
super(DataInfo, self).__init__(**kwargs)
self.feed_name = feed_name
self.id = id
self.data_source_type = data_source_type
self.name = name
self.description = description
self.data_type_id = data_type_id
self.aml_data_store_name = aml_data_store_name
self.relative_path = relative_path
self.created_date = created_date
self.modified_date = modified_date
self.registered_by = registered_by
self.tags = tags
self.created_by_studio = created_by_studio
self.data_reference_type = data_reference_type
self.dataset_type = dataset_type
self.saved_dataset_id = saved_dataset_id
self.dataset_version_id = dataset_version_id
self.is_visible = is_visible
self.is_registered = is_registered
self.properties = properties
self.connection_string = connection_string
self.container_name = container_name
self.data_storage_endpoint_uri = data_storage_endpoint_uri
self.workspace_sai_token = workspace_sai_token
self.aml_dataset_data_flow = aml_dataset_data_flow
self.system_data = system_data
self.arm_id = arm_id
self.asset_id = asset_id
self.asset_uri = asset_uri
self.asset_type = asset_type
self.is_data_v2 = is_data_v2
self.asset_scope_type = asset_scope_type
self.pipeline_run_id = pipeline_run_id
self.module_node_id = module_node_id
self.output_port_name = output_port_name
class DataLocation(msrest.serialization.Model):
"""DataLocation.
:ivar storage_type: Possible values include: "None", "AzureBlob", "Artifact", "Snapshot",
"SavedAmlDataset", "Asset".
:vartype storage_type: str or ~flow.models.DataLocationStorageType
:ivar storage_id:
:vartype storage_id: str
:ivar uri:
:vartype uri: str
:ivar data_store_name:
:vartype data_store_name: str
:ivar data_reference:
:vartype data_reference: ~flow.models.DataReference
:ivar aml_dataset:
:vartype aml_dataset: ~flow.models.AmlDataset
:ivar asset_definition:
:vartype asset_definition: ~flow.models.AssetDefinition
"""
_attribute_map = {
'storage_type': {'key': 'storageType', 'type': 'str'},
'storage_id': {'key': 'storageId', 'type': 'str'},
'uri': {'key': 'uri', 'type': 'str'},
'data_store_name': {'key': 'dataStoreName', 'type': 'str'},
'data_reference': {'key': 'dataReference', 'type': 'DataReference'},
'aml_dataset': {'key': 'amlDataset', 'type': 'AmlDataset'},
'asset_definition': {'key': 'assetDefinition', 'type': 'AssetDefinition'},
}
def __init__(
self,
*,
storage_type: Optional[Union[str, "DataLocationStorageType"]] = None,
storage_id: Optional[str] = None,
uri: Optional[str] = None,
data_store_name: Optional[str] = None,
data_reference: Optional["DataReference"] = None,
aml_dataset: Optional["AmlDataset"] = None,
asset_definition: Optional["AssetDefinition"] = None,
**kwargs
):
"""
:keyword storage_type: Possible values include: "None", "AzureBlob", "Artifact", "Snapshot",
"SavedAmlDataset", "Asset".
:paramtype storage_type: str or ~flow.models.DataLocationStorageType
:keyword storage_id:
:paramtype storage_id: str
:keyword uri:
:paramtype uri: str
:keyword data_store_name:
:paramtype data_store_name: str
:keyword data_reference:
:paramtype data_reference: ~flow.models.DataReference
:keyword aml_dataset:
:paramtype aml_dataset: ~flow.models.AmlDataset
:keyword asset_definition:
:paramtype asset_definition: ~flow.models.AssetDefinition
"""
super(DataLocation, self).__init__(**kwargs)
self.storage_type = storage_type
self.storage_id = storage_id
self.uri = uri
self.data_store_name = data_store_name
self.data_reference = data_reference
self.aml_dataset = aml_dataset
self.asset_definition = asset_definition
class DataPath(msrest.serialization.Model):
"""DataPath.
:ivar data_store_name:
:vartype data_store_name: str
:ivar relative_path:
:vartype relative_path: str
:ivar sql_data_path:
:vartype sql_data_path: ~flow.models.SqlDataPath
"""
_attribute_map = {
'data_store_name': {'key': 'dataStoreName', 'type': 'str'},
'relative_path': {'key': 'relativePath', 'type': 'str'},
'sql_data_path': {'key': 'sqlDataPath', 'type': 'SqlDataPath'},
}
def __init__(
self,
*,
data_store_name: Optional[str] = None,
relative_path: Optional[str] = None,
sql_data_path: Optional["SqlDataPath"] = None,
**kwargs
):
"""
:keyword data_store_name:
:paramtype data_store_name: str
:keyword relative_path:
:paramtype relative_path: str
:keyword sql_data_path:
:paramtype sql_data_path: ~flow.models.SqlDataPath
"""
super(DataPath, self).__init__(**kwargs)
self.data_store_name = data_store_name
self.relative_path = relative_path
self.sql_data_path = sql_data_path
class DataPathParameter(msrest.serialization.Model):
"""DataPathParameter.
:ivar name:
:vartype name: str
:ivar documentation:
:vartype documentation: str
:ivar default_value:
:vartype default_value: ~flow.models.LegacyDataPath
:ivar is_optional:
:vartype is_optional: bool
:ivar data_type_id:
:vartype data_type_id: str
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'documentation': {'key': 'documentation', 'type': 'str'},
'default_value': {'key': 'defaultValue', 'type': 'LegacyDataPath'},
'is_optional': {'key': 'isOptional', 'type': 'bool'},
'data_type_id': {'key': 'dataTypeId', 'type': 'str'},
}
def __init__(
self,
*,
name: Optional[str] = None,
documentation: Optional[str] = None,
default_value: Optional["LegacyDataPath"] = None,
is_optional: Optional[bool] = None,
data_type_id: Optional[str] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword documentation:
:paramtype documentation: str
:keyword default_value:
:paramtype default_value: ~flow.models.LegacyDataPath
:keyword is_optional:
:paramtype is_optional: bool
:keyword data_type_id:
:paramtype data_type_id: str
"""
super(DataPathParameter, self).__init__(**kwargs)
self.name = name
self.documentation = documentation
self.default_value = default_value
self.is_optional = is_optional
self.data_type_id = data_type_id
class DataPortDto(msrest.serialization.Model):
"""DataPortDto.
:ivar data_port_type: Possible values include: "Input", "Output".
:vartype data_port_type: str or ~flow.models.DataPortType
:ivar data_port_name:
:vartype data_port_name: str
:ivar data_store_name:
:vartype data_store_name: str
:ivar data_store_intellectual_property_access_mode: Possible values include: "ReadOnly",
"ReadWrite".
:vartype data_store_intellectual_property_access_mode: str or
~flow.models.IntellectualPropertyAccessMode
:ivar data_store_intellectual_property_publisher:
:vartype data_store_intellectual_property_publisher: str
"""
_attribute_map = {
'data_port_type': {'key': 'dataPortType', 'type': 'str'},
'data_port_name': {'key': 'dataPortName', 'type': 'str'},
'data_store_name': {'key': 'dataStoreName', 'type': 'str'},
'data_store_intellectual_property_access_mode': {'key': 'dataStoreIntellectualPropertyAccessMode', 'type': 'str'},
'data_store_intellectual_property_publisher': {'key': 'dataStoreIntellectualPropertyPublisher', 'type': 'str'},
}
def __init__(
self,
*,
data_port_type: Optional[Union[str, "DataPortType"]] = None,
data_port_name: Optional[str] = None,
data_store_name: Optional[str] = None,
data_store_intellectual_property_access_mode: Optional[Union[str, "IntellectualPropertyAccessMode"]] = None,
data_store_intellectual_property_publisher: Optional[str] = None,
**kwargs
):
"""
:keyword data_port_type: Possible values include: "Input", "Output".
:paramtype data_port_type: str or ~flow.models.DataPortType
:keyword data_port_name:
:paramtype data_port_name: str
:keyword data_store_name:
:paramtype data_store_name: str
:keyword data_store_intellectual_property_access_mode: Possible values include: "ReadOnly",
"ReadWrite".
:paramtype data_store_intellectual_property_access_mode: str or
~flow.models.IntellectualPropertyAccessMode
:keyword data_store_intellectual_property_publisher:
:paramtype data_store_intellectual_property_publisher: str
"""
super(DataPortDto, self).__init__(**kwargs)
self.data_port_type = data_port_type
self.data_port_name = data_port_name
self.data_store_name = data_store_name
self.data_store_intellectual_property_access_mode = data_store_intellectual_property_access_mode
self.data_store_intellectual_property_publisher = data_store_intellectual_property_publisher
class DataReference(msrest.serialization.Model):
"""DataReference.
:ivar type: Possible values include: "None", "AzureBlob", "AzureDataLake", "AzureFiles",
"AzureSqlDatabase", "AzurePostgresDatabase", "AzureDataLakeGen2", "DBFS", "AzureMySqlDatabase",
"Custom", "Hdfs".
:vartype type: str or ~flow.models.DataReferenceType
:ivar azure_blob_reference:
:vartype azure_blob_reference: ~flow.models.AzureBlobReference
:ivar azure_data_lake_reference:
:vartype azure_data_lake_reference: ~flow.models.AzureDataLakeReference
:ivar azure_files_reference:
:vartype azure_files_reference: ~flow.models.AzureFilesReference
:ivar azure_sql_database_reference:
:vartype azure_sql_database_reference: ~flow.models.AzureDatabaseReference
:ivar azure_postgres_database_reference:
:vartype azure_postgres_database_reference: ~flow.models.AzureDatabaseReference
:ivar azure_data_lake_gen2_reference:
:vartype azure_data_lake_gen2_reference: ~flow.models.AzureDataLakeGen2Reference
:ivar dbfs_reference:
:vartype dbfs_reference: ~flow.models.DBFSReference
:ivar azure_my_sql_database_reference:
:vartype azure_my_sql_database_reference: ~flow.models.AzureDatabaseReference
:ivar custom_reference:
:vartype custom_reference: ~flow.models.CustomReference
:ivar hdfs_reference:
:vartype hdfs_reference: ~flow.models.HdfsReference
"""
_attribute_map = {
'type': {'key': 'type', 'type': 'str'},
'azure_blob_reference': {'key': 'azureBlobReference', 'type': 'AzureBlobReference'},
'azure_data_lake_reference': {'key': 'azureDataLakeReference', 'type': 'AzureDataLakeReference'},
'azure_files_reference': {'key': 'azureFilesReference', 'type': 'AzureFilesReference'},
'azure_sql_database_reference': {'key': 'azureSqlDatabaseReference', 'type': 'AzureDatabaseReference'},
'azure_postgres_database_reference': {'key': 'azurePostgresDatabaseReference', 'type': 'AzureDatabaseReference'},
'azure_data_lake_gen2_reference': {'key': 'azureDataLakeGen2Reference', 'type': 'AzureDataLakeGen2Reference'},
'dbfs_reference': {'key': 'dbfsReference', 'type': 'DBFSReference'},
'azure_my_sql_database_reference': {'key': 'azureMySqlDatabaseReference', 'type': 'AzureDatabaseReference'},
'custom_reference': {'key': 'customReference', 'type': 'CustomReference'},
'hdfs_reference': {'key': 'hdfsReference', 'type': 'HdfsReference'},
}
def __init__(
self,
*,
type: Optional[Union[str, "DataReferenceType"]] = None,
azure_blob_reference: Optional["AzureBlobReference"] = None,
azure_data_lake_reference: Optional["AzureDataLakeReference"] = None,
azure_files_reference: Optional["AzureFilesReference"] = None,
azure_sql_database_reference: Optional["AzureDatabaseReference"] = None,
azure_postgres_database_reference: Optional["AzureDatabaseReference"] = None,
azure_data_lake_gen2_reference: Optional["AzureDataLakeGen2Reference"] = None,
dbfs_reference: Optional["DBFSReference"] = None,
azure_my_sql_database_reference: Optional["AzureDatabaseReference"] = None,
custom_reference: Optional["CustomReference"] = None,
hdfs_reference: Optional["HdfsReference"] = None,
**kwargs
):
"""
:keyword type: Possible values include: "None", "AzureBlob", "AzureDataLake", "AzureFiles",
"AzureSqlDatabase", "AzurePostgresDatabase", "AzureDataLakeGen2", "DBFS", "AzureMySqlDatabase",
"Custom", "Hdfs".
:paramtype type: str or ~flow.models.DataReferenceType
:keyword azure_blob_reference:
:paramtype azure_blob_reference: ~flow.models.AzureBlobReference
:keyword azure_data_lake_reference:
:paramtype azure_data_lake_reference: ~flow.models.AzureDataLakeReference
:keyword azure_files_reference:
:paramtype azure_files_reference: ~flow.models.AzureFilesReference
:keyword azure_sql_database_reference:
:paramtype azure_sql_database_reference: ~flow.models.AzureDatabaseReference
:keyword azure_postgres_database_reference:
:paramtype azure_postgres_database_reference: ~flow.models.AzureDatabaseReference
:keyword azure_data_lake_gen2_reference:
:paramtype azure_data_lake_gen2_reference: ~flow.models.AzureDataLakeGen2Reference
:keyword dbfs_reference:
:paramtype dbfs_reference: ~flow.models.DBFSReference
:keyword azure_my_sql_database_reference:
:paramtype azure_my_sql_database_reference: ~flow.models.AzureDatabaseReference
:keyword custom_reference:
:paramtype custom_reference: ~flow.models.CustomReference
:keyword hdfs_reference:
:paramtype hdfs_reference: ~flow.models.HdfsReference
"""
super(DataReference, self).__init__(**kwargs)
self.type = type
self.azure_blob_reference = azure_blob_reference
self.azure_data_lake_reference = azure_data_lake_reference
self.azure_files_reference = azure_files_reference
self.azure_sql_database_reference = azure_sql_database_reference
self.azure_postgres_database_reference = azure_postgres_database_reference
self.azure_data_lake_gen2_reference = azure_data_lake_gen2_reference
self.dbfs_reference = dbfs_reference
self.azure_my_sql_database_reference = azure_my_sql_database_reference
self.custom_reference = custom_reference
self.hdfs_reference = hdfs_reference
class DataReferenceConfiguration(msrest.serialization.Model):
"""DataReferenceConfiguration.
:ivar data_store_name:
:vartype data_store_name: str
:ivar mode: Possible values include: "Mount", "Download", "Upload".
:vartype mode: str or ~flow.models.DataStoreMode
:ivar path_on_data_store:
:vartype path_on_data_store: str
:ivar path_on_compute:
:vartype path_on_compute: str
:ivar overwrite:
:vartype overwrite: bool
"""
_attribute_map = {
'data_store_name': {'key': 'dataStoreName', 'type': 'str'},
'mode': {'key': 'mode', 'type': 'str'},
'path_on_data_store': {'key': 'pathOnDataStore', 'type': 'str'},
'path_on_compute': {'key': 'pathOnCompute', 'type': 'str'},
'overwrite': {'key': 'overwrite', 'type': 'bool'},
}
def __init__(
self,
*,
data_store_name: Optional[str] = None,
mode: Optional[Union[str, "DataStoreMode"]] = None,
path_on_data_store: Optional[str] = None,
path_on_compute: Optional[str] = None,
overwrite: Optional[bool] = None,
**kwargs
):
"""
:keyword data_store_name:
:paramtype data_store_name: str
:keyword mode: Possible values include: "Mount", "Download", "Upload".
:paramtype mode: str or ~flow.models.DataStoreMode
:keyword path_on_data_store:
:paramtype path_on_data_store: str
:keyword path_on_compute:
:paramtype path_on_compute: str
:keyword overwrite:
:paramtype overwrite: bool
"""
super(DataReferenceConfiguration, self).__init__(**kwargs)
self.data_store_name = data_store_name
self.mode = mode
self.path_on_data_store = path_on_data_store
self.path_on_compute = path_on_compute
self.overwrite = overwrite
class DataSetDefinition(msrest.serialization.Model):
"""DataSetDefinition.
:ivar data_type_short_name:
:vartype data_type_short_name: str
:ivar parameter_name:
:vartype parameter_name: str
:ivar value:
:vartype value: ~flow.models.DataSetDefinitionValue
"""
_attribute_map = {
'data_type_short_name': {'key': 'dataTypeShortName', 'type': 'str'},
'parameter_name': {'key': 'parameterName', 'type': 'str'},
'value': {'key': 'value', 'type': 'DataSetDefinitionValue'},
}
def __init__(
self,
*,
data_type_short_name: Optional[str] = None,
parameter_name: Optional[str] = None,
value: Optional["DataSetDefinitionValue"] = None,
**kwargs
):
"""
:keyword data_type_short_name:
:paramtype data_type_short_name: str
:keyword parameter_name:
:paramtype parameter_name: str
:keyword value:
:paramtype value: ~flow.models.DataSetDefinitionValue
"""
super(DataSetDefinition, self).__init__(**kwargs)
self.data_type_short_name = data_type_short_name
self.parameter_name = parameter_name
self.value = value
class DataSetDefinitionValue(msrest.serialization.Model):
"""DataSetDefinitionValue.
:ivar literal_value:
:vartype literal_value: ~flow.models.DataPath
:ivar data_set_reference:
:vartype data_set_reference: ~flow.models.RegisteredDataSetReference
:ivar saved_data_set_reference:
:vartype saved_data_set_reference: ~flow.models.SavedDataSetReference
:ivar asset_definition:
:vartype asset_definition: ~flow.models.AssetDefinition
"""
_attribute_map = {
'literal_value': {'key': 'literalValue', 'type': 'DataPath'},
'data_set_reference': {'key': 'dataSetReference', 'type': 'RegisteredDataSetReference'},
'saved_data_set_reference': {'key': 'savedDataSetReference', 'type': 'SavedDataSetReference'},
'asset_definition': {'key': 'assetDefinition', 'type': 'AssetDefinition'},
}
def __init__(
self,
*,
literal_value: Optional["DataPath"] = None,
data_set_reference: Optional["RegisteredDataSetReference"] = None,
saved_data_set_reference: Optional["SavedDataSetReference"] = None,
asset_definition: Optional["AssetDefinition"] = None,
**kwargs
):
"""
:keyword literal_value:
:paramtype literal_value: ~flow.models.DataPath
:keyword data_set_reference:
:paramtype data_set_reference: ~flow.models.RegisteredDataSetReference
:keyword saved_data_set_reference:
:paramtype saved_data_set_reference: ~flow.models.SavedDataSetReference
:keyword asset_definition:
:paramtype asset_definition: ~flow.models.AssetDefinition
"""
super(DataSetDefinitionValue, self).__init__(**kwargs)
self.literal_value = literal_value
self.data_set_reference = data_set_reference
self.saved_data_set_reference = saved_data_set_reference
self.asset_definition = asset_definition
class DatasetIdentifier(msrest.serialization.Model):
"""DatasetIdentifier.
:ivar saved_id:
:vartype saved_id: str
:ivar registered_id:
:vartype registered_id: str
:ivar registered_version:
:vartype registered_version: str
"""
_attribute_map = {
'saved_id': {'key': 'savedId', 'type': 'str'},
'registered_id': {'key': 'registeredId', 'type': 'str'},
'registered_version': {'key': 'registeredVersion', 'type': 'str'},
}
def __init__(
self,
*,
saved_id: Optional[str] = None,
registered_id: Optional[str] = None,
registered_version: Optional[str] = None,
**kwargs
):
"""
:keyword saved_id:
:paramtype saved_id: str
:keyword registered_id:
:paramtype registered_id: str
:keyword registered_version:
:paramtype registered_version: str
"""
super(DatasetIdentifier, self).__init__(**kwargs)
self.saved_id = saved_id
self.registered_id = registered_id
self.registered_version = registered_version
class DatasetInputDetails(msrest.serialization.Model):
"""DatasetInputDetails.
:ivar input_name:
:vartype input_name: str
:ivar mechanism: Possible values include: "Direct", "Mount", "Download", "Hdfs".
:vartype mechanism: str or ~flow.models.DatasetDeliveryMechanism
:ivar path_on_compute:
:vartype path_on_compute: str
"""
_attribute_map = {
'input_name': {'key': 'inputName', 'type': 'str'},
'mechanism': {'key': 'mechanism', 'type': 'str'},
'path_on_compute': {'key': 'pathOnCompute', 'type': 'str'},
}
def __init__(
self,
*,
input_name: Optional[str] = None,
mechanism: Optional[Union[str, "DatasetDeliveryMechanism"]] = None,
path_on_compute: Optional[str] = None,
**kwargs
):
"""
:keyword input_name:
:paramtype input_name: str
:keyword mechanism: Possible values include: "Direct", "Mount", "Download", "Hdfs".
:paramtype mechanism: str or ~flow.models.DatasetDeliveryMechanism
:keyword path_on_compute:
:paramtype path_on_compute: str
"""
super(DatasetInputDetails, self).__init__(**kwargs)
self.input_name = input_name
self.mechanism = mechanism
self.path_on_compute = path_on_compute
class DatasetLineage(msrest.serialization.Model):
"""DatasetLineage.
:ivar identifier:
:vartype identifier: ~flow.models.DatasetIdentifier
:ivar consumption_type: Possible values include: "RunInput", "Reference".
:vartype consumption_type: str or ~flow.models.DatasetConsumptionType
:ivar input_details:
:vartype input_details: ~flow.models.DatasetInputDetails
"""
_attribute_map = {
'identifier': {'key': 'identifier', 'type': 'DatasetIdentifier'},
'consumption_type': {'key': 'consumptionType', 'type': 'str'},
'input_details': {'key': 'inputDetails', 'type': 'DatasetInputDetails'},
}
def __init__(
self,
*,
identifier: Optional["DatasetIdentifier"] = None,
consumption_type: Optional[Union[str, "DatasetConsumptionType"]] = None,
input_details: Optional["DatasetInputDetails"] = None,
**kwargs
):
"""
:keyword identifier:
:paramtype identifier: ~flow.models.DatasetIdentifier
:keyword consumption_type: Possible values include: "RunInput", "Reference".
:paramtype consumption_type: str or ~flow.models.DatasetConsumptionType
:keyword input_details:
:paramtype input_details: ~flow.models.DatasetInputDetails
"""
super(DatasetLineage, self).__init__(**kwargs)
self.identifier = identifier
self.consumption_type = consumption_type
self.input_details = input_details
class DatasetOutput(msrest.serialization.Model):
"""DatasetOutput.
:ivar dataset_type: Possible values include: "File", "Tabular".
:vartype dataset_type: str or ~flow.models.DatasetType
:ivar dataset_registration:
:vartype dataset_registration: ~flow.models.DatasetRegistration
:ivar dataset_output_options:
:vartype dataset_output_options: ~flow.models.DatasetOutputOptions
"""
_attribute_map = {
'dataset_type': {'key': 'datasetType', 'type': 'str'},
'dataset_registration': {'key': 'datasetRegistration', 'type': 'DatasetRegistration'},
'dataset_output_options': {'key': 'datasetOutputOptions', 'type': 'DatasetOutputOptions'},
}
def __init__(
self,
*,
dataset_type: Optional[Union[str, "DatasetType"]] = None,
dataset_registration: Optional["DatasetRegistration"] = None,
dataset_output_options: Optional["DatasetOutputOptions"] = None,
**kwargs
):
"""
:keyword dataset_type: Possible values include: "File", "Tabular".
:paramtype dataset_type: str or ~flow.models.DatasetType
:keyword dataset_registration:
:paramtype dataset_registration: ~flow.models.DatasetRegistration
:keyword dataset_output_options:
:paramtype dataset_output_options: ~flow.models.DatasetOutputOptions
"""
super(DatasetOutput, self).__init__(**kwargs)
self.dataset_type = dataset_type
self.dataset_registration = dataset_registration
self.dataset_output_options = dataset_output_options
class DatasetOutputDetails(msrest.serialization.Model):
"""DatasetOutputDetails.
:ivar output_name:
:vartype output_name: str
"""
_attribute_map = {
'output_name': {'key': 'outputName', 'type': 'str'},
}
def __init__(
self,
*,
output_name: Optional[str] = None,
**kwargs
):
"""
:keyword output_name:
:paramtype output_name: str
"""
super(DatasetOutputDetails, self).__init__(**kwargs)
self.output_name = output_name
class DatasetOutputOptions(msrest.serialization.Model):
"""DatasetOutputOptions.
:ivar source_globs:
:vartype source_globs: ~flow.models.GlobsOptions
:ivar path_on_datastore:
:vartype path_on_datastore: str
:ivar path_on_datastore_parameter_assignment:
:vartype path_on_datastore_parameter_assignment: ~flow.models.ParameterAssignment
"""
_attribute_map = {
'source_globs': {'key': 'sourceGlobs', 'type': 'GlobsOptions'},
'path_on_datastore': {'key': 'pathOnDatastore', 'type': 'str'},
'path_on_datastore_parameter_assignment': {'key': 'PathOnDatastoreParameterAssignment', 'type': 'ParameterAssignment'},
}
def __init__(
self,
*,
source_globs: Optional["GlobsOptions"] = None,
path_on_datastore: Optional[str] = None,
path_on_datastore_parameter_assignment: Optional["ParameterAssignment"] = None,
**kwargs
):
"""
:keyword source_globs:
:paramtype source_globs: ~flow.models.GlobsOptions
:keyword path_on_datastore:
:paramtype path_on_datastore: str
:keyword path_on_datastore_parameter_assignment:
:paramtype path_on_datastore_parameter_assignment: ~flow.models.ParameterAssignment
"""
super(DatasetOutputOptions, self).__init__(**kwargs)
self.source_globs = source_globs
self.path_on_datastore = path_on_datastore
self.path_on_datastore_parameter_assignment = path_on_datastore_parameter_assignment
class DataSetPathParameter(msrest.serialization.Model):
"""DataSetPathParameter.
:ivar name:
:vartype name: str
:ivar documentation:
:vartype documentation: str
:ivar default_value:
:vartype default_value: ~flow.models.DataSetDefinitionValue
:ivar is_optional:
:vartype is_optional: bool
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'documentation': {'key': 'documentation', 'type': 'str'},
'default_value': {'key': 'defaultValue', 'type': 'DataSetDefinitionValue'},
'is_optional': {'key': 'isOptional', 'type': 'bool'},
}
def __init__(
self,
*,
name: Optional[str] = None,
documentation: Optional[str] = None,
default_value: Optional["DataSetDefinitionValue"] = None,
is_optional: Optional[bool] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword documentation:
:paramtype documentation: str
:keyword default_value:
:paramtype default_value: ~flow.models.DataSetDefinitionValue
:keyword is_optional:
:paramtype is_optional: bool
"""
super(DataSetPathParameter, self).__init__(**kwargs)
self.name = name
self.documentation = documentation
self.default_value = default_value
self.is_optional = is_optional
class DatasetRegistration(msrest.serialization.Model):
"""DatasetRegistration.
:ivar name:
:vartype name: str
:ivar create_new_version:
:vartype create_new_version: bool
:ivar description:
:vartype description: str
:ivar tags: A set of tags. Dictionary of :code:`<string>`.
:vartype tags: dict[str, str]
:ivar additional_transformations:
:vartype additional_transformations: str
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'create_new_version': {'key': 'createNewVersion', 'type': 'bool'},
'description': {'key': 'description', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'additional_transformations': {'key': 'additionalTransformations', 'type': 'str'},
}
def __init__(
self,
*,
name: Optional[str] = None,
create_new_version: Optional[bool] = None,
description: Optional[str] = None,
tags: Optional[Dict[str, str]] = None,
additional_transformations: Optional[str] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword create_new_version:
:paramtype create_new_version: bool
:keyword description:
:paramtype description: str
:keyword tags: A set of tags. Dictionary of :code:`<string>`.
:paramtype tags: dict[str, str]
:keyword additional_transformations:
:paramtype additional_transformations: str
"""
super(DatasetRegistration, self).__init__(**kwargs)
self.name = name
self.create_new_version = create_new_version
self.description = description
self.tags = tags
self.additional_transformations = additional_transformations
class DatasetRegistrationOptions(msrest.serialization.Model):
"""DatasetRegistrationOptions.
:ivar additional_transformation:
:vartype additional_transformation: str
"""
_attribute_map = {
'additional_transformation': {'key': 'additionalTransformation', 'type': 'str'},
}
def __init__(
self,
*,
additional_transformation: Optional[str] = None,
**kwargs
):
"""
:keyword additional_transformation:
:paramtype additional_transformation: str
"""
super(DatasetRegistrationOptions, self).__init__(**kwargs)
self.additional_transformation = additional_transformation
class DataSettings(msrest.serialization.Model):
"""DataSettings.
:ivar target_column_name:
:vartype target_column_name: str
:ivar weight_column_name:
:vartype weight_column_name: str
:ivar positive_label:
:vartype positive_label: str
:ivar validation_data:
:vartype validation_data: ~flow.models.ValidationDataSettings
:ivar test_data:
:vartype test_data: ~flow.models.TestDataSettings
"""
_attribute_map = {
'target_column_name': {'key': 'targetColumnName', 'type': 'str'},
'weight_column_name': {'key': 'weightColumnName', 'type': 'str'},
'positive_label': {'key': 'positiveLabel', 'type': 'str'},
'validation_data': {'key': 'validationData', 'type': 'ValidationDataSettings'},
'test_data': {'key': 'testData', 'type': 'TestDataSettings'},
}
def __init__(
self,
*,
target_column_name: Optional[str] = None,
weight_column_name: Optional[str] = None,
positive_label: Optional[str] = None,
validation_data: Optional["ValidationDataSettings"] = None,
test_data: Optional["TestDataSettings"] = None,
**kwargs
):
"""
:keyword target_column_name:
:paramtype target_column_name: str
:keyword weight_column_name:
:paramtype weight_column_name: str
:keyword positive_label:
:paramtype positive_label: str
:keyword validation_data:
:paramtype validation_data: ~flow.models.ValidationDataSettings
:keyword test_data:
:paramtype test_data: ~flow.models.TestDataSettings
"""
super(DataSettings, self).__init__(**kwargs)
self.target_column_name = target_column_name
self.weight_column_name = weight_column_name
self.positive_label = positive_label
self.validation_data = validation_data
self.test_data = test_data
class DatastoreSetting(msrest.serialization.Model):
"""DatastoreSetting.
:ivar data_store_name:
:vartype data_store_name: str
"""
_attribute_map = {
'data_store_name': {'key': 'dataStoreName', 'type': 'str'},
}
def __init__(
self,
*,
data_store_name: Optional[str] = None,
**kwargs
):
"""
:keyword data_store_name:
:paramtype data_store_name: str
"""
super(DatastoreSetting, self).__init__(**kwargs)
self.data_store_name = data_store_name
class DataTransferCloudConfiguration(msrest.serialization.Model):
"""DataTransferCloudConfiguration.
:ivar allow_overwrite:
:vartype allow_overwrite: bool
"""
_attribute_map = {
'allow_overwrite': {'key': 'AllowOverwrite', 'type': 'bool'},
}
def __init__(
self,
*,
allow_overwrite: Optional[bool] = None,
**kwargs
):
"""
:keyword allow_overwrite:
:paramtype allow_overwrite: bool
"""
super(DataTransferCloudConfiguration, self).__init__(**kwargs)
self.allow_overwrite = allow_overwrite
class DataTransferSink(msrest.serialization.Model):
"""DataTransferSink.
:ivar type: Possible values include: "DataBase", "FileSystem".
:vartype type: str or ~flow.models.DataTransferStorageType
:ivar file_system:
:vartype file_system: ~flow.models.FileSystem
:ivar database_sink:
:vartype database_sink: ~flow.models.DatabaseSink
"""
_attribute_map = {
'type': {'key': 'type', 'type': 'str'},
'file_system': {'key': 'fileSystem', 'type': 'FileSystem'},
'database_sink': {'key': 'databaseSink', 'type': 'DatabaseSink'},
}
def __init__(
self,
*,
type: Optional[Union[str, "DataTransferStorageType"]] = None,
file_system: Optional["FileSystem"] = None,
database_sink: Optional["DatabaseSink"] = None,
**kwargs
):
"""
:keyword type: Possible values include: "DataBase", "FileSystem".
:paramtype type: str or ~flow.models.DataTransferStorageType
:keyword file_system:
:paramtype file_system: ~flow.models.FileSystem
:keyword database_sink:
:paramtype database_sink: ~flow.models.DatabaseSink
"""
super(DataTransferSink, self).__init__(**kwargs)
self.type = type
self.file_system = file_system
self.database_sink = database_sink
class DataTransferSource(msrest.serialization.Model):
"""DataTransferSource.
:ivar type: Possible values include: "DataBase", "FileSystem".
:vartype type: str or ~flow.models.DataTransferStorageType
:ivar file_system:
:vartype file_system: ~flow.models.FileSystem
:ivar database_source:
:vartype database_source: ~flow.models.DatabaseSource
"""
_attribute_map = {
'type': {'key': 'type', 'type': 'str'},
'file_system': {'key': 'fileSystem', 'type': 'FileSystem'},
'database_source': {'key': 'databaseSource', 'type': 'DatabaseSource'},
}
def __init__(
self,
*,
type: Optional[Union[str, "DataTransferStorageType"]] = None,
file_system: Optional["FileSystem"] = None,
database_source: Optional["DatabaseSource"] = None,
**kwargs
):
"""
:keyword type: Possible values include: "DataBase", "FileSystem".
:paramtype type: str or ~flow.models.DataTransferStorageType
:keyword file_system:
:paramtype file_system: ~flow.models.FileSystem
:keyword database_source:
:paramtype database_source: ~flow.models.DatabaseSource
"""
super(DataTransferSource, self).__init__(**kwargs)
self.type = type
self.file_system = file_system
self.database_source = database_source
class DataTransferV2CloudSetting(msrest.serialization.Model):
"""DataTransferV2CloudSetting.
:ivar task_type: Possible values include: "ImportData", "ExportData", "CopyData".
:vartype task_type: str or ~flow.models.DataTransferTaskType
:ivar compute_name:
:vartype compute_name: str
:ivar copy_data_task:
:vartype copy_data_task: ~flow.models.CopyDataTask
:ivar import_data_task:
:vartype import_data_task: ~flow.models.ImportDataTask
:ivar export_data_task:
:vartype export_data_task: ~flow.models.ExportDataTask
:ivar data_transfer_sources: This is a dictionary.
:vartype data_transfer_sources: dict[str, ~flow.models.DataTransferSource]
:ivar data_transfer_sinks: This is a dictionary.
:vartype data_transfer_sinks: dict[str, ~flow.models.DataTransferSink]
:ivar data_copy_mode: Possible values include: "MergeWithOverwrite", "FailIfConflict".
:vartype data_copy_mode: str or ~flow.models.DataCopyMode
"""
_attribute_map = {
'task_type': {'key': 'taskType', 'type': 'str'},
'compute_name': {'key': 'ComputeName', 'type': 'str'},
'copy_data_task': {'key': 'CopyDataTask', 'type': 'CopyDataTask'},
'import_data_task': {'key': 'ImportDataTask', 'type': 'ImportDataTask'},
'export_data_task': {'key': 'ExportDataTask', 'type': 'ExportDataTask'},
'data_transfer_sources': {'key': 'DataTransferSources', 'type': '{DataTransferSource}'},
'data_transfer_sinks': {'key': 'DataTransferSinks', 'type': '{DataTransferSink}'},
'data_copy_mode': {'key': 'DataCopyMode', 'type': 'str'},
}
def __init__(
self,
*,
task_type: Optional[Union[str, "DataTransferTaskType"]] = None,
compute_name: Optional[str] = None,
copy_data_task: Optional["CopyDataTask"] = None,
import_data_task: Optional["ImportDataTask"] = None,
export_data_task: Optional["ExportDataTask"] = None,
data_transfer_sources: Optional[Dict[str, "DataTransferSource"]] = None,
data_transfer_sinks: Optional[Dict[str, "DataTransferSink"]] = None,
data_copy_mode: Optional[Union[str, "DataCopyMode"]] = None,
**kwargs
):
"""
:keyword task_type: Possible values include: "ImportData", "ExportData", "CopyData".
:paramtype task_type: str or ~flow.models.DataTransferTaskType
:keyword compute_name:
:paramtype compute_name: str
:keyword copy_data_task:
:paramtype copy_data_task: ~flow.models.CopyDataTask
:keyword import_data_task:
:paramtype import_data_task: ~flow.models.ImportDataTask
:keyword export_data_task:
:paramtype export_data_task: ~flow.models.ExportDataTask
:keyword data_transfer_sources: This is a dictionary.
:paramtype data_transfer_sources: dict[str, ~flow.models.DataTransferSource]
:keyword data_transfer_sinks: This is a dictionary.
:paramtype data_transfer_sinks: dict[str, ~flow.models.DataTransferSink]
:keyword data_copy_mode: Possible values include: "MergeWithOverwrite", "FailIfConflict".
:paramtype data_copy_mode: str or ~flow.models.DataCopyMode
"""
super(DataTransferV2CloudSetting, self).__init__(**kwargs)
self.task_type = task_type
self.compute_name = compute_name
self.copy_data_task = copy_data_task
self.import_data_task = import_data_task
self.export_data_task = export_data_task
self.data_transfer_sources = data_transfer_sources
self.data_transfer_sinks = data_transfer_sinks
self.data_copy_mode = data_copy_mode
class DataTypeCreationInfo(msrest.serialization.Model):
"""DataTypeCreationInfo.
:ivar id:
:vartype id: str
:ivar name:
:vartype name: str
:ivar description:
:vartype description: str
:ivar is_directory:
:vartype is_directory: bool
:ivar file_extension:
:vartype file_extension: str
:ivar parent_data_type_ids:
:vartype parent_data_type_ids: list[str]
"""
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'is_directory': {'key': 'isDirectory', 'type': 'bool'},
'file_extension': {'key': 'fileExtension', 'type': 'str'},
'parent_data_type_ids': {'key': 'parentDataTypeIds', 'type': '[str]'},
}
def __init__(
self,
*,
id: Optional[str] = None,
name: Optional[str] = None,
description: Optional[str] = None,
is_directory: Optional[bool] = None,
file_extension: Optional[str] = None,
parent_data_type_ids: Optional[List[str]] = None,
**kwargs
):
"""
:keyword id:
:paramtype id: str
:keyword name:
:paramtype name: str
:keyword description:
:paramtype description: str
:keyword is_directory:
:paramtype is_directory: bool
:keyword file_extension:
:paramtype file_extension: str
:keyword parent_data_type_ids:
:paramtype parent_data_type_ids: list[str]
"""
super(DataTypeCreationInfo, self).__init__(**kwargs)
self.id = id
self.name = name
self.description = description
self.is_directory = is_directory
self.file_extension = file_extension
self.parent_data_type_ids = parent_data_type_ids
class DBFSReference(msrest.serialization.Model):
"""DBFSReference.
:ivar relative_path:
:vartype relative_path: str
:ivar aml_data_store_name:
:vartype aml_data_store_name: str
"""
_attribute_map = {
'relative_path': {'key': 'relativePath', 'type': 'str'},
'aml_data_store_name': {'key': 'amlDataStoreName', 'type': 'str'},
}
def __init__(
self,
*,
relative_path: Optional[str] = None,
aml_data_store_name: Optional[str] = None,
**kwargs
):
"""
:keyword relative_path:
:paramtype relative_path: str
:keyword aml_data_store_name:
:paramtype aml_data_store_name: str
"""
super(DBFSReference, self).__init__(**kwargs)
self.relative_path = relative_path
self.aml_data_store_name = aml_data_store_name
class DbfsStorageInfoDto(msrest.serialization.Model):
"""DbfsStorageInfoDto.
:ivar destination:
:vartype destination: str
"""
_attribute_map = {
'destination': {'key': 'destination', 'type': 'str'},
}
def __init__(
self,
*,
destination: Optional[str] = None,
**kwargs
):
"""
:keyword destination:
:paramtype destination: str
"""
super(DbfsStorageInfoDto, self).__init__(**kwargs)
self.destination = destination
class DebugInfoResponse(msrest.serialization.Model):
"""Internal debugging information not intended for external clients.
:ivar type: The type.
:vartype type: str
:ivar message: The message.
:vartype message: str
:ivar stack_trace: The stack trace.
:vartype stack_trace: str
:ivar inner_exception: Internal debugging information not intended for external clients.
:vartype inner_exception: ~flow.models.DebugInfoResponse
:ivar data: This is a dictionary.
:vartype data: dict[str, any]
:ivar error_response: The error response.
:vartype error_response: ~flow.models.ErrorResponse
"""
_attribute_map = {
'type': {'key': 'type', 'type': 'str'},
'message': {'key': 'message', 'type': 'str'},
'stack_trace': {'key': 'stackTrace', 'type': 'str'},
'inner_exception': {'key': 'innerException', 'type': 'DebugInfoResponse'},
'data': {'key': 'data', 'type': '{object}'},
'error_response': {'key': 'errorResponse', 'type': 'ErrorResponse'},
}
def __init__(
self,
*,
type: Optional[str] = None,
message: Optional[str] = None,
stack_trace: Optional[str] = None,
inner_exception: Optional["DebugInfoResponse"] = None,
data: Optional[Dict[str, Any]] = None,
error_response: Optional["ErrorResponse"] = None,
**kwargs
):
"""
:keyword type: The type.
:paramtype type: str
:keyword message: The message.
:paramtype message: str
:keyword stack_trace: The stack trace.
:paramtype stack_trace: str
:keyword inner_exception: Internal debugging information not intended for external clients.
:paramtype inner_exception: ~flow.models.DebugInfoResponse
:keyword data: This is a dictionary.
:paramtype data: dict[str, any]
:keyword error_response: The error response.
:paramtype error_response: ~flow.models.ErrorResponse
"""
super(DebugInfoResponse, self).__init__(**kwargs)
self.type = type
self.message = message
self.stack_trace = stack_trace
self.inner_exception = inner_exception
self.data = data
self.error_response = error_response
class DeployFlowRequest(msrest.serialization.Model):
"""DeployFlowRequest.
:ivar source_resource_id:
:vartype source_resource_id: str
:ivar source_flow_run_id:
:vartype source_flow_run_id: str
:ivar source_flow_id:
:vartype source_flow_id: str
:ivar flow:
:vartype flow: ~flow.models.Flow
:ivar flow_type: Possible values include: "Default", "Evaluation", "Chat", "Rag".
:vartype flow_type: str or ~flow.models.FlowType
:ivar flow_submit_run_settings:
:vartype flow_submit_run_settings: ~flow.models.FlowSubmitRunSettings
:ivar output_names_included_in_endpoint_response:
:vartype output_names_included_in_endpoint_response: list[str]
:ivar endpoint_name:
:vartype endpoint_name: str
:ivar endpoint_description:
:vartype endpoint_description: str
:ivar auth_mode: Possible values include: "AMLToken", "Key", "AADToken".
:vartype auth_mode: str or ~flow.models.EndpointAuthMode
:ivar identity:
:vartype identity: ~flow.models.ManagedServiceIdentity
:ivar endpoint_tags: This is a dictionary.
:vartype endpoint_tags: dict[str, str]
:ivar connection_overrides:
:vartype connection_overrides: list[~flow.models.ConnectionOverrideSetting]
:ivar use_workspace_connection:
:vartype use_workspace_connection: bool
:ivar deployment_name:
:vartype deployment_name: str
:ivar environment:
:vartype environment: str
:ivar environment_variables: This is a dictionary.
:vartype environment_variables: dict[str, str]
:ivar deployment_tags: This is a dictionary.
:vartype deployment_tags: dict[str, str]
:ivar app_insights_enabled:
:vartype app_insights_enabled: bool
:ivar enable_model_data_collector:
:vartype enable_model_data_collector: bool
:ivar skip_update_traffic_to_full:
:vartype skip_update_traffic_to_full: bool
:ivar enable_streaming_response:
:vartype enable_streaming_response: bool
:ivar use_flow_snapshot_to_deploy:
:vartype use_flow_snapshot_to_deploy: bool
:ivar instance_type:
:vartype instance_type: str
:ivar instance_count:
:vartype instance_count: int
:ivar auto_grant_connection_permission:
:vartype auto_grant_connection_permission: bool
"""
_attribute_map = {
'source_resource_id': {'key': 'sourceResourceId', 'type': 'str'},
'source_flow_run_id': {'key': 'sourceFlowRunId', 'type': 'str'},
'source_flow_id': {'key': 'sourceFlowId', 'type': 'str'},
'flow': {'key': 'flow', 'type': 'Flow'},
'flow_type': {'key': 'flowType', 'type': 'str'},
'flow_submit_run_settings': {'key': 'flowSubmitRunSettings', 'type': 'FlowSubmitRunSettings'},
'output_names_included_in_endpoint_response': {'key': 'outputNamesIncludedInEndpointResponse', 'type': '[str]'},
'endpoint_name': {'key': 'endpointName', 'type': 'str'},
'endpoint_description': {'key': 'endpointDescription', 'type': 'str'},
'auth_mode': {'key': 'authMode', 'type': 'str'},
'identity': {'key': 'identity', 'type': 'ManagedServiceIdentity'},
'endpoint_tags': {'key': 'endpointTags', 'type': '{str}'},
'connection_overrides': {'key': 'connectionOverrides', 'type': '[ConnectionOverrideSetting]'},
'use_workspace_connection': {'key': 'useWorkspaceConnection', 'type': 'bool'},
'deployment_name': {'key': 'deploymentName', 'type': 'str'},
'environment': {'key': 'environment', 'type': 'str'},
'environment_variables': {'key': 'environmentVariables', 'type': '{str}'},
'deployment_tags': {'key': 'deploymentTags', 'type': '{str}'},
'app_insights_enabled': {'key': 'appInsightsEnabled', 'type': 'bool'},
'enable_model_data_collector': {'key': 'enableModelDataCollector', 'type': 'bool'},
'skip_update_traffic_to_full': {'key': 'skipUpdateTrafficToFull', 'type': 'bool'},
'enable_streaming_response': {'key': 'enableStreamingResponse', 'type': 'bool'},
'use_flow_snapshot_to_deploy': {'key': 'useFlowSnapshotToDeploy', 'type': 'bool'},
'instance_type': {'key': 'instanceType', 'type': 'str'},
'instance_count': {'key': 'instanceCount', 'type': 'int'},
'auto_grant_connection_permission': {'key': 'autoGrantConnectionPermission', 'type': 'bool'},
}
def __init__(
self,
*,
source_resource_id: Optional[str] = None,
source_flow_run_id: Optional[str] = None,
source_flow_id: Optional[str] = None,
flow: Optional["Flow"] = None,
flow_type: Optional[Union[str, "FlowType"]] = None,
flow_submit_run_settings: Optional["FlowSubmitRunSettings"] = None,
output_names_included_in_endpoint_response: Optional[List[str]] = None,
endpoint_name: Optional[str] = None,
endpoint_description: Optional[str] = None,
auth_mode: Optional[Union[str, "EndpointAuthMode"]] = None,
identity: Optional["ManagedServiceIdentity"] = None,
endpoint_tags: Optional[Dict[str, str]] = None,
connection_overrides: Optional[List["ConnectionOverrideSetting"]] = None,
use_workspace_connection: Optional[bool] = None,
deployment_name: Optional[str] = None,
environment: Optional[str] = None,
environment_variables: Optional[Dict[str, str]] = None,
deployment_tags: Optional[Dict[str, str]] = None,
app_insights_enabled: Optional[bool] = None,
enable_model_data_collector: Optional[bool] = None,
skip_update_traffic_to_full: Optional[bool] = None,
enable_streaming_response: Optional[bool] = None,
use_flow_snapshot_to_deploy: Optional[bool] = None,
instance_type: Optional[str] = None,
instance_count: Optional[int] = None,
auto_grant_connection_permission: Optional[bool] = None,
**kwargs
):
"""
:keyword source_resource_id:
:paramtype source_resource_id: str
:keyword source_flow_run_id:
:paramtype source_flow_run_id: str
:keyword source_flow_id:
:paramtype source_flow_id: str
:keyword flow:
:paramtype flow: ~flow.models.Flow
:keyword flow_type: Possible values include: "Default", "Evaluation", "Chat", "Rag".
:paramtype flow_type: str or ~flow.models.FlowType
:keyword flow_submit_run_settings:
:paramtype flow_submit_run_settings: ~flow.models.FlowSubmitRunSettings
:keyword output_names_included_in_endpoint_response:
:paramtype output_names_included_in_endpoint_response: list[str]
:keyword endpoint_name:
:paramtype endpoint_name: str
:keyword endpoint_description:
:paramtype endpoint_description: str
:keyword auth_mode: Possible values include: "AMLToken", "Key", "AADToken".
:paramtype auth_mode: str or ~flow.models.EndpointAuthMode
:keyword identity:
:paramtype identity: ~flow.models.ManagedServiceIdentity
:keyword endpoint_tags: This is a dictionary.
:paramtype endpoint_tags: dict[str, str]
:keyword connection_overrides:
:paramtype connection_overrides: list[~flow.models.ConnectionOverrideSetting]
:keyword use_workspace_connection:
:paramtype use_workspace_connection: bool
:keyword deployment_name:
:paramtype deployment_name: str
:keyword environment:
:paramtype environment: str
:keyword environment_variables: This is a dictionary.
:paramtype environment_variables: dict[str, str]
:keyword deployment_tags: This is a dictionary.
:paramtype deployment_tags: dict[str, str]
:keyword app_insights_enabled:
:paramtype app_insights_enabled: bool
:keyword enable_model_data_collector:
:paramtype enable_model_data_collector: bool
:keyword skip_update_traffic_to_full:
:paramtype skip_update_traffic_to_full: bool
:keyword enable_streaming_response:
:paramtype enable_streaming_response: bool
:keyword use_flow_snapshot_to_deploy:
:paramtype use_flow_snapshot_to_deploy: bool
:keyword instance_type:
:paramtype instance_type: str
:keyword instance_count:
:paramtype instance_count: int
:keyword auto_grant_connection_permission:
:paramtype auto_grant_connection_permission: bool
"""
super(DeployFlowRequest, self).__init__(**kwargs)
self.source_resource_id = source_resource_id
self.source_flow_run_id = source_flow_run_id
self.source_flow_id = source_flow_id
self.flow = flow
self.flow_type = flow_type
self.flow_submit_run_settings = flow_submit_run_settings
self.output_names_included_in_endpoint_response = output_names_included_in_endpoint_response
self.endpoint_name = endpoint_name
self.endpoint_description = endpoint_description
self.auth_mode = auth_mode
self.identity = identity
self.endpoint_tags = endpoint_tags
self.connection_overrides = connection_overrides
self.use_workspace_connection = use_workspace_connection
self.deployment_name = deployment_name
self.environment = environment
self.environment_variables = environment_variables
self.deployment_tags = deployment_tags
self.app_insights_enabled = app_insights_enabled
self.enable_model_data_collector = enable_model_data_collector
self.skip_update_traffic_to_full = skip_update_traffic_to_full
self.enable_streaming_response = enable_streaming_response
self.use_flow_snapshot_to_deploy = use_flow_snapshot_to_deploy
self.instance_type = instance_type
self.instance_count = instance_count
self.auto_grant_connection_permission = auto_grant_connection_permission
class DeploymentInfo(msrest.serialization.Model):
"""DeploymentInfo.
:ivar operation_id:
:vartype operation_id: str
:ivar service_id:
:vartype service_id: str
:ivar service_name:
:vartype service_name: str
:ivar status_detail:
:vartype status_detail: str
"""
_attribute_map = {
'operation_id': {'key': 'operationId', 'type': 'str'},
'service_id': {'key': 'serviceId', 'type': 'str'},
'service_name': {'key': 'serviceName', 'type': 'str'},
'status_detail': {'key': 'statusDetail', 'type': 'str'},
}
def __init__(
self,
*,
operation_id: Optional[str] = None,
service_id: Optional[str] = None,
service_name: Optional[str] = None,
status_detail: Optional[str] = None,
**kwargs
):
"""
:keyword operation_id:
:paramtype operation_id: str
:keyword service_id:
:paramtype service_id: str
:keyword service_name:
:paramtype service_name: str
:keyword status_detail:
:paramtype status_detail: str
"""
super(DeploymentInfo, self).__init__(**kwargs)
self.operation_id = operation_id
self.service_id = service_id
self.service_name = service_name
self.status_detail = status_detail
class DistributionConfiguration(msrest.serialization.Model):
"""DistributionConfiguration.
:ivar distribution_type: Possible values include: "PyTorch", "TensorFlow", "Mpi", "Ray".
:vartype distribution_type: str or ~flow.models.DistributionType
"""
_attribute_map = {
'distribution_type': {'key': 'distributionType', 'type': 'str'},
}
def __init__(
self,
*,
distribution_type: Optional[Union[str, "DistributionType"]] = None,
**kwargs
):
"""
:keyword distribution_type: Possible values include: "PyTorch", "TensorFlow", "Mpi", "Ray".
:paramtype distribution_type: str or ~flow.models.DistributionType
"""
super(DistributionConfiguration, self).__init__(**kwargs)
self.distribution_type = distribution_type
class DistributionParameter(msrest.serialization.Model):
"""DistributionParameter.
:ivar name:
:vartype name: str
:ivar label:
:vartype label: str
:ivar description:
:vartype description: str
:ivar input_type: Possible values include: "Text", "Number".
:vartype input_type: str or ~flow.models.DistributionParameterEnum
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'label': {'key': 'label', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'input_type': {'key': 'inputType', 'type': 'str'},
}
def __init__(
self,
*,
name: Optional[str] = None,
label: Optional[str] = None,
description: Optional[str] = None,
input_type: Optional[Union[str, "DistributionParameterEnum"]] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword label:
:paramtype label: str
:keyword description:
:paramtype description: str
:keyword input_type: Possible values include: "Text", "Number".
:paramtype input_type: str or ~flow.models.DistributionParameterEnum
"""
super(DistributionParameter, self).__init__(**kwargs)
self.name = name
self.label = label
self.description = description
self.input_type = input_type
class DockerBuildContext(msrest.serialization.Model):
"""DockerBuildContext.
:ivar location_type: Possible values include: "Git", "StorageAccount".
:vartype location_type: str or ~flow.models.BuildContextLocationType
:ivar location:
:vartype location: str
:ivar dockerfile_path:
:vartype dockerfile_path: str
"""
_attribute_map = {
'location_type': {'key': 'locationType', 'type': 'str'},
'location': {'key': 'location', 'type': 'str'},
'dockerfile_path': {'key': 'dockerfilePath', 'type': 'str'},
}
def __init__(
self,
*,
location_type: Optional[Union[str, "BuildContextLocationType"]] = None,
location: Optional[str] = None,
dockerfile_path: Optional[str] = "Dockerfile",
**kwargs
):
"""
:keyword location_type: Possible values include: "Git", "StorageAccount".
:paramtype location_type: str or ~flow.models.BuildContextLocationType
:keyword location:
:paramtype location: str
:keyword dockerfile_path:
:paramtype dockerfile_path: str
"""
super(DockerBuildContext, self).__init__(**kwargs)
self.location_type = location_type
self.location = location
self.dockerfile_path = dockerfile_path
class DockerConfiguration(msrest.serialization.Model):
"""DockerConfiguration.
:ivar use_docker:
:vartype use_docker: bool
:ivar shared_volumes:
:vartype shared_volumes: bool
:ivar arguments:
:vartype arguments: list[str]
"""
_attribute_map = {
'use_docker': {'key': 'useDocker', 'type': 'bool'},
'shared_volumes': {'key': 'sharedVolumes', 'type': 'bool'},
'arguments': {'key': 'arguments', 'type': '[str]'},
}
def __init__(
self,
*,
use_docker: Optional[bool] = None,
shared_volumes: Optional[bool] = None,
arguments: Optional[List[str]] = None,
**kwargs
):
"""
:keyword use_docker:
:paramtype use_docker: bool
:keyword shared_volumes:
:paramtype shared_volumes: bool
:keyword arguments:
:paramtype arguments: list[str]
"""
super(DockerConfiguration, self).__init__(**kwargs)
self.use_docker = use_docker
self.shared_volumes = shared_volumes
self.arguments = arguments
class DockerImagePlatform(msrest.serialization.Model):
"""DockerImagePlatform.
:ivar os:
:vartype os: str
:ivar architecture:
:vartype architecture: str
"""
_attribute_map = {
'os': {'key': 'os', 'type': 'str'},
'architecture': {'key': 'architecture', 'type': 'str'},
}
def __init__(
self,
*,
os: Optional[str] = None,
architecture: Optional[str] = None,
**kwargs
):
"""
:keyword os:
:paramtype os: str
:keyword architecture:
:paramtype architecture: str
"""
super(DockerImagePlatform, self).__init__(**kwargs)
self.os = os
self.architecture = architecture
class DockerSection(msrest.serialization.Model):
"""DockerSection.
:ivar base_image:
:vartype base_image: str
:ivar platform:
:vartype platform: ~flow.models.DockerImagePlatform
:ivar base_dockerfile:
:vartype base_dockerfile: str
:ivar build_context:
:vartype build_context: ~flow.models.DockerBuildContext
:ivar base_image_registry:
:vartype base_image_registry: ~flow.models.ContainerRegistry
"""
_attribute_map = {
'base_image': {'key': 'baseImage', 'type': 'str'},
'platform': {'key': 'platform', 'type': 'DockerImagePlatform'},
'base_dockerfile': {'key': 'baseDockerfile', 'type': 'str'},
'build_context': {'key': 'buildContext', 'type': 'DockerBuildContext'},
'base_image_registry': {'key': 'baseImageRegistry', 'type': 'ContainerRegistry'},
}
def __init__(
self,
*,
base_image: Optional[str] = None,
platform: Optional["DockerImagePlatform"] = None,
base_dockerfile: Optional[str] = None,
build_context: Optional["DockerBuildContext"] = None,
base_image_registry: Optional["ContainerRegistry"] = None,
**kwargs
):
"""
:keyword base_image:
:paramtype base_image: str
:keyword platform:
:paramtype platform: ~flow.models.DockerImagePlatform
:keyword base_dockerfile:
:paramtype base_dockerfile: str
:keyword build_context:
:paramtype build_context: ~flow.models.DockerBuildContext
:keyword base_image_registry:
:paramtype base_image_registry: ~flow.models.ContainerRegistry
"""
super(DockerSection, self).__init__(**kwargs)
self.base_image = base_image
self.platform = platform
self.base_dockerfile = base_dockerfile
self.build_context = build_context
self.base_image_registry = base_image_registry
class DockerSettingConfiguration(msrest.serialization.Model):
"""DockerSettingConfiguration.
:ivar use_docker:
:vartype use_docker: bool
:ivar shared_volumes:
:vartype shared_volumes: bool
:ivar shm_size:
:vartype shm_size: str
:ivar arguments:
:vartype arguments: list[str]
"""
_attribute_map = {
'use_docker': {'key': 'useDocker', 'type': 'bool'},
'shared_volumes': {'key': 'sharedVolumes', 'type': 'bool'},
'shm_size': {'key': 'shmSize', 'type': 'str'},
'arguments': {'key': 'arguments', 'type': '[str]'},
}
def __init__(
self,
*,
use_docker: Optional[bool] = None,
shared_volumes: Optional[bool] = None,
shm_size: Optional[str] = None,
arguments: Optional[List[str]] = None,
**kwargs
):
"""
:keyword use_docker:
:paramtype use_docker: bool
:keyword shared_volumes:
:paramtype shared_volumes: bool
:keyword shm_size:
:paramtype shm_size: str
:keyword arguments:
:paramtype arguments: list[str]
"""
super(DockerSettingConfiguration, self).__init__(**kwargs)
self.use_docker = use_docker
self.shared_volumes = shared_volumes
self.shm_size = shm_size
self.arguments = arguments
class DoWhileControlFlowInfo(msrest.serialization.Model):
"""DoWhileControlFlowInfo.
:ivar output_port_name_to_input_port_names_mapping: Dictionary of
<components·1sqg750·schemas·dowhilecontrolflowinfo·properties·outputportnametoinputportnamesmapping·additionalproperties>.
:vartype output_port_name_to_input_port_names_mapping: dict[str, list[str]]
:ivar condition_output_port_name:
:vartype condition_output_port_name: str
:ivar run_settings:
:vartype run_settings: ~flow.models.DoWhileControlFlowRunSettings
"""
_attribute_map = {
'output_port_name_to_input_port_names_mapping': {'key': 'outputPortNameToInputPortNamesMapping', 'type': '{[str]}'},
'condition_output_port_name': {'key': 'conditionOutputPortName', 'type': 'str'},
'run_settings': {'key': 'runSettings', 'type': 'DoWhileControlFlowRunSettings'},
}
def __init__(
self,
*,
output_port_name_to_input_port_names_mapping: Optional[Dict[str, List[str]]] = None,
condition_output_port_name: Optional[str] = None,
run_settings: Optional["DoWhileControlFlowRunSettings"] = None,
**kwargs
):
"""
:keyword output_port_name_to_input_port_names_mapping: Dictionary of
<components·1sqg750·schemas·dowhilecontrolflowinfo·properties·outputportnametoinputportnamesmapping·additionalproperties>.
:paramtype output_port_name_to_input_port_names_mapping: dict[str, list[str]]
:keyword condition_output_port_name:
:paramtype condition_output_port_name: str
:keyword run_settings:
:paramtype run_settings: ~flow.models.DoWhileControlFlowRunSettings
"""
super(DoWhileControlFlowInfo, self).__init__(**kwargs)
self.output_port_name_to_input_port_names_mapping = output_port_name_to_input_port_names_mapping
self.condition_output_port_name = condition_output_port_name
self.run_settings = run_settings
class DoWhileControlFlowRunSettings(msrest.serialization.Model):
"""DoWhileControlFlowRunSettings.
:ivar max_loop_iteration_count:
:vartype max_loop_iteration_count: ~flow.models.ParameterAssignment
"""
_attribute_map = {
'max_loop_iteration_count': {'key': 'maxLoopIterationCount', 'type': 'ParameterAssignment'},
}
def __init__(
self,
*,
max_loop_iteration_count: Optional["ParameterAssignment"] = None,
**kwargs
):
"""
:keyword max_loop_iteration_count:
:paramtype max_loop_iteration_count: ~flow.models.ParameterAssignment
"""
super(DoWhileControlFlowRunSettings, self).__init__(**kwargs)
self.max_loop_iteration_count = max_loop_iteration_count
class DownloadResourceInfo(msrest.serialization.Model):
"""DownloadResourceInfo.
:ivar download_url:
:vartype download_url: str
:ivar size:
:vartype size: long
"""
_attribute_map = {
'download_url': {'key': 'downloadUrl', 'type': 'str'},
'size': {'key': 'size', 'type': 'long'},
}
def __init__(
self,
*,
download_url: Optional[str] = None,
size: Optional[int] = None,
**kwargs
):
"""
:keyword download_url:
:paramtype download_url: str
:keyword size:
:paramtype size: long
"""
super(DownloadResourceInfo, self).__init__(**kwargs)
self.download_url = download_url
self.size = size
class EndpointSetting(msrest.serialization.Model):
"""EndpointSetting.
:ivar type:
:vartype type: str
:ivar port:
:vartype port: int
:ivar ssl_thumbprint:
:vartype ssl_thumbprint: str
:ivar endpoint:
:vartype endpoint: str
:ivar proxy_endpoint:
:vartype proxy_endpoint: str
:ivar status:
:vartype status: str
:ivar error_message:
:vartype error_message: str
:ivar enabled:
:vartype enabled: bool
:ivar properties: Dictionary of :code:`<string>`.
:vartype properties: dict[str, str]
:ivar nodes:
:vartype nodes: str
"""
_attribute_map = {
'type': {'key': 'type', 'type': 'str'},
'port': {'key': 'port', 'type': 'int'},
'ssl_thumbprint': {'key': 'sslThumbprint', 'type': 'str'},
'endpoint': {'key': 'endpoint', 'type': 'str'},
'proxy_endpoint': {'key': 'proxyEndpoint', 'type': 'str'},
'status': {'key': 'status', 'type': 'str'},
'error_message': {'key': 'errorMessage', 'type': 'str'},
'enabled': {'key': 'enabled', 'type': 'bool'},
'properties': {'key': 'properties', 'type': '{str}'},
'nodes': {'key': 'nodes', 'type': 'str'},
}
def __init__(
self,
*,
type: Optional[str] = None,
port: Optional[int] = None,
ssl_thumbprint: Optional[str] = None,
endpoint: Optional[str] = None,
proxy_endpoint: Optional[str] = None,
status: Optional[str] = None,
error_message: Optional[str] = None,
enabled: Optional[bool] = None,
properties: Optional[Dict[str, str]] = None,
nodes: Optional[str] = None,
**kwargs
):
"""
:keyword type:
:paramtype type: str
:keyword port:
:paramtype port: int
:keyword ssl_thumbprint:
:paramtype ssl_thumbprint: str
:keyword endpoint:
:paramtype endpoint: str
:keyword proxy_endpoint:
:paramtype proxy_endpoint: str
:keyword status:
:paramtype status: str
:keyword error_message:
:paramtype error_message: str
:keyword enabled:
:paramtype enabled: bool
:keyword properties: Dictionary of :code:`<string>`.
:paramtype properties: dict[str, str]
:keyword nodes:
:paramtype nodes: str
"""
super(EndpointSetting, self).__init__(**kwargs)
self.type = type
self.port = port
self.ssl_thumbprint = ssl_thumbprint
self.endpoint = endpoint
self.proxy_endpoint = proxy_endpoint
self.status = status
self.error_message = error_message
self.enabled = enabled
self.properties = properties
self.nodes = nodes
class EntityInterface(msrest.serialization.Model):
"""EntityInterface.
:ivar parameters:
:vartype parameters: list[~flow.models.Parameter]
:ivar ports:
:vartype ports: ~flow.models.NodePortInterface
:ivar metadata_parameters:
:vartype metadata_parameters: list[~flow.models.Parameter]
:ivar data_path_parameters:
:vartype data_path_parameters: list[~flow.models.DataPathParameter]
:ivar data_path_parameter_list:
:vartype data_path_parameter_list: list[~flow.models.DataSetPathParameter]
:ivar asset_output_settings_parameter_list:
:vartype asset_output_settings_parameter_list: list[~flow.models.AssetOutputSettingsParameter]
"""
_attribute_map = {
'parameters': {'key': 'parameters', 'type': '[Parameter]'},
'ports': {'key': 'ports', 'type': 'NodePortInterface'},
'metadata_parameters': {'key': 'metadataParameters', 'type': '[Parameter]'},
'data_path_parameters': {'key': 'dataPathParameters', 'type': '[DataPathParameter]'},
'data_path_parameter_list': {'key': 'dataPathParameterList', 'type': '[DataSetPathParameter]'},
'asset_output_settings_parameter_list': {'key': 'AssetOutputSettingsParameterList', 'type': '[AssetOutputSettingsParameter]'},
}
def __init__(
self,
*,
parameters: Optional[List["Parameter"]] = None,
ports: Optional["NodePortInterface"] = None,
metadata_parameters: Optional[List["Parameter"]] = None,
data_path_parameters: Optional[List["DataPathParameter"]] = None,
data_path_parameter_list: Optional[List["DataSetPathParameter"]] = None,
asset_output_settings_parameter_list: Optional[List["AssetOutputSettingsParameter"]] = None,
**kwargs
):
"""
:keyword parameters:
:paramtype parameters: list[~flow.models.Parameter]
:keyword ports:
:paramtype ports: ~flow.models.NodePortInterface
:keyword metadata_parameters:
:paramtype metadata_parameters: list[~flow.models.Parameter]
:keyword data_path_parameters:
:paramtype data_path_parameters: list[~flow.models.DataPathParameter]
:keyword data_path_parameter_list:
:paramtype data_path_parameter_list: list[~flow.models.DataSetPathParameter]
:keyword asset_output_settings_parameter_list:
:paramtype asset_output_settings_parameter_list:
list[~flow.models.AssetOutputSettingsParameter]
"""
super(EntityInterface, self).__init__(**kwargs)
self.parameters = parameters
self.ports = ports
self.metadata_parameters = metadata_parameters
self.data_path_parameters = data_path_parameters
self.data_path_parameter_list = data_path_parameter_list
self.asset_output_settings_parameter_list = asset_output_settings_parameter_list
class EntrySetting(msrest.serialization.Model):
"""EntrySetting.
:ivar file:
:vartype file: str
:ivar class_name:
:vartype class_name: str
"""
_attribute_map = {
'file': {'key': 'file', 'type': 'str'},
'class_name': {'key': 'className', 'type': 'str'},
}
def __init__(
self,
*,
file: Optional[str] = None,
class_name: Optional[str] = None,
**kwargs
):
"""
:keyword file:
:paramtype file: str
:keyword class_name:
:paramtype class_name: str
"""
super(EntrySetting, self).__init__(**kwargs)
self.file = file
self.class_name = class_name
class EnumParameterRule(msrest.serialization.Model):
"""EnumParameterRule.
:ivar valid_values:
:vartype valid_values: list[str]
"""
_attribute_map = {
'valid_values': {'key': 'validValues', 'type': '[str]'},
}
def __init__(
self,
*,
valid_values: Optional[List[str]] = None,
**kwargs
):
"""
:keyword valid_values:
:paramtype valid_values: list[str]
"""
super(EnumParameterRule, self).__init__(**kwargs)
self.valid_values = valid_values
class EnvironmentConfiguration(msrest.serialization.Model):
"""EnvironmentConfiguration.
:ivar name:
:vartype name: str
:ivar version:
:vartype version: str
:ivar use_environment_definition:
:vartype use_environment_definition: bool
:ivar environment_definition_string:
:vartype environment_definition_string: str
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'version': {'key': 'version', 'type': 'str'},
'use_environment_definition': {'key': 'useEnvironmentDefinition', 'type': 'bool'},
'environment_definition_string': {'key': 'environmentDefinitionString', 'type': 'str'},
}
def __init__(
self,
*,
name: Optional[str] = None,
version: Optional[str] = None,
use_environment_definition: Optional[bool] = None,
environment_definition_string: Optional[str] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword version:
:paramtype version: str
:keyword use_environment_definition:
:paramtype use_environment_definition: bool
:keyword environment_definition_string:
:paramtype environment_definition_string: str
"""
super(EnvironmentConfiguration, self).__init__(**kwargs)
self.name = name
self.version = version
self.use_environment_definition = use_environment_definition
self.environment_definition_string = environment_definition_string
class EnvironmentDefinition(msrest.serialization.Model):
"""EnvironmentDefinition.
:ivar name:
:vartype name: str
:ivar version:
:vartype version: str
:ivar asset_id:
:vartype asset_id: str
:ivar auto_rebuild:
:vartype auto_rebuild: bool
:ivar python:
:vartype python: ~flow.models.PythonSection
:ivar environment_variables: Dictionary of :code:`<string>`.
:vartype environment_variables: dict[str, str]
:ivar docker:
:vartype docker: ~flow.models.DockerSection
:ivar spark:
:vartype spark: ~flow.models.SparkSection
:ivar r:
:vartype r: ~flow.models.RSection
:ivar inferencing_stack_version:
:vartype inferencing_stack_version: str
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'version': {'key': 'version', 'type': 'str'},
'asset_id': {'key': 'assetId', 'type': 'str'},
'auto_rebuild': {'key': 'autoRebuild', 'type': 'bool'},
'python': {'key': 'python', 'type': 'PythonSection'},
'environment_variables': {'key': 'environmentVariables', 'type': '{str}'},
'docker': {'key': 'docker', 'type': 'DockerSection'},
'spark': {'key': 'spark', 'type': 'SparkSection'},
'r': {'key': 'r', 'type': 'RSection'},
'inferencing_stack_version': {'key': 'inferencingStackVersion', 'type': 'str'},
}
def __init__(
self,
*,
name: Optional[str] = None,
version: Optional[str] = None,
asset_id: Optional[str] = None,
auto_rebuild: Optional[bool] = None,
python: Optional["PythonSection"] = None,
environment_variables: Optional[Dict[str, str]] = None,
docker: Optional["DockerSection"] = None,
spark: Optional["SparkSection"] = None,
r: Optional["RSection"] = None,
inferencing_stack_version: Optional[str] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword version:
:paramtype version: str
:keyword asset_id:
:paramtype asset_id: str
:keyword auto_rebuild:
:paramtype auto_rebuild: bool
:keyword python:
:paramtype python: ~flow.models.PythonSection
:keyword environment_variables: Dictionary of :code:`<string>`.
:paramtype environment_variables: dict[str, str]
:keyword docker:
:paramtype docker: ~flow.models.DockerSection
:keyword spark:
:paramtype spark: ~flow.models.SparkSection
:keyword r:
:paramtype r: ~flow.models.RSection
:keyword inferencing_stack_version:
:paramtype inferencing_stack_version: str
"""
super(EnvironmentDefinition, self).__init__(**kwargs)
self.name = name
self.version = version
self.asset_id = asset_id
self.auto_rebuild = auto_rebuild
self.python = python
self.environment_variables = environment_variables
self.docker = docker
self.spark = spark
self.r = r
self.inferencing_stack_version = inferencing_stack_version
class EnvironmentDefinitionDto(msrest.serialization.Model):
"""EnvironmentDefinitionDto.
:ivar environment_name:
:vartype environment_name: str
:ivar environment_version:
:vartype environment_version: str
:ivar intellectual_property_publisher:
:vartype intellectual_property_publisher: str
"""
_attribute_map = {
'environment_name': {'key': 'environmentName', 'type': 'str'},
'environment_version': {'key': 'environmentVersion', 'type': 'str'},
'intellectual_property_publisher': {'key': 'intellectualPropertyPublisher', 'type': 'str'},
}
def __init__(
self,
*,
environment_name: Optional[str] = None,
environment_version: Optional[str] = None,
intellectual_property_publisher: Optional[str] = None,
**kwargs
):
"""
:keyword environment_name:
:paramtype environment_name: str
:keyword environment_version:
:paramtype environment_version: str
:keyword intellectual_property_publisher:
:paramtype intellectual_property_publisher: str
"""
super(EnvironmentDefinitionDto, self).__init__(**kwargs)
self.environment_name = environment_name
self.environment_version = environment_version
self.intellectual_property_publisher = intellectual_property_publisher
class EPRPipelineRunErrorClassificationRequest(msrest.serialization.Model):
"""EPRPipelineRunErrorClassificationRequest.
:ivar root_run_id:
:vartype root_run_id: str
:ivar run_id:
:vartype run_id: str
:ivar task_result:
:vartype task_result: str
:ivar failure_type:
:vartype failure_type: str
:ivar failure_name:
:vartype failure_name: str
:ivar responsible_team:
:vartype responsible_team: str
"""
_attribute_map = {
'root_run_id': {'key': 'rootRunId', 'type': 'str'},
'run_id': {'key': 'runId', 'type': 'str'},
'task_result': {'key': 'taskResult', 'type': 'str'},
'failure_type': {'key': 'failureType', 'type': 'str'},
'failure_name': {'key': 'failureName', 'type': 'str'},
'responsible_team': {'key': 'responsibleTeam', 'type': 'str'},
}
def __init__(
self,
*,
root_run_id: Optional[str] = None,
run_id: Optional[str] = None,
task_result: Optional[str] = None,
failure_type: Optional[str] = None,
failure_name: Optional[str] = None,
responsible_team: Optional[str] = None,
**kwargs
):
"""
:keyword root_run_id:
:paramtype root_run_id: str
:keyword run_id:
:paramtype run_id: str
:keyword task_result:
:paramtype task_result: str
:keyword failure_type:
:paramtype failure_type: str
:keyword failure_name:
:paramtype failure_name: str
:keyword responsible_team:
:paramtype responsible_team: str
"""
super(EPRPipelineRunErrorClassificationRequest, self).__init__(**kwargs)
self.root_run_id = root_run_id
self.run_id = run_id
self.task_result = task_result
self.failure_type = failure_type
self.failure_name = failure_name
self.responsible_team = responsible_team
class ErrorAdditionalInfo(msrest.serialization.Model):
"""The resource management error additional info.
:ivar type: The additional info type.
:vartype type: str
:ivar info: The additional info.
:vartype info: any
"""
_attribute_map = {
'type': {'key': 'type', 'type': 'str'},
'info': {'key': 'info', 'type': 'object'},
}
def __init__(
self,
*,
type: Optional[str] = None,
info: Optional[Any] = None,
**kwargs
):
"""
:keyword type: The additional info type.
:paramtype type: str
:keyword info: The additional info.
:paramtype info: any
"""
super(ErrorAdditionalInfo, self).__init__(**kwargs)
self.type = type
self.info = info
class ErrorResponse(msrest.serialization.Model):
"""The error response.
:ivar error: The root error.
:vartype error: ~flow.models.RootError
:ivar correlation: Dictionary containing correlation details for the error.
:vartype correlation: dict[str, str]
:ivar environment: The hosting environment.
:vartype environment: str
:ivar location: The Azure region.
:vartype location: str
:ivar time: The time in UTC.
:vartype time: ~datetime.datetime
:ivar component_name: Component name where error originated/encountered.
:vartype component_name: str
"""
_attribute_map = {
'error': {'key': 'error', 'type': 'RootError'},
'correlation': {'key': 'correlation', 'type': '{str}'},
'environment': {'key': 'environment', 'type': 'str'},
'location': {'key': 'location', 'type': 'str'},
'time': {'key': 'time', 'type': 'iso-8601'},
'component_name': {'key': 'componentName', 'type': 'str'},
}
def __init__(
self,
*,
error: Optional["RootError"] = None,
correlation: Optional[Dict[str, str]] = None,
environment: Optional[str] = None,
location: Optional[str] = None,
time: Optional[datetime.datetime] = None,
component_name: Optional[str] = None,
**kwargs
):
"""
:keyword error: The root error.
:paramtype error: ~flow.models.RootError
:keyword correlation: Dictionary containing correlation details for the error.
:paramtype correlation: dict[str, str]
:keyword environment: The hosting environment.
:paramtype environment: str
:keyword location: The Azure region.
:paramtype location: str
:keyword time: The time in UTC.
:paramtype time: ~datetime.datetime
:keyword component_name: Component name where error originated/encountered.
:paramtype component_name: str
"""
super(ErrorResponse, self).__init__(**kwargs)
self.error = error
self.correlation = correlation
self.environment = environment
self.location = location
self.time = time
self.component_name = component_name
class EsCloudConfiguration(msrest.serialization.Model):
"""EsCloudConfiguration.
:ivar enable_output_to_file_based_on_data_type_id:
:vartype enable_output_to_file_based_on_data_type_id: bool
:ivar environment:
:vartype environment: ~flow.models.EnvironmentConfiguration
:ivar hyper_drive_configuration:
:vartype hyper_drive_configuration: ~flow.models.HyperDriveConfiguration
:ivar k8_s_config:
:vartype k8_s_config: ~flow.models.K8SConfiguration
:ivar resource_config:
:vartype resource_config: ~flow.models.AEVAResourceConfiguration
:ivar torch_distributed_config:
:vartype torch_distributed_config: ~flow.models.TorchDistributedConfiguration
:ivar target_selector_config:
:vartype target_selector_config: ~flow.models.TargetSelectorConfiguration
:ivar docker_config:
:vartype docker_config: ~flow.models.DockerSettingConfiguration
:ivar environment_variables: Dictionary of :code:`<string>`.
:vartype environment_variables: dict[str, str]
:ivar max_run_duration_seconds:
:vartype max_run_duration_seconds: int
:ivar identity:
:vartype identity: ~flow.models.IdentitySetting
:ivar application_endpoints: Dictionary of :code:`<ApplicationEndpointConfiguration>`.
:vartype application_endpoints: dict[str, ~flow.models.ApplicationEndpointConfiguration]
:ivar run_config:
:vartype run_config: str
"""
_attribute_map = {
'enable_output_to_file_based_on_data_type_id': {'key': 'enableOutputToFileBasedOnDataTypeId', 'type': 'bool'},
'environment': {'key': 'environment', 'type': 'EnvironmentConfiguration'},
'hyper_drive_configuration': {'key': 'hyperDriveConfiguration', 'type': 'HyperDriveConfiguration'},
'k8_s_config': {'key': 'k8sConfig', 'type': 'K8SConfiguration'},
'resource_config': {'key': 'resourceConfig', 'type': 'AEVAResourceConfiguration'},
'torch_distributed_config': {'key': 'torchDistributedConfig', 'type': 'TorchDistributedConfiguration'},
'target_selector_config': {'key': 'targetSelectorConfig', 'type': 'TargetSelectorConfiguration'},
'docker_config': {'key': 'dockerConfig', 'type': 'DockerSettingConfiguration'},
'environment_variables': {'key': 'environmentVariables', 'type': '{str}'},
'max_run_duration_seconds': {'key': 'maxRunDurationSeconds', 'type': 'int'},
'identity': {'key': 'identity', 'type': 'IdentitySetting'},
'application_endpoints': {'key': 'applicationEndpoints', 'type': '{ApplicationEndpointConfiguration}'},
'run_config': {'key': 'runConfig', 'type': 'str'},
}
def __init__(
self,
*,
enable_output_to_file_based_on_data_type_id: Optional[bool] = None,
environment: Optional["EnvironmentConfiguration"] = None,
hyper_drive_configuration: Optional["HyperDriveConfiguration"] = None,
k8_s_config: Optional["K8SConfiguration"] = None,
resource_config: Optional["AEVAResourceConfiguration"] = None,
torch_distributed_config: Optional["TorchDistributedConfiguration"] = None,
target_selector_config: Optional["TargetSelectorConfiguration"] = None,
docker_config: Optional["DockerSettingConfiguration"] = None,
environment_variables: Optional[Dict[str, str]] = None,
max_run_duration_seconds: Optional[int] = None,
identity: Optional["IdentitySetting"] = None,
application_endpoints: Optional[Dict[str, "ApplicationEndpointConfiguration"]] = None,
run_config: Optional[str] = None,
**kwargs
):
"""
:keyword enable_output_to_file_based_on_data_type_id:
:paramtype enable_output_to_file_based_on_data_type_id: bool
:keyword environment:
:paramtype environment: ~flow.models.EnvironmentConfiguration
:keyword hyper_drive_configuration:
:paramtype hyper_drive_configuration: ~flow.models.HyperDriveConfiguration
:keyword k8_s_config:
:paramtype k8_s_config: ~flow.models.K8SConfiguration
:keyword resource_config:
:paramtype resource_config: ~flow.models.AEVAResourceConfiguration
:keyword torch_distributed_config:
:paramtype torch_distributed_config: ~flow.models.TorchDistributedConfiguration
:keyword target_selector_config:
:paramtype target_selector_config: ~flow.models.TargetSelectorConfiguration
:keyword docker_config:
:paramtype docker_config: ~flow.models.DockerSettingConfiguration
:keyword environment_variables: Dictionary of :code:`<string>`.
:paramtype environment_variables: dict[str, str]
:keyword max_run_duration_seconds:
:paramtype max_run_duration_seconds: int
:keyword identity:
:paramtype identity: ~flow.models.IdentitySetting
:keyword application_endpoints: Dictionary of :code:`<ApplicationEndpointConfiguration>`.
:paramtype application_endpoints: dict[str, ~flow.models.ApplicationEndpointConfiguration]
:keyword run_config:
:paramtype run_config: str
"""
super(EsCloudConfiguration, self).__init__(**kwargs)
self.enable_output_to_file_based_on_data_type_id = enable_output_to_file_based_on_data_type_id
self.environment = environment
self.hyper_drive_configuration = hyper_drive_configuration
self.k8_s_config = k8_s_config
self.resource_config = resource_config
self.torch_distributed_config = torch_distributed_config
self.target_selector_config = target_selector_config
self.docker_config = docker_config
self.environment_variables = environment_variables
self.max_run_duration_seconds = max_run_duration_seconds
self.identity = identity
self.application_endpoints = application_endpoints
self.run_config = run_config
class EvaluationFlowRunSettings(msrest.serialization.Model):
"""EvaluationFlowRunSettings.
:ivar flow_run_id:
:vartype flow_run_id: str
:ivar flow_run_display_name:
:vartype flow_run_display_name: str
:ivar batch_data_input:
:vartype batch_data_input: ~flow.models.BatchDataInput
:ivar inputs_mapping: This is a dictionary.
:vartype inputs_mapping: dict[str, str]
:ivar data_inputs: This is a dictionary.
:vartype data_inputs: dict[str, str]
:ivar connection_overrides:
:vartype connection_overrides: list[~flow.models.ConnectionOverrideSetting]
:ivar runtime_name:
:vartype runtime_name: str
:ivar aml_compute_name:
:vartype aml_compute_name: str
:ivar properties: This is a dictionary.
:vartype properties: dict[str, str]
"""
_attribute_map = {
'flow_run_id': {'key': 'flowRunId', 'type': 'str'},
'flow_run_display_name': {'key': 'flowRunDisplayName', 'type': 'str'},
'batch_data_input': {'key': 'batchDataInput', 'type': 'BatchDataInput'},
'inputs_mapping': {'key': 'inputsMapping', 'type': '{str}'},
'data_inputs': {'key': 'dataInputs', 'type': '{str}'},
'connection_overrides': {'key': 'connectionOverrides', 'type': '[ConnectionOverrideSetting]'},
'runtime_name': {'key': 'runtimeName', 'type': 'str'},
'aml_compute_name': {'key': 'amlComputeName', 'type': 'str'},
'properties': {'key': 'properties', 'type': '{str}'},
}
def __init__(
self,
*,
flow_run_id: Optional[str] = None,
flow_run_display_name: Optional[str] = None,
batch_data_input: Optional["BatchDataInput"] = None,
inputs_mapping: Optional[Dict[str, str]] = None,
data_inputs: Optional[Dict[str, str]] = None,
connection_overrides: Optional[List["ConnectionOverrideSetting"]] = None,
runtime_name: Optional[str] = None,
aml_compute_name: Optional[str] = None,
properties: Optional[Dict[str, str]] = None,
**kwargs
):
"""
:keyword flow_run_id:
:paramtype flow_run_id: str
:keyword flow_run_display_name:
:paramtype flow_run_display_name: str
:keyword batch_data_input:
:paramtype batch_data_input: ~flow.models.BatchDataInput
:keyword inputs_mapping: This is a dictionary.
:paramtype inputs_mapping: dict[str, str]
:keyword data_inputs: This is a dictionary.
:paramtype data_inputs: dict[str, str]
:keyword connection_overrides:
:paramtype connection_overrides: list[~flow.models.ConnectionOverrideSetting]
:keyword runtime_name:
:paramtype runtime_name: str
:keyword aml_compute_name:
:paramtype aml_compute_name: str
:keyword properties: This is a dictionary.
:paramtype properties: dict[str, str]
"""
super(EvaluationFlowRunSettings, self).__init__(**kwargs)
self.flow_run_id = flow_run_id
self.flow_run_display_name = flow_run_display_name
self.batch_data_input = batch_data_input
self.inputs_mapping = inputs_mapping
self.data_inputs = data_inputs
self.connection_overrides = connection_overrides
self.runtime_name = runtime_name
self.aml_compute_name = aml_compute_name
self.properties = properties
class ExampleRequest(msrest.serialization.Model):
"""ExampleRequest.
:ivar inputs: This is a dictionary.
:vartype inputs: dict[str, list[list[any]]]
:ivar global_parameters: This is a dictionary.
:vartype global_parameters: dict[str, any]
"""
_attribute_map = {
'inputs': {'key': 'inputs', 'type': '{[[object]]}'},
'global_parameters': {'key': 'globalParameters', 'type': '{object}'},
}
def __init__(
self,
*,
inputs: Optional[Dict[str, List[List[Any]]]] = None,
global_parameters: Optional[Dict[str, Any]] = None,
**kwargs
):
"""
:keyword inputs: This is a dictionary.
:paramtype inputs: dict[str, list[list[any]]]
:keyword global_parameters: This is a dictionary.
:paramtype global_parameters: dict[str, any]
"""
super(ExampleRequest, self).__init__(**kwargs)
self.inputs = inputs
self.global_parameters = global_parameters
class ExecutionContextDto(msrest.serialization.Model):
"""ExecutionContextDto.
:ivar executable:
:vartype executable: str
:ivar user_code:
:vartype user_code: str
:ivar arguments:
:vartype arguments: str
"""
_attribute_map = {
'executable': {'key': 'executable', 'type': 'str'},
'user_code': {'key': 'userCode', 'type': 'str'},
'arguments': {'key': 'arguments', 'type': 'str'},
}
def __init__(
self,
*,
executable: Optional[str] = None,
user_code: Optional[str] = None,
arguments: Optional[str] = None,
**kwargs
):
"""
:keyword executable:
:paramtype executable: str
:keyword user_code:
:paramtype user_code: str
:keyword arguments:
:paramtype arguments: str
"""
super(ExecutionContextDto, self).__init__(**kwargs)
self.executable = executable
self.user_code = user_code
self.arguments = arguments
class ExecutionDataLocation(msrest.serialization.Model):
"""ExecutionDataLocation.
:ivar dataset:
:vartype dataset: ~flow.models.RunDatasetReference
:ivar data_path:
:vartype data_path: ~flow.models.ExecutionDataPath
:ivar uri:
:vartype uri: ~flow.models.UriReference
:ivar type:
:vartype type: str
"""
_attribute_map = {
'dataset': {'key': 'dataset', 'type': 'RunDatasetReference'},
'data_path': {'key': 'dataPath', 'type': 'ExecutionDataPath'},
'uri': {'key': 'uri', 'type': 'UriReference'},
'type': {'key': 'type', 'type': 'str'},
}
def __init__(
self,
*,
dataset: Optional["RunDatasetReference"] = None,
data_path: Optional["ExecutionDataPath"] = None,
uri: Optional["UriReference"] = None,
type: Optional[str] = None,
**kwargs
):
"""
:keyword dataset:
:paramtype dataset: ~flow.models.RunDatasetReference
:keyword data_path:
:paramtype data_path: ~flow.models.ExecutionDataPath
:keyword uri:
:paramtype uri: ~flow.models.UriReference
:keyword type:
:paramtype type: str
"""
super(ExecutionDataLocation, self).__init__(**kwargs)
self.dataset = dataset
self.data_path = data_path
self.uri = uri
self.type = type
class ExecutionDataPath(msrest.serialization.Model):
"""ExecutionDataPath.
:ivar datastore_name:
:vartype datastore_name: str
:ivar relative_path:
:vartype relative_path: str
"""
_attribute_map = {
'datastore_name': {'key': 'datastoreName', 'type': 'str'},
'relative_path': {'key': 'relativePath', 'type': 'str'},
}
def __init__(
self,
*,
datastore_name: Optional[str] = None,
relative_path: Optional[str] = None,
**kwargs
):
"""
:keyword datastore_name:
:paramtype datastore_name: str
:keyword relative_path:
:paramtype relative_path: str
"""
super(ExecutionDataPath, self).__init__(**kwargs)
self.datastore_name = datastore_name
self.relative_path = relative_path
class ExecutionGlobsOptions(msrest.serialization.Model):
"""ExecutionGlobsOptions.
:ivar glob_patterns:
:vartype glob_patterns: list[str]
"""
_attribute_map = {
'glob_patterns': {'key': 'globPatterns', 'type': '[str]'},
}
def __init__(
self,
*,
glob_patterns: Optional[List[str]] = None,
**kwargs
):
"""
:keyword glob_patterns:
:paramtype glob_patterns: list[str]
"""
super(ExecutionGlobsOptions, self).__init__(**kwargs)
self.glob_patterns = glob_patterns
class ExperimentComputeMetaInfo(msrest.serialization.Model):
"""ExperimentComputeMetaInfo.
:ivar current_node_count:
:vartype current_node_count: int
:ivar target_node_count:
:vartype target_node_count: int
:ivar max_node_count:
:vartype max_node_count: int
:ivar min_node_count:
:vartype min_node_count: int
:ivar idle_node_count:
:vartype idle_node_count: int
:ivar running_node_count:
:vartype running_node_count: int
:ivar preparing_node_count:
:vartype preparing_node_count: int
:ivar unusable_node_count:
:vartype unusable_node_count: int
:ivar leaving_node_count:
:vartype leaving_node_count: int
:ivar preempted_node_count:
:vartype preempted_node_count: int
:ivar vm_size:
:vartype vm_size: str
:ivar location:
:vartype location: str
:ivar provisioning_state:
:vartype provisioning_state: str
:ivar state:
:vartype state: str
:ivar os_type:
:vartype os_type: str
:ivar id:
:vartype id: str
:ivar name:
:vartype name: str
:ivar created_by_studio:
:vartype created_by_studio: bool
:ivar is_gpu_type:
:vartype is_gpu_type: bool
:ivar resource_id:
:vartype resource_id: str
:ivar compute_type:
:vartype compute_type: str
"""
_attribute_map = {
'current_node_count': {'key': 'currentNodeCount', 'type': 'int'},
'target_node_count': {'key': 'targetNodeCount', 'type': 'int'},
'max_node_count': {'key': 'maxNodeCount', 'type': 'int'},
'min_node_count': {'key': 'minNodeCount', 'type': 'int'},
'idle_node_count': {'key': 'idleNodeCount', 'type': 'int'},
'running_node_count': {'key': 'runningNodeCount', 'type': 'int'},
'preparing_node_count': {'key': 'preparingNodeCount', 'type': 'int'},
'unusable_node_count': {'key': 'unusableNodeCount', 'type': 'int'},
'leaving_node_count': {'key': 'leavingNodeCount', 'type': 'int'},
'preempted_node_count': {'key': 'preemptedNodeCount', 'type': 'int'},
'vm_size': {'key': 'vmSize', 'type': 'str'},
'location': {'key': 'location', 'type': 'str'},
'provisioning_state': {'key': 'provisioningState', 'type': 'str'},
'state': {'key': 'state', 'type': 'str'},
'os_type': {'key': 'osType', 'type': 'str'},
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'created_by_studio': {'key': 'createdByStudio', 'type': 'bool'},
'is_gpu_type': {'key': 'isGpuType', 'type': 'bool'},
'resource_id': {'key': 'resourceId', 'type': 'str'},
'compute_type': {'key': 'computeType', 'type': 'str'},
}
def __init__(
self,
*,
current_node_count: Optional[int] = None,
target_node_count: Optional[int] = None,
max_node_count: Optional[int] = None,
min_node_count: Optional[int] = None,
idle_node_count: Optional[int] = None,
running_node_count: Optional[int] = None,
preparing_node_count: Optional[int] = None,
unusable_node_count: Optional[int] = None,
leaving_node_count: Optional[int] = None,
preempted_node_count: Optional[int] = None,
vm_size: Optional[str] = None,
location: Optional[str] = None,
provisioning_state: Optional[str] = None,
state: Optional[str] = None,
os_type: Optional[str] = None,
id: Optional[str] = None,
name: Optional[str] = None,
created_by_studio: Optional[bool] = None,
is_gpu_type: Optional[bool] = None,
resource_id: Optional[str] = None,
compute_type: Optional[str] = None,
**kwargs
):
"""
:keyword current_node_count:
:paramtype current_node_count: int
:keyword target_node_count:
:paramtype target_node_count: int
:keyword max_node_count:
:paramtype max_node_count: int
:keyword min_node_count:
:paramtype min_node_count: int
:keyword idle_node_count:
:paramtype idle_node_count: int
:keyword running_node_count:
:paramtype running_node_count: int
:keyword preparing_node_count:
:paramtype preparing_node_count: int
:keyword unusable_node_count:
:paramtype unusable_node_count: int
:keyword leaving_node_count:
:paramtype leaving_node_count: int
:keyword preempted_node_count:
:paramtype preempted_node_count: int
:keyword vm_size:
:paramtype vm_size: str
:keyword location:
:paramtype location: str
:keyword provisioning_state:
:paramtype provisioning_state: str
:keyword state:
:paramtype state: str
:keyword os_type:
:paramtype os_type: str
:keyword id:
:paramtype id: str
:keyword name:
:paramtype name: str
:keyword created_by_studio:
:paramtype created_by_studio: bool
:keyword is_gpu_type:
:paramtype is_gpu_type: bool
:keyword resource_id:
:paramtype resource_id: str
:keyword compute_type:
:paramtype compute_type: str
"""
super(ExperimentComputeMetaInfo, self).__init__(**kwargs)
self.current_node_count = current_node_count
self.target_node_count = target_node_count
self.max_node_count = max_node_count
self.min_node_count = min_node_count
self.idle_node_count = idle_node_count
self.running_node_count = running_node_count
self.preparing_node_count = preparing_node_count
self.unusable_node_count = unusable_node_count
self.leaving_node_count = leaving_node_count
self.preempted_node_count = preempted_node_count
self.vm_size = vm_size
self.location = location
self.provisioning_state = provisioning_state
self.state = state
self.os_type = os_type
self.id = id
self.name = name
self.created_by_studio = created_by_studio
self.is_gpu_type = is_gpu_type
self.resource_id = resource_id
self.compute_type = compute_type
class ExperimentInfo(msrest.serialization.Model):
"""ExperimentInfo.
:ivar experiment_name:
:vartype experiment_name: str
:ivar experiment_id:
:vartype experiment_id: str
"""
_attribute_map = {
'experiment_name': {'key': 'experimentName', 'type': 'str'},
'experiment_id': {'key': 'experimentId', 'type': 'str'},
}
def __init__(
self,
*,
experiment_name: Optional[str] = None,
experiment_id: Optional[str] = None,
**kwargs
):
"""
:keyword experiment_name:
:paramtype experiment_name: str
:keyword experiment_id:
:paramtype experiment_id: str
"""
super(ExperimentInfo, self).__init__(**kwargs)
self.experiment_name = experiment_name
self.experiment_id = experiment_id
class ExportComponentMetaInfo(msrest.serialization.Model):
"""ExportComponentMetaInfo.
:ivar module_entity:
:vartype module_entity: ~flow.models.ModuleEntity
:ivar module_version:
:vartype module_version: str
:ivar is_anonymous:
:vartype is_anonymous: bool
"""
_attribute_map = {
'module_entity': {'key': 'moduleEntity', 'type': 'ModuleEntity'},
'module_version': {'key': 'moduleVersion', 'type': 'str'},
'is_anonymous': {'key': 'isAnonymous', 'type': 'bool'},
}
def __init__(
self,
*,
module_entity: Optional["ModuleEntity"] = None,
module_version: Optional[str] = None,
is_anonymous: Optional[bool] = None,
**kwargs
):
"""
:keyword module_entity:
:paramtype module_entity: ~flow.models.ModuleEntity
:keyword module_version:
:paramtype module_version: str
:keyword is_anonymous:
:paramtype is_anonymous: bool
"""
super(ExportComponentMetaInfo, self).__init__(**kwargs)
self.module_entity = module_entity
self.module_version = module_version
self.is_anonymous = is_anonymous
class ExportDataTask(msrest.serialization.Model):
"""ExportDataTask.
:ivar data_transfer_sink:
:vartype data_transfer_sink: ~flow.models.DataTransferSink
"""
_attribute_map = {
'data_transfer_sink': {'key': 'DataTransferSink', 'type': 'DataTransferSink'},
}
def __init__(
self,
*,
data_transfer_sink: Optional["DataTransferSink"] = None,
**kwargs
):
"""
:keyword data_transfer_sink:
:paramtype data_transfer_sink: ~flow.models.DataTransferSink
"""
super(ExportDataTask, self).__init__(**kwargs)
self.data_transfer_sink = data_transfer_sink
class FeaturizationSettings(msrest.serialization.Model):
"""FeaturizationSettings.
:ivar mode: Possible values include: "Auto", "Custom", "Off".
:vartype mode: str or ~flow.models.FeaturizationMode
:ivar blocked_transformers:
:vartype blocked_transformers: list[str]
:ivar column_purposes: Dictionary of :code:`<string>`.
:vartype column_purposes: dict[str, str]
:ivar drop_columns:
:vartype drop_columns: list[str]
:ivar transformer_params: Dictionary of
<components·1gi3krm·schemas·featurizationsettings·properties·transformerparams·additionalproperties>.
:vartype transformer_params: dict[str, list[~flow.models.ColumnTransformer]]
:ivar dataset_language:
:vartype dataset_language: str
:ivar enable_dnn_featurization:
:vartype enable_dnn_featurization: bool
"""
_attribute_map = {
'mode': {'key': 'mode', 'type': 'str'},
'blocked_transformers': {'key': 'blockedTransformers', 'type': '[str]'},
'column_purposes': {'key': 'columnPurposes', 'type': '{str}'},
'drop_columns': {'key': 'dropColumns', 'type': '[str]'},
'transformer_params': {'key': 'transformerParams', 'type': '{[ColumnTransformer]}'},
'dataset_language': {'key': 'datasetLanguage', 'type': 'str'},
'enable_dnn_featurization': {'key': 'enableDnnFeaturization', 'type': 'bool'},
}
def __init__(
self,
*,
mode: Optional[Union[str, "FeaturizationMode"]] = None,
blocked_transformers: Optional[List[str]] = None,
column_purposes: Optional[Dict[str, str]] = None,
drop_columns: Optional[List[str]] = None,
transformer_params: Optional[Dict[str, List["ColumnTransformer"]]] = None,
dataset_language: Optional[str] = None,
enable_dnn_featurization: Optional[bool] = None,
**kwargs
):
"""
:keyword mode: Possible values include: "Auto", "Custom", "Off".
:paramtype mode: str or ~flow.models.FeaturizationMode
:keyword blocked_transformers:
:paramtype blocked_transformers: list[str]
:keyword column_purposes: Dictionary of :code:`<string>`.
:paramtype column_purposes: dict[str, str]
:keyword drop_columns:
:paramtype drop_columns: list[str]
:keyword transformer_params: Dictionary of
<components·1gi3krm·schemas·featurizationsettings·properties·transformerparams·additionalproperties>.
:paramtype transformer_params: dict[str, list[~flow.models.ColumnTransformer]]
:keyword dataset_language:
:paramtype dataset_language: str
:keyword enable_dnn_featurization:
:paramtype enable_dnn_featurization: bool
"""
super(FeaturizationSettings, self).__init__(**kwargs)
self.mode = mode
self.blocked_transformers = blocked_transformers
self.column_purposes = column_purposes
self.drop_columns = drop_columns
self.transformer_params = transformer_params
self.dataset_language = dataset_language
self.enable_dnn_featurization = enable_dnn_featurization
class FeedDto(msrest.serialization.Model):
"""FeedDto.
:ivar name:
:vartype name: str
:ivar display_name:
:vartype display_name: str
:ivar description:
:vartype description: str
:ivar sharing_scopes:
:vartype sharing_scopes: list[~flow.models.SharingScope]
:ivar supported_asset_types:
:vartype supported_asset_types: ~flow.models.FeedDtoSupportedAssetTypes
:ivar regional_workspace_storage: This is a dictionary.
:vartype regional_workspace_storage: dict[str, list[str]]
:ivar intellectual_property_publisher:
:vartype intellectual_property_publisher: str
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'display_name': {'key': 'displayName', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'sharing_scopes': {'key': 'sharingScopes', 'type': '[SharingScope]'},
'supported_asset_types': {'key': 'supportedAssetTypes', 'type': 'FeedDtoSupportedAssetTypes'},
'regional_workspace_storage': {'key': 'regionalWorkspaceStorage', 'type': '{[str]}'},
'intellectual_property_publisher': {'key': 'intellectualPropertyPublisher', 'type': 'str'},
}
def __init__(
self,
*,
name: Optional[str] = None,
display_name: Optional[str] = None,
description: Optional[str] = None,
sharing_scopes: Optional[List["SharingScope"]] = None,
supported_asset_types: Optional["FeedDtoSupportedAssetTypes"] = None,
regional_workspace_storage: Optional[Dict[str, List[str]]] = None,
intellectual_property_publisher: Optional[str] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword display_name:
:paramtype display_name: str
:keyword description:
:paramtype description: str
:keyword sharing_scopes:
:paramtype sharing_scopes: list[~flow.models.SharingScope]
:keyword supported_asset_types:
:paramtype supported_asset_types: ~flow.models.FeedDtoSupportedAssetTypes
:keyword regional_workspace_storage: This is a dictionary.
:paramtype regional_workspace_storage: dict[str, list[str]]
:keyword intellectual_property_publisher:
:paramtype intellectual_property_publisher: str
"""
super(FeedDto, self).__init__(**kwargs)
self.name = name
self.display_name = display_name
self.description = description
self.sharing_scopes = sharing_scopes
self.supported_asset_types = supported_asset_types
self.regional_workspace_storage = regional_workspace_storage
self.intellectual_property_publisher = intellectual_property_publisher
class FeedDtoSupportedAssetTypes(msrest.serialization.Model):
"""FeedDtoSupportedAssetTypes.
:ivar component:
:vartype component: ~flow.models.AssetTypeMetaInfo
:ivar model:
:vartype model: ~flow.models.AssetTypeMetaInfo
:ivar environment:
:vartype environment: ~flow.models.AssetTypeMetaInfo
:ivar dataset:
:vartype dataset: ~flow.models.AssetTypeMetaInfo
:ivar data_store:
:vartype data_store: ~flow.models.AssetTypeMetaInfo
:ivar sample_graph:
:vartype sample_graph: ~flow.models.AssetTypeMetaInfo
:ivar flow_tool:
:vartype flow_tool: ~flow.models.AssetTypeMetaInfo
:ivar flow_tool_setting:
:vartype flow_tool_setting: ~flow.models.AssetTypeMetaInfo
:ivar flow_connection:
:vartype flow_connection: ~flow.models.AssetTypeMetaInfo
:ivar flow_sample:
:vartype flow_sample: ~flow.models.AssetTypeMetaInfo
:ivar flow_runtime_spec:
:vartype flow_runtime_spec: ~flow.models.AssetTypeMetaInfo
"""
_attribute_map = {
'component': {'key': 'Component', 'type': 'AssetTypeMetaInfo'},
'model': {'key': 'Model', 'type': 'AssetTypeMetaInfo'},
'environment': {'key': 'Environment', 'type': 'AssetTypeMetaInfo'},
'dataset': {'key': 'Dataset', 'type': 'AssetTypeMetaInfo'},
'data_store': {'key': 'DataStore', 'type': 'AssetTypeMetaInfo'},
'sample_graph': {'key': 'SampleGraph', 'type': 'AssetTypeMetaInfo'},
'flow_tool': {'key': 'FlowTool', 'type': 'AssetTypeMetaInfo'},
'flow_tool_setting': {'key': 'FlowToolSetting', 'type': 'AssetTypeMetaInfo'},
'flow_connection': {'key': 'FlowConnection', 'type': 'AssetTypeMetaInfo'},
'flow_sample': {'key': 'FlowSample', 'type': 'AssetTypeMetaInfo'},
'flow_runtime_spec': {'key': 'FlowRuntimeSpec', 'type': 'AssetTypeMetaInfo'},
}
def __init__(
self,
*,
component: Optional["AssetTypeMetaInfo"] = None,
model: Optional["AssetTypeMetaInfo"] = None,
environment: Optional["AssetTypeMetaInfo"] = None,
dataset: Optional["AssetTypeMetaInfo"] = None,
data_store: Optional["AssetTypeMetaInfo"] = None,
sample_graph: Optional["AssetTypeMetaInfo"] = None,
flow_tool: Optional["AssetTypeMetaInfo"] = None,
flow_tool_setting: Optional["AssetTypeMetaInfo"] = None,
flow_connection: Optional["AssetTypeMetaInfo"] = None,
flow_sample: Optional["AssetTypeMetaInfo"] = None,
flow_runtime_spec: Optional["AssetTypeMetaInfo"] = None,
**kwargs
):
"""
:keyword component:
:paramtype component: ~flow.models.AssetTypeMetaInfo
:keyword model:
:paramtype model: ~flow.models.AssetTypeMetaInfo
:keyword environment:
:paramtype environment: ~flow.models.AssetTypeMetaInfo
:keyword dataset:
:paramtype dataset: ~flow.models.AssetTypeMetaInfo
:keyword data_store:
:paramtype data_store: ~flow.models.AssetTypeMetaInfo
:keyword sample_graph:
:paramtype sample_graph: ~flow.models.AssetTypeMetaInfo
:keyword flow_tool:
:paramtype flow_tool: ~flow.models.AssetTypeMetaInfo
:keyword flow_tool_setting:
:paramtype flow_tool_setting: ~flow.models.AssetTypeMetaInfo
:keyword flow_connection:
:paramtype flow_connection: ~flow.models.AssetTypeMetaInfo
:keyword flow_sample:
:paramtype flow_sample: ~flow.models.AssetTypeMetaInfo
:keyword flow_runtime_spec:
:paramtype flow_runtime_spec: ~flow.models.AssetTypeMetaInfo
"""
super(FeedDtoSupportedAssetTypes, self).__init__(**kwargs)
self.component = component
self.model = model
self.environment = environment
self.dataset = dataset
self.data_store = data_store
self.sample_graph = sample_graph
self.flow_tool = flow_tool
self.flow_tool_setting = flow_tool_setting
self.flow_connection = flow_connection
self.flow_sample = flow_sample
self.flow_runtime_spec = flow_runtime_spec
class FileSystem(msrest.serialization.Model):
"""FileSystem.
:ivar connection:
:vartype connection: str
:ivar path:
:vartype path: str
"""
_attribute_map = {
'connection': {'key': 'connection', 'type': 'str'},
'path': {'key': 'path', 'type': 'str'},
}
def __init__(
self,
*,
connection: Optional[str] = None,
path: Optional[str] = None,
**kwargs
):
"""
:keyword connection:
:paramtype connection: str
:keyword path:
:paramtype path: str
"""
super(FileSystem, self).__init__(**kwargs)
self.connection = connection
self.path = path
class Flow(msrest.serialization.Model):
"""Flow.
:ivar source_resource_id:
:vartype source_resource_id: str
:ivar flow_graph:
:vartype flow_graph: ~flow.models.FlowGraph
:ivar node_variants: This is a dictionary.
:vartype node_variants: dict[str, ~flow.models.NodeVariant]
:ivar flow_graph_layout:
:vartype flow_graph_layout: ~flow.models.FlowGraphLayout
:ivar bulk_test_data: This is a dictionary.
:vartype bulk_test_data: dict[str, str]
:ivar evaluation_flows: This is a dictionary.
:vartype evaluation_flows: dict[str, ~flow.models.FlowGraphReference]
"""
_attribute_map = {
'source_resource_id': {'key': 'sourceResourceId', 'type': 'str'},
'flow_graph': {'key': 'flowGraph', 'type': 'FlowGraph'},
'node_variants': {'key': 'nodeVariants', 'type': '{NodeVariant}'},
'flow_graph_layout': {'key': 'flowGraphLayout', 'type': 'FlowGraphLayout'},
'bulk_test_data': {'key': 'bulkTestData', 'type': '{str}'},
'evaluation_flows': {'key': 'evaluationFlows', 'type': '{FlowGraphReference}'},
}
def __init__(
self,
*,
source_resource_id: Optional[str] = None,
flow_graph: Optional["FlowGraph"] = None,
node_variants: Optional[Dict[str, "NodeVariant"]] = None,
flow_graph_layout: Optional["FlowGraphLayout"] = None,
bulk_test_data: Optional[Dict[str, str]] = None,
evaluation_flows: Optional[Dict[str, "FlowGraphReference"]] = None,
**kwargs
):
"""
:keyword source_resource_id:
:paramtype source_resource_id: str
:keyword flow_graph:
:paramtype flow_graph: ~flow.models.FlowGraph
:keyword node_variants: This is a dictionary.
:paramtype node_variants: dict[str, ~flow.models.NodeVariant]
:keyword flow_graph_layout:
:paramtype flow_graph_layout: ~flow.models.FlowGraphLayout
:keyword bulk_test_data: This is a dictionary.
:paramtype bulk_test_data: dict[str, str]
:keyword evaluation_flows: This is a dictionary.
:paramtype evaluation_flows: dict[str, ~flow.models.FlowGraphReference]
"""
super(Flow, self).__init__(**kwargs)
self.source_resource_id = source_resource_id
self.flow_graph = flow_graph
self.node_variants = node_variants
self.flow_graph_layout = flow_graph_layout
self.bulk_test_data = bulk_test_data
self.evaluation_flows = evaluation_flows
class FlowAnnotations(msrest.serialization.Model):
"""FlowAnnotations.
:ivar flow_name:
:vartype flow_name: str
:ivar created_date:
:vartype created_date: ~datetime.datetime
:ivar last_modified_date:
:vartype last_modified_date: ~datetime.datetime
:ivar owner:
:vartype owner: ~flow.models.SchemaContractsCreatedBy
:ivar is_archived:
:vartype is_archived: bool
:ivar vm_size:
:vartype vm_size: str
:ivar max_idle_time_seconds:
:vartype max_idle_time_seconds: long
:ivar name:
:vartype name: str
:ivar description:
:vartype description: str
:ivar archived:
:vartype archived: bool
:ivar tags: A set of tags. Dictionary of :code:`<string>`.
:vartype tags: dict[str, str]
"""
_attribute_map = {
'flow_name': {'key': 'flowName', 'type': 'str'},
'created_date': {'key': 'createdDate', 'type': 'iso-8601'},
'last_modified_date': {'key': 'lastModifiedDate', 'type': 'iso-8601'},
'owner': {'key': 'owner', 'type': 'SchemaContractsCreatedBy'},
'is_archived': {'key': 'isArchived', 'type': 'bool'},
'vm_size': {'key': 'vmSize', 'type': 'str'},
'max_idle_time_seconds': {'key': 'maxIdleTimeSeconds', 'type': 'long'},
'name': {'key': 'name', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'archived': {'key': 'archived', 'type': 'bool'},
'tags': {'key': 'tags', 'type': '{str}'},
}
def __init__(
self,
*,
flow_name: Optional[str] = None,
created_date: Optional[datetime.datetime] = None,
last_modified_date: Optional[datetime.datetime] = None,
owner: Optional["SchemaContractsCreatedBy"] = None,
is_archived: Optional[bool] = None,
vm_size: Optional[str] = None,
max_idle_time_seconds: Optional[int] = None,
name: Optional[str] = None,
description: Optional[str] = None,
archived: Optional[bool] = None,
tags: Optional[Dict[str, str]] = None,
**kwargs
):
"""
:keyword flow_name:
:paramtype flow_name: str
:keyword created_date:
:paramtype created_date: ~datetime.datetime
:keyword last_modified_date:
:paramtype last_modified_date: ~datetime.datetime
:keyword owner:
:paramtype owner: ~flow.models.SchemaContractsCreatedBy
:keyword is_archived:
:paramtype is_archived: bool
:keyword vm_size:
:paramtype vm_size: str
:keyword max_idle_time_seconds:
:paramtype max_idle_time_seconds: long
:keyword name:
:paramtype name: str
:keyword description:
:paramtype description: str
:keyword archived:
:paramtype archived: bool
:keyword tags: A set of tags. Dictionary of :code:`<string>`.
:paramtype tags: dict[str, str]
"""
super(FlowAnnotations, self).__init__(**kwargs)
self.flow_name = flow_name
self.created_date = created_date
self.last_modified_date = last_modified_date
self.owner = owner
self.is_archived = is_archived
self.vm_size = vm_size
self.max_idle_time_seconds = max_idle_time_seconds
self.name = name
self.description = description
self.archived = archived
self.tags = tags
class FlowBaseDto(msrest.serialization.Model):
"""FlowBaseDto.
:ivar flow_id:
:vartype flow_id: str
:ivar flow_name:
:vartype flow_name: str
:ivar description:
:vartype description: str
:ivar tags: A set of tags. Dictionary of :code:`<string>`.
:vartype tags: dict[str, str]
:ivar flow_type: Possible values include: "Default", "Evaluation", "Chat", "Rag".
:vartype flow_type: str or ~flow.models.FlowType
:ivar experiment_id:
:vartype experiment_id: str
:ivar created_date:
:vartype created_date: ~datetime.datetime
:ivar last_modified_date:
:vartype last_modified_date: ~datetime.datetime
:ivar owner:
:vartype owner: ~flow.models.SchemaContractsCreatedBy
:ivar flow_resource_id:
:vartype flow_resource_id: str
:ivar is_archived:
:vartype is_archived: bool
:ivar flow_definition_file_path:
:vartype flow_definition_file_path: str
:ivar vm_size:
:vartype vm_size: str
:ivar max_idle_time_seconds:
:vartype max_idle_time_seconds: long
:ivar identity:
:vartype identity: str
"""
_attribute_map = {
'flow_id': {'key': 'flowId', 'type': 'str'},
'flow_name': {'key': 'flowName', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'flow_type': {'key': 'flowType', 'type': 'str'},
'experiment_id': {'key': 'experimentId', 'type': 'str'},
'created_date': {'key': 'createdDate', 'type': 'iso-8601'},
'last_modified_date': {'key': 'lastModifiedDate', 'type': 'iso-8601'},
'owner': {'key': 'owner', 'type': 'SchemaContractsCreatedBy'},
'flow_resource_id': {'key': 'flowResourceId', 'type': 'str'},
'is_archived': {'key': 'isArchived', 'type': 'bool'},
'flow_definition_file_path': {'key': 'flowDefinitionFilePath', 'type': 'str'},
'vm_size': {'key': 'vmSize', 'type': 'str'},
'max_idle_time_seconds': {'key': 'maxIdleTimeSeconds', 'type': 'long'},
'identity': {'key': 'identity', 'type': 'str'},
}
def __init__(
self,
*,
flow_id: Optional[str] = None,
flow_name: Optional[str] = None,
description: Optional[str] = None,
tags: Optional[Dict[str, str]] = None,
flow_type: Optional[Union[str, "FlowType"]] = None,
experiment_id: Optional[str] = None,
created_date: Optional[datetime.datetime] = None,
last_modified_date: Optional[datetime.datetime] = None,
owner: Optional["SchemaContractsCreatedBy"] = None,
flow_resource_id: Optional[str] = None,
is_archived: Optional[bool] = None,
flow_definition_file_path: Optional[str] = None,
vm_size: Optional[str] = None,
max_idle_time_seconds: Optional[int] = None,
identity: Optional[str] = None,
**kwargs
):
"""
:keyword flow_id:
:paramtype flow_id: str
:keyword flow_name:
:paramtype flow_name: str
:keyword description:
:paramtype description: str
:keyword tags: A set of tags. Dictionary of :code:`<string>`.
:paramtype tags: dict[str, str]
:keyword flow_type: Possible values include: "Default", "Evaluation", "Chat", "Rag".
:paramtype flow_type: str or ~flow.models.FlowType
:keyword experiment_id:
:paramtype experiment_id: str
:keyword created_date:
:paramtype created_date: ~datetime.datetime
:keyword last_modified_date:
:paramtype last_modified_date: ~datetime.datetime
:keyword owner:
:paramtype owner: ~flow.models.SchemaContractsCreatedBy
:keyword flow_resource_id:
:paramtype flow_resource_id: str
:keyword is_archived:
:paramtype is_archived: bool
:keyword flow_definition_file_path:
:paramtype flow_definition_file_path: str
:keyword vm_size:
:paramtype vm_size: str
:keyword max_idle_time_seconds:
:paramtype max_idle_time_seconds: long
:keyword identity:
:paramtype identity: str
"""
super(FlowBaseDto, self).__init__(**kwargs)
self.flow_id = flow_id
self.flow_name = flow_name
self.description = description
self.tags = tags
self.flow_type = flow_type
self.experiment_id = experiment_id
self.created_date = created_date
self.last_modified_date = last_modified_date
self.owner = owner
self.flow_resource_id = flow_resource_id
self.is_archived = is_archived
self.flow_definition_file_path = flow_definition_file_path
self.vm_size = vm_size
self.max_idle_time_seconds = max_idle_time_seconds
self.identity = identity
class FlowDto(msrest.serialization.Model):
"""FlowDto.
:ivar timestamp:
:vartype timestamp: ~datetime.datetime
:ivar e_tag: Any object.
:vartype e_tag: any
:ivar flow:
:vartype flow: ~flow.models.Flow
:ivar flow_run_settings:
:vartype flow_run_settings: ~flow.models.FlowRunSettings
:ivar flow_run_result:
:vartype flow_run_result: ~flow.models.FlowRunResult
:ivar flow_test_mode: Possible values include: "Sync", "Async".
:vartype flow_test_mode: str or ~flow.models.FlowTestMode
:ivar flow_test_infos: Dictionary of :code:`<FlowTestInfo>`.
:vartype flow_test_infos: dict[str, ~flow.models.FlowTestInfo]
:ivar studio_portal_endpoint:
:vartype studio_portal_endpoint: str
:ivar flow_id:
:vartype flow_id: str
:ivar flow_name:
:vartype flow_name: str
:ivar description:
:vartype description: str
:ivar tags: A set of tags. Dictionary of :code:`<string>`.
:vartype tags: dict[str, str]
:ivar flow_type: Possible values include: "Default", "Evaluation", "Chat", "Rag".
:vartype flow_type: str or ~flow.models.FlowType
:ivar experiment_id:
:vartype experiment_id: str
:ivar created_date:
:vartype created_date: ~datetime.datetime
:ivar last_modified_date:
:vartype last_modified_date: ~datetime.datetime
:ivar owner:
:vartype owner: ~flow.models.SchemaContractsCreatedBy
:ivar flow_resource_id:
:vartype flow_resource_id: str
:ivar is_archived:
:vartype is_archived: bool
:ivar flow_definition_file_path:
:vartype flow_definition_file_path: str
:ivar vm_size:
:vartype vm_size: str
:ivar max_idle_time_seconds:
:vartype max_idle_time_seconds: long
:ivar identity:
:vartype identity: str
"""
_attribute_map = {
'timestamp': {'key': 'timestamp', 'type': 'iso-8601'},
'e_tag': {'key': 'eTag', 'type': 'object'},
'flow': {'key': 'flow', 'type': 'Flow'},
'flow_run_settings': {'key': 'flowRunSettings', 'type': 'FlowRunSettings'},
'flow_run_result': {'key': 'flowRunResult', 'type': 'FlowRunResult'},
'flow_test_mode': {'key': 'flowTestMode', 'type': 'str'},
'flow_test_infos': {'key': 'flowTestInfos', 'type': '{FlowTestInfo}'},
'studio_portal_endpoint': {'key': 'studioPortalEndpoint', 'type': 'str'},
'flow_id': {'key': 'flowId', 'type': 'str'},
'flow_name': {'key': 'flowName', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'flow_type': {'key': 'flowType', 'type': 'str'},
'experiment_id': {'key': 'experimentId', 'type': 'str'},
'created_date': {'key': 'createdDate', 'type': 'iso-8601'},
'last_modified_date': {'key': 'lastModifiedDate', 'type': 'iso-8601'},
'owner': {'key': 'owner', 'type': 'SchemaContractsCreatedBy'},
'flow_resource_id': {'key': 'flowResourceId', 'type': 'str'},
'is_archived': {'key': 'isArchived', 'type': 'bool'},
'flow_definition_file_path': {'key': 'flowDefinitionFilePath', 'type': 'str'},
'vm_size': {'key': 'vmSize', 'type': 'str'},
'max_idle_time_seconds': {'key': 'maxIdleTimeSeconds', 'type': 'long'},
'identity': {'key': 'identity', 'type': 'str'},
}
def __init__(
self,
*,
timestamp: Optional[datetime.datetime] = None,
e_tag: Optional[Any] = None,
flow: Optional["Flow"] = None,
flow_run_settings: Optional["FlowRunSettings"] = None,
flow_run_result: Optional["FlowRunResult"] = None,
flow_test_mode: Optional[Union[str, "FlowTestMode"]] = None,
flow_test_infos: Optional[Dict[str, "FlowTestInfo"]] = None,
studio_portal_endpoint: Optional[str] = None,
flow_id: Optional[str] = None,
flow_name: Optional[str] = None,
description: Optional[str] = None,
tags: Optional[Dict[str, str]] = None,
flow_type: Optional[Union[str, "FlowType"]] = None,
experiment_id: Optional[str] = None,
created_date: Optional[datetime.datetime] = None,
last_modified_date: Optional[datetime.datetime] = None,
owner: Optional["SchemaContractsCreatedBy"] = None,
flow_resource_id: Optional[str] = None,
is_archived: Optional[bool] = None,
flow_definition_file_path: Optional[str] = None,
vm_size: Optional[str] = None,
max_idle_time_seconds: Optional[int] = None,
identity: Optional[str] = None,
**kwargs
):
"""
:keyword timestamp:
:paramtype timestamp: ~datetime.datetime
:keyword e_tag: Any object.
:paramtype e_tag: any
:keyword flow:
:paramtype flow: ~flow.models.Flow
:keyword flow_run_settings:
:paramtype flow_run_settings: ~flow.models.FlowRunSettings
:keyword flow_run_result:
:paramtype flow_run_result: ~flow.models.FlowRunResult
:keyword flow_test_mode: Possible values include: "Sync", "Async".
:paramtype flow_test_mode: str or ~flow.models.FlowTestMode
:keyword flow_test_infos: Dictionary of :code:`<FlowTestInfo>`.
:paramtype flow_test_infos: dict[str, ~flow.models.FlowTestInfo]
:keyword studio_portal_endpoint:
:paramtype studio_portal_endpoint: str
:keyword flow_id:
:paramtype flow_id: str
:keyword flow_name:
:paramtype flow_name: str
:keyword description:
:paramtype description: str
:keyword tags: A set of tags. Dictionary of :code:`<string>`.
:paramtype tags: dict[str, str]
:keyword flow_type: Possible values include: "Default", "Evaluation", "Chat", "Rag".
:paramtype flow_type: str or ~flow.models.FlowType
:keyword experiment_id:
:paramtype experiment_id: str
:keyword created_date:
:paramtype created_date: ~datetime.datetime
:keyword last_modified_date:
:paramtype last_modified_date: ~datetime.datetime
:keyword owner:
:paramtype owner: ~flow.models.SchemaContractsCreatedBy
:keyword flow_resource_id:
:paramtype flow_resource_id: str
:keyword is_archived:
:paramtype is_archived: bool
:keyword flow_definition_file_path:
:paramtype flow_definition_file_path: str
:keyword vm_size:
:paramtype vm_size: str
:keyword max_idle_time_seconds:
:paramtype max_idle_time_seconds: long
:keyword identity:
:paramtype identity: str
"""
super(FlowDto, self).__init__(**kwargs)
self.timestamp = timestamp
self.e_tag = e_tag
self.flow = flow
self.flow_run_settings = flow_run_settings
self.flow_run_result = flow_run_result
self.flow_test_mode = flow_test_mode
self.flow_test_infos = flow_test_infos
self.studio_portal_endpoint = studio_portal_endpoint
self.flow_id = flow_id
self.flow_name = flow_name
self.description = description
self.tags = tags
self.flow_type = flow_type
self.experiment_id = experiment_id
self.created_date = created_date
self.last_modified_date = last_modified_date
self.owner = owner
self.flow_resource_id = flow_resource_id
self.is_archived = is_archived
self.flow_definition_file_path = flow_definition_file_path
self.vm_size = vm_size
self.max_idle_time_seconds = max_idle_time_seconds
self.identity = identity
class FlowEnvironment(msrest.serialization.Model):
"""FlowEnvironment.
:ivar image:
:vartype image: str
:ivar python_requirements_txt:
:vartype python_requirements_txt: str
"""
_attribute_map = {
'image': {'key': 'image', 'type': 'str'},
'python_requirements_txt': {'key': 'python_requirements_txt', 'type': 'str'},
}
def __init__(
self,
*,
image: Optional[str] = None,
python_requirements_txt: Optional[str] = None,
**kwargs
):
"""
:keyword image:
:paramtype image: str
:keyword python_requirements_txt:
:paramtype python_requirements_txt: str
"""
super(FlowEnvironment, self).__init__(**kwargs)
self.image = image
self.python_requirements_txt = python_requirements_txt
class FlowFeature(msrest.serialization.Model):
"""FlowFeature.
:ivar name:
:vartype name: str
:ivar description:
:vartype description: str
:ivar state:
:vartype state: ~flow.models.FlowFeatureState
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'state': {'key': 'state', 'type': 'FlowFeatureState'},
}
def __init__(
self,
*,
name: Optional[str] = None,
description: Optional[str] = None,
state: Optional["FlowFeatureState"] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword description:
:paramtype description: str
:keyword state:
:paramtype state: ~flow.models.FlowFeatureState
"""
super(FlowFeature, self).__init__(**kwargs)
self.name = name
self.description = description
self.state = state
class FlowFeatureState(msrest.serialization.Model):
"""FlowFeatureState.
:ivar runtime: Possible values include: "Ready", "E2ETest".
:vartype runtime: str or ~flow.models.FlowFeatureStateEnum
:ivar executor: Possible values include: "Ready", "E2ETest".
:vartype executor: str or ~flow.models.FlowFeatureStateEnum
:ivar pfs: Possible values include: "Ready", "E2ETest".
:vartype pfs: str or ~flow.models.FlowFeatureStateEnum
"""
_attribute_map = {
'runtime': {'key': 'Runtime', 'type': 'str'},
'executor': {'key': 'Executor', 'type': 'str'},
'pfs': {'key': 'PFS', 'type': 'str'},
}
def __init__(
self,
*,
runtime: Optional[Union[str, "FlowFeatureStateEnum"]] = None,
executor: Optional[Union[str, "FlowFeatureStateEnum"]] = None,
pfs: Optional[Union[str, "FlowFeatureStateEnum"]] = None,
**kwargs
):
"""
:keyword runtime: Possible values include: "Ready", "E2ETest".
:paramtype runtime: str or ~flow.models.FlowFeatureStateEnum
:keyword executor: Possible values include: "Ready", "E2ETest".
:paramtype executor: str or ~flow.models.FlowFeatureStateEnum
:keyword pfs: Possible values include: "Ready", "E2ETest".
:paramtype pfs: str or ~flow.models.FlowFeatureStateEnum
"""
super(FlowFeatureState, self).__init__(**kwargs)
self.runtime = runtime
self.executor = executor
self.pfs = pfs
class FlowGraph(msrest.serialization.Model):
"""FlowGraph.
:ivar nodes:
:vartype nodes: list[~flow.models.Node]
:ivar tools:
:vartype tools: list[~flow.models.Tool]
:ivar codes: This is a dictionary.
:vartype codes: dict[str, str]
:ivar inputs: This is a dictionary.
:vartype inputs: dict[str, ~flow.models.FlowInputDefinition]
:ivar outputs: This is a dictionary.
:vartype outputs: dict[str, ~flow.models.FlowOutputDefinition]
"""
_attribute_map = {
'nodes': {'key': 'nodes', 'type': '[Node]'},
'tools': {'key': 'tools', 'type': '[Tool]'},
'codes': {'key': 'codes', 'type': '{str}'},
'inputs': {'key': 'inputs', 'type': '{FlowInputDefinition}'},
'outputs': {'key': 'outputs', 'type': '{FlowOutputDefinition}'},
}
def __init__(
self,
*,
nodes: Optional[List["Node"]] = None,
tools: Optional[List["Tool"]] = None,
codes: Optional[Dict[str, str]] = None,
inputs: Optional[Dict[str, "FlowInputDefinition"]] = None,
outputs: Optional[Dict[str, "FlowOutputDefinition"]] = None,
**kwargs
):
"""
:keyword nodes:
:paramtype nodes: list[~flow.models.Node]
:keyword tools:
:paramtype tools: list[~flow.models.Tool]
:keyword codes: This is a dictionary.
:paramtype codes: dict[str, str]
:keyword inputs: This is a dictionary.
:paramtype inputs: dict[str, ~flow.models.FlowInputDefinition]
:keyword outputs: This is a dictionary.
:paramtype outputs: dict[str, ~flow.models.FlowOutputDefinition]
"""
super(FlowGraph, self).__init__(**kwargs)
self.nodes = nodes
self.tools = tools
self.codes = codes
self.inputs = inputs
self.outputs = outputs
class FlowGraphAnnotationNode(msrest.serialization.Model):
"""FlowGraphAnnotationNode.
:ivar id:
:vartype id: str
:ivar content:
:vartype content: str
:ivar mentioned_node_names:
:vartype mentioned_node_names: list[str]
:ivar structured_content:
:vartype structured_content: str
"""
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'content': {'key': 'content', 'type': 'str'},
'mentioned_node_names': {'key': 'mentionedNodeNames', 'type': '[str]'},
'structured_content': {'key': 'structuredContent', 'type': 'str'},
}
def __init__(
self,
*,
id: Optional[str] = None,
content: Optional[str] = None,
mentioned_node_names: Optional[List[str]] = None,
structured_content: Optional[str] = None,
**kwargs
):
"""
:keyword id:
:paramtype id: str
:keyword content:
:paramtype content: str
:keyword mentioned_node_names:
:paramtype mentioned_node_names: list[str]
:keyword structured_content:
:paramtype structured_content: str
"""
super(FlowGraphAnnotationNode, self).__init__(**kwargs)
self.id = id
self.content = content
self.mentioned_node_names = mentioned_node_names
self.structured_content = structured_content
class FlowGraphLayout(msrest.serialization.Model):
"""FlowGraphLayout.
:ivar node_layouts: This is a dictionary.
:vartype node_layouts: dict[str, ~flow.models.FlowNodeLayout]
:ivar extended_data:
:vartype extended_data: str
:ivar annotation_nodes:
:vartype annotation_nodes: list[~flow.models.FlowGraphAnnotationNode]
:ivar orientation: Possible values include: "Horizontal", "Vertical".
:vartype orientation: str or ~flow.models.Orientation
"""
_attribute_map = {
'node_layouts': {'key': 'nodeLayouts', 'type': '{FlowNodeLayout}'},
'extended_data': {'key': 'extendedData', 'type': 'str'},
'annotation_nodes': {'key': 'annotationNodes', 'type': '[FlowGraphAnnotationNode]'},
'orientation': {'key': 'orientation', 'type': 'str'},
}
def __init__(
self,
*,
node_layouts: Optional[Dict[str, "FlowNodeLayout"]] = None,
extended_data: Optional[str] = None,
annotation_nodes: Optional[List["FlowGraphAnnotationNode"]] = None,
orientation: Optional[Union[str, "Orientation"]] = None,
**kwargs
):
"""
:keyword node_layouts: This is a dictionary.
:paramtype node_layouts: dict[str, ~flow.models.FlowNodeLayout]
:keyword extended_data:
:paramtype extended_data: str
:keyword annotation_nodes:
:paramtype annotation_nodes: list[~flow.models.FlowGraphAnnotationNode]
:keyword orientation: Possible values include: "Horizontal", "Vertical".
:paramtype orientation: str or ~flow.models.Orientation
"""
super(FlowGraphLayout, self).__init__(**kwargs)
self.node_layouts = node_layouts
self.extended_data = extended_data
self.annotation_nodes = annotation_nodes
self.orientation = orientation
class FlowGraphReference(msrest.serialization.Model):
"""FlowGraphReference.
:ivar flow_graph:
:vartype flow_graph: ~flow.models.FlowGraph
:ivar reference_resource_id:
:vartype reference_resource_id: str
"""
_attribute_map = {
'flow_graph': {'key': 'flowGraph', 'type': 'FlowGraph'},
'reference_resource_id': {'key': 'referenceResourceId', 'type': 'str'},
}
def __init__(
self,
*,
flow_graph: Optional["FlowGraph"] = None,
reference_resource_id: Optional[str] = None,
**kwargs
):
"""
:keyword flow_graph:
:paramtype flow_graph: ~flow.models.FlowGraph
:keyword reference_resource_id:
:paramtype reference_resource_id: str
"""
super(FlowGraphReference, self).__init__(**kwargs)
self.flow_graph = flow_graph
self.reference_resource_id = reference_resource_id
class FlowIndexEntity(msrest.serialization.Model):
"""FlowIndexEntity.
Variables are only populated by the server, and will be ignored when sending a request.
:ivar schema_id:
:vartype schema_id: str
:ivar entity_id:
:vartype entity_id: str
:ivar kind: Possible values include: "Invalid", "LineageRoot", "Versioned", "Unversioned".
:vartype kind: str or ~flow.models.EntityKind
:ivar annotations:
:vartype annotations: ~flow.models.FlowAnnotations
:ivar properties:
:vartype properties: ~flow.models.FlowProperties
:ivar internal: Any object.
:vartype internal: any
:ivar update_sequence:
:vartype update_sequence: long
:ivar type:
:vartype type: str
:ivar version:
:vartype version: str
:ivar entity_container_id:
:vartype entity_container_id: str
:ivar entity_object_id:
:vartype entity_object_id: str
:ivar resource_type:
:vartype resource_type: str
:ivar relationships:
:vartype relationships: list[~flow.models.Relationship]
:ivar asset_id:
:vartype asset_id: str
"""
_validation = {
'version': {'readonly': True},
'entity_container_id': {'readonly': True},
'entity_object_id': {'readonly': True},
'resource_type': {'readonly': True},
}
_attribute_map = {
'schema_id': {'key': 'schemaId', 'type': 'str'},
'entity_id': {'key': 'entityId', 'type': 'str'},
'kind': {'key': 'kind', 'type': 'str'},
'annotations': {'key': 'annotations', 'type': 'FlowAnnotations'},
'properties': {'key': 'properties', 'type': 'FlowProperties'},
'internal': {'key': 'internal', 'type': 'object'},
'update_sequence': {'key': 'updateSequence', 'type': 'long'},
'type': {'key': 'type', 'type': 'str'},
'version': {'key': 'version', 'type': 'str'},
'entity_container_id': {'key': 'entityContainerId', 'type': 'str'},
'entity_object_id': {'key': 'entityObjectId', 'type': 'str'},
'resource_type': {'key': 'resourceType', 'type': 'str'},
'relationships': {'key': 'relationships', 'type': '[Relationship]'},
'asset_id': {'key': 'assetId', 'type': 'str'},
}
def __init__(
self,
*,
schema_id: Optional[str] = None,
entity_id: Optional[str] = None,
kind: Optional[Union[str, "EntityKind"]] = None,
annotations: Optional["FlowAnnotations"] = None,
properties: Optional["FlowProperties"] = None,
internal: Optional[Any] = None,
update_sequence: Optional[int] = None,
type: Optional[str] = None,
relationships: Optional[List["Relationship"]] = None,
asset_id: Optional[str] = None,
**kwargs
):
"""
:keyword schema_id:
:paramtype schema_id: str
:keyword entity_id:
:paramtype entity_id: str
:keyword kind: Possible values include: "Invalid", "LineageRoot", "Versioned", "Unversioned".
:paramtype kind: str or ~flow.models.EntityKind
:keyword annotations:
:paramtype annotations: ~flow.models.FlowAnnotations
:keyword properties:
:paramtype properties: ~flow.models.FlowProperties
:keyword internal: Any object.
:paramtype internal: any
:keyword update_sequence:
:paramtype update_sequence: long
:keyword type:
:paramtype type: str
:keyword relationships:
:paramtype relationships: list[~flow.models.Relationship]
:keyword asset_id:
:paramtype asset_id: str
"""
super(FlowIndexEntity, self).__init__(**kwargs)
self.schema_id = schema_id
self.entity_id = entity_id
self.kind = kind
self.annotations = annotations
self.properties = properties
self.internal = internal
self.update_sequence = update_sequence
self.type = type
self.version = None
self.entity_container_id = None
self.entity_object_id = None
self.resource_type = None
self.relationships = relationships
self.asset_id = asset_id
class FlowInputDefinition(msrest.serialization.Model):
"""FlowInputDefinition.
:ivar name:
:vartype name: str
:ivar type: Possible values include: "int", "double", "bool", "string", "secret",
"prompt_template", "object", "list", "BingConnection", "OpenAIConnection",
"AzureOpenAIConnection", "AzureContentModeratorConnection", "CustomConnection",
"AzureContentSafetyConnection", "SerpConnection", "CognitiveSearchConnection",
"SubstrateLLMConnection", "PineconeConnection", "QdrantConnection", "WeaviateConnection",
"function_list", "function_str", "FormRecognizerConnection", "file_path", "image".
:vartype type: str or ~flow.models.ValueType
:ivar default: Anything.
:vartype default: any
:ivar description:
:vartype description: str
:ivar is_chat_input:
:vartype is_chat_input: bool
:ivar is_chat_history:
:vartype is_chat_history: bool
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'default': {'key': 'default', 'type': 'object'},
'description': {'key': 'description', 'type': 'str'},
'is_chat_input': {'key': 'is_chat_input', 'type': 'bool'},
'is_chat_history': {'key': 'is_chat_history', 'type': 'bool'},
}
def __init__(
self,
*,
name: Optional[str] = None,
type: Optional[Union[str, "ValueType"]] = None,
default: Optional[Any] = None,
description: Optional[str] = None,
is_chat_input: Optional[bool] = None,
is_chat_history: Optional[bool] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword type: Possible values include: "int", "double", "bool", "string", "secret",
"prompt_template", "object", "list", "BingConnection", "OpenAIConnection",
"AzureOpenAIConnection", "AzureContentModeratorConnection", "CustomConnection",
"AzureContentSafetyConnection", "SerpConnection", "CognitiveSearchConnection",
"SubstrateLLMConnection", "PineconeConnection", "QdrantConnection", "WeaviateConnection",
"function_list", "function_str", "FormRecognizerConnection", "file_path", "image".
:paramtype type: str or ~flow.models.ValueType
:keyword default: Anything.
:paramtype default: any
:keyword description:
:paramtype description: str
:keyword is_chat_input:
:paramtype is_chat_input: bool
:keyword is_chat_history:
:paramtype is_chat_history: bool
"""
super(FlowInputDefinition, self).__init__(**kwargs)
self.name = name
self.type = type
self.default = default
self.description = description
self.is_chat_input = is_chat_input
self.is_chat_history = is_chat_history
class FlowNode(msrest.serialization.Model):
"""FlowNode.
:ivar name:
:vartype name: str
:ivar type: Possible values include: "llm", "python", "action", "prompt", "custom_llm",
"csharp".
:vartype type: str or ~flow.models.ToolType
:ivar source:
:vartype source: ~flow.models.NodeSource
:ivar inputs: Dictionary of :code:`<any>`.
:vartype inputs: dict[str, any]
:ivar use_variants:
:vartype use_variants: bool
:ivar activate:
:vartype activate: ~flow.models.Activate
:ivar comment:
:vartype comment: str
:ivar api:
:vartype api: str
:ivar provider:
:vartype provider: str
:ivar connection:
:vartype connection: str
:ivar module:
:vartype module: str
:ivar aggregation:
:vartype aggregation: bool
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'source': {'key': 'source', 'type': 'NodeSource'},
'inputs': {'key': 'inputs', 'type': '{object}'},
'use_variants': {'key': 'use_variants', 'type': 'bool'},
'activate': {'key': 'activate', 'type': 'Activate'},
'comment': {'key': 'comment', 'type': 'str'},
'api': {'key': 'api', 'type': 'str'},
'provider': {'key': 'provider', 'type': 'str'},
'connection': {'key': 'connection', 'type': 'str'},
'module': {'key': 'module', 'type': 'str'},
'aggregation': {'key': 'aggregation', 'type': 'bool'},
}
def __init__(
self,
*,
name: Optional[str] = None,
type: Optional[Union[str, "ToolType"]] = None,
source: Optional["NodeSource"] = None,
inputs: Optional[Dict[str, Any]] = None,
use_variants: Optional[bool] = None,
activate: Optional["Activate"] = None,
comment: Optional[str] = None,
api: Optional[str] = None,
provider: Optional[str] = None,
connection: Optional[str] = None,
module: Optional[str] = None,
aggregation: Optional[bool] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword type: Possible values include: "llm", "python", "action", "prompt", "custom_llm",
"csharp".
:paramtype type: str or ~flow.models.ToolType
:keyword source:
:paramtype source: ~flow.models.NodeSource
:keyword inputs: Dictionary of :code:`<any>`.
:paramtype inputs: dict[str, any]
:keyword use_variants:
:paramtype use_variants: bool
:keyword activate:
:paramtype activate: ~flow.models.Activate
:keyword comment:
:paramtype comment: str
:keyword api:
:paramtype api: str
:keyword provider:
:paramtype provider: str
:keyword connection:
:paramtype connection: str
:keyword module:
:paramtype module: str
:keyword aggregation:
:paramtype aggregation: bool
"""
super(FlowNode, self).__init__(**kwargs)
self.name = name
self.type = type
self.source = source
self.inputs = inputs
self.use_variants = use_variants
self.activate = activate
self.comment = comment
self.api = api
self.provider = provider
self.connection = connection
self.module = module
self.aggregation = aggregation
class FlowNodeLayout(msrest.serialization.Model):
"""FlowNodeLayout.
:ivar x:
:vartype x: float
:ivar y:
:vartype y: float
:ivar width:
:vartype width: float
:ivar height:
:vartype height: float
:ivar index:
:vartype index: int
:ivar extended_data:
:vartype extended_data: str
"""
_attribute_map = {
'x': {'key': 'x', 'type': 'float'},
'y': {'key': 'y', 'type': 'float'},
'width': {'key': 'width', 'type': 'float'},
'height': {'key': 'height', 'type': 'float'},
'index': {'key': 'index', 'type': 'int'},
'extended_data': {'key': 'extendedData', 'type': 'str'},
}
def __init__(
self,
*,
x: Optional[float] = None,
y: Optional[float] = None,
width: Optional[float] = None,
height: Optional[float] = None,
index: Optional[int] = None,
extended_data: Optional[str] = None,
**kwargs
):
"""
:keyword x:
:paramtype x: float
:keyword y:
:paramtype y: float
:keyword width:
:paramtype width: float
:keyword height:
:paramtype height: float
:keyword index:
:paramtype index: int
:keyword extended_data:
:paramtype extended_data: str
"""
super(FlowNodeLayout, self).__init__(**kwargs)
self.x = x
self.y = y
self.width = width
self.height = height
self.index = index
self.extended_data = extended_data
class FlowNodeVariant(msrest.serialization.Model):
"""FlowNodeVariant.
:ivar default_variant_id:
:vartype default_variant_id: str
:ivar variants: This is a dictionary.
:vartype variants: dict[str, ~flow.models.FlowVariantNode]
"""
_attribute_map = {
'default_variant_id': {'key': 'default_variant_id', 'type': 'str'},
'variants': {'key': 'variants', 'type': '{FlowVariantNode}'},
}
def __init__(
self,
*,
default_variant_id: Optional[str] = None,
variants: Optional[Dict[str, "FlowVariantNode"]] = None,
**kwargs
):
"""
:keyword default_variant_id:
:paramtype default_variant_id: str
:keyword variants: This is a dictionary.
:paramtype variants: dict[str, ~flow.models.FlowVariantNode]
"""
super(FlowNodeVariant, self).__init__(**kwargs)
self.default_variant_id = default_variant_id
self.variants = variants
class FlowOutputDefinition(msrest.serialization.Model):
"""FlowOutputDefinition.
:ivar name:
:vartype name: str
:ivar type: Possible values include: "int", "double", "bool", "string", "secret",
"prompt_template", "object", "list", "BingConnection", "OpenAIConnection",
"AzureOpenAIConnection", "AzureContentModeratorConnection", "CustomConnection",
"AzureContentSafetyConnection", "SerpConnection", "CognitiveSearchConnection",
"SubstrateLLMConnection", "PineconeConnection", "QdrantConnection", "WeaviateConnection",
"function_list", "function_str", "FormRecognizerConnection", "file_path", "image".
:vartype type: str or ~flow.models.ValueType
:ivar description:
:vartype description: str
:ivar reference:
:vartype reference: str
:ivar evaluation_only:
:vartype evaluation_only: bool
:ivar is_chat_output:
:vartype is_chat_output: bool
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'reference': {'key': 'reference', 'type': 'str'},
'evaluation_only': {'key': 'evaluation_only', 'type': 'bool'},
'is_chat_output': {'key': 'is_chat_output', 'type': 'bool'},
}
def __init__(
self,
*,
name: Optional[str] = None,
type: Optional[Union[str, "ValueType"]] = None,
description: Optional[str] = None,
reference: Optional[str] = None,
evaluation_only: Optional[bool] = None,
is_chat_output: Optional[bool] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword type: Possible values include: "int", "double", "bool", "string", "secret",
"prompt_template", "object", "list", "BingConnection", "OpenAIConnection",
"AzureOpenAIConnection", "AzureContentModeratorConnection", "CustomConnection",
"AzureContentSafetyConnection", "SerpConnection", "CognitiveSearchConnection",
"SubstrateLLMConnection", "PineconeConnection", "QdrantConnection", "WeaviateConnection",
"function_list", "function_str", "FormRecognizerConnection", "file_path", "image".
:paramtype type: str or ~flow.models.ValueType
:keyword description:
:paramtype description: str
:keyword reference:
:paramtype reference: str
:keyword evaluation_only:
:paramtype evaluation_only: bool
:keyword is_chat_output:
:paramtype is_chat_output: bool
"""
super(FlowOutputDefinition, self).__init__(**kwargs)
self.name = name
self.type = type
self.description = description
self.reference = reference
self.evaluation_only = evaluation_only
self.is_chat_output = is_chat_output
class FlowProperties(msrest.serialization.Model):
"""FlowProperties.
:ivar flow_id:
:vartype flow_id: str
:ivar experiment_id:
:vartype experiment_id: str
:ivar flow_type: Possible values include: "Default", "Evaluation", "Chat", "Rag".
:vartype flow_type: str or ~flow.models.FlowType
:ivar flow_definition_file_path:
:vartype flow_definition_file_path: str
:ivar creation_context:
:vartype creation_context: ~flow.models.CreationContext
"""
_attribute_map = {
'flow_id': {'key': 'flowId', 'type': 'str'},
'experiment_id': {'key': 'experimentId', 'type': 'str'},
'flow_type': {'key': 'flowType', 'type': 'str'},
'flow_definition_file_path': {'key': 'flowDefinitionFilePath', 'type': 'str'},
'creation_context': {'key': 'creationContext', 'type': 'CreationContext'},
}
def __init__(
self,
*,
flow_id: Optional[str] = None,
experiment_id: Optional[str] = None,
flow_type: Optional[Union[str, "FlowType"]] = None,
flow_definition_file_path: Optional[str] = None,
creation_context: Optional["CreationContext"] = None,
**kwargs
):
"""
:keyword flow_id:
:paramtype flow_id: str
:keyword experiment_id:
:paramtype experiment_id: str
:keyword flow_type: Possible values include: "Default", "Evaluation", "Chat", "Rag".
:paramtype flow_type: str or ~flow.models.FlowType
:keyword flow_definition_file_path:
:paramtype flow_definition_file_path: str
:keyword creation_context:
:paramtype creation_context: ~flow.models.CreationContext
"""
super(FlowProperties, self).__init__(**kwargs)
self.flow_id = flow_id
self.experiment_id = experiment_id
self.flow_type = flow_type
self.flow_definition_file_path = flow_definition_file_path
self.creation_context = creation_context
class FlowRunBasePath(msrest.serialization.Model):
"""FlowRunBasePath.
:ivar output_datastore_name:
:vartype output_datastore_name: str
:ivar base_path:
:vartype base_path: str
"""
_attribute_map = {
'output_datastore_name': {'key': 'outputDatastoreName', 'type': 'str'},
'base_path': {'key': 'basePath', 'type': 'str'},
}
def __init__(
self,
*,
output_datastore_name: Optional[str] = None,
base_path: Optional[str] = None,
**kwargs
):
"""
:keyword output_datastore_name:
:paramtype output_datastore_name: str
:keyword base_path:
:paramtype base_path: str
"""
super(FlowRunBasePath, self).__init__(**kwargs)
self.output_datastore_name = output_datastore_name
self.base_path = base_path
class FlowRunInfo(msrest.serialization.Model):
"""FlowRunInfo.
:ivar flow_graph:
:vartype flow_graph: ~flow.models.FlowGraph
:ivar flow_graph_layout:
:vartype flow_graph_layout: ~flow.models.FlowGraphLayout
:ivar flow_name:
:vartype flow_name: str
:ivar flow_run_resource_id:
:vartype flow_run_resource_id: str
:ivar flow_run_id:
:vartype flow_run_id: str
:ivar flow_run_display_name:
:vartype flow_run_display_name: str
:ivar batch_inputs:
:vartype batch_inputs: list[dict[str, any]]
:ivar batch_data_input:
:vartype batch_data_input: ~flow.models.BatchDataInput
:ivar flow_run_type: Possible values include: "FlowRun", "EvaluationRun",
"PairwiseEvaluationRun", "SingleNodeRun", "FromNodeRun".
:vartype flow_run_type: str or ~flow.models.FlowRunTypeEnum
:ivar flow_type: Possible values include: "Default", "Evaluation", "Chat", "Rag".
:vartype flow_type: str or ~flow.models.FlowType
:ivar runtime_name:
:vartype runtime_name: str
:ivar bulk_test_id:
:vartype bulk_test_id: str
:ivar created_by:
:vartype created_by: ~flow.models.SchemaContractsCreatedBy
:ivar created_on:
:vartype created_on: ~datetime.datetime
:ivar inputs_mapping: This is a dictionary.
:vartype inputs_mapping: dict[str, str]
:ivar output_datastore_name:
:vartype output_datastore_name: str
:ivar child_run_base_path:
:vartype child_run_base_path: str
:ivar working_directory:
:vartype working_directory: str
:ivar flow_dag_file_relative_path:
:vartype flow_dag_file_relative_path: str
:ivar flow_snapshot_id:
:vartype flow_snapshot_id: str
:ivar studio_portal_endpoint:
:vartype studio_portal_endpoint: str
"""
_attribute_map = {
'flow_graph': {'key': 'flowGraph', 'type': 'FlowGraph'},
'flow_graph_layout': {'key': 'flowGraphLayout', 'type': 'FlowGraphLayout'},
'flow_name': {'key': 'flowName', 'type': 'str'},
'flow_run_resource_id': {'key': 'flowRunResourceId', 'type': 'str'},
'flow_run_id': {'key': 'flowRunId', 'type': 'str'},
'flow_run_display_name': {'key': 'flowRunDisplayName', 'type': 'str'},
'batch_inputs': {'key': 'batchInputs', 'type': '[{object}]'},
'batch_data_input': {'key': 'batchDataInput', 'type': 'BatchDataInput'},
'flow_run_type': {'key': 'flowRunType', 'type': 'str'},
'flow_type': {'key': 'flowType', 'type': 'str'},
'runtime_name': {'key': 'runtimeName', 'type': 'str'},
'bulk_test_id': {'key': 'bulkTestId', 'type': 'str'},
'created_by': {'key': 'createdBy', 'type': 'SchemaContractsCreatedBy'},
'created_on': {'key': 'createdOn', 'type': 'iso-8601'},
'inputs_mapping': {'key': 'inputsMapping', 'type': '{str}'},
'output_datastore_name': {'key': 'outputDatastoreName', 'type': 'str'},
'child_run_base_path': {'key': 'childRunBasePath', 'type': 'str'},
'working_directory': {'key': 'workingDirectory', 'type': 'str'},
'flow_dag_file_relative_path': {'key': 'flowDagFileRelativePath', 'type': 'str'},
'flow_snapshot_id': {'key': 'flowSnapshotId', 'type': 'str'},
'studio_portal_endpoint': {'key': 'studioPortalEndpoint', 'type': 'str'},
}
def __init__(
self,
*,
flow_graph: Optional["FlowGraph"] = None,
flow_graph_layout: Optional["FlowGraphLayout"] = None,
flow_name: Optional[str] = None,
flow_run_resource_id: Optional[str] = None,
flow_run_id: Optional[str] = None,
flow_run_display_name: Optional[str] = None,
batch_inputs: Optional[List[Dict[str, Any]]] = None,
batch_data_input: Optional["BatchDataInput"] = None,
flow_run_type: Optional[Union[str, "FlowRunTypeEnum"]] = None,
flow_type: Optional[Union[str, "FlowType"]] = None,
runtime_name: Optional[str] = None,
bulk_test_id: Optional[str] = None,
created_by: Optional["SchemaContractsCreatedBy"] = None,
created_on: Optional[datetime.datetime] = None,
inputs_mapping: Optional[Dict[str, str]] = None,
output_datastore_name: Optional[str] = None,
child_run_base_path: Optional[str] = None,
working_directory: Optional[str] = None,
flow_dag_file_relative_path: Optional[str] = None,
flow_snapshot_id: Optional[str] = None,
studio_portal_endpoint: Optional[str] = None,
**kwargs
):
"""
:keyword flow_graph:
:paramtype flow_graph: ~flow.models.FlowGraph
:keyword flow_graph_layout:
:paramtype flow_graph_layout: ~flow.models.FlowGraphLayout
:keyword flow_name:
:paramtype flow_name: str
:keyword flow_run_resource_id:
:paramtype flow_run_resource_id: str
:keyword flow_run_id:
:paramtype flow_run_id: str
:keyword flow_run_display_name:
:paramtype flow_run_display_name: str
:keyword batch_inputs:
:paramtype batch_inputs: list[dict[str, any]]
:keyword batch_data_input:
:paramtype batch_data_input: ~flow.models.BatchDataInput
:keyword flow_run_type: Possible values include: "FlowRun", "EvaluationRun",
"PairwiseEvaluationRun", "SingleNodeRun", "FromNodeRun".
:paramtype flow_run_type: str or ~flow.models.FlowRunTypeEnum
:keyword flow_type: Possible values include: "Default", "Evaluation", "Chat", "Rag".
:paramtype flow_type: str or ~flow.models.FlowType
:keyword runtime_name:
:paramtype runtime_name: str
:keyword bulk_test_id:
:paramtype bulk_test_id: str
:keyword created_by:
:paramtype created_by: ~flow.models.SchemaContractsCreatedBy
:keyword created_on:
:paramtype created_on: ~datetime.datetime
:keyword inputs_mapping: This is a dictionary.
:paramtype inputs_mapping: dict[str, str]
:keyword output_datastore_name:
:paramtype output_datastore_name: str
:keyword child_run_base_path:
:paramtype child_run_base_path: str
:keyword working_directory:
:paramtype working_directory: str
:keyword flow_dag_file_relative_path:
:paramtype flow_dag_file_relative_path: str
:keyword flow_snapshot_id:
:paramtype flow_snapshot_id: str
:keyword studio_portal_endpoint:
:paramtype studio_portal_endpoint: str
"""
super(FlowRunInfo, self).__init__(**kwargs)
self.flow_graph = flow_graph
self.flow_graph_layout = flow_graph_layout
self.flow_name = flow_name
self.flow_run_resource_id = flow_run_resource_id
self.flow_run_id = flow_run_id
self.flow_run_display_name = flow_run_display_name
self.batch_inputs = batch_inputs
self.batch_data_input = batch_data_input
self.flow_run_type = flow_run_type
self.flow_type = flow_type
self.runtime_name = runtime_name
self.bulk_test_id = bulk_test_id
self.created_by = created_by
self.created_on = created_on
self.inputs_mapping = inputs_mapping
self.output_datastore_name = output_datastore_name
self.child_run_base_path = child_run_base_path
self.working_directory = working_directory
self.flow_dag_file_relative_path = flow_dag_file_relative_path
self.flow_snapshot_id = flow_snapshot_id
self.studio_portal_endpoint = studio_portal_endpoint
class FlowRunResult(msrest.serialization.Model):
"""FlowRunResult.
:ivar flow_runs:
:vartype flow_runs: list[any]
:ivar node_runs:
:vartype node_runs: list[any]
:ivar error_response: The error response.
:vartype error_response: ~flow.models.ErrorResponse
:ivar flow_name:
:vartype flow_name: str
:ivar flow_run_display_name:
:vartype flow_run_display_name: str
:ivar flow_run_id:
:vartype flow_run_id: str
:ivar flow_graph:
:vartype flow_graph: ~flow.models.FlowGraph
:ivar flow_graph_layout:
:vartype flow_graph_layout: ~flow.models.FlowGraphLayout
:ivar flow_run_resource_id:
:vartype flow_run_resource_id: str
:ivar bulk_test_id:
:vartype bulk_test_id: str
:ivar batch_inputs:
:vartype batch_inputs: list[dict[str, any]]
:ivar batch_data_input:
:vartype batch_data_input: ~flow.models.BatchDataInput
:ivar created_by:
:vartype created_by: ~flow.models.SchemaContractsCreatedBy
:ivar created_on:
:vartype created_on: ~datetime.datetime
:ivar flow_run_type: Possible values include: "FlowRun", "EvaluationRun",
"PairwiseEvaluationRun", "SingleNodeRun", "FromNodeRun".
:vartype flow_run_type: str or ~flow.models.FlowRunTypeEnum
:ivar flow_type: Possible values include: "Default", "Evaluation", "Chat", "Rag".
:vartype flow_type: str or ~flow.models.FlowType
:ivar runtime_name:
:vartype runtime_name: str
:ivar aml_compute_name:
:vartype aml_compute_name: str
:ivar flow_run_logs: Dictionary of :code:`<string>`.
:vartype flow_run_logs: dict[str, str]
:ivar flow_test_mode: Possible values include: "Sync", "Async".
:vartype flow_test_mode: str or ~flow.models.FlowTestMode
:ivar flow_test_infos: Dictionary of :code:`<FlowTestInfo>`.
:vartype flow_test_infos: dict[str, ~flow.models.FlowTestInfo]
:ivar working_directory:
:vartype working_directory: str
:ivar flow_dag_file_relative_path:
:vartype flow_dag_file_relative_path: str
:ivar flow_snapshot_id:
:vartype flow_snapshot_id: str
:ivar variant_run_to_evaluation_runs_id_mapping: Dictionary of
<components·1k1eaeg·schemas·flowrunresult·properties·variantruntoevaluationrunsidmapping·additionalproperties>.
:vartype variant_run_to_evaluation_runs_id_mapping: dict[str, list[str]]
"""
_attribute_map = {
'flow_runs': {'key': 'flow_runs', 'type': '[object]'},
'node_runs': {'key': 'node_runs', 'type': '[object]'},
'error_response': {'key': 'errorResponse', 'type': 'ErrorResponse'},
'flow_name': {'key': 'flowName', 'type': 'str'},
'flow_run_display_name': {'key': 'flowRunDisplayName', 'type': 'str'},
'flow_run_id': {'key': 'flowRunId', 'type': 'str'},
'flow_graph': {'key': 'flowGraph', 'type': 'FlowGraph'},
'flow_graph_layout': {'key': 'flowGraphLayout', 'type': 'FlowGraphLayout'},
'flow_run_resource_id': {'key': 'flowRunResourceId', 'type': 'str'},
'bulk_test_id': {'key': 'bulkTestId', 'type': 'str'},
'batch_inputs': {'key': 'batchInputs', 'type': '[{object}]'},
'batch_data_input': {'key': 'batchDataInput', 'type': 'BatchDataInput'},
'created_by': {'key': 'createdBy', 'type': 'SchemaContractsCreatedBy'},
'created_on': {'key': 'createdOn', 'type': 'iso-8601'},
'flow_run_type': {'key': 'flowRunType', 'type': 'str'},
'flow_type': {'key': 'flowType', 'type': 'str'},
'runtime_name': {'key': 'runtimeName', 'type': 'str'},
'aml_compute_name': {'key': 'amlComputeName', 'type': 'str'},
'flow_run_logs': {'key': 'flowRunLogs', 'type': '{str}'},
'flow_test_mode': {'key': 'flowTestMode', 'type': 'str'},
'flow_test_infos': {'key': 'flowTestInfos', 'type': '{FlowTestInfo}'},
'working_directory': {'key': 'workingDirectory', 'type': 'str'},
'flow_dag_file_relative_path': {'key': 'flowDagFileRelativePath', 'type': 'str'},
'flow_snapshot_id': {'key': 'flowSnapshotId', 'type': 'str'},
'variant_run_to_evaluation_runs_id_mapping': {'key': 'variantRunToEvaluationRunsIdMapping', 'type': '{[str]}'},
}
def __init__(
self,
*,
flow_runs: Optional[List[Any]] = None,
node_runs: Optional[List[Any]] = None,
error_response: Optional["ErrorResponse"] = None,
flow_name: Optional[str] = None,
flow_run_display_name: Optional[str] = None,
flow_run_id: Optional[str] = None,
flow_graph: Optional["FlowGraph"] = None,
flow_graph_layout: Optional["FlowGraphLayout"] = None,
flow_run_resource_id: Optional[str] = None,
bulk_test_id: Optional[str] = None,
batch_inputs: Optional[List[Dict[str, Any]]] = None,
batch_data_input: Optional["BatchDataInput"] = None,
created_by: Optional["SchemaContractsCreatedBy"] = None,
created_on: Optional[datetime.datetime] = None,
flow_run_type: Optional[Union[str, "FlowRunTypeEnum"]] = None,
flow_type: Optional[Union[str, "FlowType"]] = None,
runtime_name: Optional[str] = None,
aml_compute_name: Optional[str] = None,
flow_run_logs: Optional[Dict[str, str]] = None,
flow_test_mode: Optional[Union[str, "FlowTestMode"]] = None,
flow_test_infos: Optional[Dict[str, "FlowTestInfo"]] = None,
working_directory: Optional[str] = None,
flow_dag_file_relative_path: Optional[str] = None,
flow_snapshot_id: Optional[str] = None,
variant_run_to_evaluation_runs_id_mapping: Optional[Dict[str, List[str]]] = None,
**kwargs
):
"""
:keyword flow_runs:
:paramtype flow_runs: list[any]
:keyword node_runs:
:paramtype node_runs: list[any]
:keyword error_response: The error response.
:paramtype error_response: ~flow.models.ErrorResponse
:keyword flow_name:
:paramtype flow_name: str
:keyword flow_run_display_name:
:paramtype flow_run_display_name: str
:keyword flow_run_id:
:paramtype flow_run_id: str
:keyword flow_graph:
:paramtype flow_graph: ~flow.models.FlowGraph
:keyword flow_graph_layout:
:paramtype flow_graph_layout: ~flow.models.FlowGraphLayout
:keyword flow_run_resource_id:
:paramtype flow_run_resource_id: str
:keyword bulk_test_id:
:paramtype bulk_test_id: str
:keyword batch_inputs:
:paramtype batch_inputs: list[dict[str, any]]
:keyword batch_data_input:
:paramtype batch_data_input: ~flow.models.BatchDataInput
:keyword created_by:
:paramtype created_by: ~flow.models.SchemaContractsCreatedBy
:keyword created_on:
:paramtype created_on: ~datetime.datetime
:keyword flow_run_type: Possible values include: "FlowRun", "EvaluationRun",
"PairwiseEvaluationRun", "SingleNodeRun", "FromNodeRun".
:paramtype flow_run_type: str or ~flow.models.FlowRunTypeEnum
:keyword flow_type: Possible values include: "Default", "Evaluation", "Chat", "Rag".
:paramtype flow_type: str or ~flow.models.FlowType
:keyword runtime_name:
:paramtype runtime_name: str
:keyword aml_compute_name:
:paramtype aml_compute_name: str
:keyword flow_run_logs: Dictionary of :code:`<string>`.
:paramtype flow_run_logs: dict[str, str]
:keyword flow_test_mode: Possible values include: "Sync", "Async".
:paramtype flow_test_mode: str or ~flow.models.FlowTestMode
:keyword flow_test_infos: Dictionary of :code:`<FlowTestInfo>`.
:paramtype flow_test_infos: dict[str, ~flow.models.FlowTestInfo]
:keyword working_directory:
:paramtype working_directory: str
:keyword flow_dag_file_relative_path:
:paramtype flow_dag_file_relative_path: str
:keyword flow_snapshot_id:
:paramtype flow_snapshot_id: str
:keyword variant_run_to_evaluation_runs_id_mapping: Dictionary of
<components·1k1eaeg·schemas·flowrunresult·properties·variantruntoevaluationrunsidmapping·additionalproperties>.
:paramtype variant_run_to_evaluation_runs_id_mapping: dict[str, list[str]]
"""
super(FlowRunResult, self).__init__(**kwargs)
self.flow_runs = flow_runs
self.node_runs = node_runs
self.error_response = error_response
self.flow_name = flow_name
self.flow_run_display_name = flow_run_display_name
self.flow_run_id = flow_run_id
self.flow_graph = flow_graph
self.flow_graph_layout = flow_graph_layout
self.flow_run_resource_id = flow_run_resource_id
self.bulk_test_id = bulk_test_id
self.batch_inputs = batch_inputs
self.batch_data_input = batch_data_input
self.created_by = created_by
self.created_on = created_on
self.flow_run_type = flow_run_type
self.flow_type = flow_type
self.runtime_name = runtime_name
self.aml_compute_name = aml_compute_name
self.flow_run_logs = flow_run_logs
self.flow_test_mode = flow_test_mode
self.flow_test_infos = flow_test_infos
self.working_directory = working_directory
self.flow_dag_file_relative_path = flow_dag_file_relative_path
self.flow_snapshot_id = flow_snapshot_id
self.variant_run_to_evaluation_runs_id_mapping = variant_run_to_evaluation_runs_id_mapping
class FlowRunSettings(msrest.serialization.Model):
"""FlowRunSettings.
:ivar flow_run_display_name:
:vartype flow_run_display_name: str
:ivar description:
:vartype description: str
:ivar tags: A set of tags. This is a dictionary.
:vartype tags: dict[str, str]
:ivar properties: This is a dictionary.
:vartype properties: dict[str, str]
:ivar run_mode: Possible values include: "Flow", "SingleNode", "FromNode", "BulkTest", "Eval",
"PairwiseEval".
:vartype run_mode: str or ~flow.models.FlowRunMode
:ivar batch_inputs:
:vartype batch_inputs: list[dict[str, any]]
:ivar batch_data_input:
:vartype batch_data_input: ~flow.models.BatchDataInput
:ivar tuning_node_names:
:vartype tuning_node_names: list[str]
:ivar tuning_node_settings: This is a dictionary.
:vartype tuning_node_settings: dict[str, ~flow.models.TuningNodeSetting]
:ivar baseline_variant_id:
:vartype baseline_variant_id: str
:ivar default_variant_id:
:vartype default_variant_id: str
:ivar variants: This is a dictionary.
:vartype variants: dict[str, list[~flow.models.Node]]
:ivar variants_tools:
:vartype variants_tools: list[~flow.models.Tool]
:ivar variants_codes: This is a dictionary.
:vartype variants_codes: dict[str, str]
:ivar node_name:
:vartype node_name: str
:ivar bulk_test_id:
:vartype bulk_test_id: str
:ivar evaluation_flow_run_settings: This is a dictionary.
:vartype evaluation_flow_run_settings: dict[str, ~flow.models.EvaluationFlowRunSettings]
:ivar inputs_mapping: This is a dictionary.
:vartype inputs_mapping: dict[str, str]
:ivar data_inputs: This is a dictionary.
:vartype data_inputs: dict[str, str]
:ivar bulk_test_flow_id:
:vartype bulk_test_flow_id: str
:ivar bulk_test_flow_run_ids:
:vartype bulk_test_flow_run_ids: list[str]
:ivar aml_compute_name:
:vartype aml_compute_name: str
:ivar runtime_name:
:vartype runtime_name: str
:ivar flow_run_output_directory:
:vartype flow_run_output_directory: str
"""
_attribute_map = {
'flow_run_display_name': {'key': 'flowRunDisplayName', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'properties': {'key': 'properties', 'type': '{str}'},
'run_mode': {'key': 'runMode', 'type': 'str'},
'batch_inputs': {'key': 'batch_inputs', 'type': '[{object}]'},
'batch_data_input': {'key': 'batchDataInput', 'type': 'BatchDataInput'},
'tuning_node_names': {'key': 'tuningNodeNames', 'type': '[str]'},
'tuning_node_settings': {'key': 'tuningNodeSettings', 'type': '{TuningNodeSetting}'},
'baseline_variant_id': {'key': 'baselineVariantId', 'type': 'str'},
'default_variant_id': {'key': 'defaultVariantId', 'type': 'str'},
'variants': {'key': 'variants', 'type': '{[Node]}'},
'variants_tools': {'key': 'variantsTools', 'type': '[Tool]'},
'variants_codes': {'key': 'variantsCodes', 'type': '{str}'},
'node_name': {'key': 'nodeName', 'type': 'str'},
'bulk_test_id': {'key': 'bulkTestId', 'type': 'str'},
'evaluation_flow_run_settings': {'key': 'evaluationFlowRunSettings', 'type': '{EvaluationFlowRunSettings}'},
'inputs_mapping': {'key': 'inputsMapping', 'type': '{str}'},
'data_inputs': {'key': 'dataInputs', 'type': '{str}'},
'bulk_test_flow_id': {'key': 'bulkTestFlowId', 'type': 'str'},
'bulk_test_flow_run_ids': {'key': 'bulkTestFlowRunIds', 'type': '[str]'},
'aml_compute_name': {'key': 'amlComputeName', 'type': 'str'},
'runtime_name': {'key': 'runtimeName', 'type': 'str'},
'flow_run_output_directory': {'key': 'flowRunOutputDirectory', 'type': 'str'},
}
def __init__(
self,
*,
flow_run_display_name: Optional[str] = None,
description: Optional[str] = None,
tags: Optional[Dict[str, str]] = None,
properties: Optional[Dict[str, str]] = None,
run_mode: Optional[Union[str, "FlowRunMode"]] = None,
batch_inputs: Optional[List[Dict[str, Any]]] = None,
batch_data_input: Optional["BatchDataInput"] = None,
tuning_node_names: Optional[List[str]] = None,
tuning_node_settings: Optional[Dict[str, "TuningNodeSetting"]] = None,
baseline_variant_id: Optional[str] = None,
default_variant_id: Optional[str] = None,
variants: Optional[Dict[str, List["Node"]]] = None,
variants_tools: Optional[List["Tool"]] = None,
variants_codes: Optional[Dict[str, str]] = None,
node_name: Optional[str] = None,
bulk_test_id: Optional[str] = None,
evaluation_flow_run_settings: Optional[Dict[str, "EvaluationFlowRunSettings"]] = None,
inputs_mapping: Optional[Dict[str, str]] = None,
data_inputs: Optional[Dict[str, str]] = None,
bulk_test_flow_id: Optional[str] = None,
bulk_test_flow_run_ids: Optional[List[str]] = None,
aml_compute_name: Optional[str] = None,
runtime_name: Optional[str] = None,
flow_run_output_directory: Optional[str] = None,
**kwargs
):
"""
:keyword flow_run_display_name:
:paramtype flow_run_display_name: str
:keyword description:
:paramtype description: str
:keyword tags: A set of tags. This is a dictionary.
:paramtype tags: dict[str, str]
:keyword properties: This is a dictionary.
:paramtype properties: dict[str, str]
:keyword run_mode: Possible values include: "Flow", "SingleNode", "FromNode", "BulkTest",
"Eval", "PairwiseEval".
:paramtype run_mode: str or ~flow.models.FlowRunMode
:keyword batch_inputs:
:paramtype batch_inputs: list[dict[str, any]]
:keyword batch_data_input:
:paramtype batch_data_input: ~flow.models.BatchDataInput
:keyword tuning_node_names:
:paramtype tuning_node_names: list[str]
:keyword tuning_node_settings: This is a dictionary.
:paramtype tuning_node_settings: dict[str, ~flow.models.TuningNodeSetting]
:keyword baseline_variant_id:
:paramtype baseline_variant_id: str
:keyword default_variant_id:
:paramtype default_variant_id: str
:keyword variants: This is a dictionary.
:paramtype variants: dict[str, list[~flow.models.Node]]
:keyword variants_tools:
:paramtype variants_tools: list[~flow.models.Tool]
:keyword variants_codes: This is a dictionary.
:paramtype variants_codes: dict[str, str]
:keyword node_name:
:paramtype node_name: str
:keyword bulk_test_id:
:paramtype bulk_test_id: str
:keyword evaluation_flow_run_settings: This is a dictionary.
:paramtype evaluation_flow_run_settings: dict[str, ~flow.models.EvaluationFlowRunSettings]
:keyword inputs_mapping: This is a dictionary.
:paramtype inputs_mapping: dict[str, str]
:keyword data_inputs: This is a dictionary.
:paramtype data_inputs: dict[str, str]
:keyword bulk_test_flow_id:
:paramtype bulk_test_flow_id: str
:keyword bulk_test_flow_run_ids:
:paramtype bulk_test_flow_run_ids: list[str]
:keyword aml_compute_name:
:paramtype aml_compute_name: str
:keyword runtime_name:
:paramtype runtime_name: str
:keyword flow_run_output_directory:
:paramtype flow_run_output_directory: str
"""
super(FlowRunSettings, self).__init__(**kwargs)
self.flow_run_display_name = flow_run_display_name
self.description = description
self.tags = tags
self.properties = properties
self.run_mode = run_mode
self.batch_inputs = batch_inputs
self.batch_data_input = batch_data_input
self.tuning_node_names = tuning_node_names
self.tuning_node_settings = tuning_node_settings
self.baseline_variant_id = baseline_variant_id
self.default_variant_id = default_variant_id
self.variants = variants
self.variants_tools = variants_tools
self.variants_codes = variants_codes
self.node_name = node_name
self.bulk_test_id = bulk_test_id
self.evaluation_flow_run_settings = evaluation_flow_run_settings
self.inputs_mapping = inputs_mapping
self.data_inputs = data_inputs
self.bulk_test_flow_id = bulk_test_flow_id
self.bulk_test_flow_run_ids = bulk_test_flow_run_ids
self.aml_compute_name = aml_compute_name
self.runtime_name = runtime_name
self.flow_run_output_directory = flow_run_output_directory
class FlowRuntimeCapability(msrest.serialization.Model):
"""FlowRuntimeCapability.
:ivar flow_features:
:vartype flow_features: list[~flow.models.FlowFeature]
"""
_attribute_map = {
'flow_features': {'key': 'flowFeatures', 'type': '[FlowFeature]'},
}
def __init__(
self,
*,
flow_features: Optional[List["FlowFeature"]] = None,
**kwargs
):
"""
:keyword flow_features:
:paramtype flow_features: list[~flow.models.FlowFeature]
"""
super(FlowRuntimeCapability, self).__init__(**kwargs)
self.flow_features = flow_features
class FlowRuntimeDto(msrest.serialization.Model):
"""FlowRuntimeDto.
:ivar runtime_name:
:vartype runtime_name: str
:ivar runtime_description:
:vartype runtime_description: str
:ivar runtime_type: Possible values include: "ManagedOnlineEndpoint", "ComputeInstance",
"TrainingSession".
:vartype runtime_type: str or ~flow.models.RuntimeType
:ivar environment:
:vartype environment: str
:ivar status: Possible values include: "Unavailable", "Failed", "NotExist", "Starting",
"Stopping".
:vartype status: str or ~flow.models.RuntimeStatusEnum
:ivar status_message:
:vartype status_message: str
:ivar error: The error response.
:vartype error: ~flow.models.ErrorResponse
:ivar from_existing_endpoint:
:vartype from_existing_endpoint: bool
:ivar endpoint_name:
:vartype endpoint_name: str
:ivar from_existing_deployment:
:vartype from_existing_deployment: bool
:ivar deployment_name:
:vartype deployment_name: str
:ivar identity:
:vartype identity: ~flow.models.ManagedServiceIdentity
:ivar instance_type:
:vartype instance_type: str
:ivar instance_count:
:vartype instance_count: int
:ivar compute_instance_name:
:vartype compute_instance_name: str
:ivar docker_image:
:vartype docker_image: str
:ivar published_port:
:vartype published_port: int
:ivar target_port:
:vartype target_port: int
:ivar from_existing_custom_app:
:vartype from_existing_custom_app: bool
:ivar custom_app_name:
:vartype custom_app_name: str
:ivar assigned_to:
:vartype assigned_to: ~flow.models.AssignedUser
:ivar endpoint_url:
:vartype endpoint_url: str
:ivar created_on:
:vartype created_on: ~datetime.datetime
:ivar modified_on:
:vartype modified_on: ~datetime.datetime
:ivar owner:
:vartype owner: ~flow.models.SchemaContractsCreatedBy
"""
_attribute_map = {
'runtime_name': {'key': 'runtimeName', 'type': 'str'},
'runtime_description': {'key': 'runtimeDescription', 'type': 'str'},
'runtime_type': {'key': 'runtimeType', 'type': 'str'},
'environment': {'key': 'environment', 'type': 'str'},
'status': {'key': 'status', 'type': 'str'},
'status_message': {'key': 'statusMessage', 'type': 'str'},
'error': {'key': 'error', 'type': 'ErrorResponse'},
'from_existing_endpoint': {'key': 'fromExistingEndpoint', 'type': 'bool'},
'endpoint_name': {'key': 'endpointName', 'type': 'str'},
'from_existing_deployment': {'key': 'fromExistingDeployment', 'type': 'bool'},
'deployment_name': {'key': 'deploymentName', 'type': 'str'},
'identity': {'key': 'identity', 'type': 'ManagedServiceIdentity'},
'instance_type': {'key': 'instanceType', 'type': 'str'},
'instance_count': {'key': 'instanceCount', 'type': 'int'},
'compute_instance_name': {'key': 'computeInstanceName', 'type': 'str'},
'docker_image': {'key': 'dockerImage', 'type': 'str'},
'published_port': {'key': 'publishedPort', 'type': 'int'},
'target_port': {'key': 'targetPort', 'type': 'int'},
'from_existing_custom_app': {'key': 'fromExistingCustomApp', 'type': 'bool'},
'custom_app_name': {'key': 'customAppName', 'type': 'str'},
'assigned_to': {'key': 'assignedTo', 'type': 'AssignedUser'},
'endpoint_url': {'key': 'endpointUrl', 'type': 'str'},
'created_on': {'key': 'createdOn', 'type': 'iso-8601'},
'modified_on': {'key': 'modifiedOn', 'type': 'iso-8601'},
'owner': {'key': 'owner', 'type': 'SchemaContractsCreatedBy'},
}
def __init__(
self,
*,
runtime_name: Optional[str] = None,
runtime_description: Optional[str] = None,
runtime_type: Optional[Union[str, "RuntimeType"]] = None,
environment: Optional[str] = None,
status: Optional[Union[str, "RuntimeStatusEnum"]] = None,
status_message: Optional[str] = None,
error: Optional["ErrorResponse"] = None,
from_existing_endpoint: Optional[bool] = None,
endpoint_name: Optional[str] = None,
from_existing_deployment: Optional[bool] = None,
deployment_name: Optional[str] = None,
identity: Optional["ManagedServiceIdentity"] = None,
instance_type: Optional[str] = None,
instance_count: Optional[int] = None,
compute_instance_name: Optional[str] = None,
docker_image: Optional[str] = None,
published_port: Optional[int] = None,
target_port: Optional[int] = None,
from_existing_custom_app: Optional[bool] = None,
custom_app_name: Optional[str] = None,
assigned_to: Optional["AssignedUser"] = None,
endpoint_url: Optional[str] = None,
created_on: Optional[datetime.datetime] = None,
modified_on: Optional[datetime.datetime] = None,
owner: Optional["SchemaContractsCreatedBy"] = None,
**kwargs
):
"""
:keyword runtime_name:
:paramtype runtime_name: str
:keyword runtime_description:
:paramtype runtime_description: str
:keyword runtime_type: Possible values include: "ManagedOnlineEndpoint", "ComputeInstance",
"TrainingSession".
:paramtype runtime_type: str or ~flow.models.RuntimeType
:keyword environment:
:paramtype environment: str
:keyword status: Possible values include: "Unavailable", "Failed", "NotExist", "Starting",
"Stopping".
:paramtype status: str or ~flow.models.RuntimeStatusEnum
:keyword status_message:
:paramtype status_message: str
:keyword error: The error response.
:paramtype error: ~flow.models.ErrorResponse
:keyword from_existing_endpoint:
:paramtype from_existing_endpoint: bool
:keyword endpoint_name:
:paramtype endpoint_name: str
:keyword from_existing_deployment:
:paramtype from_existing_deployment: bool
:keyword deployment_name:
:paramtype deployment_name: str
:keyword identity:
:paramtype identity: ~flow.models.ManagedServiceIdentity
:keyword instance_type:
:paramtype instance_type: str
:keyword instance_count:
:paramtype instance_count: int
:keyword compute_instance_name:
:paramtype compute_instance_name: str
:keyword docker_image:
:paramtype docker_image: str
:keyword published_port:
:paramtype published_port: int
:keyword target_port:
:paramtype target_port: int
:keyword from_existing_custom_app:
:paramtype from_existing_custom_app: bool
:keyword custom_app_name:
:paramtype custom_app_name: str
:keyword assigned_to:
:paramtype assigned_to: ~flow.models.AssignedUser
:keyword endpoint_url:
:paramtype endpoint_url: str
:keyword created_on:
:paramtype created_on: ~datetime.datetime
:keyword modified_on:
:paramtype modified_on: ~datetime.datetime
:keyword owner:
:paramtype owner: ~flow.models.SchemaContractsCreatedBy
"""
super(FlowRuntimeDto, self).__init__(**kwargs)
self.runtime_name = runtime_name
self.runtime_description = runtime_description
self.runtime_type = runtime_type
self.environment = environment
self.status = status
self.status_message = status_message
self.error = error
self.from_existing_endpoint = from_existing_endpoint
self.endpoint_name = endpoint_name
self.from_existing_deployment = from_existing_deployment
self.deployment_name = deployment_name
self.identity = identity
self.instance_type = instance_type
self.instance_count = instance_count
self.compute_instance_name = compute_instance_name
self.docker_image = docker_image
self.published_port = published_port
self.target_port = target_port
self.from_existing_custom_app = from_existing_custom_app
self.custom_app_name = custom_app_name
self.assigned_to = assigned_to
self.endpoint_url = endpoint_url
self.created_on = created_on
self.modified_on = modified_on
self.owner = owner
class FlowSampleDto(msrest.serialization.Model):
"""FlowSampleDto.
:ivar sample_resource_id:
:vartype sample_resource_id: str
:ivar section: Possible values include: "Gallery", "Template".
:vartype section: str or ~flow.models.Section
:ivar index_number:
:vartype index_number: int
:ivar flow_name:
:vartype flow_name: str
:ivar description:
:vartype description: str
:ivar details:
:vartype details: str
:ivar tags: A set of tags. Dictionary of :code:`<string>`.
:vartype tags: dict[str, str]
:ivar flow:
:vartype flow: ~flow.models.Flow
:ivar flow_definition_file_path:
:vartype flow_definition_file_path: str
:ivar flow_type: Possible values include: "Default", "Evaluation", "Chat", "Rag".
:vartype flow_type: str or ~flow.models.FlowType
:ivar flow_run_settings:
:vartype flow_run_settings: ~flow.models.FlowRunSettings
:ivar is_archived:
:vartype is_archived: bool
:ivar vm_size:
:vartype vm_size: str
:ivar max_idle_time_seconds:
:vartype max_idle_time_seconds: long
:ivar identity:
:vartype identity: str
"""
_attribute_map = {
'sample_resource_id': {'key': 'sampleResourceId', 'type': 'str'},
'section': {'key': 'section', 'type': 'str'},
'index_number': {'key': 'indexNumber', 'type': 'int'},
'flow_name': {'key': 'flowName', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'details': {'key': 'details', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'flow': {'key': 'flow', 'type': 'Flow'},
'flow_definition_file_path': {'key': 'flowDefinitionFilePath', 'type': 'str'},
'flow_type': {'key': 'flowType', 'type': 'str'},
'flow_run_settings': {'key': 'flowRunSettings', 'type': 'FlowRunSettings'},
'is_archived': {'key': 'isArchived', 'type': 'bool'},
'vm_size': {'key': 'vmSize', 'type': 'str'},
'max_idle_time_seconds': {'key': 'maxIdleTimeSeconds', 'type': 'long'},
'identity': {'key': 'identity', 'type': 'str'},
}
def __init__(
self,
*,
sample_resource_id: Optional[str] = None,
section: Optional[Union[str, "Section"]] = None,
index_number: Optional[int] = None,
flow_name: Optional[str] = None,
description: Optional[str] = None,
details: Optional[str] = None,
tags: Optional[Dict[str, str]] = None,
flow: Optional["Flow"] = None,
flow_definition_file_path: Optional[str] = None,
flow_type: Optional[Union[str, "FlowType"]] = None,
flow_run_settings: Optional["FlowRunSettings"] = None,
is_archived: Optional[bool] = None,
vm_size: Optional[str] = None,
max_idle_time_seconds: Optional[int] = None,
identity: Optional[str] = None,
**kwargs
):
"""
:keyword sample_resource_id:
:paramtype sample_resource_id: str
:keyword section: Possible values include: "Gallery", "Template".
:paramtype section: str or ~flow.models.Section
:keyword index_number:
:paramtype index_number: int
:keyword flow_name:
:paramtype flow_name: str
:keyword description:
:paramtype description: str
:keyword details:
:paramtype details: str
:keyword tags: A set of tags. Dictionary of :code:`<string>`.
:paramtype tags: dict[str, str]
:keyword flow:
:paramtype flow: ~flow.models.Flow
:keyword flow_definition_file_path:
:paramtype flow_definition_file_path: str
:keyword flow_type: Possible values include: "Default", "Evaluation", "Chat", "Rag".
:paramtype flow_type: str or ~flow.models.FlowType
:keyword flow_run_settings:
:paramtype flow_run_settings: ~flow.models.FlowRunSettings
:keyword is_archived:
:paramtype is_archived: bool
:keyword vm_size:
:paramtype vm_size: str
:keyword max_idle_time_seconds:
:paramtype max_idle_time_seconds: long
:keyword identity:
:paramtype identity: str
"""
super(FlowSampleDto, self).__init__(**kwargs)
self.sample_resource_id = sample_resource_id
self.section = section
self.index_number = index_number
self.flow_name = flow_name
self.description = description
self.details = details
self.tags = tags
self.flow = flow
self.flow_definition_file_path = flow_definition_file_path
self.flow_type = flow_type
self.flow_run_settings = flow_run_settings
self.is_archived = is_archived
self.vm_size = vm_size
self.max_idle_time_seconds = max_idle_time_seconds
self.identity = identity
class FlowSessionDto(msrest.serialization.Model):
"""FlowSessionDto.
:ivar session_id:
:vartype session_id: str
:ivar base_image:
:vartype base_image: str
:ivar packages:
:vartype packages: list[str]
:ivar vm_size:
:vartype vm_size: str
:ivar max_idle_time_seconds:
:vartype max_idle_time_seconds: long
:ivar flow_features:
:vartype flow_features: list[~flow.models.FlowFeature]
:ivar runtime_name:
:vartype runtime_name: str
:ivar runtime_description:
:vartype runtime_description: str
:ivar runtime_type: Possible values include: "ManagedOnlineEndpoint", "ComputeInstance",
"TrainingSession".
:vartype runtime_type: str or ~flow.models.RuntimeType
:ivar environment:
:vartype environment: str
:ivar status: Possible values include: "Unavailable", "Failed", "NotExist", "Starting",
"Stopping".
:vartype status: str or ~flow.models.RuntimeStatusEnum
:ivar status_message:
:vartype status_message: str
:ivar error: The error response.
:vartype error: ~flow.models.ErrorResponse
:ivar from_existing_endpoint:
:vartype from_existing_endpoint: bool
:ivar endpoint_name:
:vartype endpoint_name: str
:ivar from_existing_deployment:
:vartype from_existing_deployment: bool
:ivar deployment_name:
:vartype deployment_name: str
:ivar identity:
:vartype identity: ~flow.models.ManagedServiceIdentity
:ivar instance_type:
:vartype instance_type: str
:ivar instance_count:
:vartype instance_count: int
:ivar compute_instance_name:
:vartype compute_instance_name: str
:ivar docker_image:
:vartype docker_image: str
:ivar published_port:
:vartype published_port: int
:ivar target_port:
:vartype target_port: int
:ivar from_existing_custom_app:
:vartype from_existing_custom_app: bool
:ivar custom_app_name:
:vartype custom_app_name: str
:ivar assigned_to:
:vartype assigned_to: ~flow.models.AssignedUser
:ivar endpoint_url:
:vartype endpoint_url: str
:ivar created_on:
:vartype created_on: ~datetime.datetime
:ivar modified_on:
:vartype modified_on: ~datetime.datetime
:ivar owner:
:vartype owner: ~flow.models.SchemaContractsCreatedBy
"""
_attribute_map = {
'session_id': {'key': 'sessionId', 'type': 'str'},
'base_image': {'key': 'baseImage', 'type': 'str'},
'packages': {'key': 'packages', 'type': '[str]'},
'vm_size': {'key': 'vmSize', 'type': 'str'},
'max_idle_time_seconds': {'key': 'maxIdleTimeSeconds', 'type': 'long'},
'flow_features': {'key': 'flowFeatures', 'type': '[FlowFeature]'},
'runtime_name': {'key': 'runtimeName', 'type': 'str'},
'runtime_description': {'key': 'runtimeDescription', 'type': 'str'},
'runtime_type': {'key': 'runtimeType', 'type': 'str'},
'environment': {'key': 'environment', 'type': 'str'},
'status': {'key': 'status', 'type': 'str'},
'status_message': {'key': 'statusMessage', 'type': 'str'},
'error': {'key': 'error', 'type': 'ErrorResponse'},
'from_existing_endpoint': {'key': 'fromExistingEndpoint', 'type': 'bool'},
'endpoint_name': {'key': 'endpointName', 'type': 'str'},
'from_existing_deployment': {'key': 'fromExistingDeployment', 'type': 'bool'},
'deployment_name': {'key': 'deploymentName', 'type': 'str'},
'identity': {'key': 'identity', 'type': 'ManagedServiceIdentity'},
'instance_type': {'key': 'instanceType', 'type': 'str'},
'instance_count': {'key': 'instanceCount', 'type': 'int'},
'compute_instance_name': {'key': 'computeInstanceName', 'type': 'str'},
'docker_image': {'key': 'dockerImage', 'type': 'str'},
'published_port': {'key': 'publishedPort', 'type': 'int'},
'target_port': {'key': 'targetPort', 'type': 'int'},
'from_existing_custom_app': {'key': 'fromExistingCustomApp', 'type': 'bool'},
'custom_app_name': {'key': 'customAppName', 'type': 'str'},
'assigned_to': {'key': 'assignedTo', 'type': 'AssignedUser'},
'endpoint_url': {'key': 'endpointUrl', 'type': 'str'},
'created_on': {'key': 'createdOn', 'type': 'iso-8601'},
'modified_on': {'key': 'modifiedOn', 'type': 'iso-8601'},
'owner': {'key': 'owner', 'type': 'SchemaContractsCreatedBy'},
}
def __init__(
self,
*,
session_id: Optional[str] = None,
base_image: Optional[str] = None,
packages: Optional[List[str]] = None,
vm_size: Optional[str] = None,
max_idle_time_seconds: Optional[int] = None,
flow_features: Optional[List["FlowFeature"]] = None,
runtime_name: Optional[str] = None,
runtime_description: Optional[str] = None,
runtime_type: Optional[Union[str, "RuntimeType"]] = None,
environment: Optional[str] = None,
status: Optional[Union[str, "RuntimeStatusEnum"]] = None,
status_message: Optional[str] = None,
error: Optional["ErrorResponse"] = None,
from_existing_endpoint: Optional[bool] = None,
endpoint_name: Optional[str] = None,
from_existing_deployment: Optional[bool] = None,
deployment_name: Optional[str] = None,
identity: Optional["ManagedServiceIdentity"] = None,
instance_type: Optional[str] = None,
instance_count: Optional[int] = None,
compute_instance_name: Optional[str] = None,
docker_image: Optional[str] = None,
published_port: Optional[int] = None,
target_port: Optional[int] = None,
from_existing_custom_app: Optional[bool] = None,
custom_app_name: Optional[str] = None,
assigned_to: Optional["AssignedUser"] = None,
endpoint_url: Optional[str] = None,
created_on: Optional[datetime.datetime] = None,
modified_on: Optional[datetime.datetime] = None,
owner: Optional["SchemaContractsCreatedBy"] = None,
**kwargs
):
"""
:keyword session_id:
:paramtype session_id: str
:keyword base_image:
:paramtype base_image: str
:keyword packages:
:paramtype packages: list[str]
:keyword vm_size:
:paramtype vm_size: str
:keyword max_idle_time_seconds:
:paramtype max_idle_time_seconds: long
:keyword flow_features:
:paramtype flow_features: list[~flow.models.FlowFeature]
:keyword runtime_name:
:paramtype runtime_name: str
:keyword runtime_description:
:paramtype runtime_description: str
:keyword runtime_type: Possible values include: "ManagedOnlineEndpoint", "ComputeInstance",
"TrainingSession".
:paramtype runtime_type: str or ~flow.models.RuntimeType
:keyword environment:
:paramtype environment: str
:keyword status: Possible values include: "Unavailable", "Failed", "NotExist", "Starting",
"Stopping".
:paramtype status: str or ~flow.models.RuntimeStatusEnum
:keyword status_message:
:paramtype status_message: str
:keyword error: The error response.
:paramtype error: ~flow.models.ErrorResponse
:keyword from_existing_endpoint:
:paramtype from_existing_endpoint: bool
:keyword endpoint_name:
:paramtype endpoint_name: str
:keyword from_existing_deployment:
:paramtype from_existing_deployment: bool
:keyword deployment_name:
:paramtype deployment_name: str
:keyword identity:
:paramtype identity: ~flow.models.ManagedServiceIdentity
:keyword instance_type:
:paramtype instance_type: str
:keyword instance_count:
:paramtype instance_count: int
:keyword compute_instance_name:
:paramtype compute_instance_name: str
:keyword docker_image:
:paramtype docker_image: str
:keyword published_port:
:paramtype published_port: int
:keyword target_port:
:paramtype target_port: int
:keyword from_existing_custom_app:
:paramtype from_existing_custom_app: bool
:keyword custom_app_name:
:paramtype custom_app_name: str
:keyword assigned_to:
:paramtype assigned_to: ~flow.models.AssignedUser
:keyword endpoint_url:
:paramtype endpoint_url: str
:keyword created_on:
:paramtype created_on: ~datetime.datetime
:keyword modified_on:
:paramtype modified_on: ~datetime.datetime
:keyword owner:
:paramtype owner: ~flow.models.SchemaContractsCreatedBy
"""
super(FlowSessionDto, self).__init__(**kwargs)
self.session_id = session_id
self.base_image = base_image
self.packages = packages
self.vm_size = vm_size
self.max_idle_time_seconds = max_idle_time_seconds
self.flow_features = flow_features
self.runtime_name = runtime_name
self.runtime_description = runtime_description
self.runtime_type = runtime_type
self.environment = environment
self.status = status
self.status_message = status_message
self.error = error
self.from_existing_endpoint = from_existing_endpoint
self.endpoint_name = endpoint_name
self.from_existing_deployment = from_existing_deployment
self.deployment_name = deployment_name
self.identity = identity
self.instance_type = instance_type
self.instance_count = instance_count
self.compute_instance_name = compute_instance_name
self.docker_image = docker_image
self.published_port = published_port
self.target_port = target_port
self.from_existing_custom_app = from_existing_custom_app
self.custom_app_name = custom_app_name
self.assigned_to = assigned_to
self.endpoint_url = endpoint_url
self.created_on = created_on
self.modified_on = modified_on
self.owner = owner
class FlowSnapshot(msrest.serialization.Model):
"""FlowSnapshot.
:ivar inputs: This is a dictionary.
:vartype inputs: dict[str, ~flow.models.FlowInputDefinition]
:ivar outputs: This is a dictionary.
:vartype outputs: dict[str, ~flow.models.FlowOutputDefinition]
:ivar nodes:
:vartype nodes: list[~flow.models.FlowNode]
:ivar node_variants: This is a dictionary.
:vartype node_variants: dict[str, ~flow.models.FlowNodeVariant]
:ivar environment:
:vartype environment: ~flow.models.FlowEnvironment
:ivar environment_variables: This is a dictionary.
:vartype environment_variables: dict[str, any]
:ivar language: Possible values include: "Python", "CSharp".
:vartype language: str or ~flow.models.FlowLanguage
"""
_attribute_map = {
'inputs': {'key': 'inputs', 'type': '{FlowInputDefinition}'},
'outputs': {'key': 'outputs', 'type': '{FlowOutputDefinition}'},
'nodes': {'key': 'nodes', 'type': '[FlowNode]'},
'node_variants': {'key': 'node_variants', 'type': '{FlowNodeVariant}'},
'environment': {'key': 'environment', 'type': 'FlowEnvironment'},
'environment_variables': {'key': 'environment_variables', 'type': '{object}'},
'language': {'key': 'language', 'type': 'str'},
}
def __init__(
self,
*,
inputs: Optional[Dict[str, "FlowInputDefinition"]] = None,
outputs: Optional[Dict[str, "FlowOutputDefinition"]] = None,
nodes: Optional[List["FlowNode"]] = None,
node_variants: Optional[Dict[str, "FlowNodeVariant"]] = None,
environment: Optional["FlowEnvironment"] = None,
environment_variables: Optional[Dict[str, Any]] = None,
language: Optional[Union[str, "FlowLanguage"]] = None,
**kwargs
):
"""
:keyword inputs: This is a dictionary.
:paramtype inputs: dict[str, ~flow.models.FlowInputDefinition]
:keyword outputs: This is a dictionary.
:paramtype outputs: dict[str, ~flow.models.FlowOutputDefinition]
:keyword nodes:
:paramtype nodes: list[~flow.models.FlowNode]
:keyword node_variants: This is a dictionary.
:paramtype node_variants: dict[str, ~flow.models.FlowNodeVariant]
:keyword environment:
:paramtype environment: ~flow.models.FlowEnvironment
:keyword environment_variables: This is a dictionary.
:paramtype environment_variables: dict[str, any]
:keyword language: Possible values include: "Python", "CSharp".
:paramtype language: str or ~flow.models.FlowLanguage
"""
super(FlowSnapshot, self).__init__(**kwargs)
self.inputs = inputs
self.outputs = outputs
self.nodes = nodes
self.node_variants = node_variants
self.environment = environment
self.environment_variables = environment_variables
self.language = language
class FlowSubmitRunSettings(msrest.serialization.Model):
"""FlowSubmitRunSettings.
:ivar node_inputs: This is a dictionary.
:vartype node_inputs: dict[str, any]
:ivar flow_run_display_name:
:vartype flow_run_display_name: str
:ivar description:
:vartype description: str
:ivar tags: A set of tags. This is a dictionary.
:vartype tags: dict[str, str]
:ivar properties: This is a dictionary.
:vartype properties: dict[str, str]
:ivar run_mode: Possible values include: "Flow", "SingleNode", "FromNode", "BulkTest", "Eval",
"PairwiseEval".
:vartype run_mode: str or ~flow.models.FlowRunMode
:ivar batch_inputs:
:vartype batch_inputs: list[dict[str, any]]
:ivar batch_data_input:
:vartype batch_data_input: ~flow.models.BatchDataInput
:ivar tuning_node_names:
:vartype tuning_node_names: list[str]
:ivar tuning_node_settings: This is a dictionary.
:vartype tuning_node_settings: dict[str, ~flow.models.TuningNodeSetting]
:ivar baseline_variant_id:
:vartype baseline_variant_id: str
:ivar default_variant_id:
:vartype default_variant_id: str
:ivar variants: This is a dictionary.
:vartype variants: dict[str, list[~flow.models.Node]]
:ivar variants_tools:
:vartype variants_tools: list[~flow.models.Tool]
:ivar variants_codes: This is a dictionary.
:vartype variants_codes: dict[str, str]
:ivar node_name:
:vartype node_name: str
:ivar bulk_test_id:
:vartype bulk_test_id: str
:ivar evaluation_flow_run_settings: This is a dictionary.
:vartype evaluation_flow_run_settings: dict[str, ~flow.models.EvaluationFlowRunSettings]
:ivar inputs_mapping: This is a dictionary.
:vartype inputs_mapping: dict[str, str]
:ivar data_inputs: This is a dictionary.
:vartype data_inputs: dict[str, str]
:ivar bulk_test_flow_id:
:vartype bulk_test_flow_id: str
:ivar bulk_test_flow_run_ids:
:vartype bulk_test_flow_run_ids: list[str]
:ivar aml_compute_name:
:vartype aml_compute_name: str
:ivar runtime_name:
:vartype runtime_name: str
:ivar flow_run_output_directory:
:vartype flow_run_output_directory: str
"""
_attribute_map = {
'node_inputs': {'key': 'nodeInputs', 'type': '{object}'},
'flow_run_display_name': {'key': 'flowRunDisplayName', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'properties': {'key': 'properties', 'type': '{str}'},
'run_mode': {'key': 'runMode', 'type': 'str'},
'batch_inputs': {'key': 'batch_inputs', 'type': '[{object}]'},
'batch_data_input': {'key': 'batchDataInput', 'type': 'BatchDataInput'},
'tuning_node_names': {'key': 'tuningNodeNames', 'type': '[str]'},
'tuning_node_settings': {'key': 'tuningNodeSettings', 'type': '{TuningNodeSetting}'},
'baseline_variant_id': {'key': 'baselineVariantId', 'type': 'str'},
'default_variant_id': {'key': 'defaultVariantId', 'type': 'str'},
'variants': {'key': 'variants', 'type': '{[Node]}'},
'variants_tools': {'key': 'variantsTools', 'type': '[Tool]'},
'variants_codes': {'key': 'variantsCodes', 'type': '{str}'},
'node_name': {'key': 'nodeName', 'type': 'str'},
'bulk_test_id': {'key': 'bulkTestId', 'type': 'str'},
'evaluation_flow_run_settings': {'key': 'evaluationFlowRunSettings', 'type': '{EvaluationFlowRunSettings}'},
'inputs_mapping': {'key': 'inputsMapping', 'type': '{str}'},
'data_inputs': {'key': 'dataInputs', 'type': '{str}'},
'bulk_test_flow_id': {'key': 'bulkTestFlowId', 'type': 'str'},
'bulk_test_flow_run_ids': {'key': 'bulkTestFlowRunIds', 'type': '[str]'},
'aml_compute_name': {'key': 'amlComputeName', 'type': 'str'},
'runtime_name': {'key': 'runtimeName', 'type': 'str'},
'flow_run_output_directory': {'key': 'flowRunOutputDirectory', 'type': 'str'},
}
def __init__(
self,
*,
node_inputs: Optional[Dict[str, Any]] = None,
flow_run_display_name: Optional[str] = None,
description: Optional[str] = None,
tags: Optional[Dict[str, str]] = None,
properties: Optional[Dict[str, str]] = None,
run_mode: Optional[Union[str, "FlowRunMode"]] = None,
batch_inputs: Optional[List[Dict[str, Any]]] = None,
batch_data_input: Optional["BatchDataInput"] = None,
tuning_node_names: Optional[List[str]] = None,
tuning_node_settings: Optional[Dict[str, "TuningNodeSetting"]] = None,
baseline_variant_id: Optional[str] = None,
default_variant_id: Optional[str] = None,
variants: Optional[Dict[str, List["Node"]]] = None,
variants_tools: Optional[List["Tool"]] = None,
variants_codes: Optional[Dict[str, str]] = None,
node_name: Optional[str] = None,
bulk_test_id: Optional[str] = None,
evaluation_flow_run_settings: Optional[Dict[str, "EvaluationFlowRunSettings"]] = None,
inputs_mapping: Optional[Dict[str, str]] = None,
data_inputs: Optional[Dict[str, str]] = None,
bulk_test_flow_id: Optional[str] = None,
bulk_test_flow_run_ids: Optional[List[str]] = None,
aml_compute_name: Optional[str] = None,
runtime_name: Optional[str] = None,
flow_run_output_directory: Optional[str] = None,
**kwargs
):
"""
:keyword node_inputs: This is a dictionary.
:paramtype node_inputs: dict[str, any]
:keyword flow_run_display_name:
:paramtype flow_run_display_name: str
:keyword description:
:paramtype description: str
:keyword tags: A set of tags. This is a dictionary.
:paramtype tags: dict[str, str]
:keyword properties: This is a dictionary.
:paramtype properties: dict[str, str]
:keyword run_mode: Possible values include: "Flow", "SingleNode", "FromNode", "BulkTest",
"Eval", "PairwiseEval".
:paramtype run_mode: str or ~flow.models.FlowRunMode
:keyword batch_inputs:
:paramtype batch_inputs: list[dict[str, any]]
:keyword batch_data_input:
:paramtype batch_data_input: ~flow.models.BatchDataInput
:keyword tuning_node_names:
:paramtype tuning_node_names: list[str]
:keyword tuning_node_settings: This is a dictionary.
:paramtype tuning_node_settings: dict[str, ~flow.models.TuningNodeSetting]
:keyword baseline_variant_id:
:paramtype baseline_variant_id: str
:keyword default_variant_id:
:paramtype default_variant_id: str
:keyword variants: This is a dictionary.
:paramtype variants: dict[str, list[~flow.models.Node]]
:keyword variants_tools:
:paramtype variants_tools: list[~flow.models.Tool]
:keyword variants_codes: This is a dictionary.
:paramtype variants_codes: dict[str, str]
:keyword node_name:
:paramtype node_name: str
:keyword bulk_test_id:
:paramtype bulk_test_id: str
:keyword evaluation_flow_run_settings: This is a dictionary.
:paramtype evaluation_flow_run_settings: dict[str, ~flow.models.EvaluationFlowRunSettings]
:keyword inputs_mapping: This is a dictionary.
:paramtype inputs_mapping: dict[str, str]
:keyword data_inputs: This is a dictionary.
:paramtype data_inputs: dict[str, str]
:keyword bulk_test_flow_id:
:paramtype bulk_test_flow_id: str
:keyword bulk_test_flow_run_ids:
:paramtype bulk_test_flow_run_ids: list[str]
:keyword aml_compute_name:
:paramtype aml_compute_name: str
:keyword runtime_name:
:paramtype runtime_name: str
:keyword flow_run_output_directory:
:paramtype flow_run_output_directory: str
"""
super(FlowSubmitRunSettings, self).__init__(**kwargs)
self.node_inputs = node_inputs
self.flow_run_display_name = flow_run_display_name
self.description = description
self.tags = tags
self.properties = properties
self.run_mode = run_mode
self.batch_inputs = batch_inputs
self.batch_data_input = batch_data_input
self.tuning_node_names = tuning_node_names
self.tuning_node_settings = tuning_node_settings
self.baseline_variant_id = baseline_variant_id
self.default_variant_id = default_variant_id
self.variants = variants
self.variants_tools = variants_tools
self.variants_codes = variants_codes
self.node_name = node_name
self.bulk_test_id = bulk_test_id
self.evaluation_flow_run_settings = evaluation_flow_run_settings
self.inputs_mapping = inputs_mapping
self.data_inputs = data_inputs
self.bulk_test_flow_id = bulk_test_flow_id
self.bulk_test_flow_run_ids = bulk_test_flow_run_ids
self.aml_compute_name = aml_compute_name
self.runtime_name = runtime_name
self.flow_run_output_directory = flow_run_output_directory
class FlowTestInfo(msrest.serialization.Model):
"""FlowTestInfo.
:ivar flow_run_id:
:vartype flow_run_id: str
:ivar flow_test_storage_setting:
:vartype flow_test_storage_setting: ~flow.models.FlowTestStorageSetting
"""
_attribute_map = {
'flow_run_id': {'key': 'flowRunId', 'type': 'str'},
'flow_test_storage_setting': {'key': 'flowTestStorageSetting', 'type': 'FlowTestStorageSetting'},
}
def __init__(
self,
*,
flow_run_id: Optional[str] = None,
flow_test_storage_setting: Optional["FlowTestStorageSetting"] = None,
**kwargs
):
"""
:keyword flow_run_id:
:paramtype flow_run_id: str
:keyword flow_test_storage_setting:
:paramtype flow_test_storage_setting: ~flow.models.FlowTestStorageSetting
"""
super(FlowTestInfo, self).__init__(**kwargs)
self.flow_run_id = flow_run_id
self.flow_test_storage_setting = flow_test_storage_setting
class FlowTestStorageSetting(msrest.serialization.Model):
"""FlowTestStorageSetting.
:ivar storage_account_name:
:vartype storage_account_name: str
:ivar blob_container_name:
:vartype blob_container_name: str
:ivar flow_artifacts_root_path:
:vartype flow_artifacts_root_path: str
:ivar output_datastore_name:
:vartype output_datastore_name: str
"""
_attribute_map = {
'storage_account_name': {'key': 'storageAccountName', 'type': 'str'},
'blob_container_name': {'key': 'blobContainerName', 'type': 'str'},
'flow_artifacts_root_path': {'key': 'flowArtifactsRootPath', 'type': 'str'},
'output_datastore_name': {'key': 'outputDatastoreName', 'type': 'str'},
}
def __init__(
self,
*,
storage_account_name: Optional[str] = None,
blob_container_name: Optional[str] = None,
flow_artifacts_root_path: Optional[str] = None,
output_datastore_name: Optional[str] = None,
**kwargs
):
"""
:keyword storage_account_name:
:paramtype storage_account_name: str
:keyword blob_container_name:
:paramtype blob_container_name: str
:keyword flow_artifacts_root_path:
:paramtype flow_artifacts_root_path: str
:keyword output_datastore_name:
:paramtype output_datastore_name: str
"""
super(FlowTestStorageSetting, self).__init__(**kwargs)
self.storage_account_name = storage_account_name
self.blob_container_name = blob_container_name
self.flow_artifacts_root_path = flow_artifacts_root_path
self.output_datastore_name = output_datastore_name
class FlowToolsDto(msrest.serialization.Model):
"""FlowToolsDto.
:ivar package: This is a dictionary.
:vartype package: dict[str, ~flow.models.Tool]
:ivar code: This is a dictionary.
:vartype code: dict[str, ~flow.models.Tool]
:ivar errors: This is a dictionary.
:vartype errors: dict[str, ~flow.models.ErrorResponse]
"""
_attribute_map = {
'package': {'key': 'package', 'type': '{Tool}'},
'code': {'key': 'code', 'type': '{Tool}'},
'errors': {'key': 'errors', 'type': '{ErrorResponse}'},
}
def __init__(
self,
*,
package: Optional[Dict[str, "Tool"]] = None,
code: Optional[Dict[str, "Tool"]] = None,
errors: Optional[Dict[str, "ErrorResponse"]] = None,
**kwargs
):
"""
:keyword package: This is a dictionary.
:paramtype package: dict[str, ~flow.models.Tool]
:keyword code: This is a dictionary.
:paramtype code: dict[str, ~flow.models.Tool]
:keyword errors: This is a dictionary.
:paramtype errors: dict[str, ~flow.models.ErrorResponse]
"""
super(FlowToolsDto, self).__init__(**kwargs)
self.package = package
self.code = code
self.errors = errors
class FlowToolSettingParameter(msrest.serialization.Model):
"""FlowToolSettingParameter.
:ivar type:
:vartype type: list[str or ~flow.models.ValueType]
:ivar default:
:vartype default: str
:ivar advanced:
:vartype advanced: bool
:ivar enum:
:vartype enum: list[any]
:ivar model_list:
:vartype model_list: list[str]
:ivar text_box_size:
:vartype text_box_size: int
:ivar capabilities:
:vartype capabilities: ~flow.models.AzureOpenAIModelCapabilities
:ivar allow_manual_entry:
:vartype allow_manual_entry: bool
"""
_attribute_map = {
'type': {'key': 'type', 'type': '[str]'},
'default': {'key': 'default', 'type': 'str'},
'advanced': {'key': 'advanced', 'type': 'bool'},
'enum': {'key': 'enum', 'type': '[object]'},
'model_list': {'key': 'model_list', 'type': '[str]'},
'text_box_size': {'key': 'text_box_size', 'type': 'int'},
'capabilities': {'key': 'capabilities', 'type': 'AzureOpenAIModelCapabilities'},
'allow_manual_entry': {'key': 'allow_manual_entry', 'type': 'bool'},
}
def __init__(
self,
*,
type: Optional[List[Union[str, "ValueType"]]] = None,
default: Optional[str] = None,
advanced: Optional[bool] = None,
enum: Optional[List[Any]] = None,
model_list: Optional[List[str]] = None,
text_box_size: Optional[int] = None,
capabilities: Optional["AzureOpenAIModelCapabilities"] = None,
allow_manual_entry: Optional[bool] = None,
**kwargs
):
"""
:keyword type:
:paramtype type: list[str or ~flow.models.ValueType]
:keyword default:
:paramtype default: str
:keyword advanced:
:paramtype advanced: bool
:keyword enum:
:paramtype enum: list[any]
:keyword model_list:
:paramtype model_list: list[str]
:keyword text_box_size:
:paramtype text_box_size: int
:keyword capabilities:
:paramtype capabilities: ~flow.models.AzureOpenAIModelCapabilities
:keyword allow_manual_entry:
:paramtype allow_manual_entry: bool
"""
super(FlowToolSettingParameter, self).__init__(**kwargs)
self.type = type
self.default = default
self.advanced = advanced
self.enum = enum
self.model_list = model_list
self.text_box_size = text_box_size
self.capabilities = capabilities
self.allow_manual_entry = allow_manual_entry
class FlowVariantNode(msrest.serialization.Model):
"""FlowVariantNode.
:ivar node:
:vartype node: ~flow.models.FlowNode
:ivar description:
:vartype description: str
"""
_attribute_map = {
'node': {'key': 'node', 'type': 'FlowNode'},
'description': {'key': 'description', 'type': 'str'},
}
def __init__(
self,
*,
node: Optional["FlowNode"] = None,
description: Optional[str] = None,
**kwargs
):
"""
:keyword node:
:paramtype node: ~flow.models.FlowNode
:keyword description:
:paramtype description: str
"""
super(FlowVariantNode, self).__init__(**kwargs)
self.node = node
self.description = description
class ForecastHorizon(msrest.serialization.Model):
"""ForecastHorizon.
:ivar mode: Possible values include: "Auto", "Custom".
:vartype mode: str or ~flow.models.ForecastHorizonMode
:ivar value:
:vartype value: int
"""
_attribute_map = {
'mode': {'key': 'mode', 'type': 'str'},
'value': {'key': 'value', 'type': 'int'},
}
def __init__(
self,
*,
mode: Optional[Union[str, "ForecastHorizonMode"]] = None,
value: Optional[int] = None,
**kwargs
):
"""
:keyword mode: Possible values include: "Auto", "Custom".
:paramtype mode: str or ~flow.models.ForecastHorizonMode
:keyword value:
:paramtype value: int
"""
super(ForecastHorizon, self).__init__(**kwargs)
self.mode = mode
self.value = value
class ForecastingSettings(msrest.serialization.Model):
"""ForecastingSettings.
:ivar country_or_region_for_holidays:
:vartype country_or_region_for_holidays: str
:ivar time_column_name:
:vartype time_column_name: str
:ivar target_lags:
:vartype target_lags: ~flow.models.TargetLags
:ivar target_rolling_window_size:
:vartype target_rolling_window_size: ~flow.models.TargetRollingWindowSize
:ivar forecast_horizon:
:vartype forecast_horizon: ~flow.models.ForecastHorizon
:ivar time_series_id_column_names:
:vartype time_series_id_column_names: list[str]
:ivar frequency:
:vartype frequency: str
:ivar feature_lags:
:vartype feature_lags: str
:ivar seasonality:
:vartype seasonality: ~flow.models.Seasonality
:ivar short_series_handling_config: Possible values include: "Auto", "Pad", "Drop".
:vartype short_series_handling_config: str or ~flow.models.ShortSeriesHandlingConfiguration
:ivar use_stl: Possible values include: "Season", "SeasonTrend".
:vartype use_stl: str or ~flow.models.UseStl
:ivar target_aggregate_function: Possible values include: "Sum", "Max", "Min", "Mean".
:vartype target_aggregate_function: str or ~flow.models.TargetAggregationFunction
:ivar cv_step_size:
:vartype cv_step_size: int
:ivar features_unknown_at_forecast_time:
:vartype features_unknown_at_forecast_time: list[str]
"""
_attribute_map = {
'country_or_region_for_holidays': {'key': 'countryOrRegionForHolidays', 'type': 'str'},
'time_column_name': {'key': 'timeColumnName', 'type': 'str'},
'target_lags': {'key': 'targetLags', 'type': 'TargetLags'},
'target_rolling_window_size': {'key': 'targetRollingWindowSize', 'type': 'TargetRollingWindowSize'},
'forecast_horizon': {'key': 'forecastHorizon', 'type': 'ForecastHorizon'},
'time_series_id_column_names': {'key': 'timeSeriesIdColumnNames', 'type': '[str]'},
'frequency': {'key': 'frequency', 'type': 'str'},
'feature_lags': {'key': 'featureLags', 'type': 'str'},
'seasonality': {'key': 'seasonality', 'type': 'Seasonality'},
'short_series_handling_config': {'key': 'shortSeriesHandlingConfig', 'type': 'str'},
'use_stl': {'key': 'useStl', 'type': 'str'},
'target_aggregate_function': {'key': 'targetAggregateFunction', 'type': 'str'},
'cv_step_size': {'key': 'cvStepSize', 'type': 'int'},
'features_unknown_at_forecast_time': {'key': 'featuresUnknownAtForecastTime', 'type': '[str]'},
}
def __init__(
self,
*,
country_or_region_for_holidays: Optional[str] = None,
time_column_name: Optional[str] = None,
target_lags: Optional["TargetLags"] = None,
target_rolling_window_size: Optional["TargetRollingWindowSize"] = None,
forecast_horizon: Optional["ForecastHorizon"] = None,
time_series_id_column_names: Optional[List[str]] = None,
frequency: Optional[str] = None,
feature_lags: Optional[str] = None,
seasonality: Optional["Seasonality"] = None,
short_series_handling_config: Optional[Union[str, "ShortSeriesHandlingConfiguration"]] = None,
use_stl: Optional[Union[str, "UseStl"]] = None,
target_aggregate_function: Optional[Union[str, "TargetAggregationFunction"]] = None,
cv_step_size: Optional[int] = None,
features_unknown_at_forecast_time: Optional[List[str]] = None,
**kwargs
):
"""
:keyword country_or_region_for_holidays:
:paramtype country_or_region_for_holidays: str
:keyword time_column_name:
:paramtype time_column_name: str
:keyword target_lags:
:paramtype target_lags: ~flow.models.TargetLags
:keyword target_rolling_window_size:
:paramtype target_rolling_window_size: ~flow.models.TargetRollingWindowSize
:keyword forecast_horizon:
:paramtype forecast_horizon: ~flow.models.ForecastHorizon
:keyword time_series_id_column_names:
:paramtype time_series_id_column_names: list[str]
:keyword frequency:
:paramtype frequency: str
:keyword feature_lags:
:paramtype feature_lags: str
:keyword seasonality:
:paramtype seasonality: ~flow.models.Seasonality
:keyword short_series_handling_config: Possible values include: "Auto", "Pad", "Drop".
:paramtype short_series_handling_config: str or ~flow.models.ShortSeriesHandlingConfiguration
:keyword use_stl: Possible values include: "Season", "SeasonTrend".
:paramtype use_stl: str or ~flow.models.UseStl
:keyword target_aggregate_function: Possible values include: "Sum", "Max", "Min", "Mean".
:paramtype target_aggregate_function: str or ~flow.models.TargetAggregationFunction
:keyword cv_step_size:
:paramtype cv_step_size: int
:keyword features_unknown_at_forecast_time:
:paramtype features_unknown_at_forecast_time: list[str]
"""
super(ForecastingSettings, self).__init__(**kwargs)
self.country_or_region_for_holidays = country_or_region_for_holidays
self.time_column_name = time_column_name
self.target_lags = target_lags
self.target_rolling_window_size = target_rolling_window_size
self.forecast_horizon = forecast_horizon
self.time_series_id_column_names = time_series_id_column_names
self.frequency = frequency
self.feature_lags = feature_lags
self.seasonality = seasonality
self.short_series_handling_config = short_series_handling_config
self.use_stl = use_stl
self.target_aggregate_function = target_aggregate_function
self.cv_step_size = cv_step_size
self.features_unknown_at_forecast_time = features_unknown_at_forecast_time
class GeneralSettings(msrest.serialization.Model):
"""GeneralSettings.
:ivar primary_metric: Possible values include: "AUCWeighted", "Accuracy", "NormMacroRecall",
"AveragePrecisionScoreWeighted", "PrecisionScoreWeighted", "SpearmanCorrelation",
"NormalizedRootMeanSquaredError", "R2Score", "NormalizedMeanAbsoluteError",
"NormalizedRootMeanSquaredLogError", "MeanAveragePrecision", "Iou".
:vartype primary_metric: str or ~flow.models.PrimaryMetrics
:ivar task_type: Possible values include: "Classification", "Regression", "Forecasting",
"ImageClassification", "ImageClassificationMultilabel", "ImageObjectDetection",
"ImageInstanceSegmentation", "TextClassification", "TextMultiLabeling", "TextNER",
"TextClassificationMultilabel".
:vartype task_type: str or ~flow.models.TaskType
:ivar log_verbosity: Possible values include: "NotSet", "Debug", "Info", "Warning", "Error",
"Critical".
:vartype log_verbosity: str or ~flow.models.LogVerbosity
"""
_attribute_map = {
'primary_metric': {'key': 'primaryMetric', 'type': 'str'},
'task_type': {'key': 'taskType', 'type': 'str'},
'log_verbosity': {'key': 'logVerbosity', 'type': 'str'},
}
def __init__(
self,
*,
primary_metric: Optional[Union[str, "PrimaryMetrics"]] = None,
task_type: Optional[Union[str, "TaskType"]] = None,
log_verbosity: Optional[Union[str, "LogVerbosity"]] = None,
**kwargs
):
"""
:keyword primary_metric: Possible values include: "AUCWeighted", "Accuracy", "NormMacroRecall",
"AveragePrecisionScoreWeighted", "PrecisionScoreWeighted", "SpearmanCorrelation",
"NormalizedRootMeanSquaredError", "R2Score", "NormalizedMeanAbsoluteError",
"NormalizedRootMeanSquaredLogError", "MeanAveragePrecision", "Iou".
:paramtype primary_metric: str or ~flow.models.PrimaryMetrics
:keyword task_type: Possible values include: "Classification", "Regression", "Forecasting",
"ImageClassification", "ImageClassificationMultilabel", "ImageObjectDetection",
"ImageInstanceSegmentation", "TextClassification", "TextMultiLabeling", "TextNER",
"TextClassificationMultilabel".
:paramtype task_type: str or ~flow.models.TaskType
:keyword log_verbosity: Possible values include: "NotSet", "Debug", "Info", "Warning", "Error",
"Critical".
:paramtype log_verbosity: str or ~flow.models.LogVerbosity
"""
super(GeneralSettings, self).__init__(**kwargs)
self.primary_metric = primary_metric
self.task_type = task_type
self.log_verbosity = log_verbosity
class GeneratePipelineComponentRequest(msrest.serialization.Model):
"""GeneratePipelineComponentRequest.
:ivar name:
:vartype name: str
:ivar display_name:
:vartype display_name: str
:ivar module_scope: Possible values include: "All", "Global", "Workspace", "Anonymous", "Step",
"Draft", "Feed", "Registry", "SystemAutoCreated".
:vartype module_scope: str or ~flow.models.ModuleScope
:ivar is_deterministic:
:vartype is_deterministic: bool
:ivar category:
:vartype category: str
:ivar version:
:vartype version: str
:ivar set_as_default_version:
:vartype set_as_default_version: bool
:ivar registry_name:
:vartype registry_name: str
:ivar graph:
:vartype graph: ~flow.models.GraphDraftEntity
:ivar pipeline_run_settings:
:vartype pipeline_run_settings: list[~flow.models.RunSettingParameterAssignment]
:ivar module_node_run_settings:
:vartype module_node_run_settings: list[~flow.models.GraphModuleNodeRunSetting]
:ivar module_node_ui_input_settings:
:vartype module_node_ui_input_settings: list[~flow.models.GraphModuleNodeUIInputSetting]
:ivar tags: A set of tags. This is a dictionary.
:vartype tags: dict[str, str]
:ivar continue_run_on_step_failure:
:vartype continue_run_on_step_failure: bool
:ivar description:
:vartype description: str
:ivar properties: This is a dictionary.
:vartype properties: dict[str, str]
:ivar enforce_rerun:
:vartype enforce_rerun: bool
:ivar dataset_access_modes: Possible values include: "Default", "DatasetInDpv2", "AssetInDpv2",
"DatasetInDesignerUI", "DatasetInDpv2WithDatasetInDesignerUI", "Dataset",
"AssetInDpv2WithDatasetInDesignerUI", "DatasetAndAssetInDpv2WithDatasetInDesignerUI",
"AssetInDesignerUI", "AssetInDpv2WithAssetInDesignerUI", "Asset".
:vartype dataset_access_modes: str or ~flow.models.DatasetAccessModes
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'display_name': {'key': 'displayName', 'type': 'str'},
'module_scope': {'key': 'moduleScope', 'type': 'str'},
'is_deterministic': {'key': 'isDeterministic', 'type': 'bool'},
'category': {'key': 'category', 'type': 'str'},
'version': {'key': 'version', 'type': 'str'},
'set_as_default_version': {'key': 'setAsDefaultVersion', 'type': 'bool'},
'registry_name': {'key': 'registryName', 'type': 'str'},
'graph': {'key': 'graph', 'type': 'GraphDraftEntity'},
'pipeline_run_settings': {'key': 'pipelineRunSettings', 'type': '[RunSettingParameterAssignment]'},
'module_node_run_settings': {'key': 'moduleNodeRunSettings', 'type': '[GraphModuleNodeRunSetting]'},
'module_node_ui_input_settings': {'key': 'moduleNodeUIInputSettings', 'type': '[GraphModuleNodeUIInputSetting]'},
'tags': {'key': 'tags', 'type': '{str}'},
'continue_run_on_step_failure': {'key': 'continueRunOnStepFailure', 'type': 'bool'},
'description': {'key': 'description', 'type': 'str'},
'properties': {'key': 'properties', 'type': '{str}'},
'enforce_rerun': {'key': 'enforceRerun', 'type': 'bool'},
'dataset_access_modes': {'key': 'datasetAccessModes', 'type': 'str'},
}
def __init__(
self,
*,
name: Optional[str] = None,
display_name: Optional[str] = None,
module_scope: Optional[Union[str, "ModuleScope"]] = None,
is_deterministic: Optional[bool] = None,
category: Optional[str] = None,
version: Optional[str] = None,
set_as_default_version: Optional[bool] = None,
registry_name: Optional[str] = None,
graph: Optional["GraphDraftEntity"] = None,
pipeline_run_settings: Optional[List["RunSettingParameterAssignment"]] = None,
module_node_run_settings: Optional[List["GraphModuleNodeRunSetting"]] = None,
module_node_ui_input_settings: Optional[List["GraphModuleNodeUIInputSetting"]] = None,
tags: Optional[Dict[str, str]] = None,
continue_run_on_step_failure: Optional[bool] = None,
description: Optional[str] = None,
properties: Optional[Dict[str, str]] = None,
enforce_rerun: Optional[bool] = None,
dataset_access_modes: Optional[Union[str, "DatasetAccessModes"]] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword display_name:
:paramtype display_name: str
:keyword module_scope: Possible values include: "All", "Global", "Workspace", "Anonymous",
"Step", "Draft", "Feed", "Registry", "SystemAutoCreated".
:paramtype module_scope: str or ~flow.models.ModuleScope
:keyword is_deterministic:
:paramtype is_deterministic: bool
:keyword category:
:paramtype category: str
:keyword version:
:paramtype version: str
:keyword set_as_default_version:
:paramtype set_as_default_version: bool
:keyword registry_name:
:paramtype registry_name: str
:keyword graph:
:paramtype graph: ~flow.models.GraphDraftEntity
:keyword pipeline_run_settings:
:paramtype pipeline_run_settings: list[~flow.models.RunSettingParameterAssignment]
:keyword module_node_run_settings:
:paramtype module_node_run_settings: list[~flow.models.GraphModuleNodeRunSetting]
:keyword module_node_ui_input_settings:
:paramtype module_node_ui_input_settings: list[~flow.models.GraphModuleNodeUIInputSetting]
:keyword tags: A set of tags. This is a dictionary.
:paramtype tags: dict[str, str]
:keyword continue_run_on_step_failure:
:paramtype continue_run_on_step_failure: bool
:keyword description:
:paramtype description: str
:keyword properties: This is a dictionary.
:paramtype properties: dict[str, str]
:keyword enforce_rerun:
:paramtype enforce_rerun: bool
:keyword dataset_access_modes: Possible values include: "Default", "DatasetInDpv2",
"AssetInDpv2", "DatasetInDesignerUI", "DatasetInDpv2WithDatasetInDesignerUI", "Dataset",
"AssetInDpv2WithDatasetInDesignerUI", "DatasetAndAssetInDpv2WithDatasetInDesignerUI",
"AssetInDesignerUI", "AssetInDpv2WithAssetInDesignerUI", "Asset".
:paramtype dataset_access_modes: str or ~flow.models.DatasetAccessModes
"""
super(GeneratePipelineComponentRequest, self).__init__(**kwargs)
self.name = name
self.display_name = display_name
self.module_scope = module_scope
self.is_deterministic = is_deterministic
self.category = category
self.version = version
self.set_as_default_version = set_as_default_version
self.registry_name = registry_name
self.graph = graph
self.pipeline_run_settings = pipeline_run_settings
self.module_node_run_settings = module_node_run_settings
self.module_node_ui_input_settings = module_node_ui_input_settings
self.tags = tags
self.continue_run_on_step_failure = continue_run_on_step_failure
self.description = description
self.properties = properties
self.enforce_rerun = enforce_rerun
self.dataset_access_modes = dataset_access_modes
class GenerateToolMetaRequest(msrest.serialization.Model):
"""GenerateToolMetaRequest.
:ivar tools: This is a dictionary.
:vartype tools: dict[str, ~flow.models.ToolSourceMeta]
:ivar working_dir:
:vartype working_dir: str
"""
_attribute_map = {
'tools': {'key': 'tools', 'type': '{ToolSourceMeta}'},
'working_dir': {'key': 'working_dir', 'type': 'str'},
}
def __init__(
self,
*,
tools: Optional[Dict[str, "ToolSourceMeta"]] = None,
working_dir: Optional[str] = None,
**kwargs
):
"""
:keyword tools: This is a dictionary.
:paramtype tools: dict[str, ~flow.models.ToolSourceMeta]
:keyword working_dir:
:paramtype working_dir: str
"""
super(GenerateToolMetaRequest, self).__init__(**kwargs)
self.tools = tools
self.working_dir = working_dir
class GetDynamicListRequest(msrest.serialization.Model):
"""GetDynamicListRequest.
:ivar func_path:
:vartype func_path: str
:ivar func_kwargs: This is a dictionary.
:vartype func_kwargs: dict[str, any]
"""
_attribute_map = {
'func_path': {'key': 'func_path', 'type': 'str'},
'func_kwargs': {'key': 'func_kwargs', 'type': '{object}'},
}
def __init__(
self,
*,
func_path: Optional[str] = None,
func_kwargs: Optional[Dict[str, Any]] = None,
**kwargs
):
"""
:keyword func_path:
:paramtype func_path: str
:keyword func_kwargs: This is a dictionary.
:paramtype func_kwargs: dict[str, any]
"""
super(GetDynamicListRequest, self).__init__(**kwargs)
self.func_path = func_path
self.func_kwargs = func_kwargs
class GetRunDataResultDto(msrest.serialization.Model):
"""GetRunDataResultDto.
:ivar run_metadata:
:vartype run_metadata: ~flow.models.RunDto
:ivar run_definition: Anything.
:vartype run_definition: any
:ivar job_specification: Anything.
:vartype job_specification: any
:ivar system_settings: Dictionary of :code:`<string>`.
:vartype system_settings: dict[str, str]
"""
_attribute_map = {
'run_metadata': {'key': 'runMetadata', 'type': 'RunDto'},
'run_definition': {'key': 'runDefinition', 'type': 'object'},
'job_specification': {'key': 'jobSpecification', 'type': 'object'},
'system_settings': {'key': 'systemSettings', 'type': '{str}'},
}
def __init__(
self,
*,
run_metadata: Optional["RunDto"] = None,
run_definition: Optional[Any] = None,
job_specification: Optional[Any] = None,
system_settings: Optional[Dict[str, str]] = None,
**kwargs
):
"""
:keyword run_metadata:
:paramtype run_metadata: ~flow.models.RunDto
:keyword run_definition: Anything.
:paramtype run_definition: any
:keyword job_specification: Anything.
:paramtype job_specification: any
:keyword system_settings: Dictionary of :code:`<string>`.
:paramtype system_settings: dict[str, str]
"""
super(GetRunDataResultDto, self).__init__(**kwargs)
self.run_metadata = run_metadata
self.run_definition = run_definition
self.job_specification = job_specification
self.system_settings = system_settings
class GetTrainingSessionDto(msrest.serialization.Model):
"""GetTrainingSessionDto.
:ivar properties:
:vartype properties: ~flow.models.SessionProperties
:ivar compute:
:vartype compute: ~flow.models.ComputeContract
"""
_attribute_map = {
'properties': {'key': 'properties', 'type': 'SessionProperties'},
'compute': {'key': 'compute', 'type': 'ComputeContract'},
}
def __init__(
self,
*,
properties: Optional["SessionProperties"] = None,
compute: Optional["ComputeContract"] = None,
**kwargs
):
"""
:keyword properties:
:paramtype properties: ~flow.models.SessionProperties
:keyword compute:
:paramtype compute: ~flow.models.ComputeContract
"""
super(GetTrainingSessionDto, self).__init__(**kwargs)
self.properties = properties
self.compute = compute
class GlobalJobDispatcherConfiguration(msrest.serialization.Model):
"""GlobalJobDispatcherConfiguration.
:ivar vm_size:
:vartype vm_size: list[str]
:ivar compute_type: Possible values include: "AmlCompute", "AmlK8s".
:vartype compute_type: str or ~flow.models.GlobalJobDispatcherSupportedComputeType
:ivar region:
:vartype region: list[str]
:ivar my_resource_only:
:vartype my_resource_only: bool
:ivar redispatch_allowed:
:vartype redispatch_allowed: bool
:ivar low_priority_vm_tolerant:
:vartype low_priority_vm_tolerant: bool
:ivar vc_list:
:vartype vc_list: list[str]
:ivar plan_id:
:vartype plan_id: str
:ivar plan_region_id:
:vartype plan_region_id: str
:ivar vc_block_list:
:vartype vc_block_list: list[str]
:ivar cluster_block_list:
:vartype cluster_block_list: list[str]
"""
_attribute_map = {
'vm_size': {'key': 'vmSize', 'type': '[str]'},
'compute_type': {'key': 'computeType', 'type': 'str'},
'region': {'key': 'region', 'type': '[str]'},
'my_resource_only': {'key': 'myResourceOnly', 'type': 'bool'},
'redispatch_allowed': {'key': 'redispatchAllowed', 'type': 'bool'},
'low_priority_vm_tolerant': {'key': 'lowPriorityVMTolerant', 'type': 'bool'},
'vc_list': {'key': 'vcList', 'type': '[str]'},
'plan_id': {'key': 'planId', 'type': 'str'},
'plan_region_id': {'key': 'planRegionId', 'type': 'str'},
'vc_block_list': {'key': 'vcBlockList', 'type': '[str]'},
'cluster_block_list': {'key': 'clusterBlockList', 'type': '[str]'},
}
def __init__(
self,
*,
vm_size: Optional[List[str]] = None,
compute_type: Optional[Union[str, "GlobalJobDispatcherSupportedComputeType"]] = None,
region: Optional[List[str]] = None,
my_resource_only: Optional[bool] = None,
redispatch_allowed: Optional[bool] = None,
low_priority_vm_tolerant: Optional[bool] = None,
vc_list: Optional[List[str]] = None,
plan_id: Optional[str] = None,
plan_region_id: Optional[str] = None,
vc_block_list: Optional[List[str]] = None,
cluster_block_list: Optional[List[str]] = None,
**kwargs
):
"""
:keyword vm_size:
:paramtype vm_size: list[str]
:keyword compute_type: Possible values include: "AmlCompute", "AmlK8s".
:paramtype compute_type: str or ~flow.models.GlobalJobDispatcherSupportedComputeType
:keyword region:
:paramtype region: list[str]
:keyword my_resource_only:
:paramtype my_resource_only: bool
:keyword redispatch_allowed:
:paramtype redispatch_allowed: bool
:keyword low_priority_vm_tolerant:
:paramtype low_priority_vm_tolerant: bool
:keyword vc_list:
:paramtype vc_list: list[str]
:keyword plan_id:
:paramtype plan_id: str
:keyword plan_region_id:
:paramtype plan_region_id: str
:keyword vc_block_list:
:paramtype vc_block_list: list[str]
:keyword cluster_block_list:
:paramtype cluster_block_list: list[str]
"""
super(GlobalJobDispatcherConfiguration, self).__init__(**kwargs)
self.vm_size = vm_size
self.compute_type = compute_type
self.region = region
self.my_resource_only = my_resource_only
self.redispatch_allowed = redispatch_allowed
self.low_priority_vm_tolerant = low_priority_vm_tolerant
self.vc_list = vc_list
self.plan_id = plan_id
self.plan_region_id = plan_region_id
self.vc_block_list = vc_block_list
self.cluster_block_list = cluster_block_list
class GlobsOptions(msrest.serialization.Model):
"""GlobsOptions.
:ivar glob_patterns:
:vartype glob_patterns: list[str]
"""
_attribute_map = {
'glob_patterns': {'key': 'globPatterns', 'type': '[str]'},
}
def __init__(
self,
*,
glob_patterns: Optional[List[str]] = None,
**kwargs
):
"""
:keyword glob_patterns:
:paramtype glob_patterns: list[str]
"""
super(GlobsOptions, self).__init__(**kwargs)
self.glob_patterns = glob_patterns
class GraphAnnotationNode(msrest.serialization.Model):
"""GraphAnnotationNode.
:ivar id:
:vartype id: str
:ivar content:
:vartype content: str
:ivar mentioned_node_names:
:vartype mentioned_node_names: list[str]
:ivar structured_content:
:vartype structured_content: str
"""
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'content': {'key': 'content', 'type': 'str'},
'mentioned_node_names': {'key': 'mentionedNodeNames', 'type': '[str]'},
'structured_content': {'key': 'structuredContent', 'type': 'str'},
}
def __init__(
self,
*,
id: Optional[str] = None,
content: Optional[str] = None,
mentioned_node_names: Optional[List[str]] = None,
structured_content: Optional[str] = None,
**kwargs
):
"""
:keyword id:
:paramtype id: str
:keyword content:
:paramtype content: str
:keyword mentioned_node_names:
:paramtype mentioned_node_names: list[str]
:keyword structured_content:
:paramtype structured_content: str
"""
super(GraphAnnotationNode, self).__init__(**kwargs)
self.id = id
self.content = content
self.mentioned_node_names = mentioned_node_names
self.structured_content = structured_content
class GraphControlNode(msrest.serialization.Model):
"""GraphControlNode.
:ivar id:
:vartype id: str
:ivar control_type: The only acceptable values to pass in are None and "IfElse". The default
value is None.
:vartype control_type: str
:ivar control_parameter:
:vartype control_parameter: ~flow.models.ParameterAssignment
:ivar run_attribution:
:vartype run_attribution: str
"""
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'control_type': {'key': 'controlType', 'type': 'str'},
'control_parameter': {'key': 'controlParameter', 'type': 'ParameterAssignment'},
'run_attribution': {'key': 'runAttribution', 'type': 'str'},
}
def __init__(
self,
*,
id: Optional[str] = None,
control_type: Optional[str] = None,
control_parameter: Optional["ParameterAssignment"] = None,
run_attribution: Optional[str] = None,
**kwargs
):
"""
:keyword id:
:paramtype id: str
:keyword control_type: The only acceptable values to pass in are None and "IfElse". The
default value is None.
:paramtype control_type: str
:keyword control_parameter:
:paramtype control_parameter: ~flow.models.ParameterAssignment
:keyword run_attribution:
:paramtype run_attribution: str
"""
super(GraphControlNode, self).__init__(**kwargs)
self.id = id
self.control_type = control_type
self.control_parameter = control_parameter
self.run_attribution = run_attribution
class GraphControlReferenceNode(msrest.serialization.Model):
"""GraphControlReferenceNode.
:ivar id:
:vartype id: str
:ivar name:
:vartype name: str
:ivar comment:
:vartype comment: str
:ivar control_flow_type: Possible values include: "None", "DoWhile", "ParallelFor".
:vartype control_flow_type: str or ~flow.models.ControlFlowType
:ivar reference_node_id:
:vartype reference_node_id: str
:ivar do_while_control_flow_info:
:vartype do_while_control_flow_info: ~flow.models.DoWhileControlFlowInfo
:ivar parallel_for_control_flow_info:
:vartype parallel_for_control_flow_info: ~flow.models.ParallelForControlFlowInfo
:ivar run_attribution:
:vartype run_attribution: str
"""
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'comment': {'key': 'comment', 'type': 'str'},
'control_flow_type': {'key': 'controlFlowType', 'type': 'str'},
'reference_node_id': {'key': 'referenceNodeId', 'type': 'str'},
'do_while_control_flow_info': {'key': 'doWhileControlFlowInfo', 'type': 'DoWhileControlFlowInfo'},
'parallel_for_control_flow_info': {'key': 'parallelForControlFlowInfo', 'type': 'ParallelForControlFlowInfo'},
'run_attribution': {'key': 'runAttribution', 'type': 'str'},
}
def __init__(
self,
*,
id: Optional[str] = None,
name: Optional[str] = None,
comment: Optional[str] = None,
control_flow_type: Optional[Union[str, "ControlFlowType"]] = None,
reference_node_id: Optional[str] = None,
do_while_control_flow_info: Optional["DoWhileControlFlowInfo"] = None,
parallel_for_control_flow_info: Optional["ParallelForControlFlowInfo"] = None,
run_attribution: Optional[str] = None,
**kwargs
):
"""
:keyword id:
:paramtype id: str
:keyword name:
:paramtype name: str
:keyword comment:
:paramtype comment: str
:keyword control_flow_type: Possible values include: "None", "DoWhile", "ParallelFor".
:paramtype control_flow_type: str or ~flow.models.ControlFlowType
:keyword reference_node_id:
:paramtype reference_node_id: str
:keyword do_while_control_flow_info:
:paramtype do_while_control_flow_info: ~flow.models.DoWhileControlFlowInfo
:keyword parallel_for_control_flow_info:
:paramtype parallel_for_control_flow_info: ~flow.models.ParallelForControlFlowInfo
:keyword run_attribution:
:paramtype run_attribution: str
"""
super(GraphControlReferenceNode, self).__init__(**kwargs)
self.id = id
self.name = name
self.comment = comment
self.control_flow_type = control_flow_type
self.reference_node_id = reference_node_id
self.do_while_control_flow_info = do_while_control_flow_info
self.parallel_for_control_flow_info = parallel_for_control_flow_info
self.run_attribution = run_attribution
class GraphDatasetNode(msrest.serialization.Model):
"""GraphDatasetNode.
:ivar id:
:vartype id: str
:ivar dataset_id:
:vartype dataset_id: str
:ivar data_path_parameter_name:
:vartype data_path_parameter_name: str
:ivar data_set_definition:
:vartype data_set_definition: ~flow.models.DataSetDefinition
"""
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'dataset_id': {'key': 'datasetId', 'type': 'str'},
'data_path_parameter_name': {'key': 'dataPathParameterName', 'type': 'str'},
'data_set_definition': {'key': 'dataSetDefinition', 'type': 'DataSetDefinition'},
}
def __init__(
self,
*,
id: Optional[str] = None,
dataset_id: Optional[str] = None,
data_path_parameter_name: Optional[str] = None,
data_set_definition: Optional["DataSetDefinition"] = None,
**kwargs
):
"""
:keyword id:
:paramtype id: str
:keyword dataset_id:
:paramtype dataset_id: str
:keyword data_path_parameter_name:
:paramtype data_path_parameter_name: str
:keyword data_set_definition:
:paramtype data_set_definition: ~flow.models.DataSetDefinition
"""
super(GraphDatasetNode, self).__init__(**kwargs)
self.id = id
self.dataset_id = dataset_id
self.data_path_parameter_name = data_path_parameter_name
self.data_set_definition = data_set_definition
class GraphDraftEntity(msrest.serialization.Model):
"""GraphDraftEntity.
:ivar module_nodes:
:vartype module_nodes: list[~flow.models.GraphModuleNode]
:ivar dataset_nodes:
:vartype dataset_nodes: list[~flow.models.GraphDatasetNode]
:ivar sub_graph_nodes:
:vartype sub_graph_nodes: list[~flow.models.GraphReferenceNode]
:ivar control_reference_nodes:
:vartype control_reference_nodes: list[~flow.models.GraphControlReferenceNode]
:ivar control_nodes:
:vartype control_nodes: list[~flow.models.GraphControlNode]
:ivar edges:
:vartype edges: list[~flow.models.GraphEdge]
:ivar entity_interface:
:vartype entity_interface: ~flow.models.EntityInterface
:ivar graph_layout:
:vartype graph_layout: ~flow.models.GraphLayout
:ivar created_by:
:vartype created_by: ~flow.models.CreatedBy
:ivar last_updated_by:
:vartype last_updated_by: ~flow.models.CreatedBy
:ivar default_compute:
:vartype default_compute: ~flow.models.ComputeSetting
:ivar default_datastore:
:vartype default_datastore: ~flow.models.DatastoreSetting
:ivar default_cloud_priority:
:vartype default_cloud_priority: ~flow.models.CloudPrioritySetting
:ivar extended_properties: This is a dictionary.
:vartype extended_properties: dict[str, str]
:ivar parent_sub_graph_module_ids:
:vartype parent_sub_graph_module_ids: list[str]
:ivar id:
:vartype id: str
:ivar etag:
:vartype etag: str
:ivar created_date:
:vartype created_date: ~datetime.datetime
:ivar last_modified_date:
:vartype last_modified_date: ~datetime.datetime
"""
_attribute_map = {
'module_nodes': {'key': 'moduleNodes', 'type': '[GraphModuleNode]'},
'dataset_nodes': {'key': 'datasetNodes', 'type': '[GraphDatasetNode]'},
'sub_graph_nodes': {'key': 'subGraphNodes', 'type': '[GraphReferenceNode]'},
'control_reference_nodes': {'key': 'controlReferenceNodes', 'type': '[GraphControlReferenceNode]'},
'control_nodes': {'key': 'controlNodes', 'type': '[GraphControlNode]'},
'edges': {'key': 'edges', 'type': '[GraphEdge]'},
'entity_interface': {'key': 'entityInterface', 'type': 'EntityInterface'},
'graph_layout': {'key': 'graphLayout', 'type': 'GraphLayout'},
'created_by': {'key': 'createdBy', 'type': 'CreatedBy'},
'last_updated_by': {'key': 'lastUpdatedBy', 'type': 'CreatedBy'},
'default_compute': {'key': 'defaultCompute', 'type': 'ComputeSetting'},
'default_datastore': {'key': 'defaultDatastore', 'type': 'DatastoreSetting'},
'default_cloud_priority': {'key': 'defaultCloudPriority', 'type': 'CloudPrioritySetting'},
'extended_properties': {'key': 'extendedProperties', 'type': '{str}'},
'parent_sub_graph_module_ids': {'key': 'parentSubGraphModuleIds', 'type': '[str]'},
'id': {'key': 'id', 'type': 'str'},
'etag': {'key': 'etag', 'type': 'str'},
'created_date': {'key': 'createdDate', 'type': 'iso-8601'},
'last_modified_date': {'key': 'lastModifiedDate', 'type': 'iso-8601'},
}
def __init__(
self,
*,
module_nodes: Optional[List["GraphModuleNode"]] = None,
dataset_nodes: Optional[List["GraphDatasetNode"]] = None,
sub_graph_nodes: Optional[List["GraphReferenceNode"]] = None,
control_reference_nodes: Optional[List["GraphControlReferenceNode"]] = None,
control_nodes: Optional[List["GraphControlNode"]] = None,
edges: Optional[List["GraphEdge"]] = None,
entity_interface: Optional["EntityInterface"] = None,
graph_layout: Optional["GraphLayout"] = None,
created_by: Optional["CreatedBy"] = None,
last_updated_by: Optional["CreatedBy"] = None,
default_compute: Optional["ComputeSetting"] = None,
default_datastore: Optional["DatastoreSetting"] = None,
default_cloud_priority: Optional["CloudPrioritySetting"] = None,
extended_properties: Optional[Dict[str, str]] = None,
parent_sub_graph_module_ids: Optional[List[str]] = None,
id: Optional[str] = None,
etag: Optional[str] = None,
created_date: Optional[datetime.datetime] = None,
last_modified_date: Optional[datetime.datetime] = None,
**kwargs
):
"""
:keyword module_nodes:
:paramtype module_nodes: list[~flow.models.GraphModuleNode]
:keyword dataset_nodes:
:paramtype dataset_nodes: list[~flow.models.GraphDatasetNode]
:keyword sub_graph_nodes:
:paramtype sub_graph_nodes: list[~flow.models.GraphReferenceNode]
:keyword control_reference_nodes:
:paramtype control_reference_nodes: list[~flow.models.GraphControlReferenceNode]
:keyword control_nodes:
:paramtype control_nodes: list[~flow.models.GraphControlNode]
:keyword edges:
:paramtype edges: list[~flow.models.GraphEdge]
:keyword entity_interface:
:paramtype entity_interface: ~flow.models.EntityInterface
:keyword graph_layout:
:paramtype graph_layout: ~flow.models.GraphLayout
:keyword created_by:
:paramtype created_by: ~flow.models.CreatedBy
:keyword last_updated_by:
:paramtype last_updated_by: ~flow.models.CreatedBy
:keyword default_compute:
:paramtype default_compute: ~flow.models.ComputeSetting
:keyword default_datastore:
:paramtype default_datastore: ~flow.models.DatastoreSetting
:keyword default_cloud_priority:
:paramtype default_cloud_priority: ~flow.models.CloudPrioritySetting
:keyword extended_properties: This is a dictionary.
:paramtype extended_properties: dict[str, str]
:keyword parent_sub_graph_module_ids:
:paramtype parent_sub_graph_module_ids: list[str]
:keyword id:
:paramtype id: str
:keyword etag:
:paramtype etag: str
:keyword created_date:
:paramtype created_date: ~datetime.datetime
:keyword last_modified_date:
:paramtype last_modified_date: ~datetime.datetime
"""
super(GraphDraftEntity, self).__init__(**kwargs)
self.module_nodes = module_nodes
self.dataset_nodes = dataset_nodes
self.sub_graph_nodes = sub_graph_nodes
self.control_reference_nodes = control_reference_nodes
self.control_nodes = control_nodes
self.edges = edges
self.entity_interface = entity_interface
self.graph_layout = graph_layout
self.created_by = created_by
self.last_updated_by = last_updated_by
self.default_compute = default_compute
self.default_datastore = default_datastore
self.default_cloud_priority = default_cloud_priority
self.extended_properties = extended_properties
self.parent_sub_graph_module_ids = parent_sub_graph_module_ids
self.id = id
self.etag = etag
self.created_date = created_date
self.last_modified_date = last_modified_date
class GraphEdge(msrest.serialization.Model):
"""GraphEdge.
:ivar source_output_port:
:vartype source_output_port: ~flow.models.PortInfo
:ivar destination_input_port:
:vartype destination_input_port: ~flow.models.PortInfo
"""
_attribute_map = {
'source_output_port': {'key': 'sourceOutputPort', 'type': 'PortInfo'},
'destination_input_port': {'key': 'destinationInputPort', 'type': 'PortInfo'},
}
def __init__(
self,
*,
source_output_port: Optional["PortInfo"] = None,
destination_input_port: Optional["PortInfo"] = None,
**kwargs
):
"""
:keyword source_output_port:
:paramtype source_output_port: ~flow.models.PortInfo
:keyword destination_input_port:
:paramtype destination_input_port: ~flow.models.PortInfo
"""
super(GraphEdge, self).__init__(**kwargs)
self.source_output_port = source_output_port
self.destination_input_port = destination_input_port
class GraphLayout(msrest.serialization.Model):
"""GraphLayout.
:ivar node_layouts: This is a dictionary.
:vartype node_layouts: dict[str, ~flow.models.NodeLayout]
:ivar extended_data:
:vartype extended_data: str
:ivar annotation_nodes:
:vartype annotation_nodes: list[~flow.models.GraphAnnotationNode]
:ivar id:
:vartype id: str
:ivar etag:
:vartype etag: str
:ivar created_date:
:vartype created_date: ~datetime.datetime
:ivar last_modified_date:
:vartype last_modified_date: ~datetime.datetime
"""
_attribute_map = {
'node_layouts': {'key': 'nodeLayouts', 'type': '{NodeLayout}'},
'extended_data': {'key': 'extendedData', 'type': 'str'},
'annotation_nodes': {'key': 'annotationNodes', 'type': '[GraphAnnotationNode]'},
'id': {'key': 'id', 'type': 'str'},
'etag': {'key': 'etag', 'type': 'str'},
'created_date': {'key': 'createdDate', 'type': 'iso-8601'},
'last_modified_date': {'key': 'lastModifiedDate', 'type': 'iso-8601'},
}
def __init__(
self,
*,
node_layouts: Optional[Dict[str, "NodeLayout"]] = None,
extended_data: Optional[str] = None,
annotation_nodes: Optional[List["GraphAnnotationNode"]] = None,
id: Optional[str] = None,
etag: Optional[str] = None,
created_date: Optional[datetime.datetime] = None,
last_modified_date: Optional[datetime.datetime] = None,
**kwargs
):
"""
:keyword node_layouts: This is a dictionary.
:paramtype node_layouts: dict[str, ~flow.models.NodeLayout]
:keyword extended_data:
:paramtype extended_data: str
:keyword annotation_nodes:
:paramtype annotation_nodes: list[~flow.models.GraphAnnotationNode]
:keyword id:
:paramtype id: str
:keyword etag:
:paramtype etag: str
:keyword created_date:
:paramtype created_date: ~datetime.datetime
:keyword last_modified_date:
:paramtype last_modified_date: ~datetime.datetime
"""
super(GraphLayout, self).__init__(**kwargs)
self.node_layouts = node_layouts
self.extended_data = extended_data
self.annotation_nodes = annotation_nodes
self.id = id
self.etag = etag
self.created_date = created_date
self.last_modified_date = last_modified_date
class GraphLayoutCreationInfo(msrest.serialization.Model):
"""GraphLayoutCreationInfo.
:ivar node_layouts: This is a dictionary.
:vartype node_layouts: dict[str, ~flow.models.NodeLayout]
:ivar extended_data:
:vartype extended_data: str
:ivar annotation_nodes:
:vartype annotation_nodes: list[~flow.models.GraphAnnotationNode]
"""
_attribute_map = {
'node_layouts': {'key': 'nodeLayouts', 'type': '{NodeLayout}'},
'extended_data': {'key': 'extendedData', 'type': 'str'},
'annotation_nodes': {'key': 'annotationNodes', 'type': '[GraphAnnotationNode]'},
}
def __init__(
self,
*,
node_layouts: Optional[Dict[str, "NodeLayout"]] = None,
extended_data: Optional[str] = None,
annotation_nodes: Optional[List["GraphAnnotationNode"]] = None,
**kwargs
):
"""
:keyword node_layouts: This is a dictionary.
:paramtype node_layouts: dict[str, ~flow.models.NodeLayout]
:keyword extended_data:
:paramtype extended_data: str
:keyword annotation_nodes:
:paramtype annotation_nodes: list[~flow.models.GraphAnnotationNode]
"""
super(GraphLayoutCreationInfo, self).__init__(**kwargs)
self.node_layouts = node_layouts
self.extended_data = extended_data
self.annotation_nodes = annotation_nodes
class GraphModuleNode(msrest.serialization.Model):
"""GraphModuleNode.
:ivar module_type: Possible values include: "None", "BatchInferencing".
:vartype module_type: str or ~flow.models.ModuleType
:ivar runconfig:
:vartype runconfig: str
:ivar id:
:vartype id: str
:ivar module_id:
:vartype module_id: str
:ivar comment:
:vartype comment: str
:ivar name:
:vartype name: str
:ivar module_parameters:
:vartype module_parameters: list[~flow.models.ParameterAssignment]
:ivar module_metadata_parameters:
:vartype module_metadata_parameters: list[~flow.models.ParameterAssignment]
:ivar module_output_settings:
:vartype module_output_settings: list[~flow.models.OutputSetting]
:ivar module_input_settings:
:vartype module_input_settings: list[~flow.models.InputSetting]
:ivar use_graph_default_compute:
:vartype use_graph_default_compute: bool
:ivar use_graph_default_datastore:
:vartype use_graph_default_datastore: bool
:ivar regenerate_output:
:vartype regenerate_output: bool
:ivar control_inputs:
:vartype control_inputs: list[~flow.models.ControlInput]
:ivar cloud_settings:
:vartype cloud_settings: ~flow.models.CloudSettings
:ivar execution_phase: Possible values include: "Execution", "Initialization", "Finalization".
:vartype execution_phase: str or ~flow.models.ExecutionPhase
:ivar run_attribution:
:vartype run_attribution: str
"""
_attribute_map = {
'module_type': {'key': 'moduleType', 'type': 'str'},
'runconfig': {'key': 'runconfig', 'type': 'str'},
'id': {'key': 'id', 'type': 'str'},
'module_id': {'key': 'moduleId', 'type': 'str'},
'comment': {'key': 'comment', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'module_parameters': {'key': 'moduleParameters', 'type': '[ParameterAssignment]'},
'module_metadata_parameters': {'key': 'moduleMetadataParameters', 'type': '[ParameterAssignment]'},
'module_output_settings': {'key': 'moduleOutputSettings', 'type': '[OutputSetting]'},
'module_input_settings': {'key': 'moduleInputSettings', 'type': '[InputSetting]'},
'use_graph_default_compute': {'key': 'useGraphDefaultCompute', 'type': 'bool'},
'use_graph_default_datastore': {'key': 'useGraphDefaultDatastore', 'type': 'bool'},
'regenerate_output': {'key': 'regenerateOutput', 'type': 'bool'},
'control_inputs': {'key': 'controlInputs', 'type': '[ControlInput]'},
'cloud_settings': {'key': 'cloudSettings', 'type': 'CloudSettings'},
'execution_phase': {'key': 'executionPhase', 'type': 'str'},
'run_attribution': {'key': 'runAttribution', 'type': 'str'},
}
def __init__(
self,
*,
module_type: Optional[Union[str, "ModuleType"]] = None,
runconfig: Optional[str] = None,
id: Optional[str] = None,
module_id: Optional[str] = None,
comment: Optional[str] = None,
name: Optional[str] = None,
module_parameters: Optional[List["ParameterAssignment"]] = None,
module_metadata_parameters: Optional[List["ParameterAssignment"]] = None,
module_output_settings: Optional[List["OutputSetting"]] = None,
module_input_settings: Optional[List["InputSetting"]] = None,
use_graph_default_compute: Optional[bool] = None,
use_graph_default_datastore: Optional[bool] = None,
regenerate_output: Optional[bool] = None,
control_inputs: Optional[List["ControlInput"]] = None,
cloud_settings: Optional["CloudSettings"] = None,
execution_phase: Optional[Union[str, "ExecutionPhase"]] = None,
run_attribution: Optional[str] = None,
**kwargs
):
"""
:keyword module_type: Possible values include: "None", "BatchInferencing".
:paramtype module_type: str or ~flow.models.ModuleType
:keyword runconfig:
:paramtype runconfig: str
:keyword id:
:paramtype id: str
:keyword module_id:
:paramtype module_id: str
:keyword comment:
:paramtype comment: str
:keyword name:
:paramtype name: str
:keyword module_parameters:
:paramtype module_parameters: list[~flow.models.ParameterAssignment]
:keyword module_metadata_parameters:
:paramtype module_metadata_parameters: list[~flow.models.ParameterAssignment]
:keyword module_output_settings:
:paramtype module_output_settings: list[~flow.models.OutputSetting]
:keyword module_input_settings:
:paramtype module_input_settings: list[~flow.models.InputSetting]
:keyword use_graph_default_compute:
:paramtype use_graph_default_compute: bool
:keyword use_graph_default_datastore:
:paramtype use_graph_default_datastore: bool
:keyword regenerate_output:
:paramtype regenerate_output: bool
:keyword control_inputs:
:paramtype control_inputs: list[~flow.models.ControlInput]
:keyword cloud_settings:
:paramtype cloud_settings: ~flow.models.CloudSettings
:keyword execution_phase: Possible values include: "Execution", "Initialization",
"Finalization".
:paramtype execution_phase: str or ~flow.models.ExecutionPhase
:keyword run_attribution:
:paramtype run_attribution: str
"""
super(GraphModuleNode, self).__init__(**kwargs)
self.module_type = module_type
self.runconfig = runconfig
self.id = id
self.module_id = module_id
self.comment = comment
self.name = name
self.module_parameters = module_parameters
self.module_metadata_parameters = module_metadata_parameters
self.module_output_settings = module_output_settings
self.module_input_settings = module_input_settings
self.use_graph_default_compute = use_graph_default_compute
self.use_graph_default_datastore = use_graph_default_datastore
self.regenerate_output = regenerate_output
self.control_inputs = control_inputs
self.cloud_settings = cloud_settings
self.execution_phase = execution_phase
self.run_attribution = run_attribution
class GraphModuleNodeRunSetting(msrest.serialization.Model):
"""GraphModuleNodeRunSetting.
:ivar node_id:
:vartype node_id: str
:ivar module_id:
:vartype module_id: str
:ivar step_type:
:vartype step_type: str
:ivar run_settings:
:vartype run_settings: list[~flow.models.RunSettingParameterAssignment]
"""
_attribute_map = {
'node_id': {'key': 'nodeId', 'type': 'str'},
'module_id': {'key': 'moduleId', 'type': 'str'},
'step_type': {'key': 'stepType', 'type': 'str'},
'run_settings': {'key': 'runSettings', 'type': '[RunSettingParameterAssignment]'},
}
def __init__(
self,
*,
node_id: Optional[str] = None,
module_id: Optional[str] = None,
step_type: Optional[str] = None,
run_settings: Optional[List["RunSettingParameterAssignment"]] = None,
**kwargs
):
"""
:keyword node_id:
:paramtype node_id: str
:keyword module_id:
:paramtype module_id: str
:keyword step_type:
:paramtype step_type: str
:keyword run_settings:
:paramtype run_settings: list[~flow.models.RunSettingParameterAssignment]
"""
super(GraphModuleNodeRunSetting, self).__init__(**kwargs)
self.node_id = node_id
self.module_id = module_id
self.step_type = step_type
self.run_settings = run_settings
class GraphModuleNodeUIInputSetting(msrest.serialization.Model):
"""GraphModuleNodeUIInputSetting.
:ivar node_id:
:vartype node_id: str
:ivar module_id:
:vartype module_id: str
:ivar module_input_settings:
:vartype module_input_settings: list[~flow.models.UIInputSetting]
"""
_attribute_map = {
'node_id': {'key': 'nodeId', 'type': 'str'},
'module_id': {'key': 'moduleId', 'type': 'str'},
'module_input_settings': {'key': 'moduleInputSettings', 'type': '[UIInputSetting]'},
}
def __init__(
self,
*,
node_id: Optional[str] = None,
module_id: Optional[str] = None,
module_input_settings: Optional[List["UIInputSetting"]] = None,
**kwargs
):
"""
:keyword node_id:
:paramtype node_id: str
:keyword module_id:
:paramtype module_id: str
:keyword module_input_settings:
:paramtype module_input_settings: list[~flow.models.UIInputSetting]
"""
super(GraphModuleNodeUIInputSetting, self).__init__(**kwargs)
self.node_id = node_id
self.module_id = module_id
self.module_input_settings = module_input_settings
class GraphNodeStatusInfo(msrest.serialization.Model):
"""GraphNodeStatusInfo.
:ivar status: Possible values include: "NotStarted", "Queued", "Running", "Failed", "Finished",
"Canceled", "PartiallyExecuted", "Bypassed".
:vartype status: str or ~flow.models.TaskStatusCode
:ivar run_status: Possible values include: "NotStarted", "Unapproved", "Pausing", "Paused",
"Starting", "Preparing", "Queued", "Running", "Finalizing", "CancelRequested", "Completed",
"Failed", "Canceled".
:vartype run_status: str or ~flow.models.RunStatus
:ivar is_bypassed:
:vartype is_bypassed: bool
:ivar has_failed_child_run:
:vartype has_failed_child_run: bool
:ivar partially_executed:
:vartype partially_executed: bool
:ivar properties: This is a dictionary.
:vartype properties: dict[str, str]
:ivar aether_start_time:
:vartype aether_start_time: ~datetime.datetime
:ivar aether_end_time:
:vartype aether_end_time: ~datetime.datetime
:ivar aether_creation_time:
:vartype aether_creation_time: ~datetime.datetime
:ivar run_history_start_time:
:vartype run_history_start_time: ~datetime.datetime
:ivar run_history_end_time:
:vartype run_history_end_time: ~datetime.datetime
:ivar run_history_creation_time:
:vartype run_history_creation_time: ~datetime.datetime
:ivar reuse_info:
:vartype reuse_info: ~flow.models.TaskReuseInfo
:ivar control_flow_info:
:vartype control_flow_info: ~flow.models.TaskControlFlowInfo
:ivar status_code: Possible values include: "NotStarted", "Queued", "Running", "Failed",
"Finished", "Canceled", "PartiallyExecuted", "Bypassed".
:vartype status_code: str or ~flow.models.TaskStatusCode
:ivar status_detail:
:vartype status_detail: str
:ivar creation_time:
:vartype creation_time: ~datetime.datetime
:ivar schedule_time:
:vartype schedule_time: ~datetime.datetime
:ivar start_time:
:vartype start_time: ~datetime.datetime
:ivar end_time:
:vartype end_time: ~datetime.datetime
:ivar request_id:
:vartype request_id: str
:ivar run_id:
:vartype run_id: str
:ivar data_container_id:
:vartype data_container_id: str
:ivar real_time_log_path:
:vartype real_time_log_path: str
:ivar has_warnings:
:vartype has_warnings: bool
:ivar composite_node_id:
:vartype composite_node_id: str
"""
_attribute_map = {
'status': {'key': 'status', 'type': 'str'},
'run_status': {'key': 'runStatus', 'type': 'str'},
'is_bypassed': {'key': 'isBypassed', 'type': 'bool'},
'has_failed_child_run': {'key': 'hasFailedChildRun', 'type': 'bool'},
'partially_executed': {'key': 'partiallyExecuted', 'type': 'bool'},
'properties': {'key': 'properties', 'type': '{str}'},
'aether_start_time': {'key': 'aetherStartTime', 'type': 'iso-8601'},
'aether_end_time': {'key': 'aetherEndTime', 'type': 'iso-8601'},
'aether_creation_time': {'key': 'aetherCreationTime', 'type': 'iso-8601'},
'run_history_start_time': {'key': 'runHistoryStartTime', 'type': 'iso-8601'},
'run_history_end_time': {'key': 'runHistoryEndTime', 'type': 'iso-8601'},
'run_history_creation_time': {'key': 'runHistoryCreationTime', 'type': 'iso-8601'},
'reuse_info': {'key': 'reuseInfo', 'type': 'TaskReuseInfo'},
'control_flow_info': {'key': 'controlFlowInfo', 'type': 'TaskControlFlowInfo'},
'status_code': {'key': 'statusCode', 'type': 'str'},
'status_detail': {'key': 'statusDetail', 'type': 'str'},
'creation_time': {'key': 'creationTime', 'type': 'iso-8601'},
'schedule_time': {'key': 'scheduleTime', 'type': 'iso-8601'},
'start_time': {'key': 'startTime', 'type': 'iso-8601'},
'end_time': {'key': 'endTime', 'type': 'iso-8601'},
'request_id': {'key': 'requestId', 'type': 'str'},
'run_id': {'key': 'runId', 'type': 'str'},
'data_container_id': {'key': 'dataContainerId', 'type': 'str'},
'real_time_log_path': {'key': 'realTimeLogPath', 'type': 'str'},
'has_warnings': {'key': 'hasWarnings', 'type': 'bool'},
'composite_node_id': {'key': 'compositeNodeId', 'type': 'str'},
}
def __init__(
self,
*,
status: Optional[Union[str, "TaskStatusCode"]] = None,
run_status: Optional[Union[str, "RunStatus"]] = None,
is_bypassed: Optional[bool] = None,
has_failed_child_run: Optional[bool] = None,
partially_executed: Optional[bool] = None,
properties: Optional[Dict[str, str]] = None,
aether_start_time: Optional[datetime.datetime] = None,
aether_end_time: Optional[datetime.datetime] = None,
aether_creation_time: Optional[datetime.datetime] = None,
run_history_start_time: Optional[datetime.datetime] = None,
run_history_end_time: Optional[datetime.datetime] = None,
run_history_creation_time: Optional[datetime.datetime] = None,
reuse_info: Optional["TaskReuseInfo"] = None,
control_flow_info: Optional["TaskControlFlowInfo"] = None,
status_code: Optional[Union[str, "TaskStatusCode"]] = None,
status_detail: Optional[str] = None,
creation_time: Optional[datetime.datetime] = None,
schedule_time: Optional[datetime.datetime] = None,
start_time: Optional[datetime.datetime] = None,
end_time: Optional[datetime.datetime] = None,
request_id: Optional[str] = None,
run_id: Optional[str] = None,
data_container_id: Optional[str] = None,
real_time_log_path: Optional[str] = None,
has_warnings: Optional[bool] = None,
composite_node_id: Optional[str] = None,
**kwargs
):
"""
:keyword status: Possible values include: "NotStarted", "Queued", "Running", "Failed",
"Finished", "Canceled", "PartiallyExecuted", "Bypassed".
:paramtype status: str or ~flow.models.TaskStatusCode
:keyword run_status: Possible values include: "NotStarted", "Unapproved", "Pausing", "Paused",
"Starting", "Preparing", "Queued", "Running", "Finalizing", "CancelRequested", "Completed",
"Failed", "Canceled".
:paramtype run_status: str or ~flow.models.RunStatus
:keyword is_bypassed:
:paramtype is_bypassed: bool
:keyword has_failed_child_run:
:paramtype has_failed_child_run: bool
:keyword partially_executed:
:paramtype partially_executed: bool
:keyword properties: This is a dictionary.
:paramtype properties: dict[str, str]
:keyword aether_start_time:
:paramtype aether_start_time: ~datetime.datetime
:keyword aether_end_time:
:paramtype aether_end_time: ~datetime.datetime
:keyword aether_creation_time:
:paramtype aether_creation_time: ~datetime.datetime
:keyword run_history_start_time:
:paramtype run_history_start_time: ~datetime.datetime
:keyword run_history_end_time:
:paramtype run_history_end_time: ~datetime.datetime
:keyword run_history_creation_time:
:paramtype run_history_creation_time: ~datetime.datetime
:keyword reuse_info:
:paramtype reuse_info: ~flow.models.TaskReuseInfo
:keyword control_flow_info:
:paramtype control_flow_info: ~flow.models.TaskControlFlowInfo
:keyword status_code: Possible values include: "NotStarted", "Queued", "Running", "Failed",
"Finished", "Canceled", "PartiallyExecuted", "Bypassed".
:paramtype status_code: str or ~flow.models.TaskStatusCode
:keyword status_detail:
:paramtype status_detail: str
:keyword creation_time:
:paramtype creation_time: ~datetime.datetime
:keyword schedule_time:
:paramtype schedule_time: ~datetime.datetime
:keyword start_time:
:paramtype start_time: ~datetime.datetime
:keyword end_time:
:paramtype end_time: ~datetime.datetime
:keyword request_id:
:paramtype request_id: str
:keyword run_id:
:paramtype run_id: str
:keyword data_container_id:
:paramtype data_container_id: str
:keyword real_time_log_path:
:paramtype real_time_log_path: str
:keyword has_warnings:
:paramtype has_warnings: bool
:keyword composite_node_id:
:paramtype composite_node_id: str
"""
super(GraphNodeStatusInfo, self).__init__(**kwargs)
self.status = status
self.run_status = run_status
self.is_bypassed = is_bypassed
self.has_failed_child_run = has_failed_child_run
self.partially_executed = partially_executed
self.properties = properties
self.aether_start_time = aether_start_time
self.aether_end_time = aether_end_time
self.aether_creation_time = aether_creation_time
self.run_history_start_time = run_history_start_time
self.run_history_end_time = run_history_end_time
self.run_history_creation_time = run_history_creation_time
self.reuse_info = reuse_info
self.control_flow_info = control_flow_info
self.status_code = status_code
self.status_detail = status_detail
self.creation_time = creation_time
self.schedule_time = schedule_time
self.start_time = start_time
self.end_time = end_time
self.request_id = request_id
self.run_id = run_id
self.data_container_id = data_container_id
self.real_time_log_path = real_time_log_path
self.has_warnings = has_warnings
self.composite_node_id = composite_node_id
class GraphReferenceNode(msrest.serialization.Model):
"""GraphReferenceNode.
:ivar graph_id:
:vartype graph_id: str
:ivar default_compute:
:vartype default_compute: ~flow.models.ComputeSetting
:ivar default_datastore:
:vartype default_datastore: ~flow.models.DatastoreSetting
:ivar id:
:vartype id: str
:ivar module_id:
:vartype module_id: str
:ivar comment:
:vartype comment: str
:ivar name:
:vartype name: str
:ivar module_parameters:
:vartype module_parameters: list[~flow.models.ParameterAssignment]
:ivar module_metadata_parameters:
:vartype module_metadata_parameters: list[~flow.models.ParameterAssignment]
:ivar module_output_settings:
:vartype module_output_settings: list[~flow.models.OutputSetting]
:ivar module_input_settings:
:vartype module_input_settings: list[~flow.models.InputSetting]
:ivar use_graph_default_compute:
:vartype use_graph_default_compute: bool
:ivar use_graph_default_datastore:
:vartype use_graph_default_datastore: bool
:ivar regenerate_output:
:vartype regenerate_output: bool
:ivar control_inputs:
:vartype control_inputs: list[~flow.models.ControlInput]
:ivar cloud_settings:
:vartype cloud_settings: ~flow.models.CloudSettings
:ivar execution_phase: Possible values include: "Execution", "Initialization", "Finalization".
:vartype execution_phase: str or ~flow.models.ExecutionPhase
:ivar run_attribution:
:vartype run_attribution: str
"""
_attribute_map = {
'graph_id': {'key': 'graphId', 'type': 'str'},
'default_compute': {'key': 'defaultCompute', 'type': 'ComputeSetting'},
'default_datastore': {'key': 'defaultDatastore', 'type': 'DatastoreSetting'},
'id': {'key': 'id', 'type': 'str'},
'module_id': {'key': 'moduleId', 'type': 'str'},
'comment': {'key': 'comment', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'module_parameters': {'key': 'moduleParameters', 'type': '[ParameterAssignment]'},
'module_metadata_parameters': {'key': 'moduleMetadataParameters', 'type': '[ParameterAssignment]'},
'module_output_settings': {'key': 'moduleOutputSettings', 'type': '[OutputSetting]'},
'module_input_settings': {'key': 'moduleInputSettings', 'type': '[InputSetting]'},
'use_graph_default_compute': {'key': 'useGraphDefaultCompute', 'type': 'bool'},
'use_graph_default_datastore': {'key': 'useGraphDefaultDatastore', 'type': 'bool'},
'regenerate_output': {'key': 'regenerateOutput', 'type': 'bool'},
'control_inputs': {'key': 'controlInputs', 'type': '[ControlInput]'},
'cloud_settings': {'key': 'cloudSettings', 'type': 'CloudSettings'},
'execution_phase': {'key': 'executionPhase', 'type': 'str'},
'run_attribution': {'key': 'runAttribution', 'type': 'str'},
}
def __init__(
self,
*,
graph_id: Optional[str] = None,
default_compute: Optional["ComputeSetting"] = None,
default_datastore: Optional["DatastoreSetting"] = None,
id: Optional[str] = None,
module_id: Optional[str] = None,
comment: Optional[str] = None,
name: Optional[str] = None,
module_parameters: Optional[List["ParameterAssignment"]] = None,
module_metadata_parameters: Optional[List["ParameterAssignment"]] = None,
module_output_settings: Optional[List["OutputSetting"]] = None,
module_input_settings: Optional[List["InputSetting"]] = None,
use_graph_default_compute: Optional[bool] = None,
use_graph_default_datastore: Optional[bool] = None,
regenerate_output: Optional[bool] = None,
control_inputs: Optional[List["ControlInput"]] = None,
cloud_settings: Optional["CloudSettings"] = None,
execution_phase: Optional[Union[str, "ExecutionPhase"]] = None,
run_attribution: Optional[str] = None,
**kwargs
):
"""
:keyword graph_id:
:paramtype graph_id: str
:keyword default_compute:
:paramtype default_compute: ~flow.models.ComputeSetting
:keyword default_datastore:
:paramtype default_datastore: ~flow.models.DatastoreSetting
:keyword id:
:paramtype id: str
:keyword module_id:
:paramtype module_id: str
:keyword comment:
:paramtype comment: str
:keyword name:
:paramtype name: str
:keyword module_parameters:
:paramtype module_parameters: list[~flow.models.ParameterAssignment]
:keyword module_metadata_parameters:
:paramtype module_metadata_parameters: list[~flow.models.ParameterAssignment]
:keyword module_output_settings:
:paramtype module_output_settings: list[~flow.models.OutputSetting]
:keyword module_input_settings:
:paramtype module_input_settings: list[~flow.models.InputSetting]
:keyword use_graph_default_compute:
:paramtype use_graph_default_compute: bool
:keyword use_graph_default_datastore:
:paramtype use_graph_default_datastore: bool
:keyword regenerate_output:
:paramtype regenerate_output: bool
:keyword control_inputs:
:paramtype control_inputs: list[~flow.models.ControlInput]
:keyword cloud_settings:
:paramtype cloud_settings: ~flow.models.CloudSettings
:keyword execution_phase: Possible values include: "Execution", "Initialization",
"Finalization".
:paramtype execution_phase: str or ~flow.models.ExecutionPhase
:keyword run_attribution:
:paramtype run_attribution: str
"""
super(GraphReferenceNode, self).__init__(**kwargs)
self.graph_id = graph_id
self.default_compute = default_compute
self.default_datastore = default_datastore
self.id = id
self.module_id = module_id
self.comment = comment
self.name = name
self.module_parameters = module_parameters
self.module_metadata_parameters = module_metadata_parameters
self.module_output_settings = module_output_settings
self.module_input_settings = module_input_settings
self.use_graph_default_compute = use_graph_default_compute
self.use_graph_default_datastore = use_graph_default_datastore
self.regenerate_output = regenerate_output
self.control_inputs = control_inputs
self.cloud_settings = cloud_settings
self.execution_phase = execution_phase
self.run_attribution = run_attribution
class HdfsReference(msrest.serialization.Model):
"""HdfsReference.
:ivar aml_data_store_name:
:vartype aml_data_store_name: str
:ivar relative_path:
:vartype relative_path: str
"""
_attribute_map = {
'aml_data_store_name': {'key': 'amlDataStoreName', 'type': 'str'},
'relative_path': {'key': 'relativePath', 'type': 'str'},
}
def __init__(
self,
*,
aml_data_store_name: Optional[str] = None,
relative_path: Optional[str] = None,
**kwargs
):
"""
:keyword aml_data_store_name:
:paramtype aml_data_store_name: str
:keyword relative_path:
:paramtype relative_path: str
"""
super(HdfsReference, self).__init__(**kwargs)
self.aml_data_store_name = aml_data_store_name
self.relative_path = relative_path
class HdiClusterComputeInfo(msrest.serialization.Model):
"""HdiClusterComputeInfo.
:ivar address:
:vartype address: str
:ivar username:
:vartype username: str
:ivar password:
:vartype password: str
:ivar private_key:
:vartype private_key: str
"""
_attribute_map = {
'address': {'key': 'address', 'type': 'str'},
'username': {'key': 'username', 'type': 'str'},
'password': {'key': 'password', 'type': 'str'},
'private_key': {'key': 'privateKey', 'type': 'str'},
}
def __init__(
self,
*,
address: Optional[str] = None,
username: Optional[str] = None,
password: Optional[str] = None,
private_key: Optional[str] = None,
**kwargs
):
"""
:keyword address:
:paramtype address: str
:keyword username:
:paramtype username: str
:keyword password:
:paramtype password: str
:keyword private_key:
:paramtype private_key: str
"""
super(HdiClusterComputeInfo, self).__init__(**kwargs)
self.address = address
self.username = username
self.password = password
self.private_key = private_key
class HdiConfiguration(msrest.serialization.Model):
"""HdiConfiguration.
:ivar yarn_deploy_mode: Possible values include: "None", "Client", "Cluster".
:vartype yarn_deploy_mode: str or ~flow.models.YarnDeployMode
"""
_attribute_map = {
'yarn_deploy_mode': {'key': 'yarnDeployMode', 'type': 'str'},
}
def __init__(
self,
*,
yarn_deploy_mode: Optional[Union[str, "YarnDeployMode"]] = None,
**kwargs
):
"""
:keyword yarn_deploy_mode: Possible values include: "None", "Client", "Cluster".
:paramtype yarn_deploy_mode: str or ~flow.models.YarnDeployMode
"""
super(HdiConfiguration, self).__init__(**kwargs)
self.yarn_deploy_mode = yarn_deploy_mode
class HdiRunConfiguration(msrest.serialization.Model):
"""HdiRunConfiguration.
:ivar file:
:vartype file: str
:ivar class_name:
:vartype class_name: str
:ivar files:
:vartype files: list[str]
:ivar archives:
:vartype archives: list[str]
:ivar jars:
:vartype jars: list[str]
:ivar py_files:
:vartype py_files: list[str]
:ivar compute_name:
:vartype compute_name: str
:ivar queue:
:vartype queue: str
:ivar driver_memory:
:vartype driver_memory: str
:ivar driver_cores:
:vartype driver_cores: int
:ivar executor_memory:
:vartype executor_memory: str
:ivar executor_cores:
:vartype executor_cores: int
:ivar number_executors:
:vartype number_executors: int
:ivar conf: Dictionary of :code:`<string>`.
:vartype conf: dict[str, str]
:ivar name:
:vartype name: str
"""
_attribute_map = {
'file': {'key': 'file', 'type': 'str'},
'class_name': {'key': 'className', 'type': 'str'},
'files': {'key': 'files', 'type': '[str]'},
'archives': {'key': 'archives', 'type': '[str]'},
'jars': {'key': 'jars', 'type': '[str]'},
'py_files': {'key': 'pyFiles', 'type': '[str]'},
'compute_name': {'key': 'computeName', 'type': 'str'},
'queue': {'key': 'queue', 'type': 'str'},
'driver_memory': {'key': 'driverMemory', 'type': 'str'},
'driver_cores': {'key': 'driverCores', 'type': 'int'},
'executor_memory': {'key': 'executorMemory', 'type': 'str'},
'executor_cores': {'key': 'executorCores', 'type': 'int'},
'number_executors': {'key': 'numberExecutors', 'type': 'int'},
'conf': {'key': 'conf', 'type': '{str}'},
'name': {'key': 'name', 'type': 'str'},
}
def __init__(
self,
*,
file: Optional[str] = None,
class_name: Optional[str] = None,
files: Optional[List[str]] = None,
archives: Optional[List[str]] = None,
jars: Optional[List[str]] = None,
py_files: Optional[List[str]] = None,
compute_name: Optional[str] = None,
queue: Optional[str] = None,
driver_memory: Optional[str] = None,
driver_cores: Optional[int] = None,
executor_memory: Optional[str] = None,
executor_cores: Optional[int] = None,
number_executors: Optional[int] = None,
conf: Optional[Dict[str, str]] = None,
name: Optional[str] = None,
**kwargs
):
"""
:keyword file:
:paramtype file: str
:keyword class_name:
:paramtype class_name: str
:keyword files:
:paramtype files: list[str]
:keyword archives:
:paramtype archives: list[str]
:keyword jars:
:paramtype jars: list[str]
:keyword py_files:
:paramtype py_files: list[str]
:keyword compute_name:
:paramtype compute_name: str
:keyword queue:
:paramtype queue: str
:keyword driver_memory:
:paramtype driver_memory: str
:keyword driver_cores:
:paramtype driver_cores: int
:keyword executor_memory:
:paramtype executor_memory: str
:keyword executor_cores:
:paramtype executor_cores: int
:keyword number_executors:
:paramtype number_executors: int
:keyword conf: Dictionary of :code:`<string>`.
:paramtype conf: dict[str, str]
:keyword name:
:paramtype name: str
"""
super(HdiRunConfiguration, self).__init__(**kwargs)
self.file = file
self.class_name = class_name
self.files = files
self.archives = archives
self.jars = jars
self.py_files = py_files
self.compute_name = compute_name
self.queue = queue
self.driver_memory = driver_memory
self.driver_cores = driver_cores
self.executor_memory = executor_memory
self.executor_cores = executor_cores
self.number_executors = number_executors
self.conf = conf
self.name = name
class HistoryConfiguration(msrest.serialization.Model):
"""HistoryConfiguration.
:ivar output_collection:
:vartype output_collection: bool
:ivar directories_to_watch:
:vartype directories_to_watch: list[str]
:ivar enable_m_lflow_tracking:
:vartype enable_m_lflow_tracking: bool
"""
_attribute_map = {
'output_collection': {'key': 'outputCollection', 'type': 'bool'},
'directories_to_watch': {'key': 'directoriesToWatch', 'type': '[str]'},
'enable_m_lflow_tracking': {'key': 'enableMLflowTracking', 'type': 'bool'},
}
def __init__(
self,
*,
output_collection: Optional[bool] = True,
directories_to_watch: Optional[List[str]] = ['logs'],
enable_m_lflow_tracking: Optional[bool] = True,
**kwargs
):
"""
:keyword output_collection:
:paramtype output_collection: bool
:keyword directories_to_watch:
:paramtype directories_to_watch: list[str]
:keyword enable_m_lflow_tracking:
:paramtype enable_m_lflow_tracking: bool
"""
super(HistoryConfiguration, self).__init__(**kwargs)
self.output_collection = output_collection
self.directories_to_watch = directories_to_watch
self.enable_m_lflow_tracking = enable_m_lflow_tracking
class HyperDriveConfiguration(msrest.serialization.Model):
"""HyperDriveConfiguration.
:ivar hyper_drive_run_config:
:vartype hyper_drive_run_config: str
:ivar primary_metric_goal:
:vartype primary_metric_goal: str
:ivar primary_metric_name:
:vartype primary_metric_name: str
:ivar arguments:
:vartype arguments: list[~flow.models.ArgumentAssignment]
"""
_attribute_map = {
'hyper_drive_run_config': {'key': 'hyperDriveRunConfig', 'type': 'str'},
'primary_metric_goal': {'key': 'primaryMetricGoal', 'type': 'str'},
'primary_metric_name': {'key': 'primaryMetricName', 'type': 'str'},
'arguments': {'key': 'arguments', 'type': '[ArgumentAssignment]'},
}
def __init__(
self,
*,
hyper_drive_run_config: Optional[str] = None,
primary_metric_goal: Optional[str] = None,
primary_metric_name: Optional[str] = None,
arguments: Optional[List["ArgumentAssignment"]] = None,
**kwargs
):
"""
:keyword hyper_drive_run_config:
:paramtype hyper_drive_run_config: str
:keyword primary_metric_goal:
:paramtype primary_metric_goal: str
:keyword primary_metric_name:
:paramtype primary_metric_name: str
:keyword arguments:
:paramtype arguments: list[~flow.models.ArgumentAssignment]
"""
super(HyperDriveConfiguration, self).__init__(**kwargs)
self.hyper_drive_run_config = hyper_drive_run_config
self.primary_metric_goal = primary_metric_goal
self.primary_metric_name = primary_metric_name
self.arguments = arguments
class ICheckableLongRunningOperationResponse(msrest.serialization.Model):
"""ICheckableLongRunningOperationResponse.
:ivar completion_result: Any object.
:vartype completion_result: any
:ivar location:
:vartype location: str
:ivar operation_result:
:vartype operation_result: str
"""
_attribute_map = {
'completion_result': {'key': 'completionResult', 'type': 'object'},
'location': {'key': 'location', 'type': 'str'},
'operation_result': {'key': 'operationResult', 'type': 'str'},
}
def __init__(
self,
*,
completion_result: Optional[Any] = None,
location: Optional[str] = None,
operation_result: Optional[str] = None,
**kwargs
):
"""
:keyword completion_result: Any object.
:paramtype completion_result: any
:keyword location:
:paramtype location: str
:keyword operation_result:
:paramtype operation_result: str
"""
super(ICheckableLongRunningOperationResponse, self).__init__(**kwargs)
self.completion_result = completion_result
self.location = location
self.operation_result = operation_result
class IdentityConfiguration(msrest.serialization.Model):
"""IdentityConfiguration.
:ivar type: Possible values include: "Managed", "ServicePrincipal", "AMLToken".
:vartype type: str or ~flow.models.IdentityType
:ivar properties: This is a dictionary.
:vartype properties: dict[str, str]
:ivar secret:
:vartype secret: str
"""
_attribute_map = {
'type': {'key': 'type', 'type': 'str'},
'properties': {'key': 'properties', 'type': '{str}'},
'secret': {'key': 'secret', 'type': 'str'},
}
def __init__(
self,
*,
type: Optional[Union[str, "IdentityType"]] = None,
properties: Optional[Dict[str, str]] = None,
secret: Optional[str] = None,
**kwargs
):
"""
:keyword type: Possible values include: "Managed", "ServicePrincipal", "AMLToken".
:paramtype type: str or ~flow.models.IdentityType
:keyword properties: This is a dictionary.
:paramtype properties: dict[str, str]
:keyword secret:
:paramtype secret: str
"""
super(IdentityConfiguration, self).__init__(**kwargs)
self.type = type
self.properties = properties
self.secret = secret
class IdentitySetting(msrest.serialization.Model):
"""IdentitySetting.
:ivar type: Possible values include: "UserIdentity", "Managed", "AMLToken".
:vartype type: str or ~flow.models.AEVAIdentityType
:ivar client_id:
:vartype client_id: str
:ivar object_id:
:vartype object_id: str
:ivar msi_resource_id:
:vartype msi_resource_id: str
"""
_attribute_map = {
'type': {'key': 'type', 'type': 'str'},
'client_id': {'key': 'clientId', 'type': 'str'},
'object_id': {'key': 'objectId', 'type': 'str'},
'msi_resource_id': {'key': 'msiResourceId', 'type': 'str'},
}
def __init__(
self,
*,
type: Optional[Union[str, "AEVAIdentityType"]] = None,
client_id: Optional[str] = None,
object_id: Optional[str] = None,
msi_resource_id: Optional[str] = None,
**kwargs
):
"""
:keyword type: Possible values include: "UserIdentity", "Managed", "AMLToken".
:paramtype type: str or ~flow.models.AEVAIdentityType
:keyword client_id:
:paramtype client_id: str
:keyword object_id:
:paramtype object_id: str
:keyword msi_resource_id:
:paramtype msi_resource_id: str
"""
super(IdentitySetting, self).__init__(**kwargs)
self.type = type
self.client_id = client_id
self.object_id = object_id
self.msi_resource_id = msi_resource_id
class ImportDataTask(msrest.serialization.Model):
"""ImportDataTask.
:ivar data_transfer_source:
:vartype data_transfer_source: ~flow.models.DataTransferSource
"""
_attribute_map = {
'data_transfer_source': {'key': 'DataTransferSource', 'type': 'DataTransferSource'},
}
def __init__(
self,
*,
data_transfer_source: Optional["DataTransferSource"] = None,
**kwargs
):
"""
:keyword data_transfer_source:
:paramtype data_transfer_source: ~flow.models.DataTransferSource
"""
super(ImportDataTask, self).__init__(**kwargs)
self.data_transfer_source = data_transfer_source
class IndexedErrorResponse(msrest.serialization.Model):
"""IndexedErrorResponse.
:ivar code:
:vartype code: str
:ivar error_code_hierarchy:
:vartype error_code_hierarchy: str
:ivar message:
:vartype message: str
:ivar time:
:vartype time: ~datetime.datetime
:ivar component_name:
:vartype component_name: str
:ivar severity:
:vartype severity: int
:ivar details_uri:
:vartype details_uri: str
:ivar reference_code:
:vartype reference_code: str
"""
_attribute_map = {
'code': {'key': 'code', 'type': 'str'},
'error_code_hierarchy': {'key': 'errorCodeHierarchy', 'type': 'str'},
'message': {'key': 'message', 'type': 'str'},
'time': {'key': 'time', 'type': 'iso-8601'},
'component_name': {'key': 'componentName', 'type': 'str'},
'severity': {'key': 'severity', 'type': 'int'},
'details_uri': {'key': 'detailsUri', 'type': 'str'},
'reference_code': {'key': 'referenceCode', 'type': 'str'},
}
def __init__(
self,
*,
code: Optional[str] = None,
error_code_hierarchy: Optional[str] = None,
message: Optional[str] = None,
time: Optional[datetime.datetime] = None,
component_name: Optional[str] = None,
severity: Optional[int] = None,
details_uri: Optional[str] = None,
reference_code: Optional[str] = None,
**kwargs
):
"""
:keyword code:
:paramtype code: str
:keyword error_code_hierarchy:
:paramtype error_code_hierarchy: str
:keyword message:
:paramtype message: str
:keyword time:
:paramtype time: ~datetime.datetime
:keyword component_name:
:paramtype component_name: str
:keyword severity:
:paramtype severity: int
:keyword details_uri:
:paramtype details_uri: str
:keyword reference_code:
:paramtype reference_code: str
"""
super(IndexedErrorResponse, self).__init__(**kwargs)
self.code = code
self.error_code_hierarchy = error_code_hierarchy
self.message = message
self.time = time
self.component_name = component_name
self.severity = severity
self.details_uri = details_uri
self.reference_code = reference_code
class InitScriptInfoDto(msrest.serialization.Model):
"""InitScriptInfoDto.
:ivar dbfs:
:vartype dbfs: ~flow.models.DbfsStorageInfoDto
"""
_attribute_map = {
'dbfs': {'key': 'dbfs', 'type': 'DbfsStorageInfoDto'},
}
def __init__(
self,
*,
dbfs: Optional["DbfsStorageInfoDto"] = None,
**kwargs
):
"""
:keyword dbfs:
:paramtype dbfs: ~flow.models.DbfsStorageInfoDto
"""
super(InitScriptInfoDto, self).__init__(**kwargs)
self.dbfs = dbfs
class InnerErrorDetails(msrest.serialization.Model):
"""InnerErrorDetails.
:ivar code:
:vartype code: str
:ivar message:
:vartype message: str
:ivar target:
:vartype target: str
"""
_attribute_map = {
'code': {'key': 'code', 'type': 'str'},
'message': {'key': 'message', 'type': 'str'},
'target': {'key': 'target', 'type': 'str'},
}
def __init__(
self,
*,
code: Optional[str] = None,
message: Optional[str] = None,
target: Optional[str] = None,
**kwargs
):
"""
:keyword code:
:paramtype code: str
:keyword message:
:paramtype message: str
:keyword target:
:paramtype target: str
"""
super(InnerErrorDetails, self).__init__(**kwargs)
self.code = code
self.message = message
self.target = target
class InnerErrorResponse(msrest.serialization.Model):
"""A nested structure of errors.
:ivar code: The error code.
:vartype code: str
:ivar inner_error: A nested structure of errors.
:vartype inner_error: ~flow.models.InnerErrorResponse
"""
_attribute_map = {
'code': {'key': 'code', 'type': 'str'},
'inner_error': {'key': 'innerError', 'type': 'InnerErrorResponse'},
}
def __init__(
self,
*,
code: Optional[str] = None,
inner_error: Optional["InnerErrorResponse"] = None,
**kwargs
):
"""
:keyword code: The error code.
:paramtype code: str
:keyword inner_error: A nested structure of errors.
:paramtype inner_error: ~flow.models.InnerErrorResponse
"""
super(InnerErrorResponse, self).__init__(**kwargs)
self.code = code
self.inner_error = inner_error
class InputAsset(msrest.serialization.Model):
"""InputAsset.
:ivar asset:
:vartype asset: ~flow.models.Asset
:ivar mechanism: Possible values include: "Direct", "Mount", "Download", "Hdfs".
:vartype mechanism: str or ~flow.models.DeliveryMechanism
:ivar environment_variable_name:
:vartype environment_variable_name: str
:ivar path_on_compute:
:vartype path_on_compute: str
:ivar overwrite:
:vartype overwrite: bool
:ivar options: Dictionary of :code:`<string>`.
:vartype options: dict[str, str]
"""
_attribute_map = {
'asset': {'key': 'asset', 'type': 'Asset'},
'mechanism': {'key': 'mechanism', 'type': 'str'},
'environment_variable_name': {'key': 'environmentVariableName', 'type': 'str'},
'path_on_compute': {'key': 'pathOnCompute', 'type': 'str'},
'overwrite': {'key': 'overwrite', 'type': 'bool'},
'options': {'key': 'options', 'type': '{str}'},
}
def __init__(
self,
*,
asset: Optional["Asset"] = None,
mechanism: Optional[Union[str, "DeliveryMechanism"]] = None,
environment_variable_name: Optional[str] = None,
path_on_compute: Optional[str] = None,
overwrite: Optional[bool] = None,
options: Optional[Dict[str, str]] = None,
**kwargs
):
"""
:keyword asset:
:paramtype asset: ~flow.models.Asset
:keyword mechanism: Possible values include: "Direct", "Mount", "Download", "Hdfs".
:paramtype mechanism: str or ~flow.models.DeliveryMechanism
:keyword environment_variable_name:
:paramtype environment_variable_name: str
:keyword path_on_compute:
:paramtype path_on_compute: str
:keyword overwrite:
:paramtype overwrite: bool
:keyword options: Dictionary of :code:`<string>`.
:paramtype options: dict[str, str]
"""
super(InputAsset, self).__init__(**kwargs)
self.asset = asset
self.mechanism = mechanism
self.environment_variable_name = environment_variable_name
self.path_on_compute = path_on_compute
self.overwrite = overwrite
self.options = options
class InputData(msrest.serialization.Model):
"""InputData.
:ivar dataset_id:
:vartype dataset_id: str
:ivar mode: Possible values include: "Mount", "Download", "Upload", "ReadOnlyMount",
"ReadWriteMount", "Direct", "EvalMount", "EvalDownload".
:vartype mode: str or ~flow.models.DataBindingMode
:ivar value:
:vartype value: str
"""
_attribute_map = {
'dataset_id': {'key': 'datasetId', 'type': 'str'},
'mode': {'key': 'mode', 'type': 'str'},
'value': {'key': 'value', 'type': 'str'},
}
def __init__(
self,
*,
dataset_id: Optional[str] = None,
mode: Optional[Union[str, "DataBindingMode"]] = None,
value: Optional[str] = None,
**kwargs
):
"""
:keyword dataset_id:
:paramtype dataset_id: str
:keyword mode: Possible values include: "Mount", "Download", "Upload", "ReadOnlyMount",
"ReadWriteMount", "Direct", "EvalMount", "EvalDownload".
:paramtype mode: str or ~flow.models.DataBindingMode
:keyword value:
:paramtype value: str
"""
super(InputData, self).__init__(**kwargs)
self.dataset_id = dataset_id
self.mode = mode
self.value = value
class InputDataBinding(msrest.serialization.Model):
"""InputDataBinding.
:ivar data_id:
:vartype data_id: str
:ivar path_on_compute:
:vartype path_on_compute: str
:ivar mode: Possible values include: "Mount", "Download", "Upload", "ReadOnlyMount",
"ReadWriteMount", "Direct", "EvalMount", "EvalDownload".
:vartype mode: str or ~flow.models.DataBindingMode
:ivar description:
:vartype description: str
:ivar uri:
:vartype uri: ~flow.models.MfeInternalUriReference
:ivar value:
:vartype value: str
:ivar asset_uri:
:vartype asset_uri: str
:ivar job_input_type: Possible values include: "Dataset", "Uri", "Literal", "UriFile",
"UriFolder", "MLTable", "CustomModel", "MLFlowModel", "TritonModel".
:vartype job_input_type: str or ~flow.models.JobInputType
"""
_attribute_map = {
'data_id': {'key': 'dataId', 'type': 'str'},
'path_on_compute': {'key': 'pathOnCompute', 'type': 'str'},
'mode': {'key': 'mode', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'uri': {'key': 'uri', 'type': 'MfeInternalUriReference'},
'value': {'key': 'value', 'type': 'str'},
'asset_uri': {'key': 'assetUri', 'type': 'str'},
'job_input_type': {'key': 'jobInputType', 'type': 'str'},
}
def __init__(
self,
*,
data_id: Optional[str] = None,
path_on_compute: Optional[str] = None,
mode: Optional[Union[str, "DataBindingMode"]] = None,
description: Optional[str] = None,
uri: Optional["MfeInternalUriReference"] = None,
value: Optional[str] = None,
asset_uri: Optional[str] = None,
job_input_type: Optional[Union[str, "JobInputType"]] = None,
**kwargs
):
"""
:keyword data_id:
:paramtype data_id: str
:keyword path_on_compute:
:paramtype path_on_compute: str
:keyword mode: Possible values include: "Mount", "Download", "Upload", "ReadOnlyMount",
"ReadWriteMount", "Direct", "EvalMount", "EvalDownload".
:paramtype mode: str or ~flow.models.DataBindingMode
:keyword description:
:paramtype description: str
:keyword uri:
:paramtype uri: ~flow.models.MfeInternalUriReference
:keyword value:
:paramtype value: str
:keyword asset_uri:
:paramtype asset_uri: str
:keyword job_input_type: Possible values include: "Dataset", "Uri", "Literal", "UriFile",
"UriFolder", "MLTable", "CustomModel", "MLFlowModel", "TritonModel".
:paramtype job_input_type: str or ~flow.models.JobInputType
"""
super(InputDataBinding, self).__init__(**kwargs)
self.data_id = data_id
self.path_on_compute = path_on_compute
self.mode = mode
self.description = description
self.uri = uri
self.value = value
self.asset_uri = asset_uri
self.job_input_type = job_input_type
class InputDefinition(msrest.serialization.Model):
"""InputDefinition.
:ivar name:
:vartype name: str
:ivar type:
:vartype type: list[str or ~flow.models.ValueType]
:ivar default: Anything.
:vartype default: any
:ivar description:
:vartype description: str
:ivar enum:
:vartype enum: list[str]
:ivar enabled_by:
:vartype enabled_by: str
:ivar enabled_by_type:
:vartype enabled_by_type: list[str or ~flow.models.ValueType]
:ivar enabled_by_value:
:vartype enabled_by_value: list[any]
:ivar model_list:
:vartype model_list: list[str]
:ivar capabilities:
:vartype capabilities: ~flow.models.AzureOpenAIModelCapabilities
:ivar dynamic_list:
:vartype dynamic_list: ~flow.models.ToolInputDynamicList
:ivar allow_manual_entry:
:vartype allow_manual_entry: bool
:ivar is_multi_select:
:vartype is_multi_select: bool
:ivar generated_by:
:vartype generated_by: ~flow.models.ToolInputGeneratedBy
:ivar input_type: Possible values include: "default", "uionly_hidden".
:vartype input_type: str or ~flow.models.InputType
:ivar advanced:
:vartype advanced: bool
:ivar ui_hints: This is a dictionary.
:vartype ui_hints: dict[str, any]
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': '[str]'},
'default': {'key': 'default', 'type': 'object'},
'description': {'key': 'description', 'type': 'str'},
'enum': {'key': 'enum', 'type': '[str]'},
'enabled_by': {'key': 'enabled_by', 'type': 'str'},
'enabled_by_type': {'key': 'enabled_by_type', 'type': '[str]'},
'enabled_by_value': {'key': 'enabled_by_value', 'type': '[object]'},
'model_list': {'key': 'model_list', 'type': '[str]'},
'capabilities': {'key': 'capabilities', 'type': 'AzureOpenAIModelCapabilities'},
'dynamic_list': {'key': 'dynamic_list', 'type': 'ToolInputDynamicList'},
'allow_manual_entry': {'key': 'allow_manual_entry', 'type': 'bool'},
'is_multi_select': {'key': 'is_multi_select', 'type': 'bool'},
'generated_by': {'key': 'generated_by', 'type': 'ToolInputGeneratedBy'},
'input_type': {'key': 'input_type', 'type': 'str'},
'advanced': {'key': 'advanced', 'type': 'bool'},
'ui_hints': {'key': 'ui_hints', 'type': '{object}'},
}
def __init__(
self,
*,
name: Optional[str] = None,
type: Optional[List[Union[str, "ValueType"]]] = None,
default: Optional[Any] = None,
description: Optional[str] = None,
enum: Optional[List[str]] = None,
enabled_by: Optional[str] = None,
enabled_by_type: Optional[List[Union[str, "ValueType"]]] = None,
enabled_by_value: Optional[List[Any]] = None,
model_list: Optional[List[str]] = None,
capabilities: Optional["AzureOpenAIModelCapabilities"] = None,
dynamic_list: Optional["ToolInputDynamicList"] = None,
allow_manual_entry: Optional[bool] = None,
is_multi_select: Optional[bool] = None,
generated_by: Optional["ToolInputGeneratedBy"] = None,
input_type: Optional[Union[str, "InputType"]] = None,
advanced: Optional[bool] = None,
ui_hints: Optional[Dict[str, Any]] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword type:
:paramtype type: list[str or ~flow.models.ValueType]
:keyword default: Anything.
:paramtype default: any
:keyword description:
:paramtype description: str
:keyword enum:
:paramtype enum: list[str]
:keyword enabled_by:
:paramtype enabled_by: str
:keyword enabled_by_type:
:paramtype enabled_by_type: list[str or ~flow.models.ValueType]
:keyword enabled_by_value:
:paramtype enabled_by_value: list[any]
:keyword model_list:
:paramtype model_list: list[str]
:keyword capabilities:
:paramtype capabilities: ~flow.models.AzureOpenAIModelCapabilities
:keyword dynamic_list:
:paramtype dynamic_list: ~flow.models.ToolInputDynamicList
:keyword allow_manual_entry:
:paramtype allow_manual_entry: bool
:keyword is_multi_select:
:paramtype is_multi_select: bool
:keyword generated_by:
:paramtype generated_by: ~flow.models.ToolInputGeneratedBy
:keyword input_type: Possible values include: "default", "uionly_hidden".
:paramtype input_type: str or ~flow.models.InputType
:keyword advanced:
:paramtype advanced: bool
:keyword ui_hints: This is a dictionary.
:paramtype ui_hints: dict[str, any]
"""
super(InputDefinition, self).__init__(**kwargs)
self.name = name
self.type = type
self.default = default
self.description = description
self.enum = enum
self.enabled_by = enabled_by
self.enabled_by_type = enabled_by_type
self.enabled_by_value = enabled_by_value
self.model_list = model_list
self.capabilities = capabilities
self.dynamic_list = dynamic_list
self.allow_manual_entry = allow_manual_entry
self.is_multi_select = is_multi_select
self.generated_by = generated_by
self.input_type = input_type
self.advanced = advanced
self.ui_hints = ui_hints
class InputOutputPortMetadata(msrest.serialization.Model):
"""InputOutputPortMetadata.
Variables are only populated by the server, and will be ignored when sending a request.
:ivar graph_module_node_id:
:vartype graph_module_node_id: str
:ivar port_name:
:vartype port_name: str
:ivar schema:
:vartype schema: str
:ivar name:
:vartype name: str
:ivar id:
:vartype id: str
"""
_validation = {
'id': {'readonly': True},
}
_attribute_map = {
'graph_module_node_id': {'key': 'graphModuleNodeId', 'type': 'str'},
'port_name': {'key': 'portName', 'type': 'str'},
'schema': {'key': 'schema', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'id': {'key': 'id', 'type': 'str'},
}
def __init__(
self,
*,
graph_module_node_id: Optional[str] = None,
port_name: Optional[str] = None,
schema: Optional[str] = None,
name: Optional[str] = None,
**kwargs
):
"""
:keyword graph_module_node_id:
:paramtype graph_module_node_id: str
:keyword port_name:
:paramtype port_name: str
:keyword schema:
:paramtype schema: str
:keyword name:
:paramtype name: str
"""
super(InputOutputPortMetadata, self).__init__(**kwargs)
self.graph_module_node_id = graph_module_node_id
self.port_name = port_name
self.schema = schema
self.name = name
self.id = None
class InputSetting(msrest.serialization.Model):
"""InputSetting.
:ivar name:
:vartype name: str
:ivar data_store_mode: Possible values include: "None", "Mount", "Download", "Upload",
"Direct", "Hdfs", "Link".
:vartype data_store_mode: str or ~flow.models.AEVADataStoreMode
:ivar path_on_compute:
:vartype path_on_compute: str
:ivar options: This is a dictionary.
:vartype options: dict[str, str]
:ivar additional_transformations:
:vartype additional_transformations: str
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'data_store_mode': {'key': 'dataStoreMode', 'type': 'str'},
'path_on_compute': {'key': 'pathOnCompute', 'type': 'str'},
'options': {'key': 'options', 'type': '{str}'},
'additional_transformations': {'key': 'additionalTransformations', 'type': 'str'},
}
def __init__(
self,
*,
name: Optional[str] = None,
data_store_mode: Optional[Union[str, "AEVADataStoreMode"]] = None,
path_on_compute: Optional[str] = None,
options: Optional[Dict[str, str]] = None,
additional_transformations: Optional[str] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword data_store_mode: Possible values include: "None", "Mount", "Download", "Upload",
"Direct", "Hdfs", "Link".
:paramtype data_store_mode: str or ~flow.models.AEVADataStoreMode
:keyword path_on_compute:
:paramtype path_on_compute: str
:keyword options: This is a dictionary.
:paramtype options: dict[str, str]
:keyword additional_transformations:
:paramtype additional_transformations: str
"""
super(InputSetting, self).__init__(**kwargs)
self.name = name
self.data_store_mode = data_store_mode
self.path_on_compute = path_on_compute
self.options = options
self.additional_transformations = additional_transformations
class IntellectualPropertyPublisherInformation(msrest.serialization.Model):
"""IntellectualPropertyPublisherInformation.
:ivar intellectual_property_publisher:
:vartype intellectual_property_publisher: str
"""
_attribute_map = {
'intellectual_property_publisher': {'key': 'intellectualPropertyPublisher', 'type': 'str'},
}
def __init__(
self,
*,
intellectual_property_publisher: Optional[str] = None,
**kwargs
):
"""
:keyword intellectual_property_publisher:
:paramtype intellectual_property_publisher: str
"""
super(IntellectualPropertyPublisherInformation, self).__init__(**kwargs)
self.intellectual_property_publisher = intellectual_property_publisher
class InteractiveConfig(msrest.serialization.Model):
"""InteractiveConfig.
:ivar is_ssh_enabled:
:vartype is_ssh_enabled: bool
:ivar ssh_public_key:
:vartype ssh_public_key: str
:ivar is_i_python_enabled:
:vartype is_i_python_enabled: bool
:ivar is_tensor_board_enabled:
:vartype is_tensor_board_enabled: bool
:ivar interactive_port:
:vartype interactive_port: int
"""
_attribute_map = {
'is_ssh_enabled': {'key': 'isSSHEnabled', 'type': 'bool'},
'ssh_public_key': {'key': 'sshPublicKey', 'type': 'str'},
'is_i_python_enabled': {'key': 'isIPythonEnabled', 'type': 'bool'},
'is_tensor_board_enabled': {'key': 'isTensorBoardEnabled', 'type': 'bool'},
'interactive_port': {'key': 'interactivePort', 'type': 'int'},
}
def __init__(
self,
*,
is_ssh_enabled: Optional[bool] = None,
ssh_public_key: Optional[str] = None,
is_i_python_enabled: Optional[bool] = None,
is_tensor_board_enabled: Optional[bool] = None,
interactive_port: Optional[int] = None,
**kwargs
):
"""
:keyword is_ssh_enabled:
:paramtype is_ssh_enabled: bool
:keyword ssh_public_key:
:paramtype ssh_public_key: str
:keyword is_i_python_enabled:
:paramtype is_i_python_enabled: bool
:keyword is_tensor_board_enabled:
:paramtype is_tensor_board_enabled: bool
:keyword interactive_port:
:paramtype interactive_port: int
"""
super(InteractiveConfig, self).__init__(**kwargs)
self.is_ssh_enabled = is_ssh_enabled
self.ssh_public_key = ssh_public_key
self.is_i_python_enabled = is_i_python_enabled
self.is_tensor_board_enabled = is_tensor_board_enabled
self.interactive_port = interactive_port
class InteractiveConfiguration(msrest.serialization.Model):
"""InteractiveConfiguration.
:ivar is_ssh_enabled:
:vartype is_ssh_enabled: bool
:ivar ssh_public_key:
:vartype ssh_public_key: str
:ivar is_i_python_enabled:
:vartype is_i_python_enabled: bool
:ivar is_tensor_board_enabled:
:vartype is_tensor_board_enabled: bool
:ivar interactive_port:
:vartype interactive_port: int
"""
_attribute_map = {
'is_ssh_enabled': {'key': 'isSSHEnabled', 'type': 'bool'},
'ssh_public_key': {'key': 'sshPublicKey', 'type': 'str'},
'is_i_python_enabled': {'key': 'isIPythonEnabled', 'type': 'bool'},
'is_tensor_board_enabled': {'key': 'isTensorBoardEnabled', 'type': 'bool'},
'interactive_port': {'key': 'interactivePort', 'type': 'int'},
}
def __init__(
self,
*,
is_ssh_enabled: Optional[bool] = None,
ssh_public_key: Optional[str] = None,
is_i_python_enabled: Optional[bool] = None,
is_tensor_board_enabled: Optional[bool] = None,
interactive_port: Optional[int] = None,
**kwargs
):
"""
:keyword is_ssh_enabled:
:paramtype is_ssh_enabled: bool
:keyword ssh_public_key:
:paramtype ssh_public_key: str
:keyword is_i_python_enabled:
:paramtype is_i_python_enabled: bool
:keyword is_tensor_board_enabled:
:paramtype is_tensor_board_enabled: bool
:keyword interactive_port:
:paramtype interactive_port: int
"""
super(InteractiveConfiguration, self).__init__(**kwargs)
self.is_ssh_enabled = is_ssh_enabled
self.ssh_public_key = ssh_public_key
self.is_i_python_enabled = is_i_python_enabled
self.is_tensor_board_enabled = is_tensor_board_enabled
self.interactive_port = interactive_port
class JobCost(msrest.serialization.Model):
"""JobCost.
:ivar charged_cpu_core_seconds:
:vartype charged_cpu_core_seconds: float
:ivar charged_cpu_memory_megabyte_seconds:
:vartype charged_cpu_memory_megabyte_seconds: float
:ivar charged_gpu_seconds:
:vartype charged_gpu_seconds: float
:ivar charged_node_utilization_seconds:
:vartype charged_node_utilization_seconds: float
"""
_attribute_map = {
'charged_cpu_core_seconds': {'key': 'chargedCpuCoreSeconds', 'type': 'float'},
'charged_cpu_memory_megabyte_seconds': {'key': 'chargedCpuMemoryMegabyteSeconds', 'type': 'float'},
'charged_gpu_seconds': {'key': 'chargedGpuSeconds', 'type': 'float'},
'charged_node_utilization_seconds': {'key': 'chargedNodeUtilizationSeconds', 'type': 'float'},
}
def __init__(
self,
*,
charged_cpu_core_seconds: Optional[float] = None,
charged_cpu_memory_megabyte_seconds: Optional[float] = None,
charged_gpu_seconds: Optional[float] = None,
charged_node_utilization_seconds: Optional[float] = None,
**kwargs
):
"""
:keyword charged_cpu_core_seconds:
:paramtype charged_cpu_core_seconds: float
:keyword charged_cpu_memory_megabyte_seconds:
:paramtype charged_cpu_memory_megabyte_seconds: float
:keyword charged_gpu_seconds:
:paramtype charged_gpu_seconds: float
:keyword charged_node_utilization_seconds:
:paramtype charged_node_utilization_seconds: float
"""
super(JobCost, self).__init__(**kwargs)
self.charged_cpu_core_seconds = charged_cpu_core_seconds
self.charged_cpu_memory_megabyte_seconds = charged_cpu_memory_megabyte_seconds
self.charged_gpu_seconds = charged_gpu_seconds
self.charged_node_utilization_seconds = charged_node_utilization_seconds
class JobEndpoint(msrest.serialization.Model):
"""JobEndpoint.
:ivar type:
:vartype type: str
:ivar port:
:vartype port: int
:ivar endpoint:
:vartype endpoint: str
:ivar status:
:vartype status: str
:ivar error_message:
:vartype error_message: str
:ivar properties: This is a dictionary.
:vartype properties: dict[str, str]
:ivar nodes:
:vartype nodes: ~flow.models.MfeInternalNodes
"""
_attribute_map = {
'type': {'key': 'type', 'type': 'str'},
'port': {'key': 'port', 'type': 'int'},
'endpoint': {'key': 'endpoint', 'type': 'str'},
'status': {'key': 'status', 'type': 'str'},
'error_message': {'key': 'errorMessage', 'type': 'str'},
'properties': {'key': 'properties', 'type': '{str}'},
'nodes': {'key': 'nodes', 'type': 'MfeInternalNodes'},
}
def __init__(
self,
*,
type: Optional[str] = None,
port: Optional[int] = None,
endpoint: Optional[str] = None,
status: Optional[str] = None,
error_message: Optional[str] = None,
properties: Optional[Dict[str, str]] = None,
nodes: Optional["MfeInternalNodes"] = None,
**kwargs
):
"""
:keyword type:
:paramtype type: str
:keyword port:
:paramtype port: int
:keyword endpoint:
:paramtype endpoint: str
:keyword status:
:paramtype status: str
:keyword error_message:
:paramtype error_message: str
:keyword properties: This is a dictionary.
:paramtype properties: dict[str, str]
:keyword nodes:
:paramtype nodes: ~flow.models.MfeInternalNodes
"""
super(JobEndpoint, self).__init__(**kwargs)
self.type = type
self.port = port
self.endpoint = endpoint
self.status = status
self.error_message = error_message
self.properties = properties
self.nodes = nodes
class JobInput(msrest.serialization.Model):
"""JobInput.
All required parameters must be populated in order to send to Azure.
:ivar job_input_type: Required. Possible values include: "Dataset", "Uri", "Literal",
"UriFile", "UriFolder", "MLTable", "CustomModel", "MLFlowModel", "TritonModel".
:vartype job_input_type: str or ~flow.models.JobInputType
:ivar description:
:vartype description: str
"""
_validation = {
'job_input_type': {'required': True},
}
_attribute_map = {
'job_input_type': {'key': 'jobInputType', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
}
def __init__(
self,
*,
job_input_type: Union[str, "JobInputType"],
description: Optional[str] = None,
**kwargs
):
"""
:keyword job_input_type: Required. Possible values include: "Dataset", "Uri", "Literal",
"UriFile", "UriFolder", "MLTable", "CustomModel", "MLFlowModel", "TritonModel".
:paramtype job_input_type: str or ~flow.models.JobInputType
:keyword description:
:paramtype description: str
"""
super(JobInput, self).__init__(**kwargs)
self.job_input_type = job_input_type
self.description = description
class JobOutput(msrest.serialization.Model):
"""JobOutput.
All required parameters must be populated in order to send to Azure.
:ivar job_output_type: Required. Possible values include: "Uri", "Dataset", "UriFile",
"UriFolder", "MLTable", "CustomModel", "MLFlowModel", "TritonModel".
:vartype job_output_type: str or ~flow.models.JobOutputType
:ivar description:
:vartype description: str
:ivar auto_delete_setting:
:vartype auto_delete_setting: ~flow.models.AutoDeleteSetting
"""
_validation = {
'job_output_type': {'required': True},
}
_attribute_map = {
'job_output_type': {'key': 'jobOutputType', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'auto_delete_setting': {'key': 'autoDeleteSetting', 'type': 'AutoDeleteSetting'},
}
def __init__(
self,
*,
job_output_type: Union[str, "JobOutputType"],
description: Optional[str] = None,
auto_delete_setting: Optional["AutoDeleteSetting"] = None,
**kwargs
):
"""
:keyword job_output_type: Required. Possible values include: "Uri", "Dataset", "UriFile",
"UriFolder", "MLTable", "CustomModel", "MLFlowModel", "TritonModel".
:paramtype job_output_type: str or ~flow.models.JobOutputType
:keyword description:
:paramtype description: str
:keyword auto_delete_setting:
:paramtype auto_delete_setting: ~flow.models.AutoDeleteSetting
"""
super(JobOutput, self).__init__(**kwargs)
self.job_output_type = job_output_type
self.description = description
self.auto_delete_setting = auto_delete_setting
class JobOutputArtifacts(msrest.serialization.Model):
"""JobOutputArtifacts.
:ivar datastore_id:
:vartype datastore_id: str
:ivar path:
:vartype path: str
"""
_attribute_map = {
'datastore_id': {'key': 'datastoreId', 'type': 'str'},
'path': {'key': 'path', 'type': 'str'},
}
def __init__(
self,
*,
datastore_id: Optional[str] = None,
path: Optional[str] = None,
**kwargs
):
"""
:keyword datastore_id:
:paramtype datastore_id: str
:keyword path:
:paramtype path: str
"""
super(JobOutputArtifacts, self).__init__(**kwargs)
self.datastore_id = datastore_id
self.path = path
class JobScheduleDto(msrest.serialization.Model):
"""JobScheduleDto.
:ivar job_type: Possible values include: "Command", "Sweep", "Labeling", "Pipeline", "Data",
"AutoML", "Spark", "Base".
:vartype job_type: str or ~flow.models.JobType
:ivar system_data:
:vartype system_data: ~flow.models.SystemData
:ivar name:
:vartype name: str
:ivar job_definition_id:
:vartype job_definition_id: str
:ivar display_name:
:vartype display_name: str
:ivar trigger_type: Possible values include: "Recurrence", "Cron".
:vartype trigger_type: str or ~flow.models.TriggerType
:ivar recurrence:
:vartype recurrence: ~flow.models.Recurrence
:ivar cron:
:vartype cron: ~flow.models.Cron
:ivar status: Possible values include: "Enabled", "Disabled".
:vartype status: str or ~flow.models.ScheduleStatus
:ivar description:
:vartype description: str
:ivar tags: A set of tags. This is a dictionary.
:vartype tags: dict[str, str]
:ivar properties: This is a dictionary.
:vartype properties: dict[str, str]
"""
_attribute_map = {
'job_type': {'key': 'jobType', 'type': 'str'},
'system_data': {'key': 'systemData', 'type': 'SystemData'},
'name': {'key': 'name', 'type': 'str'},
'job_definition_id': {'key': 'jobDefinitionId', 'type': 'str'},
'display_name': {'key': 'displayName', 'type': 'str'},
'trigger_type': {'key': 'triggerType', 'type': 'str'},
'recurrence': {'key': 'recurrence', 'type': 'Recurrence'},
'cron': {'key': 'cron', 'type': 'Cron'},
'status': {'key': 'status', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'properties': {'key': 'properties', 'type': '{str}'},
}
def __init__(
self,
*,
job_type: Optional[Union[str, "JobType"]] = None,
system_data: Optional["SystemData"] = None,
name: Optional[str] = None,
job_definition_id: Optional[str] = None,
display_name: Optional[str] = None,
trigger_type: Optional[Union[str, "TriggerType"]] = None,
recurrence: Optional["Recurrence"] = None,
cron: Optional["Cron"] = None,
status: Optional[Union[str, "ScheduleStatus"]] = None,
description: Optional[str] = None,
tags: Optional[Dict[str, str]] = None,
properties: Optional[Dict[str, str]] = None,
**kwargs
):
"""
:keyword job_type: Possible values include: "Command", "Sweep", "Labeling", "Pipeline", "Data",
"AutoML", "Spark", "Base".
:paramtype job_type: str or ~flow.models.JobType
:keyword system_data:
:paramtype system_data: ~flow.models.SystemData
:keyword name:
:paramtype name: str
:keyword job_definition_id:
:paramtype job_definition_id: str
:keyword display_name:
:paramtype display_name: str
:keyword trigger_type: Possible values include: "Recurrence", "Cron".
:paramtype trigger_type: str or ~flow.models.TriggerType
:keyword recurrence:
:paramtype recurrence: ~flow.models.Recurrence
:keyword cron:
:paramtype cron: ~flow.models.Cron
:keyword status: Possible values include: "Enabled", "Disabled".
:paramtype status: str or ~flow.models.ScheduleStatus
:keyword description:
:paramtype description: str
:keyword tags: A set of tags. This is a dictionary.
:paramtype tags: dict[str, str]
:keyword properties: This is a dictionary.
:paramtype properties: dict[str, str]
"""
super(JobScheduleDto, self).__init__(**kwargs)
self.job_type = job_type
self.system_data = system_data
self.name = name
self.job_definition_id = job_definition_id
self.display_name = display_name
self.trigger_type = trigger_type
self.recurrence = recurrence
self.cron = cron
self.status = status
self.description = description
self.tags = tags
self.properties = properties
class K8SConfiguration(msrest.serialization.Model):
"""K8SConfiguration.
:ivar max_retry_count:
:vartype max_retry_count: int
:ivar resource_configuration:
:vartype resource_configuration: ~flow.models.ResourceConfig
:ivar priority_configuration:
:vartype priority_configuration: ~flow.models.PriorityConfig
:ivar interactive_configuration:
:vartype interactive_configuration: ~flow.models.InteractiveConfig
"""
_attribute_map = {
'max_retry_count': {'key': 'maxRetryCount', 'type': 'int'},
'resource_configuration': {'key': 'resourceConfiguration', 'type': 'ResourceConfig'},
'priority_configuration': {'key': 'priorityConfiguration', 'type': 'PriorityConfig'},
'interactive_configuration': {'key': 'interactiveConfiguration', 'type': 'InteractiveConfig'},
}
def __init__(
self,
*,
max_retry_count: Optional[int] = None,
resource_configuration: Optional["ResourceConfig"] = None,
priority_configuration: Optional["PriorityConfig"] = None,
interactive_configuration: Optional["InteractiveConfig"] = None,
**kwargs
):
"""
:keyword max_retry_count:
:paramtype max_retry_count: int
:keyword resource_configuration:
:paramtype resource_configuration: ~flow.models.ResourceConfig
:keyword priority_configuration:
:paramtype priority_configuration: ~flow.models.PriorityConfig
:keyword interactive_configuration:
:paramtype interactive_configuration: ~flow.models.InteractiveConfig
"""
super(K8SConfiguration, self).__init__(**kwargs)
self.max_retry_count = max_retry_count
self.resource_configuration = resource_configuration
self.priority_configuration = priority_configuration
self.interactive_configuration = interactive_configuration
class KeyValuePairComponentNameMetaInfoErrorResponse(msrest.serialization.Model):
"""KeyValuePairComponentNameMetaInfoErrorResponse.
:ivar key:
:vartype key: ~flow.models.ComponentNameMetaInfo
:ivar value: The error response.
:vartype value: ~flow.models.ErrorResponse
"""
_attribute_map = {
'key': {'key': 'key', 'type': 'ComponentNameMetaInfo'},
'value': {'key': 'value', 'type': 'ErrorResponse'},
}
def __init__(
self,
*,
key: Optional["ComponentNameMetaInfo"] = None,
value: Optional["ErrorResponse"] = None,
**kwargs
):
"""
:keyword key:
:paramtype key: ~flow.models.ComponentNameMetaInfo
:keyword value: The error response.
:paramtype value: ~flow.models.ErrorResponse
"""
super(KeyValuePairComponentNameMetaInfoErrorResponse, self).__init__(**kwargs)
self.key = key
self.value = value
class KeyValuePairComponentNameMetaInfoModuleDto(msrest.serialization.Model):
"""KeyValuePairComponentNameMetaInfoModuleDto.
:ivar key:
:vartype key: ~flow.models.ComponentNameMetaInfo
:ivar value:
:vartype value: ~flow.models.ModuleDto
"""
_attribute_map = {
'key': {'key': 'key', 'type': 'ComponentNameMetaInfo'},
'value': {'key': 'value', 'type': 'ModuleDto'},
}
def __init__(
self,
*,
key: Optional["ComponentNameMetaInfo"] = None,
value: Optional["ModuleDto"] = None,
**kwargs
):
"""
:keyword key:
:paramtype key: ~flow.models.ComponentNameMetaInfo
:keyword value:
:paramtype value: ~flow.models.ModuleDto
"""
super(KeyValuePairComponentNameMetaInfoModuleDto, self).__init__(**kwargs)
self.key = key
self.value = value
class KeyValuePairStringObject(msrest.serialization.Model):
"""KeyValuePairStringObject.
:ivar key:
:vartype key: str
:ivar value: Anything.
:vartype value: any
"""
_attribute_map = {
'key': {'key': 'key', 'type': 'str'},
'value': {'key': 'value', 'type': 'object'},
}
def __init__(
self,
*,
key: Optional[str] = None,
value: Optional[Any] = None,
**kwargs
):
"""
:keyword key:
:paramtype key: str
:keyword value: Anything.
:paramtype value: any
"""
super(KeyValuePairStringObject, self).__init__(**kwargs)
self.key = key
self.value = value
class KubernetesConfiguration(msrest.serialization.Model):
"""KubernetesConfiguration.
:ivar instance_type:
:vartype instance_type: str
"""
_attribute_map = {
'instance_type': {'key': 'instanceType', 'type': 'str'},
}
def __init__(
self,
*,
instance_type: Optional[str] = None,
**kwargs
):
"""
:keyword instance_type:
:paramtype instance_type: str
"""
super(KubernetesConfiguration, self).__init__(**kwargs)
self.instance_type = instance_type
class Kwarg(msrest.serialization.Model):
"""Kwarg.
:ivar key:
:vartype key: str
:ivar value:
:vartype value: str
"""
_attribute_map = {
'key': {'key': 'key', 'type': 'str'},
'value': {'key': 'value', 'type': 'str'},
}
def __init__(
self,
*,
key: Optional[str] = None,
value: Optional[str] = None,
**kwargs
):
"""
:keyword key:
:paramtype key: str
:keyword value:
:paramtype value: str
"""
super(Kwarg, self).__init__(**kwargs)
self.key = key
self.value = value
class LegacyDataPath(msrest.serialization.Model):
"""LegacyDataPath.
:ivar data_store_name:
:vartype data_store_name: str
:ivar data_store_mode: Possible values include: "None", "Mount", "Download", "Upload",
"Direct", "Hdfs", "Link".
:vartype data_store_mode: str or ~flow.models.AEVADataStoreMode
:ivar relative_path:
:vartype relative_path: str
"""
_attribute_map = {
'data_store_name': {'key': 'dataStoreName', 'type': 'str'},
'data_store_mode': {'key': 'dataStoreMode', 'type': 'str'},
'relative_path': {'key': 'relativePath', 'type': 'str'},
}
def __init__(
self,
*,
data_store_name: Optional[str] = None,
data_store_mode: Optional[Union[str, "AEVADataStoreMode"]] = None,
relative_path: Optional[str] = None,
**kwargs
):
"""
:keyword data_store_name:
:paramtype data_store_name: str
:keyword data_store_mode: Possible values include: "None", "Mount", "Download", "Upload",
"Direct", "Hdfs", "Link".
:paramtype data_store_mode: str or ~flow.models.AEVADataStoreMode
:keyword relative_path:
:paramtype relative_path: str
"""
super(LegacyDataPath, self).__init__(**kwargs)
self.data_store_name = data_store_name
self.data_store_mode = data_store_mode
self.relative_path = relative_path
class LimitSettings(msrest.serialization.Model):
"""LimitSettings.
:ivar max_trials:
:vartype max_trials: int
:ivar timeout:
:vartype timeout: str
:ivar trial_timeout:
:vartype trial_timeout: str
:ivar max_concurrent_trials:
:vartype max_concurrent_trials: int
:ivar max_cores_per_trial:
:vartype max_cores_per_trial: int
:ivar exit_score:
:vartype exit_score: float
:ivar enable_early_termination:
:vartype enable_early_termination: bool
:ivar max_nodes:
:vartype max_nodes: int
"""
_attribute_map = {
'max_trials': {'key': 'maxTrials', 'type': 'int'},
'timeout': {'key': 'timeout', 'type': 'str'},
'trial_timeout': {'key': 'trialTimeout', 'type': 'str'},
'max_concurrent_trials': {'key': 'maxConcurrentTrials', 'type': 'int'},
'max_cores_per_trial': {'key': 'maxCoresPerTrial', 'type': 'int'},
'exit_score': {'key': 'exitScore', 'type': 'float'},
'enable_early_termination': {'key': 'enableEarlyTermination', 'type': 'bool'},
'max_nodes': {'key': 'maxNodes', 'type': 'int'},
}
def __init__(
self,
*,
max_trials: Optional[int] = None,
timeout: Optional[str] = None,
trial_timeout: Optional[str] = None,
max_concurrent_trials: Optional[int] = None,
max_cores_per_trial: Optional[int] = None,
exit_score: Optional[float] = None,
enable_early_termination: Optional[bool] = None,
max_nodes: Optional[int] = None,
**kwargs
):
"""
:keyword max_trials:
:paramtype max_trials: int
:keyword timeout:
:paramtype timeout: str
:keyword trial_timeout:
:paramtype trial_timeout: str
:keyword max_concurrent_trials:
:paramtype max_concurrent_trials: int
:keyword max_cores_per_trial:
:paramtype max_cores_per_trial: int
:keyword exit_score:
:paramtype exit_score: float
:keyword enable_early_termination:
:paramtype enable_early_termination: bool
:keyword max_nodes:
:paramtype max_nodes: int
"""
super(LimitSettings, self).__init__(**kwargs)
self.max_trials = max_trials
self.timeout = timeout
self.trial_timeout = trial_timeout
self.max_concurrent_trials = max_concurrent_trials
self.max_cores_per_trial = max_cores_per_trial
self.exit_score = exit_score
self.enable_early_termination = enable_early_termination
self.max_nodes = max_nodes
class LinkedADBWorkspaceMetadata(msrest.serialization.Model):
"""LinkedADBWorkspaceMetadata.
:ivar workspace_id:
:vartype workspace_id: str
:ivar region:
:vartype region: str
"""
_attribute_map = {
'workspace_id': {'key': 'workspaceId', 'type': 'str'},
'region': {'key': 'region', 'type': 'str'},
}
def __init__(
self,
*,
workspace_id: Optional[str] = None,
region: Optional[str] = None,
**kwargs
):
"""
:keyword workspace_id:
:paramtype workspace_id: str
:keyword region:
:paramtype region: str
"""
super(LinkedADBWorkspaceMetadata, self).__init__(**kwargs)
self.workspace_id = workspace_id
self.region = region
class LinkedPipelineInfo(msrest.serialization.Model):
"""LinkedPipelineInfo.
:ivar pipeline_type: Possible values include: "TrainingPipeline", "RealTimeInferencePipeline",
"BatchInferencePipeline", "Unknown".
:vartype pipeline_type: str or ~flow.models.PipelineType
:ivar module_node_id:
:vartype module_node_id: str
:ivar port_name:
:vartype port_name: str
:ivar linked_pipeline_draft_id:
:vartype linked_pipeline_draft_id: str
:ivar linked_pipeline_run_id:
:vartype linked_pipeline_run_id: str
:ivar is_direct_link:
:vartype is_direct_link: bool
"""
_attribute_map = {
'pipeline_type': {'key': 'pipelineType', 'type': 'str'},
'module_node_id': {'key': 'moduleNodeId', 'type': 'str'},
'port_name': {'key': 'portName', 'type': 'str'},
'linked_pipeline_draft_id': {'key': 'linkedPipelineDraftId', 'type': 'str'},
'linked_pipeline_run_id': {'key': 'linkedPipelineRunId', 'type': 'str'},
'is_direct_link': {'key': 'isDirectLink', 'type': 'bool'},
}
def __init__(
self,
*,
pipeline_type: Optional[Union[str, "PipelineType"]] = None,
module_node_id: Optional[str] = None,
port_name: Optional[str] = None,
linked_pipeline_draft_id: Optional[str] = None,
linked_pipeline_run_id: Optional[str] = None,
is_direct_link: Optional[bool] = None,
**kwargs
):
"""
:keyword pipeline_type: Possible values include: "TrainingPipeline",
"RealTimeInferencePipeline", "BatchInferencePipeline", "Unknown".
:paramtype pipeline_type: str or ~flow.models.PipelineType
:keyword module_node_id:
:paramtype module_node_id: str
:keyword port_name:
:paramtype port_name: str
:keyword linked_pipeline_draft_id:
:paramtype linked_pipeline_draft_id: str
:keyword linked_pipeline_run_id:
:paramtype linked_pipeline_run_id: str
:keyword is_direct_link:
:paramtype is_direct_link: bool
"""
super(LinkedPipelineInfo, self).__init__(**kwargs)
self.pipeline_type = pipeline_type
self.module_node_id = module_node_id
self.port_name = port_name
self.linked_pipeline_draft_id = linked_pipeline_draft_id
self.linked_pipeline_run_id = linked_pipeline_run_id
self.is_direct_link = is_direct_link
class LoadFlowAsComponentRequest(msrest.serialization.Model):
"""LoadFlowAsComponentRequest.
:ivar component_name:
:vartype component_name: str
:ivar component_version:
:vartype component_version: str
:ivar display_name:
:vartype display_name: str
:ivar description:
:vartype description: str
:ivar tags: A set of tags. This is a dictionary.
:vartype tags: dict[str, str]
:ivar properties: This is a dictionary.
:vartype properties: dict[str, str]
:ivar is_deterministic:
:vartype is_deterministic: bool
:ivar flow_definition_file_path:
:vartype flow_definition_file_path: str
:ivar flow_definition_resource_id:
:vartype flow_definition_resource_id: str
:ivar flow_definition_data_store_name:
:vartype flow_definition_data_store_name: str
:ivar flow_definition_blob_path:
:vartype flow_definition_blob_path: str
:ivar flow_definition_data_uri:
:vartype flow_definition_data_uri: str
:ivar node_variant:
:vartype node_variant: str
:ivar inputs_mapping: This is a dictionary.
:vartype inputs_mapping: dict[str, str]
:ivar connections: This is a dictionary.
:vartype connections: dict[str, dict[str, str]]
:ivar environment_variables: This is a dictionary.
:vartype environment_variables: dict[str, str]
:ivar runtime_name:
:vartype runtime_name: str
:ivar session_id:
:vartype session_id: str
:ivar vm_size:
:vartype vm_size: str
:ivar max_idle_time_seconds:
:vartype max_idle_time_seconds: long
"""
_attribute_map = {
'component_name': {'key': 'componentName', 'type': 'str'},
'component_version': {'key': 'componentVersion', 'type': 'str'},
'display_name': {'key': 'displayName', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'properties': {'key': 'properties', 'type': '{str}'},
'is_deterministic': {'key': 'isDeterministic', 'type': 'bool'},
'flow_definition_file_path': {'key': 'flowDefinitionFilePath', 'type': 'str'},
'flow_definition_resource_id': {'key': 'flowDefinitionResourceId', 'type': 'str'},
'flow_definition_data_store_name': {'key': 'flowDefinitionDataStoreName', 'type': 'str'},
'flow_definition_blob_path': {'key': 'flowDefinitionBlobPath', 'type': 'str'},
'flow_definition_data_uri': {'key': 'flowDefinitionDataUri', 'type': 'str'},
'node_variant': {'key': 'nodeVariant', 'type': 'str'},
'inputs_mapping': {'key': 'inputsMapping', 'type': '{str}'},
'connections': {'key': 'connections', 'type': '{{str}}'},
'environment_variables': {'key': 'environmentVariables', 'type': '{str}'},
'runtime_name': {'key': 'runtimeName', 'type': 'str'},
'session_id': {'key': 'sessionId', 'type': 'str'},
'vm_size': {'key': 'vmSize', 'type': 'str'},
'max_idle_time_seconds': {'key': 'maxIdleTimeSeconds', 'type': 'long'},
}
def __init__(
self,
*,
component_name: Optional[str] = None,
component_version: Optional[str] = None,
display_name: Optional[str] = None,
description: Optional[str] = None,
tags: Optional[Dict[str, str]] = None,
properties: Optional[Dict[str, str]] = None,
is_deterministic: Optional[bool] = None,
flow_definition_file_path: Optional[str] = None,
flow_definition_resource_id: Optional[str] = None,
flow_definition_data_store_name: Optional[str] = None,
flow_definition_blob_path: Optional[str] = None,
flow_definition_data_uri: Optional[str] = None,
node_variant: Optional[str] = None,
inputs_mapping: Optional[Dict[str, str]] = None,
connections: Optional[Dict[str, Dict[str, str]]] = None,
environment_variables: Optional[Dict[str, str]] = None,
runtime_name: Optional[str] = None,
session_id: Optional[str] = None,
vm_size: Optional[str] = None,
max_idle_time_seconds: Optional[int] = None,
**kwargs
):
"""
:keyword component_name:
:paramtype component_name: str
:keyword component_version:
:paramtype component_version: str
:keyword display_name:
:paramtype display_name: str
:keyword description:
:paramtype description: str
:keyword tags: A set of tags. This is a dictionary.
:paramtype tags: dict[str, str]
:keyword properties: This is a dictionary.
:paramtype properties: dict[str, str]
:keyword is_deterministic:
:paramtype is_deterministic: bool
:keyword flow_definition_file_path:
:paramtype flow_definition_file_path: str
:keyword flow_definition_resource_id:
:paramtype flow_definition_resource_id: str
:keyword flow_definition_data_store_name:
:paramtype flow_definition_data_store_name: str
:keyword flow_definition_blob_path:
:paramtype flow_definition_blob_path: str
:keyword flow_definition_data_uri:
:paramtype flow_definition_data_uri: str
:keyword node_variant:
:paramtype node_variant: str
:keyword inputs_mapping: This is a dictionary.
:paramtype inputs_mapping: dict[str, str]
:keyword connections: This is a dictionary.
:paramtype connections: dict[str, dict[str, str]]
:keyword environment_variables: This is a dictionary.
:paramtype environment_variables: dict[str, str]
:keyword runtime_name:
:paramtype runtime_name: str
:keyword session_id:
:paramtype session_id: str
:keyword vm_size:
:paramtype vm_size: str
:keyword max_idle_time_seconds:
:paramtype max_idle_time_seconds: long
"""
super(LoadFlowAsComponentRequest, self).__init__(**kwargs)
self.component_name = component_name
self.component_version = component_version
self.display_name = display_name
self.description = description
self.tags = tags
self.properties = properties
self.is_deterministic = is_deterministic
self.flow_definition_file_path = flow_definition_file_path
self.flow_definition_resource_id = flow_definition_resource_id
self.flow_definition_data_store_name = flow_definition_data_store_name
self.flow_definition_blob_path = flow_definition_blob_path
self.flow_definition_data_uri = flow_definition_data_uri
self.node_variant = node_variant
self.inputs_mapping = inputs_mapping
self.connections = connections
self.environment_variables = environment_variables
self.runtime_name = runtime_name
self.session_id = session_id
self.vm_size = vm_size
self.max_idle_time_seconds = max_idle_time_seconds
class LogRunTerminatedEventDto(msrest.serialization.Model):
"""LogRunTerminatedEventDto.
:ivar next_action_interval_in_seconds:
:vartype next_action_interval_in_seconds: int
:ivar action_type: Possible values include: "SendValidationRequest", "GetValidationStatus",
"SubmitBulkRun", "LogRunResult", "LogRunTerminatedEvent".
:vartype action_type: str or ~flow.models.ActionType
:ivar last_checked_time:
:vartype last_checked_time: ~datetime.datetime
"""
_attribute_map = {
'next_action_interval_in_seconds': {'key': 'nextActionIntervalInSeconds', 'type': 'int'},
'action_type': {'key': 'actionType', 'type': 'str'},
'last_checked_time': {'key': 'lastCheckedTime', 'type': 'iso-8601'},
}
def __init__(
self,
*,
next_action_interval_in_seconds: Optional[int] = None,
action_type: Optional[Union[str, "ActionType"]] = None,
last_checked_time: Optional[datetime.datetime] = None,
**kwargs
):
"""
:keyword next_action_interval_in_seconds:
:paramtype next_action_interval_in_seconds: int
:keyword action_type: Possible values include: "SendValidationRequest", "GetValidationStatus",
"SubmitBulkRun", "LogRunResult", "LogRunTerminatedEvent".
:paramtype action_type: str or ~flow.models.ActionType
:keyword last_checked_time:
:paramtype last_checked_time: ~datetime.datetime
"""
super(LogRunTerminatedEventDto, self).__init__(**kwargs)
self.next_action_interval_in_seconds = next_action_interval_in_seconds
self.action_type = action_type
self.last_checked_time = last_checked_time
class LongRunningOperationUriResponse(msrest.serialization.Model):
"""LongRunningOperationUriResponse.
:ivar location:
:vartype location: str
:ivar operation_result:
:vartype operation_result: str
"""
_attribute_map = {
'location': {'key': 'location', 'type': 'str'},
'operation_result': {'key': 'operationResult', 'type': 'str'},
}
def __init__(
self,
*,
location: Optional[str] = None,
operation_result: Optional[str] = None,
**kwargs
):
"""
:keyword location:
:paramtype location: str
:keyword operation_result:
:paramtype operation_result: str
"""
super(LongRunningOperationUriResponse, self).__init__(**kwargs)
self.location = location
self.operation_result = operation_result
class LongRunningUpdateRegistryComponentRequest(msrest.serialization.Model):
"""LongRunningUpdateRegistryComponentRequest.
:ivar display_name:
:vartype display_name: str
:ivar description:
:vartype description: str
:ivar tags: A set of tags. Dictionary of :code:`<string>`.
:vartype tags: dict[str, str]
:ivar registry_name:
:vartype registry_name: str
:ivar component_name:
:vartype component_name: str
:ivar component_version:
:vartype component_version: str
:ivar update_type: Possible values include: "EnableModule", "DisableModule",
"UpdateDisplayName", "UpdateDescription", "UpdateTags".
:vartype update_type: str or ~flow.models.LongRunningUpdateType
"""
_attribute_map = {
'display_name': {'key': 'displayName', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'registry_name': {'key': 'registryName', 'type': 'str'},
'component_name': {'key': 'componentName', 'type': 'str'},
'component_version': {'key': 'componentVersion', 'type': 'str'},
'update_type': {'key': 'updateType', 'type': 'str'},
}
def __init__(
self,
*,
display_name: Optional[str] = None,
description: Optional[str] = None,
tags: Optional[Dict[str, str]] = None,
registry_name: Optional[str] = None,
component_name: Optional[str] = None,
component_version: Optional[str] = None,
update_type: Optional[Union[str, "LongRunningUpdateType"]] = None,
**kwargs
):
"""
:keyword display_name:
:paramtype display_name: str
:keyword description:
:paramtype description: str
:keyword tags: A set of tags. Dictionary of :code:`<string>`.
:paramtype tags: dict[str, str]
:keyword registry_name:
:paramtype registry_name: str
:keyword component_name:
:paramtype component_name: str
:keyword component_version:
:paramtype component_version: str
:keyword update_type: Possible values include: "EnableModule", "DisableModule",
"UpdateDisplayName", "UpdateDescription", "UpdateTags".
:paramtype update_type: str or ~flow.models.LongRunningUpdateType
"""
super(LongRunningUpdateRegistryComponentRequest, self).__init__(**kwargs)
self.display_name = display_name
self.description = description
self.tags = tags
self.registry_name = registry_name
self.component_name = component_name
self.component_version = component_version
self.update_type = update_type
class ManagedServiceIdentity(msrest.serialization.Model):
"""ManagedServiceIdentity.
All required parameters must be populated in order to send to Azure.
:ivar type: Required. Possible values include: "SystemAssigned", "UserAssigned",
"SystemAssignedUserAssigned", "None".
:vartype type: str or ~flow.models.ManagedServiceIdentityType
:ivar principal_id:
:vartype principal_id: str
:ivar tenant_id:
:vartype tenant_id: str
:ivar user_assigned_identities: Dictionary of :code:`<UserAssignedIdentity>`.
:vartype user_assigned_identities: dict[str, ~flow.models.UserAssignedIdentity]
"""
_validation = {
'type': {'required': True},
}
_attribute_map = {
'type': {'key': 'type', 'type': 'str'},
'principal_id': {'key': 'principalId', 'type': 'str'},
'tenant_id': {'key': 'tenantId', 'type': 'str'},
'user_assigned_identities': {'key': 'userAssignedIdentities', 'type': '{UserAssignedIdentity}'},
}
def __init__(
self,
*,
type: Union[str, "ManagedServiceIdentityType"],
principal_id: Optional[str] = None,
tenant_id: Optional[str] = None,
user_assigned_identities: Optional[Dict[str, "UserAssignedIdentity"]] = None,
**kwargs
):
"""
:keyword type: Required. Possible values include: "SystemAssigned", "UserAssigned",
"SystemAssignedUserAssigned", "None".
:paramtype type: str or ~flow.models.ManagedServiceIdentityType
:keyword principal_id:
:paramtype principal_id: str
:keyword tenant_id:
:paramtype tenant_id: str
:keyword user_assigned_identities: Dictionary of :code:`<UserAssignedIdentity>`.
:paramtype user_assigned_identities: dict[str, ~flow.models.UserAssignedIdentity]
"""
super(ManagedServiceIdentity, self).__init__(**kwargs)
self.type = type
self.principal_id = principal_id
self.tenant_id = tenant_id
self.user_assigned_identities = user_assigned_identities
class MavenLibraryDto(msrest.serialization.Model):
"""MavenLibraryDto.
:ivar coordinates:
:vartype coordinates: str
:ivar repo:
:vartype repo: str
:ivar exclusions:
:vartype exclusions: list[str]
"""
_attribute_map = {
'coordinates': {'key': 'coordinates', 'type': 'str'},
'repo': {'key': 'repo', 'type': 'str'},
'exclusions': {'key': 'exclusions', 'type': '[str]'},
}
def __init__(
self,
*,
coordinates: Optional[str] = None,
repo: Optional[str] = None,
exclusions: Optional[List[str]] = None,
**kwargs
):
"""
:keyword coordinates:
:paramtype coordinates: str
:keyword repo:
:paramtype repo: str
:keyword exclusions:
:paramtype exclusions: list[str]
"""
super(MavenLibraryDto, self).__init__(**kwargs)
self.coordinates = coordinates
self.repo = repo
self.exclusions = exclusions
class MetricProperties(msrest.serialization.Model):
"""MetricProperties.
:ivar ux_metric_type:
:vartype ux_metric_type: str
"""
_attribute_map = {
'ux_metric_type': {'key': 'uxMetricType', 'type': 'str'},
}
def __init__(
self,
*,
ux_metric_type: Optional[str] = None,
**kwargs
):
"""
:keyword ux_metric_type:
:paramtype ux_metric_type: str
"""
super(MetricProperties, self).__init__(**kwargs)
self.ux_metric_type = ux_metric_type
class MetricSchemaDto(msrest.serialization.Model):
"""MetricSchemaDto.
:ivar num_properties:
:vartype num_properties: int
:ivar properties:
:vartype properties: list[~flow.models.MetricSchemaPropertyDto]
"""
_attribute_map = {
'num_properties': {'key': 'numProperties', 'type': 'int'},
'properties': {'key': 'properties', 'type': '[MetricSchemaPropertyDto]'},
}
def __init__(
self,
*,
num_properties: Optional[int] = None,
properties: Optional[List["MetricSchemaPropertyDto"]] = None,
**kwargs
):
"""
:keyword num_properties:
:paramtype num_properties: int
:keyword properties:
:paramtype properties: list[~flow.models.MetricSchemaPropertyDto]
"""
super(MetricSchemaDto, self).__init__(**kwargs)
self.num_properties = num_properties
self.properties = properties
class MetricSchemaPropertyDto(msrest.serialization.Model):
"""MetricSchemaPropertyDto.
:ivar property_id:
:vartype property_id: str
:ivar name:
:vartype name: str
:ivar type:
:vartype type: str
"""
_attribute_map = {
'property_id': {'key': 'propertyId', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
}
def __init__(
self,
*,
property_id: Optional[str] = None,
name: Optional[str] = None,
type: Optional[str] = None,
**kwargs
):
"""
:keyword property_id:
:paramtype property_id: str
:keyword name:
:paramtype name: str
:keyword type:
:paramtype type: str
"""
super(MetricSchemaPropertyDto, self).__init__(**kwargs)
self.property_id = property_id
self.name = name
self.type = type
class MetricV2Dto(msrest.serialization.Model):
"""MetricV2Dto.
:ivar data_container_id:
:vartype data_container_id: str
:ivar name:
:vartype name: str
:ivar columns: This is a dictionary.
:vartype columns: dict[str, str or ~flow.models.MetricValueType]
:ivar properties:
:vartype properties: ~flow.models.MetricProperties
:ivar namespace:
:vartype namespace: str
:ivar standard_schema_id:
:vartype standard_schema_id: str
:ivar value:
:vartype value: list[~flow.models.MetricV2Value]
:ivar continuation_token: The token used in retrieving the next page. If null, there are no
additional pages.
:vartype continuation_token: str
:ivar next_link: The link to the next page constructed using the continuationToken. If null,
there are no additional pages.
:vartype next_link: str
"""
_attribute_map = {
'data_container_id': {'key': 'dataContainerId', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'columns': {'key': 'columns', 'type': '{str}'},
'properties': {'key': 'properties', 'type': 'MetricProperties'},
'namespace': {'key': 'namespace', 'type': 'str'},
'standard_schema_id': {'key': 'standardSchemaId', 'type': 'str'},
'value': {'key': 'value', 'type': '[MetricV2Value]'},
'continuation_token': {'key': 'continuationToken', 'type': 'str'},
'next_link': {'key': 'nextLink', 'type': 'str'},
}
def __init__(
self,
*,
data_container_id: Optional[str] = None,
name: Optional[str] = None,
columns: Optional[Dict[str, Union[str, "MetricValueType"]]] = None,
properties: Optional["MetricProperties"] = None,
namespace: Optional[str] = None,
standard_schema_id: Optional[str] = None,
value: Optional[List["MetricV2Value"]] = None,
continuation_token: Optional[str] = None,
next_link: Optional[str] = None,
**kwargs
):
"""
:keyword data_container_id:
:paramtype data_container_id: str
:keyword name:
:paramtype name: str
:keyword columns: This is a dictionary.
:paramtype columns: dict[str, str or ~flow.models.MetricValueType]
:keyword properties:
:paramtype properties: ~flow.models.MetricProperties
:keyword namespace:
:paramtype namespace: str
:keyword standard_schema_id:
:paramtype standard_schema_id: str
:keyword value:
:paramtype value: list[~flow.models.MetricV2Value]
:keyword continuation_token: The token used in retrieving the next page. If null, there are no
additional pages.
:paramtype continuation_token: str
:keyword next_link: The link to the next page constructed using the continuationToken. If
null, there are no additional pages.
:paramtype next_link: str
"""
super(MetricV2Dto, self).__init__(**kwargs)
self.data_container_id = data_container_id
self.name = name
self.columns = columns
self.properties = properties
self.namespace = namespace
self.standard_schema_id = standard_schema_id
self.value = value
self.continuation_token = continuation_token
self.next_link = next_link
class MetricV2Value(msrest.serialization.Model):
"""MetricV2Value.
:ivar metric_id:
:vartype metric_id: str
:ivar created_utc:
:vartype created_utc: ~datetime.datetime
:ivar step:
:vartype step: long
:ivar data: Dictionary of :code:`<any>`.
:vartype data: dict[str, any]
:ivar sas_uri:
:vartype sas_uri: str
"""
_attribute_map = {
'metric_id': {'key': 'metricId', 'type': 'str'},
'created_utc': {'key': 'createdUtc', 'type': 'iso-8601'},
'step': {'key': 'step', 'type': 'long'},
'data': {'key': 'data', 'type': '{object}'},
'sas_uri': {'key': 'sasUri', 'type': 'str'},
}
def __init__(
self,
*,
metric_id: Optional[str] = None,
created_utc: Optional[datetime.datetime] = None,
step: Optional[int] = None,
data: Optional[Dict[str, Any]] = None,
sas_uri: Optional[str] = None,
**kwargs
):
"""
:keyword metric_id:
:paramtype metric_id: str
:keyword created_utc:
:paramtype created_utc: ~datetime.datetime
:keyword step:
:paramtype step: long
:keyword data: Dictionary of :code:`<any>`.
:paramtype data: dict[str, any]
:keyword sas_uri:
:paramtype sas_uri: str
"""
super(MetricV2Value, self).__init__(**kwargs)
self.metric_id = metric_id
self.created_utc = created_utc
self.step = step
self.data = data
self.sas_uri = sas_uri
class MfeInternalAutologgerSettings(msrest.serialization.Model):
"""MfeInternalAutologgerSettings.
:ivar mlflow_autologger: Possible values include: "Enabled", "Disabled".
:vartype mlflow_autologger: str or ~flow.models.MfeInternalMLFlowAutologgerState
"""
_attribute_map = {
'mlflow_autologger': {'key': 'mlflowAutologger', 'type': 'str'},
}
def __init__(
self,
*,
mlflow_autologger: Optional[Union[str, "MfeInternalMLFlowAutologgerState"]] = None,
**kwargs
):
"""
:keyword mlflow_autologger: Possible values include: "Enabled", "Disabled".
:paramtype mlflow_autologger: str or ~flow.models.MfeInternalMLFlowAutologgerState
"""
super(MfeInternalAutologgerSettings, self).__init__(**kwargs)
self.mlflow_autologger = mlflow_autologger
class MfeInternalIdentityConfiguration(msrest.serialization.Model):
"""MfeInternalIdentityConfiguration.
:ivar identity_type: Possible values include: "Managed", "AMLToken", "UserIdentity".
:vartype identity_type: str or ~flow.models.MfeInternalIdentityType
"""
_attribute_map = {
'identity_type': {'key': 'identityType', 'type': 'str'},
}
def __init__(
self,
*,
identity_type: Optional[Union[str, "MfeInternalIdentityType"]] = None,
**kwargs
):
"""
:keyword identity_type: Possible values include: "Managed", "AMLToken", "UserIdentity".
:paramtype identity_type: str or ~flow.models.MfeInternalIdentityType
"""
super(MfeInternalIdentityConfiguration, self).__init__(**kwargs)
self.identity_type = identity_type
class MfeInternalNodes(msrest.serialization.Model):
"""MfeInternalNodes.
:ivar nodes_value_type: The only acceptable values to pass in are None and "All". The default
value is None.
:vartype nodes_value_type: str
"""
_attribute_map = {
'nodes_value_type': {'key': 'nodesValueType', 'type': 'str'},
}
def __init__(
self,
*,
nodes_value_type: Optional[str] = None,
**kwargs
):
"""
:keyword nodes_value_type: The only acceptable values to pass in are None and "All". The
default value is None.
:paramtype nodes_value_type: str
"""
super(MfeInternalNodes, self).__init__(**kwargs)
self.nodes_value_type = nodes_value_type
class MfeInternalOutputData(msrest.serialization.Model):
"""MfeInternalOutputData.
:ivar dataset_name:
:vartype dataset_name: str
:ivar datastore:
:vartype datastore: str
:ivar datapath:
:vartype datapath: str
:ivar mode: Possible values include: "Mount", "Download", "Upload", "ReadOnlyMount",
"ReadWriteMount", "Direct", "EvalMount", "EvalDownload".
:vartype mode: str or ~flow.models.DataBindingMode
"""
_attribute_map = {
'dataset_name': {'key': 'datasetName', 'type': 'str'},
'datastore': {'key': 'datastore', 'type': 'str'},
'datapath': {'key': 'datapath', 'type': 'str'},
'mode': {'key': 'mode', 'type': 'str'},
}
def __init__(
self,
*,
dataset_name: Optional[str] = None,
datastore: Optional[str] = None,
datapath: Optional[str] = None,
mode: Optional[Union[str, "DataBindingMode"]] = None,
**kwargs
):
"""
:keyword dataset_name:
:paramtype dataset_name: str
:keyword datastore:
:paramtype datastore: str
:keyword datapath:
:paramtype datapath: str
:keyword mode: Possible values include: "Mount", "Download", "Upload", "ReadOnlyMount",
"ReadWriteMount", "Direct", "EvalMount", "EvalDownload".
:paramtype mode: str or ~flow.models.DataBindingMode
"""
super(MfeInternalOutputData, self).__init__(**kwargs)
self.dataset_name = dataset_name
self.datastore = datastore
self.datapath = datapath
self.mode = mode
class MfeInternalSecretConfiguration(msrest.serialization.Model):
"""MfeInternalSecretConfiguration.
:ivar workspace_secret_name:
:vartype workspace_secret_name: str
:ivar uri:
:vartype uri: str
"""
_attribute_map = {
'workspace_secret_name': {'key': 'workspaceSecretName', 'type': 'str'},
'uri': {'key': 'uri', 'type': 'str'},
}
def __init__(
self,
*,
workspace_secret_name: Optional[str] = None,
uri: Optional[str] = None,
**kwargs
):
"""
:keyword workspace_secret_name:
:paramtype workspace_secret_name: str
:keyword uri:
:paramtype uri: str
"""
super(MfeInternalSecretConfiguration, self).__init__(**kwargs)
self.workspace_secret_name = workspace_secret_name
self.uri = uri
class MfeInternalUriReference(msrest.serialization.Model):
"""MfeInternalUriReference.
:ivar file:
:vartype file: str
:ivar folder:
:vartype folder: str
"""
_attribute_map = {
'file': {'key': 'file', 'type': 'str'},
'folder': {'key': 'folder', 'type': 'str'},
}
def __init__(
self,
*,
file: Optional[str] = None,
folder: Optional[str] = None,
**kwargs
):
"""
:keyword file:
:paramtype file: str
:keyword folder:
:paramtype folder: str
"""
super(MfeInternalUriReference, self).__init__(**kwargs)
self.file = file
self.folder = folder
class MfeInternalV20211001ComponentJob(msrest.serialization.Model):
"""MfeInternalV20211001ComponentJob.
:ivar compute_id:
:vartype compute_id: str
:ivar component_id:
:vartype component_id: str
:ivar inputs: This is a dictionary.
:vartype inputs: dict[str, ~flow.models.JobInput]
:ivar outputs: This is a dictionary.
:vartype outputs: dict[str, ~flow.models.JobOutput]
:ivar overrides: Anything.
:vartype overrides: any
"""
_attribute_map = {
'compute_id': {'key': 'computeId', 'type': 'str'},
'component_id': {'key': 'componentId', 'type': 'str'},
'inputs': {'key': 'inputs', 'type': '{JobInput}'},
'outputs': {'key': 'outputs', 'type': '{JobOutput}'},
'overrides': {'key': 'overrides', 'type': 'object'},
}
def __init__(
self,
*,
compute_id: Optional[str] = None,
component_id: Optional[str] = None,
inputs: Optional[Dict[str, "JobInput"]] = None,
outputs: Optional[Dict[str, "JobOutput"]] = None,
overrides: Optional[Any] = None,
**kwargs
):
"""
:keyword compute_id:
:paramtype compute_id: str
:keyword component_id:
:paramtype component_id: str
:keyword inputs: This is a dictionary.
:paramtype inputs: dict[str, ~flow.models.JobInput]
:keyword outputs: This is a dictionary.
:paramtype outputs: dict[str, ~flow.models.JobOutput]
:keyword overrides: Anything.
:paramtype overrides: any
"""
super(MfeInternalV20211001ComponentJob, self).__init__(**kwargs)
self.compute_id = compute_id
self.component_id = component_id
self.inputs = inputs
self.outputs = outputs
self.overrides = overrides
class MinMaxParameterRule(msrest.serialization.Model):
"""MinMaxParameterRule.
:ivar min:
:vartype min: float
:ivar max:
:vartype max: float
"""
_attribute_map = {
'min': {'key': 'min', 'type': 'float'},
'max': {'key': 'max', 'type': 'float'},
}
def __init__(
self,
*,
min: Optional[float] = None,
max: Optional[float] = None,
**kwargs
):
"""
:keyword min:
:paramtype min: float
:keyword max:
:paramtype max: float
"""
super(MinMaxParameterRule, self).__init__(**kwargs)
self.min = min
self.max = max
class MlcComputeInfo(msrest.serialization.Model):
"""MlcComputeInfo.
:ivar mlc_compute_type:
:vartype mlc_compute_type: str
"""
_attribute_map = {
'mlc_compute_type': {'key': 'mlcComputeType', 'type': 'str'},
}
def __init__(
self,
*,
mlc_compute_type: Optional[str] = None,
**kwargs
):
"""
:keyword mlc_compute_type:
:paramtype mlc_compute_type: str
"""
super(MlcComputeInfo, self).__init__(**kwargs)
self.mlc_compute_type = mlc_compute_type
class ModelDto(msrest.serialization.Model):
"""ModelDto.
:ivar feed_name:
:vartype feed_name: str
:ivar name:
:vartype name: str
:ivar description:
:vartype description: str
:ivar aml_data_store_name:
:vartype aml_data_store_name: str
:ivar relative_path:
:vartype relative_path: str
:ivar id:
:vartype id: str
:ivar version:
:vartype version: str
:ivar system_data:
:vartype system_data: ~flow.models.SystemData
:ivar arm_id:
:vartype arm_id: str
:ivar online_endpoint_yaml_str:
:vartype online_endpoint_yaml_str: str
"""
_attribute_map = {
'feed_name': {'key': 'feedName', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'aml_data_store_name': {'key': 'amlDataStoreName', 'type': 'str'},
'relative_path': {'key': 'relativePath', 'type': 'str'},
'id': {'key': 'id', 'type': 'str'},
'version': {'key': 'version', 'type': 'str'},
'system_data': {'key': 'systemData', 'type': 'SystemData'},
'arm_id': {'key': 'armId', 'type': 'str'},
'online_endpoint_yaml_str': {'key': 'onlineEndpointYamlStr', 'type': 'str'},
}
def __init__(
self,
*,
feed_name: Optional[str] = None,
name: Optional[str] = None,
description: Optional[str] = None,
aml_data_store_name: Optional[str] = None,
relative_path: Optional[str] = None,
id: Optional[str] = None,
version: Optional[str] = None,
system_data: Optional["SystemData"] = None,
arm_id: Optional[str] = None,
online_endpoint_yaml_str: Optional[str] = None,
**kwargs
):
"""
:keyword feed_name:
:paramtype feed_name: str
:keyword name:
:paramtype name: str
:keyword description:
:paramtype description: str
:keyword aml_data_store_name:
:paramtype aml_data_store_name: str
:keyword relative_path:
:paramtype relative_path: str
:keyword id:
:paramtype id: str
:keyword version:
:paramtype version: str
:keyword system_data:
:paramtype system_data: ~flow.models.SystemData
:keyword arm_id:
:paramtype arm_id: str
:keyword online_endpoint_yaml_str:
:paramtype online_endpoint_yaml_str: str
"""
super(ModelDto, self).__init__(**kwargs)
self.feed_name = feed_name
self.name = name
self.description = description
self.aml_data_store_name = aml_data_store_name
self.relative_path = relative_path
self.id = id
self.version = version
self.system_data = system_data
self.arm_id = arm_id
self.online_endpoint_yaml_str = online_endpoint_yaml_str
class ModelManagementErrorResponse(msrest.serialization.Model):
"""ModelManagementErrorResponse.
:ivar code:
:vartype code: str
:ivar status_code:
:vartype status_code: int
:ivar message:
:vartype message: str
:ivar target:
:vartype target: str
:ivar details:
:vartype details: list[~flow.models.InnerErrorDetails]
:ivar correlation: Dictionary of :code:`<string>`.
:vartype correlation: dict[str, str]
"""
_attribute_map = {
'code': {'key': 'code', 'type': 'str'},
'status_code': {'key': 'statusCode', 'type': 'int'},
'message': {'key': 'message', 'type': 'str'},
'target': {'key': 'target', 'type': 'str'},
'details': {'key': 'details', 'type': '[InnerErrorDetails]'},
'correlation': {'key': 'correlation', 'type': '{str}'},
}
def __init__(
self,
*,
code: Optional[str] = None,
status_code: Optional[int] = None,
message: Optional[str] = None,
target: Optional[str] = None,
details: Optional[List["InnerErrorDetails"]] = None,
correlation: Optional[Dict[str, str]] = None,
**kwargs
):
"""
:keyword code:
:paramtype code: str
:keyword status_code:
:paramtype status_code: int
:keyword message:
:paramtype message: str
:keyword target:
:paramtype target: str
:keyword details:
:paramtype details: list[~flow.models.InnerErrorDetails]
:keyword correlation: Dictionary of :code:`<string>`.
:paramtype correlation: dict[str, str]
"""
super(ModelManagementErrorResponse, self).__init__(**kwargs)
self.code = code
self.status_code = status_code
self.message = message
self.target = target
self.details = details
self.correlation = correlation
class ModifyPipelineJobScheduleDto(msrest.serialization.Model):
"""ModifyPipelineJobScheduleDto.
:ivar pipeline_job_name:
:vartype pipeline_job_name: str
:ivar pipeline_job_runtime_settings:
:vartype pipeline_job_runtime_settings: ~flow.models.PipelineJobRuntimeBasicSettings
:ivar display_name:
:vartype display_name: str
:ivar trigger_type: Possible values include: "Recurrence", "Cron".
:vartype trigger_type: str or ~flow.models.TriggerType
:ivar recurrence:
:vartype recurrence: ~flow.models.Recurrence
:ivar cron:
:vartype cron: ~flow.models.Cron
:ivar status: Possible values include: "Enabled", "Disabled".
:vartype status: str or ~flow.models.ScheduleStatus
:ivar description:
:vartype description: str
:ivar tags: A set of tags. This is a dictionary.
:vartype tags: dict[str, str]
:ivar properties: This is a dictionary.
:vartype properties: dict[str, str]
"""
_attribute_map = {
'pipeline_job_name': {'key': 'pipelineJobName', 'type': 'str'},
'pipeline_job_runtime_settings': {'key': 'pipelineJobRuntimeSettings', 'type': 'PipelineJobRuntimeBasicSettings'},
'display_name': {'key': 'displayName', 'type': 'str'},
'trigger_type': {'key': 'triggerType', 'type': 'str'},
'recurrence': {'key': 'recurrence', 'type': 'Recurrence'},
'cron': {'key': 'cron', 'type': 'Cron'},
'status': {'key': 'status', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'properties': {'key': 'properties', 'type': '{str}'},
}
def __init__(
self,
*,
pipeline_job_name: Optional[str] = None,
pipeline_job_runtime_settings: Optional["PipelineJobRuntimeBasicSettings"] = None,
display_name: Optional[str] = None,
trigger_type: Optional[Union[str, "TriggerType"]] = None,
recurrence: Optional["Recurrence"] = None,
cron: Optional["Cron"] = None,
status: Optional[Union[str, "ScheduleStatus"]] = None,
description: Optional[str] = None,
tags: Optional[Dict[str, str]] = None,
properties: Optional[Dict[str, str]] = None,
**kwargs
):
"""
:keyword pipeline_job_name:
:paramtype pipeline_job_name: str
:keyword pipeline_job_runtime_settings:
:paramtype pipeline_job_runtime_settings: ~flow.models.PipelineJobRuntimeBasicSettings
:keyword display_name:
:paramtype display_name: str
:keyword trigger_type: Possible values include: "Recurrence", "Cron".
:paramtype trigger_type: str or ~flow.models.TriggerType
:keyword recurrence:
:paramtype recurrence: ~flow.models.Recurrence
:keyword cron:
:paramtype cron: ~flow.models.Cron
:keyword status: Possible values include: "Enabled", "Disabled".
:paramtype status: str or ~flow.models.ScheduleStatus
:keyword description:
:paramtype description: str
:keyword tags: A set of tags. This is a dictionary.
:paramtype tags: dict[str, str]
:keyword properties: This is a dictionary.
:paramtype properties: dict[str, str]
"""
super(ModifyPipelineJobScheduleDto, self).__init__(**kwargs)
self.pipeline_job_name = pipeline_job_name
self.pipeline_job_runtime_settings = pipeline_job_runtime_settings
self.display_name = display_name
self.trigger_type = trigger_type
self.recurrence = recurrence
self.cron = cron
self.status = status
self.description = description
self.tags = tags
self.properties = properties
class ModuleDto(msrest.serialization.Model):
"""ModuleDto.
:ivar namespace:
:vartype namespace: str
:ivar tags: A set of tags.
:vartype tags: list[str]
:ivar display_name:
:vartype display_name: str
:ivar dict_tags: Dictionary of :code:`<string>`.
:vartype dict_tags: dict[str, str]
:ivar module_version_id:
:vartype module_version_id: str
:ivar feed_name:
:vartype feed_name: str
:ivar registry_name:
:vartype registry_name: str
:ivar module_name:
:vartype module_name: str
:ivar module_version:
:vartype module_version: str
:ivar description:
:vartype description: str
:ivar owner:
:vartype owner: str
:ivar job_type:
:vartype job_type: str
:ivar default_version:
:vartype default_version: str
:ivar family_id:
:vartype family_id: str
:ivar help_document:
:vartype help_document: str
:ivar codegen_by:
:vartype codegen_by: str
:ivar arm_id:
:vartype arm_id: str
:ivar module_scope: Possible values include: "All", "Global", "Workspace", "Anonymous", "Step",
"Draft", "Feed", "Registry", "SystemAutoCreated".
:vartype module_scope: str or ~flow.models.ModuleScope
:ivar module_entity:
:vartype module_entity: ~flow.models.ModuleEntity
:ivar input_types:
:vartype input_types: list[str]
:ivar output_types:
:vartype output_types: list[str]
:ivar entity_status: Possible values include: "Active", "Deprecated", "Disabled".
:vartype entity_status: str or ~flow.models.EntityStatus
:ivar created_date:
:vartype created_date: ~datetime.datetime
:ivar last_modified_date:
:vartype last_modified_date: ~datetime.datetime
:ivar yaml_link:
:vartype yaml_link: str
:ivar yaml_link_with_commit_sha:
:vartype yaml_link_with_commit_sha: str
:ivar module_source_type: Possible values include: "Unknown", "Local", "GithubFile",
"GithubFolder", "DevopsArtifactsZip", "SerializedModuleInfo".
:vartype module_source_type: str or ~flow.models.ModuleSourceType
:ivar registered_by:
:vartype registered_by: str
:ivar versions:
:vartype versions: list[~flow.models.AzureMLModuleVersionDescriptor]
:ivar is_default_module_version:
:vartype is_default_module_version: bool
:ivar system_data:
:vartype system_data: ~flow.models.SystemData
:ivar system_meta:
:vartype system_meta: ~flow.models.SystemMeta
:ivar snapshot_id:
:vartype snapshot_id: str
:ivar entry:
:vartype entry: str
:ivar os_type:
:vartype os_type: str
:ivar require_gpu:
:vartype require_gpu: bool
:ivar module_python_interface:
:vartype module_python_interface: ~flow.models.ModulePythonInterface
:ivar environment_asset_id:
:vartype environment_asset_id: str
:ivar run_setting_parameters:
:vartype run_setting_parameters: list[~flow.models.RunSettingParameter]
:ivar supported_ui_input_data_delivery_modes: Dictionary of
<components·9qwi7e·schemas·moduledto·properties·supporteduiinputdatadeliverymodes·additionalproperties>.
:vartype supported_ui_input_data_delivery_modes: dict[str, list[str or
~flow.models.UIInputDataDeliveryMode]]
:ivar output_setting_specs: Dictionary of :code:`<OutputSettingSpec>`.
:vartype output_setting_specs: dict[str, ~flow.models.OutputSettingSpec]
:ivar yaml_str:
:vartype yaml_str: str
"""
_attribute_map = {
'namespace': {'key': 'namespace', 'type': 'str'},
'tags': {'key': 'tags', 'type': '[str]'},
'display_name': {'key': 'displayName', 'type': 'str'},
'dict_tags': {'key': 'dictTags', 'type': '{str}'},
'module_version_id': {'key': 'moduleVersionId', 'type': 'str'},
'feed_name': {'key': 'feedName', 'type': 'str'},
'registry_name': {'key': 'registryName', 'type': 'str'},
'module_name': {'key': 'moduleName', 'type': 'str'},
'module_version': {'key': 'moduleVersion', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'owner': {'key': 'owner', 'type': 'str'},
'job_type': {'key': 'jobType', 'type': 'str'},
'default_version': {'key': 'defaultVersion', 'type': 'str'},
'family_id': {'key': 'familyId', 'type': 'str'},
'help_document': {'key': 'helpDocument', 'type': 'str'},
'codegen_by': {'key': 'codegenBy', 'type': 'str'},
'arm_id': {'key': 'armId', 'type': 'str'},
'module_scope': {'key': 'moduleScope', 'type': 'str'},
'module_entity': {'key': 'moduleEntity', 'type': 'ModuleEntity'},
'input_types': {'key': 'inputTypes', 'type': '[str]'},
'output_types': {'key': 'outputTypes', 'type': '[str]'},
'entity_status': {'key': 'entityStatus', 'type': 'str'},
'created_date': {'key': 'createdDate', 'type': 'iso-8601'},
'last_modified_date': {'key': 'lastModifiedDate', 'type': 'iso-8601'},
'yaml_link': {'key': 'yamlLink', 'type': 'str'},
'yaml_link_with_commit_sha': {'key': 'yamlLinkWithCommitSha', 'type': 'str'},
'module_source_type': {'key': 'moduleSourceType', 'type': 'str'},
'registered_by': {'key': 'registeredBy', 'type': 'str'},
'versions': {'key': 'versions', 'type': '[AzureMLModuleVersionDescriptor]'},
'is_default_module_version': {'key': 'isDefaultModuleVersion', 'type': 'bool'},
'system_data': {'key': 'systemData', 'type': 'SystemData'},
'system_meta': {'key': 'systemMeta', 'type': 'SystemMeta'},
'snapshot_id': {'key': 'snapshotId', 'type': 'str'},
'entry': {'key': 'entry', 'type': 'str'},
'os_type': {'key': 'osType', 'type': 'str'},
'require_gpu': {'key': 'requireGpu', 'type': 'bool'},
'module_python_interface': {'key': 'modulePythonInterface', 'type': 'ModulePythonInterface'},
'environment_asset_id': {'key': 'environmentAssetId', 'type': 'str'},
'run_setting_parameters': {'key': 'runSettingParameters', 'type': '[RunSettingParameter]'},
'supported_ui_input_data_delivery_modes': {'key': 'supportedUIInputDataDeliveryModes', 'type': '{[str]}'},
'output_setting_specs': {'key': 'outputSettingSpecs', 'type': '{OutputSettingSpec}'},
'yaml_str': {'key': 'yamlStr', 'type': 'str'},
}
def __init__(
self,
*,
namespace: Optional[str] = None,
tags: Optional[List[str]] = None,
display_name: Optional[str] = None,
dict_tags: Optional[Dict[str, str]] = None,
module_version_id: Optional[str] = None,
feed_name: Optional[str] = None,
registry_name: Optional[str] = None,
module_name: Optional[str] = None,
module_version: Optional[str] = None,
description: Optional[str] = None,
owner: Optional[str] = None,
job_type: Optional[str] = None,
default_version: Optional[str] = None,
family_id: Optional[str] = None,
help_document: Optional[str] = None,
codegen_by: Optional[str] = None,
arm_id: Optional[str] = None,
module_scope: Optional[Union[str, "ModuleScope"]] = None,
module_entity: Optional["ModuleEntity"] = None,
input_types: Optional[List[str]] = None,
output_types: Optional[List[str]] = None,
entity_status: Optional[Union[str, "EntityStatus"]] = None,
created_date: Optional[datetime.datetime] = None,
last_modified_date: Optional[datetime.datetime] = None,
yaml_link: Optional[str] = None,
yaml_link_with_commit_sha: Optional[str] = None,
module_source_type: Optional[Union[str, "ModuleSourceType"]] = None,
registered_by: Optional[str] = None,
versions: Optional[List["AzureMLModuleVersionDescriptor"]] = None,
is_default_module_version: Optional[bool] = None,
system_data: Optional["SystemData"] = None,
system_meta: Optional["SystemMeta"] = None,
snapshot_id: Optional[str] = None,
entry: Optional[str] = None,
os_type: Optional[str] = None,
require_gpu: Optional[bool] = None,
module_python_interface: Optional["ModulePythonInterface"] = None,
environment_asset_id: Optional[str] = None,
run_setting_parameters: Optional[List["RunSettingParameter"]] = None,
supported_ui_input_data_delivery_modes: Optional[Dict[str, List[Union[str, "UIInputDataDeliveryMode"]]]] = None,
output_setting_specs: Optional[Dict[str, "OutputSettingSpec"]] = None,
yaml_str: Optional[str] = None,
**kwargs
):
"""
:keyword namespace:
:paramtype namespace: str
:keyword tags: A set of tags.
:paramtype tags: list[str]
:keyword display_name:
:paramtype display_name: str
:keyword dict_tags: Dictionary of :code:`<string>`.
:paramtype dict_tags: dict[str, str]
:keyword module_version_id:
:paramtype module_version_id: str
:keyword feed_name:
:paramtype feed_name: str
:keyword registry_name:
:paramtype registry_name: str
:keyword module_name:
:paramtype module_name: str
:keyword module_version:
:paramtype module_version: str
:keyword description:
:paramtype description: str
:keyword owner:
:paramtype owner: str
:keyword job_type:
:paramtype job_type: str
:keyword default_version:
:paramtype default_version: str
:keyword family_id:
:paramtype family_id: str
:keyword help_document:
:paramtype help_document: str
:keyword codegen_by:
:paramtype codegen_by: str
:keyword arm_id:
:paramtype arm_id: str
:keyword module_scope: Possible values include: "All", "Global", "Workspace", "Anonymous",
"Step", "Draft", "Feed", "Registry", "SystemAutoCreated".
:paramtype module_scope: str or ~flow.models.ModuleScope
:keyword module_entity:
:paramtype module_entity: ~flow.models.ModuleEntity
:keyword input_types:
:paramtype input_types: list[str]
:keyword output_types:
:paramtype output_types: list[str]
:keyword entity_status: Possible values include: "Active", "Deprecated", "Disabled".
:paramtype entity_status: str or ~flow.models.EntityStatus
:keyword created_date:
:paramtype created_date: ~datetime.datetime
:keyword last_modified_date:
:paramtype last_modified_date: ~datetime.datetime
:keyword yaml_link:
:paramtype yaml_link: str
:keyword yaml_link_with_commit_sha:
:paramtype yaml_link_with_commit_sha: str
:keyword module_source_type: Possible values include: "Unknown", "Local", "GithubFile",
"GithubFolder", "DevopsArtifactsZip", "SerializedModuleInfo".
:paramtype module_source_type: str or ~flow.models.ModuleSourceType
:keyword registered_by:
:paramtype registered_by: str
:keyword versions:
:paramtype versions: list[~flow.models.AzureMLModuleVersionDescriptor]
:keyword is_default_module_version:
:paramtype is_default_module_version: bool
:keyword system_data:
:paramtype system_data: ~flow.models.SystemData
:keyword system_meta:
:paramtype system_meta: ~flow.models.SystemMeta
:keyword snapshot_id:
:paramtype snapshot_id: str
:keyword entry:
:paramtype entry: str
:keyword os_type:
:paramtype os_type: str
:keyword require_gpu:
:paramtype require_gpu: bool
:keyword module_python_interface:
:paramtype module_python_interface: ~flow.models.ModulePythonInterface
:keyword environment_asset_id:
:paramtype environment_asset_id: str
:keyword run_setting_parameters:
:paramtype run_setting_parameters: list[~flow.models.RunSettingParameter]
:keyword supported_ui_input_data_delivery_modes: Dictionary of
<components·9qwi7e·schemas·moduledto·properties·supporteduiinputdatadeliverymodes·additionalproperties>.
:paramtype supported_ui_input_data_delivery_modes: dict[str, list[str or
~flow.models.UIInputDataDeliveryMode]]
:keyword output_setting_specs: Dictionary of :code:`<OutputSettingSpec>`.
:paramtype output_setting_specs: dict[str, ~flow.models.OutputSettingSpec]
:keyword yaml_str:
:paramtype yaml_str: str
"""
super(ModuleDto, self).__init__(**kwargs)
self.namespace = namespace
self.tags = tags
self.display_name = display_name
self.dict_tags = dict_tags
self.module_version_id = module_version_id
self.feed_name = feed_name
self.registry_name = registry_name
self.module_name = module_name
self.module_version = module_version
self.description = description
self.owner = owner
self.job_type = job_type
self.default_version = default_version
self.family_id = family_id
self.help_document = help_document
self.codegen_by = codegen_by
self.arm_id = arm_id
self.module_scope = module_scope
self.module_entity = module_entity
self.input_types = input_types
self.output_types = output_types
self.entity_status = entity_status
self.created_date = created_date
self.last_modified_date = last_modified_date
self.yaml_link = yaml_link
self.yaml_link_with_commit_sha = yaml_link_with_commit_sha
self.module_source_type = module_source_type
self.registered_by = registered_by
self.versions = versions
self.is_default_module_version = is_default_module_version
self.system_data = system_data
self.system_meta = system_meta
self.snapshot_id = snapshot_id
self.entry = entry
self.os_type = os_type
self.require_gpu = require_gpu
self.module_python_interface = module_python_interface
self.environment_asset_id = environment_asset_id
self.run_setting_parameters = run_setting_parameters
self.supported_ui_input_data_delivery_modes = supported_ui_input_data_delivery_modes
self.output_setting_specs = output_setting_specs
self.yaml_str = yaml_str
class ModuleDtoWithErrors(msrest.serialization.Model):
"""ModuleDtoWithErrors.
:ivar version_id_to_module_dto: This is a dictionary.
:vartype version_id_to_module_dto: dict[str, ~flow.models.ModuleDto]
:ivar name_and_version_to_module_dto:
:vartype name_and_version_to_module_dto:
list[~flow.models.KeyValuePairComponentNameMetaInfoModuleDto]
:ivar version_id_to_error: This is a dictionary.
:vartype version_id_to_error: dict[str, ~flow.models.ErrorResponse]
:ivar name_and_version_to_error:
:vartype name_and_version_to_error:
list[~flow.models.KeyValuePairComponentNameMetaInfoErrorResponse]
"""
_attribute_map = {
'version_id_to_module_dto': {'key': 'versionIdToModuleDto', 'type': '{ModuleDto}'},
'name_and_version_to_module_dto': {'key': 'nameAndVersionToModuleDto', 'type': '[KeyValuePairComponentNameMetaInfoModuleDto]'},
'version_id_to_error': {'key': 'versionIdToError', 'type': '{ErrorResponse}'},
'name_and_version_to_error': {'key': 'nameAndVersionToError', 'type': '[KeyValuePairComponentNameMetaInfoErrorResponse]'},
}
def __init__(
self,
*,
version_id_to_module_dto: Optional[Dict[str, "ModuleDto"]] = None,
name_and_version_to_module_dto: Optional[List["KeyValuePairComponentNameMetaInfoModuleDto"]] = None,
version_id_to_error: Optional[Dict[str, "ErrorResponse"]] = None,
name_and_version_to_error: Optional[List["KeyValuePairComponentNameMetaInfoErrorResponse"]] = None,
**kwargs
):
"""
:keyword version_id_to_module_dto: This is a dictionary.
:paramtype version_id_to_module_dto: dict[str, ~flow.models.ModuleDto]
:keyword name_and_version_to_module_dto:
:paramtype name_and_version_to_module_dto:
list[~flow.models.KeyValuePairComponentNameMetaInfoModuleDto]
:keyword version_id_to_error: This is a dictionary.
:paramtype version_id_to_error: dict[str, ~flow.models.ErrorResponse]
:keyword name_and_version_to_error:
:paramtype name_and_version_to_error:
list[~flow.models.KeyValuePairComponentNameMetaInfoErrorResponse]
"""
super(ModuleDtoWithErrors, self).__init__(**kwargs)
self.version_id_to_module_dto = version_id_to_module_dto
self.name_and_version_to_module_dto = name_and_version_to_module_dto
self.version_id_to_error = version_id_to_error
self.name_and_version_to_error = name_and_version_to_error
class ModuleDtoWithValidateStatus(msrest.serialization.Model):
"""ModuleDtoWithValidateStatus.
:ivar existing_module_entity:
:vartype existing_module_entity: ~flow.models.ModuleEntity
:ivar status: Possible values include: "NewModule", "NewVersion", "Conflict", "ParseError",
"ProcessRequestError".
:vartype status: str or ~flow.models.ModuleInfoFromYamlStatusEnum
:ivar status_details:
:vartype status_details: str
:ivar error_details:
:vartype error_details: list[str]
:ivar serialized_module_info:
:vartype serialized_module_info: str
:ivar namespace:
:vartype namespace: str
:ivar tags: A set of tags.
:vartype tags: list[str]
:ivar display_name:
:vartype display_name: str
:ivar dict_tags: Dictionary of :code:`<string>`.
:vartype dict_tags: dict[str, str]
:ivar module_version_id:
:vartype module_version_id: str
:ivar feed_name:
:vartype feed_name: str
:ivar registry_name:
:vartype registry_name: str
:ivar module_name:
:vartype module_name: str
:ivar module_version:
:vartype module_version: str
:ivar description:
:vartype description: str
:ivar owner:
:vartype owner: str
:ivar job_type:
:vartype job_type: str
:ivar default_version:
:vartype default_version: str
:ivar family_id:
:vartype family_id: str
:ivar help_document:
:vartype help_document: str
:ivar codegen_by:
:vartype codegen_by: str
:ivar arm_id:
:vartype arm_id: str
:ivar module_scope: Possible values include: "All", "Global", "Workspace", "Anonymous", "Step",
"Draft", "Feed", "Registry", "SystemAutoCreated".
:vartype module_scope: str or ~flow.models.ModuleScope
:ivar module_entity:
:vartype module_entity: ~flow.models.ModuleEntity
:ivar input_types:
:vartype input_types: list[str]
:ivar output_types:
:vartype output_types: list[str]
:ivar entity_status: Possible values include: "Active", "Deprecated", "Disabled".
:vartype entity_status: str or ~flow.models.EntityStatus
:ivar created_date:
:vartype created_date: ~datetime.datetime
:ivar last_modified_date:
:vartype last_modified_date: ~datetime.datetime
:ivar yaml_link:
:vartype yaml_link: str
:ivar yaml_link_with_commit_sha:
:vartype yaml_link_with_commit_sha: str
:ivar module_source_type: Possible values include: "Unknown", "Local", "GithubFile",
"GithubFolder", "DevopsArtifactsZip", "SerializedModuleInfo".
:vartype module_source_type: str or ~flow.models.ModuleSourceType
:ivar registered_by:
:vartype registered_by: str
:ivar versions:
:vartype versions: list[~flow.models.AzureMLModuleVersionDescriptor]
:ivar is_default_module_version:
:vartype is_default_module_version: bool
:ivar system_data:
:vartype system_data: ~flow.models.SystemData
:ivar system_meta:
:vartype system_meta: ~flow.models.SystemMeta
:ivar snapshot_id:
:vartype snapshot_id: str
:ivar entry:
:vartype entry: str
:ivar os_type:
:vartype os_type: str
:ivar require_gpu:
:vartype require_gpu: bool
:ivar module_python_interface:
:vartype module_python_interface: ~flow.models.ModulePythonInterface
:ivar environment_asset_id:
:vartype environment_asset_id: str
:ivar run_setting_parameters:
:vartype run_setting_parameters: list[~flow.models.RunSettingParameter]
:ivar supported_ui_input_data_delivery_modes: Dictionary of
<components·8o5zaj·schemas·moduledtowithvalidatestatus·properties·supporteduiinputdatadeliverymodes·additionalproperties>.
:vartype supported_ui_input_data_delivery_modes: dict[str, list[str or
~flow.models.UIInputDataDeliveryMode]]
:ivar output_setting_specs: Dictionary of :code:`<OutputSettingSpec>`.
:vartype output_setting_specs: dict[str, ~flow.models.OutputSettingSpec]
:ivar yaml_str:
:vartype yaml_str: str
"""
_attribute_map = {
'existing_module_entity': {'key': 'existingModuleEntity', 'type': 'ModuleEntity'},
'status': {'key': 'status', 'type': 'str'},
'status_details': {'key': 'statusDetails', 'type': 'str'},
'error_details': {'key': 'errorDetails', 'type': '[str]'},
'serialized_module_info': {'key': 'serializedModuleInfo', 'type': 'str'},
'namespace': {'key': 'namespace', 'type': 'str'},
'tags': {'key': 'tags', 'type': '[str]'},
'display_name': {'key': 'displayName', 'type': 'str'},
'dict_tags': {'key': 'dictTags', 'type': '{str}'},
'module_version_id': {'key': 'moduleVersionId', 'type': 'str'},
'feed_name': {'key': 'feedName', 'type': 'str'},
'registry_name': {'key': 'registryName', 'type': 'str'},
'module_name': {'key': 'moduleName', 'type': 'str'},
'module_version': {'key': 'moduleVersion', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'owner': {'key': 'owner', 'type': 'str'},
'job_type': {'key': 'jobType', 'type': 'str'},
'default_version': {'key': 'defaultVersion', 'type': 'str'},
'family_id': {'key': 'familyId', 'type': 'str'},
'help_document': {'key': 'helpDocument', 'type': 'str'},
'codegen_by': {'key': 'codegenBy', 'type': 'str'},
'arm_id': {'key': 'armId', 'type': 'str'},
'module_scope': {'key': 'moduleScope', 'type': 'str'},
'module_entity': {'key': 'moduleEntity', 'type': 'ModuleEntity'},
'input_types': {'key': 'inputTypes', 'type': '[str]'},
'output_types': {'key': 'outputTypes', 'type': '[str]'},
'entity_status': {'key': 'entityStatus', 'type': 'str'},
'created_date': {'key': 'createdDate', 'type': 'iso-8601'},
'last_modified_date': {'key': 'lastModifiedDate', 'type': 'iso-8601'},
'yaml_link': {'key': 'yamlLink', 'type': 'str'},
'yaml_link_with_commit_sha': {'key': 'yamlLinkWithCommitSha', 'type': 'str'},
'module_source_type': {'key': 'moduleSourceType', 'type': 'str'},
'registered_by': {'key': 'registeredBy', 'type': 'str'},
'versions': {'key': 'versions', 'type': '[AzureMLModuleVersionDescriptor]'},
'is_default_module_version': {'key': 'isDefaultModuleVersion', 'type': 'bool'},
'system_data': {'key': 'systemData', 'type': 'SystemData'},
'system_meta': {'key': 'systemMeta', 'type': 'SystemMeta'},
'snapshot_id': {'key': 'snapshotId', 'type': 'str'},
'entry': {'key': 'entry', 'type': 'str'},
'os_type': {'key': 'osType', 'type': 'str'},
'require_gpu': {'key': 'requireGpu', 'type': 'bool'},
'module_python_interface': {'key': 'modulePythonInterface', 'type': 'ModulePythonInterface'},
'environment_asset_id': {'key': 'environmentAssetId', 'type': 'str'},
'run_setting_parameters': {'key': 'runSettingParameters', 'type': '[RunSettingParameter]'},
'supported_ui_input_data_delivery_modes': {'key': 'supportedUIInputDataDeliveryModes', 'type': '{[str]}'},
'output_setting_specs': {'key': 'outputSettingSpecs', 'type': '{OutputSettingSpec}'},
'yaml_str': {'key': 'yamlStr', 'type': 'str'},
}
def __init__(
self,
*,
existing_module_entity: Optional["ModuleEntity"] = None,
status: Optional[Union[str, "ModuleInfoFromYamlStatusEnum"]] = None,
status_details: Optional[str] = None,
error_details: Optional[List[str]] = None,
serialized_module_info: Optional[str] = None,
namespace: Optional[str] = None,
tags: Optional[List[str]] = None,
display_name: Optional[str] = None,
dict_tags: Optional[Dict[str, str]] = None,
module_version_id: Optional[str] = None,
feed_name: Optional[str] = None,
registry_name: Optional[str] = None,
module_name: Optional[str] = None,
module_version: Optional[str] = None,
description: Optional[str] = None,
owner: Optional[str] = None,
job_type: Optional[str] = None,
default_version: Optional[str] = None,
family_id: Optional[str] = None,
help_document: Optional[str] = None,
codegen_by: Optional[str] = None,
arm_id: Optional[str] = None,
module_scope: Optional[Union[str, "ModuleScope"]] = None,
module_entity: Optional["ModuleEntity"] = None,
input_types: Optional[List[str]] = None,
output_types: Optional[List[str]] = None,
entity_status: Optional[Union[str, "EntityStatus"]] = None,
created_date: Optional[datetime.datetime] = None,
last_modified_date: Optional[datetime.datetime] = None,
yaml_link: Optional[str] = None,
yaml_link_with_commit_sha: Optional[str] = None,
module_source_type: Optional[Union[str, "ModuleSourceType"]] = None,
registered_by: Optional[str] = None,
versions: Optional[List["AzureMLModuleVersionDescriptor"]] = None,
is_default_module_version: Optional[bool] = None,
system_data: Optional["SystemData"] = None,
system_meta: Optional["SystemMeta"] = None,
snapshot_id: Optional[str] = None,
entry: Optional[str] = None,
os_type: Optional[str] = None,
require_gpu: Optional[bool] = None,
module_python_interface: Optional["ModulePythonInterface"] = None,
environment_asset_id: Optional[str] = None,
run_setting_parameters: Optional[List["RunSettingParameter"]] = None,
supported_ui_input_data_delivery_modes: Optional[Dict[str, List[Union[str, "UIInputDataDeliveryMode"]]]] = None,
output_setting_specs: Optional[Dict[str, "OutputSettingSpec"]] = None,
yaml_str: Optional[str] = None,
**kwargs
):
"""
:keyword existing_module_entity:
:paramtype existing_module_entity: ~flow.models.ModuleEntity
:keyword status: Possible values include: "NewModule", "NewVersion", "Conflict", "ParseError",
"ProcessRequestError".
:paramtype status: str or ~flow.models.ModuleInfoFromYamlStatusEnum
:keyword status_details:
:paramtype status_details: str
:keyword error_details:
:paramtype error_details: list[str]
:keyword serialized_module_info:
:paramtype serialized_module_info: str
:keyword namespace:
:paramtype namespace: str
:keyword tags: A set of tags.
:paramtype tags: list[str]
:keyword display_name:
:paramtype display_name: str
:keyword dict_tags: Dictionary of :code:`<string>`.
:paramtype dict_tags: dict[str, str]
:keyword module_version_id:
:paramtype module_version_id: str
:keyword feed_name:
:paramtype feed_name: str
:keyword registry_name:
:paramtype registry_name: str
:keyword module_name:
:paramtype module_name: str
:keyword module_version:
:paramtype module_version: str
:keyword description:
:paramtype description: str
:keyword owner:
:paramtype owner: str
:keyword job_type:
:paramtype job_type: str
:keyword default_version:
:paramtype default_version: str
:keyword family_id:
:paramtype family_id: str
:keyword help_document:
:paramtype help_document: str
:keyword codegen_by:
:paramtype codegen_by: str
:keyword arm_id:
:paramtype arm_id: str
:keyword module_scope: Possible values include: "All", "Global", "Workspace", "Anonymous",
"Step", "Draft", "Feed", "Registry", "SystemAutoCreated".
:paramtype module_scope: str or ~flow.models.ModuleScope
:keyword module_entity:
:paramtype module_entity: ~flow.models.ModuleEntity
:keyword input_types:
:paramtype input_types: list[str]
:keyword output_types:
:paramtype output_types: list[str]
:keyword entity_status: Possible values include: "Active", "Deprecated", "Disabled".
:paramtype entity_status: str or ~flow.models.EntityStatus
:keyword created_date:
:paramtype created_date: ~datetime.datetime
:keyword last_modified_date:
:paramtype last_modified_date: ~datetime.datetime
:keyword yaml_link:
:paramtype yaml_link: str
:keyword yaml_link_with_commit_sha:
:paramtype yaml_link_with_commit_sha: str
:keyword module_source_type: Possible values include: "Unknown", "Local", "GithubFile",
"GithubFolder", "DevopsArtifactsZip", "SerializedModuleInfo".
:paramtype module_source_type: str or ~flow.models.ModuleSourceType
:keyword registered_by:
:paramtype registered_by: str
:keyword versions:
:paramtype versions: list[~flow.models.AzureMLModuleVersionDescriptor]
:keyword is_default_module_version:
:paramtype is_default_module_version: bool
:keyword system_data:
:paramtype system_data: ~flow.models.SystemData
:keyword system_meta:
:paramtype system_meta: ~flow.models.SystemMeta
:keyword snapshot_id:
:paramtype snapshot_id: str
:keyword entry:
:paramtype entry: str
:keyword os_type:
:paramtype os_type: str
:keyword require_gpu:
:paramtype require_gpu: bool
:keyword module_python_interface:
:paramtype module_python_interface: ~flow.models.ModulePythonInterface
:keyword environment_asset_id:
:paramtype environment_asset_id: str
:keyword run_setting_parameters:
:paramtype run_setting_parameters: list[~flow.models.RunSettingParameter]
:keyword supported_ui_input_data_delivery_modes: Dictionary of
<components·8o5zaj·schemas·moduledtowithvalidatestatus·properties·supporteduiinputdatadeliverymodes·additionalproperties>.
:paramtype supported_ui_input_data_delivery_modes: dict[str, list[str or
~flow.models.UIInputDataDeliveryMode]]
:keyword output_setting_specs: Dictionary of :code:`<OutputSettingSpec>`.
:paramtype output_setting_specs: dict[str, ~flow.models.OutputSettingSpec]
:keyword yaml_str:
:paramtype yaml_str: str
"""
super(ModuleDtoWithValidateStatus, self).__init__(**kwargs)
self.existing_module_entity = existing_module_entity
self.status = status
self.status_details = status_details
self.error_details = error_details
self.serialized_module_info = serialized_module_info
self.namespace = namespace
self.tags = tags
self.display_name = display_name
self.dict_tags = dict_tags
self.module_version_id = module_version_id
self.feed_name = feed_name
self.registry_name = registry_name
self.module_name = module_name
self.module_version = module_version
self.description = description
self.owner = owner
self.job_type = job_type
self.default_version = default_version
self.family_id = family_id
self.help_document = help_document
self.codegen_by = codegen_by
self.arm_id = arm_id
self.module_scope = module_scope
self.module_entity = module_entity
self.input_types = input_types
self.output_types = output_types
self.entity_status = entity_status
self.created_date = created_date
self.last_modified_date = last_modified_date
self.yaml_link = yaml_link
self.yaml_link_with_commit_sha = yaml_link_with_commit_sha
self.module_source_type = module_source_type
self.registered_by = registered_by
self.versions = versions
self.is_default_module_version = is_default_module_version
self.system_data = system_data
self.system_meta = system_meta
self.snapshot_id = snapshot_id
self.entry = entry
self.os_type = os_type
self.require_gpu = require_gpu
self.module_python_interface = module_python_interface
self.environment_asset_id = environment_asset_id
self.run_setting_parameters = run_setting_parameters
self.supported_ui_input_data_delivery_modes = supported_ui_input_data_delivery_modes
self.output_setting_specs = output_setting_specs
self.yaml_str = yaml_str
class ModuleEntity(msrest.serialization.Model):
"""ModuleEntity.
:ivar display_name:
:vartype display_name: str
:ivar module_execution_type:
:vartype module_execution_type: str
:ivar module_type: Possible values include: "None", "BatchInferencing".
:vartype module_type: str or ~flow.models.ModuleType
:ivar module_type_version:
:vartype module_type_version: str
:ivar upload_state: Possible values include: "Uploading", "Completed", "Canceled", "Failed".
:vartype upload_state: str or ~flow.models.UploadState
:ivar is_deterministic:
:vartype is_deterministic: bool
:ivar structured_interface:
:vartype structured_interface: ~flow.models.StructuredInterface
:ivar data_location:
:vartype data_location: ~flow.models.DataLocation
:ivar identifier_hash:
:vartype identifier_hash: str
:ivar identifier_hash_v2:
:vartype identifier_hash_v2: str
:ivar tags: A set of tags. This is a dictionary.
:vartype tags: dict[str, str]
:ivar properties: This is a dictionary.
:vartype properties: dict[str, str]
:ivar created_by:
:vartype created_by: ~flow.models.CreatedBy
:ivar last_updated_by:
:vartype last_updated_by: ~flow.models.CreatedBy
:ivar runconfig:
:vartype runconfig: str
:ivar cloud_settings:
:vartype cloud_settings: ~flow.models.CloudSettings
:ivar category:
:vartype category: str
:ivar step_type:
:vartype step_type: str
:ivar stage:
:vartype stage: str
:ivar name:
:vartype name: str
:ivar hash:
:vartype hash: str
:ivar description:
:vartype description: str
:ivar entity_status: Possible values include: "Active", "Deprecated", "Disabled".
:vartype entity_status: str or ~flow.models.EntityStatus
:ivar id:
:vartype id: str
:ivar etag:
:vartype etag: str
:ivar created_date:
:vartype created_date: ~datetime.datetime
:ivar last_modified_date:
:vartype last_modified_date: ~datetime.datetime
"""
_attribute_map = {
'display_name': {'key': 'displayName', 'type': 'str'},
'module_execution_type': {'key': 'moduleExecutionType', 'type': 'str'},
'module_type': {'key': 'moduleType', 'type': 'str'},
'module_type_version': {'key': 'moduleTypeVersion', 'type': 'str'},
'upload_state': {'key': 'uploadState', 'type': 'str'},
'is_deterministic': {'key': 'isDeterministic', 'type': 'bool'},
'structured_interface': {'key': 'structuredInterface', 'type': 'StructuredInterface'},
'data_location': {'key': 'dataLocation', 'type': 'DataLocation'},
'identifier_hash': {'key': 'identifierHash', 'type': 'str'},
'identifier_hash_v2': {'key': 'identifierHashV2', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'properties': {'key': 'properties', 'type': '{str}'},
'created_by': {'key': 'createdBy', 'type': 'CreatedBy'},
'last_updated_by': {'key': 'lastUpdatedBy', 'type': 'CreatedBy'},
'runconfig': {'key': 'runconfig', 'type': 'str'},
'cloud_settings': {'key': 'cloudSettings', 'type': 'CloudSettings'},
'category': {'key': 'category', 'type': 'str'},
'step_type': {'key': 'stepType', 'type': 'str'},
'stage': {'key': 'stage', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'hash': {'key': 'hash', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'entity_status': {'key': 'entityStatus', 'type': 'str'},
'id': {'key': 'id', 'type': 'str'},
'etag': {'key': 'etag', 'type': 'str'},
'created_date': {'key': 'createdDate', 'type': 'iso-8601'},
'last_modified_date': {'key': 'lastModifiedDate', 'type': 'iso-8601'},
}
def __init__(
self,
*,
display_name: Optional[str] = None,
module_execution_type: Optional[str] = None,
module_type: Optional[Union[str, "ModuleType"]] = None,
module_type_version: Optional[str] = None,
upload_state: Optional[Union[str, "UploadState"]] = None,
is_deterministic: Optional[bool] = None,
structured_interface: Optional["StructuredInterface"] = None,
data_location: Optional["DataLocation"] = None,
identifier_hash: Optional[str] = None,
identifier_hash_v2: Optional[str] = None,
tags: Optional[Dict[str, str]] = None,
properties: Optional[Dict[str, str]] = None,
created_by: Optional["CreatedBy"] = None,
last_updated_by: Optional["CreatedBy"] = None,
runconfig: Optional[str] = None,
cloud_settings: Optional["CloudSettings"] = None,
category: Optional[str] = None,
step_type: Optional[str] = None,
stage: Optional[str] = None,
name: Optional[str] = None,
hash: Optional[str] = None,
description: Optional[str] = None,
entity_status: Optional[Union[str, "EntityStatus"]] = None,
id: Optional[str] = None,
etag: Optional[str] = None,
created_date: Optional[datetime.datetime] = None,
last_modified_date: Optional[datetime.datetime] = None,
**kwargs
):
"""
:keyword display_name:
:paramtype display_name: str
:keyword module_execution_type:
:paramtype module_execution_type: str
:keyword module_type: Possible values include: "None", "BatchInferencing".
:paramtype module_type: str or ~flow.models.ModuleType
:keyword module_type_version:
:paramtype module_type_version: str
:keyword upload_state: Possible values include: "Uploading", "Completed", "Canceled", "Failed".
:paramtype upload_state: str or ~flow.models.UploadState
:keyword is_deterministic:
:paramtype is_deterministic: bool
:keyword structured_interface:
:paramtype structured_interface: ~flow.models.StructuredInterface
:keyword data_location:
:paramtype data_location: ~flow.models.DataLocation
:keyword identifier_hash:
:paramtype identifier_hash: str
:keyword identifier_hash_v2:
:paramtype identifier_hash_v2: str
:keyword tags: A set of tags. This is a dictionary.
:paramtype tags: dict[str, str]
:keyword properties: This is a dictionary.
:paramtype properties: dict[str, str]
:keyword created_by:
:paramtype created_by: ~flow.models.CreatedBy
:keyword last_updated_by:
:paramtype last_updated_by: ~flow.models.CreatedBy
:keyword runconfig:
:paramtype runconfig: str
:keyword cloud_settings:
:paramtype cloud_settings: ~flow.models.CloudSettings
:keyword category:
:paramtype category: str
:keyword step_type:
:paramtype step_type: str
:keyword stage:
:paramtype stage: str
:keyword name:
:paramtype name: str
:keyword hash:
:paramtype hash: str
:keyword description:
:paramtype description: str
:keyword entity_status: Possible values include: "Active", "Deprecated", "Disabled".
:paramtype entity_status: str or ~flow.models.EntityStatus
:keyword id:
:paramtype id: str
:keyword etag:
:paramtype etag: str
:keyword created_date:
:paramtype created_date: ~datetime.datetime
:keyword last_modified_date:
:paramtype last_modified_date: ~datetime.datetime
"""
super(ModuleEntity, self).__init__(**kwargs)
self.display_name = display_name
self.module_execution_type = module_execution_type
self.module_type = module_type
self.module_type_version = module_type_version
self.upload_state = upload_state
self.is_deterministic = is_deterministic
self.structured_interface = structured_interface
self.data_location = data_location
self.identifier_hash = identifier_hash
self.identifier_hash_v2 = identifier_hash_v2
self.tags = tags
self.properties = properties
self.created_by = created_by
self.last_updated_by = last_updated_by
self.runconfig = runconfig
self.cloud_settings = cloud_settings
self.category = category
self.step_type = step_type
self.stage = stage
self.name = name
self.hash = hash
self.description = description
self.entity_status = entity_status
self.id = id
self.etag = etag
self.created_date = created_date
self.last_modified_date = last_modified_date
class ModulePythonInterface(msrest.serialization.Model):
"""ModulePythonInterface.
:ivar inputs:
:vartype inputs: list[~flow.models.PythonInterfaceMapping]
:ivar outputs:
:vartype outputs: list[~flow.models.PythonInterfaceMapping]
:ivar parameters:
:vartype parameters: list[~flow.models.PythonInterfaceMapping]
"""
_attribute_map = {
'inputs': {'key': 'inputs', 'type': '[PythonInterfaceMapping]'},
'outputs': {'key': 'outputs', 'type': '[PythonInterfaceMapping]'},
'parameters': {'key': 'parameters', 'type': '[PythonInterfaceMapping]'},
}
def __init__(
self,
*,
inputs: Optional[List["PythonInterfaceMapping"]] = None,
outputs: Optional[List["PythonInterfaceMapping"]] = None,
parameters: Optional[List["PythonInterfaceMapping"]] = None,
**kwargs
):
"""
:keyword inputs:
:paramtype inputs: list[~flow.models.PythonInterfaceMapping]
:keyword outputs:
:paramtype outputs: list[~flow.models.PythonInterfaceMapping]
:keyword parameters:
:paramtype parameters: list[~flow.models.PythonInterfaceMapping]
"""
super(ModulePythonInterface, self).__init__(**kwargs)
self.inputs = inputs
self.outputs = outputs
self.parameters = parameters
class MpiConfiguration(msrest.serialization.Model):
"""MpiConfiguration.
:ivar process_count_per_node:
:vartype process_count_per_node: int
"""
_attribute_map = {
'process_count_per_node': {'key': 'processCountPerNode', 'type': 'int'},
}
def __init__(
self,
*,
process_count_per_node: Optional[int] = None,
**kwargs
):
"""
:keyword process_count_per_node:
:paramtype process_count_per_node: int
"""
super(MpiConfiguration, self).__init__(**kwargs)
self.process_count_per_node = process_count_per_node
class NCrossValidations(msrest.serialization.Model):
"""NCrossValidations.
:ivar mode: Possible values include: "Auto", "Custom".
:vartype mode: str or ~flow.models.NCrossValidationMode
:ivar value:
:vartype value: int
"""
_attribute_map = {
'mode': {'key': 'mode', 'type': 'str'},
'value': {'key': 'value', 'type': 'int'},
}
def __init__(
self,
*,
mode: Optional[Union[str, "NCrossValidationMode"]] = None,
value: Optional[int] = None,
**kwargs
):
"""
:keyword mode: Possible values include: "Auto", "Custom".
:paramtype mode: str or ~flow.models.NCrossValidationMode
:keyword value:
:paramtype value: int
"""
super(NCrossValidations, self).__init__(**kwargs)
self.mode = mode
self.value = value
class Node(msrest.serialization.Model):
"""Node.
:ivar name:
:vartype name: str
:ivar type: Possible values include: "llm", "python", "action", "prompt", "custom_llm",
"csharp".
:vartype type: str or ~flow.models.ToolType
:ivar source:
:vartype source: ~flow.models.NodeSource
:ivar inputs: Dictionary of :code:`<any>`.
:vartype inputs: dict[str, any]
:ivar tool:
:vartype tool: str
:ivar reduce:
:vartype reduce: bool
:ivar activate:
:vartype activate: ~flow.models.Activate
:ivar comment:
:vartype comment: str
:ivar api:
:vartype api: str
:ivar provider:
:vartype provider: str
:ivar connection:
:vartype connection: str
:ivar module:
:vartype module: str
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'source': {'key': 'source', 'type': 'NodeSource'},
'inputs': {'key': 'inputs', 'type': '{object}'},
'tool': {'key': 'tool', 'type': 'str'},
'reduce': {'key': 'reduce', 'type': 'bool'},
'activate': {'key': 'activate', 'type': 'Activate'},
'comment': {'key': 'comment', 'type': 'str'},
'api': {'key': 'api', 'type': 'str'},
'provider': {'key': 'provider', 'type': 'str'},
'connection': {'key': 'connection', 'type': 'str'},
'module': {'key': 'module', 'type': 'str'},
}
def __init__(
self,
*,
name: Optional[str] = None,
type: Optional[Union[str, "ToolType"]] = None,
source: Optional["NodeSource"] = None,
inputs: Optional[Dict[str, Any]] = None,
tool: Optional[str] = None,
reduce: Optional[bool] = None,
activate: Optional["Activate"] = None,
comment: Optional[str] = None,
api: Optional[str] = None,
provider: Optional[str] = None,
connection: Optional[str] = None,
module: Optional[str] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword type: Possible values include: "llm", "python", "action", "prompt", "custom_llm",
"csharp".
:paramtype type: str or ~flow.models.ToolType
:keyword source:
:paramtype source: ~flow.models.NodeSource
:keyword inputs: Dictionary of :code:`<any>`.
:paramtype inputs: dict[str, any]
:keyword tool:
:paramtype tool: str
:keyword reduce:
:paramtype reduce: bool
:keyword activate:
:paramtype activate: ~flow.models.Activate
:keyword comment:
:paramtype comment: str
:keyword api:
:paramtype api: str
:keyword provider:
:paramtype provider: str
:keyword connection:
:paramtype connection: str
:keyword module:
:paramtype module: str
"""
super(Node, self).__init__(**kwargs)
self.name = name
self.type = type
self.source = source
self.inputs = inputs
self.tool = tool
self.reduce = reduce
self.activate = activate
self.comment = comment
self.api = api
self.provider = provider
self.connection = connection
self.module = module
class NodeInputPort(msrest.serialization.Model):
"""NodeInputPort.
:ivar name:
:vartype name: str
:ivar documentation:
:vartype documentation: str
:ivar data_types_ids:
:vartype data_types_ids: list[str]
:ivar is_optional:
:vartype is_optional: bool
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'documentation': {'key': 'documentation', 'type': 'str'},
'data_types_ids': {'key': 'dataTypesIds', 'type': '[str]'},
'is_optional': {'key': 'isOptional', 'type': 'bool'},
}
def __init__(
self,
*,
name: Optional[str] = None,
documentation: Optional[str] = None,
data_types_ids: Optional[List[str]] = None,
is_optional: Optional[bool] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword documentation:
:paramtype documentation: str
:keyword data_types_ids:
:paramtype data_types_ids: list[str]
:keyword is_optional:
:paramtype is_optional: bool
"""
super(NodeInputPort, self).__init__(**kwargs)
self.name = name
self.documentation = documentation
self.data_types_ids = data_types_ids
self.is_optional = is_optional
class NodeLayout(msrest.serialization.Model):
"""NodeLayout.
:ivar x:
:vartype x: float
:ivar y:
:vartype y: float
:ivar width:
:vartype width: float
:ivar height:
:vartype height: float
:ivar extended_data:
:vartype extended_data: str
"""
_attribute_map = {
'x': {'key': 'x', 'type': 'float'},
'y': {'key': 'y', 'type': 'float'},
'width': {'key': 'width', 'type': 'float'},
'height': {'key': 'height', 'type': 'float'},
'extended_data': {'key': 'extendedData', 'type': 'str'},
}
def __init__(
self,
*,
x: Optional[float] = None,
y: Optional[float] = None,
width: Optional[float] = None,
height: Optional[float] = None,
extended_data: Optional[str] = None,
**kwargs
):
"""
:keyword x:
:paramtype x: float
:keyword y:
:paramtype y: float
:keyword width:
:paramtype width: float
:keyword height:
:paramtype height: float
:keyword extended_data:
:paramtype extended_data: str
"""
super(NodeLayout, self).__init__(**kwargs)
self.x = x
self.y = y
self.width = width
self.height = height
self.extended_data = extended_data
class NodeOutputPort(msrest.serialization.Model):
"""NodeOutputPort.
:ivar name:
:vartype name: str
:ivar documentation:
:vartype documentation: str
:ivar data_type_id:
:vartype data_type_id: str
:ivar pass_through_input_name:
:vartype pass_through_input_name: str
:ivar early_available:
:vartype early_available: bool
:ivar data_store_mode: Possible values include: "None", "Mount", "Download", "Upload",
"Direct", "Hdfs", "Link".
:vartype data_store_mode: str or ~flow.models.AEVADataStoreMode
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'documentation': {'key': 'documentation', 'type': 'str'},
'data_type_id': {'key': 'dataTypeId', 'type': 'str'},
'pass_through_input_name': {'key': 'passThroughInputName', 'type': 'str'},
'early_available': {'key': 'EarlyAvailable', 'type': 'bool'},
'data_store_mode': {'key': 'dataStoreMode', 'type': 'str'},
}
def __init__(
self,
*,
name: Optional[str] = None,
documentation: Optional[str] = None,
data_type_id: Optional[str] = None,
pass_through_input_name: Optional[str] = None,
early_available: Optional[bool] = None,
data_store_mode: Optional[Union[str, "AEVADataStoreMode"]] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword documentation:
:paramtype documentation: str
:keyword data_type_id:
:paramtype data_type_id: str
:keyword pass_through_input_name:
:paramtype pass_through_input_name: str
:keyword early_available:
:paramtype early_available: bool
:keyword data_store_mode: Possible values include: "None", "Mount", "Download", "Upload",
"Direct", "Hdfs", "Link".
:paramtype data_store_mode: str or ~flow.models.AEVADataStoreMode
"""
super(NodeOutputPort, self).__init__(**kwargs)
self.name = name
self.documentation = documentation
self.data_type_id = data_type_id
self.pass_through_input_name = pass_through_input_name
self.early_available = early_available
self.data_store_mode = data_store_mode
class NodePortInterface(msrest.serialization.Model):
"""NodePortInterface.
:ivar inputs:
:vartype inputs: list[~flow.models.NodeInputPort]
:ivar outputs:
:vartype outputs: list[~flow.models.NodeOutputPort]
:ivar control_outputs:
:vartype control_outputs: list[~flow.models.ControlOutput]
"""
_attribute_map = {
'inputs': {'key': 'inputs', 'type': '[NodeInputPort]'},
'outputs': {'key': 'outputs', 'type': '[NodeOutputPort]'},
'control_outputs': {'key': 'controlOutputs', 'type': '[ControlOutput]'},
}
def __init__(
self,
*,
inputs: Optional[List["NodeInputPort"]] = None,
outputs: Optional[List["NodeOutputPort"]] = None,
control_outputs: Optional[List["ControlOutput"]] = None,
**kwargs
):
"""
:keyword inputs:
:paramtype inputs: list[~flow.models.NodeInputPort]
:keyword outputs:
:paramtype outputs: list[~flow.models.NodeOutputPort]
:keyword control_outputs:
:paramtype control_outputs: list[~flow.models.ControlOutput]
"""
super(NodePortInterface, self).__init__(**kwargs)
self.inputs = inputs
self.outputs = outputs
self.control_outputs = control_outputs
class Nodes(msrest.serialization.Model):
"""Nodes.
All required parameters must be populated in order to send to Azure.
:ivar nodes_value_type: Required. Possible values include: "All", "Custom".
:vartype nodes_value_type: str or ~flow.models.NodesValueType
:ivar values:
:vartype values: list[int]
"""
_validation = {
'nodes_value_type': {'required': True},
}
_attribute_map = {
'nodes_value_type': {'key': 'nodes_value_type', 'type': 'str'},
'values': {'key': 'values', 'type': '[int]'},
}
def __init__(
self,
*,
nodes_value_type: Union[str, "NodesValueType"],
values: Optional[List[int]] = None,
**kwargs
):
"""
:keyword nodes_value_type: Required. Possible values include: "All", "Custom".
:paramtype nodes_value_type: str or ~flow.models.NodesValueType
:keyword values:
:paramtype values: list[int]
"""
super(Nodes, self).__init__(**kwargs)
self.nodes_value_type = nodes_value_type
self.values = values
class NodeSource(msrest.serialization.Model):
"""NodeSource.
:ivar type:
:vartype type: str
:ivar tool:
:vartype tool: str
:ivar path:
:vartype path: str
"""
_attribute_map = {
'type': {'key': 'type', 'type': 'str'},
'tool': {'key': 'tool', 'type': 'str'},
'path': {'key': 'path', 'type': 'str'},
}
def __init__(
self,
*,
type: Optional[str] = None,
tool: Optional[str] = None,
path: Optional[str] = None,
**kwargs
):
"""
:keyword type:
:paramtype type: str
:keyword tool:
:paramtype tool: str
:keyword path:
:paramtype path: str
"""
super(NodeSource, self).__init__(**kwargs)
self.type = type
self.tool = tool
self.path = path
class NodeTelemetryMetaInfo(msrest.serialization.Model):
"""NodeTelemetryMetaInfo.
:ivar pipeline_run_id:
:vartype pipeline_run_id: str
:ivar node_id:
:vartype node_id: str
:ivar version_id:
:vartype version_id: str
:ivar node_type:
:vartype node_type: str
:ivar node_source:
:vartype node_source: str
:ivar is_anonymous:
:vartype is_anonymous: bool
:ivar is_pipeline_component:
:vartype is_pipeline_component: bool
"""
_attribute_map = {
'pipeline_run_id': {'key': 'pipelineRunId', 'type': 'str'},
'node_id': {'key': 'nodeId', 'type': 'str'},
'version_id': {'key': 'versionId', 'type': 'str'},
'node_type': {'key': 'nodeType', 'type': 'str'},
'node_source': {'key': 'nodeSource', 'type': 'str'},
'is_anonymous': {'key': 'isAnonymous', 'type': 'bool'},
'is_pipeline_component': {'key': 'isPipelineComponent', 'type': 'bool'},
}
def __init__(
self,
*,
pipeline_run_id: Optional[str] = None,
node_id: Optional[str] = None,
version_id: Optional[str] = None,
node_type: Optional[str] = None,
node_source: Optional[str] = None,
is_anonymous: Optional[bool] = None,
is_pipeline_component: Optional[bool] = None,
**kwargs
):
"""
:keyword pipeline_run_id:
:paramtype pipeline_run_id: str
:keyword node_id:
:paramtype node_id: str
:keyword version_id:
:paramtype version_id: str
:keyword node_type:
:paramtype node_type: str
:keyword node_source:
:paramtype node_source: str
:keyword is_anonymous:
:paramtype is_anonymous: bool
:keyword is_pipeline_component:
:paramtype is_pipeline_component: bool
"""
super(NodeTelemetryMetaInfo, self).__init__(**kwargs)
self.pipeline_run_id = pipeline_run_id
self.node_id = node_id
self.version_id = version_id
self.node_type = node_type
self.node_source = node_source
self.is_anonymous = is_anonymous
self.is_pipeline_component = is_pipeline_component
class NodeVariant(msrest.serialization.Model):
"""NodeVariant.
:ivar variants: This is a dictionary.
:vartype variants: dict[str, ~flow.models.VariantNode]
:ivar default_variant_id:
:vartype default_variant_id: str
"""
_attribute_map = {
'variants': {'key': 'variants', 'type': '{VariantNode}'},
'default_variant_id': {'key': 'defaultVariantId', 'type': 'str'},
}
def __init__(
self,
*,
variants: Optional[Dict[str, "VariantNode"]] = None,
default_variant_id: Optional[str] = None,
**kwargs
):
"""
:keyword variants: This is a dictionary.
:paramtype variants: dict[str, ~flow.models.VariantNode]
:keyword default_variant_id:
:paramtype default_variant_id: str
"""
super(NodeVariant, self).__init__(**kwargs)
self.variants = variants
self.default_variant_id = default_variant_id
class NoteBookTaskDto(msrest.serialization.Model):
"""NoteBookTaskDto.
:ivar notebook_path:
:vartype notebook_path: str
:ivar base_parameters: Dictionary of :code:`<string>`.
:vartype base_parameters: dict[str, str]
"""
_attribute_map = {
'notebook_path': {'key': 'notebook_path', 'type': 'str'},
'base_parameters': {'key': 'base_parameters', 'type': '{str}'},
}
def __init__(
self,
*,
notebook_path: Optional[str] = None,
base_parameters: Optional[Dict[str, str]] = None,
**kwargs
):
"""
:keyword notebook_path:
:paramtype notebook_path: str
:keyword base_parameters: Dictionary of :code:`<string>`.
:paramtype base_parameters: dict[str, str]
"""
super(NoteBookTaskDto, self).__init__(**kwargs)
self.notebook_path = notebook_path
self.base_parameters = base_parameters
class NotificationSetting(msrest.serialization.Model):
"""NotificationSetting.
:ivar emails:
:vartype emails: list[str]
:ivar email_on:
:vartype email_on: list[str or ~flow.models.EmailNotificationEnableType]
:ivar webhooks: Dictionary of :code:`<Webhook>`.
:vartype webhooks: dict[str, ~flow.models.Webhook]
"""
_attribute_map = {
'emails': {'key': 'emails', 'type': '[str]'},
'email_on': {'key': 'emailOn', 'type': '[str]'},
'webhooks': {'key': 'webhooks', 'type': '{Webhook}'},
}
def __init__(
self,
*,
emails: Optional[List[str]] = None,
email_on: Optional[List[Union[str, "EmailNotificationEnableType"]]] = None,
webhooks: Optional[Dict[str, "Webhook"]] = None,
**kwargs
):
"""
:keyword emails:
:paramtype emails: list[str]
:keyword email_on:
:paramtype email_on: list[str or ~flow.models.EmailNotificationEnableType]
:keyword webhooks: Dictionary of :code:`<Webhook>`.
:paramtype webhooks: dict[str, ~flow.models.Webhook]
"""
super(NotificationSetting, self).__init__(**kwargs)
self.emails = emails
self.email_on = email_on
self.webhooks = webhooks
class ODataError(msrest.serialization.Model):
"""Represents OData v4 error object.
:ivar code: Gets or sets a language-independent, service-defined error code.
This code serves as a sub-status for the HTTP error code specified
in the response.
:vartype code: str
:ivar message: Gets or sets a human-readable, language-dependent representation of the error.
The ``Content-Language`` header MUST contain the language code from [RFC5646]
corresponding to the language in which the value for message is written.
:vartype message: str
:ivar target: Gets or sets the target of the particular error
(for example, the name of the property in error).
:vartype target: str
:ivar details: Gets or sets additional details about the error.
:vartype details: list[~flow.models.ODataErrorDetail]
:ivar innererror: The contents of this object are service-defined.
Usually this object contains information that will help debug the service
and SHOULD only be used in development environments in order to guard
against potential security concerns around information disclosure.
:vartype innererror: ~flow.models.ODataInnerError
"""
_attribute_map = {
'code': {'key': 'code', 'type': 'str'},
'message': {'key': 'message', 'type': 'str'},
'target': {'key': 'target', 'type': 'str'},
'details': {'key': 'details', 'type': '[ODataErrorDetail]'},
'innererror': {'key': 'innererror', 'type': 'ODataInnerError'},
}
def __init__(
self,
*,
code: Optional[str] = None,
message: Optional[str] = None,
target: Optional[str] = None,
details: Optional[List["ODataErrorDetail"]] = None,
innererror: Optional["ODataInnerError"] = None,
**kwargs
):
"""
:keyword code: Gets or sets a language-independent, service-defined error code.
This code serves as a sub-status for the HTTP error code specified
in the response.
:paramtype code: str
:keyword message: Gets or sets a human-readable, language-dependent representation of the
error.
The ``Content-Language`` header MUST contain the language code from [RFC5646]
corresponding to the language in which the value for message is written.
:paramtype message: str
:keyword target: Gets or sets the target of the particular error
(for example, the name of the property in error).
:paramtype target: str
:keyword details: Gets or sets additional details about the error.
:paramtype details: list[~flow.models.ODataErrorDetail]
:keyword innererror: The contents of this object are service-defined.
Usually this object contains information that will help debug the service
and SHOULD only be used in development environments in order to guard
against potential security concerns around information disclosure.
:paramtype innererror: ~flow.models.ODataInnerError
"""
super(ODataError, self).__init__(**kwargs)
self.code = code
self.message = message
self.target = target
self.details = details
self.innererror = innererror
class ODataErrorDetail(msrest.serialization.Model):
"""Represents additional error details.
:ivar code: Gets or sets a language-independent, service-defined error code.
:vartype code: str
:ivar message: Gets or sets a human-readable, language-dependent representation of the error.
:vartype message: str
:ivar target: Gets or sets the target of the particular error
(for example, the name of the property in error).
:vartype target: str
"""
_attribute_map = {
'code': {'key': 'code', 'type': 'str'},
'message': {'key': 'message', 'type': 'str'},
'target': {'key': 'target', 'type': 'str'},
}
def __init__(
self,
*,
code: Optional[str] = None,
message: Optional[str] = None,
target: Optional[str] = None,
**kwargs
):
"""
:keyword code: Gets or sets a language-independent, service-defined error code.
:paramtype code: str
:keyword message: Gets or sets a human-readable, language-dependent representation of the
error.
:paramtype message: str
:keyword target: Gets or sets the target of the particular error
(for example, the name of the property in error).
:paramtype target: str
"""
super(ODataErrorDetail, self).__init__(**kwargs)
self.code = code
self.message = message
self.target = target
class ODataErrorResponse(msrest.serialization.Model):
"""Represents OData v4 compliant error response message.
:ivar error: Represents OData v4 error object.
:vartype error: ~flow.models.ODataError
"""
_attribute_map = {
'error': {'key': 'error', 'type': 'ODataError'},
}
def __init__(
self,
*,
error: Optional["ODataError"] = None,
**kwargs
):
"""
:keyword error: Represents OData v4 error object.
:paramtype error: ~flow.models.ODataError
"""
super(ODataErrorResponse, self).__init__(**kwargs)
self.error = error
class ODataInnerError(msrest.serialization.Model):
"""The contents of this object are service-defined.
Usually this object contains information that will help debug the service
and SHOULD only be used in development environments in order to guard
against potential security concerns around information disclosure.
:ivar client_request_id: Gets or sets the client provided request ID.
:vartype client_request_id: str
:ivar service_request_id: Gets or sets the server generated request ID.
:vartype service_request_id: str
:ivar trace: Gets or sets the exception stack trace.
DO NOT INCLUDE IT IN PRODUCTION ENVIRONMENT.
:vartype trace: str
:ivar context: Gets or sets additional context for the exception.
DO NOT INCLUDE IT IN PRODUCTION ENVIRONMENT.
:vartype context: str
"""
_attribute_map = {
'client_request_id': {'key': 'clientRequestId', 'type': 'str'},
'service_request_id': {'key': 'serviceRequestId', 'type': 'str'},
'trace': {'key': 'trace', 'type': 'str'},
'context': {'key': 'context', 'type': 'str'},
}
def __init__(
self,
*,
client_request_id: Optional[str] = None,
service_request_id: Optional[str] = None,
trace: Optional[str] = None,
context: Optional[str] = None,
**kwargs
):
"""
:keyword client_request_id: Gets or sets the client provided request ID.
:paramtype client_request_id: str
:keyword service_request_id: Gets or sets the server generated request ID.
:paramtype service_request_id: str
:keyword trace: Gets or sets the exception stack trace.
DO NOT INCLUDE IT IN PRODUCTION ENVIRONMENT.
:paramtype trace: str
:keyword context: Gets or sets additional context for the exception.
DO NOT INCLUDE IT IN PRODUCTION ENVIRONMENT.
:paramtype context: str
"""
super(ODataInnerError, self).__init__(**kwargs)
self.client_request_id = client_request_id
self.service_request_id = service_request_id
self.trace = trace
self.context = context
class OutputData(msrest.serialization.Model):
"""OutputData.
:ivar output_location:
:vartype output_location: ~flow.models.ExecutionDataLocation
:ivar mechanism: Possible values include: "Upload", "Mount", "Hdfs", "Link", "Direct".
:vartype mechanism: str or ~flow.models.OutputMechanism
:ivar additional_options:
:vartype additional_options: ~flow.models.OutputOptions
:ivar environment_variable_name:
:vartype environment_variable_name: str
"""
_attribute_map = {
'output_location': {'key': 'outputLocation', 'type': 'ExecutionDataLocation'},
'mechanism': {'key': 'mechanism', 'type': 'str'},
'additional_options': {'key': 'additionalOptions', 'type': 'OutputOptions'},
'environment_variable_name': {'key': 'environmentVariableName', 'type': 'str'},
}
def __init__(
self,
*,
output_location: Optional["ExecutionDataLocation"] = None,
mechanism: Optional[Union[str, "OutputMechanism"]] = None,
additional_options: Optional["OutputOptions"] = None,
environment_variable_name: Optional[str] = None,
**kwargs
):
"""
:keyword output_location:
:paramtype output_location: ~flow.models.ExecutionDataLocation
:keyword mechanism: Possible values include: "Upload", "Mount", "Hdfs", "Link", "Direct".
:paramtype mechanism: str or ~flow.models.OutputMechanism
:keyword additional_options:
:paramtype additional_options: ~flow.models.OutputOptions
:keyword environment_variable_name:
:paramtype environment_variable_name: str
"""
super(OutputData, self).__init__(**kwargs)
self.output_location = output_location
self.mechanism = mechanism
self.additional_options = additional_options
self.environment_variable_name = environment_variable_name
class OutputDataBinding(msrest.serialization.Model):
"""OutputDataBinding.
:ivar datastore_id:
:vartype datastore_id: str
:ivar path_on_datastore:
:vartype path_on_datastore: str
:ivar path_on_compute:
:vartype path_on_compute: str
:ivar description:
:vartype description: str
:ivar uri:
:vartype uri: ~flow.models.MfeInternalUriReference
:ivar mode: Possible values include: "Mount", "Download", "Upload", "ReadOnlyMount",
"ReadWriteMount", "Direct", "EvalMount", "EvalDownload".
:vartype mode: str or ~flow.models.DataBindingMode
:ivar asset_uri:
:vartype asset_uri: str
:ivar is_asset_job_output:
:vartype is_asset_job_output: bool
:ivar job_output_type: Possible values include: "Uri", "Dataset", "UriFile", "UriFolder",
"MLTable", "CustomModel", "MLFlowModel", "TritonModel".
:vartype job_output_type: str or ~flow.models.JobOutputType
:ivar asset_name:
:vartype asset_name: str
:ivar asset_version:
:vartype asset_version: str
:ivar auto_delete_setting:
:vartype auto_delete_setting: ~flow.models.AutoDeleteSetting
"""
_attribute_map = {
'datastore_id': {'key': 'datastoreId', 'type': 'str'},
'path_on_datastore': {'key': 'pathOnDatastore', 'type': 'str'},
'path_on_compute': {'key': 'pathOnCompute', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'uri': {'key': 'uri', 'type': 'MfeInternalUriReference'},
'mode': {'key': 'mode', 'type': 'str'},
'asset_uri': {'key': 'assetUri', 'type': 'str'},
'is_asset_job_output': {'key': 'isAssetJobOutput', 'type': 'bool'},
'job_output_type': {'key': 'jobOutputType', 'type': 'str'},
'asset_name': {'key': 'assetName', 'type': 'str'},
'asset_version': {'key': 'assetVersion', 'type': 'str'},
'auto_delete_setting': {'key': 'autoDeleteSetting', 'type': 'AutoDeleteSetting'},
}
def __init__(
self,
*,
datastore_id: Optional[str] = None,
path_on_datastore: Optional[str] = None,
path_on_compute: Optional[str] = None,
description: Optional[str] = None,
uri: Optional["MfeInternalUriReference"] = None,
mode: Optional[Union[str, "DataBindingMode"]] = None,
asset_uri: Optional[str] = None,
is_asset_job_output: Optional[bool] = None,
job_output_type: Optional[Union[str, "JobOutputType"]] = None,
asset_name: Optional[str] = None,
asset_version: Optional[str] = None,
auto_delete_setting: Optional["AutoDeleteSetting"] = None,
**kwargs
):
"""
:keyword datastore_id:
:paramtype datastore_id: str
:keyword path_on_datastore:
:paramtype path_on_datastore: str
:keyword path_on_compute:
:paramtype path_on_compute: str
:keyword description:
:paramtype description: str
:keyword uri:
:paramtype uri: ~flow.models.MfeInternalUriReference
:keyword mode: Possible values include: "Mount", "Download", "Upload", "ReadOnlyMount",
"ReadWriteMount", "Direct", "EvalMount", "EvalDownload".
:paramtype mode: str or ~flow.models.DataBindingMode
:keyword asset_uri:
:paramtype asset_uri: str
:keyword is_asset_job_output:
:paramtype is_asset_job_output: bool
:keyword job_output_type: Possible values include: "Uri", "Dataset", "UriFile", "UriFolder",
"MLTable", "CustomModel", "MLFlowModel", "TritonModel".
:paramtype job_output_type: str or ~flow.models.JobOutputType
:keyword asset_name:
:paramtype asset_name: str
:keyword asset_version:
:paramtype asset_version: str
:keyword auto_delete_setting:
:paramtype auto_delete_setting: ~flow.models.AutoDeleteSetting
"""
super(OutputDataBinding, self).__init__(**kwargs)
self.datastore_id = datastore_id
self.path_on_datastore = path_on_datastore
self.path_on_compute = path_on_compute
self.description = description
self.uri = uri
self.mode = mode
self.asset_uri = asset_uri
self.is_asset_job_output = is_asset_job_output
self.job_output_type = job_output_type
self.asset_name = asset_name
self.asset_version = asset_version
self.auto_delete_setting = auto_delete_setting
class OutputDatasetLineage(msrest.serialization.Model):
"""OutputDatasetLineage.
:ivar identifier:
:vartype identifier: ~flow.models.DatasetIdentifier
:ivar output_type: Possible values include: "RunOutput", "Reference".
:vartype output_type: str or ~flow.models.DatasetOutputType
:ivar output_details:
:vartype output_details: ~flow.models.DatasetOutputDetails
"""
_attribute_map = {
'identifier': {'key': 'identifier', 'type': 'DatasetIdentifier'},
'output_type': {'key': 'outputType', 'type': 'str'},
'output_details': {'key': 'outputDetails', 'type': 'DatasetOutputDetails'},
}
def __init__(
self,
*,
identifier: Optional["DatasetIdentifier"] = None,
output_type: Optional[Union[str, "DatasetOutputType"]] = None,
output_details: Optional["DatasetOutputDetails"] = None,
**kwargs
):
"""
:keyword identifier:
:paramtype identifier: ~flow.models.DatasetIdentifier
:keyword output_type: Possible values include: "RunOutput", "Reference".
:paramtype output_type: str or ~flow.models.DatasetOutputType
:keyword output_details:
:paramtype output_details: ~flow.models.DatasetOutputDetails
"""
super(OutputDatasetLineage, self).__init__(**kwargs)
self.identifier = identifier
self.output_type = output_type
self.output_details = output_details
class OutputDefinition(msrest.serialization.Model):
"""OutputDefinition.
:ivar name:
:vartype name: str
:ivar type:
:vartype type: list[str or ~flow.models.ValueType]
:ivar description:
:vartype description: str
:ivar is_property:
:vartype is_property: bool
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': '[str]'},
'description': {'key': 'description', 'type': 'str'},
'is_property': {'key': 'isProperty', 'type': 'bool'},
}
def __init__(
self,
*,
name: Optional[str] = None,
type: Optional[List[Union[str, "ValueType"]]] = None,
description: Optional[str] = None,
is_property: Optional[bool] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword type:
:paramtype type: list[str or ~flow.models.ValueType]
:keyword description:
:paramtype description: str
:keyword is_property:
:paramtype is_property: bool
"""
super(OutputDefinition, self).__init__(**kwargs)
self.name = name
self.type = type
self.description = description
self.is_property = is_property
class OutputOptions(msrest.serialization.Model):
"""OutputOptions.
:ivar path_on_compute:
:vartype path_on_compute: str
:ivar registration_options:
:vartype registration_options: ~flow.models.RegistrationOptions
:ivar upload_options:
:vartype upload_options: ~flow.models.UploadOptions
:ivar mount_options: Dictionary of :code:`<string>`.
:vartype mount_options: dict[str, str]
"""
_attribute_map = {
'path_on_compute': {'key': 'pathOnCompute', 'type': 'str'},
'registration_options': {'key': 'registrationOptions', 'type': 'RegistrationOptions'},
'upload_options': {'key': 'uploadOptions', 'type': 'UploadOptions'},
'mount_options': {'key': 'mountOptions', 'type': '{str}'},
}
def __init__(
self,
*,
path_on_compute: Optional[str] = None,
registration_options: Optional["RegistrationOptions"] = None,
upload_options: Optional["UploadOptions"] = None,
mount_options: Optional[Dict[str, str]] = None,
**kwargs
):
"""
:keyword path_on_compute:
:paramtype path_on_compute: str
:keyword registration_options:
:paramtype registration_options: ~flow.models.RegistrationOptions
:keyword upload_options:
:paramtype upload_options: ~flow.models.UploadOptions
:keyword mount_options: Dictionary of :code:`<string>`.
:paramtype mount_options: dict[str, str]
"""
super(OutputOptions, self).__init__(**kwargs)
self.path_on_compute = path_on_compute
self.registration_options = registration_options
self.upload_options = upload_options
self.mount_options = mount_options
class OutputSetting(msrest.serialization.Model):
"""OutputSetting.
:ivar name:
:vartype name: str
:ivar data_store_name:
:vartype data_store_name: str
:ivar data_store_name_parameter_assignment:
:vartype data_store_name_parameter_assignment: ~flow.models.ParameterAssignment
:ivar data_store_mode: Possible values include: "None", "Mount", "Download", "Upload",
"Direct", "Hdfs", "Link".
:vartype data_store_mode: str or ~flow.models.AEVADataStoreMode
:ivar data_store_mode_parameter_assignment:
:vartype data_store_mode_parameter_assignment: ~flow.models.ParameterAssignment
:ivar path_on_compute:
:vartype path_on_compute: str
:ivar path_on_compute_parameter_assignment:
:vartype path_on_compute_parameter_assignment: ~flow.models.ParameterAssignment
:ivar overwrite:
:vartype overwrite: bool
:ivar data_reference_name:
:vartype data_reference_name: str
:ivar web_service_port:
:vartype web_service_port: str
:ivar dataset_registration:
:vartype dataset_registration: ~flow.models.DatasetRegistration
:ivar dataset_output_options:
:vartype dataset_output_options: ~flow.models.DatasetOutputOptions
:ivar asset_output_settings:
:vartype asset_output_settings: ~flow.models.AssetOutputSettings
:ivar parameter_name:
:vartype parameter_name: str
:ivar asset_output_settings_parameter_name:
:vartype asset_output_settings_parameter_name: str
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'data_store_name': {'key': 'dataStoreName', 'type': 'str'},
'data_store_name_parameter_assignment': {'key': 'DataStoreNameParameterAssignment', 'type': 'ParameterAssignment'},
'data_store_mode': {'key': 'dataStoreMode', 'type': 'str'},
'data_store_mode_parameter_assignment': {'key': 'DataStoreModeParameterAssignment', 'type': 'ParameterAssignment'},
'path_on_compute': {'key': 'pathOnCompute', 'type': 'str'},
'path_on_compute_parameter_assignment': {'key': 'PathOnComputeParameterAssignment', 'type': 'ParameterAssignment'},
'overwrite': {'key': 'overwrite', 'type': 'bool'},
'data_reference_name': {'key': 'dataReferenceName', 'type': 'str'},
'web_service_port': {'key': 'webServicePort', 'type': 'str'},
'dataset_registration': {'key': 'datasetRegistration', 'type': 'DatasetRegistration'},
'dataset_output_options': {'key': 'datasetOutputOptions', 'type': 'DatasetOutputOptions'},
'asset_output_settings': {'key': 'AssetOutputSettings', 'type': 'AssetOutputSettings'},
'parameter_name': {'key': 'parameterName', 'type': 'str'},
'asset_output_settings_parameter_name': {'key': 'AssetOutputSettingsParameterName', 'type': 'str'},
}
def __init__(
self,
*,
name: Optional[str] = None,
data_store_name: Optional[str] = None,
data_store_name_parameter_assignment: Optional["ParameterAssignment"] = None,
data_store_mode: Optional[Union[str, "AEVADataStoreMode"]] = None,
data_store_mode_parameter_assignment: Optional["ParameterAssignment"] = None,
path_on_compute: Optional[str] = None,
path_on_compute_parameter_assignment: Optional["ParameterAssignment"] = None,
overwrite: Optional[bool] = None,
data_reference_name: Optional[str] = None,
web_service_port: Optional[str] = None,
dataset_registration: Optional["DatasetRegistration"] = None,
dataset_output_options: Optional["DatasetOutputOptions"] = None,
asset_output_settings: Optional["AssetOutputSettings"] = None,
parameter_name: Optional[str] = None,
asset_output_settings_parameter_name: Optional[str] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword data_store_name:
:paramtype data_store_name: str
:keyword data_store_name_parameter_assignment:
:paramtype data_store_name_parameter_assignment: ~flow.models.ParameterAssignment
:keyword data_store_mode: Possible values include: "None", "Mount", "Download", "Upload",
"Direct", "Hdfs", "Link".
:paramtype data_store_mode: str or ~flow.models.AEVADataStoreMode
:keyword data_store_mode_parameter_assignment:
:paramtype data_store_mode_parameter_assignment: ~flow.models.ParameterAssignment
:keyword path_on_compute:
:paramtype path_on_compute: str
:keyword path_on_compute_parameter_assignment:
:paramtype path_on_compute_parameter_assignment: ~flow.models.ParameterAssignment
:keyword overwrite:
:paramtype overwrite: bool
:keyword data_reference_name:
:paramtype data_reference_name: str
:keyword web_service_port:
:paramtype web_service_port: str
:keyword dataset_registration:
:paramtype dataset_registration: ~flow.models.DatasetRegistration
:keyword dataset_output_options:
:paramtype dataset_output_options: ~flow.models.DatasetOutputOptions
:keyword asset_output_settings:
:paramtype asset_output_settings: ~flow.models.AssetOutputSettings
:keyword parameter_name:
:paramtype parameter_name: str
:keyword asset_output_settings_parameter_name:
:paramtype asset_output_settings_parameter_name: str
"""
super(OutputSetting, self).__init__(**kwargs)
self.name = name
self.data_store_name = data_store_name
self.data_store_name_parameter_assignment = data_store_name_parameter_assignment
self.data_store_mode = data_store_mode
self.data_store_mode_parameter_assignment = data_store_mode_parameter_assignment
self.path_on_compute = path_on_compute
self.path_on_compute_parameter_assignment = path_on_compute_parameter_assignment
self.overwrite = overwrite
self.data_reference_name = data_reference_name
self.web_service_port = web_service_port
self.dataset_registration = dataset_registration
self.dataset_output_options = dataset_output_options
self.asset_output_settings = asset_output_settings
self.parameter_name = parameter_name
self.asset_output_settings_parameter_name = asset_output_settings_parameter_name
class OutputSettingSpec(msrest.serialization.Model):
"""OutputSettingSpec.
:ivar supported_data_store_modes:
:vartype supported_data_store_modes: list[str or ~flow.models.AEVADataStoreMode]
:ivar default_asset_output_path:
:vartype default_asset_output_path: str
"""
_attribute_map = {
'supported_data_store_modes': {'key': 'supportedDataStoreModes', 'type': '[str]'},
'default_asset_output_path': {'key': 'defaultAssetOutputPath', 'type': 'str'},
}
def __init__(
self,
*,
supported_data_store_modes: Optional[List[Union[str, "AEVADataStoreMode"]]] = None,
default_asset_output_path: Optional[str] = None,
**kwargs
):
"""
:keyword supported_data_store_modes:
:paramtype supported_data_store_modes: list[str or ~flow.models.AEVADataStoreMode]
:keyword default_asset_output_path:
:paramtype default_asset_output_path: str
"""
super(OutputSettingSpec, self).__init__(**kwargs)
self.supported_data_store_modes = supported_data_store_modes
self.default_asset_output_path = default_asset_output_path
class PaginatedDataInfoList(msrest.serialization.Model):
"""A paginated list of DataInfos.
:ivar value: An array of objects of type DataInfo.
:vartype value: list[~flow.models.DataInfo]
:ivar continuation_token: The token used in retrieving the next page. If null, there are no
additional pages.
:vartype continuation_token: str
:ivar next_link: The link to the next page constructed using the continuationToken. If null,
there are no additional pages.
:vartype next_link: str
"""
_attribute_map = {
'value': {'key': 'value', 'type': '[DataInfo]'},
'continuation_token': {'key': 'continuationToken', 'type': 'str'},
'next_link': {'key': 'nextLink', 'type': 'str'},
}
def __init__(
self,
*,
value: Optional[List["DataInfo"]] = None,
continuation_token: Optional[str] = None,
next_link: Optional[str] = None,
**kwargs
):
"""
:keyword value: An array of objects of type DataInfo.
:paramtype value: list[~flow.models.DataInfo]
:keyword continuation_token: The token used in retrieving the next page. If null, there are no
additional pages.
:paramtype continuation_token: str
:keyword next_link: The link to the next page constructed using the continuationToken. If
null, there are no additional pages.
:paramtype next_link: str
"""
super(PaginatedDataInfoList, self).__init__(**kwargs)
self.value = value
self.continuation_token = continuation_token
self.next_link = next_link
class PaginatedModelDtoList(msrest.serialization.Model):
"""A paginated list of ModelDtos.
:ivar value: An array of objects of type ModelDto.
:vartype value: list[~flow.models.ModelDto]
:ivar continuation_token: The token used in retrieving the next page. If null, there are no
additional pages.
:vartype continuation_token: str
:ivar next_link: The link to the next page constructed using the continuationToken. If null,
there are no additional pages.
:vartype next_link: str
"""
_attribute_map = {
'value': {'key': 'value', 'type': '[ModelDto]'},
'continuation_token': {'key': 'continuationToken', 'type': 'str'},
'next_link': {'key': 'nextLink', 'type': 'str'},
}
def __init__(
self,
*,
value: Optional[List["ModelDto"]] = None,
continuation_token: Optional[str] = None,
next_link: Optional[str] = None,
**kwargs
):
"""
:keyword value: An array of objects of type ModelDto.
:paramtype value: list[~flow.models.ModelDto]
:keyword continuation_token: The token used in retrieving the next page. If null, there are no
additional pages.
:paramtype continuation_token: str
:keyword next_link: The link to the next page constructed using the continuationToken. If
null, there are no additional pages.
:paramtype next_link: str
"""
super(PaginatedModelDtoList, self).__init__(**kwargs)
self.value = value
self.continuation_token = continuation_token
self.next_link = next_link
class PaginatedModuleDtoList(msrest.serialization.Model):
"""A paginated list of ModuleDtos.
:ivar value: An array of objects of type ModuleDto.
:vartype value: list[~flow.models.ModuleDto]
:ivar continuation_token: The token used in retrieving the next page. If null, there are no
additional pages.
:vartype continuation_token: str
:ivar next_link: The link to the next page constructed using the continuationToken. If null,
there are no additional pages.
:vartype next_link: str
"""
_attribute_map = {
'value': {'key': 'value', 'type': '[ModuleDto]'},
'continuation_token': {'key': 'continuationToken', 'type': 'str'},
'next_link': {'key': 'nextLink', 'type': 'str'},
}
def __init__(
self,
*,
value: Optional[List["ModuleDto"]] = None,
continuation_token: Optional[str] = None,
next_link: Optional[str] = None,
**kwargs
):
"""
:keyword value: An array of objects of type ModuleDto.
:paramtype value: list[~flow.models.ModuleDto]
:keyword continuation_token: The token used in retrieving the next page. If null, there are no
additional pages.
:paramtype continuation_token: str
:keyword next_link: The link to the next page constructed using the continuationToken. If
null, there are no additional pages.
:paramtype next_link: str
"""
super(PaginatedModuleDtoList, self).__init__(**kwargs)
self.value = value
self.continuation_token = continuation_token
self.next_link = next_link
class PaginatedPipelineDraftSummaryList(msrest.serialization.Model):
"""A paginated list of PipelineDraftSummarys.
:ivar value: An array of objects of type PipelineDraftSummary.
:vartype value: list[~flow.models.PipelineDraftSummary]
:ivar continuation_token: The token used in retrieving the next page. If null, there are no
additional pages.
:vartype continuation_token: str
:ivar next_link: The link to the next page constructed using the continuationToken. If null,
there are no additional pages.
:vartype next_link: str
"""
_attribute_map = {
'value': {'key': 'value', 'type': '[PipelineDraftSummary]'},
'continuation_token': {'key': 'continuationToken', 'type': 'str'},
'next_link': {'key': 'nextLink', 'type': 'str'},
}
def __init__(
self,
*,
value: Optional[List["PipelineDraftSummary"]] = None,
continuation_token: Optional[str] = None,
next_link: Optional[str] = None,
**kwargs
):
"""
:keyword value: An array of objects of type PipelineDraftSummary.
:paramtype value: list[~flow.models.PipelineDraftSummary]
:keyword continuation_token: The token used in retrieving the next page. If null, there are no
additional pages.
:paramtype continuation_token: str
:keyword next_link: The link to the next page constructed using the continuationToken. If
null, there are no additional pages.
:paramtype next_link: str
"""
super(PaginatedPipelineDraftSummaryList, self).__init__(**kwargs)
self.value = value
self.continuation_token = continuation_token
self.next_link = next_link
class PaginatedPipelineEndpointSummaryList(msrest.serialization.Model):
"""A paginated list of PipelineEndpointSummarys.
:ivar value: An array of objects of type PipelineEndpointSummary.
:vartype value: list[~flow.models.PipelineEndpointSummary]
:ivar continuation_token: The token used in retrieving the next page. If null, there are no
additional pages.
:vartype continuation_token: str
:ivar next_link: The link to the next page constructed using the continuationToken. If null,
there are no additional pages.
:vartype next_link: str
"""
_attribute_map = {
'value': {'key': 'value', 'type': '[PipelineEndpointSummary]'},
'continuation_token': {'key': 'continuationToken', 'type': 'str'},
'next_link': {'key': 'nextLink', 'type': 'str'},
}
def __init__(
self,
*,
value: Optional[List["PipelineEndpointSummary"]] = None,
continuation_token: Optional[str] = None,
next_link: Optional[str] = None,
**kwargs
):
"""
:keyword value: An array of objects of type PipelineEndpointSummary.
:paramtype value: list[~flow.models.PipelineEndpointSummary]
:keyword continuation_token: The token used in retrieving the next page. If null, there are no
additional pages.
:paramtype continuation_token: str
:keyword next_link: The link to the next page constructed using the continuationToken. If
null, there are no additional pages.
:paramtype next_link: str
"""
super(PaginatedPipelineEndpointSummaryList, self).__init__(**kwargs)
self.value = value
self.continuation_token = continuation_token
self.next_link = next_link
class PaginatedPipelineRunSummaryList(msrest.serialization.Model):
"""A paginated list of PipelineRunSummarys.
:ivar value: An array of objects of type PipelineRunSummary.
:vartype value: list[~flow.models.PipelineRunSummary]
:ivar continuation_token: The token used in retrieving the next page. If null, there are no
additional pages.
:vartype continuation_token: str
:ivar next_link: The link to the next page constructed using the continuationToken. If null,
there are no additional pages.
:vartype next_link: str
"""
_attribute_map = {
'value': {'key': 'value', 'type': '[PipelineRunSummary]'},
'continuation_token': {'key': 'continuationToken', 'type': 'str'},
'next_link': {'key': 'nextLink', 'type': 'str'},
}
def __init__(
self,
*,
value: Optional[List["PipelineRunSummary"]] = None,
continuation_token: Optional[str] = None,
next_link: Optional[str] = None,
**kwargs
):
"""
:keyword value: An array of objects of type PipelineRunSummary.
:paramtype value: list[~flow.models.PipelineRunSummary]
:keyword continuation_token: The token used in retrieving the next page. If null, there are no
additional pages.
:paramtype continuation_token: str
:keyword next_link: The link to the next page constructed using the continuationToken. If
null, there are no additional pages.
:paramtype next_link: str
"""
super(PaginatedPipelineRunSummaryList, self).__init__(**kwargs)
self.value = value
self.continuation_token = continuation_token
self.next_link = next_link
class PaginatedPublishedPipelineSummaryList(msrest.serialization.Model):
"""A paginated list of PublishedPipelineSummarys.
:ivar value: An array of objects of type PublishedPipelineSummary.
:vartype value: list[~flow.models.PublishedPipelineSummary]
:ivar continuation_token: The token used in retrieving the next page. If null, there are no
additional pages.
:vartype continuation_token: str
:ivar next_link: The link to the next page constructed using the continuationToken. If null,
there are no additional pages.
:vartype next_link: str
"""
_attribute_map = {
'value': {'key': 'value', 'type': '[PublishedPipelineSummary]'},
'continuation_token': {'key': 'continuationToken', 'type': 'str'},
'next_link': {'key': 'nextLink', 'type': 'str'},
}
def __init__(
self,
*,
value: Optional[List["PublishedPipelineSummary"]] = None,
continuation_token: Optional[str] = None,
next_link: Optional[str] = None,
**kwargs
):
"""
:keyword value: An array of objects of type PublishedPipelineSummary.
:paramtype value: list[~flow.models.PublishedPipelineSummary]
:keyword continuation_token: The token used in retrieving the next page. If null, there are no
additional pages.
:paramtype continuation_token: str
:keyword next_link: The link to the next page constructed using the continuationToken. If
null, there are no additional pages.
:paramtype next_link: str
"""
super(PaginatedPublishedPipelineSummaryList, self).__init__(**kwargs)
self.value = value
self.continuation_token = continuation_token
self.next_link = next_link
class ParallelForControlFlowInfo(msrest.serialization.Model):
"""ParallelForControlFlowInfo.
:ivar parallel_for_items_input:
:vartype parallel_for_items_input: ~flow.models.ParameterAssignment
"""
_attribute_map = {
'parallel_for_items_input': {'key': 'parallelForItemsInput', 'type': 'ParameterAssignment'},
}
def __init__(
self,
*,
parallel_for_items_input: Optional["ParameterAssignment"] = None,
**kwargs
):
"""
:keyword parallel_for_items_input:
:paramtype parallel_for_items_input: ~flow.models.ParameterAssignment
"""
super(ParallelForControlFlowInfo, self).__init__(**kwargs)
self.parallel_for_items_input = parallel_for_items_input
class ParallelTaskConfiguration(msrest.serialization.Model):
"""ParallelTaskConfiguration.
:ivar max_retries_per_worker:
:vartype max_retries_per_worker: int
:ivar worker_count_per_node:
:vartype worker_count_per_node: int
:ivar terminal_exit_codes:
:vartype terminal_exit_codes: list[int]
:ivar configuration: Dictionary of :code:`<string>`.
:vartype configuration: dict[str, str]
"""
_attribute_map = {
'max_retries_per_worker': {'key': 'maxRetriesPerWorker', 'type': 'int'},
'worker_count_per_node': {'key': 'workerCountPerNode', 'type': 'int'},
'terminal_exit_codes': {'key': 'terminalExitCodes', 'type': '[int]'},
'configuration': {'key': 'configuration', 'type': '{str}'},
}
def __init__(
self,
*,
max_retries_per_worker: Optional[int] = None,
worker_count_per_node: Optional[int] = None,
terminal_exit_codes: Optional[List[int]] = None,
configuration: Optional[Dict[str, str]] = None,
**kwargs
):
"""
:keyword max_retries_per_worker:
:paramtype max_retries_per_worker: int
:keyword worker_count_per_node:
:paramtype worker_count_per_node: int
:keyword terminal_exit_codes:
:paramtype terminal_exit_codes: list[int]
:keyword configuration: Dictionary of :code:`<string>`.
:paramtype configuration: dict[str, str]
"""
super(ParallelTaskConfiguration, self).__init__(**kwargs)
self.max_retries_per_worker = max_retries_per_worker
self.worker_count_per_node = worker_count_per_node
self.terminal_exit_codes = terminal_exit_codes
self.configuration = configuration
class Parameter(msrest.serialization.Model):
"""Parameter.
:ivar name:
:vartype name: str
:ivar documentation:
:vartype documentation: str
:ivar default_value:
:vartype default_value: str
:ivar is_optional:
:vartype is_optional: bool
:ivar min_max_rules:
:vartype min_max_rules: list[~flow.models.MinMaxParameterRule]
:ivar enum_rules:
:vartype enum_rules: list[~flow.models.EnumParameterRule]
:ivar type: Possible values include: "Int", "Double", "Bool", "String", "Undefined".
:vartype type: str or ~flow.models.ParameterType
:ivar label:
:vartype label: str
:ivar group_names:
:vartype group_names: list[str]
:ivar argument_name:
:vartype argument_name: str
:ivar ui_hint:
:vartype ui_hint: ~flow.models.UIParameterHint
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'documentation': {'key': 'documentation', 'type': 'str'},
'default_value': {'key': 'defaultValue', 'type': 'str'},
'is_optional': {'key': 'isOptional', 'type': 'bool'},
'min_max_rules': {'key': 'minMaxRules', 'type': '[MinMaxParameterRule]'},
'enum_rules': {'key': 'enumRules', 'type': '[EnumParameterRule]'},
'type': {'key': 'type', 'type': 'str'},
'label': {'key': 'label', 'type': 'str'},
'group_names': {'key': 'groupNames', 'type': '[str]'},
'argument_name': {'key': 'argumentName', 'type': 'str'},
'ui_hint': {'key': 'uiHint', 'type': 'UIParameterHint'},
}
def __init__(
self,
*,
name: Optional[str] = None,
documentation: Optional[str] = None,
default_value: Optional[str] = None,
is_optional: Optional[bool] = None,
min_max_rules: Optional[List["MinMaxParameterRule"]] = None,
enum_rules: Optional[List["EnumParameterRule"]] = None,
type: Optional[Union[str, "ParameterType"]] = None,
label: Optional[str] = None,
group_names: Optional[List[str]] = None,
argument_name: Optional[str] = None,
ui_hint: Optional["UIParameterHint"] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword documentation:
:paramtype documentation: str
:keyword default_value:
:paramtype default_value: str
:keyword is_optional:
:paramtype is_optional: bool
:keyword min_max_rules:
:paramtype min_max_rules: list[~flow.models.MinMaxParameterRule]
:keyword enum_rules:
:paramtype enum_rules: list[~flow.models.EnumParameterRule]
:keyword type: Possible values include: "Int", "Double", "Bool", "String", "Undefined".
:paramtype type: str or ~flow.models.ParameterType
:keyword label:
:paramtype label: str
:keyword group_names:
:paramtype group_names: list[str]
:keyword argument_name:
:paramtype argument_name: str
:keyword ui_hint:
:paramtype ui_hint: ~flow.models.UIParameterHint
"""
super(Parameter, self).__init__(**kwargs)
self.name = name
self.documentation = documentation
self.default_value = default_value
self.is_optional = is_optional
self.min_max_rules = min_max_rules
self.enum_rules = enum_rules
self.type = type
self.label = label
self.group_names = group_names
self.argument_name = argument_name
self.ui_hint = ui_hint
class ParameterAssignment(msrest.serialization.Model):
"""ParameterAssignment.
:ivar value_type: Possible values include: "Literal", "GraphParameterName", "Concatenate",
"Input", "DataPath", "DataSetDefinition".
:vartype value_type: str or ~flow.models.ParameterValueType
:ivar assignments_to_concatenate:
:vartype assignments_to_concatenate: list[~flow.models.ParameterAssignment]
:ivar data_path_assignment:
:vartype data_path_assignment: ~flow.models.LegacyDataPath
:ivar data_set_definition_value_assignment:
:vartype data_set_definition_value_assignment: ~flow.models.DataSetDefinitionValue
:ivar name:
:vartype name: str
:ivar value:
:vartype value: str
"""
_attribute_map = {
'value_type': {'key': 'valueType', 'type': 'str'},
'assignments_to_concatenate': {'key': 'assignmentsToConcatenate', 'type': '[ParameterAssignment]'},
'data_path_assignment': {'key': 'dataPathAssignment', 'type': 'LegacyDataPath'},
'data_set_definition_value_assignment': {'key': 'dataSetDefinitionValueAssignment', 'type': 'DataSetDefinitionValue'},
'name': {'key': 'name', 'type': 'str'},
'value': {'key': 'value', 'type': 'str'},
}
def __init__(
self,
*,
value_type: Optional[Union[str, "ParameterValueType"]] = None,
assignments_to_concatenate: Optional[List["ParameterAssignment"]] = None,
data_path_assignment: Optional["LegacyDataPath"] = None,
data_set_definition_value_assignment: Optional["DataSetDefinitionValue"] = None,
name: Optional[str] = None,
value: Optional[str] = None,
**kwargs
):
"""
:keyword value_type: Possible values include: "Literal", "GraphParameterName", "Concatenate",
"Input", "DataPath", "DataSetDefinition".
:paramtype value_type: str or ~flow.models.ParameterValueType
:keyword assignments_to_concatenate:
:paramtype assignments_to_concatenate: list[~flow.models.ParameterAssignment]
:keyword data_path_assignment:
:paramtype data_path_assignment: ~flow.models.LegacyDataPath
:keyword data_set_definition_value_assignment:
:paramtype data_set_definition_value_assignment: ~flow.models.DataSetDefinitionValue
:keyword name:
:paramtype name: str
:keyword value:
:paramtype value: str
"""
super(ParameterAssignment, self).__init__(**kwargs)
self.value_type = value_type
self.assignments_to_concatenate = assignments_to_concatenate
self.data_path_assignment = data_path_assignment
self.data_set_definition_value_assignment = data_set_definition_value_assignment
self.name = name
self.value = value
class ParameterDefinition(msrest.serialization.Model):
"""ParameterDefinition.
:ivar name:
:vartype name: str
:ivar type:
:vartype type: str
:ivar value:
:vartype value: str
:ivar is_optional:
:vartype is_optional: bool
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'value': {'key': 'value', 'type': 'str'},
'is_optional': {'key': 'isOptional', 'type': 'bool'},
}
def __init__(
self,
*,
name: Optional[str] = None,
type: Optional[str] = None,
value: Optional[str] = None,
is_optional: Optional[bool] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword type:
:paramtype type: str
:keyword value:
:paramtype value: str
:keyword is_optional:
:paramtype is_optional: bool
"""
super(ParameterDefinition, self).__init__(**kwargs)
self.name = name
self.type = type
self.value = value
self.is_optional = is_optional
class PatchFlowRequest(msrest.serialization.Model):
"""PatchFlowRequest.
:ivar flow_patch_operation_type: Possible values include: "ArchiveFlow", "RestoreFlow",
"ExportFlowToFile".
:vartype flow_patch_operation_type: str or ~flow.models.FlowPatchOperationType
:ivar flow_definition_file_path:
:vartype flow_definition_file_path: str
"""
_attribute_map = {
'flow_patch_operation_type': {'key': 'flowPatchOperationType', 'type': 'str'},
'flow_definition_file_path': {'key': 'flowDefinitionFilePath', 'type': 'str'},
}
def __init__(
self,
*,
flow_patch_operation_type: Optional[Union[str, "FlowPatchOperationType"]] = None,
flow_definition_file_path: Optional[str] = None,
**kwargs
):
"""
:keyword flow_patch_operation_type: Possible values include: "ArchiveFlow", "RestoreFlow",
"ExportFlowToFile".
:paramtype flow_patch_operation_type: str or ~flow.models.FlowPatchOperationType
:keyword flow_definition_file_path:
:paramtype flow_definition_file_path: str
"""
super(PatchFlowRequest, self).__init__(**kwargs)
self.flow_patch_operation_type = flow_patch_operation_type
self.flow_definition_file_path = flow_definition_file_path
class Pipeline(msrest.serialization.Model):
"""Pipeline.
:ivar run_id:
:vartype run_id: str
:ivar continue_run_on_step_failure:
:vartype continue_run_on_step_failure: bool
:ivar default_datastore_name:
:vartype default_datastore_name: str
:ivar component_jobs: This is a dictionary.
:vartype component_jobs: dict[str, ~flow.models.ComponentJob]
:ivar inputs: This is a dictionary.
:vartype inputs: dict[str, ~flow.models.PipelineInput]
:ivar outputs: This is a dictionary.
:vartype outputs: dict[str, ~flow.models.PipelineOutput]
"""
_attribute_map = {
'run_id': {'key': 'runId', 'type': 'str'},
'continue_run_on_step_failure': {'key': 'continueRunOnStepFailure', 'type': 'bool'},
'default_datastore_name': {'key': 'defaultDatastoreName', 'type': 'str'},
'component_jobs': {'key': 'componentJobs', 'type': '{ComponentJob}'},
'inputs': {'key': 'inputs', 'type': '{PipelineInput}'},
'outputs': {'key': 'outputs', 'type': '{PipelineOutput}'},
}
def __init__(
self,
*,
run_id: Optional[str] = None,
continue_run_on_step_failure: Optional[bool] = None,
default_datastore_name: Optional[str] = None,
component_jobs: Optional[Dict[str, "ComponentJob"]] = None,
inputs: Optional[Dict[str, "PipelineInput"]] = None,
outputs: Optional[Dict[str, "PipelineOutput"]] = None,
**kwargs
):
"""
:keyword run_id:
:paramtype run_id: str
:keyword continue_run_on_step_failure:
:paramtype continue_run_on_step_failure: bool
:keyword default_datastore_name:
:paramtype default_datastore_name: str
:keyword component_jobs: This is a dictionary.
:paramtype component_jobs: dict[str, ~flow.models.ComponentJob]
:keyword inputs: This is a dictionary.
:paramtype inputs: dict[str, ~flow.models.PipelineInput]
:keyword outputs: This is a dictionary.
:paramtype outputs: dict[str, ~flow.models.PipelineOutput]
"""
super(Pipeline, self).__init__(**kwargs)
self.run_id = run_id
self.continue_run_on_step_failure = continue_run_on_step_failure
self.default_datastore_name = default_datastore_name
self.component_jobs = component_jobs
self.inputs = inputs
self.outputs = outputs
class PipelineDraft(msrest.serialization.Model):
"""PipelineDraft.
:ivar graph_draft_id:
:vartype graph_draft_id: str
:ivar source_pipeline_run_id:
:vartype source_pipeline_run_id: str
:ivar latest_pipeline_run_id:
:vartype latest_pipeline_run_id: str
:ivar latest_run_experiment_name:
:vartype latest_run_experiment_name: str
:ivar latest_run_experiment_id:
:vartype latest_run_experiment_id: str
:ivar is_latest_run_experiment_archived:
:vartype is_latest_run_experiment_archived: bool
:ivar status:
:vartype status: ~flow.models.PipelineStatus
:ivar graph_detail:
:vartype graph_detail: ~flow.models.PipelineRunGraphDetail
:ivar real_time_endpoint_info:
:vartype real_time_endpoint_info: ~flow.models.RealTimeEndpointInfo
:ivar linked_pipelines_info:
:vartype linked_pipelines_info: list[~flow.models.LinkedPipelineInfo]
:ivar nodes_in_draft:
:vartype nodes_in_draft: list[str]
:ivar studio_migration_info:
:vartype studio_migration_info: ~flow.models.StudioMigrationInfo
:ivar flattened_sub_graphs: Dictionary of :code:`<PipelineSubDraft>`.
:vartype flattened_sub_graphs: dict[str, ~flow.models.PipelineSubDraft]
:ivar pipeline_run_setting_parameters:
:vartype pipeline_run_setting_parameters: list[~flow.models.RunSettingParameter]
:ivar pipeline_run_settings:
:vartype pipeline_run_settings: list[~flow.models.RunSettingParameterAssignment]
:ivar continue_run_on_step_failure:
:vartype continue_run_on_step_failure: bool
:ivar continue_run_on_failed_optional_input:
:vartype continue_run_on_failed_optional_input: bool
:ivar default_compute:
:vartype default_compute: ~flow.models.ComputeSetting
:ivar default_datastore:
:vartype default_datastore: ~flow.models.DatastoreSetting
:ivar default_cloud_priority:
:vartype default_cloud_priority: ~flow.models.CloudPrioritySetting
:ivar enforce_rerun:
:vartype enforce_rerun: bool
:ivar pipeline_parameters: This is a dictionary.
:vartype pipeline_parameters: dict[str, str]
:ivar data_path_assignments: This is a dictionary.
:vartype data_path_assignments: dict[str, ~flow.models.LegacyDataPath]
:ivar data_set_definition_value_assignments: This is a dictionary.
:vartype data_set_definition_value_assignments: dict[str, ~flow.models.DataSetDefinitionValue]
:ivar asset_output_settings_assignments: This is a dictionary.
:vartype asset_output_settings_assignments: dict[str, ~flow.models.AssetOutputSettings]
:ivar pipeline_timeout:
:vartype pipeline_timeout: int
:ivar identity_config:
:vartype identity_config: ~flow.models.IdentitySetting
:ivar graph_components_mode: Possible values include: "Normal", "AllDesignerBuildin",
"ContainsDesignerBuildin".
:vartype graph_components_mode: str or ~flow.models.GraphComponentsMode
:ivar name:
:vartype name: str
:ivar last_edited_by:
:vartype last_edited_by: str
:ivar created_by:
:vartype created_by: str
:ivar description:
:vartype description: str
:ivar pipeline_type: Possible values include: "TrainingPipeline", "RealTimeInferencePipeline",
"BatchInferencePipeline", "Unknown".
:vartype pipeline_type: str or ~flow.models.PipelineType
:ivar pipeline_draft_mode: Possible values include: "None", "Normal", "Custom".
:vartype pipeline_draft_mode: str or ~flow.models.PipelineDraftMode
:ivar tags: A set of tags. This is a dictionary.
:vartype tags: dict[str, str]
:ivar properties: This is a dictionary.
:vartype properties: dict[str, str]
:ivar entity_status: Possible values include: "Active", "Deprecated", "Disabled".
:vartype entity_status: str or ~flow.models.EntityStatus
:ivar id:
:vartype id: str
:ivar etag:
:vartype etag: str
:ivar created_date:
:vartype created_date: ~datetime.datetime
:ivar last_modified_date:
:vartype last_modified_date: ~datetime.datetime
"""
_attribute_map = {
'graph_draft_id': {'key': 'graphDraftId', 'type': 'str'},
'source_pipeline_run_id': {'key': 'sourcePipelineRunId', 'type': 'str'},
'latest_pipeline_run_id': {'key': 'latestPipelineRunId', 'type': 'str'},
'latest_run_experiment_name': {'key': 'latestRunExperimentName', 'type': 'str'},
'latest_run_experiment_id': {'key': 'latestRunExperimentId', 'type': 'str'},
'is_latest_run_experiment_archived': {'key': 'isLatestRunExperimentArchived', 'type': 'bool'},
'status': {'key': 'status', 'type': 'PipelineStatus'},
'graph_detail': {'key': 'graphDetail', 'type': 'PipelineRunGraphDetail'},
'real_time_endpoint_info': {'key': 'realTimeEndpointInfo', 'type': 'RealTimeEndpointInfo'},
'linked_pipelines_info': {'key': 'linkedPipelinesInfo', 'type': '[LinkedPipelineInfo]'},
'nodes_in_draft': {'key': 'nodesInDraft', 'type': '[str]'},
'studio_migration_info': {'key': 'studioMigrationInfo', 'type': 'StudioMigrationInfo'},
'flattened_sub_graphs': {'key': 'flattenedSubGraphs', 'type': '{PipelineSubDraft}'},
'pipeline_run_setting_parameters': {'key': 'pipelineRunSettingParameters', 'type': '[RunSettingParameter]'},
'pipeline_run_settings': {'key': 'pipelineRunSettings', 'type': '[RunSettingParameterAssignment]'},
'continue_run_on_step_failure': {'key': 'continueRunOnStepFailure', 'type': 'bool'},
'continue_run_on_failed_optional_input': {'key': 'continueRunOnFailedOptionalInput', 'type': 'bool'},
'default_compute': {'key': 'defaultCompute', 'type': 'ComputeSetting'},
'default_datastore': {'key': 'defaultDatastore', 'type': 'DatastoreSetting'},
'default_cloud_priority': {'key': 'defaultCloudPriority', 'type': 'CloudPrioritySetting'},
'enforce_rerun': {'key': 'enforceRerun', 'type': 'bool'},
'pipeline_parameters': {'key': 'pipelineParameters', 'type': '{str}'},
'data_path_assignments': {'key': 'dataPathAssignments', 'type': '{LegacyDataPath}'},
'data_set_definition_value_assignments': {'key': 'dataSetDefinitionValueAssignments', 'type': '{DataSetDefinitionValue}'},
'asset_output_settings_assignments': {'key': 'assetOutputSettingsAssignments', 'type': '{AssetOutputSettings}'},
'pipeline_timeout': {'key': 'pipelineTimeout', 'type': 'int'},
'identity_config': {'key': 'identityConfig', 'type': 'IdentitySetting'},
'graph_components_mode': {'key': 'graphComponentsMode', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'last_edited_by': {'key': 'lastEditedBy', 'type': 'str'},
'created_by': {'key': 'createdBy', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'pipeline_type': {'key': 'pipelineType', 'type': 'str'},
'pipeline_draft_mode': {'key': 'pipelineDraftMode', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'properties': {'key': 'properties', 'type': '{str}'},
'entity_status': {'key': 'entityStatus', 'type': 'str'},
'id': {'key': 'id', 'type': 'str'},
'etag': {'key': 'etag', 'type': 'str'},
'created_date': {'key': 'createdDate', 'type': 'iso-8601'},
'last_modified_date': {'key': 'lastModifiedDate', 'type': 'iso-8601'},
}
def __init__(
self,
*,
graph_draft_id: Optional[str] = None,
source_pipeline_run_id: Optional[str] = None,
latest_pipeline_run_id: Optional[str] = None,
latest_run_experiment_name: Optional[str] = None,
latest_run_experiment_id: Optional[str] = None,
is_latest_run_experiment_archived: Optional[bool] = None,
status: Optional["PipelineStatus"] = None,
graph_detail: Optional["PipelineRunGraphDetail"] = None,
real_time_endpoint_info: Optional["RealTimeEndpointInfo"] = None,
linked_pipelines_info: Optional[List["LinkedPipelineInfo"]] = None,
nodes_in_draft: Optional[List[str]] = None,
studio_migration_info: Optional["StudioMigrationInfo"] = None,
flattened_sub_graphs: Optional[Dict[str, "PipelineSubDraft"]] = None,
pipeline_run_setting_parameters: Optional[List["RunSettingParameter"]] = None,
pipeline_run_settings: Optional[List["RunSettingParameterAssignment"]] = None,
continue_run_on_step_failure: Optional[bool] = None,
continue_run_on_failed_optional_input: Optional[bool] = None,
default_compute: Optional["ComputeSetting"] = None,
default_datastore: Optional["DatastoreSetting"] = None,
default_cloud_priority: Optional["CloudPrioritySetting"] = None,
enforce_rerun: Optional[bool] = None,
pipeline_parameters: Optional[Dict[str, str]] = None,
data_path_assignments: Optional[Dict[str, "LegacyDataPath"]] = None,
data_set_definition_value_assignments: Optional[Dict[str, "DataSetDefinitionValue"]] = None,
asset_output_settings_assignments: Optional[Dict[str, "AssetOutputSettings"]] = None,
pipeline_timeout: Optional[int] = None,
identity_config: Optional["IdentitySetting"] = None,
graph_components_mode: Optional[Union[str, "GraphComponentsMode"]] = None,
name: Optional[str] = None,
last_edited_by: Optional[str] = None,
created_by: Optional[str] = None,
description: Optional[str] = None,
pipeline_type: Optional[Union[str, "PipelineType"]] = None,
pipeline_draft_mode: Optional[Union[str, "PipelineDraftMode"]] = None,
tags: Optional[Dict[str, str]] = None,
properties: Optional[Dict[str, str]] = None,
entity_status: Optional[Union[str, "EntityStatus"]] = None,
id: Optional[str] = None,
etag: Optional[str] = None,
created_date: Optional[datetime.datetime] = None,
last_modified_date: Optional[datetime.datetime] = None,
**kwargs
):
"""
:keyword graph_draft_id:
:paramtype graph_draft_id: str
:keyword source_pipeline_run_id:
:paramtype source_pipeline_run_id: str
:keyword latest_pipeline_run_id:
:paramtype latest_pipeline_run_id: str
:keyword latest_run_experiment_name:
:paramtype latest_run_experiment_name: str
:keyword latest_run_experiment_id:
:paramtype latest_run_experiment_id: str
:keyword is_latest_run_experiment_archived:
:paramtype is_latest_run_experiment_archived: bool
:keyword status:
:paramtype status: ~flow.models.PipelineStatus
:keyword graph_detail:
:paramtype graph_detail: ~flow.models.PipelineRunGraphDetail
:keyword real_time_endpoint_info:
:paramtype real_time_endpoint_info: ~flow.models.RealTimeEndpointInfo
:keyword linked_pipelines_info:
:paramtype linked_pipelines_info: list[~flow.models.LinkedPipelineInfo]
:keyword nodes_in_draft:
:paramtype nodes_in_draft: list[str]
:keyword studio_migration_info:
:paramtype studio_migration_info: ~flow.models.StudioMigrationInfo
:keyword flattened_sub_graphs: Dictionary of :code:`<PipelineSubDraft>`.
:paramtype flattened_sub_graphs: dict[str, ~flow.models.PipelineSubDraft]
:keyword pipeline_run_setting_parameters:
:paramtype pipeline_run_setting_parameters: list[~flow.models.RunSettingParameter]
:keyword pipeline_run_settings:
:paramtype pipeline_run_settings: list[~flow.models.RunSettingParameterAssignment]
:keyword continue_run_on_step_failure:
:paramtype continue_run_on_step_failure: bool
:keyword continue_run_on_failed_optional_input:
:paramtype continue_run_on_failed_optional_input: bool
:keyword default_compute:
:paramtype default_compute: ~flow.models.ComputeSetting
:keyword default_datastore:
:paramtype default_datastore: ~flow.models.DatastoreSetting
:keyword default_cloud_priority:
:paramtype default_cloud_priority: ~flow.models.CloudPrioritySetting
:keyword enforce_rerun:
:paramtype enforce_rerun: bool
:keyword pipeline_parameters: This is a dictionary.
:paramtype pipeline_parameters: dict[str, str]
:keyword data_path_assignments: This is a dictionary.
:paramtype data_path_assignments: dict[str, ~flow.models.LegacyDataPath]
:keyword data_set_definition_value_assignments: This is a dictionary.
:paramtype data_set_definition_value_assignments: dict[str,
~flow.models.DataSetDefinitionValue]
:keyword asset_output_settings_assignments: This is a dictionary.
:paramtype asset_output_settings_assignments: dict[str, ~flow.models.AssetOutputSettings]
:keyword pipeline_timeout:
:paramtype pipeline_timeout: int
:keyword identity_config:
:paramtype identity_config: ~flow.models.IdentitySetting
:keyword graph_components_mode: Possible values include: "Normal", "AllDesignerBuildin",
"ContainsDesignerBuildin".
:paramtype graph_components_mode: str or ~flow.models.GraphComponentsMode
:keyword name:
:paramtype name: str
:keyword last_edited_by:
:paramtype last_edited_by: str
:keyword created_by:
:paramtype created_by: str
:keyword description:
:paramtype description: str
:keyword pipeline_type: Possible values include: "TrainingPipeline",
"RealTimeInferencePipeline", "BatchInferencePipeline", "Unknown".
:paramtype pipeline_type: str or ~flow.models.PipelineType
:keyword pipeline_draft_mode: Possible values include: "None", "Normal", "Custom".
:paramtype pipeline_draft_mode: str or ~flow.models.PipelineDraftMode
:keyword tags: A set of tags. This is a dictionary.
:paramtype tags: dict[str, str]
:keyword properties: This is a dictionary.
:paramtype properties: dict[str, str]
:keyword entity_status: Possible values include: "Active", "Deprecated", "Disabled".
:paramtype entity_status: str or ~flow.models.EntityStatus
:keyword id:
:paramtype id: str
:keyword etag:
:paramtype etag: str
:keyword created_date:
:paramtype created_date: ~datetime.datetime
:keyword last_modified_date:
:paramtype last_modified_date: ~datetime.datetime
"""
super(PipelineDraft, self).__init__(**kwargs)
self.graph_draft_id = graph_draft_id
self.source_pipeline_run_id = source_pipeline_run_id
self.latest_pipeline_run_id = latest_pipeline_run_id
self.latest_run_experiment_name = latest_run_experiment_name
self.latest_run_experiment_id = latest_run_experiment_id
self.is_latest_run_experiment_archived = is_latest_run_experiment_archived
self.status = status
self.graph_detail = graph_detail
self.real_time_endpoint_info = real_time_endpoint_info
self.linked_pipelines_info = linked_pipelines_info
self.nodes_in_draft = nodes_in_draft
self.studio_migration_info = studio_migration_info
self.flattened_sub_graphs = flattened_sub_graphs
self.pipeline_run_setting_parameters = pipeline_run_setting_parameters
self.pipeline_run_settings = pipeline_run_settings
self.continue_run_on_step_failure = continue_run_on_step_failure
self.continue_run_on_failed_optional_input = continue_run_on_failed_optional_input
self.default_compute = default_compute
self.default_datastore = default_datastore
self.default_cloud_priority = default_cloud_priority
self.enforce_rerun = enforce_rerun
self.pipeline_parameters = pipeline_parameters
self.data_path_assignments = data_path_assignments
self.data_set_definition_value_assignments = data_set_definition_value_assignments
self.asset_output_settings_assignments = asset_output_settings_assignments
self.pipeline_timeout = pipeline_timeout
self.identity_config = identity_config
self.graph_components_mode = graph_components_mode
self.name = name
self.last_edited_by = last_edited_by
self.created_by = created_by
self.description = description
self.pipeline_type = pipeline_type
self.pipeline_draft_mode = pipeline_draft_mode
self.tags = tags
self.properties = properties
self.entity_status = entity_status
self.id = id
self.etag = etag
self.created_date = created_date
self.last_modified_date = last_modified_date
class PipelineDraftStepDetails(msrest.serialization.Model):
"""PipelineDraftStepDetails.
:ivar run_id:
:vartype run_id: str
:ivar target:
:vartype target: str
:ivar status: Possible values include: "NotStarted", "Unapproved", "Pausing", "Paused",
"Starting", "Preparing", "Queued", "Running", "Finalizing", "CancelRequested", "Completed",
"Failed", "Canceled".
:vartype status: str or ~flow.models.RunStatus
:ivar status_detail:
:vartype status_detail: str
:ivar parent_run_id:
:vartype parent_run_id: str
:ivar start_time:
:vartype start_time: ~datetime.datetime
:ivar end_time:
:vartype end_time: ~datetime.datetime
:ivar is_reused:
:vartype is_reused: bool
:ivar reused_run_id:
:vartype reused_run_id: str
:ivar reused_pipeline_run_id:
:vartype reused_pipeline_run_id: str
:ivar logs: This is a dictionary.
:vartype logs: dict[str, str]
:ivar output_log:
:vartype output_log: str
:ivar run_configuration:
:vartype run_configuration: ~flow.models.RunConfiguration
:ivar outputs: This is a dictionary.
:vartype outputs: dict[str, str]
:ivar port_outputs: This is a dictionary.
:vartype port_outputs: dict[str, ~flow.models.PortOutputInfo]
:ivar is_experiment_archived:
:vartype is_experiment_archived: bool
"""
_attribute_map = {
'run_id': {'key': 'runId', 'type': 'str'},
'target': {'key': 'target', 'type': 'str'},
'status': {'key': 'status', 'type': 'str'},
'status_detail': {'key': 'statusDetail', 'type': 'str'},
'parent_run_id': {'key': 'parentRunId', 'type': 'str'},
'start_time': {'key': 'startTime', 'type': 'iso-8601'},
'end_time': {'key': 'endTime', 'type': 'iso-8601'},
'is_reused': {'key': 'isReused', 'type': 'bool'},
'reused_run_id': {'key': 'reusedRunId', 'type': 'str'},
'reused_pipeline_run_id': {'key': 'reusedPipelineRunId', 'type': 'str'},
'logs': {'key': 'logs', 'type': '{str}'},
'output_log': {'key': 'outputLog', 'type': 'str'},
'run_configuration': {'key': 'runConfiguration', 'type': 'RunConfiguration'},
'outputs': {'key': 'outputs', 'type': '{str}'},
'port_outputs': {'key': 'portOutputs', 'type': '{PortOutputInfo}'},
'is_experiment_archived': {'key': 'isExperimentArchived', 'type': 'bool'},
}
def __init__(
self,
*,
run_id: Optional[str] = None,
target: Optional[str] = None,
status: Optional[Union[str, "RunStatus"]] = None,
status_detail: Optional[str] = None,
parent_run_id: Optional[str] = None,
start_time: Optional[datetime.datetime] = None,
end_time: Optional[datetime.datetime] = None,
is_reused: Optional[bool] = None,
reused_run_id: Optional[str] = None,
reused_pipeline_run_id: Optional[str] = None,
logs: Optional[Dict[str, str]] = None,
output_log: Optional[str] = None,
run_configuration: Optional["RunConfiguration"] = None,
outputs: Optional[Dict[str, str]] = None,
port_outputs: Optional[Dict[str, "PortOutputInfo"]] = None,
is_experiment_archived: Optional[bool] = None,
**kwargs
):
"""
:keyword run_id:
:paramtype run_id: str
:keyword target:
:paramtype target: str
:keyword status: Possible values include: "NotStarted", "Unapproved", "Pausing", "Paused",
"Starting", "Preparing", "Queued", "Running", "Finalizing", "CancelRequested", "Completed",
"Failed", "Canceled".
:paramtype status: str or ~flow.models.RunStatus
:keyword status_detail:
:paramtype status_detail: str
:keyword parent_run_id:
:paramtype parent_run_id: str
:keyword start_time:
:paramtype start_time: ~datetime.datetime
:keyword end_time:
:paramtype end_time: ~datetime.datetime
:keyword is_reused:
:paramtype is_reused: bool
:keyword reused_run_id:
:paramtype reused_run_id: str
:keyword reused_pipeline_run_id:
:paramtype reused_pipeline_run_id: str
:keyword logs: This is a dictionary.
:paramtype logs: dict[str, str]
:keyword output_log:
:paramtype output_log: str
:keyword run_configuration:
:paramtype run_configuration: ~flow.models.RunConfiguration
:keyword outputs: This is a dictionary.
:paramtype outputs: dict[str, str]
:keyword port_outputs: This is a dictionary.
:paramtype port_outputs: dict[str, ~flow.models.PortOutputInfo]
:keyword is_experiment_archived:
:paramtype is_experiment_archived: bool
"""
super(PipelineDraftStepDetails, self).__init__(**kwargs)
self.run_id = run_id
self.target = target
self.status = status
self.status_detail = status_detail
self.parent_run_id = parent_run_id
self.start_time = start_time
self.end_time = end_time
self.is_reused = is_reused
self.reused_run_id = reused_run_id
self.reused_pipeline_run_id = reused_pipeline_run_id
self.logs = logs
self.output_log = output_log
self.run_configuration = run_configuration
self.outputs = outputs
self.port_outputs = port_outputs
self.is_experiment_archived = is_experiment_archived
class PipelineDraftSummary(msrest.serialization.Model):
"""PipelineDraftSummary.
:ivar name:
:vartype name: str
:ivar last_edited_by:
:vartype last_edited_by: str
:ivar created_by:
:vartype created_by: str
:ivar description:
:vartype description: str
:ivar pipeline_type: Possible values include: "TrainingPipeline", "RealTimeInferencePipeline",
"BatchInferencePipeline", "Unknown".
:vartype pipeline_type: str or ~flow.models.PipelineType
:ivar pipeline_draft_mode: Possible values include: "None", "Normal", "Custom".
:vartype pipeline_draft_mode: str or ~flow.models.PipelineDraftMode
:ivar tags: A set of tags. This is a dictionary.
:vartype tags: dict[str, str]
:ivar properties: This is a dictionary.
:vartype properties: dict[str, str]
:ivar entity_status: Possible values include: "Active", "Deprecated", "Disabled".
:vartype entity_status: str or ~flow.models.EntityStatus
:ivar id:
:vartype id: str
:ivar etag:
:vartype etag: str
:ivar created_date:
:vartype created_date: ~datetime.datetime
:ivar last_modified_date:
:vartype last_modified_date: ~datetime.datetime
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'last_edited_by': {'key': 'lastEditedBy', 'type': 'str'},
'created_by': {'key': 'createdBy', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'pipeline_type': {'key': 'pipelineType', 'type': 'str'},
'pipeline_draft_mode': {'key': 'pipelineDraftMode', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'properties': {'key': 'properties', 'type': '{str}'},
'entity_status': {'key': 'entityStatus', 'type': 'str'},
'id': {'key': 'id', 'type': 'str'},
'etag': {'key': 'etag', 'type': 'str'},
'created_date': {'key': 'createdDate', 'type': 'iso-8601'},
'last_modified_date': {'key': 'lastModifiedDate', 'type': 'iso-8601'},
}
def __init__(
self,
*,
name: Optional[str] = None,
last_edited_by: Optional[str] = None,
created_by: Optional[str] = None,
description: Optional[str] = None,
pipeline_type: Optional[Union[str, "PipelineType"]] = None,
pipeline_draft_mode: Optional[Union[str, "PipelineDraftMode"]] = None,
tags: Optional[Dict[str, str]] = None,
properties: Optional[Dict[str, str]] = None,
entity_status: Optional[Union[str, "EntityStatus"]] = None,
id: Optional[str] = None,
etag: Optional[str] = None,
created_date: Optional[datetime.datetime] = None,
last_modified_date: Optional[datetime.datetime] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword last_edited_by:
:paramtype last_edited_by: str
:keyword created_by:
:paramtype created_by: str
:keyword description:
:paramtype description: str
:keyword pipeline_type: Possible values include: "TrainingPipeline",
"RealTimeInferencePipeline", "BatchInferencePipeline", "Unknown".
:paramtype pipeline_type: str or ~flow.models.PipelineType
:keyword pipeline_draft_mode: Possible values include: "None", "Normal", "Custom".
:paramtype pipeline_draft_mode: str or ~flow.models.PipelineDraftMode
:keyword tags: A set of tags. This is a dictionary.
:paramtype tags: dict[str, str]
:keyword properties: This is a dictionary.
:paramtype properties: dict[str, str]
:keyword entity_status: Possible values include: "Active", "Deprecated", "Disabled".
:paramtype entity_status: str or ~flow.models.EntityStatus
:keyword id:
:paramtype id: str
:keyword etag:
:paramtype etag: str
:keyword created_date:
:paramtype created_date: ~datetime.datetime
:keyword last_modified_date:
:paramtype last_modified_date: ~datetime.datetime
"""
super(PipelineDraftSummary, self).__init__(**kwargs)
self.name = name
self.last_edited_by = last_edited_by
self.created_by = created_by
self.description = description
self.pipeline_type = pipeline_type
self.pipeline_draft_mode = pipeline_draft_mode
self.tags = tags
self.properties = properties
self.entity_status = entity_status
self.id = id
self.etag = etag
self.created_date = created_date
self.last_modified_date = last_modified_date
class PipelineEndpoint(msrest.serialization.Model):
"""PipelineEndpoint.
:ivar default_version:
:vartype default_version: str
:ivar default_pipeline_id:
:vartype default_pipeline_id: str
:ivar default_graph_id:
:vartype default_graph_id: str
:ivar rest_endpoint:
:vartype rest_endpoint: str
:ivar published_date:
:vartype published_date: ~datetime.datetime
:ivar published_by:
:vartype published_by: str
:ivar parameters: This is a dictionary.
:vartype parameters: dict[str, str]
:ivar data_set_definition_value_assignment: This is a dictionary.
:vartype data_set_definition_value_assignment: dict[str, ~flow.models.DataSetDefinitionValue]
:ivar default_pipeline_name:
:vartype default_pipeline_name: str
:ivar name:
:vartype name: str
:ivar description:
:vartype description: str
:ivar updated_by:
:vartype updated_by: str
:ivar swagger_url:
:vartype swagger_url: str
:ivar last_run_time:
:vartype last_run_time: ~datetime.datetime
:ivar last_run_status: Possible values include: "NotStarted", "Running", "Failed", "Finished",
"Canceled", "Queued", "CancelRequested".
:vartype last_run_status: str or ~flow.models.PipelineRunStatusCode
:ivar tags: A set of tags. This is a dictionary.
:vartype tags: dict[str, str]
:ivar entity_status: Possible values include: "Active", "Deprecated", "Disabled".
:vartype entity_status: str or ~flow.models.EntityStatus
:ivar id:
:vartype id: str
:ivar etag:
:vartype etag: str
:ivar created_date:
:vartype created_date: ~datetime.datetime
:ivar last_modified_date:
:vartype last_modified_date: ~datetime.datetime
"""
_attribute_map = {
'default_version': {'key': 'defaultVersion', 'type': 'str'},
'default_pipeline_id': {'key': 'defaultPipelineId', 'type': 'str'},
'default_graph_id': {'key': 'defaultGraphId', 'type': 'str'},
'rest_endpoint': {'key': 'restEndpoint', 'type': 'str'},
'published_date': {'key': 'publishedDate', 'type': 'iso-8601'},
'published_by': {'key': 'publishedBy', 'type': 'str'},
'parameters': {'key': 'parameters', 'type': '{str}'},
'data_set_definition_value_assignment': {'key': 'dataSetDefinitionValueAssignment', 'type': '{DataSetDefinitionValue}'},
'default_pipeline_name': {'key': 'defaultPipelineName', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'updated_by': {'key': 'updatedBy', 'type': 'str'},
'swagger_url': {'key': 'swaggerUrl', 'type': 'str'},
'last_run_time': {'key': 'lastRunTime', 'type': 'iso-8601'},
'last_run_status': {'key': 'lastRunStatus', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'entity_status': {'key': 'entityStatus', 'type': 'str'},
'id': {'key': 'id', 'type': 'str'},
'etag': {'key': 'etag', 'type': 'str'},
'created_date': {'key': 'createdDate', 'type': 'iso-8601'},
'last_modified_date': {'key': 'lastModifiedDate', 'type': 'iso-8601'},
}
def __init__(
self,
*,
default_version: Optional[str] = None,
default_pipeline_id: Optional[str] = None,
default_graph_id: Optional[str] = None,
rest_endpoint: Optional[str] = None,
published_date: Optional[datetime.datetime] = None,
published_by: Optional[str] = None,
parameters: Optional[Dict[str, str]] = None,
data_set_definition_value_assignment: Optional[Dict[str, "DataSetDefinitionValue"]] = None,
default_pipeline_name: Optional[str] = None,
name: Optional[str] = None,
description: Optional[str] = None,
updated_by: Optional[str] = None,
swagger_url: Optional[str] = None,
last_run_time: Optional[datetime.datetime] = None,
last_run_status: Optional[Union[str, "PipelineRunStatusCode"]] = None,
tags: Optional[Dict[str, str]] = None,
entity_status: Optional[Union[str, "EntityStatus"]] = None,
id: Optional[str] = None,
etag: Optional[str] = None,
created_date: Optional[datetime.datetime] = None,
last_modified_date: Optional[datetime.datetime] = None,
**kwargs
):
"""
:keyword default_version:
:paramtype default_version: str
:keyword default_pipeline_id:
:paramtype default_pipeline_id: str
:keyword default_graph_id:
:paramtype default_graph_id: str
:keyword rest_endpoint:
:paramtype rest_endpoint: str
:keyword published_date:
:paramtype published_date: ~datetime.datetime
:keyword published_by:
:paramtype published_by: str
:keyword parameters: This is a dictionary.
:paramtype parameters: dict[str, str]
:keyword data_set_definition_value_assignment: This is a dictionary.
:paramtype data_set_definition_value_assignment: dict[str, ~flow.models.DataSetDefinitionValue]
:keyword default_pipeline_name:
:paramtype default_pipeline_name: str
:keyword name:
:paramtype name: str
:keyword description:
:paramtype description: str
:keyword updated_by:
:paramtype updated_by: str
:keyword swagger_url:
:paramtype swagger_url: str
:keyword last_run_time:
:paramtype last_run_time: ~datetime.datetime
:keyword last_run_status: Possible values include: "NotStarted", "Running", "Failed",
"Finished", "Canceled", "Queued", "CancelRequested".
:paramtype last_run_status: str or ~flow.models.PipelineRunStatusCode
:keyword tags: A set of tags. This is a dictionary.
:paramtype tags: dict[str, str]
:keyword entity_status: Possible values include: "Active", "Deprecated", "Disabled".
:paramtype entity_status: str or ~flow.models.EntityStatus
:keyword id:
:paramtype id: str
:keyword etag:
:paramtype etag: str
:keyword created_date:
:paramtype created_date: ~datetime.datetime
:keyword last_modified_date:
:paramtype last_modified_date: ~datetime.datetime
"""
super(PipelineEndpoint, self).__init__(**kwargs)
self.default_version = default_version
self.default_pipeline_id = default_pipeline_id
self.default_graph_id = default_graph_id
self.rest_endpoint = rest_endpoint
self.published_date = published_date
self.published_by = published_by
self.parameters = parameters
self.data_set_definition_value_assignment = data_set_definition_value_assignment
self.default_pipeline_name = default_pipeline_name
self.name = name
self.description = description
self.updated_by = updated_by
self.swagger_url = swagger_url
self.last_run_time = last_run_time
self.last_run_status = last_run_status
self.tags = tags
self.entity_status = entity_status
self.id = id
self.etag = etag
self.created_date = created_date
self.last_modified_date = last_modified_date
class PipelineEndpointSummary(msrest.serialization.Model):
"""PipelineEndpointSummary.
:ivar name:
:vartype name: str
:ivar description:
:vartype description: str
:ivar updated_by:
:vartype updated_by: str
:ivar swagger_url:
:vartype swagger_url: str
:ivar last_run_time:
:vartype last_run_time: ~datetime.datetime
:ivar last_run_status: Possible values include: "NotStarted", "Running", "Failed", "Finished",
"Canceled", "Queued", "CancelRequested".
:vartype last_run_status: str or ~flow.models.PipelineRunStatusCode
:ivar tags: A set of tags. This is a dictionary.
:vartype tags: dict[str, str]
:ivar entity_status: Possible values include: "Active", "Deprecated", "Disabled".
:vartype entity_status: str or ~flow.models.EntityStatus
:ivar id:
:vartype id: str
:ivar etag:
:vartype etag: str
:ivar created_date:
:vartype created_date: ~datetime.datetime
:ivar last_modified_date:
:vartype last_modified_date: ~datetime.datetime
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'updated_by': {'key': 'updatedBy', 'type': 'str'},
'swagger_url': {'key': 'swaggerUrl', 'type': 'str'},
'last_run_time': {'key': 'lastRunTime', 'type': 'iso-8601'},
'last_run_status': {'key': 'lastRunStatus', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'entity_status': {'key': 'entityStatus', 'type': 'str'},
'id': {'key': 'id', 'type': 'str'},
'etag': {'key': 'etag', 'type': 'str'},
'created_date': {'key': 'createdDate', 'type': 'iso-8601'},
'last_modified_date': {'key': 'lastModifiedDate', 'type': 'iso-8601'},
}
def __init__(
self,
*,
name: Optional[str] = None,
description: Optional[str] = None,
updated_by: Optional[str] = None,
swagger_url: Optional[str] = None,
last_run_time: Optional[datetime.datetime] = None,
last_run_status: Optional[Union[str, "PipelineRunStatusCode"]] = None,
tags: Optional[Dict[str, str]] = None,
entity_status: Optional[Union[str, "EntityStatus"]] = None,
id: Optional[str] = None,
etag: Optional[str] = None,
created_date: Optional[datetime.datetime] = None,
last_modified_date: Optional[datetime.datetime] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword description:
:paramtype description: str
:keyword updated_by:
:paramtype updated_by: str
:keyword swagger_url:
:paramtype swagger_url: str
:keyword last_run_time:
:paramtype last_run_time: ~datetime.datetime
:keyword last_run_status: Possible values include: "NotStarted", "Running", "Failed",
"Finished", "Canceled", "Queued", "CancelRequested".
:paramtype last_run_status: str or ~flow.models.PipelineRunStatusCode
:keyword tags: A set of tags. This is a dictionary.
:paramtype tags: dict[str, str]
:keyword entity_status: Possible values include: "Active", "Deprecated", "Disabled".
:paramtype entity_status: str or ~flow.models.EntityStatus
:keyword id:
:paramtype id: str
:keyword etag:
:paramtype etag: str
:keyword created_date:
:paramtype created_date: ~datetime.datetime
:keyword last_modified_date:
:paramtype last_modified_date: ~datetime.datetime
"""
super(PipelineEndpointSummary, self).__init__(**kwargs)
self.name = name
self.description = description
self.updated_by = updated_by
self.swagger_url = swagger_url
self.last_run_time = last_run_time
self.last_run_status = last_run_status
self.tags = tags
self.entity_status = entity_status
self.id = id
self.etag = etag
self.created_date = created_date
self.last_modified_date = last_modified_date
class PipelineGraph(msrest.serialization.Model):
"""PipelineGraph.
:ivar graph_module_dtos:
:vartype graph_module_dtos: list[~flow.models.ModuleDto]
:ivar graph_data_sources:
:vartype graph_data_sources: list[~flow.models.DataInfo]
:ivar graphs: This is a dictionary.
:vartype graphs: dict[str, ~flow.models.PipelineGraph]
:ivar graph_drafts: This is a dictionary.
:vartype graph_drafts: dict[str, ~flow.models.PipelineGraph]
:ivar module_node_run_settings:
:vartype module_node_run_settings: list[~flow.models.GraphModuleNodeRunSetting]
:ivar module_node_ui_input_settings:
:vartype module_node_ui_input_settings: list[~flow.models.GraphModuleNodeUIInputSetting]
:ivar sub_pipelines_info:
:vartype sub_pipelines_info: ~flow.models.SubPipelinesInfo
:ivar referenced_node_id:
:vartype referenced_node_id: str
:ivar pipeline_run_setting_parameters:
:vartype pipeline_run_setting_parameters: list[~flow.models.RunSettingParameter]
:ivar pipeline_run_settings:
:vartype pipeline_run_settings: list[~flow.models.RunSettingParameterAssignment]
:ivar real_time_endpoint_info:
:vartype real_time_endpoint_info: ~flow.models.RealTimeEndpointInfo
:ivar node_telemetry_meta_infos:
:vartype node_telemetry_meta_infos: list[~flow.models.NodeTelemetryMetaInfo]
:ivar graph_components_mode: Possible values include: "Normal", "AllDesignerBuildin",
"ContainsDesignerBuildin".
:vartype graph_components_mode: str or ~flow.models.GraphComponentsMode
:ivar module_nodes:
:vartype module_nodes: list[~flow.models.GraphModuleNode]
:ivar dataset_nodes:
:vartype dataset_nodes: list[~flow.models.GraphDatasetNode]
:ivar sub_graph_nodes:
:vartype sub_graph_nodes: list[~flow.models.GraphReferenceNode]
:ivar control_reference_nodes:
:vartype control_reference_nodes: list[~flow.models.GraphControlReferenceNode]
:ivar control_nodes:
:vartype control_nodes: list[~flow.models.GraphControlNode]
:ivar edges:
:vartype edges: list[~flow.models.GraphEdge]
:ivar entity_interface:
:vartype entity_interface: ~flow.models.EntityInterface
:ivar graph_layout:
:vartype graph_layout: ~flow.models.GraphLayout
:ivar created_by:
:vartype created_by: ~flow.models.CreatedBy
:ivar last_updated_by:
:vartype last_updated_by: ~flow.models.CreatedBy
:ivar default_compute:
:vartype default_compute: ~flow.models.ComputeSetting
:ivar default_datastore:
:vartype default_datastore: ~flow.models.DatastoreSetting
:ivar default_cloud_priority:
:vartype default_cloud_priority: ~flow.models.CloudPrioritySetting
:ivar extended_properties: This is a dictionary.
:vartype extended_properties: dict[str, str]
:ivar parent_sub_graph_module_ids:
:vartype parent_sub_graph_module_ids: list[str]
:ivar id:
:vartype id: str
:ivar etag:
:vartype etag: str
:ivar created_date:
:vartype created_date: ~datetime.datetime
:ivar last_modified_date:
:vartype last_modified_date: ~datetime.datetime
"""
_attribute_map = {
'graph_module_dtos': {'key': 'graphModuleDtos', 'type': '[ModuleDto]'},
'graph_data_sources': {'key': 'graphDataSources', 'type': '[DataInfo]'},
'graphs': {'key': 'graphs', 'type': '{PipelineGraph}'},
'graph_drafts': {'key': 'graphDrafts', 'type': '{PipelineGraph}'},
'module_node_run_settings': {'key': 'moduleNodeRunSettings', 'type': '[GraphModuleNodeRunSetting]'},
'module_node_ui_input_settings': {'key': 'moduleNodeUIInputSettings', 'type': '[GraphModuleNodeUIInputSetting]'},
'sub_pipelines_info': {'key': 'subPipelinesInfo', 'type': 'SubPipelinesInfo'},
'referenced_node_id': {'key': 'referencedNodeId', 'type': 'str'},
'pipeline_run_setting_parameters': {'key': 'pipelineRunSettingParameters', 'type': '[RunSettingParameter]'},
'pipeline_run_settings': {'key': 'pipelineRunSettings', 'type': '[RunSettingParameterAssignment]'},
'real_time_endpoint_info': {'key': 'realTimeEndpointInfo', 'type': 'RealTimeEndpointInfo'},
'node_telemetry_meta_infos': {'key': 'nodeTelemetryMetaInfos', 'type': '[NodeTelemetryMetaInfo]'},
'graph_components_mode': {'key': 'graphComponentsMode', 'type': 'str'},
'module_nodes': {'key': 'moduleNodes', 'type': '[GraphModuleNode]'},
'dataset_nodes': {'key': 'datasetNodes', 'type': '[GraphDatasetNode]'},
'sub_graph_nodes': {'key': 'subGraphNodes', 'type': '[GraphReferenceNode]'},
'control_reference_nodes': {'key': 'controlReferenceNodes', 'type': '[GraphControlReferenceNode]'},
'control_nodes': {'key': 'controlNodes', 'type': '[GraphControlNode]'},
'edges': {'key': 'edges', 'type': '[GraphEdge]'},
'entity_interface': {'key': 'entityInterface', 'type': 'EntityInterface'},
'graph_layout': {'key': 'graphLayout', 'type': 'GraphLayout'},
'created_by': {'key': 'createdBy', 'type': 'CreatedBy'},
'last_updated_by': {'key': 'lastUpdatedBy', 'type': 'CreatedBy'},
'default_compute': {'key': 'defaultCompute', 'type': 'ComputeSetting'},
'default_datastore': {'key': 'defaultDatastore', 'type': 'DatastoreSetting'},
'default_cloud_priority': {'key': 'defaultCloudPriority', 'type': 'CloudPrioritySetting'},
'extended_properties': {'key': 'extendedProperties', 'type': '{str}'},
'parent_sub_graph_module_ids': {'key': 'parentSubGraphModuleIds', 'type': '[str]'},
'id': {'key': 'id', 'type': 'str'},
'etag': {'key': 'etag', 'type': 'str'},
'created_date': {'key': 'createdDate', 'type': 'iso-8601'},
'last_modified_date': {'key': 'lastModifiedDate', 'type': 'iso-8601'},
}
def __init__(
self,
*,
graph_module_dtos: Optional[List["ModuleDto"]] = None,
graph_data_sources: Optional[List["DataInfo"]] = None,
graphs: Optional[Dict[str, "PipelineGraph"]] = None,
graph_drafts: Optional[Dict[str, "PipelineGraph"]] = None,
module_node_run_settings: Optional[List["GraphModuleNodeRunSetting"]] = None,
module_node_ui_input_settings: Optional[List["GraphModuleNodeUIInputSetting"]] = None,
sub_pipelines_info: Optional["SubPipelinesInfo"] = None,
referenced_node_id: Optional[str] = None,
pipeline_run_setting_parameters: Optional[List["RunSettingParameter"]] = None,
pipeline_run_settings: Optional[List["RunSettingParameterAssignment"]] = None,
real_time_endpoint_info: Optional["RealTimeEndpointInfo"] = None,
node_telemetry_meta_infos: Optional[List["NodeTelemetryMetaInfo"]] = None,
graph_components_mode: Optional[Union[str, "GraphComponentsMode"]] = None,
module_nodes: Optional[List["GraphModuleNode"]] = None,
dataset_nodes: Optional[List["GraphDatasetNode"]] = None,
sub_graph_nodes: Optional[List["GraphReferenceNode"]] = None,
control_reference_nodes: Optional[List["GraphControlReferenceNode"]] = None,
control_nodes: Optional[List["GraphControlNode"]] = None,
edges: Optional[List["GraphEdge"]] = None,
entity_interface: Optional["EntityInterface"] = None,
graph_layout: Optional["GraphLayout"] = None,
created_by: Optional["CreatedBy"] = None,
last_updated_by: Optional["CreatedBy"] = None,
default_compute: Optional["ComputeSetting"] = None,
default_datastore: Optional["DatastoreSetting"] = None,
default_cloud_priority: Optional["CloudPrioritySetting"] = None,
extended_properties: Optional[Dict[str, str]] = None,
parent_sub_graph_module_ids: Optional[List[str]] = None,
id: Optional[str] = None,
etag: Optional[str] = None,
created_date: Optional[datetime.datetime] = None,
last_modified_date: Optional[datetime.datetime] = None,
**kwargs
):
"""
:keyword graph_module_dtos:
:paramtype graph_module_dtos: list[~flow.models.ModuleDto]
:keyword graph_data_sources:
:paramtype graph_data_sources: list[~flow.models.DataInfo]
:keyword graphs: This is a dictionary.
:paramtype graphs: dict[str, ~flow.models.PipelineGraph]
:keyword graph_drafts: This is a dictionary.
:paramtype graph_drafts: dict[str, ~flow.models.PipelineGraph]
:keyword module_node_run_settings:
:paramtype module_node_run_settings: list[~flow.models.GraphModuleNodeRunSetting]
:keyword module_node_ui_input_settings:
:paramtype module_node_ui_input_settings: list[~flow.models.GraphModuleNodeUIInputSetting]
:keyword sub_pipelines_info:
:paramtype sub_pipelines_info: ~flow.models.SubPipelinesInfo
:keyword referenced_node_id:
:paramtype referenced_node_id: str
:keyword pipeline_run_setting_parameters:
:paramtype pipeline_run_setting_parameters: list[~flow.models.RunSettingParameter]
:keyword pipeline_run_settings:
:paramtype pipeline_run_settings: list[~flow.models.RunSettingParameterAssignment]
:keyword real_time_endpoint_info:
:paramtype real_time_endpoint_info: ~flow.models.RealTimeEndpointInfo
:keyword node_telemetry_meta_infos:
:paramtype node_telemetry_meta_infos: list[~flow.models.NodeTelemetryMetaInfo]
:keyword graph_components_mode: Possible values include: "Normal", "AllDesignerBuildin",
"ContainsDesignerBuildin".
:paramtype graph_components_mode: str or ~flow.models.GraphComponentsMode
:keyword module_nodes:
:paramtype module_nodes: list[~flow.models.GraphModuleNode]
:keyword dataset_nodes:
:paramtype dataset_nodes: list[~flow.models.GraphDatasetNode]
:keyword sub_graph_nodes:
:paramtype sub_graph_nodes: list[~flow.models.GraphReferenceNode]
:keyword control_reference_nodes:
:paramtype control_reference_nodes: list[~flow.models.GraphControlReferenceNode]
:keyword control_nodes:
:paramtype control_nodes: list[~flow.models.GraphControlNode]
:keyword edges:
:paramtype edges: list[~flow.models.GraphEdge]
:keyword entity_interface:
:paramtype entity_interface: ~flow.models.EntityInterface
:keyword graph_layout:
:paramtype graph_layout: ~flow.models.GraphLayout
:keyword created_by:
:paramtype created_by: ~flow.models.CreatedBy
:keyword last_updated_by:
:paramtype last_updated_by: ~flow.models.CreatedBy
:keyword default_compute:
:paramtype default_compute: ~flow.models.ComputeSetting
:keyword default_datastore:
:paramtype default_datastore: ~flow.models.DatastoreSetting
:keyword default_cloud_priority:
:paramtype default_cloud_priority: ~flow.models.CloudPrioritySetting
:keyword extended_properties: This is a dictionary.
:paramtype extended_properties: dict[str, str]
:keyword parent_sub_graph_module_ids:
:paramtype parent_sub_graph_module_ids: list[str]
:keyword id:
:paramtype id: str
:keyword etag:
:paramtype etag: str
:keyword created_date:
:paramtype created_date: ~datetime.datetime
:keyword last_modified_date:
:paramtype last_modified_date: ~datetime.datetime
"""
super(PipelineGraph, self).__init__(**kwargs)
self.graph_module_dtos = graph_module_dtos
self.graph_data_sources = graph_data_sources
self.graphs = graphs
self.graph_drafts = graph_drafts
self.module_node_run_settings = module_node_run_settings
self.module_node_ui_input_settings = module_node_ui_input_settings
self.sub_pipelines_info = sub_pipelines_info
self.referenced_node_id = referenced_node_id
self.pipeline_run_setting_parameters = pipeline_run_setting_parameters
self.pipeline_run_settings = pipeline_run_settings
self.real_time_endpoint_info = real_time_endpoint_info
self.node_telemetry_meta_infos = node_telemetry_meta_infos
self.graph_components_mode = graph_components_mode
self.module_nodes = module_nodes
self.dataset_nodes = dataset_nodes
self.sub_graph_nodes = sub_graph_nodes
self.control_reference_nodes = control_reference_nodes
self.control_nodes = control_nodes
self.edges = edges
self.entity_interface = entity_interface
self.graph_layout = graph_layout
self.created_by = created_by
self.last_updated_by = last_updated_by
self.default_compute = default_compute
self.default_datastore = default_datastore
self.default_cloud_priority = default_cloud_priority
self.extended_properties = extended_properties
self.parent_sub_graph_module_ids = parent_sub_graph_module_ids
self.id = id
self.etag = etag
self.created_date = created_date
self.last_modified_date = last_modified_date
class PipelineInput(msrest.serialization.Model):
"""PipelineInput.
:ivar data:
:vartype data: ~flow.models.InputData
"""
_attribute_map = {
'data': {'key': 'data', 'type': 'InputData'},
}
def __init__(
self,
*,
data: Optional["InputData"] = None,
**kwargs
):
"""
:keyword data:
:paramtype data: ~flow.models.InputData
"""
super(PipelineInput, self).__init__(**kwargs)
self.data = data
class PipelineJob(msrest.serialization.Model):
"""PipelineJob.
:ivar job_type: Possible values include: "Command", "Sweep", "Labeling", "Pipeline", "Data",
"AutoML", "Spark", "Base".
:vartype job_type: str or ~flow.models.JobType
:ivar pipeline_job_type: The only acceptable values to pass in are None and "AzureML". The
default value is None.
:vartype pipeline_job_type: str
:ivar pipeline:
:vartype pipeline: ~flow.models.Pipeline
:ivar compute_id:
:vartype compute_id: str
:ivar run_id:
:vartype run_id: str
:ivar settings: Anything.
:vartype settings: any
:ivar component_jobs: This is a dictionary.
:vartype component_jobs: dict[str, ~flow.models.MfeInternalV20211001ComponentJob]
:ivar inputs: This is a dictionary.
:vartype inputs: dict[str, ~flow.models.JobInput]
:ivar outputs: This is a dictionary.
:vartype outputs: dict[str, ~flow.models.JobOutput]
:ivar bindings:
:vartype bindings: list[~flow.models.Binding]
:ivar jobs: This is a dictionary.
:vartype jobs: dict[str, any]
:ivar input_bindings: This is a dictionary.
:vartype input_bindings: dict[str, ~flow.models.InputDataBinding]
:ivar output_bindings: This is a dictionary.
:vartype output_bindings: dict[str, ~flow.models.OutputDataBinding]
:ivar source_job_id:
:vartype source_job_id: str
:ivar provisioning_state: Possible values include: "Succeeded", "Failed", "Canceled",
"InProgress".
:vartype provisioning_state: str or ~flow.models.JobProvisioningState
:ivar parent_job_name:
:vartype parent_job_name: str
:ivar display_name:
:vartype display_name: str
:ivar experiment_name:
:vartype experiment_name: str
:ivar status: Possible values include: "NotStarted", "Starting", "Provisioning", "Preparing",
"Queued", "Running", "Finalizing", "CancelRequested", "Completed", "Failed", "Canceled",
"NotResponding", "Paused", "Unknown", "Scheduled".
:vartype status: str or ~flow.models.JobStatus
:ivar interaction_endpoints: Dictionary of :code:`<JobEndpoint>`.
:vartype interaction_endpoints: dict[str, ~flow.models.JobEndpoint]
:ivar identity:
:vartype identity: ~flow.models.MfeInternalIdentityConfiguration
:ivar compute:
:vartype compute: ~flow.models.ComputeConfiguration
:ivar priority:
:vartype priority: int
:ivar output:
:vartype output: ~flow.models.JobOutputArtifacts
:ivar is_archived:
:vartype is_archived: bool
:ivar schedule:
:vartype schedule: ~flow.models.ScheduleBase
:ivar component_id:
:vartype component_id: str
:ivar notification_setting:
:vartype notification_setting: ~flow.models.NotificationSetting
:ivar secrets_configuration: Dictionary of :code:`<MfeInternalSecretConfiguration>`.
:vartype secrets_configuration: dict[str, ~flow.models.MfeInternalSecretConfiguration]
:ivar description:
:vartype description: str
:ivar tags: A set of tags. This is a dictionary.
:vartype tags: dict[str, str]
:ivar properties: This is a dictionary.
:vartype properties: dict[str, str]
"""
_attribute_map = {
'job_type': {'key': 'jobType', 'type': 'str'},
'pipeline_job_type': {'key': 'pipelineJobType', 'type': 'str'},
'pipeline': {'key': 'pipeline', 'type': 'Pipeline'},
'compute_id': {'key': 'computeId', 'type': 'str'},
'run_id': {'key': 'runId', 'type': 'str'},
'settings': {'key': 'settings', 'type': 'object'},
'component_jobs': {'key': 'componentJobs', 'type': '{MfeInternalV20211001ComponentJob}'},
'inputs': {'key': 'inputs', 'type': '{JobInput}'},
'outputs': {'key': 'outputs', 'type': '{JobOutput}'},
'bindings': {'key': 'bindings', 'type': '[Binding]'},
'jobs': {'key': 'jobs', 'type': '{object}'},
'input_bindings': {'key': 'inputBindings', 'type': '{InputDataBinding}'},
'output_bindings': {'key': 'outputBindings', 'type': '{OutputDataBinding}'},
'source_job_id': {'key': 'sourceJobId', 'type': 'str'},
'provisioning_state': {'key': 'provisioningState', 'type': 'str'},
'parent_job_name': {'key': 'parentJobName', 'type': 'str'},
'display_name': {'key': 'displayName', 'type': 'str'},
'experiment_name': {'key': 'experimentName', 'type': 'str'},
'status': {'key': 'status', 'type': 'str'},
'interaction_endpoints': {'key': 'interactionEndpoints', 'type': '{JobEndpoint}'},
'identity': {'key': 'identity', 'type': 'MfeInternalIdentityConfiguration'},
'compute': {'key': 'compute', 'type': 'ComputeConfiguration'},
'priority': {'key': 'priority', 'type': 'int'},
'output': {'key': 'output', 'type': 'JobOutputArtifacts'},
'is_archived': {'key': 'isArchived', 'type': 'bool'},
'schedule': {'key': 'schedule', 'type': 'ScheduleBase'},
'component_id': {'key': 'componentId', 'type': 'str'},
'notification_setting': {'key': 'notificationSetting', 'type': 'NotificationSetting'},
'secrets_configuration': {'key': 'secretsConfiguration', 'type': '{MfeInternalSecretConfiguration}'},
'description': {'key': 'description', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'properties': {'key': 'properties', 'type': '{str}'},
}
def __init__(
self,
*,
job_type: Optional[Union[str, "JobType"]] = None,
pipeline_job_type: Optional[str] = None,
pipeline: Optional["Pipeline"] = None,
compute_id: Optional[str] = None,
run_id: Optional[str] = None,
settings: Optional[Any] = None,
component_jobs: Optional[Dict[str, "MfeInternalV20211001ComponentJob"]] = None,
inputs: Optional[Dict[str, "JobInput"]] = None,
outputs: Optional[Dict[str, "JobOutput"]] = None,
bindings: Optional[List["Binding"]] = None,
jobs: Optional[Dict[str, Any]] = None,
input_bindings: Optional[Dict[str, "InputDataBinding"]] = None,
output_bindings: Optional[Dict[str, "OutputDataBinding"]] = None,
source_job_id: Optional[str] = None,
provisioning_state: Optional[Union[str, "JobProvisioningState"]] = None,
parent_job_name: Optional[str] = None,
display_name: Optional[str] = None,
experiment_name: Optional[str] = None,
status: Optional[Union[str, "JobStatus"]] = None,
interaction_endpoints: Optional[Dict[str, "JobEndpoint"]] = None,
identity: Optional["MfeInternalIdentityConfiguration"] = None,
compute: Optional["ComputeConfiguration"] = None,
priority: Optional[int] = None,
output: Optional["JobOutputArtifacts"] = None,
is_archived: Optional[bool] = None,
schedule: Optional["ScheduleBase"] = None,
component_id: Optional[str] = None,
notification_setting: Optional["NotificationSetting"] = None,
secrets_configuration: Optional[Dict[str, "MfeInternalSecretConfiguration"]] = None,
description: Optional[str] = None,
tags: Optional[Dict[str, str]] = None,
properties: Optional[Dict[str, str]] = None,
**kwargs
):
"""
:keyword job_type: Possible values include: "Command", "Sweep", "Labeling", "Pipeline", "Data",
"AutoML", "Spark", "Base".
:paramtype job_type: str or ~flow.models.JobType
:keyword pipeline_job_type: The only acceptable values to pass in are None and "AzureML". The
default value is None.
:paramtype pipeline_job_type: str
:keyword pipeline:
:paramtype pipeline: ~flow.models.Pipeline
:keyword compute_id:
:paramtype compute_id: str
:keyword run_id:
:paramtype run_id: str
:keyword settings: Anything.
:paramtype settings: any
:keyword component_jobs: This is a dictionary.
:paramtype component_jobs: dict[str, ~flow.models.MfeInternalV20211001ComponentJob]
:keyword inputs: This is a dictionary.
:paramtype inputs: dict[str, ~flow.models.JobInput]
:keyword outputs: This is a dictionary.
:paramtype outputs: dict[str, ~flow.models.JobOutput]
:keyword bindings:
:paramtype bindings: list[~flow.models.Binding]
:keyword jobs: This is a dictionary.
:paramtype jobs: dict[str, any]
:keyword input_bindings: This is a dictionary.
:paramtype input_bindings: dict[str, ~flow.models.InputDataBinding]
:keyword output_bindings: This is a dictionary.
:paramtype output_bindings: dict[str, ~flow.models.OutputDataBinding]
:keyword source_job_id:
:paramtype source_job_id: str
:keyword provisioning_state: Possible values include: "Succeeded", "Failed", "Canceled",
"InProgress".
:paramtype provisioning_state: str or ~flow.models.JobProvisioningState
:keyword parent_job_name:
:paramtype parent_job_name: str
:keyword display_name:
:paramtype display_name: str
:keyword experiment_name:
:paramtype experiment_name: str
:keyword status: Possible values include: "NotStarted", "Starting", "Provisioning",
"Preparing", "Queued", "Running", "Finalizing", "CancelRequested", "Completed", "Failed",
"Canceled", "NotResponding", "Paused", "Unknown", "Scheduled".
:paramtype status: str or ~flow.models.JobStatus
:keyword interaction_endpoints: Dictionary of :code:`<JobEndpoint>`.
:paramtype interaction_endpoints: dict[str, ~flow.models.JobEndpoint]
:keyword identity:
:paramtype identity: ~flow.models.MfeInternalIdentityConfiguration
:keyword compute:
:paramtype compute: ~flow.models.ComputeConfiguration
:keyword priority:
:paramtype priority: int
:keyword output:
:paramtype output: ~flow.models.JobOutputArtifacts
:keyword is_archived:
:paramtype is_archived: bool
:keyword schedule:
:paramtype schedule: ~flow.models.ScheduleBase
:keyword component_id:
:paramtype component_id: str
:keyword notification_setting:
:paramtype notification_setting: ~flow.models.NotificationSetting
:keyword secrets_configuration: Dictionary of :code:`<MfeInternalSecretConfiguration>`.
:paramtype secrets_configuration: dict[str, ~flow.models.MfeInternalSecretConfiguration]
:keyword description:
:paramtype description: str
:keyword tags: A set of tags. This is a dictionary.
:paramtype tags: dict[str, str]
:keyword properties: This is a dictionary.
:paramtype properties: dict[str, str]
"""
super(PipelineJob, self).__init__(**kwargs)
self.job_type = job_type
self.pipeline_job_type = pipeline_job_type
self.pipeline = pipeline
self.compute_id = compute_id
self.run_id = run_id
self.settings = settings
self.component_jobs = component_jobs
self.inputs = inputs
self.outputs = outputs
self.bindings = bindings
self.jobs = jobs
self.input_bindings = input_bindings
self.output_bindings = output_bindings
self.source_job_id = source_job_id
self.provisioning_state = provisioning_state
self.parent_job_name = parent_job_name
self.display_name = display_name
self.experiment_name = experiment_name
self.status = status
self.interaction_endpoints = interaction_endpoints
self.identity = identity
self.compute = compute
self.priority = priority
self.output = output
self.is_archived = is_archived
self.schedule = schedule
self.component_id = component_id
self.notification_setting = notification_setting
self.secrets_configuration = secrets_configuration
self.description = description
self.tags = tags
self.properties = properties
class PipelineJobRuntimeBasicSettings(msrest.serialization.Model):
"""PipelineJobRuntimeBasicSettings.
:ivar pipeline_run_settings:
:vartype pipeline_run_settings: list[~flow.models.RunSettingParameterAssignment]
:ivar experiment_name:
:vartype experiment_name: str
:ivar pipeline_job_name:
:vartype pipeline_job_name: str
:ivar tags: A set of tags. This is a dictionary.
:vartype tags: dict[str, str]
:ivar display_name:
:vartype display_name: str
:ivar description:
:vartype description: str
:ivar trigger_time_string:
:vartype trigger_time_string: str
:ivar pipeline_parameters: This is a dictionary.
:vartype pipeline_parameters: dict[str, str]
:ivar data_path_assignments: This is a dictionary.
:vartype data_path_assignments: dict[str, ~flow.models.LegacyDataPath]
:ivar data_set_definition_value_assignments: This is a dictionary.
:vartype data_set_definition_value_assignments: dict[str, ~flow.models.DataSetDefinitionValue]
:ivar asset_output_settings_assignments: This is a dictionary.
:vartype asset_output_settings_assignments: dict[str, ~flow.models.AssetOutputSettings]
"""
_attribute_map = {
'pipeline_run_settings': {'key': 'pipelineRunSettings', 'type': '[RunSettingParameterAssignment]'},
'experiment_name': {'key': 'experimentName', 'type': 'str'},
'pipeline_job_name': {'key': 'pipelineJobName', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'display_name': {'key': 'displayName', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'trigger_time_string': {'key': 'triggerTimeString', 'type': 'str'},
'pipeline_parameters': {'key': 'pipelineParameters', 'type': '{str}'},
'data_path_assignments': {'key': 'dataPathAssignments', 'type': '{LegacyDataPath}'},
'data_set_definition_value_assignments': {'key': 'dataSetDefinitionValueAssignments', 'type': '{DataSetDefinitionValue}'},
'asset_output_settings_assignments': {'key': 'assetOutputSettingsAssignments', 'type': '{AssetOutputSettings}'},
}
def __init__(
self,
*,
pipeline_run_settings: Optional[List["RunSettingParameterAssignment"]] = None,
experiment_name: Optional[str] = None,
pipeline_job_name: Optional[str] = None,
tags: Optional[Dict[str, str]] = None,
display_name: Optional[str] = None,
description: Optional[str] = None,
trigger_time_string: Optional[str] = None,
pipeline_parameters: Optional[Dict[str, str]] = None,
data_path_assignments: Optional[Dict[str, "LegacyDataPath"]] = None,
data_set_definition_value_assignments: Optional[Dict[str, "DataSetDefinitionValue"]] = None,
asset_output_settings_assignments: Optional[Dict[str, "AssetOutputSettings"]] = None,
**kwargs
):
"""
:keyword pipeline_run_settings:
:paramtype pipeline_run_settings: list[~flow.models.RunSettingParameterAssignment]
:keyword experiment_name:
:paramtype experiment_name: str
:keyword pipeline_job_name:
:paramtype pipeline_job_name: str
:keyword tags: A set of tags. This is a dictionary.
:paramtype tags: dict[str, str]
:keyword display_name:
:paramtype display_name: str
:keyword description:
:paramtype description: str
:keyword trigger_time_string:
:paramtype trigger_time_string: str
:keyword pipeline_parameters: This is a dictionary.
:paramtype pipeline_parameters: dict[str, str]
:keyword data_path_assignments: This is a dictionary.
:paramtype data_path_assignments: dict[str, ~flow.models.LegacyDataPath]
:keyword data_set_definition_value_assignments: This is a dictionary.
:paramtype data_set_definition_value_assignments: dict[str,
~flow.models.DataSetDefinitionValue]
:keyword asset_output_settings_assignments: This is a dictionary.
:paramtype asset_output_settings_assignments: dict[str, ~flow.models.AssetOutputSettings]
"""
super(PipelineJobRuntimeBasicSettings, self).__init__(**kwargs)
self.pipeline_run_settings = pipeline_run_settings
self.experiment_name = experiment_name
self.pipeline_job_name = pipeline_job_name
self.tags = tags
self.display_name = display_name
self.description = description
self.trigger_time_string = trigger_time_string
self.pipeline_parameters = pipeline_parameters
self.data_path_assignments = data_path_assignments
self.data_set_definition_value_assignments = data_set_definition_value_assignments
self.asset_output_settings_assignments = asset_output_settings_assignments
class PipelineJobScheduleDto(msrest.serialization.Model):
"""PipelineJobScheduleDto.
:ivar system_data:
:vartype system_data: ~flow.models.SystemData
:ivar name:
:vartype name: str
:ivar pipeline_job_name:
:vartype pipeline_job_name: str
:ivar pipeline_job_runtime_settings:
:vartype pipeline_job_runtime_settings: ~flow.models.PipelineJobRuntimeBasicSettings
:ivar display_name:
:vartype display_name: str
:ivar trigger_type: Possible values include: "Recurrence", "Cron".
:vartype trigger_type: str or ~flow.models.TriggerType
:ivar recurrence:
:vartype recurrence: ~flow.models.Recurrence
:ivar cron:
:vartype cron: ~flow.models.Cron
:ivar status: Possible values include: "Enabled", "Disabled".
:vartype status: str or ~flow.models.ScheduleStatus
:ivar description:
:vartype description: str
:ivar tags: A set of tags. This is a dictionary.
:vartype tags: dict[str, str]
:ivar properties: This is a dictionary.
:vartype properties: dict[str, str]
"""
_attribute_map = {
'system_data': {'key': 'systemData', 'type': 'SystemData'},
'name': {'key': 'name', 'type': 'str'},
'pipeline_job_name': {'key': 'pipelineJobName', 'type': 'str'},
'pipeline_job_runtime_settings': {'key': 'pipelineJobRuntimeSettings', 'type': 'PipelineJobRuntimeBasicSettings'},
'display_name': {'key': 'displayName', 'type': 'str'},
'trigger_type': {'key': 'triggerType', 'type': 'str'},
'recurrence': {'key': 'recurrence', 'type': 'Recurrence'},
'cron': {'key': 'cron', 'type': 'Cron'},
'status': {'key': 'status', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'properties': {'key': 'properties', 'type': '{str}'},
}
def __init__(
self,
*,
system_data: Optional["SystemData"] = None,
name: Optional[str] = None,
pipeline_job_name: Optional[str] = None,
pipeline_job_runtime_settings: Optional["PipelineJobRuntimeBasicSettings"] = None,
display_name: Optional[str] = None,
trigger_type: Optional[Union[str, "TriggerType"]] = None,
recurrence: Optional["Recurrence"] = None,
cron: Optional["Cron"] = None,
status: Optional[Union[str, "ScheduleStatus"]] = None,
description: Optional[str] = None,
tags: Optional[Dict[str, str]] = None,
properties: Optional[Dict[str, str]] = None,
**kwargs
):
"""
:keyword system_data:
:paramtype system_data: ~flow.models.SystemData
:keyword name:
:paramtype name: str
:keyword pipeline_job_name:
:paramtype pipeline_job_name: str
:keyword pipeline_job_runtime_settings:
:paramtype pipeline_job_runtime_settings: ~flow.models.PipelineJobRuntimeBasicSettings
:keyword display_name:
:paramtype display_name: str
:keyword trigger_type: Possible values include: "Recurrence", "Cron".
:paramtype trigger_type: str or ~flow.models.TriggerType
:keyword recurrence:
:paramtype recurrence: ~flow.models.Recurrence
:keyword cron:
:paramtype cron: ~flow.models.Cron
:keyword status: Possible values include: "Enabled", "Disabled".
:paramtype status: str or ~flow.models.ScheduleStatus
:keyword description:
:paramtype description: str
:keyword tags: A set of tags. This is a dictionary.
:paramtype tags: dict[str, str]
:keyword properties: This is a dictionary.
:paramtype properties: dict[str, str]
"""
super(PipelineJobScheduleDto, self).__init__(**kwargs)
self.system_data = system_data
self.name = name
self.pipeline_job_name = pipeline_job_name
self.pipeline_job_runtime_settings = pipeline_job_runtime_settings
self.display_name = display_name
self.trigger_type = trigger_type
self.recurrence = recurrence
self.cron = cron
self.status = status
self.description = description
self.tags = tags
self.properties = properties
class PipelineOutput(msrest.serialization.Model):
"""PipelineOutput.
:ivar data:
:vartype data: ~flow.models.MfeInternalOutputData
"""
_attribute_map = {
'data': {'key': 'data', 'type': 'MfeInternalOutputData'},
}
def __init__(
self,
*,
data: Optional["MfeInternalOutputData"] = None,
**kwargs
):
"""
:keyword data:
:paramtype data: ~flow.models.MfeInternalOutputData
"""
super(PipelineOutput, self).__init__(**kwargs)
self.data = data
class PipelineRun(msrest.serialization.Model):
"""PipelineRun.
:ivar pipeline_id:
:vartype pipeline_id: str
:ivar run_source:
:vartype run_source: str
:ivar run_type: Possible values include: "HTTP", "SDK", "Schedule", "Portal".
:vartype run_type: str or ~flow.models.RunType
:ivar parameters: This is a dictionary.
:vartype parameters: dict[str, str]
:ivar data_path_assignments: This is a dictionary.
:vartype data_path_assignments: dict[str, ~flow.models.LegacyDataPath]
:ivar data_set_definition_value_assignment: This is a dictionary.
:vartype data_set_definition_value_assignment: dict[str, ~flow.models.DataSetDefinitionValue]
:ivar asset_output_settings_assignments: This is a dictionary.
:vartype asset_output_settings_assignments: dict[str, ~flow.models.AssetOutputSettings]
:ivar total_steps:
:vartype total_steps: int
:ivar logs: This is a dictionary.
:vartype logs: dict[str, str]
:ivar user_alias:
:vartype user_alias: str
:ivar enforce_rerun:
:vartype enforce_rerun: bool
:ivar continue_run_on_failed_optional_input:
:vartype continue_run_on_failed_optional_input: bool
:ivar default_compute:
:vartype default_compute: ~flow.models.ComputeSetting
:ivar default_datastore:
:vartype default_datastore: ~flow.models.DatastoreSetting
:ivar default_cloud_priority:
:vartype default_cloud_priority: ~flow.models.CloudPrioritySetting
:ivar pipeline_timeout_seconds:
:vartype pipeline_timeout_seconds: int
:ivar continue_run_on_step_failure:
:vartype continue_run_on_step_failure: bool
:ivar identity_config:
:vartype identity_config: ~flow.models.IdentitySetting
:ivar description:
:vartype description: str
:ivar display_name:
:vartype display_name: str
:ivar run_number:
:vartype run_number: int
:ivar status_code: Possible values include: "NotStarted", "InDraft", "Preparing", "Running",
"Failed", "Finished", "Canceled", "Throttled", "Unknown".
:vartype status_code: str or ~flow.models.PipelineStatusCode
:ivar run_status: Possible values include: "NotStarted", "Unapproved", "Pausing", "Paused",
"Starting", "Preparing", "Queued", "Running", "Finalizing", "CancelRequested", "Completed",
"Failed", "Canceled".
:vartype run_status: str or ~flow.models.RunStatus
:ivar status_detail:
:vartype status_detail: str
:ivar start_time:
:vartype start_time: ~datetime.datetime
:ivar end_time:
:vartype end_time: ~datetime.datetime
:ivar graph_id:
:vartype graph_id: str
:ivar experiment_id:
:vartype experiment_id: str
:ivar experiment_name:
:vartype experiment_name: str
:ivar is_experiment_archived:
:vartype is_experiment_archived: bool
:ivar submitted_by:
:vartype submitted_by: str
:ivar tags: A set of tags. This is a dictionary.
:vartype tags: dict[str, str]
:ivar step_tags: This is a dictionary.
:vartype step_tags: dict[str, str]
:ivar properties: This is a dictionary.
:vartype properties: dict[str, str]
:ivar aether_start_time:
:vartype aether_start_time: ~datetime.datetime
:ivar aether_end_time:
:vartype aether_end_time: ~datetime.datetime
:ivar run_history_start_time:
:vartype run_history_start_time: ~datetime.datetime
:ivar run_history_end_time:
:vartype run_history_end_time: ~datetime.datetime
:ivar unique_child_run_compute_targets:
:vartype unique_child_run_compute_targets: list[str]
:ivar entity_status: Possible values include: "Active", "Deprecated", "Disabled".
:vartype entity_status: str or ~flow.models.EntityStatus
:ivar id:
:vartype id: str
:ivar etag:
:vartype etag: str
:ivar created_date:
:vartype created_date: ~datetime.datetime
:ivar last_modified_date:
:vartype last_modified_date: ~datetime.datetime
"""
_validation = {
'unique_child_run_compute_targets': {'unique': True},
}
_attribute_map = {
'pipeline_id': {'key': 'pipelineId', 'type': 'str'},
'run_source': {'key': 'runSource', 'type': 'str'},
'run_type': {'key': 'runType', 'type': 'str'},
'parameters': {'key': 'parameters', 'type': '{str}'},
'data_path_assignments': {'key': 'dataPathAssignments', 'type': '{LegacyDataPath}'},
'data_set_definition_value_assignment': {'key': 'dataSetDefinitionValueAssignment', 'type': '{DataSetDefinitionValue}'},
'asset_output_settings_assignments': {'key': 'assetOutputSettingsAssignments', 'type': '{AssetOutputSettings}'},
'total_steps': {'key': 'totalSteps', 'type': 'int'},
'logs': {'key': 'logs', 'type': '{str}'},
'user_alias': {'key': 'userAlias', 'type': 'str'},
'enforce_rerun': {'key': 'enforceRerun', 'type': 'bool'},
'continue_run_on_failed_optional_input': {'key': 'continueRunOnFailedOptionalInput', 'type': 'bool'},
'default_compute': {'key': 'defaultCompute', 'type': 'ComputeSetting'},
'default_datastore': {'key': 'defaultDatastore', 'type': 'DatastoreSetting'},
'default_cloud_priority': {'key': 'defaultCloudPriority', 'type': 'CloudPrioritySetting'},
'pipeline_timeout_seconds': {'key': 'pipelineTimeoutSeconds', 'type': 'int'},
'continue_run_on_step_failure': {'key': 'continueRunOnStepFailure', 'type': 'bool'},
'identity_config': {'key': 'identityConfig', 'type': 'IdentitySetting'},
'description': {'key': 'description', 'type': 'str'},
'display_name': {'key': 'displayName', 'type': 'str'},
'run_number': {'key': 'runNumber', 'type': 'int'},
'status_code': {'key': 'statusCode', 'type': 'str'},
'run_status': {'key': 'runStatus', 'type': 'str'},
'status_detail': {'key': 'statusDetail', 'type': 'str'},
'start_time': {'key': 'startTime', 'type': 'iso-8601'},
'end_time': {'key': 'endTime', 'type': 'iso-8601'},
'graph_id': {'key': 'graphId', 'type': 'str'},
'experiment_id': {'key': 'experimentId', 'type': 'str'},
'experiment_name': {'key': 'experimentName', 'type': 'str'},
'is_experiment_archived': {'key': 'isExperimentArchived', 'type': 'bool'},
'submitted_by': {'key': 'submittedBy', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'step_tags': {'key': 'stepTags', 'type': '{str}'},
'properties': {'key': 'properties', 'type': '{str}'},
'aether_start_time': {'key': 'aetherStartTime', 'type': 'iso-8601'},
'aether_end_time': {'key': 'aetherEndTime', 'type': 'iso-8601'},
'run_history_start_time': {'key': 'runHistoryStartTime', 'type': 'iso-8601'},
'run_history_end_time': {'key': 'runHistoryEndTime', 'type': 'iso-8601'},
'unique_child_run_compute_targets': {'key': 'uniqueChildRunComputeTargets', 'type': '[str]'},
'entity_status': {'key': 'entityStatus', 'type': 'str'},
'id': {'key': 'id', 'type': 'str'},
'etag': {'key': 'etag', 'type': 'str'},
'created_date': {'key': 'createdDate', 'type': 'iso-8601'},
'last_modified_date': {'key': 'lastModifiedDate', 'type': 'iso-8601'},
}
def __init__(
self,
*,
pipeline_id: Optional[str] = None,
run_source: Optional[str] = None,
run_type: Optional[Union[str, "RunType"]] = None,
parameters: Optional[Dict[str, str]] = None,
data_path_assignments: Optional[Dict[str, "LegacyDataPath"]] = None,
data_set_definition_value_assignment: Optional[Dict[str, "DataSetDefinitionValue"]] = None,
asset_output_settings_assignments: Optional[Dict[str, "AssetOutputSettings"]] = None,
total_steps: Optional[int] = None,
logs: Optional[Dict[str, str]] = None,
user_alias: Optional[str] = None,
enforce_rerun: Optional[bool] = None,
continue_run_on_failed_optional_input: Optional[bool] = None,
default_compute: Optional["ComputeSetting"] = None,
default_datastore: Optional["DatastoreSetting"] = None,
default_cloud_priority: Optional["CloudPrioritySetting"] = None,
pipeline_timeout_seconds: Optional[int] = None,
continue_run_on_step_failure: Optional[bool] = None,
identity_config: Optional["IdentitySetting"] = None,
description: Optional[str] = None,
display_name: Optional[str] = None,
run_number: Optional[int] = None,
status_code: Optional[Union[str, "PipelineStatusCode"]] = None,
run_status: Optional[Union[str, "RunStatus"]] = None,
status_detail: Optional[str] = None,
start_time: Optional[datetime.datetime] = None,
end_time: Optional[datetime.datetime] = None,
graph_id: Optional[str] = None,
experiment_id: Optional[str] = None,
experiment_name: Optional[str] = None,
is_experiment_archived: Optional[bool] = None,
submitted_by: Optional[str] = None,
tags: Optional[Dict[str, str]] = None,
step_tags: Optional[Dict[str, str]] = None,
properties: Optional[Dict[str, str]] = None,
aether_start_time: Optional[datetime.datetime] = None,
aether_end_time: Optional[datetime.datetime] = None,
run_history_start_time: Optional[datetime.datetime] = None,
run_history_end_time: Optional[datetime.datetime] = None,
unique_child_run_compute_targets: Optional[List[str]] = None,
entity_status: Optional[Union[str, "EntityStatus"]] = None,
id: Optional[str] = None,
etag: Optional[str] = None,
created_date: Optional[datetime.datetime] = None,
last_modified_date: Optional[datetime.datetime] = None,
**kwargs
):
"""
:keyword pipeline_id:
:paramtype pipeline_id: str
:keyword run_source:
:paramtype run_source: str
:keyword run_type: Possible values include: "HTTP", "SDK", "Schedule", "Portal".
:paramtype run_type: str or ~flow.models.RunType
:keyword parameters: This is a dictionary.
:paramtype parameters: dict[str, str]
:keyword data_path_assignments: This is a dictionary.
:paramtype data_path_assignments: dict[str, ~flow.models.LegacyDataPath]
:keyword data_set_definition_value_assignment: This is a dictionary.
:paramtype data_set_definition_value_assignment: dict[str, ~flow.models.DataSetDefinitionValue]
:keyword asset_output_settings_assignments: This is a dictionary.
:paramtype asset_output_settings_assignments: dict[str, ~flow.models.AssetOutputSettings]
:keyword total_steps:
:paramtype total_steps: int
:keyword logs: This is a dictionary.
:paramtype logs: dict[str, str]
:keyword user_alias:
:paramtype user_alias: str
:keyword enforce_rerun:
:paramtype enforce_rerun: bool
:keyword continue_run_on_failed_optional_input:
:paramtype continue_run_on_failed_optional_input: bool
:keyword default_compute:
:paramtype default_compute: ~flow.models.ComputeSetting
:keyword default_datastore:
:paramtype default_datastore: ~flow.models.DatastoreSetting
:keyword default_cloud_priority:
:paramtype default_cloud_priority: ~flow.models.CloudPrioritySetting
:keyword pipeline_timeout_seconds:
:paramtype pipeline_timeout_seconds: int
:keyword continue_run_on_step_failure:
:paramtype continue_run_on_step_failure: bool
:keyword identity_config:
:paramtype identity_config: ~flow.models.IdentitySetting
:keyword description:
:paramtype description: str
:keyword display_name:
:paramtype display_name: str
:keyword run_number:
:paramtype run_number: int
:keyword status_code: Possible values include: "NotStarted", "InDraft", "Preparing", "Running",
"Failed", "Finished", "Canceled", "Throttled", "Unknown".
:paramtype status_code: str or ~flow.models.PipelineStatusCode
:keyword run_status: Possible values include: "NotStarted", "Unapproved", "Pausing", "Paused",
"Starting", "Preparing", "Queued", "Running", "Finalizing", "CancelRequested", "Completed",
"Failed", "Canceled".
:paramtype run_status: str or ~flow.models.RunStatus
:keyword status_detail:
:paramtype status_detail: str
:keyword start_time:
:paramtype start_time: ~datetime.datetime
:keyword end_time:
:paramtype end_time: ~datetime.datetime
:keyword graph_id:
:paramtype graph_id: str
:keyword experiment_id:
:paramtype experiment_id: str
:keyword experiment_name:
:paramtype experiment_name: str
:keyword is_experiment_archived:
:paramtype is_experiment_archived: bool
:keyword submitted_by:
:paramtype submitted_by: str
:keyword tags: A set of tags. This is a dictionary.
:paramtype tags: dict[str, str]
:keyword step_tags: This is a dictionary.
:paramtype step_tags: dict[str, str]
:keyword properties: This is a dictionary.
:paramtype properties: dict[str, str]
:keyword aether_start_time:
:paramtype aether_start_time: ~datetime.datetime
:keyword aether_end_time:
:paramtype aether_end_time: ~datetime.datetime
:keyword run_history_start_time:
:paramtype run_history_start_time: ~datetime.datetime
:keyword run_history_end_time:
:paramtype run_history_end_time: ~datetime.datetime
:keyword unique_child_run_compute_targets:
:paramtype unique_child_run_compute_targets: list[str]
:keyword entity_status: Possible values include: "Active", "Deprecated", "Disabled".
:paramtype entity_status: str or ~flow.models.EntityStatus
:keyword id:
:paramtype id: str
:keyword etag:
:paramtype etag: str
:keyword created_date:
:paramtype created_date: ~datetime.datetime
:keyword last_modified_date:
:paramtype last_modified_date: ~datetime.datetime
"""
super(PipelineRun, self).__init__(**kwargs)
self.pipeline_id = pipeline_id
self.run_source = run_source
self.run_type = run_type
self.parameters = parameters
self.data_path_assignments = data_path_assignments
self.data_set_definition_value_assignment = data_set_definition_value_assignment
self.asset_output_settings_assignments = asset_output_settings_assignments
self.total_steps = total_steps
self.logs = logs
self.user_alias = user_alias
self.enforce_rerun = enforce_rerun
self.continue_run_on_failed_optional_input = continue_run_on_failed_optional_input
self.default_compute = default_compute
self.default_datastore = default_datastore
self.default_cloud_priority = default_cloud_priority
self.pipeline_timeout_seconds = pipeline_timeout_seconds
self.continue_run_on_step_failure = continue_run_on_step_failure
self.identity_config = identity_config
self.description = description
self.display_name = display_name
self.run_number = run_number
self.status_code = status_code
self.run_status = run_status
self.status_detail = status_detail
self.start_time = start_time
self.end_time = end_time
self.graph_id = graph_id
self.experiment_id = experiment_id
self.experiment_name = experiment_name
self.is_experiment_archived = is_experiment_archived
self.submitted_by = submitted_by
self.tags = tags
self.step_tags = step_tags
self.properties = properties
self.aether_start_time = aether_start_time
self.aether_end_time = aether_end_time
self.run_history_start_time = run_history_start_time
self.run_history_end_time = run_history_end_time
self.unique_child_run_compute_targets = unique_child_run_compute_targets
self.entity_status = entity_status
self.id = id
self.etag = etag
self.created_date = created_date
self.last_modified_date = last_modified_date
class PipelineRunGraphDetail(msrest.serialization.Model):
"""PipelineRunGraphDetail.
:ivar graph:
:vartype graph: ~flow.models.PipelineGraph
:ivar graph_nodes_status: This is a dictionary.
:vartype graph_nodes_status: dict[str, ~flow.models.GraphNodeStatusInfo]
"""
_attribute_map = {
'graph': {'key': 'graph', 'type': 'PipelineGraph'},
'graph_nodes_status': {'key': 'graphNodesStatus', 'type': '{GraphNodeStatusInfo}'},
}
def __init__(
self,
*,
graph: Optional["PipelineGraph"] = None,
graph_nodes_status: Optional[Dict[str, "GraphNodeStatusInfo"]] = None,
**kwargs
):
"""
:keyword graph:
:paramtype graph: ~flow.models.PipelineGraph
:keyword graph_nodes_status: This is a dictionary.
:paramtype graph_nodes_status: dict[str, ~flow.models.GraphNodeStatusInfo]
"""
super(PipelineRunGraphDetail, self).__init__(**kwargs)
self.graph = graph
self.graph_nodes_status = graph_nodes_status
class PipelineRunGraphStatus(msrest.serialization.Model):
"""PipelineRunGraphStatus.
:ivar status:
:vartype status: ~flow.models.PipelineStatus
:ivar graph_nodes_status: This is a dictionary.
:vartype graph_nodes_status: dict[str, ~flow.models.GraphNodeStatusInfo]
:ivar experiment_id:
:vartype experiment_id: str
:ivar is_experiment_archived:
:vartype is_experiment_archived: bool
"""
_attribute_map = {
'status': {'key': 'status', 'type': 'PipelineStatus'},
'graph_nodes_status': {'key': 'graphNodesStatus', 'type': '{GraphNodeStatusInfo}'},
'experiment_id': {'key': 'experimentId', 'type': 'str'},
'is_experiment_archived': {'key': 'isExperimentArchived', 'type': 'bool'},
}
def __init__(
self,
*,
status: Optional["PipelineStatus"] = None,
graph_nodes_status: Optional[Dict[str, "GraphNodeStatusInfo"]] = None,
experiment_id: Optional[str] = None,
is_experiment_archived: Optional[bool] = None,
**kwargs
):
"""
:keyword status:
:paramtype status: ~flow.models.PipelineStatus
:keyword graph_nodes_status: This is a dictionary.
:paramtype graph_nodes_status: dict[str, ~flow.models.GraphNodeStatusInfo]
:keyword experiment_id:
:paramtype experiment_id: str
:keyword is_experiment_archived:
:paramtype is_experiment_archived: bool
"""
super(PipelineRunGraphStatus, self).__init__(**kwargs)
self.status = status
self.graph_nodes_status = graph_nodes_status
self.experiment_id = experiment_id
self.is_experiment_archived = is_experiment_archived
class PipelineRunProfile(msrest.serialization.Model):
"""PipelineRunProfile.
:ivar run_id:
:vartype run_id: str
:ivar node_id:
:vartype node_id: str
:ivar run_url:
:vartype run_url: str
:ivar experiment_name:
:vartype experiment_name: str
:ivar experiment_id:
:vartype experiment_id: str
:ivar description:
:vartype description: str
:ivar status:
:vartype status: ~flow.models.PipelineRunStatus
:ivar create_time:
:vartype create_time: long
:ivar start_time:
:vartype start_time: long
:ivar end_time:
:vartype end_time: long
:ivar profiling_time:
:vartype profiling_time: long
:ivar step_runs_profile:
:vartype step_runs_profile: list[~flow.models.StepRunProfile]
:ivar sub_pipeline_run_profile:
:vartype sub_pipeline_run_profile: list[~flow.models.PipelineRunProfile]
"""
_attribute_map = {
'run_id': {'key': 'runId', 'type': 'str'},
'node_id': {'key': 'nodeId', 'type': 'str'},
'run_url': {'key': 'runUrl', 'type': 'str'},
'experiment_name': {'key': 'experimentName', 'type': 'str'},
'experiment_id': {'key': 'experimentId', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'status': {'key': 'status', 'type': 'PipelineRunStatus'},
'create_time': {'key': 'createTime', 'type': 'long'},
'start_time': {'key': 'startTime', 'type': 'long'},
'end_time': {'key': 'endTime', 'type': 'long'},
'profiling_time': {'key': 'profilingTime', 'type': 'long'},
'step_runs_profile': {'key': 'stepRunsProfile', 'type': '[StepRunProfile]'},
'sub_pipeline_run_profile': {'key': 'subPipelineRunProfile', 'type': '[PipelineRunProfile]'},
}
def __init__(
self,
*,
run_id: Optional[str] = None,
node_id: Optional[str] = None,
run_url: Optional[str] = None,
experiment_name: Optional[str] = None,
experiment_id: Optional[str] = None,
description: Optional[str] = None,
status: Optional["PipelineRunStatus"] = None,
create_time: Optional[int] = None,
start_time: Optional[int] = None,
end_time: Optional[int] = None,
profiling_time: Optional[int] = None,
step_runs_profile: Optional[List["StepRunProfile"]] = None,
sub_pipeline_run_profile: Optional[List["PipelineRunProfile"]] = None,
**kwargs
):
"""
:keyword run_id:
:paramtype run_id: str
:keyword node_id:
:paramtype node_id: str
:keyword run_url:
:paramtype run_url: str
:keyword experiment_name:
:paramtype experiment_name: str
:keyword experiment_id:
:paramtype experiment_id: str
:keyword description:
:paramtype description: str
:keyword status:
:paramtype status: ~flow.models.PipelineRunStatus
:keyword create_time:
:paramtype create_time: long
:keyword start_time:
:paramtype start_time: long
:keyword end_time:
:paramtype end_time: long
:keyword profiling_time:
:paramtype profiling_time: long
:keyword step_runs_profile:
:paramtype step_runs_profile: list[~flow.models.StepRunProfile]
:keyword sub_pipeline_run_profile:
:paramtype sub_pipeline_run_profile: list[~flow.models.PipelineRunProfile]
"""
super(PipelineRunProfile, self).__init__(**kwargs)
self.run_id = run_id
self.node_id = node_id
self.run_url = run_url
self.experiment_name = experiment_name
self.experiment_id = experiment_id
self.description = description
self.status = status
self.create_time = create_time
self.start_time = start_time
self.end_time = end_time
self.profiling_time = profiling_time
self.step_runs_profile = step_runs_profile
self.sub_pipeline_run_profile = sub_pipeline_run_profile
class PipelineRunStatus(msrest.serialization.Model):
"""PipelineRunStatus.
:ivar status_code: Possible values include: "NotStarted", "Running", "Failed", "Finished",
"Canceled", "Queued", "CancelRequested".
:vartype status_code: str or ~flow.models.PipelineRunStatusCode
:ivar status_detail:
:vartype status_detail: str
:ivar creation_time:
:vartype creation_time: ~datetime.datetime
:ivar end_time:
:vartype end_time: ~datetime.datetime
"""
_attribute_map = {
'status_code': {'key': 'statusCode', 'type': 'str'},
'status_detail': {'key': 'statusDetail', 'type': 'str'},
'creation_time': {'key': 'creationTime', 'type': 'iso-8601'},
'end_time': {'key': 'endTime', 'type': 'iso-8601'},
}
def __init__(
self,
*,
status_code: Optional[Union[str, "PipelineRunStatusCode"]] = None,
status_detail: Optional[str] = None,
creation_time: Optional[datetime.datetime] = None,
end_time: Optional[datetime.datetime] = None,
**kwargs
):
"""
:keyword status_code: Possible values include: "NotStarted", "Running", "Failed", "Finished",
"Canceled", "Queued", "CancelRequested".
:paramtype status_code: str or ~flow.models.PipelineRunStatusCode
:keyword status_detail:
:paramtype status_detail: str
:keyword creation_time:
:paramtype creation_time: ~datetime.datetime
:keyword end_time:
:paramtype end_time: ~datetime.datetime
"""
super(PipelineRunStatus, self).__init__(**kwargs)
self.status_code = status_code
self.status_detail = status_detail
self.creation_time = creation_time
self.end_time = end_time
class PipelineRunStepDetails(msrest.serialization.Model):
"""PipelineRunStepDetails.
:ivar run_id:
:vartype run_id: str
:ivar target:
:vartype target: str
:ivar status: Possible values include: "NotStarted", "Unapproved", "Pausing", "Paused",
"Starting", "Preparing", "Queued", "Running", "Finalizing", "CancelRequested", "Completed",
"Failed", "Canceled".
:vartype status: str or ~flow.models.RunStatus
:ivar status_detail:
:vartype status_detail: str
:ivar parent_run_id:
:vartype parent_run_id: str
:ivar start_time:
:vartype start_time: ~datetime.datetime
:ivar end_time:
:vartype end_time: ~datetime.datetime
:ivar is_reused:
:vartype is_reused: bool
:ivar logs: This is a dictionary.
:vartype logs: dict[str, str]
:ivar outputs: This is a dictionary.
:vartype outputs: dict[str, str]
:ivar snapshot_info:
:vartype snapshot_info: ~flow.models.SnapshotInfo
:ivar input_datasets:
:vartype input_datasets: list[~flow.models.DatasetLineage]
:ivar output_datasets:
:vartype output_datasets: list[~flow.models.OutputDatasetLineage]
"""
_validation = {
'input_datasets': {'unique': True},
'output_datasets': {'unique': True},
}
_attribute_map = {
'run_id': {'key': 'runId', 'type': 'str'},
'target': {'key': 'target', 'type': 'str'},
'status': {'key': 'status', 'type': 'str'},
'status_detail': {'key': 'statusDetail', 'type': 'str'},
'parent_run_id': {'key': 'parentRunId', 'type': 'str'},
'start_time': {'key': 'startTime', 'type': 'iso-8601'},
'end_time': {'key': 'endTime', 'type': 'iso-8601'},
'is_reused': {'key': 'isReused', 'type': 'bool'},
'logs': {'key': 'logs', 'type': '{str}'},
'outputs': {'key': 'outputs', 'type': '{str}'},
'snapshot_info': {'key': 'snapshotInfo', 'type': 'SnapshotInfo'},
'input_datasets': {'key': 'inputDatasets', 'type': '[DatasetLineage]'},
'output_datasets': {'key': 'outputDatasets', 'type': '[OutputDatasetLineage]'},
}
def __init__(
self,
*,
run_id: Optional[str] = None,
target: Optional[str] = None,
status: Optional[Union[str, "RunStatus"]] = None,
status_detail: Optional[str] = None,
parent_run_id: Optional[str] = None,
start_time: Optional[datetime.datetime] = None,
end_time: Optional[datetime.datetime] = None,
is_reused: Optional[bool] = None,
logs: Optional[Dict[str, str]] = None,
outputs: Optional[Dict[str, str]] = None,
snapshot_info: Optional["SnapshotInfo"] = None,
input_datasets: Optional[List["DatasetLineage"]] = None,
output_datasets: Optional[List["OutputDatasetLineage"]] = None,
**kwargs
):
"""
:keyword run_id:
:paramtype run_id: str
:keyword target:
:paramtype target: str
:keyword status: Possible values include: "NotStarted", "Unapproved", "Pausing", "Paused",
"Starting", "Preparing", "Queued", "Running", "Finalizing", "CancelRequested", "Completed",
"Failed", "Canceled".
:paramtype status: str or ~flow.models.RunStatus
:keyword status_detail:
:paramtype status_detail: str
:keyword parent_run_id:
:paramtype parent_run_id: str
:keyword start_time:
:paramtype start_time: ~datetime.datetime
:keyword end_time:
:paramtype end_time: ~datetime.datetime
:keyword is_reused:
:paramtype is_reused: bool
:keyword logs: This is a dictionary.
:paramtype logs: dict[str, str]
:keyword outputs: This is a dictionary.
:paramtype outputs: dict[str, str]
:keyword snapshot_info:
:paramtype snapshot_info: ~flow.models.SnapshotInfo
:keyword input_datasets:
:paramtype input_datasets: list[~flow.models.DatasetLineage]
:keyword output_datasets:
:paramtype output_datasets: list[~flow.models.OutputDatasetLineage]
"""
super(PipelineRunStepDetails, self).__init__(**kwargs)
self.run_id = run_id
self.target = target
self.status = status
self.status_detail = status_detail
self.parent_run_id = parent_run_id
self.start_time = start_time
self.end_time = end_time
self.is_reused = is_reused
self.logs = logs
self.outputs = outputs
self.snapshot_info = snapshot_info
self.input_datasets = input_datasets
self.output_datasets = output_datasets
class PipelineRunSummary(msrest.serialization.Model):
"""PipelineRunSummary.
:ivar description:
:vartype description: str
:ivar display_name:
:vartype display_name: str
:ivar run_number:
:vartype run_number: int
:ivar status_code: Possible values include: "NotStarted", "InDraft", "Preparing", "Running",
"Failed", "Finished", "Canceled", "Throttled", "Unknown".
:vartype status_code: str or ~flow.models.PipelineStatusCode
:ivar run_status: Possible values include: "NotStarted", "Unapproved", "Pausing", "Paused",
"Starting", "Preparing", "Queued", "Running", "Finalizing", "CancelRequested", "Completed",
"Failed", "Canceled".
:vartype run_status: str or ~flow.models.RunStatus
:ivar status_detail:
:vartype status_detail: str
:ivar start_time:
:vartype start_time: ~datetime.datetime
:ivar end_time:
:vartype end_time: ~datetime.datetime
:ivar graph_id:
:vartype graph_id: str
:ivar experiment_id:
:vartype experiment_id: str
:ivar experiment_name:
:vartype experiment_name: str
:ivar is_experiment_archived:
:vartype is_experiment_archived: bool
:ivar submitted_by:
:vartype submitted_by: str
:ivar tags: A set of tags. This is a dictionary.
:vartype tags: dict[str, str]
:ivar step_tags: This is a dictionary.
:vartype step_tags: dict[str, str]
:ivar properties: This is a dictionary.
:vartype properties: dict[str, str]
:ivar aether_start_time:
:vartype aether_start_time: ~datetime.datetime
:ivar aether_end_time:
:vartype aether_end_time: ~datetime.datetime
:ivar run_history_start_time:
:vartype run_history_start_time: ~datetime.datetime
:ivar run_history_end_time:
:vartype run_history_end_time: ~datetime.datetime
:ivar unique_child_run_compute_targets:
:vartype unique_child_run_compute_targets: list[str]
:ivar entity_status: Possible values include: "Active", "Deprecated", "Disabled".
:vartype entity_status: str or ~flow.models.EntityStatus
:ivar id:
:vartype id: str
:ivar etag:
:vartype etag: str
:ivar created_date:
:vartype created_date: ~datetime.datetime
:ivar last_modified_date:
:vartype last_modified_date: ~datetime.datetime
"""
_validation = {
'unique_child_run_compute_targets': {'unique': True},
}
_attribute_map = {
'description': {'key': 'description', 'type': 'str'},
'display_name': {'key': 'displayName', 'type': 'str'},
'run_number': {'key': 'runNumber', 'type': 'int'},
'status_code': {'key': 'statusCode', 'type': 'str'},
'run_status': {'key': 'runStatus', 'type': 'str'},
'status_detail': {'key': 'statusDetail', 'type': 'str'},
'start_time': {'key': 'startTime', 'type': 'iso-8601'},
'end_time': {'key': 'endTime', 'type': 'iso-8601'},
'graph_id': {'key': 'graphId', 'type': 'str'},
'experiment_id': {'key': 'experimentId', 'type': 'str'},
'experiment_name': {'key': 'experimentName', 'type': 'str'},
'is_experiment_archived': {'key': 'isExperimentArchived', 'type': 'bool'},
'submitted_by': {'key': 'submittedBy', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'step_tags': {'key': 'stepTags', 'type': '{str}'},
'properties': {'key': 'properties', 'type': '{str}'},
'aether_start_time': {'key': 'aetherStartTime', 'type': 'iso-8601'},
'aether_end_time': {'key': 'aetherEndTime', 'type': 'iso-8601'},
'run_history_start_time': {'key': 'runHistoryStartTime', 'type': 'iso-8601'},
'run_history_end_time': {'key': 'runHistoryEndTime', 'type': 'iso-8601'},
'unique_child_run_compute_targets': {'key': 'uniqueChildRunComputeTargets', 'type': '[str]'},
'entity_status': {'key': 'entityStatus', 'type': 'str'},
'id': {'key': 'id', 'type': 'str'},
'etag': {'key': 'etag', 'type': 'str'},
'created_date': {'key': 'createdDate', 'type': 'iso-8601'},
'last_modified_date': {'key': 'lastModifiedDate', 'type': 'iso-8601'},
}
def __init__(
self,
*,
description: Optional[str] = None,
display_name: Optional[str] = None,
run_number: Optional[int] = None,
status_code: Optional[Union[str, "PipelineStatusCode"]] = None,
run_status: Optional[Union[str, "RunStatus"]] = None,
status_detail: Optional[str] = None,
start_time: Optional[datetime.datetime] = None,
end_time: Optional[datetime.datetime] = None,
graph_id: Optional[str] = None,
experiment_id: Optional[str] = None,
experiment_name: Optional[str] = None,
is_experiment_archived: Optional[bool] = None,
submitted_by: Optional[str] = None,
tags: Optional[Dict[str, str]] = None,
step_tags: Optional[Dict[str, str]] = None,
properties: Optional[Dict[str, str]] = None,
aether_start_time: Optional[datetime.datetime] = None,
aether_end_time: Optional[datetime.datetime] = None,
run_history_start_time: Optional[datetime.datetime] = None,
run_history_end_time: Optional[datetime.datetime] = None,
unique_child_run_compute_targets: Optional[List[str]] = None,
entity_status: Optional[Union[str, "EntityStatus"]] = None,
id: Optional[str] = None,
etag: Optional[str] = None,
created_date: Optional[datetime.datetime] = None,
last_modified_date: Optional[datetime.datetime] = None,
**kwargs
):
"""
:keyword description:
:paramtype description: str
:keyword display_name:
:paramtype display_name: str
:keyword run_number:
:paramtype run_number: int
:keyword status_code: Possible values include: "NotStarted", "InDraft", "Preparing", "Running",
"Failed", "Finished", "Canceled", "Throttled", "Unknown".
:paramtype status_code: str or ~flow.models.PipelineStatusCode
:keyword run_status: Possible values include: "NotStarted", "Unapproved", "Pausing", "Paused",
"Starting", "Preparing", "Queued", "Running", "Finalizing", "CancelRequested", "Completed",
"Failed", "Canceled".
:paramtype run_status: str or ~flow.models.RunStatus
:keyword status_detail:
:paramtype status_detail: str
:keyword start_time:
:paramtype start_time: ~datetime.datetime
:keyword end_time:
:paramtype end_time: ~datetime.datetime
:keyword graph_id:
:paramtype graph_id: str
:keyword experiment_id:
:paramtype experiment_id: str
:keyword experiment_name:
:paramtype experiment_name: str
:keyword is_experiment_archived:
:paramtype is_experiment_archived: bool
:keyword submitted_by:
:paramtype submitted_by: str
:keyword tags: A set of tags. This is a dictionary.
:paramtype tags: dict[str, str]
:keyword step_tags: This is a dictionary.
:paramtype step_tags: dict[str, str]
:keyword properties: This is a dictionary.
:paramtype properties: dict[str, str]
:keyword aether_start_time:
:paramtype aether_start_time: ~datetime.datetime
:keyword aether_end_time:
:paramtype aether_end_time: ~datetime.datetime
:keyword run_history_start_time:
:paramtype run_history_start_time: ~datetime.datetime
:keyword run_history_end_time:
:paramtype run_history_end_time: ~datetime.datetime
:keyword unique_child_run_compute_targets:
:paramtype unique_child_run_compute_targets: list[str]
:keyword entity_status: Possible values include: "Active", "Deprecated", "Disabled".
:paramtype entity_status: str or ~flow.models.EntityStatus
:keyword id:
:paramtype id: str
:keyword etag:
:paramtype etag: str
:keyword created_date:
:paramtype created_date: ~datetime.datetime
:keyword last_modified_date:
:paramtype last_modified_date: ~datetime.datetime
"""
super(PipelineRunSummary, self).__init__(**kwargs)
self.description = description
self.display_name = display_name
self.run_number = run_number
self.status_code = status_code
self.run_status = run_status
self.status_detail = status_detail
self.start_time = start_time
self.end_time = end_time
self.graph_id = graph_id
self.experiment_id = experiment_id
self.experiment_name = experiment_name
self.is_experiment_archived = is_experiment_archived
self.submitted_by = submitted_by
self.tags = tags
self.step_tags = step_tags
self.properties = properties
self.aether_start_time = aether_start_time
self.aether_end_time = aether_end_time
self.run_history_start_time = run_history_start_time
self.run_history_end_time = run_history_end_time
self.unique_child_run_compute_targets = unique_child_run_compute_targets
self.entity_status = entity_status
self.id = id
self.etag = etag
self.created_date = created_date
self.last_modified_date = last_modified_date
class PipelineStatus(msrest.serialization.Model):
"""PipelineStatus.
Variables are only populated by the server, and will be ignored when sending a request.
:ivar status_code: Possible values include: "NotStarted", "InDraft", "Preparing", "Running",
"Failed", "Finished", "Canceled", "Throttled", "Unknown".
:vartype status_code: str or ~flow.models.PipelineStatusCode
:ivar run_status: Possible values include: "NotStarted", "Unapproved", "Pausing", "Paused",
"Starting", "Preparing", "Queued", "Running", "Finalizing", "CancelRequested", "Completed",
"Failed", "Canceled".
:vartype run_status: str or ~flow.models.RunStatus
:ivar status_detail:
:vartype status_detail: str
:ivar start_time:
:vartype start_time: ~datetime.datetime
:ivar end_time:
:vartype end_time: ~datetime.datetime
:ivar is_terminal_state:
:vartype is_terminal_state: bool
"""
_validation = {
'is_terminal_state': {'readonly': True},
}
_attribute_map = {
'status_code': {'key': 'statusCode', 'type': 'str'},
'run_status': {'key': 'runStatus', 'type': 'str'},
'status_detail': {'key': 'statusDetail', 'type': 'str'},
'start_time': {'key': 'startTime', 'type': 'iso-8601'},
'end_time': {'key': 'endTime', 'type': 'iso-8601'},
'is_terminal_state': {'key': 'isTerminalState', 'type': 'bool'},
}
def __init__(
self,
*,
status_code: Optional[Union[str, "PipelineStatusCode"]] = None,
run_status: Optional[Union[str, "RunStatus"]] = None,
status_detail: Optional[str] = None,
start_time: Optional[datetime.datetime] = None,
end_time: Optional[datetime.datetime] = None,
**kwargs
):
"""
:keyword status_code: Possible values include: "NotStarted", "InDraft", "Preparing", "Running",
"Failed", "Finished", "Canceled", "Throttled", "Unknown".
:paramtype status_code: str or ~flow.models.PipelineStatusCode
:keyword run_status: Possible values include: "NotStarted", "Unapproved", "Pausing", "Paused",
"Starting", "Preparing", "Queued", "Running", "Finalizing", "CancelRequested", "Completed",
"Failed", "Canceled".
:paramtype run_status: str or ~flow.models.RunStatus
:keyword status_detail:
:paramtype status_detail: str
:keyword start_time:
:paramtype start_time: ~datetime.datetime
:keyword end_time:
:paramtype end_time: ~datetime.datetime
"""
super(PipelineStatus, self).__init__(**kwargs)
self.status_code = status_code
self.run_status = run_status
self.status_detail = status_detail
self.start_time = start_time
self.end_time = end_time
self.is_terminal_state = None
class PipelineStepRun(msrest.serialization.Model):
"""PipelineStepRun.
:ivar step_name:
:vartype step_name: str
:ivar run_number:
:vartype run_number: int
:ivar run_id:
:vartype run_id: str
:ivar start_time:
:vartype start_time: ~datetime.datetime
:ivar end_time:
:vartype end_time: ~datetime.datetime
:ivar run_status: Possible values include: "NotStarted", "Unapproved", "Pausing", "Paused",
"Starting", "Preparing", "Queued", "Running", "Finalizing", "CancelRequested", "Completed",
"Failed", "Canceled".
:vartype run_status: str or ~flow.models.RunStatus
:ivar compute_target:
:vartype compute_target: str
:ivar compute_type:
:vartype compute_type: str
:ivar run_type:
:vartype run_type: str
:ivar step_type:
:vartype step_type: str
:ivar tags: A set of tags. This is a dictionary.
:vartype tags: dict[str, str]
:ivar is_reused:
:vartype is_reused: bool
:ivar display_name:
:vartype display_name: str
"""
_attribute_map = {
'step_name': {'key': 'stepName', 'type': 'str'},
'run_number': {'key': 'runNumber', 'type': 'int'},
'run_id': {'key': 'runId', 'type': 'str'},
'start_time': {'key': 'startTime', 'type': 'iso-8601'},
'end_time': {'key': 'endTime', 'type': 'iso-8601'},
'run_status': {'key': 'runStatus', 'type': 'str'},
'compute_target': {'key': 'computeTarget', 'type': 'str'},
'compute_type': {'key': 'computeType', 'type': 'str'},
'run_type': {'key': 'runType', 'type': 'str'},
'step_type': {'key': 'stepType', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'is_reused': {'key': 'isReused', 'type': 'bool'},
'display_name': {'key': 'displayName', 'type': 'str'},
}
def __init__(
self,
*,
step_name: Optional[str] = None,
run_number: Optional[int] = None,
run_id: Optional[str] = None,
start_time: Optional[datetime.datetime] = None,
end_time: Optional[datetime.datetime] = None,
run_status: Optional[Union[str, "RunStatus"]] = None,
compute_target: Optional[str] = None,
compute_type: Optional[str] = None,
run_type: Optional[str] = None,
step_type: Optional[str] = None,
tags: Optional[Dict[str, str]] = None,
is_reused: Optional[bool] = None,
display_name: Optional[str] = None,
**kwargs
):
"""
:keyword step_name:
:paramtype step_name: str
:keyword run_number:
:paramtype run_number: int
:keyword run_id:
:paramtype run_id: str
:keyword start_time:
:paramtype start_time: ~datetime.datetime
:keyword end_time:
:paramtype end_time: ~datetime.datetime
:keyword run_status: Possible values include: "NotStarted", "Unapproved", "Pausing", "Paused",
"Starting", "Preparing", "Queued", "Running", "Finalizing", "CancelRequested", "Completed",
"Failed", "Canceled".
:paramtype run_status: str or ~flow.models.RunStatus
:keyword compute_target:
:paramtype compute_target: str
:keyword compute_type:
:paramtype compute_type: str
:keyword run_type:
:paramtype run_type: str
:keyword step_type:
:paramtype step_type: str
:keyword tags: A set of tags. This is a dictionary.
:paramtype tags: dict[str, str]
:keyword is_reused:
:paramtype is_reused: bool
:keyword display_name:
:paramtype display_name: str
"""
super(PipelineStepRun, self).__init__(**kwargs)
self.step_name = step_name
self.run_number = run_number
self.run_id = run_id
self.start_time = start_time
self.end_time = end_time
self.run_status = run_status
self.compute_target = compute_target
self.compute_type = compute_type
self.run_type = run_type
self.step_type = step_type
self.tags = tags
self.is_reused = is_reused
self.display_name = display_name
class PipelineStepRunOutputs(msrest.serialization.Model):
"""PipelineStepRunOutputs.
:ivar outputs: This is a dictionary.
:vartype outputs: dict[str, str]
:ivar port_outputs: This is a dictionary.
:vartype port_outputs: dict[str, ~flow.models.PortOutputInfo]
"""
_attribute_map = {
'outputs': {'key': 'outputs', 'type': '{str}'},
'port_outputs': {'key': 'portOutputs', 'type': '{PortOutputInfo}'},
}
def __init__(
self,
*,
outputs: Optional[Dict[str, str]] = None,
port_outputs: Optional[Dict[str, "PortOutputInfo"]] = None,
**kwargs
):
"""
:keyword outputs: This is a dictionary.
:paramtype outputs: dict[str, str]
:keyword port_outputs: This is a dictionary.
:paramtype port_outputs: dict[str, ~flow.models.PortOutputInfo]
"""
super(PipelineStepRunOutputs, self).__init__(**kwargs)
self.outputs = outputs
self.port_outputs = port_outputs
class PipelineSubDraft(msrest.serialization.Model):
"""PipelineSubDraft.
:ivar parent_graph_draft_id:
:vartype parent_graph_draft_id: str
:ivar parent_node_id:
:vartype parent_node_id: str
:ivar graph_detail:
:vartype graph_detail: ~flow.models.PipelineRunGraphDetail
:ivar module_dto:
:vartype module_dto: ~flow.models.ModuleDto
:ivar name:
:vartype name: str
:ivar last_edited_by:
:vartype last_edited_by: str
:ivar created_by:
:vartype created_by: str
:ivar description:
:vartype description: str
:ivar pipeline_type: Possible values include: "TrainingPipeline", "RealTimeInferencePipeline",
"BatchInferencePipeline", "Unknown".
:vartype pipeline_type: str or ~flow.models.PipelineType
:ivar pipeline_draft_mode: Possible values include: "None", "Normal", "Custom".
:vartype pipeline_draft_mode: str or ~flow.models.PipelineDraftMode
:ivar tags: A set of tags. This is a dictionary.
:vartype tags: dict[str, str]
:ivar properties: This is a dictionary.
:vartype properties: dict[str, str]
:ivar entity_status: Possible values include: "Active", "Deprecated", "Disabled".
:vartype entity_status: str or ~flow.models.EntityStatus
:ivar id:
:vartype id: str
:ivar etag:
:vartype etag: str
:ivar created_date:
:vartype created_date: ~datetime.datetime
:ivar last_modified_date:
:vartype last_modified_date: ~datetime.datetime
"""
_attribute_map = {
'parent_graph_draft_id': {'key': 'parentGraphDraftId', 'type': 'str'},
'parent_node_id': {'key': 'parentNodeId', 'type': 'str'},
'graph_detail': {'key': 'graphDetail', 'type': 'PipelineRunGraphDetail'},
'module_dto': {'key': 'moduleDto', 'type': 'ModuleDto'},
'name': {'key': 'name', 'type': 'str'},
'last_edited_by': {'key': 'lastEditedBy', 'type': 'str'},
'created_by': {'key': 'createdBy', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'pipeline_type': {'key': 'pipelineType', 'type': 'str'},
'pipeline_draft_mode': {'key': 'pipelineDraftMode', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'properties': {'key': 'properties', 'type': '{str}'},
'entity_status': {'key': 'entityStatus', 'type': 'str'},
'id': {'key': 'id', 'type': 'str'},
'etag': {'key': 'etag', 'type': 'str'},
'created_date': {'key': 'createdDate', 'type': 'iso-8601'},
'last_modified_date': {'key': 'lastModifiedDate', 'type': 'iso-8601'},
}
def __init__(
self,
*,
parent_graph_draft_id: Optional[str] = None,
parent_node_id: Optional[str] = None,
graph_detail: Optional["PipelineRunGraphDetail"] = None,
module_dto: Optional["ModuleDto"] = None,
name: Optional[str] = None,
last_edited_by: Optional[str] = None,
created_by: Optional[str] = None,
description: Optional[str] = None,
pipeline_type: Optional[Union[str, "PipelineType"]] = None,
pipeline_draft_mode: Optional[Union[str, "PipelineDraftMode"]] = None,
tags: Optional[Dict[str, str]] = None,
properties: Optional[Dict[str, str]] = None,
entity_status: Optional[Union[str, "EntityStatus"]] = None,
id: Optional[str] = None,
etag: Optional[str] = None,
created_date: Optional[datetime.datetime] = None,
last_modified_date: Optional[datetime.datetime] = None,
**kwargs
):
"""
:keyword parent_graph_draft_id:
:paramtype parent_graph_draft_id: str
:keyword parent_node_id:
:paramtype parent_node_id: str
:keyword graph_detail:
:paramtype graph_detail: ~flow.models.PipelineRunGraphDetail
:keyword module_dto:
:paramtype module_dto: ~flow.models.ModuleDto
:keyword name:
:paramtype name: str
:keyword last_edited_by:
:paramtype last_edited_by: str
:keyword created_by:
:paramtype created_by: str
:keyword description:
:paramtype description: str
:keyword pipeline_type: Possible values include: "TrainingPipeline",
"RealTimeInferencePipeline", "BatchInferencePipeline", "Unknown".
:paramtype pipeline_type: str or ~flow.models.PipelineType
:keyword pipeline_draft_mode: Possible values include: "None", "Normal", "Custom".
:paramtype pipeline_draft_mode: str or ~flow.models.PipelineDraftMode
:keyword tags: A set of tags. This is a dictionary.
:paramtype tags: dict[str, str]
:keyword properties: This is a dictionary.
:paramtype properties: dict[str, str]
:keyword entity_status: Possible values include: "Active", "Deprecated", "Disabled".
:paramtype entity_status: str or ~flow.models.EntityStatus
:keyword id:
:paramtype id: str
:keyword etag:
:paramtype etag: str
:keyword created_date:
:paramtype created_date: ~datetime.datetime
:keyword last_modified_date:
:paramtype last_modified_date: ~datetime.datetime
"""
super(PipelineSubDraft, self).__init__(**kwargs)
self.parent_graph_draft_id = parent_graph_draft_id
self.parent_node_id = parent_node_id
self.graph_detail = graph_detail
self.module_dto = module_dto
self.name = name
self.last_edited_by = last_edited_by
self.created_by = created_by
self.description = description
self.pipeline_type = pipeline_type
self.pipeline_draft_mode = pipeline_draft_mode
self.tags = tags
self.properties = properties
self.entity_status = entity_status
self.id = id
self.etag = etag
self.created_date = created_date
self.last_modified_date = last_modified_date
class PolicyValidationResponse(msrest.serialization.Model):
"""PolicyValidationResponse.
:ivar error_response: The error response.
:vartype error_response: ~flow.models.ErrorResponse
:ivar next_action_interval_in_seconds:
:vartype next_action_interval_in_seconds: int
:ivar action_type: Possible values include: "SendValidationRequest", "GetValidationStatus",
"SubmitBulkRun", "LogRunResult", "LogRunTerminatedEvent".
:vartype action_type: str or ~flow.models.ActionType
"""
_attribute_map = {
'error_response': {'key': 'errorResponse', 'type': 'ErrorResponse'},
'next_action_interval_in_seconds': {'key': 'nextActionIntervalInSeconds', 'type': 'int'},
'action_type': {'key': 'actionType', 'type': 'str'},
}
def __init__(
self,
*,
error_response: Optional["ErrorResponse"] = None,
next_action_interval_in_seconds: Optional[int] = None,
action_type: Optional[Union[str, "ActionType"]] = None,
**kwargs
):
"""
:keyword error_response: The error response.
:paramtype error_response: ~flow.models.ErrorResponse
:keyword next_action_interval_in_seconds:
:paramtype next_action_interval_in_seconds: int
:keyword action_type: Possible values include: "SendValidationRequest", "GetValidationStatus",
"SubmitBulkRun", "LogRunResult", "LogRunTerminatedEvent".
:paramtype action_type: str or ~flow.models.ActionType
"""
super(PolicyValidationResponse, self).__init__(**kwargs)
self.error_response = error_response
self.next_action_interval_in_seconds = next_action_interval_in_seconds
self.action_type = action_type
class PortInfo(msrest.serialization.Model):
"""PortInfo.
:ivar node_id:
:vartype node_id: str
:ivar port_name:
:vartype port_name: str
:ivar graph_port_name:
:vartype graph_port_name: str
:ivar is_parameter:
:vartype is_parameter: bool
:ivar web_service_port:
:vartype web_service_port: str
"""
_attribute_map = {
'node_id': {'key': 'nodeId', 'type': 'str'},
'port_name': {'key': 'portName', 'type': 'str'},
'graph_port_name': {'key': 'graphPortName', 'type': 'str'},
'is_parameter': {'key': 'isParameter', 'type': 'bool'},
'web_service_port': {'key': 'webServicePort', 'type': 'str'},
}
def __init__(
self,
*,
node_id: Optional[str] = None,
port_name: Optional[str] = None,
graph_port_name: Optional[str] = None,
is_parameter: Optional[bool] = None,
web_service_port: Optional[str] = None,
**kwargs
):
"""
:keyword node_id:
:paramtype node_id: str
:keyword port_name:
:paramtype port_name: str
:keyword graph_port_name:
:paramtype graph_port_name: str
:keyword is_parameter:
:paramtype is_parameter: bool
:keyword web_service_port:
:paramtype web_service_port: str
"""
super(PortInfo, self).__init__(**kwargs)
self.node_id = node_id
self.port_name = port_name
self.graph_port_name = graph_port_name
self.is_parameter = is_parameter
self.web_service_port = web_service_port
class PortOutputInfo(msrest.serialization.Model):
"""PortOutputInfo.
:ivar container_uri:
:vartype container_uri: str
:ivar relative_path:
:vartype relative_path: str
:ivar preview_params:
:vartype preview_params: str
:ivar model_output_path:
:vartype model_output_path: str
:ivar data_store_name:
:vartype data_store_name: str
:ivar data_reference_type: Possible values include: "None", "AzureBlob", "AzureDataLake",
"AzureFiles", "AzureSqlDatabase", "AzurePostgresDatabase", "AzureDataLakeGen2", "DBFS",
"AzureMySqlDatabase", "Custom", "Hdfs".
:vartype data_reference_type: str or ~flow.models.DataReferenceType
:ivar is_file:
:vartype is_file: bool
:ivar supported_actions:
:vartype supported_actions: list[str or ~flow.models.PortAction]
"""
_attribute_map = {
'container_uri': {'key': 'containerUri', 'type': 'str'},
'relative_path': {'key': 'relativePath', 'type': 'str'},
'preview_params': {'key': 'previewParams', 'type': 'str'},
'model_output_path': {'key': 'modelOutputPath', 'type': 'str'},
'data_store_name': {'key': 'dataStoreName', 'type': 'str'},
'data_reference_type': {'key': 'dataReferenceType', 'type': 'str'},
'is_file': {'key': 'isFile', 'type': 'bool'},
'supported_actions': {'key': 'supportedActions', 'type': '[str]'},
}
def __init__(
self,
*,
container_uri: Optional[str] = None,
relative_path: Optional[str] = None,
preview_params: Optional[str] = None,
model_output_path: Optional[str] = None,
data_store_name: Optional[str] = None,
data_reference_type: Optional[Union[str, "DataReferenceType"]] = None,
is_file: Optional[bool] = None,
supported_actions: Optional[List[Union[str, "PortAction"]]] = None,
**kwargs
):
"""
:keyword container_uri:
:paramtype container_uri: str
:keyword relative_path:
:paramtype relative_path: str
:keyword preview_params:
:paramtype preview_params: str
:keyword model_output_path:
:paramtype model_output_path: str
:keyword data_store_name:
:paramtype data_store_name: str
:keyword data_reference_type: Possible values include: "None", "AzureBlob", "AzureDataLake",
"AzureFiles", "AzureSqlDatabase", "AzurePostgresDatabase", "AzureDataLakeGen2", "DBFS",
"AzureMySqlDatabase", "Custom", "Hdfs".
:paramtype data_reference_type: str or ~flow.models.DataReferenceType
:keyword is_file:
:paramtype is_file: bool
:keyword supported_actions:
:paramtype supported_actions: list[str or ~flow.models.PortAction]
"""
super(PortOutputInfo, self).__init__(**kwargs)
self.container_uri = container_uri
self.relative_path = relative_path
self.preview_params = preview_params
self.model_output_path = model_output_path
self.data_store_name = data_store_name
self.data_reference_type = data_reference_type
self.is_file = is_file
self.supported_actions = supported_actions
class PriorityConfig(msrest.serialization.Model):
"""PriorityConfig.
:ivar job_priority:
:vartype job_priority: int
:ivar is_preemptible:
:vartype is_preemptible: bool
:ivar node_count_set:
:vartype node_count_set: list[int]
:ivar scale_interval:
:vartype scale_interval: int
"""
_attribute_map = {
'job_priority': {'key': 'jobPriority', 'type': 'int'},
'is_preemptible': {'key': 'isPreemptible', 'type': 'bool'},
'node_count_set': {'key': 'nodeCountSet', 'type': '[int]'},
'scale_interval': {'key': 'scaleInterval', 'type': 'int'},
}
def __init__(
self,
*,
job_priority: Optional[int] = None,
is_preemptible: Optional[bool] = None,
node_count_set: Optional[List[int]] = None,
scale_interval: Optional[int] = None,
**kwargs
):
"""
:keyword job_priority:
:paramtype job_priority: int
:keyword is_preemptible:
:paramtype is_preemptible: bool
:keyword node_count_set:
:paramtype node_count_set: list[int]
:keyword scale_interval:
:paramtype scale_interval: int
"""
super(PriorityConfig, self).__init__(**kwargs)
self.job_priority = job_priority
self.is_preemptible = is_preemptible
self.node_count_set = node_count_set
self.scale_interval = scale_interval
class PriorityConfiguration(msrest.serialization.Model):
"""PriorityConfiguration.
:ivar cloud_priority:
:vartype cloud_priority: int
:ivar string_type_priority:
:vartype string_type_priority: str
"""
_attribute_map = {
'cloud_priority': {'key': 'cloudPriority', 'type': 'int'},
'string_type_priority': {'key': 'stringTypePriority', 'type': 'str'},
}
def __init__(
self,
*,
cloud_priority: Optional[int] = None,
string_type_priority: Optional[str] = None,
**kwargs
):
"""
:keyword cloud_priority:
:paramtype cloud_priority: int
:keyword string_type_priority:
:paramtype string_type_priority: str
"""
super(PriorityConfiguration, self).__init__(**kwargs)
self.cloud_priority = cloud_priority
self.string_type_priority = string_type_priority
class PromoteDataSetRequest(msrest.serialization.Model):
"""PromoteDataSetRequest.
:ivar name:
:vartype name: str
:ivar description:
:vartype description: str
:ivar module_node_id:
:vartype module_node_id: str
:ivar step_run_id:
:vartype step_run_id: str
:ivar output_port_name:
:vartype output_port_name: str
:ivar model_output_path:
:vartype model_output_path: str
:ivar data_type_id:
:vartype data_type_id: str
:ivar dataset_type:
:vartype dataset_type: str
:ivar data_store_name:
:vartype data_store_name: str
:ivar output_relative_path:
:vartype output_relative_path: str
:ivar pipeline_run_id:
:vartype pipeline_run_id: str
:ivar root_pipeline_run_id:
:vartype root_pipeline_run_id: str
:ivar experiment_name:
:vartype experiment_name: str
:ivar experiment_id:
:vartype experiment_id: str
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'module_node_id': {'key': 'moduleNodeId', 'type': 'str'},
'step_run_id': {'key': 'stepRunId', 'type': 'str'},
'output_port_name': {'key': 'outputPortName', 'type': 'str'},
'model_output_path': {'key': 'modelOutputPath', 'type': 'str'},
'data_type_id': {'key': 'dataTypeId', 'type': 'str'},
'dataset_type': {'key': 'datasetType', 'type': 'str'},
'data_store_name': {'key': 'dataStoreName', 'type': 'str'},
'output_relative_path': {'key': 'outputRelativePath', 'type': 'str'},
'pipeline_run_id': {'key': 'pipelineRunId', 'type': 'str'},
'root_pipeline_run_id': {'key': 'rootPipelineRunId', 'type': 'str'},
'experiment_name': {'key': 'experimentName', 'type': 'str'},
'experiment_id': {'key': 'experimentId', 'type': 'str'},
}
def __init__(
self,
*,
name: Optional[str] = None,
description: Optional[str] = None,
module_node_id: Optional[str] = None,
step_run_id: Optional[str] = None,
output_port_name: Optional[str] = None,
model_output_path: Optional[str] = None,
data_type_id: Optional[str] = None,
dataset_type: Optional[str] = None,
data_store_name: Optional[str] = None,
output_relative_path: Optional[str] = None,
pipeline_run_id: Optional[str] = None,
root_pipeline_run_id: Optional[str] = None,
experiment_name: Optional[str] = None,
experiment_id: Optional[str] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword description:
:paramtype description: str
:keyword module_node_id:
:paramtype module_node_id: str
:keyword step_run_id:
:paramtype step_run_id: str
:keyword output_port_name:
:paramtype output_port_name: str
:keyword model_output_path:
:paramtype model_output_path: str
:keyword data_type_id:
:paramtype data_type_id: str
:keyword dataset_type:
:paramtype dataset_type: str
:keyword data_store_name:
:paramtype data_store_name: str
:keyword output_relative_path:
:paramtype output_relative_path: str
:keyword pipeline_run_id:
:paramtype pipeline_run_id: str
:keyword root_pipeline_run_id:
:paramtype root_pipeline_run_id: str
:keyword experiment_name:
:paramtype experiment_name: str
:keyword experiment_id:
:paramtype experiment_id: str
"""
super(PromoteDataSetRequest, self).__init__(**kwargs)
self.name = name
self.description = description
self.module_node_id = module_node_id
self.step_run_id = step_run_id
self.output_port_name = output_port_name
self.model_output_path = model_output_path
self.data_type_id = data_type_id
self.dataset_type = dataset_type
self.data_store_name = data_store_name
self.output_relative_path = output_relative_path
self.pipeline_run_id = pipeline_run_id
self.root_pipeline_run_id = root_pipeline_run_id
self.experiment_name = experiment_name
self.experiment_id = experiment_id
class ProviderEntity(msrest.serialization.Model):
"""ProviderEntity.
:ivar provider:
:vartype provider: str
:ivar module:
:vartype module: str
:ivar connection_type:
:vartype connection_type: list[str or ~flow.models.ConnectionType]
:ivar apis:
:vartype apis: list[~flow.models.ApiAndParameters]
"""
_attribute_map = {
'provider': {'key': 'provider', 'type': 'str'},
'module': {'key': 'module', 'type': 'str'},
'connection_type': {'key': 'connection_type', 'type': '[str]'},
'apis': {'key': 'apis', 'type': '[ApiAndParameters]'},
}
def __init__(
self,
*,
provider: Optional[str] = None,
module: Optional[str] = None,
connection_type: Optional[List[Union[str, "ConnectionType"]]] = None,
apis: Optional[List["ApiAndParameters"]] = None,
**kwargs
):
"""
:keyword provider:
:paramtype provider: str
:keyword module:
:paramtype module: str
:keyword connection_type:
:paramtype connection_type: list[str or ~flow.models.ConnectionType]
:keyword apis:
:paramtype apis: list[~flow.models.ApiAndParameters]
"""
super(ProviderEntity, self).__init__(**kwargs)
self.provider = provider
self.module = module
self.connection_type = connection_type
self.apis = apis
class PublishedPipeline(msrest.serialization.Model):
"""PublishedPipeline.
:ivar total_run_steps:
:vartype total_run_steps: int
:ivar total_runs:
:vartype total_runs: int
:ivar parameters: This is a dictionary.
:vartype parameters: dict[str, str]
:ivar data_set_definition_value_assignment: This is a dictionary.
:vartype data_set_definition_value_assignment: dict[str, ~flow.models.DataSetDefinitionValue]
:ivar rest_endpoint:
:vartype rest_endpoint: str
:ivar name:
:vartype name: str
:ivar description:
:vartype description: str
:ivar graph_id:
:vartype graph_id: str
:ivar published_date:
:vartype published_date: ~datetime.datetime
:ivar last_run_time:
:vartype last_run_time: ~datetime.datetime
:ivar last_run_status: Possible values include: "NotStarted", "Running", "Failed", "Finished",
"Canceled", "Queued", "CancelRequested".
:vartype last_run_status: str or ~flow.models.PipelineRunStatusCode
:ivar published_by:
:vartype published_by: str
:ivar tags: A set of tags. This is a dictionary.
:vartype tags: dict[str, str]
:ivar properties: This is a dictionary.
:vartype properties: dict[str, str]
:ivar version:
:vartype version: str
:ivar is_default:
:vartype is_default: bool
:ivar entity_status: Possible values include: "Active", "Deprecated", "Disabled".
:vartype entity_status: str or ~flow.models.EntityStatus
:ivar id:
:vartype id: str
:ivar etag:
:vartype etag: str
:ivar created_date:
:vartype created_date: ~datetime.datetime
:ivar last_modified_date:
:vartype last_modified_date: ~datetime.datetime
"""
_attribute_map = {
'total_run_steps': {'key': 'totalRunSteps', 'type': 'int'},
'total_runs': {'key': 'totalRuns', 'type': 'int'},
'parameters': {'key': 'parameters', 'type': '{str}'},
'data_set_definition_value_assignment': {'key': 'dataSetDefinitionValueAssignment', 'type': '{DataSetDefinitionValue}'},
'rest_endpoint': {'key': 'restEndpoint', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'graph_id': {'key': 'graphId', 'type': 'str'},
'published_date': {'key': 'publishedDate', 'type': 'iso-8601'},
'last_run_time': {'key': 'lastRunTime', 'type': 'iso-8601'},
'last_run_status': {'key': 'lastRunStatus', 'type': 'str'},
'published_by': {'key': 'publishedBy', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'properties': {'key': 'properties', 'type': '{str}'},
'version': {'key': 'version', 'type': 'str'},
'is_default': {'key': 'isDefault', 'type': 'bool'},
'entity_status': {'key': 'entityStatus', 'type': 'str'},
'id': {'key': 'id', 'type': 'str'},
'etag': {'key': 'etag', 'type': 'str'},
'created_date': {'key': 'createdDate', 'type': 'iso-8601'},
'last_modified_date': {'key': 'lastModifiedDate', 'type': 'iso-8601'},
}
def __init__(
self,
*,
total_run_steps: Optional[int] = None,
total_runs: Optional[int] = None,
parameters: Optional[Dict[str, str]] = None,
data_set_definition_value_assignment: Optional[Dict[str, "DataSetDefinitionValue"]] = None,
rest_endpoint: Optional[str] = None,
name: Optional[str] = None,
description: Optional[str] = None,
graph_id: Optional[str] = None,
published_date: Optional[datetime.datetime] = None,
last_run_time: Optional[datetime.datetime] = None,
last_run_status: Optional[Union[str, "PipelineRunStatusCode"]] = None,
published_by: Optional[str] = None,
tags: Optional[Dict[str, str]] = None,
properties: Optional[Dict[str, str]] = None,
version: Optional[str] = None,
is_default: Optional[bool] = None,
entity_status: Optional[Union[str, "EntityStatus"]] = None,
id: Optional[str] = None,
etag: Optional[str] = None,
created_date: Optional[datetime.datetime] = None,
last_modified_date: Optional[datetime.datetime] = None,
**kwargs
):
"""
:keyword total_run_steps:
:paramtype total_run_steps: int
:keyword total_runs:
:paramtype total_runs: int
:keyword parameters: This is a dictionary.
:paramtype parameters: dict[str, str]
:keyword data_set_definition_value_assignment: This is a dictionary.
:paramtype data_set_definition_value_assignment: dict[str, ~flow.models.DataSetDefinitionValue]
:keyword rest_endpoint:
:paramtype rest_endpoint: str
:keyword name:
:paramtype name: str
:keyword description:
:paramtype description: str
:keyword graph_id:
:paramtype graph_id: str
:keyword published_date:
:paramtype published_date: ~datetime.datetime
:keyword last_run_time:
:paramtype last_run_time: ~datetime.datetime
:keyword last_run_status: Possible values include: "NotStarted", "Running", "Failed",
"Finished", "Canceled", "Queued", "CancelRequested".
:paramtype last_run_status: str or ~flow.models.PipelineRunStatusCode
:keyword published_by:
:paramtype published_by: str
:keyword tags: A set of tags. This is a dictionary.
:paramtype tags: dict[str, str]
:keyword properties: This is a dictionary.
:paramtype properties: dict[str, str]
:keyword version:
:paramtype version: str
:keyword is_default:
:paramtype is_default: bool
:keyword entity_status: Possible values include: "Active", "Deprecated", "Disabled".
:paramtype entity_status: str or ~flow.models.EntityStatus
:keyword id:
:paramtype id: str
:keyword etag:
:paramtype etag: str
:keyword created_date:
:paramtype created_date: ~datetime.datetime
:keyword last_modified_date:
:paramtype last_modified_date: ~datetime.datetime
"""
super(PublishedPipeline, self).__init__(**kwargs)
self.total_run_steps = total_run_steps
self.total_runs = total_runs
self.parameters = parameters
self.data_set_definition_value_assignment = data_set_definition_value_assignment
self.rest_endpoint = rest_endpoint
self.name = name
self.description = description
self.graph_id = graph_id
self.published_date = published_date
self.last_run_time = last_run_time
self.last_run_status = last_run_status
self.published_by = published_by
self.tags = tags
self.properties = properties
self.version = version
self.is_default = is_default
self.entity_status = entity_status
self.id = id
self.etag = etag
self.created_date = created_date
self.last_modified_date = last_modified_date
class PublishedPipelineSummary(msrest.serialization.Model):
"""PublishedPipelineSummary.
:ivar name:
:vartype name: str
:ivar description:
:vartype description: str
:ivar graph_id:
:vartype graph_id: str
:ivar published_date:
:vartype published_date: ~datetime.datetime
:ivar last_run_time:
:vartype last_run_time: ~datetime.datetime
:ivar last_run_status: Possible values include: "NotStarted", "Running", "Failed", "Finished",
"Canceled", "Queued", "CancelRequested".
:vartype last_run_status: str or ~flow.models.PipelineRunStatusCode
:ivar published_by:
:vartype published_by: str
:ivar tags: A set of tags. This is a dictionary.
:vartype tags: dict[str, str]
:ivar properties: This is a dictionary.
:vartype properties: dict[str, str]
:ivar version:
:vartype version: str
:ivar is_default:
:vartype is_default: bool
:ivar entity_status: Possible values include: "Active", "Deprecated", "Disabled".
:vartype entity_status: str or ~flow.models.EntityStatus
:ivar id:
:vartype id: str
:ivar etag:
:vartype etag: str
:ivar created_date:
:vartype created_date: ~datetime.datetime
:ivar last_modified_date:
:vartype last_modified_date: ~datetime.datetime
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'graph_id': {'key': 'graphId', 'type': 'str'},
'published_date': {'key': 'publishedDate', 'type': 'iso-8601'},
'last_run_time': {'key': 'lastRunTime', 'type': 'iso-8601'},
'last_run_status': {'key': 'lastRunStatus', 'type': 'str'},
'published_by': {'key': 'publishedBy', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'properties': {'key': 'properties', 'type': '{str}'},
'version': {'key': 'version', 'type': 'str'},
'is_default': {'key': 'isDefault', 'type': 'bool'},
'entity_status': {'key': 'entityStatus', 'type': 'str'},
'id': {'key': 'id', 'type': 'str'},
'etag': {'key': 'etag', 'type': 'str'},
'created_date': {'key': 'createdDate', 'type': 'iso-8601'},
'last_modified_date': {'key': 'lastModifiedDate', 'type': 'iso-8601'},
}
def __init__(
self,
*,
name: Optional[str] = None,
description: Optional[str] = None,
graph_id: Optional[str] = None,
published_date: Optional[datetime.datetime] = None,
last_run_time: Optional[datetime.datetime] = None,
last_run_status: Optional[Union[str, "PipelineRunStatusCode"]] = None,
published_by: Optional[str] = None,
tags: Optional[Dict[str, str]] = None,
properties: Optional[Dict[str, str]] = None,
version: Optional[str] = None,
is_default: Optional[bool] = None,
entity_status: Optional[Union[str, "EntityStatus"]] = None,
id: Optional[str] = None,
etag: Optional[str] = None,
created_date: Optional[datetime.datetime] = None,
last_modified_date: Optional[datetime.datetime] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword description:
:paramtype description: str
:keyword graph_id:
:paramtype graph_id: str
:keyword published_date:
:paramtype published_date: ~datetime.datetime
:keyword last_run_time:
:paramtype last_run_time: ~datetime.datetime
:keyword last_run_status: Possible values include: "NotStarted", "Running", "Failed",
"Finished", "Canceled", "Queued", "CancelRequested".
:paramtype last_run_status: str or ~flow.models.PipelineRunStatusCode
:keyword published_by:
:paramtype published_by: str
:keyword tags: A set of tags. This is a dictionary.
:paramtype tags: dict[str, str]
:keyword properties: This is a dictionary.
:paramtype properties: dict[str, str]
:keyword version:
:paramtype version: str
:keyword is_default:
:paramtype is_default: bool
:keyword entity_status: Possible values include: "Active", "Deprecated", "Disabled".
:paramtype entity_status: str or ~flow.models.EntityStatus
:keyword id:
:paramtype id: str
:keyword etag:
:paramtype etag: str
:keyword created_date:
:paramtype created_date: ~datetime.datetime
:keyword last_modified_date:
:paramtype last_modified_date: ~datetime.datetime
"""
super(PublishedPipelineSummary, self).__init__(**kwargs)
self.name = name
self.description = description
self.graph_id = graph_id
self.published_date = published_date
self.last_run_time = last_run_time
self.last_run_status = last_run_status
self.published_by = published_by
self.tags = tags
self.properties = properties
self.version = version
self.is_default = is_default
self.entity_status = entity_status
self.id = id
self.etag = etag
self.created_date = created_date
self.last_modified_date = last_modified_date
class PythonInterfaceMapping(msrest.serialization.Model):
"""PythonInterfaceMapping.
:ivar name:
:vartype name: str
:ivar name_in_yaml:
:vartype name_in_yaml: str
:ivar argument_name:
:vartype argument_name: str
:ivar command_line_option:
:vartype command_line_option: str
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'name_in_yaml': {'key': 'nameInYaml', 'type': 'str'},
'argument_name': {'key': 'argumentName', 'type': 'str'},
'command_line_option': {'key': 'commandLineOption', 'type': 'str'},
}
def __init__(
self,
*,
name: Optional[str] = None,
name_in_yaml: Optional[str] = None,
argument_name: Optional[str] = None,
command_line_option: Optional[str] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword name_in_yaml:
:paramtype name_in_yaml: str
:keyword argument_name:
:paramtype argument_name: str
:keyword command_line_option:
:paramtype command_line_option: str
"""
super(PythonInterfaceMapping, self).__init__(**kwargs)
self.name = name
self.name_in_yaml = name_in_yaml
self.argument_name = argument_name
self.command_line_option = command_line_option
class PythonPyPiOrRCranLibraryDto(msrest.serialization.Model):
"""PythonPyPiOrRCranLibraryDto.
:ivar package:
:vartype package: str
:ivar repo:
:vartype repo: str
"""
_attribute_map = {
'package': {'key': 'package', 'type': 'str'},
'repo': {'key': 'repo', 'type': 'str'},
}
def __init__(
self,
*,
package: Optional[str] = None,
repo: Optional[str] = None,
**kwargs
):
"""
:keyword package:
:paramtype package: str
:keyword repo:
:paramtype repo: str
"""
super(PythonPyPiOrRCranLibraryDto, self).__init__(**kwargs)
self.package = package
self.repo = repo
class PythonSection(msrest.serialization.Model):
"""PythonSection.
:ivar interpreter_path:
:vartype interpreter_path: str
:ivar user_managed_dependencies:
:vartype user_managed_dependencies: bool
:ivar conda_dependencies: Anything.
:vartype conda_dependencies: any
:ivar base_conda_environment:
:vartype base_conda_environment: str
"""
_attribute_map = {
'interpreter_path': {'key': 'interpreterPath', 'type': 'str'},
'user_managed_dependencies': {'key': 'userManagedDependencies', 'type': 'bool'},
'conda_dependencies': {'key': 'condaDependencies', 'type': 'object'},
'base_conda_environment': {'key': 'baseCondaEnvironment', 'type': 'str'},
}
def __init__(
self,
*,
interpreter_path: Optional[str] = None,
user_managed_dependencies: Optional[bool] = None,
conda_dependencies: Optional[Any] = None,
base_conda_environment: Optional[str] = None,
**kwargs
):
"""
:keyword interpreter_path:
:paramtype interpreter_path: str
:keyword user_managed_dependencies:
:paramtype user_managed_dependencies: bool
:keyword conda_dependencies: Anything.
:paramtype conda_dependencies: any
:keyword base_conda_environment:
:paramtype base_conda_environment: str
"""
super(PythonSection, self).__init__(**kwargs)
self.interpreter_path = interpreter_path
self.user_managed_dependencies = user_managed_dependencies
self.conda_dependencies = conda_dependencies
self.base_conda_environment = base_conda_environment
class PyTorchConfiguration(msrest.serialization.Model):
"""PyTorchConfiguration.
:ivar communication_backend:
:vartype communication_backend: str
:ivar process_count:
:vartype process_count: int
"""
_attribute_map = {
'communication_backend': {'key': 'communicationBackend', 'type': 'str'},
'process_count': {'key': 'processCount', 'type': 'int'},
}
def __init__(
self,
*,
communication_backend: Optional[str] = None,
process_count: Optional[int] = None,
**kwargs
):
"""
:keyword communication_backend:
:paramtype communication_backend: str
:keyword process_count:
:paramtype process_count: int
"""
super(PyTorchConfiguration, self).__init__(**kwargs)
self.communication_backend = communication_backend
self.process_count = process_count
class QueueingInfo(msrest.serialization.Model):
"""QueueingInfo.
:ivar code:
:vartype code: str
:ivar message:
:vartype message: str
:ivar last_refresh_timestamp:
:vartype last_refresh_timestamp: ~datetime.datetime
"""
_attribute_map = {
'code': {'key': 'code', 'type': 'str'},
'message': {'key': 'message', 'type': 'str'},
'last_refresh_timestamp': {'key': 'lastRefreshTimestamp', 'type': 'iso-8601'},
}
def __init__(
self,
*,
code: Optional[str] = None,
message: Optional[str] = None,
last_refresh_timestamp: Optional[datetime.datetime] = None,
**kwargs
):
"""
:keyword code:
:paramtype code: str
:keyword message:
:paramtype message: str
:keyword last_refresh_timestamp:
:paramtype last_refresh_timestamp: ~datetime.datetime
"""
super(QueueingInfo, self).__init__(**kwargs)
self.code = code
self.message = message
self.last_refresh_timestamp = last_refresh_timestamp
class RawComponentDto(msrest.serialization.Model):
"""RawComponentDto.
:ivar component_schema:
:vartype component_schema: str
:ivar is_anonymous:
:vartype is_anonymous: bool
:ivar name:
:vartype name: str
:ivar version:
:vartype version: str
:ivar type: Possible values include: "Unknown", "CommandComponent", "Command".
:vartype type: str or ~flow.models.ComponentType
:ivar component_type_version:
:vartype component_type_version: str
:ivar display_name:
:vartype display_name: str
:ivar description:
:vartype description: str
:ivar tags: A set of tags. This is a dictionary.
:vartype tags: dict[str, str]
:ivar properties: This is a dictionary.
:vartype properties: dict[str, str]
:ivar is_deterministic:
:vartype is_deterministic: bool
:ivar successful_return_code:
:vartype successful_return_code: str
:ivar inputs: This is a dictionary.
:vartype inputs: dict[str, ~flow.models.ComponentInput]
:ivar outputs: This is a dictionary.
:vartype outputs: dict[str, ~flow.models.ComponentOutput]
:ivar command:
:vartype command: str
:ivar environment_name:
:vartype environment_name: str
:ivar environment_version:
:vartype environment_version: str
:ivar snapshot_id:
:vartype snapshot_id: str
:ivar created_by:
:vartype created_by: ~flow.models.SchemaContractsCreatedBy
:ivar last_modified_by:
:vartype last_modified_by: ~flow.models.SchemaContractsCreatedBy
:ivar created_date:
:vartype created_date: ~datetime.datetime
:ivar last_modified_date:
:vartype last_modified_date: ~datetime.datetime
:ivar component_internal_id:
:vartype component_internal_id: str
"""
_attribute_map = {
'component_schema': {'key': 'componentSchema', 'type': 'str'},
'is_anonymous': {'key': 'isAnonymous', 'type': 'bool'},
'name': {'key': 'name', 'type': 'str'},
'version': {'key': 'version', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'component_type_version': {'key': 'componentTypeVersion', 'type': 'str'},
'display_name': {'key': 'displayName', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'properties': {'key': 'properties', 'type': '{str}'},
'is_deterministic': {'key': 'isDeterministic', 'type': 'bool'},
'successful_return_code': {'key': 'successfulReturnCode', 'type': 'str'},
'inputs': {'key': 'inputs', 'type': '{ComponentInput}'},
'outputs': {'key': 'outputs', 'type': '{ComponentOutput}'},
'command': {'key': 'command', 'type': 'str'},
'environment_name': {'key': 'environmentName', 'type': 'str'},
'environment_version': {'key': 'environmentVersion', 'type': 'str'},
'snapshot_id': {'key': 'snapshotId', 'type': 'str'},
'created_by': {'key': 'createdBy', 'type': 'SchemaContractsCreatedBy'},
'last_modified_by': {'key': 'lastModifiedBy', 'type': 'SchemaContractsCreatedBy'},
'created_date': {'key': 'createdDate', 'type': 'iso-8601'},
'last_modified_date': {'key': 'lastModifiedDate', 'type': 'iso-8601'},
'component_internal_id': {'key': 'componentInternalId', 'type': 'str'},
}
def __init__(
self,
*,
component_schema: Optional[str] = None,
is_anonymous: Optional[bool] = None,
name: Optional[str] = None,
version: Optional[str] = None,
type: Optional[Union[str, "ComponentType"]] = None,
component_type_version: Optional[str] = None,
display_name: Optional[str] = None,
description: Optional[str] = None,
tags: Optional[Dict[str, str]] = None,
properties: Optional[Dict[str, str]] = None,
is_deterministic: Optional[bool] = None,
successful_return_code: Optional[str] = None,
inputs: Optional[Dict[str, "ComponentInput"]] = None,
outputs: Optional[Dict[str, "ComponentOutput"]] = None,
command: Optional[str] = None,
environment_name: Optional[str] = None,
environment_version: Optional[str] = None,
snapshot_id: Optional[str] = None,
created_by: Optional["SchemaContractsCreatedBy"] = None,
last_modified_by: Optional["SchemaContractsCreatedBy"] = None,
created_date: Optional[datetime.datetime] = None,
last_modified_date: Optional[datetime.datetime] = None,
component_internal_id: Optional[str] = None,
**kwargs
):
"""
:keyword component_schema:
:paramtype component_schema: str
:keyword is_anonymous:
:paramtype is_anonymous: bool
:keyword name:
:paramtype name: str
:keyword version:
:paramtype version: str
:keyword type: Possible values include: "Unknown", "CommandComponent", "Command".
:paramtype type: str or ~flow.models.ComponentType
:keyword component_type_version:
:paramtype component_type_version: str
:keyword display_name:
:paramtype display_name: str
:keyword description:
:paramtype description: str
:keyword tags: A set of tags. This is a dictionary.
:paramtype tags: dict[str, str]
:keyword properties: This is a dictionary.
:paramtype properties: dict[str, str]
:keyword is_deterministic:
:paramtype is_deterministic: bool
:keyword successful_return_code:
:paramtype successful_return_code: str
:keyword inputs: This is a dictionary.
:paramtype inputs: dict[str, ~flow.models.ComponentInput]
:keyword outputs: This is a dictionary.
:paramtype outputs: dict[str, ~flow.models.ComponentOutput]
:keyword command:
:paramtype command: str
:keyword environment_name:
:paramtype environment_name: str
:keyword environment_version:
:paramtype environment_version: str
:keyword snapshot_id:
:paramtype snapshot_id: str
:keyword created_by:
:paramtype created_by: ~flow.models.SchemaContractsCreatedBy
:keyword last_modified_by:
:paramtype last_modified_by: ~flow.models.SchemaContractsCreatedBy
:keyword created_date:
:paramtype created_date: ~datetime.datetime
:keyword last_modified_date:
:paramtype last_modified_date: ~datetime.datetime
:keyword component_internal_id:
:paramtype component_internal_id: str
"""
super(RawComponentDto, self).__init__(**kwargs)
self.component_schema = component_schema
self.is_anonymous = is_anonymous
self.name = name
self.version = version
self.type = type
self.component_type_version = component_type_version
self.display_name = display_name
self.description = description
self.tags = tags
self.properties = properties
self.is_deterministic = is_deterministic
self.successful_return_code = successful_return_code
self.inputs = inputs
self.outputs = outputs
self.command = command
self.environment_name = environment_name
self.environment_version = environment_version
self.snapshot_id = snapshot_id
self.created_by = created_by
self.last_modified_by = last_modified_by
self.created_date = created_date
self.last_modified_date = last_modified_date
self.component_internal_id = component_internal_id
class RayConfiguration(msrest.serialization.Model):
"""RayConfiguration.
:ivar port:
:vartype port: int
:ivar address:
:vartype address: str
:ivar include_dashboard:
:vartype include_dashboard: bool
:ivar dashboard_port:
:vartype dashboard_port: int
:ivar head_node_additional_args:
:vartype head_node_additional_args: str
:ivar worker_node_additional_args:
:vartype worker_node_additional_args: str
"""
_attribute_map = {
'port': {'key': 'port', 'type': 'int'},
'address': {'key': 'address', 'type': 'str'},
'include_dashboard': {'key': 'includeDashboard', 'type': 'bool'},
'dashboard_port': {'key': 'dashboardPort', 'type': 'int'},
'head_node_additional_args': {'key': 'headNodeAdditionalArgs', 'type': 'str'},
'worker_node_additional_args': {'key': 'workerNodeAdditionalArgs', 'type': 'str'},
}
def __init__(
self,
*,
port: Optional[int] = None,
address: Optional[str] = None,
include_dashboard: Optional[bool] = None,
dashboard_port: Optional[int] = None,
head_node_additional_args: Optional[str] = None,
worker_node_additional_args: Optional[str] = None,
**kwargs
):
"""
:keyword port:
:paramtype port: int
:keyword address:
:paramtype address: str
:keyword include_dashboard:
:paramtype include_dashboard: bool
:keyword dashboard_port:
:paramtype dashboard_port: int
:keyword head_node_additional_args:
:paramtype head_node_additional_args: str
:keyword worker_node_additional_args:
:paramtype worker_node_additional_args: str
"""
super(RayConfiguration, self).__init__(**kwargs)
self.port = port
self.address = address
self.include_dashboard = include_dashboard
self.dashboard_port = dashboard_port
self.head_node_additional_args = head_node_additional_args
self.worker_node_additional_args = worker_node_additional_args
class RCranPackage(msrest.serialization.Model):
"""RCranPackage.
:ivar name:
:vartype name: str
:ivar version:
:vartype version: str
:ivar repository:
:vartype repository: str
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'version': {'key': 'version', 'type': 'str'},
'repository': {'key': 'repository', 'type': 'str'},
}
def __init__(
self,
*,
name: Optional[str] = None,
version: Optional[str] = None,
repository: Optional[str] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword version:
:paramtype version: str
:keyword repository:
:paramtype repository: str
"""
super(RCranPackage, self).__init__(**kwargs)
self.name = name
self.version = version
self.repository = repository
class RealTimeEndpoint(msrest.serialization.Model):
"""RealTimeEndpoint.
:ivar created_by:
:vartype created_by: str
:ivar kv_tags: Dictionary of :code:`<string>`.
:vartype kv_tags: dict[str, str]
:ivar state: Possible values include: "Transitioning", "Healthy", "Unhealthy", "Failed",
"Unschedulable".
:vartype state: str or ~flow.models.WebServiceState
:ivar error:
:vartype error: ~flow.models.ModelManagementErrorResponse
:ivar compute_type: Possible values include: "ACI", "AKS", "AMLCOMPUTE", "IOT", "AKSENDPOINT",
"MIRSINGLEMODEL", "MIRAMLCOMPUTE", "MIRGA", "AMLARC", "BATCHAMLCOMPUTE", "UNKNOWN".
:vartype compute_type: str or ~flow.models.ComputeEnvironmentType
:ivar image_id:
:vartype image_id: str
:ivar cpu:
:vartype cpu: float
:ivar memory_in_gb:
:vartype memory_in_gb: float
:ivar max_concurrent_requests_per_container:
:vartype max_concurrent_requests_per_container: int
:ivar num_replicas:
:vartype num_replicas: int
:ivar event_hub_enabled:
:vartype event_hub_enabled: bool
:ivar storage_enabled:
:vartype storage_enabled: bool
:ivar app_insights_enabled:
:vartype app_insights_enabled: bool
:ivar auto_scale_enabled:
:vartype auto_scale_enabled: bool
:ivar min_replicas:
:vartype min_replicas: int
:ivar max_replicas:
:vartype max_replicas: int
:ivar target_utilization:
:vartype target_utilization: int
:ivar refresh_period_in_seconds:
:vartype refresh_period_in_seconds: int
:ivar scoring_uri:
:vartype scoring_uri: str
:ivar deployment_status:
:vartype deployment_status: ~flow.models.AKSReplicaStatus
:ivar scoring_timeout_ms:
:vartype scoring_timeout_ms: int
:ivar auth_enabled:
:vartype auth_enabled: bool
:ivar aad_auth_enabled:
:vartype aad_auth_enabled: bool
:ivar region:
:vartype region: str
:ivar primary_key:
:vartype primary_key: str
:ivar secondary_key:
:vartype secondary_key: str
:ivar swagger_uri:
:vartype swagger_uri: str
:ivar linked_pipeline_draft_id:
:vartype linked_pipeline_draft_id: str
:ivar linked_pipeline_run_id:
:vartype linked_pipeline_run_id: str
:ivar warning:
:vartype warning: str
:ivar name:
:vartype name: str
:ivar description:
:vartype description: str
:ivar id:
:vartype id: str
:ivar created_time:
:vartype created_time: ~datetime.datetime
:ivar updated_time:
:vartype updated_time: ~datetime.datetime
:ivar compute_name:
:vartype compute_name: str
:ivar updated_by:
:vartype updated_by: str
"""
_attribute_map = {
'created_by': {'key': 'createdBy', 'type': 'str'},
'kv_tags': {'key': 'kvTags', 'type': '{str}'},
'state': {'key': 'state', 'type': 'str'},
'error': {'key': 'error', 'type': 'ModelManagementErrorResponse'},
'compute_type': {'key': 'computeType', 'type': 'str'},
'image_id': {'key': 'imageId', 'type': 'str'},
'cpu': {'key': 'cpu', 'type': 'float'},
'memory_in_gb': {'key': 'memoryInGB', 'type': 'float'},
'max_concurrent_requests_per_container': {'key': 'maxConcurrentRequestsPerContainer', 'type': 'int'},
'num_replicas': {'key': 'numReplicas', 'type': 'int'},
'event_hub_enabled': {'key': 'eventHubEnabled', 'type': 'bool'},
'storage_enabled': {'key': 'storageEnabled', 'type': 'bool'},
'app_insights_enabled': {'key': 'appInsightsEnabled', 'type': 'bool'},
'auto_scale_enabled': {'key': 'autoScaleEnabled', 'type': 'bool'},
'min_replicas': {'key': 'minReplicas', 'type': 'int'},
'max_replicas': {'key': 'maxReplicas', 'type': 'int'},
'target_utilization': {'key': 'targetUtilization', 'type': 'int'},
'refresh_period_in_seconds': {'key': 'refreshPeriodInSeconds', 'type': 'int'},
'scoring_uri': {'key': 'scoringUri', 'type': 'str'},
'deployment_status': {'key': 'deploymentStatus', 'type': 'AKSReplicaStatus'},
'scoring_timeout_ms': {'key': 'scoringTimeoutMs', 'type': 'int'},
'auth_enabled': {'key': 'authEnabled', 'type': 'bool'},
'aad_auth_enabled': {'key': 'aadAuthEnabled', 'type': 'bool'},
'region': {'key': 'region', 'type': 'str'},
'primary_key': {'key': 'primaryKey', 'type': 'str'},
'secondary_key': {'key': 'secondaryKey', 'type': 'str'},
'swagger_uri': {'key': 'swaggerUri', 'type': 'str'},
'linked_pipeline_draft_id': {'key': 'linkedPipelineDraftId', 'type': 'str'},
'linked_pipeline_run_id': {'key': 'linkedPipelineRunId', 'type': 'str'},
'warning': {'key': 'warning', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'id': {'key': 'id', 'type': 'str'},
'created_time': {'key': 'createdTime', 'type': 'iso-8601'},
'updated_time': {'key': 'updatedTime', 'type': 'iso-8601'},
'compute_name': {'key': 'computeName', 'type': 'str'},
'updated_by': {'key': 'updatedBy', 'type': 'str'},
}
def __init__(
self,
*,
created_by: Optional[str] = None,
kv_tags: Optional[Dict[str, str]] = None,
state: Optional[Union[str, "WebServiceState"]] = None,
error: Optional["ModelManagementErrorResponse"] = None,
compute_type: Optional[Union[str, "ComputeEnvironmentType"]] = None,
image_id: Optional[str] = None,
cpu: Optional[float] = None,
memory_in_gb: Optional[float] = None,
max_concurrent_requests_per_container: Optional[int] = None,
num_replicas: Optional[int] = None,
event_hub_enabled: Optional[bool] = None,
storage_enabled: Optional[bool] = None,
app_insights_enabled: Optional[bool] = None,
auto_scale_enabled: Optional[bool] = None,
min_replicas: Optional[int] = None,
max_replicas: Optional[int] = None,
target_utilization: Optional[int] = None,
refresh_period_in_seconds: Optional[int] = None,
scoring_uri: Optional[str] = None,
deployment_status: Optional["AKSReplicaStatus"] = None,
scoring_timeout_ms: Optional[int] = None,
auth_enabled: Optional[bool] = None,
aad_auth_enabled: Optional[bool] = None,
region: Optional[str] = None,
primary_key: Optional[str] = None,
secondary_key: Optional[str] = None,
swagger_uri: Optional[str] = None,
linked_pipeline_draft_id: Optional[str] = None,
linked_pipeline_run_id: Optional[str] = None,
warning: Optional[str] = None,
name: Optional[str] = None,
description: Optional[str] = None,
id: Optional[str] = None,
created_time: Optional[datetime.datetime] = None,
updated_time: Optional[datetime.datetime] = None,
compute_name: Optional[str] = None,
updated_by: Optional[str] = None,
**kwargs
):
"""
:keyword created_by:
:paramtype created_by: str
:keyword kv_tags: Dictionary of :code:`<string>`.
:paramtype kv_tags: dict[str, str]
:keyword state: Possible values include: "Transitioning", "Healthy", "Unhealthy", "Failed",
"Unschedulable".
:paramtype state: str or ~flow.models.WebServiceState
:keyword error:
:paramtype error: ~flow.models.ModelManagementErrorResponse
:keyword compute_type: Possible values include: "ACI", "AKS", "AMLCOMPUTE", "IOT",
"AKSENDPOINT", "MIRSINGLEMODEL", "MIRAMLCOMPUTE", "MIRGA", "AMLARC", "BATCHAMLCOMPUTE",
"UNKNOWN".
:paramtype compute_type: str or ~flow.models.ComputeEnvironmentType
:keyword image_id:
:paramtype image_id: str
:keyword cpu:
:paramtype cpu: float
:keyword memory_in_gb:
:paramtype memory_in_gb: float
:keyword max_concurrent_requests_per_container:
:paramtype max_concurrent_requests_per_container: int
:keyword num_replicas:
:paramtype num_replicas: int
:keyword event_hub_enabled:
:paramtype event_hub_enabled: bool
:keyword storage_enabled:
:paramtype storage_enabled: bool
:keyword app_insights_enabled:
:paramtype app_insights_enabled: bool
:keyword auto_scale_enabled:
:paramtype auto_scale_enabled: bool
:keyword min_replicas:
:paramtype min_replicas: int
:keyword max_replicas:
:paramtype max_replicas: int
:keyword target_utilization:
:paramtype target_utilization: int
:keyword refresh_period_in_seconds:
:paramtype refresh_period_in_seconds: int
:keyword scoring_uri:
:paramtype scoring_uri: str
:keyword deployment_status:
:paramtype deployment_status: ~flow.models.AKSReplicaStatus
:keyword scoring_timeout_ms:
:paramtype scoring_timeout_ms: int
:keyword auth_enabled:
:paramtype auth_enabled: bool
:keyword aad_auth_enabled:
:paramtype aad_auth_enabled: bool
:keyword region:
:paramtype region: str
:keyword primary_key:
:paramtype primary_key: str
:keyword secondary_key:
:paramtype secondary_key: str
:keyword swagger_uri:
:paramtype swagger_uri: str
:keyword linked_pipeline_draft_id:
:paramtype linked_pipeline_draft_id: str
:keyword linked_pipeline_run_id:
:paramtype linked_pipeline_run_id: str
:keyword warning:
:paramtype warning: str
:keyword name:
:paramtype name: str
:keyword description:
:paramtype description: str
:keyword id:
:paramtype id: str
:keyword created_time:
:paramtype created_time: ~datetime.datetime
:keyword updated_time:
:paramtype updated_time: ~datetime.datetime
:keyword compute_name:
:paramtype compute_name: str
:keyword updated_by:
:paramtype updated_by: str
"""
super(RealTimeEndpoint, self).__init__(**kwargs)
self.created_by = created_by
self.kv_tags = kv_tags
self.state = state
self.error = error
self.compute_type = compute_type
self.image_id = image_id
self.cpu = cpu
self.memory_in_gb = memory_in_gb
self.max_concurrent_requests_per_container = max_concurrent_requests_per_container
self.num_replicas = num_replicas
self.event_hub_enabled = event_hub_enabled
self.storage_enabled = storage_enabled
self.app_insights_enabled = app_insights_enabled
self.auto_scale_enabled = auto_scale_enabled
self.min_replicas = min_replicas
self.max_replicas = max_replicas
self.target_utilization = target_utilization
self.refresh_period_in_seconds = refresh_period_in_seconds
self.scoring_uri = scoring_uri
self.deployment_status = deployment_status
self.scoring_timeout_ms = scoring_timeout_ms
self.auth_enabled = auth_enabled
self.aad_auth_enabled = aad_auth_enabled
self.region = region
self.primary_key = primary_key
self.secondary_key = secondary_key
self.swagger_uri = swagger_uri
self.linked_pipeline_draft_id = linked_pipeline_draft_id
self.linked_pipeline_run_id = linked_pipeline_run_id
self.warning = warning
self.name = name
self.description = description
self.id = id
self.created_time = created_time
self.updated_time = updated_time
self.compute_name = compute_name
self.updated_by = updated_by
class RealTimeEndpointInfo(msrest.serialization.Model):
"""RealTimeEndpointInfo.
:ivar web_service_inputs:
:vartype web_service_inputs: list[~flow.models.WebServicePort]
:ivar web_service_outputs:
:vartype web_service_outputs: list[~flow.models.WebServicePort]
:ivar deployments_info:
:vartype deployments_info: list[~flow.models.DeploymentInfo]
"""
_attribute_map = {
'web_service_inputs': {'key': 'webServiceInputs', 'type': '[WebServicePort]'},
'web_service_outputs': {'key': 'webServiceOutputs', 'type': '[WebServicePort]'},
'deployments_info': {'key': 'deploymentsInfo', 'type': '[DeploymentInfo]'},
}
def __init__(
self,
*,
web_service_inputs: Optional[List["WebServicePort"]] = None,
web_service_outputs: Optional[List["WebServicePort"]] = None,
deployments_info: Optional[List["DeploymentInfo"]] = None,
**kwargs
):
"""
:keyword web_service_inputs:
:paramtype web_service_inputs: list[~flow.models.WebServicePort]
:keyword web_service_outputs:
:paramtype web_service_outputs: list[~flow.models.WebServicePort]
:keyword deployments_info:
:paramtype deployments_info: list[~flow.models.DeploymentInfo]
"""
super(RealTimeEndpointInfo, self).__init__(**kwargs)
self.web_service_inputs = web_service_inputs
self.web_service_outputs = web_service_outputs
self.deployments_info = deployments_info
class RealTimeEndpointStatus(msrest.serialization.Model):
"""RealTimeEndpointStatus.
:ivar last_operation: Possible values include: "Create", "Update", "Delete".
:vartype last_operation: str or ~flow.models.RealTimeEndpointOpCode
:ivar last_operation_status: Possible values include: "Ongoing", "Succeeded", "Failed",
"SucceededWithWarning".
:vartype last_operation_status: str or ~flow.models.RealTimeEndpointOpStatusCode
:ivar internal_step: Possible values include: "AboutToDeploy", "WaitAksComputeReady",
"RegisterModels", "CreateServiceFromModels", "UpdateServiceFromModels", "WaitServiceCreating",
"FetchServiceRelatedInfo", "TestWithSampleData", "AboutToDelete", "DeleteDeployment",
"DeleteAsset", "DeleteImage", "DeleteModel", "DeleteServiceRecord".
:vartype internal_step: str or ~flow.models.RealTimeEndpointInternalStepCode
:ivar status_detail:
:vartype status_detail: str
:ivar deployment_state:
:vartype deployment_state: str
:ivar service_id:
:vartype service_id: str
:ivar linked_pipeline_draft_id:
:vartype linked_pipeline_draft_id: str
"""
_attribute_map = {
'last_operation': {'key': 'lastOperation', 'type': 'str'},
'last_operation_status': {'key': 'lastOperationStatus', 'type': 'str'},
'internal_step': {'key': 'internalStep', 'type': 'str'},
'status_detail': {'key': 'statusDetail', 'type': 'str'},
'deployment_state': {'key': 'deploymentState', 'type': 'str'},
'service_id': {'key': 'serviceId', 'type': 'str'},
'linked_pipeline_draft_id': {'key': 'linkedPipelineDraftId', 'type': 'str'},
}
def __init__(
self,
*,
last_operation: Optional[Union[str, "RealTimeEndpointOpCode"]] = None,
last_operation_status: Optional[Union[str, "RealTimeEndpointOpStatusCode"]] = None,
internal_step: Optional[Union[str, "RealTimeEndpointInternalStepCode"]] = None,
status_detail: Optional[str] = None,
deployment_state: Optional[str] = None,
service_id: Optional[str] = None,
linked_pipeline_draft_id: Optional[str] = None,
**kwargs
):
"""
:keyword last_operation: Possible values include: "Create", "Update", "Delete".
:paramtype last_operation: str or ~flow.models.RealTimeEndpointOpCode
:keyword last_operation_status: Possible values include: "Ongoing", "Succeeded", "Failed",
"SucceededWithWarning".
:paramtype last_operation_status: str or ~flow.models.RealTimeEndpointOpStatusCode
:keyword internal_step: Possible values include: "AboutToDeploy", "WaitAksComputeReady",
"RegisterModels", "CreateServiceFromModels", "UpdateServiceFromModels", "WaitServiceCreating",
"FetchServiceRelatedInfo", "TestWithSampleData", "AboutToDelete", "DeleteDeployment",
"DeleteAsset", "DeleteImage", "DeleteModel", "DeleteServiceRecord".
:paramtype internal_step: str or ~flow.models.RealTimeEndpointInternalStepCode
:keyword status_detail:
:paramtype status_detail: str
:keyword deployment_state:
:paramtype deployment_state: str
:keyword service_id:
:paramtype service_id: str
:keyword linked_pipeline_draft_id:
:paramtype linked_pipeline_draft_id: str
"""
super(RealTimeEndpointStatus, self).__init__(**kwargs)
self.last_operation = last_operation
self.last_operation_status = last_operation_status
self.internal_step = internal_step
self.status_detail = status_detail
self.deployment_state = deployment_state
self.service_id = service_id
self.linked_pipeline_draft_id = linked_pipeline_draft_id
class RealTimeEndpointSummary(msrest.serialization.Model):
"""RealTimeEndpointSummary.
:ivar name:
:vartype name: str
:ivar description:
:vartype description: str
:ivar id:
:vartype id: str
:ivar created_time:
:vartype created_time: ~datetime.datetime
:ivar updated_time:
:vartype updated_time: ~datetime.datetime
:ivar compute_type: Possible values include: "ACI", "AKS", "AMLCOMPUTE", "IOT", "AKSENDPOINT",
"MIRSINGLEMODEL", "MIRAMLCOMPUTE", "MIRGA", "AMLARC", "BATCHAMLCOMPUTE", "UNKNOWN".
:vartype compute_type: str or ~flow.models.ComputeEnvironmentType
:ivar compute_name:
:vartype compute_name: str
:ivar updated_by:
:vartype updated_by: str
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'id': {'key': 'id', 'type': 'str'},
'created_time': {'key': 'createdTime', 'type': 'iso-8601'},
'updated_time': {'key': 'updatedTime', 'type': 'iso-8601'},
'compute_type': {'key': 'computeType', 'type': 'str'},
'compute_name': {'key': 'computeName', 'type': 'str'},
'updated_by': {'key': 'updatedBy', 'type': 'str'},
}
def __init__(
self,
*,
name: Optional[str] = None,
description: Optional[str] = None,
id: Optional[str] = None,
created_time: Optional[datetime.datetime] = None,
updated_time: Optional[datetime.datetime] = None,
compute_type: Optional[Union[str, "ComputeEnvironmentType"]] = None,
compute_name: Optional[str] = None,
updated_by: Optional[str] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword description:
:paramtype description: str
:keyword id:
:paramtype id: str
:keyword created_time:
:paramtype created_time: ~datetime.datetime
:keyword updated_time:
:paramtype updated_time: ~datetime.datetime
:keyword compute_type: Possible values include: "ACI", "AKS", "AMLCOMPUTE", "IOT",
"AKSENDPOINT", "MIRSINGLEMODEL", "MIRAMLCOMPUTE", "MIRGA", "AMLARC", "BATCHAMLCOMPUTE",
"UNKNOWN".
:paramtype compute_type: str or ~flow.models.ComputeEnvironmentType
:keyword compute_name:
:paramtype compute_name: str
:keyword updated_by:
:paramtype updated_by: str
"""
super(RealTimeEndpointSummary, self).__init__(**kwargs)
self.name = name
self.description = description
self.id = id
self.created_time = created_time
self.updated_time = updated_time
self.compute_type = compute_type
self.compute_name = compute_name
self.updated_by = updated_by
class RealTimeEndpointTestRequest(msrest.serialization.Model):
"""RealTimeEndpointTestRequest.
:ivar end_point:
:vartype end_point: str
:ivar auth_key:
:vartype auth_key: str
:ivar payload:
:vartype payload: str
"""
_attribute_map = {
'end_point': {'key': 'endPoint', 'type': 'str'},
'auth_key': {'key': 'authKey', 'type': 'str'},
'payload': {'key': 'payload', 'type': 'str'},
}
def __init__(
self,
*,
end_point: Optional[str] = None,
auth_key: Optional[str] = None,
payload: Optional[str] = None,
**kwargs
):
"""
:keyword end_point:
:paramtype end_point: str
:keyword auth_key:
:paramtype auth_key: str
:keyword payload:
:paramtype payload: str
"""
super(RealTimeEndpointTestRequest, self).__init__(**kwargs)
self.end_point = end_point
self.auth_key = auth_key
self.payload = payload
class Recurrence(msrest.serialization.Model):
"""Recurrence.
:ivar frequency: Possible values include: "Month", "Week", "Day", "Hour", "Minute".
:vartype frequency: str or ~flow.models.Frequency
:ivar interval:
:vartype interval: int
:ivar schedule:
:vartype schedule: ~flow.models.RecurrenceSchedule
:ivar end_time:
:vartype end_time: str
:ivar start_time:
:vartype start_time: str
:ivar time_zone:
:vartype time_zone: str
"""
_attribute_map = {
'frequency': {'key': 'frequency', 'type': 'str'},
'interval': {'key': 'interval', 'type': 'int'},
'schedule': {'key': 'schedule', 'type': 'RecurrenceSchedule'},
'end_time': {'key': 'endTime', 'type': 'str'},
'start_time': {'key': 'startTime', 'type': 'str'},
'time_zone': {'key': 'timeZone', 'type': 'str'},
}
def __init__(
self,
*,
frequency: Optional[Union[str, "Frequency"]] = None,
interval: Optional[int] = None,
schedule: Optional["RecurrenceSchedule"] = None,
end_time: Optional[str] = None,
start_time: Optional[str] = None,
time_zone: Optional[str] = None,
**kwargs
):
"""
:keyword frequency: Possible values include: "Month", "Week", "Day", "Hour", "Minute".
:paramtype frequency: str or ~flow.models.Frequency
:keyword interval:
:paramtype interval: int
:keyword schedule:
:paramtype schedule: ~flow.models.RecurrenceSchedule
:keyword end_time:
:paramtype end_time: str
:keyword start_time:
:paramtype start_time: str
:keyword time_zone:
:paramtype time_zone: str
"""
super(Recurrence, self).__init__(**kwargs)
self.frequency = frequency
self.interval = interval
self.schedule = schedule
self.end_time = end_time
self.start_time = start_time
self.time_zone = time_zone
class RecurrencePattern(msrest.serialization.Model):
"""RecurrencePattern.
:ivar hours:
:vartype hours: list[int]
:ivar minutes:
:vartype minutes: list[int]
:ivar weekdays:
:vartype weekdays: list[str or ~flow.models.Weekday]
"""
_attribute_map = {
'hours': {'key': 'hours', 'type': '[int]'},
'minutes': {'key': 'minutes', 'type': '[int]'},
'weekdays': {'key': 'weekdays', 'type': '[str]'},
}
def __init__(
self,
*,
hours: Optional[List[int]] = None,
minutes: Optional[List[int]] = None,
weekdays: Optional[List[Union[str, "Weekday"]]] = None,
**kwargs
):
"""
:keyword hours:
:paramtype hours: list[int]
:keyword minutes:
:paramtype minutes: list[int]
:keyword weekdays:
:paramtype weekdays: list[str or ~flow.models.Weekday]
"""
super(RecurrencePattern, self).__init__(**kwargs)
self.hours = hours
self.minutes = minutes
self.weekdays = weekdays
class RecurrenceSchedule(msrest.serialization.Model):
"""RecurrenceSchedule.
:ivar hours:
:vartype hours: list[int]
:ivar minutes:
:vartype minutes: list[int]
:ivar week_days:
:vartype week_days: list[str or ~flow.models.WeekDays]
:ivar month_days:
:vartype month_days: list[int]
"""
_attribute_map = {
'hours': {'key': 'hours', 'type': '[int]'},
'minutes': {'key': 'minutes', 'type': '[int]'},
'week_days': {'key': 'weekDays', 'type': '[str]'},
'month_days': {'key': 'monthDays', 'type': '[int]'},
}
def __init__(
self,
*,
hours: Optional[List[int]] = None,
minutes: Optional[List[int]] = None,
week_days: Optional[List[Union[str, "WeekDays"]]] = None,
month_days: Optional[List[int]] = None,
**kwargs
):
"""
:keyword hours:
:paramtype hours: list[int]
:keyword minutes:
:paramtype minutes: list[int]
:keyword week_days:
:paramtype week_days: list[str or ~flow.models.WeekDays]
:keyword month_days:
:paramtype month_days: list[int]
"""
super(RecurrenceSchedule, self).__init__(**kwargs)
self.hours = hours
self.minutes = minutes
self.week_days = week_days
self.month_days = month_days
class RegenerateServiceKeysRequest(msrest.serialization.Model):
"""RegenerateServiceKeysRequest.
:ivar key_type: Possible values include: "Primary", "Secondary".
:vartype key_type: str or ~flow.models.KeyType
:ivar key_value:
:vartype key_value: str
"""
_attribute_map = {
'key_type': {'key': 'keyType', 'type': 'str'},
'key_value': {'key': 'keyValue', 'type': 'str'},
}
def __init__(
self,
*,
key_type: Optional[Union[str, "KeyType"]] = None,
key_value: Optional[str] = None,
**kwargs
):
"""
:keyword key_type: Possible values include: "Primary", "Secondary".
:paramtype key_type: str or ~flow.models.KeyType
:keyword key_value:
:paramtype key_value: str
"""
super(RegenerateServiceKeysRequest, self).__init__(**kwargs)
self.key_type = key_type
self.key_value = key_value
class RegisterComponentMetaInfo(msrest.serialization.Model):
"""RegisterComponentMetaInfo.
:ivar aml_module_name:
:vartype aml_module_name: str
:ivar name_only_display_info:
:vartype name_only_display_info: str
:ivar name:
:vartype name: str
:ivar version:
:vartype version: str
:ivar module_version_id:
:vartype module_version_id: str
:ivar snapshot_id:
:vartype snapshot_id: str
:ivar component_registration_type: Possible values include: "Normal", "AnonymousAmlModule",
"AnonymousAmlModuleVersion", "ModuleEntityOnly".
:vartype component_registration_type: str or ~flow.models.ComponentRegistrationTypeEnum
:ivar module_entity_from_yaml:
:vartype module_entity_from_yaml: ~flow.models.ModuleEntity
:ivar set_as_default_version:
:vartype set_as_default_version: bool
:ivar data_types_from_yaml:
:vartype data_types_from_yaml: list[~flow.models.DataTypeCreationInfo]
:ivar data_type_mechanism: Possible values include: "ErrorWhenNotExisting",
"RegisterWhenNotExisting", "RegisterBuildinDataTypeOnly".
:vartype data_type_mechanism: str or ~flow.models.DataTypeMechanism
:ivar identifier_hash:
:vartype identifier_hash: str
:ivar identifier_hashes:
:vartype identifier_hashes: ~flow.models.RegisterComponentMetaInfoIdentifierHashes
:ivar content_hash:
:vartype content_hash: str
:ivar extra_hash:
:vartype extra_hash: str
:ivar extra_hashes:
:vartype extra_hashes: ~flow.models.RegisterComponentMetaInfoExtraHashes
:ivar registration:
:vartype registration: bool
:ivar validate_only:
:vartype validate_only: bool
:ivar skip_workspace_related_check:
:vartype skip_workspace_related_check: bool
:ivar intellectual_property_protected_workspace_component_registration_allowed_publisher:
:vartype intellectual_property_protected_workspace_component_registration_allowed_publisher:
list[str]
:ivar system_managed_registration:
:vartype system_managed_registration: bool
:ivar allow_dup_name_between_input_and_ouput_port:
:vartype allow_dup_name_between_input_and_ouput_port: bool
:ivar module_source:
:vartype module_source: str
:ivar module_scope:
:vartype module_scope: str
:ivar module_additional_includes_count:
:vartype module_additional_includes_count: int
:ivar module_os_type:
:vartype module_os_type: str
:ivar module_codegen_by:
:vartype module_codegen_by: str
:ivar module_client_source:
:vartype module_client_source: str
:ivar module_is_builtin:
:vartype module_is_builtin: bool
:ivar module_register_event_extension_fields: Dictionary of :code:`<string>`.
:vartype module_register_event_extension_fields: dict[str, str]
"""
_attribute_map = {
'aml_module_name': {'key': 'amlModuleName', 'type': 'str'},
'name_only_display_info': {'key': 'nameOnlyDisplayInfo', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'version': {'key': 'version', 'type': 'str'},
'module_version_id': {'key': 'moduleVersionId', 'type': 'str'},
'snapshot_id': {'key': 'snapshotId', 'type': 'str'},
'component_registration_type': {'key': 'componentRegistrationType', 'type': 'str'},
'module_entity_from_yaml': {'key': 'moduleEntityFromYaml', 'type': 'ModuleEntity'},
'set_as_default_version': {'key': 'setAsDefaultVersion', 'type': 'bool'},
'data_types_from_yaml': {'key': 'dataTypesFromYaml', 'type': '[DataTypeCreationInfo]'},
'data_type_mechanism': {'key': 'dataTypeMechanism', 'type': 'str'},
'identifier_hash': {'key': 'identifierHash', 'type': 'str'},
'identifier_hashes': {'key': 'identifierHashes', 'type': 'RegisterComponentMetaInfoIdentifierHashes'},
'content_hash': {'key': 'contentHash', 'type': 'str'},
'extra_hash': {'key': 'extraHash', 'type': 'str'},
'extra_hashes': {'key': 'extraHashes', 'type': 'RegisterComponentMetaInfoExtraHashes'},
'registration': {'key': 'registration', 'type': 'bool'},
'validate_only': {'key': 'validateOnly', 'type': 'bool'},
'skip_workspace_related_check': {'key': 'skipWorkspaceRelatedCheck', 'type': 'bool'},
'intellectual_property_protected_workspace_component_registration_allowed_publisher': {'key': 'intellectualPropertyProtectedWorkspaceComponentRegistrationAllowedPublisher', 'type': '[str]'},
'system_managed_registration': {'key': 'systemManagedRegistration', 'type': 'bool'},
'allow_dup_name_between_input_and_ouput_port': {'key': 'allowDupNameBetweenInputAndOuputPort', 'type': 'bool'},
'module_source': {'key': 'moduleSource', 'type': 'str'},
'module_scope': {'key': 'moduleScope', 'type': 'str'},
'module_additional_includes_count': {'key': 'moduleAdditionalIncludesCount', 'type': 'int'},
'module_os_type': {'key': 'moduleOSType', 'type': 'str'},
'module_codegen_by': {'key': 'moduleCodegenBy', 'type': 'str'},
'module_client_source': {'key': 'moduleClientSource', 'type': 'str'},
'module_is_builtin': {'key': 'moduleIsBuiltin', 'type': 'bool'},
'module_register_event_extension_fields': {'key': 'moduleRegisterEventExtensionFields', 'type': '{str}'},
}
def __init__(
self,
*,
aml_module_name: Optional[str] = None,
name_only_display_info: Optional[str] = None,
name: Optional[str] = None,
version: Optional[str] = None,
module_version_id: Optional[str] = None,
snapshot_id: Optional[str] = None,
component_registration_type: Optional[Union[str, "ComponentRegistrationTypeEnum"]] = None,
module_entity_from_yaml: Optional["ModuleEntity"] = None,
set_as_default_version: Optional[bool] = None,
data_types_from_yaml: Optional[List["DataTypeCreationInfo"]] = None,
data_type_mechanism: Optional[Union[str, "DataTypeMechanism"]] = None,
identifier_hash: Optional[str] = None,
identifier_hashes: Optional["RegisterComponentMetaInfoIdentifierHashes"] = None,
content_hash: Optional[str] = None,
extra_hash: Optional[str] = None,
extra_hashes: Optional["RegisterComponentMetaInfoExtraHashes"] = None,
registration: Optional[bool] = None,
validate_only: Optional[bool] = None,
skip_workspace_related_check: Optional[bool] = None,
intellectual_property_protected_workspace_component_registration_allowed_publisher: Optional[List[str]] = None,
system_managed_registration: Optional[bool] = None,
allow_dup_name_between_input_and_ouput_port: Optional[bool] = None,
module_source: Optional[str] = None,
module_scope: Optional[str] = None,
module_additional_includes_count: Optional[int] = None,
module_os_type: Optional[str] = None,
module_codegen_by: Optional[str] = None,
module_client_source: Optional[str] = None,
module_is_builtin: Optional[bool] = None,
module_register_event_extension_fields: Optional[Dict[str, str]] = None,
**kwargs
):
"""
:keyword aml_module_name:
:paramtype aml_module_name: str
:keyword name_only_display_info:
:paramtype name_only_display_info: str
:keyword name:
:paramtype name: str
:keyword version:
:paramtype version: str
:keyword module_version_id:
:paramtype module_version_id: str
:keyword snapshot_id:
:paramtype snapshot_id: str
:keyword component_registration_type: Possible values include: "Normal", "AnonymousAmlModule",
"AnonymousAmlModuleVersion", "ModuleEntityOnly".
:paramtype component_registration_type: str or ~flow.models.ComponentRegistrationTypeEnum
:keyword module_entity_from_yaml:
:paramtype module_entity_from_yaml: ~flow.models.ModuleEntity
:keyword set_as_default_version:
:paramtype set_as_default_version: bool
:keyword data_types_from_yaml:
:paramtype data_types_from_yaml: list[~flow.models.DataTypeCreationInfo]
:keyword data_type_mechanism: Possible values include: "ErrorWhenNotExisting",
"RegisterWhenNotExisting", "RegisterBuildinDataTypeOnly".
:paramtype data_type_mechanism: str or ~flow.models.DataTypeMechanism
:keyword identifier_hash:
:paramtype identifier_hash: str
:keyword identifier_hashes:
:paramtype identifier_hashes: ~flow.models.RegisterComponentMetaInfoIdentifierHashes
:keyword content_hash:
:paramtype content_hash: str
:keyword extra_hash:
:paramtype extra_hash: str
:keyword extra_hashes:
:paramtype extra_hashes: ~flow.models.RegisterComponentMetaInfoExtraHashes
:keyword registration:
:paramtype registration: bool
:keyword validate_only:
:paramtype validate_only: bool
:keyword skip_workspace_related_check:
:paramtype skip_workspace_related_check: bool
:keyword intellectual_property_protected_workspace_component_registration_allowed_publisher:
:paramtype intellectual_property_protected_workspace_component_registration_allowed_publisher:
list[str]
:keyword system_managed_registration:
:paramtype system_managed_registration: bool
:keyword allow_dup_name_between_input_and_ouput_port:
:paramtype allow_dup_name_between_input_and_ouput_port: bool
:keyword module_source:
:paramtype module_source: str
:keyword module_scope:
:paramtype module_scope: str
:keyword module_additional_includes_count:
:paramtype module_additional_includes_count: int
:keyword module_os_type:
:paramtype module_os_type: str
:keyword module_codegen_by:
:paramtype module_codegen_by: str
:keyword module_client_source:
:paramtype module_client_source: str
:keyword module_is_builtin:
:paramtype module_is_builtin: bool
:keyword module_register_event_extension_fields: Dictionary of :code:`<string>`.
:paramtype module_register_event_extension_fields: dict[str, str]
"""
super(RegisterComponentMetaInfo, self).__init__(**kwargs)
self.aml_module_name = aml_module_name
self.name_only_display_info = name_only_display_info
self.name = name
self.version = version
self.module_version_id = module_version_id
self.snapshot_id = snapshot_id
self.component_registration_type = component_registration_type
self.module_entity_from_yaml = module_entity_from_yaml
self.set_as_default_version = set_as_default_version
self.data_types_from_yaml = data_types_from_yaml
self.data_type_mechanism = data_type_mechanism
self.identifier_hash = identifier_hash
self.identifier_hashes = identifier_hashes
self.content_hash = content_hash
self.extra_hash = extra_hash
self.extra_hashes = extra_hashes
self.registration = registration
self.validate_only = validate_only
self.skip_workspace_related_check = skip_workspace_related_check
self.intellectual_property_protected_workspace_component_registration_allowed_publisher = intellectual_property_protected_workspace_component_registration_allowed_publisher
self.system_managed_registration = system_managed_registration
self.allow_dup_name_between_input_and_ouput_port = allow_dup_name_between_input_and_ouput_port
self.module_source = module_source
self.module_scope = module_scope
self.module_additional_includes_count = module_additional_includes_count
self.module_os_type = module_os_type
self.module_codegen_by = module_codegen_by
self.module_client_source = module_client_source
self.module_is_builtin = module_is_builtin
self.module_register_event_extension_fields = module_register_event_extension_fields
class RegisterComponentMetaInfoExtraHashes(msrest.serialization.Model):
"""RegisterComponentMetaInfoExtraHashes.
:ivar identifier_hash:
:vartype identifier_hash: str
:ivar identifier_hash_v2:
:vartype identifier_hash_v2: str
"""
_attribute_map = {
'identifier_hash': {'key': 'IdentifierHash', 'type': 'str'},
'identifier_hash_v2': {'key': 'IdentifierHashV2', 'type': 'str'},
}
def __init__(
self,
*,
identifier_hash: Optional[str] = None,
identifier_hash_v2: Optional[str] = None,
**kwargs
):
"""
:keyword identifier_hash:
:paramtype identifier_hash: str
:keyword identifier_hash_v2:
:paramtype identifier_hash_v2: str
"""
super(RegisterComponentMetaInfoExtraHashes, self).__init__(**kwargs)
self.identifier_hash = identifier_hash
self.identifier_hash_v2 = identifier_hash_v2
class RegisterComponentMetaInfoIdentifierHashes(msrest.serialization.Model):
"""RegisterComponentMetaInfoIdentifierHashes.
:ivar identifier_hash:
:vartype identifier_hash: str
:ivar identifier_hash_v2:
:vartype identifier_hash_v2: str
"""
_attribute_map = {
'identifier_hash': {'key': 'IdentifierHash', 'type': 'str'},
'identifier_hash_v2': {'key': 'IdentifierHashV2', 'type': 'str'},
}
def __init__(
self,
*,
identifier_hash: Optional[str] = None,
identifier_hash_v2: Optional[str] = None,
**kwargs
):
"""
:keyword identifier_hash:
:paramtype identifier_hash: str
:keyword identifier_hash_v2:
:paramtype identifier_hash_v2: str
"""
super(RegisterComponentMetaInfoIdentifierHashes, self).__init__(**kwargs)
self.identifier_hash = identifier_hash
self.identifier_hash_v2 = identifier_hash_v2
class RegisteredDataSetReference(msrest.serialization.Model):
"""RegisteredDataSetReference.
:ivar id:
:vartype id: str
:ivar name:
:vartype name: str
:ivar version:
:vartype version: str
"""
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'version': {'key': 'version', 'type': 'str'},
}
def __init__(
self,
*,
id: Optional[str] = None,
name: Optional[str] = None,
version: Optional[str] = None,
**kwargs
):
"""
:keyword id:
:paramtype id: str
:keyword name:
:paramtype name: str
:keyword version:
:paramtype version: str
"""
super(RegisteredDataSetReference, self).__init__(**kwargs)
self.id = id
self.name = name
self.version = version
class RegisterRegistryComponentMetaInfo(msrest.serialization.Model):
"""RegisterRegistryComponentMetaInfo.
:ivar registry_name:
:vartype registry_name: str
:ivar intellectual_property_publisher_information:
:vartype intellectual_property_publisher_information:
~flow.models.IntellectualPropertyPublisherInformation
:ivar blob_reference_data: This is a dictionary.
:vartype blob_reference_data: dict[str, ~flow.models.RegistryBlobReferenceData]
:ivar aml_module_name:
:vartype aml_module_name: str
:ivar name_only_display_info:
:vartype name_only_display_info: str
:ivar name:
:vartype name: str
:ivar version:
:vartype version: str
:ivar module_version_id:
:vartype module_version_id: str
:ivar snapshot_id:
:vartype snapshot_id: str
:ivar component_registration_type: Possible values include: "Normal", "AnonymousAmlModule",
"AnonymousAmlModuleVersion", "ModuleEntityOnly".
:vartype component_registration_type: str or ~flow.models.ComponentRegistrationTypeEnum
:ivar module_entity_from_yaml:
:vartype module_entity_from_yaml: ~flow.models.ModuleEntity
:ivar set_as_default_version:
:vartype set_as_default_version: bool
:ivar data_types_from_yaml:
:vartype data_types_from_yaml: list[~flow.models.DataTypeCreationInfo]
:ivar data_type_mechanism: Possible values include: "ErrorWhenNotExisting",
"RegisterWhenNotExisting", "RegisterBuildinDataTypeOnly".
:vartype data_type_mechanism: str or ~flow.models.DataTypeMechanism
:ivar identifier_hash:
:vartype identifier_hash: str
:ivar identifier_hashes:
:vartype identifier_hashes: ~flow.models.RegisterRegistryComponentMetaInfoIdentifierHashes
:ivar content_hash:
:vartype content_hash: str
:ivar extra_hash:
:vartype extra_hash: str
:ivar extra_hashes:
:vartype extra_hashes: ~flow.models.RegisterRegistryComponentMetaInfoExtraHashes
:ivar registration:
:vartype registration: bool
:ivar validate_only:
:vartype validate_only: bool
:ivar skip_workspace_related_check:
:vartype skip_workspace_related_check: bool
:ivar intellectual_property_protected_workspace_component_registration_allowed_publisher:
:vartype intellectual_property_protected_workspace_component_registration_allowed_publisher:
list[str]
:ivar system_managed_registration:
:vartype system_managed_registration: bool
:ivar allow_dup_name_between_input_and_ouput_port:
:vartype allow_dup_name_between_input_and_ouput_port: bool
:ivar module_source:
:vartype module_source: str
:ivar module_scope:
:vartype module_scope: str
:ivar module_additional_includes_count:
:vartype module_additional_includes_count: int
:ivar module_os_type:
:vartype module_os_type: str
:ivar module_codegen_by:
:vartype module_codegen_by: str
:ivar module_client_source:
:vartype module_client_source: str
:ivar module_is_builtin:
:vartype module_is_builtin: bool
:ivar module_register_event_extension_fields: Dictionary of :code:`<string>`.
:vartype module_register_event_extension_fields: dict[str, str]
"""
_attribute_map = {
'registry_name': {'key': 'registryName', 'type': 'str'},
'intellectual_property_publisher_information': {'key': 'intellectualPropertyPublisherInformation', 'type': 'IntellectualPropertyPublisherInformation'},
'blob_reference_data': {'key': 'blobReferenceData', 'type': '{RegistryBlobReferenceData}'},
'aml_module_name': {'key': 'amlModuleName', 'type': 'str'},
'name_only_display_info': {'key': 'nameOnlyDisplayInfo', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'version': {'key': 'version', 'type': 'str'},
'module_version_id': {'key': 'moduleVersionId', 'type': 'str'},
'snapshot_id': {'key': 'snapshotId', 'type': 'str'},
'component_registration_type': {'key': 'componentRegistrationType', 'type': 'str'},
'module_entity_from_yaml': {'key': 'moduleEntityFromYaml', 'type': 'ModuleEntity'},
'set_as_default_version': {'key': 'setAsDefaultVersion', 'type': 'bool'},
'data_types_from_yaml': {'key': 'dataTypesFromYaml', 'type': '[DataTypeCreationInfo]'},
'data_type_mechanism': {'key': 'dataTypeMechanism', 'type': 'str'},
'identifier_hash': {'key': 'identifierHash', 'type': 'str'},
'identifier_hashes': {'key': 'identifierHashes', 'type': 'RegisterRegistryComponentMetaInfoIdentifierHashes'},
'content_hash': {'key': 'contentHash', 'type': 'str'},
'extra_hash': {'key': 'extraHash', 'type': 'str'},
'extra_hashes': {'key': 'extraHashes', 'type': 'RegisterRegistryComponentMetaInfoExtraHashes'},
'registration': {'key': 'registration', 'type': 'bool'},
'validate_only': {'key': 'validateOnly', 'type': 'bool'},
'skip_workspace_related_check': {'key': 'skipWorkspaceRelatedCheck', 'type': 'bool'},
'intellectual_property_protected_workspace_component_registration_allowed_publisher': {'key': 'intellectualPropertyProtectedWorkspaceComponentRegistrationAllowedPublisher', 'type': '[str]'},
'system_managed_registration': {'key': 'systemManagedRegistration', 'type': 'bool'},
'allow_dup_name_between_input_and_ouput_port': {'key': 'allowDupNameBetweenInputAndOuputPort', 'type': 'bool'},
'module_source': {'key': 'moduleSource', 'type': 'str'},
'module_scope': {'key': 'moduleScope', 'type': 'str'},
'module_additional_includes_count': {'key': 'moduleAdditionalIncludesCount', 'type': 'int'},
'module_os_type': {'key': 'moduleOSType', 'type': 'str'},
'module_codegen_by': {'key': 'moduleCodegenBy', 'type': 'str'},
'module_client_source': {'key': 'moduleClientSource', 'type': 'str'},
'module_is_builtin': {'key': 'moduleIsBuiltin', 'type': 'bool'},
'module_register_event_extension_fields': {'key': 'moduleRegisterEventExtensionFields', 'type': '{str}'},
}
def __init__(
self,
*,
registry_name: Optional[str] = None,
intellectual_property_publisher_information: Optional["IntellectualPropertyPublisherInformation"] = None,
blob_reference_data: Optional[Dict[str, "RegistryBlobReferenceData"]] = None,
aml_module_name: Optional[str] = None,
name_only_display_info: Optional[str] = None,
name: Optional[str] = None,
version: Optional[str] = None,
module_version_id: Optional[str] = None,
snapshot_id: Optional[str] = None,
component_registration_type: Optional[Union[str, "ComponentRegistrationTypeEnum"]] = None,
module_entity_from_yaml: Optional["ModuleEntity"] = None,
set_as_default_version: Optional[bool] = None,
data_types_from_yaml: Optional[List["DataTypeCreationInfo"]] = None,
data_type_mechanism: Optional[Union[str, "DataTypeMechanism"]] = None,
identifier_hash: Optional[str] = None,
identifier_hashes: Optional["RegisterRegistryComponentMetaInfoIdentifierHashes"] = None,
content_hash: Optional[str] = None,
extra_hash: Optional[str] = None,
extra_hashes: Optional["RegisterRegistryComponentMetaInfoExtraHashes"] = None,
registration: Optional[bool] = None,
validate_only: Optional[bool] = None,
skip_workspace_related_check: Optional[bool] = None,
intellectual_property_protected_workspace_component_registration_allowed_publisher: Optional[List[str]] = None,
system_managed_registration: Optional[bool] = None,
allow_dup_name_between_input_and_ouput_port: Optional[bool] = None,
module_source: Optional[str] = None,
module_scope: Optional[str] = None,
module_additional_includes_count: Optional[int] = None,
module_os_type: Optional[str] = None,
module_codegen_by: Optional[str] = None,
module_client_source: Optional[str] = None,
module_is_builtin: Optional[bool] = None,
module_register_event_extension_fields: Optional[Dict[str, str]] = None,
**kwargs
):
"""
:keyword registry_name:
:paramtype registry_name: str
:keyword intellectual_property_publisher_information:
:paramtype intellectual_property_publisher_information:
~flow.models.IntellectualPropertyPublisherInformation
:keyword blob_reference_data: This is a dictionary.
:paramtype blob_reference_data: dict[str, ~flow.models.RegistryBlobReferenceData]
:keyword aml_module_name:
:paramtype aml_module_name: str
:keyword name_only_display_info:
:paramtype name_only_display_info: str
:keyword name:
:paramtype name: str
:keyword version:
:paramtype version: str
:keyword module_version_id:
:paramtype module_version_id: str
:keyword snapshot_id:
:paramtype snapshot_id: str
:keyword component_registration_type: Possible values include: "Normal", "AnonymousAmlModule",
"AnonymousAmlModuleVersion", "ModuleEntityOnly".
:paramtype component_registration_type: str or ~flow.models.ComponentRegistrationTypeEnum
:keyword module_entity_from_yaml:
:paramtype module_entity_from_yaml: ~flow.models.ModuleEntity
:keyword set_as_default_version:
:paramtype set_as_default_version: bool
:keyword data_types_from_yaml:
:paramtype data_types_from_yaml: list[~flow.models.DataTypeCreationInfo]
:keyword data_type_mechanism: Possible values include: "ErrorWhenNotExisting",
"RegisterWhenNotExisting", "RegisterBuildinDataTypeOnly".
:paramtype data_type_mechanism: str or ~flow.models.DataTypeMechanism
:keyword identifier_hash:
:paramtype identifier_hash: str
:keyword identifier_hashes:
:paramtype identifier_hashes: ~flow.models.RegisterRegistryComponentMetaInfoIdentifierHashes
:keyword content_hash:
:paramtype content_hash: str
:keyword extra_hash:
:paramtype extra_hash: str
:keyword extra_hashes:
:paramtype extra_hashes: ~flow.models.RegisterRegistryComponentMetaInfoExtraHashes
:keyword registration:
:paramtype registration: bool
:keyword validate_only:
:paramtype validate_only: bool
:keyword skip_workspace_related_check:
:paramtype skip_workspace_related_check: bool
:keyword intellectual_property_protected_workspace_component_registration_allowed_publisher:
:paramtype intellectual_property_protected_workspace_component_registration_allowed_publisher:
list[str]
:keyword system_managed_registration:
:paramtype system_managed_registration: bool
:keyword allow_dup_name_between_input_and_ouput_port:
:paramtype allow_dup_name_between_input_and_ouput_port: bool
:keyword module_source:
:paramtype module_source: str
:keyword module_scope:
:paramtype module_scope: str
:keyword module_additional_includes_count:
:paramtype module_additional_includes_count: int
:keyword module_os_type:
:paramtype module_os_type: str
:keyword module_codegen_by:
:paramtype module_codegen_by: str
:keyword module_client_source:
:paramtype module_client_source: str
:keyword module_is_builtin:
:paramtype module_is_builtin: bool
:keyword module_register_event_extension_fields: Dictionary of :code:`<string>`.
:paramtype module_register_event_extension_fields: dict[str, str]
"""
super(RegisterRegistryComponentMetaInfo, self).__init__(**kwargs)
self.registry_name = registry_name
self.intellectual_property_publisher_information = intellectual_property_publisher_information
self.blob_reference_data = blob_reference_data
self.aml_module_name = aml_module_name
self.name_only_display_info = name_only_display_info
self.name = name
self.version = version
self.module_version_id = module_version_id
self.snapshot_id = snapshot_id
self.component_registration_type = component_registration_type
self.module_entity_from_yaml = module_entity_from_yaml
self.set_as_default_version = set_as_default_version
self.data_types_from_yaml = data_types_from_yaml
self.data_type_mechanism = data_type_mechanism
self.identifier_hash = identifier_hash
self.identifier_hashes = identifier_hashes
self.content_hash = content_hash
self.extra_hash = extra_hash
self.extra_hashes = extra_hashes
self.registration = registration
self.validate_only = validate_only
self.skip_workspace_related_check = skip_workspace_related_check
self.intellectual_property_protected_workspace_component_registration_allowed_publisher = intellectual_property_protected_workspace_component_registration_allowed_publisher
self.system_managed_registration = system_managed_registration
self.allow_dup_name_between_input_and_ouput_port = allow_dup_name_between_input_and_ouput_port
self.module_source = module_source
self.module_scope = module_scope
self.module_additional_includes_count = module_additional_includes_count
self.module_os_type = module_os_type
self.module_codegen_by = module_codegen_by
self.module_client_source = module_client_source
self.module_is_builtin = module_is_builtin
self.module_register_event_extension_fields = module_register_event_extension_fields
class RegisterRegistryComponentMetaInfoExtraHashes(msrest.serialization.Model):
"""RegisterRegistryComponentMetaInfoExtraHashes.
:ivar identifier_hash:
:vartype identifier_hash: str
:ivar identifier_hash_v2:
:vartype identifier_hash_v2: str
"""
_attribute_map = {
'identifier_hash': {'key': 'IdentifierHash', 'type': 'str'},
'identifier_hash_v2': {'key': 'IdentifierHashV2', 'type': 'str'},
}
def __init__(
self,
*,
identifier_hash: Optional[str] = None,
identifier_hash_v2: Optional[str] = None,
**kwargs
):
"""
:keyword identifier_hash:
:paramtype identifier_hash: str
:keyword identifier_hash_v2:
:paramtype identifier_hash_v2: str
"""
super(RegisterRegistryComponentMetaInfoExtraHashes, self).__init__(**kwargs)
self.identifier_hash = identifier_hash
self.identifier_hash_v2 = identifier_hash_v2
class RegisterRegistryComponentMetaInfoIdentifierHashes(msrest.serialization.Model):
"""RegisterRegistryComponentMetaInfoIdentifierHashes.
:ivar identifier_hash:
:vartype identifier_hash: str
:ivar identifier_hash_v2:
:vartype identifier_hash_v2: str
"""
_attribute_map = {
'identifier_hash': {'key': 'IdentifierHash', 'type': 'str'},
'identifier_hash_v2': {'key': 'IdentifierHashV2', 'type': 'str'},
}
def __init__(
self,
*,
identifier_hash: Optional[str] = None,
identifier_hash_v2: Optional[str] = None,
**kwargs
):
"""
:keyword identifier_hash:
:paramtype identifier_hash: str
:keyword identifier_hash_v2:
:paramtype identifier_hash_v2: str
"""
super(RegisterRegistryComponentMetaInfoIdentifierHashes, self).__init__(**kwargs)
self.identifier_hash = identifier_hash
self.identifier_hash_v2 = identifier_hash_v2
class RegistrationOptions(msrest.serialization.Model):
"""RegistrationOptions.
:ivar name:
:vartype name: str
:ivar version:
:vartype version: str
:ivar description:
:vartype description: str
:ivar tags: A set of tags. Dictionary of :code:`<string>`.
:vartype tags: dict[str, str]
:ivar properties: Dictionary of :code:`<string>`.
:vartype properties: dict[str, str]
:ivar dataset_registration_options:
:vartype dataset_registration_options: ~flow.models.DatasetRegistrationOptions
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'version': {'key': 'version', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'properties': {'key': 'properties', 'type': '{str}'},
'dataset_registration_options': {'key': 'datasetRegistrationOptions', 'type': 'DatasetRegistrationOptions'},
}
def __init__(
self,
*,
name: Optional[str] = None,
version: Optional[str] = None,
description: Optional[str] = None,
tags: Optional[Dict[str, str]] = None,
properties: Optional[Dict[str, str]] = None,
dataset_registration_options: Optional["DatasetRegistrationOptions"] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword version:
:paramtype version: str
:keyword description:
:paramtype description: str
:keyword tags: A set of tags. Dictionary of :code:`<string>`.
:paramtype tags: dict[str, str]
:keyword properties: Dictionary of :code:`<string>`.
:paramtype properties: dict[str, str]
:keyword dataset_registration_options:
:paramtype dataset_registration_options: ~flow.models.DatasetRegistrationOptions
"""
super(RegistrationOptions, self).__init__(**kwargs)
self.name = name
self.version = version
self.description = description
self.tags = tags
self.properties = properties
self.dataset_registration_options = dataset_registration_options
class RegistryBlobReferenceData(msrest.serialization.Model):
"""RegistryBlobReferenceData.
:ivar data_reference_id:
:vartype data_reference_id: str
:ivar data:
:vartype data: str
"""
_attribute_map = {
'data_reference_id': {'key': 'dataReferenceId', 'type': 'str'},
'data': {'key': 'data', 'type': 'str'},
}
def __init__(
self,
*,
data_reference_id: Optional[str] = None,
data: Optional[str] = None,
**kwargs
):
"""
:keyword data_reference_id:
:paramtype data_reference_id: str
:keyword data:
:paramtype data: str
"""
super(RegistryBlobReferenceData, self).__init__(**kwargs)
self.data_reference_id = data_reference_id
self.data = data
class RegistryIdentity(msrest.serialization.Model):
"""RegistryIdentity.
:ivar resource_id:
:vartype resource_id: str
:ivar client_id:
:vartype client_id: str
"""
_attribute_map = {
'resource_id': {'key': 'resourceId', 'type': 'str'},
'client_id': {'key': 'clientId', 'type': 'str'},
}
def __init__(
self,
*,
resource_id: Optional[str] = None,
client_id: Optional[str] = None,
**kwargs
):
"""
:keyword resource_id:
:paramtype resource_id: str
:keyword client_id:
:paramtype client_id: str
"""
super(RegistryIdentity, self).__init__(**kwargs)
self.resource_id = resource_id
self.client_id = client_id
class Relationship(msrest.serialization.Model):
"""Relationship.
Variables are only populated by the server, and will be ignored when sending a request.
:ivar relation_type:
:vartype relation_type: str
:ivar target_entity_id:
:vartype target_entity_id: str
:ivar asset_id:
:vartype asset_id: str
:ivar entity_type:
:vartype entity_type: str
:ivar direction:
:vartype direction: str
:ivar entity_container_id:
:vartype entity_container_id: str
"""
_validation = {
'entity_type': {'readonly': True},
'entity_container_id': {'readonly': True},
}
_attribute_map = {
'relation_type': {'key': 'relationType', 'type': 'str'},
'target_entity_id': {'key': 'targetEntityId', 'type': 'str'},
'asset_id': {'key': 'assetId', 'type': 'str'},
'entity_type': {'key': 'entityType', 'type': 'str'},
'direction': {'key': 'direction', 'type': 'str'},
'entity_container_id': {'key': 'entityContainerId', 'type': 'str'},
}
def __init__(
self,
*,
relation_type: Optional[str] = None,
target_entity_id: Optional[str] = None,
asset_id: Optional[str] = None,
direction: Optional[str] = None,
**kwargs
):
"""
:keyword relation_type:
:paramtype relation_type: str
:keyword target_entity_id:
:paramtype target_entity_id: str
:keyword asset_id:
:paramtype asset_id: str
:keyword direction:
:paramtype direction: str
"""
super(Relationship, self).__init__(**kwargs)
self.relation_type = relation_type
self.target_entity_id = target_entity_id
self.asset_id = asset_id
self.entity_type = None
self.direction = direction
self.entity_container_id = None
class RemoteDockerComputeInfo(msrest.serialization.Model):
"""RemoteDockerComputeInfo.
:ivar address:
:vartype address: str
:ivar username:
:vartype username: str
:ivar password:
:vartype password: str
:ivar private_key:
:vartype private_key: str
"""
_attribute_map = {
'address': {'key': 'address', 'type': 'str'},
'username': {'key': 'username', 'type': 'str'},
'password': {'key': 'password', 'type': 'str'},
'private_key': {'key': 'privateKey', 'type': 'str'},
}
def __init__(
self,
*,
address: Optional[str] = None,
username: Optional[str] = None,
password: Optional[str] = None,
private_key: Optional[str] = None,
**kwargs
):
"""
:keyword address:
:paramtype address: str
:keyword username:
:paramtype username: str
:keyword password:
:paramtype password: str
:keyword private_key:
:paramtype private_key: str
"""
super(RemoteDockerComputeInfo, self).__init__(**kwargs)
self.address = address
self.username = username
self.password = password
self.private_key = private_key
class ResourceConfig(msrest.serialization.Model):
"""ResourceConfig.
:ivar gpu_count:
:vartype gpu_count: int
:ivar cpu_count:
:vartype cpu_count: int
:ivar memory_request_in_gb:
:vartype memory_request_in_gb: int
"""
_attribute_map = {
'gpu_count': {'key': 'gpuCount', 'type': 'int'},
'cpu_count': {'key': 'cpuCount', 'type': 'int'},
'memory_request_in_gb': {'key': 'memoryRequestInGB', 'type': 'int'},
}
def __init__(
self,
*,
gpu_count: Optional[int] = None,
cpu_count: Optional[int] = None,
memory_request_in_gb: Optional[int] = None,
**kwargs
):
"""
:keyword gpu_count:
:paramtype gpu_count: int
:keyword cpu_count:
:paramtype cpu_count: int
:keyword memory_request_in_gb:
:paramtype memory_request_in_gb: int
"""
super(ResourceConfig, self).__init__(**kwargs)
self.gpu_count = gpu_count
self.cpu_count = cpu_count
self.memory_request_in_gb = memory_request_in_gb
class ResourceConfiguration(msrest.serialization.Model):
"""ResourceConfiguration.
:ivar gpu_count:
:vartype gpu_count: int
:ivar cpu_count:
:vartype cpu_count: int
:ivar memory_request_in_gb:
:vartype memory_request_in_gb: int
"""
_attribute_map = {
'gpu_count': {'key': 'gpuCount', 'type': 'int'},
'cpu_count': {'key': 'cpuCount', 'type': 'int'},
'memory_request_in_gb': {'key': 'memoryRequestInGB', 'type': 'int'},
}
def __init__(
self,
*,
gpu_count: Optional[int] = None,
cpu_count: Optional[int] = None,
memory_request_in_gb: Optional[int] = None,
**kwargs
):
"""
:keyword gpu_count:
:paramtype gpu_count: int
:keyword cpu_count:
:paramtype cpu_count: int
:keyword memory_request_in_gb:
:paramtype memory_request_in_gb: int
"""
super(ResourceConfiguration, self).__init__(**kwargs)
self.gpu_count = gpu_count
self.cpu_count = cpu_count
self.memory_request_in_gb = memory_request_in_gb
class ResourcesSetting(msrest.serialization.Model):
"""ResourcesSetting.
:ivar instance_size:
:vartype instance_size: str
:ivar spark_version:
:vartype spark_version: str
"""
_attribute_map = {
'instance_size': {'key': 'instanceSize', 'type': 'str'},
'spark_version': {'key': 'sparkVersion', 'type': 'str'},
}
def __init__(
self,
*,
instance_size: Optional[str] = None,
spark_version: Optional[str] = None,
**kwargs
):
"""
:keyword instance_size:
:paramtype instance_size: str
:keyword spark_version:
:paramtype spark_version: str
"""
super(ResourcesSetting, self).__init__(**kwargs)
self.instance_size = instance_size
self.spark_version = spark_version
class RetrieveToolFuncResultRequest(msrest.serialization.Model):
"""RetrieveToolFuncResultRequest.
:ivar func_path:
:vartype func_path: str
:ivar func_kwargs: This is a dictionary.
:vartype func_kwargs: dict[str, any]
:ivar func_call_scenario: Possible values include: "generated_by", "reverse_generated_by",
"dynamic_list".
:vartype func_call_scenario: str or ~flow.models.ToolFuncCallScenario
"""
_attribute_map = {
'func_path': {'key': 'func_path', 'type': 'str'},
'func_kwargs': {'key': 'func_kwargs', 'type': '{object}'},
'func_call_scenario': {'key': 'func_call_scenario', 'type': 'str'},
}
def __init__(
self,
*,
func_path: Optional[str] = None,
func_kwargs: Optional[Dict[str, Any]] = None,
func_call_scenario: Optional[Union[str, "ToolFuncCallScenario"]] = None,
**kwargs
):
"""
:keyword func_path:
:paramtype func_path: str
:keyword func_kwargs: This is a dictionary.
:paramtype func_kwargs: dict[str, any]
:keyword func_call_scenario: Possible values include: "generated_by", "reverse_generated_by",
"dynamic_list".
:paramtype func_call_scenario: str or ~flow.models.ToolFuncCallScenario
"""
super(RetrieveToolFuncResultRequest, self).__init__(**kwargs)
self.func_path = func_path
self.func_kwargs = func_kwargs
self.func_call_scenario = func_call_scenario
class RetryConfiguration(msrest.serialization.Model):
"""RetryConfiguration.
:ivar max_retry_count:
:vartype max_retry_count: int
"""
_attribute_map = {
'max_retry_count': {'key': 'maxRetryCount', 'type': 'int'},
}
def __init__(
self,
*,
max_retry_count: Optional[int] = None,
**kwargs
):
"""
:keyword max_retry_count:
:paramtype max_retry_count: int
"""
super(RetryConfiguration, self).__init__(**kwargs)
self.max_retry_count = max_retry_count
class RGitHubPackage(msrest.serialization.Model):
"""RGitHubPackage.
:ivar repository:
:vartype repository: str
:ivar auth_token:
:vartype auth_token: str
"""
_attribute_map = {
'repository': {'key': 'repository', 'type': 'str'},
'auth_token': {'key': 'authToken', 'type': 'str'},
}
def __init__(
self,
*,
repository: Optional[str] = None,
auth_token: Optional[str] = None,
**kwargs
):
"""
:keyword repository:
:paramtype repository: str
:keyword auth_token:
:paramtype auth_token: str
"""
super(RGitHubPackage, self).__init__(**kwargs)
self.repository = repository
self.auth_token = auth_token
class RootError(msrest.serialization.Model):
"""The root error.
:ivar code: The service-defined error code. Supported error codes: ServiceError, UserError,
ValidationError, AzureStorageError, TransientError, RequestThrottled.
:vartype code: str
:ivar severity: The Severity of error.
:vartype severity: int
:ivar message: A human-readable representation of the error.
:vartype message: str
:ivar message_format: An unformatted version of the message with no variable substitution.
:vartype message_format: str
:ivar message_parameters: Value substitutions corresponding to the contents of MessageFormat.
:vartype message_parameters: dict[str, str]
:ivar reference_code: This code can optionally be set by the system generating the error.
It should be used to classify the problem and identify the module and code area where the
failure occured.
:vartype reference_code: str
:ivar details_uri: A URI which points to more details about the context of the error.
:vartype details_uri: str
:ivar target: The target of the error (e.g., the name of the property in error).
:vartype target: str
:ivar details: The related errors that occurred during the request.
:vartype details: list[~flow.models.RootError]
:ivar inner_error: A nested structure of errors.
:vartype inner_error: ~flow.models.InnerErrorResponse
:ivar additional_info: The error additional info.
:vartype additional_info: list[~flow.models.ErrorAdditionalInfo]
"""
_attribute_map = {
'code': {'key': 'code', 'type': 'str'},
'severity': {'key': 'severity', 'type': 'int'},
'message': {'key': 'message', 'type': 'str'},
'message_format': {'key': 'messageFormat', 'type': 'str'},
'message_parameters': {'key': 'messageParameters', 'type': '{str}'},
'reference_code': {'key': 'referenceCode', 'type': 'str'},
'details_uri': {'key': 'detailsUri', 'type': 'str'},
'target': {'key': 'target', 'type': 'str'},
'details': {'key': 'details', 'type': '[RootError]'},
'inner_error': {'key': 'innerError', 'type': 'InnerErrorResponse'},
'additional_info': {'key': 'additionalInfo', 'type': '[ErrorAdditionalInfo]'},
}
def __init__(
self,
*,
code: Optional[str] = None,
severity: Optional[int] = None,
message: Optional[str] = None,
message_format: Optional[str] = None,
message_parameters: Optional[Dict[str, str]] = None,
reference_code: Optional[str] = None,
details_uri: Optional[str] = None,
target: Optional[str] = None,
details: Optional[List["RootError"]] = None,
inner_error: Optional["InnerErrorResponse"] = None,
additional_info: Optional[List["ErrorAdditionalInfo"]] = None,
**kwargs
):
"""
:keyword code: The service-defined error code. Supported error codes: ServiceError, UserError,
ValidationError, AzureStorageError, TransientError, RequestThrottled.
:paramtype code: str
:keyword severity: The Severity of error.
:paramtype severity: int
:keyword message: A human-readable representation of the error.
:paramtype message: str
:keyword message_format: An unformatted version of the message with no variable substitution.
:paramtype message_format: str
:keyword message_parameters: Value substitutions corresponding to the contents of
MessageFormat.
:paramtype message_parameters: dict[str, str]
:keyword reference_code: This code can optionally be set by the system generating the error.
It should be used to classify the problem and identify the module and code area where the
failure occured.
:paramtype reference_code: str
:keyword details_uri: A URI which points to more details about the context of the error.
:paramtype details_uri: str
:keyword target: The target of the error (e.g., the name of the property in error).
:paramtype target: str
:keyword details: The related errors that occurred during the request.
:paramtype details: list[~flow.models.RootError]
:keyword inner_error: A nested structure of errors.
:paramtype inner_error: ~flow.models.InnerErrorResponse
:keyword additional_info: The error additional info.
:paramtype additional_info: list[~flow.models.ErrorAdditionalInfo]
"""
super(RootError, self).__init__(**kwargs)
self.code = code
self.severity = severity
self.message = message
self.message_format = message_format
self.message_parameters = message_parameters
self.reference_code = reference_code
self.details_uri = details_uri
self.target = target
self.details = details
self.inner_error = inner_error
self.additional_info = additional_info
class RSection(msrest.serialization.Model):
"""RSection.
:ivar r_version:
:vartype r_version: str
:ivar user_managed:
:vartype user_managed: bool
:ivar rscript_path:
:vartype rscript_path: str
:ivar snapshot_date:
:vartype snapshot_date: str
:ivar cran_packages:
:vartype cran_packages: list[~flow.models.RCranPackage]
:ivar git_hub_packages:
:vartype git_hub_packages: list[~flow.models.RGitHubPackage]
:ivar custom_url_packages:
:vartype custom_url_packages: list[str]
:ivar bio_conductor_packages:
:vartype bio_conductor_packages: list[str]
"""
_attribute_map = {
'r_version': {'key': 'rVersion', 'type': 'str'},
'user_managed': {'key': 'userManaged', 'type': 'bool'},
'rscript_path': {'key': 'rscriptPath', 'type': 'str'},
'snapshot_date': {'key': 'snapshotDate', 'type': 'str'},
'cran_packages': {'key': 'cranPackages', 'type': '[RCranPackage]'},
'git_hub_packages': {'key': 'gitHubPackages', 'type': '[RGitHubPackage]'},
'custom_url_packages': {'key': 'customUrlPackages', 'type': '[str]'},
'bio_conductor_packages': {'key': 'bioConductorPackages', 'type': '[str]'},
}
def __init__(
self,
*,
r_version: Optional[str] = None,
user_managed: Optional[bool] = None,
rscript_path: Optional[str] = None,
snapshot_date: Optional[str] = None,
cran_packages: Optional[List["RCranPackage"]] = None,
git_hub_packages: Optional[List["RGitHubPackage"]] = None,
custom_url_packages: Optional[List[str]] = None,
bio_conductor_packages: Optional[List[str]] = None,
**kwargs
):
"""
:keyword r_version:
:paramtype r_version: str
:keyword user_managed:
:paramtype user_managed: bool
:keyword rscript_path:
:paramtype rscript_path: str
:keyword snapshot_date:
:paramtype snapshot_date: str
:keyword cran_packages:
:paramtype cran_packages: list[~flow.models.RCranPackage]
:keyword git_hub_packages:
:paramtype git_hub_packages: list[~flow.models.RGitHubPackage]
:keyword custom_url_packages:
:paramtype custom_url_packages: list[str]
:keyword bio_conductor_packages:
:paramtype bio_conductor_packages: list[str]
"""
super(RSection, self).__init__(**kwargs)
self.r_version = r_version
self.user_managed = user_managed
self.rscript_path = rscript_path
self.snapshot_date = snapshot_date
self.cran_packages = cran_packages
self.git_hub_packages = git_hub_packages
self.custom_url_packages = custom_url_packages
self.bio_conductor_packages = bio_conductor_packages
class RunAnnotations(msrest.serialization.Model):
"""RunAnnotations.
:ivar display_name:
:vartype display_name: str
:ivar status:
:vartype status: str
:ivar primary_metric_name:
:vartype primary_metric_name: str
:ivar estimated_cost:
:vartype estimated_cost: float
:ivar primary_metric_summary:
:vartype primary_metric_summary: ~flow.models.RunIndexMetricSummary
:ivar metrics: Dictionary of :code:`<RunIndexMetricSummarySystemObject>`.
:vartype metrics: dict[str, ~flow.models.RunIndexMetricSummarySystemObject]
:ivar parameters: Dictionary of :code:`<any>`.
:vartype parameters: dict[str, any]
:ivar settings: Dictionary of :code:`<string>`.
:vartype settings: dict[str, str]
:ivar modified_time:
:vartype modified_time: ~datetime.datetime
:ivar retain_for_lifetime_of_workspace:
:vartype retain_for_lifetime_of_workspace: bool
:ivar error:
:vartype error: ~flow.models.IndexedErrorResponse
:ivar resource_metric_summary:
:vartype resource_metric_summary: ~flow.models.RunIndexResourceMetricSummary
:ivar job_cost:
:vartype job_cost: ~flow.models.JobCost
:ivar compute_duration:
:vartype compute_duration: str
:ivar compute_duration_milliseconds:
:vartype compute_duration_milliseconds: float
:ivar effective_start_time_utc:
:vartype effective_start_time_utc: ~datetime.datetime
:ivar name:
:vartype name: str
:ivar description:
:vartype description: str
:ivar archived:
:vartype archived: bool
:ivar tags: A set of tags. Dictionary of :code:`<string>`.
:vartype tags: dict[str, str]
"""
_attribute_map = {
'display_name': {'key': 'displayName', 'type': 'str'},
'status': {'key': 'status', 'type': 'str'},
'primary_metric_name': {'key': 'primaryMetricName', 'type': 'str'},
'estimated_cost': {'key': 'estimatedCost', 'type': 'float'},
'primary_metric_summary': {'key': 'primaryMetricSummary', 'type': 'RunIndexMetricSummary'},
'metrics': {'key': 'metrics', 'type': '{RunIndexMetricSummarySystemObject}'},
'parameters': {'key': 'parameters', 'type': '{object}'},
'settings': {'key': 'settings', 'type': '{str}'},
'modified_time': {'key': 'modifiedTime', 'type': 'iso-8601'},
'retain_for_lifetime_of_workspace': {'key': 'retainForLifetimeOfWorkspace', 'type': 'bool'},
'error': {'key': 'error', 'type': 'IndexedErrorResponse'},
'resource_metric_summary': {'key': 'resourceMetricSummary', 'type': 'RunIndexResourceMetricSummary'},
'job_cost': {'key': 'jobCost', 'type': 'JobCost'},
'compute_duration': {'key': 'computeDuration', 'type': 'str'},
'compute_duration_milliseconds': {'key': 'computeDurationMilliseconds', 'type': 'float'},
'effective_start_time_utc': {'key': 'effectiveStartTimeUtc', 'type': 'iso-8601'},
'name': {'key': 'name', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'archived': {'key': 'archived', 'type': 'bool'},
'tags': {'key': 'tags', 'type': '{str}'},
}
def __init__(
self,
*,
display_name: Optional[str] = None,
status: Optional[str] = None,
primary_metric_name: Optional[str] = None,
estimated_cost: Optional[float] = None,
primary_metric_summary: Optional["RunIndexMetricSummary"] = None,
metrics: Optional[Dict[str, "RunIndexMetricSummarySystemObject"]] = None,
parameters: Optional[Dict[str, Any]] = None,
settings: Optional[Dict[str, str]] = None,
modified_time: Optional[datetime.datetime] = None,
retain_for_lifetime_of_workspace: Optional[bool] = None,
error: Optional["IndexedErrorResponse"] = None,
resource_metric_summary: Optional["RunIndexResourceMetricSummary"] = None,
job_cost: Optional["JobCost"] = None,
compute_duration: Optional[str] = None,
compute_duration_milliseconds: Optional[float] = None,
effective_start_time_utc: Optional[datetime.datetime] = None,
name: Optional[str] = None,
description: Optional[str] = None,
archived: Optional[bool] = None,
tags: Optional[Dict[str, str]] = None,
**kwargs
):
"""
:keyword display_name:
:paramtype display_name: str
:keyword status:
:paramtype status: str
:keyword primary_metric_name:
:paramtype primary_metric_name: str
:keyword estimated_cost:
:paramtype estimated_cost: float
:keyword primary_metric_summary:
:paramtype primary_metric_summary: ~flow.models.RunIndexMetricSummary
:keyword metrics: Dictionary of :code:`<RunIndexMetricSummarySystemObject>`.
:paramtype metrics: dict[str, ~flow.models.RunIndexMetricSummarySystemObject]
:keyword parameters: Dictionary of :code:`<any>`.
:paramtype parameters: dict[str, any]
:keyword settings: Dictionary of :code:`<string>`.
:paramtype settings: dict[str, str]
:keyword modified_time:
:paramtype modified_time: ~datetime.datetime
:keyword retain_for_lifetime_of_workspace:
:paramtype retain_for_lifetime_of_workspace: bool
:keyword error:
:paramtype error: ~flow.models.IndexedErrorResponse
:keyword resource_metric_summary:
:paramtype resource_metric_summary: ~flow.models.RunIndexResourceMetricSummary
:keyword job_cost:
:paramtype job_cost: ~flow.models.JobCost
:keyword compute_duration:
:paramtype compute_duration: str
:keyword compute_duration_milliseconds:
:paramtype compute_duration_milliseconds: float
:keyword effective_start_time_utc:
:paramtype effective_start_time_utc: ~datetime.datetime
:keyword name:
:paramtype name: str
:keyword description:
:paramtype description: str
:keyword archived:
:paramtype archived: bool
:keyword tags: A set of tags. Dictionary of :code:`<string>`.
:paramtype tags: dict[str, str]
"""
super(RunAnnotations, self).__init__(**kwargs)
self.display_name = display_name
self.status = status
self.primary_metric_name = primary_metric_name
self.estimated_cost = estimated_cost
self.primary_metric_summary = primary_metric_summary
self.metrics = metrics
self.parameters = parameters
self.settings = settings
self.modified_time = modified_time
self.retain_for_lifetime_of_workspace = retain_for_lifetime_of_workspace
self.error = error
self.resource_metric_summary = resource_metric_summary
self.job_cost = job_cost
self.compute_duration = compute_duration
self.compute_duration_milliseconds = compute_duration_milliseconds
self.effective_start_time_utc = effective_start_time_utc
self.name = name
self.description = description
self.archived = archived
self.tags = tags
class RunConfiguration(msrest.serialization.Model):
"""RunConfiguration.
:ivar script:
:vartype script: str
:ivar script_type: Possible values include: "Python", "Notebook".
:vartype script_type: str or ~flow.models.ScriptType
:ivar command:
:vartype command: str
:ivar use_absolute_path:
:vartype use_absolute_path: bool
:ivar arguments:
:vartype arguments: list[str]
:ivar framework: Possible values include: "Python", "PySpark", "Cntk", "TensorFlow", "PyTorch",
"PySparkInteractive", "R".
:vartype framework: str or ~flow.models.Framework
:ivar communicator: Possible values include: "None", "ParameterServer", "Gloo", "Mpi", "Nccl",
"ParallelTask".
:vartype communicator: str or ~flow.models.Communicator
:ivar target:
:vartype target: str
:ivar auto_cluster_compute_specification:
:vartype auto_cluster_compute_specification: ~flow.models.AutoClusterComputeSpecification
:ivar data_references: Dictionary of :code:`<DataReferenceConfiguration>`.
:vartype data_references: dict[str, ~flow.models.DataReferenceConfiguration]
:ivar data: Dictionary of :code:`<Data>`.
:vartype data: dict[str, ~flow.models.Data]
:ivar input_assets: Dictionary of :code:`<InputAsset>`.
:vartype input_assets: dict[str, ~flow.models.InputAsset]
:ivar output_data: Dictionary of :code:`<OutputData>`.
:vartype output_data: dict[str, ~flow.models.OutputData]
:ivar datacaches:
:vartype datacaches: list[~flow.models.DatacacheConfiguration]
:ivar job_name:
:vartype job_name: str
:ivar max_run_duration_seconds:
:vartype max_run_duration_seconds: long
:ivar node_count:
:vartype node_count: int
:ivar max_node_count:
:vartype max_node_count: int
:ivar instance_types:
:vartype instance_types: list[str]
:ivar priority:
:vartype priority: int
:ivar credential_passthrough:
:vartype credential_passthrough: bool
:ivar identity:
:vartype identity: ~flow.models.IdentityConfiguration
:ivar environment:
:vartype environment: ~flow.models.EnvironmentDefinition
:ivar history:
:vartype history: ~flow.models.HistoryConfiguration
:ivar spark:
:vartype spark: ~flow.models.SparkConfiguration
:ivar parallel_task:
:vartype parallel_task: ~flow.models.ParallelTaskConfiguration
:ivar tensorflow:
:vartype tensorflow: ~flow.models.TensorflowConfiguration
:ivar mpi:
:vartype mpi: ~flow.models.MpiConfiguration
:ivar py_torch:
:vartype py_torch: ~flow.models.PyTorchConfiguration
:ivar ray:
:vartype ray: ~flow.models.RayConfiguration
:ivar hdi:
:vartype hdi: ~flow.models.HdiConfiguration
:ivar docker:
:vartype docker: ~flow.models.DockerConfiguration
:ivar command_return_code_config:
:vartype command_return_code_config: ~flow.models.CommandReturnCodeConfig
:ivar environment_variables: Dictionary of :code:`<string>`.
:vartype environment_variables: dict[str, str]
:ivar application_endpoints: Dictionary of :code:`<ApplicationEndpointConfiguration>`.
:vartype application_endpoints: dict[str, ~flow.models.ApplicationEndpointConfiguration]
:ivar parameters:
:vartype parameters: list[~flow.models.ParameterDefinition]
:ivar autologger_settings:
:vartype autologger_settings: ~flow.models.AutologgerSettings
:ivar data_bricks:
:vartype data_bricks: ~flow.models.DatabricksConfiguration
:ivar training_diagnostic_config:
:vartype training_diagnostic_config: ~flow.models.TrainingDiagnosticConfiguration
:ivar secrets_configuration: Dictionary of :code:`<SecretConfiguration>`.
:vartype secrets_configuration: dict[str, ~flow.models.SecretConfiguration]
"""
_attribute_map = {
'script': {'key': 'script', 'type': 'str'},
'script_type': {'key': 'scriptType', 'type': 'str'},
'command': {'key': 'command', 'type': 'str'},
'use_absolute_path': {'key': 'useAbsolutePath', 'type': 'bool'},
'arguments': {'key': 'arguments', 'type': '[str]'},
'framework': {'key': 'framework', 'type': 'str'},
'communicator': {'key': 'communicator', 'type': 'str'},
'target': {'key': 'target', 'type': 'str'},
'auto_cluster_compute_specification': {'key': 'autoClusterComputeSpecification', 'type': 'AutoClusterComputeSpecification'},
'data_references': {'key': 'dataReferences', 'type': '{DataReferenceConfiguration}'},
'data': {'key': 'data', 'type': '{Data}'},
'input_assets': {'key': 'inputAssets', 'type': '{InputAsset}'},
'output_data': {'key': 'outputData', 'type': '{OutputData}'},
'datacaches': {'key': 'datacaches', 'type': '[DatacacheConfiguration]'},
'job_name': {'key': 'jobName', 'type': 'str'},
'max_run_duration_seconds': {'key': 'maxRunDurationSeconds', 'type': 'long'},
'node_count': {'key': 'nodeCount', 'type': 'int'},
'max_node_count': {'key': 'maxNodeCount', 'type': 'int'},
'instance_types': {'key': 'instanceTypes', 'type': '[str]'},
'priority': {'key': 'priority', 'type': 'int'},
'credential_passthrough': {'key': 'credentialPassthrough', 'type': 'bool'},
'identity': {'key': 'identity', 'type': 'IdentityConfiguration'},
'environment': {'key': 'environment', 'type': 'EnvironmentDefinition'},
'history': {'key': 'history', 'type': 'HistoryConfiguration'},
'spark': {'key': 'spark', 'type': 'SparkConfiguration'},
'parallel_task': {'key': 'parallelTask', 'type': 'ParallelTaskConfiguration'},
'tensorflow': {'key': 'tensorflow', 'type': 'TensorflowConfiguration'},
'mpi': {'key': 'mpi', 'type': 'MpiConfiguration'},
'py_torch': {'key': 'pyTorch', 'type': 'PyTorchConfiguration'},
'ray': {'key': 'ray', 'type': 'RayConfiguration'},
'hdi': {'key': 'hdi', 'type': 'HdiConfiguration'},
'docker': {'key': 'docker', 'type': 'DockerConfiguration'},
'command_return_code_config': {'key': 'commandReturnCodeConfig', 'type': 'CommandReturnCodeConfig'},
'environment_variables': {'key': 'environmentVariables', 'type': '{str}'},
'application_endpoints': {'key': 'applicationEndpoints', 'type': '{ApplicationEndpointConfiguration}'},
'parameters': {'key': 'parameters', 'type': '[ParameterDefinition]'},
'autologger_settings': {'key': 'autologgerSettings', 'type': 'AutologgerSettings'},
'data_bricks': {'key': 'dataBricks', 'type': 'DatabricksConfiguration'},
'training_diagnostic_config': {'key': 'trainingDiagnosticConfig', 'type': 'TrainingDiagnosticConfiguration'},
'secrets_configuration': {'key': 'secretsConfiguration', 'type': '{SecretConfiguration}'},
}
def __init__(
self,
*,
script: Optional[str] = None,
script_type: Optional[Union[str, "ScriptType"]] = None,
command: Optional[str] = None,
use_absolute_path: Optional[bool] = None,
arguments: Optional[List[str]] = None,
framework: Optional[Union[str, "Framework"]] = None,
communicator: Optional[Union[str, "Communicator"]] = None,
target: Optional[str] = None,
auto_cluster_compute_specification: Optional["AutoClusterComputeSpecification"] = None,
data_references: Optional[Dict[str, "DataReferenceConfiguration"]] = None,
data: Optional[Dict[str, "Data"]] = None,
input_assets: Optional[Dict[str, "InputAsset"]] = None,
output_data: Optional[Dict[str, "OutputData"]] = None,
datacaches: Optional[List["DatacacheConfiguration"]] = None,
job_name: Optional[str] = None,
max_run_duration_seconds: Optional[int] = None,
node_count: Optional[int] = None,
max_node_count: Optional[int] = None,
instance_types: Optional[List[str]] = None,
priority: Optional[int] = None,
credential_passthrough: Optional[bool] = None,
identity: Optional["IdentityConfiguration"] = None,
environment: Optional["EnvironmentDefinition"] = None,
history: Optional["HistoryConfiguration"] = None,
spark: Optional["SparkConfiguration"] = None,
parallel_task: Optional["ParallelTaskConfiguration"] = None,
tensorflow: Optional["TensorflowConfiguration"] = None,
mpi: Optional["MpiConfiguration"] = None,
py_torch: Optional["PyTorchConfiguration"] = None,
ray: Optional["RayConfiguration"] = None,
hdi: Optional["HdiConfiguration"] = None,
docker: Optional["DockerConfiguration"] = None,
command_return_code_config: Optional["CommandReturnCodeConfig"] = None,
environment_variables: Optional[Dict[str, str]] = None,
application_endpoints: Optional[Dict[str, "ApplicationEndpointConfiguration"]] = None,
parameters: Optional[List["ParameterDefinition"]] = None,
autologger_settings: Optional["AutologgerSettings"] = None,
data_bricks: Optional["DatabricksConfiguration"] = None,
training_diagnostic_config: Optional["TrainingDiagnosticConfiguration"] = None,
secrets_configuration: Optional[Dict[str, "SecretConfiguration"]] = None,
**kwargs
):
"""
:keyword script:
:paramtype script: str
:keyword script_type: Possible values include: "Python", "Notebook".
:paramtype script_type: str or ~flow.models.ScriptType
:keyword command:
:paramtype command: str
:keyword use_absolute_path:
:paramtype use_absolute_path: bool
:keyword arguments:
:paramtype arguments: list[str]
:keyword framework: Possible values include: "Python", "PySpark", "Cntk", "TensorFlow",
"PyTorch", "PySparkInteractive", "R".
:paramtype framework: str or ~flow.models.Framework
:keyword communicator: Possible values include: "None", "ParameterServer", "Gloo", "Mpi",
"Nccl", "ParallelTask".
:paramtype communicator: str or ~flow.models.Communicator
:keyword target:
:paramtype target: str
:keyword auto_cluster_compute_specification:
:paramtype auto_cluster_compute_specification: ~flow.models.AutoClusterComputeSpecification
:keyword data_references: Dictionary of :code:`<DataReferenceConfiguration>`.
:paramtype data_references: dict[str, ~flow.models.DataReferenceConfiguration]
:keyword data: Dictionary of :code:`<Data>`.
:paramtype data: dict[str, ~flow.models.Data]
:keyword input_assets: Dictionary of :code:`<InputAsset>`.
:paramtype input_assets: dict[str, ~flow.models.InputAsset]
:keyword output_data: Dictionary of :code:`<OutputData>`.
:paramtype output_data: dict[str, ~flow.models.OutputData]
:keyword datacaches:
:paramtype datacaches: list[~flow.models.DatacacheConfiguration]
:keyword job_name:
:paramtype job_name: str
:keyword max_run_duration_seconds:
:paramtype max_run_duration_seconds: long
:keyword node_count:
:paramtype node_count: int
:keyword max_node_count:
:paramtype max_node_count: int
:keyword instance_types:
:paramtype instance_types: list[str]
:keyword priority:
:paramtype priority: int
:keyword credential_passthrough:
:paramtype credential_passthrough: bool
:keyword identity:
:paramtype identity: ~flow.models.IdentityConfiguration
:keyword environment:
:paramtype environment: ~flow.models.EnvironmentDefinition
:keyword history:
:paramtype history: ~flow.models.HistoryConfiguration
:keyword spark:
:paramtype spark: ~flow.models.SparkConfiguration
:keyword parallel_task:
:paramtype parallel_task: ~flow.models.ParallelTaskConfiguration
:keyword tensorflow:
:paramtype tensorflow: ~flow.models.TensorflowConfiguration
:keyword mpi:
:paramtype mpi: ~flow.models.MpiConfiguration
:keyword py_torch:
:paramtype py_torch: ~flow.models.PyTorchConfiguration
:keyword ray:
:paramtype ray: ~flow.models.RayConfiguration
:keyword hdi:
:paramtype hdi: ~flow.models.HdiConfiguration
:keyword docker:
:paramtype docker: ~flow.models.DockerConfiguration
:keyword command_return_code_config:
:paramtype command_return_code_config: ~flow.models.CommandReturnCodeConfig
:keyword environment_variables: Dictionary of :code:`<string>`.
:paramtype environment_variables: dict[str, str]
:keyword application_endpoints: Dictionary of :code:`<ApplicationEndpointConfiguration>`.
:paramtype application_endpoints: dict[str, ~flow.models.ApplicationEndpointConfiguration]
:keyword parameters:
:paramtype parameters: list[~flow.models.ParameterDefinition]
:keyword autologger_settings:
:paramtype autologger_settings: ~flow.models.AutologgerSettings
:keyword data_bricks:
:paramtype data_bricks: ~flow.models.DatabricksConfiguration
:keyword training_diagnostic_config:
:paramtype training_diagnostic_config: ~flow.models.TrainingDiagnosticConfiguration
:keyword secrets_configuration: Dictionary of :code:`<SecretConfiguration>`.
:paramtype secrets_configuration: dict[str, ~flow.models.SecretConfiguration]
"""
super(RunConfiguration, self).__init__(**kwargs)
self.script = script
self.script_type = script_type
self.command = command
self.use_absolute_path = use_absolute_path
self.arguments = arguments
self.framework = framework
self.communicator = communicator
self.target = target
self.auto_cluster_compute_specification = auto_cluster_compute_specification
self.data_references = data_references
self.data = data
self.input_assets = input_assets
self.output_data = output_data
self.datacaches = datacaches
self.job_name = job_name
self.max_run_duration_seconds = max_run_duration_seconds
self.node_count = node_count
self.max_node_count = max_node_count
self.instance_types = instance_types
self.priority = priority
self.credential_passthrough = credential_passthrough
self.identity = identity
self.environment = environment
self.history = history
self.spark = spark
self.parallel_task = parallel_task
self.tensorflow = tensorflow
self.mpi = mpi
self.py_torch = py_torch
self.ray = ray
self.hdi = hdi
self.docker = docker
self.command_return_code_config = command_return_code_config
self.environment_variables = environment_variables
self.application_endpoints = application_endpoints
self.parameters = parameters
self.autologger_settings = autologger_settings
self.data_bricks = data_bricks
self.training_diagnostic_config = training_diagnostic_config
self.secrets_configuration = secrets_configuration
class RunDatasetReference(msrest.serialization.Model):
"""RunDatasetReference.
:ivar id:
:vartype id: str
:ivar name:
:vartype name: str
:ivar version:
:vartype version: str
"""
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'version': {'key': 'version', 'type': 'str'},
}
def __init__(
self,
*,
id: Optional[str] = None,
name: Optional[str] = None,
version: Optional[str] = None,
**kwargs
):
"""
:keyword id:
:paramtype id: str
:keyword name:
:paramtype name: str
:keyword version:
:paramtype version: str
"""
super(RunDatasetReference, self).__init__(**kwargs)
self.id = id
self.name = name
self.version = version
class RunDefinition(msrest.serialization.Model):
"""RunDefinition.
:ivar configuration:
:vartype configuration: ~flow.models.RunConfiguration
:ivar snapshot_id:
:vartype snapshot_id: str
:ivar snapshots:
:vartype snapshots: list[~flow.models.Snapshot]
:ivar parent_run_id:
:vartype parent_run_id: str
:ivar run_type:
:vartype run_type: str
:ivar display_name:
:vartype display_name: str
:ivar environment_asset_id:
:vartype environment_asset_id: str
:ivar primary_metric_name:
:vartype primary_metric_name: str
:ivar description:
:vartype description: str
:ivar cancel_reason:
:vartype cancel_reason: str
:ivar properties: Dictionary of :code:`<string>`.
:vartype properties: dict[str, str]
:ivar tags: A set of tags. Dictionary of :code:`<string>`.
:vartype tags: dict[str, str]
"""
_attribute_map = {
'configuration': {'key': 'configuration', 'type': 'RunConfiguration'},
'snapshot_id': {'key': 'snapshotId', 'type': 'str'},
'snapshots': {'key': 'snapshots', 'type': '[Snapshot]'},
'parent_run_id': {'key': 'parentRunId', 'type': 'str'},
'run_type': {'key': 'runType', 'type': 'str'},
'display_name': {'key': 'displayName', 'type': 'str'},
'environment_asset_id': {'key': 'environmentAssetId', 'type': 'str'},
'primary_metric_name': {'key': 'primaryMetricName', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'cancel_reason': {'key': 'cancelReason', 'type': 'str'},
'properties': {'key': 'properties', 'type': '{str}'},
'tags': {'key': 'tags', 'type': '{str}'},
}
def __init__(
self,
*,
configuration: Optional["RunConfiguration"] = None,
snapshot_id: Optional[str] = None,
snapshots: Optional[List["Snapshot"]] = None,
parent_run_id: Optional[str] = None,
run_type: Optional[str] = None,
display_name: Optional[str] = None,
environment_asset_id: Optional[str] = None,
primary_metric_name: Optional[str] = None,
description: Optional[str] = None,
cancel_reason: Optional[str] = None,
properties: Optional[Dict[str, str]] = None,
tags: Optional[Dict[str, str]] = None,
**kwargs
):
"""
:keyword configuration:
:paramtype configuration: ~flow.models.RunConfiguration
:keyword snapshot_id:
:paramtype snapshot_id: str
:keyword snapshots:
:paramtype snapshots: list[~flow.models.Snapshot]
:keyword parent_run_id:
:paramtype parent_run_id: str
:keyword run_type:
:paramtype run_type: str
:keyword display_name:
:paramtype display_name: str
:keyword environment_asset_id:
:paramtype environment_asset_id: str
:keyword primary_metric_name:
:paramtype primary_metric_name: str
:keyword description:
:paramtype description: str
:keyword cancel_reason:
:paramtype cancel_reason: str
:keyword properties: Dictionary of :code:`<string>`.
:paramtype properties: dict[str, str]
:keyword tags: A set of tags. Dictionary of :code:`<string>`.
:paramtype tags: dict[str, str]
"""
super(RunDefinition, self).__init__(**kwargs)
self.configuration = configuration
self.snapshot_id = snapshot_id
self.snapshots = snapshots
self.parent_run_id = parent_run_id
self.run_type = run_type
self.display_name = display_name
self.environment_asset_id = environment_asset_id
self.primary_metric_name = primary_metric_name
self.description = description
self.cancel_reason = cancel_reason
self.properties = properties
self.tags = tags
class RunDetailsDto(msrest.serialization.Model):
"""RunDetailsDto.
:ivar run_id:
:vartype run_id: str
:ivar run_uuid:
:vartype run_uuid: str
:ivar parent_run_uuid:
:vartype parent_run_uuid: str
:ivar root_run_uuid:
:vartype root_run_uuid: str
:ivar target:
:vartype target: str
:ivar status:
:vartype status: str
:ivar parent_run_id:
:vartype parent_run_id: str
:ivar data_container_id:
:vartype data_container_id: str
:ivar created_time_utc:
:vartype created_time_utc: ~datetime.datetime
:ivar start_time_utc:
:vartype start_time_utc: ~datetime.datetime
:ivar end_time_utc:
:vartype end_time_utc: ~datetime.datetime
:ivar error: The error response.
:vartype error: ~flow.models.ErrorResponse
:ivar warnings:
:vartype warnings: list[~flow.models.RunDetailsWarningDto]
:ivar tags: A set of tags. This is a dictionary.
:vartype tags: dict[str, str]
:ivar properties: This is a dictionary.
:vartype properties: dict[str, str]
:ivar parameters: Dictionary of :code:`<any>`.
:vartype parameters: dict[str, any]
:ivar services: This is a dictionary.
:vartype services: dict[str, ~flow.models.EndpointSetting]
:ivar input_datasets:
:vartype input_datasets: list[~flow.models.DatasetLineage]
:ivar output_datasets:
:vartype output_datasets: list[~flow.models.OutputDatasetLineage]
:ivar run_definition: Anything.
:vartype run_definition: any
:ivar log_files: This is a dictionary.
:vartype log_files: dict[str, str]
:ivar job_cost:
:vartype job_cost: ~flow.models.JobCost
:ivar revision:
:vartype revision: long
:ivar run_type_v2:
:vartype run_type_v2: ~flow.models.RunTypeV2
:ivar settings: This is a dictionary.
:vartype settings: dict[str, str]
:ivar compute_request:
:vartype compute_request: ~flow.models.ComputeRequest
:ivar compute:
:vartype compute: ~flow.models.Compute
:ivar created_by:
:vartype created_by: ~flow.models.User
:ivar compute_duration:
:vartype compute_duration: str
:ivar effective_start_time_utc:
:vartype effective_start_time_utc: ~datetime.datetime
:ivar run_number:
:vartype run_number: int
:ivar root_run_id:
:vartype root_run_id: str
:ivar experiment_id:
:vartype experiment_id: str
:ivar user_id:
:vartype user_id: str
:ivar status_revision:
:vartype status_revision: long
:ivar current_compute_time:
:vartype current_compute_time: str
:ivar last_start_time_utc:
:vartype last_start_time_utc: ~datetime.datetime
:ivar last_modified_by:
:vartype last_modified_by: ~flow.models.User
:ivar last_modified_utc:
:vartype last_modified_utc: ~datetime.datetime
:ivar duration:
:vartype duration: str
:ivar inputs: Dictionary of :code:`<TypedAssetReference>`.
:vartype inputs: dict[str, ~flow.models.TypedAssetReference]
:ivar outputs: Dictionary of :code:`<TypedAssetReference>`.
:vartype outputs: dict[str, ~flow.models.TypedAssetReference]
:ivar current_attempt_id:
:vartype current_attempt_id: int
"""
_validation = {
'input_datasets': {'unique': True},
'output_datasets': {'unique': True},
}
_attribute_map = {
'run_id': {'key': 'runId', 'type': 'str'},
'run_uuid': {'key': 'runUuid', 'type': 'str'},
'parent_run_uuid': {'key': 'parentRunUuid', 'type': 'str'},
'root_run_uuid': {'key': 'rootRunUuid', 'type': 'str'},
'target': {'key': 'target', 'type': 'str'},
'status': {'key': 'status', 'type': 'str'},
'parent_run_id': {'key': 'parentRunId', 'type': 'str'},
'data_container_id': {'key': 'dataContainerId', 'type': 'str'},
'created_time_utc': {'key': 'createdTimeUtc', 'type': 'iso-8601'},
'start_time_utc': {'key': 'startTimeUtc', 'type': 'iso-8601'},
'end_time_utc': {'key': 'endTimeUtc', 'type': 'iso-8601'},
'error': {'key': 'error', 'type': 'ErrorResponse'},
'warnings': {'key': 'warnings', 'type': '[RunDetailsWarningDto]'},
'tags': {'key': 'tags', 'type': '{str}'},
'properties': {'key': 'properties', 'type': '{str}'},
'parameters': {'key': 'parameters', 'type': '{object}'},
'services': {'key': 'services', 'type': '{EndpointSetting}'},
'input_datasets': {'key': 'inputDatasets', 'type': '[DatasetLineage]'},
'output_datasets': {'key': 'outputDatasets', 'type': '[OutputDatasetLineage]'},
'run_definition': {'key': 'runDefinition', 'type': 'object'},
'log_files': {'key': 'logFiles', 'type': '{str}'},
'job_cost': {'key': 'jobCost', 'type': 'JobCost'},
'revision': {'key': 'revision', 'type': 'long'},
'run_type_v2': {'key': 'runTypeV2', 'type': 'RunTypeV2'},
'settings': {'key': 'settings', 'type': '{str}'},
'compute_request': {'key': 'computeRequest', 'type': 'ComputeRequest'},
'compute': {'key': 'compute', 'type': 'Compute'},
'created_by': {'key': 'createdBy', 'type': 'User'},
'compute_duration': {'key': 'computeDuration', 'type': 'str'},
'effective_start_time_utc': {'key': 'effectiveStartTimeUtc', 'type': 'iso-8601'},
'run_number': {'key': 'runNumber', 'type': 'int'},
'root_run_id': {'key': 'rootRunId', 'type': 'str'},
'experiment_id': {'key': 'experimentId', 'type': 'str'},
'user_id': {'key': 'userId', 'type': 'str'},
'status_revision': {'key': 'statusRevision', 'type': 'long'},
'current_compute_time': {'key': 'currentComputeTime', 'type': 'str'},
'last_start_time_utc': {'key': 'lastStartTimeUtc', 'type': 'iso-8601'},
'last_modified_by': {'key': 'lastModifiedBy', 'type': 'User'},
'last_modified_utc': {'key': 'lastModifiedUtc', 'type': 'iso-8601'},
'duration': {'key': 'duration', 'type': 'str'},
'inputs': {'key': 'inputs', 'type': '{TypedAssetReference}'},
'outputs': {'key': 'outputs', 'type': '{TypedAssetReference}'},
'current_attempt_id': {'key': 'currentAttemptId', 'type': 'int'},
}
def __init__(
self,
*,
run_id: Optional[str] = None,
run_uuid: Optional[str] = None,
parent_run_uuid: Optional[str] = None,
root_run_uuid: Optional[str] = None,
target: Optional[str] = None,
status: Optional[str] = None,
parent_run_id: Optional[str] = None,
data_container_id: Optional[str] = None,
created_time_utc: Optional[datetime.datetime] = None,
start_time_utc: Optional[datetime.datetime] = None,
end_time_utc: Optional[datetime.datetime] = None,
error: Optional["ErrorResponse"] = None,
warnings: Optional[List["RunDetailsWarningDto"]] = None,
tags: Optional[Dict[str, str]] = None,
properties: Optional[Dict[str, str]] = None,
parameters: Optional[Dict[str, Any]] = None,
services: Optional[Dict[str, "EndpointSetting"]] = None,
input_datasets: Optional[List["DatasetLineage"]] = None,
output_datasets: Optional[List["OutputDatasetLineage"]] = None,
run_definition: Optional[Any] = None,
log_files: Optional[Dict[str, str]] = None,
job_cost: Optional["JobCost"] = None,
revision: Optional[int] = None,
run_type_v2: Optional["RunTypeV2"] = None,
settings: Optional[Dict[str, str]] = None,
compute_request: Optional["ComputeRequest"] = None,
compute: Optional["Compute"] = None,
created_by: Optional["User"] = None,
compute_duration: Optional[str] = None,
effective_start_time_utc: Optional[datetime.datetime] = None,
run_number: Optional[int] = None,
root_run_id: Optional[str] = None,
experiment_id: Optional[str] = None,
user_id: Optional[str] = None,
status_revision: Optional[int] = None,
current_compute_time: Optional[str] = None,
last_start_time_utc: Optional[datetime.datetime] = None,
last_modified_by: Optional["User"] = None,
last_modified_utc: Optional[datetime.datetime] = None,
duration: Optional[str] = None,
inputs: Optional[Dict[str, "TypedAssetReference"]] = None,
outputs: Optional[Dict[str, "TypedAssetReference"]] = None,
current_attempt_id: Optional[int] = None,
**kwargs
):
"""
:keyword run_id:
:paramtype run_id: str
:keyword run_uuid:
:paramtype run_uuid: str
:keyword parent_run_uuid:
:paramtype parent_run_uuid: str
:keyword root_run_uuid:
:paramtype root_run_uuid: str
:keyword target:
:paramtype target: str
:keyword status:
:paramtype status: str
:keyword parent_run_id:
:paramtype parent_run_id: str
:keyword data_container_id:
:paramtype data_container_id: str
:keyword created_time_utc:
:paramtype created_time_utc: ~datetime.datetime
:keyword start_time_utc:
:paramtype start_time_utc: ~datetime.datetime
:keyword end_time_utc:
:paramtype end_time_utc: ~datetime.datetime
:keyword error: The error response.
:paramtype error: ~flow.models.ErrorResponse
:keyword warnings:
:paramtype warnings: list[~flow.models.RunDetailsWarningDto]
:keyword tags: A set of tags. This is a dictionary.
:paramtype tags: dict[str, str]
:keyword properties: This is a dictionary.
:paramtype properties: dict[str, str]
:keyword parameters: Dictionary of :code:`<any>`.
:paramtype parameters: dict[str, any]
:keyword services: This is a dictionary.
:paramtype services: dict[str, ~flow.models.EndpointSetting]
:keyword input_datasets:
:paramtype input_datasets: list[~flow.models.DatasetLineage]
:keyword output_datasets:
:paramtype output_datasets: list[~flow.models.OutputDatasetLineage]
:keyword run_definition: Anything.
:paramtype run_definition: any
:keyword log_files: This is a dictionary.
:paramtype log_files: dict[str, str]
:keyword job_cost:
:paramtype job_cost: ~flow.models.JobCost
:keyword revision:
:paramtype revision: long
:keyword run_type_v2:
:paramtype run_type_v2: ~flow.models.RunTypeV2
:keyword settings: This is a dictionary.
:paramtype settings: dict[str, str]
:keyword compute_request:
:paramtype compute_request: ~flow.models.ComputeRequest
:keyword compute:
:paramtype compute: ~flow.models.Compute
:keyword created_by:
:paramtype created_by: ~flow.models.User
:keyword compute_duration:
:paramtype compute_duration: str
:keyword effective_start_time_utc:
:paramtype effective_start_time_utc: ~datetime.datetime
:keyword run_number:
:paramtype run_number: int
:keyword root_run_id:
:paramtype root_run_id: str
:keyword experiment_id:
:paramtype experiment_id: str
:keyword user_id:
:paramtype user_id: str
:keyword status_revision:
:paramtype status_revision: long
:keyword current_compute_time:
:paramtype current_compute_time: str
:keyword last_start_time_utc:
:paramtype last_start_time_utc: ~datetime.datetime
:keyword last_modified_by:
:paramtype last_modified_by: ~flow.models.User
:keyword last_modified_utc:
:paramtype last_modified_utc: ~datetime.datetime
:keyword duration:
:paramtype duration: str
:keyword inputs: Dictionary of :code:`<TypedAssetReference>`.
:paramtype inputs: dict[str, ~flow.models.TypedAssetReference]
:keyword outputs: Dictionary of :code:`<TypedAssetReference>`.
:paramtype outputs: dict[str, ~flow.models.TypedAssetReference]
:keyword current_attempt_id:
:paramtype current_attempt_id: int
"""
super(RunDetailsDto, self).__init__(**kwargs)
self.run_id = run_id
self.run_uuid = run_uuid
self.parent_run_uuid = parent_run_uuid
self.root_run_uuid = root_run_uuid
self.target = target
self.status = status
self.parent_run_id = parent_run_id
self.data_container_id = data_container_id
self.created_time_utc = created_time_utc
self.start_time_utc = start_time_utc
self.end_time_utc = end_time_utc
self.error = error
self.warnings = warnings
self.tags = tags
self.properties = properties
self.parameters = parameters
self.services = services
self.input_datasets = input_datasets
self.output_datasets = output_datasets
self.run_definition = run_definition
self.log_files = log_files
self.job_cost = job_cost
self.revision = revision
self.run_type_v2 = run_type_v2
self.settings = settings
self.compute_request = compute_request
self.compute = compute
self.created_by = created_by
self.compute_duration = compute_duration
self.effective_start_time_utc = effective_start_time_utc
self.run_number = run_number
self.root_run_id = root_run_id
self.experiment_id = experiment_id
self.user_id = user_id
self.status_revision = status_revision
self.current_compute_time = current_compute_time
self.last_start_time_utc = last_start_time_utc
self.last_modified_by = last_modified_by
self.last_modified_utc = last_modified_utc
self.duration = duration
self.inputs = inputs
self.outputs = outputs
self.current_attempt_id = current_attempt_id
class RunDetailsWarningDto(msrest.serialization.Model):
"""RunDetailsWarningDto.
:ivar source:
:vartype source: str
:ivar message:
:vartype message: str
"""
_attribute_map = {
'source': {'key': 'source', 'type': 'str'},
'message': {'key': 'message', 'type': 'str'},
}
def __init__(
self,
*,
source: Optional[str] = None,
message: Optional[str] = None,
**kwargs
):
"""
:keyword source:
:paramtype source: str
:keyword message:
:paramtype message: str
"""
super(RunDetailsWarningDto, self).__init__(**kwargs)
self.source = source
self.message = message
class RunDto(msrest.serialization.Model):
"""RunDto.
:ivar run_number:
:vartype run_number: int
:ivar root_run_id:
:vartype root_run_id: str
:ivar created_utc:
:vartype created_utc: ~datetime.datetime
:ivar created_by:
:vartype created_by: ~flow.models.User
:ivar user_id:
:vartype user_id: str
:ivar token:
:vartype token: str
:ivar token_expiry_time_utc:
:vartype token_expiry_time_utc: ~datetime.datetime
:ivar error: The error response.
:vartype error: ~flow.models.ErrorResponse
:ivar warnings:
:vartype warnings: list[~flow.models.RunDetailsWarningDto]
:ivar revision:
:vartype revision: long
:ivar status_revision:
:vartype status_revision: long
:ivar run_uuid:
:vartype run_uuid: str
:ivar parent_run_uuid:
:vartype parent_run_uuid: str
:ivar root_run_uuid:
:vartype root_run_uuid: str
:ivar last_start_time_utc:
:vartype last_start_time_utc: ~datetime.datetime
:ivar current_compute_time:
:vartype current_compute_time: str
:ivar compute_duration:
:vartype compute_duration: str
:ivar effective_start_time_utc:
:vartype effective_start_time_utc: ~datetime.datetime
:ivar last_modified_by:
:vartype last_modified_by: ~flow.models.User
:ivar last_modified_utc:
:vartype last_modified_utc: ~datetime.datetime
:ivar duration:
:vartype duration: str
:ivar cancelation_reason:
:vartype cancelation_reason: str
:ivar current_attempt_id:
:vartype current_attempt_id: int
:ivar run_id:
:vartype run_id: str
:ivar parent_run_id:
:vartype parent_run_id: str
:ivar experiment_id:
:vartype experiment_id: str
:ivar status:
:vartype status: str
:ivar start_time_utc:
:vartype start_time_utc: ~datetime.datetime
:ivar end_time_utc:
:vartype end_time_utc: ~datetime.datetime
:ivar schedule_id:
:vartype schedule_id: str
:ivar display_name:
:vartype display_name: str
:ivar name:
:vartype name: str
:ivar data_container_id:
:vartype data_container_id: str
:ivar description:
:vartype description: str
:ivar hidden:
:vartype hidden: bool
:ivar run_type:
:vartype run_type: str
:ivar run_type_v2:
:vartype run_type_v2: ~flow.models.RunTypeV2
:ivar properties: This is a dictionary.
:vartype properties: dict[str, str]
:ivar parameters: Dictionary of :code:`<any>`.
:vartype parameters: dict[str, any]
:ivar action_uris: Dictionary of :code:`<string>`.
:vartype action_uris: dict[str, str]
:ivar script_name:
:vartype script_name: str
:ivar target:
:vartype target: str
:ivar unique_child_run_compute_targets:
:vartype unique_child_run_compute_targets: list[str]
:ivar tags: A set of tags. This is a dictionary.
:vartype tags: dict[str, str]
:ivar settings: Dictionary of :code:`<string>`.
:vartype settings: dict[str, str]
:ivar services: Dictionary of :code:`<EndpointSetting>`.
:vartype services: dict[str, ~flow.models.EndpointSetting]
:ivar input_datasets:
:vartype input_datasets: list[~flow.models.DatasetLineage]
:ivar output_datasets:
:vartype output_datasets: list[~flow.models.OutputDatasetLineage]
:ivar run_definition: Anything.
:vartype run_definition: any
:ivar job_specification: Anything.
:vartype job_specification: any
:ivar primary_metric_name:
:vartype primary_metric_name: str
:ivar created_from:
:vartype created_from: ~flow.models.CreatedFromDto
:ivar cancel_uri:
:vartype cancel_uri: str
:ivar complete_uri:
:vartype complete_uri: str
:ivar diagnostics_uri:
:vartype diagnostics_uri: str
:ivar compute_request:
:vartype compute_request: ~flow.models.ComputeRequest
:ivar compute:
:vartype compute: ~flow.models.Compute
:ivar retain_for_lifetime_of_workspace:
:vartype retain_for_lifetime_of_workspace: bool
:ivar queueing_info:
:vartype queueing_info: ~flow.models.QueueingInfo
:ivar inputs: Dictionary of :code:`<TypedAssetReference>`.
:vartype inputs: dict[str, ~flow.models.TypedAssetReference]
:ivar outputs: Dictionary of :code:`<TypedAssetReference>`.
:vartype outputs: dict[str, ~flow.models.TypedAssetReference]
"""
_validation = {
'unique_child_run_compute_targets': {'unique': True},
'input_datasets': {'unique': True},
'output_datasets': {'unique': True},
}
_attribute_map = {
'run_number': {'key': 'runNumber', 'type': 'int'},
'root_run_id': {'key': 'rootRunId', 'type': 'str'},
'created_utc': {'key': 'createdUtc', 'type': 'iso-8601'},
'created_by': {'key': 'createdBy', 'type': 'User'},
'user_id': {'key': 'userId', 'type': 'str'},
'token': {'key': 'token', 'type': 'str'},
'token_expiry_time_utc': {'key': 'tokenExpiryTimeUtc', 'type': 'iso-8601'},
'error': {'key': 'error', 'type': 'ErrorResponse'},
'warnings': {'key': 'warnings', 'type': '[RunDetailsWarningDto]'},
'revision': {'key': 'revision', 'type': 'long'},
'status_revision': {'key': 'statusRevision', 'type': 'long'},
'run_uuid': {'key': 'runUuid', 'type': 'str'},
'parent_run_uuid': {'key': 'parentRunUuid', 'type': 'str'},
'root_run_uuid': {'key': 'rootRunUuid', 'type': 'str'},
'last_start_time_utc': {'key': 'lastStartTimeUtc', 'type': 'iso-8601'},
'current_compute_time': {'key': 'currentComputeTime', 'type': 'str'},
'compute_duration': {'key': 'computeDuration', 'type': 'str'},
'effective_start_time_utc': {'key': 'effectiveStartTimeUtc', 'type': 'iso-8601'},
'last_modified_by': {'key': 'lastModifiedBy', 'type': 'User'},
'last_modified_utc': {'key': 'lastModifiedUtc', 'type': 'iso-8601'},
'duration': {'key': 'duration', 'type': 'str'},
'cancelation_reason': {'key': 'cancelationReason', 'type': 'str'},
'current_attempt_id': {'key': 'currentAttemptId', 'type': 'int'},
'run_id': {'key': 'runId', 'type': 'str'},
'parent_run_id': {'key': 'parentRunId', 'type': 'str'},
'experiment_id': {'key': 'experimentId', 'type': 'str'},
'status': {'key': 'status', 'type': 'str'},
'start_time_utc': {'key': 'startTimeUtc', 'type': 'iso-8601'},
'end_time_utc': {'key': 'endTimeUtc', 'type': 'iso-8601'},
'schedule_id': {'key': 'scheduleId', 'type': 'str'},
'display_name': {'key': 'displayName', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'data_container_id': {'key': 'dataContainerId', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'hidden': {'key': 'hidden', 'type': 'bool'},
'run_type': {'key': 'runType', 'type': 'str'},
'run_type_v2': {'key': 'runTypeV2', 'type': 'RunTypeV2'},
'properties': {'key': 'properties', 'type': '{str}'},
'parameters': {'key': 'parameters', 'type': '{object}'},
'action_uris': {'key': 'actionUris', 'type': '{str}'},
'script_name': {'key': 'scriptName', 'type': 'str'},
'target': {'key': 'target', 'type': 'str'},
'unique_child_run_compute_targets': {'key': 'uniqueChildRunComputeTargets', 'type': '[str]'},
'tags': {'key': 'tags', 'type': '{str}'},
'settings': {'key': 'settings', 'type': '{str}'},
'services': {'key': 'services', 'type': '{EndpointSetting}'},
'input_datasets': {'key': 'inputDatasets', 'type': '[DatasetLineage]'},
'output_datasets': {'key': 'outputDatasets', 'type': '[OutputDatasetLineage]'},
'run_definition': {'key': 'runDefinition', 'type': 'object'},
'job_specification': {'key': 'jobSpecification', 'type': 'object'},
'primary_metric_name': {'key': 'primaryMetricName', 'type': 'str'},
'created_from': {'key': 'createdFrom', 'type': 'CreatedFromDto'},
'cancel_uri': {'key': 'cancelUri', 'type': 'str'},
'complete_uri': {'key': 'completeUri', 'type': 'str'},
'diagnostics_uri': {'key': 'diagnosticsUri', 'type': 'str'},
'compute_request': {'key': 'computeRequest', 'type': 'ComputeRequest'},
'compute': {'key': 'compute', 'type': 'Compute'},
'retain_for_lifetime_of_workspace': {'key': 'retainForLifetimeOfWorkspace', 'type': 'bool'},
'queueing_info': {'key': 'queueingInfo', 'type': 'QueueingInfo'},
'inputs': {'key': 'inputs', 'type': '{TypedAssetReference}'},
'outputs': {'key': 'outputs', 'type': '{TypedAssetReference}'},
}
def __init__(
self,
*,
run_number: Optional[int] = None,
root_run_id: Optional[str] = None,
created_utc: Optional[datetime.datetime] = None,
created_by: Optional["User"] = None,
user_id: Optional[str] = None,
token: Optional[str] = None,
token_expiry_time_utc: Optional[datetime.datetime] = None,
error: Optional["ErrorResponse"] = None,
warnings: Optional[List["RunDetailsWarningDto"]] = None,
revision: Optional[int] = None,
status_revision: Optional[int] = None,
run_uuid: Optional[str] = None,
parent_run_uuid: Optional[str] = None,
root_run_uuid: Optional[str] = None,
last_start_time_utc: Optional[datetime.datetime] = None,
current_compute_time: Optional[str] = None,
compute_duration: Optional[str] = None,
effective_start_time_utc: Optional[datetime.datetime] = None,
last_modified_by: Optional["User"] = None,
last_modified_utc: Optional[datetime.datetime] = None,
duration: Optional[str] = None,
cancelation_reason: Optional[str] = None,
current_attempt_id: Optional[int] = None,
run_id: Optional[str] = None,
parent_run_id: Optional[str] = None,
experiment_id: Optional[str] = None,
status: Optional[str] = None,
start_time_utc: Optional[datetime.datetime] = None,
end_time_utc: Optional[datetime.datetime] = None,
schedule_id: Optional[str] = None,
display_name: Optional[str] = None,
name: Optional[str] = None,
data_container_id: Optional[str] = None,
description: Optional[str] = None,
hidden: Optional[bool] = None,
run_type: Optional[str] = None,
run_type_v2: Optional["RunTypeV2"] = None,
properties: Optional[Dict[str, str]] = None,
parameters: Optional[Dict[str, Any]] = None,
action_uris: Optional[Dict[str, str]] = None,
script_name: Optional[str] = None,
target: Optional[str] = None,
unique_child_run_compute_targets: Optional[List[str]] = None,
tags: Optional[Dict[str, str]] = None,
settings: Optional[Dict[str, str]] = None,
services: Optional[Dict[str, "EndpointSetting"]] = None,
input_datasets: Optional[List["DatasetLineage"]] = None,
output_datasets: Optional[List["OutputDatasetLineage"]] = None,
run_definition: Optional[Any] = None,
job_specification: Optional[Any] = None,
primary_metric_name: Optional[str] = None,
created_from: Optional["CreatedFromDto"] = None,
cancel_uri: Optional[str] = None,
complete_uri: Optional[str] = None,
diagnostics_uri: Optional[str] = None,
compute_request: Optional["ComputeRequest"] = None,
compute: Optional["Compute"] = None,
retain_for_lifetime_of_workspace: Optional[bool] = None,
queueing_info: Optional["QueueingInfo"] = None,
inputs: Optional[Dict[str, "TypedAssetReference"]] = None,
outputs: Optional[Dict[str, "TypedAssetReference"]] = None,
**kwargs
):
"""
:keyword run_number:
:paramtype run_number: int
:keyword root_run_id:
:paramtype root_run_id: str
:keyword created_utc:
:paramtype created_utc: ~datetime.datetime
:keyword created_by:
:paramtype created_by: ~flow.models.User
:keyword user_id:
:paramtype user_id: str
:keyword token:
:paramtype token: str
:keyword token_expiry_time_utc:
:paramtype token_expiry_time_utc: ~datetime.datetime
:keyword error: The error response.
:paramtype error: ~flow.models.ErrorResponse
:keyword warnings:
:paramtype warnings: list[~flow.models.RunDetailsWarningDto]
:keyword revision:
:paramtype revision: long
:keyword status_revision:
:paramtype status_revision: long
:keyword run_uuid:
:paramtype run_uuid: str
:keyword parent_run_uuid:
:paramtype parent_run_uuid: str
:keyword root_run_uuid:
:paramtype root_run_uuid: str
:keyword last_start_time_utc:
:paramtype last_start_time_utc: ~datetime.datetime
:keyword current_compute_time:
:paramtype current_compute_time: str
:keyword compute_duration:
:paramtype compute_duration: str
:keyword effective_start_time_utc:
:paramtype effective_start_time_utc: ~datetime.datetime
:keyword last_modified_by:
:paramtype last_modified_by: ~flow.models.User
:keyword last_modified_utc:
:paramtype last_modified_utc: ~datetime.datetime
:keyword duration:
:paramtype duration: str
:keyword cancelation_reason:
:paramtype cancelation_reason: str
:keyword current_attempt_id:
:paramtype current_attempt_id: int
:keyword run_id:
:paramtype run_id: str
:keyword parent_run_id:
:paramtype parent_run_id: str
:keyword experiment_id:
:paramtype experiment_id: str
:keyword status:
:paramtype status: str
:keyword start_time_utc:
:paramtype start_time_utc: ~datetime.datetime
:keyword end_time_utc:
:paramtype end_time_utc: ~datetime.datetime
:keyword schedule_id:
:paramtype schedule_id: str
:keyword display_name:
:paramtype display_name: str
:keyword name:
:paramtype name: str
:keyword data_container_id:
:paramtype data_container_id: str
:keyword description:
:paramtype description: str
:keyword hidden:
:paramtype hidden: bool
:keyword run_type:
:paramtype run_type: str
:keyword run_type_v2:
:paramtype run_type_v2: ~flow.models.RunTypeV2
:keyword properties: This is a dictionary.
:paramtype properties: dict[str, str]
:keyword parameters: Dictionary of :code:`<any>`.
:paramtype parameters: dict[str, any]
:keyword action_uris: Dictionary of :code:`<string>`.
:paramtype action_uris: dict[str, str]
:keyword script_name:
:paramtype script_name: str
:keyword target:
:paramtype target: str
:keyword unique_child_run_compute_targets:
:paramtype unique_child_run_compute_targets: list[str]
:keyword tags: A set of tags. This is a dictionary.
:paramtype tags: dict[str, str]
:keyword settings: Dictionary of :code:`<string>`.
:paramtype settings: dict[str, str]
:keyword services: Dictionary of :code:`<EndpointSetting>`.
:paramtype services: dict[str, ~flow.models.EndpointSetting]
:keyword input_datasets:
:paramtype input_datasets: list[~flow.models.DatasetLineage]
:keyword output_datasets:
:paramtype output_datasets: list[~flow.models.OutputDatasetLineage]
:keyword run_definition: Anything.
:paramtype run_definition: any
:keyword job_specification: Anything.
:paramtype job_specification: any
:keyword primary_metric_name:
:paramtype primary_metric_name: str
:keyword created_from:
:paramtype created_from: ~flow.models.CreatedFromDto
:keyword cancel_uri:
:paramtype cancel_uri: str
:keyword complete_uri:
:paramtype complete_uri: str
:keyword diagnostics_uri:
:paramtype diagnostics_uri: str
:keyword compute_request:
:paramtype compute_request: ~flow.models.ComputeRequest
:keyword compute:
:paramtype compute: ~flow.models.Compute
:keyword retain_for_lifetime_of_workspace:
:paramtype retain_for_lifetime_of_workspace: bool
:keyword queueing_info:
:paramtype queueing_info: ~flow.models.QueueingInfo
:keyword inputs: Dictionary of :code:`<TypedAssetReference>`.
:paramtype inputs: dict[str, ~flow.models.TypedAssetReference]
:keyword outputs: Dictionary of :code:`<TypedAssetReference>`.
:paramtype outputs: dict[str, ~flow.models.TypedAssetReference]
"""
super(RunDto, self).__init__(**kwargs)
self.run_number = run_number
self.root_run_id = root_run_id
self.created_utc = created_utc
self.created_by = created_by
self.user_id = user_id
self.token = token
self.token_expiry_time_utc = token_expiry_time_utc
self.error = error
self.warnings = warnings
self.revision = revision
self.status_revision = status_revision
self.run_uuid = run_uuid
self.parent_run_uuid = parent_run_uuid
self.root_run_uuid = root_run_uuid
self.last_start_time_utc = last_start_time_utc
self.current_compute_time = current_compute_time
self.compute_duration = compute_duration
self.effective_start_time_utc = effective_start_time_utc
self.last_modified_by = last_modified_by
self.last_modified_utc = last_modified_utc
self.duration = duration
self.cancelation_reason = cancelation_reason
self.current_attempt_id = current_attempt_id
self.run_id = run_id
self.parent_run_id = parent_run_id
self.experiment_id = experiment_id
self.status = status
self.start_time_utc = start_time_utc
self.end_time_utc = end_time_utc
self.schedule_id = schedule_id
self.display_name = display_name
self.name = name
self.data_container_id = data_container_id
self.description = description
self.hidden = hidden
self.run_type = run_type
self.run_type_v2 = run_type_v2
self.properties = properties
self.parameters = parameters
self.action_uris = action_uris
self.script_name = script_name
self.target = target
self.unique_child_run_compute_targets = unique_child_run_compute_targets
self.tags = tags
self.settings = settings
self.services = services
self.input_datasets = input_datasets
self.output_datasets = output_datasets
self.run_definition = run_definition
self.job_specification = job_specification
self.primary_metric_name = primary_metric_name
self.created_from = created_from
self.cancel_uri = cancel_uri
self.complete_uri = complete_uri
self.diagnostics_uri = diagnostics_uri
self.compute_request = compute_request
self.compute = compute
self.retain_for_lifetime_of_workspace = retain_for_lifetime_of_workspace
self.queueing_info = queueing_info
self.inputs = inputs
self.outputs = outputs
class RunIndexEntity(msrest.serialization.Model):
"""RunIndexEntity.
Variables are only populated by the server, and will be ignored when sending a request.
:ivar schema_id:
:vartype schema_id: str
:ivar entity_id:
:vartype entity_id: str
:ivar kind: Possible values include: "Invalid", "LineageRoot", "Versioned", "Unversioned".
:vartype kind: str or ~flow.models.EntityKind
:ivar annotations:
:vartype annotations: ~flow.models.RunAnnotations
:ivar properties:
:vartype properties: ~flow.models.RunProperties
:ivar internal: Any object.
:vartype internal: any
:ivar update_sequence:
:vartype update_sequence: long
:ivar type:
:vartype type: str
:ivar version:
:vartype version: str
:ivar entity_container_id:
:vartype entity_container_id: str
:ivar entity_object_id:
:vartype entity_object_id: str
:ivar resource_type:
:vartype resource_type: str
:ivar relationships:
:vartype relationships: list[~flow.models.Relationship]
:ivar asset_id:
:vartype asset_id: str
"""
_validation = {
'version': {'readonly': True},
'entity_container_id': {'readonly': True},
'entity_object_id': {'readonly': True},
'resource_type': {'readonly': True},
}
_attribute_map = {
'schema_id': {'key': 'schemaId', 'type': 'str'},
'entity_id': {'key': 'entityId', 'type': 'str'},
'kind': {'key': 'kind', 'type': 'str'},
'annotations': {'key': 'annotations', 'type': 'RunAnnotations'},
'properties': {'key': 'properties', 'type': 'RunProperties'},
'internal': {'key': 'internal', 'type': 'object'},
'update_sequence': {'key': 'updateSequence', 'type': 'long'},
'type': {'key': 'type', 'type': 'str'},
'version': {'key': 'version', 'type': 'str'},
'entity_container_id': {'key': 'entityContainerId', 'type': 'str'},
'entity_object_id': {'key': 'entityObjectId', 'type': 'str'},
'resource_type': {'key': 'resourceType', 'type': 'str'},
'relationships': {'key': 'relationships', 'type': '[Relationship]'},
'asset_id': {'key': 'assetId', 'type': 'str'},
}
def __init__(
self,
*,
schema_id: Optional[str] = None,
entity_id: Optional[str] = None,
kind: Optional[Union[str, "EntityKind"]] = None,
annotations: Optional["RunAnnotations"] = None,
properties: Optional["RunProperties"] = None,
internal: Optional[Any] = None,
update_sequence: Optional[int] = None,
type: Optional[str] = None,
relationships: Optional[List["Relationship"]] = None,
asset_id: Optional[str] = None,
**kwargs
):
"""
:keyword schema_id:
:paramtype schema_id: str
:keyword entity_id:
:paramtype entity_id: str
:keyword kind: Possible values include: "Invalid", "LineageRoot", "Versioned", "Unversioned".
:paramtype kind: str or ~flow.models.EntityKind
:keyword annotations:
:paramtype annotations: ~flow.models.RunAnnotations
:keyword properties:
:paramtype properties: ~flow.models.RunProperties
:keyword internal: Any object.
:paramtype internal: any
:keyword update_sequence:
:paramtype update_sequence: long
:keyword type:
:paramtype type: str
:keyword relationships:
:paramtype relationships: list[~flow.models.Relationship]
:keyword asset_id:
:paramtype asset_id: str
"""
super(RunIndexEntity, self).__init__(**kwargs)
self.schema_id = schema_id
self.entity_id = entity_id
self.kind = kind
self.annotations = annotations
self.properties = properties
self.internal = internal
self.update_sequence = update_sequence
self.type = type
self.version = None
self.entity_container_id = None
self.entity_object_id = None
self.resource_type = None
self.relationships = relationships
self.asset_id = asset_id
class RunIndexMetricSummary(msrest.serialization.Model):
"""RunIndexMetricSummary.
:ivar count:
:vartype count: long
:ivar last_value: Anything.
:vartype last_value: any
:ivar minimum_value: Anything.
:vartype minimum_value: any
:ivar maximum_value: Anything.
:vartype maximum_value: any
:ivar metric_type:
:vartype metric_type: str
"""
_attribute_map = {
'count': {'key': 'count', 'type': 'long'},
'last_value': {'key': 'lastValue', 'type': 'object'},
'minimum_value': {'key': 'minimumValue', 'type': 'object'},
'maximum_value': {'key': 'maximumValue', 'type': 'object'},
'metric_type': {'key': 'metricType', 'type': 'str'},
}
def __init__(
self,
*,
count: Optional[int] = None,
last_value: Optional[Any] = None,
minimum_value: Optional[Any] = None,
maximum_value: Optional[Any] = None,
metric_type: Optional[str] = None,
**kwargs
):
"""
:keyword count:
:paramtype count: long
:keyword last_value: Anything.
:paramtype last_value: any
:keyword minimum_value: Anything.
:paramtype minimum_value: any
:keyword maximum_value: Anything.
:paramtype maximum_value: any
:keyword metric_type:
:paramtype metric_type: str
"""
super(RunIndexMetricSummary, self).__init__(**kwargs)
self.count = count
self.last_value = last_value
self.minimum_value = minimum_value
self.maximum_value = maximum_value
self.metric_type = metric_type
class RunIndexMetricSummarySystemObject(msrest.serialization.Model):
"""RunIndexMetricSummarySystemObject.
:ivar count:
:vartype count: long
:ivar last_value: Anything.
:vartype last_value: any
:ivar minimum_value: Anything.
:vartype minimum_value: any
:ivar maximum_value: Anything.
:vartype maximum_value: any
:ivar metric_type:
:vartype metric_type: str
"""
_attribute_map = {
'count': {'key': 'count', 'type': 'long'},
'last_value': {'key': 'lastValue', 'type': 'object'},
'minimum_value': {'key': 'minimumValue', 'type': 'object'},
'maximum_value': {'key': 'maximumValue', 'type': 'object'},
'metric_type': {'key': 'metricType', 'type': 'str'},
}
def __init__(
self,
*,
count: Optional[int] = None,
last_value: Optional[Any] = None,
minimum_value: Optional[Any] = None,
maximum_value: Optional[Any] = None,
metric_type: Optional[str] = None,
**kwargs
):
"""
:keyword count:
:paramtype count: long
:keyword last_value: Anything.
:paramtype last_value: any
:keyword minimum_value: Anything.
:paramtype minimum_value: any
:keyword maximum_value: Anything.
:paramtype maximum_value: any
:keyword metric_type:
:paramtype metric_type: str
"""
super(RunIndexMetricSummarySystemObject, self).__init__(**kwargs)
self.count = count
self.last_value = last_value
self.minimum_value = minimum_value
self.maximum_value = maximum_value
self.metric_type = metric_type
class RunIndexResourceMetricSummary(msrest.serialization.Model):
"""RunIndexResourceMetricSummary.
:ivar gpu_utilization_percent_last_hour:
:vartype gpu_utilization_percent_last_hour: float
:ivar gpu_memory_utilization_percent_last_hour:
:vartype gpu_memory_utilization_percent_last_hour: float
:ivar gpu_energy_joules:
:vartype gpu_energy_joules: float
:ivar resource_metric_names:
:vartype resource_metric_names: list[str]
"""
_attribute_map = {
'gpu_utilization_percent_last_hour': {'key': 'gpuUtilizationPercentLastHour', 'type': 'float'},
'gpu_memory_utilization_percent_last_hour': {'key': 'gpuMemoryUtilizationPercentLastHour', 'type': 'float'},
'gpu_energy_joules': {'key': 'gpuEnergyJoules', 'type': 'float'},
'resource_metric_names': {'key': 'resourceMetricNames', 'type': '[str]'},
}
def __init__(
self,
*,
gpu_utilization_percent_last_hour: Optional[float] = None,
gpu_memory_utilization_percent_last_hour: Optional[float] = None,
gpu_energy_joules: Optional[float] = None,
resource_metric_names: Optional[List[str]] = None,
**kwargs
):
"""
:keyword gpu_utilization_percent_last_hour:
:paramtype gpu_utilization_percent_last_hour: float
:keyword gpu_memory_utilization_percent_last_hour:
:paramtype gpu_memory_utilization_percent_last_hour: float
:keyword gpu_energy_joules:
:paramtype gpu_energy_joules: float
:keyword resource_metric_names:
:paramtype resource_metric_names: list[str]
"""
super(RunIndexResourceMetricSummary, self).__init__(**kwargs)
self.gpu_utilization_percent_last_hour = gpu_utilization_percent_last_hour
self.gpu_memory_utilization_percent_last_hour = gpu_memory_utilization_percent_last_hour
self.gpu_energy_joules = gpu_energy_joules
self.resource_metric_names = resource_metric_names
class RunMetricDto(msrest.serialization.Model):
"""RunMetricDto.
:ivar run_id:
:vartype run_id: str
:ivar metric_id:
:vartype metric_id: str
:ivar data_container_id:
:vartype data_container_id: str
:ivar metric_type:
:vartype metric_type: str
:ivar created_utc:
:vartype created_utc: ~datetime.datetime
:ivar name:
:vartype name: str
:ivar description:
:vartype description: str
:ivar label:
:vartype label: str
:ivar num_cells:
:vartype num_cells: int
:ivar data_location:
:vartype data_location: str
:ivar cells:
:vartype cells: list[dict[str, any]]
:ivar schema:
:vartype schema: ~flow.models.MetricSchemaDto
"""
_attribute_map = {
'run_id': {'key': 'runId', 'type': 'str'},
'metric_id': {'key': 'metricId', 'type': 'str'},
'data_container_id': {'key': 'dataContainerId', 'type': 'str'},
'metric_type': {'key': 'metricType', 'type': 'str'},
'created_utc': {'key': 'createdUtc', 'type': 'iso-8601'},
'name': {'key': 'name', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'label': {'key': 'label', 'type': 'str'},
'num_cells': {'key': 'numCells', 'type': 'int'},
'data_location': {'key': 'dataLocation', 'type': 'str'},
'cells': {'key': 'cells', 'type': '[{object}]'},
'schema': {'key': 'schema', 'type': 'MetricSchemaDto'},
}
def __init__(
self,
*,
run_id: Optional[str] = None,
metric_id: Optional[str] = None,
data_container_id: Optional[str] = None,
metric_type: Optional[str] = None,
created_utc: Optional[datetime.datetime] = None,
name: Optional[str] = None,
description: Optional[str] = None,
label: Optional[str] = None,
num_cells: Optional[int] = None,
data_location: Optional[str] = None,
cells: Optional[List[Dict[str, Any]]] = None,
schema: Optional["MetricSchemaDto"] = None,
**kwargs
):
"""
:keyword run_id:
:paramtype run_id: str
:keyword metric_id:
:paramtype metric_id: str
:keyword data_container_id:
:paramtype data_container_id: str
:keyword metric_type:
:paramtype metric_type: str
:keyword created_utc:
:paramtype created_utc: ~datetime.datetime
:keyword name:
:paramtype name: str
:keyword description:
:paramtype description: str
:keyword label:
:paramtype label: str
:keyword num_cells:
:paramtype num_cells: int
:keyword data_location:
:paramtype data_location: str
:keyword cells:
:paramtype cells: list[dict[str, any]]
:keyword schema:
:paramtype schema: ~flow.models.MetricSchemaDto
"""
super(RunMetricDto, self).__init__(**kwargs)
self.run_id = run_id
self.metric_id = metric_id
self.data_container_id = data_container_id
self.metric_type = metric_type
self.created_utc = created_utc
self.name = name
self.description = description
self.label = label
self.num_cells = num_cells
self.data_location = data_location
self.cells = cells
self.schema = schema
class RunMetricsTypesDto(msrest.serialization.Model):
"""RunMetricsTypesDto.
:ivar name:
:vartype name: str
:ivar type:
:vartype type: str
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
}
def __init__(
self,
*,
name: Optional[str] = None,
type: Optional[str] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword type:
:paramtype type: str
"""
super(RunMetricsTypesDto, self).__init__(**kwargs)
self.name = name
self.type = type
class RunProperties(msrest.serialization.Model):
"""RunProperties.
:ivar data_container_id:
:vartype data_container_id: str
:ivar target_name:
:vartype target_name: str
:ivar run_name:
:vartype run_name: str
:ivar experiment_name:
:vartype experiment_name: str
:ivar run_id:
:vartype run_id: str
:ivar parent_run_id:
:vartype parent_run_id: str
:ivar root_run_id:
:vartype root_run_id: str
:ivar run_type:
:vartype run_type: str
:ivar run_type_v2:
:vartype run_type_v2: ~flow.models.RunTypeV2Index
:ivar script_name:
:vartype script_name: str
:ivar experiment_id:
:vartype experiment_id: str
:ivar run_uuid:
:vartype run_uuid: str
:ivar parent_run_uuid:
:vartype parent_run_uuid: str
:ivar run_number:
:vartype run_number: int
:ivar start_time:
:vartype start_time: ~datetime.datetime
:ivar end_time:
:vartype end_time: ~datetime.datetime
:ivar compute_request:
:vartype compute_request: ~flow.models.ComputeRequest
:ivar compute:
:vartype compute: ~flow.models.Compute
:ivar user_properties: This is a dictionary.
:vartype user_properties: dict[str, str]
:ivar action_uris: This is a dictionary.
:vartype action_uris: dict[str, str]
:ivar duration:
:vartype duration: str
:ivar duration_milliseconds:
:vartype duration_milliseconds: float
:ivar creation_context:
:vartype creation_context: ~flow.models.CreationContext
"""
_attribute_map = {
'data_container_id': {'key': 'dataContainerId', 'type': 'str'},
'target_name': {'key': 'targetName', 'type': 'str'},
'run_name': {'key': 'runName', 'type': 'str'},
'experiment_name': {'key': 'experimentName', 'type': 'str'},
'run_id': {'key': 'runId', 'type': 'str'},
'parent_run_id': {'key': 'parentRunId', 'type': 'str'},
'root_run_id': {'key': 'rootRunId', 'type': 'str'},
'run_type': {'key': 'runType', 'type': 'str'},
'run_type_v2': {'key': 'runTypeV2', 'type': 'RunTypeV2Index'},
'script_name': {'key': 'scriptName', 'type': 'str'},
'experiment_id': {'key': 'experimentId', 'type': 'str'},
'run_uuid': {'key': 'runUuid', 'type': 'str'},
'parent_run_uuid': {'key': 'parentRunUuid', 'type': 'str'},
'run_number': {'key': 'runNumber', 'type': 'int'},
'start_time': {'key': 'startTime', 'type': 'iso-8601'},
'end_time': {'key': 'endTime', 'type': 'iso-8601'},
'compute_request': {'key': 'computeRequest', 'type': 'ComputeRequest'},
'compute': {'key': 'compute', 'type': 'Compute'},
'user_properties': {'key': 'userProperties', 'type': '{str}'},
'action_uris': {'key': 'actionUris', 'type': '{str}'},
'duration': {'key': 'duration', 'type': 'str'},
'duration_milliseconds': {'key': 'durationMilliseconds', 'type': 'float'},
'creation_context': {'key': 'creationContext', 'type': 'CreationContext'},
}
def __init__(
self,
*,
data_container_id: Optional[str] = None,
target_name: Optional[str] = None,
run_name: Optional[str] = None,
experiment_name: Optional[str] = None,
run_id: Optional[str] = None,
parent_run_id: Optional[str] = None,
root_run_id: Optional[str] = None,
run_type: Optional[str] = None,
run_type_v2: Optional["RunTypeV2Index"] = None,
script_name: Optional[str] = None,
experiment_id: Optional[str] = None,
run_uuid: Optional[str] = None,
parent_run_uuid: Optional[str] = None,
run_number: Optional[int] = None,
start_time: Optional[datetime.datetime] = None,
end_time: Optional[datetime.datetime] = None,
compute_request: Optional["ComputeRequest"] = None,
compute: Optional["Compute"] = None,
user_properties: Optional[Dict[str, str]] = None,
action_uris: Optional[Dict[str, str]] = None,
duration: Optional[str] = None,
duration_milliseconds: Optional[float] = None,
creation_context: Optional["CreationContext"] = None,
**kwargs
):
"""
:keyword data_container_id:
:paramtype data_container_id: str
:keyword target_name:
:paramtype target_name: str
:keyword run_name:
:paramtype run_name: str
:keyword experiment_name:
:paramtype experiment_name: str
:keyword run_id:
:paramtype run_id: str
:keyword parent_run_id:
:paramtype parent_run_id: str
:keyword root_run_id:
:paramtype root_run_id: str
:keyword run_type:
:paramtype run_type: str
:keyword run_type_v2:
:paramtype run_type_v2: ~flow.models.RunTypeV2Index
:keyword script_name:
:paramtype script_name: str
:keyword experiment_id:
:paramtype experiment_id: str
:keyword run_uuid:
:paramtype run_uuid: str
:keyword parent_run_uuid:
:paramtype parent_run_uuid: str
:keyword run_number:
:paramtype run_number: int
:keyword start_time:
:paramtype start_time: ~datetime.datetime
:keyword end_time:
:paramtype end_time: ~datetime.datetime
:keyword compute_request:
:paramtype compute_request: ~flow.models.ComputeRequest
:keyword compute:
:paramtype compute: ~flow.models.Compute
:keyword user_properties: This is a dictionary.
:paramtype user_properties: dict[str, str]
:keyword action_uris: This is a dictionary.
:paramtype action_uris: dict[str, str]
:keyword duration:
:paramtype duration: str
:keyword duration_milliseconds:
:paramtype duration_milliseconds: float
:keyword creation_context:
:paramtype creation_context: ~flow.models.CreationContext
"""
super(RunProperties, self).__init__(**kwargs)
self.data_container_id = data_container_id
self.target_name = target_name
self.run_name = run_name
self.experiment_name = experiment_name
self.run_id = run_id
self.parent_run_id = parent_run_id
self.root_run_id = root_run_id
self.run_type = run_type
self.run_type_v2 = run_type_v2
self.script_name = script_name
self.experiment_id = experiment_id
self.run_uuid = run_uuid
self.parent_run_uuid = parent_run_uuid
self.run_number = run_number
self.start_time = start_time
self.end_time = end_time
self.compute_request = compute_request
self.compute = compute
self.user_properties = user_properties
self.action_uris = action_uris
self.duration = duration
self.duration_milliseconds = duration_milliseconds
self.creation_context = creation_context
class RunSettingParameter(msrest.serialization.Model):
"""RunSettingParameter.
:ivar name:
:vartype name: str
:ivar label:
:vartype label: str
:ivar parameter_type: Possible values include: "Undefined", "Int", "Double", "Bool", "String",
"JsonString", "YamlString", "StringList".
:vartype parameter_type: str or ~flow.models.RunSettingParameterType
:ivar is_optional:
:vartype is_optional: bool
:ivar default_value:
:vartype default_value: str
:ivar lower_bound:
:vartype lower_bound: str
:ivar upper_bound:
:vartype upper_bound: str
:ivar description:
:vartype description: str
:ivar run_setting_ui_hint:
:vartype run_setting_ui_hint: ~flow.models.RunSettingUIParameterHint
:ivar argument_name:
:vartype argument_name: str
:ivar section_name:
:vartype section_name: str
:ivar section_description:
:vartype section_description: str
:ivar section_argument_name:
:vartype section_argument_name: str
:ivar examples:
:vartype examples: list[str]
:ivar enum_values:
:vartype enum_values: list[str]
:ivar enum_values_to_argument_strings: This is a dictionary.
:vartype enum_values_to_argument_strings: dict[str, str]
:ivar enabled_by_parameter_name:
:vartype enabled_by_parameter_name: str
:ivar enabled_by_parameter_values:
:vartype enabled_by_parameter_values: list[str]
:ivar disabled_by_parameters:
:vartype disabled_by_parameters: list[str]
:ivar module_run_setting_type: Possible values include: "All", "Released", "Default",
"Testing", "Legacy", "Preview", "UxFull", "Integration", "UxIntegration", "Full".
:vartype module_run_setting_type: str or ~flow.models.ModuleRunSettingTypes
:ivar linked_parameter_default_value_mapping: Dictionary of :code:`<string>`.
:vartype linked_parameter_default_value_mapping: dict[str, str]
:ivar linked_parameter_key_name:
:vartype linked_parameter_key_name: str
:ivar support_link_setting:
:vartype support_link_setting: bool
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'label': {'key': 'label', 'type': 'str'},
'parameter_type': {'key': 'parameterType', 'type': 'str'},
'is_optional': {'key': 'isOptional', 'type': 'bool'},
'default_value': {'key': 'defaultValue', 'type': 'str'},
'lower_bound': {'key': 'lowerBound', 'type': 'str'},
'upper_bound': {'key': 'upperBound', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'run_setting_ui_hint': {'key': 'runSettingUIHint', 'type': 'RunSettingUIParameterHint'},
'argument_name': {'key': 'argumentName', 'type': 'str'},
'section_name': {'key': 'sectionName', 'type': 'str'},
'section_description': {'key': 'sectionDescription', 'type': 'str'},
'section_argument_name': {'key': 'sectionArgumentName', 'type': 'str'},
'examples': {'key': 'examples', 'type': '[str]'},
'enum_values': {'key': 'enumValues', 'type': '[str]'},
'enum_values_to_argument_strings': {'key': 'enumValuesToArgumentStrings', 'type': '{str}'},
'enabled_by_parameter_name': {'key': 'enabledByParameterName', 'type': 'str'},
'enabled_by_parameter_values': {'key': 'enabledByParameterValues', 'type': '[str]'},
'disabled_by_parameters': {'key': 'disabledByParameters', 'type': '[str]'},
'module_run_setting_type': {'key': 'moduleRunSettingType', 'type': 'str'},
'linked_parameter_default_value_mapping': {'key': 'linkedParameterDefaultValueMapping', 'type': '{str}'},
'linked_parameter_key_name': {'key': 'linkedParameterKeyName', 'type': 'str'},
'support_link_setting': {'key': 'supportLinkSetting', 'type': 'bool'},
}
def __init__(
self,
*,
name: Optional[str] = None,
label: Optional[str] = None,
parameter_type: Optional[Union[str, "RunSettingParameterType"]] = None,
is_optional: Optional[bool] = None,
default_value: Optional[str] = None,
lower_bound: Optional[str] = None,
upper_bound: Optional[str] = None,
description: Optional[str] = None,
run_setting_ui_hint: Optional["RunSettingUIParameterHint"] = None,
argument_name: Optional[str] = None,
section_name: Optional[str] = None,
section_description: Optional[str] = None,
section_argument_name: Optional[str] = None,
examples: Optional[List[str]] = None,
enum_values: Optional[List[str]] = None,
enum_values_to_argument_strings: Optional[Dict[str, str]] = None,
enabled_by_parameter_name: Optional[str] = None,
enabled_by_parameter_values: Optional[List[str]] = None,
disabled_by_parameters: Optional[List[str]] = None,
module_run_setting_type: Optional[Union[str, "ModuleRunSettingTypes"]] = None,
linked_parameter_default_value_mapping: Optional[Dict[str, str]] = None,
linked_parameter_key_name: Optional[str] = None,
support_link_setting: Optional[bool] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword label:
:paramtype label: str
:keyword parameter_type: Possible values include: "Undefined", "Int", "Double", "Bool",
"String", "JsonString", "YamlString", "StringList".
:paramtype parameter_type: str or ~flow.models.RunSettingParameterType
:keyword is_optional:
:paramtype is_optional: bool
:keyword default_value:
:paramtype default_value: str
:keyword lower_bound:
:paramtype lower_bound: str
:keyword upper_bound:
:paramtype upper_bound: str
:keyword description:
:paramtype description: str
:keyword run_setting_ui_hint:
:paramtype run_setting_ui_hint: ~flow.models.RunSettingUIParameterHint
:keyword argument_name:
:paramtype argument_name: str
:keyword section_name:
:paramtype section_name: str
:keyword section_description:
:paramtype section_description: str
:keyword section_argument_name:
:paramtype section_argument_name: str
:keyword examples:
:paramtype examples: list[str]
:keyword enum_values:
:paramtype enum_values: list[str]
:keyword enum_values_to_argument_strings: This is a dictionary.
:paramtype enum_values_to_argument_strings: dict[str, str]
:keyword enabled_by_parameter_name:
:paramtype enabled_by_parameter_name: str
:keyword enabled_by_parameter_values:
:paramtype enabled_by_parameter_values: list[str]
:keyword disabled_by_parameters:
:paramtype disabled_by_parameters: list[str]
:keyword module_run_setting_type: Possible values include: "All", "Released", "Default",
"Testing", "Legacy", "Preview", "UxFull", "Integration", "UxIntegration", "Full".
:paramtype module_run_setting_type: str or ~flow.models.ModuleRunSettingTypes
:keyword linked_parameter_default_value_mapping: Dictionary of :code:`<string>`.
:paramtype linked_parameter_default_value_mapping: dict[str, str]
:keyword linked_parameter_key_name:
:paramtype linked_parameter_key_name: str
:keyword support_link_setting:
:paramtype support_link_setting: bool
"""
super(RunSettingParameter, self).__init__(**kwargs)
self.name = name
self.label = label
self.parameter_type = parameter_type
self.is_optional = is_optional
self.default_value = default_value
self.lower_bound = lower_bound
self.upper_bound = upper_bound
self.description = description
self.run_setting_ui_hint = run_setting_ui_hint
self.argument_name = argument_name
self.section_name = section_name
self.section_description = section_description
self.section_argument_name = section_argument_name
self.examples = examples
self.enum_values = enum_values
self.enum_values_to_argument_strings = enum_values_to_argument_strings
self.enabled_by_parameter_name = enabled_by_parameter_name
self.enabled_by_parameter_values = enabled_by_parameter_values
self.disabled_by_parameters = disabled_by_parameters
self.module_run_setting_type = module_run_setting_type
self.linked_parameter_default_value_mapping = linked_parameter_default_value_mapping
self.linked_parameter_key_name = linked_parameter_key_name
self.support_link_setting = support_link_setting
class RunSettingParameterAssignment(msrest.serialization.Model):
"""RunSettingParameterAssignment.
:ivar use_graph_default_compute:
:vartype use_graph_default_compute: bool
:ivar mlc_compute_type:
:vartype mlc_compute_type: str
:ivar compute_run_settings:
:vartype compute_run_settings: list[~flow.models.RunSettingParameterAssignment]
:ivar linked_parameter_name:
:vartype linked_parameter_name: str
:ivar value_type: Possible values include: "Literal", "GraphParameterName", "Concatenate",
"Input", "DataPath", "DataSetDefinition".
:vartype value_type: str or ~flow.models.ParameterValueType
:ivar assignments_to_concatenate:
:vartype assignments_to_concatenate: list[~flow.models.ParameterAssignment]
:ivar data_path_assignment:
:vartype data_path_assignment: ~flow.models.LegacyDataPath
:ivar data_set_definition_value_assignment:
:vartype data_set_definition_value_assignment: ~flow.models.DataSetDefinitionValue
:ivar name:
:vartype name: str
:ivar value:
:vartype value: str
"""
_attribute_map = {
'use_graph_default_compute': {'key': 'useGraphDefaultCompute', 'type': 'bool'},
'mlc_compute_type': {'key': 'mlcComputeType', 'type': 'str'},
'compute_run_settings': {'key': 'computeRunSettings', 'type': '[RunSettingParameterAssignment]'},
'linked_parameter_name': {'key': 'linkedParameterName', 'type': 'str'},
'value_type': {'key': 'valueType', 'type': 'str'},
'assignments_to_concatenate': {'key': 'assignmentsToConcatenate', 'type': '[ParameterAssignment]'},
'data_path_assignment': {'key': 'dataPathAssignment', 'type': 'LegacyDataPath'},
'data_set_definition_value_assignment': {'key': 'dataSetDefinitionValueAssignment', 'type': 'DataSetDefinitionValue'},
'name': {'key': 'name', 'type': 'str'},
'value': {'key': 'value', 'type': 'str'},
}
def __init__(
self,
*,
use_graph_default_compute: Optional[bool] = None,
mlc_compute_type: Optional[str] = None,
compute_run_settings: Optional[List["RunSettingParameterAssignment"]] = None,
linked_parameter_name: Optional[str] = None,
value_type: Optional[Union[str, "ParameterValueType"]] = None,
assignments_to_concatenate: Optional[List["ParameterAssignment"]] = None,
data_path_assignment: Optional["LegacyDataPath"] = None,
data_set_definition_value_assignment: Optional["DataSetDefinitionValue"] = None,
name: Optional[str] = None,
value: Optional[str] = None,
**kwargs
):
"""
:keyword use_graph_default_compute:
:paramtype use_graph_default_compute: bool
:keyword mlc_compute_type:
:paramtype mlc_compute_type: str
:keyword compute_run_settings:
:paramtype compute_run_settings: list[~flow.models.RunSettingParameterAssignment]
:keyword linked_parameter_name:
:paramtype linked_parameter_name: str
:keyword value_type: Possible values include: "Literal", "GraphParameterName", "Concatenate",
"Input", "DataPath", "DataSetDefinition".
:paramtype value_type: str or ~flow.models.ParameterValueType
:keyword assignments_to_concatenate:
:paramtype assignments_to_concatenate: list[~flow.models.ParameterAssignment]
:keyword data_path_assignment:
:paramtype data_path_assignment: ~flow.models.LegacyDataPath
:keyword data_set_definition_value_assignment:
:paramtype data_set_definition_value_assignment: ~flow.models.DataSetDefinitionValue
:keyword name:
:paramtype name: str
:keyword value:
:paramtype value: str
"""
super(RunSettingParameterAssignment, self).__init__(**kwargs)
self.use_graph_default_compute = use_graph_default_compute
self.mlc_compute_type = mlc_compute_type
self.compute_run_settings = compute_run_settings
self.linked_parameter_name = linked_parameter_name
self.value_type = value_type
self.assignments_to_concatenate = assignments_to_concatenate
self.data_path_assignment = data_path_assignment
self.data_set_definition_value_assignment = data_set_definition_value_assignment
self.name = name
self.value = value
class RunSettingUIParameterHint(msrest.serialization.Model):
"""RunSettingUIParameterHint.
:ivar ui_widget_type: Possible values include: "Default", "ComputeSelection", "JsonEditor",
"Mode", "SearchSpaceParameter", "SectionToggle", "YamlEditor", "EnableRuntimeSweep",
"DataStoreSelection", "Checkbox", "MultipleSelection", "HyperparameterConfiguration",
"JsonTextBox", "Connection", "Static".
:vartype ui_widget_type: str or ~flow.models.RunSettingUIWidgetTypeEnum
:ivar json_editor:
:vartype json_editor: ~flow.models.UIJsonEditor
:ivar yaml_editor:
:vartype yaml_editor: ~flow.models.UIYamlEditor
:ivar compute_selection:
:vartype compute_selection: ~flow.models.UIComputeSelection
:ivar hyperparameter_configuration:
:vartype hyperparameter_configuration: ~flow.models.UIHyperparameterConfiguration
:ivar ux_ignore:
:vartype ux_ignore: bool
:ivar anonymous:
:vartype anonymous: bool
:ivar support_reset:
:vartype support_reset: bool
"""
_attribute_map = {
'ui_widget_type': {'key': 'uiWidgetType', 'type': 'str'},
'json_editor': {'key': 'jsonEditor', 'type': 'UIJsonEditor'},
'yaml_editor': {'key': 'yamlEditor', 'type': 'UIYamlEditor'},
'compute_selection': {'key': 'computeSelection', 'type': 'UIComputeSelection'},
'hyperparameter_configuration': {'key': 'hyperparameterConfiguration', 'type': 'UIHyperparameterConfiguration'},
'ux_ignore': {'key': 'uxIgnore', 'type': 'bool'},
'anonymous': {'key': 'anonymous', 'type': 'bool'},
'support_reset': {'key': 'supportReset', 'type': 'bool'},
}
def __init__(
self,
*,
ui_widget_type: Optional[Union[str, "RunSettingUIWidgetTypeEnum"]] = None,
json_editor: Optional["UIJsonEditor"] = None,
yaml_editor: Optional["UIYamlEditor"] = None,
compute_selection: Optional["UIComputeSelection"] = None,
hyperparameter_configuration: Optional["UIHyperparameterConfiguration"] = None,
ux_ignore: Optional[bool] = None,
anonymous: Optional[bool] = None,
support_reset: Optional[bool] = None,
**kwargs
):
"""
:keyword ui_widget_type: Possible values include: "Default", "ComputeSelection", "JsonEditor",
"Mode", "SearchSpaceParameter", "SectionToggle", "YamlEditor", "EnableRuntimeSweep",
"DataStoreSelection", "Checkbox", "MultipleSelection", "HyperparameterConfiguration",
"JsonTextBox", "Connection", "Static".
:paramtype ui_widget_type: str or ~flow.models.RunSettingUIWidgetTypeEnum
:keyword json_editor:
:paramtype json_editor: ~flow.models.UIJsonEditor
:keyword yaml_editor:
:paramtype yaml_editor: ~flow.models.UIYamlEditor
:keyword compute_selection:
:paramtype compute_selection: ~flow.models.UIComputeSelection
:keyword hyperparameter_configuration:
:paramtype hyperparameter_configuration: ~flow.models.UIHyperparameterConfiguration
:keyword ux_ignore:
:paramtype ux_ignore: bool
:keyword anonymous:
:paramtype anonymous: bool
:keyword support_reset:
:paramtype support_reset: bool
"""
super(RunSettingUIParameterHint, self).__init__(**kwargs)
self.ui_widget_type = ui_widget_type
self.json_editor = json_editor
self.yaml_editor = yaml_editor
self.compute_selection = compute_selection
self.hyperparameter_configuration = hyperparameter_configuration
self.ux_ignore = ux_ignore
self.anonymous = anonymous
self.support_reset = support_reset
class RunStatusPeriod(msrest.serialization.Model):
"""RunStatusPeriod.
:ivar status: Possible values include: "NotStarted", "Unapproved", "Pausing", "Paused",
"Starting", "Preparing", "Queued", "Running", "Finalizing", "CancelRequested", "Completed",
"Failed", "Canceled".
:vartype status: str or ~flow.models.RunStatus
:ivar sub_periods:
:vartype sub_periods: list[~flow.models.SubStatusPeriod]
:ivar start:
:vartype start: long
:ivar end:
:vartype end: long
"""
_attribute_map = {
'status': {'key': 'status', 'type': 'str'},
'sub_periods': {'key': 'subPeriods', 'type': '[SubStatusPeriod]'},
'start': {'key': 'start', 'type': 'long'},
'end': {'key': 'end', 'type': 'long'},
}
def __init__(
self,
*,
status: Optional[Union[str, "RunStatus"]] = None,
sub_periods: Optional[List["SubStatusPeriod"]] = None,
start: Optional[int] = None,
end: Optional[int] = None,
**kwargs
):
"""
:keyword status: Possible values include: "NotStarted", "Unapproved", "Pausing", "Paused",
"Starting", "Preparing", "Queued", "Running", "Finalizing", "CancelRequested", "Completed",
"Failed", "Canceled".
:paramtype status: str or ~flow.models.RunStatus
:keyword sub_periods:
:paramtype sub_periods: list[~flow.models.SubStatusPeriod]
:keyword start:
:paramtype start: long
:keyword end:
:paramtype end: long
"""
super(RunStatusPeriod, self).__init__(**kwargs)
self.status = status
self.sub_periods = sub_periods
self.start = start
self.end = end
class RuntimeConfiguration(msrest.serialization.Model):
"""RuntimeConfiguration.
:ivar base_image:
:vartype base_image: str
:ivar version:
:vartype version: str
"""
_attribute_map = {
'base_image': {'key': 'baseImage', 'type': 'str'},
'version': {'key': 'version', 'type': 'str'},
}
def __init__(
self,
*,
base_image: Optional[str] = None,
version: Optional[str] = None,
**kwargs
):
"""
:keyword base_image:
:paramtype base_image: str
:keyword version:
:paramtype version: str
"""
super(RuntimeConfiguration, self).__init__(**kwargs)
self.base_image = base_image
self.version = version
class RunTypeV2(msrest.serialization.Model):
"""RunTypeV2.
:ivar orchestrator:
:vartype orchestrator: str
:ivar traits:
:vartype traits: list[str]
:ivar attribution:
:vartype attribution: str
:ivar compute_type:
:vartype compute_type: str
"""
_validation = {
'traits': {'unique': True},
}
_attribute_map = {
'orchestrator': {'key': 'orchestrator', 'type': 'str'},
'traits': {'key': 'traits', 'type': '[str]'},
'attribution': {'key': 'attribution', 'type': 'str'},
'compute_type': {'key': 'computeType', 'type': 'str'},
}
def __init__(
self,
*,
orchestrator: Optional[str] = None,
traits: Optional[List[str]] = None,
attribution: Optional[str] = None,
compute_type: Optional[str] = None,
**kwargs
):
"""
:keyword orchestrator:
:paramtype orchestrator: str
:keyword traits:
:paramtype traits: list[str]
:keyword attribution:
:paramtype attribution: str
:keyword compute_type:
:paramtype compute_type: str
"""
super(RunTypeV2, self).__init__(**kwargs)
self.orchestrator = orchestrator
self.traits = traits
self.attribution = attribution
self.compute_type = compute_type
class RunTypeV2Index(msrest.serialization.Model):
"""RunTypeV2Index.
:ivar orchestrator:
:vartype orchestrator: str
:ivar traits: Dictionary of :code:`<string>`.
:vartype traits: dict[str, str]
:ivar attribution:
:vartype attribution: str
:ivar compute_type:
:vartype compute_type: str
"""
_attribute_map = {
'orchestrator': {'key': 'orchestrator', 'type': 'str'},
'traits': {'key': 'traits', 'type': '{str}'},
'attribution': {'key': 'attribution', 'type': 'str'},
'compute_type': {'key': 'computeType', 'type': 'str'},
}
def __init__(
self,
*,
orchestrator: Optional[str] = None,
traits: Optional[Dict[str, str]] = None,
attribution: Optional[str] = None,
compute_type: Optional[str] = None,
**kwargs
):
"""
:keyword orchestrator:
:paramtype orchestrator: str
:keyword traits: Dictionary of :code:`<string>`.
:paramtype traits: dict[str, str]
:keyword attribution:
:paramtype attribution: str
:keyword compute_type:
:paramtype compute_type: str
"""
super(RunTypeV2Index, self).__init__(**kwargs)
self.orchestrator = orchestrator
self.traits = traits
self.attribution = attribution
self.compute_type = compute_type
class SampleMeta(msrest.serialization.Model):
"""SampleMeta.
:ivar image:
:vartype image: str
:ivar id:
:vartype id: str
:ivar display_name:
:vartype display_name: str
:ivar name:
:vartype name: str
:ivar description:
:vartype description: str
:ivar doc_link:
:vartype doc_link: str
:ivar tags: A set of tags.
:vartype tags: list[str]
:ivar created_at:
:vartype created_at: ~datetime.datetime
:ivar updated_at:
:vartype updated_at: ~datetime.datetime
:ivar feed_name:
:vartype feed_name: str
:ivar version:
:vartype version: str
"""
_attribute_map = {
'image': {'key': 'image', 'type': 'str'},
'id': {'key': 'id', 'type': 'str'},
'display_name': {'key': 'displayName', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'doc_link': {'key': 'docLink', 'type': 'str'},
'tags': {'key': 'tags', 'type': '[str]'},
'created_at': {'key': 'createdAt', 'type': 'iso-8601'},
'updated_at': {'key': 'updatedAt', 'type': 'iso-8601'},
'feed_name': {'key': 'feedName', 'type': 'str'},
'version': {'key': 'version', 'type': 'str'},
}
def __init__(
self,
*,
image: Optional[str] = None,
id: Optional[str] = None,
display_name: Optional[str] = None,
name: Optional[str] = None,
description: Optional[str] = None,
doc_link: Optional[str] = None,
tags: Optional[List[str]] = None,
created_at: Optional[datetime.datetime] = None,
updated_at: Optional[datetime.datetime] = None,
feed_name: Optional[str] = None,
version: Optional[str] = None,
**kwargs
):
"""
:keyword image:
:paramtype image: str
:keyword id:
:paramtype id: str
:keyword display_name:
:paramtype display_name: str
:keyword name:
:paramtype name: str
:keyword description:
:paramtype description: str
:keyword doc_link:
:paramtype doc_link: str
:keyword tags: A set of tags.
:paramtype tags: list[str]
:keyword created_at:
:paramtype created_at: ~datetime.datetime
:keyword updated_at:
:paramtype updated_at: ~datetime.datetime
:keyword feed_name:
:paramtype feed_name: str
:keyword version:
:paramtype version: str
"""
super(SampleMeta, self).__init__(**kwargs)
self.image = image
self.id = id
self.display_name = display_name
self.name = name
self.description = description
self.doc_link = doc_link
self.tags = tags
self.created_at = created_at
self.updated_at = updated_at
self.feed_name = feed_name
self.version = version
class SavedDataSetReference(msrest.serialization.Model):
"""SavedDataSetReference.
:ivar id:
:vartype id: str
"""
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
}
def __init__(
self,
*,
id: Optional[str] = None,
**kwargs
):
"""
:keyword id:
:paramtype id: str
"""
super(SavedDataSetReference, self).__init__(**kwargs)
self.id = id
class SavePipelineDraftRequest(msrest.serialization.Model):
"""SavePipelineDraftRequest.
:ivar ui_widget_meta_infos:
:vartype ui_widget_meta_infos: list[~flow.models.UIWidgetMetaInfo]
:ivar web_service_inputs:
:vartype web_service_inputs: list[~flow.models.WebServicePort]
:ivar web_service_outputs:
:vartype web_service_outputs: list[~flow.models.WebServicePort]
:ivar nodes_in_draft:
:vartype nodes_in_draft: list[str]
:ivar name:
:vartype name: str
:ivar pipeline_type: Possible values include: "TrainingPipeline", "RealTimeInferencePipeline",
"BatchInferencePipeline", "Unknown".
:vartype pipeline_type: str or ~flow.models.PipelineType
:ivar pipeline_draft_mode: Possible values include: "None", "Normal", "Custom".
:vartype pipeline_draft_mode: str or ~flow.models.PipelineDraftMode
:ivar graph_components_mode: Possible values include: "Normal", "AllDesignerBuildin",
"ContainsDesignerBuildin".
:vartype graph_components_mode: str or ~flow.models.GraphComponentsMode
:ivar sub_pipelines_info:
:vartype sub_pipelines_info: ~flow.models.SubPipelinesInfo
:ivar flattened_sub_graphs: Dictionary of :code:`<PipelineSubDraft>`.
:vartype flattened_sub_graphs: dict[str, ~flow.models.PipelineSubDraft]
:ivar pipeline_parameters: This is a dictionary.
:vartype pipeline_parameters: dict[str, str]
:ivar data_path_assignments: This is a dictionary.
:vartype data_path_assignments: dict[str, ~flow.models.LegacyDataPath]
:ivar data_set_definition_value_assignments: This is a dictionary.
:vartype data_set_definition_value_assignments: dict[str, ~flow.models.DataSetDefinitionValue]
:ivar asset_output_settings_assignments: This is a dictionary.
:vartype asset_output_settings_assignments: dict[str, ~flow.models.AssetOutputSettings]
:ivar graph:
:vartype graph: ~flow.models.GraphDraftEntity
:ivar pipeline_run_settings:
:vartype pipeline_run_settings: list[~flow.models.RunSettingParameterAssignment]
:ivar module_node_run_settings:
:vartype module_node_run_settings: list[~flow.models.GraphModuleNodeRunSetting]
:ivar module_node_ui_input_settings:
:vartype module_node_ui_input_settings: list[~flow.models.GraphModuleNodeUIInputSetting]
:ivar tags: A set of tags. This is a dictionary.
:vartype tags: dict[str, str]
:ivar continue_run_on_step_failure:
:vartype continue_run_on_step_failure: bool
:ivar description:
:vartype description: str
:ivar properties: This is a dictionary.
:vartype properties: dict[str, str]
:ivar enforce_rerun:
:vartype enforce_rerun: bool
:ivar dataset_access_modes: Possible values include: "Default", "DatasetInDpv2", "AssetInDpv2",
"DatasetInDesignerUI", "DatasetInDpv2WithDatasetInDesignerUI", "Dataset",
"AssetInDpv2WithDatasetInDesignerUI", "DatasetAndAssetInDpv2WithDatasetInDesignerUI",
"AssetInDesignerUI", "AssetInDpv2WithAssetInDesignerUI", "Asset".
:vartype dataset_access_modes: str or ~flow.models.DatasetAccessModes
"""
_attribute_map = {
'ui_widget_meta_infos': {'key': 'uiWidgetMetaInfos', 'type': '[UIWidgetMetaInfo]'},
'web_service_inputs': {'key': 'webServiceInputs', 'type': '[WebServicePort]'},
'web_service_outputs': {'key': 'webServiceOutputs', 'type': '[WebServicePort]'},
'nodes_in_draft': {'key': 'nodesInDraft', 'type': '[str]'},
'name': {'key': 'name', 'type': 'str'},
'pipeline_type': {'key': 'pipelineType', 'type': 'str'},
'pipeline_draft_mode': {'key': 'pipelineDraftMode', 'type': 'str'},
'graph_components_mode': {'key': 'graphComponentsMode', 'type': 'str'},
'sub_pipelines_info': {'key': 'subPipelinesInfo', 'type': 'SubPipelinesInfo'},
'flattened_sub_graphs': {'key': 'flattenedSubGraphs', 'type': '{PipelineSubDraft}'},
'pipeline_parameters': {'key': 'pipelineParameters', 'type': '{str}'},
'data_path_assignments': {'key': 'dataPathAssignments', 'type': '{LegacyDataPath}'},
'data_set_definition_value_assignments': {'key': 'dataSetDefinitionValueAssignments', 'type': '{DataSetDefinitionValue}'},
'asset_output_settings_assignments': {'key': 'assetOutputSettingsAssignments', 'type': '{AssetOutputSettings}'},
'graph': {'key': 'graph', 'type': 'GraphDraftEntity'},
'pipeline_run_settings': {'key': 'pipelineRunSettings', 'type': '[RunSettingParameterAssignment]'},
'module_node_run_settings': {'key': 'moduleNodeRunSettings', 'type': '[GraphModuleNodeRunSetting]'},
'module_node_ui_input_settings': {'key': 'moduleNodeUIInputSettings', 'type': '[GraphModuleNodeUIInputSetting]'},
'tags': {'key': 'tags', 'type': '{str}'},
'continue_run_on_step_failure': {'key': 'continueRunOnStepFailure', 'type': 'bool'},
'description': {'key': 'description', 'type': 'str'},
'properties': {'key': 'properties', 'type': '{str}'},
'enforce_rerun': {'key': 'enforceRerun', 'type': 'bool'},
'dataset_access_modes': {'key': 'datasetAccessModes', 'type': 'str'},
}
def __init__(
self,
*,
ui_widget_meta_infos: Optional[List["UIWidgetMetaInfo"]] = None,
web_service_inputs: Optional[List["WebServicePort"]] = None,
web_service_outputs: Optional[List["WebServicePort"]] = None,
nodes_in_draft: Optional[List[str]] = None,
name: Optional[str] = None,
pipeline_type: Optional[Union[str, "PipelineType"]] = None,
pipeline_draft_mode: Optional[Union[str, "PipelineDraftMode"]] = None,
graph_components_mode: Optional[Union[str, "GraphComponentsMode"]] = None,
sub_pipelines_info: Optional["SubPipelinesInfo"] = None,
flattened_sub_graphs: Optional[Dict[str, "PipelineSubDraft"]] = None,
pipeline_parameters: Optional[Dict[str, str]] = None,
data_path_assignments: Optional[Dict[str, "LegacyDataPath"]] = None,
data_set_definition_value_assignments: Optional[Dict[str, "DataSetDefinitionValue"]] = None,
asset_output_settings_assignments: Optional[Dict[str, "AssetOutputSettings"]] = None,
graph: Optional["GraphDraftEntity"] = None,
pipeline_run_settings: Optional[List["RunSettingParameterAssignment"]] = None,
module_node_run_settings: Optional[List["GraphModuleNodeRunSetting"]] = None,
module_node_ui_input_settings: Optional[List["GraphModuleNodeUIInputSetting"]] = None,
tags: Optional[Dict[str, str]] = None,
continue_run_on_step_failure: Optional[bool] = None,
description: Optional[str] = None,
properties: Optional[Dict[str, str]] = None,
enforce_rerun: Optional[bool] = None,
dataset_access_modes: Optional[Union[str, "DatasetAccessModes"]] = None,
**kwargs
):
"""
:keyword ui_widget_meta_infos:
:paramtype ui_widget_meta_infos: list[~flow.models.UIWidgetMetaInfo]
:keyword web_service_inputs:
:paramtype web_service_inputs: list[~flow.models.WebServicePort]
:keyword web_service_outputs:
:paramtype web_service_outputs: list[~flow.models.WebServicePort]
:keyword nodes_in_draft:
:paramtype nodes_in_draft: list[str]
:keyword name:
:paramtype name: str
:keyword pipeline_type: Possible values include: "TrainingPipeline",
"RealTimeInferencePipeline", "BatchInferencePipeline", "Unknown".
:paramtype pipeline_type: str or ~flow.models.PipelineType
:keyword pipeline_draft_mode: Possible values include: "None", "Normal", "Custom".
:paramtype pipeline_draft_mode: str or ~flow.models.PipelineDraftMode
:keyword graph_components_mode: Possible values include: "Normal", "AllDesignerBuildin",
"ContainsDesignerBuildin".
:paramtype graph_components_mode: str or ~flow.models.GraphComponentsMode
:keyword sub_pipelines_info:
:paramtype sub_pipelines_info: ~flow.models.SubPipelinesInfo
:keyword flattened_sub_graphs: Dictionary of :code:`<PipelineSubDraft>`.
:paramtype flattened_sub_graphs: dict[str, ~flow.models.PipelineSubDraft]
:keyword pipeline_parameters: This is a dictionary.
:paramtype pipeline_parameters: dict[str, str]
:keyword data_path_assignments: This is a dictionary.
:paramtype data_path_assignments: dict[str, ~flow.models.LegacyDataPath]
:keyword data_set_definition_value_assignments: This is a dictionary.
:paramtype data_set_definition_value_assignments: dict[str,
~flow.models.DataSetDefinitionValue]
:keyword asset_output_settings_assignments: This is a dictionary.
:paramtype asset_output_settings_assignments: dict[str, ~flow.models.AssetOutputSettings]
:keyword graph:
:paramtype graph: ~flow.models.GraphDraftEntity
:keyword pipeline_run_settings:
:paramtype pipeline_run_settings: list[~flow.models.RunSettingParameterAssignment]
:keyword module_node_run_settings:
:paramtype module_node_run_settings: list[~flow.models.GraphModuleNodeRunSetting]
:keyword module_node_ui_input_settings:
:paramtype module_node_ui_input_settings: list[~flow.models.GraphModuleNodeUIInputSetting]
:keyword tags: A set of tags. This is a dictionary.
:paramtype tags: dict[str, str]
:keyword continue_run_on_step_failure:
:paramtype continue_run_on_step_failure: bool
:keyword description:
:paramtype description: str
:keyword properties: This is a dictionary.
:paramtype properties: dict[str, str]
:keyword enforce_rerun:
:paramtype enforce_rerun: bool
:keyword dataset_access_modes: Possible values include: "Default", "DatasetInDpv2",
"AssetInDpv2", "DatasetInDesignerUI", "DatasetInDpv2WithDatasetInDesignerUI", "Dataset",
"AssetInDpv2WithDatasetInDesignerUI", "DatasetAndAssetInDpv2WithDatasetInDesignerUI",
"AssetInDesignerUI", "AssetInDpv2WithAssetInDesignerUI", "Asset".
:paramtype dataset_access_modes: str or ~flow.models.DatasetAccessModes
"""
super(SavePipelineDraftRequest, self).__init__(**kwargs)
self.ui_widget_meta_infos = ui_widget_meta_infos
self.web_service_inputs = web_service_inputs
self.web_service_outputs = web_service_outputs
self.nodes_in_draft = nodes_in_draft
self.name = name
self.pipeline_type = pipeline_type
self.pipeline_draft_mode = pipeline_draft_mode
self.graph_components_mode = graph_components_mode
self.sub_pipelines_info = sub_pipelines_info
self.flattened_sub_graphs = flattened_sub_graphs
self.pipeline_parameters = pipeline_parameters
self.data_path_assignments = data_path_assignments
self.data_set_definition_value_assignments = data_set_definition_value_assignments
self.asset_output_settings_assignments = asset_output_settings_assignments
self.graph = graph
self.pipeline_run_settings = pipeline_run_settings
self.module_node_run_settings = module_node_run_settings
self.module_node_ui_input_settings = module_node_ui_input_settings
self.tags = tags
self.continue_run_on_step_failure = continue_run_on_step_failure
self.description = description
self.properties = properties
self.enforce_rerun = enforce_rerun
self.dataset_access_modes = dataset_access_modes
class ScheduleBase(msrest.serialization.Model):
"""ScheduleBase.
:ivar schedule_status: Possible values include: "Enabled", "Disabled".
:vartype schedule_status: str or ~flow.models.MfeInternalScheduleStatus
:ivar schedule_type: Possible values include: "Cron", "Recurrence".
:vartype schedule_type: str or ~flow.models.ScheduleType
:ivar end_time:
:vartype end_time: ~datetime.datetime
:ivar start_time:
:vartype start_time: ~datetime.datetime
:ivar time_zone:
:vartype time_zone: str
:ivar expression:
:vartype expression: str
:ivar frequency: Possible values include: "Minute", "Hour", "Day", "Week", "Month".
:vartype frequency: str or ~flow.models.RecurrenceFrequency
:ivar interval:
:vartype interval: int
:ivar pattern:
:vartype pattern: ~flow.models.RecurrencePattern
"""
_attribute_map = {
'schedule_status': {'key': 'scheduleStatus', 'type': 'str'},
'schedule_type': {'key': 'scheduleType', 'type': 'str'},
'end_time': {'key': 'endTime', 'type': 'iso-8601'},
'start_time': {'key': 'startTime', 'type': 'iso-8601'},
'time_zone': {'key': 'timeZone', 'type': 'str'},
'expression': {'key': 'expression', 'type': 'str'},
'frequency': {'key': 'frequency', 'type': 'str'},
'interval': {'key': 'interval', 'type': 'int'},
'pattern': {'key': 'pattern', 'type': 'RecurrencePattern'},
}
def __init__(
self,
*,
schedule_status: Optional[Union[str, "MfeInternalScheduleStatus"]] = None,
schedule_type: Optional[Union[str, "ScheduleType"]] = None,
end_time: Optional[datetime.datetime] = None,
start_time: Optional[datetime.datetime] = None,
time_zone: Optional[str] = None,
expression: Optional[str] = None,
frequency: Optional[Union[str, "RecurrenceFrequency"]] = None,
interval: Optional[int] = None,
pattern: Optional["RecurrencePattern"] = None,
**kwargs
):
"""
:keyword schedule_status: Possible values include: "Enabled", "Disabled".
:paramtype schedule_status: str or ~flow.models.MfeInternalScheduleStatus
:keyword schedule_type: Possible values include: "Cron", "Recurrence".
:paramtype schedule_type: str or ~flow.models.ScheduleType
:keyword end_time:
:paramtype end_time: ~datetime.datetime
:keyword start_time:
:paramtype start_time: ~datetime.datetime
:keyword time_zone:
:paramtype time_zone: str
:keyword expression:
:paramtype expression: str
:keyword frequency: Possible values include: "Minute", "Hour", "Day", "Week", "Month".
:paramtype frequency: str or ~flow.models.RecurrenceFrequency
:keyword interval:
:paramtype interval: int
:keyword pattern:
:paramtype pattern: ~flow.models.RecurrencePattern
"""
super(ScheduleBase, self).__init__(**kwargs)
self.schedule_status = schedule_status
self.schedule_type = schedule_type
self.end_time = end_time
self.start_time = start_time
self.time_zone = time_zone
self.expression = expression
self.frequency = frequency
self.interval = interval
self.pattern = pattern
class SchemaContractsCreatedBy(msrest.serialization.Model):
"""SchemaContractsCreatedBy.
:ivar user_object_id:
:vartype user_object_id: str
:ivar user_tenant_id:
:vartype user_tenant_id: str
:ivar user_name:
:vartype user_name: str
:ivar user_principal_name:
:vartype user_principal_name: str
"""
_attribute_map = {
'user_object_id': {'key': 'userObjectId', 'type': 'str'},
'user_tenant_id': {'key': 'userTenantId', 'type': 'str'},
'user_name': {'key': 'userName', 'type': 'str'},
'user_principal_name': {'key': 'userPrincipalName', 'type': 'str'},
}
def __init__(
self,
*,
user_object_id: Optional[str] = None,
user_tenant_id: Optional[str] = None,
user_name: Optional[str] = None,
user_principal_name: Optional[str] = None,
**kwargs
):
"""
:keyword user_object_id:
:paramtype user_object_id: str
:keyword user_tenant_id:
:paramtype user_tenant_id: str
:keyword user_name:
:paramtype user_name: str
:keyword user_principal_name:
:paramtype user_principal_name: str
"""
super(SchemaContractsCreatedBy, self).__init__(**kwargs)
self.user_object_id = user_object_id
self.user_tenant_id = user_tenant_id
self.user_name = user_name
self.user_principal_name = user_principal_name
class ScopeCloudConfiguration(msrest.serialization.Model):
"""ScopeCloudConfiguration.
:ivar input_path_suffixes: This is a dictionary.
:vartype input_path_suffixes: dict[str, ~flow.models.ArgumentAssignment]
:ivar output_path_suffixes: This is a dictionary.
:vartype output_path_suffixes: dict[str, ~flow.models.ArgumentAssignment]
:ivar user_alias:
:vartype user_alias: str
:ivar tokens:
:vartype tokens: int
:ivar auto_token:
:vartype auto_token: int
:ivar vcp:
:vartype vcp: float
"""
_attribute_map = {
'input_path_suffixes': {'key': 'inputPathSuffixes', 'type': '{ArgumentAssignment}'},
'output_path_suffixes': {'key': 'outputPathSuffixes', 'type': '{ArgumentAssignment}'},
'user_alias': {'key': 'userAlias', 'type': 'str'},
'tokens': {'key': 'tokens', 'type': 'int'},
'auto_token': {'key': 'autoToken', 'type': 'int'},
'vcp': {'key': 'vcp', 'type': 'float'},
}
def __init__(
self,
*,
input_path_suffixes: Optional[Dict[str, "ArgumentAssignment"]] = None,
output_path_suffixes: Optional[Dict[str, "ArgumentAssignment"]] = None,
user_alias: Optional[str] = None,
tokens: Optional[int] = None,
auto_token: Optional[int] = None,
vcp: Optional[float] = None,
**kwargs
):
"""
:keyword input_path_suffixes: This is a dictionary.
:paramtype input_path_suffixes: dict[str, ~flow.models.ArgumentAssignment]
:keyword output_path_suffixes: This is a dictionary.
:paramtype output_path_suffixes: dict[str, ~flow.models.ArgumentAssignment]
:keyword user_alias:
:paramtype user_alias: str
:keyword tokens:
:paramtype tokens: int
:keyword auto_token:
:paramtype auto_token: int
:keyword vcp:
:paramtype vcp: float
"""
super(ScopeCloudConfiguration, self).__init__(**kwargs)
self.input_path_suffixes = input_path_suffixes
self.output_path_suffixes = output_path_suffixes
self.user_alias = user_alias
self.tokens = tokens
self.auto_token = auto_token
self.vcp = vcp
class Seasonality(msrest.serialization.Model):
"""Seasonality.
:ivar mode: Possible values include: "Auto", "Custom".
:vartype mode: str or ~flow.models.SeasonalityMode
:ivar value:
:vartype value: int
"""
_attribute_map = {
'mode': {'key': 'mode', 'type': 'str'},
'value': {'key': 'value', 'type': 'int'},
}
def __init__(
self,
*,
mode: Optional[Union[str, "SeasonalityMode"]] = None,
value: Optional[int] = None,
**kwargs
):
"""
:keyword mode: Possible values include: "Auto", "Custom".
:paramtype mode: str or ~flow.models.SeasonalityMode
:keyword value:
:paramtype value: int
"""
super(Seasonality, self).__init__(**kwargs)
self.mode = mode
self.value = value
class SecretConfiguration(msrest.serialization.Model):
"""SecretConfiguration.
:ivar workspace_secret_name:
:vartype workspace_secret_name: str
:ivar uri:
:vartype uri: str
"""
_attribute_map = {
'workspace_secret_name': {'key': 'workspace_secret_name', 'type': 'str'},
'uri': {'key': 'uri', 'type': 'str'},
}
def __init__(
self,
*,
workspace_secret_name: Optional[str] = None,
uri: Optional[str] = None,
**kwargs
):
"""
:keyword workspace_secret_name:
:paramtype workspace_secret_name: str
:keyword uri:
:paramtype uri: str
"""
super(SecretConfiguration, self).__init__(**kwargs)
self.workspace_secret_name = workspace_secret_name
self.uri = uri
class SegmentedResult1(msrest.serialization.Model):
"""SegmentedResult1.
:ivar value:
:vartype value: list[~flow.models.FlowIndexEntity]
:ivar continuation_token:
:vartype continuation_token: str
:ivar count:
:vartype count: int
:ivar next_link:
:vartype next_link: str
"""
_attribute_map = {
'value': {'key': 'value', 'type': '[FlowIndexEntity]'},
'continuation_token': {'key': 'continuationToken', 'type': 'str'},
'count': {'key': 'count', 'type': 'int'},
'next_link': {'key': 'nextLink', 'type': 'str'},
}
def __init__(
self,
*,
value: Optional[List["FlowIndexEntity"]] = None,
continuation_token: Optional[str] = None,
count: Optional[int] = None,
next_link: Optional[str] = None,
**kwargs
):
"""
:keyword value:
:paramtype value: list[~flow.models.FlowIndexEntity]
:keyword continuation_token:
:paramtype continuation_token: str
:keyword count:
:paramtype count: int
:keyword next_link:
:paramtype next_link: str
"""
super(SegmentedResult1, self).__init__(**kwargs)
self.value = value
self.continuation_token = continuation_token
self.count = count
self.next_link = next_link
class ServiceLogRequest(msrest.serialization.Model):
"""ServiceLogRequest.
:ivar log_level: Possible values include: "Trace", "Debug", "Information", "Warning", "Error",
"Critical", "None".
:vartype log_level: str or ~flow.models.LogLevel
:ivar message:
:vartype message: str
:ivar timestamp:
:vartype timestamp: ~datetime.datetime
"""
_attribute_map = {
'log_level': {'key': 'logLevel', 'type': 'str'},
'message': {'key': 'message', 'type': 'str'},
'timestamp': {'key': 'timestamp', 'type': 'iso-8601'},
}
def __init__(
self,
*,
log_level: Optional[Union[str, "LogLevel"]] = None,
message: Optional[str] = None,
timestamp: Optional[datetime.datetime] = None,
**kwargs
):
"""
:keyword log_level: Possible values include: "Trace", "Debug", "Information", "Warning",
"Error", "Critical", "None".
:paramtype log_level: str or ~flow.models.LogLevel
:keyword message:
:paramtype message: str
:keyword timestamp:
:paramtype timestamp: ~datetime.datetime
"""
super(ServiceLogRequest, self).__init__(**kwargs)
self.log_level = log_level
self.message = message
self.timestamp = timestamp
class SessionApplication(msrest.serialization.Model):
"""SessionApplication.
:ivar image:
:vartype image: str
:ivar env_vars: Dictionary of :code:`<string>`.
:vartype env_vars: dict[str, str]
:ivar python_pip_requirements:
:vartype python_pip_requirements: list[str]
:ivar setup_results:
:vartype setup_results: list[~flow.models.SessionApplicationRunCommandResult]
"""
_attribute_map = {
'image': {'key': 'image', 'type': 'str'},
'env_vars': {'key': 'envVars', 'type': '{str}'},
'python_pip_requirements': {'key': 'pythonPipRequirements', 'type': '[str]'},
'setup_results': {'key': 'setupResults', 'type': '[SessionApplicationRunCommandResult]'},
}
def __init__(
self,
*,
image: Optional[str] = None,
env_vars: Optional[Dict[str, str]] = None,
python_pip_requirements: Optional[List[str]] = None,
setup_results: Optional[List["SessionApplicationRunCommandResult"]] = None,
**kwargs
):
"""
:keyword image:
:paramtype image: str
:keyword env_vars: Dictionary of :code:`<string>`.
:paramtype env_vars: dict[str, str]
:keyword python_pip_requirements:
:paramtype python_pip_requirements: list[str]
:keyword setup_results:
:paramtype setup_results: list[~flow.models.SessionApplicationRunCommandResult]
"""
super(SessionApplication, self).__init__(**kwargs)
self.image = image
self.env_vars = env_vars
self.python_pip_requirements = python_pip_requirements
self.setup_results = setup_results
class SessionApplicationRunCommandResult(msrest.serialization.Model):
"""SessionApplicationRunCommandResult.
:ivar command:
:vartype command: str
:ivar arguments:
:vartype arguments: list[str]
:ivar exit_code:
:vartype exit_code: int
:ivar std_out:
:vartype std_out: str
:ivar std_err:
:vartype std_err: str
"""
_attribute_map = {
'command': {'key': 'command', 'type': 'str'},
'arguments': {'key': 'arguments', 'type': '[str]'},
'exit_code': {'key': 'exitCode', 'type': 'int'},
'std_out': {'key': 'stdOut', 'type': 'str'},
'std_err': {'key': 'stdErr', 'type': 'str'},
}
def __init__(
self,
*,
command: Optional[str] = None,
arguments: Optional[List[str]] = None,
exit_code: Optional[int] = None,
std_out: Optional[str] = None,
std_err: Optional[str] = None,
**kwargs
):
"""
:keyword command:
:paramtype command: str
:keyword arguments:
:paramtype arguments: list[str]
:keyword exit_code:
:paramtype exit_code: int
:keyword std_out:
:paramtype std_out: str
:keyword std_err:
:paramtype std_err: str
"""
super(SessionApplicationRunCommandResult, self).__init__(**kwargs)
self.command = command
self.arguments = arguments
self.exit_code = exit_code
self.std_out = std_out
self.std_err = std_err
class SessionProperties(msrest.serialization.Model):
"""SessionProperties.
:ivar session_id:
:vartype session_id: str
:ivar subscription_id:
:vartype subscription_id: str
:ivar resource_group_name:
:vartype resource_group_name: str
:ivar workspace_name:
:vartype workspace_name: str
:ivar user_object_id:
:vartype user_object_id: str
:ivar user_tenant_id:
:vartype user_tenant_id: str
:ivar vm_size:
:vartype vm_size: str
:ivar max_idle_time_seconds:
:vartype max_idle_time_seconds: long
:ivar application:
:vartype application: ~flow.models.SessionApplication
:ivar last_alive_time:
:vartype last_alive_time: ~datetime.datetime
"""
_attribute_map = {
'session_id': {'key': 'sessionId', 'type': 'str'},
'subscription_id': {'key': 'subscriptionId', 'type': 'str'},
'resource_group_name': {'key': 'resourceGroupName', 'type': 'str'},
'workspace_name': {'key': 'workspaceName', 'type': 'str'},
'user_object_id': {'key': 'userObjectId', 'type': 'str'},
'user_tenant_id': {'key': 'userTenantId', 'type': 'str'},
'vm_size': {'key': 'vmSize', 'type': 'str'},
'max_idle_time_seconds': {'key': 'maxIdleTimeSeconds', 'type': 'long'},
'application': {'key': 'application', 'type': 'SessionApplication'},
'last_alive_time': {'key': 'lastAliveTime', 'type': 'iso-8601'},
}
def __init__(
self,
*,
session_id: Optional[str] = None,
subscription_id: Optional[str] = None,
resource_group_name: Optional[str] = None,
workspace_name: Optional[str] = None,
user_object_id: Optional[str] = None,
user_tenant_id: Optional[str] = None,
vm_size: Optional[str] = None,
max_idle_time_seconds: Optional[int] = None,
application: Optional["SessionApplication"] = None,
last_alive_time: Optional[datetime.datetime] = None,
**kwargs
):
"""
:keyword session_id:
:paramtype session_id: str
:keyword subscription_id:
:paramtype subscription_id: str
:keyword resource_group_name:
:paramtype resource_group_name: str
:keyword workspace_name:
:paramtype workspace_name: str
:keyword user_object_id:
:paramtype user_object_id: str
:keyword user_tenant_id:
:paramtype user_tenant_id: str
:keyword vm_size:
:paramtype vm_size: str
:keyword max_idle_time_seconds:
:paramtype max_idle_time_seconds: long
:keyword application:
:paramtype application: ~flow.models.SessionApplication
:keyword last_alive_time:
:paramtype last_alive_time: ~datetime.datetime
"""
super(SessionProperties, self).__init__(**kwargs)
self.session_id = session_id
self.subscription_id = subscription_id
self.resource_group_name = resource_group_name
self.workspace_name = workspace_name
self.user_object_id = user_object_id
self.user_tenant_id = user_tenant_id
self.vm_size = vm_size
self.max_idle_time_seconds = max_idle_time_seconds
self.application = application
self.last_alive_time = last_alive_time
class SetupFlowSessionRequest(msrest.serialization.Model):
"""SetupFlowSessionRequest.
:ivar action: Possible values include: "Install", "Reset", "Update", "Delete".
:vartype action: str or ~flow.models.SetupFlowSessionAction
:ivar vm_size:
:vartype vm_size: str
:ivar max_idle_time_seconds:
:vartype max_idle_time_seconds: long
:ivar identity:
:vartype identity: str
"""
_attribute_map = {
'action': {'key': 'action', 'type': 'str'},
'vm_size': {'key': 'vmSize', 'type': 'str'},
'max_idle_time_seconds': {'key': 'maxIdleTimeSeconds', 'type': 'long'},
'identity': {'key': 'identity', 'type': 'str'},
}
def __init__(
self,
*,
action: Optional[Union[str, "SetupFlowSessionAction"]] = None,
vm_size: Optional[str] = None,
max_idle_time_seconds: Optional[int] = None,
identity: Optional[str] = None,
**kwargs
):
"""
:keyword action: Possible values include: "Install", "Reset", "Update", "Delete".
:paramtype action: str or ~flow.models.SetupFlowSessionAction
:keyword vm_size:
:paramtype vm_size: str
:keyword max_idle_time_seconds:
:paramtype max_idle_time_seconds: long
:keyword identity:
:paramtype identity: str
"""
super(SetupFlowSessionRequest, self).__init__(**kwargs)
self.action = action
self.vm_size = vm_size
self.max_idle_time_seconds = max_idle_time_seconds
self.identity = identity
class SharingScope(msrest.serialization.Model):
"""SharingScope.
:ivar type: Possible values include: "Global", "Tenant", "Subscription", "ResourceGroup",
"Workspace".
:vartype type: str or ~flow.models.ScopeType
:ivar identifier:
:vartype identifier: str
"""
_attribute_map = {
'type': {'key': 'type', 'type': 'str'},
'identifier': {'key': 'identifier', 'type': 'str'},
}
def __init__(
self,
*,
type: Optional[Union[str, "ScopeType"]] = None,
identifier: Optional[str] = None,
**kwargs
):
"""
:keyword type: Possible values include: "Global", "Tenant", "Subscription", "ResourceGroup",
"Workspace".
:paramtype type: str or ~flow.models.ScopeType
:keyword identifier:
:paramtype identifier: str
"""
super(SharingScope, self).__init__(**kwargs)
self.type = type
self.identifier = identifier
class Snapshot(msrest.serialization.Model):
"""Snapshot.
:ivar id:
:vartype id: str
:ivar directory_name:
:vartype directory_name: str
:ivar snapshot_asset_id:
:vartype snapshot_asset_id: str
:ivar snapshot_entity_id:
:vartype snapshot_entity_id: str
"""
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'directory_name': {'key': 'directoryName', 'type': 'str'},
'snapshot_asset_id': {'key': 'snapshotAssetId', 'type': 'str'},
'snapshot_entity_id': {'key': 'snapshotEntityId', 'type': 'str'},
}
def __init__(
self,
*,
id: Optional[str] = None,
directory_name: Optional[str] = None,
snapshot_asset_id: Optional[str] = None,
snapshot_entity_id: Optional[str] = None,
**kwargs
):
"""
:keyword id:
:paramtype id: str
:keyword directory_name:
:paramtype directory_name: str
:keyword snapshot_asset_id:
:paramtype snapshot_asset_id: str
:keyword snapshot_entity_id:
:paramtype snapshot_entity_id: str
"""
super(Snapshot, self).__init__(**kwargs)
self.id = id
self.directory_name = directory_name
self.snapshot_asset_id = snapshot_asset_id
self.snapshot_entity_id = snapshot_entity_id
class SnapshotInfo(msrest.serialization.Model):
"""SnapshotInfo.
:ivar root_download_url:
:vartype root_download_url: str
:ivar snapshots: This is a dictionary.
:vartype snapshots: dict[str, ~flow.models.DownloadResourceInfo]
"""
_attribute_map = {
'root_download_url': {'key': 'rootDownloadUrl', 'type': 'str'},
'snapshots': {'key': 'snapshots', 'type': '{DownloadResourceInfo}'},
}
def __init__(
self,
*,
root_download_url: Optional[str] = None,
snapshots: Optional[Dict[str, "DownloadResourceInfo"]] = None,
**kwargs
):
"""
:keyword root_download_url:
:paramtype root_download_url: str
:keyword snapshots: This is a dictionary.
:paramtype snapshots: dict[str, ~flow.models.DownloadResourceInfo]
"""
super(SnapshotInfo, self).__init__(**kwargs)
self.root_download_url = root_download_url
self.snapshots = snapshots
class SourceCodeDataReference(msrest.serialization.Model):
"""SourceCodeDataReference.
:ivar data_store_name:
:vartype data_store_name: str
:ivar path:
:vartype path: str
"""
_attribute_map = {
'data_store_name': {'key': 'dataStoreName', 'type': 'str'},
'path': {'key': 'path', 'type': 'str'},
}
def __init__(
self,
*,
data_store_name: Optional[str] = None,
path: Optional[str] = None,
**kwargs
):
"""
:keyword data_store_name:
:paramtype data_store_name: str
:keyword path:
:paramtype path: str
"""
super(SourceCodeDataReference, self).__init__(**kwargs)
self.data_store_name = data_store_name
self.path = path
class SparkConfiguration(msrest.serialization.Model):
"""SparkConfiguration.
:ivar configuration: Dictionary of :code:`<string>`.
:vartype configuration: dict[str, str]
:ivar files:
:vartype files: list[str]
:ivar archives:
:vartype archives: list[str]
:ivar jars:
:vartype jars: list[str]
:ivar py_files:
:vartype py_files: list[str]
:ivar spark_pool_resource_id:
:vartype spark_pool_resource_id: str
"""
_attribute_map = {
'configuration': {'key': 'configuration', 'type': '{str}'},
'files': {'key': 'files', 'type': '[str]'},
'archives': {'key': 'archives', 'type': '[str]'},
'jars': {'key': 'jars', 'type': '[str]'},
'py_files': {'key': 'pyFiles', 'type': '[str]'},
'spark_pool_resource_id': {'key': 'sparkPoolResourceId', 'type': 'str'},
}
def __init__(
self,
*,
configuration: Optional[Dict[str, str]] = None,
files: Optional[List[str]] = None,
archives: Optional[List[str]] = None,
jars: Optional[List[str]] = None,
py_files: Optional[List[str]] = None,
spark_pool_resource_id: Optional[str] = None,
**kwargs
):
"""
:keyword configuration: Dictionary of :code:`<string>`.
:paramtype configuration: dict[str, str]
:keyword files:
:paramtype files: list[str]
:keyword archives:
:paramtype archives: list[str]
:keyword jars:
:paramtype jars: list[str]
:keyword py_files:
:paramtype py_files: list[str]
:keyword spark_pool_resource_id:
:paramtype spark_pool_resource_id: str
"""
super(SparkConfiguration, self).__init__(**kwargs)
self.configuration = configuration
self.files = files
self.archives = archives
self.jars = jars
self.py_files = py_files
self.spark_pool_resource_id = spark_pool_resource_id
class SparkJarTaskDto(msrest.serialization.Model):
"""SparkJarTaskDto.
:ivar main_class_name:
:vartype main_class_name: str
:ivar parameters:
:vartype parameters: list[str]
"""
_attribute_map = {
'main_class_name': {'key': 'main_class_name', 'type': 'str'},
'parameters': {'key': 'parameters', 'type': '[str]'},
}
def __init__(
self,
*,
main_class_name: Optional[str] = None,
parameters: Optional[List[str]] = None,
**kwargs
):
"""
:keyword main_class_name:
:paramtype main_class_name: str
:keyword parameters:
:paramtype parameters: list[str]
"""
super(SparkJarTaskDto, self).__init__(**kwargs)
self.main_class_name = main_class_name
self.parameters = parameters
class SparkJob(msrest.serialization.Model):
"""SparkJob.
:ivar job_type: Possible values include: "Command", "Sweep", "Labeling", "Pipeline", "Data",
"AutoML", "Spark", "Base".
:vartype job_type: str or ~flow.models.JobType
:ivar resources:
:vartype resources: ~flow.models.SparkResourceConfiguration
:ivar args:
:vartype args: str
:ivar code_id:
:vartype code_id: str
:ivar entry:
:vartype entry: ~flow.models.SparkJobEntry
:ivar py_files:
:vartype py_files: list[str]
:ivar jars:
:vartype jars: list[str]
:ivar files:
:vartype files: list[str]
:ivar archives:
:vartype archives: list[str]
:ivar environment_id:
:vartype environment_id: str
:ivar input_data_bindings: Dictionary of :code:`<InputDataBinding>`.
:vartype input_data_bindings: dict[str, ~flow.models.InputDataBinding]
:ivar output_data_bindings: Dictionary of :code:`<OutputDataBinding>`.
:vartype output_data_bindings: dict[str, ~flow.models.OutputDataBinding]
:ivar conf: Dictionary of :code:`<string>`.
:vartype conf: dict[str, str]
:ivar environment_variables: Dictionary of :code:`<string>`.
:vartype environment_variables: dict[str, str]
:ivar provisioning_state: Possible values include: "Succeeded", "Failed", "Canceled",
"InProgress".
:vartype provisioning_state: str or ~flow.models.JobProvisioningState
:ivar parent_job_name:
:vartype parent_job_name: str
:ivar display_name:
:vartype display_name: str
:ivar experiment_name:
:vartype experiment_name: str
:ivar status: Possible values include: "NotStarted", "Starting", "Provisioning", "Preparing",
"Queued", "Running", "Finalizing", "CancelRequested", "Completed", "Failed", "Canceled",
"NotResponding", "Paused", "Unknown", "Scheduled".
:vartype status: str or ~flow.models.JobStatus
:ivar interaction_endpoints: Dictionary of :code:`<JobEndpoint>`.
:vartype interaction_endpoints: dict[str, ~flow.models.JobEndpoint]
:ivar identity:
:vartype identity: ~flow.models.MfeInternalIdentityConfiguration
:ivar compute:
:vartype compute: ~flow.models.ComputeConfiguration
:ivar priority:
:vartype priority: int
:ivar output:
:vartype output: ~flow.models.JobOutputArtifacts
:ivar is_archived:
:vartype is_archived: bool
:ivar schedule:
:vartype schedule: ~flow.models.ScheduleBase
:ivar component_id:
:vartype component_id: str
:ivar notification_setting:
:vartype notification_setting: ~flow.models.NotificationSetting
:ivar secrets_configuration: Dictionary of :code:`<MfeInternalSecretConfiguration>`.
:vartype secrets_configuration: dict[str, ~flow.models.MfeInternalSecretConfiguration]
:ivar description:
:vartype description: str
:ivar tags: A set of tags. This is a dictionary.
:vartype tags: dict[str, str]
:ivar properties: This is a dictionary.
:vartype properties: dict[str, str]
"""
_attribute_map = {
'job_type': {'key': 'jobType', 'type': 'str'},
'resources': {'key': 'resources', 'type': 'SparkResourceConfiguration'},
'args': {'key': 'args', 'type': 'str'},
'code_id': {'key': 'codeId', 'type': 'str'},
'entry': {'key': 'entry', 'type': 'SparkJobEntry'},
'py_files': {'key': 'pyFiles', 'type': '[str]'},
'jars': {'key': 'jars', 'type': '[str]'},
'files': {'key': 'files', 'type': '[str]'},
'archives': {'key': 'archives', 'type': '[str]'},
'environment_id': {'key': 'environmentId', 'type': 'str'},
'input_data_bindings': {'key': 'inputDataBindings', 'type': '{InputDataBinding}'},
'output_data_bindings': {'key': 'outputDataBindings', 'type': '{OutputDataBinding}'},
'conf': {'key': 'conf', 'type': '{str}'},
'environment_variables': {'key': 'environmentVariables', 'type': '{str}'},
'provisioning_state': {'key': 'provisioningState', 'type': 'str'},
'parent_job_name': {'key': 'parentJobName', 'type': 'str'},
'display_name': {'key': 'displayName', 'type': 'str'},
'experiment_name': {'key': 'experimentName', 'type': 'str'},
'status': {'key': 'status', 'type': 'str'},
'interaction_endpoints': {'key': 'interactionEndpoints', 'type': '{JobEndpoint}'},
'identity': {'key': 'identity', 'type': 'MfeInternalIdentityConfiguration'},
'compute': {'key': 'compute', 'type': 'ComputeConfiguration'},
'priority': {'key': 'priority', 'type': 'int'},
'output': {'key': 'output', 'type': 'JobOutputArtifacts'},
'is_archived': {'key': 'isArchived', 'type': 'bool'},
'schedule': {'key': 'schedule', 'type': 'ScheduleBase'},
'component_id': {'key': 'componentId', 'type': 'str'},
'notification_setting': {'key': 'notificationSetting', 'type': 'NotificationSetting'},
'secrets_configuration': {'key': 'secretsConfiguration', 'type': '{MfeInternalSecretConfiguration}'},
'description': {'key': 'description', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'properties': {'key': 'properties', 'type': '{str}'},
}
def __init__(
self,
*,
job_type: Optional[Union[str, "JobType"]] = None,
resources: Optional["SparkResourceConfiguration"] = None,
args: Optional[str] = None,
code_id: Optional[str] = None,
entry: Optional["SparkJobEntry"] = None,
py_files: Optional[List[str]] = None,
jars: Optional[List[str]] = None,
files: Optional[List[str]] = None,
archives: Optional[List[str]] = None,
environment_id: Optional[str] = None,
input_data_bindings: Optional[Dict[str, "InputDataBinding"]] = None,
output_data_bindings: Optional[Dict[str, "OutputDataBinding"]] = None,
conf: Optional[Dict[str, str]] = None,
environment_variables: Optional[Dict[str, str]] = None,
provisioning_state: Optional[Union[str, "JobProvisioningState"]] = None,
parent_job_name: Optional[str] = None,
display_name: Optional[str] = None,
experiment_name: Optional[str] = None,
status: Optional[Union[str, "JobStatus"]] = None,
interaction_endpoints: Optional[Dict[str, "JobEndpoint"]] = None,
identity: Optional["MfeInternalIdentityConfiguration"] = None,
compute: Optional["ComputeConfiguration"] = None,
priority: Optional[int] = None,
output: Optional["JobOutputArtifacts"] = None,
is_archived: Optional[bool] = None,
schedule: Optional["ScheduleBase"] = None,
component_id: Optional[str] = None,
notification_setting: Optional["NotificationSetting"] = None,
secrets_configuration: Optional[Dict[str, "MfeInternalSecretConfiguration"]] = None,
description: Optional[str] = None,
tags: Optional[Dict[str, str]] = None,
properties: Optional[Dict[str, str]] = None,
**kwargs
):
"""
:keyword job_type: Possible values include: "Command", "Sweep", "Labeling", "Pipeline", "Data",
"AutoML", "Spark", "Base".
:paramtype job_type: str or ~flow.models.JobType
:keyword resources:
:paramtype resources: ~flow.models.SparkResourceConfiguration
:keyword args:
:paramtype args: str
:keyword code_id:
:paramtype code_id: str
:keyword entry:
:paramtype entry: ~flow.models.SparkJobEntry
:keyword py_files:
:paramtype py_files: list[str]
:keyword jars:
:paramtype jars: list[str]
:keyword files:
:paramtype files: list[str]
:keyword archives:
:paramtype archives: list[str]
:keyword environment_id:
:paramtype environment_id: str
:keyword input_data_bindings: Dictionary of :code:`<InputDataBinding>`.
:paramtype input_data_bindings: dict[str, ~flow.models.InputDataBinding]
:keyword output_data_bindings: Dictionary of :code:`<OutputDataBinding>`.
:paramtype output_data_bindings: dict[str, ~flow.models.OutputDataBinding]
:keyword conf: Dictionary of :code:`<string>`.
:paramtype conf: dict[str, str]
:keyword environment_variables: Dictionary of :code:`<string>`.
:paramtype environment_variables: dict[str, str]
:keyword provisioning_state: Possible values include: "Succeeded", "Failed", "Canceled",
"InProgress".
:paramtype provisioning_state: str or ~flow.models.JobProvisioningState
:keyword parent_job_name:
:paramtype parent_job_name: str
:keyword display_name:
:paramtype display_name: str
:keyword experiment_name:
:paramtype experiment_name: str
:keyword status: Possible values include: "NotStarted", "Starting", "Provisioning",
"Preparing", "Queued", "Running", "Finalizing", "CancelRequested", "Completed", "Failed",
"Canceled", "NotResponding", "Paused", "Unknown", "Scheduled".
:paramtype status: str or ~flow.models.JobStatus
:keyword interaction_endpoints: Dictionary of :code:`<JobEndpoint>`.
:paramtype interaction_endpoints: dict[str, ~flow.models.JobEndpoint]
:keyword identity:
:paramtype identity: ~flow.models.MfeInternalIdentityConfiguration
:keyword compute:
:paramtype compute: ~flow.models.ComputeConfiguration
:keyword priority:
:paramtype priority: int
:keyword output:
:paramtype output: ~flow.models.JobOutputArtifacts
:keyword is_archived:
:paramtype is_archived: bool
:keyword schedule:
:paramtype schedule: ~flow.models.ScheduleBase
:keyword component_id:
:paramtype component_id: str
:keyword notification_setting:
:paramtype notification_setting: ~flow.models.NotificationSetting
:keyword secrets_configuration: Dictionary of :code:`<MfeInternalSecretConfiguration>`.
:paramtype secrets_configuration: dict[str, ~flow.models.MfeInternalSecretConfiguration]
:keyword description:
:paramtype description: str
:keyword tags: A set of tags. This is a dictionary.
:paramtype tags: dict[str, str]
:keyword properties: This is a dictionary.
:paramtype properties: dict[str, str]
"""
super(SparkJob, self).__init__(**kwargs)
self.job_type = job_type
self.resources = resources
self.args = args
self.code_id = code_id
self.entry = entry
self.py_files = py_files
self.jars = jars
self.files = files
self.archives = archives
self.environment_id = environment_id
self.input_data_bindings = input_data_bindings
self.output_data_bindings = output_data_bindings
self.conf = conf
self.environment_variables = environment_variables
self.provisioning_state = provisioning_state
self.parent_job_name = parent_job_name
self.display_name = display_name
self.experiment_name = experiment_name
self.status = status
self.interaction_endpoints = interaction_endpoints
self.identity = identity
self.compute = compute
self.priority = priority
self.output = output
self.is_archived = is_archived
self.schedule = schedule
self.component_id = component_id
self.notification_setting = notification_setting
self.secrets_configuration = secrets_configuration
self.description = description
self.tags = tags
self.properties = properties
class SparkJobEntry(msrest.serialization.Model):
"""SparkJobEntry.
:ivar file:
:vartype file: str
:ivar class_name:
:vartype class_name: str
"""
_attribute_map = {
'file': {'key': 'file', 'type': 'str'},
'class_name': {'key': 'className', 'type': 'str'},
}
def __init__(
self,
*,
file: Optional[str] = None,
class_name: Optional[str] = None,
**kwargs
):
"""
:keyword file:
:paramtype file: str
:keyword class_name:
:paramtype class_name: str
"""
super(SparkJobEntry, self).__init__(**kwargs)
self.file = file
self.class_name = class_name
class SparkMavenPackage(msrest.serialization.Model):
"""SparkMavenPackage.
:ivar group:
:vartype group: str
:ivar artifact:
:vartype artifact: str
:ivar version:
:vartype version: str
"""
_attribute_map = {
'group': {'key': 'group', 'type': 'str'},
'artifact': {'key': 'artifact', 'type': 'str'},
'version': {'key': 'version', 'type': 'str'},
}
def __init__(
self,
*,
group: Optional[str] = None,
artifact: Optional[str] = None,
version: Optional[str] = None,
**kwargs
):
"""
:keyword group:
:paramtype group: str
:keyword artifact:
:paramtype artifact: str
:keyword version:
:paramtype version: str
"""
super(SparkMavenPackage, self).__init__(**kwargs)
self.group = group
self.artifact = artifact
self.version = version
class SparkPythonTaskDto(msrest.serialization.Model):
"""SparkPythonTaskDto.
:ivar python_file:
:vartype python_file: str
:ivar parameters:
:vartype parameters: list[str]
"""
_attribute_map = {
'python_file': {'key': 'python_file', 'type': 'str'},
'parameters': {'key': 'parameters', 'type': '[str]'},
}
def __init__(
self,
*,
python_file: Optional[str] = None,
parameters: Optional[List[str]] = None,
**kwargs
):
"""
:keyword python_file:
:paramtype python_file: str
:keyword parameters:
:paramtype parameters: list[str]
"""
super(SparkPythonTaskDto, self).__init__(**kwargs)
self.python_file = python_file
self.parameters = parameters
class SparkResourceConfiguration(msrest.serialization.Model):
"""SparkResourceConfiguration.
:ivar instance_type:
:vartype instance_type: str
:ivar runtime_version:
:vartype runtime_version: str
"""
_attribute_map = {
'instance_type': {'key': 'instanceType', 'type': 'str'},
'runtime_version': {'key': 'runtimeVersion', 'type': 'str'},
}
def __init__(
self,
*,
instance_type: Optional[str] = None,
runtime_version: Optional[str] = None,
**kwargs
):
"""
:keyword instance_type:
:paramtype instance_type: str
:keyword runtime_version:
:paramtype runtime_version: str
"""
super(SparkResourceConfiguration, self).__init__(**kwargs)
self.instance_type = instance_type
self.runtime_version = runtime_version
class SparkSection(msrest.serialization.Model):
"""SparkSection.
:ivar repositories:
:vartype repositories: list[str]
:ivar packages:
:vartype packages: list[~flow.models.SparkMavenPackage]
:ivar precache_packages:
:vartype precache_packages: bool
"""
_attribute_map = {
'repositories': {'key': 'repositories', 'type': '[str]'},
'packages': {'key': 'packages', 'type': '[SparkMavenPackage]'},
'precache_packages': {'key': 'precachePackages', 'type': 'bool'},
}
def __init__(
self,
*,
repositories: Optional[List[str]] = None,
packages: Optional[List["SparkMavenPackage"]] = None,
precache_packages: Optional[bool] = None,
**kwargs
):
"""
:keyword repositories:
:paramtype repositories: list[str]
:keyword packages:
:paramtype packages: list[~flow.models.SparkMavenPackage]
:keyword precache_packages:
:paramtype precache_packages: bool
"""
super(SparkSection, self).__init__(**kwargs)
self.repositories = repositories
self.packages = packages
self.precache_packages = precache_packages
class SparkSubmitTaskDto(msrest.serialization.Model):
"""SparkSubmitTaskDto.
:ivar parameters:
:vartype parameters: list[str]
"""
_attribute_map = {
'parameters': {'key': 'parameters', 'type': '[str]'},
}
def __init__(
self,
*,
parameters: Optional[List[str]] = None,
**kwargs
):
"""
:keyword parameters:
:paramtype parameters: list[str]
"""
super(SparkSubmitTaskDto, self).__init__(**kwargs)
self.parameters = parameters
class SqlDataPath(msrest.serialization.Model):
"""SqlDataPath.
:ivar sql_table_name:
:vartype sql_table_name: str
:ivar sql_query:
:vartype sql_query: str
:ivar sql_stored_procedure_name:
:vartype sql_stored_procedure_name: str
:ivar sql_stored_procedure_params:
:vartype sql_stored_procedure_params: list[~flow.models.StoredProcedureParameter]
"""
_attribute_map = {
'sql_table_name': {'key': 'sqlTableName', 'type': 'str'},
'sql_query': {'key': 'sqlQuery', 'type': 'str'},
'sql_stored_procedure_name': {'key': 'sqlStoredProcedureName', 'type': 'str'},
'sql_stored_procedure_params': {'key': 'sqlStoredProcedureParams', 'type': '[StoredProcedureParameter]'},
}
def __init__(
self,
*,
sql_table_name: Optional[str] = None,
sql_query: Optional[str] = None,
sql_stored_procedure_name: Optional[str] = None,
sql_stored_procedure_params: Optional[List["StoredProcedureParameter"]] = None,
**kwargs
):
"""
:keyword sql_table_name:
:paramtype sql_table_name: str
:keyword sql_query:
:paramtype sql_query: str
:keyword sql_stored_procedure_name:
:paramtype sql_stored_procedure_name: str
:keyword sql_stored_procedure_params:
:paramtype sql_stored_procedure_params: list[~flow.models.StoredProcedureParameter]
"""
super(SqlDataPath, self).__init__(**kwargs)
self.sql_table_name = sql_table_name
self.sql_query = sql_query
self.sql_stored_procedure_name = sql_stored_procedure_name
self.sql_stored_procedure_params = sql_stored_procedure_params
class StackEnsembleSettings(msrest.serialization.Model):
"""StackEnsembleSettings.
:ivar stack_meta_learner_type: Possible values include: "None", "LogisticRegression",
"LogisticRegressionCV", "LightGBMClassifier", "ElasticNet", "ElasticNetCV",
"LightGBMRegressor", "LinearRegression".
:vartype stack_meta_learner_type: str or ~flow.models.StackMetaLearnerType
:ivar stack_meta_learner_train_percentage:
:vartype stack_meta_learner_train_percentage: float
:ivar stack_meta_learner_k_wargs: Anything.
:vartype stack_meta_learner_k_wargs: any
"""
_attribute_map = {
'stack_meta_learner_type': {'key': 'stackMetaLearnerType', 'type': 'str'},
'stack_meta_learner_train_percentage': {'key': 'stackMetaLearnerTrainPercentage', 'type': 'float'},
'stack_meta_learner_k_wargs': {'key': 'stackMetaLearnerKWargs', 'type': 'object'},
}
def __init__(
self,
*,
stack_meta_learner_type: Optional[Union[str, "StackMetaLearnerType"]] = None,
stack_meta_learner_train_percentage: Optional[float] = None,
stack_meta_learner_k_wargs: Optional[Any] = None,
**kwargs
):
"""
:keyword stack_meta_learner_type: Possible values include: "None", "LogisticRegression",
"LogisticRegressionCV", "LightGBMClassifier", "ElasticNet", "ElasticNetCV",
"LightGBMRegressor", "LinearRegression".
:paramtype stack_meta_learner_type: str or ~flow.models.StackMetaLearnerType
:keyword stack_meta_learner_train_percentage:
:paramtype stack_meta_learner_train_percentage: float
:keyword stack_meta_learner_k_wargs: Anything.
:paramtype stack_meta_learner_k_wargs: any
"""
super(StackEnsembleSettings, self).__init__(**kwargs)
self.stack_meta_learner_type = stack_meta_learner_type
self.stack_meta_learner_train_percentage = stack_meta_learner_train_percentage
self.stack_meta_learner_k_wargs = stack_meta_learner_k_wargs
class StandbyPoolProperties(msrest.serialization.Model):
"""StandbyPoolProperties.
:ivar name:
:vartype name: str
:ivar count:
:vartype count: int
:ivar vm_size:
:vartype vm_size: str
:ivar standby_available_instances:
:vartype standby_available_instances: list[~flow.models.StandbyPoolResourceStatus]
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'count': {'key': 'count', 'type': 'int'},
'vm_size': {'key': 'vmSize', 'type': 'str'},
'standby_available_instances': {'key': 'standbyAvailableInstances', 'type': '[StandbyPoolResourceStatus]'},
}
def __init__(
self,
*,
name: Optional[str] = None,
count: Optional[int] = None,
vm_size: Optional[str] = None,
standby_available_instances: Optional[List["StandbyPoolResourceStatus"]] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword count:
:paramtype count: int
:keyword vm_size:
:paramtype vm_size: str
:keyword standby_available_instances:
:paramtype standby_available_instances: list[~flow.models.StandbyPoolResourceStatus]
"""
super(StandbyPoolProperties, self).__init__(**kwargs)
self.name = name
self.count = count
self.vm_size = vm_size
self.standby_available_instances = standby_available_instances
class StandbyPoolResourceStatus(msrest.serialization.Model):
"""StandbyPoolResourceStatus.
:ivar status:
:vartype status: str
:ivar error:
:vartype error: ~flow.models.CloudError
"""
_attribute_map = {
'status': {'key': 'status', 'type': 'str'},
'error': {'key': 'error', 'type': 'CloudError'},
}
def __init__(
self,
*,
status: Optional[str] = None,
error: Optional["CloudError"] = None,
**kwargs
):
"""
:keyword status:
:paramtype status: str
:keyword error:
:paramtype error: ~flow.models.CloudError
"""
super(StandbyPoolResourceStatus, self).__init__(**kwargs)
self.status = status
self.error = error
class StartRunResult(msrest.serialization.Model):
"""StartRunResult.
All required parameters must be populated in order to send to Azure.
:ivar run_id: Required.
:vartype run_id: str
"""
_validation = {
'run_id': {'required': True, 'min_length': 1},
}
_attribute_map = {
'run_id': {'key': 'runId', 'type': 'str'},
}
def __init__(
self,
*,
run_id: str,
**kwargs
):
"""
:keyword run_id: Required.
:paramtype run_id: str
"""
super(StartRunResult, self).__init__(**kwargs)
self.run_id = run_id
class StepRunProfile(msrest.serialization.Model):
"""StepRunProfile.
:ivar step_run_id:
:vartype step_run_id: str
:ivar step_run_number:
:vartype step_run_number: int
:ivar run_url:
:vartype run_url: str
:ivar compute_target:
:vartype compute_target: str
:ivar compute_target_url:
:vartype compute_target_url: str
:ivar node_id:
:vartype node_id: str
:ivar node_name:
:vartype node_name: str
:ivar step_name:
:vartype step_name: str
:ivar create_time:
:vartype create_time: long
:ivar start_time:
:vartype start_time: long
:ivar end_time:
:vartype end_time: long
:ivar status: Possible values include: "NotStarted", "Unapproved", "Pausing", "Paused",
"Starting", "Preparing", "Queued", "Running", "Finalizing", "CancelRequested", "Completed",
"Failed", "Canceled".
:vartype status: str or ~flow.models.RunStatus
:ivar status_detail:
:vartype status_detail: str
:ivar is_reused:
:vartype is_reused: bool
:ivar reused_pipeline_run_id:
:vartype reused_pipeline_run_id: str
:ivar reused_step_run_id:
:vartype reused_step_run_id: str
:ivar tags: A set of tags. Dictionary of :code:`<string>`.
:vartype tags: dict[str, str]
:ivar status_timeline:
:vartype status_timeline: list[~flow.models.RunStatusPeriod]
"""
_attribute_map = {
'step_run_id': {'key': 'stepRunId', 'type': 'str'},
'step_run_number': {'key': 'stepRunNumber', 'type': 'int'},
'run_url': {'key': 'runUrl', 'type': 'str'},
'compute_target': {'key': 'computeTarget', 'type': 'str'},
'compute_target_url': {'key': 'computeTargetUrl', 'type': 'str'},
'node_id': {'key': 'nodeId', 'type': 'str'},
'node_name': {'key': 'nodeName', 'type': 'str'},
'step_name': {'key': 'stepName', 'type': 'str'},
'create_time': {'key': 'createTime', 'type': 'long'},
'start_time': {'key': 'startTime', 'type': 'long'},
'end_time': {'key': 'endTime', 'type': 'long'},
'status': {'key': 'status', 'type': 'str'},
'status_detail': {'key': 'statusDetail', 'type': 'str'},
'is_reused': {'key': 'isReused', 'type': 'bool'},
'reused_pipeline_run_id': {'key': 'reusedPipelineRunId', 'type': 'str'},
'reused_step_run_id': {'key': 'reusedStepRunId', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'status_timeline': {'key': 'statusTimeline', 'type': '[RunStatusPeriod]'},
}
def __init__(
self,
*,
step_run_id: Optional[str] = None,
step_run_number: Optional[int] = None,
run_url: Optional[str] = None,
compute_target: Optional[str] = None,
compute_target_url: Optional[str] = None,
node_id: Optional[str] = None,
node_name: Optional[str] = None,
step_name: Optional[str] = None,
create_time: Optional[int] = None,
start_time: Optional[int] = None,
end_time: Optional[int] = None,
status: Optional[Union[str, "RunStatus"]] = None,
status_detail: Optional[str] = None,
is_reused: Optional[bool] = None,
reused_pipeline_run_id: Optional[str] = None,
reused_step_run_id: Optional[str] = None,
tags: Optional[Dict[str, str]] = None,
status_timeline: Optional[List["RunStatusPeriod"]] = None,
**kwargs
):
"""
:keyword step_run_id:
:paramtype step_run_id: str
:keyword step_run_number:
:paramtype step_run_number: int
:keyword run_url:
:paramtype run_url: str
:keyword compute_target:
:paramtype compute_target: str
:keyword compute_target_url:
:paramtype compute_target_url: str
:keyword node_id:
:paramtype node_id: str
:keyword node_name:
:paramtype node_name: str
:keyword step_name:
:paramtype step_name: str
:keyword create_time:
:paramtype create_time: long
:keyword start_time:
:paramtype start_time: long
:keyword end_time:
:paramtype end_time: long
:keyword status: Possible values include: "NotStarted", "Unapproved", "Pausing", "Paused",
"Starting", "Preparing", "Queued", "Running", "Finalizing", "CancelRequested", "Completed",
"Failed", "Canceled".
:paramtype status: str or ~flow.models.RunStatus
:keyword status_detail:
:paramtype status_detail: str
:keyword is_reused:
:paramtype is_reused: bool
:keyword reused_pipeline_run_id:
:paramtype reused_pipeline_run_id: str
:keyword reused_step_run_id:
:paramtype reused_step_run_id: str
:keyword tags: A set of tags. Dictionary of :code:`<string>`.
:paramtype tags: dict[str, str]
:keyword status_timeline:
:paramtype status_timeline: list[~flow.models.RunStatusPeriod]
"""
super(StepRunProfile, self).__init__(**kwargs)
self.step_run_id = step_run_id
self.step_run_number = step_run_number
self.run_url = run_url
self.compute_target = compute_target
self.compute_target_url = compute_target_url
self.node_id = node_id
self.node_name = node_name
self.step_name = step_name
self.create_time = create_time
self.start_time = start_time
self.end_time = end_time
self.status = status
self.status_detail = status_detail
self.is_reused = is_reused
self.reused_pipeline_run_id = reused_pipeline_run_id
self.reused_step_run_id = reused_step_run_id
self.tags = tags
self.status_timeline = status_timeline
class StorageInfo(msrest.serialization.Model):
"""StorageInfo.
:ivar storage_auth_type: Possible values include: "MSI", "ConnectionString", "SAS".
:vartype storage_auth_type: str or ~flow.models.StorageAuthType
:ivar connection_string:
:vartype connection_string: str
:ivar sas_token:
:vartype sas_token: str
:ivar account_name:
:vartype account_name: str
"""
_attribute_map = {
'storage_auth_type': {'key': 'storageAuthType', 'type': 'str'},
'connection_string': {'key': 'connectionString', 'type': 'str'},
'sas_token': {'key': 'sasToken', 'type': 'str'},
'account_name': {'key': 'accountName', 'type': 'str'},
}
def __init__(
self,
*,
storage_auth_type: Optional[Union[str, "StorageAuthType"]] = None,
connection_string: Optional[str] = None,
sas_token: Optional[str] = None,
account_name: Optional[str] = None,
**kwargs
):
"""
:keyword storage_auth_type: Possible values include: "MSI", "ConnectionString", "SAS".
:paramtype storage_auth_type: str or ~flow.models.StorageAuthType
:keyword connection_string:
:paramtype connection_string: str
:keyword sas_token:
:paramtype sas_token: str
:keyword account_name:
:paramtype account_name: str
"""
super(StorageInfo, self).__init__(**kwargs)
self.storage_auth_type = storage_auth_type
self.connection_string = connection_string
self.sas_token = sas_token
self.account_name = account_name
class StoredProcedureParameter(msrest.serialization.Model):
"""StoredProcedureParameter.
:ivar name:
:vartype name: str
:ivar value:
:vartype value: str
:ivar type: Possible values include: "String", "Int", "Decimal", "Guid", "Boolean", "Date".
:vartype type: str or ~flow.models.StoredProcedureParameterType
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'value': {'key': 'value', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
}
def __init__(
self,
*,
name: Optional[str] = None,
value: Optional[str] = None,
type: Optional[Union[str, "StoredProcedureParameterType"]] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword value:
:paramtype value: str
:keyword type: Possible values include: "String", "Int", "Decimal", "Guid", "Boolean", "Date".
:paramtype type: str or ~flow.models.StoredProcedureParameterType
"""
super(StoredProcedureParameter, self).__init__(**kwargs)
self.name = name
self.value = value
self.type = type
class Stream(msrest.serialization.Model):
"""Stream.
Variables are only populated by the server, and will be ignored when sending a request.
:ivar can_read:
:vartype can_read: bool
:ivar can_write:
:vartype can_write: bool
:ivar can_seek:
:vartype can_seek: bool
:ivar can_timeout:
:vartype can_timeout: bool
:ivar length:
:vartype length: long
:ivar position:
:vartype position: long
:ivar read_timeout:
:vartype read_timeout: int
:ivar write_timeout:
:vartype write_timeout: int
"""
_validation = {
'can_read': {'readonly': True},
'can_write': {'readonly': True},
'can_seek': {'readonly': True},
'can_timeout': {'readonly': True},
'length': {'readonly': True},
}
_attribute_map = {
'can_read': {'key': 'canRead', 'type': 'bool'},
'can_write': {'key': 'canWrite', 'type': 'bool'},
'can_seek': {'key': 'canSeek', 'type': 'bool'},
'can_timeout': {'key': 'canTimeout', 'type': 'bool'},
'length': {'key': 'length', 'type': 'long'},
'position': {'key': 'position', 'type': 'long'},
'read_timeout': {'key': 'readTimeout', 'type': 'int'},
'write_timeout': {'key': 'writeTimeout', 'type': 'int'},
}
def __init__(
self,
*,
position: Optional[int] = None,
read_timeout: Optional[int] = None,
write_timeout: Optional[int] = None,
**kwargs
):
"""
:keyword position:
:paramtype position: long
:keyword read_timeout:
:paramtype read_timeout: int
:keyword write_timeout:
:paramtype write_timeout: int
"""
super(Stream, self).__init__(**kwargs)
self.can_read = None
self.can_write = None
self.can_seek = None
self.can_timeout = None
self.length = None
self.position = position
self.read_timeout = read_timeout
self.write_timeout = write_timeout
class StructuredInterface(msrest.serialization.Model):
"""StructuredInterface.
:ivar command_line_pattern:
:vartype command_line_pattern: str
:ivar inputs:
:vartype inputs: list[~flow.models.StructuredInterfaceInput]
:ivar outputs:
:vartype outputs: list[~flow.models.StructuredInterfaceOutput]
:ivar control_outputs:
:vartype control_outputs: list[~flow.models.ControlOutput]
:ivar parameters:
:vartype parameters: list[~flow.models.StructuredInterfaceParameter]
:ivar metadata_parameters:
:vartype metadata_parameters: list[~flow.models.StructuredInterfaceParameter]
:ivar arguments:
:vartype arguments: list[~flow.models.ArgumentAssignment]
"""
_attribute_map = {
'command_line_pattern': {'key': 'commandLinePattern', 'type': 'str'},
'inputs': {'key': 'inputs', 'type': '[StructuredInterfaceInput]'},
'outputs': {'key': 'outputs', 'type': '[StructuredInterfaceOutput]'},
'control_outputs': {'key': 'controlOutputs', 'type': '[ControlOutput]'},
'parameters': {'key': 'parameters', 'type': '[StructuredInterfaceParameter]'},
'metadata_parameters': {'key': 'metadataParameters', 'type': '[StructuredInterfaceParameter]'},
'arguments': {'key': 'arguments', 'type': '[ArgumentAssignment]'},
}
def __init__(
self,
*,
command_line_pattern: Optional[str] = None,
inputs: Optional[List["StructuredInterfaceInput"]] = None,
outputs: Optional[List["StructuredInterfaceOutput"]] = None,
control_outputs: Optional[List["ControlOutput"]] = None,
parameters: Optional[List["StructuredInterfaceParameter"]] = None,
metadata_parameters: Optional[List["StructuredInterfaceParameter"]] = None,
arguments: Optional[List["ArgumentAssignment"]] = None,
**kwargs
):
"""
:keyword command_line_pattern:
:paramtype command_line_pattern: str
:keyword inputs:
:paramtype inputs: list[~flow.models.StructuredInterfaceInput]
:keyword outputs:
:paramtype outputs: list[~flow.models.StructuredInterfaceOutput]
:keyword control_outputs:
:paramtype control_outputs: list[~flow.models.ControlOutput]
:keyword parameters:
:paramtype parameters: list[~flow.models.StructuredInterfaceParameter]
:keyword metadata_parameters:
:paramtype metadata_parameters: list[~flow.models.StructuredInterfaceParameter]
:keyword arguments:
:paramtype arguments: list[~flow.models.ArgumentAssignment]
"""
super(StructuredInterface, self).__init__(**kwargs)
self.command_line_pattern = command_line_pattern
self.inputs = inputs
self.outputs = outputs
self.control_outputs = control_outputs
self.parameters = parameters
self.metadata_parameters = metadata_parameters
self.arguments = arguments
class StructuredInterfaceInput(msrest.serialization.Model):
"""StructuredInterfaceInput.
:ivar name:
:vartype name: str
:ivar label:
:vartype label: str
:ivar data_type_ids_list:
:vartype data_type_ids_list: list[str]
:ivar is_optional:
:vartype is_optional: bool
:ivar description:
:vartype description: str
:ivar skip_processing:
:vartype skip_processing: bool
:ivar is_resource:
:vartype is_resource: bool
:ivar data_store_mode: Possible values include: "None", "Mount", "Download", "Upload",
"Direct", "Hdfs", "Link".
:vartype data_store_mode: str or ~flow.models.AEVADataStoreMode
:ivar path_on_compute:
:vartype path_on_compute: str
:ivar overwrite:
:vartype overwrite: bool
:ivar data_reference_name:
:vartype data_reference_name: str
:ivar dataset_types:
:vartype dataset_types: list[str or ~flow.models.DatasetType]
"""
_validation = {
'dataset_types': {'unique': True},
}
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'label': {'key': 'label', 'type': 'str'},
'data_type_ids_list': {'key': 'dataTypeIdsList', 'type': '[str]'},
'is_optional': {'key': 'isOptional', 'type': 'bool'},
'description': {'key': 'description', 'type': 'str'},
'skip_processing': {'key': 'skipProcessing', 'type': 'bool'},
'is_resource': {'key': 'isResource', 'type': 'bool'},
'data_store_mode': {'key': 'dataStoreMode', 'type': 'str'},
'path_on_compute': {'key': 'pathOnCompute', 'type': 'str'},
'overwrite': {'key': 'overwrite', 'type': 'bool'},
'data_reference_name': {'key': 'dataReferenceName', 'type': 'str'},
'dataset_types': {'key': 'datasetTypes', 'type': '[str]'},
}
def __init__(
self,
*,
name: Optional[str] = None,
label: Optional[str] = None,
data_type_ids_list: Optional[List[str]] = None,
is_optional: Optional[bool] = None,
description: Optional[str] = None,
skip_processing: Optional[bool] = None,
is_resource: Optional[bool] = None,
data_store_mode: Optional[Union[str, "AEVADataStoreMode"]] = None,
path_on_compute: Optional[str] = None,
overwrite: Optional[bool] = None,
data_reference_name: Optional[str] = None,
dataset_types: Optional[List[Union[str, "DatasetType"]]] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword label:
:paramtype label: str
:keyword data_type_ids_list:
:paramtype data_type_ids_list: list[str]
:keyword is_optional:
:paramtype is_optional: bool
:keyword description:
:paramtype description: str
:keyword skip_processing:
:paramtype skip_processing: bool
:keyword is_resource:
:paramtype is_resource: bool
:keyword data_store_mode: Possible values include: "None", "Mount", "Download", "Upload",
"Direct", "Hdfs", "Link".
:paramtype data_store_mode: str or ~flow.models.AEVADataStoreMode
:keyword path_on_compute:
:paramtype path_on_compute: str
:keyword overwrite:
:paramtype overwrite: bool
:keyword data_reference_name:
:paramtype data_reference_name: str
:keyword dataset_types:
:paramtype dataset_types: list[str or ~flow.models.DatasetType]
"""
super(StructuredInterfaceInput, self).__init__(**kwargs)
self.name = name
self.label = label
self.data_type_ids_list = data_type_ids_list
self.is_optional = is_optional
self.description = description
self.skip_processing = skip_processing
self.is_resource = is_resource
self.data_store_mode = data_store_mode
self.path_on_compute = path_on_compute
self.overwrite = overwrite
self.data_reference_name = data_reference_name
self.dataset_types = dataset_types
class StructuredInterfaceOutput(msrest.serialization.Model):
"""StructuredInterfaceOutput.
:ivar name:
:vartype name: str
:ivar label:
:vartype label: str
:ivar data_type_id:
:vartype data_type_id: str
:ivar pass_through_data_type_input_name:
:vartype pass_through_data_type_input_name: str
:ivar description:
:vartype description: str
:ivar skip_processing:
:vartype skip_processing: bool
:ivar is_artifact:
:vartype is_artifact: bool
:ivar data_store_name:
:vartype data_store_name: str
:ivar data_store_mode: Possible values include: "None", "Mount", "Download", "Upload",
"Direct", "Hdfs", "Link".
:vartype data_store_mode: str or ~flow.models.AEVADataStoreMode
:ivar path_on_compute:
:vartype path_on_compute: str
:ivar overwrite:
:vartype overwrite: bool
:ivar data_reference_name:
:vartype data_reference_name: str
:ivar training_output:
:vartype training_output: ~flow.models.TrainingOutput
:ivar dataset_output:
:vartype dataset_output: ~flow.models.DatasetOutput
:ivar asset_output_settings:
:vartype asset_output_settings: ~flow.models.AssetOutputSettings
:ivar early_available:
:vartype early_available: bool
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'label': {'key': 'label', 'type': 'str'},
'data_type_id': {'key': 'dataTypeId', 'type': 'str'},
'pass_through_data_type_input_name': {'key': 'passThroughDataTypeInputName', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'skip_processing': {'key': 'skipProcessing', 'type': 'bool'},
'is_artifact': {'key': 'IsArtifact', 'type': 'bool'},
'data_store_name': {'key': 'dataStoreName', 'type': 'str'},
'data_store_mode': {'key': 'dataStoreMode', 'type': 'str'},
'path_on_compute': {'key': 'pathOnCompute', 'type': 'str'},
'overwrite': {'key': 'overwrite', 'type': 'bool'},
'data_reference_name': {'key': 'dataReferenceName', 'type': 'str'},
'training_output': {'key': 'trainingOutput', 'type': 'TrainingOutput'},
'dataset_output': {'key': 'datasetOutput', 'type': 'DatasetOutput'},
'asset_output_settings': {'key': 'AssetOutputSettings', 'type': 'AssetOutputSettings'},
'early_available': {'key': 'EarlyAvailable', 'type': 'bool'},
}
def __init__(
self,
*,
name: Optional[str] = None,
label: Optional[str] = None,
data_type_id: Optional[str] = None,
pass_through_data_type_input_name: Optional[str] = None,
description: Optional[str] = None,
skip_processing: Optional[bool] = None,
is_artifact: Optional[bool] = None,
data_store_name: Optional[str] = None,
data_store_mode: Optional[Union[str, "AEVADataStoreMode"]] = None,
path_on_compute: Optional[str] = None,
overwrite: Optional[bool] = None,
data_reference_name: Optional[str] = None,
training_output: Optional["TrainingOutput"] = None,
dataset_output: Optional["DatasetOutput"] = None,
asset_output_settings: Optional["AssetOutputSettings"] = None,
early_available: Optional[bool] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword label:
:paramtype label: str
:keyword data_type_id:
:paramtype data_type_id: str
:keyword pass_through_data_type_input_name:
:paramtype pass_through_data_type_input_name: str
:keyword description:
:paramtype description: str
:keyword skip_processing:
:paramtype skip_processing: bool
:keyword is_artifact:
:paramtype is_artifact: bool
:keyword data_store_name:
:paramtype data_store_name: str
:keyword data_store_mode: Possible values include: "None", "Mount", "Download", "Upload",
"Direct", "Hdfs", "Link".
:paramtype data_store_mode: str or ~flow.models.AEVADataStoreMode
:keyword path_on_compute:
:paramtype path_on_compute: str
:keyword overwrite:
:paramtype overwrite: bool
:keyword data_reference_name:
:paramtype data_reference_name: str
:keyword training_output:
:paramtype training_output: ~flow.models.TrainingOutput
:keyword dataset_output:
:paramtype dataset_output: ~flow.models.DatasetOutput
:keyword asset_output_settings:
:paramtype asset_output_settings: ~flow.models.AssetOutputSettings
:keyword early_available:
:paramtype early_available: bool
"""
super(StructuredInterfaceOutput, self).__init__(**kwargs)
self.name = name
self.label = label
self.data_type_id = data_type_id
self.pass_through_data_type_input_name = pass_through_data_type_input_name
self.description = description
self.skip_processing = skip_processing
self.is_artifact = is_artifact
self.data_store_name = data_store_name
self.data_store_mode = data_store_mode
self.path_on_compute = path_on_compute
self.overwrite = overwrite
self.data_reference_name = data_reference_name
self.training_output = training_output
self.dataset_output = dataset_output
self.asset_output_settings = asset_output_settings
self.early_available = early_available
class StructuredInterfaceParameter(msrest.serialization.Model):
"""StructuredInterfaceParameter.
:ivar name:
:vartype name: str
:ivar label:
:vartype label: str
:ivar parameter_type: Possible values include: "Int", "Double", "Bool", "String", "Undefined".
:vartype parameter_type: str or ~flow.models.ParameterType
:ivar is_optional:
:vartype is_optional: bool
:ivar default_value:
:vartype default_value: str
:ivar lower_bound:
:vartype lower_bound: str
:ivar upper_bound:
:vartype upper_bound: str
:ivar enum_values:
:vartype enum_values: list[str]
:ivar enum_values_to_argument_strings: This is a dictionary.
:vartype enum_values_to_argument_strings: dict[str, str]
:ivar description:
:vartype description: str
:ivar set_environment_variable:
:vartype set_environment_variable: bool
:ivar environment_variable_override:
:vartype environment_variable_override: str
:ivar enabled_by_parameter_name:
:vartype enabled_by_parameter_name: str
:ivar enabled_by_parameter_values:
:vartype enabled_by_parameter_values: list[str]
:ivar ui_hint:
:vartype ui_hint: ~flow.models.UIParameterHint
:ivar group_names:
:vartype group_names: list[str]
:ivar argument_name:
:vartype argument_name: str
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'label': {'key': 'label', 'type': 'str'},
'parameter_type': {'key': 'parameterType', 'type': 'str'},
'is_optional': {'key': 'isOptional', 'type': 'bool'},
'default_value': {'key': 'defaultValue', 'type': 'str'},
'lower_bound': {'key': 'lowerBound', 'type': 'str'},
'upper_bound': {'key': 'upperBound', 'type': 'str'},
'enum_values': {'key': 'enumValues', 'type': '[str]'},
'enum_values_to_argument_strings': {'key': 'enumValuesToArgumentStrings', 'type': '{str}'},
'description': {'key': 'description', 'type': 'str'},
'set_environment_variable': {'key': 'setEnvironmentVariable', 'type': 'bool'},
'environment_variable_override': {'key': 'environmentVariableOverride', 'type': 'str'},
'enabled_by_parameter_name': {'key': 'enabledByParameterName', 'type': 'str'},
'enabled_by_parameter_values': {'key': 'enabledByParameterValues', 'type': '[str]'},
'ui_hint': {'key': 'uiHint', 'type': 'UIParameterHint'},
'group_names': {'key': 'groupNames', 'type': '[str]'},
'argument_name': {'key': 'argumentName', 'type': 'str'},
}
def __init__(
self,
*,
name: Optional[str] = None,
label: Optional[str] = None,
parameter_type: Optional[Union[str, "ParameterType"]] = None,
is_optional: Optional[bool] = None,
default_value: Optional[str] = None,
lower_bound: Optional[str] = None,
upper_bound: Optional[str] = None,
enum_values: Optional[List[str]] = None,
enum_values_to_argument_strings: Optional[Dict[str, str]] = None,
description: Optional[str] = None,
set_environment_variable: Optional[bool] = None,
environment_variable_override: Optional[str] = None,
enabled_by_parameter_name: Optional[str] = None,
enabled_by_parameter_values: Optional[List[str]] = None,
ui_hint: Optional["UIParameterHint"] = None,
group_names: Optional[List[str]] = None,
argument_name: Optional[str] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword label:
:paramtype label: str
:keyword parameter_type: Possible values include: "Int", "Double", "Bool", "String",
"Undefined".
:paramtype parameter_type: str or ~flow.models.ParameterType
:keyword is_optional:
:paramtype is_optional: bool
:keyword default_value:
:paramtype default_value: str
:keyword lower_bound:
:paramtype lower_bound: str
:keyword upper_bound:
:paramtype upper_bound: str
:keyword enum_values:
:paramtype enum_values: list[str]
:keyword enum_values_to_argument_strings: This is a dictionary.
:paramtype enum_values_to_argument_strings: dict[str, str]
:keyword description:
:paramtype description: str
:keyword set_environment_variable:
:paramtype set_environment_variable: bool
:keyword environment_variable_override:
:paramtype environment_variable_override: str
:keyword enabled_by_parameter_name:
:paramtype enabled_by_parameter_name: str
:keyword enabled_by_parameter_values:
:paramtype enabled_by_parameter_values: list[str]
:keyword ui_hint:
:paramtype ui_hint: ~flow.models.UIParameterHint
:keyword group_names:
:paramtype group_names: list[str]
:keyword argument_name:
:paramtype argument_name: str
"""
super(StructuredInterfaceParameter, self).__init__(**kwargs)
self.name = name
self.label = label
self.parameter_type = parameter_type
self.is_optional = is_optional
self.default_value = default_value
self.lower_bound = lower_bound
self.upper_bound = upper_bound
self.enum_values = enum_values
self.enum_values_to_argument_strings = enum_values_to_argument_strings
self.description = description
self.set_environment_variable = set_environment_variable
self.environment_variable_override = environment_variable_override
self.enabled_by_parameter_name = enabled_by_parameter_name
self.enabled_by_parameter_values = enabled_by_parameter_values
self.ui_hint = ui_hint
self.group_names = group_names
self.argument_name = argument_name
class StudioMigrationInfo(msrest.serialization.Model):
"""StudioMigrationInfo.
Variables are only populated by the server, and will be ignored when sending a request.
:ivar source_workspace_id:
:vartype source_workspace_id: str
:ivar source_experiment_id:
:vartype source_experiment_id: str
:ivar source_experiment_link:
:vartype source_experiment_link: str
:ivar failed_node_id_list:
:vartype failed_node_id_list: list[str]
:ivar error_message:
:vartype error_message: str
"""
_validation = {
'error_message': {'readonly': True},
}
_attribute_map = {
'source_workspace_id': {'key': 'sourceWorkspaceId', 'type': 'str'},
'source_experiment_id': {'key': 'sourceExperimentId', 'type': 'str'},
'source_experiment_link': {'key': 'sourceExperimentLink', 'type': 'str'},
'failed_node_id_list': {'key': 'failedNodeIdList', 'type': '[str]'},
'error_message': {'key': 'errorMessage', 'type': 'str'},
}
def __init__(
self,
*,
source_workspace_id: Optional[str] = None,
source_experiment_id: Optional[str] = None,
source_experiment_link: Optional[str] = None,
failed_node_id_list: Optional[List[str]] = None,
**kwargs
):
"""
:keyword source_workspace_id:
:paramtype source_workspace_id: str
:keyword source_experiment_id:
:paramtype source_experiment_id: str
:keyword source_experiment_link:
:paramtype source_experiment_link: str
:keyword failed_node_id_list:
:paramtype failed_node_id_list: list[str]
"""
super(StudioMigrationInfo, self).__init__(**kwargs)
self.source_workspace_id = source_workspace_id
self.source_experiment_id = source_experiment_id
self.source_experiment_link = source_experiment_link
self.failed_node_id_list = failed_node_id_list
self.error_message = None
class SubGraphConcatenateAssignment(msrest.serialization.Model):
"""SubGraphConcatenateAssignment.
:ivar concatenate_parameter:
:vartype concatenate_parameter: list[~flow.models.ParameterAssignment]
:ivar parameter_assignments:
:vartype parameter_assignments: ~flow.models.SubPipelineParameterAssignment
"""
_attribute_map = {
'concatenate_parameter': {'key': 'concatenateParameter', 'type': '[ParameterAssignment]'},
'parameter_assignments': {'key': 'parameterAssignments', 'type': 'SubPipelineParameterAssignment'},
}
def __init__(
self,
*,
concatenate_parameter: Optional[List["ParameterAssignment"]] = None,
parameter_assignments: Optional["SubPipelineParameterAssignment"] = None,
**kwargs
):
"""
:keyword concatenate_parameter:
:paramtype concatenate_parameter: list[~flow.models.ParameterAssignment]
:keyword parameter_assignments:
:paramtype parameter_assignments: ~flow.models.SubPipelineParameterAssignment
"""
super(SubGraphConcatenateAssignment, self).__init__(**kwargs)
self.concatenate_parameter = concatenate_parameter
self.parameter_assignments = parameter_assignments
class SubGraphConfiguration(msrest.serialization.Model):
"""SubGraphConfiguration.
:ivar graph_id:
:vartype graph_id: str
:ivar graph_draft_id:
:vartype graph_draft_id: str
:ivar default_cloud_priority:
:vartype default_cloud_priority: ~flow.models.CloudPrioritySetting
:ivar is_dynamic:
:vartype is_dynamic: bool
"""
_attribute_map = {
'graph_id': {'key': 'graphId', 'type': 'str'},
'graph_draft_id': {'key': 'graphDraftId', 'type': 'str'},
'default_cloud_priority': {'key': 'DefaultCloudPriority', 'type': 'CloudPrioritySetting'},
'is_dynamic': {'key': 'IsDynamic', 'type': 'bool'},
}
def __init__(
self,
*,
graph_id: Optional[str] = None,
graph_draft_id: Optional[str] = None,
default_cloud_priority: Optional["CloudPrioritySetting"] = None,
is_dynamic: Optional[bool] = False,
**kwargs
):
"""
:keyword graph_id:
:paramtype graph_id: str
:keyword graph_draft_id:
:paramtype graph_draft_id: str
:keyword default_cloud_priority:
:paramtype default_cloud_priority: ~flow.models.CloudPrioritySetting
:keyword is_dynamic:
:paramtype is_dynamic: bool
"""
super(SubGraphConfiguration, self).__init__(**kwargs)
self.graph_id = graph_id
self.graph_draft_id = graph_draft_id
self.default_cloud_priority = default_cloud_priority
self.is_dynamic = is_dynamic
class SubGraphConnectionInfo(msrest.serialization.Model):
"""SubGraphConnectionInfo.
:ivar node_id:
:vartype node_id: str
:ivar port_name:
:vartype port_name: str
"""
_attribute_map = {
'node_id': {'key': 'nodeId', 'type': 'str'},
'port_name': {'key': 'portName', 'type': 'str'},
}
def __init__(
self,
*,
node_id: Optional[str] = None,
port_name: Optional[str] = None,
**kwargs
):
"""
:keyword node_id:
:paramtype node_id: str
:keyword port_name:
:paramtype port_name: str
"""
super(SubGraphConnectionInfo, self).__init__(**kwargs)
self.node_id = node_id
self.port_name = port_name
class SubGraphDataPathParameterAssignment(msrest.serialization.Model):
"""SubGraphDataPathParameterAssignment.
:ivar data_set_path_parameter:
:vartype data_set_path_parameter: ~flow.models.DataSetPathParameter
:ivar data_set_path_parameter_assignments:
:vartype data_set_path_parameter_assignments: list[str]
"""
_attribute_map = {
'data_set_path_parameter': {'key': 'dataSetPathParameter', 'type': 'DataSetPathParameter'},
'data_set_path_parameter_assignments': {'key': 'dataSetPathParameterAssignments', 'type': '[str]'},
}
def __init__(
self,
*,
data_set_path_parameter: Optional["DataSetPathParameter"] = None,
data_set_path_parameter_assignments: Optional[List[str]] = None,
**kwargs
):
"""
:keyword data_set_path_parameter:
:paramtype data_set_path_parameter: ~flow.models.DataSetPathParameter
:keyword data_set_path_parameter_assignments:
:paramtype data_set_path_parameter_assignments: list[str]
"""
super(SubGraphDataPathParameterAssignment, self).__init__(**kwargs)
self.data_set_path_parameter = data_set_path_parameter
self.data_set_path_parameter_assignments = data_set_path_parameter_assignments
class SubGraphInfo(msrest.serialization.Model):
"""SubGraphInfo.
:ivar name:
:vartype name: str
:ivar description:
:vartype description: str
:ivar default_compute_target:
:vartype default_compute_target: ~flow.models.ComputeSetting
:ivar default_data_store:
:vartype default_data_store: ~flow.models.DatastoreSetting
:ivar id:
:vartype id: str
:ivar parent_graph_id:
:vartype parent_graph_id: str
:ivar pipeline_definition_id:
:vartype pipeline_definition_id: str
:ivar sub_graph_parameter_assignment:
:vartype sub_graph_parameter_assignment: list[~flow.models.SubGraphParameterAssignment]
:ivar sub_graph_concatenate_assignment:
:vartype sub_graph_concatenate_assignment: list[~flow.models.SubGraphConcatenateAssignment]
:ivar sub_graph_data_path_parameter_assignment:
:vartype sub_graph_data_path_parameter_assignment:
list[~flow.models.SubGraphDataPathParameterAssignment]
:ivar sub_graph_default_compute_target_nodes:
:vartype sub_graph_default_compute_target_nodes: list[str]
:ivar sub_graph_default_data_store_nodes:
:vartype sub_graph_default_data_store_nodes: list[str]
:ivar inputs:
:vartype inputs: list[~flow.models.SubGraphPortInfo]
:ivar outputs:
:vartype outputs: list[~flow.models.SubGraphPortInfo]
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'default_compute_target': {'key': 'defaultComputeTarget', 'type': 'ComputeSetting'},
'default_data_store': {'key': 'defaultDataStore', 'type': 'DatastoreSetting'},
'id': {'key': 'id', 'type': 'str'},
'parent_graph_id': {'key': 'parentGraphId', 'type': 'str'},
'pipeline_definition_id': {'key': 'pipelineDefinitionId', 'type': 'str'},
'sub_graph_parameter_assignment': {'key': 'subGraphParameterAssignment', 'type': '[SubGraphParameterAssignment]'},
'sub_graph_concatenate_assignment': {'key': 'subGraphConcatenateAssignment', 'type': '[SubGraphConcatenateAssignment]'},
'sub_graph_data_path_parameter_assignment': {'key': 'subGraphDataPathParameterAssignment', 'type': '[SubGraphDataPathParameterAssignment]'},
'sub_graph_default_compute_target_nodes': {'key': 'subGraphDefaultComputeTargetNodes', 'type': '[str]'},
'sub_graph_default_data_store_nodes': {'key': 'subGraphDefaultDataStoreNodes', 'type': '[str]'},
'inputs': {'key': 'inputs', 'type': '[SubGraphPortInfo]'},
'outputs': {'key': 'outputs', 'type': '[SubGraphPortInfo]'},
}
def __init__(
self,
*,
name: Optional[str] = None,
description: Optional[str] = None,
default_compute_target: Optional["ComputeSetting"] = None,
default_data_store: Optional["DatastoreSetting"] = None,
id: Optional[str] = None,
parent_graph_id: Optional[str] = None,
pipeline_definition_id: Optional[str] = None,
sub_graph_parameter_assignment: Optional[List["SubGraphParameterAssignment"]] = None,
sub_graph_concatenate_assignment: Optional[List["SubGraphConcatenateAssignment"]] = None,
sub_graph_data_path_parameter_assignment: Optional[List["SubGraphDataPathParameterAssignment"]] = None,
sub_graph_default_compute_target_nodes: Optional[List[str]] = None,
sub_graph_default_data_store_nodes: Optional[List[str]] = None,
inputs: Optional[List["SubGraphPortInfo"]] = None,
outputs: Optional[List["SubGraphPortInfo"]] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword description:
:paramtype description: str
:keyword default_compute_target:
:paramtype default_compute_target: ~flow.models.ComputeSetting
:keyword default_data_store:
:paramtype default_data_store: ~flow.models.DatastoreSetting
:keyword id:
:paramtype id: str
:keyword parent_graph_id:
:paramtype parent_graph_id: str
:keyword pipeline_definition_id:
:paramtype pipeline_definition_id: str
:keyword sub_graph_parameter_assignment:
:paramtype sub_graph_parameter_assignment: list[~flow.models.SubGraphParameterAssignment]
:keyword sub_graph_concatenate_assignment:
:paramtype sub_graph_concatenate_assignment: list[~flow.models.SubGraphConcatenateAssignment]
:keyword sub_graph_data_path_parameter_assignment:
:paramtype sub_graph_data_path_parameter_assignment:
list[~flow.models.SubGraphDataPathParameterAssignment]
:keyword sub_graph_default_compute_target_nodes:
:paramtype sub_graph_default_compute_target_nodes: list[str]
:keyword sub_graph_default_data_store_nodes:
:paramtype sub_graph_default_data_store_nodes: list[str]
:keyword inputs:
:paramtype inputs: list[~flow.models.SubGraphPortInfo]
:keyword outputs:
:paramtype outputs: list[~flow.models.SubGraphPortInfo]
"""
super(SubGraphInfo, self).__init__(**kwargs)
self.name = name
self.description = description
self.default_compute_target = default_compute_target
self.default_data_store = default_data_store
self.id = id
self.parent_graph_id = parent_graph_id
self.pipeline_definition_id = pipeline_definition_id
self.sub_graph_parameter_assignment = sub_graph_parameter_assignment
self.sub_graph_concatenate_assignment = sub_graph_concatenate_assignment
self.sub_graph_data_path_parameter_assignment = sub_graph_data_path_parameter_assignment
self.sub_graph_default_compute_target_nodes = sub_graph_default_compute_target_nodes
self.sub_graph_default_data_store_nodes = sub_graph_default_data_store_nodes
self.inputs = inputs
self.outputs = outputs
class SubGraphParameterAssignment(msrest.serialization.Model):
"""SubGraphParameterAssignment.
:ivar parameter:
:vartype parameter: ~flow.models.Parameter
:ivar parameter_assignments:
:vartype parameter_assignments: list[~flow.models.SubPipelineParameterAssignment]
"""
_attribute_map = {
'parameter': {'key': 'parameter', 'type': 'Parameter'},
'parameter_assignments': {'key': 'parameterAssignments', 'type': '[SubPipelineParameterAssignment]'},
}
def __init__(
self,
*,
parameter: Optional["Parameter"] = None,
parameter_assignments: Optional[List["SubPipelineParameterAssignment"]] = None,
**kwargs
):
"""
:keyword parameter:
:paramtype parameter: ~flow.models.Parameter
:keyword parameter_assignments:
:paramtype parameter_assignments: list[~flow.models.SubPipelineParameterAssignment]
"""
super(SubGraphParameterAssignment, self).__init__(**kwargs)
self.parameter = parameter
self.parameter_assignments = parameter_assignments
class SubGraphPortInfo(msrest.serialization.Model):
"""SubGraphPortInfo.
:ivar name:
:vartype name: str
:ivar internal:
:vartype internal: list[~flow.models.SubGraphConnectionInfo]
:ivar external:
:vartype external: list[~flow.models.SubGraphConnectionInfo]
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'internal': {'key': 'internal', 'type': '[SubGraphConnectionInfo]'},
'external': {'key': 'external', 'type': '[SubGraphConnectionInfo]'},
}
def __init__(
self,
*,
name: Optional[str] = None,
internal: Optional[List["SubGraphConnectionInfo"]] = None,
external: Optional[List["SubGraphConnectionInfo"]] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword internal:
:paramtype internal: list[~flow.models.SubGraphConnectionInfo]
:keyword external:
:paramtype external: list[~flow.models.SubGraphConnectionInfo]
"""
super(SubGraphPortInfo, self).__init__(**kwargs)
self.name = name
self.internal = internal
self.external = external
class SubmitBulkRunRequest(msrest.serialization.Model):
"""SubmitBulkRunRequest.
:ivar flow_definition_file_path:
:vartype flow_definition_file_path: str
:ivar flow_definition_resource_id:
:vartype flow_definition_resource_id: str
:ivar flow_definition_data_store_name:
:vartype flow_definition_data_store_name: str
:ivar flow_definition_blob_path:
:vartype flow_definition_blob_path: str
:ivar flow_definition_data_uri:
:vartype flow_definition_data_uri: str
:ivar run_id:
:vartype run_id: str
:ivar run_display_name:
:vartype run_display_name: str
:ivar run_experiment_name:
:vartype run_experiment_name: str
:ivar description:
:vartype description: str
:ivar tags: A set of tags. This is a dictionary.
:vartype tags: dict[str, str]
:ivar properties: This is a dictionary.
:vartype properties: dict[str, str]
:ivar node_variant:
:vartype node_variant: str
:ivar variant_run_id:
:vartype variant_run_id: str
:ivar baseline_run_id:
:vartype baseline_run_id: str
:ivar batch_data_input:
:vartype batch_data_input: ~flow.models.BatchDataInput
:ivar inputs_mapping: This is a dictionary.
:vartype inputs_mapping: dict[str, str]
:ivar connections: This is a dictionary.
:vartype connections: dict[str, dict[str, str]]
:ivar environment_variables: This is a dictionary.
:vartype environment_variables: dict[str, str]
:ivar aml_compute_name:
:vartype aml_compute_name: str
:ivar runtime_name:
:vartype runtime_name: str
:ivar session_id:
:vartype session_id: str
:ivar vm_size:
:vartype vm_size: str
:ivar max_idle_time_seconds:
:vartype max_idle_time_seconds: long
:ivar session_setup_mode: Possible values include: "ClientWait", "SystemWait".
:vartype session_setup_mode: str or ~flow.models.SessionSetupModeEnum
:ivar output_data_store:
:vartype output_data_store: str
:ivar flow_lineage_id:
:vartype flow_lineage_id: str
:ivar run_display_name_generation_type: Possible values include: "AutoAppend",
"UserProvidedMacro".
:vartype run_display_name_generation_type: str or ~flow.models.RunDisplayNameGenerationType
"""
_attribute_map = {
'flow_definition_file_path': {'key': 'flowDefinitionFilePath', 'type': 'str'},
'flow_definition_resource_id': {'key': 'flowDefinitionResourceId', 'type': 'str'},
'flow_definition_data_store_name': {'key': 'flowDefinitionDataStoreName', 'type': 'str'},
'flow_definition_blob_path': {'key': 'flowDefinitionBlobPath', 'type': 'str'},
'flow_definition_data_uri': {'key': 'flowDefinitionDataUri', 'type': 'str'},
'run_id': {'key': 'runId', 'type': 'str'},
'run_display_name': {'key': 'runDisplayName', 'type': 'str'},
'run_experiment_name': {'key': 'runExperimentName', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'properties': {'key': 'properties', 'type': '{str}'},
'node_variant': {'key': 'nodeVariant', 'type': 'str'},
'variant_run_id': {'key': 'variantRunId', 'type': 'str'},
'baseline_run_id': {'key': 'baselineRunId', 'type': 'str'},
'batch_data_input': {'key': 'batchDataInput', 'type': 'BatchDataInput'},
'inputs_mapping': {'key': 'inputsMapping', 'type': '{str}'},
'connections': {'key': 'connections', 'type': '{{str}}'},
'environment_variables': {'key': 'environmentVariables', 'type': '{str}'},
'aml_compute_name': {'key': 'amlComputeName', 'type': 'str'},
'runtime_name': {'key': 'runtimeName', 'type': 'str'},
'session_id': {'key': 'sessionId', 'type': 'str'},
'vm_size': {'key': 'vmSize', 'type': 'str'},
'max_idle_time_seconds': {'key': 'maxIdleTimeSeconds', 'type': 'long'},
'session_setup_mode': {'key': 'sessionSetupMode', 'type': 'str'},
'output_data_store': {'key': 'outputDataStore', 'type': 'str'},
'flow_lineage_id': {'key': 'flowLineageId', 'type': 'str'},
'run_display_name_generation_type': {'key': 'runDisplayNameGenerationType', 'type': 'str'},
}
def __init__(
self,
*,
flow_definition_file_path: Optional[str] = None,
flow_definition_resource_id: Optional[str] = None,
flow_definition_data_store_name: Optional[str] = None,
flow_definition_blob_path: Optional[str] = None,
flow_definition_data_uri: Optional[str] = None,
run_id: Optional[str] = None,
run_display_name: Optional[str] = None,
run_experiment_name: Optional[str] = None,
description: Optional[str] = None,
tags: Optional[Dict[str, str]] = None,
properties: Optional[Dict[str, str]] = None,
node_variant: Optional[str] = None,
variant_run_id: Optional[str] = None,
baseline_run_id: Optional[str] = None,
batch_data_input: Optional["BatchDataInput"] = None,
inputs_mapping: Optional[Dict[str, str]] = None,
connections: Optional[Dict[str, Dict[str, str]]] = None,
environment_variables: Optional[Dict[str, str]] = None,
aml_compute_name: Optional[str] = None,
runtime_name: Optional[str] = None,
session_id: Optional[str] = None,
vm_size: Optional[str] = None,
max_idle_time_seconds: Optional[int] = None,
session_setup_mode: Optional[Union[str, "SessionSetupModeEnum"]] = None,
output_data_store: Optional[str] = None,
flow_lineage_id: Optional[str] = None,
run_display_name_generation_type: Optional[Union[str, "RunDisplayNameGenerationType"]] = None,
**kwargs
):
"""
:keyword flow_definition_file_path:
:paramtype flow_definition_file_path: str
:keyword flow_definition_resource_id:
:paramtype flow_definition_resource_id: str
:keyword flow_definition_data_store_name:
:paramtype flow_definition_data_store_name: str
:keyword flow_definition_blob_path:
:paramtype flow_definition_blob_path: str
:keyword flow_definition_data_uri:
:paramtype flow_definition_data_uri: str
:keyword run_id:
:paramtype run_id: str
:keyword run_display_name:
:paramtype run_display_name: str
:keyword run_experiment_name:
:paramtype run_experiment_name: str
:keyword description:
:paramtype description: str
:keyword tags: A set of tags. This is a dictionary.
:paramtype tags: dict[str, str]
:keyword properties: This is a dictionary.
:paramtype properties: dict[str, str]
:keyword node_variant:
:paramtype node_variant: str
:keyword variant_run_id:
:paramtype variant_run_id: str
:keyword baseline_run_id:
:paramtype baseline_run_id: str
:keyword batch_data_input:
:paramtype batch_data_input: ~flow.models.BatchDataInput
:keyword inputs_mapping: This is a dictionary.
:paramtype inputs_mapping: dict[str, str]
:keyword connections: This is a dictionary.
:paramtype connections: dict[str, dict[str, str]]
:keyword environment_variables: This is a dictionary.
:paramtype environment_variables: dict[str, str]
:keyword aml_compute_name:
:paramtype aml_compute_name: str
:keyword runtime_name:
:paramtype runtime_name: str
:keyword session_id:
:paramtype session_id: str
:keyword vm_size:
:paramtype vm_size: str
:keyword max_idle_time_seconds:
:paramtype max_idle_time_seconds: long
:keyword session_setup_mode: Possible values include: "ClientWait", "SystemWait".
:paramtype session_setup_mode: str or ~flow.models.SessionSetupModeEnum
:keyword output_data_store:
:paramtype output_data_store: str
:keyword flow_lineage_id:
:paramtype flow_lineage_id: str
:keyword run_display_name_generation_type: Possible values include: "AutoAppend",
"UserProvidedMacro".
:paramtype run_display_name_generation_type: str or ~flow.models.RunDisplayNameGenerationType
"""
super(SubmitBulkRunRequest, self).__init__(**kwargs)
self.flow_definition_file_path = flow_definition_file_path
self.flow_definition_resource_id = flow_definition_resource_id
self.flow_definition_data_store_name = flow_definition_data_store_name
self.flow_definition_blob_path = flow_definition_blob_path
self.flow_definition_data_uri = flow_definition_data_uri
self.run_id = run_id
self.run_display_name = run_display_name
self.run_experiment_name = run_experiment_name
self.description = description
self.tags = tags
self.properties = properties
self.node_variant = node_variant
self.variant_run_id = variant_run_id
self.baseline_run_id = baseline_run_id
self.batch_data_input = batch_data_input
self.inputs_mapping = inputs_mapping
self.connections = connections
self.environment_variables = environment_variables
self.aml_compute_name = aml_compute_name
self.runtime_name = runtime_name
self.session_id = session_id
self.vm_size = vm_size
self.max_idle_time_seconds = max_idle_time_seconds
self.session_setup_mode = session_setup_mode
self.output_data_store = output_data_store
self.flow_lineage_id = flow_lineage_id
self.run_display_name_generation_type = run_display_name_generation_type
class SubmitBulkRunResponse(msrest.serialization.Model):
"""SubmitBulkRunResponse.
:ivar next_action_interval_in_seconds:
:vartype next_action_interval_in_seconds: int
:ivar action_type: Possible values include: "SendValidationRequest", "GetValidationStatus",
"SubmitBulkRun", "LogRunResult", "LogRunTerminatedEvent".
:vartype action_type: str or ~flow.models.ActionType
:ivar flow_runs:
:vartype flow_runs: list[any]
:ivar node_runs:
:vartype node_runs: list[any]
:ivar error_response: The error response.
:vartype error_response: ~flow.models.ErrorResponse
:ivar flow_name:
:vartype flow_name: str
:ivar flow_run_display_name:
:vartype flow_run_display_name: str
:ivar flow_run_id:
:vartype flow_run_id: str
:ivar flow_graph:
:vartype flow_graph: ~flow.models.FlowGraph
:ivar flow_graph_layout:
:vartype flow_graph_layout: ~flow.models.FlowGraphLayout
:ivar flow_run_resource_id:
:vartype flow_run_resource_id: str
:ivar bulk_test_id:
:vartype bulk_test_id: str
:ivar batch_inputs:
:vartype batch_inputs: list[dict[str, any]]
:ivar batch_data_input:
:vartype batch_data_input: ~flow.models.BatchDataInput
:ivar created_by:
:vartype created_by: ~flow.models.SchemaContractsCreatedBy
:ivar created_on:
:vartype created_on: ~datetime.datetime
:ivar flow_run_type: Possible values include: "FlowRun", "EvaluationRun",
"PairwiseEvaluationRun", "SingleNodeRun", "FromNodeRun".
:vartype flow_run_type: str or ~flow.models.FlowRunTypeEnum
:ivar flow_type: Possible values include: "Default", "Evaluation", "Chat", "Rag".
:vartype flow_type: str or ~flow.models.FlowType
:ivar runtime_name:
:vartype runtime_name: str
:ivar aml_compute_name:
:vartype aml_compute_name: str
:ivar flow_run_logs: Dictionary of :code:`<string>`.
:vartype flow_run_logs: dict[str, str]
:ivar flow_test_mode: Possible values include: "Sync", "Async".
:vartype flow_test_mode: str or ~flow.models.FlowTestMode
:ivar flow_test_infos: Dictionary of :code:`<FlowTestInfo>`.
:vartype flow_test_infos: dict[str, ~flow.models.FlowTestInfo]
:ivar working_directory:
:vartype working_directory: str
:ivar flow_dag_file_relative_path:
:vartype flow_dag_file_relative_path: str
:ivar flow_snapshot_id:
:vartype flow_snapshot_id: str
:ivar variant_run_to_evaluation_runs_id_mapping: Dictionary of
<components·1mlssi7·schemas·submitbulkrunresponse·properties·variantruntoevaluationrunsidmapping·additionalproperties>.
:vartype variant_run_to_evaluation_runs_id_mapping: dict[str, list[str]]
"""
_attribute_map = {
'next_action_interval_in_seconds': {'key': 'nextActionIntervalInSeconds', 'type': 'int'},
'action_type': {'key': 'actionType', 'type': 'str'},
'flow_runs': {'key': 'flow_runs', 'type': '[object]'},
'node_runs': {'key': 'node_runs', 'type': '[object]'},
'error_response': {'key': 'errorResponse', 'type': 'ErrorResponse'},
'flow_name': {'key': 'flowName', 'type': 'str'},
'flow_run_display_name': {'key': 'flowRunDisplayName', 'type': 'str'},
'flow_run_id': {'key': 'flowRunId', 'type': 'str'},
'flow_graph': {'key': 'flowGraph', 'type': 'FlowGraph'},
'flow_graph_layout': {'key': 'flowGraphLayout', 'type': 'FlowGraphLayout'},
'flow_run_resource_id': {'key': 'flowRunResourceId', 'type': 'str'},
'bulk_test_id': {'key': 'bulkTestId', 'type': 'str'},
'batch_inputs': {'key': 'batchInputs', 'type': '[{object}]'},
'batch_data_input': {'key': 'batchDataInput', 'type': 'BatchDataInput'},
'created_by': {'key': 'createdBy', 'type': 'SchemaContractsCreatedBy'},
'created_on': {'key': 'createdOn', 'type': 'iso-8601'},
'flow_run_type': {'key': 'flowRunType', 'type': 'str'},
'flow_type': {'key': 'flowType', 'type': 'str'},
'runtime_name': {'key': 'runtimeName', 'type': 'str'},
'aml_compute_name': {'key': 'amlComputeName', 'type': 'str'},
'flow_run_logs': {'key': 'flowRunLogs', 'type': '{str}'},
'flow_test_mode': {'key': 'flowTestMode', 'type': 'str'},
'flow_test_infos': {'key': 'flowTestInfos', 'type': '{FlowTestInfo}'},
'working_directory': {'key': 'workingDirectory', 'type': 'str'},
'flow_dag_file_relative_path': {'key': 'flowDagFileRelativePath', 'type': 'str'},
'flow_snapshot_id': {'key': 'flowSnapshotId', 'type': 'str'},
'variant_run_to_evaluation_runs_id_mapping': {'key': 'variantRunToEvaluationRunsIdMapping', 'type': '{[str]}'},
}
def __init__(
self,
*,
next_action_interval_in_seconds: Optional[int] = None,
action_type: Optional[Union[str, "ActionType"]] = None,
flow_runs: Optional[List[Any]] = None,
node_runs: Optional[List[Any]] = None,
error_response: Optional["ErrorResponse"] = None,
flow_name: Optional[str] = None,
flow_run_display_name: Optional[str] = None,
flow_run_id: Optional[str] = None,
flow_graph: Optional["FlowGraph"] = None,
flow_graph_layout: Optional["FlowGraphLayout"] = None,
flow_run_resource_id: Optional[str] = None,
bulk_test_id: Optional[str] = None,
batch_inputs: Optional[List[Dict[str, Any]]] = None,
batch_data_input: Optional["BatchDataInput"] = None,
created_by: Optional["SchemaContractsCreatedBy"] = None,
created_on: Optional[datetime.datetime] = None,
flow_run_type: Optional[Union[str, "FlowRunTypeEnum"]] = None,
flow_type: Optional[Union[str, "FlowType"]] = None,
runtime_name: Optional[str] = None,
aml_compute_name: Optional[str] = None,
flow_run_logs: Optional[Dict[str, str]] = None,
flow_test_mode: Optional[Union[str, "FlowTestMode"]] = None,
flow_test_infos: Optional[Dict[str, "FlowTestInfo"]] = None,
working_directory: Optional[str] = None,
flow_dag_file_relative_path: Optional[str] = None,
flow_snapshot_id: Optional[str] = None,
variant_run_to_evaluation_runs_id_mapping: Optional[Dict[str, List[str]]] = None,
**kwargs
):
"""
:keyword next_action_interval_in_seconds:
:paramtype next_action_interval_in_seconds: int
:keyword action_type: Possible values include: "SendValidationRequest", "GetValidationStatus",
"SubmitBulkRun", "LogRunResult", "LogRunTerminatedEvent".
:paramtype action_type: str or ~flow.models.ActionType
:keyword flow_runs:
:paramtype flow_runs: list[any]
:keyword node_runs:
:paramtype node_runs: list[any]
:keyword error_response: The error response.
:paramtype error_response: ~flow.models.ErrorResponse
:keyword flow_name:
:paramtype flow_name: str
:keyword flow_run_display_name:
:paramtype flow_run_display_name: str
:keyword flow_run_id:
:paramtype flow_run_id: str
:keyword flow_graph:
:paramtype flow_graph: ~flow.models.FlowGraph
:keyword flow_graph_layout:
:paramtype flow_graph_layout: ~flow.models.FlowGraphLayout
:keyword flow_run_resource_id:
:paramtype flow_run_resource_id: str
:keyword bulk_test_id:
:paramtype bulk_test_id: str
:keyword batch_inputs:
:paramtype batch_inputs: list[dict[str, any]]
:keyword batch_data_input:
:paramtype batch_data_input: ~flow.models.BatchDataInput
:keyword created_by:
:paramtype created_by: ~flow.models.SchemaContractsCreatedBy
:keyword created_on:
:paramtype created_on: ~datetime.datetime
:keyword flow_run_type: Possible values include: "FlowRun", "EvaluationRun",
"PairwiseEvaluationRun", "SingleNodeRun", "FromNodeRun".
:paramtype flow_run_type: str or ~flow.models.FlowRunTypeEnum
:keyword flow_type: Possible values include: "Default", "Evaluation", "Chat", "Rag".
:paramtype flow_type: str or ~flow.models.FlowType
:keyword runtime_name:
:paramtype runtime_name: str
:keyword aml_compute_name:
:paramtype aml_compute_name: str
:keyword flow_run_logs: Dictionary of :code:`<string>`.
:paramtype flow_run_logs: dict[str, str]
:keyword flow_test_mode: Possible values include: "Sync", "Async".
:paramtype flow_test_mode: str or ~flow.models.FlowTestMode
:keyword flow_test_infos: Dictionary of :code:`<FlowTestInfo>`.
:paramtype flow_test_infos: dict[str, ~flow.models.FlowTestInfo]
:keyword working_directory:
:paramtype working_directory: str
:keyword flow_dag_file_relative_path:
:paramtype flow_dag_file_relative_path: str
:keyword flow_snapshot_id:
:paramtype flow_snapshot_id: str
:keyword variant_run_to_evaluation_runs_id_mapping: Dictionary of
<components·1mlssi7·schemas·submitbulkrunresponse·properties·variantruntoevaluationrunsidmapping·additionalproperties>.
:paramtype variant_run_to_evaluation_runs_id_mapping: dict[str, list[str]]
"""
super(SubmitBulkRunResponse, self).__init__(**kwargs)
self.next_action_interval_in_seconds = next_action_interval_in_seconds
self.action_type = action_type
self.flow_runs = flow_runs
self.node_runs = node_runs
self.error_response = error_response
self.flow_name = flow_name
self.flow_run_display_name = flow_run_display_name
self.flow_run_id = flow_run_id
self.flow_graph = flow_graph
self.flow_graph_layout = flow_graph_layout
self.flow_run_resource_id = flow_run_resource_id
self.bulk_test_id = bulk_test_id
self.batch_inputs = batch_inputs
self.batch_data_input = batch_data_input
self.created_by = created_by
self.created_on = created_on
self.flow_run_type = flow_run_type
self.flow_type = flow_type
self.runtime_name = runtime_name
self.aml_compute_name = aml_compute_name
self.flow_run_logs = flow_run_logs
self.flow_test_mode = flow_test_mode
self.flow_test_infos = flow_test_infos
self.working_directory = working_directory
self.flow_dag_file_relative_path = flow_dag_file_relative_path
self.flow_snapshot_id = flow_snapshot_id
self.variant_run_to_evaluation_runs_id_mapping = variant_run_to_evaluation_runs_id_mapping
class SubmitFlowRequest(msrest.serialization.Model):
"""SubmitFlowRequest.
:ivar flow_run_id:
:vartype flow_run_id: str
:ivar flow_run_display_name:
:vartype flow_run_display_name: str
:ivar flow_id:
:vartype flow_id: str
:ivar flow:
:vartype flow: ~flow.models.Flow
:ivar flow_submit_run_settings:
:vartype flow_submit_run_settings: ~flow.models.FlowSubmitRunSettings
:ivar async_submission:
:vartype async_submission: bool
:ivar use_workspace_connection:
:vartype use_workspace_connection: bool
:ivar use_flow_snapshot_to_submit:
:vartype use_flow_snapshot_to_submit: bool
:ivar enable_blob_run_artifacts:
:vartype enable_blob_run_artifacts: bool
:ivar enable_async_flow_test:
:vartype enable_async_flow_test: bool
:ivar flow_runtime_submission_api_version: Possible values include: "Version1", "Version2".
:vartype flow_runtime_submission_api_version: str or
~flow.models.FlowRuntimeSubmissionApiVersion
:ivar run_display_name_generation_type: Possible values include: "AutoAppend",
"UserProvidedMacro".
:vartype run_display_name_generation_type: str or ~flow.models.RunDisplayNameGenerationType
"""
_attribute_map = {
'flow_run_id': {'key': 'flowRunId', 'type': 'str'},
'flow_run_display_name': {'key': 'flowRunDisplayName', 'type': 'str'},
'flow_id': {'key': 'flowId', 'type': 'str'},
'flow': {'key': 'flow', 'type': 'Flow'},
'flow_submit_run_settings': {'key': 'flowSubmitRunSettings', 'type': 'FlowSubmitRunSettings'},
'async_submission': {'key': 'asyncSubmission', 'type': 'bool'},
'use_workspace_connection': {'key': 'useWorkspaceConnection', 'type': 'bool'},
'use_flow_snapshot_to_submit': {'key': 'useFlowSnapshotToSubmit', 'type': 'bool'},
'enable_blob_run_artifacts': {'key': 'enableBlobRunArtifacts', 'type': 'bool'},
'enable_async_flow_test': {'key': 'enableAsyncFlowTest', 'type': 'bool'},
'flow_runtime_submission_api_version': {'key': 'flowRuntimeSubmissionApiVersion', 'type': 'str'},
'run_display_name_generation_type': {'key': 'runDisplayNameGenerationType', 'type': 'str'},
}
def __init__(
self,
*,
flow_run_id: Optional[str] = None,
flow_run_display_name: Optional[str] = None,
flow_id: Optional[str] = None,
flow: Optional["Flow"] = None,
flow_submit_run_settings: Optional["FlowSubmitRunSettings"] = None,
async_submission: Optional[bool] = None,
use_workspace_connection: Optional[bool] = None,
use_flow_snapshot_to_submit: Optional[bool] = None,
enable_blob_run_artifacts: Optional[bool] = None,
enable_async_flow_test: Optional[bool] = None,
flow_runtime_submission_api_version: Optional[Union[str, "FlowRuntimeSubmissionApiVersion"]] = None,
run_display_name_generation_type: Optional[Union[str, "RunDisplayNameGenerationType"]] = None,
**kwargs
):
"""
:keyword flow_run_id:
:paramtype flow_run_id: str
:keyword flow_run_display_name:
:paramtype flow_run_display_name: str
:keyword flow_id:
:paramtype flow_id: str
:keyword flow:
:paramtype flow: ~flow.models.Flow
:keyword flow_submit_run_settings:
:paramtype flow_submit_run_settings: ~flow.models.FlowSubmitRunSettings
:keyword async_submission:
:paramtype async_submission: bool
:keyword use_workspace_connection:
:paramtype use_workspace_connection: bool
:keyword use_flow_snapshot_to_submit:
:paramtype use_flow_snapshot_to_submit: bool
:keyword enable_blob_run_artifacts:
:paramtype enable_blob_run_artifacts: bool
:keyword enable_async_flow_test:
:paramtype enable_async_flow_test: bool
:keyword flow_runtime_submission_api_version: Possible values include: "Version1", "Version2".
:paramtype flow_runtime_submission_api_version: str or
~flow.models.FlowRuntimeSubmissionApiVersion
:keyword run_display_name_generation_type: Possible values include: "AutoAppend",
"UserProvidedMacro".
:paramtype run_display_name_generation_type: str or ~flow.models.RunDisplayNameGenerationType
"""
super(SubmitFlowRequest, self).__init__(**kwargs)
self.flow_run_id = flow_run_id
self.flow_run_display_name = flow_run_display_name
self.flow_id = flow_id
self.flow = flow
self.flow_submit_run_settings = flow_submit_run_settings
self.async_submission = async_submission
self.use_workspace_connection = use_workspace_connection
self.use_flow_snapshot_to_submit = use_flow_snapshot_to_submit
self.enable_blob_run_artifacts = enable_blob_run_artifacts
self.enable_async_flow_test = enable_async_flow_test
self.flow_runtime_submission_api_version = flow_runtime_submission_api_version
self.run_display_name_generation_type = run_display_name_generation_type
class SubmitPipelineRunRequest(msrest.serialization.Model):
"""SubmitPipelineRunRequest.
:ivar compute_target:
:vartype compute_target: str
:ivar flattened_sub_graphs: Dictionary of :code:`<PipelineSubDraft>`.
:vartype flattened_sub_graphs: dict[str, ~flow.models.PipelineSubDraft]
:ivar step_tags: This is a dictionary.
:vartype step_tags: dict[str, str]
:ivar experiment_name:
:vartype experiment_name: str
:ivar pipeline_parameters: This is a dictionary.
:vartype pipeline_parameters: dict[str, str]
:ivar data_path_assignments: This is a dictionary.
:vartype data_path_assignments: dict[str, ~flow.models.LegacyDataPath]
:ivar data_set_definition_value_assignments: This is a dictionary.
:vartype data_set_definition_value_assignments: dict[str, ~flow.models.DataSetDefinitionValue]
:ivar asset_output_settings_assignments: This is a dictionary.
:vartype asset_output_settings_assignments: dict[str, ~flow.models.AssetOutputSettings]
:ivar enable_notification:
:vartype enable_notification: bool
:ivar sub_pipelines_info:
:vartype sub_pipelines_info: ~flow.models.SubPipelinesInfo
:ivar display_name:
:vartype display_name: str
:ivar run_id:
:vartype run_id: str
:ivar parent_run_id:
:vartype parent_run_id: str
:ivar graph:
:vartype graph: ~flow.models.GraphDraftEntity
:ivar pipeline_run_settings:
:vartype pipeline_run_settings: list[~flow.models.RunSettingParameterAssignment]
:ivar module_node_run_settings:
:vartype module_node_run_settings: list[~flow.models.GraphModuleNodeRunSetting]
:ivar module_node_ui_input_settings:
:vartype module_node_ui_input_settings: list[~flow.models.GraphModuleNodeUIInputSetting]
:ivar tags: A set of tags. This is a dictionary.
:vartype tags: dict[str, str]
:ivar continue_run_on_step_failure:
:vartype continue_run_on_step_failure: bool
:ivar description:
:vartype description: str
:ivar properties: This is a dictionary.
:vartype properties: dict[str, str]
:ivar enforce_rerun:
:vartype enforce_rerun: bool
:ivar dataset_access_modes: Possible values include: "Default", "DatasetInDpv2", "AssetInDpv2",
"DatasetInDesignerUI", "DatasetInDpv2WithDatasetInDesignerUI", "Dataset",
"AssetInDpv2WithDatasetInDesignerUI", "DatasetAndAssetInDpv2WithDatasetInDesignerUI",
"AssetInDesignerUI", "AssetInDpv2WithAssetInDesignerUI", "Asset".
:vartype dataset_access_modes: str or ~flow.models.DatasetAccessModes
"""
_attribute_map = {
'compute_target': {'key': 'computeTarget', 'type': 'str'},
'flattened_sub_graphs': {'key': 'flattenedSubGraphs', 'type': '{PipelineSubDraft}'},
'step_tags': {'key': 'stepTags', 'type': '{str}'},
'experiment_name': {'key': 'experimentName', 'type': 'str'},
'pipeline_parameters': {'key': 'pipelineParameters', 'type': '{str}'},
'data_path_assignments': {'key': 'dataPathAssignments', 'type': '{LegacyDataPath}'},
'data_set_definition_value_assignments': {'key': 'dataSetDefinitionValueAssignments', 'type': '{DataSetDefinitionValue}'},
'asset_output_settings_assignments': {'key': 'assetOutputSettingsAssignments', 'type': '{AssetOutputSettings}'},
'enable_notification': {'key': 'enableNotification', 'type': 'bool'},
'sub_pipelines_info': {'key': 'subPipelinesInfo', 'type': 'SubPipelinesInfo'},
'display_name': {'key': 'displayName', 'type': 'str'},
'run_id': {'key': 'runId', 'type': 'str'},
'parent_run_id': {'key': 'parentRunId', 'type': 'str'},
'graph': {'key': 'graph', 'type': 'GraphDraftEntity'},
'pipeline_run_settings': {'key': 'pipelineRunSettings', 'type': '[RunSettingParameterAssignment]'},
'module_node_run_settings': {'key': 'moduleNodeRunSettings', 'type': '[GraphModuleNodeRunSetting]'},
'module_node_ui_input_settings': {'key': 'moduleNodeUIInputSettings', 'type': '[GraphModuleNodeUIInputSetting]'},
'tags': {'key': 'tags', 'type': '{str}'},
'continue_run_on_step_failure': {'key': 'continueRunOnStepFailure', 'type': 'bool'},
'description': {'key': 'description', 'type': 'str'},
'properties': {'key': 'properties', 'type': '{str}'},
'enforce_rerun': {'key': 'enforceRerun', 'type': 'bool'},
'dataset_access_modes': {'key': 'datasetAccessModes', 'type': 'str'},
}
def __init__(
self,
*,
compute_target: Optional[str] = None,
flattened_sub_graphs: Optional[Dict[str, "PipelineSubDraft"]] = None,
step_tags: Optional[Dict[str, str]] = None,
experiment_name: Optional[str] = None,
pipeline_parameters: Optional[Dict[str, str]] = None,
data_path_assignments: Optional[Dict[str, "LegacyDataPath"]] = None,
data_set_definition_value_assignments: Optional[Dict[str, "DataSetDefinitionValue"]] = None,
asset_output_settings_assignments: Optional[Dict[str, "AssetOutputSettings"]] = None,
enable_notification: Optional[bool] = None,
sub_pipelines_info: Optional["SubPipelinesInfo"] = None,
display_name: Optional[str] = None,
run_id: Optional[str] = None,
parent_run_id: Optional[str] = None,
graph: Optional["GraphDraftEntity"] = None,
pipeline_run_settings: Optional[List["RunSettingParameterAssignment"]] = None,
module_node_run_settings: Optional[List["GraphModuleNodeRunSetting"]] = None,
module_node_ui_input_settings: Optional[List["GraphModuleNodeUIInputSetting"]] = None,
tags: Optional[Dict[str, str]] = None,
continue_run_on_step_failure: Optional[bool] = None,
description: Optional[str] = None,
properties: Optional[Dict[str, str]] = None,
enforce_rerun: Optional[bool] = None,
dataset_access_modes: Optional[Union[str, "DatasetAccessModes"]] = None,
**kwargs
):
"""
:keyword compute_target:
:paramtype compute_target: str
:keyword flattened_sub_graphs: Dictionary of :code:`<PipelineSubDraft>`.
:paramtype flattened_sub_graphs: dict[str, ~flow.models.PipelineSubDraft]
:keyword step_tags: This is a dictionary.
:paramtype step_tags: dict[str, str]
:keyword experiment_name:
:paramtype experiment_name: str
:keyword pipeline_parameters: This is a dictionary.
:paramtype pipeline_parameters: dict[str, str]
:keyword data_path_assignments: This is a dictionary.
:paramtype data_path_assignments: dict[str, ~flow.models.LegacyDataPath]
:keyword data_set_definition_value_assignments: This is a dictionary.
:paramtype data_set_definition_value_assignments: dict[str,
~flow.models.DataSetDefinitionValue]
:keyword asset_output_settings_assignments: This is a dictionary.
:paramtype asset_output_settings_assignments: dict[str, ~flow.models.AssetOutputSettings]
:keyword enable_notification:
:paramtype enable_notification: bool
:keyword sub_pipelines_info:
:paramtype sub_pipelines_info: ~flow.models.SubPipelinesInfo
:keyword display_name:
:paramtype display_name: str
:keyword run_id:
:paramtype run_id: str
:keyword parent_run_id:
:paramtype parent_run_id: str
:keyword graph:
:paramtype graph: ~flow.models.GraphDraftEntity
:keyword pipeline_run_settings:
:paramtype pipeline_run_settings: list[~flow.models.RunSettingParameterAssignment]
:keyword module_node_run_settings:
:paramtype module_node_run_settings: list[~flow.models.GraphModuleNodeRunSetting]
:keyword module_node_ui_input_settings:
:paramtype module_node_ui_input_settings: list[~flow.models.GraphModuleNodeUIInputSetting]
:keyword tags: A set of tags. This is a dictionary.
:paramtype tags: dict[str, str]
:keyword continue_run_on_step_failure:
:paramtype continue_run_on_step_failure: bool
:keyword description:
:paramtype description: str
:keyword properties: This is a dictionary.
:paramtype properties: dict[str, str]
:keyword enforce_rerun:
:paramtype enforce_rerun: bool
:keyword dataset_access_modes: Possible values include: "Default", "DatasetInDpv2",
"AssetInDpv2", "DatasetInDesignerUI", "DatasetInDpv2WithDatasetInDesignerUI", "Dataset",
"AssetInDpv2WithDatasetInDesignerUI", "DatasetAndAssetInDpv2WithDatasetInDesignerUI",
"AssetInDesignerUI", "AssetInDpv2WithAssetInDesignerUI", "Asset".
:paramtype dataset_access_modes: str or ~flow.models.DatasetAccessModes
"""
super(SubmitPipelineRunRequest, self).__init__(**kwargs)
self.compute_target = compute_target
self.flattened_sub_graphs = flattened_sub_graphs
self.step_tags = step_tags
self.experiment_name = experiment_name
self.pipeline_parameters = pipeline_parameters
self.data_path_assignments = data_path_assignments
self.data_set_definition_value_assignments = data_set_definition_value_assignments
self.asset_output_settings_assignments = asset_output_settings_assignments
self.enable_notification = enable_notification
self.sub_pipelines_info = sub_pipelines_info
self.display_name = display_name
self.run_id = run_id
self.parent_run_id = parent_run_id
self.graph = graph
self.pipeline_run_settings = pipeline_run_settings
self.module_node_run_settings = module_node_run_settings
self.module_node_ui_input_settings = module_node_ui_input_settings
self.tags = tags
self.continue_run_on_step_failure = continue_run_on_step_failure
self.description = description
self.properties = properties
self.enforce_rerun = enforce_rerun
self.dataset_access_modes = dataset_access_modes
class SubPipelineDefinition(msrest.serialization.Model):
"""SubPipelineDefinition.
:ivar name:
:vartype name: str
:ivar description:
:vartype description: str
:ivar default_compute_target:
:vartype default_compute_target: ~flow.models.ComputeSetting
:ivar default_data_store:
:vartype default_data_store: ~flow.models.DatastoreSetting
:ivar pipeline_function_name:
:vartype pipeline_function_name: str
:ivar id:
:vartype id: str
:ivar parent_definition_id:
:vartype parent_definition_id: str
:ivar from_module_name:
:vartype from_module_name: str
:ivar parameter_list:
:vartype parameter_list: list[~flow.models.Kwarg]
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'default_compute_target': {'key': 'defaultComputeTarget', 'type': 'ComputeSetting'},
'default_data_store': {'key': 'defaultDataStore', 'type': 'DatastoreSetting'},
'pipeline_function_name': {'key': 'pipelineFunctionName', 'type': 'str'},
'id': {'key': 'id', 'type': 'str'},
'parent_definition_id': {'key': 'parentDefinitionId', 'type': 'str'},
'from_module_name': {'key': 'fromModuleName', 'type': 'str'},
'parameter_list': {'key': 'parameterList', 'type': '[Kwarg]'},
}
def __init__(
self,
*,
name: Optional[str] = None,
description: Optional[str] = None,
default_compute_target: Optional["ComputeSetting"] = None,
default_data_store: Optional["DatastoreSetting"] = None,
pipeline_function_name: Optional[str] = None,
id: Optional[str] = None,
parent_definition_id: Optional[str] = None,
from_module_name: Optional[str] = None,
parameter_list: Optional[List["Kwarg"]] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword description:
:paramtype description: str
:keyword default_compute_target:
:paramtype default_compute_target: ~flow.models.ComputeSetting
:keyword default_data_store:
:paramtype default_data_store: ~flow.models.DatastoreSetting
:keyword pipeline_function_name:
:paramtype pipeline_function_name: str
:keyword id:
:paramtype id: str
:keyword parent_definition_id:
:paramtype parent_definition_id: str
:keyword from_module_name:
:paramtype from_module_name: str
:keyword parameter_list:
:paramtype parameter_list: list[~flow.models.Kwarg]
"""
super(SubPipelineDefinition, self).__init__(**kwargs)
self.name = name
self.description = description
self.default_compute_target = default_compute_target
self.default_data_store = default_data_store
self.pipeline_function_name = pipeline_function_name
self.id = id
self.parent_definition_id = parent_definition_id
self.from_module_name = from_module_name
self.parameter_list = parameter_list
class SubPipelineParameterAssignment(msrest.serialization.Model):
"""SubPipelineParameterAssignment.
:ivar node_id:
:vartype node_id: str
:ivar parameter_name:
:vartype parameter_name: str
"""
_attribute_map = {
'node_id': {'key': 'nodeId', 'type': 'str'},
'parameter_name': {'key': 'parameterName', 'type': 'str'},
}
def __init__(
self,
*,
node_id: Optional[str] = None,
parameter_name: Optional[str] = None,
**kwargs
):
"""
:keyword node_id:
:paramtype node_id: str
:keyword parameter_name:
:paramtype parameter_name: str
"""
super(SubPipelineParameterAssignment, self).__init__(**kwargs)
self.node_id = node_id
self.parameter_name = parameter_name
class SubPipelinesInfo(msrest.serialization.Model):
"""SubPipelinesInfo.
:ivar sub_graph_info:
:vartype sub_graph_info: list[~flow.models.SubGraphInfo]
:ivar node_id_to_sub_graph_id_mapping: Dictionary of :code:`<string>`.
:vartype node_id_to_sub_graph_id_mapping: dict[str, str]
:ivar sub_pipeline_definition:
:vartype sub_pipeline_definition: list[~flow.models.SubPipelineDefinition]
"""
_attribute_map = {
'sub_graph_info': {'key': 'subGraphInfo', 'type': '[SubGraphInfo]'},
'node_id_to_sub_graph_id_mapping': {'key': 'nodeIdToSubGraphIdMapping', 'type': '{str}'},
'sub_pipeline_definition': {'key': 'subPipelineDefinition', 'type': '[SubPipelineDefinition]'},
}
def __init__(
self,
*,
sub_graph_info: Optional[List["SubGraphInfo"]] = None,
node_id_to_sub_graph_id_mapping: Optional[Dict[str, str]] = None,
sub_pipeline_definition: Optional[List["SubPipelineDefinition"]] = None,
**kwargs
):
"""
:keyword sub_graph_info:
:paramtype sub_graph_info: list[~flow.models.SubGraphInfo]
:keyword node_id_to_sub_graph_id_mapping: Dictionary of :code:`<string>`.
:paramtype node_id_to_sub_graph_id_mapping: dict[str, str]
:keyword sub_pipeline_definition:
:paramtype sub_pipeline_definition: list[~flow.models.SubPipelineDefinition]
"""
super(SubPipelinesInfo, self).__init__(**kwargs)
self.sub_graph_info = sub_graph_info
self.node_id_to_sub_graph_id_mapping = node_id_to_sub_graph_id_mapping
self.sub_pipeline_definition = sub_pipeline_definition
class SubStatusPeriod(msrest.serialization.Model):
"""SubStatusPeriod.
:ivar name:
:vartype name: str
:ivar sub_periods:
:vartype sub_periods: list[~flow.models.SubStatusPeriod]
:ivar start:
:vartype start: long
:ivar end:
:vartype end: long
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'sub_periods': {'key': 'subPeriods', 'type': '[SubStatusPeriod]'},
'start': {'key': 'start', 'type': 'long'},
'end': {'key': 'end', 'type': 'long'},
}
def __init__(
self,
*,
name: Optional[str] = None,
sub_periods: Optional[List["SubStatusPeriod"]] = None,
start: Optional[int] = None,
end: Optional[int] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword sub_periods:
:paramtype sub_periods: list[~flow.models.SubStatusPeriod]
:keyword start:
:paramtype start: long
:keyword end:
:paramtype end: long
"""
super(SubStatusPeriod, self).__init__(**kwargs)
self.name = name
self.sub_periods = sub_periods
self.start = start
self.end = end
class SweepEarlyTerminationPolicy(msrest.serialization.Model):
"""SweepEarlyTerminationPolicy.
:ivar policy_type: Possible values include: "Bandit", "MedianStopping", "TruncationSelection".
:vartype policy_type: str or ~flow.models.EarlyTerminationPolicyType
:ivar evaluation_interval:
:vartype evaluation_interval: int
:ivar delay_evaluation:
:vartype delay_evaluation: int
:ivar slack_factor:
:vartype slack_factor: float
:ivar slack_amount:
:vartype slack_amount: float
:ivar truncation_percentage:
:vartype truncation_percentage: int
"""
_attribute_map = {
'policy_type': {'key': 'policyType', 'type': 'str'},
'evaluation_interval': {'key': 'evaluationInterval', 'type': 'int'},
'delay_evaluation': {'key': 'delayEvaluation', 'type': 'int'},
'slack_factor': {'key': 'slackFactor', 'type': 'float'},
'slack_amount': {'key': 'slackAmount', 'type': 'float'},
'truncation_percentage': {'key': 'truncationPercentage', 'type': 'int'},
}
def __init__(
self,
*,
policy_type: Optional[Union[str, "EarlyTerminationPolicyType"]] = None,
evaluation_interval: Optional[int] = None,
delay_evaluation: Optional[int] = None,
slack_factor: Optional[float] = None,
slack_amount: Optional[float] = None,
truncation_percentage: Optional[int] = None,
**kwargs
):
"""
:keyword policy_type: Possible values include: "Bandit", "MedianStopping",
"TruncationSelection".
:paramtype policy_type: str or ~flow.models.EarlyTerminationPolicyType
:keyword evaluation_interval:
:paramtype evaluation_interval: int
:keyword delay_evaluation:
:paramtype delay_evaluation: int
:keyword slack_factor:
:paramtype slack_factor: float
:keyword slack_amount:
:paramtype slack_amount: float
:keyword truncation_percentage:
:paramtype truncation_percentage: int
"""
super(SweepEarlyTerminationPolicy, self).__init__(**kwargs)
self.policy_type = policy_type
self.evaluation_interval = evaluation_interval
self.delay_evaluation = delay_evaluation
self.slack_factor = slack_factor
self.slack_amount = slack_amount
self.truncation_percentage = truncation_percentage
class SweepSettings(msrest.serialization.Model):
"""SweepSettings.
:ivar limits:
:vartype limits: ~flow.models.SweepSettingsLimits
:ivar search_space:
:vartype search_space: list[dict[str, str]]
:ivar sampling_algorithm: Possible values include: "Random", "Grid", "Bayesian".
:vartype sampling_algorithm: str or ~flow.models.SamplingAlgorithmType
:ivar early_termination:
:vartype early_termination: ~flow.models.SweepEarlyTerminationPolicy
"""
_attribute_map = {
'limits': {'key': 'limits', 'type': 'SweepSettingsLimits'},
'search_space': {'key': 'searchSpace', 'type': '[{str}]'},
'sampling_algorithm': {'key': 'samplingAlgorithm', 'type': 'str'},
'early_termination': {'key': 'earlyTermination', 'type': 'SweepEarlyTerminationPolicy'},
}
def __init__(
self,
*,
limits: Optional["SweepSettingsLimits"] = None,
search_space: Optional[List[Dict[str, str]]] = None,
sampling_algorithm: Optional[Union[str, "SamplingAlgorithmType"]] = None,
early_termination: Optional["SweepEarlyTerminationPolicy"] = None,
**kwargs
):
"""
:keyword limits:
:paramtype limits: ~flow.models.SweepSettingsLimits
:keyword search_space:
:paramtype search_space: list[dict[str, str]]
:keyword sampling_algorithm: Possible values include: "Random", "Grid", "Bayesian".
:paramtype sampling_algorithm: str or ~flow.models.SamplingAlgorithmType
:keyword early_termination:
:paramtype early_termination: ~flow.models.SweepEarlyTerminationPolicy
"""
super(SweepSettings, self).__init__(**kwargs)
self.limits = limits
self.search_space = search_space
self.sampling_algorithm = sampling_algorithm
self.early_termination = early_termination
class SweepSettingsLimits(msrest.serialization.Model):
"""SweepSettingsLimits.
:ivar max_total_trials:
:vartype max_total_trials: int
:ivar max_concurrent_trials:
:vartype max_concurrent_trials: int
"""
_attribute_map = {
'max_total_trials': {'key': 'maxTotalTrials', 'type': 'int'},
'max_concurrent_trials': {'key': 'maxConcurrentTrials', 'type': 'int'},
}
def __init__(
self,
*,
max_total_trials: Optional[int] = None,
max_concurrent_trials: Optional[int] = None,
**kwargs
):
"""
:keyword max_total_trials:
:paramtype max_total_trials: int
:keyword max_concurrent_trials:
:paramtype max_concurrent_trials: int
"""
super(SweepSettingsLimits, self).__init__(**kwargs)
self.max_total_trials = max_total_trials
self.max_concurrent_trials = max_concurrent_trials
class SystemData(msrest.serialization.Model):
"""SystemData.
:ivar created_at:
:vartype created_at: ~datetime.datetime
:ivar created_by:
:vartype created_by: str
:ivar created_by_type: Possible values include: "User", "Application", "ManagedIdentity",
"Key".
:vartype created_by_type: str or ~flow.models.UserType
:ivar last_modified_at:
:vartype last_modified_at: ~datetime.datetime
:ivar last_modified_by:
:vartype last_modified_by: str
:ivar last_modified_by_type: Possible values include: "User", "Application", "ManagedIdentity",
"Key".
:vartype last_modified_by_type: str or ~flow.models.UserType
"""
_attribute_map = {
'created_at': {'key': 'createdAt', 'type': 'iso-8601'},
'created_by': {'key': 'createdBy', 'type': 'str'},
'created_by_type': {'key': 'createdByType', 'type': 'str'},
'last_modified_at': {'key': 'lastModifiedAt', 'type': 'iso-8601'},
'last_modified_by': {'key': 'lastModifiedBy', 'type': 'str'},
'last_modified_by_type': {'key': 'lastModifiedByType', 'type': 'str'},
}
def __init__(
self,
*,
created_at: Optional[datetime.datetime] = None,
created_by: Optional[str] = None,
created_by_type: Optional[Union[str, "UserType"]] = None,
last_modified_at: Optional[datetime.datetime] = None,
last_modified_by: Optional[str] = None,
last_modified_by_type: Optional[Union[str, "UserType"]] = None,
**kwargs
):
"""
:keyword created_at:
:paramtype created_at: ~datetime.datetime
:keyword created_by:
:paramtype created_by: str
:keyword created_by_type: Possible values include: "User", "Application", "ManagedIdentity",
"Key".
:paramtype created_by_type: str or ~flow.models.UserType
:keyword last_modified_at:
:paramtype last_modified_at: ~datetime.datetime
:keyword last_modified_by:
:paramtype last_modified_by: str
:keyword last_modified_by_type: Possible values include: "User", "Application",
"ManagedIdentity", "Key".
:paramtype last_modified_by_type: str or ~flow.models.UserType
"""
super(SystemData, self).__init__(**kwargs)
self.created_at = created_at
self.created_by = created_by
self.created_by_type = created_by_type
self.last_modified_at = last_modified_at
self.last_modified_by = last_modified_by
self.last_modified_by_type = last_modified_by_type
class SystemMeta(msrest.serialization.Model):
"""SystemMeta.
:ivar identifier_hash:
:vartype identifier_hash: str
:ivar extra_hash:
:vartype extra_hash: str
:ivar content_hash:
:vartype content_hash: str
:ivar identifier_hashes:
:vartype identifier_hashes: ~flow.models.SystemMetaIdentifierHashes
:ivar extra_hashes:
:vartype extra_hashes: ~flow.models.SystemMetaExtraHashes
"""
_attribute_map = {
'identifier_hash': {'key': 'identifierHash', 'type': 'str'},
'extra_hash': {'key': 'extraHash', 'type': 'str'},
'content_hash': {'key': 'contentHash', 'type': 'str'},
'identifier_hashes': {'key': 'identifierHashes', 'type': 'SystemMetaIdentifierHashes'},
'extra_hashes': {'key': 'extraHashes', 'type': 'SystemMetaExtraHashes'},
}
def __init__(
self,
*,
identifier_hash: Optional[str] = None,
extra_hash: Optional[str] = None,
content_hash: Optional[str] = None,
identifier_hashes: Optional["SystemMetaIdentifierHashes"] = None,
extra_hashes: Optional["SystemMetaExtraHashes"] = None,
**kwargs
):
"""
:keyword identifier_hash:
:paramtype identifier_hash: str
:keyword extra_hash:
:paramtype extra_hash: str
:keyword content_hash:
:paramtype content_hash: str
:keyword identifier_hashes:
:paramtype identifier_hashes: ~flow.models.SystemMetaIdentifierHashes
:keyword extra_hashes:
:paramtype extra_hashes: ~flow.models.SystemMetaExtraHashes
"""
super(SystemMeta, self).__init__(**kwargs)
self.identifier_hash = identifier_hash
self.extra_hash = extra_hash
self.content_hash = content_hash
self.identifier_hashes = identifier_hashes
self.extra_hashes = extra_hashes
class SystemMetaExtraHashes(msrest.serialization.Model):
"""SystemMetaExtraHashes.
:ivar identifier_hash:
:vartype identifier_hash: str
:ivar identifier_hash_v2:
:vartype identifier_hash_v2: str
"""
_attribute_map = {
'identifier_hash': {'key': 'IdentifierHash', 'type': 'str'},
'identifier_hash_v2': {'key': 'IdentifierHashV2', 'type': 'str'},
}
def __init__(
self,
*,
identifier_hash: Optional[str] = None,
identifier_hash_v2: Optional[str] = None,
**kwargs
):
"""
:keyword identifier_hash:
:paramtype identifier_hash: str
:keyword identifier_hash_v2:
:paramtype identifier_hash_v2: str
"""
super(SystemMetaExtraHashes, self).__init__(**kwargs)
self.identifier_hash = identifier_hash
self.identifier_hash_v2 = identifier_hash_v2
class SystemMetaIdentifierHashes(msrest.serialization.Model):
"""SystemMetaIdentifierHashes.
:ivar identifier_hash:
:vartype identifier_hash: str
:ivar identifier_hash_v2:
:vartype identifier_hash_v2: str
"""
_attribute_map = {
'identifier_hash': {'key': 'IdentifierHash', 'type': 'str'},
'identifier_hash_v2': {'key': 'IdentifierHashV2', 'type': 'str'},
}
def __init__(
self,
*,
identifier_hash: Optional[str] = None,
identifier_hash_v2: Optional[str] = None,
**kwargs
):
"""
:keyword identifier_hash:
:paramtype identifier_hash: str
:keyword identifier_hash_v2:
:paramtype identifier_hash_v2: str
"""
super(SystemMetaIdentifierHashes, self).__init__(**kwargs)
self.identifier_hash = identifier_hash
self.identifier_hash_v2 = identifier_hash_v2
class TargetLags(msrest.serialization.Model):
"""TargetLags.
:ivar mode: Possible values include: "Auto", "Custom".
:vartype mode: str or ~flow.models.TargetLagsMode
:ivar values:
:vartype values: list[int]
"""
_attribute_map = {
'mode': {'key': 'mode', 'type': 'str'},
'values': {'key': 'values', 'type': '[int]'},
}
def __init__(
self,
*,
mode: Optional[Union[str, "TargetLagsMode"]] = None,
values: Optional[List[int]] = None,
**kwargs
):
"""
:keyword mode: Possible values include: "Auto", "Custom".
:paramtype mode: str or ~flow.models.TargetLagsMode
:keyword values:
:paramtype values: list[int]
"""
super(TargetLags, self).__init__(**kwargs)
self.mode = mode
self.values = values
class TargetRollingWindowSize(msrest.serialization.Model):
"""TargetRollingWindowSize.
:ivar mode: Possible values include: "Auto", "Custom".
:vartype mode: str or ~flow.models.TargetRollingWindowSizeMode
:ivar value:
:vartype value: int
"""
_attribute_map = {
'mode': {'key': 'mode', 'type': 'str'},
'value': {'key': 'value', 'type': 'int'},
}
def __init__(
self,
*,
mode: Optional[Union[str, "TargetRollingWindowSizeMode"]] = None,
value: Optional[int] = None,
**kwargs
):
"""
:keyword mode: Possible values include: "Auto", "Custom".
:paramtype mode: str or ~flow.models.TargetRollingWindowSizeMode
:keyword value:
:paramtype value: int
"""
super(TargetRollingWindowSize, self).__init__(**kwargs)
self.mode = mode
self.value = value
class TargetSelectorConfiguration(msrest.serialization.Model):
"""TargetSelectorConfiguration.
:ivar low_priority_vm_tolerant:
:vartype low_priority_vm_tolerant: bool
:ivar cluster_block_list:
:vartype cluster_block_list: list[str]
:ivar compute_type:
:vartype compute_type: str
:ivar instance_type:
:vartype instance_type: list[str]
:ivar instance_types:
:vartype instance_types: list[str]
:ivar my_resource_only:
:vartype my_resource_only: bool
:ivar plan_id:
:vartype plan_id: str
:ivar plan_region_id:
:vartype plan_region_id: str
:ivar region:
:vartype region: list[str]
:ivar regions:
:vartype regions: list[str]
:ivar vc_block_list:
:vartype vc_block_list: list[str]
"""
_attribute_map = {
'low_priority_vm_tolerant': {'key': 'lowPriorityVMTolerant', 'type': 'bool'},
'cluster_block_list': {'key': 'clusterBlockList', 'type': '[str]'},
'compute_type': {'key': 'computeType', 'type': 'str'},
'instance_type': {'key': 'instanceType', 'type': '[str]'},
'instance_types': {'key': 'instanceTypes', 'type': '[str]'},
'my_resource_only': {'key': 'myResourceOnly', 'type': 'bool'},
'plan_id': {'key': 'planId', 'type': 'str'},
'plan_region_id': {'key': 'planRegionId', 'type': 'str'},
'region': {'key': 'region', 'type': '[str]'},
'regions': {'key': 'regions', 'type': '[str]'},
'vc_block_list': {'key': 'vcBlockList', 'type': '[str]'},
}
def __init__(
self,
*,
low_priority_vm_tolerant: Optional[bool] = None,
cluster_block_list: Optional[List[str]] = None,
compute_type: Optional[str] = None,
instance_type: Optional[List[str]] = None,
instance_types: Optional[List[str]] = None,
my_resource_only: Optional[bool] = None,
plan_id: Optional[str] = None,
plan_region_id: Optional[str] = None,
region: Optional[List[str]] = None,
regions: Optional[List[str]] = None,
vc_block_list: Optional[List[str]] = None,
**kwargs
):
"""
:keyword low_priority_vm_tolerant:
:paramtype low_priority_vm_tolerant: bool
:keyword cluster_block_list:
:paramtype cluster_block_list: list[str]
:keyword compute_type:
:paramtype compute_type: str
:keyword instance_type:
:paramtype instance_type: list[str]
:keyword instance_types:
:paramtype instance_types: list[str]
:keyword my_resource_only:
:paramtype my_resource_only: bool
:keyword plan_id:
:paramtype plan_id: str
:keyword plan_region_id:
:paramtype plan_region_id: str
:keyword region:
:paramtype region: list[str]
:keyword regions:
:paramtype regions: list[str]
:keyword vc_block_list:
:paramtype vc_block_list: list[str]
"""
super(TargetSelectorConfiguration, self).__init__(**kwargs)
self.low_priority_vm_tolerant = low_priority_vm_tolerant
self.cluster_block_list = cluster_block_list
self.compute_type = compute_type
self.instance_type = instance_type
self.instance_types = instance_types
self.my_resource_only = my_resource_only
self.plan_id = plan_id
self.plan_region_id = plan_region_id
self.region = region
self.regions = regions
self.vc_block_list = vc_block_list
class Task(msrest.serialization.Model):
"""Task.
Variables are only populated by the server, and will be ignored when sending a request.
:ivar id:
:vartype id: int
:ivar exception: Anything.
:vartype exception: any
:ivar status: Possible values include: "Created", "WaitingForActivation", "WaitingToRun",
"Running", "WaitingForChildrenToComplete", "RanToCompletion", "Canceled", "Faulted".
:vartype status: str or ~flow.models.TaskStatus
:ivar is_canceled:
:vartype is_canceled: bool
:ivar is_completed:
:vartype is_completed: bool
:ivar is_completed_successfully:
:vartype is_completed_successfully: bool
:ivar creation_options: Possible values include: "None", "PreferFairness", "LongRunning",
"AttachedToParent", "DenyChildAttach", "HideScheduler", "RunContinuationsAsynchronously".
:vartype creation_options: str or ~flow.models.TaskCreationOptions
:ivar async_state: Anything.
:vartype async_state: any
:ivar is_faulted:
:vartype is_faulted: bool
"""
_validation = {
'id': {'readonly': True},
'exception': {'readonly': True},
'is_canceled': {'readonly': True},
'is_completed': {'readonly': True},
'is_completed_successfully': {'readonly': True},
'async_state': {'readonly': True},
'is_faulted': {'readonly': True},
}
_attribute_map = {
'id': {'key': 'id', 'type': 'int'},
'exception': {'key': 'exception', 'type': 'object'},
'status': {'key': 'status', 'type': 'str'},
'is_canceled': {'key': 'isCanceled', 'type': 'bool'},
'is_completed': {'key': 'isCompleted', 'type': 'bool'},
'is_completed_successfully': {'key': 'isCompletedSuccessfully', 'type': 'bool'},
'creation_options': {'key': 'creationOptions', 'type': 'str'},
'async_state': {'key': 'asyncState', 'type': 'object'},
'is_faulted': {'key': 'isFaulted', 'type': 'bool'},
}
def __init__(
self,
*,
status: Optional[Union[str, "TaskStatus"]] = None,
creation_options: Optional[Union[str, "TaskCreationOptions"]] = None,
**kwargs
):
"""
:keyword status: Possible values include: "Created", "WaitingForActivation", "WaitingToRun",
"Running", "WaitingForChildrenToComplete", "RanToCompletion", "Canceled", "Faulted".
:paramtype status: str or ~flow.models.TaskStatus
:keyword creation_options: Possible values include: "None", "PreferFairness", "LongRunning",
"AttachedToParent", "DenyChildAttach", "HideScheduler", "RunContinuationsAsynchronously".
:paramtype creation_options: str or ~flow.models.TaskCreationOptions
"""
super(Task, self).__init__(**kwargs)
self.id = None
self.exception = None
self.status = status
self.is_canceled = None
self.is_completed = None
self.is_completed_successfully = None
self.creation_options = creation_options
self.async_state = None
self.is_faulted = None
class TaskControlFlowInfo(msrest.serialization.Model):
"""TaskControlFlowInfo.
:ivar control_flow_type: Possible values include: "None", "DoWhile", "ParallelFor".
:vartype control_flow_type: str or ~flow.models.ControlFlowType
:ivar iteration_index:
:vartype iteration_index: int
:ivar item_name:
:vartype item_name: str
:ivar parameters_overwritten: Dictionary of :code:`<string>`.
:vartype parameters_overwritten: dict[str, str]
:ivar is_reused:
:vartype is_reused: bool
"""
_attribute_map = {
'control_flow_type': {'key': 'controlFlowType', 'type': 'str'},
'iteration_index': {'key': 'iterationIndex', 'type': 'int'},
'item_name': {'key': 'itemName', 'type': 'str'},
'parameters_overwritten': {'key': 'parametersOverwritten', 'type': '{str}'},
'is_reused': {'key': 'isReused', 'type': 'bool'},
}
def __init__(
self,
*,
control_flow_type: Optional[Union[str, "ControlFlowType"]] = None,
iteration_index: Optional[int] = None,
item_name: Optional[str] = None,
parameters_overwritten: Optional[Dict[str, str]] = None,
is_reused: Optional[bool] = None,
**kwargs
):
"""
:keyword control_flow_type: Possible values include: "None", "DoWhile", "ParallelFor".
:paramtype control_flow_type: str or ~flow.models.ControlFlowType
:keyword iteration_index:
:paramtype iteration_index: int
:keyword item_name:
:paramtype item_name: str
:keyword parameters_overwritten: Dictionary of :code:`<string>`.
:paramtype parameters_overwritten: dict[str, str]
:keyword is_reused:
:paramtype is_reused: bool
"""
super(TaskControlFlowInfo, self).__init__(**kwargs)
self.control_flow_type = control_flow_type
self.iteration_index = iteration_index
self.item_name = item_name
self.parameters_overwritten = parameters_overwritten
self.is_reused = is_reused
class TaskReuseInfo(msrest.serialization.Model):
"""TaskReuseInfo.
:ivar experiment_id:
:vartype experiment_id: str
:ivar pipeline_run_id:
:vartype pipeline_run_id: str
:ivar node_id:
:vartype node_id: str
:ivar request_id:
:vartype request_id: str
:ivar run_id:
:vartype run_id: str
:ivar node_start_time:
:vartype node_start_time: ~datetime.datetime
:ivar node_end_time:
:vartype node_end_time: ~datetime.datetime
"""
_attribute_map = {
'experiment_id': {'key': 'experimentId', 'type': 'str'},
'pipeline_run_id': {'key': 'pipelineRunId', 'type': 'str'},
'node_id': {'key': 'nodeId', 'type': 'str'},
'request_id': {'key': 'requestId', 'type': 'str'},
'run_id': {'key': 'runId', 'type': 'str'},
'node_start_time': {'key': 'nodeStartTime', 'type': 'iso-8601'},
'node_end_time': {'key': 'nodeEndTime', 'type': 'iso-8601'},
}
def __init__(
self,
*,
experiment_id: Optional[str] = None,
pipeline_run_id: Optional[str] = None,
node_id: Optional[str] = None,
request_id: Optional[str] = None,
run_id: Optional[str] = None,
node_start_time: Optional[datetime.datetime] = None,
node_end_time: Optional[datetime.datetime] = None,
**kwargs
):
"""
:keyword experiment_id:
:paramtype experiment_id: str
:keyword pipeline_run_id:
:paramtype pipeline_run_id: str
:keyword node_id:
:paramtype node_id: str
:keyword request_id:
:paramtype request_id: str
:keyword run_id:
:paramtype run_id: str
:keyword node_start_time:
:paramtype node_start_time: ~datetime.datetime
:keyword node_end_time:
:paramtype node_end_time: ~datetime.datetime
"""
super(TaskReuseInfo, self).__init__(**kwargs)
self.experiment_id = experiment_id
self.pipeline_run_id = pipeline_run_id
self.node_id = node_id
self.request_id = request_id
self.run_id = run_id
self.node_start_time = node_start_time
self.node_end_time = node_end_time
class TensorflowConfiguration(msrest.serialization.Model):
"""TensorflowConfiguration.
:ivar worker_count:
:vartype worker_count: int
:ivar parameter_server_count:
:vartype parameter_server_count: int
"""
_attribute_map = {
'worker_count': {'key': 'workerCount', 'type': 'int'},
'parameter_server_count': {'key': 'parameterServerCount', 'type': 'int'},
}
def __init__(
self,
*,
worker_count: Optional[int] = None,
parameter_server_count: Optional[int] = None,
**kwargs
):
"""
:keyword worker_count:
:paramtype worker_count: int
:keyword parameter_server_count:
:paramtype parameter_server_count: int
"""
super(TensorflowConfiguration, self).__init__(**kwargs)
self.worker_count = worker_count
self.parameter_server_count = parameter_server_count
class TestDataSettings(msrest.serialization.Model):
"""TestDataSettings.
:ivar test_data_size:
:vartype test_data_size: float
"""
_attribute_map = {
'test_data_size': {'key': 'testDataSize', 'type': 'float'},
}
def __init__(
self,
*,
test_data_size: Optional[float] = None,
**kwargs
):
"""
:keyword test_data_size:
:paramtype test_data_size: float
"""
super(TestDataSettings, self).__init__(**kwargs)
self.test_data_size = test_data_size
class Tool(msrest.serialization.Model):
"""Tool.
:ivar name:
:vartype name: str
:ivar type: Possible values include: "llm", "python", "action", "prompt", "custom_llm",
"csharp".
:vartype type: str or ~flow.models.ToolType
:ivar inputs: This is a dictionary.
:vartype inputs: dict[str, ~flow.models.InputDefinition]
:ivar outputs: This is a dictionary.
:vartype outputs: dict[str, ~flow.models.OutputDefinition]
:ivar description:
:vartype description: str
:ivar connection_type:
:vartype connection_type: list[str or ~flow.models.ConnectionType]
:ivar module:
:vartype module: str
:ivar class_name:
:vartype class_name: str
:ivar source:
:vartype source: str
:ivar lkg_code:
:vartype lkg_code: str
:ivar code:
:vartype code: str
:ivar function:
:vartype function: str
:ivar action_type:
:vartype action_type: str
:ivar provider_config: This is a dictionary.
:vartype provider_config: dict[str, ~flow.models.InputDefinition]
:ivar function_config: This is a dictionary.
:vartype function_config: dict[str, ~flow.models.InputDefinition]
:ivar icon: Anything.
:vartype icon: any
:ivar category:
:vartype category: str
:ivar tags: A set of tags. This is a dictionary.
:vartype tags: dict[str, any]
:ivar is_builtin:
:vartype is_builtin: bool
:ivar package:
:vartype package: str
:ivar package_version:
:vartype package_version: str
:ivar default_prompt:
:vartype default_prompt: str
:ivar enable_kwargs:
:vartype enable_kwargs: bool
:ivar deprecated_tools:
:vartype deprecated_tools: list[str]
:ivar tool_state: Possible values include: "Stable", "Preview", "Deprecated".
:vartype tool_state: str or ~flow.models.ToolState
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'inputs': {'key': 'inputs', 'type': '{InputDefinition}'},
'outputs': {'key': 'outputs', 'type': '{OutputDefinition}'},
'description': {'key': 'description', 'type': 'str'},
'connection_type': {'key': 'connection_type', 'type': '[str]'},
'module': {'key': 'module', 'type': 'str'},
'class_name': {'key': 'class_name', 'type': 'str'},
'source': {'key': 'source', 'type': 'str'},
'lkg_code': {'key': 'lkgCode', 'type': 'str'},
'code': {'key': 'code', 'type': 'str'},
'function': {'key': 'function', 'type': 'str'},
'action_type': {'key': 'action_type', 'type': 'str'},
'provider_config': {'key': 'provider_config', 'type': '{InputDefinition}'},
'function_config': {'key': 'function_config', 'type': '{InputDefinition}'},
'icon': {'key': 'icon', 'type': 'object'},
'category': {'key': 'category', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{object}'},
'is_builtin': {'key': 'is_builtin', 'type': 'bool'},
'package': {'key': 'package', 'type': 'str'},
'package_version': {'key': 'package_version', 'type': 'str'},
'default_prompt': {'key': 'default_prompt', 'type': 'str'},
'enable_kwargs': {'key': 'enable_kwargs', 'type': 'bool'},
'deprecated_tools': {'key': 'deprecated_tools', 'type': '[str]'},
'tool_state': {'key': 'tool_state', 'type': 'str'},
}
def __init__(
self,
*,
name: Optional[str] = None,
type: Optional[Union[str, "ToolType"]] = None,
inputs: Optional[Dict[str, "InputDefinition"]] = None,
outputs: Optional[Dict[str, "OutputDefinition"]] = None,
description: Optional[str] = None,
connection_type: Optional[List[Union[str, "ConnectionType"]]] = None,
module: Optional[str] = None,
class_name: Optional[str] = None,
source: Optional[str] = None,
lkg_code: Optional[str] = None,
code: Optional[str] = None,
function: Optional[str] = None,
action_type: Optional[str] = None,
provider_config: Optional[Dict[str, "InputDefinition"]] = None,
function_config: Optional[Dict[str, "InputDefinition"]] = None,
icon: Optional[Any] = None,
category: Optional[str] = None,
tags: Optional[Dict[str, Any]] = None,
is_builtin: Optional[bool] = None,
package: Optional[str] = None,
package_version: Optional[str] = None,
default_prompt: Optional[str] = None,
enable_kwargs: Optional[bool] = None,
deprecated_tools: Optional[List[str]] = None,
tool_state: Optional[Union[str, "ToolState"]] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword type: Possible values include: "llm", "python", "action", "prompt", "custom_llm",
"csharp".
:paramtype type: str or ~flow.models.ToolType
:keyword inputs: This is a dictionary.
:paramtype inputs: dict[str, ~flow.models.InputDefinition]
:keyword outputs: This is a dictionary.
:paramtype outputs: dict[str, ~flow.models.OutputDefinition]
:keyword description:
:paramtype description: str
:keyword connection_type:
:paramtype connection_type: list[str or ~flow.models.ConnectionType]
:keyword module:
:paramtype module: str
:keyword class_name:
:paramtype class_name: str
:keyword source:
:paramtype source: str
:keyword lkg_code:
:paramtype lkg_code: str
:keyword code:
:paramtype code: str
:keyword function:
:paramtype function: str
:keyword action_type:
:paramtype action_type: str
:keyword provider_config: This is a dictionary.
:paramtype provider_config: dict[str, ~flow.models.InputDefinition]
:keyword function_config: This is a dictionary.
:paramtype function_config: dict[str, ~flow.models.InputDefinition]
:keyword icon: Anything.
:paramtype icon: any
:keyword category:
:paramtype category: str
:keyword tags: A set of tags. This is a dictionary.
:paramtype tags: dict[str, any]
:keyword is_builtin:
:paramtype is_builtin: bool
:keyword package:
:paramtype package: str
:keyword package_version:
:paramtype package_version: str
:keyword default_prompt:
:paramtype default_prompt: str
:keyword enable_kwargs:
:paramtype enable_kwargs: bool
:keyword deprecated_tools:
:paramtype deprecated_tools: list[str]
:keyword tool_state: Possible values include: "Stable", "Preview", "Deprecated".
:paramtype tool_state: str or ~flow.models.ToolState
"""
super(Tool, self).__init__(**kwargs)
self.name = name
self.type = type
self.inputs = inputs
self.outputs = outputs
self.description = description
self.connection_type = connection_type
self.module = module
self.class_name = class_name
self.source = source
self.lkg_code = lkg_code
self.code = code
self.function = function
self.action_type = action_type
self.provider_config = provider_config
self.function_config = function_config
self.icon = icon
self.category = category
self.tags = tags
self.is_builtin = is_builtin
self.package = package
self.package_version = package_version
self.default_prompt = default_prompt
self.enable_kwargs = enable_kwargs
self.deprecated_tools = deprecated_tools
self.tool_state = tool_state
class ToolFuncResponse(msrest.serialization.Model):
"""ToolFuncResponse.
:ivar result: Anything.
:vartype result: any
:ivar logs: This is a dictionary.
:vartype logs: dict[str, str]
"""
_attribute_map = {
'result': {'key': 'result', 'type': 'object'},
'logs': {'key': 'logs', 'type': '{str}'},
}
def __init__(
self,
*,
result: Optional[Any] = None,
logs: Optional[Dict[str, str]] = None,
**kwargs
):
"""
:keyword result: Anything.
:paramtype result: any
:keyword logs: This is a dictionary.
:paramtype logs: dict[str, str]
"""
super(ToolFuncResponse, self).__init__(**kwargs)
self.result = result
self.logs = logs
class ToolInputDynamicList(msrest.serialization.Model):
"""ToolInputDynamicList.
:ivar func_path:
:vartype func_path: str
:ivar func_kwargs:
:vartype func_kwargs: list[dict[str, any]]
"""
_attribute_map = {
'func_path': {'key': 'func_path', 'type': 'str'},
'func_kwargs': {'key': 'func_kwargs', 'type': '[{object}]'},
}
def __init__(
self,
*,
func_path: Optional[str] = None,
func_kwargs: Optional[List[Dict[str, Any]]] = None,
**kwargs
):
"""
:keyword func_path:
:paramtype func_path: str
:keyword func_kwargs:
:paramtype func_kwargs: list[dict[str, any]]
"""
super(ToolInputDynamicList, self).__init__(**kwargs)
self.func_path = func_path
self.func_kwargs = func_kwargs
class ToolInputGeneratedBy(msrest.serialization.Model):
"""ToolInputGeneratedBy.
:ivar func_path:
:vartype func_path: str
:ivar func_kwargs:
:vartype func_kwargs: list[dict[str, any]]
:ivar reverse_func_path:
:vartype reverse_func_path: str
"""
_attribute_map = {
'func_path': {'key': 'func_path', 'type': 'str'},
'func_kwargs': {'key': 'func_kwargs', 'type': '[{object}]'},
'reverse_func_path': {'key': 'reverse_func_path', 'type': 'str'},
}
def __init__(
self,
*,
func_path: Optional[str] = None,
func_kwargs: Optional[List[Dict[str, Any]]] = None,
reverse_func_path: Optional[str] = None,
**kwargs
):
"""
:keyword func_path:
:paramtype func_path: str
:keyword func_kwargs:
:paramtype func_kwargs: list[dict[str, any]]
:keyword reverse_func_path:
:paramtype reverse_func_path: str
"""
super(ToolInputGeneratedBy, self).__init__(**kwargs)
self.func_path = func_path
self.func_kwargs = func_kwargs
self.reverse_func_path = reverse_func_path
class ToolMetaDto(msrest.serialization.Model):
"""ToolMetaDto.
:ivar tools: This is a dictionary.
:vartype tools: dict[str, ~flow.models.Tool]
:ivar errors: This is a dictionary.
:vartype errors: dict[str, ~flow.models.ErrorResponse]
"""
_attribute_map = {
'tools': {'key': 'tools', 'type': '{Tool}'},
'errors': {'key': 'errors', 'type': '{ErrorResponse}'},
}
def __init__(
self,
*,
tools: Optional[Dict[str, "Tool"]] = None,
errors: Optional[Dict[str, "ErrorResponse"]] = None,
**kwargs
):
"""
:keyword tools: This is a dictionary.
:paramtype tools: dict[str, ~flow.models.Tool]
:keyword errors: This is a dictionary.
:paramtype errors: dict[str, ~flow.models.ErrorResponse]
"""
super(ToolMetaDto, self).__init__(**kwargs)
self.tools = tools
self.errors = errors
class ToolSetting(msrest.serialization.Model):
"""ToolSetting.
:ivar providers:
:vartype providers: list[~flow.models.ProviderEntity]
"""
_attribute_map = {
'providers': {'key': 'providers', 'type': '[ProviderEntity]'},
}
def __init__(
self,
*,
providers: Optional[List["ProviderEntity"]] = None,
**kwargs
):
"""
:keyword providers:
:paramtype providers: list[~flow.models.ProviderEntity]
"""
super(ToolSetting, self).__init__(**kwargs)
self.providers = providers
class ToolSourceMeta(msrest.serialization.Model):
"""ToolSourceMeta.
:ivar tool_type:
:vartype tool_type: str
"""
_attribute_map = {
'tool_type': {'key': 'tool_type', 'type': 'str'},
}
def __init__(
self,
*,
tool_type: Optional[str] = None,
**kwargs
):
"""
:keyword tool_type:
:paramtype tool_type: str
"""
super(ToolSourceMeta, self).__init__(**kwargs)
self.tool_type = tool_type
class TorchDistributedConfiguration(msrest.serialization.Model):
"""TorchDistributedConfiguration.
:ivar process_count_per_node:
:vartype process_count_per_node: int
"""
_attribute_map = {
'process_count_per_node': {'key': 'processCountPerNode', 'type': 'int'},
}
def __init__(
self,
*,
process_count_per_node: Optional[int] = None,
**kwargs
):
"""
:keyword process_count_per_node:
:paramtype process_count_per_node: int
"""
super(TorchDistributedConfiguration, self).__init__(**kwargs)
self.process_count_per_node = process_count_per_node
class TrainingDiagnosticConfiguration(msrest.serialization.Model):
"""TrainingDiagnosticConfiguration.
:ivar job_heart_beat_timeout_seconds:
:vartype job_heart_beat_timeout_seconds: int
"""
_attribute_map = {
'job_heart_beat_timeout_seconds': {'key': 'jobHeartBeatTimeoutSeconds', 'type': 'int'},
}
def __init__(
self,
*,
job_heart_beat_timeout_seconds: Optional[int] = None,
**kwargs
):
"""
:keyword job_heart_beat_timeout_seconds:
:paramtype job_heart_beat_timeout_seconds: int
"""
super(TrainingDiagnosticConfiguration, self).__init__(**kwargs)
self.job_heart_beat_timeout_seconds = job_heart_beat_timeout_seconds
class TrainingOutput(msrest.serialization.Model):
"""TrainingOutput.
:ivar training_output_type: Possible values include: "Metrics", "Model".
:vartype training_output_type: str or ~flow.models.TrainingOutputType
:ivar iteration:
:vartype iteration: int
:ivar metric:
:vartype metric: str
:ivar model_file:
:vartype model_file: str
"""
_attribute_map = {
'training_output_type': {'key': 'trainingOutputType', 'type': 'str'},
'iteration': {'key': 'iteration', 'type': 'int'},
'metric': {'key': 'metric', 'type': 'str'},
'model_file': {'key': 'modelFile', 'type': 'str'},
}
def __init__(
self,
*,
training_output_type: Optional[Union[str, "TrainingOutputType"]] = None,
iteration: Optional[int] = None,
metric: Optional[str] = None,
model_file: Optional[str] = None,
**kwargs
):
"""
:keyword training_output_type: Possible values include: "Metrics", "Model".
:paramtype training_output_type: str or ~flow.models.TrainingOutputType
:keyword iteration:
:paramtype iteration: int
:keyword metric:
:paramtype metric: str
:keyword model_file:
:paramtype model_file: str
"""
super(TrainingOutput, self).__init__(**kwargs)
self.training_output_type = training_output_type
self.iteration = iteration
self.metric = metric
self.model_file = model_file
class TrainingSettings(msrest.serialization.Model):
"""TrainingSettings.
:ivar block_list_models:
:vartype block_list_models: list[str]
:ivar allow_list_models:
:vartype allow_list_models: list[str]
:ivar enable_dnn_training:
:vartype enable_dnn_training: bool
:ivar enable_onnx_compatible_models:
:vartype enable_onnx_compatible_models: bool
:ivar stack_ensemble_settings:
:vartype stack_ensemble_settings: ~flow.models.StackEnsembleSettings
:ivar enable_stack_ensemble:
:vartype enable_stack_ensemble: bool
:ivar enable_vote_ensemble:
:vartype enable_vote_ensemble: bool
:ivar ensemble_model_download_timeout:
:vartype ensemble_model_download_timeout: str
:ivar enable_model_explainability:
:vartype enable_model_explainability: bool
:ivar training_mode: Possible values include: "Distributed", "NonDistributed", "Auto".
:vartype training_mode: str or ~flow.models.TabularTrainingMode
"""
_attribute_map = {
'block_list_models': {'key': 'blockListModels', 'type': '[str]'},
'allow_list_models': {'key': 'allowListModels', 'type': '[str]'},
'enable_dnn_training': {'key': 'enableDnnTraining', 'type': 'bool'},
'enable_onnx_compatible_models': {'key': 'enableOnnxCompatibleModels', 'type': 'bool'},
'stack_ensemble_settings': {'key': 'stackEnsembleSettings', 'type': 'StackEnsembleSettings'},
'enable_stack_ensemble': {'key': 'enableStackEnsemble', 'type': 'bool'},
'enable_vote_ensemble': {'key': 'enableVoteEnsemble', 'type': 'bool'},
'ensemble_model_download_timeout': {'key': 'ensembleModelDownloadTimeout', 'type': 'str'},
'enable_model_explainability': {'key': 'enableModelExplainability', 'type': 'bool'},
'training_mode': {'key': 'trainingMode', 'type': 'str'},
}
def __init__(
self,
*,
block_list_models: Optional[List[str]] = None,
allow_list_models: Optional[List[str]] = None,
enable_dnn_training: Optional[bool] = None,
enable_onnx_compatible_models: Optional[bool] = None,
stack_ensemble_settings: Optional["StackEnsembleSettings"] = None,
enable_stack_ensemble: Optional[bool] = None,
enable_vote_ensemble: Optional[bool] = None,
ensemble_model_download_timeout: Optional[str] = None,
enable_model_explainability: Optional[bool] = None,
training_mode: Optional[Union[str, "TabularTrainingMode"]] = None,
**kwargs
):
"""
:keyword block_list_models:
:paramtype block_list_models: list[str]
:keyword allow_list_models:
:paramtype allow_list_models: list[str]
:keyword enable_dnn_training:
:paramtype enable_dnn_training: bool
:keyword enable_onnx_compatible_models:
:paramtype enable_onnx_compatible_models: bool
:keyword stack_ensemble_settings:
:paramtype stack_ensemble_settings: ~flow.models.StackEnsembleSettings
:keyword enable_stack_ensemble:
:paramtype enable_stack_ensemble: bool
:keyword enable_vote_ensemble:
:paramtype enable_vote_ensemble: bool
:keyword ensemble_model_download_timeout:
:paramtype ensemble_model_download_timeout: str
:keyword enable_model_explainability:
:paramtype enable_model_explainability: bool
:keyword training_mode: Possible values include: "Distributed", "NonDistributed", "Auto".
:paramtype training_mode: str or ~flow.models.TabularTrainingMode
"""
super(TrainingSettings, self).__init__(**kwargs)
self.block_list_models = block_list_models
self.allow_list_models = allow_list_models
self.enable_dnn_training = enable_dnn_training
self.enable_onnx_compatible_models = enable_onnx_compatible_models
self.stack_ensemble_settings = stack_ensemble_settings
self.enable_stack_ensemble = enable_stack_ensemble
self.enable_vote_ensemble = enable_vote_ensemble
self.ensemble_model_download_timeout = ensemble_model_download_timeout
self.enable_model_explainability = enable_model_explainability
self.training_mode = training_mode
class TriggerAsyncOperationStatus(msrest.serialization.Model):
"""TriggerAsyncOperationStatus.
:ivar id:
:vartype id: str
:ivar operation_type: Possible values include: "Create", "Update", "Delete", "CreateOrUpdate".
:vartype operation_type: str or ~flow.models.TriggerOperationType
:ivar provisioning_status: Possible values include: "Creating", "Updating", "Deleting",
"Succeeded", "Failed", "Canceled".
:vartype provisioning_status: str or ~flow.models.ScheduleProvisioningStatus
:ivar created_time:
:vartype created_time: ~datetime.datetime
:ivar end_time:
:vartype end_time: ~datetime.datetime
:ivar error: The error response.
:vartype error: ~flow.models.ErrorResponse
:ivar status_code: Possible values include: "Continue", "SwitchingProtocols", "Processing",
"EarlyHints", "OK", "Created", "Accepted", "NonAuthoritativeInformation", "NoContent",
"ResetContent", "PartialContent", "MultiStatus", "AlreadyReported", "IMUsed",
"MultipleChoices", "Ambiguous", "MovedPermanently", "Moved", "Found", "Redirect", "SeeOther",
"RedirectMethod", "NotModified", "UseProxy", "Unused", "TemporaryRedirect", "RedirectKeepVerb",
"PermanentRedirect", "BadRequest", "Unauthorized", "PaymentRequired", "Forbidden", "NotFound",
"MethodNotAllowed", "NotAcceptable", "ProxyAuthenticationRequired", "RequestTimeout",
"Conflict", "Gone", "LengthRequired", "PreconditionFailed", "RequestEntityTooLarge",
"RequestUriTooLong", "UnsupportedMediaType", "RequestedRangeNotSatisfiable",
"ExpectationFailed", "MisdirectedRequest", "UnprocessableEntity", "Locked", "FailedDependency",
"UpgradeRequired", "PreconditionRequired", "TooManyRequests", "RequestHeaderFieldsTooLarge",
"UnavailableForLegalReasons", "InternalServerError", "NotImplemented", "BadGateway",
"ServiceUnavailable", "GatewayTimeout", "HttpVersionNotSupported", "VariantAlsoNegotiates",
"InsufficientStorage", "LoopDetected", "NotExtended", "NetworkAuthenticationRequired".
:vartype status_code: str or ~flow.models.HttpStatusCode
"""
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'operation_type': {'key': 'operationType', 'type': 'str'},
'provisioning_status': {'key': 'provisioningStatus', 'type': 'str'},
'created_time': {'key': 'createdTime', 'type': 'iso-8601'},
'end_time': {'key': 'endTime', 'type': 'iso-8601'},
'error': {'key': 'error', 'type': 'ErrorResponse'},
'status_code': {'key': 'statusCode', 'type': 'str'},
}
def __init__(
self,
*,
id: Optional[str] = None,
operation_type: Optional[Union[str, "TriggerOperationType"]] = None,
provisioning_status: Optional[Union[str, "ScheduleProvisioningStatus"]] = None,
created_time: Optional[datetime.datetime] = None,
end_time: Optional[datetime.datetime] = None,
error: Optional["ErrorResponse"] = None,
status_code: Optional[Union[str, "HttpStatusCode"]] = None,
**kwargs
):
"""
:keyword id:
:paramtype id: str
:keyword operation_type: Possible values include: "Create", "Update", "Delete",
"CreateOrUpdate".
:paramtype operation_type: str or ~flow.models.TriggerOperationType
:keyword provisioning_status: Possible values include: "Creating", "Updating", "Deleting",
"Succeeded", "Failed", "Canceled".
:paramtype provisioning_status: str or ~flow.models.ScheduleProvisioningStatus
:keyword created_time:
:paramtype created_time: ~datetime.datetime
:keyword end_time:
:paramtype end_time: ~datetime.datetime
:keyword error: The error response.
:paramtype error: ~flow.models.ErrorResponse
:keyword status_code: Possible values include: "Continue", "SwitchingProtocols", "Processing",
"EarlyHints", "OK", "Created", "Accepted", "NonAuthoritativeInformation", "NoContent",
"ResetContent", "PartialContent", "MultiStatus", "AlreadyReported", "IMUsed",
"MultipleChoices", "Ambiguous", "MovedPermanently", "Moved", "Found", "Redirect", "SeeOther",
"RedirectMethod", "NotModified", "UseProxy", "Unused", "TemporaryRedirect", "RedirectKeepVerb",
"PermanentRedirect", "BadRequest", "Unauthorized", "PaymentRequired", "Forbidden", "NotFound",
"MethodNotAllowed", "NotAcceptable", "ProxyAuthenticationRequired", "RequestTimeout",
"Conflict", "Gone", "LengthRequired", "PreconditionFailed", "RequestEntityTooLarge",
"RequestUriTooLong", "UnsupportedMediaType", "RequestedRangeNotSatisfiable",
"ExpectationFailed", "MisdirectedRequest", "UnprocessableEntity", "Locked", "FailedDependency",
"UpgradeRequired", "PreconditionRequired", "TooManyRequests", "RequestHeaderFieldsTooLarge",
"UnavailableForLegalReasons", "InternalServerError", "NotImplemented", "BadGateway",
"ServiceUnavailable", "GatewayTimeout", "HttpVersionNotSupported", "VariantAlsoNegotiates",
"InsufficientStorage", "LoopDetected", "NotExtended", "NetworkAuthenticationRequired".
:paramtype status_code: str or ~flow.models.HttpStatusCode
"""
super(TriggerAsyncOperationStatus, self).__init__(**kwargs)
self.id = id
self.operation_type = operation_type
self.provisioning_status = provisioning_status
self.created_time = created_time
self.end_time = end_time
self.error = error
self.status_code = status_code
class TuningNodeSetting(msrest.serialization.Model):
"""TuningNodeSetting.
:ivar variant_ids:
:vartype variant_ids: list[str]
"""
_attribute_map = {
'variant_ids': {'key': 'variantIds', 'type': '[str]'},
}
def __init__(
self,
*,
variant_ids: Optional[List[str]] = None,
**kwargs
):
"""
:keyword variant_ids:
:paramtype variant_ids: list[str]
"""
super(TuningNodeSetting, self).__init__(**kwargs)
self.variant_ids = variant_ids
class TypedAssetReference(msrest.serialization.Model):
"""TypedAssetReference.
:ivar asset_id:
:vartype asset_id: str
:ivar type:
:vartype type: str
"""
_attribute_map = {
'asset_id': {'key': 'assetId', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
}
def __init__(
self,
*,
asset_id: Optional[str] = None,
type: Optional[str] = None,
**kwargs
):
"""
:keyword asset_id:
:paramtype asset_id: str
:keyword type:
:paramtype type: str
"""
super(TypedAssetReference, self).__init__(**kwargs)
self.asset_id = asset_id
self.type = type
class UIAzureOpenAIDeploymentNameSelector(msrest.serialization.Model):
"""UIAzureOpenAIDeploymentNameSelector.
:ivar capabilities:
:vartype capabilities: ~flow.models.UIAzureOpenAIModelCapabilities
"""
_attribute_map = {
'capabilities': {'key': 'Capabilities', 'type': 'UIAzureOpenAIModelCapabilities'},
}
def __init__(
self,
*,
capabilities: Optional["UIAzureOpenAIModelCapabilities"] = None,
**kwargs
):
"""
:keyword capabilities:
:paramtype capabilities: ~flow.models.UIAzureOpenAIModelCapabilities
"""
super(UIAzureOpenAIDeploymentNameSelector, self).__init__(**kwargs)
self.capabilities = capabilities
class UIAzureOpenAIModelCapabilities(msrest.serialization.Model):
"""UIAzureOpenAIModelCapabilities.
:ivar completion:
:vartype completion: bool
:ivar chat_completion:
:vartype chat_completion: bool
:ivar embeddings:
:vartype embeddings: bool
"""
_attribute_map = {
'completion': {'key': 'Completion', 'type': 'bool'},
'chat_completion': {'key': 'ChatCompletion', 'type': 'bool'},
'embeddings': {'key': 'Embeddings', 'type': 'bool'},
}
def __init__(
self,
*,
completion: Optional[bool] = None,
chat_completion: Optional[bool] = None,
embeddings: Optional[bool] = None,
**kwargs
):
"""
:keyword completion:
:paramtype completion: bool
:keyword chat_completion:
:paramtype chat_completion: bool
:keyword embeddings:
:paramtype embeddings: bool
"""
super(UIAzureOpenAIModelCapabilities, self).__init__(**kwargs)
self.completion = completion
self.chat_completion = chat_completion
self.embeddings = embeddings
class UIColumnPicker(msrest.serialization.Model):
"""UIColumnPicker.
:ivar column_picker_for:
:vartype column_picker_for: str
:ivar column_selection_categories:
:vartype column_selection_categories: list[str]
:ivar single_column_selection:
:vartype single_column_selection: bool
"""
_attribute_map = {
'column_picker_for': {'key': 'columnPickerFor', 'type': 'str'},
'column_selection_categories': {'key': 'columnSelectionCategories', 'type': '[str]'},
'single_column_selection': {'key': 'singleColumnSelection', 'type': 'bool'},
}
def __init__(
self,
*,
column_picker_for: Optional[str] = None,
column_selection_categories: Optional[List[str]] = None,
single_column_selection: Optional[bool] = None,
**kwargs
):
"""
:keyword column_picker_for:
:paramtype column_picker_for: str
:keyword column_selection_categories:
:paramtype column_selection_categories: list[str]
:keyword single_column_selection:
:paramtype single_column_selection: bool
"""
super(UIColumnPicker, self).__init__(**kwargs)
self.column_picker_for = column_picker_for
self.column_selection_categories = column_selection_categories
self.single_column_selection = single_column_selection
class UIComputeSelection(msrest.serialization.Model):
"""UIComputeSelection.
:ivar compute_types:
:vartype compute_types: list[str]
:ivar require_gpu:
:vartype require_gpu: bool
:ivar os_types:
:vartype os_types: list[str]
:ivar support_serverless:
:vartype support_serverless: bool
:ivar compute_run_settings_mapping: Dictionary of
<components·10my8oj·schemas·uicomputeselection·properties·computerunsettingsmapping·additionalproperties>.
:vartype compute_run_settings_mapping: dict[str, list[~flow.models.RunSettingParameter]]
"""
_attribute_map = {
'compute_types': {'key': 'computeTypes', 'type': '[str]'},
'require_gpu': {'key': 'requireGpu', 'type': 'bool'},
'os_types': {'key': 'osTypes', 'type': '[str]'},
'support_serverless': {'key': 'supportServerless', 'type': 'bool'},
'compute_run_settings_mapping': {'key': 'computeRunSettingsMapping', 'type': '{[RunSettingParameter]}'},
}
def __init__(
self,
*,
compute_types: Optional[List[str]] = None,
require_gpu: Optional[bool] = None,
os_types: Optional[List[str]] = None,
support_serverless: Optional[bool] = None,
compute_run_settings_mapping: Optional[Dict[str, List["RunSettingParameter"]]] = None,
**kwargs
):
"""
:keyword compute_types:
:paramtype compute_types: list[str]
:keyword require_gpu:
:paramtype require_gpu: bool
:keyword os_types:
:paramtype os_types: list[str]
:keyword support_serverless:
:paramtype support_serverless: bool
:keyword compute_run_settings_mapping: Dictionary of
<components·10my8oj·schemas·uicomputeselection·properties·computerunsettingsmapping·additionalproperties>.
:paramtype compute_run_settings_mapping: dict[str, list[~flow.models.RunSettingParameter]]
"""
super(UIComputeSelection, self).__init__(**kwargs)
self.compute_types = compute_types
self.require_gpu = require_gpu
self.os_types = os_types
self.support_serverless = support_serverless
self.compute_run_settings_mapping = compute_run_settings_mapping
class UIHyperparameterConfiguration(msrest.serialization.Model):
"""UIHyperparameterConfiguration.
:ivar model_name_to_hyper_parameter_and_distribution_mapping: Dictionary of
<components·1nrp69t·schemas·uihyperparameterconfiguration·properties·modelnametohyperparameteranddistributionmapping·additionalproperties>.
:vartype model_name_to_hyper_parameter_and_distribution_mapping: dict[str, dict[str,
list[str]]]
:ivar distribution_parameters_mapping: Dictionary of
<components·d9plq4·schemas·uihyperparameterconfiguration·properties·distributionparametersmapping·additionalproperties>.
:vartype distribution_parameters_mapping: dict[str, list[~flow.models.DistributionParameter]]
:ivar json_schema:
:vartype json_schema: str
"""
_attribute_map = {
'model_name_to_hyper_parameter_and_distribution_mapping': {'key': 'modelNameToHyperParameterAndDistributionMapping', 'type': '{{[str]}}'},
'distribution_parameters_mapping': {'key': 'distributionParametersMapping', 'type': '{[DistributionParameter]}'},
'json_schema': {'key': 'jsonSchema', 'type': 'str'},
}
def __init__(
self,
*,
model_name_to_hyper_parameter_and_distribution_mapping: Optional[Dict[str, Dict[str, List[str]]]] = None,
distribution_parameters_mapping: Optional[Dict[str, List["DistributionParameter"]]] = None,
json_schema: Optional[str] = None,
**kwargs
):
"""
:keyword model_name_to_hyper_parameter_and_distribution_mapping: Dictionary of
<components·1nrp69t·schemas·uihyperparameterconfiguration·properties·modelnametohyperparameteranddistributionmapping·additionalproperties>.
:paramtype model_name_to_hyper_parameter_and_distribution_mapping: dict[str, dict[str,
list[str]]]
:keyword distribution_parameters_mapping: Dictionary of
<components·d9plq4·schemas·uihyperparameterconfiguration·properties·distributionparametersmapping·additionalproperties>.
:paramtype distribution_parameters_mapping: dict[str, list[~flow.models.DistributionParameter]]
:keyword json_schema:
:paramtype json_schema: str
"""
super(UIHyperparameterConfiguration, self).__init__(**kwargs)
self.model_name_to_hyper_parameter_and_distribution_mapping = model_name_to_hyper_parameter_and_distribution_mapping
self.distribution_parameters_mapping = distribution_parameters_mapping
self.json_schema = json_schema
class UIInputSetting(msrest.serialization.Model):
"""UIInputSetting.
:ivar name:
:vartype name: str
:ivar data_delivery_mode: Possible values include: "Read-only mount", "Read-write mount",
"Download", "Direct", "Evaluate mount", "Evaluate download", "Hdfs".
:vartype data_delivery_mode: str or ~flow.models.UIInputDataDeliveryMode
:ivar path_on_compute:
:vartype path_on_compute: str
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'data_delivery_mode': {'key': 'dataDeliveryMode', 'type': 'str'},
'path_on_compute': {'key': 'pathOnCompute', 'type': 'str'},
}
def __init__(
self,
*,
name: Optional[str] = None,
data_delivery_mode: Optional[Union[str, "UIInputDataDeliveryMode"]] = None,
path_on_compute: Optional[str] = None,
**kwargs
):
"""
:keyword name:
:paramtype name: str
:keyword data_delivery_mode: Possible values include: "Read-only mount", "Read-write mount",
"Download", "Direct", "Evaluate mount", "Evaluate download", "Hdfs".
:paramtype data_delivery_mode: str or ~flow.models.UIInputDataDeliveryMode
:keyword path_on_compute:
:paramtype path_on_compute: str
"""
super(UIInputSetting, self).__init__(**kwargs)
self.name = name
self.data_delivery_mode = data_delivery_mode
self.path_on_compute = path_on_compute
class UIJsonEditor(msrest.serialization.Model):
"""UIJsonEditor.
:ivar json_schema:
:vartype json_schema: str
"""
_attribute_map = {
'json_schema': {'key': 'jsonSchema', 'type': 'str'},
}
def __init__(
self,
*,
json_schema: Optional[str] = None,
**kwargs
):
"""
:keyword json_schema:
:paramtype json_schema: str
"""
super(UIJsonEditor, self).__init__(**kwargs)
self.json_schema = json_schema
class UIParameterHint(msrest.serialization.Model):
"""UIParameterHint.
:ivar ui_widget_type: Possible values include: "Default", "Mode", "ColumnPicker", "Credential",
"Script", "ComputeSelection", "JsonEditor", "SearchSpaceParameter", "SectionToggle",
"YamlEditor", "EnableRuntimeSweep", "DataStoreSelection", "InstanceTypeSelection",
"ConnectionSelection", "PromptFlowConnectionSelection", "AzureOpenAIDeploymentNameSelection".
:vartype ui_widget_type: str or ~flow.models.UIWidgetTypeEnum
:ivar column_picker:
:vartype column_picker: ~flow.models.UIColumnPicker
:ivar ui_script_language: Possible values include: "None", "Python", "R", "Json", "Sql".
:vartype ui_script_language: str or ~flow.models.UIScriptLanguageEnum
:ivar json_editor:
:vartype json_editor: ~flow.models.UIJsonEditor
:ivar prompt_flow_connection_selector:
:vartype prompt_flow_connection_selector: ~flow.models.UIPromptFlowConnectionSelector
:ivar azure_open_ai_deployment_name_selector:
:vartype azure_open_ai_deployment_name_selector:
~flow.models.UIAzureOpenAIDeploymentNameSelector
:ivar ux_ignore:
:vartype ux_ignore: bool
:ivar anonymous:
:vartype anonymous: bool
"""
_attribute_map = {
'ui_widget_type': {'key': 'uiWidgetType', 'type': 'str'},
'column_picker': {'key': 'columnPicker', 'type': 'UIColumnPicker'},
'ui_script_language': {'key': 'uiScriptLanguage', 'type': 'str'},
'json_editor': {'key': 'jsonEditor', 'type': 'UIJsonEditor'},
'prompt_flow_connection_selector': {'key': 'PromptFlowConnectionSelector', 'type': 'UIPromptFlowConnectionSelector'},
'azure_open_ai_deployment_name_selector': {'key': 'AzureOpenAIDeploymentNameSelector', 'type': 'UIAzureOpenAIDeploymentNameSelector'},
'ux_ignore': {'key': 'UxIgnore', 'type': 'bool'},
'anonymous': {'key': 'Anonymous', 'type': 'bool'},
}
def __init__(
self,
*,
ui_widget_type: Optional[Union[str, "UIWidgetTypeEnum"]] = None,
column_picker: Optional["UIColumnPicker"] = None,
ui_script_language: Optional[Union[str, "UIScriptLanguageEnum"]] = None,
json_editor: Optional["UIJsonEditor"] = None,
prompt_flow_connection_selector: Optional["UIPromptFlowConnectionSelector"] = None,
azure_open_ai_deployment_name_selector: Optional["UIAzureOpenAIDeploymentNameSelector"] = None,
ux_ignore: Optional[bool] = None,
anonymous: Optional[bool] = None,
**kwargs
):
"""
:keyword ui_widget_type: Possible values include: "Default", "Mode", "ColumnPicker",
"Credential", "Script", "ComputeSelection", "JsonEditor", "SearchSpaceParameter",
"SectionToggle", "YamlEditor", "EnableRuntimeSweep", "DataStoreSelection",
"InstanceTypeSelection", "ConnectionSelection", "PromptFlowConnectionSelection",
"AzureOpenAIDeploymentNameSelection".
:paramtype ui_widget_type: str or ~flow.models.UIWidgetTypeEnum
:keyword column_picker:
:paramtype column_picker: ~flow.models.UIColumnPicker
:keyword ui_script_language: Possible values include: "None", "Python", "R", "Json", "Sql".
:paramtype ui_script_language: str or ~flow.models.UIScriptLanguageEnum
:keyword json_editor:
:paramtype json_editor: ~flow.models.UIJsonEditor
:keyword prompt_flow_connection_selector:
:paramtype prompt_flow_connection_selector: ~flow.models.UIPromptFlowConnectionSelector
:keyword azure_open_ai_deployment_name_selector:
:paramtype azure_open_ai_deployment_name_selector:
~flow.models.UIAzureOpenAIDeploymentNameSelector
:keyword ux_ignore:
:paramtype ux_ignore: bool
:keyword anonymous:
:paramtype anonymous: bool
"""
super(UIParameterHint, self).__init__(**kwargs)
self.ui_widget_type = ui_widget_type
self.column_picker = column_picker
self.ui_script_language = ui_script_language
self.json_editor = json_editor
self.prompt_flow_connection_selector = prompt_flow_connection_selector
self.azure_open_ai_deployment_name_selector = azure_open_ai_deployment_name_selector
self.ux_ignore = ux_ignore
self.anonymous = anonymous
class UIPromptFlowConnectionSelector(msrest.serialization.Model):
"""UIPromptFlowConnectionSelector.
:ivar prompt_flow_connection_type:
:vartype prompt_flow_connection_type: str
"""
_attribute_map = {
'prompt_flow_connection_type': {'key': 'PromptFlowConnectionType', 'type': 'str'},
}
def __init__(
self,
*,
prompt_flow_connection_type: Optional[str] = None,
**kwargs
):
"""
:keyword prompt_flow_connection_type:
:paramtype prompt_flow_connection_type: str
"""
super(UIPromptFlowConnectionSelector, self).__init__(**kwargs)
self.prompt_flow_connection_type = prompt_flow_connection_type
class UIWidgetMetaInfo(msrest.serialization.Model):
"""UIWidgetMetaInfo.
:ivar module_node_id:
:vartype module_node_id: str
:ivar meta_module_id:
:vartype meta_module_id: str
:ivar parameter_name:
:vartype parameter_name: str
:ivar ui_widget_type: Possible values include: "Default", "Mode", "ColumnPicker", "Credential",
"Script", "ComputeSelection", "JsonEditor", "SearchSpaceParameter", "SectionToggle",
"YamlEditor", "EnableRuntimeSweep", "DataStoreSelection", "InstanceTypeSelection",
"ConnectionSelection", "PromptFlowConnectionSelection", "AzureOpenAIDeploymentNameSelection".
:vartype ui_widget_type: str or ~flow.models.UIWidgetTypeEnum
"""
_attribute_map = {
'module_node_id': {'key': 'moduleNodeId', 'type': 'str'},
'meta_module_id': {'key': 'metaModuleId', 'type': 'str'},
'parameter_name': {'key': 'parameterName', 'type': 'str'},
'ui_widget_type': {'key': 'uiWidgetType', 'type': 'str'},
}
def __init__(
self,
*,
module_node_id: Optional[str] = None,
meta_module_id: Optional[str] = None,
parameter_name: Optional[str] = None,
ui_widget_type: Optional[Union[str, "UIWidgetTypeEnum"]] = None,
**kwargs
):
"""
:keyword module_node_id:
:paramtype module_node_id: str
:keyword meta_module_id:
:paramtype meta_module_id: str
:keyword parameter_name:
:paramtype parameter_name: str
:keyword ui_widget_type: Possible values include: "Default", "Mode", "ColumnPicker",
"Credential", "Script", "ComputeSelection", "JsonEditor", "SearchSpaceParameter",
"SectionToggle", "YamlEditor", "EnableRuntimeSweep", "DataStoreSelection",
"InstanceTypeSelection", "ConnectionSelection", "PromptFlowConnectionSelection",
"AzureOpenAIDeploymentNameSelection".
:paramtype ui_widget_type: str or ~flow.models.UIWidgetTypeEnum
"""
super(UIWidgetMetaInfo, self).__init__(**kwargs)
self.module_node_id = module_node_id
self.meta_module_id = meta_module_id
self.parameter_name = parameter_name
self.ui_widget_type = ui_widget_type
class UIYamlEditor(msrest.serialization.Model):
"""UIYamlEditor.
:ivar json_schema:
:vartype json_schema: str
"""
_attribute_map = {
'json_schema': {'key': 'jsonSchema', 'type': 'str'},
}
def __init__(
self,
*,
json_schema: Optional[str] = None,
**kwargs
):
"""
:keyword json_schema:
:paramtype json_schema: str
"""
super(UIYamlEditor, self).__init__(**kwargs)
self.json_schema = json_schema
class UnversionedEntityRequestDto(msrest.serialization.Model):
"""UnversionedEntityRequestDto.
:ivar unversioned_entity_ids:
:vartype unversioned_entity_ids: list[str]
"""
_attribute_map = {
'unversioned_entity_ids': {'key': 'unversionedEntityIds', 'type': '[str]'},
}
def __init__(
self,
*,
unversioned_entity_ids: Optional[List[str]] = None,
**kwargs
):
"""
:keyword unversioned_entity_ids:
:paramtype unversioned_entity_ids: list[str]
"""
super(UnversionedEntityRequestDto, self).__init__(**kwargs)
self.unversioned_entity_ids = unversioned_entity_ids
class UnversionedEntityResponseDto(msrest.serialization.Model):
"""UnversionedEntityResponseDto.
:ivar unversioned_entities:
:vartype unversioned_entities: list[~flow.models.FlowIndexEntity]
:ivar unversioned_entity_json_schema: Anything.
:vartype unversioned_entity_json_schema: any
:ivar normalized_request_charge:
:vartype normalized_request_charge: float
:ivar normalized_request_charge_period:
:vartype normalized_request_charge_period: str
"""
_attribute_map = {
'unversioned_entities': {'key': 'unversionedEntities', 'type': '[FlowIndexEntity]'},
'unversioned_entity_json_schema': {'key': 'unversionedEntityJsonSchema', 'type': 'object'},
'normalized_request_charge': {'key': 'normalizedRequestCharge', 'type': 'float'},
'normalized_request_charge_period': {'key': 'normalizedRequestChargePeriod', 'type': 'str'},
}
def __init__(
self,
*,
unversioned_entities: Optional[List["FlowIndexEntity"]] = None,
unversioned_entity_json_schema: Optional[Any] = None,
normalized_request_charge: Optional[float] = None,
normalized_request_charge_period: Optional[str] = None,
**kwargs
):
"""
:keyword unversioned_entities:
:paramtype unversioned_entities: list[~flow.models.FlowIndexEntity]
:keyword unversioned_entity_json_schema: Anything.
:paramtype unversioned_entity_json_schema: any
:keyword normalized_request_charge:
:paramtype normalized_request_charge: float
:keyword normalized_request_charge_period:
:paramtype normalized_request_charge_period: str
"""
super(UnversionedEntityResponseDto, self).__init__(**kwargs)
self.unversioned_entities = unversioned_entities
self.unversioned_entity_json_schema = unversioned_entity_json_schema
self.normalized_request_charge = normalized_request_charge
self.normalized_request_charge_period = normalized_request_charge_period
class UnversionedRebuildIndexDto(msrest.serialization.Model):
"""UnversionedRebuildIndexDto.
:ivar continuation_token:
:vartype continuation_token: str
:ivar entity_count:
:vartype entity_count: int
:ivar entity_container_type:
:vartype entity_container_type: str
:ivar entity_type:
:vartype entity_type: str
:ivar resource_id:
:vartype resource_id: str
:ivar workspace_id:
:vartype workspace_id: str
:ivar immutable_resource_id:
:vartype immutable_resource_id: str
:ivar start_time:
:vartype start_time: ~datetime.datetime
:ivar end_time:
:vartype end_time: ~datetime.datetime
"""
_attribute_map = {
'continuation_token': {'key': 'continuationToken', 'type': 'str'},
'entity_count': {'key': 'entityCount', 'type': 'int'},
'entity_container_type': {'key': 'entityContainerType', 'type': 'str'},
'entity_type': {'key': 'entityType', 'type': 'str'},
'resource_id': {'key': 'resourceId', 'type': 'str'},
'workspace_id': {'key': 'workspaceId', 'type': 'str'},
'immutable_resource_id': {'key': 'immutableResourceId', 'type': 'str'},
'start_time': {'key': 'startTime', 'type': 'iso-8601'},
'end_time': {'key': 'endTime', 'type': 'iso-8601'},
}
def __init__(
self,
*,
continuation_token: Optional[str] = None,
entity_count: Optional[int] = None,
entity_container_type: Optional[str] = None,
entity_type: Optional[str] = None,
resource_id: Optional[str] = None,
workspace_id: Optional[str] = None,
immutable_resource_id: Optional[str] = None,
start_time: Optional[datetime.datetime] = None,
end_time: Optional[datetime.datetime] = None,
**kwargs
):
"""
:keyword continuation_token:
:paramtype continuation_token: str
:keyword entity_count:
:paramtype entity_count: int
:keyword entity_container_type:
:paramtype entity_container_type: str
:keyword entity_type:
:paramtype entity_type: str
:keyword resource_id:
:paramtype resource_id: str
:keyword workspace_id:
:paramtype workspace_id: str
:keyword immutable_resource_id:
:paramtype immutable_resource_id: str
:keyword start_time:
:paramtype start_time: ~datetime.datetime
:keyword end_time:
:paramtype end_time: ~datetime.datetime
"""
super(UnversionedRebuildIndexDto, self).__init__(**kwargs)
self.continuation_token = continuation_token
self.entity_count = entity_count
self.entity_container_type = entity_container_type
self.entity_type = entity_type
self.resource_id = resource_id
self.workspace_id = workspace_id
self.immutable_resource_id = immutable_resource_id
self.start_time = start_time
self.end_time = end_time
class UnversionedRebuildResponseDto(msrest.serialization.Model):
"""UnversionedRebuildResponseDto.
:ivar entities:
:vartype entities: ~flow.models.SegmentedResult1
:ivar unversioned_entity_schema: Anything.
:vartype unversioned_entity_schema: any
:ivar normalized_request_charge:
:vartype normalized_request_charge: float
:ivar normalized_request_charge_period:
:vartype normalized_request_charge_period: str
"""
_attribute_map = {
'entities': {'key': 'entities', 'type': 'SegmentedResult1'},
'unversioned_entity_schema': {'key': 'unversionedEntitySchema', 'type': 'object'},
'normalized_request_charge': {'key': 'normalizedRequestCharge', 'type': 'float'},
'normalized_request_charge_period': {'key': 'normalizedRequestChargePeriod', 'type': 'str'},
}
def __init__(
self,
*,
entities: Optional["SegmentedResult1"] = None,
unversioned_entity_schema: Optional[Any] = None,
normalized_request_charge: Optional[float] = None,
normalized_request_charge_period: Optional[str] = None,
**kwargs
):
"""
:keyword entities:
:paramtype entities: ~flow.models.SegmentedResult1
:keyword unversioned_entity_schema: Anything.
:paramtype unversioned_entity_schema: any
:keyword normalized_request_charge:
:paramtype normalized_request_charge: float
:keyword normalized_request_charge_period:
:paramtype normalized_request_charge_period: str
"""
super(UnversionedRebuildResponseDto, self).__init__(**kwargs)
self.entities = entities
self.unversioned_entity_schema = unversioned_entity_schema
self.normalized_request_charge = normalized_request_charge
self.normalized_request_charge_period = normalized_request_charge_period
class UpdateComponentRequest(msrest.serialization.Model):
"""UpdateComponentRequest.
:ivar display_name:
:vartype display_name: str
:ivar description:
:vartype description: str
:ivar tags: A set of tags. Dictionary of :code:`<string>`.
:vartype tags: dict[str, str]
:ivar module_update_operation_type: Possible values include: "SetDefaultVersion",
"EnableModule", "DisableModule", "UpdateDisplayName", "UpdateDescription", "UpdateTags".
:vartype module_update_operation_type: str or ~flow.models.ModuleUpdateOperationType
:ivar module_version:
:vartype module_version: str
"""
_attribute_map = {
'display_name': {'key': 'displayName', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'module_update_operation_type': {'key': 'moduleUpdateOperationType', 'type': 'str'},
'module_version': {'key': 'moduleVersion', 'type': 'str'},
}
def __init__(
self,
*,
display_name: Optional[str] = None,
description: Optional[str] = None,
tags: Optional[Dict[str, str]] = None,
module_update_operation_type: Optional[Union[str, "ModuleUpdateOperationType"]] = None,
module_version: Optional[str] = None,
**kwargs
):
"""
:keyword display_name:
:paramtype display_name: str
:keyword description:
:paramtype description: str
:keyword tags: A set of tags. Dictionary of :code:`<string>`.
:paramtype tags: dict[str, str]
:keyword module_update_operation_type: Possible values include: "SetDefaultVersion",
"EnableModule", "DisableModule", "UpdateDisplayName", "UpdateDescription", "UpdateTags".
:paramtype module_update_operation_type: str or ~flow.models.ModuleUpdateOperationType
:keyword module_version:
:paramtype module_version: str
"""
super(UpdateComponentRequest, self).__init__(**kwargs)
self.display_name = display_name
self.description = description
self.tags = tags
self.module_update_operation_type = module_update_operation_type
self.module_version = module_version
class UpdateFlowRequest(msrest.serialization.Model):
"""UpdateFlowRequest.
:ivar flow_run_result:
:vartype flow_run_result: ~flow.models.FlowRunResult
:ivar flow_test_mode: Possible values include: "Sync", "Async".
:vartype flow_test_mode: str or ~flow.models.FlowTestMode
:ivar flow_test_infos: Dictionary of :code:`<FlowTestInfo>`.
:vartype flow_test_infos: dict[str, ~flow.models.FlowTestInfo]
:ivar flow_name:
:vartype flow_name: str
:ivar description:
:vartype description: str
:ivar details:
:vartype details: str
:ivar tags: A set of tags. Dictionary of :code:`<string>`.
:vartype tags: dict[str, str]
:ivar flow:
:vartype flow: ~flow.models.Flow
:ivar flow_definition_file_path:
:vartype flow_definition_file_path: str
:ivar flow_type: Possible values include: "Default", "Evaluation", "Chat", "Rag".
:vartype flow_type: str or ~flow.models.FlowType
:ivar flow_run_settings:
:vartype flow_run_settings: ~flow.models.FlowRunSettings
:ivar is_archived:
:vartype is_archived: bool
:ivar vm_size:
:vartype vm_size: str
:ivar max_idle_time_seconds:
:vartype max_idle_time_seconds: long
:ivar identity:
:vartype identity: str
"""
_attribute_map = {
'flow_run_result': {'key': 'flowRunResult', 'type': 'FlowRunResult'},
'flow_test_mode': {'key': 'flowTestMode', 'type': 'str'},
'flow_test_infos': {'key': 'flowTestInfos', 'type': '{FlowTestInfo}'},
'flow_name': {'key': 'flowName', 'type': 'str'},
'description': {'key': 'description', 'type': 'str'},
'details': {'key': 'details', 'type': 'str'},
'tags': {'key': 'tags', 'type': '{str}'},
'flow': {'key': 'flow', 'type': 'Flow'},
'flow_definition_file_path': {'key': 'flowDefinitionFilePath', 'type': 'str'},
'flow_type': {'key': 'flowType', 'type': 'str'},
'flow_run_settings': {'key': 'flowRunSettings', 'type': 'FlowRunSettings'},
'is_archived': {'key': 'isArchived', 'type': 'bool'},
'vm_size': {'key': 'vmSize', 'type': 'str'},
'max_idle_time_seconds': {'key': 'maxIdleTimeSeconds', 'type': 'long'},
'identity': {'key': 'identity', 'type': 'str'},
}
def __init__(
self,
*,
flow_run_result: Optional["FlowRunResult"] = None,
flow_test_mode: Optional[Union[str, "FlowTestMode"]] = None,
flow_test_infos: Optional[Dict[str, "FlowTestInfo"]] = None,
flow_name: Optional[str] = None,
description: Optional[str] = None,
details: Optional[str] = None,
tags: Optional[Dict[str, str]] = None,
flow: Optional["Flow"] = None,
flow_definition_file_path: Optional[str] = None,
flow_type: Optional[Union[str, "FlowType"]] = None,
flow_run_settings: Optional["FlowRunSettings"] = None,
is_archived: Optional[bool] = None,
vm_size: Optional[str] = None,
max_idle_time_seconds: Optional[int] = None,
identity: Optional[str] = None,
**kwargs
):
"""
:keyword flow_run_result:
:paramtype flow_run_result: ~flow.models.FlowRunResult
:keyword flow_test_mode: Possible values include: "Sync", "Async".
:paramtype flow_test_mode: str or ~flow.models.FlowTestMode
:keyword flow_test_infos: Dictionary of :code:`<FlowTestInfo>`.
:paramtype flow_test_infos: dict[str, ~flow.models.FlowTestInfo]
:keyword flow_name:
:paramtype flow_name: str
:keyword description:
:paramtype description: str
:keyword details:
:paramtype details: str
:keyword tags: A set of tags. Dictionary of :code:`<string>`.
:paramtype tags: dict[str, str]
:keyword flow:
:paramtype flow: ~flow.models.Flow
:keyword flow_definition_file_path:
:paramtype flow_definition_file_path: str
:keyword flow_type: Possible values include: "Default", "Evaluation", "Chat", "Rag".
:paramtype flow_type: str or ~flow.models.FlowType
:keyword flow_run_settings:
:paramtype flow_run_settings: ~flow.models.FlowRunSettings
:keyword is_archived:
:paramtype is_archived: bool
:keyword vm_size:
:paramtype vm_size: str
:keyword max_idle_time_seconds:
:paramtype max_idle_time_seconds: long
:keyword identity:
:paramtype identity: str
"""
super(UpdateFlowRequest, self).__init__(**kwargs)
self.flow_run_result = flow_run_result
self.flow_test_mode = flow_test_mode
self.flow_test_infos = flow_test_infos
self.flow_name = flow_name
self.description = description
self.details = details
self.tags = tags
self.flow = flow
self.flow_definition_file_path = flow_definition_file_path
self.flow_type = flow_type
self.flow_run_settings = flow_run_settings
self.is_archived = is_archived
self.vm_size = vm_size
self.max_idle_time_seconds = max_idle_time_seconds
self.identity = identity
class UpdateFlowRuntimeRequest(msrest.serialization.Model):
"""UpdateFlowRuntimeRequest.
:ivar runtime_description:
:vartype runtime_description: str
:ivar environment:
:vartype environment: str
:ivar instance_count:
:vartype instance_count: int
"""
_attribute_map = {
'runtime_description': {'key': 'runtimeDescription', 'type': 'str'},
'environment': {'key': 'environment', 'type': 'str'},
'instance_count': {'key': 'instanceCount', 'type': 'int'},
}
def __init__(
self,
*,
runtime_description: Optional[str] = None,
environment: Optional[str] = None,
instance_count: Optional[int] = None,
**kwargs
):
"""
:keyword runtime_description:
:paramtype runtime_description: str
:keyword environment:
:paramtype environment: str
:keyword instance_count:
:paramtype instance_count: int
"""
super(UpdateFlowRuntimeRequest, self).__init__(**kwargs)
self.runtime_description = runtime_description
self.environment = environment
self.instance_count = instance_count
class UpdateRegistryComponentRequest(msrest.serialization.Model):
"""UpdateRegistryComponentRequest.
:ivar registry_name:
:vartype registry_name: str
:ivar component_name:
:vartype component_name: str
:ivar component_version:
:vartype component_version: str
:ivar update_type: The only acceptable values to pass in are None and "SetDefaultVersion". The
default value is None.
:vartype update_type: str
"""
_attribute_map = {
'registry_name': {'key': 'registryName', 'type': 'str'},
'component_name': {'key': 'componentName', 'type': 'str'},
'component_version': {'key': 'componentVersion', 'type': 'str'},
'update_type': {'key': 'updateType', 'type': 'str'},
}
def __init__(
self,
*,
registry_name: Optional[str] = None,
component_name: Optional[str] = None,
component_version: Optional[str] = None,
update_type: Optional[str] = None,
**kwargs
):
"""
:keyword registry_name:
:paramtype registry_name: str
:keyword component_name:
:paramtype component_name: str
:keyword component_version:
:paramtype component_version: str
:keyword update_type: The only acceptable values to pass in are None and "SetDefaultVersion".
The default value is None.
:paramtype update_type: str
"""
super(UpdateRegistryComponentRequest, self).__init__(**kwargs)
self.registry_name = registry_name
self.component_name = component_name
self.component_version = component_version
self.update_type = update_type
class UploadOptions(msrest.serialization.Model):
"""UploadOptions.
:ivar overwrite:
:vartype overwrite: bool
:ivar source_globs:
:vartype source_globs: ~flow.models.ExecutionGlobsOptions
"""
_attribute_map = {
'overwrite': {'key': 'overwrite', 'type': 'bool'},
'source_globs': {'key': 'sourceGlobs', 'type': 'ExecutionGlobsOptions'},
}
def __init__(
self,
*,
overwrite: Optional[bool] = None,
source_globs: Optional["ExecutionGlobsOptions"] = None,
**kwargs
):
"""
:keyword overwrite:
:paramtype overwrite: bool
:keyword source_globs:
:paramtype source_globs: ~flow.models.ExecutionGlobsOptions
"""
super(UploadOptions, self).__init__(**kwargs)
self.overwrite = overwrite
self.source_globs = source_globs
class UriReference(msrest.serialization.Model):
"""UriReference.
:ivar path:
:vartype path: str
:ivar is_file:
:vartype is_file: bool
"""
_attribute_map = {
'path': {'key': 'path', 'type': 'str'},
'is_file': {'key': 'isFile', 'type': 'bool'},
}
def __init__(
self,
*,
path: Optional[str] = None,
is_file: Optional[bool] = None,
**kwargs
):
"""
:keyword path:
:paramtype path: str
:keyword is_file:
:paramtype is_file: bool
"""
super(UriReference, self).__init__(**kwargs)
self.path = path
self.is_file = is_file
class User(msrest.serialization.Model):
"""User.
:ivar user_object_id: A user or service principal's object ID.
This is EUPI and may only be logged to warm path telemetry.
:vartype user_object_id: str
:ivar user_pu_id: A user or service principal's PuID.
This is PII and should never be logged.
:vartype user_pu_id: str
:ivar user_idp: A user identity provider. Eg live.com
This is PII and should never be logged.
:vartype user_idp: str
:ivar user_alt_sec_id: A user alternate sec id. This represents the user in a different
identity provider system Eg.1:live.com:puid
This is PII and should never be logged.
:vartype user_alt_sec_id: str
:ivar user_iss: The issuer which issed the token for this user.
This is PII and should never be logged.
:vartype user_iss: str
:ivar user_tenant_id: A user or service principal's tenant ID.
:vartype user_tenant_id: str
:ivar user_name: A user's full name or a service principal's app ID.
This is PII and should never be logged.
:vartype user_name: str
:ivar upn: A user's Principal name (upn)
This is PII andshould never be logged.
:vartype upn: str
"""
_attribute_map = {
'user_object_id': {'key': 'userObjectId', 'type': 'str'},
'user_pu_id': {'key': 'userPuId', 'type': 'str'},
'user_idp': {'key': 'userIdp', 'type': 'str'},
'user_alt_sec_id': {'key': 'userAltSecId', 'type': 'str'},
'user_iss': {'key': 'userIss', 'type': 'str'},
'user_tenant_id': {'key': 'userTenantId', 'type': 'str'},
'user_name': {'key': 'userName', 'type': 'str'},
'upn': {'key': 'upn', 'type': 'str'},
}
def __init__(
self,
*,
user_object_id: Optional[str] = None,
user_pu_id: Optional[str] = None,
user_idp: Optional[str] = None,
user_alt_sec_id: Optional[str] = None,
user_iss: Optional[str] = None,
user_tenant_id: Optional[str] = None,
user_name: Optional[str] = None,
upn: Optional[str] = None,
**kwargs
):
"""
:keyword user_object_id: A user or service principal's object ID.
This is EUPI and may only be logged to warm path telemetry.
:paramtype user_object_id: str
:keyword user_pu_id: A user or service principal's PuID.
This is PII and should never be logged.
:paramtype user_pu_id: str
:keyword user_idp: A user identity provider. Eg live.com
This is PII and should never be logged.
:paramtype user_idp: str
:keyword user_alt_sec_id: A user alternate sec id. This represents the user in a different
identity provider system Eg.1:live.com:puid
This is PII and should never be logged.
:paramtype user_alt_sec_id: str
:keyword user_iss: The issuer which issed the token for this user.
This is PII and should never be logged.
:paramtype user_iss: str
:keyword user_tenant_id: A user or service principal's tenant ID.
:paramtype user_tenant_id: str
:keyword user_name: A user's full name or a service principal's app ID.
This is PII and should never be logged.
:paramtype user_name: str
:keyword upn: A user's Principal name (upn)
This is PII andshould never be logged.
:paramtype upn: str
"""
super(User, self).__init__(**kwargs)
self.user_object_id = user_object_id
self.user_pu_id = user_pu_id
self.user_idp = user_idp
self.user_alt_sec_id = user_alt_sec_id
self.user_iss = user_iss
self.user_tenant_id = user_tenant_id
self.user_name = user_name
self.upn = upn
class UserAssignedIdentity(msrest.serialization.Model):
"""UserAssignedIdentity.
:ivar principal_id:
:vartype principal_id: str
:ivar client_id:
:vartype client_id: str
"""
_attribute_map = {
'principal_id': {'key': 'principalId', 'type': 'str'},
'client_id': {'key': 'clientId', 'type': 'str'},
}
def __init__(
self,
*,
principal_id: Optional[str] = None,
client_id: Optional[str] = None,
**kwargs
):
"""
:keyword principal_id:
:paramtype principal_id: str
:keyword client_id:
:paramtype client_id: str
"""
super(UserAssignedIdentity, self).__init__(**kwargs)
self.principal_id = principal_id
self.client_id = client_id
class ValidationDataSettings(msrest.serialization.Model):
"""ValidationDataSettings.
:ivar n_cross_validations:
:vartype n_cross_validations: ~flow.models.NCrossValidations
:ivar validation_data_size:
:vartype validation_data_size: float
:ivar cv_split_column_names:
:vartype cv_split_column_names: list[str]
:ivar validation_type:
:vartype validation_type: str
"""
_attribute_map = {
'n_cross_validations': {'key': 'nCrossValidations', 'type': 'NCrossValidations'},
'validation_data_size': {'key': 'validationDataSize', 'type': 'float'},
'cv_split_column_names': {'key': 'cvSplitColumnNames', 'type': '[str]'},
'validation_type': {'key': 'validationType', 'type': 'str'},
}
def __init__(
self,
*,
n_cross_validations: Optional["NCrossValidations"] = None,
validation_data_size: Optional[float] = None,
cv_split_column_names: Optional[List[str]] = None,
validation_type: Optional[str] = None,
**kwargs
):
"""
:keyword n_cross_validations:
:paramtype n_cross_validations: ~flow.models.NCrossValidations
:keyword validation_data_size:
:paramtype validation_data_size: float
:keyword cv_split_column_names:
:paramtype cv_split_column_names: list[str]
:keyword validation_type:
:paramtype validation_type: str
"""
super(ValidationDataSettings, self).__init__(**kwargs)
self.n_cross_validations = n_cross_validations
self.validation_data_size = validation_data_size
self.cv_split_column_names = cv_split_column_names
self.validation_type = validation_type
class VariantNode(msrest.serialization.Model):
"""VariantNode.
:ivar node:
:vartype node: ~flow.models.Node
:ivar description:
:vartype description: str
"""
_attribute_map = {
'node': {'key': 'node', 'type': 'Node'},
'description': {'key': 'description', 'type': 'str'},
}
def __init__(
self,
*,
node: Optional["Node"] = None,
description: Optional[str] = None,
**kwargs
):
"""
:keyword node:
:paramtype node: ~flow.models.Node
:keyword description:
:paramtype description: str
"""
super(VariantNode, self).__init__(**kwargs)
self.node = node
self.description = description
class Webhook(msrest.serialization.Model):
"""Webhook.
:ivar webhook_type: The only acceptable values to pass in are None and "AzureDevOps". The
default value is None.
:vartype webhook_type: str
:ivar event_type:
:vartype event_type: str
"""
_attribute_map = {
'webhook_type': {'key': 'webhookType', 'type': 'str'},
'event_type': {'key': 'eventType', 'type': 'str'},
}
def __init__(
self,
*,
webhook_type: Optional[str] = None,
event_type: Optional[str] = None,
**kwargs
):
"""
:keyword webhook_type: The only acceptable values to pass in are None and "AzureDevOps". The
default value is None.
:paramtype webhook_type: str
:keyword event_type:
:paramtype event_type: str
"""
super(Webhook, self).__init__(**kwargs)
self.webhook_type = webhook_type
self.event_type = event_type
class WebServiceComputeMetaInfo(msrest.serialization.Model):
"""WebServiceComputeMetaInfo.
:ivar node_count:
:vartype node_count: int
:ivar is_ssl_enabled:
:vartype is_ssl_enabled: bool
:ivar aks_not_found:
:vartype aks_not_found: bool
:ivar cluster_purpose:
:vartype cluster_purpose: str
:ivar public_ip_address:
:vartype public_ip_address: str
:ivar vm_size:
:vartype vm_size: str
:ivar location:
:vartype location: str
:ivar provisioning_state:
:vartype provisioning_state: str
:ivar state:
:vartype state: str
:ivar os_type:
:vartype os_type: str
:ivar id:
:vartype id: str
:ivar name:
:vartype name: str
:ivar created_by_studio:
:vartype created_by_studio: bool
:ivar is_gpu_type:
:vartype is_gpu_type: bool
:ivar resource_id:
:vartype resource_id: str
:ivar compute_type:
:vartype compute_type: str
"""
_attribute_map = {
'node_count': {'key': 'nodeCount', 'type': 'int'},
'is_ssl_enabled': {'key': 'isSslEnabled', 'type': 'bool'},
'aks_not_found': {'key': 'aksNotFound', 'type': 'bool'},
'cluster_purpose': {'key': 'clusterPurpose', 'type': 'str'},
'public_ip_address': {'key': 'publicIpAddress', 'type': 'str'},
'vm_size': {'key': 'vmSize', 'type': 'str'},
'location': {'key': 'location', 'type': 'str'},
'provisioning_state': {'key': 'provisioningState', 'type': 'str'},
'state': {'key': 'state', 'type': 'str'},
'os_type': {'key': 'osType', 'type': 'str'},
'id': {'key': 'id', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
'created_by_studio': {'key': 'createdByStudio', 'type': 'bool'},
'is_gpu_type': {'key': 'isGpuType', 'type': 'bool'},
'resource_id': {'key': 'resourceId', 'type': 'str'},
'compute_type': {'key': 'computeType', 'type': 'str'},
}
def __init__(
self,
*,
node_count: Optional[int] = None,
is_ssl_enabled: Optional[bool] = None,
aks_not_found: Optional[bool] = None,
cluster_purpose: Optional[str] = None,
public_ip_address: Optional[str] = None,
vm_size: Optional[str] = None,
location: Optional[str] = None,
provisioning_state: Optional[str] = None,
state: Optional[str] = None,
os_type: Optional[str] = None,
id: Optional[str] = None,
name: Optional[str] = None,
created_by_studio: Optional[bool] = None,
is_gpu_type: Optional[bool] = None,
resource_id: Optional[str] = None,
compute_type: Optional[str] = None,
**kwargs
):
"""
:keyword node_count:
:paramtype node_count: int
:keyword is_ssl_enabled:
:paramtype is_ssl_enabled: bool
:keyword aks_not_found:
:paramtype aks_not_found: bool
:keyword cluster_purpose:
:paramtype cluster_purpose: str
:keyword public_ip_address:
:paramtype public_ip_address: str
:keyword vm_size:
:paramtype vm_size: str
:keyword location:
:paramtype location: str
:keyword provisioning_state:
:paramtype provisioning_state: str
:keyword state:
:paramtype state: str
:keyword os_type:
:paramtype os_type: str
:keyword id:
:paramtype id: str
:keyword name:
:paramtype name: str
:keyword created_by_studio:
:paramtype created_by_studio: bool
:keyword is_gpu_type:
:paramtype is_gpu_type: bool
:keyword resource_id:
:paramtype resource_id: str
:keyword compute_type:
:paramtype compute_type: str
"""
super(WebServiceComputeMetaInfo, self).__init__(**kwargs)
self.node_count = node_count
self.is_ssl_enabled = is_ssl_enabled
self.aks_not_found = aks_not_found
self.cluster_purpose = cluster_purpose
self.public_ip_address = public_ip_address
self.vm_size = vm_size
self.location = location
self.provisioning_state = provisioning_state
self.state = state
self.os_type = os_type
self.id = id
self.name = name
self.created_by_studio = created_by_studio
self.is_gpu_type = is_gpu_type
self.resource_id = resource_id
self.compute_type = compute_type
class WebServicePort(msrest.serialization.Model):
"""WebServicePort.
:ivar node_id:
:vartype node_id: str
:ivar port_name:
:vartype port_name: str
:ivar name:
:vartype name: str
"""
_attribute_map = {
'node_id': {'key': 'nodeId', 'type': 'str'},
'port_name': {'key': 'portName', 'type': 'str'},
'name': {'key': 'name', 'type': 'str'},
}
def __init__(
self,
*,
node_id: Optional[str] = None,
port_name: Optional[str] = None,
name: Optional[str] = None,
**kwargs
):
"""
:keyword node_id:
:paramtype node_id: str
:keyword port_name:
:paramtype port_name: str
:keyword name:
:paramtype name: str
"""
super(WebServicePort, self).__init__(**kwargs)
self.node_id = node_id
self.port_name = port_name
self.name = name
class WorkspaceConnectionSpec(msrest.serialization.Model):
"""WorkspaceConnectionSpec.
:ivar connection_category: Possible values include: "PythonFeed", "ACR", "Git", "S3",
"Snowflake", "AzureSqlDb", "AzureSynapseAnalytics", "AzureMySqlDb", "AzurePostgresDb",
"AzureDataLakeGen2", "Redis", "ApiKey", "AzureOpenAI", "CognitiveSearch", "CognitiveService",
"CustomKeys", "AzureBlob", "AzureOneLake", "CosmosDb", "CosmosDbMongoDbApi",
"AzureDataExplorer", "AzureMariaDb", "AzureDatabricksDeltaLake", "AzureSqlMi",
"AzureTableStorage", "AmazonRdsForOracle", "AmazonRdsForSqlServer", "AmazonRedshift", "Db2",
"Drill", "GoogleBigQuery", "Greenplum", "Hbase", "Hive", "Impala", "Informix", "MariaDb",
"MicrosoftAccess", "MySql", "Netezza", "Oracle", "Phoenix", "PostgreSql", "Presto",
"SapOpenHub", "SapBw", "SapHana", "SapTable", "Spark", "SqlServer", "Sybase", "Teradata",
"Vertica", "Cassandra", "Couchbase", "MongoDbV2", "MongoDbAtlas", "AmazonS3Compatible",
"FileServer", "FtpServer", "GoogleCloudStorage", "Hdfs", "OracleCloudStorage", "Sftp",
"GenericHttp", "ODataRest", "Odbc", "GenericRest", "AmazonMws", "Concur", "Dynamics",
"DynamicsAx", "DynamicsCrm", "GoogleAdWords", "Hubspot", "Jira", "Magento", "Marketo",
"Office365", "Eloqua", "Responsys", "OracleServiceCloud", "PayPal", "QuickBooks", "Salesforce",
"SalesforceServiceCloud", "SalesforceMarketingCloud", "SapCloudForCustomer", "SapEcc",
"ServiceNow", "SharePointOnlineList", "Shopify", "Square", "WebTable", "Xero", "Zoho",
"GenericContainerRegistry".
:vartype connection_category: str or ~flow.models.ConnectionCategory
:ivar flow_value_type: Possible values include: "int", "double", "bool", "string", "secret",
"prompt_template", "object", "list", "BingConnection", "OpenAIConnection",
"AzureOpenAIConnection", "AzureContentModeratorConnection", "CustomConnection",
"AzureContentSafetyConnection", "SerpConnection", "CognitiveSearchConnection",
"SubstrateLLMConnection", "PineconeConnection", "QdrantConnection", "WeaviateConnection",
"function_list", "function_str", "FormRecognizerConnection", "file_path", "image".
:vartype flow_value_type: str or ~flow.models.ValueType
:ivar connection_type: Possible values include: "OpenAI", "AzureOpenAI", "Serp", "Bing",
"AzureContentModerator", "Custom", "AzureContentSafety", "CognitiveSearch", "SubstrateLLM",
"Pinecone", "Qdrant", "Weaviate", "FormRecognizer".
:vartype connection_type: str or ~flow.models.ConnectionType
:ivar connection_type_display_name:
:vartype connection_type_display_name: str
:ivar config_specs:
:vartype config_specs: list[~flow.models.ConnectionConfigSpec]
:ivar module:
:vartype module: str
"""
_attribute_map = {
'connection_category': {'key': 'connectionCategory', 'type': 'str'},
'flow_value_type': {'key': 'flowValueType', 'type': 'str'},
'connection_type': {'key': 'connectionType', 'type': 'str'},
'connection_type_display_name': {'key': 'connectionTypeDisplayName', 'type': 'str'},
'config_specs': {'key': 'configSpecs', 'type': '[ConnectionConfigSpec]'},
'module': {'key': 'module', 'type': 'str'},
}
def __init__(
self,
*,
connection_category: Optional[Union[str, "ConnectionCategory"]] = None,
flow_value_type: Optional[Union[str, "ValueType"]] = None,
connection_type: Optional[Union[str, "ConnectionType"]] = None,
connection_type_display_name: Optional[str] = None,
config_specs: Optional[List["ConnectionConfigSpec"]] = None,
module: Optional[str] = None,
**kwargs
):
"""
:keyword connection_category: Possible values include: "PythonFeed", "ACR", "Git", "S3",
"Snowflake", "AzureSqlDb", "AzureSynapseAnalytics", "AzureMySqlDb", "AzurePostgresDb",
"AzureDataLakeGen2", "Redis", "ApiKey", "AzureOpenAI", "CognitiveSearch", "CognitiveService",
"CustomKeys", "AzureBlob", "AzureOneLake", "CosmosDb", "CosmosDbMongoDbApi",
"AzureDataExplorer", "AzureMariaDb", "AzureDatabricksDeltaLake", "AzureSqlMi",
"AzureTableStorage", "AmazonRdsForOracle", "AmazonRdsForSqlServer", "AmazonRedshift", "Db2",
"Drill", "GoogleBigQuery", "Greenplum", "Hbase", "Hive", "Impala", "Informix", "MariaDb",
"MicrosoftAccess", "MySql", "Netezza", "Oracle", "Phoenix", "PostgreSql", "Presto",
"SapOpenHub", "SapBw", "SapHana", "SapTable", "Spark", "SqlServer", "Sybase", "Teradata",
"Vertica", "Cassandra", "Couchbase", "MongoDbV2", "MongoDbAtlas", "AmazonS3Compatible",
"FileServer", "FtpServer", "GoogleCloudStorage", "Hdfs", "OracleCloudStorage", "Sftp",
"GenericHttp", "ODataRest", "Odbc", "GenericRest", "AmazonMws", "Concur", "Dynamics",
"DynamicsAx", "DynamicsCrm", "GoogleAdWords", "Hubspot", "Jira", "Magento", "Marketo",
"Office365", "Eloqua", "Responsys", "OracleServiceCloud", "PayPal", "QuickBooks", "Salesforce",
"SalesforceServiceCloud", "SalesforceMarketingCloud", "SapCloudForCustomer", "SapEcc",
"ServiceNow", "SharePointOnlineList", "Shopify", "Square", "WebTable", "Xero", "Zoho",
"GenericContainerRegistry".
:paramtype connection_category: str or ~flow.models.ConnectionCategory
:keyword flow_value_type: Possible values include: "int", "double", "bool", "string", "secret",
"prompt_template", "object", "list", "BingConnection", "OpenAIConnection",
"AzureOpenAIConnection", "AzureContentModeratorConnection", "CustomConnection",
"AzureContentSafetyConnection", "SerpConnection", "CognitiveSearchConnection",
"SubstrateLLMConnection", "PineconeConnection", "QdrantConnection", "WeaviateConnection",
"function_list", "function_str", "FormRecognizerConnection", "file_path", "image".
:paramtype flow_value_type: str or ~flow.models.ValueType
:keyword connection_type: Possible values include: "OpenAI", "AzureOpenAI", "Serp", "Bing",
"AzureContentModerator", "Custom", "AzureContentSafety", "CognitiveSearch", "SubstrateLLM",
"Pinecone", "Qdrant", "Weaviate", "FormRecognizer".
:paramtype connection_type: str or ~flow.models.ConnectionType
:keyword connection_type_display_name:
:paramtype connection_type_display_name: str
:keyword config_specs:
:paramtype config_specs: list[~flow.models.ConnectionConfigSpec]
:keyword module:
:paramtype module: str
"""
super(WorkspaceConnectionSpec, self).__init__(**kwargs)
self.connection_category = connection_category
self.flow_value_type = flow_value_type
self.connection_type = connection_type
self.connection_type_display_name = connection_type_display_name
self.config_specs = config_specs
self.module = module
| promptflow/src/promptflow/promptflow/azure/_restclient/flow/models/_models_py3.py/0 | {
"file_path": "promptflow/src/promptflow/promptflow/azure/_restclient/flow/models/_models_py3.py",
"repo_id": "promptflow",
"token_count": 731467
} | 49 |
{
"openapi": "3.0.1",
"info": {
"title": "Azure Machine Learning Designer Service Client",
"version": "1.0.0"
},
"paths": {
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/BulkRuns/submit": {
"post": {
"tags": [
"BulkRuns"
],
"operationId": "BulkRuns_SubmitBulkRun",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SubmitBulkRunRequest"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
},
"202": {
"description": "Accepted",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
},
"204": {
"description": "No Content",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/BulkRuns/{flowRunId}/cancel": {
"post": {
"tags": [
"BulkRuns"
],
"operationId": "BulkRuns_CancelFlowRun",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "flowRunId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"type": "string"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/BulkRuns/{flowRunId}/clone": {
"post": {
"tags": [
"BulkRuns"
],
"operationId": "BulkRuns_CloneFlowFromFlowRun",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "flowRunId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CreateFlowRequest"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/FlowDto"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/BulkRuns/{flowRunId}": {
"get": {
"tags": [
"BulkRuns"
],
"operationId": "BulkRuns_GetFlowRunInfo",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "flowRunId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/FlowRunInfo"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/BulkRuns/{flowRunId}/childRuns": {
"get": {
"tags": [
"BulkRuns"
],
"operationId": "BulkRuns_GetFlowChildRuns",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "flowRunId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "index",
"in": "query",
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "startIndex",
"in": "query",
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "endIndex",
"in": "query",
"schema": {
"type": "integer",
"format": "int32"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": { }
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/BulkRuns/{flowRunId}/nodeRuns/{nodeName}": {
"get": {
"tags": [
"BulkRuns"
],
"operationId": "BulkRuns_GetFlowNodeRuns",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "flowRunId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "nodeName",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "index",
"in": "query",
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "startIndex",
"in": "query",
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "endIndex",
"in": "query",
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "aggregation",
"in": "query",
"schema": {
"type": "boolean",
"default": false
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": { }
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/BulkRuns/{flowRunId}/nodeRuns/{nodeName}/basePath": {
"get": {
"tags": [
"BulkRuns"
],
"operationId": "BulkRuns_GetFlowNodeRunBasePath",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "flowRunId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "nodeName",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/FlowRunBasePath"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/BulkRuns/{flowRunId}/logContent": {
"get": {
"tags": [
"BulkRuns"
],
"operationId": "BulkRuns_GetFlowRunLogContent",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "flowRunId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/Connection/{connectionName}": {
"post": {
"tags": [
"Connection"
],
"operationId": "Connection_CreateConnection",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "connectionName",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CreateOrUpdateConnectionRequest"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ConnectionEntity"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
},
"put": {
"tags": [
"Connection"
],
"operationId": "Connection_UpdateConnection",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "connectionName",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CreateOrUpdateConnectionRequest"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ConnectionEntity"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
},
"get": {
"tags": [
"Connection"
],
"operationId": "Connection_GetConnection",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "connectionName",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ConnectionEntity"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
},
"delete": {
"tags": [
"Connection"
],
"operationId": "Connection_DeleteConnection",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "connectionName",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "connectionScope",
"in": "query",
"schema": {
"$ref": "#/components/schemas/ConnectionScope"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ConnectionEntity"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/Connection": {
"get": {
"tags": [
"Connection"
],
"operationId": "Connection_ListConnections",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ConnectionEntity"
}
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/Connection/specs": {
"get": {
"tags": [
"Connection"
],
"operationId": "Connection_ListConnectionSpecs",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ConnectionSpec"
}
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/Connections/{connectionName}": {
"post": {
"tags": [
"Connections"
],
"operationId": "Connections_CreateConnection",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "connectionName",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CreateOrUpdateConnectionRequestDto"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ConnectionDto"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
},
"put": {
"tags": [
"Connections"
],
"operationId": "Connections_UpdateConnection",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "connectionName",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CreateOrUpdateConnectionRequestDto"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ConnectionDto"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
},
"get": {
"tags": [
"Connections"
],
"operationId": "Connections_GetConnection",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "connectionName",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ConnectionDto"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
},
"delete": {
"tags": [
"Connections"
],
"operationId": "Connections_DeleteConnection",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "connectionName",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ConnectionDto"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/Connections/{connectionName}/listsecrets": {
"get": {
"tags": [
"Connections"
],
"operationId": "Connections_GetConnectionWithSecrets",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "connectionName",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ConnectionDto"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/Connections": {
"get": {
"tags": [
"Connections"
],
"operationId": "Connections_ListConnections",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ConnectionDto"
}
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/Connections/specs": {
"get": {
"tags": [
"Connections"
],
"operationId": "Connections_ListConnectionSpecs",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/WorkspaceConnectionSpec"
}
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/Connections/{connectionName}/AzureOpenAIDeployments": {
"get": {
"tags": [
"Connections"
],
"operationId": "Connections_ListAzureOpenAIDeployments",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "connectionName",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AzureOpenAIDeploymentDto"
}
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/FlowRunsAdmin/{flowId}/bulkRuns/{bulkRunId}/submit": {
"post": {
"tags": [
"FlowRunsAdmin"
],
"operationId": "FlowRunsAdmin_SubmitBulkRunAsync",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "flowId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "bulkRunId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "errorHandlingMode",
"in": "query",
"schema": {
"$ref": "#/components/schemas/ErrorHandlingMode"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SubmitBulkRunResponse"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/FlowRunsAdmin/{flowId}/bulkRuns/{bulkRunId}/policy": {
"post": {
"tags": [
"FlowRunsAdmin"
],
"operationId": "FlowRunsAdmin_SendPolicyValidationAsync",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "flowId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "bulkRunId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PolicyValidationResponse"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
},
"get": {
"tags": [
"FlowRunsAdmin"
],
"operationId": "FlowRunsAdmin_CheckPolicyValidationAsync",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "flowId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "bulkRunId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PolicyValidationResponse"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/FlowRunsAdmin/{flowId}/bulkRuns/{bulkRunId}/LogResult": {
"post": {
"tags": [
"FlowRunsAdmin"
],
"operationId": "FlowRunsAdmin_LogResultForBulkRun",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "flowId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "bulkRunId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/KeyValuePairStringObject"
}
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/FlowRunsAdmin/storageInfo": {
"get": {
"tags": [
"FlowRunsAdmin"
],
"operationId": "FlowRunsAdmin_GetStorageInfo",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/StorageInfo"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/FlowRunsAdmin/{flowId}/flowRuns/{flowRunId}/runtime/{runtimeVersion}/logEvent": {
"post": {
"tags": [
"FlowRunsAdmin"
],
"operationId": "FlowRunsAdmin_LogFlowRunEvent",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "flowId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "flowRunId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "runtimeVersion",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/FlowRunsAdmin/{flowId}/flowRuns/{flowRunId}/logEvent": {
"post": {
"tags": [
"FlowRunsAdmin"
],
"operationId": "FlowRunsAdmin_LogFlowRunEventV2",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "flowId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "flowRunId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "runtimeVersion",
"in": "query",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/FlowRunsAdmin/{flowId}/flowRuns/{flowRunId}/logTerminatedEvent": {
"post": {
"tags": [
"FlowRunsAdmin"
],
"operationId": "FlowRunsAdmin_LogFlowRunTerminatedEvent",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "flowId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "flowRunId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "lastCheckedTime",
"in": "query",
"schema": {
"type": "string",
"format": "date-time"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/LogRunTerminatedEventDto"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/FlowRunsAdmin/{flowId}/bulkRuns/{bulkRunId}/serviceLogs": {
"post": {
"tags": [
"FlowRunsAdmin"
],
"operationId": "FlowRunsAdmin_UpdateServiceLogs",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "flowId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "bulkRunId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ServiceLogRequest"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Task"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/FlowRunsAdmin/{flowId}/bulkRuns/{bulkRunId}/serviceLogs/batch": {
"post": {
"tags": [
"FlowRunsAdmin"
],
"operationId": "FlowRunsAdmin_BatchUpdateServiceLogs",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "flowId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "bulkRunId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ServiceLogRequest"
}
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Task"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/FlowRuntimes/{runtimeName}": {
"post": {
"tags": [
"FlowRuntimes"
],
"operationId": "FlowRuntimes_CreateRuntime",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "runtimeName",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "asyncCall",
"in": "query",
"schema": {
"type": "boolean",
"default": false
}
},
{
"name": "msiToken",
"in": "query",
"schema": {
"type": "boolean",
"default": false
}
},
{
"name": "skipPortCheck",
"in": "query",
"schema": {
"type": "boolean",
"default": false
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CreateFlowRuntimeRequest"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/FlowRuntimeDto"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
},
"put": {
"tags": [
"FlowRuntimes"
],
"operationId": "FlowRuntimes_UpdateRuntime",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "runtimeName",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "asyncCall",
"in": "query",
"schema": {
"type": "boolean",
"default": false
}
},
{
"name": "msiToken",
"in": "query",
"schema": {
"type": "boolean",
"default": false
}
},
{
"name": "skipPortCheck",
"in": "query",
"schema": {
"type": "boolean",
"default": false
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UpdateFlowRuntimeRequest"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/FlowRuntimeDto"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
},
"get": {
"tags": [
"FlowRuntimes"
],
"operationId": "FlowRuntimes_GetRuntime",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "runtimeName",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/FlowRuntimeDto"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
},
"delete": {
"tags": [
"FlowRuntimes"
],
"operationId": "FlowRuntimes_DeleteRuntime",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "runtimeName",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "asyncCall",
"in": "query",
"schema": {
"type": "boolean",
"default": false
}
},
{
"name": "msiToken",
"in": "query",
"schema": {
"type": "boolean",
"default": false
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/FlowRuntimeDto"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/FlowRuntimes/checkCiAvailability": {
"get": {
"tags": [
"FlowRuntimes"
],
"operationId": "FlowRuntimes_CheckCiAvailability",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "computeInstanceName",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "customAppName",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AvailabilityResponse"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/FlowRuntimes/checkMirAvailability": {
"get": {
"tags": [
"FlowRuntimes"
],
"operationId": "FlowRuntimes_CheckMirAvailability",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "endpointName",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "deploymentName",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/AvailabilityResponse"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/FlowRuntimes/{runtimeName}/needUpgrade": {
"get": {
"tags": [
"FlowRuntimes"
],
"operationId": "FlowRuntimes_CheckRuntimeUpgrade",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "runtimeName",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"type": "boolean"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/FlowRuntimes/{runtimeName}/capability": {
"get": {
"tags": [
"FlowRuntimes"
],
"operationId": "FlowRuntimes_GetRuntimeCapability",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "runtimeName",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/FlowRuntimeCapability"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/FlowRuntimes/latestConfig": {
"get": {
"tags": [
"FlowRuntimes"
],
"operationId": "FlowRuntimes_GetRuntimeLatestConfig",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/RuntimeConfiguration"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/FlowRuntimes": {
"get": {
"tags": [
"FlowRuntimes"
],
"operationId": "FlowRuntimes_ListRuntimes",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/FlowRuntimeDto"
}
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/runtimes/latestConfig": {
"get": {
"tags": [
"FlowRuntimesWorkspaceIndependent"
],
"operationId": "FlowRuntimesWorkspaceIndependent_GetRuntimeLatestConfig",
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/RuntimeConfiguration"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/Flows": {
"post": {
"tags": [
"Flows"
],
"operationId": "Flows_CreateFlow",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "experimentId",
"in": "query",
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CreateFlowRequest"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/FlowDto"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
},
"get": {
"tags": [
"Flows"
],
"operationId": "Flows_ListFlows",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "experimentId",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "ownedOnly",
"in": "query",
"schema": {
"type": "boolean"
}
},
{
"name": "flowType",
"in": "query",
"schema": {
"$ref": "#/components/schemas/FlowType"
}
},
{
"name": "listViewType",
"in": "query",
"schema": {
"$ref": "#/components/schemas/ListViewType"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/FlowBaseDto"
}
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/Flows/{flowId}/clone": {
"post": {
"tags": [
"Flows"
],
"operationId": "Flows_CloneFlow",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "flowId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "experimentId",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CreateFlowRequest"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/FlowDto"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/Flows/fromsample": {
"post": {
"tags": [
"Flows"
],
"operationId": "Flows_CreateFlowFromSample",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "experimentId",
"in": "query",
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CreateFlowFromSampleRequest"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/FlowDto"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/Flows/{flowId}": {
"put": {
"tags": [
"Flows"
],
"operationId": "Flows_UpdateFlow",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "flowId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "experimentId",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UpdateFlowRequest"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
},
"patch": {
"tags": [
"Flows"
],
"operationId": "Flows_PatchFlow",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "flowId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "experimentId",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json-patch+json": {
"schema": {
"$ref": "#/components/schemas/PatchFlowRequest"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
},
"get": {
"tags": [
"Flows"
],
"operationId": "Flows_GetFlow",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "flowId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "experimentId",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/FlowDto"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/Flows/submit": {
"post": {
"tags": [
"Flows"
],
"operationId": "Flows_SubmitFlow",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "experimentId",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "endpointName",
"in": "query",
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SubmitFlowRequest"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/FlowRunResult"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/Flows/{flowId}/{flowRunId}/status": {
"get": {
"tags": [
"Flows"
],
"operationId": "Flows_GetFlowRunStatus",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "flowId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "flowRunId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "experimentId",
"in": "query",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/FlowRunResult"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/Flows/{flowId}/runs/{flowRunId}": {
"get": {
"tags": [
"Flows"
],
"operationId": "Flows_GetFlowRunInfo",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "flowId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "flowRunId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "experimentId",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/FlowRunInfo"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/Flows/{flowId}/runs/{flowRunId}/childRuns": {
"get": {
"tags": [
"Flows"
],
"operationId": "Flows_GetFlowChildRuns",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "flowId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "flowRunId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "index",
"in": "query",
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "startIndex",
"in": "query",
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "endIndex",
"in": "query",
"schema": {
"type": "integer",
"format": "int32"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": { }
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/Flows/{flowId}/runs/{flowRunId}/nodeRuns/{nodeName}": {
"get": {
"tags": [
"Flows"
],
"operationId": "Flows_GetFlowNodeRuns",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "flowId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "flowRunId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "nodeName",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "index",
"in": "query",
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "startIndex",
"in": "query",
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "endIndex",
"in": "query",
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "aggregation",
"in": "query",
"schema": {
"type": "boolean",
"default": false
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": { }
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/Flows/{flowId}/runs/{flowRunId}/nodeRuns/{nodeName}/basePath": {
"get": {
"tags": [
"Flows"
],
"operationId": "Flows_GetFlowNodeRunBasePath",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "flowId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "flowRunId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "nodeName",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/FlowRunBasePath"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/Flows/{flowId}/runs/{flowRunId}/clone": {
"post": {
"tags": [
"Flows"
],
"operationId": "Flows_CloneFlowFromFlowRun",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "flowId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "flowRunId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "experimentId",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CreateFlowRequest"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/FlowDto"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/Flows/{flowId}/bulkTests": {
"get": {
"tags": [
"Flows"
],
"operationId": "Flows_ListBulkTests",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "flowId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "experimentId",
"in": "query",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/BulkTestDto"
}
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/Flows/{flowId}/bulkTests/{bulkTestId}": {
"get": {
"tags": [
"Flows"
],
"operationId": "Flows_GetBulkTest",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "flowId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "bulkTestId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/BulkTestDto"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/Flows/samples": {
"get": {
"tags": [
"Flows"
],
"operationId": "Flows_GetSamples",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "useSnapshot",
"in": "query",
"schema": {
"type": "boolean",
"default": false
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/FlowSampleDto"
}
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/Flows/evaluateSamples": {
"get": {
"tags": [
"Flows"
],
"operationId": "Flows_GetEvaluateFlowSamples",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "useSnapshot",
"in": "query",
"schema": {
"type": "boolean",
"default": false
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/FlowSampleDto"
}
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/Flows/DeployReservedEnvironmentVariableNames": {
"get": {
"tags": [
"Flows"
],
"operationId": "Flows_GetFlowDeployReservedEnvironmentVariableNames",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/Flows/deploy": {
"post": {
"tags": [
"Flows"
],
"operationId": "Flows_DeployFlow",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "asyncCall",
"in": "query",
"schema": {
"type": "boolean",
"default": false
}
},
{
"name": "msiToken",
"in": "query",
"schema": {
"type": "boolean",
"default": false
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/DeployFlowRequest"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/Flows/{flowId}/runs/{flowRunId}/logContent": {
"get": {
"tags": [
"Flows"
],
"operationId": "Flows_GetFlowRunLogContent",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "flowId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "flowRunId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/Flows/runs/{flowRunId}/cancel": {
"post": {
"tags": [
"Flows"
],
"operationId": "Flows_CancelFlowRun",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "flowRunId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"type": "string"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/Flows/{flowId}/flowTests/{flowRunId}/cancel": {
"post": {
"tags": [
"Flows"
],
"operationId": "Flows_CancelFlowTest",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "flowId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "flowRunId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"type": "string"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/Flows/bulkTests/{bulkTestRunId}/cancel": {
"post": {
"tags": [
"Flows"
],
"operationId": "Flows_CancelBulkTestRun",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "bulkTestRunId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"text/plain": {
"schema": {
"type": "string"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/Flows/FlowSnapshot": {
"post": {
"tags": [
"Flows"
],
"operationId": "Flows_GetFlowSnapshot",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CreateFlowRequest"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/FlowSnapshot"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/Flows/connectionOverride": {
"post": {
"tags": [
"Flows"
],
"operationId": "Flows_GetConnectionOverrideSettings",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "runtimeName",
"in": "query",
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/FlowGraphReference"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ConnectionOverrideSetting"
}
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/Flows/flowInputs": {
"post": {
"tags": [
"Flows"
],
"operationId": "Flows_GetFlowInputs",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/FlowGraphReference"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/FlowInputDefinition"
},
"description": "This is a dictionary"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/Flows/LoadAsComponent": {
"post": {
"tags": [
"Flows"
],
"operationId": "Flows_LoadAsComponent",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/LoadFlowAsComponentRequest"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/Flows/{flowId}/flowTools": {
"get": {
"tags": [
"Flows"
],
"operationId": "Flows_GetFlowTools",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "flowId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "flowRuntimeName",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "experimentId",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/FlowToolsDto"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/Flows/{flowId}/sessions": {
"post": {
"tags": [
"Flows"
],
"operationId": "Flows_SetupFlowSession",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "flowId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "experimentId",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/SetupFlowSessionRequest"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/IActionResult"
}
}
}
},
"202": {
"description": "Accepted",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/IActionResult"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
},
"delete": {
"tags": [
"Flows"
],
"operationId": "Flows_DeleteFlowSession",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "flowId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "experimentId",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/IActionResult"
}
}
}
},
"202": {
"description": "Accepted",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/IActionResult"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/Flows/{flowId}/sessions/status": {
"get": {
"tags": [
"Flows"
],
"operationId": "Flows_GetFlowSessionStatus",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "flowId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "experimentId",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/FlowSessionDto"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/FlowSessions/{sessionId}": {
"post": {
"tags": [
"FlowSessions"
],
"operationId": "FlowSessions_CreateFlowSession",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "sessionId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/CreateFlowSessionRequest"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/IActionResult"
}
}
}
},
"202": {
"description": "Accepted",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/IActionResult"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
},
"get": {
"tags": [
"FlowSessions"
],
"operationId": "FlowSessions_GetFlowSession",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "sessionId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GetTrainingSessionDto"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
},
"delete": {
"tags": [
"FlowSessions"
],
"operationId": "FlowSessions_DeleteFlowSession",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "sessionId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/IActionResult"
}
}
}
},
"202": {
"description": "Accepted",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/IActionResult"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/FlowSessions/{sessionId}/{actionType}/locations/{location}/operations/{operationId}": {
"get": {
"tags": [
"FlowSessions"
],
"operationId": "FlowSessions_PollOperationStatus",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "sessionId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "actionType",
"in": "path",
"required": true,
"schema": {
"$ref": "#/components/schemas/SetupFlowSessionAction"
}
},
{
"name": "location",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "operationId",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "api-version",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "type",
"in": "query",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/IActionResult"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/FlowSessions/standbypools": {
"get": {
"tags": [
"FlowSessions"
],
"operationId": "FlowSessions_GetStandbyPools",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/StandbyPoolProperties"
}
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/v1.0/flows/getIndexEntities": {
"post": {
"tags": [
"FlowsProvider"
],
"operationId": "FlowsProvider_GetIndexEntityById",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UnversionedEntityRequestDto"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UnversionedEntityResponseDto"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/v1.0/flows/rebuildIndex": {
"post": {
"tags": [
"FlowsProvider"
],
"operationId": "FlowsProvider_GetUpdatedEntityIdsForWorkspace",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UnversionedRebuildIndexDto"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/UnversionedRebuildResponseDto"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/Tools/setting": {
"get": {
"tags": [
"Tools"
],
"operationId": "Tools_GetToolSetting",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ToolSetting"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/Tools/samples": {
"get": {
"tags": [
"Tools"
],
"operationId": "Tools_GetSamples",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/Tool"
}
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/Tools/meta": {
"post": {
"tags": [
"Tools"
],
"operationId": "Tools_GetToolMeta",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "toolName",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "toolType",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "endpointName",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "flowRuntimeName",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "flowId",
"in": "query",
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"text/plain": {
"schema": {
"type": "string"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"type": "string"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/Tools/meta-v2": {
"post": {
"tags": [
"Tools"
],
"operationId": "Tools_GetToolMetaV2",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "flowRuntimeName",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "flowId",
"in": "query",
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GenerateToolMetaRequest"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ToolMetaDto"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/Tools/packageTools": {
"get": {
"tags": [
"Tools"
],
"operationId": "Tools_GetPackageTools",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "flowRuntimeName",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "flowId",
"in": "query",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/Tool"
}
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/Tools/dynamicList": {
"post": {
"tags": [
"Tools"
],
"operationId": "Tools_GetDynamicList",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "flowRuntimeName",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "flowId",
"in": "query",
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/GetDynamicListRequest"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": { }
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
},
"/flow/api/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.MachineLearningServices/workspaces/{workspaceName}/Tools/RetrieveToolFuncResult": {
"post": {
"tags": [
"Tools"
],
"operationId": "Tools_RetrieveToolFuncResult",
"parameters": [
{
"$ref": "#/components/parameters/subscriptionIdParameter"
},
{
"$ref": "#/components/parameters/resourceGroupNameParameter"
},
{
"$ref": "#/components/parameters/workspaceNameParameter"
},
{
"name": "flowRuntimeName",
"in": "query",
"schema": {
"type": "string"
}
},
{
"name": "flowId",
"in": "query",
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/RetrieveToolFuncResultRequest"
}
}
}
},
"responses": {
"200": {
"description": "Success",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ToolFuncResponse"
}
}
}
},
"default": {
"description": "Error response describing why the operation failed.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
}
}
}
},
"components": {
"schemas": {
"ACIAdvanceSettings": {
"type": "object",
"properties": {
"containerResourceRequirements": {
"$ref": "#/components/schemas/ContainerResourceRequirements"
},
"appInsightsEnabled": {
"type": "boolean",
"nullable": true
},
"sslEnabled": {
"type": "boolean",
"nullable": true
},
"sslCertificate": {
"type": "string",
"nullable": true
},
"sslKey": {
"type": "string",
"nullable": true
},
"cName": {
"type": "string",
"nullable": true
},
"dnsNameLabel": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AEVAAssetType": {
"enum": [
"UriFile",
"UriFolder",
"MLTable",
"CustomModel",
"MLFlowModel",
"TritonModel",
"OpenAIModel"
],
"type": "string"
},
"AEVAComputeConfiguration": {
"type": "object",
"properties": {
"target": {
"type": "string",
"nullable": true
},
"instanceCount": {
"type": "integer",
"format": "int32",
"nullable": true
},
"isLocal": {
"type": "boolean"
},
"location": {
"type": "string",
"nullable": true
},
"isClusterless": {
"type": "boolean"
},
"instanceType": {
"type": "string",
"nullable": true
},
"properties": {
"type": "object",
"additionalProperties": {
"nullable": true
},
"nullable": true
},
"isPreemptable": {
"type": "boolean"
}
},
"additionalProperties": false
},
"AEVADataStoreMode": {
"enum": [
"None",
"Mount",
"Download",
"Upload",
"Direct",
"Hdfs",
"Link"
],
"type": "string"
},
"AEVAIdentityType": {
"enum": [
"UserIdentity",
"Managed",
"AMLToken"
],
"type": "string"
},
"AEVAResourceConfiguration": {
"type": "object",
"properties": {
"instanceCount": {
"type": "integer",
"format": "int32",
"nullable": true
},
"instanceType": {
"type": "string",
"nullable": true
},
"properties": {
"type": "object",
"additionalProperties": {
"nullable": true
},
"nullable": true
},
"locations": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"instancePriority": {
"type": "string",
"nullable": true
},
"quotaEnforcementResourceId": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AISuperComputerConfiguration": {
"type": "object",
"properties": {
"instanceType": {
"type": "string",
"nullable": true
},
"instanceTypes": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"imageVersion": {
"type": "string",
"nullable": true
},
"location": {
"type": "string",
"nullable": true
},
"locations": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"aiSuperComputerStorageData": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/AISuperComputerStorageReferenceConfiguration"
},
"nullable": true
},
"interactive": {
"type": "boolean"
},
"scalePolicy": {
"$ref": "#/components/schemas/AISuperComputerScalePolicy"
},
"virtualClusterArmId": {
"type": "string",
"nullable": true
},
"tensorboardLogDirectory": {
"type": "string",
"nullable": true
},
"sshPublicKey": {
"type": "string",
"nullable": true
},
"sshPublicKeys": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"enableAzmlInt": {
"type": "boolean"
},
"priority": {
"type": "string",
"nullable": true
},
"slaTier": {
"type": "string",
"nullable": true
},
"suspendOnIdleTimeHours": {
"type": "integer",
"format": "int64",
"nullable": true
},
"userAlias": {
"type": "string",
"nullable": true
},
"quotaEnforcementResourceId": {
"type": "string",
"nullable": true
},
"modelComputeSpecificationId": {
"type": "string",
"nullable": true
},
"groupPolicyName": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AISuperComputerScalePolicy": {
"type": "object",
"properties": {
"autoScaleInstanceTypeCountSet": {
"type": "array",
"items": {
"type": "integer",
"format": "int32"
},
"nullable": true
},
"autoScaleIntervalInSec": {
"type": "integer",
"format": "int32",
"nullable": true
},
"maxInstanceTypeCount": {
"type": "integer",
"format": "int32",
"nullable": true
},
"minInstanceTypeCount": {
"type": "integer",
"format": "int32",
"nullable": true
}
},
"additionalProperties": false
},
"AISuperComputerStorageReferenceConfiguration": {
"type": "object",
"properties": {
"containerName": {
"type": "string",
"nullable": true
},
"relativePath": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AKSAdvanceSettings": {
"type": "object",
"properties": {
"autoScaler": {
"$ref": "#/components/schemas/AutoScaler"
},
"containerResourceRequirements": {
"$ref": "#/components/schemas/ContainerResourceRequirements"
},
"appInsightsEnabled": {
"type": "boolean",
"nullable": true
},
"scoringTimeoutMs": {
"type": "integer",
"format": "int32",
"nullable": true
},
"numReplicas": {
"type": "integer",
"format": "int32",
"nullable": true
}
},
"additionalProperties": false
},
"AKSReplicaStatus": {
"type": "object",
"properties": {
"desiredReplicas": {
"type": "integer",
"format": "int32"
},
"updatedReplicas": {
"type": "integer",
"format": "int32"
},
"availableReplicas": {
"type": "integer",
"format": "int32"
},
"error": {
"$ref": "#/components/schemas/ModelManagementErrorResponse"
}
},
"additionalProperties": false
},
"AMLComputeConfiguration": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"vmSize": {
"type": "string",
"nullable": true
},
"vmPriority": {
"$ref": "#/components/schemas/VmPriority"
},
"retainCluster": {
"type": "boolean"
},
"clusterMaxNodeCount": {
"type": "integer",
"format": "int32",
"nullable": true
},
"osType": {
"type": "string",
"nullable": true
},
"virtualMachineImage": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"APCloudConfiguration": {
"type": "object",
"properties": {
"referencedAPModuleGuid": {
"type": "string",
"nullable": true
},
"userAlias": {
"type": "string",
"nullable": true
},
"aetherModuleType": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"ActionType": {
"enum": [
"SendValidationRequest",
"GetValidationStatus",
"SubmitBulkRun",
"LogRunResult",
"LogRunTerminatedEvent"
],
"type": "string"
},
"Activate": {
"type": "object",
"properties": {
"when": {
"type": "string",
"nullable": true
},
"is": {
"nullable": true
}
},
"additionalProperties": false
},
"AdditionalErrorInfo": {
"type": "object",
"properties": {
"type": {
"type": "string",
"nullable": true
},
"info": {
"nullable": true
}
},
"additionalProperties": false
},
"AdhocTriggerScheduledCommandJobRequest": {
"type": "object",
"properties": {
"jobName": {
"type": "string",
"nullable": true
},
"jobDisplayName": {
"type": "string",
"nullable": true
},
"triggerTimeString": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AdhocTriggerScheduledSparkJobRequest": {
"type": "object",
"properties": {
"jobName": {
"type": "string",
"nullable": true
},
"jobDisplayName": {
"type": "string",
"nullable": true
},
"triggerTimeString": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherAPCloudConfiguration": {
"type": "object",
"properties": {
"referencedAPModuleGuid": {
"type": "string",
"nullable": true
},
"userAlias": {
"type": "string",
"nullable": true
},
"aetherModuleType": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherAmlDataset": {
"type": "object",
"properties": {
"registeredDataSetReference": {
"$ref": "#/components/schemas/AetherRegisteredDataSetReference"
},
"savedDataSetReference": {
"$ref": "#/components/schemas/AetherSavedDataSetReference"
},
"additionalTransformations": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherAmlSparkCloudSetting": {
"type": "object",
"properties": {
"entry": {
"$ref": "#/components/schemas/AetherEntrySetting"
},
"files": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"archives": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"jars": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"pyFiles": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"driverMemory": {
"type": "string",
"nullable": true
},
"driverCores": {
"type": "integer",
"format": "int32",
"nullable": true
},
"executorMemory": {
"type": "string",
"nullable": true
},
"executorCores": {
"type": "integer",
"format": "int32",
"nullable": true
},
"numberExecutors": {
"type": "integer",
"format": "int32",
"nullable": true
},
"environmentAssetId": {
"type": "string",
"nullable": true
},
"environmentVariables": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"inlineEnvironmentDefinitionString": {
"type": "string",
"nullable": true
},
"conf": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"compute": {
"type": "string",
"nullable": true
},
"resources": {
"$ref": "#/components/schemas/AetherResourcesSetting"
},
"identity": {
"$ref": "#/components/schemas/AetherIdentitySetting"
}
},
"additionalProperties": false
},
"AetherArgumentAssignment": {
"type": "object",
"properties": {
"valueType": {
"$ref": "#/components/schemas/AetherArgumentValueType"
},
"value": {
"type": "string",
"nullable": true
},
"nestedArgumentList": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AetherArgumentAssignment"
},
"nullable": true
},
"stringInterpolationArgumentList": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AetherArgumentAssignment"
},
"nullable": true
}
},
"additionalProperties": false
},
"AetherArgumentValueType": {
"enum": [
"Literal",
"Parameter",
"Input",
"Output",
"NestedList",
"StringInterpolationList"
],
"type": "string"
},
"AetherAssetDefinition": {
"type": "object",
"properties": {
"path": {
"type": "string",
"nullable": true
},
"type": {
"$ref": "#/components/schemas/AetherAssetType"
},
"assetId": {
"type": "string",
"nullable": true
},
"initialAssetId": {
"type": "string",
"nullable": true
},
"serializedAssetId": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherAssetOutputSettings": {
"type": "object",
"properties": {
"path": {
"type": "string",
"nullable": true
},
"PathParameterAssignment": {
"$ref": "#/components/schemas/AetherParameterAssignment"
},
"type": {
"$ref": "#/components/schemas/AetherAssetType"
},
"options": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"dataStoreMode": {
"$ref": "#/components/schemas/AetherDataStoreMode"
},
"name": {
"type": "string",
"nullable": true
},
"version": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherAssetType": {
"enum": [
"UriFile",
"UriFolder",
"MLTable",
"CustomModel",
"MLFlowModel",
"TritonModel",
"OpenAIModel"
],
"type": "string"
},
"AetherAutoFeaturizeConfiguration": {
"type": "object",
"properties": {
"featurizationConfig": {
"$ref": "#/components/schemas/AetherFeaturizationSettings"
}
},
"additionalProperties": false
},
"AetherAutoMLComponentConfiguration": {
"type": "object",
"properties": {
"autoTrainConfig": {
"$ref": "#/components/schemas/AetherAutoTrainConfiguration"
},
"autoFeaturizeConfig": {
"$ref": "#/components/schemas/AetherAutoFeaturizeConfiguration"
}
},
"additionalProperties": false
},
"AetherAutoTrainConfiguration": {
"type": "object",
"properties": {
"generalSettings": {
"$ref": "#/components/schemas/AetherGeneralSettings"
},
"limitSettings": {
"$ref": "#/components/schemas/AetherLimitSettings"
},
"dataSettings": {
"$ref": "#/components/schemas/AetherDataSettings"
},
"forecastingSettings": {
"$ref": "#/components/schemas/AetherForecastingSettings"
},
"trainingSettings": {
"$ref": "#/components/schemas/AetherTrainingSettings"
},
"sweepSettings": {
"$ref": "#/components/schemas/AetherSweepSettings"
},
"imageModelSettings": {
"type": "object",
"additionalProperties": {
"nullable": true
},
"nullable": true
},
"properties": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"computeConfiguration": {
"$ref": "#/components/schemas/AetherComputeConfiguration"
},
"resourceConfigurtion": {
"$ref": "#/components/schemas/AetherResourceConfiguration"
},
"environmentId": {
"type": "string",
"nullable": true
},
"environmentVariables": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
}
},
"additionalProperties": false
},
"AetherAzureBlobReference": {
"type": "object",
"properties": {
"container": {
"type": "string",
"nullable": true
},
"sasToken": {
"type": "string",
"nullable": true
},
"uri": {
"type": "string",
"nullable": true
},
"account": {
"type": "string",
"nullable": true
},
"relativePath": {
"type": "string",
"nullable": true
},
"pathType": {
"$ref": "#/components/schemas/AetherFileBasedPathType"
},
"amlDataStoreName": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherAzureDataLakeGen2Reference": {
"type": "object",
"properties": {
"fileSystemName": {
"type": "string",
"nullable": true
},
"uri": {
"type": "string",
"nullable": true
},
"account": {
"type": "string",
"nullable": true
},
"relativePath": {
"type": "string",
"nullable": true
},
"pathType": {
"$ref": "#/components/schemas/AetherFileBasedPathType"
},
"amlDataStoreName": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherAzureDataLakeReference": {
"type": "object",
"properties": {
"tenant": {
"type": "string",
"nullable": true
},
"subscription": {
"type": "string",
"nullable": true
},
"resourceGroup": {
"type": "string",
"nullable": true
},
"dataLakeUri": {
"type": "string",
"nullable": true
},
"uri": {
"type": "string",
"nullable": true
},
"account": {
"type": "string",
"nullable": true
},
"relativePath": {
"type": "string",
"nullable": true
},
"pathType": {
"$ref": "#/components/schemas/AetherFileBasedPathType"
},
"amlDataStoreName": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherAzureDatabaseReference": {
"type": "object",
"properties": {
"serverUri": {
"type": "string",
"nullable": true
},
"databaseName": {
"type": "string",
"nullable": true
},
"tableName": {
"type": "string",
"nullable": true
},
"sqlQuery": {
"type": "string",
"nullable": true
},
"storedProcedureName": {
"type": "string",
"nullable": true
},
"storedProcedureParameters": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AetherStoredProcedureParameter"
},
"nullable": true
},
"amlDataStoreName": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherAzureFilesReference": {
"type": "object",
"properties": {
"share": {
"type": "string",
"nullable": true
},
"uri": {
"type": "string",
"nullable": true
},
"account": {
"type": "string",
"nullable": true
},
"relativePath": {
"type": "string",
"nullable": true
},
"pathType": {
"$ref": "#/components/schemas/AetherFileBasedPathType"
},
"amlDataStoreName": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherBatchAiComputeInfo": {
"type": "object",
"properties": {
"batchAiSubscriptionId": {
"type": "string",
"nullable": true
},
"batchAiResourceGroup": {
"type": "string",
"nullable": true
},
"batchAiWorkspaceName": {
"type": "string",
"nullable": true
},
"clusterName": {
"type": "string",
"nullable": true
},
"nativeSharedDirectory": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherBuildArtifactInfo": {
"type": "object",
"properties": {
"type": {
"$ref": "#/components/schemas/AetherBuildSourceType"
},
"cloudBuildDropPathInfo": {
"$ref": "#/components/schemas/AetherCloudBuildDropPathInfo"
},
"vsoBuildArtifactInfo": {
"$ref": "#/components/schemas/AetherVsoBuildArtifactInfo"
}
},
"additionalProperties": false
},
"AetherBuildSourceType": {
"enum": [
"CloudBuild",
"Vso",
"VsoGit"
],
"type": "string"
},
"AetherCloudBuildDropPathInfo": {
"type": "object",
"properties": {
"buildInfo": {
"$ref": "#/components/schemas/AetherCloudBuildInfo"
},
"root": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherCloudBuildInfo": {
"type": "object",
"properties": {
"queueInfo": {
"$ref": "#/components/schemas/AetherCloudBuildQueueInfo"
},
"buildId": {
"type": "string",
"nullable": true
},
"dropUrl": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherCloudBuildQueueInfo": {
"type": "object",
"properties": {
"buildQueue": {
"type": "string",
"nullable": true
},
"buildRole": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherCloudPrioritySetting": {
"type": "object",
"properties": {
"scopePriority": {
"$ref": "#/components/schemas/AetherPriorityConfiguration"
},
"AmlComputePriority": {
"$ref": "#/components/schemas/AetherPriorityConfiguration"
},
"ItpPriority": {
"$ref": "#/components/schemas/AetherPriorityConfiguration"
},
"SingularityPriority": {
"$ref": "#/components/schemas/AetherPriorityConfiguration"
}
},
"additionalProperties": false
},
"AetherCloudSettings": {
"type": "object",
"properties": {
"linkedSettings": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AetherParameterAssignment"
},
"nullable": true
},
"priorityConfig": {
"$ref": "#/components/schemas/AetherPriorityConfiguration"
},
"hdiRunConfig": {
"$ref": "#/components/schemas/AetherHdiRunConfiguration"
},
"subGraphConfig": {
"$ref": "#/components/schemas/AetherSubGraphConfiguration"
},
"autoMLComponentConfig": {
"$ref": "#/components/schemas/AetherAutoMLComponentConfiguration"
},
"apCloudConfig": {
"$ref": "#/components/schemas/AetherAPCloudConfiguration"
},
"scopeCloudConfig": {
"$ref": "#/components/schemas/AetherScopeCloudConfiguration"
},
"esCloudConfig": {
"$ref": "#/components/schemas/AetherEsCloudConfiguration"
},
"dataTransferCloudConfig": {
"$ref": "#/components/schemas/AetherDataTransferCloudConfiguration"
},
"amlSparkCloudSetting": {
"$ref": "#/components/schemas/AetherAmlSparkCloudSetting"
},
"dataTransferV2CloudSetting": {
"$ref": "#/components/schemas/AetherDataTransferV2CloudSetting"
}
},
"additionalProperties": false
},
"AetherColumnTransformer": {
"type": "object",
"properties": {
"fields": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"parameters": {
"nullable": true
}
},
"additionalProperties": false
},
"AetherComputeConfiguration": {
"type": "object",
"properties": {
"target": {
"type": "string",
"nullable": true
},
"instanceCount": {
"type": "integer",
"format": "int32",
"nullable": true
},
"isLocal": {
"type": "boolean"
},
"location": {
"type": "string",
"nullable": true
},
"isClusterless": {
"type": "boolean"
},
"instanceType": {
"type": "string",
"nullable": true
},
"properties": {
"type": "object",
"additionalProperties": {
"nullable": true
},
"nullable": true
},
"isPreemptable": {
"type": "boolean"
}
},
"additionalProperties": false
},
"AetherComputeSetting": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"computeType": {
"$ref": "#/components/schemas/AetherComputeType"
},
"batchAiComputeInfo": {
"$ref": "#/components/schemas/AetherBatchAiComputeInfo"
},
"remoteDockerComputeInfo": {
"$ref": "#/components/schemas/AetherRemoteDockerComputeInfo"
},
"hdiClusterComputeInfo": {
"$ref": "#/components/schemas/AetherHdiClusterComputeInfo"
},
"mlcComputeInfo": {
"$ref": "#/components/schemas/AetherMlcComputeInfo"
},
"databricksComputeInfo": {
"$ref": "#/components/schemas/AetherDatabricksComputeInfo"
}
},
"additionalProperties": false
},
"AetherComputeType": {
"enum": [
"BatchAi",
"MLC",
"HdiCluster",
"RemoteDocker",
"Databricks",
"Aisc"
],
"type": "string"
},
"AetherControlFlowType": {
"enum": [
"None",
"DoWhile",
"ParallelFor"
],
"type": "string"
},
"AetherControlInput": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"defaultValue": {
"$ref": "#/components/schemas/AetherControlInputValue"
}
},
"additionalProperties": false
},
"AetherControlInputValue": {
"enum": [
"None",
"False",
"True",
"Skipped"
],
"type": "string"
},
"AetherControlOutput": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherControlType": {
"enum": [
"IfElse"
],
"type": "string"
},
"AetherCopyDataTask": {
"type": "object",
"properties": {
"DataCopyMode": {
"$ref": "#/components/schemas/AetherDataCopyMode"
}
},
"additionalProperties": false
},
"AetherCosmosReference": {
"type": "object",
"properties": {
"cluster": {
"type": "string",
"nullable": true
},
"vc": {
"type": "string",
"nullable": true
},
"relativePath": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherCreatedBy": {
"type": "object",
"properties": {
"userObjectId": {
"type": "string",
"nullable": true
},
"userTenantId": {
"type": "string",
"nullable": true
},
"userName": {
"type": "string",
"nullable": true
},
"puid": {
"type": "string",
"nullable": true
},
"iss": {
"type": "string",
"nullable": true
},
"idp": {
"type": "string",
"nullable": true
},
"altsecId": {
"type": "string",
"nullable": true
},
"sourceIp": {
"type": "string",
"nullable": true
},
"skipRegistryPrivateLinkCheck": {
"type": "boolean"
}
},
"additionalProperties": false
},
"AetherCustomReference": {
"type": "object",
"properties": {
"amlDataStoreName": {
"type": "string",
"nullable": true
},
"relativePath": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherDBFSReference": {
"type": "object",
"properties": {
"relativePath": {
"type": "string",
"nullable": true
},
"amlDataStoreName": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherDataCopyMode": {
"enum": [
"MergeWithOverwrite",
"FailIfConflict"
],
"type": "string"
},
"AetherDataLocation": {
"type": "object",
"properties": {
"storageType": {
"$ref": "#/components/schemas/AetherDataLocationStorageType"
},
"storageId": {
"type": "string",
"nullable": true
},
"uri": {
"type": "string",
"nullable": true
},
"dataStoreName": {
"type": "string",
"nullable": true
},
"dataReference": {
"$ref": "#/components/schemas/AetherDataReference"
},
"amlDataset": {
"$ref": "#/components/schemas/AetherAmlDataset"
},
"assetDefinition": {
"$ref": "#/components/schemas/AetherAssetDefinition"
},
"isCompliant": {
"type": "boolean"
},
"reuseCalculationFields": {
"$ref": "#/components/schemas/AetherDataLocationReuseCalculationFields"
}
},
"additionalProperties": false
},
"AetherDataLocationReuseCalculationFields": {
"type": "object",
"properties": {
"dataStoreName": {
"type": "string",
"nullable": true
},
"relativePath": {
"type": "string",
"nullable": true
},
"dataExperimentId": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherDataLocationStorageType": {
"enum": [
"Cosmos",
"AzureBlob",
"Artifact",
"Snapshot",
"SavedAmlDataset",
"Asset"
],
"type": "string"
},
"AetherDataPath": {
"type": "object",
"properties": {
"dataStoreName": {
"type": "string",
"nullable": true
},
"relativePath": {
"type": "string",
"nullable": true
},
"sqlDataPath": {
"$ref": "#/components/schemas/AetherSqlDataPath"
}
},
"additionalProperties": false
},
"AetherDataReference": {
"type": "object",
"properties": {
"type": {
"$ref": "#/components/schemas/AetherDataReferenceType"
},
"azureBlobReference": {
"$ref": "#/components/schemas/AetherAzureBlobReference"
},
"azureDataLakeReference": {
"$ref": "#/components/schemas/AetherAzureDataLakeReference"
},
"azureFilesReference": {
"$ref": "#/components/schemas/AetherAzureFilesReference"
},
"cosmosReference": {
"$ref": "#/components/schemas/AetherCosmosReference"
},
"phillyHdfsReference": {
"$ref": "#/components/schemas/AetherPhillyHdfsReference"
},
"azureSqlDatabaseReference": {
"$ref": "#/components/schemas/AetherAzureDatabaseReference"
},
"azurePostgresDatabaseReference": {
"$ref": "#/components/schemas/AetherAzureDatabaseReference"
},
"azureDataLakeGen2Reference": {
"$ref": "#/components/schemas/AetherAzureDataLakeGen2Reference"
},
"dbfsReference": {
"$ref": "#/components/schemas/AetherDBFSReference"
},
"azureMySqlDatabaseReference": {
"$ref": "#/components/schemas/AetherAzureDatabaseReference"
},
"customReference": {
"$ref": "#/components/schemas/AetherCustomReference"
},
"hdfsReference": {
"$ref": "#/components/schemas/AetherHdfsReference"
}
},
"additionalProperties": false
},
"AetherDataReferenceType": {
"enum": [
"None",
"AzureBlob",
"AzureDataLake",
"AzureFiles",
"Cosmos",
"PhillyHdfs",
"AzureSqlDatabase",
"AzurePostgresDatabase",
"AzureDataLakeGen2",
"DBFS",
"AzureMySqlDatabase",
"Custom",
"Hdfs"
],
"type": "string"
},
"AetherDataSetDefinition": {
"type": "object",
"properties": {
"dataTypeShortName": {
"type": "string",
"nullable": true
},
"parameterName": {
"type": "string",
"nullable": true
},
"value": {
"$ref": "#/components/schemas/AetherDataSetDefinitionValue"
}
},
"additionalProperties": false
},
"AetherDataSetDefinitionValue": {
"type": "object",
"properties": {
"literalValue": {
"$ref": "#/components/schemas/AetherDataPath"
},
"dataSetReference": {
"$ref": "#/components/schemas/AetherRegisteredDataSetReference"
},
"savedDataSetReference": {
"$ref": "#/components/schemas/AetherSavedDataSetReference"
},
"assetDefinition": {
"$ref": "#/components/schemas/AetherAssetDefinition"
}
},
"additionalProperties": false
},
"AetherDataSettings": {
"type": "object",
"properties": {
"targetColumnName": {
"type": "string",
"nullable": true
},
"weightColumnName": {
"type": "string",
"nullable": true
},
"positiveLabel": {
"type": "string",
"nullable": true
},
"validationData": {
"$ref": "#/components/schemas/AetherValidationDataSettings"
},
"testData": {
"$ref": "#/components/schemas/AetherTestDataSettings"
}
},
"additionalProperties": false
},
"AetherDataStoreMode": {
"enum": [
"None",
"Mount",
"Download",
"Upload",
"Direct",
"Hdfs",
"Link"
],
"type": "string"
},
"AetherDataTransferCloudConfiguration": {
"type": "object",
"properties": {
"AllowOverwrite": {
"type": "boolean",
"nullable": true
}
},
"additionalProperties": false
},
"AetherDataTransferSink": {
"type": "object",
"properties": {
"type": {
"$ref": "#/components/schemas/AetherDataTransferStorageType"
},
"fileSystem": {
"$ref": "#/components/schemas/AetherFileSystem"
},
"databaseSink": {
"$ref": "#/components/schemas/AetherDatabaseSink"
}
},
"additionalProperties": false
},
"AetherDataTransferSource": {
"type": "object",
"properties": {
"type": {
"$ref": "#/components/schemas/AetherDataTransferStorageType"
},
"fileSystem": {
"$ref": "#/components/schemas/AetherFileSystem"
},
"databaseSource": {
"$ref": "#/components/schemas/AetherDatabaseSource"
}
},
"additionalProperties": false
},
"AetherDataTransferStorageType": {
"enum": [
"DataBase",
"FileSystem"
],
"type": "string"
},
"AetherDataTransferTaskType": {
"enum": [
"ImportData",
"ExportData",
"CopyData"
],
"type": "string"
},
"AetherDataTransferV2CloudSetting": {
"type": "object",
"properties": {
"taskType": {
"$ref": "#/components/schemas/AetherDataTransferTaskType"
},
"ComputeName": {
"type": "string",
"nullable": true
},
"CopyDataTask": {
"$ref": "#/components/schemas/AetherCopyDataTask"
},
"ImportDataTask": {
"$ref": "#/components/schemas/AetherImportDataTask"
},
"ExportDataTask": {
"$ref": "#/components/schemas/AetherExportDataTask"
},
"DataTransferSources": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/AetherDataTransferSource"
},
"description": "This is a dictionary",
"nullable": true
},
"DataTransferSinks": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/AetherDataTransferSink"
},
"description": "This is a dictionary",
"nullable": true
},
"DataCopyMode": {
"$ref": "#/components/schemas/AetherDataCopyMode"
}
},
"additionalProperties": false
},
"AetherDatabaseSink": {
"type": "object",
"properties": {
"connection": {
"type": "string",
"nullable": true
},
"table": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherDatabaseSource": {
"type": "object",
"properties": {
"connection": {
"type": "string",
"nullable": true
},
"query": {
"type": "string",
"nullable": true
},
"storedProcedureName": {
"type": "string",
"nullable": true
},
"storedProcedureParameters": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AetherStoredProcedureParameter"
},
"nullable": true
}
},
"additionalProperties": false
},
"AetherDatabricksComputeInfo": {
"type": "object",
"properties": {
"existingClusterId": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherDatasetOutput": {
"type": "object",
"properties": {
"datasetType": {
"$ref": "#/components/schemas/AetherDatasetType"
},
"datasetRegistration": {
"$ref": "#/components/schemas/AetherDatasetRegistration"
},
"datasetOutputOptions": {
"$ref": "#/components/schemas/AetherDatasetOutputOptions"
}
},
"additionalProperties": false
},
"AetherDatasetOutputOptions": {
"type": "object",
"properties": {
"sourceGlobs": {
"$ref": "#/components/schemas/AetherGlobsOptions"
},
"pathOnDatastore": {
"type": "string",
"nullable": true
},
"PathOnDatastoreParameterAssignment": {
"$ref": "#/components/schemas/AetherParameterAssignment"
}
},
"additionalProperties": false
},
"AetherDatasetRegistration": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"createNewVersion": {
"type": "boolean"
},
"description": {
"type": "string",
"nullable": true
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"additionalTransformations": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherDatasetType": {
"enum": [
"File",
"Tabular"
],
"type": "string"
},
"AetherDatastoreSetting": {
"type": "object",
"properties": {
"dataStoreName": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherDoWhileControlFlowInfo": {
"type": "object",
"properties": {
"outputPortNameToInputPortNamesMapping": {
"type": "object",
"additionalProperties": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"nullable": true
},
"conditionOutputPortName": {
"type": "string",
"nullable": true
},
"runSettings": {
"$ref": "#/components/schemas/AetherDoWhileControlFlowRunSettings"
}
},
"additionalProperties": false
},
"AetherDoWhileControlFlowRunSettings": {
"type": "object",
"properties": {
"maxLoopIterationCount": {
"$ref": "#/components/schemas/AetherParameterAssignment"
}
},
"additionalProperties": false
},
"AetherDockerSettingConfiguration": {
"type": "object",
"properties": {
"useDocker": {
"type": "boolean",
"nullable": true
},
"sharedVolumes": {
"type": "boolean",
"nullable": true
},
"shmSize": {
"type": "string",
"nullable": true
},
"arguments": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
}
},
"additionalProperties": false
},
"AetherEarlyTerminationPolicyType": {
"enum": [
"Bandit",
"MedianStopping",
"TruncationSelection"
],
"type": "string"
},
"AetherEntityInterfaceDocumentation": {
"type": "object",
"properties": {
"inputsDocumentation": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"outputsDocumentation": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"parametersDocumentation": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
}
},
"additionalProperties": false
},
"AetherEntityStatus": {
"enum": [
"Active",
"Deprecated",
"Disabled"
],
"type": "string"
},
"AetherEntrySetting": {
"type": "object",
"properties": {
"file": {
"type": "string",
"nullable": true
},
"className": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherEnvironmentConfiguration": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"version": {
"type": "string",
"nullable": true
},
"useEnvironmentDefinition": {
"type": "boolean"
},
"environmentDefinitionString": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherEsCloudConfiguration": {
"type": "object",
"properties": {
"enableOutputToFileBasedOnDataTypeId": {
"type": "boolean",
"nullable": true
},
"amlComputePriorityInternal": {
"$ref": "#/components/schemas/AetherPriorityConfiguration"
},
"itpPriorityInternal": {
"$ref": "#/components/schemas/AetherPriorityConfiguration"
},
"singularityPriorityInternal": {
"$ref": "#/components/schemas/AetherPriorityConfiguration"
},
"environment": {
"$ref": "#/components/schemas/AetherEnvironmentConfiguration"
},
"hyperDriveConfiguration": {
"$ref": "#/components/schemas/AetherHyperDriveConfiguration"
},
"k8sConfig": {
"$ref": "#/components/schemas/AetherK8sConfiguration"
},
"resourceConfig": {
"$ref": "#/components/schemas/AetherResourceConfiguration"
},
"torchDistributedConfig": {
"$ref": "#/components/schemas/AetherTorchDistributedConfiguration"
},
"targetSelectorConfig": {
"$ref": "#/components/schemas/AetherTargetSelectorConfiguration"
},
"dockerConfig": {
"$ref": "#/components/schemas/AetherDockerSettingConfiguration"
},
"environmentVariables": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"maxRunDurationSeconds": {
"type": "integer",
"format": "int32",
"nullable": true
},
"identity": {
"$ref": "#/components/schemas/AetherIdentitySetting"
},
"applicationEndpoints": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/ApplicationEndpointConfiguration"
},
"nullable": true
},
"runConfig": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherExecutionEnvironment": {
"enum": [
"ExeWorkerMachine",
"DockerContainerWithoutNetwork",
"DockerContainerWithNetwork",
"HyperVWithoutNetwork",
"HyperVWithNetwork"
],
"type": "string"
},
"AetherExecutionPhase": {
"enum": [
"Execution",
"Initialization",
"Finalization"
],
"type": "string"
},
"AetherExportDataTask": {
"type": "object",
"properties": {
"DataTransferSink": {
"$ref": "#/components/schemas/AetherDataTransferSink"
}
},
"additionalProperties": false
},
"AetherFeaturizationMode": {
"enum": [
"Auto",
"Custom",
"Off"
],
"type": "string"
},
"AetherFeaturizationSettings": {
"type": "object",
"properties": {
"mode": {
"$ref": "#/components/schemas/AetherFeaturizationMode"
},
"blockedTransformers": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"columnPurposes": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"dropColumns": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"transformerParams": {
"type": "object",
"additionalProperties": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AetherColumnTransformer"
},
"nullable": true
},
"nullable": true
},
"datasetLanguage": {
"type": "string",
"nullable": true
},
"enableDnnFeaturization": {
"type": "boolean",
"nullable": true
}
},
"additionalProperties": false
},
"AetherFileBasedPathType": {
"enum": [
"Unknown",
"File",
"Folder"
],
"type": "string"
},
"AetherFileSystem": {
"type": "object",
"properties": {
"connection": {
"type": "string",
"nullable": true
},
"path": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherForecastHorizon": {
"type": "object",
"properties": {
"mode": {
"$ref": "#/components/schemas/AetherForecastHorizonMode"
},
"value": {
"type": "integer",
"format": "int32"
}
},
"additionalProperties": false
},
"AetherForecastHorizonMode": {
"enum": [
"Auto",
"Custom"
],
"type": "string"
},
"AetherForecastingSettings": {
"type": "object",
"properties": {
"countryOrRegionForHolidays": {
"type": "string",
"nullable": true
},
"timeColumnName": {
"type": "string",
"nullable": true
},
"targetLags": {
"$ref": "#/components/schemas/AetherTargetLags"
},
"targetRollingWindowSize": {
"$ref": "#/components/schemas/AetherTargetRollingWindowSize"
},
"forecastHorizon": {
"$ref": "#/components/schemas/AetherForecastHorizon"
},
"timeSeriesIdColumnNames": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"frequency": {
"type": "string",
"nullable": true
},
"featureLags": {
"type": "string",
"nullable": true
},
"seasonality": {
"$ref": "#/components/schemas/AetherSeasonality"
},
"shortSeriesHandlingConfig": {
"$ref": "#/components/schemas/AetherShortSeriesHandlingConfiguration"
},
"useStl": {
"$ref": "#/components/schemas/AetherUseStl"
},
"targetAggregateFunction": {
"$ref": "#/components/schemas/AetherTargetAggregationFunction"
},
"cvStepSize": {
"type": "integer",
"format": "int32",
"nullable": true
},
"featuresUnknownAtForecastTime": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
}
},
"additionalProperties": false
},
"AetherGeneralSettings": {
"type": "object",
"properties": {
"primaryMetric": {
"$ref": "#/components/schemas/AetherPrimaryMetrics"
},
"taskType": {
"$ref": "#/components/schemas/AetherTaskType"
},
"logVerbosity": {
"$ref": "#/components/schemas/AetherLogVerbosity"
}
},
"additionalProperties": false
},
"AetherGlobsOptions": {
"type": "object",
"properties": {
"globPatterns": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
}
},
"additionalProperties": false
},
"AetherGraphControlNode": {
"type": "object",
"properties": {
"id": {
"type": "string",
"nullable": true
},
"controlType": {
"$ref": "#/components/schemas/AetherControlType"
},
"controlParameter": {
"$ref": "#/components/schemas/AetherParameterAssignment"
},
"runAttribution": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherGraphControlReferenceNode": {
"type": "object",
"properties": {
"id": {
"type": "string",
"nullable": true
},
"name": {
"type": "string",
"nullable": true
},
"comment": {
"type": "string",
"nullable": true
},
"controlFlowType": {
"$ref": "#/components/schemas/AetherControlFlowType"
},
"referenceNodeId": {
"type": "string",
"nullable": true
},
"doWhileControlFlowInfo": {
"$ref": "#/components/schemas/AetherDoWhileControlFlowInfo"
},
"parallelForControlFlowInfo": {
"$ref": "#/components/schemas/AetherParallelForControlFlowInfo"
},
"runAttribution": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherGraphDatasetNode": {
"type": "object",
"properties": {
"id": {
"type": "string",
"nullable": true
},
"datasetId": {
"type": "string",
"nullable": true
},
"dataPathParameterName": {
"type": "string",
"nullable": true
},
"dataSetDefinition": {
"$ref": "#/components/schemas/AetherDataSetDefinition"
}
},
"additionalProperties": false
},
"AetherGraphEdge": {
"type": "object",
"properties": {
"sourceOutputPort": {
"$ref": "#/components/schemas/AetherPortInfo"
},
"destinationInputPort": {
"$ref": "#/components/schemas/AetherPortInfo"
}
},
"additionalProperties": false
},
"AetherGraphEntity": {
"type": "object",
"properties": {
"moduleNodes": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AetherGraphModuleNode"
},
"nullable": true
},
"datasetNodes": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AetherGraphDatasetNode"
},
"nullable": true
},
"subGraphNodes": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AetherGraphReferenceNode"
},
"nullable": true
},
"controlReferenceNodes": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AetherGraphControlReferenceNode"
},
"nullable": true
},
"controlNodes": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AetherGraphControlNode"
},
"nullable": true
},
"edges": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AetherGraphEdge"
},
"nullable": true
},
"defaultCompute": {
"$ref": "#/components/schemas/AetherComputeSetting"
},
"defaultDatastore": {
"$ref": "#/components/schemas/AetherDatastoreSetting"
},
"defaultCloudPriority": {
"$ref": "#/components/schemas/AetherCloudPrioritySetting"
},
"parentSubGraphModuleIds": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"id": {
"type": "string",
"nullable": true
},
"workspaceId": {
"type": "string",
"nullable": true
},
"etag": {
"type": "string",
"nullable": true
},
"tags": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"createdDate": {
"type": "string",
"format": "date-time"
},
"lastModifiedDate": {
"type": "string",
"format": "date-time"
},
"entityStatus": {
"$ref": "#/components/schemas/AetherEntityStatus"
}
},
"additionalProperties": false
},
"AetherGraphModuleNode": {
"type": "object",
"properties": {
"cloudPriority": {
"type": "integer",
"format": "int32"
},
"defaultDataRetentionHint": {
"type": "integer",
"format": "int32",
"nullable": true
},
"complianceCluster": {
"type": "string",
"nullable": true
},
"euclidWorkspaceId": {
"type": "string",
"nullable": true
},
"attachedModules": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"acceptableMachineClusters": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"customDataLocationId": {
"type": "string",
"nullable": true
},
"alertTimeoutDuration": {
"type": "string",
"format": "date-span",
"nullable": true
},
"runconfig": {
"type": "string",
"nullable": true
},
"id": {
"type": "string",
"nullable": true
},
"moduleId": {
"type": "string",
"nullable": true
},
"comment": {
"type": "string",
"nullable": true
},
"name": {
"type": "string",
"nullable": true
},
"moduleParameters": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AetherParameterAssignment"
},
"nullable": true
},
"moduleMetadataParameters": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AetherParameterAssignment"
},
"nullable": true
},
"moduleOutputSettings": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AetherOutputSetting"
},
"nullable": true
},
"moduleInputSettings": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AetherInputSetting"
},
"nullable": true
},
"useGraphDefaultCompute": {
"type": "boolean"
},
"useGraphDefaultDatastore": {
"type": "boolean"
},
"regenerateOutput": {
"type": "boolean"
},
"controlInputs": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AetherControlInput"
},
"nullable": true
},
"cloudSettings": {
"$ref": "#/components/schemas/AetherCloudSettings"
},
"executionPhase": {
"$ref": "#/components/schemas/AetherExecutionPhase"
},
"runAttribution": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherGraphReferenceNode": {
"type": "object",
"properties": {
"graphId": {
"type": "string",
"nullable": true
},
"defaultCompute": {
"$ref": "#/components/schemas/AetherComputeSetting"
},
"defaultDatastore": {
"$ref": "#/components/schemas/AetherDatastoreSetting"
},
"id": {
"type": "string",
"nullable": true
},
"moduleId": {
"type": "string",
"nullable": true
},
"comment": {
"type": "string",
"nullable": true
},
"name": {
"type": "string",
"nullable": true
},
"moduleParameters": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AetherParameterAssignment"
},
"nullable": true
},
"moduleMetadataParameters": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AetherParameterAssignment"
},
"nullable": true
},
"moduleOutputSettings": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AetherOutputSetting"
},
"nullable": true
},
"moduleInputSettings": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AetherInputSetting"
},
"nullable": true
},
"useGraphDefaultCompute": {
"type": "boolean"
},
"useGraphDefaultDatastore": {
"type": "boolean"
},
"regenerateOutput": {
"type": "boolean"
},
"controlInputs": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AetherControlInput"
},
"nullable": true
},
"cloudSettings": {
"$ref": "#/components/schemas/AetherCloudSettings"
},
"executionPhase": {
"$ref": "#/components/schemas/AetherExecutionPhase"
},
"runAttribution": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherHdfsReference": {
"type": "object",
"properties": {
"amlDataStoreName": {
"type": "string",
"nullable": true
},
"relativePath": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherHdiClusterComputeInfo": {
"type": "object",
"properties": {
"address": {
"type": "string",
"nullable": true
},
"username": {
"type": "string",
"nullable": true
},
"password": {
"type": "string",
"nullable": true
},
"privateKey": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherHdiRunConfiguration": {
"type": "object",
"properties": {
"file": {
"type": "string",
"nullable": true
},
"className": {
"type": "string",
"nullable": true
},
"files": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"archives": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"jars": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"pyFiles": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"computeName": {
"type": "string",
"nullable": true
},
"queue": {
"type": "string",
"nullable": true
},
"driverMemory": {
"type": "string",
"nullable": true
},
"driverCores": {
"type": "integer",
"format": "int32",
"nullable": true
},
"executorMemory": {
"type": "string",
"nullable": true
},
"executorCores": {
"type": "integer",
"format": "int32",
"nullable": true
},
"numberExecutors": {
"type": "integer",
"format": "int32",
"nullable": true
},
"conf": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"name": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherHyperDriveConfiguration": {
"type": "object",
"properties": {
"hyperDriveRunConfig": {
"type": "string",
"nullable": true
},
"primaryMetricGoal": {
"type": "string",
"nullable": true
},
"primaryMetricName": {
"type": "string",
"nullable": true
},
"arguments": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AetherArgumentAssignment"
},
"nullable": true
}
},
"additionalProperties": false
},
"AetherIdentitySetting": {
"type": "object",
"properties": {
"type": {
"$ref": "#/components/schemas/AetherIdentityType"
},
"clientId": {
"type": "string",
"format": "uuid",
"nullable": true
},
"objectId": {
"type": "string",
"format": "uuid",
"nullable": true
},
"msiResourceId": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherIdentityType": {
"enum": [
"UserIdentity",
"Managed",
"AMLToken"
],
"type": "string"
},
"AetherImportDataTask": {
"type": "object",
"properties": {
"DataTransferSource": {
"$ref": "#/components/schemas/AetherDataTransferSource"
}
},
"additionalProperties": false
},
"AetherInputSetting": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"dataStoreMode": {
"$ref": "#/components/schemas/AetherDataStoreMode"
},
"pathOnCompute": {
"type": "string",
"nullable": true
},
"options": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"additionalTransformations": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherInteractiveConfig": {
"type": "object",
"properties": {
"isSSHEnabled": {
"type": "boolean",
"nullable": true
},
"sshPublicKey": {
"type": "string",
"nullable": true
},
"isIPythonEnabled": {
"type": "boolean",
"nullable": true
},
"isTensorBoardEnabled": {
"type": "boolean",
"nullable": true
},
"interactivePort": {
"type": "integer",
"format": "int32",
"nullable": true
}
},
"additionalProperties": false
},
"AetherK8sConfiguration": {
"type": "object",
"properties": {
"maxRetryCount": {
"type": "integer",
"format": "int32",
"nullable": true
},
"resourceConfiguration": {
"$ref": "#/components/schemas/AetherResourceConfig"
},
"priorityConfiguration": {
"$ref": "#/components/schemas/AetherPriorityConfig"
},
"interactiveConfiguration": {
"$ref": "#/components/schemas/AetherInteractiveConfig"
}
},
"additionalProperties": false
},
"AetherLegacyDataPath": {
"type": "object",
"properties": {
"dataStoreName": {
"type": "string",
"nullable": true
},
"dataStoreMode": {
"$ref": "#/components/schemas/AetherDataStoreMode"
},
"relativePath": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherLimitSettings": {
"type": "object",
"properties": {
"maxTrials": {
"type": "integer",
"format": "int32",
"nullable": true
},
"timeout": {
"type": "string",
"format": "date-span",
"nullable": true
},
"trialTimeout": {
"type": "string",
"format": "date-span",
"nullable": true
},
"maxConcurrentTrials": {
"type": "integer",
"format": "int32",
"nullable": true
},
"maxCoresPerTrial": {
"type": "integer",
"format": "int32",
"nullable": true
},
"exitScore": {
"type": "number",
"format": "double",
"nullable": true
},
"enableEarlyTermination": {
"type": "boolean",
"nullable": true
},
"maxNodes": {
"type": "integer",
"format": "int32",
"nullable": true
}
},
"additionalProperties": false
},
"AetherLogVerbosity": {
"enum": [
"NotSet",
"Debug",
"Info",
"Warning",
"Error",
"Critical"
],
"type": "string"
},
"AetherMlcComputeInfo": {
"type": "object",
"properties": {
"mlcComputeType": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherModuleDeploymentSource": {
"enum": [
"Client",
"AutoDeployment",
"Vsts"
],
"type": "string"
},
"AetherModuleEntity": {
"type": "object",
"properties": {
"lastUpdatedBy": {
"$ref": "#/components/schemas/AetherCreatedBy"
},
"displayName": {
"type": "string",
"nullable": true
},
"moduleExecutionType": {
"type": "string",
"nullable": true
},
"moduleType": {
"$ref": "#/components/schemas/AetherModuleType"
},
"moduleTypeVersion": {
"type": "string",
"nullable": true
},
"resourceRequirements": {
"$ref": "#/components/schemas/AetherResourceModel"
},
"machineCluster": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"defaultComplianceCluster": {
"type": "string",
"nullable": true
},
"repositoryType": {
"$ref": "#/components/schemas/AetherRepositoryType"
},
"relativePathToSourceCode": {
"type": "string",
"nullable": true
},
"commitId": {
"type": "string",
"nullable": true
},
"codeReviewLink": {
"type": "string",
"nullable": true
},
"unitTestsAvailable": {
"type": "boolean"
},
"isCompressed": {
"type": "boolean"
},
"executionEnvironment": {
"$ref": "#/components/schemas/AetherExecutionEnvironment"
},
"isOutputMarkupEnabled": {
"type": "boolean"
},
"dockerImageId": {
"type": "string",
"nullable": true
},
"dockerImageReference": {
"type": "string",
"nullable": true
},
"dockerImageSecurityGroups": {
"type": "string",
"nullable": true
},
"extendedProperties": {
"$ref": "#/components/schemas/AetherModuleExtendedProperties"
},
"deploymentSource": {
"$ref": "#/components/schemas/AetherModuleDeploymentSource"
},
"deploymentSourceMetadata": {
"type": "string",
"nullable": true
},
"identifierHash": {
"type": "string",
"nullable": true
},
"identifierHashV2": {
"type": "string",
"nullable": true
},
"kvTags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"properties": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"createdBy": {
"$ref": "#/components/schemas/AetherCreatedBy"
},
"runconfig": {
"type": "string",
"nullable": true
},
"cloudSettings": {
"$ref": "#/components/schemas/AetherCloudSettings"
},
"category": {
"type": "string",
"nullable": true
},
"stepType": {
"type": "string",
"nullable": true
},
"stage": {
"type": "string",
"nullable": true
},
"uploadState": {
"$ref": "#/components/schemas/AetherUploadState"
},
"sourceCodeLocation": {
"type": "string",
"nullable": true
},
"sizeInBytes": {
"type": "integer",
"format": "int64"
},
"downloadLocation": {
"type": "string",
"nullable": true
},
"dataLocation": {
"$ref": "#/components/schemas/AetherDataLocation"
},
"scriptingRuntimeId": {
"type": "string",
"nullable": true
},
"interfaceDocumentation": {
"$ref": "#/components/schemas/AetherEntityInterfaceDocumentation"
},
"isEyesOn": {
"type": "boolean"
},
"complianceCluster": {
"type": "string",
"nullable": true
},
"isDeterministic": {
"type": "boolean"
},
"informationUrl": {
"type": "string",
"nullable": true
},
"isExperimentIdInParameters": {
"type": "boolean"
},
"interfaceString": {
"type": "string",
"nullable": true
},
"defaultParameters": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"structuredInterface": {
"$ref": "#/components/schemas/AetherStructuredInterface"
},
"familyId": {
"type": "string",
"nullable": true
},
"name": {
"type": "string",
"nullable": true
},
"hash": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"version": {
"type": "string",
"nullable": true
},
"sequenceNumberInFamily": {
"type": "integer",
"format": "int32"
},
"owner": {
"type": "string",
"nullable": true
},
"azureTenantId": {
"type": "string",
"nullable": true
},
"azureUserId": {
"type": "string",
"nullable": true
},
"collaborators": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"id": {
"type": "string",
"nullable": true
},
"workspaceId": {
"type": "string",
"nullable": true
},
"etag": {
"type": "string",
"nullable": true
},
"tags": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"createdDate": {
"type": "string",
"format": "date-time"
},
"lastModifiedDate": {
"type": "string",
"format": "date-time"
},
"entityStatus": {
"$ref": "#/components/schemas/AetherEntityStatus"
}
},
"additionalProperties": false
},
"AetherModuleExtendedProperties": {
"type": "object",
"properties": {
"autoDeployedArtifact": {
"$ref": "#/components/schemas/AetherBuildArtifactInfo"
},
"scriptNeedsApproval": {
"type": "boolean"
}
},
"additionalProperties": false
},
"AetherModuleHashVersion": {
"enum": [
"IdentifierHash",
"IdentifierHashV2"
],
"type": "string"
},
"AetherModuleType": {
"enum": [
"None",
"BatchInferencing"
],
"type": "string"
},
"AetherNCrossValidationMode": {
"enum": [
"Auto",
"Custom"
],
"type": "string"
},
"AetherNCrossValidations": {
"type": "object",
"properties": {
"mode": {
"$ref": "#/components/schemas/AetherNCrossValidationMode"
},
"value": {
"type": "integer",
"format": "int32"
}
},
"additionalProperties": false
},
"AetherOutputSetting": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"dataStoreName": {
"type": "string",
"nullable": true
},
"DataStoreNameParameterAssignment": {
"$ref": "#/components/schemas/AetherParameterAssignment"
},
"dataStoreMode": {
"$ref": "#/components/schemas/AetherDataStoreMode"
},
"DataStoreModeParameterAssignment": {
"$ref": "#/components/schemas/AetherParameterAssignment"
},
"pathOnCompute": {
"type": "string",
"nullable": true
},
"PathOnComputeParameterAssignment": {
"$ref": "#/components/schemas/AetherParameterAssignment"
},
"overwrite": {
"type": "boolean"
},
"dataReferenceName": {
"type": "string",
"nullable": true
},
"webServicePort": {
"type": "string",
"nullable": true
},
"datasetRegistration": {
"$ref": "#/components/schemas/AetherDatasetRegistration"
},
"datasetOutputOptions": {
"$ref": "#/components/schemas/AetherDatasetOutputOptions"
},
"AssetOutputSettings": {
"$ref": "#/components/schemas/AetherAssetOutputSettings"
},
"parameterName": {
"type": "string",
"nullable": true
},
"AssetOutputSettingsParameterName": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherParallelForControlFlowInfo": {
"type": "object",
"properties": {
"parallelForItemsInput": {
"$ref": "#/components/schemas/AetherParameterAssignment"
}
},
"additionalProperties": false
},
"AetherParameterAssignment": {
"type": "object",
"properties": {
"valueType": {
"$ref": "#/components/schemas/AetherParameterValueType"
},
"assignmentsToConcatenate": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AetherParameterAssignment"
},
"nullable": true
},
"dataPathAssignment": {
"$ref": "#/components/schemas/AetherLegacyDataPath"
},
"dataSetDefinitionValueAssignment": {
"$ref": "#/components/schemas/AetherDataSetDefinitionValue"
},
"name": {
"type": "string",
"nullable": true
},
"value": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherParameterType": {
"enum": [
"Int",
"Double",
"Bool",
"String",
"Undefined"
],
"type": "string"
},
"AetherParameterValueType": {
"enum": [
"Literal",
"GraphParameterName",
"Concatenate",
"Input",
"DataPath",
"DataSetDefinition"
],
"type": "string"
},
"AetherPhillyHdfsReference": {
"type": "object",
"properties": {
"cluster": {
"type": "string",
"nullable": true
},
"vc": {
"type": "string",
"nullable": true
},
"relativePath": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherPortInfo": {
"type": "object",
"properties": {
"nodeId": {
"type": "string",
"nullable": true
},
"portName": {
"type": "string",
"nullable": true
},
"graphPortName": {
"type": "string",
"nullable": true
},
"isParameter": {
"type": "boolean"
},
"webServicePort": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherPrimaryMetrics": {
"enum": [
"AUCWeighted",
"Accuracy",
"NormMacroRecall",
"AveragePrecisionScoreWeighted",
"PrecisionScoreWeighted",
"SpearmanCorrelation",
"NormalizedRootMeanSquaredError",
"R2Score",
"NormalizedMeanAbsoluteError",
"NormalizedRootMeanSquaredLogError",
"MeanAveragePrecision",
"Iou"
],
"type": "string"
},
"AetherPriorityConfig": {
"type": "object",
"properties": {
"jobPriority": {
"type": "integer",
"format": "int32",
"nullable": true
},
"isPreemptible": {
"type": "boolean",
"nullable": true
},
"nodeCountSet": {
"type": "array",
"items": {
"type": "integer",
"format": "int32"
},
"nullable": true
},
"scaleInterval": {
"type": "integer",
"format": "int32",
"nullable": true
}
},
"additionalProperties": false
},
"AetherPriorityConfiguration": {
"type": "object",
"properties": {
"cloudPriority": {
"type": "integer",
"format": "int32",
"nullable": true
},
"stringTypePriority": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherRegisteredDataSetReference": {
"type": "object",
"properties": {
"id": {
"type": "string",
"nullable": true
},
"name": {
"type": "string",
"nullable": true
},
"version": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherRemoteDockerComputeInfo": {
"type": "object",
"properties": {
"address": {
"type": "string",
"nullable": true
},
"username": {
"type": "string",
"nullable": true
},
"password": {
"type": "string",
"nullable": true
},
"privateKey": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherRepositoryType": {
"enum": [
"None",
"Other",
"Git",
"SourceDepot",
"Cosmos"
],
"type": "string"
},
"AetherResourceAssignment": {
"type": "object",
"properties": {
"attributes": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/AetherResourceAttributeAssignment"
},
"nullable": true
}
},
"additionalProperties": false
},
"AetherResourceAttributeAssignment": {
"type": "object",
"properties": {
"attribute": {
"$ref": "#/components/schemas/AetherResourceAttributeDefinition"
},
"operator": {
"$ref": "#/components/schemas/AetherResourceOperator"
},
"value": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherResourceAttributeDefinition": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"type": {
"$ref": "#/components/schemas/AetherResourceValueType"
},
"units": {
"type": "string",
"nullable": true
},
"allowedOperators": {
"uniqueItems": true,
"type": "array",
"items": {
"$ref": "#/components/schemas/AetherResourceOperator"
},
"nullable": true
}
},
"additionalProperties": false
},
"AetherResourceConfig": {
"type": "object",
"properties": {
"gpuCount": {
"type": "integer",
"format": "int32",
"nullable": true
},
"cpuCount": {
"type": "integer",
"format": "int32",
"nullable": true
},
"memoryRequestInGB": {
"type": "integer",
"format": "int32",
"nullable": true
}
},
"additionalProperties": false
},
"AetherResourceConfiguration": {
"type": "object",
"properties": {
"instanceCount": {
"type": "integer",
"format": "int32",
"nullable": true
},
"instanceType": {
"type": "string",
"nullable": true
},
"properties": {
"type": "object",
"additionalProperties": {
"nullable": true
},
"nullable": true
},
"locations": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"instancePriority": {
"type": "string",
"nullable": true
},
"quotaEnforcementResourceId": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherResourceModel": {
"type": "object",
"properties": {
"resources": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AetherResourceAssignment"
},
"nullable": true
}
},
"additionalProperties": false
},
"AetherResourceOperator": {
"enum": [
"Equal",
"Contain",
"GreaterOrEqual"
],
"type": "string"
},
"AetherResourceValueType": {
"enum": [
"String",
"Double"
],
"type": "string"
},
"AetherResourcesSetting": {
"type": "object",
"properties": {
"instanceSize": {
"type": "string",
"nullable": true
},
"sparkVersion": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherSamplingAlgorithmType": {
"enum": [
"Random",
"Grid",
"Bayesian"
],
"type": "string"
},
"AetherSavedDataSetReference": {
"type": "object",
"properties": {
"id": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherScopeCloudConfiguration": {
"type": "object",
"properties": {
"inputPathSuffixes": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/AetherArgumentAssignment"
},
"description": "This is a dictionary",
"nullable": true
},
"outputPathSuffixes": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/AetherArgumentAssignment"
},
"description": "This is a dictionary",
"nullable": true
},
"userAlias": {
"type": "string",
"nullable": true
},
"tokens": {
"type": "integer",
"format": "int32",
"nullable": true
},
"autoToken": {
"type": "integer",
"format": "int32",
"nullable": true
},
"vcp": {
"type": "number",
"format": "float",
"nullable": true
}
},
"additionalProperties": false
},
"AetherSeasonality": {
"type": "object",
"properties": {
"mode": {
"$ref": "#/components/schemas/AetherSeasonalityMode"
},
"value": {
"type": "integer",
"format": "int32"
}
},
"additionalProperties": false
},
"AetherSeasonalityMode": {
"enum": [
"Auto",
"Custom"
],
"type": "string"
},
"AetherShortSeriesHandlingConfiguration": {
"enum": [
"Auto",
"Pad",
"Drop"
],
"type": "string"
},
"AetherSqlDataPath": {
"type": "object",
"properties": {
"sqlTableName": {
"type": "string",
"nullable": true
},
"sqlQuery": {
"type": "string",
"nullable": true
},
"sqlStoredProcedureName": {
"type": "string",
"nullable": true
},
"sqlStoredProcedureParams": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AetherStoredProcedureParameter"
},
"nullable": true
}
},
"additionalProperties": false
},
"AetherStackEnsembleSettings": {
"type": "object",
"properties": {
"stackMetaLearnerType": {
"$ref": "#/components/schemas/AetherStackMetaLearnerType"
},
"stackMetaLearnerTrainPercentage": {
"type": "number",
"format": "double",
"nullable": true
},
"stackMetaLearnerKWargs": {
"nullable": true
}
},
"additionalProperties": false
},
"AetherStackMetaLearnerType": {
"enum": [
"None",
"LogisticRegression",
"LogisticRegressionCV",
"LightGBMClassifier",
"ElasticNet",
"ElasticNetCV",
"LightGBMRegressor",
"LinearRegression"
],
"type": "string"
},
"AetherStoredProcedureParameter": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"value": {
"type": "string",
"nullable": true
},
"type": {
"$ref": "#/components/schemas/AetherStoredProcedureParameterType"
}
},
"additionalProperties": false
},
"AetherStoredProcedureParameterType": {
"enum": [
"String",
"Int",
"Decimal",
"Guid",
"Boolean",
"Date"
],
"type": "string"
},
"AetherStructuredInterface": {
"type": "object",
"properties": {
"commandLinePattern": {
"type": "string",
"nullable": true
},
"inputs": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AetherStructuredInterfaceInput"
},
"nullable": true
},
"outputs": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AetherStructuredInterfaceOutput"
},
"nullable": true
},
"controlOutputs": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AetherControlOutput"
},
"nullable": true
},
"parameters": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AetherStructuredInterfaceParameter"
},
"nullable": true
},
"metadataParameters": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AetherStructuredInterfaceParameter"
},
"nullable": true
},
"arguments": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AetherArgumentAssignment"
},
"nullable": true
}
},
"additionalProperties": false
},
"AetherStructuredInterfaceInput": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"label": {
"type": "string",
"nullable": true
},
"dataTypeIdsList": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"isOptional": {
"type": "boolean"
},
"description": {
"type": "string",
"nullable": true
},
"skipProcessing": {
"type": "boolean"
},
"isResource": {
"type": "boolean"
},
"dataStoreMode": {
"$ref": "#/components/schemas/AetherDataStoreMode"
},
"pathOnCompute": {
"type": "string",
"nullable": true
},
"overwrite": {
"type": "boolean"
},
"dataReferenceName": {
"type": "string",
"nullable": true
},
"datasetTypes": {
"uniqueItems": true,
"type": "array",
"items": {
"$ref": "#/components/schemas/AetherDatasetType"
},
"nullable": true
},
"additionalTransformations": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherStructuredInterfaceOutput": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"label": {
"type": "string",
"nullable": true
},
"dataTypeId": {
"type": "string",
"nullable": true
},
"passThroughDataTypeInputName": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"skipProcessing": {
"type": "boolean"
},
"isArtifact": {
"type": "boolean"
},
"dataStoreName": {
"type": "string",
"nullable": true
},
"dataStoreMode": {
"$ref": "#/components/schemas/AetherDataStoreMode"
},
"pathOnCompute": {
"type": "string",
"nullable": true
},
"overwrite": {
"type": "boolean"
},
"dataReferenceName": {
"type": "string",
"nullable": true
},
"trainingOutput": {
"$ref": "#/components/schemas/AetherTrainingOutput"
},
"datasetOutput": {
"$ref": "#/components/schemas/AetherDatasetOutput"
},
"AssetOutputSettings": {
"$ref": "#/components/schemas/AetherAssetOutputSettings"
},
"earlyAvailable": {
"type": "boolean"
}
},
"additionalProperties": false
},
"AetherStructuredInterfaceParameter": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"label": {
"type": "string",
"nullable": true
},
"parameterType": {
"$ref": "#/components/schemas/AetherParameterType"
},
"isOptional": {
"type": "boolean"
},
"defaultValue": {
"type": "string",
"nullable": true
},
"lowerBound": {
"type": "string",
"nullable": true
},
"upperBound": {
"type": "string",
"nullable": true
},
"enumValues": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"enumValuesToArgumentStrings": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"setEnvironmentVariable": {
"type": "boolean"
},
"environmentVariableOverride": {
"type": "string",
"nullable": true
},
"enabledByParameterName": {
"type": "string",
"nullable": true
},
"enabledByParameterValues": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"uiHint": {
"$ref": "#/components/schemas/AetherUIParameterHint"
},
"groupNames": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"argumentName": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherSubGraphConfiguration": {
"type": "object",
"properties": {
"graphId": {
"type": "string",
"nullable": true
},
"graphDraftId": {
"type": "string",
"nullable": true
},
"defaultComputeInternal": {
"$ref": "#/components/schemas/AetherComputeSetting"
},
"defaultDatastoreInternal": {
"$ref": "#/components/schemas/AetherDatastoreSetting"
},
"DefaultCloudPriority": {
"$ref": "#/components/schemas/AetherCloudPrioritySetting"
},
"UserAlias": {
"type": "string",
"nullable": true
},
"IsDynamic": {
"type": "boolean",
"default": false,
"nullable": true
}
},
"additionalProperties": false
},
"AetherSweepEarlyTerminationPolicy": {
"type": "object",
"properties": {
"policyType": {
"$ref": "#/components/schemas/AetherEarlyTerminationPolicyType"
},
"evaluationInterval": {
"type": "integer",
"format": "int32",
"nullable": true
},
"delayEvaluation": {
"type": "integer",
"format": "int32",
"nullable": true
},
"slackFactor": {
"type": "number",
"format": "float",
"nullable": true
},
"slackAmount": {
"type": "number",
"format": "float",
"nullable": true
},
"truncationPercentage": {
"type": "integer",
"format": "int32",
"nullable": true
}
},
"additionalProperties": false
},
"AetherSweepSettings": {
"type": "object",
"properties": {
"limits": {
"$ref": "#/components/schemas/AetherSweepSettingsLimits"
},
"searchSpace": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"nullable": true
},
"samplingAlgorithm": {
"$ref": "#/components/schemas/AetherSamplingAlgorithmType"
},
"earlyTermination": {
"$ref": "#/components/schemas/AetherSweepEarlyTerminationPolicy"
}
},
"additionalProperties": false
},
"AetherSweepSettingsLimits": {
"type": "object",
"properties": {
"maxTotalTrials": {
"type": "integer",
"format": "int32",
"nullable": true
},
"maxConcurrentTrials": {
"type": "integer",
"format": "int32",
"nullable": true
}
},
"additionalProperties": false
},
"AetherTabularTrainingMode": {
"enum": [
"Distributed",
"NonDistributed",
"Auto"
],
"type": "string"
},
"AetherTargetAggregationFunction": {
"enum": [
"Sum",
"Max",
"Min",
"Mean"
],
"type": "string"
},
"AetherTargetLags": {
"type": "object",
"properties": {
"mode": {
"$ref": "#/components/schemas/AetherTargetLagsMode"
},
"values": {
"type": "array",
"items": {
"type": "integer",
"format": "int32"
},
"nullable": true
}
},
"additionalProperties": false
},
"AetherTargetLagsMode": {
"enum": [
"Auto",
"Custom"
],
"type": "string"
},
"AetherTargetRollingWindowSize": {
"type": "object",
"properties": {
"mode": {
"$ref": "#/components/schemas/AetherTargetRollingWindowSizeMode"
},
"value": {
"type": "integer",
"format": "int32"
}
},
"additionalProperties": false
},
"AetherTargetRollingWindowSizeMode": {
"enum": [
"Auto",
"Custom"
],
"type": "string"
},
"AetherTargetSelectorConfiguration": {
"type": "object",
"properties": {
"lowPriorityVMTolerant": {
"type": "boolean"
},
"clusterBlockList": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"computeType": {
"type": "string",
"nullable": true
},
"instanceType": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"instanceTypes": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"myResourceOnly": {
"type": "boolean"
},
"planId": {
"type": "string",
"nullable": true
},
"planRegionId": {
"type": "string",
"nullable": true
},
"region": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"regions": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"vcBlockList": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
}
},
"additionalProperties": false
},
"AetherTaskType": {
"enum": [
"Classification",
"Regression",
"Forecasting",
"ImageClassification",
"ImageClassificationMultilabel",
"ImageObjectDetection",
"ImageInstanceSegmentation",
"TextClassification",
"TextMultiLabeling",
"TextNER",
"TextClassificationMultilabel"
],
"type": "string"
},
"AetherTestDataSettings": {
"type": "object",
"properties": {
"testDataSize": {
"type": "number",
"format": "double",
"nullable": true
}
},
"additionalProperties": false
},
"AetherTorchDistributedConfiguration": {
"type": "object",
"properties": {
"processCountPerNode": {
"type": "integer",
"format": "int32",
"nullable": true
}
},
"additionalProperties": false
},
"AetherTrainingOutput": {
"type": "object",
"properties": {
"trainingOutputType": {
"$ref": "#/components/schemas/AetherTrainingOutputType"
},
"iteration": {
"type": "integer",
"format": "int32",
"nullable": true
},
"metric": {
"type": "string",
"nullable": true
},
"modelFile": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherTrainingOutputType": {
"enum": [
"Metrics",
"Model"
],
"type": "string"
},
"AetherTrainingSettings": {
"type": "object",
"properties": {
"blockListModels": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"allowListModels": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"enableDnnTraining": {
"type": "boolean",
"nullable": true
},
"enableOnnxCompatibleModels": {
"type": "boolean",
"nullable": true
},
"stackEnsembleSettings": {
"$ref": "#/components/schemas/AetherStackEnsembleSettings"
},
"enableStackEnsemble": {
"type": "boolean",
"nullable": true
},
"enableVoteEnsemble": {
"type": "boolean",
"nullable": true
},
"ensembleModelDownloadTimeout": {
"type": "string",
"format": "date-span",
"nullable": true
},
"enableModelExplainability": {
"type": "boolean",
"nullable": true
},
"trainingMode": {
"$ref": "#/components/schemas/AetherTabularTrainingMode"
}
},
"additionalProperties": false
},
"AetherUIAzureOpenAIDeploymentNameSelector": {
"type": "object",
"properties": {
"Capabilities": {
"$ref": "#/components/schemas/AetherUIAzureOpenAIModelCapabilities"
}
},
"additionalProperties": false
},
"AetherUIAzureOpenAIModelCapabilities": {
"type": "object",
"properties": {
"Completion": {
"type": "boolean",
"nullable": true
},
"ChatCompletion": {
"type": "boolean",
"nullable": true
},
"Embeddings": {
"type": "boolean",
"nullable": true
}
},
"additionalProperties": false
},
"AetherUIColumnPicker": {
"type": "object",
"properties": {
"columnPickerFor": {
"type": "string",
"nullable": true
},
"columnSelectionCategories": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"singleColumnSelection": {
"type": "boolean"
}
},
"additionalProperties": false
},
"AetherUIJsonEditor": {
"type": "object",
"properties": {
"jsonSchema": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherUIParameterHint": {
"type": "object",
"properties": {
"uiWidgetType": {
"$ref": "#/components/schemas/AetherUIWidgetTypeEnum"
},
"columnPicker": {
"$ref": "#/components/schemas/AetherUIColumnPicker"
},
"uiScriptLanguage": {
"$ref": "#/components/schemas/AetherUIScriptLanguageEnum"
},
"jsonEditor": {
"$ref": "#/components/schemas/AetherUIJsonEditor"
},
"PromptFlowConnectionSelector": {
"$ref": "#/components/schemas/AetherUIPromptFlowConnectionSelector"
},
"AzureOpenAIDeploymentNameSelector": {
"$ref": "#/components/schemas/AetherUIAzureOpenAIDeploymentNameSelector"
},
"UxIgnore": {
"type": "boolean"
},
"Anonymous": {
"type": "boolean"
}
},
"additionalProperties": false
},
"AetherUIPromptFlowConnectionSelector": {
"type": "object",
"properties": {
"PromptFlowConnectionType": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherUIScriptLanguageEnum": {
"enum": [
"None",
"Python",
"R",
"Json",
"Sql"
],
"type": "string"
},
"AetherUIWidgetTypeEnum": {
"enum": [
"Default",
"Mode",
"ColumnPicker",
"Credential",
"Script",
"ComputeSelection",
"JsonEditor",
"SearchSpaceParameter",
"SectionToggle",
"YamlEditor",
"EnableRuntimeSweep",
"DataStoreSelection",
"InstanceTypeSelection",
"ConnectionSelection",
"PromptFlowConnectionSelection",
"AzureOpenAIDeploymentNameSelection"
],
"type": "string"
},
"AetherUploadState": {
"enum": [
"Uploading",
"Completed",
"Canceled",
"Failed"
],
"type": "string"
},
"AetherUseStl": {
"enum": [
"Season",
"SeasonTrend"
],
"type": "string"
},
"AetherValidationDataSettings": {
"type": "object",
"properties": {
"nCrossValidations": {
"$ref": "#/components/schemas/AetherNCrossValidations"
},
"validationDataSize": {
"type": "number",
"format": "double",
"nullable": true
},
"cvSplitColumnNames": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"validationType": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherVsoBuildArtifactInfo": {
"type": "object",
"properties": {
"buildInfo": {
"$ref": "#/components/schemas/AetherVsoBuildInfo"
},
"downloadUrl": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AetherVsoBuildDefinitionInfo": {
"type": "object",
"properties": {
"accountName": {
"type": "string",
"nullable": true
},
"projectId": {
"type": "string",
"format": "uuid"
},
"buildDefinitionId": {
"type": "integer",
"format": "int32"
}
},
"additionalProperties": false
},
"AetherVsoBuildInfo": {
"type": "object",
"properties": {
"definitionInfo": {
"$ref": "#/components/schemas/AetherVsoBuildDefinitionInfo"
},
"buildId": {
"type": "integer",
"format": "int32"
}
},
"additionalProperties": false
},
"AmlDataset": {
"type": "object",
"properties": {
"registeredDataSetReference": {
"$ref": "#/components/schemas/RegisteredDataSetReference"
},
"savedDataSetReference": {
"$ref": "#/components/schemas/SavedDataSetReference"
},
"additionalTransformations": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AmlK8sConfiguration": {
"type": "object",
"properties": {
"resourceConfiguration": {
"$ref": "#/components/schemas/ResourceConfiguration"
},
"priorityConfiguration": {
"$ref": "#/components/schemas/AmlK8sPriorityConfiguration"
},
"interactiveConfiguration": {
"$ref": "#/components/schemas/InteractiveConfiguration"
}
},
"additionalProperties": false
},
"AmlK8sPriorityConfiguration": {
"type": "object",
"properties": {
"jobPriority": {
"type": "integer",
"format": "int32",
"nullable": true
},
"isPreemptible": {
"type": "boolean",
"nullable": true
},
"nodeCountSet": {
"type": "array",
"items": {
"type": "integer",
"format": "int32"
},
"nullable": true
},
"scaleInterval": {
"type": "integer",
"format": "int32",
"nullable": true
}
},
"additionalProperties": false
},
"AmlSparkCloudSetting": {
"type": "object",
"properties": {
"entry": {
"$ref": "#/components/schemas/EntrySetting"
},
"files": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"archives": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"jars": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"pyFiles": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"driverMemory": {
"type": "string",
"nullable": true
},
"driverCores": {
"type": "integer",
"format": "int32",
"nullable": true
},
"executorMemory": {
"type": "string",
"nullable": true
},
"executorCores": {
"type": "integer",
"format": "int32",
"nullable": true
},
"numberExecutors": {
"type": "integer",
"format": "int32",
"nullable": true
},
"environmentAssetId": {
"type": "string",
"nullable": true
},
"environmentVariables": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"inlineEnvironmentDefinitionString": {
"type": "string",
"nullable": true
},
"conf": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"compute": {
"type": "string",
"nullable": true
},
"resources": {
"$ref": "#/components/schemas/ResourcesSetting"
},
"identity": {
"$ref": "#/components/schemas/IdentitySetting"
}
},
"additionalProperties": false
},
"ApiAndParameters": {
"type": "object",
"properties": {
"api": {
"type": "string",
"nullable": true
},
"parameters": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/FlowToolSettingParameter"
},
"description": "This is a dictionary",
"nullable": true
},
"default_prompt": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"ApplicationEndpointConfiguration": {
"type": "object",
"properties": {
"type": {
"$ref": "#/components/schemas/ApplicationEndpointType"
},
"port": {
"type": "integer",
"format": "int32",
"nullable": true
},
"properties": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"nodes": {
"$ref": "#/components/schemas/Nodes"
}
},
"additionalProperties": false
},
"ApplicationEndpointType": {
"enum": [
"Jupyter",
"JupyterLab",
"SSH",
"TensorBoard",
"VSCode",
"Theia",
"Grafana",
"Custom",
"RayDashboard"
],
"type": "string"
},
"ArgumentAssignment": {
"type": "object",
"properties": {
"valueType": {
"$ref": "#/components/schemas/ArgumentValueType"
},
"value": {
"type": "string",
"nullable": true
},
"nestedArgumentList": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ArgumentAssignment"
},
"nullable": true
},
"stringInterpolationArgumentList": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ArgumentAssignment"
},
"nullable": true
}
},
"additionalProperties": false
},
"ArgumentValueType": {
"enum": [
"Literal",
"Parameter",
"Input",
"Output",
"NestedList",
"StringInterpolationList"
],
"type": "string"
},
"Asset": {
"type": "object",
"properties": {
"assetId": {
"type": "string",
"nullable": true
},
"type": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AssetDefinition": {
"type": "object",
"properties": {
"path": {
"type": "string",
"nullable": true
},
"type": {
"$ref": "#/components/schemas/AEVAAssetType"
},
"assetId": {
"type": "string",
"nullable": true
},
"serializedAssetId": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AssetNameAndVersionIdentifier": {
"type": "object",
"properties": {
"assetName": {
"type": "string",
"nullable": true
},
"version": {
"type": "string",
"nullable": true
},
"feedName": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AssetOutputSettings": {
"type": "object",
"properties": {
"path": {
"type": "string",
"nullable": true
},
"PathParameterAssignment": {
"$ref": "#/components/schemas/ParameterAssignment"
},
"type": {
"$ref": "#/components/schemas/AEVAAssetType"
},
"options": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"dataStoreMode": {
"$ref": "#/components/schemas/AEVADataStoreMode"
},
"name": {
"type": "string",
"nullable": true
},
"version": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AssetOutputSettingsParameter": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"documentation": {
"type": "string",
"nullable": true
},
"defaultValue": {
"$ref": "#/components/schemas/AssetOutputSettings"
}
},
"additionalProperties": false
},
"AssetPublishResult": {
"type": "object",
"properties": {
"feedName": {
"type": "string",
"nullable": true
},
"assetName": {
"type": "string",
"nullable": true
},
"assetVersion": {
"type": "string",
"nullable": true
},
"stepName": {
"type": "string",
"nullable": true
},
"status": {
"type": "string",
"nullable": true
},
"errorMessage": {
"type": "string",
"nullable": true
},
"createdTime": {
"type": "string",
"format": "date-time"
},
"lastUpdatedTime": {
"type": "string",
"format": "date-time",
"nullable": true
},
"regionalPublishResults": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/AssetPublishSingleRegionResult"
},
"nullable": true
}
},
"additionalProperties": false
},
"AssetPublishSingleRegionResult": {
"type": "object",
"properties": {
"stepName": {
"type": "string",
"nullable": true
},
"status": {
"type": "string",
"nullable": true
},
"errorMessage": {
"type": "string",
"nullable": true
},
"lastUpdatedTime": {
"type": "string",
"format": "date-time"
},
"totalSteps": {
"type": "integer",
"format": "int32"
},
"finishedSteps": {
"type": "integer",
"format": "int32"
},
"remainingSteps": {
"type": "integer",
"format": "int32"
}
},
"additionalProperties": false
},
"AssetScopeTypes": {
"enum": [
"Workspace",
"Global",
"All",
"Feed"
],
"type": "string"
},
"AssetSourceType": {
"enum": [
"Unknown",
"Local",
"GithubFile",
"GithubFolder",
"DevopsArtifactsZip"
],
"type": "string"
},
"AssetType": {
"enum": [
"Component",
"Model",
"Environment",
"Dataset",
"DataStore",
"SampleGraph",
"FlowTool",
"FlowToolSetting",
"FlowConnection",
"FlowSample",
"FlowRuntimeSpec"
],
"type": "string"
},
"AssetTypeMetaInfo": {
"type": "object",
"properties": {
"consumptionMode": {
"$ref": "#/components/schemas/ConsumeMode"
}
},
"additionalProperties": false
},
"AssetVersionPublishRequest": {
"type": "object",
"properties": {
"assetType": {
"$ref": "#/components/schemas/AssetType"
},
"assetSourceType": {
"$ref": "#/components/schemas/AssetSourceType"
},
"yamlFile": {
"type": "string",
"nullable": true
},
"sourceZipUrl": {
"type": "string",
"nullable": true
},
"sourceZipFile": {
"type": "string",
"format": "binary",
"nullable": true
},
"feedName": {
"type": "string",
"nullable": true
},
"setAsDefaultVersion": {
"type": "boolean"
},
"referencedAssets": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AssetNameAndVersionIdentifier"
},
"nullable": true
},
"flowFile": {
"type": "string",
"nullable": true
},
"version": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AssignedUser": {
"type": "object",
"properties": {
"objectId": {
"type": "string",
"nullable": true
},
"tenantId": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AuthKeys": {
"type": "object",
"properties": {
"primaryKey": {
"type": "string",
"nullable": true
},
"secondaryKey": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AutoClusterComputeSpecification": {
"type": "object",
"properties": {
"instanceSize": {
"type": "string",
"nullable": true
},
"instancePriority": {
"type": "string",
"nullable": true
},
"osType": {
"type": "string",
"nullable": true
},
"location": {
"type": "string",
"nullable": true
},
"runtimeVersion": {
"type": "string",
"nullable": true
},
"quotaEnforcementResourceId": {
"type": "string",
"nullable": true
},
"modelComputeSpecificationId": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AutoDeleteCondition": {
"enum": [
"CreatedGreaterThan",
"LastAccessedGreaterThan"
],
"type": "string"
},
"AutoDeleteSetting": {
"type": "object",
"properties": {
"condition": {
"$ref": "#/components/schemas/AutoDeleteCondition"
},
"value": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AutoFeaturizeConfiguration": {
"type": "object",
"properties": {
"featurizationConfig": {
"$ref": "#/components/schemas/FeaturizationSettings"
}
},
"additionalProperties": false
},
"AutoMLComponentConfiguration": {
"type": "object",
"properties": {
"autoTrainConfig": {
"$ref": "#/components/schemas/AutoTrainConfiguration"
},
"autoFeaturizeConfig": {
"$ref": "#/components/schemas/AutoFeaturizeConfiguration"
}
},
"additionalProperties": false
},
"AutoScaler": {
"type": "object",
"properties": {
"autoscaleEnabled": {
"type": "boolean",
"nullable": true
},
"minReplicas": {
"type": "integer",
"format": "int32",
"nullable": true
},
"maxReplicas": {
"type": "integer",
"format": "int32",
"nullable": true
},
"targetUtilization": {
"type": "integer",
"format": "int32",
"nullable": true
},
"refreshPeriodInSeconds": {
"type": "integer",
"format": "int32",
"nullable": true
}
},
"additionalProperties": false
},
"AutoTrainConfiguration": {
"type": "object",
"properties": {
"generalSettings": {
"$ref": "#/components/schemas/GeneralSettings"
},
"limitSettings": {
"$ref": "#/components/schemas/LimitSettings"
},
"dataSettings": {
"$ref": "#/components/schemas/DataSettings"
},
"forecastingSettings": {
"$ref": "#/components/schemas/ForecastingSettings"
},
"trainingSettings": {
"$ref": "#/components/schemas/TrainingSettings"
},
"sweepSettings": {
"$ref": "#/components/schemas/SweepSettings"
},
"imageModelSettings": {
"type": "object",
"additionalProperties": {
"nullable": true
},
"nullable": true
},
"properties": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"computeConfiguration": {
"$ref": "#/components/schemas/AEVAComputeConfiguration"
},
"resourceConfigurtion": {
"$ref": "#/components/schemas/AEVAResourceConfiguration"
},
"environmentId": {
"type": "string",
"nullable": true
},
"environmentVariables": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
}
},
"additionalProperties": false
},
"AutologgerSettings": {
"type": "object",
"properties": {
"mlFlowAutologger": {
"$ref": "#/components/schemas/MLFlowAutologgerState"
}
},
"additionalProperties": false
},
"AvailabilityResponse": {
"type": "object",
"properties": {
"isAvailable": {
"type": "boolean"
},
"error": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"additionalProperties": false
},
"AzureBlobReference": {
"type": "object",
"properties": {
"container": {
"type": "string",
"nullable": true
},
"sasToken": {
"type": "string",
"nullable": true
},
"uri": {
"type": "string",
"nullable": true
},
"account": {
"type": "string",
"nullable": true
},
"relativePath": {
"type": "string",
"nullable": true
},
"amlDataStoreName": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AzureDataLakeGen2Reference": {
"type": "object",
"properties": {
"fileSystemName": {
"type": "string",
"nullable": true
},
"uri": {
"type": "string",
"nullable": true
},
"account": {
"type": "string",
"nullable": true
},
"relativePath": {
"type": "string",
"nullable": true
},
"amlDataStoreName": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AzureDataLakeReference": {
"type": "object",
"properties": {
"tenant": {
"type": "string",
"nullable": true
},
"subscription": {
"type": "string",
"nullable": true
},
"resourceGroup": {
"type": "string",
"nullable": true
},
"uri": {
"type": "string",
"nullable": true
},
"account": {
"type": "string",
"nullable": true
},
"relativePath": {
"type": "string",
"nullable": true
},
"amlDataStoreName": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AzureDatabaseReference": {
"type": "object",
"properties": {
"tableName": {
"type": "string",
"nullable": true
},
"sqlQuery": {
"type": "string",
"nullable": true
},
"storedProcedureName": {
"type": "string",
"nullable": true
},
"storedProcedureParameters": {
"type": "array",
"items": {
"$ref": "#/components/schemas/StoredProcedureParameter"
},
"nullable": true
},
"amlDataStoreName": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AzureFilesReference": {
"type": "object",
"properties": {
"share": {
"type": "string",
"nullable": true
},
"uri": {
"type": "string",
"nullable": true
},
"account": {
"type": "string",
"nullable": true
},
"relativePath": {
"type": "string",
"nullable": true
},
"amlDataStoreName": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AzureMLModuleVersionDescriptor": {
"type": "object",
"properties": {
"moduleVersionId": {
"type": "string",
"nullable": true
},
"version": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"AzureOpenAIDeploymentDto": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"modelName": {
"type": "string",
"nullable": true
},
"capabilities": {
"$ref": "#/components/schemas/AzureOpenAIModelCapabilities"
}
},
"additionalProperties": false
},
"AzureOpenAIModelCapabilities": {
"type": "object",
"properties": {
"completion": {
"type": "boolean",
"nullable": true
},
"chat_completion": {
"type": "boolean",
"nullable": true
},
"embeddings": {
"type": "boolean",
"nullable": true
}
},
"additionalProperties": false
},
"BatchAiComputeInfo": {
"type": "object",
"properties": {
"batchAiSubscriptionId": {
"type": "string",
"nullable": true
},
"batchAiResourceGroup": {
"type": "string",
"nullable": true
},
"batchAiWorkspaceName": {
"type": "string",
"nullable": true
},
"clusterName": {
"type": "string",
"nullable": true
},
"nativeSharedDirectory": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"BatchDataInput": {
"type": "object",
"properties": {
"dataUri": {
"type": "string",
"nullable": true
},
"type": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"BatchExportComponentSpecResponse": {
"type": "object",
"properties": {
"componentSpecMetaInfos": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ComponentSpecMetaInfo"
},
"nullable": true
},
"errors": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ErrorResponse"
},
"nullable": true
}
},
"additionalProperties": false
},
"BatchExportRawComponentResponse": {
"type": "object",
"properties": {
"rawComponentDtos": {
"type": "array",
"items": {
"$ref": "#/components/schemas/RawComponentDto"
},
"nullable": true
},
"errors": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ErrorResponse"
},
"nullable": true
}
},
"additionalProperties": false
},
"BatchGetComponentHashesRequest": {
"type": "object",
"properties": {
"moduleHashVersion": {
"$ref": "#/components/schemas/AetherModuleHashVersion"
},
"moduleEntities": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/AetherModuleEntity"
},
"nullable": true
}
},
"additionalProperties": false
},
"BatchGetComponentRequest": {
"type": "object",
"properties": {
"versionIds": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"nameAndVersions": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ComponentNameMetaInfo"
},
"nullable": true
}
},
"additionalProperties": false
},
"Binding": {
"type": "object",
"properties": {
"bindingType": {
"$ref": "#/components/schemas/BindingType"
}
},
"additionalProperties": false
},
"BindingType": {
"enum": [
"Basic"
],
"type": "string"
},
"BuildContextLocationType": {
"enum": [
"Git",
"StorageAccount"
],
"type": "string"
},
"BulkTestDto": {
"type": "object",
"properties": {
"bulkTestId": {
"type": "string",
"nullable": true
},
"displayName": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"runtime": {
"type": "string",
"nullable": true
},
"createdBy": {
"$ref": "#/components/schemas/SchemaContractsCreatedBy"
},
"createdOn": {
"type": "string",
"format": "date-time",
"nullable": true
},
"evaluationCount": {
"type": "integer",
"format": "int32"
},
"variantCount": {
"type": "integer",
"format": "int32"
},
"flowSubmitRunSettings": {
"$ref": "#/components/schemas/FlowSubmitRunSettings"
},
"inputs": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/FlowInputDefinition"
},
"description": "This is a dictionary",
"nullable": true
},
"outputs": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/FlowOutputDefinition"
},
"description": "This is a dictionary",
"nullable": true
},
"batch_inputs": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": { },
"description": "This is a dictionary"
},
"nullable": true
},
"batchDataInput": {
"$ref": "#/components/schemas/BatchDataInput"
}
},
"additionalProperties": false
},
"CloudError": {
"type": "object",
"properties": {
"code": {
"type": "string",
"nullable": true
},
"message": {
"type": "string",
"nullable": true
},
"target": {
"type": "string",
"nullable": true
},
"details": {
"type": "array",
"items": {
"$ref": "#/components/schemas/CloudError"
},
"nullable": true,
"readOnly": true
},
"additionalInfo": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AdditionalErrorInfo"
},
"nullable": true,
"readOnly": true
}
},
"additionalProperties": false
},
"CloudPrioritySetting": {
"type": "object",
"properties": {
"scopePriority": {
"$ref": "#/components/schemas/PriorityConfiguration"
},
"AmlComputePriority": {
"$ref": "#/components/schemas/PriorityConfiguration"
},
"ItpPriority": {
"$ref": "#/components/schemas/PriorityConfiguration"
},
"SingularityPriority": {
"$ref": "#/components/schemas/PriorityConfiguration"
}
},
"additionalProperties": false
},
"CloudSettings": {
"type": "object",
"properties": {
"linkedSettings": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ParameterAssignment"
},
"nullable": true
},
"priorityConfig": {
"$ref": "#/components/schemas/PriorityConfiguration"
},
"hdiRunConfig": {
"$ref": "#/components/schemas/HdiRunConfiguration"
},
"subGraphConfig": {
"$ref": "#/components/schemas/SubGraphConfiguration"
},
"autoMLComponentConfig": {
"$ref": "#/components/schemas/AutoMLComponentConfiguration"
},
"apCloudConfig": {
"$ref": "#/components/schemas/APCloudConfiguration"
},
"scopeCloudConfig": {
"$ref": "#/components/schemas/ScopeCloudConfiguration"
},
"esCloudConfig": {
"$ref": "#/components/schemas/EsCloudConfiguration"
},
"dataTransferCloudConfig": {
"$ref": "#/components/schemas/DataTransferCloudConfiguration"
},
"amlSparkCloudSetting": {
"$ref": "#/components/schemas/AmlSparkCloudSetting"
},
"dataTransferV2CloudSetting": {
"$ref": "#/components/schemas/DataTransferV2CloudSetting"
}
},
"additionalProperties": false
},
"ColumnTransformer": {
"type": "object",
"properties": {
"fields": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"parameters": {
"nullable": true
}
},
"additionalProperties": false
},
"CommandJob": {
"type": "object",
"properties": {
"jobType": {
"$ref": "#/components/schemas/JobType"
},
"codeId": {
"type": "string",
"nullable": true
},
"command": {
"minLength": 1,
"type": "string",
"nullable": true
},
"environmentId": {
"type": "string",
"nullable": true
},
"inputDataBindings": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/InputDataBinding"
},
"nullable": true
},
"outputDataBindings": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/OutputDataBinding"
},
"nullable": true
},
"distribution": {
"$ref": "#/components/schemas/DistributionConfiguration"
},
"environmentVariables": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"parameters": {
"type": "object",
"additionalProperties": {
"nullable": true
},
"nullable": true
},
"autologgerSettings": {
"$ref": "#/components/schemas/MfeInternalAutologgerSettings"
},
"limits": {
"$ref": "#/components/schemas/CommandJobLimits"
},
"provisioningState": {
"$ref": "#/components/schemas/JobProvisioningState"
},
"parentJobName": {
"type": "string",
"nullable": true
},
"displayName": {
"type": "string",
"nullable": true
},
"experimentName": {
"type": "string",
"nullable": true
},
"status": {
"$ref": "#/components/schemas/JobStatus"
},
"interactionEndpoints": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/JobEndpoint"
},
"nullable": true
},
"identity": {
"$ref": "#/components/schemas/MfeInternalIdentityConfiguration"
},
"compute": {
"$ref": "#/components/schemas/ComputeConfiguration"
},
"priority": {
"type": "integer",
"format": "int32",
"nullable": true
},
"output": {
"$ref": "#/components/schemas/JobOutputArtifacts"
},
"isArchived": {
"type": "boolean"
},
"schedule": {
"$ref": "#/components/schemas/ScheduleBase"
},
"componentId": {
"type": "string",
"nullable": true
},
"notificationSetting": {
"$ref": "#/components/schemas/NotificationSetting"
},
"secretsConfiguration": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/MfeInternalSecretConfiguration"
},
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"properties": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
}
},
"additionalProperties": false
},
"CommandJobLimits": {
"type": "object",
"properties": {
"jobLimitsType": {
"$ref": "#/components/schemas/JobLimitsType"
},
"timeout": {
"type": "string",
"format": "date-span",
"nullable": true
}
},
"additionalProperties": false
},
"CommandReturnCodeConfig": {
"type": "object",
"properties": {
"returnCode": {
"$ref": "#/components/schemas/SuccessfulCommandReturnCode"
},
"successfulReturnCodes": {
"type": "array",
"items": {
"type": "integer",
"format": "int32"
},
"nullable": true
}
},
"additionalProperties": false
},
"Communicator": {
"enum": [
"None",
"ParameterServer",
"Gloo",
"Mpi",
"Nccl",
"ParallelTask"
],
"type": "string"
},
"ComponentConfiguration": {
"type": "object",
"properties": {
"componentIdentifier": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"ComponentInput": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"optional": {
"type": "boolean"
},
"description": {
"type": "string",
"nullable": true
},
"type": {
"type": "string",
"nullable": true
},
"default": {
"type": "string",
"nullable": true
},
"enum": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"min": {
"type": "string",
"nullable": true
},
"max": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"ComponentJob": {
"type": "object",
"properties": {
"compute": {
"$ref": "#/components/schemas/ComputeConfiguration"
},
"componentId": {
"type": "string",
"nullable": true
},
"inputs": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/ComponentJobInput"
},
"description": "This is a dictionary",
"nullable": true
},
"outputs": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/ComponentJobOutput"
},
"description": "This is a dictionary",
"nullable": true
}
},
"additionalProperties": false
},
"ComponentJobInput": {
"type": "object",
"properties": {
"data": {
"$ref": "#/components/schemas/InputData"
},
"inputBinding": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"ComponentJobOutput": {
"type": "object",
"properties": {
"data": {
"$ref": "#/components/schemas/MfeInternalOutputData"
},
"outputBinding": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"ComponentNameAndDefaultVersion": {
"type": "object",
"properties": {
"componentName": {
"type": "string",
"nullable": true
},
"version": {
"type": "string",
"nullable": true
},
"feedName": {
"type": "string",
"nullable": true
},
"registryName": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"ComponentNameMetaInfo": {
"type": "object",
"properties": {
"feedName": {
"type": "string",
"nullable": true
},
"componentName": {
"type": "string",
"nullable": true
},
"componentVersion": {
"type": "string",
"nullable": true
},
"registryName": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"ComponentOutput": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"type": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"ComponentPreflightResult": {
"type": "object",
"properties": {
"errorDetails": {
"type": "array",
"items": {
"$ref": "#/components/schemas/RootError"
},
"nullable": true
}
},
"additionalProperties": false
},
"ComponentRegistrationTypeEnum": {
"enum": [
"Normal",
"AnonymousAmlModule",
"AnonymousAmlModuleVersion",
"ModuleEntityOnly"
],
"type": "string"
},
"ComponentSpecMetaInfo": {
"type": "object",
"properties": {
"componentSpec": {
"nullable": true
},
"componentVersion": {
"type": "string",
"nullable": true
},
"isAnonymous": {
"type": "boolean"
},
"properties": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"componentName": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"isArchived": {
"type": "boolean"
}
},
"additionalProperties": false
},
"ComponentType": {
"enum": [
"Unknown",
"CommandComponent",
"Command"
],
"type": "string"
},
"ComponentUpdateRequest": {
"type": "object",
"properties": {
"originalModuleEntity": {
"$ref": "#/components/schemas/ModuleEntity"
},
"updateModuleEntity": {
"$ref": "#/components/schemas/ModuleEntity"
},
"moduleName": {
"type": "string",
"nullable": true
},
"properties": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"overwriteWithOriginalNameAndVersion": {
"type": "boolean",
"nullable": true
},
"snapshotId": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"ComponentValidationRequest": {
"type": "object",
"properties": {
"componentIdentifier": {
"type": "string",
"nullable": true
},
"computeIdentity": {
"$ref": "#/components/schemas/ComputeIdentityDto"
},
"executionContextDto": {
"$ref": "#/components/schemas/ExecutionContextDto"
},
"environmentDefinition": {
"$ref": "#/components/schemas/EnvironmentDefinitionDto"
},
"dataPortDtos": {
"type": "array",
"items": {
"$ref": "#/components/schemas/DataPortDto"
},
"nullable": true
}
},
"additionalProperties": false
},
"ComponentValidationResponse": {
"type": "object",
"properties": {
"status": {
"$ref": "#/components/schemas/ValidationStatus"
},
"error": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"additionalProperties": false
},
"Compute": {
"type": "object",
"properties": {
"target": {
"type": "string",
"nullable": true
},
"targetType": {
"type": "string",
"nullable": true
},
"vmSize": {
"type": "string",
"nullable": true
},
"instanceType": {
"type": "string",
"nullable": true
},
"instanceCount": {
"type": "integer",
"format": "int32",
"nullable": true
},
"gpuCount": {
"type": "integer",
"format": "int32",
"nullable": true
},
"priority": {
"type": "string",
"nullable": true
},
"region": {
"type": "string",
"nullable": true
},
"armId": {
"type": "string",
"nullable": true
},
"properties": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
}
},
"additionalProperties": false
},
"ComputeConfiguration": {
"type": "object",
"properties": {
"target": {
"type": "string",
"nullable": true
},
"instanceCount": {
"type": "integer",
"format": "int32",
"nullable": true
},
"maxInstanceCount": {
"type": "integer",
"format": "int32",
"nullable": true
},
"isLocal": {
"type": "boolean"
},
"location": {
"type": "string",
"nullable": true
},
"isClusterless": {
"type": "boolean"
},
"instanceType": {
"type": "string",
"nullable": true
},
"instancePriority": {
"type": "string",
"nullable": true
},
"jobPriority": {
"type": "integer",
"format": "int32",
"nullable": true
},
"shmSize": {
"type": "string",
"nullable": true
},
"dockerArgs": {
"type": "string",
"nullable": true
},
"locations": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"properties": {
"type": "object",
"additionalProperties": {
"nullable": true
},
"nullable": true
}
},
"additionalProperties": false
},
"ComputeContract": {
"type": "object",
"properties": {
"id": {
"type": "string",
"nullable": true
},
"name": {
"type": "string",
"nullable": true
},
"type": {
"type": "string",
"nullable": true,
"readOnly": true
},
"location": {
"type": "string",
"nullable": true
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"identity": {
"$ref": "#/components/schemas/ComputeIdentityContract"
},
"properties": {
"$ref": "#/components/schemas/ComputeProperties"
}
},
"additionalProperties": false
},
"ComputeDetails": {
"type": "object"
},
"ComputeEnvironmentType": {
"enum": [
"ACI",
"AKS",
"AMLCOMPUTE",
"IOT",
"AKSENDPOINT",
"MIRSINGLEMODEL",
"MIRAMLCOMPUTE",
"MIRGA",
"AMLARC",
"BATCHAMLCOMPUTE",
"UNKNOWN"
],
"type": "string"
},
"ComputeIdentityContract": {
"type": "object",
"properties": {
"type": {
"type": "string",
"nullable": true
},
"systemIdentityUrl": {
"type": "string",
"nullable": true
},
"principalId": {
"type": "string",
"nullable": true
},
"tenantId": {
"type": "string",
"nullable": true
},
"clientId": {
"type": "string",
"nullable": true
},
"clientSecretUrl": {
"type": "string",
"nullable": true
},
"userAssignedIdentities": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/ComputeRPUserAssignedIdentity"
},
"description": "This is a dictionary",
"nullable": true
}
},
"additionalProperties": false
},
"ComputeIdentityDto": {
"type": "object",
"properties": {
"computeName": {
"type": "string",
"nullable": true
},
"computeTargetType": {
"$ref": "#/components/schemas/ComputeTargetType"
},
"intellectualPropertyPublisher": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"ComputeInfo": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"computeType": {
"$ref": "#/components/schemas/ComputeEnvironmentType"
},
"isSslEnabled": {
"type": "boolean"
},
"isGpuType": {
"type": "boolean"
},
"clusterPurpose": {
"type": "string",
"nullable": true
},
"publicIpAddress": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"ComputeProperties": {
"required": [
"computeType"
],
"type": "object",
"properties": {
"createdOn": {
"type": "string",
"format": "date-time"
},
"modifiedOn": {
"type": "string",
"format": "date-time"
},
"disableLocalAuth": {
"type": "boolean"
},
"description": {
"type": "string",
"nullable": true
},
"resourceId": {
"type": "string",
"nullable": true
},
"computeType": {
"minLength": 1,
"type": "string"
},
"computeLocation": {
"type": "string",
"nullable": true
},
"provisioningState": {
"$ref": "#/components/schemas/ProvisioningState"
},
"provisioningErrors": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ODataErrorResponse"
},
"nullable": true
},
"provisioningWarnings": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"isAttachedCompute": {
"type": "boolean"
},
"properties": {
"$ref": "#/components/schemas/ComputeDetails"
},
"status": {
"$ref": "#/components/schemas/ComputeStatus"
},
"warnings": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ComputeWarning"
},
"nullable": true
}
},
"additionalProperties": false
},
"ComputeRPUserAssignedIdentity": {
"type": "object",
"properties": {
"principalId": {
"type": "string",
"nullable": true
},
"tenantId": {
"type": "string",
"nullable": true
},
"clientId": {
"type": "string",
"nullable": true
},
"clientSecretUrl": {
"type": "string",
"nullable": true
},
"resourceId": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"ComputeRequest": {
"type": "object",
"properties": {
"nodeCount": {
"type": "integer",
"format": "int32",
"nullable": true
},
"gpuCount": {
"type": "integer",
"format": "int32",
"nullable": true
}
},
"additionalProperties": false
},
"ComputeSetting": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"computeType": {
"$ref": "#/components/schemas/ComputeType"
},
"batchAiComputeInfo": {
"$ref": "#/components/schemas/BatchAiComputeInfo"
},
"remoteDockerComputeInfo": {
"$ref": "#/components/schemas/RemoteDockerComputeInfo"
},
"hdiClusterComputeInfo": {
"$ref": "#/components/schemas/HdiClusterComputeInfo"
},
"mlcComputeInfo": {
"$ref": "#/components/schemas/MlcComputeInfo"
},
"databricksComputeInfo": {
"$ref": "#/components/schemas/DatabricksComputeInfo"
}
},
"additionalProperties": false
},
"ComputeStatus": {
"type": "object",
"properties": {
"isStatusAvailable": {
"type": "boolean",
"readOnly": true
},
"detailedStatus": {
"nullable": true
},
"error": {
"$ref": "#/components/schemas/ODataError"
}
},
"additionalProperties": false
},
"ComputeStatusDetail": {
"type": "object",
"properties": {
"provisioningState": {
"type": "string",
"nullable": true
},
"provisioningErrorMessage": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"ComputeTargetType": {
"enum": [
"Local",
"Remote",
"HdiCluster",
"ContainerInstance",
"AmlCompute",
"ComputeInstance",
"Cmk8s",
"SynapseSpark",
"Kubernetes",
"Aisc",
"GlobalJobDispatcher",
"Databricks",
"MockedCompute"
],
"type": "string"
},
"ComputeType": {
"enum": [
"BatchAi",
"MLC",
"HdiCluster",
"RemoteDocker",
"Databricks",
"Aisc"
],
"type": "string"
},
"ComputeWarning": {
"type": "object",
"properties": {
"title": {
"type": "string",
"nullable": true
},
"message": {
"type": "string",
"nullable": true
},
"code": {
"type": "string",
"nullable": true
},
"severity": {
"$ref": "#/components/schemas/SeverityLevel"
}
},
"additionalProperties": false
},
"ConfigValueType": {
"enum": [
"String",
"Secret"
],
"type": "string"
},
"ConnectionCategory": {
"enum": [
"PythonFeed",
"ACR",
"Git",
"S3",
"Snowflake",
"AzureSqlDb",
"AzureSynapseAnalytics",
"AzureMySqlDb",
"AzurePostgresDb",
"AzureDataLakeGen2",
"Redis",
"ApiKey",
"AzureOpenAI",
"CognitiveSearch",
"CognitiveService",
"CustomKeys",
"AzureBlob",
"AzureOneLake",
"CosmosDb",
"CosmosDbMongoDbApi",
"AzureDataExplorer",
"AzureMariaDb",
"AzureDatabricksDeltaLake",
"AzureSqlMi",
"AzureTableStorage",
"AmazonRdsForOracle",
"AmazonRdsForSqlServer",
"AmazonRedshift",
"Db2",
"Drill",
"GoogleBigQuery",
"Greenplum",
"Hbase",
"Hive",
"Impala",
"Informix",
"MariaDb",
"MicrosoftAccess",
"MySql",
"Netezza",
"Oracle",
"Phoenix",
"PostgreSql",
"Presto",
"SapOpenHub",
"SapBw",
"SapHana",
"SapTable",
"Spark",
"SqlServer",
"Sybase",
"Teradata",
"Vertica",
"Cassandra",
"Couchbase",
"MongoDbV2",
"MongoDbAtlas",
"AmazonS3Compatible",
"FileServer",
"FtpServer",
"GoogleCloudStorage",
"Hdfs",
"OracleCloudStorage",
"Sftp",
"GenericHttp",
"ODataRest",
"Odbc",
"GenericRest",
"AmazonMws",
"Concur",
"Dynamics",
"DynamicsAx",
"DynamicsCrm",
"GoogleAdWords",
"Hubspot",
"Jira",
"Magento",
"Marketo",
"Office365",
"Eloqua",
"Responsys",
"OracleServiceCloud",
"PayPal",
"QuickBooks",
"Salesforce",
"SalesforceServiceCloud",
"SalesforceMarketingCloud",
"SapCloudForCustomer",
"SapEcc",
"ServiceNow",
"SharePointOnlineList",
"Shopify",
"Square",
"WebTable",
"Xero",
"Zoho",
"GenericContainerRegistry"
],
"type": "string"
},
"ConnectionConfigSpec": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"displayName": {
"type": "string",
"nullable": true
},
"configValueType": {
"$ref": "#/components/schemas/ConfigValueType"
},
"description": {
"type": "string",
"nullable": true
},
"defaultValue": {
"type": "string",
"nullable": true
},
"enumValues": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"isOptional": {
"type": "boolean"
}
},
"additionalProperties": false
},
"ConnectionDto": {
"type": "object",
"properties": {
"connectionName": {
"type": "string",
"nullable": true
},
"connectionType": {
"$ref": "#/components/schemas/ConnectionType"
},
"configs": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"customConfigs": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/CustomConnectionConfig"
},
"description": "This is a dictionary",
"nullable": true
},
"expiryTime": {
"type": "string",
"format": "date-time",
"nullable": true
},
"owner": {
"$ref": "#/components/schemas/SchemaContractsCreatedBy"
},
"createdDate": {
"type": "string",
"format": "date-time",
"nullable": true
},
"lastModifiedDate": {
"type": "string",
"format": "date-time",
"nullable": true
}
},
"additionalProperties": false
},
"ConnectionEntity": {
"type": "object",
"properties": {
"connectionId": {
"type": "string",
"nullable": true
},
"connectionName": {
"type": "string",
"nullable": true
},
"connectionType": {
"$ref": "#/components/schemas/ConnectionType"
},
"connectionScope": {
"$ref": "#/components/schemas/ConnectionScope"
},
"configs": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"customConfigs": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/CustomConnectionConfig"
},
"description": "This is a dictionary",
"nullable": true
},
"expiryTime": {
"type": "string",
"format": "date-time",
"nullable": true
},
"secretName": {
"type": "string",
"nullable": true
},
"owner": {
"$ref": "#/components/schemas/SchemaContractsCreatedBy"
},
"createdDate": {
"type": "string",
"format": "date-time"
},
"lastModifiedDate": {
"type": "string",
"format": "date-time"
}
},
"additionalProperties": false
},
"ConnectionOverrideSetting": {
"type": "object",
"properties": {
"connectionSourceType": {
"$ref": "#/components/schemas/ConnectionSourceType"
},
"nodeName": {
"type": "string",
"nullable": true
},
"nodeInputName": {
"type": "string",
"nullable": true
},
"nodeDeploymentNameInput": {
"type": "string",
"nullable": true
},
"nodeModelInput": {
"type": "string",
"nullable": true
},
"connectionName": {
"type": "string",
"nullable": true
},
"deploymentName": {
"type": "string",
"nullable": true
},
"model": {
"type": "string",
"nullable": true
},
"connectionTypes": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ConnectionType"
},
"nullable": true
},
"capabilities": {
"$ref": "#/components/schemas/AzureOpenAIModelCapabilities"
},
"modelEnum": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
}
},
"additionalProperties": false
},
"ConnectionScope": {
"enum": [
"User",
"WorkspaceShared"
],
"type": "string"
},
"ConnectionSourceType": {
"enum": [
"Node",
"NodeInput"
],
"type": "string"
},
"ConnectionSpec": {
"type": "object",
"properties": {
"connectionType": {
"$ref": "#/components/schemas/ConnectionType"
},
"configSpecs": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ConnectionConfigSpec"
},
"nullable": true
}
},
"additionalProperties": false
},
"ConnectionType": {
"enum": [
"OpenAI",
"AzureOpenAI",
"Serp",
"Bing",
"AzureContentModerator",
"Custom",
"AzureContentSafety",
"CognitiveSearch",
"SubstrateLLM",
"Pinecone",
"Qdrant",
"Weaviate",
"FormRecognizer"
],
"type": "string"
},
"ConsumeMode": {
"enum": [
"Reference",
"Copy",
"CopyAndAutoUpgrade"
],
"type": "string"
},
"ContainerInstanceConfiguration": {
"type": "object",
"properties": {
"region": {
"type": "string",
"nullable": true
},
"cpuCores": {
"type": "number",
"format": "double"
},
"memoryGb": {
"type": "number",
"format": "double"
}
},
"additionalProperties": false
},
"ContainerRegistry": {
"type": "object",
"properties": {
"address": {
"type": "string",
"nullable": true
},
"username": {
"type": "string",
"nullable": true
},
"password": {
"type": "string",
"nullable": true
},
"credentialType": {
"type": "string",
"nullable": true
},
"registryIdentity": {
"$ref": "#/components/schemas/RegistryIdentity"
}
},
"additionalProperties": false
},
"ContainerResourceRequirements": {
"type": "object",
"properties": {
"cpu": {
"type": "number",
"format": "double",
"nullable": true
},
"cpuLimit": {
"type": "number",
"format": "double",
"nullable": true
},
"memoryInGB": {
"type": "number",
"format": "double",
"nullable": true
},
"memoryInGBLimit": {
"type": "number",
"format": "double",
"nullable": true
},
"gpuEnabled": {
"type": "boolean",
"nullable": true
},
"gpu": {
"type": "integer",
"format": "int32",
"nullable": true
},
"fpga": {
"type": "integer",
"format": "int32",
"nullable": true
}
},
"additionalProperties": false
},
"ControlFlowType": {
"enum": [
"None",
"DoWhile",
"ParallelFor"
],
"type": "string"
},
"ControlInput": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"defaultValue": {
"$ref": "#/components/schemas/ControlInputValue"
}
},
"additionalProperties": false
},
"ControlInputValue": {
"enum": [
"None",
"False",
"True",
"Skipped"
],
"type": "string"
},
"ControlOutput": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"ControlType": {
"enum": [
"IfElse"
],
"type": "string"
},
"CopyDataTask": {
"type": "object",
"properties": {
"DataCopyMode": {
"$ref": "#/components/schemas/DataCopyMode"
}
},
"additionalProperties": false
},
"CreateFlowFromSampleRequest": {
"type": "object",
"properties": {
"flowName": {
"type": "string",
"nullable": true
},
"sampleResourceId": {
"type": "string",
"nullable": true
},
"flowDefinitionFilePath": {
"type": "string",
"nullable": true
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"isArchived": {
"type": "boolean"
}
},
"additionalProperties": false
},
"CreateFlowRequest": {
"type": "object",
"properties": {
"flowName": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"details": {
"type": "string",
"nullable": true
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"flow": {
"$ref": "#/components/schemas/Flow"
},
"flowDefinitionFilePath": {
"type": "string",
"nullable": true
},
"flowType": {
"$ref": "#/components/schemas/FlowType"
},
"flowRunSettings": {
"$ref": "#/components/schemas/FlowRunSettings"
},
"isArchived": {
"type": "boolean"
},
"vmSize": {
"type": "string",
"nullable": true
},
"maxIdleTimeSeconds": {
"type": "integer",
"format": "int64",
"nullable": true
},
"identity": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"CreateFlowRuntimeRequest": {
"type": "object",
"properties": {
"runtimeType": {
"$ref": "#/components/schemas/RuntimeType"
},
"identity": {
"$ref": "#/components/schemas/ManagedServiceIdentity"
},
"instanceType": {
"type": "string",
"nullable": true
},
"fromExistingEndpoint": {
"type": "boolean"
},
"fromExistingDeployment": {
"type": "boolean"
},
"endpointName": {
"type": "string",
"nullable": true
},
"deploymentName": {
"type": "string",
"nullable": true
},
"computeInstanceName": {
"type": "string",
"nullable": true
},
"fromExistingCustomApp": {
"type": "boolean"
},
"customAppName": {
"type": "string",
"nullable": true
},
"runtimeDescription": {
"type": "string",
"nullable": true
},
"environment": {
"type": "string",
"nullable": true
},
"instanceCount": {
"type": "integer",
"format": "int32"
}
},
"additionalProperties": false
},
"CreateFlowSessionRequest": {
"type": "object",
"properties": {
"pythonPipRequirements": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"baseImage": {
"type": "string",
"nullable": true
},
"vmSize": {
"type": "string",
"nullable": true
},
"maxIdleTimeSeconds": {
"type": "integer",
"format": "int64",
"nullable": true
},
"action": {
"$ref": "#/components/schemas/SetupFlowSessionAction"
},
"identity": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"CreateInferencePipelineRequest": {
"type": "object",
"properties": {
"moduleNodeId": {
"type": "string",
"nullable": true
},
"portName": {
"type": "string",
"nullable": true
},
"trainingPipelineDraftName": {
"type": "string",
"nullable": true
},
"trainingPipelineRunDisplayName": {
"type": "string",
"nullable": true
},
"name": {
"type": "string",
"nullable": true
},
"pipelineType": {
"$ref": "#/components/schemas/PipelineType"
},
"pipelineDraftMode": {
"$ref": "#/components/schemas/PipelineDraftMode"
},
"graphComponentsMode": {
"$ref": "#/components/schemas/GraphComponentsMode"
},
"subPipelinesInfo": {
"$ref": "#/components/schemas/SubPipelinesInfo"
},
"flattenedSubGraphs": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/PipelineSubDraft"
},
"nullable": true
},
"pipelineParameters": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"dataPathAssignments": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/LegacyDataPath"
},
"description": "This is a dictionary",
"nullable": true
},
"dataSetDefinitionValueAssignments": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/DataSetDefinitionValue"
},
"description": "This is a dictionary",
"nullable": true
},
"assetOutputSettingsAssignments": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/AssetOutputSettings"
},
"description": "This is a dictionary",
"nullable": true
},
"graph": {
"$ref": "#/components/schemas/GraphDraftEntity"
},
"pipelineRunSettings": {
"type": "array",
"items": {
"$ref": "#/components/schemas/RunSettingParameterAssignment"
},
"nullable": true
},
"moduleNodeRunSettings": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GraphModuleNodeRunSetting"
},
"nullable": true
},
"moduleNodeUIInputSettings": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GraphModuleNodeUIInputSetting"
},
"nullable": true
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"continueRunOnStepFailure": {
"type": "boolean",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"properties": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"enforceRerun": {
"type": "boolean",
"nullable": true
},
"datasetAccessModes": {
"$ref": "#/components/schemas/DatasetAccessModes"
}
},
"additionalProperties": false
},
"CreateOrUpdateConnectionRequest": {
"type": "object",
"properties": {
"connectionType": {
"$ref": "#/components/schemas/ConnectionType"
},
"connectionScope": {
"$ref": "#/components/schemas/ConnectionScope"
},
"configs": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"customConfigs": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/CustomConnectionConfig"
},
"description": "This is a dictionary",
"nullable": true
},
"expiryTime": {
"type": "string",
"format": "date-time",
"nullable": true
}
},
"additionalProperties": false
},
"CreateOrUpdateConnectionRequestDto": {
"type": "object",
"properties": {
"connectionType": {
"$ref": "#/components/schemas/ConnectionType"
},
"configs": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"customConfigs": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/CustomConnectionConfig"
},
"description": "This is a dictionary",
"nullable": true
},
"expiryTime": {
"type": "string",
"format": "date-time",
"nullable": true
}
},
"additionalProperties": false
},
"CreatePipelineDraftRequest": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"pipelineType": {
"$ref": "#/components/schemas/PipelineType"
},
"pipelineDraftMode": {
"$ref": "#/components/schemas/PipelineDraftMode"
},
"graphComponentsMode": {
"$ref": "#/components/schemas/GraphComponentsMode"
},
"subPipelinesInfo": {
"$ref": "#/components/schemas/SubPipelinesInfo"
},
"flattenedSubGraphs": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/PipelineSubDraft"
},
"nullable": true
},
"pipelineParameters": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"dataPathAssignments": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/LegacyDataPath"
},
"description": "This is a dictionary",
"nullable": true
},
"dataSetDefinitionValueAssignments": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/DataSetDefinitionValue"
},
"description": "This is a dictionary",
"nullable": true
},
"assetOutputSettingsAssignments": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/AssetOutputSettings"
},
"description": "This is a dictionary",
"nullable": true
},
"graph": {
"$ref": "#/components/schemas/GraphDraftEntity"
},
"pipelineRunSettings": {
"type": "array",
"items": {
"$ref": "#/components/schemas/RunSettingParameterAssignment"
},
"nullable": true
},
"moduleNodeRunSettings": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GraphModuleNodeRunSetting"
},
"nullable": true
},
"moduleNodeUIInputSettings": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GraphModuleNodeUIInputSetting"
},
"nullable": true
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"continueRunOnStepFailure": {
"type": "boolean",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"properties": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"enforceRerun": {
"type": "boolean",
"nullable": true
},
"datasetAccessModes": {
"$ref": "#/components/schemas/DatasetAccessModes"
}
},
"additionalProperties": false
},
"CreatePipelineJobScheduleDto": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"pipelineJobName": {
"type": "string",
"nullable": true
},
"pipelineJobRuntimeSettings": {
"$ref": "#/components/schemas/PipelineJobRuntimeBasicSettings"
},
"displayName": {
"type": "string",
"nullable": true
},
"triggerType": {
"$ref": "#/components/schemas/TriggerType"
},
"recurrence": {
"$ref": "#/components/schemas/Recurrence"
},
"cron": {
"$ref": "#/components/schemas/Cron"
},
"status": {
"$ref": "#/components/schemas/ScheduleStatus"
},
"description": {
"type": "string",
"nullable": true
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"properties": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
}
},
"additionalProperties": false
},
"CreatePublishedPipelineRequest": {
"type": "object",
"properties": {
"usePipelineEndpoint": {
"type": "boolean"
},
"pipelineName": {
"type": "string",
"nullable": true
},
"pipelineDescription": {
"type": "string",
"nullable": true
},
"useExistingPipelineEndpoint": {
"type": "boolean"
},
"pipelineEndpointName": {
"type": "string",
"nullable": true
},
"pipelineEndpointDescription": {
"type": "string",
"nullable": true
},
"setAsDefaultPipelineForEndpoint": {
"type": "boolean"
},
"stepTags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"experimentName": {
"type": "string",
"nullable": true
},
"pipelineParameters": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"dataPathAssignments": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/LegacyDataPath"
},
"description": "This is a dictionary",
"nullable": true
},
"dataSetDefinitionValueAssignments": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/DataSetDefinitionValue"
},
"description": "This is a dictionary",
"nullable": true
},
"assetOutputSettingsAssignments": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/AssetOutputSettings"
},
"description": "This is a dictionary",
"nullable": true
},
"enableNotification": {
"type": "boolean",
"nullable": true
},
"subPipelinesInfo": {
"$ref": "#/components/schemas/SubPipelinesInfo"
},
"displayName": {
"type": "string",
"nullable": true
},
"runId": {
"type": "string",
"nullable": true
},
"parentRunId": {
"type": "string",
"nullable": true
},
"graph": {
"$ref": "#/components/schemas/GraphDraftEntity"
},
"pipelineRunSettings": {
"type": "array",
"items": {
"$ref": "#/components/schemas/RunSettingParameterAssignment"
},
"nullable": true
},
"moduleNodeRunSettings": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GraphModuleNodeRunSetting"
},
"nullable": true
},
"moduleNodeUIInputSettings": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GraphModuleNodeUIInputSetting"
},
"nullable": true
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"continueRunOnStepFailure": {
"type": "boolean",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"properties": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"enforceRerun": {
"type": "boolean",
"nullable": true
},
"datasetAccessModes": {
"$ref": "#/components/schemas/DatasetAccessModes"
}
},
"additionalProperties": false
},
"CreateRealTimeEndpointRequest": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"computeInfo": {
"$ref": "#/components/schemas/ComputeInfo"
},
"description": {
"type": "string",
"nullable": true
},
"linkedPipelineDraftId": {
"type": "string",
"nullable": true
},
"linkedPipelineRunId": {
"type": "string",
"nullable": true
},
"aksAdvanceSettings": {
"$ref": "#/components/schemas/AKSAdvanceSettings"
},
"aciAdvanceSettings": {
"$ref": "#/components/schemas/ACIAdvanceSettings"
},
"linkedTrainingPipelineRunId": {
"type": "string",
"nullable": true
},
"linkedExperimentName": {
"type": "string",
"nullable": true
},
"graphNodesRunIdMapping": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"workflow": {
"$ref": "#/components/schemas/PipelineGraph"
},
"inputs": {
"type": "array",
"items": {
"$ref": "#/components/schemas/InputOutputPortMetadata"
},
"nullable": true
},
"outputs": {
"type": "array",
"items": {
"$ref": "#/components/schemas/InputOutputPortMetadata"
},
"nullable": true
},
"exampleRequest": {
"$ref": "#/components/schemas/ExampleRequest"
},
"userStorageConnectionString": {
"type": "string",
"nullable": true
},
"userStorageEndpointUri": {
"type": "string",
"format": "uri",
"nullable": true
},
"userStorageWorkspaceSaiToken": {
"type": "string",
"nullable": true
},
"userStorageContainerName": {
"type": "string",
"nullable": true
},
"pipelineRunId": {
"type": "string",
"nullable": true
},
"rootPipelineRunId": {
"type": "string",
"nullable": true
},
"experimentName": {
"type": "string",
"nullable": true
},
"experimentId": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"CreatedBy": {
"type": "object",
"properties": {
"userObjectId": {
"type": "string",
"nullable": true
},
"userTenantId": {
"type": "string",
"nullable": true
},
"userName": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"CreatedFromDto": {
"type": "object",
"properties": {
"type": {
"$ref": "#/components/schemas/CreatedFromType"
},
"locationType": {
"$ref": "#/components/schemas/CreatedFromLocationType"
},
"location": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"CreatedFromLocationType": {
"enum": [
"ArtifactId"
],
"type": "string"
},
"CreatedFromType": {
"enum": [
"Notebook"
],
"type": "string"
},
"CreationContext": {
"type": "object",
"properties": {
"createdTime": {
"type": "string",
"format": "date-time"
},
"createdBy": {
"$ref": "#/components/schemas/SchemaContractsCreatedBy"
},
"creationSource": {
"type": "string",
"nullable": true
}
}
},
"Cron": {
"type": "object",
"properties": {
"expression": {
"type": "string",
"nullable": true
},
"endTime": {
"type": "string",
"nullable": true
},
"startTime": {
"type": "string",
"nullable": true
},
"timeZone": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"CustomConnectionConfig": {
"type": "object",
"properties": {
"configValueType": {
"$ref": "#/components/schemas/ConfigValueType"
},
"value": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"CustomReference": {
"type": "object",
"properties": {
"amlDataStoreName": {
"type": "string",
"nullable": true
},
"relativePath": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"DBFSReference": {
"type": "object",
"properties": {
"relativePath": {
"type": "string",
"nullable": true
},
"amlDataStoreName": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"Data": {
"type": "object",
"properties": {
"dataLocation": {
"$ref": "#/components/schemas/ExecutionDataLocation"
},
"mechanism": {
"$ref": "#/components/schemas/DeliveryMechanism"
},
"environmentVariableName": {
"type": "string",
"nullable": true
},
"pathOnCompute": {
"type": "string",
"nullable": true
},
"overwrite": {
"type": "boolean"
},
"options": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
}
},
"additionalProperties": false
},
"DataBindingMode": {
"enum": [
"Mount",
"Download",
"Upload",
"ReadOnlyMount",
"ReadWriteMount",
"Direct",
"EvalMount",
"EvalDownload"
],
"type": "string"
},
"DataCategory": {
"enum": [
"All",
"Dataset",
"Model"
],
"type": "string"
},
"DataCopyMode": {
"enum": [
"MergeWithOverwrite",
"FailIfConflict"
],
"type": "string"
},
"DataInfo": {
"type": "object",
"properties": {
"feedName": {
"type": "string",
"nullable": true
},
"id": {
"type": "string",
"nullable": true
},
"dataSourceType": {
"$ref": "#/components/schemas/DataSourceType"
},
"name": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"dataTypeId": {
"type": "string",
"nullable": true
},
"amlDataStoreName": {
"type": "string",
"nullable": true
},
"relativePath": {
"type": "string",
"nullable": true
},
"createdDate": {
"type": "string",
"format": "date-time",
"nullable": true
},
"modifiedDate": {
"type": "string",
"format": "date-time",
"nullable": true
},
"registeredBy": {
"type": "string",
"nullable": true
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"createdByStudio": {
"type": "boolean",
"nullable": true
},
"dataReferenceType": {
"$ref": "#/components/schemas/DataReferenceType"
},
"datasetType": {
"type": "string",
"nullable": true
},
"savedDatasetId": {
"type": "string",
"nullable": true
},
"datasetVersionId": {
"type": "string",
"nullable": true
},
"isVisible": {
"type": "boolean"
},
"isRegistered": {
"type": "boolean"
},
"properties": {
"type": "object",
"additionalProperties": { },
"description": "This is a dictionary",
"nullable": true
},
"connectionString": {
"type": "string",
"nullable": true
},
"containerName": {
"type": "string",
"nullable": true
},
"dataStorageEndpointUri": {
"type": "string",
"format": "uri",
"nullable": true
},
"workspaceSaiToken": {
"type": "string",
"nullable": true
},
"amlDatasetDataFlow": {
"type": "string",
"nullable": true
},
"systemData": {
"$ref": "#/components/schemas/SystemData"
},
"armId": {
"type": "string",
"nullable": true
},
"assetId": {
"type": "string",
"nullable": true
},
"assetUri": {
"type": "string",
"nullable": true
},
"assetType": {
"type": "string",
"nullable": true
},
"isDataV2": {
"type": "boolean",
"nullable": true
},
"assetScopeType": {
"$ref": "#/components/schemas/AssetScopeTypes"
},
"pipelineRunId": {
"type": "string",
"nullable": true
},
"moduleNodeId": {
"type": "string",
"nullable": true
},
"outputPortName": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"DataLocation": {
"type": "object",
"properties": {
"storageType": {
"$ref": "#/components/schemas/DataLocationStorageType"
},
"storageId": {
"type": "string",
"nullable": true
},
"uri": {
"type": "string",
"nullable": true
},
"dataStoreName": {
"type": "string",
"nullable": true
},
"dataReference": {
"$ref": "#/components/schemas/DataReference"
},
"amlDataset": {
"$ref": "#/components/schemas/AmlDataset"
},
"assetDefinition": {
"$ref": "#/components/schemas/AssetDefinition"
}
},
"additionalProperties": false
},
"DataLocationStorageType": {
"enum": [
"None",
"AzureBlob",
"Artifact",
"Snapshot",
"SavedAmlDataset",
"Asset"
],
"type": "string"
},
"DataPath": {
"type": "object",
"properties": {
"dataStoreName": {
"type": "string",
"nullable": true
},
"relativePath": {
"type": "string",
"nullable": true
},
"sqlDataPath": {
"$ref": "#/components/schemas/SqlDataPath"
}
},
"additionalProperties": false
},
"DataPathParameter": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"documentation": {
"type": "string",
"nullable": true
},
"defaultValue": {
"$ref": "#/components/schemas/LegacyDataPath"
},
"isOptional": {
"type": "boolean"
},
"dataTypeId": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"DataPortDto": {
"type": "object",
"properties": {
"dataPortType": {
"$ref": "#/components/schemas/DataPortType"
},
"dataPortName": {
"type": "string",
"nullable": true
},
"dataStoreName": {
"type": "string",
"nullable": true
},
"dataStoreIntellectualPropertyAccessMode": {
"$ref": "#/components/schemas/IntellectualPropertyAccessMode"
},
"dataStoreIntellectualPropertyPublisher": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"DataPortType": {
"enum": [
"Input",
"Output"
],
"type": "string"
},
"DataReference": {
"type": "object",
"properties": {
"type": {
"$ref": "#/components/schemas/DataReferenceType"
},
"azureBlobReference": {
"$ref": "#/components/schemas/AzureBlobReference"
},
"azureDataLakeReference": {
"$ref": "#/components/schemas/AzureDataLakeReference"
},
"azureFilesReference": {
"$ref": "#/components/schemas/AzureFilesReference"
},
"azureSqlDatabaseReference": {
"$ref": "#/components/schemas/AzureDatabaseReference"
},
"azurePostgresDatabaseReference": {
"$ref": "#/components/schemas/AzureDatabaseReference"
},
"azureDataLakeGen2Reference": {
"$ref": "#/components/schemas/AzureDataLakeGen2Reference"
},
"dbfsReference": {
"$ref": "#/components/schemas/DBFSReference"
},
"azureMySqlDatabaseReference": {
"$ref": "#/components/schemas/AzureDatabaseReference"
},
"customReference": {
"$ref": "#/components/schemas/CustomReference"
},
"hdfsReference": {
"$ref": "#/components/schemas/HdfsReference"
}
},
"additionalProperties": false
},
"DataReferenceConfiguration": {
"type": "object",
"properties": {
"dataStoreName": {
"type": "string",
"nullable": true
},
"mode": {
"$ref": "#/components/schemas/DataStoreMode"
},
"pathOnDataStore": {
"type": "string",
"nullable": true
},
"pathOnCompute": {
"type": "string",
"nullable": true
},
"overwrite": {
"type": "boolean"
}
},
"additionalProperties": false
},
"DataReferenceType": {
"enum": [
"None",
"AzureBlob",
"AzureDataLake",
"AzureFiles",
"AzureSqlDatabase",
"AzurePostgresDatabase",
"AzureDataLakeGen2",
"DBFS",
"AzureMySqlDatabase",
"Custom",
"Hdfs"
],
"type": "string"
},
"DataSetDefinition": {
"type": "object",
"properties": {
"dataTypeShortName": {
"type": "string",
"nullable": true
},
"parameterName": {
"type": "string",
"nullable": true
},
"value": {
"$ref": "#/components/schemas/DataSetDefinitionValue"
}
},
"additionalProperties": false
},
"DataSetDefinitionValue": {
"type": "object",
"properties": {
"literalValue": {
"$ref": "#/components/schemas/DataPath"
},
"dataSetReference": {
"$ref": "#/components/schemas/RegisteredDataSetReference"
},
"savedDataSetReference": {
"$ref": "#/components/schemas/SavedDataSetReference"
},
"assetDefinition": {
"$ref": "#/components/schemas/AssetDefinition"
}
},
"additionalProperties": false
},
"DataSetPathParameter": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"documentation": {
"type": "string",
"nullable": true
},
"defaultValue": {
"$ref": "#/components/schemas/DataSetDefinitionValue"
},
"isOptional": {
"type": "boolean"
}
},
"additionalProperties": false
},
"DataSettings": {
"type": "object",
"properties": {
"targetColumnName": {
"type": "string",
"nullable": true
},
"weightColumnName": {
"type": "string",
"nullable": true
},
"positiveLabel": {
"type": "string",
"nullable": true
},
"validationData": {
"$ref": "#/components/schemas/ValidationDataSettings"
},
"testData": {
"$ref": "#/components/schemas/TestDataSettings"
}
},
"additionalProperties": false
},
"DataSourceType": {
"enum": [
"None",
"PipelineDataSource",
"AmlDataset",
"GlobalDataset",
"FeedModel",
"FeedDataset",
"AmlDataVersion",
"AMLModelVersion"
],
"type": "string"
},
"DataStoreMode": {
"enum": [
"Mount",
"Download",
"Upload"
],
"type": "string"
},
"DataTransferCloudConfiguration": {
"type": "object",
"properties": {
"AllowOverwrite": {
"type": "boolean",
"nullable": true
}
},
"additionalProperties": false
},
"DataTransferSink": {
"type": "object",
"properties": {
"type": {
"$ref": "#/components/schemas/DataTransferStorageType"
},
"fileSystem": {
"$ref": "#/components/schemas/FileSystem"
},
"databaseSink": {
"$ref": "#/components/schemas/DatabaseSink"
}
},
"additionalProperties": false
},
"DataTransferSource": {
"type": "object",
"properties": {
"type": {
"$ref": "#/components/schemas/DataTransferStorageType"
},
"fileSystem": {
"$ref": "#/components/schemas/FileSystem"
},
"databaseSource": {
"$ref": "#/components/schemas/DatabaseSource"
}
},
"additionalProperties": false
},
"DataTransferStorageType": {
"enum": [
"DataBase",
"FileSystem"
],
"type": "string"
},
"DataTransferTaskType": {
"enum": [
"ImportData",
"ExportData",
"CopyData"
],
"type": "string"
},
"DataTransferV2CloudSetting": {
"type": "object",
"properties": {
"taskType": {
"$ref": "#/components/schemas/DataTransferTaskType"
},
"ComputeName": {
"type": "string",
"nullable": true
},
"CopyDataTask": {
"$ref": "#/components/schemas/CopyDataTask"
},
"ImportDataTask": {
"$ref": "#/components/schemas/ImportDataTask"
},
"ExportDataTask": {
"$ref": "#/components/schemas/ExportDataTask"
},
"DataTransferSources": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/DataTransferSource"
},
"description": "This is a dictionary",
"nullable": true
},
"DataTransferSinks": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/DataTransferSink"
},
"description": "This is a dictionary",
"nullable": true
},
"DataCopyMode": {
"$ref": "#/components/schemas/DataCopyMode"
}
},
"additionalProperties": false
},
"DataTypeCreationInfo": {
"type": "object",
"properties": {
"id": {
"type": "string",
"nullable": true
},
"name": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"isDirectory": {
"type": "boolean"
},
"fileExtension": {
"type": "string",
"nullable": true
},
"parentDataTypeIds": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
}
},
"additionalProperties": false
},
"DataTypeMechanism": {
"enum": [
"ErrorWhenNotExisting",
"RegisterWhenNotExisting",
"RegisterBuildinDataTypeOnly"
],
"type": "string"
},
"DatabaseSink": {
"type": "object",
"properties": {
"connection": {
"type": "string",
"nullable": true
},
"table": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"DatabaseSource": {
"type": "object",
"properties": {
"connection": {
"type": "string",
"nullable": true
},
"query": {
"type": "string",
"nullable": true
},
"storedProcedureName": {
"type": "string",
"nullable": true
},
"storedProcedureParameters": {
"type": "array",
"items": {
"$ref": "#/components/schemas/StoredProcedureParameter"
},
"nullable": true
}
},
"additionalProperties": false
},
"DatabricksComputeInfo": {
"type": "object",
"properties": {
"existingClusterId": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"DatabricksConfiguration": {
"type": "object",
"properties": {
"workers": {
"type": "integer",
"format": "int32"
},
"minimumWorkerCount": {
"type": "integer",
"format": "int32"
},
"maxMumWorkerCount": {
"type": "integer",
"format": "int32"
},
"sparkVersion": {
"type": "string",
"nullable": true
},
"nodeTypeId": {
"type": "string",
"nullable": true
},
"sparkConf": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"sparkEnvVars": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"clusterLogConfDbfsPath": {
"type": "string",
"nullable": true
},
"dbfsInitScripts": {
"type": "array",
"items": {
"$ref": "#/components/schemas/InitScriptInfoDto"
},
"nullable": true
},
"instancePoolId": {
"type": "string",
"nullable": true
},
"timeoutSeconds": {
"type": "integer",
"format": "int32"
},
"notebookTask": {
"$ref": "#/components/schemas/NoteBookTaskDto"
},
"sparkPythonTask": {
"$ref": "#/components/schemas/SparkPythonTaskDto"
},
"sparkJarTask": {
"$ref": "#/components/schemas/SparkJarTaskDto"
},
"sparkSubmitTask": {
"$ref": "#/components/schemas/SparkSubmitTaskDto"
},
"jarLibraries": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"eggLibraries": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"whlLibraries": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"pypiLibraries": {
"type": "array",
"items": {
"$ref": "#/components/schemas/PythonPyPiOrRCranLibraryDto"
},
"nullable": true
},
"rCranLibraries": {
"type": "array",
"items": {
"$ref": "#/components/schemas/PythonPyPiOrRCranLibraryDto"
},
"nullable": true
},
"mavenLibraries": {
"type": "array",
"items": {
"$ref": "#/components/schemas/MavenLibraryDto"
},
"nullable": true
},
"libraries": {
"type": "array",
"items": { },
"nullable": true
},
"linkedADBWorkspaceMetadata": {
"$ref": "#/components/schemas/LinkedADBWorkspaceMetadata"
},
"databrickResourceId": {
"type": "string",
"nullable": true
},
"autoScale": {
"type": "boolean"
}
},
"additionalProperties": false
},
"DatacacheConfiguration": {
"type": "object",
"properties": {
"datacacheId": {
"type": "string",
"format": "uuid"
},
"datacacheStore": {
"type": "string",
"nullable": true
},
"datasetId": {
"type": "string",
"format": "uuid"
},
"mode": {
"$ref": "#/components/schemas/DatacacheMode"
},
"replica": {
"type": "integer",
"format": "int32",
"nullable": true
},
"failureFallback": {
"type": "boolean"
},
"pathOnCompute": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"DatacacheMode": {
"enum": [
"Mount"
],
"type": "string"
},
"DatasetAccessModes": {
"enum": [
"Default",
"DatasetInDpv2",
"AssetInDpv2",
"DatasetInDesignerUI",
"DatasetInDpv2WithDatasetInDesignerUI",
"Dataset",
"AssetInDpv2WithDatasetInDesignerUI",
"DatasetAndAssetInDpv2WithDatasetInDesignerUI",
"AssetInDesignerUI",
"AssetInDpv2WithAssetInDesignerUI",
"Asset"
],
"type": "string"
},
"DatasetConsumptionType": {
"enum": [
"RunInput",
"Reference"
],
"type": "string"
},
"DatasetDeliveryMechanism": {
"enum": [
"Direct",
"Mount",
"Download",
"Hdfs"
],
"type": "string"
},
"DatasetIdentifier": {
"type": "object",
"properties": {
"savedId": {
"type": "string",
"nullable": true
},
"registeredId": {
"type": "string",
"nullable": true
},
"registeredVersion": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"DatasetInputDetails": {
"type": "object",
"properties": {
"inputName": {
"type": "string",
"nullable": true
},
"mechanism": {
"$ref": "#/components/schemas/DatasetDeliveryMechanism"
},
"pathOnCompute": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"DatasetLineage": {
"type": "object",
"properties": {
"identifier": {
"$ref": "#/components/schemas/DatasetIdentifier"
},
"consumptionType": {
"$ref": "#/components/schemas/DatasetConsumptionType"
},
"inputDetails": {
"$ref": "#/components/schemas/DatasetInputDetails"
}
},
"additionalProperties": false
},
"DatasetOutput": {
"type": "object",
"properties": {
"datasetType": {
"$ref": "#/components/schemas/DatasetType"
},
"datasetRegistration": {
"$ref": "#/components/schemas/DatasetRegistration"
},
"datasetOutputOptions": {
"$ref": "#/components/schemas/DatasetOutputOptions"
}
},
"additionalProperties": false
},
"DatasetOutputDetails": {
"type": "object",
"properties": {
"outputName": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"DatasetOutputOptions": {
"type": "object",
"properties": {
"sourceGlobs": {
"$ref": "#/components/schemas/GlobsOptions"
},
"pathOnDatastore": {
"type": "string",
"nullable": true
},
"PathOnDatastoreParameterAssignment": {
"$ref": "#/components/schemas/ParameterAssignment"
}
},
"additionalProperties": false
},
"DatasetOutputType": {
"enum": [
"RunOutput",
"Reference"
],
"type": "string"
},
"DatasetRegistration": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"createNewVersion": {
"type": "boolean"
},
"description": {
"type": "string",
"nullable": true
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"additionalTransformations": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"DatasetRegistrationOptions": {
"type": "object",
"properties": {
"additionalTransformation": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"DatasetType": {
"enum": [
"File",
"Tabular"
],
"type": "string"
},
"DatastoreSetting": {
"type": "object",
"properties": {
"dataStoreName": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"DbfsStorageInfoDto": {
"type": "object",
"properties": {
"destination": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"DebugInfoResponse": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "The type.",
"nullable": true
},
"message": {
"type": "string",
"description": "The message.",
"nullable": true
},
"stackTrace": {
"type": "string",
"description": "The stack trace.",
"nullable": true
},
"innerException": {
"$ref": "#/components/schemas/DebugInfoResponse"
},
"data": {
"type": "object",
"additionalProperties": { },
"description": "This is a dictionary",
"nullable": true
},
"errorResponse": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"additionalProperties": false,
"description": "Internal debugging information not intended for external clients."
},
"DeliveryMechanism": {
"enum": [
"Direct",
"Mount",
"Download",
"Hdfs"
],
"type": "string"
},
"DeployFlowRequest": {
"type": "object",
"properties": {
"sourceResourceId": {
"type": "string",
"nullable": true
},
"sourceFlowRunId": {
"type": "string",
"nullable": true
},
"sourceFlowId": {
"type": "string",
"nullable": true
},
"flow": {
"$ref": "#/components/schemas/Flow"
},
"flowType": {
"$ref": "#/components/schemas/FlowType"
},
"flowSubmitRunSettings": {
"$ref": "#/components/schemas/FlowSubmitRunSettings"
},
"outputNamesIncludedInEndpointResponse": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"endpointName": {
"type": "string",
"nullable": true
},
"endpointDescription": {
"type": "string",
"nullable": true
},
"authMode": {
"$ref": "#/components/schemas/EndpointAuthMode"
},
"identity": {
"$ref": "#/components/schemas/ManagedServiceIdentity"
},
"endpointTags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"connectionOverrides": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ConnectionOverrideSetting"
},
"nullable": true
},
"useWorkspaceConnection": {
"type": "boolean"
},
"deploymentName": {
"type": "string",
"nullable": true
},
"environment": {
"type": "string",
"nullable": true
},
"environmentVariables": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"deploymentTags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"appInsightsEnabled": {
"type": "boolean"
},
"enableModelDataCollector": {
"type": "boolean"
},
"skipUpdateTrafficToFull": {
"type": "boolean"
},
"enableStreamingResponse": {
"type": "boolean"
},
"useFlowSnapshotToDeploy": {
"type": "boolean"
},
"instanceType": {
"type": "string",
"nullable": true
},
"instanceCount": {
"type": "integer",
"format": "int32"
},
"autoGrantConnectionPermission": {
"type": "boolean"
}
},
"additionalProperties": false
},
"DeploymentInfo": {
"type": "object",
"properties": {
"operationId": {
"type": "string",
"nullable": true
},
"serviceId": {
"type": "string",
"nullable": true
},
"serviceName": {
"type": "string",
"nullable": true
},
"statusDetail": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"DistributionConfiguration": {
"type": "object",
"properties": {
"distributionType": {
"$ref": "#/components/schemas/DistributionType"
}
},
"additionalProperties": false
},
"DistributionParameter": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"label": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"inputType": {
"$ref": "#/components/schemas/DistributionParameterEnum"
}
},
"additionalProperties": false
},
"DistributionParameterEnum": {
"enum": [
"Text",
"Number"
],
"type": "string"
},
"DistributionType": {
"enum": [
"PyTorch",
"TensorFlow",
"Mpi",
"Ray"
],
"type": "string"
},
"DoWhileControlFlowInfo": {
"type": "object",
"properties": {
"outputPortNameToInputPortNamesMapping": {
"type": "object",
"additionalProperties": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"nullable": true
},
"conditionOutputPortName": {
"type": "string",
"nullable": true
},
"runSettings": {
"$ref": "#/components/schemas/DoWhileControlFlowRunSettings"
}
},
"additionalProperties": false
},
"DoWhileControlFlowRunSettings": {
"type": "object",
"properties": {
"maxLoopIterationCount": {
"$ref": "#/components/schemas/ParameterAssignment"
}
},
"additionalProperties": false
},
"DockerBuildContext": {
"type": "object",
"properties": {
"locationType": {
"$ref": "#/components/schemas/BuildContextLocationType"
},
"location": {
"type": "string",
"nullable": true
},
"dockerfilePath": {
"type": "string",
"default": "Dockerfile",
"nullable": true
}
},
"additionalProperties": false
},
"DockerConfiguration": {
"type": "object",
"properties": {
"useDocker": {
"type": "boolean",
"nullable": true
},
"sharedVolumes": {
"type": "boolean",
"nullable": true
},
"arguments": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
}
},
"additionalProperties": false
},
"DockerImagePlatform": {
"type": "object",
"properties": {
"os": {
"type": "string",
"nullable": true
},
"architecture": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"DockerSection": {
"type": "object",
"properties": {
"baseImage": {
"type": "string",
"nullable": true
},
"platform": {
"$ref": "#/components/schemas/DockerImagePlatform"
},
"baseDockerfile": {
"type": "string",
"nullable": true
},
"buildContext": {
"$ref": "#/components/schemas/DockerBuildContext"
},
"baseImageRegistry": {
"$ref": "#/components/schemas/ContainerRegistry"
}
},
"additionalProperties": false
},
"DockerSettingConfiguration": {
"type": "object",
"properties": {
"useDocker": {
"type": "boolean",
"nullable": true
},
"sharedVolumes": {
"type": "boolean",
"nullable": true
},
"shmSize": {
"type": "string",
"nullable": true
},
"arguments": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
}
},
"additionalProperties": false
},
"DownloadResourceInfo": {
"type": "object",
"properties": {
"downloadUrl": {
"type": "string",
"nullable": true
},
"size": {
"type": "integer",
"format": "int64"
}
},
"additionalProperties": false
},
"EPRPipelineRunErrorClassificationRequest": {
"type": "object",
"properties": {
"rootRunId": {
"type": "string",
"nullable": true
},
"runId": {
"type": "string",
"nullable": true
},
"taskResult": {
"type": "string",
"nullable": true
},
"failureType": {
"type": "string",
"nullable": true
},
"failureName": {
"type": "string",
"nullable": true
},
"responsibleTeam": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"ETag": {
"type": "object",
"additionalProperties": false
},
"EarlyTerminationPolicyType": {
"enum": [
"Bandit",
"MedianStopping",
"TruncationSelection"
],
"type": "string"
},
"EmailNotificationEnableType": {
"enum": [
"JobCompleted",
"JobFailed",
"JobCancelled"
],
"type": "string"
},
"EndpointAuthMode": {
"enum": [
"AMLToken",
"Key",
"AADToken"
],
"type": "string"
},
"EndpointSetting": {
"type": "object",
"properties": {
"type": {
"type": "string",
"nullable": true
},
"port": {
"type": "integer",
"format": "int32",
"nullable": true
},
"sslThumbprint": {
"type": "string",
"nullable": true
},
"endpoint": {
"type": "string",
"nullable": true
},
"proxyEndpoint": {
"type": "string",
"nullable": true
},
"status": {
"type": "string",
"nullable": true
},
"errorMessage": {
"type": "string",
"nullable": true
},
"enabled": {
"type": "boolean",
"nullable": true
},
"properties": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"nodes": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"EntityInterface": {
"type": "object",
"properties": {
"parameters": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Parameter"
},
"nullable": true
},
"ports": {
"$ref": "#/components/schemas/NodePortInterface"
},
"metadataParameters": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Parameter"
},
"nullable": true
},
"dataPathParameters": {
"type": "array",
"items": {
"$ref": "#/components/schemas/DataPathParameter"
},
"nullable": true
},
"dataPathParameterList": {
"type": "array",
"items": {
"$ref": "#/components/schemas/DataSetPathParameter"
},
"nullable": true
},
"AssetOutputSettingsParameterList": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AssetOutputSettingsParameter"
},
"nullable": true
}
},
"additionalProperties": false
},
"EntityKind": {
"enum": [
"Invalid",
"LineageRoot",
"Versioned",
"Unversioned"
],
"type": "string"
},
"EntityStatus": {
"enum": [
"Active",
"Deprecated",
"Disabled"
],
"type": "string"
},
"EntrySetting": {
"type": "object",
"properties": {
"file": {
"type": "string",
"nullable": true
},
"className": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"EnumParameterRule": {
"type": "object",
"properties": {
"validValues": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
}
},
"additionalProperties": false
},
"EnvironmentConfiguration": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"version": {
"type": "string",
"nullable": true
},
"useEnvironmentDefinition": {
"type": "boolean"
},
"environmentDefinitionString": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"EnvironmentDefinition": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"version": {
"type": "string",
"nullable": true
},
"assetId": {
"type": "string",
"nullable": true
},
"autoRebuild": {
"type": "boolean",
"nullable": true
},
"python": {
"$ref": "#/components/schemas/PythonSection"
},
"environmentVariables": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"docker": {
"$ref": "#/components/schemas/DockerSection"
},
"spark": {
"$ref": "#/components/schemas/SparkSection"
},
"r": {
"$ref": "#/components/schemas/RSection"
},
"inferencingStackVersion": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"EnvironmentDefinitionDto": {
"type": "object",
"properties": {
"environmentName": {
"type": "string",
"nullable": true
},
"environmentVersion": {
"type": "string",
"nullable": true
},
"intellectualPropertyPublisher": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"ErrorAdditionalInfo": {
"type": "object",
"properties": {
"type": {
"type": "string",
"description": "The additional info type.",
"nullable": true
},
"info": {
"description": "The additional info.",
"nullable": true
}
},
"additionalProperties": false,
"description": "The resource management error additional info."
},
"ErrorHandlingMode": {
"enum": [
"DefaultInterpolation",
"CustomerFacingInterpolation"
],
"type": "string"
},
"ErrorResponse": {
"type": "object",
"properties": {
"error": {
"$ref": "#/components/schemas/RootError"
},
"correlation": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"description": "Dictionary containing correlation details for the error.",
"nullable": true
},
"environment": {
"type": "string",
"description": "The hosting environment.",
"nullable": true
},
"location": {
"type": "string",
"description": "The Azure region.",
"nullable": true
},
"time": {
"type": "string",
"description": "The time in UTC.",
"format": "date-time"
},
"componentName": {
"type": "string",
"description": "Component name where error originated/encountered.",
"nullable": true
}
},
"description": "The error response."
},
"EsCloudConfiguration": {
"type": "object",
"properties": {
"enableOutputToFileBasedOnDataTypeId": {
"type": "boolean",
"nullable": true
},
"environment": {
"$ref": "#/components/schemas/EnvironmentConfiguration"
},
"hyperDriveConfiguration": {
"$ref": "#/components/schemas/HyperDriveConfiguration"
},
"k8sConfig": {
"$ref": "#/components/schemas/K8sConfiguration"
},
"resourceConfig": {
"$ref": "#/components/schemas/AEVAResourceConfiguration"
},
"torchDistributedConfig": {
"$ref": "#/components/schemas/TorchDistributedConfiguration"
},
"targetSelectorConfig": {
"$ref": "#/components/schemas/TargetSelectorConfiguration"
},
"dockerConfig": {
"$ref": "#/components/schemas/DockerSettingConfiguration"
},
"environmentVariables": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"maxRunDurationSeconds": {
"type": "integer",
"format": "int32",
"nullable": true
},
"identity": {
"$ref": "#/components/schemas/IdentitySetting"
},
"applicationEndpoints": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/ApplicationEndpointConfiguration"
},
"nullable": true
},
"runConfig": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"EvaluationFlowRunSettings": {
"type": "object",
"properties": {
"flowRunId": {
"type": "string",
"nullable": true
},
"flowRunDisplayName": {
"type": "string",
"nullable": true
},
"batchDataInput": {
"$ref": "#/components/schemas/BatchDataInput"
},
"inputsMapping": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"dataInputs": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"connectionOverrides": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ConnectionOverrideSetting"
},
"nullable": true
},
"runtimeName": {
"type": "string",
"nullable": true
},
"amlComputeName": {
"type": "string",
"nullable": true
},
"properties": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
}
},
"additionalProperties": false
},
"ExampleRequest": {
"type": "object",
"properties": {
"inputs": {
"type": "object",
"additionalProperties": {
"type": "array",
"items": {
"type": "array",
"items": { }
}
},
"description": "This is a dictionary",
"nullable": true
},
"globalParameters": {
"type": "object",
"additionalProperties": { },
"description": "This is a dictionary",
"nullable": true
}
},
"additionalProperties": false
},
"ExecutionContextDto": {
"type": "object",
"properties": {
"executable": {
"type": "string",
"nullable": true
},
"userCode": {
"type": "string",
"nullable": true
},
"arguments": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"ExecutionDataLocation": {
"type": "object",
"properties": {
"dataset": {
"$ref": "#/components/schemas/RunDatasetReference"
},
"dataPath": {
"$ref": "#/components/schemas/ExecutionDataPath"
},
"uri": {
"$ref": "#/components/schemas/UriReference"
},
"type": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"ExecutionDataPath": {
"type": "object",
"properties": {
"datastoreName": {
"type": "string",
"nullable": true
},
"relativePath": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"ExecutionGlobsOptions": {
"type": "object",
"properties": {
"globPatterns": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
}
},
"additionalProperties": false
},
"ExecutionPhase": {
"enum": [
"Execution",
"Initialization",
"Finalization"
],
"type": "string"
},
"ExperimentComputeMetaInfo": {
"type": "object",
"properties": {
"currentNodeCount": {
"type": "integer",
"format": "int32"
},
"targetNodeCount": {
"type": "integer",
"format": "int32"
},
"maxNodeCount": {
"type": "integer",
"format": "int32"
},
"minNodeCount": {
"type": "integer",
"format": "int32"
},
"idleNodeCount": {
"type": "integer",
"format": "int32"
},
"runningNodeCount": {
"type": "integer",
"format": "int32"
},
"preparingNodeCount": {
"type": "integer",
"format": "int32"
},
"unusableNodeCount": {
"type": "integer",
"format": "int32"
},
"leavingNodeCount": {
"type": "integer",
"format": "int32"
},
"preemptedNodeCount": {
"type": "integer",
"format": "int32"
},
"vmSize": {
"type": "string",
"nullable": true
},
"location": {
"type": "string",
"nullable": true
},
"provisioningState": {
"type": "string",
"nullable": true
},
"state": {
"type": "string",
"nullable": true
},
"osType": {
"type": "string",
"nullable": true
},
"id": {
"type": "string",
"nullable": true
},
"name": {
"type": "string",
"nullable": true
},
"createdByStudio": {
"type": "boolean"
},
"isGpuType": {
"type": "boolean"
},
"resourceId": {
"type": "string",
"nullable": true
},
"computeType": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"ExperimentInfo": {
"type": "object",
"properties": {
"experimentName": {
"type": "string",
"nullable": true
},
"experimentId": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"ExportComponentMetaInfo": {
"type": "object",
"properties": {
"moduleEntity": {
"$ref": "#/components/schemas/ModuleEntity"
},
"moduleVersion": {
"type": "string",
"nullable": true
},
"isAnonymous": {
"type": "boolean",
"nullable": true
}
},
"additionalProperties": false
},
"ExportDataTask": {
"type": "object",
"properties": {
"DataTransferSink": {
"$ref": "#/components/schemas/DataTransferSink"
}
},
"additionalProperties": false
},
"ExtensibleObject": {
"type": "object"
},
"FeaturizationMode": {
"enum": [
"Auto",
"Custom",
"Off"
],
"type": "string"
},
"FeaturizationSettings": {
"type": "object",
"properties": {
"mode": {
"$ref": "#/components/schemas/FeaturizationMode"
},
"blockedTransformers": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"columnPurposes": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"dropColumns": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"transformerParams": {
"type": "object",
"additionalProperties": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ColumnTransformer"
},
"nullable": true
},
"nullable": true
},
"datasetLanguage": {
"type": "string",
"nullable": true
},
"enableDnnFeaturization": {
"type": "boolean",
"nullable": true
}
},
"additionalProperties": false
},
"FeedDto": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"displayName": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"sharingScopes": {
"type": "array",
"items": {
"$ref": "#/components/schemas/SharingScope"
},
"nullable": true
},
"supportedAssetTypes": {
"type": "object",
"properties": {
"Component": {
"$ref": "#/components/schemas/AssetTypeMetaInfo"
},
"Model": {
"$ref": "#/components/schemas/AssetTypeMetaInfo"
},
"Environment": {
"$ref": "#/components/schemas/AssetTypeMetaInfo"
},
"Dataset": {
"$ref": "#/components/schemas/AssetTypeMetaInfo"
},
"DataStore": {
"$ref": "#/components/schemas/AssetTypeMetaInfo"
},
"SampleGraph": {
"$ref": "#/components/schemas/AssetTypeMetaInfo"
},
"FlowTool": {
"$ref": "#/components/schemas/AssetTypeMetaInfo"
},
"FlowToolSetting": {
"$ref": "#/components/schemas/AssetTypeMetaInfo"
},
"FlowConnection": {
"$ref": "#/components/schemas/AssetTypeMetaInfo"
},
"FlowSample": {
"$ref": "#/components/schemas/AssetTypeMetaInfo"
},
"FlowRuntimeSpec": {
"$ref": "#/components/schemas/AssetTypeMetaInfo"
}
},
"additionalProperties": false,
"nullable": true
},
"regionalWorkspaceStorage": {
"type": "object",
"additionalProperties": {
"type": "array",
"items": {
"type": "string"
}
},
"description": "This is a dictionary",
"nullable": true
},
"intellectualPropertyPublisher": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"FileSystem": {
"type": "object",
"properties": {
"connection": {
"type": "string",
"nullable": true
},
"path": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"Flow": {
"type": "object",
"properties": {
"sourceResourceId": {
"type": "string",
"nullable": true
},
"flowGraph": {
"$ref": "#/components/schemas/FlowGraph"
},
"nodeVariants": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/NodeVariant"
},
"description": "This is a dictionary",
"nullable": true
},
"flowGraphLayout": {
"$ref": "#/components/schemas/FlowGraphLayout"
},
"bulkTestData": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"evaluationFlows": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/FlowGraphReference"
},
"description": "This is a dictionary",
"nullable": true
}
},
"additionalProperties": false
},
"FlowAnnotations": {
"type": "object",
"properties": {
"flowName": {
"type": "string",
"nullable": true
},
"createdDate": {
"type": "string",
"format": "date-time"
},
"lastModifiedDate": {
"type": "string",
"format": "date-time"
},
"owner": {
"$ref": "#/components/schemas/SchemaContractsCreatedBy"
},
"isArchived": {
"type": "boolean"
},
"vmSize": {
"type": "string",
"nullable": true
},
"maxIdleTimeSeconds": {
"type": "integer",
"format": "int64",
"nullable": true
},
"name": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"archived": {
"type": "boolean"
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
}
}
},
"FlowBaseDto": {
"type": "object",
"properties": {
"flowId": {
"type": "string",
"nullable": true
},
"flowName": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"flowType": {
"$ref": "#/components/schemas/FlowType"
},
"experimentId": {
"type": "string",
"nullable": true
},
"createdDate": {
"type": "string",
"format": "date-time"
},
"lastModifiedDate": {
"type": "string",
"format": "date-time"
},
"owner": {
"$ref": "#/components/schemas/SchemaContractsCreatedBy"
},
"flowResourceId": {
"type": "string",
"nullable": true
},
"isArchived": {
"type": "boolean"
},
"flowDefinitionFilePath": {
"type": "string",
"nullable": true
},
"vmSize": {
"type": "string",
"nullable": true
},
"maxIdleTimeSeconds": {
"type": "integer",
"format": "int64",
"nullable": true
},
"identity": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"FlowDto": {
"type": "object",
"properties": {
"timestamp": {
"type": "string",
"format": "date-time",
"nullable": true
},
"eTag": {
"$ref": "#/components/schemas/ETag"
},
"flow": {
"$ref": "#/components/schemas/Flow"
},
"flowRunSettings": {
"$ref": "#/components/schemas/FlowRunSettings"
},
"flowRunResult": {
"$ref": "#/components/schemas/FlowRunResult"
},
"flowTestMode": {
"$ref": "#/components/schemas/FlowTestMode"
},
"flowTestInfos": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/FlowTestInfo"
},
"nullable": true
},
"studioPortalEndpoint": {
"type": "string",
"nullable": true
},
"flowId": {
"type": "string",
"nullable": true
},
"flowName": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"flowType": {
"$ref": "#/components/schemas/FlowType"
},
"experimentId": {
"type": "string",
"nullable": true
},
"createdDate": {
"type": "string",
"format": "date-time"
},
"lastModifiedDate": {
"type": "string",
"format": "date-time"
},
"owner": {
"$ref": "#/components/schemas/SchemaContractsCreatedBy"
},
"flowResourceId": {
"type": "string",
"nullable": true
},
"isArchived": {
"type": "boolean"
},
"flowDefinitionFilePath": {
"type": "string",
"nullable": true
},
"vmSize": {
"type": "string",
"nullable": true
},
"maxIdleTimeSeconds": {
"type": "integer",
"format": "int64",
"nullable": true
},
"identity": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"FlowEnvironment": {
"type": "object",
"properties": {
"image": {
"type": "string",
"nullable": true
},
"python_requirements_txt": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"FlowFeature": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"state": {
"type": "object",
"properties": {
"Runtime": {
"$ref": "#/components/schemas/FlowFeatureStateEnum"
},
"Executor": {
"$ref": "#/components/schemas/FlowFeatureStateEnum"
},
"PFS": {
"$ref": "#/components/schemas/FlowFeatureStateEnum"
}
},
"additionalProperties": false,
"nullable": true
}
},
"additionalProperties": false
},
"FlowFeatureStateEnum": {
"enum": [
"Ready",
"E2ETest"
],
"type": "string"
},
"FlowGraph": {
"type": "object",
"properties": {
"nodes": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Node"
},
"nullable": true
},
"tools": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Tool"
},
"nullable": true
},
"codes": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"inputs": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/FlowInputDefinition"
},
"description": "This is a dictionary",
"nullable": true
},
"outputs": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/FlowOutputDefinition"
},
"description": "This is a dictionary",
"nullable": true
}
},
"additionalProperties": false
},
"FlowGraphAnnotationNode": {
"type": "object",
"properties": {
"id": {
"type": "string",
"nullable": true
},
"content": {
"type": "string",
"nullable": true
},
"mentionedNodeNames": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"structuredContent": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"FlowGraphLayout": {
"type": "object",
"properties": {
"nodeLayouts": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/FlowNodeLayout"
},
"description": "This is a dictionary",
"nullable": true
},
"extendedData": {
"type": "string",
"nullable": true
},
"annotationNodes": {
"type": "array",
"items": {
"$ref": "#/components/schemas/FlowGraphAnnotationNode"
},
"nullable": true
},
"orientation": {
"$ref": "#/components/schemas/Orientation"
}
},
"additionalProperties": false
},
"FlowGraphReference": {
"type": "object",
"properties": {
"flowGraph": {
"$ref": "#/components/schemas/FlowGraph"
},
"referenceResourceId": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"FlowIndexEntity": {
"type": "object",
"properties": {
"schemaId": {
"type": "string",
"nullable": true
},
"entityId": {
"type": "string",
"nullable": true
},
"kind": {
"$ref": "#/components/schemas/EntityKind"
},
"annotations": {
"$ref": "#/components/schemas/FlowAnnotations"
},
"properties": {
"$ref": "#/components/schemas/FlowProperties"
},
"internal": {
"$ref": "#/components/schemas/ExtensibleObject"
},
"updateSequence": {
"type": "integer",
"format": "int64"
},
"type": {
"type": "string",
"nullable": true
},
"version": {
"type": "string",
"nullable": true,
"readOnly": true
},
"entityContainerId": {
"type": "string",
"nullable": true,
"readOnly": true
},
"entityObjectId": {
"type": "string",
"nullable": true,
"readOnly": true
},
"resourceType": {
"type": "string",
"nullable": true,
"readOnly": true
},
"relationships": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Relationship"
},
"nullable": true
},
"assetId": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"FlowInputDefinition": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"type": {
"$ref": "#/components/schemas/ValueType"
},
"default": {
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"is_chat_input": {
"type": "boolean"
},
"is_chat_history": {
"type": "boolean",
"nullable": true
}
},
"additionalProperties": false
},
"FlowLanguage": {
"enum": [
"Python",
"CSharp"
],
"type": "string"
},
"FlowNode": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"type": {
"$ref": "#/components/schemas/ToolType"
},
"source": {
"$ref": "#/components/schemas/NodeSource"
},
"inputs": {
"type": "object",
"additionalProperties": {
"nullable": true
},
"nullable": true
},
"use_variants": {
"type": "boolean"
},
"activate": {
"$ref": "#/components/schemas/Activate"
},
"comment": {
"type": "string",
"nullable": true
},
"api": {
"type": "string",
"nullable": true
},
"provider": {
"type": "string",
"nullable": true
},
"connection": {
"type": "string",
"nullable": true
},
"module": {
"type": "string",
"nullable": true
},
"aggregation": {
"type": "boolean"
}
},
"additionalProperties": false
},
"FlowNodeLayout": {
"type": "object",
"properties": {
"x": {
"type": "number",
"format": "float"
},
"y": {
"type": "number",
"format": "float"
},
"width": {
"type": "number",
"format": "float"
},
"height": {
"type": "number",
"format": "float"
},
"index": {
"type": "integer",
"format": "int32"
},
"extendedData": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"FlowNodeVariant": {
"type": "object",
"properties": {
"default_variant_id": {
"type": "string",
"nullable": true
},
"variants": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/FlowVariantNode"
},
"description": "This is a dictionary",
"nullable": true
}
},
"additionalProperties": false
},
"FlowOutputDefinition": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"type": {
"$ref": "#/components/schemas/ValueType"
},
"description": {
"type": "string",
"nullable": true
},
"reference": {
"type": "string",
"nullable": true
},
"evaluation_only": {
"type": "boolean"
},
"is_chat_output": {
"type": "boolean"
}
},
"additionalProperties": false
},
"FlowPatchOperationType": {
"enum": [
"ArchiveFlow",
"RestoreFlow",
"ExportFlowToFile"
],
"type": "string"
},
"FlowProperties": {
"type": "object",
"properties": {
"flowId": {
"type": "string",
"nullable": true
},
"experimentId": {
"type": "string",
"nullable": true
},
"flowType": {
"$ref": "#/components/schemas/FlowType"
},
"flowDefinitionFilePath": {
"type": "string",
"nullable": true
},
"creationContext": {
"$ref": "#/components/schemas/CreationContext"
}
}
},
"FlowRunBasePath": {
"type": "object",
"properties": {
"outputDatastoreName": {
"type": "string",
"nullable": true
},
"basePath": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"FlowRunInfo": {
"type": "object",
"properties": {
"flowGraph": {
"$ref": "#/components/schemas/FlowGraph"
},
"flowGraphLayout": {
"$ref": "#/components/schemas/FlowGraphLayout"
},
"flowName": {
"type": "string",
"nullable": true
},
"flowRunResourceId": {
"type": "string",
"nullable": true
},
"flowRunId": {
"type": "string",
"nullable": true
},
"flowRunDisplayName": {
"type": "string",
"nullable": true
},
"batchInputs": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": { },
"description": "This is a dictionary"
},
"nullable": true
},
"batchDataInput": {
"$ref": "#/components/schemas/BatchDataInput"
},
"flowRunType": {
"$ref": "#/components/schemas/FlowRunTypeEnum"
},
"flowType": {
"$ref": "#/components/schemas/FlowType"
},
"runtimeName": {
"type": "string",
"nullable": true
},
"bulkTestId": {
"type": "string",
"nullable": true
},
"createdBy": {
"$ref": "#/components/schemas/SchemaContractsCreatedBy"
},
"createdOn": {
"type": "string",
"format": "date-time",
"nullable": true
},
"inputsMapping": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"outputDatastoreName": {
"type": "string",
"nullable": true
},
"childRunBasePath": {
"type": "string",
"nullable": true
},
"workingDirectory": {
"type": "string",
"nullable": true
},
"flowDagFileRelativePath": {
"type": "string",
"nullable": true
},
"flowSnapshotId": {
"type": "string",
"nullable": true
},
"studioPortalEndpoint": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"FlowRunMode": {
"enum": [
"Flow",
"SingleNode",
"FromNode",
"BulkTest",
"Eval",
"PairwiseEval"
],
"type": "string"
},
"FlowRunResult": {
"type": "object",
"properties": {
"flow_runs": {
"type": "array",
"items": { },
"nullable": true
},
"node_runs": {
"type": "array",
"items": { },
"nullable": true
},
"errorResponse": {
"$ref": "#/components/schemas/ErrorResponse"
},
"flowName": {
"type": "string",
"nullable": true
},
"flowRunDisplayName": {
"type": "string",
"nullable": true
},
"flowRunId": {
"type": "string",
"nullable": true
},
"flowGraph": {
"$ref": "#/components/schemas/FlowGraph"
},
"flowGraphLayout": {
"$ref": "#/components/schemas/FlowGraphLayout"
},
"flowRunResourceId": {
"type": "string",
"nullable": true
},
"bulkTestId": {
"type": "string",
"nullable": true
},
"batchInputs": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": { },
"description": "This is a dictionary"
},
"nullable": true
},
"batchDataInput": {
"$ref": "#/components/schemas/BatchDataInput"
},
"createdBy": {
"$ref": "#/components/schemas/SchemaContractsCreatedBy"
},
"createdOn": {
"type": "string",
"format": "date-time",
"nullable": true
},
"flowRunType": {
"$ref": "#/components/schemas/FlowRunTypeEnum"
},
"flowType": {
"$ref": "#/components/schemas/FlowType"
},
"runtimeName": {
"type": "string",
"nullable": true
},
"amlComputeName": {
"type": "string",
"nullable": true
},
"flowRunLogs": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"flowTestMode": {
"$ref": "#/components/schemas/FlowTestMode"
},
"flowTestInfos": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/FlowTestInfo"
},
"nullable": true
},
"workingDirectory": {
"type": "string",
"nullable": true
},
"flowDagFileRelativePath": {
"type": "string",
"nullable": true
},
"flowSnapshotId": {
"type": "string",
"nullable": true
},
"variantRunToEvaluationRunsIdMapping": {
"type": "object",
"additionalProperties": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"nullable": true
}
},
"additionalProperties": false
},
"FlowRunSettings": {
"type": "object",
"properties": {
"flowRunDisplayName": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"properties": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"runMode": {
"$ref": "#/components/schemas/FlowRunMode"
},
"batch_inputs": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": { },
"description": "This is a dictionary"
},
"nullable": true
},
"batchDataInput": {
"$ref": "#/components/schemas/BatchDataInput"
},
"tuningNodeNames": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"tuningNodeSettings": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/TuningNodeSetting"
},
"description": "This is a dictionary",
"nullable": true
},
"baselineVariantId": {
"type": "string",
"nullable": true
},
"defaultVariantId": {
"type": "string",
"nullable": true
},
"variants": {
"type": "object",
"additionalProperties": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Node"
}
},
"description": "This is a dictionary",
"nullable": true
},
"variantsTools": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Tool"
},
"nullable": true
},
"variantsCodes": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"nodeName": {
"type": "string",
"nullable": true
},
"bulkTestId": {
"type": "string",
"nullable": true
},
"evaluationFlowRunSettings": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/EvaluationFlowRunSettings"
},
"description": "This is a dictionary",
"nullable": true
},
"inputsMapping": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"dataInputs": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"bulkTestFlowId": {
"type": "string",
"nullable": true
},
"bulkTestFlowRunIds": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"amlComputeName": {
"type": "string",
"nullable": true
},
"runtimeName": {
"type": "string",
"nullable": true
},
"flowRunOutputDirectory": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"FlowRunTypeEnum": {
"enum": [
"FlowRun",
"EvaluationRun",
"PairwiseEvaluationRun",
"SingleNodeRun",
"FromNodeRun"
],
"type": "string"
},
"FlowRuntimeCapability": {
"type": "object",
"properties": {
"flowFeatures": {
"type": "array",
"items": {
"$ref": "#/components/schemas/FlowFeature"
},
"nullable": true
}
},
"additionalProperties": false
},
"FlowRuntimeDto": {
"type": "object",
"properties": {
"runtimeName": {
"type": "string",
"nullable": true
},
"runtimeDescription": {
"type": "string",
"nullable": true
},
"runtimeType": {
"$ref": "#/components/schemas/RuntimeType"
},
"environment": {
"type": "string",
"nullable": true
},
"status": {
"$ref": "#/components/schemas/RuntimeStatusEnum"
},
"statusMessage": {
"type": "string",
"nullable": true
},
"error": {
"$ref": "#/components/schemas/ErrorResponse"
},
"fromExistingEndpoint": {
"type": "boolean"
},
"endpointName": {
"type": "string",
"nullable": true
},
"fromExistingDeployment": {
"type": "boolean"
},
"deploymentName": {
"type": "string",
"nullable": true
},
"identity": {
"$ref": "#/components/schemas/ManagedServiceIdentity"
},
"instanceType": {
"type": "string",
"nullable": true
},
"instanceCount": {
"type": "integer",
"format": "int32"
},
"computeInstanceName": {
"type": "string",
"nullable": true
},
"dockerImage": {
"type": "string",
"nullable": true
},
"publishedPort": {
"type": "integer",
"format": "int32"
},
"targetPort": {
"type": "integer",
"format": "int32"
},
"fromExistingCustomApp": {
"type": "boolean"
},
"customAppName": {
"type": "string",
"nullable": true
},
"assignedTo": {
"$ref": "#/components/schemas/AssignedUser"
},
"endpointUrl": {
"type": "string",
"nullable": true
},
"createdOn": {
"type": "string",
"format": "date-time"
},
"modifiedOn": {
"type": "string",
"format": "date-time"
},
"owner": {
"$ref": "#/components/schemas/SchemaContractsCreatedBy"
}
},
"additionalProperties": false
},
"FlowRuntimeSubmissionApiVersion": {
"enum": [
"Version1",
"Version2"
],
"type": "string"
},
"FlowSampleDto": {
"type": "object",
"properties": {
"sampleResourceId": {
"type": "string",
"nullable": true
},
"section": {
"$ref": "#/components/schemas/Section"
},
"indexNumber": {
"type": "integer",
"format": "int32",
"nullable": true
},
"flowName": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"details": {
"type": "string",
"nullable": true
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"flow": {
"$ref": "#/components/schemas/Flow"
},
"flowDefinitionFilePath": {
"type": "string",
"nullable": true
},
"flowType": {
"$ref": "#/components/schemas/FlowType"
},
"flowRunSettings": {
"$ref": "#/components/schemas/FlowRunSettings"
},
"isArchived": {
"type": "boolean"
},
"vmSize": {
"type": "string",
"nullable": true
},
"maxIdleTimeSeconds": {
"type": "integer",
"format": "int64",
"nullable": true
},
"identity": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"FlowSessionDto": {
"type": "object",
"properties": {
"sessionId": {
"type": "string",
"nullable": true
},
"baseImage": {
"type": "string",
"nullable": true
},
"packages": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"vmSize": {
"type": "string",
"nullable": true
},
"maxIdleTimeSeconds": {
"type": "integer",
"format": "int64",
"nullable": true
},
"flowFeatures": {
"type": "array",
"items": {
"$ref": "#/components/schemas/FlowFeature"
},
"nullable": true
},
"runtimeName": {
"type": "string",
"nullable": true
},
"runtimeDescription": {
"type": "string",
"nullable": true
},
"runtimeType": {
"$ref": "#/components/schemas/RuntimeType"
},
"environment": {
"type": "string",
"nullable": true
},
"status": {
"$ref": "#/components/schemas/RuntimeStatusEnum"
},
"statusMessage": {
"type": "string",
"nullable": true
},
"error": {
"$ref": "#/components/schemas/ErrorResponse"
},
"fromExistingEndpoint": {
"type": "boolean"
},
"endpointName": {
"type": "string",
"nullable": true
},
"fromExistingDeployment": {
"type": "boolean"
},
"deploymentName": {
"type": "string",
"nullable": true
},
"identity": {
"$ref": "#/components/schemas/ManagedServiceIdentity"
},
"instanceType": {
"type": "string",
"nullable": true
},
"instanceCount": {
"type": "integer",
"format": "int32"
},
"computeInstanceName": {
"type": "string",
"nullable": true
},
"dockerImage": {
"type": "string",
"nullable": true
},
"publishedPort": {
"type": "integer",
"format": "int32"
},
"targetPort": {
"type": "integer",
"format": "int32"
},
"fromExistingCustomApp": {
"type": "boolean"
},
"customAppName": {
"type": "string",
"nullable": true
},
"assignedTo": {
"$ref": "#/components/schemas/AssignedUser"
},
"endpointUrl": {
"type": "string",
"nullable": true
},
"createdOn": {
"type": "string",
"format": "date-time"
},
"modifiedOn": {
"type": "string",
"format": "date-time"
},
"owner": {
"$ref": "#/components/schemas/SchemaContractsCreatedBy"
}
},
"additionalProperties": false
},
"FlowSnapshot": {
"type": "object",
"properties": {
"inputs": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/FlowInputDefinition"
},
"description": "This is a dictionary",
"nullable": true
},
"outputs": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/FlowOutputDefinition"
},
"description": "This is a dictionary",
"nullable": true
},
"nodes": {
"type": "array",
"items": {
"$ref": "#/components/schemas/FlowNode"
},
"nullable": true
},
"node_variants": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/FlowNodeVariant"
},
"description": "This is a dictionary",
"nullable": true
},
"environment": {
"$ref": "#/components/schemas/FlowEnvironment"
},
"environment_variables": {
"type": "object",
"additionalProperties": { },
"description": "This is a dictionary",
"nullable": true
},
"language": {
"$ref": "#/components/schemas/FlowLanguage"
}
},
"additionalProperties": false
},
"FlowSubmitRunSettings": {
"type": "object",
"properties": {
"nodeInputs": {
"type": "object",
"additionalProperties": { },
"description": "This is a dictionary",
"nullable": true
},
"flowRunDisplayName": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"properties": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"runMode": {
"$ref": "#/components/schemas/FlowRunMode"
},
"batch_inputs": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": { },
"description": "This is a dictionary"
},
"nullable": true
},
"batchDataInput": {
"$ref": "#/components/schemas/BatchDataInput"
},
"tuningNodeNames": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"tuningNodeSettings": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/TuningNodeSetting"
},
"description": "This is a dictionary",
"nullable": true
},
"baselineVariantId": {
"type": "string",
"nullable": true
},
"defaultVariantId": {
"type": "string",
"nullable": true
},
"variants": {
"type": "object",
"additionalProperties": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Node"
}
},
"description": "This is a dictionary",
"nullable": true
},
"variantsTools": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Tool"
},
"nullable": true
},
"variantsCodes": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"nodeName": {
"type": "string",
"nullable": true
},
"bulkTestId": {
"type": "string",
"nullable": true
},
"evaluationFlowRunSettings": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/EvaluationFlowRunSettings"
},
"description": "This is a dictionary",
"nullable": true
},
"inputsMapping": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"dataInputs": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"bulkTestFlowId": {
"type": "string",
"nullable": true
},
"bulkTestFlowRunIds": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"amlComputeName": {
"type": "string",
"nullable": true
},
"runtimeName": {
"type": "string",
"nullable": true
},
"flowRunOutputDirectory": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"FlowTestInfo": {
"type": "object",
"properties": {
"flowRunId": {
"type": "string",
"nullable": true
},
"flowTestStorageSetting": {
"$ref": "#/components/schemas/FlowTestStorageSetting"
}
},
"additionalProperties": false
},
"FlowTestMode": {
"enum": [
"Sync",
"Async"
],
"type": "string"
},
"FlowTestStorageSetting": {
"type": "object",
"properties": {
"storageAccountName": {
"type": "string",
"nullable": true
},
"blobContainerName": {
"type": "string",
"nullable": true
},
"flowArtifactsRootPath": {
"type": "string",
"nullable": true
},
"outputDatastoreName": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"FlowToolSettingParameter": {
"type": "object",
"properties": {
"type": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ValueType"
},
"nullable": true
},
"default": {
"type": "string",
"nullable": true
},
"advanced": {
"type": "boolean",
"nullable": true
},
"enum": {
"type": "array",
"items": { },
"nullable": true
},
"model_list": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"text_box_size": {
"type": "integer",
"format": "int32",
"nullable": true
},
"capabilities": {
"$ref": "#/components/schemas/AzureOpenAIModelCapabilities"
},
"allow_manual_entry": {
"type": "boolean",
"nullable": true
}
},
"additionalProperties": false
},
"FlowToolsDto": {
"type": "object",
"properties": {
"package": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/Tool"
},
"description": "This is a dictionary",
"nullable": true
},
"code": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/Tool"
},
"description": "This is a dictionary",
"nullable": true
},
"errors": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/ErrorResponse"
},
"description": "This is a dictionary",
"nullable": true
}
},
"additionalProperties": false
},
"FlowType": {
"enum": [
"Default",
"Evaluation",
"Chat",
"Rag"
],
"type": "string"
},
"FlowVariantNode": {
"type": "object",
"properties": {
"node": {
"$ref": "#/components/schemas/FlowNode"
},
"description": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"ForecastHorizon": {
"type": "object",
"properties": {
"mode": {
"$ref": "#/components/schemas/ForecastHorizonMode"
},
"value": {
"type": "integer",
"format": "int32"
}
},
"additionalProperties": false
},
"ForecastHorizonMode": {
"enum": [
"Auto",
"Custom"
],
"type": "string"
},
"ForecastingSettings": {
"type": "object",
"properties": {
"countryOrRegionForHolidays": {
"type": "string",
"nullable": true
},
"timeColumnName": {
"type": "string",
"nullable": true
},
"targetLags": {
"$ref": "#/components/schemas/TargetLags"
},
"targetRollingWindowSize": {
"$ref": "#/components/schemas/TargetRollingWindowSize"
},
"forecastHorizon": {
"$ref": "#/components/schemas/ForecastHorizon"
},
"timeSeriesIdColumnNames": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"frequency": {
"type": "string",
"nullable": true
},
"featureLags": {
"type": "string",
"nullable": true
},
"seasonality": {
"$ref": "#/components/schemas/Seasonality"
},
"shortSeriesHandlingConfig": {
"$ref": "#/components/schemas/ShortSeriesHandlingConfiguration"
},
"useStl": {
"$ref": "#/components/schemas/UseStl"
},
"targetAggregateFunction": {
"$ref": "#/components/schemas/TargetAggregationFunction"
},
"cvStepSize": {
"type": "integer",
"format": "int32",
"nullable": true
},
"featuresUnknownAtForecastTime": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
}
},
"additionalProperties": false
},
"Framework": {
"enum": [
"Python",
"PySpark",
"Cntk",
"TensorFlow",
"PyTorch",
"PySparkInteractive",
"R"
],
"type": "string"
},
"Frequency": {
"enum": [
"Month",
"Week",
"Day",
"Hour",
"Minute"
],
"type": "string"
},
"GeneralSettings": {
"type": "object",
"properties": {
"primaryMetric": {
"$ref": "#/components/schemas/PrimaryMetrics"
},
"taskType": {
"$ref": "#/components/schemas/TaskType"
},
"logVerbosity": {
"$ref": "#/components/schemas/LogVerbosity"
}
},
"additionalProperties": false
},
"GeneratePipelineComponentRequest": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"displayName": {
"type": "string",
"nullable": true
},
"moduleScope": {
"$ref": "#/components/schemas/ModuleScope"
},
"isDeterministic": {
"type": "boolean",
"nullable": true
},
"category": {
"type": "string",
"nullable": true
},
"version": {
"type": "string",
"nullable": true
},
"setAsDefaultVersion": {
"type": "boolean"
},
"registryName": {
"type": "string",
"nullable": true
},
"graph": {
"$ref": "#/components/schemas/GraphDraftEntity"
},
"pipelineRunSettings": {
"type": "array",
"items": {
"$ref": "#/components/schemas/RunSettingParameterAssignment"
},
"nullable": true
},
"moduleNodeRunSettings": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GraphModuleNodeRunSetting"
},
"nullable": true
},
"moduleNodeUIInputSettings": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GraphModuleNodeUIInputSetting"
},
"nullable": true
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"continueRunOnStepFailure": {
"type": "boolean",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"properties": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"enforceRerun": {
"type": "boolean",
"nullable": true
},
"datasetAccessModes": {
"$ref": "#/components/schemas/DatasetAccessModes"
}
},
"additionalProperties": false
},
"GenerateToolMetaRequest": {
"type": "object",
"properties": {
"tools": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/ToolSourceMeta"
},
"description": "This is a dictionary",
"nullable": true
},
"working_dir": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"GetDynamicListRequest": {
"type": "object",
"properties": {
"func_path": {
"type": "string",
"nullable": true
},
"func_kwargs": {
"type": "object",
"additionalProperties": { },
"description": "This is a dictionary",
"nullable": true
}
},
"additionalProperties": false
},
"GetRunDataResultDto": {
"type": "object",
"properties": {
"runMetadata": {
"$ref": "#/components/schemas/RunDto"
},
"runDefinition": {
"nullable": true
},
"jobSpecification": {
"nullable": true
},
"systemSettings": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
}
},
"additionalProperties": false
},
"GetTrainingSessionDto": {
"type": "object",
"properties": {
"properties": {
"$ref": "#/components/schemas/SessionProperties"
},
"compute": {
"$ref": "#/components/schemas/ComputeContract"
}
},
"additionalProperties": false
},
"GlobalJobDispatcherConfiguration": {
"type": "object",
"properties": {
"vmSize": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"computeType": {
"$ref": "#/components/schemas/GlobalJobDispatcherSupportedComputeType"
},
"region": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"myResourceOnly": {
"type": "boolean"
},
"redispatchAllowed": {
"type": "boolean",
"nullable": true
},
"lowPriorityVMTolerant": {
"type": "boolean"
},
"vcList": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"planId": {
"type": "string",
"nullable": true
},
"planRegionId": {
"type": "string",
"nullable": true
},
"vcBlockList": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"clusterBlockList": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
}
},
"additionalProperties": false
},
"GlobalJobDispatcherSupportedComputeType": {
"enum": [
"AmlCompute",
"AmlK8s"
],
"type": "string"
},
"GlobsOptions": {
"type": "object",
"properties": {
"globPatterns": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
}
},
"additionalProperties": false
},
"GraphAnnotationNode": {
"type": "object",
"properties": {
"id": {
"type": "string",
"nullable": true
},
"content": {
"type": "string",
"nullable": true
},
"mentionedNodeNames": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"structuredContent": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"GraphComponentsMode": {
"enum": [
"Normal",
"AllDesignerBuildin",
"ContainsDesignerBuildin"
],
"type": "string"
},
"GraphControlNode": {
"type": "object",
"properties": {
"id": {
"type": "string",
"nullable": true
},
"controlType": {
"$ref": "#/components/schemas/ControlType"
},
"controlParameter": {
"$ref": "#/components/schemas/ParameterAssignment"
},
"runAttribution": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"GraphControlReferenceNode": {
"type": "object",
"properties": {
"id": {
"type": "string",
"nullable": true
},
"name": {
"type": "string",
"nullable": true
},
"comment": {
"type": "string",
"nullable": true
},
"controlFlowType": {
"$ref": "#/components/schemas/ControlFlowType"
},
"referenceNodeId": {
"type": "string",
"nullable": true
},
"doWhileControlFlowInfo": {
"$ref": "#/components/schemas/DoWhileControlFlowInfo"
},
"parallelForControlFlowInfo": {
"$ref": "#/components/schemas/ParallelForControlFlowInfo"
},
"runAttribution": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"GraphDatasetNode": {
"type": "object",
"properties": {
"id": {
"type": "string",
"nullable": true
},
"datasetId": {
"type": "string",
"nullable": true
},
"dataPathParameterName": {
"type": "string",
"nullable": true
},
"dataSetDefinition": {
"$ref": "#/components/schemas/DataSetDefinition"
}
},
"additionalProperties": false
},
"GraphDatasetsLoadModes": {
"enum": [
"SkipDatasetsLoad",
"V1RegisteredDataset",
"V1SavedDataset",
"PersistDatasetsInfo",
"SubmissionNeededUpstreamDatasetOnly",
"SubmissionNeededInCompleteDatasetOnly",
"V2Asset",
"Submission",
"AllRegisteredData",
"AllData"
],
"type": "string"
},
"GraphDraftEntity": {
"type": "object",
"properties": {
"moduleNodes": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GraphModuleNode"
},
"nullable": true
},
"datasetNodes": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GraphDatasetNode"
},
"nullable": true
},
"subGraphNodes": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GraphReferenceNode"
},
"nullable": true
},
"controlReferenceNodes": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GraphControlReferenceNode"
},
"nullable": true
},
"controlNodes": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GraphControlNode"
},
"nullable": true
},
"edges": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GraphEdge"
},
"nullable": true
},
"entityInterface": {
"$ref": "#/components/schemas/EntityInterface"
},
"graphLayout": {
"$ref": "#/components/schemas/GraphLayout"
},
"createdBy": {
"$ref": "#/components/schemas/CreatedBy"
},
"lastUpdatedBy": {
"$ref": "#/components/schemas/CreatedBy"
},
"defaultCompute": {
"$ref": "#/components/schemas/ComputeSetting"
},
"defaultDatastore": {
"$ref": "#/components/schemas/DatastoreSetting"
},
"defaultCloudPriority": {
"$ref": "#/components/schemas/CloudPrioritySetting"
},
"extendedProperties": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"parentSubGraphModuleIds": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"id": {
"type": "string",
"nullable": true
},
"etag": {
"type": "string",
"nullable": true
},
"createdDate": {
"type": "string",
"format": "date-time"
},
"lastModifiedDate": {
"type": "string",
"format": "date-time"
}
},
"additionalProperties": false
},
"GraphEdge": {
"type": "object",
"properties": {
"sourceOutputPort": {
"$ref": "#/components/schemas/PortInfo"
},
"destinationInputPort": {
"$ref": "#/components/schemas/PortInfo"
}
},
"additionalProperties": false
},
"GraphLayout": {
"type": "object",
"properties": {
"nodeLayouts": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/NodeLayout"
},
"description": "This is a dictionary",
"nullable": true
},
"extendedData": {
"type": "string",
"nullable": true
},
"annotationNodes": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GraphAnnotationNode"
},
"nullable": true
},
"id": {
"type": "string",
"nullable": true
},
"etag": {
"type": "string",
"nullable": true
},
"createdDate": {
"type": "string",
"format": "date-time"
},
"lastModifiedDate": {
"type": "string",
"format": "date-time"
}
},
"additionalProperties": false
},
"GraphLayoutCreationInfo": {
"type": "object",
"properties": {
"nodeLayouts": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/NodeLayout"
},
"description": "This is a dictionary",
"nullable": true
},
"extendedData": {
"type": "string",
"nullable": true
},
"annotationNodes": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GraphAnnotationNode"
},
"nullable": true
}
},
"additionalProperties": false
},
"GraphModuleNode": {
"type": "object",
"properties": {
"moduleType": {
"$ref": "#/components/schemas/ModuleType"
},
"runconfig": {
"type": "string",
"nullable": true
},
"id": {
"type": "string",
"nullable": true
},
"moduleId": {
"type": "string",
"nullable": true
},
"comment": {
"type": "string",
"nullable": true
},
"name": {
"type": "string",
"nullable": true
},
"moduleParameters": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ParameterAssignment"
},
"nullable": true
},
"moduleMetadataParameters": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ParameterAssignment"
},
"nullable": true
},
"moduleOutputSettings": {
"type": "array",
"items": {
"$ref": "#/components/schemas/OutputSetting"
},
"nullable": true
},
"moduleInputSettings": {
"type": "array",
"items": {
"$ref": "#/components/schemas/InputSetting"
},
"nullable": true
},
"useGraphDefaultCompute": {
"type": "boolean"
},
"useGraphDefaultDatastore": {
"type": "boolean"
},
"regenerateOutput": {
"type": "boolean"
},
"controlInputs": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ControlInput"
},
"nullable": true
},
"cloudSettings": {
"$ref": "#/components/schemas/CloudSettings"
},
"executionPhase": {
"$ref": "#/components/schemas/ExecutionPhase"
},
"runAttribution": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"GraphModuleNodeRunSetting": {
"type": "object",
"properties": {
"nodeId": {
"type": "string",
"nullable": true
},
"moduleId": {
"type": "string",
"nullable": true
},
"stepType": {
"type": "string",
"nullable": true
},
"runSettings": {
"type": "array",
"items": {
"$ref": "#/components/schemas/RunSettingParameterAssignment"
},
"nullable": true
}
},
"additionalProperties": false
},
"GraphModuleNodeUIInputSetting": {
"type": "object",
"properties": {
"nodeId": {
"type": "string",
"nullable": true
},
"moduleId": {
"type": "string",
"nullable": true
},
"moduleInputSettings": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UIInputSetting"
},
"nullable": true
}
},
"additionalProperties": false
},
"GraphNodeStatusInfo": {
"type": "object",
"properties": {
"status": {
"$ref": "#/components/schemas/TaskStatusCode"
},
"runStatus": {
"$ref": "#/components/schemas/RunStatus"
},
"isBypassed": {
"type": "boolean"
},
"hasFailedChildRun": {
"type": "boolean"
},
"partiallyExecuted": {
"type": "boolean"
},
"properties": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"aetherStartTime": {
"type": "string",
"format": "date-time",
"nullable": true
},
"aetherEndTime": {
"type": "string",
"format": "date-time",
"nullable": true
},
"aetherCreationTime": {
"type": "string",
"format": "date-time",
"nullable": true
},
"runHistoryStartTime": {
"type": "string",
"format": "date-time",
"nullable": true
},
"runHistoryEndTime": {
"type": "string",
"format": "date-time",
"nullable": true
},
"runHistoryCreationTime": {
"type": "string",
"format": "date-time",
"nullable": true
},
"reuseInfo": {
"$ref": "#/components/schemas/TaskReuseInfo"
},
"controlFlowInfo": {
"$ref": "#/components/schemas/TaskControlFlowInfo"
},
"statusCode": {
"$ref": "#/components/schemas/TaskStatusCode"
},
"statusDetail": {
"type": "string",
"nullable": true
},
"creationTime": {
"type": "string",
"format": "date-time"
},
"scheduleTime": {
"type": "string",
"format": "date-time",
"nullable": true
},
"startTime": {
"type": "string",
"format": "date-time",
"nullable": true
},
"endTime": {
"type": "string",
"format": "date-time",
"nullable": true
},
"requestId": {
"type": "string",
"nullable": true
},
"runId": {
"type": "string",
"nullable": true
},
"dataContainerId": {
"type": "string",
"nullable": true
},
"realTimeLogPath": {
"type": "string",
"nullable": true
},
"hasWarnings": {
"type": "boolean"
},
"compositeNodeId": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"GraphReferenceNode": {
"type": "object",
"properties": {
"graphId": {
"type": "string",
"nullable": true
},
"defaultCompute": {
"$ref": "#/components/schemas/ComputeSetting"
},
"defaultDatastore": {
"$ref": "#/components/schemas/DatastoreSetting"
},
"id": {
"type": "string",
"nullable": true
},
"moduleId": {
"type": "string",
"nullable": true
},
"comment": {
"type": "string",
"nullable": true
},
"name": {
"type": "string",
"nullable": true
},
"moduleParameters": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ParameterAssignment"
},
"nullable": true
},
"moduleMetadataParameters": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ParameterAssignment"
},
"nullable": true
},
"moduleOutputSettings": {
"type": "array",
"items": {
"$ref": "#/components/schemas/OutputSetting"
},
"nullable": true
},
"moduleInputSettings": {
"type": "array",
"items": {
"$ref": "#/components/schemas/InputSetting"
},
"nullable": true
},
"useGraphDefaultCompute": {
"type": "boolean"
},
"useGraphDefaultDatastore": {
"type": "boolean"
},
"regenerateOutput": {
"type": "boolean"
},
"controlInputs": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ControlInput"
},
"nullable": true
},
"cloudSettings": {
"$ref": "#/components/schemas/CloudSettings"
},
"executionPhase": {
"$ref": "#/components/schemas/ExecutionPhase"
},
"runAttribution": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"GraphSdkCodeType": {
"enum": [
"Python",
"JupyterNotebook",
"Unknown"
],
"type": "string"
},
"HdfsReference": {
"type": "object",
"properties": {
"amlDataStoreName": {
"type": "string",
"nullable": true
},
"relativePath": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"HdiClusterComputeInfo": {
"type": "object",
"properties": {
"address": {
"type": "string",
"nullable": true
},
"username": {
"type": "string",
"nullable": true
},
"password": {
"type": "string",
"nullable": true
},
"privateKey": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"HdiConfiguration": {
"type": "object",
"properties": {
"yarnDeployMode": {
"$ref": "#/components/schemas/YarnDeployMode"
}
},
"additionalProperties": false
},
"HdiRunConfiguration": {
"type": "object",
"properties": {
"file": {
"type": "string",
"nullable": true
},
"className": {
"type": "string",
"nullable": true
},
"files": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"archives": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"jars": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"pyFiles": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"computeName": {
"type": "string",
"nullable": true
},
"queue": {
"type": "string",
"nullable": true
},
"driverMemory": {
"type": "string",
"nullable": true
},
"driverCores": {
"type": "integer",
"format": "int32",
"nullable": true
},
"executorMemory": {
"type": "string",
"nullable": true
},
"executorCores": {
"type": "integer",
"format": "int32",
"nullable": true
},
"numberExecutors": {
"type": "integer",
"format": "int32",
"nullable": true
},
"conf": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"name": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"HistoryConfiguration": {
"type": "object",
"properties": {
"outputCollection": {
"type": "boolean",
"default": true
},
"directoriesToWatch": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"logs"
],
"nullable": true
},
"enableMLflowTracking": {
"type": "boolean",
"default": true
}
}
},
"HttpStatusCode": {
"enum": [
"Continue",
"SwitchingProtocols",
"Processing",
"EarlyHints",
"OK",
"Created",
"Accepted",
"NonAuthoritativeInformation",
"NoContent",
"ResetContent",
"PartialContent",
"MultiStatus",
"AlreadyReported",
"IMUsed",
"MultipleChoices",
"Ambiguous",
"MovedPermanently",
"Moved",
"Found",
"Redirect",
"SeeOther",
"RedirectMethod",
"NotModified",
"UseProxy",
"Unused",
"TemporaryRedirect",
"RedirectKeepVerb",
"PermanentRedirect",
"BadRequest",
"Unauthorized",
"PaymentRequired",
"Forbidden",
"NotFound",
"MethodNotAllowed",
"NotAcceptable",
"ProxyAuthenticationRequired",
"RequestTimeout",
"Conflict",
"Gone",
"LengthRequired",
"PreconditionFailed",
"RequestEntityTooLarge",
"RequestUriTooLong",
"UnsupportedMediaType",
"RequestedRangeNotSatisfiable",
"ExpectationFailed",
"MisdirectedRequest",
"UnprocessableEntity",
"Locked",
"FailedDependency",
"UpgradeRequired",
"PreconditionRequired",
"TooManyRequests",
"RequestHeaderFieldsTooLarge",
"UnavailableForLegalReasons",
"InternalServerError",
"NotImplemented",
"BadGateway",
"ServiceUnavailable",
"GatewayTimeout",
"HttpVersionNotSupported",
"VariantAlsoNegotiates",
"InsufficientStorage",
"LoopDetected",
"NotExtended",
"NetworkAuthenticationRequired"
],
"type": "string"
},
"HyperDriveConfiguration": {
"type": "object",
"properties": {
"hyperDriveRunConfig": {
"type": "string",
"nullable": true
},
"primaryMetricGoal": {
"type": "string",
"nullable": true
},
"primaryMetricName": {
"type": "string",
"nullable": true
},
"arguments": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ArgumentAssignment"
},
"nullable": true
}
},
"additionalProperties": false
},
"IActionResult": {
"type": "object",
"additionalProperties": false
},
"ICheckableLongRunningOperationResponse": {
"type": "object",
"properties": {
"completionResult": {
"$ref": "#/components/schemas/LongRunningNullResponse"
},
"location": {
"type": "string",
"format": "uri",
"nullable": true
},
"operationResult": {
"type": "string",
"format": "uri",
"nullable": true
}
},
"additionalProperties": false
},
"IdentityConfiguration": {
"type": "object",
"properties": {
"type": {
"$ref": "#/components/schemas/IdentityType"
},
"properties": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"secret": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"IdentitySetting": {
"type": "object",
"properties": {
"type": {
"$ref": "#/components/schemas/AEVAIdentityType"
},
"clientId": {
"type": "string",
"format": "uuid",
"nullable": true
},
"objectId": {
"type": "string",
"format": "uuid",
"nullable": true
},
"msiResourceId": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"IdentityType": {
"enum": [
"Managed",
"ServicePrincipal",
"AMLToken"
],
"type": "string"
},
"ImportDataTask": {
"type": "object",
"properties": {
"DataTransferSource": {
"$ref": "#/components/schemas/DataTransferSource"
}
},
"additionalProperties": false
},
"IndexedErrorResponse": {
"type": "object",
"properties": {
"code": {
"type": "string",
"nullable": true
},
"errorCodeHierarchy": {
"type": "string",
"nullable": true
},
"message": {
"type": "string",
"nullable": true
},
"time": {
"type": "string",
"format": "date-time",
"nullable": true
},
"componentName": {
"type": "string",
"nullable": true
},
"severity": {
"type": "integer",
"format": "int32",
"nullable": true
},
"detailsUri": {
"type": "string",
"format": "uri",
"nullable": true
},
"referenceCode": {
"type": "string",
"nullable": true
}
}
},
"InitScriptInfoDto": {
"type": "object",
"properties": {
"dbfs": {
"$ref": "#/components/schemas/DbfsStorageInfoDto"
}
},
"additionalProperties": false
},
"InnerErrorDetails": {
"type": "object",
"properties": {
"code": {
"type": "string",
"nullable": true
},
"message": {
"type": "string",
"nullable": true
},
"target": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"InnerErrorResponse": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "The error code.",
"nullable": true
},
"innerError": {
"$ref": "#/components/schemas/InnerErrorResponse"
}
},
"additionalProperties": false,
"description": "A nested structure of errors."
},
"InputAsset": {
"type": "object",
"properties": {
"asset": {
"$ref": "#/components/schemas/Asset"
},
"mechanism": {
"$ref": "#/components/schemas/DeliveryMechanism"
},
"environmentVariableName": {
"type": "string",
"nullable": true
},
"pathOnCompute": {
"type": "string",
"nullable": true
},
"overwrite": {
"type": "boolean"
},
"options": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
}
},
"additionalProperties": false
},
"InputData": {
"type": "object",
"properties": {
"datasetId": {
"type": "string",
"nullable": true
},
"mode": {
"$ref": "#/components/schemas/DataBindingMode"
},
"value": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"InputDataBinding": {
"type": "object",
"properties": {
"dataId": {
"type": "string",
"nullable": true
},
"pathOnCompute": {
"type": "string",
"nullable": true
},
"mode": {
"$ref": "#/components/schemas/DataBindingMode"
},
"description": {
"type": "string",
"nullable": true
},
"uri": {
"$ref": "#/components/schemas/MfeInternalUriReference"
},
"value": {
"type": "string",
"nullable": true
},
"assetUri": {
"type": "string",
"nullable": true
},
"jobInputType": {
"$ref": "#/components/schemas/JobInputType"
}
},
"additionalProperties": false
},
"InputDefinition": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"type": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ValueType"
},
"nullable": true
},
"default": {
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"enum": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"enabled_by": {
"type": "string",
"nullable": true
},
"enabled_by_type": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ValueType"
},
"nullable": true
},
"enabled_by_value": {
"type": "array",
"items": { },
"nullable": true
},
"model_list": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"capabilities": {
"$ref": "#/components/schemas/AzureOpenAIModelCapabilities"
},
"dynamic_list": {
"$ref": "#/components/schemas/ToolInputDynamicList"
},
"allow_manual_entry": {
"type": "boolean"
},
"is_multi_select": {
"type": "boolean"
},
"generated_by": {
"$ref": "#/components/schemas/ToolInputGeneratedBy"
},
"input_type": {
"$ref": "#/components/schemas/InputType"
},
"advanced": {
"type": "boolean",
"nullable": true
},
"ui_hints": {
"type": "object",
"additionalProperties": { },
"description": "This is a dictionary",
"nullable": true
}
},
"additionalProperties": false
},
"InputOutputPortMetadata": {
"type": "object",
"properties": {
"graphModuleNodeId": {
"type": "string",
"nullable": true
},
"portName": {
"type": "string",
"nullable": true
},
"schema": {
"type": "string",
"nullable": true
},
"name": {
"type": "string",
"nullable": true
},
"id": {
"type": "string",
"nullable": true,
"readOnly": true
}
},
"additionalProperties": false
},
"InputSetting": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"dataStoreMode": {
"$ref": "#/components/schemas/AEVADataStoreMode"
},
"pathOnCompute": {
"type": "string",
"nullable": true
},
"options": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"additionalTransformations": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"InputType": {
"enum": [
"default",
"uionly_hidden"
],
"type": "string"
},
"IntellectualPropertyAccessMode": {
"enum": [
"ReadOnly",
"ReadWrite"
],
"type": "string"
},
"IntellectualPropertyPublisherInformation": {
"type": "object",
"properties": {
"intellectualPropertyPublisher": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"InteractiveConfig": {
"type": "object",
"properties": {
"isSSHEnabled": {
"type": "boolean",
"nullable": true
},
"sshPublicKey": {
"type": "string",
"nullable": true
},
"isIPythonEnabled": {
"type": "boolean",
"nullable": true
},
"isTensorBoardEnabled": {
"type": "boolean",
"nullable": true
},
"interactivePort": {
"type": "integer",
"format": "int32",
"nullable": true
}
},
"additionalProperties": false
},
"InteractiveConfiguration": {
"type": "object",
"properties": {
"isSSHEnabled": {
"type": "boolean",
"nullable": true
},
"sshPublicKey": {
"type": "string",
"nullable": true
},
"isIPythonEnabled": {
"type": "boolean",
"nullable": true
},
"isTensorBoardEnabled": {
"type": "boolean",
"nullable": true
},
"interactivePort": {
"type": "integer",
"format": "int32",
"nullable": true
}
},
"additionalProperties": false
},
"JobCost": {
"type": "object",
"properties": {
"chargedCpuCoreSeconds": {
"type": "number",
"format": "double",
"nullable": true
},
"chargedCpuMemoryMegabyteSeconds": {
"type": "number",
"format": "double",
"nullable": true
},
"chargedGpuSeconds": {
"type": "number",
"format": "double",
"nullable": true
},
"chargedNodeUtilizationSeconds": {
"type": "number",
"format": "double",
"nullable": true
}
}
},
"JobEndpoint": {
"type": "object",
"properties": {
"type": {
"type": "string",
"nullable": true
},
"port": {
"type": "integer",
"format": "int32",
"nullable": true
},
"endpoint": {
"type": "string",
"nullable": true
},
"status": {
"type": "string",
"nullable": true
},
"errorMessage": {
"type": "string",
"nullable": true
},
"properties": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"nodes": {
"$ref": "#/components/schemas/MfeInternalNodes"
}
},
"additionalProperties": false
},
"JobInput": {
"required": [
"jobInputType"
],
"type": "object",
"properties": {
"jobInputType": {
"$ref": "#/components/schemas/JobInputType"
},
"description": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"JobInputType": {
"enum": [
"Dataset",
"Uri",
"Literal",
"UriFile",
"UriFolder",
"MLTable",
"CustomModel",
"MLFlowModel",
"TritonModel"
],
"type": "string"
},
"JobLimitsType": {
"enum": [
"Command",
"Sweep"
],
"type": "string"
},
"JobOutput": {
"required": [
"jobOutputType"
],
"type": "object",
"properties": {
"jobOutputType": {
"$ref": "#/components/schemas/JobOutputType"
},
"description": {
"type": "string",
"nullable": true
},
"autoDeleteSetting": {
"$ref": "#/components/schemas/AutoDeleteSetting"
}
},
"additionalProperties": false
},
"JobOutputArtifacts": {
"type": "object",
"properties": {
"datastoreId": {
"type": "string",
"nullable": true
},
"path": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"JobOutputType": {
"enum": [
"Uri",
"Dataset",
"UriFile",
"UriFolder",
"MLTable",
"CustomModel",
"MLFlowModel",
"TritonModel"
],
"type": "string"
},
"JobProvisioningState": {
"enum": [
"Succeeded",
"Failed",
"Canceled",
"InProgress"
],
"type": "string"
},
"JobScheduleDto": {
"type": "object",
"properties": {
"jobType": {
"$ref": "#/components/schemas/JobType"
},
"systemData": {
"$ref": "#/components/schemas/SystemData"
},
"name": {
"type": "string",
"nullable": true
},
"jobDefinitionId": {
"type": "string",
"nullable": true
},
"displayName": {
"type": "string",
"nullable": true
},
"triggerType": {
"$ref": "#/components/schemas/TriggerType"
},
"recurrence": {
"$ref": "#/components/schemas/Recurrence"
},
"cron": {
"$ref": "#/components/schemas/Cron"
},
"status": {
"$ref": "#/components/schemas/ScheduleStatus"
},
"description": {
"type": "string",
"nullable": true
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"properties": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
}
},
"additionalProperties": false
},
"JobStatus": {
"enum": [
"NotStarted",
"Starting",
"Provisioning",
"Preparing",
"Queued",
"Running",
"Finalizing",
"CancelRequested",
"Completed",
"Failed",
"Canceled",
"NotResponding",
"Paused",
"Unknown",
"Scheduled"
],
"type": "string"
},
"JobType": {
"enum": [
"Command",
"Sweep",
"Labeling",
"Pipeline",
"Data",
"AutoML",
"Spark",
"Base"
],
"type": "string"
},
"K8sConfiguration": {
"type": "object",
"properties": {
"maxRetryCount": {
"type": "integer",
"format": "int32",
"nullable": true
},
"resourceConfiguration": {
"$ref": "#/components/schemas/ResourceConfig"
},
"priorityConfiguration": {
"$ref": "#/components/schemas/PriorityConfig"
},
"interactiveConfiguration": {
"$ref": "#/components/schemas/InteractiveConfig"
}
},
"additionalProperties": false
},
"KeyType": {
"enum": [
"Primary",
"Secondary"
],
"type": "string"
},
"KeyValuePairComponentNameMetaInfoErrorResponse": {
"type": "object",
"properties": {
"key": {
"$ref": "#/components/schemas/ComponentNameMetaInfo"
},
"value": {
"$ref": "#/components/schemas/ErrorResponse"
}
},
"additionalProperties": false
},
"KeyValuePairComponentNameMetaInfoModuleDto": {
"type": "object",
"properties": {
"key": {
"$ref": "#/components/schemas/ComponentNameMetaInfo"
},
"value": {
"$ref": "#/components/schemas/ModuleDto"
}
},
"additionalProperties": false
},
"KeyValuePairStringObject": {
"type": "object",
"properties": {
"key": {
"type": "string",
"nullable": true
},
"value": {
"nullable": true
}
},
"additionalProperties": false
},
"KubernetesConfiguration": {
"type": "object",
"properties": {
"instanceType": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"Kwarg": {
"type": "object",
"properties": {
"key": {
"type": "string",
"nullable": true
},
"value": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"LegacyDataPath": {
"type": "object",
"properties": {
"dataStoreName": {
"type": "string",
"nullable": true
},
"dataStoreMode": {
"$ref": "#/components/schemas/AEVADataStoreMode"
},
"relativePath": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"LimitSettings": {
"type": "object",
"properties": {
"maxTrials": {
"type": "integer",
"format": "int32",
"nullable": true
},
"timeout": {
"type": "string",
"format": "date-span",
"nullable": true
},
"trialTimeout": {
"type": "string",
"format": "date-span",
"nullable": true
},
"maxConcurrentTrials": {
"type": "integer",
"format": "int32",
"nullable": true
},
"maxCoresPerTrial": {
"type": "integer",
"format": "int32",
"nullable": true
},
"exitScore": {
"type": "number",
"format": "double",
"nullable": true
},
"enableEarlyTermination": {
"type": "boolean",
"nullable": true
},
"maxNodes": {
"type": "integer",
"format": "int32",
"nullable": true
}
},
"additionalProperties": false
},
"LinkedADBWorkspaceMetadata": {
"type": "object",
"properties": {
"workspaceId": {
"type": "string",
"nullable": true
},
"region": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"LinkedPipelineInfo": {
"type": "object",
"properties": {
"pipelineType": {
"$ref": "#/components/schemas/PipelineType"
},
"moduleNodeId": {
"type": "string",
"nullable": true
},
"portName": {
"type": "string",
"nullable": true
},
"linkedPipelineDraftId": {
"type": "string",
"nullable": true
},
"linkedPipelineRunId": {
"type": "string",
"nullable": true
},
"isDirectLink": {
"type": "boolean"
}
},
"additionalProperties": false
},
"ListViewType": {
"enum": [
"ActiveOnly",
"ArchivedOnly",
"All"
],
"type": "string"
},
"LoadFlowAsComponentRequest": {
"type": "object",
"properties": {
"componentName": {
"type": "string",
"nullable": true
},
"componentVersion": {
"type": "string",
"nullable": true
},
"displayName": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"properties": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"isDeterministic": {
"type": "boolean"
},
"flowDefinitionFilePath": {
"type": "string",
"nullable": true
},
"flowDefinitionResourceId": {
"type": "string",
"nullable": true
},
"flowDefinitionDataStoreName": {
"type": "string",
"nullable": true
},
"flowDefinitionBlobPath": {
"type": "string",
"nullable": true
},
"flowDefinitionDataUri": {
"type": "string",
"nullable": true
},
"nodeVariant": {
"type": "string",
"nullable": true
},
"inputsMapping": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"connections": {
"type": "object",
"additionalProperties": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary"
},
"description": "This is a dictionary",
"nullable": true
},
"environmentVariables": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"runtimeName": {
"type": "string",
"nullable": true
},
"sessionId": {
"type": "string",
"nullable": true
},
"vmSize": {
"type": "string",
"nullable": true
},
"maxIdleTimeSeconds": {
"type": "integer",
"format": "int64",
"nullable": true
}
},
"additionalProperties": false
},
"LogLevel": {
"enum": [
"Trace",
"Debug",
"Information",
"Warning",
"Error",
"Critical",
"None"
],
"type": "string"
},
"LogRunTerminatedEventDto": {
"type": "object",
"properties": {
"nextActionIntervalInSeconds": {
"type": "integer",
"format": "int32",
"nullable": true
},
"actionType": {
"$ref": "#/components/schemas/ActionType"
},
"lastCheckedTime": {
"type": "string",
"format": "date-time",
"nullable": true
}
},
"additionalProperties": false
},
"LogVerbosity": {
"enum": [
"NotSet",
"Debug",
"Info",
"Warning",
"Error",
"Critical"
],
"type": "string"
},
"LongRunningNullResponse": {
"type": "object",
"additionalProperties": false
},
"LongRunningOperationUriResponse": {
"type": "object",
"properties": {
"location": {
"type": "string",
"format": "uri",
"nullable": true
},
"operationResult": {
"type": "string",
"format": "uri",
"nullable": true
}
},
"additionalProperties": false
},
"LongRunningUpdateRegistryComponentRequest": {
"type": "object",
"properties": {
"displayName": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"registryName": {
"type": "string",
"nullable": true
},
"componentName": {
"type": "string",
"nullable": true
},
"componentVersion": {
"type": "string",
"nullable": true
},
"updateType": {
"$ref": "#/components/schemas/LongRunningUpdateType"
}
},
"additionalProperties": false
},
"LongRunningUpdateType": {
"enum": [
"EnableModule",
"DisableModule",
"UpdateDisplayName",
"UpdateDescription",
"UpdateTags"
],
"type": "string"
},
"MLFlowAutologgerState": {
"enum": [
"Enabled",
"Disabled"
],
"type": "string"
},
"ManagedServiceIdentity": {
"required": [
"type"
],
"type": "object",
"properties": {
"type": {
"$ref": "#/components/schemas/ManagedServiceIdentityType"
},
"principalId": {
"type": "string",
"format": "uuid"
},
"tenantId": {
"type": "string",
"format": "uuid"
},
"userAssignedIdentities": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/UserAssignedIdentity"
},
"nullable": true
}
},
"additionalProperties": false
},
"ManagedServiceIdentityType": {
"enum": [
"SystemAssigned",
"UserAssigned",
"SystemAssignedUserAssigned",
"None"
],
"type": "string"
},
"MavenLibraryDto": {
"type": "object",
"properties": {
"coordinates": {
"type": "string",
"nullable": true
},
"repo": {
"type": "string",
"nullable": true
},
"exclusions": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
}
},
"additionalProperties": false
},
"MetricProperties": {
"type": "object",
"properties": {
"uxMetricType": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"MetricSchemaDto": {
"type": "object",
"properties": {
"numProperties": {
"type": "integer",
"format": "int32"
},
"properties": {
"type": "array",
"items": {
"$ref": "#/components/schemas/MetricSchemaPropertyDto"
},
"nullable": true
}
},
"additionalProperties": false
},
"MetricSchemaPropertyDto": {
"type": "object",
"properties": {
"propertyId": {
"type": "string",
"nullable": true
},
"name": {
"type": "string",
"nullable": true
},
"type": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"MetricV2Dto": {
"type": "object",
"properties": {
"dataContainerId": {
"type": "string",
"nullable": true
},
"name": {
"type": "string",
"nullable": true
},
"columns": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/MetricValueType"
},
"description": "This is a dictionary",
"nullable": true
},
"properties": {
"$ref": "#/components/schemas/MetricProperties"
},
"namespace": {
"type": "string",
"nullable": true
},
"standardSchemaId": {
"type": "string",
"format": "uuid",
"nullable": true
},
"value": {
"type": "array",
"items": {
"$ref": "#/components/schemas/MetricV2Value"
},
"nullable": true
},
"continuationToken": {
"type": "string",
"description": "The token used in retrieving the next page. If null, there are no additional pages.",
"nullable": true
},
"nextLink": {
"type": "string",
"description": "The link to the next page constructed using the continuationToken. If null, there are no additional pages.",
"nullable": true
}
},
"additionalProperties": false
},
"MetricV2Value": {
"type": "object",
"properties": {
"metricId": {
"type": "string",
"nullable": true
},
"createdUtc": {
"type": "string",
"format": "date-time"
},
"step": {
"type": "integer",
"format": "int64",
"nullable": true
},
"data": {
"type": "object",
"additionalProperties": {
"nullable": true
},
"nullable": true
},
"sasUri": {
"type": "string",
"format": "uri",
"nullable": true
}
},
"additionalProperties": false
},
"MetricValueType": {
"enum": [
"Int",
"Double",
"String",
"Bool",
"Artifact",
"Histogram",
"Malformed"
],
"type": "string"
},
"MfeInternalAutologgerSettings": {
"type": "object",
"properties": {
"mlflowAutologger": {
"$ref": "#/components/schemas/MfeInternalMLFlowAutologgerState"
}
},
"additionalProperties": false
},
"MfeInternalIdentityConfiguration": {
"type": "object",
"properties": {
"identityType": {
"$ref": "#/components/schemas/MfeInternalIdentityType"
}
},
"additionalProperties": false
},
"MfeInternalIdentityType": {
"enum": [
"Managed",
"AMLToken",
"UserIdentity"
],
"type": "string"
},
"MfeInternalMLFlowAutologgerState": {
"enum": [
"Enabled",
"Disabled"
],
"type": "string"
},
"MfeInternalNodes": {
"type": "object",
"properties": {
"nodesValueType": {
"$ref": "#/components/schemas/MfeInternalNodesValueType"
}
},
"additionalProperties": false
},
"MfeInternalNodesValueType": {
"enum": [
"All"
],
"type": "string"
},
"MfeInternalOutputData": {
"type": "object",
"properties": {
"datasetName": {
"type": "string",
"nullable": true
},
"datastore": {
"type": "string",
"nullable": true
},
"datapath": {
"type": "string",
"nullable": true
},
"mode": {
"$ref": "#/components/schemas/DataBindingMode"
}
},
"additionalProperties": false
},
"MfeInternalPipelineType": {
"enum": [
"AzureML"
],
"type": "string"
},
"MfeInternalScheduleStatus": {
"enum": [
"Enabled",
"Disabled"
],
"type": "string"
},
"MfeInternalSecretConfiguration": {
"type": "object",
"properties": {
"workspaceSecretName": {
"type": "string",
"nullable": true
},
"uri": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"MfeInternalUriReference": {
"type": "object",
"properties": {
"file": {
"type": "string",
"nullable": true
},
"folder": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"MfeInternalV20211001ComponentJob": {
"type": "object",
"properties": {
"computeId": {
"type": "string",
"nullable": true
},
"componentId": {
"type": "string",
"nullable": true
},
"inputs": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/JobInput"
},
"description": "This is a dictionary",
"nullable": true
},
"outputs": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/JobOutput"
},
"description": "This is a dictionary",
"nullable": true
},
"overrides": {
"nullable": true
}
},
"additionalProperties": false
},
"MinMaxParameterRule": {
"type": "object",
"properties": {
"min": {
"type": "number",
"format": "double",
"nullable": true
},
"max": {
"type": "number",
"format": "double",
"nullable": true
}
},
"additionalProperties": false
},
"MlcComputeInfo": {
"type": "object",
"properties": {
"mlcComputeType": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"ModelDto": {
"type": "object",
"properties": {
"feedName": {
"type": "string",
"nullable": true
},
"name": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"amlDataStoreName": {
"type": "string",
"nullable": true
},
"relativePath": {
"type": "string",
"nullable": true
},
"id": {
"type": "string",
"nullable": true
},
"version": {
"type": "string",
"nullable": true
},
"systemData": {
"$ref": "#/components/schemas/SystemData"
},
"armId": {
"type": "string",
"nullable": true
},
"onlineEndpointYamlStr": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"ModelManagementErrorResponse": {
"type": "object",
"properties": {
"code": {
"type": "string",
"nullable": true
},
"statusCode": {
"type": "integer",
"format": "int32"
},
"message": {
"type": "string",
"nullable": true
},
"target": {
"type": "string",
"nullable": true
},
"details": {
"type": "array",
"items": {
"$ref": "#/components/schemas/InnerErrorDetails"
},
"nullable": true
},
"correlation": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"nullable": true
}
},
"additionalProperties": false
},
"ModifyPipelineJobScheduleDto": {
"type": "object",
"properties": {
"pipelineJobName": {
"type": "string",
"nullable": true
},
"pipelineJobRuntimeSettings": {
"$ref": "#/components/schemas/PipelineJobRuntimeBasicSettings"
},
"displayName": {
"type": "string",
"nullable": true
},
"triggerType": {
"$ref": "#/components/schemas/TriggerType"
},
"recurrence": {
"$ref": "#/components/schemas/Recurrence"
},
"cron": {
"$ref": "#/components/schemas/Cron"
},
"status": {
"$ref": "#/components/schemas/ScheduleStatus"
},
"description": {
"type": "string",
"nullable": true
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"properties": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
}
},
"additionalProperties": false
},
"ModuleDto": {
"type": "object",
"properties": {
"namespace": {
"type": "string",
"nullable": true
},
"tags": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"displayName": {
"type": "string",
"nullable": true
},
"dictTags": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"moduleVersionId": {
"type": "string",
"nullable": true
},
"feedName": {
"type": "string",
"nullable": true
},
"registryName": {
"type": "string",
"nullable": true
},
"moduleName": {
"type": "string",
"nullable": true
},
"moduleVersion": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"owner": {
"type": "string",
"nullable": true
},
"jobType": {
"type": "string",
"nullable": true
},
"defaultVersion": {
"type": "string",
"nullable": true
},
"familyId": {
"type": "string",
"nullable": true
},
"helpDocument": {
"type": "string",
"nullable": true
},
"codegenBy": {
"type": "string",
"nullable": true
},
"armId": {
"type": "string",
"nullable": true
},
"moduleScope": {
"$ref": "#/components/schemas/ModuleScope"
},
"moduleEntity": {
"$ref": "#/components/schemas/ModuleEntity"
},
"inputTypes": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"outputTypes": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"entityStatus": {
"$ref": "#/components/schemas/EntityStatus"
},
"createdDate": {
"type": "string",
"format": "date-time"
},
"lastModifiedDate": {
"type": "string",
"format": "date-time"
},
"yamlLink": {
"type": "string",
"nullable": true
},
"yamlLinkWithCommitSha": {
"type": "string",
"nullable": true
},
"moduleSourceType": {
"$ref": "#/components/schemas/ModuleSourceType"
},
"registeredBy": {
"type": "string",
"nullable": true
},
"versions": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AzureMLModuleVersionDescriptor"
},
"nullable": true
},
"isDefaultModuleVersion": {
"type": "boolean",
"nullable": true
},
"systemData": {
"$ref": "#/components/schemas/SystemData"
},
"systemMeta": {
"$ref": "#/components/schemas/SystemMeta"
},
"snapshotId": {
"type": "string",
"nullable": true
},
"entry": {
"type": "string",
"nullable": true
},
"osType": {
"type": "string",
"nullable": true
},
"requireGpu": {
"type": "boolean",
"nullable": true
},
"modulePythonInterface": {
"$ref": "#/components/schemas/ModulePythonInterface"
},
"environmentAssetId": {
"type": "string",
"nullable": true
},
"runSettingParameters": {
"type": "array",
"items": {
"$ref": "#/components/schemas/RunSettingParameter"
},
"nullable": true
},
"supportedUIInputDataDeliveryModes": {
"type": "object",
"additionalProperties": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UIInputDataDeliveryMode"
},
"nullable": true
},
"nullable": true
},
"outputSettingSpecs": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/OutputSettingSpec"
},
"nullable": true
},
"yamlStr": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"ModuleDtoFields": {
"enum": [
"Definition",
"YamlStr",
"RegistrationContext",
"RunSettingParameters",
"RunDefinition",
"All",
"Default",
"Basic",
"Minimal"
],
"type": "string"
},
"ModuleDtoWithErrors": {
"type": "object",
"properties": {
"versionIdToModuleDto": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/ModuleDto"
},
"description": "This is a dictionary",
"nullable": true
},
"nameAndVersionToModuleDto": {
"type": "array",
"items": {
"$ref": "#/components/schemas/KeyValuePairComponentNameMetaInfoModuleDto"
},
"nullable": true
},
"versionIdToError": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/ErrorResponse"
},
"description": "This is a dictionary",
"nullable": true
},
"nameAndVersionToError": {
"type": "array",
"items": {
"$ref": "#/components/schemas/KeyValuePairComponentNameMetaInfoErrorResponse"
},
"nullable": true
}
},
"additionalProperties": false
},
"ModuleDtoWithValidateStatus": {
"type": "object",
"properties": {
"existingModuleEntity": {
"$ref": "#/components/schemas/ModuleEntity"
},
"status": {
"$ref": "#/components/schemas/ModuleInfoFromYamlStatusEnum"
},
"statusDetails": {
"type": "string",
"nullable": true
},
"errorDetails": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"serializedModuleInfo": {
"type": "string",
"nullable": true
},
"namespace": {
"type": "string",
"nullable": true
},
"tags": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"displayName": {
"type": "string",
"nullable": true
},
"dictTags": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"moduleVersionId": {
"type": "string",
"nullable": true
},
"feedName": {
"type": "string",
"nullable": true
},
"registryName": {
"type": "string",
"nullable": true
},
"moduleName": {
"type": "string",
"nullable": true
},
"moduleVersion": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"owner": {
"type": "string",
"nullable": true
},
"jobType": {
"type": "string",
"nullable": true
},
"defaultVersion": {
"type": "string",
"nullable": true
},
"familyId": {
"type": "string",
"nullable": true
},
"helpDocument": {
"type": "string",
"nullable": true
},
"codegenBy": {
"type": "string",
"nullable": true
},
"armId": {
"type": "string",
"nullable": true
},
"moduleScope": {
"$ref": "#/components/schemas/ModuleScope"
},
"moduleEntity": {
"$ref": "#/components/schemas/ModuleEntity"
},
"inputTypes": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"outputTypes": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"entityStatus": {
"$ref": "#/components/schemas/EntityStatus"
},
"createdDate": {
"type": "string",
"format": "date-time"
},
"lastModifiedDate": {
"type": "string",
"format": "date-time"
},
"yamlLink": {
"type": "string",
"nullable": true
},
"yamlLinkWithCommitSha": {
"type": "string",
"nullable": true
},
"moduleSourceType": {
"$ref": "#/components/schemas/ModuleSourceType"
},
"registeredBy": {
"type": "string",
"nullable": true
},
"versions": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AzureMLModuleVersionDescriptor"
},
"nullable": true
},
"isDefaultModuleVersion": {
"type": "boolean",
"nullable": true
},
"systemData": {
"$ref": "#/components/schemas/SystemData"
},
"systemMeta": {
"$ref": "#/components/schemas/SystemMeta"
},
"snapshotId": {
"type": "string",
"nullable": true
},
"entry": {
"type": "string",
"nullable": true
},
"osType": {
"type": "string",
"nullable": true
},
"requireGpu": {
"type": "boolean",
"nullable": true
},
"modulePythonInterface": {
"$ref": "#/components/schemas/ModulePythonInterface"
},
"environmentAssetId": {
"type": "string",
"nullable": true
},
"runSettingParameters": {
"type": "array",
"items": {
"$ref": "#/components/schemas/RunSettingParameter"
},
"nullable": true
},
"supportedUIInputDataDeliveryModes": {
"type": "object",
"additionalProperties": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UIInputDataDeliveryMode"
},
"nullable": true
},
"nullable": true
},
"outputSettingSpecs": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/OutputSettingSpec"
},
"nullable": true
},
"yamlStr": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"ModuleEntity": {
"type": "object",
"properties": {
"displayName": {
"type": "string",
"nullable": true
},
"moduleExecutionType": {
"type": "string",
"nullable": true
},
"moduleType": {
"$ref": "#/components/schemas/ModuleType"
},
"moduleTypeVersion": {
"type": "string",
"nullable": true
},
"uploadState": {
"$ref": "#/components/schemas/UploadState"
},
"isDeterministic": {
"type": "boolean"
},
"structuredInterface": {
"$ref": "#/components/schemas/StructuredInterface"
},
"dataLocation": {
"$ref": "#/components/schemas/DataLocation"
},
"identifierHash": {
"type": "string",
"nullable": true
},
"identifierHashV2": {
"type": "string",
"nullable": true
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"properties": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"createdBy": {
"$ref": "#/components/schemas/CreatedBy"
},
"lastUpdatedBy": {
"$ref": "#/components/schemas/CreatedBy"
},
"runconfig": {
"type": "string",
"nullable": true
},
"cloudSettings": {
"$ref": "#/components/schemas/CloudSettings"
},
"category": {
"type": "string",
"nullable": true
},
"stepType": {
"type": "string",
"nullable": true
},
"stage": {
"type": "string",
"nullable": true
},
"name": {
"type": "string",
"nullable": true
},
"hash": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"entityStatus": {
"$ref": "#/components/schemas/EntityStatus"
},
"id": {
"type": "string",
"nullable": true
},
"etag": {
"type": "string",
"nullable": true
},
"createdDate": {
"type": "string",
"format": "date-time"
},
"lastModifiedDate": {
"type": "string",
"format": "date-time"
}
},
"additionalProperties": false
},
"ModuleInfoFromYamlStatusEnum": {
"enum": [
"NewModule",
"NewVersion",
"Conflict",
"ParseError",
"ProcessRequestError"
],
"type": "string"
},
"ModulePythonInterface": {
"type": "object",
"properties": {
"inputs": {
"type": "array",
"items": {
"$ref": "#/components/schemas/PythonInterfaceMapping"
},
"nullable": true
},
"outputs": {
"type": "array",
"items": {
"$ref": "#/components/schemas/PythonInterfaceMapping"
},
"nullable": true
},
"parameters": {
"type": "array",
"items": {
"$ref": "#/components/schemas/PythonInterfaceMapping"
},
"nullable": true
}
},
"additionalProperties": false
},
"ModuleRunSettingTypes": {
"enum": [
"All",
"Released",
"Default",
"Testing",
"Legacy",
"Preview",
"UxFull",
"Integration",
"UxIntegration",
"Full"
],
"type": "string"
},
"ModuleScope": {
"enum": [
"All",
"Global",
"Workspace",
"Anonymous",
"Step",
"Draft",
"Feed",
"Registry",
"SystemAutoCreated"
],
"type": "string"
},
"ModuleSourceType": {
"enum": [
"Unknown",
"Local",
"GithubFile",
"GithubFolder",
"DevopsArtifactsZip",
"SerializedModuleInfo"
],
"type": "string"
},
"ModuleType": {
"enum": [
"None",
"BatchInferencing"
],
"type": "string"
},
"ModuleUpdateOperationType": {
"enum": [
"SetDefaultVersion",
"EnableModule",
"DisableModule",
"UpdateDisplayName",
"UpdateDescription",
"UpdateTags"
],
"type": "string"
},
"ModuleWorkingMechanism": {
"enum": [
"Normal",
"OutputToDataset"
],
"type": "string"
},
"MpiConfiguration": {
"type": "object",
"properties": {
"processCountPerNode": {
"type": "integer",
"format": "int32"
}
},
"additionalProperties": false
},
"NCrossValidationMode": {
"enum": [
"Auto",
"Custom"
],
"type": "string"
},
"NCrossValidations": {
"type": "object",
"properties": {
"mode": {
"$ref": "#/components/schemas/NCrossValidationMode"
},
"value": {
"type": "integer",
"format": "int32"
}
},
"additionalProperties": false
},
"Node": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"type": {
"$ref": "#/components/schemas/ToolType"
},
"source": {
"$ref": "#/components/schemas/NodeSource"
},
"inputs": {
"type": "object",
"additionalProperties": {
"nullable": true
},
"nullable": true
},
"tool": {
"type": "string",
"nullable": true
},
"reduce": {
"type": "boolean"
},
"activate": {
"$ref": "#/components/schemas/Activate"
},
"comment": {
"type": "string",
"nullable": true
},
"api": {
"type": "string",
"nullable": true
},
"provider": {
"type": "string",
"nullable": true
},
"connection": {
"type": "string",
"nullable": true
},
"module": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"NodeCompositionMode": {
"enum": [
"None",
"OnlySequential",
"Full"
],
"type": "string"
},
"NodeInputPort": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"documentation": {
"type": "string",
"nullable": true
},
"dataTypesIds": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"isOptional": {
"type": "boolean"
}
},
"additionalProperties": false
},
"NodeLayout": {
"type": "object",
"properties": {
"x": {
"type": "number",
"format": "float"
},
"y": {
"type": "number",
"format": "float"
},
"width": {
"type": "number",
"format": "float"
},
"height": {
"type": "number",
"format": "float"
},
"extendedData": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"NodeOutputPort": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"documentation": {
"type": "string",
"nullable": true
},
"dataTypeId": {
"type": "string",
"nullable": true
},
"passThroughInputName": {
"type": "string",
"nullable": true
},
"EarlyAvailable": {
"type": "boolean"
},
"dataStoreMode": {
"$ref": "#/components/schemas/AEVADataStoreMode"
}
},
"additionalProperties": false
},
"NodePortInterface": {
"type": "object",
"properties": {
"inputs": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NodeInputPort"
},
"nullable": true
},
"outputs": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NodeOutputPort"
},
"nullable": true
},
"controlOutputs": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ControlOutput"
},
"nullable": true
}
},
"additionalProperties": false
},
"NodeSource": {
"type": "object",
"properties": {
"type": {
"type": "string",
"nullable": true
},
"tool": {
"type": "string",
"nullable": true
},
"path": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"NodeTelemetryMetaInfo": {
"type": "object",
"properties": {
"pipelineRunId": {
"type": "string",
"nullable": true
},
"nodeId": {
"type": "string",
"nullable": true
},
"versionId": {
"type": "string",
"nullable": true
},
"nodeType": {
"type": "string",
"nullable": true
},
"nodeSource": {
"type": "string",
"nullable": true
},
"isAnonymous": {
"type": "boolean"
},
"isPipelineComponent": {
"type": "boolean"
}
},
"additionalProperties": false
},
"NodeVariant": {
"type": "object",
"properties": {
"variants": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/VariantNode"
},
"description": "This is a dictionary",
"nullable": true
},
"defaultVariantId": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"Nodes": {
"required": [
"nodes_value_type"
],
"type": "object",
"properties": {
"nodes_value_type": {
"$ref": "#/components/schemas/NodesValueType"
},
"values": {
"type": "array",
"items": {
"type": "integer",
"format": "int32"
},
"nullable": true
}
},
"additionalProperties": false
},
"NodesValueType": {
"enum": [
"All",
"Custom"
],
"type": "string"
},
"NoteBookTaskDto": {
"type": "object",
"properties": {
"notebook_path": {
"type": "string",
"nullable": true
},
"base_parameters": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
}
},
"additionalProperties": false
},
"NotificationSetting": {
"type": "object",
"properties": {
"emails": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"emailOn": {
"type": "array",
"items": {
"$ref": "#/components/schemas/EmailNotificationEnableType"
},
"nullable": true
},
"webhooks": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/Webhook"
},
"nullable": true
}
},
"additionalProperties": false
},
"ODataError": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "Gets or sets a language-independent, service-defined error code.\r\nThis code serves as a sub-status for the HTTP error code specified\r\nin the response.",
"nullable": true
},
"message": {
"type": "string",
"description": "Gets or sets a human-readable, language-dependent representation of the error.\r\nThe `Content-Language` header MUST contain the language code from [RFC5646]\r\ncorresponding to the language in which the value for message is written.",
"nullable": true
},
"target": {
"type": "string",
"description": "Gets or sets the target of the particular error\r\n(for example, the name of the property in error).",
"nullable": true
},
"details": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ODataErrorDetail"
},
"description": "Gets or sets additional details about the error.",
"nullable": true
},
"innererror": {
"$ref": "#/components/schemas/ODataInnerError"
}
},
"additionalProperties": false,
"description": "Represents OData v4 error object."
},
"ODataErrorDetail": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "Gets or sets a language-independent, service-defined error code.",
"nullable": true
},
"message": {
"type": "string",
"description": "Gets or sets a human-readable, language-dependent representation of the error.",
"nullable": true
},
"target": {
"type": "string",
"description": "Gets or sets the target of the particular error\r\n(for example, the name of the property in error).",
"nullable": true
}
},
"additionalProperties": false,
"description": "Represents additional error details."
},
"ODataErrorResponse": {
"type": "object",
"properties": {
"error": {
"$ref": "#/components/schemas/ODataError"
}
},
"additionalProperties": false,
"description": "Represents OData v4 compliant error response message."
},
"ODataInnerError": {
"type": "object",
"properties": {
"clientRequestId": {
"type": "string",
"description": "Gets or sets the client provided request ID.",
"nullable": true
},
"serviceRequestId": {
"type": "string",
"description": "Gets or sets the server generated request ID.",
"nullable": true
},
"trace": {
"type": "string",
"description": "Gets or sets the exception stack trace.\r\nDO NOT INCLUDE IT IN PRODUCTION ENVIRONMENT.",
"nullable": true
},
"context": {
"type": "string",
"description": "Gets or sets additional context for the exception.\r\nDO NOT INCLUDE IT IN PRODUCTION ENVIRONMENT.",
"nullable": true
}
},
"additionalProperties": false,
"description": "The contents of this object are service-defined.\r\nUsually this object contains information that will help debug the service\r\nand SHOULD only be used in development environments in order to guard\r\nagainst potential security concerns around information disclosure."
},
"Orientation": {
"enum": [
"Horizontal",
"Vertical"
],
"type": "string"
},
"OutputData": {
"type": "object",
"properties": {
"outputLocation": {
"$ref": "#/components/schemas/ExecutionDataLocation"
},
"mechanism": {
"$ref": "#/components/schemas/OutputMechanism"
},
"additionalOptions": {
"$ref": "#/components/schemas/OutputOptions"
},
"environmentVariableName": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"OutputDataBinding": {
"type": "object",
"properties": {
"datastoreId": {
"type": "string",
"nullable": true
},
"pathOnDatastore": {
"type": "string",
"nullable": true
},
"pathOnCompute": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"uri": {
"$ref": "#/components/schemas/MfeInternalUriReference"
},
"mode": {
"$ref": "#/components/schemas/DataBindingMode"
},
"assetUri": {
"type": "string",
"nullable": true
},
"isAssetJobOutput": {
"type": "boolean",
"nullable": true
},
"jobOutputType": {
"$ref": "#/components/schemas/JobOutputType"
},
"assetName": {
"type": "string",
"nullable": true
},
"assetVersion": {
"type": "string",
"nullable": true
},
"autoDeleteSetting": {
"$ref": "#/components/schemas/AutoDeleteSetting"
}
},
"additionalProperties": false
},
"OutputDatasetLineage": {
"type": "object",
"properties": {
"identifier": {
"$ref": "#/components/schemas/DatasetIdentifier"
},
"outputType": {
"$ref": "#/components/schemas/DatasetOutputType"
},
"outputDetails": {
"$ref": "#/components/schemas/DatasetOutputDetails"
}
},
"additionalProperties": false
},
"OutputDefinition": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"type": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ValueType"
},
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"isProperty": {
"type": "boolean"
}
},
"additionalProperties": false
},
"OutputMechanism": {
"enum": [
"Upload",
"Mount",
"Hdfs",
"Link",
"Direct"
],
"type": "string"
},
"OutputOptions": {
"type": "object",
"properties": {
"pathOnCompute": {
"type": "string",
"nullable": true
},
"registrationOptions": {
"$ref": "#/components/schemas/RegistrationOptions"
},
"uploadOptions": {
"$ref": "#/components/schemas/UploadOptions"
},
"mountOptions": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
}
},
"additionalProperties": false
},
"OutputSetting": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"dataStoreName": {
"type": "string",
"nullable": true
},
"DataStoreNameParameterAssignment": {
"$ref": "#/components/schemas/ParameterAssignment"
},
"dataStoreMode": {
"$ref": "#/components/schemas/AEVADataStoreMode"
},
"DataStoreModeParameterAssignment": {
"$ref": "#/components/schemas/ParameterAssignment"
},
"pathOnCompute": {
"type": "string",
"nullable": true
},
"PathOnComputeParameterAssignment": {
"$ref": "#/components/schemas/ParameterAssignment"
},
"overwrite": {
"type": "boolean"
},
"dataReferenceName": {
"type": "string",
"nullable": true
},
"webServicePort": {
"type": "string",
"nullable": true
},
"datasetRegistration": {
"$ref": "#/components/schemas/DatasetRegistration"
},
"datasetOutputOptions": {
"$ref": "#/components/schemas/DatasetOutputOptions"
},
"AssetOutputSettings": {
"$ref": "#/components/schemas/AssetOutputSettings"
},
"parameterName": {
"type": "string",
"nullable": true
},
"AssetOutputSettingsParameterName": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"OutputSettingSpec": {
"type": "object",
"properties": {
"supportedDataStoreModes": {
"type": "array",
"items": {
"$ref": "#/components/schemas/AEVADataStoreMode"
},
"nullable": true
},
"defaultAssetOutputPath": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"PaginatedDataInfoList": {
"type": "object",
"properties": {
"value": {
"type": "array",
"items": {
"$ref": "#/components/schemas/DataInfo"
},
"description": "An array of objects of type DataInfo.",
"nullable": true
},
"continuationToken": {
"type": "string",
"description": "The token used in retrieving the next page. If null, there are no additional pages.",
"nullable": true
},
"nextLink": {
"type": "string",
"description": "The link to the next page constructed using the continuationToken. If null, there are no additional pages.",
"nullable": true
}
},
"additionalProperties": false,
"description": "A paginated list of DataInfos."
},
"PaginatedModelDtoList": {
"type": "object",
"properties": {
"value": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ModelDto"
},
"description": "An array of objects of type ModelDto.",
"nullable": true
},
"continuationToken": {
"type": "string",
"description": "The token used in retrieving the next page. If null, there are no additional pages.",
"nullable": true
},
"nextLink": {
"type": "string",
"description": "The link to the next page constructed using the continuationToken. If null, there are no additional pages.",
"nullable": true
}
},
"additionalProperties": false,
"description": "A paginated list of ModelDtos."
},
"PaginatedModuleDtoList": {
"type": "object",
"properties": {
"value": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ModuleDto"
},
"description": "An array of objects of type ModuleDto.",
"nullable": true
},
"continuationToken": {
"type": "string",
"description": "The token used in retrieving the next page. If null, there are no additional pages.",
"nullable": true
},
"nextLink": {
"type": "string",
"description": "The link to the next page constructed using the continuationToken. If null, there are no additional pages.",
"nullable": true
}
},
"additionalProperties": false,
"description": "A paginated list of ModuleDtos."
},
"PaginatedPipelineDraftSummaryList": {
"type": "object",
"properties": {
"value": {
"type": "array",
"items": {
"$ref": "#/components/schemas/PipelineDraftSummary"
},
"description": "An array of objects of type PipelineDraftSummary.",
"nullable": true
},
"continuationToken": {
"type": "string",
"description": "The token used in retrieving the next page. If null, there are no additional pages.",
"nullable": true
},
"nextLink": {
"type": "string",
"description": "The link to the next page constructed using the continuationToken. If null, there are no additional pages.",
"nullable": true
}
},
"additionalProperties": false,
"description": "A paginated list of PipelineDraftSummarys."
},
"PaginatedPipelineEndpointSummaryList": {
"type": "object",
"properties": {
"value": {
"type": "array",
"items": {
"$ref": "#/components/schemas/PipelineEndpointSummary"
},
"description": "An array of objects of type PipelineEndpointSummary.",
"nullable": true
},
"continuationToken": {
"type": "string",
"description": "The token used in retrieving the next page. If null, there are no additional pages.",
"nullable": true
},
"nextLink": {
"type": "string",
"description": "The link to the next page constructed using the continuationToken. If null, there are no additional pages.",
"nullable": true
}
},
"additionalProperties": false,
"description": "A paginated list of PipelineEndpointSummarys."
},
"PaginatedPipelineRunSummaryList": {
"type": "object",
"properties": {
"value": {
"type": "array",
"items": {
"$ref": "#/components/schemas/PipelineRunSummary"
},
"description": "An array of objects of type PipelineRunSummary.",
"nullable": true
},
"continuationToken": {
"type": "string",
"description": "The token used in retrieving the next page. If null, there are no additional pages.",
"nullable": true
},
"nextLink": {
"type": "string",
"description": "The link to the next page constructed using the continuationToken. If null, there are no additional pages.",
"nullable": true
}
},
"additionalProperties": false,
"description": "A paginated list of PipelineRunSummarys."
},
"PaginatedPublishedPipelineSummaryList": {
"type": "object",
"properties": {
"value": {
"type": "array",
"items": {
"$ref": "#/components/schemas/PublishedPipelineSummary"
},
"description": "An array of objects of type PublishedPipelineSummary.",
"nullable": true
},
"continuationToken": {
"type": "string",
"description": "The token used in retrieving the next page. If null, there are no additional pages.",
"nullable": true
},
"nextLink": {
"type": "string",
"description": "The link to the next page constructed using the continuationToken. If null, there are no additional pages.",
"nullable": true
}
},
"additionalProperties": false,
"description": "A paginated list of PublishedPipelineSummarys."
},
"ParallelForControlFlowInfo": {
"type": "object",
"properties": {
"parallelForItemsInput": {
"$ref": "#/components/schemas/ParameterAssignment"
}
},
"additionalProperties": false
},
"ParallelTaskConfiguration": {
"type": "object",
"properties": {
"maxRetriesPerWorker": {
"type": "integer",
"format": "int32"
},
"workerCountPerNode": {
"type": "integer",
"format": "int32"
},
"terminalExitCodes": {
"type": "array",
"items": {
"type": "integer",
"format": "int32"
},
"nullable": true
},
"configuration": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
}
},
"additionalProperties": false
},
"Parameter": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"documentation": {
"type": "string",
"nullable": true
},
"defaultValue": {
"type": "string",
"nullable": true
},
"isOptional": {
"type": "boolean"
},
"minMaxRules": {
"type": "array",
"items": {
"$ref": "#/components/schemas/MinMaxParameterRule"
},
"nullable": true
},
"enumRules": {
"type": "array",
"items": {
"$ref": "#/components/schemas/EnumParameterRule"
},
"nullable": true
},
"type": {
"$ref": "#/components/schemas/ParameterType"
},
"label": {
"type": "string",
"nullable": true
},
"groupNames": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"argumentName": {
"type": "string",
"nullable": true
},
"uiHint": {
"$ref": "#/components/schemas/UIParameterHint"
}
},
"additionalProperties": false
},
"ParameterAssignment": {
"type": "object",
"properties": {
"valueType": {
"$ref": "#/components/schemas/ParameterValueType"
},
"assignmentsToConcatenate": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ParameterAssignment"
},
"nullable": true
},
"dataPathAssignment": {
"$ref": "#/components/schemas/LegacyDataPath"
},
"dataSetDefinitionValueAssignment": {
"$ref": "#/components/schemas/DataSetDefinitionValue"
},
"name": {
"type": "string",
"nullable": true
},
"value": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"ParameterDefinition": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"type": {
"type": "string",
"nullable": true
},
"value": {
"type": "string",
"nullable": true
},
"isOptional": {
"type": "boolean"
}
},
"additionalProperties": false
},
"ParameterType": {
"enum": [
"Int",
"Double",
"Bool",
"String",
"Undefined"
],
"type": "string"
},
"ParameterValueType": {
"enum": [
"Literal",
"GraphParameterName",
"Concatenate",
"Input",
"DataPath",
"DataSetDefinition"
],
"type": "string"
},
"PatchFlowRequest": {
"type": "object",
"properties": {
"flowPatchOperationType": {
"$ref": "#/components/schemas/FlowPatchOperationType"
},
"flowDefinitionFilePath": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"Pipeline": {
"type": "object",
"properties": {
"runId": {
"type": "string",
"nullable": true
},
"continueRunOnStepFailure": {
"type": "boolean"
},
"defaultDatastoreName": {
"type": "string",
"nullable": true
},
"componentJobs": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/ComponentJob"
},
"description": "This is a dictionary",
"nullable": true
},
"inputs": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/PipelineInput"
},
"description": "This is a dictionary",
"nullable": true
},
"outputs": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/PipelineOutput"
},
"description": "This is a dictionary",
"nullable": true
}
},
"additionalProperties": false
},
"PipelineDraft": {
"type": "object",
"properties": {
"graphDraftId": {
"type": "string",
"nullable": true
},
"sourcePipelineRunId": {
"type": "string",
"nullable": true
},
"latestPipelineRunId": {
"type": "string",
"nullable": true
},
"latestRunExperimentName": {
"type": "string",
"nullable": true
},
"latestRunExperimentId": {
"type": "string",
"nullable": true
},
"isLatestRunExperimentArchived": {
"type": "boolean",
"nullable": true
},
"status": {
"$ref": "#/components/schemas/PipelineStatus"
},
"graphDetail": {
"$ref": "#/components/schemas/PipelineRunGraphDetail"
},
"realTimeEndpointInfo": {
"$ref": "#/components/schemas/RealTimeEndpointInfo"
},
"linkedPipelinesInfo": {
"type": "array",
"items": {
"$ref": "#/components/schemas/LinkedPipelineInfo"
},
"nullable": true
},
"nodesInDraft": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"studioMigrationInfo": {
"$ref": "#/components/schemas/StudioMigrationInfo"
},
"flattenedSubGraphs": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/PipelineSubDraft"
},
"nullable": true
},
"pipelineRunSettingParameters": {
"type": "array",
"items": {
"$ref": "#/components/schemas/RunSettingParameter"
},
"nullable": true
},
"pipelineRunSettings": {
"type": "array",
"items": {
"$ref": "#/components/schemas/RunSettingParameterAssignment"
},
"nullable": true
},
"continueRunOnStepFailure": {
"type": "boolean"
},
"continueRunOnFailedOptionalInput": {
"type": "boolean"
},
"defaultCompute": {
"$ref": "#/components/schemas/ComputeSetting"
},
"defaultDatastore": {
"$ref": "#/components/schemas/DatastoreSetting"
},
"defaultCloudPriority": {
"$ref": "#/components/schemas/CloudPrioritySetting"
},
"enforceRerun": {
"type": "boolean",
"nullable": true
},
"pipelineParameters": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"dataPathAssignments": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/LegacyDataPath"
},
"description": "This is a dictionary",
"nullable": true
},
"dataSetDefinitionValueAssignments": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/DataSetDefinitionValue"
},
"description": "This is a dictionary",
"nullable": true
},
"assetOutputSettingsAssignments": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/AssetOutputSettings"
},
"description": "This is a dictionary",
"nullable": true
},
"pipelineTimeout": {
"type": "integer",
"format": "int32"
},
"identityConfig": {
"$ref": "#/components/schemas/IdentitySetting"
},
"graphComponentsMode": {
"$ref": "#/components/schemas/GraphComponentsMode"
},
"name": {
"type": "string",
"nullable": true
},
"lastEditedBy": {
"type": "string",
"nullable": true
},
"createdBy": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"pipelineType": {
"$ref": "#/components/schemas/PipelineType"
},
"pipelineDraftMode": {
"$ref": "#/components/schemas/PipelineDraftMode"
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"properties": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"entityStatus": {
"$ref": "#/components/schemas/EntityStatus"
},
"id": {
"type": "string",
"nullable": true
},
"etag": {
"type": "string",
"nullable": true
},
"createdDate": {
"type": "string",
"format": "date-time"
},
"lastModifiedDate": {
"type": "string",
"format": "date-time"
}
},
"additionalProperties": false
},
"PipelineDraftMode": {
"enum": [
"None",
"Normal",
"Custom"
],
"type": "string"
},
"PipelineDraftStepDetails": {
"type": "object",
"properties": {
"runId": {
"type": "string",
"nullable": true
},
"target": {
"type": "string",
"nullable": true
},
"status": {
"$ref": "#/components/schemas/RunStatus"
},
"statusDetail": {
"type": "string",
"nullable": true
},
"parentRunId": {
"type": "string",
"nullable": true
},
"startTime": {
"type": "string",
"format": "date-time",
"nullable": true
},
"endTime": {
"type": "string",
"format": "date-time",
"nullable": true
},
"isReused": {
"type": "boolean",
"nullable": true
},
"reusedRunId": {
"type": "string",
"nullable": true
},
"reusedPipelineRunId": {
"type": "string",
"nullable": true
},
"logs": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"outputLog": {
"type": "string",
"nullable": true
},
"runConfiguration": {
"$ref": "#/components/schemas/RunConfiguration"
},
"outputs": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"portOutputs": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/PortOutputInfo"
},
"description": "This is a dictionary",
"nullable": true
},
"isExperimentArchived": {
"type": "boolean",
"nullable": true
}
},
"additionalProperties": false
},
"PipelineDraftSummary": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"lastEditedBy": {
"type": "string",
"nullable": true
},
"createdBy": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"pipelineType": {
"$ref": "#/components/schemas/PipelineType"
},
"pipelineDraftMode": {
"$ref": "#/components/schemas/PipelineDraftMode"
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"properties": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"entityStatus": {
"$ref": "#/components/schemas/EntityStatus"
},
"id": {
"type": "string",
"nullable": true
},
"etag": {
"type": "string",
"nullable": true
},
"createdDate": {
"type": "string",
"format": "date-time"
},
"lastModifiedDate": {
"type": "string",
"format": "date-time"
}
},
"additionalProperties": false
},
"PipelineEndpoint": {
"type": "object",
"properties": {
"defaultVersion": {
"type": "string",
"nullable": true
},
"defaultPipelineId": {
"type": "string",
"nullable": true
},
"defaultGraphId": {
"type": "string",
"nullable": true
},
"restEndpoint": {
"type": "string",
"nullable": true
},
"publishedDate": {
"type": "string",
"format": "date-time"
},
"publishedBy": {
"type": "string",
"nullable": true
},
"parameters": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"dataSetDefinitionValueAssignment": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/DataSetDefinitionValue"
},
"description": "This is a dictionary",
"nullable": true
},
"defaultPipelineName": {
"type": "string",
"nullable": true
},
"name": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"updatedBy": {
"type": "string",
"nullable": true
},
"swaggerUrl": {
"type": "string",
"nullable": true
},
"lastRunTime": {
"type": "string",
"format": "date-time",
"nullable": true
},
"lastRunStatus": {
"$ref": "#/components/schemas/PipelineRunStatusCode"
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"entityStatus": {
"$ref": "#/components/schemas/EntityStatus"
},
"id": {
"type": "string",
"nullable": true
},
"etag": {
"type": "string",
"nullable": true
},
"createdDate": {
"type": "string",
"format": "date-time"
},
"lastModifiedDate": {
"type": "string",
"format": "date-time"
}
},
"additionalProperties": false
},
"PipelineEndpointSummary": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"updatedBy": {
"type": "string",
"nullable": true
},
"swaggerUrl": {
"type": "string",
"nullable": true
},
"lastRunTime": {
"type": "string",
"format": "date-time",
"nullable": true
},
"lastRunStatus": {
"$ref": "#/components/schemas/PipelineRunStatusCode"
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"entityStatus": {
"$ref": "#/components/schemas/EntityStatus"
},
"id": {
"type": "string",
"nullable": true
},
"etag": {
"type": "string",
"nullable": true
},
"createdDate": {
"type": "string",
"format": "date-time"
},
"lastModifiedDate": {
"type": "string",
"format": "date-time"
}
},
"additionalProperties": false
},
"PipelineGraph": {
"type": "object",
"properties": {
"graphModuleDtos": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ModuleDto"
},
"nullable": true
},
"graphDataSources": {
"type": "array",
"items": {
"$ref": "#/components/schemas/DataInfo"
},
"nullable": true
},
"graphs": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/PipelineGraph"
},
"description": "This is a dictionary",
"nullable": true
},
"graphDrafts": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/PipelineGraph"
},
"description": "This is a dictionary",
"nullable": true
},
"moduleNodeRunSettings": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GraphModuleNodeRunSetting"
},
"nullable": true
},
"moduleNodeUIInputSettings": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GraphModuleNodeUIInputSetting"
},
"nullable": true
},
"subPipelinesInfo": {
"$ref": "#/components/schemas/SubPipelinesInfo"
},
"referencedNodeId": {
"type": "string",
"nullable": true
},
"pipelineRunSettingParameters": {
"type": "array",
"items": {
"$ref": "#/components/schemas/RunSettingParameter"
},
"nullable": true
},
"pipelineRunSettings": {
"type": "array",
"items": {
"$ref": "#/components/schemas/RunSettingParameterAssignment"
},
"nullable": true
},
"realTimeEndpointInfo": {
"$ref": "#/components/schemas/RealTimeEndpointInfo"
},
"nodeTelemetryMetaInfos": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NodeTelemetryMetaInfo"
},
"nullable": true
},
"graphComponentsMode": {
"$ref": "#/components/schemas/GraphComponentsMode"
},
"moduleNodes": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GraphModuleNode"
},
"nullable": true
},
"datasetNodes": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GraphDatasetNode"
},
"nullable": true
},
"subGraphNodes": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GraphReferenceNode"
},
"nullable": true
},
"controlReferenceNodes": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GraphControlReferenceNode"
},
"nullable": true
},
"controlNodes": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GraphControlNode"
},
"nullable": true
},
"edges": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GraphEdge"
},
"nullable": true
},
"entityInterface": {
"$ref": "#/components/schemas/EntityInterface"
},
"graphLayout": {
"$ref": "#/components/schemas/GraphLayout"
},
"createdBy": {
"$ref": "#/components/schemas/CreatedBy"
},
"lastUpdatedBy": {
"$ref": "#/components/schemas/CreatedBy"
},
"defaultCompute": {
"$ref": "#/components/schemas/ComputeSetting"
},
"defaultDatastore": {
"$ref": "#/components/schemas/DatastoreSetting"
},
"defaultCloudPriority": {
"$ref": "#/components/schemas/CloudPrioritySetting"
},
"extendedProperties": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"parentSubGraphModuleIds": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"id": {
"type": "string",
"nullable": true
},
"etag": {
"type": "string",
"nullable": true
},
"createdDate": {
"type": "string",
"format": "date-time"
},
"lastModifiedDate": {
"type": "string",
"format": "date-time"
}
},
"additionalProperties": false
},
"PipelineInput": {
"type": "object",
"properties": {
"data": {
"$ref": "#/components/schemas/InputData"
}
},
"additionalProperties": false
},
"PipelineJob": {
"type": "object",
"properties": {
"jobType": {
"$ref": "#/components/schemas/JobType"
},
"pipelineJobType": {
"$ref": "#/components/schemas/MfeInternalPipelineType"
},
"pipeline": {
"$ref": "#/components/schemas/Pipeline"
},
"computeId": {
"type": "string",
"nullable": true
},
"runId": {
"type": "string",
"nullable": true
},
"settings": {
"nullable": true
},
"componentJobs": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/MfeInternalV20211001ComponentJob"
},
"description": "This is a dictionary",
"nullable": true
},
"inputs": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/JobInput"
},
"description": "This is a dictionary",
"nullable": true
},
"outputs": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/JobOutput"
},
"description": "This is a dictionary",
"nullable": true
},
"bindings": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Binding"
},
"nullable": true
},
"jobs": {
"type": "object",
"additionalProperties": { },
"description": "This is a dictionary",
"nullable": true
},
"inputBindings": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/InputDataBinding"
},
"description": "This is a dictionary",
"nullable": true
},
"outputBindings": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/OutputDataBinding"
},
"description": "This is a dictionary",
"nullable": true
},
"sourceJobId": {
"type": "string",
"nullable": true
},
"provisioningState": {
"$ref": "#/components/schemas/JobProvisioningState"
},
"parentJobName": {
"type": "string",
"nullable": true
},
"displayName": {
"type": "string",
"nullable": true
},
"experimentName": {
"type": "string",
"nullable": true
},
"status": {
"$ref": "#/components/schemas/JobStatus"
},
"interactionEndpoints": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/JobEndpoint"
},
"nullable": true
},
"identity": {
"$ref": "#/components/schemas/MfeInternalIdentityConfiguration"
},
"compute": {
"$ref": "#/components/schemas/ComputeConfiguration"
},
"priority": {
"type": "integer",
"format": "int32",
"nullable": true
},
"output": {
"$ref": "#/components/schemas/JobOutputArtifacts"
},
"isArchived": {
"type": "boolean"
},
"schedule": {
"$ref": "#/components/schemas/ScheduleBase"
},
"componentId": {
"type": "string",
"nullable": true
},
"notificationSetting": {
"$ref": "#/components/schemas/NotificationSetting"
},
"secretsConfiguration": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/MfeInternalSecretConfiguration"
},
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"properties": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
}
},
"additionalProperties": false
},
"PipelineJobRuntimeBasicSettings": {
"type": "object",
"properties": {
"pipelineRunSettings": {
"type": "array",
"items": {
"$ref": "#/components/schemas/RunSettingParameterAssignment"
},
"nullable": true
},
"experimentName": {
"type": "string",
"nullable": true
},
"pipelineJobName": {
"type": "string",
"nullable": true
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"displayName": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"triggerTimeString": {
"type": "string",
"nullable": true
},
"pipelineParameters": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"dataPathAssignments": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/LegacyDataPath"
},
"description": "This is a dictionary",
"nullable": true
},
"dataSetDefinitionValueAssignments": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/DataSetDefinitionValue"
},
"description": "This is a dictionary",
"nullable": true
},
"assetOutputSettingsAssignments": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/AssetOutputSettings"
},
"description": "This is a dictionary",
"nullable": true
}
},
"additionalProperties": false
},
"PipelineJobScheduleDto": {
"type": "object",
"properties": {
"systemData": {
"$ref": "#/components/schemas/SystemData"
},
"name": {
"type": "string",
"nullable": true
},
"pipelineJobName": {
"type": "string",
"nullable": true
},
"pipelineJobRuntimeSettings": {
"$ref": "#/components/schemas/PipelineJobRuntimeBasicSettings"
},
"displayName": {
"type": "string",
"nullable": true
},
"triggerType": {
"$ref": "#/components/schemas/TriggerType"
},
"recurrence": {
"$ref": "#/components/schemas/Recurrence"
},
"cron": {
"$ref": "#/components/schemas/Cron"
},
"status": {
"$ref": "#/components/schemas/ScheduleStatus"
},
"description": {
"type": "string",
"nullable": true
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"properties": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
}
},
"additionalProperties": false
},
"PipelineOutput": {
"type": "object",
"properties": {
"data": {
"$ref": "#/components/schemas/MfeInternalOutputData"
}
},
"additionalProperties": false
},
"PipelineRun": {
"type": "object",
"properties": {
"pipelineId": {
"type": "string",
"nullable": true
},
"runSource": {
"type": "string",
"nullable": true
},
"runType": {
"$ref": "#/components/schemas/RunType"
},
"parameters": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"dataPathAssignments": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/LegacyDataPath"
},
"description": "This is a dictionary",
"nullable": true
},
"dataSetDefinitionValueAssignment": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/DataSetDefinitionValue"
},
"description": "This is a dictionary",
"nullable": true
},
"assetOutputSettingsAssignments": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/AssetOutputSettings"
},
"description": "This is a dictionary",
"nullable": true
},
"totalSteps": {
"type": "integer",
"format": "int32"
},
"logs": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"userAlias": {
"type": "string",
"nullable": true
},
"enforceRerun": {
"type": "boolean",
"nullable": true
},
"continueRunOnFailedOptionalInput": {
"type": "boolean"
},
"defaultCompute": {
"$ref": "#/components/schemas/ComputeSetting"
},
"defaultDatastore": {
"$ref": "#/components/schemas/DatastoreSetting"
},
"defaultCloudPriority": {
"$ref": "#/components/schemas/CloudPrioritySetting"
},
"pipelineTimeoutSeconds": {
"type": "integer",
"format": "int32",
"nullable": true
},
"continueRunOnStepFailure": {
"type": "boolean"
},
"identityConfig": {
"$ref": "#/components/schemas/IdentitySetting"
},
"description": {
"type": "string",
"nullable": true
},
"displayName": {
"type": "string",
"nullable": true
},
"runNumber": {
"type": "integer",
"format": "int32",
"nullable": true
},
"statusCode": {
"$ref": "#/components/schemas/PipelineStatusCode"
},
"runStatus": {
"$ref": "#/components/schemas/RunStatus"
},
"statusDetail": {
"type": "string",
"nullable": true
},
"startTime": {
"type": "string",
"format": "date-time",
"nullable": true
},
"endTime": {
"type": "string",
"format": "date-time",
"nullable": true
},
"graphId": {
"type": "string",
"nullable": true
},
"experimentId": {
"type": "string",
"nullable": true
},
"experimentName": {
"type": "string",
"nullable": true
},
"isExperimentArchived": {
"type": "boolean",
"nullable": true
},
"submittedBy": {
"type": "string",
"nullable": true
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"stepTags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"properties": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"aetherStartTime": {
"type": "string",
"format": "date-time",
"nullable": true
},
"aetherEndTime": {
"type": "string",
"format": "date-time",
"nullable": true
},
"runHistoryStartTime": {
"type": "string",
"format": "date-time",
"nullable": true
},
"runHistoryEndTime": {
"type": "string",
"format": "date-time",
"nullable": true
},
"uniqueChildRunComputeTargets": {
"uniqueItems": true,
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"entityStatus": {
"$ref": "#/components/schemas/EntityStatus"
},
"id": {
"type": "string",
"nullable": true
},
"etag": {
"type": "string",
"nullable": true
},
"createdDate": {
"type": "string",
"format": "date-time"
},
"lastModifiedDate": {
"type": "string",
"format": "date-time"
}
},
"additionalProperties": false
},
"PipelineRunGraphDetail": {
"type": "object",
"properties": {
"graph": {
"$ref": "#/components/schemas/PipelineGraph"
},
"graphNodesStatus": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/GraphNodeStatusInfo"
},
"description": "This is a dictionary",
"nullable": true
}
},
"additionalProperties": false
},
"PipelineRunGraphStatus": {
"type": "object",
"properties": {
"status": {
"$ref": "#/components/schemas/PipelineStatus"
},
"graphNodesStatus": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/GraphNodeStatusInfo"
},
"description": "This is a dictionary",
"nullable": true
},
"experimentId": {
"type": "string",
"nullable": true
},
"isExperimentArchived": {
"type": "boolean",
"nullable": true
}
},
"additionalProperties": false
},
"PipelineRunProfile": {
"type": "object",
"properties": {
"runId": {
"type": "string",
"nullable": true
},
"nodeId": {
"type": "string",
"nullable": true
},
"runUrl": {
"type": "string",
"nullable": true
},
"experimentName": {
"type": "string",
"nullable": true
},
"experimentId": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"status": {
"$ref": "#/components/schemas/PipelineRunStatus"
},
"createTime": {
"type": "integer",
"format": "int64",
"nullable": true
},
"startTime": {
"type": "integer",
"format": "int64",
"nullable": true
},
"endTime": {
"type": "integer",
"format": "int64",
"nullable": true
},
"profilingTime": {
"type": "integer",
"format": "int64",
"nullable": true
},
"stepRunsProfile": {
"type": "array",
"items": {
"$ref": "#/components/schemas/StepRunProfile"
},
"nullable": true
},
"subPipelineRunProfile": {
"type": "array",
"items": {
"$ref": "#/components/schemas/PipelineRunProfile"
},
"nullable": true
}
},
"additionalProperties": false
},
"PipelineRunStatus": {
"type": "object",
"properties": {
"statusCode": {
"$ref": "#/components/schemas/PipelineRunStatusCode"
},
"statusDetail": {
"type": "string",
"nullable": true
},
"creationTime": {
"type": "string",
"format": "date-time"
},
"endTime": {
"type": "string",
"format": "date-time",
"nullable": true
}
},
"additionalProperties": false
},
"PipelineRunStatusCode": {
"enum": [
"NotStarted",
"Running",
"Failed",
"Finished",
"Canceled",
"Queued",
"CancelRequested"
],
"type": "string"
},
"PipelineRunStepDetails": {
"type": "object",
"properties": {
"runId": {
"type": "string",
"nullable": true
},
"target": {
"type": "string",
"nullable": true
},
"status": {
"$ref": "#/components/schemas/RunStatus"
},
"statusDetail": {
"type": "string",
"nullable": true
},
"parentRunId": {
"type": "string",
"nullable": true
},
"startTime": {
"type": "string",
"format": "date-time",
"nullable": true
},
"endTime": {
"type": "string",
"format": "date-time",
"nullable": true
},
"isReused": {
"type": "boolean",
"nullable": true
},
"logs": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"outputs": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"snapshotInfo": {
"$ref": "#/components/schemas/SnapshotInfo"
},
"inputDatasets": {
"uniqueItems": true,
"type": "array",
"items": {
"$ref": "#/components/schemas/DatasetLineage"
},
"nullable": true
},
"outputDatasets": {
"uniqueItems": true,
"type": "array",
"items": {
"$ref": "#/components/schemas/OutputDatasetLineage"
},
"nullable": true
}
},
"additionalProperties": false
},
"PipelineRunSummary": {
"type": "object",
"properties": {
"description": {
"type": "string",
"nullable": true
},
"displayName": {
"type": "string",
"nullable": true
},
"runNumber": {
"type": "integer",
"format": "int32",
"nullable": true
},
"statusCode": {
"$ref": "#/components/schemas/PipelineStatusCode"
},
"runStatus": {
"$ref": "#/components/schemas/RunStatus"
},
"statusDetail": {
"type": "string",
"nullable": true
},
"startTime": {
"type": "string",
"format": "date-time",
"nullable": true
},
"endTime": {
"type": "string",
"format": "date-time",
"nullable": true
},
"graphId": {
"type": "string",
"nullable": true
},
"experimentId": {
"type": "string",
"nullable": true
},
"experimentName": {
"type": "string",
"nullable": true
},
"isExperimentArchived": {
"type": "boolean",
"nullable": true
},
"submittedBy": {
"type": "string",
"nullable": true
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"stepTags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"properties": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"aetherStartTime": {
"type": "string",
"format": "date-time",
"nullable": true
},
"aetherEndTime": {
"type": "string",
"format": "date-time",
"nullable": true
},
"runHistoryStartTime": {
"type": "string",
"format": "date-time",
"nullable": true
},
"runHistoryEndTime": {
"type": "string",
"format": "date-time",
"nullable": true
},
"uniqueChildRunComputeTargets": {
"uniqueItems": true,
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"entityStatus": {
"$ref": "#/components/schemas/EntityStatus"
},
"id": {
"type": "string",
"nullable": true
},
"etag": {
"type": "string",
"nullable": true
},
"createdDate": {
"type": "string",
"format": "date-time"
},
"lastModifiedDate": {
"type": "string",
"format": "date-time"
}
},
"additionalProperties": false
},
"PipelineStatus": {
"type": "object",
"properties": {
"statusCode": {
"$ref": "#/components/schemas/PipelineStatusCode"
},
"runStatus": {
"$ref": "#/components/schemas/RunStatus"
},
"statusDetail": {
"type": "string",
"nullable": true
},
"startTime": {
"type": "string",
"format": "date-time",
"nullable": true
},
"endTime": {
"type": "string",
"format": "date-time",
"nullable": true
},
"isTerminalState": {
"type": "boolean",
"readOnly": true
}
},
"additionalProperties": false
},
"PipelineStatusCode": {
"enum": [
"NotStarted",
"InDraft",
"Preparing",
"Running",
"Failed",
"Finished",
"Canceled",
"Throttled",
"Unknown"
],
"type": "string"
},
"PipelineStepRun": {
"type": "object",
"properties": {
"stepName": {
"type": "string",
"nullable": true
},
"runNumber": {
"type": "integer",
"format": "int32",
"nullable": true
},
"runId": {
"type": "string",
"nullable": true
},
"startTime": {
"type": "string",
"format": "date-time",
"nullable": true
},
"endTime": {
"type": "string",
"format": "date-time",
"nullable": true
},
"runStatus": {
"$ref": "#/components/schemas/RunStatus"
},
"computeTarget": {
"type": "string",
"nullable": true
},
"computeType": {
"type": "string",
"nullable": true
},
"runType": {
"type": "string",
"nullable": true
},
"stepType": {
"type": "string",
"nullable": true
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"isReused": {
"type": "boolean",
"nullable": true
},
"displayName": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"PipelineStepRunOutputs": {
"type": "object",
"properties": {
"outputs": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"portOutputs": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/PortOutputInfo"
},
"description": "This is a dictionary",
"nullable": true
}
},
"additionalProperties": false
},
"PipelineSubDraft": {
"type": "object",
"properties": {
"parentGraphDraftId": {
"type": "string",
"nullable": true
},
"parentNodeId": {
"type": "string",
"nullable": true
},
"graphDetail": {
"$ref": "#/components/schemas/PipelineRunGraphDetail"
},
"moduleDto": {
"$ref": "#/components/schemas/ModuleDto"
},
"name": {
"type": "string",
"nullable": true
},
"lastEditedBy": {
"type": "string",
"nullable": true
},
"createdBy": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"pipelineType": {
"$ref": "#/components/schemas/PipelineType"
},
"pipelineDraftMode": {
"$ref": "#/components/schemas/PipelineDraftMode"
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"properties": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"entityStatus": {
"$ref": "#/components/schemas/EntityStatus"
},
"id": {
"type": "string",
"nullable": true
},
"etag": {
"type": "string",
"nullable": true
},
"createdDate": {
"type": "string",
"format": "date-time"
},
"lastModifiedDate": {
"type": "string",
"format": "date-time"
}
},
"additionalProperties": false
},
"PipelineType": {
"enum": [
"TrainingPipeline",
"RealTimeInferencePipeline",
"BatchInferencePipeline",
"Unknown"
],
"type": "string"
},
"PolicyValidationResponse": {
"type": "object",
"properties": {
"errorResponse": {
"$ref": "#/components/schemas/ErrorResponse"
},
"nextActionIntervalInSeconds": {
"type": "integer",
"format": "int32",
"nullable": true
},
"actionType": {
"$ref": "#/components/schemas/ActionType"
}
},
"additionalProperties": false
},
"PortAction": {
"enum": [
"Promote",
"ViewInDataStore",
"Visualize",
"GetSchema",
"CreateInferenceGraph",
"RegisterModel",
"PromoteAsTabular"
],
"type": "string"
},
"PortInfo": {
"type": "object",
"properties": {
"nodeId": {
"type": "string",
"nullable": true
},
"portName": {
"type": "string",
"nullable": true
},
"graphPortName": {
"type": "string",
"nullable": true
},
"isParameter": {
"type": "boolean"
},
"webServicePort": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"PortOutputInfo": {
"type": "object",
"properties": {
"containerUri": {
"type": "string",
"format": "uri",
"nullable": true
},
"relativePath": {
"type": "string",
"nullable": true
},
"previewParams": {
"type": "string",
"nullable": true
},
"modelOutputPath": {
"type": "string",
"nullable": true
},
"dataStoreName": {
"type": "string",
"nullable": true
},
"dataReferenceType": {
"$ref": "#/components/schemas/DataReferenceType"
},
"isFile": {
"type": "boolean"
},
"supportedActions": {
"type": "array",
"items": {
"$ref": "#/components/schemas/PortAction"
},
"nullable": true
}
},
"additionalProperties": false
},
"PrimaryMetrics": {
"enum": [
"AUCWeighted",
"Accuracy",
"NormMacroRecall",
"AveragePrecisionScoreWeighted",
"PrecisionScoreWeighted",
"SpearmanCorrelation",
"NormalizedRootMeanSquaredError",
"R2Score",
"NormalizedMeanAbsoluteError",
"NormalizedRootMeanSquaredLogError",
"MeanAveragePrecision",
"Iou"
],
"type": "string"
},
"PriorityConfig": {
"type": "object",
"properties": {
"jobPriority": {
"type": "integer",
"format": "int32",
"nullable": true
},
"isPreemptible": {
"type": "boolean",
"nullable": true
},
"nodeCountSet": {
"type": "array",
"items": {
"type": "integer",
"format": "int32"
},
"nullable": true
},
"scaleInterval": {
"type": "integer",
"format": "int32",
"nullable": true
}
},
"additionalProperties": false
},
"PriorityConfiguration": {
"type": "object",
"properties": {
"cloudPriority": {
"type": "integer",
"format": "int32",
"nullable": true
},
"stringTypePriority": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"PromoteDataSetRequest": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"moduleNodeId": {
"type": "string",
"nullable": true
},
"stepRunId": {
"type": "string",
"nullable": true
},
"outputPortName": {
"type": "string",
"nullable": true
},
"modelOutputPath": {
"type": "string",
"nullable": true
},
"dataTypeId": {
"type": "string",
"nullable": true
},
"datasetType": {
"type": "string",
"nullable": true
},
"dataStoreName": {
"type": "string",
"nullable": true
},
"outputRelativePath": {
"type": "string",
"nullable": true
},
"pipelineRunId": {
"type": "string",
"nullable": true
},
"rootPipelineRunId": {
"type": "string",
"nullable": true
},
"experimentName": {
"type": "string",
"nullable": true
},
"experimentId": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"ProviderEntity": {
"type": "object",
"properties": {
"provider": {
"type": "string",
"nullable": true
},
"module": {
"type": "string",
"nullable": true
},
"connection_type": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ConnectionType"
},
"nullable": true
},
"apis": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ApiAndParameters"
},
"nullable": true
}
},
"additionalProperties": false
},
"ProvisioningState": {
"enum": [
"Unknown",
"Updating",
"Creating",
"Deleting",
"Accepted",
"Succeeded",
"Failed",
"Canceled"
],
"type": "string"
},
"PublishedPipeline": {
"type": "object",
"properties": {
"totalRunSteps": {
"type": "integer",
"format": "int32"
},
"totalRuns": {
"type": "integer",
"format": "int32"
},
"parameters": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"dataSetDefinitionValueAssignment": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/DataSetDefinitionValue"
},
"description": "This is a dictionary",
"nullable": true
},
"restEndpoint": {
"type": "string",
"nullable": true
},
"name": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"graphId": {
"type": "string",
"nullable": true
},
"publishedDate": {
"type": "string",
"format": "date-time"
},
"lastRunTime": {
"type": "string",
"format": "date-time",
"nullable": true
},
"lastRunStatus": {
"$ref": "#/components/schemas/PipelineRunStatusCode"
},
"publishedBy": {
"type": "string",
"nullable": true
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"properties": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"version": {
"type": "string",
"nullable": true
},
"isDefault": {
"type": "boolean",
"nullable": true
},
"entityStatus": {
"$ref": "#/components/schemas/EntityStatus"
},
"id": {
"type": "string",
"nullable": true
},
"etag": {
"type": "string",
"nullable": true
},
"createdDate": {
"type": "string",
"format": "date-time"
},
"lastModifiedDate": {
"type": "string",
"format": "date-time"
}
},
"additionalProperties": false
},
"PublishedPipelineSummary": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"graphId": {
"type": "string",
"nullable": true
},
"publishedDate": {
"type": "string",
"format": "date-time"
},
"lastRunTime": {
"type": "string",
"format": "date-time",
"nullable": true
},
"lastRunStatus": {
"$ref": "#/components/schemas/PipelineRunStatusCode"
},
"publishedBy": {
"type": "string",
"nullable": true
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"properties": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"version": {
"type": "string",
"nullable": true
},
"isDefault": {
"type": "boolean",
"nullable": true
},
"entityStatus": {
"$ref": "#/components/schemas/EntityStatus"
},
"id": {
"type": "string",
"nullable": true
},
"etag": {
"type": "string",
"nullable": true
},
"createdDate": {
"type": "string",
"format": "date-time"
},
"lastModifiedDate": {
"type": "string",
"format": "date-time"
}
},
"additionalProperties": false
},
"PyTorchConfiguration": {
"type": "object",
"properties": {
"communicationBackend": {
"type": "string",
"nullable": true
},
"processCount": {
"type": "integer",
"format": "int32",
"nullable": true
}
},
"additionalProperties": false
},
"PythonInterfaceMapping": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"nameInYaml": {
"type": "string",
"nullable": true
},
"argumentName": {
"type": "string",
"nullable": true
},
"commandLineOption": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"PythonPyPiOrRCranLibraryDto": {
"type": "object",
"properties": {
"package": {
"type": "string",
"nullable": true
},
"repo": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"PythonSection": {
"type": "object",
"properties": {
"interpreterPath": {
"type": "string",
"nullable": true
},
"userManagedDependencies": {
"type": "boolean"
},
"condaDependencies": {
"nullable": true
},
"baseCondaEnvironment": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"QueueingInfo": {
"type": "object",
"properties": {
"code": {
"type": "string",
"nullable": true
},
"message": {
"type": "string",
"nullable": true
},
"lastRefreshTimestamp": {
"type": "string",
"format": "date-time"
}
},
"additionalProperties": false
},
"RCranPackage": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"version": {
"type": "string",
"nullable": true
},
"repository": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"RGitHubPackage": {
"type": "object",
"properties": {
"repository": {
"type": "string",
"nullable": true
},
"authToken": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"RSection": {
"type": "object",
"properties": {
"rVersion": {
"type": "string",
"nullable": true
},
"userManaged": {
"type": "boolean"
},
"rscriptPath": {
"type": "string",
"nullable": true
},
"snapshotDate": {
"type": "string",
"nullable": true
},
"cranPackages": {
"type": "array",
"items": {
"$ref": "#/components/schemas/RCranPackage"
},
"nullable": true
},
"gitHubPackages": {
"type": "array",
"items": {
"$ref": "#/components/schemas/RGitHubPackage"
},
"nullable": true
},
"customUrlPackages": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"bioConductorPackages": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
}
},
"additionalProperties": false
},
"RawComponentDto": {
"type": "object",
"properties": {
"componentSchema": {
"type": "string",
"nullable": true
},
"isAnonymous": {
"type": "boolean"
},
"name": {
"type": "string",
"nullable": true
},
"version": {
"type": "string",
"nullable": true
},
"type": {
"$ref": "#/components/schemas/ComponentType"
},
"componentTypeVersion": {
"type": "string",
"nullable": true
},
"displayName": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"properties": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"isDeterministic": {
"type": "boolean"
},
"successfulReturnCode": {
"type": "string",
"nullable": true
},
"inputs": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/ComponentInput"
},
"description": "This is a dictionary",
"nullable": true
},
"outputs": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/ComponentOutput"
},
"description": "This is a dictionary",
"nullable": true
},
"command": {
"type": "string",
"nullable": true
},
"environmentName": {
"type": "string",
"nullable": true
},
"environmentVersion": {
"type": "string",
"nullable": true
},
"snapshotId": {
"type": "string",
"nullable": true
},
"createdBy": {
"$ref": "#/components/schemas/SchemaContractsCreatedBy"
},
"lastModifiedBy": {
"$ref": "#/components/schemas/SchemaContractsCreatedBy"
},
"createdDate": {
"type": "string",
"format": "date-time",
"nullable": true
},
"lastModifiedDate": {
"type": "string",
"format": "date-time",
"nullable": true
},
"componentInternalId": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"RayConfiguration": {
"type": "object",
"properties": {
"port": {
"type": "integer",
"format": "int32",
"nullable": true
},
"address": {
"type": "string",
"nullable": true
},
"includeDashboard": {
"type": "boolean",
"nullable": true
},
"dashboardPort": {
"type": "integer",
"format": "int32",
"nullable": true
},
"headNodeAdditionalArgs": {
"type": "string",
"nullable": true
},
"workerNodeAdditionalArgs": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"RealTimeEndpoint": {
"type": "object",
"properties": {
"createdBy": {
"type": "string",
"nullable": true
},
"kvTags": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"state": {
"$ref": "#/components/schemas/WebServiceState"
},
"error": {
"$ref": "#/components/schemas/ModelManagementErrorResponse"
},
"computeType": {
"$ref": "#/components/schemas/ComputeEnvironmentType"
},
"imageId": {
"type": "string",
"nullable": true
},
"cpu": {
"type": "number",
"format": "double",
"nullable": true
},
"memoryInGB": {
"type": "number",
"format": "double",
"nullable": true
},
"maxConcurrentRequestsPerContainer": {
"type": "integer",
"format": "int32",
"nullable": true
},
"numReplicas": {
"type": "integer",
"format": "int32",
"nullable": true
},
"eventHubEnabled": {
"type": "boolean",
"nullable": true
},
"storageEnabled": {
"type": "boolean",
"nullable": true
},
"appInsightsEnabled": {
"type": "boolean",
"nullable": true
},
"autoScaleEnabled": {
"type": "boolean",
"nullable": true
},
"minReplicas": {
"type": "integer",
"format": "int32",
"nullable": true
},
"maxReplicas": {
"type": "integer",
"format": "int32",
"nullable": true
},
"targetUtilization": {
"type": "integer",
"format": "int32",
"nullable": true
},
"refreshPeriodInSeconds": {
"type": "integer",
"format": "int32",
"nullable": true
},
"scoringUri": {
"type": "string",
"format": "uri",
"nullable": true
},
"deploymentStatus": {
"$ref": "#/components/schemas/AKSReplicaStatus"
},
"scoringTimeoutMs": {
"type": "integer",
"format": "int32",
"nullable": true
},
"authEnabled": {
"type": "boolean",
"nullable": true
},
"aadAuthEnabled": {
"type": "boolean",
"nullable": true
},
"region": {
"type": "string",
"nullable": true
},
"primaryKey": {
"type": "string",
"nullable": true
},
"secondaryKey": {
"type": "string",
"nullable": true
},
"swaggerUri": {
"type": "string",
"format": "uri",
"nullable": true
},
"linkedPipelineDraftId": {
"type": "string",
"nullable": true
},
"linkedPipelineRunId": {
"type": "string",
"nullable": true
},
"warning": {
"type": "string",
"nullable": true
},
"name": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"id": {
"type": "string",
"nullable": true
},
"createdTime": {
"type": "string",
"format": "date-time",
"nullable": true
},
"updatedTime": {
"type": "string",
"format": "date-time",
"nullable": true
},
"computeName": {
"type": "string",
"nullable": true
},
"updatedBy": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"RealTimeEndpointInfo": {
"type": "object",
"properties": {
"webServiceInputs": {
"type": "array",
"items": {
"$ref": "#/components/schemas/WebServicePort"
},
"nullable": true
},
"webServiceOutputs": {
"type": "array",
"items": {
"$ref": "#/components/schemas/WebServicePort"
},
"nullable": true
},
"deploymentsInfo": {
"type": "array",
"items": {
"$ref": "#/components/schemas/DeploymentInfo"
},
"nullable": true
}
},
"additionalProperties": false
},
"RealTimeEndpointInternalStepCode": {
"enum": [
"AboutToDeploy",
"WaitAksComputeReady",
"RegisterModels",
"CreateServiceFromModels",
"UpdateServiceFromModels",
"WaitServiceCreating",
"FetchServiceRelatedInfo",
"TestWithSampleData",
"AboutToDelete",
"DeleteDeployment",
"DeleteAsset",
"DeleteImage",
"DeleteModel",
"DeleteServiceRecord"
],
"type": "string"
},
"RealTimeEndpointOpCode": {
"enum": [
"Create",
"Update",
"Delete"
],
"type": "string"
},
"RealTimeEndpointOpStatusCode": {
"enum": [
"Ongoing",
"Succeeded",
"Failed",
"SucceededWithWarning"
],
"type": "string"
},
"RealTimeEndpointStatus": {
"type": "object",
"properties": {
"lastOperation": {
"$ref": "#/components/schemas/RealTimeEndpointOpCode"
},
"lastOperationStatus": {
"$ref": "#/components/schemas/RealTimeEndpointOpStatusCode"
},
"internalStep": {
"$ref": "#/components/schemas/RealTimeEndpointInternalStepCode"
},
"statusDetail": {
"type": "string",
"nullable": true
},
"deploymentState": {
"type": "string",
"nullable": true
},
"serviceId": {
"type": "string",
"nullable": true
},
"linkedPipelineDraftId": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"RealTimeEndpointSummary": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"id": {
"type": "string",
"nullable": true
},
"createdTime": {
"type": "string",
"format": "date-time",
"nullable": true
},
"updatedTime": {
"type": "string",
"format": "date-time",
"nullable": true
},
"computeType": {
"$ref": "#/components/schemas/ComputeEnvironmentType"
},
"computeName": {
"type": "string",
"nullable": true
},
"updatedBy": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"RealTimeEndpointTestRequest": {
"type": "object",
"properties": {
"endPoint": {
"type": "string",
"nullable": true
},
"authKey": {
"type": "string",
"nullable": true
},
"payload": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"Recurrence": {
"type": "object",
"properties": {
"frequency": {
"$ref": "#/components/schemas/Frequency"
},
"interval": {
"type": "integer",
"format": "int32"
},
"schedule": {
"$ref": "#/components/schemas/RecurrenceSchedule"
},
"endTime": {
"type": "string",
"nullable": true
},
"startTime": {
"type": "string",
"nullable": true
},
"timeZone": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"RecurrenceFrequency": {
"enum": [
"Minute",
"Hour",
"Day",
"Week",
"Month"
],
"type": "string"
},
"RecurrencePattern": {
"type": "object",
"properties": {
"hours": {
"type": "array",
"items": {
"type": "integer",
"format": "int32"
},
"nullable": true
},
"minutes": {
"type": "array",
"items": {
"type": "integer",
"format": "int32"
},
"nullable": true
},
"weekdays": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Weekday"
},
"nullable": true
}
},
"additionalProperties": false
},
"RecurrenceSchedule": {
"type": "object",
"properties": {
"hours": {
"type": "array",
"items": {
"type": "integer",
"format": "int32"
},
"nullable": true
},
"minutes": {
"type": "array",
"items": {
"type": "integer",
"format": "int32"
},
"nullable": true
},
"weekDays": {
"type": "array",
"items": {
"$ref": "#/components/schemas/WeekDays"
},
"nullable": true
},
"monthDays": {
"type": "array",
"items": {
"type": "integer",
"format": "int32"
},
"nullable": true
}
},
"additionalProperties": false
},
"RegenerateServiceKeysRequest": {
"type": "object",
"properties": {
"keyType": {
"$ref": "#/components/schemas/KeyType"
},
"keyValue": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"RegisterComponentMetaInfo": {
"type": "object",
"properties": {
"amlModuleName": {
"type": "string",
"nullable": true
},
"nameOnlyDisplayInfo": {
"type": "string",
"nullable": true
},
"name": {
"type": "string",
"nullable": true
},
"version": {
"type": "string",
"nullable": true
},
"moduleVersionId": {
"type": "string",
"nullable": true
},
"snapshotId": {
"type": "string",
"nullable": true
},
"componentRegistrationType": {
"$ref": "#/components/schemas/ComponentRegistrationTypeEnum"
},
"moduleEntityFromYaml": {
"$ref": "#/components/schemas/ModuleEntity"
},
"setAsDefaultVersion": {
"type": "boolean"
},
"dataTypesFromYaml": {
"type": "array",
"items": {
"$ref": "#/components/schemas/DataTypeCreationInfo"
},
"nullable": true
},
"dataTypeMechanism": {
"$ref": "#/components/schemas/DataTypeMechanism"
},
"identifierHash": {
"type": "string",
"nullable": true
},
"identifierHashes": {
"type": "object",
"properties": {
"IdentifierHash": {
"type": "string"
},
"IdentifierHashV2": {
"type": "string"
}
},
"additionalProperties": false,
"nullable": true
},
"contentHash": {
"type": "string",
"nullable": true
},
"extraHash": {
"type": "string",
"nullable": true
},
"extraHashes": {
"type": "object",
"properties": {
"IdentifierHash": {
"type": "string"
},
"IdentifierHashV2": {
"type": "string"
}
},
"additionalProperties": false,
"nullable": true
},
"registration": {
"type": "boolean",
"nullable": true
},
"validateOnly": {
"type": "boolean"
},
"skipWorkspaceRelatedCheck": {
"type": "boolean"
},
"intellectualPropertyProtectedWorkspaceComponentRegistrationAllowedPublisher": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"systemManagedRegistration": {
"type": "boolean"
},
"allowDupNameBetweenInputAndOuputPort": {
"type": "boolean"
},
"moduleSource": {
"type": "string",
"nullable": true
},
"moduleScope": {
"type": "string",
"nullable": true
},
"moduleAdditionalIncludesCount": {
"type": "integer",
"format": "int32",
"nullable": true
},
"moduleOSType": {
"type": "string",
"nullable": true
},
"moduleCodegenBy": {
"type": "string",
"nullable": true
},
"moduleClientSource": {
"type": "string",
"nullable": true
},
"moduleIsBuiltin": {
"type": "boolean"
},
"moduleRegisterEventExtensionFields": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
}
},
"additionalProperties": false
},
"RegisterRegistryComponentMetaInfo": {
"type": "object",
"properties": {
"registryName": {
"type": "string",
"nullable": true
},
"intellectualPropertyPublisherInformation": {
"$ref": "#/components/schemas/IntellectualPropertyPublisherInformation"
},
"blobReferenceData": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/RegistryBlobReferenceData"
},
"description": "This is a dictionary",
"nullable": true
},
"amlModuleName": {
"type": "string",
"nullable": true
},
"nameOnlyDisplayInfo": {
"type": "string",
"nullable": true
},
"name": {
"type": "string",
"nullable": true
},
"version": {
"type": "string",
"nullable": true
},
"moduleVersionId": {
"type": "string",
"nullable": true
},
"snapshotId": {
"type": "string",
"nullable": true
},
"componentRegistrationType": {
"$ref": "#/components/schemas/ComponentRegistrationTypeEnum"
},
"moduleEntityFromYaml": {
"$ref": "#/components/schemas/ModuleEntity"
},
"setAsDefaultVersion": {
"type": "boolean"
},
"dataTypesFromYaml": {
"type": "array",
"items": {
"$ref": "#/components/schemas/DataTypeCreationInfo"
},
"nullable": true
},
"dataTypeMechanism": {
"$ref": "#/components/schemas/DataTypeMechanism"
},
"identifierHash": {
"type": "string",
"nullable": true
},
"identifierHashes": {
"type": "object",
"properties": {
"IdentifierHash": {
"type": "string"
},
"IdentifierHashV2": {
"type": "string"
}
},
"additionalProperties": false,
"nullable": true
},
"contentHash": {
"type": "string",
"nullable": true
},
"extraHash": {
"type": "string",
"nullable": true
},
"extraHashes": {
"type": "object",
"properties": {
"IdentifierHash": {
"type": "string"
},
"IdentifierHashV2": {
"type": "string"
}
},
"additionalProperties": false,
"nullable": true
},
"registration": {
"type": "boolean",
"nullable": true
},
"validateOnly": {
"type": "boolean"
},
"skipWorkspaceRelatedCheck": {
"type": "boolean"
},
"intellectualPropertyProtectedWorkspaceComponentRegistrationAllowedPublisher": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"systemManagedRegistration": {
"type": "boolean"
},
"allowDupNameBetweenInputAndOuputPort": {
"type": "boolean"
},
"moduleSource": {
"type": "string",
"nullable": true
},
"moduleScope": {
"type": "string",
"nullable": true
},
"moduleAdditionalIncludesCount": {
"type": "integer",
"format": "int32",
"nullable": true
},
"moduleOSType": {
"type": "string",
"nullable": true
},
"moduleCodegenBy": {
"type": "string",
"nullable": true
},
"moduleClientSource": {
"type": "string",
"nullable": true
},
"moduleIsBuiltin": {
"type": "boolean"
},
"moduleRegisterEventExtensionFields": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
}
},
"additionalProperties": false
},
"RegisteredDataSetReference": {
"type": "object",
"properties": {
"id": {
"type": "string",
"nullable": true
},
"name": {
"type": "string",
"nullable": true
},
"version": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"RegistrationOptions": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"version": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"properties": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"datasetRegistrationOptions": {
"$ref": "#/components/schemas/DatasetRegistrationOptions"
}
},
"additionalProperties": false
},
"RegistryBlobReferenceData": {
"type": "object",
"properties": {
"dataReferenceId": {
"type": "string",
"nullable": true
},
"data": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"RegistryIdentity": {
"type": "object",
"properties": {
"resourceId": {
"type": "string",
"nullable": true
},
"clientId": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"Relationship": {
"type": "object",
"properties": {
"relationType": {
"type": "string",
"nullable": true
},
"targetEntityId": {
"type": "string",
"nullable": true
},
"assetId": {
"type": "string",
"nullable": true
},
"entityType": {
"type": "string",
"nullable": true,
"readOnly": true
},
"direction": {
"type": "string",
"nullable": true
},
"entityContainerId": {
"type": "string",
"nullable": true,
"readOnly": true
}
}
},
"RemoteDockerComputeInfo": {
"type": "object",
"properties": {
"address": {
"type": "string",
"nullable": true
},
"username": {
"type": "string",
"nullable": true
},
"password": {
"type": "string",
"nullable": true
},
"privateKey": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"ResourceConfig": {
"type": "object",
"properties": {
"gpuCount": {
"type": "integer",
"format": "int32",
"nullable": true
},
"cpuCount": {
"type": "integer",
"format": "int32",
"nullable": true
},
"memoryRequestInGB": {
"type": "integer",
"format": "int32",
"nullable": true
}
},
"additionalProperties": false
},
"ResourceConfiguration": {
"type": "object",
"properties": {
"gpuCount": {
"type": "integer",
"format": "int32",
"nullable": true
},
"cpuCount": {
"type": "integer",
"format": "int32",
"nullable": true
},
"memoryRequestInGB": {
"type": "integer",
"format": "int32",
"nullable": true
}
},
"additionalProperties": false
},
"ResourcesSetting": {
"type": "object",
"properties": {
"instanceSize": {
"type": "string",
"nullable": true
},
"sparkVersion": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"RetrieveToolFuncResultRequest": {
"type": "object",
"properties": {
"func_path": {
"type": "string",
"nullable": true
},
"func_kwargs": {
"type": "object",
"additionalProperties": { },
"description": "This is a dictionary",
"nullable": true
},
"func_call_scenario": {
"$ref": "#/components/schemas/ToolFuncCallScenario"
}
},
"additionalProperties": false
},
"RetryConfiguration": {
"type": "object",
"properties": {
"maxRetryCount": {
"type": "integer",
"format": "int32",
"nullable": true
}
},
"additionalProperties": false
},
"RootError": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "The service-defined error code. Supported error codes: ServiceError, UserError, ValidationError, AzureStorageError, TransientError, RequestThrottled.",
"nullable": true
},
"severity": {
"type": "integer",
"description": "The Severity of error",
"format": "int32",
"nullable": true
},
"message": {
"type": "string",
"description": "A human-readable representation of the error.",
"nullable": true
},
"messageFormat": {
"type": "string",
"description": "An unformatted version of the message with no variable substitution.",
"nullable": true
},
"messageParameters": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"description": "Value substitutions corresponding to the contents of MessageFormat.",
"nullable": true
},
"referenceCode": {
"type": "string",
"description": "This code can optionally be set by the system generating the error.\r\nIt should be used to classify the problem and identify the module and code area where the failure occured.",
"nullable": true
},
"detailsUri": {
"type": "string",
"description": "A URI which points to more details about the context of the error.",
"format": "uri",
"nullable": true
},
"target": {
"type": "string",
"description": "The target of the error (e.g., the name of the property in error).",
"nullable": true
},
"details": {
"type": "array",
"items": {
"$ref": "#/components/schemas/RootError"
},
"description": "The related errors that occurred during the request.",
"nullable": true
},
"innerError": {
"$ref": "#/components/schemas/InnerErrorResponse"
},
"additionalInfo": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ErrorAdditionalInfo"
},
"description": "The error additional info.",
"nullable": true
}
},
"additionalProperties": false,
"description": "The root error."
},
"RunAnnotations": {
"type": "object",
"properties": {
"displayName": {
"type": "string",
"nullable": true
},
"status": {
"type": "string",
"nullable": true
},
"primaryMetricName": {
"type": "string",
"nullable": true
},
"estimatedCost": {
"type": "number",
"format": "double",
"nullable": true
},
"primaryMetricSummary": {
"$ref": "#/components/schemas/RunIndexMetricSummary"
},
"metrics": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/RunIndexMetricSummarySystemObject"
},
"nullable": true
},
"parameters": {
"type": "object",
"additionalProperties": {
"nullable": true
},
"nullable": true
},
"settings": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"modifiedTime": {
"type": "string",
"format": "date-time",
"nullable": true
},
"retainForLifetimeOfWorkspace": {
"type": "boolean",
"nullable": true
},
"error": {
"$ref": "#/components/schemas/IndexedErrorResponse"
},
"resourceMetricSummary": {
"$ref": "#/components/schemas/RunIndexResourceMetricSummary"
},
"jobCost": {
"$ref": "#/components/schemas/JobCost"
},
"computeDuration": {
"type": "string",
"format": "date-span",
"nullable": true
},
"computeDurationMilliseconds": {
"type": "number",
"format": "double",
"nullable": true
},
"effectiveStartTimeUtc": {
"type": "string",
"format": "date-time",
"nullable": true
},
"name": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"archived": {
"type": "boolean"
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
}
}
},
"RunConfiguration": {
"type": "object",
"properties": {
"script": {
"type": "string",
"nullable": true
},
"scriptType": {
"$ref": "#/components/schemas/ScriptType"
},
"command": {
"type": "string",
"nullable": true
},
"useAbsolutePath": {
"type": "boolean"
},
"arguments": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"framework": {
"$ref": "#/components/schemas/Framework"
},
"communicator": {
"$ref": "#/components/schemas/Communicator"
},
"target": {
"type": "string",
"nullable": true
},
"autoClusterComputeSpecification": {
"$ref": "#/components/schemas/AutoClusterComputeSpecification"
},
"dataReferences": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/DataReferenceConfiguration"
},
"nullable": true
},
"data": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/Data"
},
"nullable": true
},
"inputAssets": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/InputAsset"
},
"nullable": true
},
"outputData": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/OutputData"
},
"nullable": true
},
"datacaches": {
"type": "array",
"items": {
"$ref": "#/components/schemas/DatacacheConfiguration"
},
"nullable": true
},
"jobName": {
"type": "string",
"nullable": true
},
"maxRunDurationSeconds": {
"type": "integer",
"format": "int64",
"nullable": true
},
"nodeCount": {
"type": "integer",
"format": "int32",
"nullable": true
},
"maxNodeCount": {
"type": "integer",
"format": "int32",
"nullable": true
},
"instanceTypes": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"priority": {
"type": "integer",
"format": "int32",
"nullable": true
},
"credentialPassthrough": {
"type": "boolean"
},
"identity": {
"$ref": "#/components/schemas/IdentityConfiguration"
},
"environment": {
"$ref": "#/components/schemas/EnvironmentDefinition"
},
"history": {
"$ref": "#/components/schemas/HistoryConfiguration"
},
"spark": {
"$ref": "#/components/schemas/SparkConfiguration"
},
"parallelTask": {
"$ref": "#/components/schemas/ParallelTaskConfiguration"
},
"tensorflow": {
"$ref": "#/components/schemas/TensorflowConfiguration"
},
"mpi": {
"$ref": "#/components/schemas/MpiConfiguration"
},
"pyTorch": {
"$ref": "#/components/schemas/PyTorchConfiguration"
},
"ray": {
"$ref": "#/components/schemas/RayConfiguration"
},
"hdi": {
"$ref": "#/components/schemas/HdiConfiguration"
},
"docker": {
"$ref": "#/components/schemas/DockerConfiguration"
},
"commandReturnCodeConfig": {
"$ref": "#/components/schemas/CommandReturnCodeConfig"
},
"environmentVariables": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"applicationEndpoints": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/ApplicationEndpointConfiguration"
},
"nullable": true
},
"parameters": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ParameterDefinition"
},
"nullable": true
},
"autologgerSettings": {
"$ref": "#/components/schemas/AutologgerSettings"
},
"dataBricks": {
"$ref": "#/components/schemas/DatabricksConfiguration"
},
"trainingDiagnosticConfig": {
"$ref": "#/components/schemas/TrainingDiagnosticConfiguration"
},
"secretsConfiguration": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/SecretConfiguration"
},
"nullable": true
}
},
"additionalProperties": false
},
"RunDatasetReference": {
"type": "object",
"properties": {
"id": {
"type": "string",
"nullable": true
},
"name": {
"type": "string",
"nullable": true
},
"version": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"RunDefinition": {
"type": "object",
"properties": {
"configuration": {
"$ref": "#/components/schemas/RunConfiguration"
},
"snapshotId": {
"type": "string",
"format": "uuid",
"nullable": true
},
"snapshots": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Snapshot"
},
"nullable": true
},
"parentRunId": {
"type": "string",
"nullable": true
},
"runType": {
"type": "string",
"nullable": true
},
"displayName": {
"type": "string",
"nullable": true
},
"environmentAssetId": {
"type": "string",
"nullable": true
},
"primaryMetricName": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"cancelReason": {
"type": "string",
"nullable": true
},
"properties": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
}
},
"additionalProperties": false
},
"RunDetailsDto": {
"type": "object",
"properties": {
"runId": {
"type": "string",
"nullable": true
},
"runUuid": {
"type": "string",
"format": "uuid",
"nullable": true
},
"parentRunUuid": {
"type": "string",
"format": "uuid",
"nullable": true
},
"rootRunUuid": {
"type": "string",
"format": "uuid",
"nullable": true
},
"target": {
"type": "string",
"nullable": true
},
"status": {
"type": "string",
"nullable": true
},
"parentRunId": {
"type": "string",
"nullable": true
},
"dataContainerId": {
"type": "string",
"nullable": true
},
"createdTimeUtc": {
"type": "string",
"format": "date-time",
"nullable": true
},
"startTimeUtc": {
"type": "string",
"format": "date-time",
"nullable": true
},
"endTimeUtc": {
"type": "string",
"format": "date-time",
"nullable": true
},
"error": {
"$ref": "#/components/schemas/ErrorResponse"
},
"warnings": {
"type": "array",
"items": {
"$ref": "#/components/schemas/RunDetailsWarningDto"
},
"nullable": true
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"properties": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"parameters": {
"type": "object",
"additionalProperties": {
"nullable": true
},
"nullable": true
},
"services": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/EndpointSetting"
},
"description": "This is a dictionary",
"nullable": true
},
"inputDatasets": {
"uniqueItems": true,
"type": "array",
"items": {
"$ref": "#/components/schemas/DatasetLineage"
},
"nullable": true
},
"outputDatasets": {
"uniqueItems": true,
"type": "array",
"items": {
"$ref": "#/components/schemas/OutputDatasetLineage"
},
"nullable": true
},
"runDefinition": {
"nullable": true
},
"logFiles": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"jobCost": {
"$ref": "#/components/schemas/JobCost"
},
"revision": {
"type": "integer",
"format": "int64",
"nullable": true
},
"runTypeV2": {
"$ref": "#/components/schemas/RunTypeV2"
},
"settings": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"computeRequest": {
"$ref": "#/components/schemas/ComputeRequest"
},
"compute": {
"$ref": "#/components/schemas/Compute"
},
"createdBy": {
"$ref": "#/components/schemas/User"
},
"computeDuration": {
"type": "string",
"format": "date-span",
"nullable": true
},
"effectiveStartTimeUtc": {
"type": "string",
"format": "date-time",
"nullable": true
},
"runNumber": {
"type": "integer",
"format": "int32",
"nullable": true
},
"rootRunId": {
"type": "string",
"nullable": true
},
"experimentId": {
"type": "string",
"nullable": true
},
"userId": {
"type": "string",
"nullable": true
},
"statusRevision": {
"type": "integer",
"format": "int64",
"nullable": true
},
"currentComputeTime": {
"type": "string",
"format": "date-span",
"nullable": true
},
"lastStartTimeUtc": {
"type": "string",
"format": "date-time",
"nullable": true
},
"lastModifiedBy": {
"$ref": "#/components/schemas/User"
},
"lastModifiedUtc": {
"type": "string",
"format": "date-time",
"nullable": true
},
"duration": {
"type": "string",
"format": "date-span",
"nullable": true
},
"inputs": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/TypedAssetReference"
},
"nullable": true
},
"outputs": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/TypedAssetReference"
},
"nullable": true
},
"currentAttemptId": {
"type": "integer",
"format": "int32",
"nullable": true
}
},
"additionalProperties": false
},
"RunDetailsWarningDto": {
"type": "object",
"properties": {
"source": {
"type": "string",
"nullable": true
},
"message": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"RunDisplayNameGenerationType": {
"enum": [
"AutoAppend",
"UserProvidedMacro"
],
"type": "string"
},
"RunDto": {
"type": "object",
"properties": {
"runNumber": {
"type": "integer",
"format": "int32",
"nullable": true
},
"rootRunId": {
"type": "string",
"nullable": true
},
"createdUtc": {
"type": "string",
"format": "date-time",
"nullable": true
},
"createdBy": {
"$ref": "#/components/schemas/User"
},
"userId": {
"type": "string",
"nullable": true
},
"token": {
"type": "string",
"nullable": true
},
"tokenExpiryTimeUtc": {
"type": "string",
"format": "date-time",
"nullable": true
},
"error": {
"$ref": "#/components/schemas/ErrorResponse"
},
"warnings": {
"type": "array",
"items": {
"$ref": "#/components/schemas/RunDetailsWarningDto"
},
"nullable": true
},
"revision": {
"type": "integer",
"format": "int64",
"nullable": true
},
"statusRevision": {
"type": "integer",
"format": "int64",
"nullable": true
},
"runUuid": {
"type": "string",
"format": "uuid",
"nullable": true
},
"parentRunUuid": {
"type": "string",
"format": "uuid",
"nullable": true
},
"rootRunUuid": {
"type": "string",
"format": "uuid",
"nullable": true
},
"lastStartTimeUtc": {
"type": "string",
"format": "date-time",
"nullable": true
},
"currentComputeTime": {
"type": "string",
"format": "date-span",
"nullable": true
},
"computeDuration": {
"type": "string",
"format": "date-span",
"nullable": true
},
"effectiveStartTimeUtc": {
"type": "string",
"format": "date-time",
"nullable": true
},
"lastModifiedBy": {
"$ref": "#/components/schemas/User"
},
"lastModifiedUtc": {
"type": "string",
"format": "date-time",
"nullable": true
},
"duration": {
"type": "string",
"format": "date-span",
"nullable": true
},
"cancelationReason": {
"type": "string",
"nullable": true
},
"currentAttemptId": {
"type": "integer",
"format": "int32",
"nullable": true
},
"runId": {
"type": "string",
"nullable": true
},
"parentRunId": {
"type": "string",
"nullable": true
},
"experimentId": {
"type": "string",
"nullable": true
},
"status": {
"type": "string",
"nullable": true
},
"startTimeUtc": {
"type": "string",
"format": "date-time",
"nullable": true
},
"endTimeUtc": {
"type": "string",
"format": "date-time",
"nullable": true
},
"scheduleId": {
"type": "string",
"nullable": true
},
"displayName": {
"type": "string",
"nullable": true
},
"name": {
"type": "string",
"nullable": true
},
"dataContainerId": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"hidden": {
"type": "boolean",
"nullable": true
},
"runType": {
"type": "string",
"nullable": true
},
"runTypeV2": {
"$ref": "#/components/schemas/RunTypeV2"
},
"properties": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"parameters": {
"type": "object",
"additionalProperties": {
"nullable": true
},
"nullable": true
},
"actionUris": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"scriptName": {
"type": "string",
"nullable": true
},
"target": {
"type": "string",
"nullable": true
},
"uniqueChildRunComputeTargets": {
"uniqueItems": true,
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"settings": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"services": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/EndpointSetting"
},
"nullable": true
},
"inputDatasets": {
"uniqueItems": true,
"type": "array",
"items": {
"$ref": "#/components/schemas/DatasetLineage"
},
"nullable": true
},
"outputDatasets": {
"uniqueItems": true,
"type": "array",
"items": {
"$ref": "#/components/schemas/OutputDatasetLineage"
},
"nullable": true
},
"runDefinition": {
"nullable": true
},
"jobSpecification": {
"nullable": true
},
"primaryMetricName": {
"type": "string",
"nullable": true
},
"createdFrom": {
"$ref": "#/components/schemas/CreatedFromDto"
},
"cancelUri": {
"type": "string",
"nullable": true
},
"completeUri": {
"type": "string",
"nullable": true
},
"diagnosticsUri": {
"type": "string",
"nullable": true
},
"computeRequest": {
"$ref": "#/components/schemas/ComputeRequest"
},
"compute": {
"$ref": "#/components/schemas/Compute"
},
"retainForLifetimeOfWorkspace": {
"type": "boolean",
"nullable": true
},
"queueingInfo": {
"$ref": "#/components/schemas/QueueingInfo"
},
"inputs": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/TypedAssetReference"
},
"nullable": true
},
"outputs": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/TypedAssetReference"
},
"nullable": true
}
},
"additionalProperties": false
},
"RunIndexEntity": {
"type": "object",
"properties": {
"schemaId": {
"type": "string",
"nullable": true
},
"entityId": {
"type": "string",
"nullable": true
},
"kind": {
"$ref": "#/components/schemas/EntityKind"
},
"annotations": {
"$ref": "#/components/schemas/RunAnnotations"
},
"properties": {
"$ref": "#/components/schemas/RunProperties"
},
"internal": {
"$ref": "#/components/schemas/ExtensibleObject"
},
"updateSequence": {
"type": "integer",
"format": "int64"
},
"type": {
"type": "string",
"nullable": true
},
"version": {
"type": "string",
"nullable": true,
"readOnly": true
},
"entityContainerId": {
"type": "string",
"nullable": true,
"readOnly": true
},
"entityObjectId": {
"type": "string",
"nullable": true,
"readOnly": true
},
"resourceType": {
"type": "string",
"nullable": true,
"readOnly": true
},
"relationships": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Relationship"
},
"nullable": true
},
"assetId": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"RunIndexMetricSummary": {
"type": "object",
"properties": {
"count": {
"type": "integer",
"format": "int64"
},
"lastValue": {
"nullable": true
},
"minimumValue": {
"nullable": true
},
"maximumValue": {
"nullable": true
},
"metricType": {
"type": "string",
"nullable": true
}
}
},
"RunIndexMetricSummarySystemObject": {
"type": "object",
"properties": {
"count": {
"type": "integer",
"format": "int64"
},
"lastValue": {
"nullable": true
},
"minimumValue": {
"nullable": true
},
"maximumValue": {
"nullable": true
},
"metricType": {
"type": "string",
"nullable": true
}
}
},
"RunIndexResourceMetricSummary": {
"type": "object",
"properties": {
"gpuUtilizationPercentLastHour": {
"type": "number",
"format": "double",
"nullable": true
},
"gpuMemoryUtilizationPercentLastHour": {
"type": "number",
"format": "double",
"nullable": true
},
"gpuEnergyJoules": {
"type": "number",
"format": "double",
"nullable": true
},
"resourceMetricNames": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
}
}
},
"RunMetricDto": {
"type": "object",
"properties": {
"runId": {
"type": "string",
"nullable": true
},
"metricId": {
"type": "string",
"format": "uuid"
},
"dataContainerId": {
"type": "string",
"nullable": true
},
"metricType": {
"type": "string",
"nullable": true
},
"createdUtc": {
"type": "string",
"format": "date-time",
"nullable": true
},
"name": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"label": {
"type": "string",
"nullable": true
},
"numCells": {
"type": "integer",
"format": "int32"
},
"dataLocation": {
"type": "string",
"nullable": true
},
"cells": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": { },
"description": "This is a dictionary"
},
"nullable": true
},
"schema": {
"$ref": "#/components/schemas/MetricSchemaDto"
}
},
"additionalProperties": false
},
"RunMetricsTypesDto": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"type": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"RunProperties": {
"type": "object",
"properties": {
"dataContainerId": {
"type": "string",
"nullable": true
},
"targetName": {
"type": "string",
"nullable": true
},
"runName": {
"type": "string",
"nullable": true
},
"experimentName": {
"type": "string",
"nullable": true
},
"runId": {
"type": "string",
"nullable": true
},
"parentRunId": {
"type": "string",
"nullable": true
},
"rootRunId": {
"type": "string",
"nullable": true
},
"runType": {
"type": "string",
"nullable": true
},
"runTypeV2": {
"$ref": "#/components/schemas/RunTypeV2Index"
},
"scriptName": {
"type": "string",
"nullable": true
},
"experimentId": {
"type": "string",
"nullable": true
},
"runUuid": {
"type": "string",
"format": "uuid",
"nullable": true
},
"parentRunUuid": {
"type": "string",
"format": "uuid",
"nullable": true
},
"runNumber": {
"type": "integer",
"format": "int32"
},
"startTime": {
"type": "string",
"format": "date-time",
"nullable": true
},
"endTime": {
"type": "string",
"format": "date-time",
"nullable": true
},
"computeRequest": {
"$ref": "#/components/schemas/ComputeRequest"
},
"compute": {
"$ref": "#/components/schemas/Compute"
},
"userProperties": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"actionUris": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"duration": {
"type": "string",
"format": "date-span",
"nullable": true
},
"durationMilliseconds": {
"type": "number",
"format": "double",
"nullable": true
},
"creationContext": {
"$ref": "#/components/schemas/CreationContext"
}
}
},
"RunSettingParameter": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"label": {
"type": "string",
"nullable": true
},
"parameterType": {
"$ref": "#/components/schemas/RunSettingParameterType"
},
"isOptional": {
"type": "boolean",
"nullable": true
},
"defaultValue": {
"type": "string",
"nullable": true
},
"lowerBound": {
"type": "string",
"nullable": true
},
"upperBound": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"runSettingUIHint": {
"$ref": "#/components/schemas/RunSettingUIParameterHint"
},
"argumentName": {
"type": "string",
"nullable": true
},
"sectionName": {
"type": "string",
"nullable": true
},
"sectionDescription": {
"type": "string",
"nullable": true
},
"sectionArgumentName": {
"type": "string",
"nullable": true
},
"examples": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"enumValues": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"enumValuesToArgumentStrings": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"enabledByParameterName": {
"type": "string",
"nullable": true
},
"enabledByParameterValues": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"disabledByParameters": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"moduleRunSettingType": {
"$ref": "#/components/schemas/ModuleRunSettingTypes"
},
"linkedParameterDefaultValueMapping": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"linkedParameterKeyName": {
"type": "string",
"nullable": true
},
"supportLinkSetting": {
"type": "boolean"
}
},
"additionalProperties": false
},
"RunSettingParameterAssignment": {
"type": "object",
"properties": {
"useGraphDefaultCompute": {
"type": "boolean",
"nullable": true
},
"mlcComputeType": {
"type": "string",
"nullable": true
},
"computeRunSettings": {
"type": "array",
"items": {
"$ref": "#/components/schemas/RunSettingParameterAssignment"
},
"nullable": true
},
"linkedParameterName": {
"type": "string",
"nullable": true
},
"valueType": {
"$ref": "#/components/schemas/ParameterValueType"
},
"assignmentsToConcatenate": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ParameterAssignment"
},
"nullable": true
},
"dataPathAssignment": {
"$ref": "#/components/schemas/LegacyDataPath"
},
"dataSetDefinitionValueAssignment": {
"$ref": "#/components/schemas/DataSetDefinitionValue"
},
"name": {
"type": "string",
"nullable": true
},
"value": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"RunSettingParameterType": {
"enum": [
"Undefined",
"Int",
"Double",
"Bool",
"String",
"JsonString",
"YamlString",
"StringList"
],
"type": "string"
},
"RunSettingUIParameterHint": {
"type": "object",
"properties": {
"uiWidgetType": {
"$ref": "#/components/schemas/RunSettingUIWidgetTypeEnum"
},
"jsonEditor": {
"$ref": "#/components/schemas/UIJsonEditor"
},
"yamlEditor": {
"$ref": "#/components/schemas/UIYamlEditor"
},
"computeSelection": {
"$ref": "#/components/schemas/UIComputeSelection"
},
"hyperparameterConfiguration": {
"$ref": "#/components/schemas/UIHyperparameterConfiguration"
},
"uxIgnore": {
"type": "boolean"
},
"anonymous": {
"type": "boolean"
},
"supportReset": {
"type": "boolean"
}
},
"additionalProperties": false
},
"RunSettingUIWidgetTypeEnum": {
"enum": [
"Default",
"ComputeSelection",
"JsonEditor",
"Mode",
"SearchSpaceParameter",
"SectionToggle",
"YamlEditor",
"EnableRuntimeSweep",
"DataStoreSelection",
"Checkbox",
"MultipleSelection",
"HyperparameterConfiguration",
"JsonTextBox",
"Connection",
"Static"
],
"type": "string"
},
"RunStatus": {
"enum": [
"NotStarted",
"Unapproved",
"Pausing",
"Paused",
"Starting",
"Preparing",
"Queued",
"Running",
"Finalizing",
"CancelRequested",
"Completed",
"Failed",
"Canceled"
],
"type": "string"
},
"RunStatusPeriod": {
"type": "object",
"properties": {
"status": {
"$ref": "#/components/schemas/RunStatus"
},
"subPeriods": {
"type": "array",
"items": {
"$ref": "#/components/schemas/SubStatusPeriod"
},
"nullable": true
},
"start": {
"type": "integer",
"format": "int64",
"nullable": true
},
"end": {
"type": "integer",
"format": "int64",
"nullable": true
}
},
"additionalProperties": false
},
"RunType": {
"enum": [
"HTTP",
"SDK",
"Schedule",
"Portal"
],
"type": "string"
},
"RunTypeV2": {
"type": "object",
"properties": {
"orchestrator": {
"type": "string",
"nullable": true
},
"traits": {
"uniqueItems": true,
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"attribution": {
"type": "string",
"nullable": true
},
"computeType": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"RunTypeV2Index": {
"type": "object",
"properties": {
"orchestrator": {
"type": "string",
"nullable": true
},
"traits": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"attribution": {
"type": "string",
"nullable": true
},
"computeType": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"RuntimeConfiguration": {
"type": "object",
"properties": {
"baseImage": {
"type": "string",
"nullable": true
},
"version": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"RuntimeStatusEnum": {
"enum": [
"Unavailable",
"Failed",
"NotExist",
"Starting",
"Stopping"
],
"type": "string"
},
"RuntimeType": {
"enum": [
"ManagedOnlineEndpoint",
"ComputeInstance",
"TrainingSession"
],
"type": "string"
},
"SampleMeta": {
"type": "object",
"properties": {
"image": {
"type": "string",
"nullable": true
},
"id": {
"type": "string",
"nullable": true
},
"displayName": {
"type": "string",
"nullable": true
},
"name": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"docLink": {
"type": "string",
"nullable": true
},
"tags": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"updatedAt": {
"type": "string",
"format": "date-time"
},
"feedName": {
"type": "string",
"nullable": true
},
"version": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"SamplingAlgorithmType": {
"enum": [
"Random",
"Grid",
"Bayesian"
],
"type": "string"
},
"SavePipelineDraftRequest": {
"type": "object",
"properties": {
"uiWidgetMetaInfos": {
"type": "array",
"items": {
"$ref": "#/components/schemas/UIWidgetMetaInfo"
},
"nullable": true
},
"webServiceInputs": {
"type": "array",
"items": {
"$ref": "#/components/schemas/WebServicePort"
},
"nullable": true
},
"webServiceOutputs": {
"type": "array",
"items": {
"$ref": "#/components/schemas/WebServicePort"
},
"nullable": true
},
"nodesInDraft": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"name": {
"type": "string",
"nullable": true
},
"pipelineType": {
"$ref": "#/components/schemas/PipelineType"
},
"pipelineDraftMode": {
"$ref": "#/components/schemas/PipelineDraftMode"
},
"graphComponentsMode": {
"$ref": "#/components/schemas/GraphComponentsMode"
},
"subPipelinesInfo": {
"$ref": "#/components/schemas/SubPipelinesInfo"
},
"flattenedSubGraphs": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/PipelineSubDraft"
},
"nullable": true
},
"pipelineParameters": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"dataPathAssignments": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/LegacyDataPath"
},
"description": "This is a dictionary",
"nullable": true
},
"dataSetDefinitionValueAssignments": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/DataSetDefinitionValue"
},
"description": "This is a dictionary",
"nullable": true
},
"assetOutputSettingsAssignments": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/AssetOutputSettings"
},
"description": "This is a dictionary",
"nullable": true
},
"graph": {
"$ref": "#/components/schemas/GraphDraftEntity"
},
"pipelineRunSettings": {
"type": "array",
"items": {
"$ref": "#/components/schemas/RunSettingParameterAssignment"
},
"nullable": true
},
"moduleNodeRunSettings": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GraphModuleNodeRunSetting"
},
"nullable": true
},
"moduleNodeUIInputSettings": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GraphModuleNodeUIInputSetting"
},
"nullable": true
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"continueRunOnStepFailure": {
"type": "boolean",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"properties": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"enforceRerun": {
"type": "boolean",
"nullable": true
},
"datasetAccessModes": {
"$ref": "#/components/schemas/DatasetAccessModes"
}
},
"additionalProperties": false
},
"SavedDataSetReference": {
"type": "object",
"properties": {
"id": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"ScheduleBase": {
"type": "object",
"properties": {
"scheduleStatus": {
"$ref": "#/components/schemas/MfeInternalScheduleStatus"
},
"scheduleType": {
"$ref": "#/components/schemas/ScheduleType"
},
"endTime": {
"type": "string",
"format": "date-time",
"nullable": true
},
"startTime": {
"type": "string",
"format": "date-time",
"nullable": true
},
"timeZone": {
"type": "string",
"nullable": true
},
"expression": {
"type": "string",
"nullable": true
},
"frequency": {
"$ref": "#/components/schemas/RecurrenceFrequency"
},
"interval": {
"type": "integer",
"format": "int32"
},
"pattern": {
"$ref": "#/components/schemas/RecurrencePattern"
}
},
"additionalProperties": false
},
"ScheduleProvisioningStatus": {
"enum": [
"Creating",
"Updating",
"Deleting",
"Succeeded",
"Failed",
"Canceled"
],
"type": "string"
},
"ScheduleStatus": {
"enum": [
"Enabled",
"Disabled"
],
"type": "string"
},
"ScheduleType": {
"enum": [
"Cron",
"Recurrence"
],
"type": "string"
},
"SchemaContractsCreatedBy": {
"type": "object",
"properties": {
"userObjectId": {
"type": "string",
"nullable": true
},
"userTenantId": {
"type": "string",
"nullable": true
},
"userName": {
"type": "string",
"nullable": true
},
"userPrincipalName": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"ScopeCloudConfiguration": {
"type": "object",
"properties": {
"inputPathSuffixes": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/ArgumentAssignment"
},
"description": "This is a dictionary",
"nullable": true
},
"outputPathSuffixes": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/ArgumentAssignment"
},
"description": "This is a dictionary",
"nullable": true
},
"userAlias": {
"type": "string",
"nullable": true
},
"tokens": {
"type": "integer",
"format": "int32",
"nullable": true
},
"autoToken": {
"type": "integer",
"format": "int32",
"nullable": true
},
"vcp": {
"type": "number",
"format": "float",
"nullable": true
}
},
"additionalProperties": false
},
"ScopeType": {
"enum": [
"Global",
"Tenant",
"Subscription",
"ResourceGroup",
"Workspace"
],
"type": "string"
},
"ScriptType": {
"enum": [
"Python",
"Notebook"
],
"type": "string"
},
"Seasonality": {
"type": "object",
"properties": {
"mode": {
"$ref": "#/components/schemas/SeasonalityMode"
},
"value": {
"type": "integer",
"format": "int32"
}
},
"additionalProperties": false
},
"SeasonalityMode": {
"enum": [
"Auto",
"Custom"
],
"type": "string"
},
"SecretConfiguration": {
"type": "object",
"properties": {
"workspace_secret_name": {
"type": "string",
"nullable": true
},
"uri": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"Section": {
"enum": [
"Gallery",
"Template"
],
"type": "string"
},
"SegmentedResult`1": {
"type": "object",
"properties": {
"value": {
"type": "array",
"items": {
"$ref": "#/components/schemas/FlowIndexEntity"
},
"nullable": true
},
"continuationToken": {
"type": "string",
"nullable": true
},
"count": {
"type": "integer",
"format": "int32",
"nullable": true
},
"nextLink": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"ServiceLogRequest": {
"type": "object",
"properties": {
"logLevel": {
"$ref": "#/components/schemas/LogLevel"
},
"message": {
"type": "string",
"nullable": true
},
"timestamp": {
"type": "string",
"format": "date-time",
"nullable": true
}
},
"additionalProperties": false
},
"SessionApplication": {
"type": "object",
"properties": {
"image": {
"type": "string",
"nullable": true
},
"envVars": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"pythonPipRequirements": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"setupResults": {
"type": "array",
"items": {
"$ref": "#/components/schemas/SessionApplicationRunCommandResult"
},
"nullable": true
}
},
"additionalProperties": false
},
"SessionApplicationRunCommandResult": {
"type": "object",
"properties": {
"command": {
"type": "string",
"nullable": true
},
"arguments": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"exitCode": {
"type": "integer",
"format": "int32"
},
"stdOut": {
"type": "string",
"nullable": true
},
"stdErr": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"SessionProperties": {
"type": "object",
"properties": {
"sessionId": {
"type": "string",
"nullable": true
},
"subscriptionId": {
"type": "string",
"nullable": true
},
"resourceGroupName": {
"type": "string",
"nullable": true
},
"workspaceName": {
"type": "string",
"nullable": true
},
"userObjectId": {
"type": "string",
"nullable": true
},
"userTenantId": {
"type": "string",
"nullable": true
},
"vmSize": {
"type": "string",
"nullable": true
},
"maxIdleTimeSeconds": {
"type": "integer",
"format": "int64"
},
"application": {
"$ref": "#/components/schemas/SessionApplication"
},
"lastAliveTime": {
"type": "string",
"format": "date-time"
}
},
"additionalProperties": false
},
"SessionSetupModeEnum": {
"enum": [
"ClientWait",
"SystemWait"
],
"type": "string"
},
"SetupFlowSessionAction": {
"enum": [
"Install",
"Reset",
"Update",
"Delete"
],
"type": "string"
},
"SetupFlowSessionRequest": {
"type": "object",
"properties": {
"action": {
"$ref": "#/components/schemas/SetupFlowSessionAction"
},
"vmSize": {
"type": "string",
"nullable": true
},
"maxIdleTimeSeconds": {
"type": "integer",
"format": "int64",
"nullable": true
},
"identity": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"SeverityLevel": {
"enum": [
"Critical",
"Error",
"Warning",
"Info"
],
"type": "string"
},
"SharingScope": {
"type": "object",
"properties": {
"type": {
"$ref": "#/components/schemas/ScopeType"
},
"identifier": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"ShortSeriesHandlingConfiguration": {
"enum": [
"Auto",
"Pad",
"Drop"
],
"type": "string"
},
"Snapshot": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid",
"nullable": true
},
"directoryName": {
"type": "string",
"nullable": true
},
"snapshotAssetId": {
"type": "string",
"nullable": true
},
"snapshotEntityId": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"SnapshotInfo": {
"type": "object",
"properties": {
"rootDownloadUrl": {
"type": "string",
"nullable": true
},
"snapshots": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/DownloadResourceInfo"
},
"description": "This is a dictionary",
"nullable": true
}
},
"additionalProperties": false
},
"SourceCodeDataReference": {
"type": "object",
"properties": {
"dataStoreName": {
"type": "string",
"nullable": true
},
"path": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"SparkConfiguration": {
"type": "object",
"properties": {
"configuration": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"files": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"archives": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"jars": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"pyFiles": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"sparkPoolResourceId": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"SparkJarTaskDto": {
"type": "object",
"properties": {
"main_class_name": {
"type": "string",
"nullable": true
},
"parameters": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
}
},
"additionalProperties": false
},
"SparkJob": {
"type": "object",
"properties": {
"jobType": {
"$ref": "#/components/schemas/JobType"
},
"resources": {
"$ref": "#/components/schemas/SparkResourceConfiguration"
},
"args": {
"type": "string",
"nullable": true
},
"codeId": {
"type": "string",
"nullable": true
},
"entry": {
"$ref": "#/components/schemas/SparkJobEntry"
},
"pyFiles": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"jars": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"files": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"archives": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"environmentId": {
"type": "string",
"nullable": true
},
"inputDataBindings": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/InputDataBinding"
},
"nullable": true
},
"outputDataBindings": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/OutputDataBinding"
},
"nullable": true
},
"conf": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"environmentVariables": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"provisioningState": {
"$ref": "#/components/schemas/JobProvisioningState"
},
"parentJobName": {
"type": "string",
"nullable": true
},
"displayName": {
"type": "string",
"nullable": true
},
"experimentName": {
"type": "string",
"nullable": true
},
"status": {
"$ref": "#/components/schemas/JobStatus"
},
"interactionEndpoints": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/JobEndpoint"
},
"nullable": true
},
"identity": {
"$ref": "#/components/schemas/MfeInternalIdentityConfiguration"
},
"compute": {
"$ref": "#/components/schemas/ComputeConfiguration"
},
"priority": {
"type": "integer",
"format": "int32",
"nullable": true
},
"output": {
"$ref": "#/components/schemas/JobOutputArtifacts"
},
"isArchived": {
"type": "boolean"
},
"schedule": {
"$ref": "#/components/schemas/ScheduleBase"
},
"componentId": {
"type": "string",
"nullable": true
},
"notificationSetting": {
"$ref": "#/components/schemas/NotificationSetting"
},
"secretsConfiguration": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/MfeInternalSecretConfiguration"
},
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"properties": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
}
},
"additionalProperties": false
},
"SparkJobEntry": {
"type": "object",
"properties": {
"file": {
"type": "string",
"nullable": true
},
"className": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"SparkMavenPackage": {
"type": "object",
"properties": {
"group": {
"type": "string",
"nullable": true
},
"artifact": {
"type": "string",
"nullable": true
},
"version": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"SparkPythonTaskDto": {
"type": "object",
"properties": {
"python_file": {
"type": "string",
"nullable": true
},
"parameters": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
}
},
"additionalProperties": false
},
"SparkResourceConfiguration": {
"type": "object",
"properties": {
"instanceType": {
"type": "string",
"nullable": true
},
"runtimeVersion": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"SparkSection": {
"type": "object",
"properties": {
"repositories": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"packages": {
"type": "array",
"items": {
"$ref": "#/components/schemas/SparkMavenPackage"
},
"nullable": true
},
"precachePackages": {
"type": "boolean"
}
},
"additionalProperties": false
},
"SparkSubmitTaskDto": {
"type": "object",
"properties": {
"parameters": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
}
},
"additionalProperties": false
},
"SqlDataPath": {
"type": "object",
"properties": {
"sqlTableName": {
"type": "string",
"nullable": true
},
"sqlQuery": {
"type": "string",
"nullable": true
},
"sqlStoredProcedureName": {
"type": "string",
"nullable": true
},
"sqlStoredProcedureParams": {
"type": "array",
"items": {
"$ref": "#/components/schemas/StoredProcedureParameter"
},
"nullable": true
}
},
"additionalProperties": false
},
"StackEnsembleSettings": {
"type": "object",
"properties": {
"stackMetaLearnerType": {
"$ref": "#/components/schemas/StackMetaLearnerType"
},
"stackMetaLearnerTrainPercentage": {
"type": "number",
"format": "double",
"nullable": true
},
"stackMetaLearnerKWargs": {
"nullable": true
}
},
"additionalProperties": false
},
"StackMetaLearnerType": {
"enum": [
"None",
"LogisticRegression",
"LogisticRegressionCV",
"LightGBMClassifier",
"ElasticNet",
"ElasticNetCV",
"LightGBMRegressor",
"LinearRegression"
],
"type": "string"
},
"StandbyPoolProperties": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"count": {
"type": "integer",
"format": "int32"
},
"vmSize": {
"type": "string",
"nullable": true
},
"standbyAvailableInstances": {
"type": "array",
"items": {
"$ref": "#/components/schemas/StandbyPoolResourceStatus"
},
"nullable": true
}
},
"additionalProperties": false
},
"StandbyPoolResourceStatus": {
"type": "object",
"properties": {
"status": {
"type": "string",
"nullable": true
},
"error": {
"$ref": "#/components/schemas/CloudError"
}
},
"additionalProperties": false
},
"StartRunResult": {
"required": [
"runId"
],
"type": "object",
"properties": {
"runId": {
"minLength": 1,
"type": "string"
}
},
"additionalProperties": false
},
"StepRunProfile": {
"type": "object",
"properties": {
"stepRunId": {
"type": "string",
"nullable": true
},
"stepRunNumber": {
"type": "integer",
"format": "int32",
"nullable": true
},
"runUrl": {
"type": "string",
"nullable": true
},
"computeTarget": {
"type": "string",
"nullable": true
},
"computeTargetUrl": {
"type": "string",
"nullable": true
},
"nodeId": {
"type": "string",
"nullable": true
},
"nodeName": {
"type": "string",
"nullable": true
},
"stepName": {
"type": "string",
"nullable": true
},
"createTime": {
"type": "integer",
"format": "int64",
"nullable": true
},
"startTime": {
"type": "integer",
"format": "int64",
"nullable": true
},
"endTime": {
"type": "integer",
"format": "int64",
"nullable": true
},
"status": {
"$ref": "#/components/schemas/RunStatus"
},
"statusDetail": {
"type": "string",
"nullable": true
},
"isReused": {
"type": "boolean"
},
"reusedPipelineRunId": {
"type": "string",
"nullable": true
},
"reusedStepRunId": {
"type": "string",
"nullable": true
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"statusTimeline": {
"type": "array",
"items": {
"$ref": "#/components/schemas/RunStatusPeriod"
},
"nullable": true
}
},
"additionalProperties": false
},
"StorageAuthType": {
"enum": [
"MSI",
"ConnectionString",
"SAS"
],
"type": "string"
},
"StorageInfo": {
"type": "object",
"properties": {
"storageAuthType": {
"$ref": "#/components/schemas/StorageAuthType"
},
"connectionString": {
"type": "string",
"nullable": true
},
"sasToken": {
"type": "string",
"nullable": true
},
"accountName": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"StoredProcedureParameter": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"value": {
"type": "string",
"nullable": true
},
"type": {
"$ref": "#/components/schemas/StoredProcedureParameterType"
}
},
"additionalProperties": false
},
"StoredProcedureParameterType": {
"enum": [
"String",
"Int",
"Decimal",
"Guid",
"Boolean",
"Date"
],
"type": "string"
},
"Stream": {
"type": "object",
"properties": {
"canRead": {
"type": "boolean",
"readOnly": true
},
"canWrite": {
"type": "boolean",
"readOnly": true
},
"canSeek": {
"type": "boolean",
"readOnly": true
},
"canTimeout": {
"type": "boolean",
"readOnly": true
},
"length": {
"type": "integer",
"format": "int64",
"readOnly": true
},
"position": {
"type": "integer",
"format": "int64"
},
"readTimeout": {
"type": "integer",
"format": "int32"
},
"writeTimeout": {
"type": "integer",
"format": "int32"
}
},
"additionalProperties": false
},
"StructuredInterface": {
"type": "object",
"properties": {
"commandLinePattern": {
"type": "string",
"nullable": true
},
"inputs": {
"type": "array",
"items": {
"$ref": "#/components/schemas/StructuredInterfaceInput"
},
"nullable": true
},
"outputs": {
"type": "array",
"items": {
"$ref": "#/components/schemas/StructuredInterfaceOutput"
},
"nullable": true
},
"controlOutputs": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ControlOutput"
},
"nullable": true
},
"parameters": {
"type": "array",
"items": {
"$ref": "#/components/schemas/StructuredInterfaceParameter"
},
"nullable": true
},
"metadataParameters": {
"type": "array",
"items": {
"$ref": "#/components/schemas/StructuredInterfaceParameter"
},
"nullable": true
},
"arguments": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ArgumentAssignment"
},
"nullable": true
}
},
"additionalProperties": false
},
"StructuredInterfaceInput": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"label": {
"type": "string",
"nullable": true
},
"dataTypeIdsList": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"isOptional": {
"type": "boolean"
},
"description": {
"type": "string",
"nullable": true
},
"skipProcessing": {
"type": "boolean"
},
"isResource": {
"type": "boolean"
},
"dataStoreMode": {
"$ref": "#/components/schemas/AEVADataStoreMode"
},
"pathOnCompute": {
"type": "string",
"nullable": true
},
"overwrite": {
"type": "boolean"
},
"dataReferenceName": {
"type": "string",
"nullable": true
},
"datasetTypes": {
"uniqueItems": true,
"type": "array",
"items": {
"$ref": "#/components/schemas/DatasetType"
},
"nullable": true
}
},
"additionalProperties": false
},
"StructuredInterfaceOutput": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"label": {
"type": "string",
"nullable": true
},
"dataTypeId": {
"type": "string",
"nullable": true
},
"passThroughDataTypeInputName": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"skipProcessing": {
"type": "boolean"
},
"IsArtifact": {
"type": "boolean"
},
"dataStoreName": {
"type": "string",
"nullable": true
},
"dataStoreMode": {
"$ref": "#/components/schemas/AEVADataStoreMode"
},
"pathOnCompute": {
"type": "string",
"nullable": true
},
"overwrite": {
"type": "boolean"
},
"dataReferenceName": {
"type": "string",
"nullable": true
},
"trainingOutput": {
"$ref": "#/components/schemas/TrainingOutput"
},
"datasetOutput": {
"$ref": "#/components/schemas/DatasetOutput"
},
"AssetOutputSettings": {
"$ref": "#/components/schemas/AssetOutputSettings"
},
"EarlyAvailable": {
"type": "boolean"
}
},
"additionalProperties": false
},
"StructuredInterfaceParameter": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"label": {
"type": "string",
"nullable": true
},
"parameterType": {
"$ref": "#/components/schemas/ParameterType"
},
"isOptional": {
"type": "boolean"
},
"defaultValue": {
"type": "string",
"nullable": true
},
"lowerBound": {
"type": "string",
"nullable": true
},
"upperBound": {
"type": "string",
"nullable": true
},
"enumValues": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"enumValuesToArgumentStrings": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"setEnvironmentVariable": {
"type": "boolean"
},
"environmentVariableOverride": {
"type": "string",
"nullable": true
},
"enabledByParameterName": {
"type": "string",
"nullable": true
},
"enabledByParameterValues": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"uiHint": {
"$ref": "#/components/schemas/UIParameterHint"
},
"groupNames": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"argumentName": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"StudioMigrationInfo": {
"type": "object",
"properties": {
"sourceWorkspaceId": {
"type": "string",
"nullable": true
},
"sourceExperimentId": {
"type": "string",
"nullable": true
},
"sourceExperimentLink": {
"type": "string",
"nullable": true
},
"failedNodeIdList": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"errorMessage": {
"type": "string",
"nullable": true,
"readOnly": true
}
},
"additionalProperties": false
},
"SubGraphConcatenateAssignment": {
"type": "object",
"properties": {
"concatenateParameter": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ParameterAssignment"
},
"nullable": true
},
"parameterAssignments": {
"$ref": "#/components/schemas/SubPipelineParameterAssignment"
}
},
"additionalProperties": false
},
"SubGraphConfiguration": {
"type": "object",
"properties": {
"graphId": {
"type": "string",
"nullable": true
},
"graphDraftId": {
"type": "string",
"nullable": true
},
"DefaultCloudPriority": {
"$ref": "#/components/schemas/CloudPrioritySetting"
},
"IsDynamic": {
"type": "boolean",
"default": false,
"nullable": true
}
},
"additionalProperties": false
},
"SubGraphConnectionInfo": {
"type": "object",
"properties": {
"nodeId": {
"type": "string",
"nullable": true
},
"portName": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"SubGraphDataPathParameterAssignment": {
"type": "object",
"properties": {
"dataSetPathParameter": {
"$ref": "#/components/schemas/DataSetPathParameter"
},
"dataSetPathParameterAssignments": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
}
},
"additionalProperties": false
},
"SubGraphInfo": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"defaultComputeTarget": {
"$ref": "#/components/schemas/ComputeSetting"
},
"defaultDataStore": {
"$ref": "#/components/schemas/DatastoreSetting"
},
"id": {
"type": "string",
"nullable": true
},
"parentGraphId": {
"type": "string",
"nullable": true
},
"pipelineDefinitionId": {
"type": "string",
"nullable": true
},
"subGraphParameterAssignment": {
"type": "array",
"items": {
"$ref": "#/components/schemas/SubGraphParameterAssignment"
},
"nullable": true
},
"subGraphConcatenateAssignment": {
"type": "array",
"items": {
"$ref": "#/components/schemas/SubGraphConcatenateAssignment"
},
"nullable": true
},
"subGraphDataPathParameterAssignment": {
"type": "array",
"items": {
"$ref": "#/components/schemas/SubGraphDataPathParameterAssignment"
},
"nullable": true
},
"subGraphDefaultComputeTargetNodes": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"subGraphDefaultDataStoreNodes": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"inputs": {
"type": "array",
"items": {
"$ref": "#/components/schemas/SubGraphPortInfo"
},
"nullable": true
},
"outputs": {
"type": "array",
"items": {
"$ref": "#/components/schemas/SubGraphPortInfo"
},
"nullable": true
}
},
"additionalProperties": false
},
"SubGraphParameterAssignment": {
"type": "object",
"properties": {
"parameter": {
"$ref": "#/components/schemas/Parameter"
},
"parameterAssignments": {
"type": "array",
"items": {
"$ref": "#/components/schemas/SubPipelineParameterAssignment"
},
"nullable": true
}
},
"additionalProperties": false
},
"SubGraphPortInfo": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"internal": {
"type": "array",
"items": {
"$ref": "#/components/schemas/SubGraphConnectionInfo"
},
"nullable": true
},
"external": {
"type": "array",
"items": {
"$ref": "#/components/schemas/SubGraphConnectionInfo"
},
"nullable": true
}
},
"additionalProperties": false
},
"SubPipelineDefinition": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"defaultComputeTarget": {
"$ref": "#/components/schemas/ComputeSetting"
},
"defaultDataStore": {
"$ref": "#/components/schemas/DatastoreSetting"
},
"pipelineFunctionName": {
"type": "string",
"nullable": true
},
"id": {
"type": "string",
"nullable": true
},
"parentDefinitionId": {
"type": "string",
"nullable": true
},
"fromModuleName": {
"type": "string",
"nullable": true
},
"parameterList": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Kwarg"
},
"nullable": true
}
},
"additionalProperties": false
},
"SubPipelineParameterAssignment": {
"type": "object",
"properties": {
"nodeId": {
"type": "string",
"nullable": true
},
"parameterName": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"SubPipelinesInfo": {
"type": "object",
"properties": {
"subGraphInfo": {
"type": "array",
"items": {
"$ref": "#/components/schemas/SubGraphInfo"
},
"nullable": true
},
"nodeIdToSubGraphIdMapping": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"subPipelineDefinition": {
"type": "array",
"items": {
"$ref": "#/components/schemas/SubPipelineDefinition"
},
"nullable": true
}
},
"additionalProperties": false
},
"SubStatusPeriod": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"subPeriods": {
"type": "array",
"items": {
"$ref": "#/components/schemas/SubStatusPeriod"
},
"nullable": true
},
"start": {
"type": "integer",
"format": "int64",
"nullable": true
},
"end": {
"type": "integer",
"format": "int64",
"nullable": true
}
},
"additionalProperties": false
},
"SubmitBulkRunRequest": {
"type": "object",
"properties": {
"flowDefinitionFilePath": {
"type": "string",
"nullable": true
},
"flowDefinitionResourceId": {
"type": "string",
"nullable": true
},
"flowDefinitionDataStoreName": {
"type": "string",
"nullable": true
},
"flowDefinitionBlobPath": {
"type": "string",
"nullable": true
},
"flowDefinitionDataUri": {
"type": "string",
"nullable": true
},
"runId": {
"type": "string",
"nullable": true
},
"runDisplayName": {
"type": "string",
"nullable": true
},
"runExperimentName": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"properties": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"nodeVariant": {
"type": "string",
"nullable": true
},
"variantRunId": {
"type": "string",
"nullable": true
},
"baselineRunId": {
"type": "string",
"nullable": true
},
"batchDataInput": {
"$ref": "#/components/schemas/BatchDataInput"
},
"inputsMapping": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"connections": {
"type": "object",
"additionalProperties": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary"
},
"description": "This is a dictionary",
"nullable": true
},
"environmentVariables": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"amlComputeName": {
"type": "string",
"nullable": true
},
"runtimeName": {
"type": "string",
"nullable": true
},
"sessionId": {
"type": "string",
"nullable": true
},
"vmSize": {
"type": "string",
"nullable": true
},
"maxIdleTimeSeconds": {
"type": "integer",
"format": "int64",
"nullable": true
},
"sessionSetupMode": {
"$ref": "#/components/schemas/SessionSetupModeEnum"
},
"outputDataStore": {
"type": "string",
"nullable": true
},
"flowLineageId": {
"type": "string",
"nullable": true
},
"runDisplayNameGenerationType": {
"$ref": "#/components/schemas/RunDisplayNameGenerationType"
}
},
"additionalProperties": false
},
"SubmitBulkRunResponse": {
"type": "object",
"properties": {
"nextActionIntervalInSeconds": {
"type": "integer",
"format": "int32",
"nullable": true
},
"actionType": {
"$ref": "#/components/schemas/ActionType"
},
"flow_runs": {
"type": "array",
"items": { },
"nullable": true
},
"node_runs": {
"type": "array",
"items": { },
"nullable": true
},
"errorResponse": {
"$ref": "#/components/schemas/ErrorResponse"
},
"flowName": {
"type": "string",
"nullable": true
},
"flowRunDisplayName": {
"type": "string",
"nullable": true
},
"flowRunId": {
"type": "string",
"nullable": true
},
"flowGraph": {
"$ref": "#/components/schemas/FlowGraph"
},
"flowGraphLayout": {
"$ref": "#/components/schemas/FlowGraphLayout"
},
"flowRunResourceId": {
"type": "string",
"nullable": true
},
"bulkTestId": {
"type": "string",
"nullable": true
},
"batchInputs": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": { },
"description": "This is a dictionary"
},
"nullable": true
},
"batchDataInput": {
"$ref": "#/components/schemas/BatchDataInput"
},
"createdBy": {
"$ref": "#/components/schemas/SchemaContractsCreatedBy"
},
"createdOn": {
"type": "string",
"format": "date-time",
"nullable": true
},
"flowRunType": {
"$ref": "#/components/schemas/FlowRunTypeEnum"
},
"flowType": {
"$ref": "#/components/schemas/FlowType"
},
"runtimeName": {
"type": "string",
"nullable": true
},
"amlComputeName": {
"type": "string",
"nullable": true
},
"flowRunLogs": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"flowTestMode": {
"$ref": "#/components/schemas/FlowTestMode"
},
"flowTestInfos": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/FlowTestInfo"
},
"nullable": true
},
"workingDirectory": {
"type": "string",
"nullable": true
},
"flowDagFileRelativePath": {
"type": "string",
"nullable": true
},
"flowSnapshotId": {
"type": "string",
"nullable": true
},
"variantRunToEvaluationRunsIdMapping": {
"type": "object",
"additionalProperties": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"nullable": true
}
},
"additionalProperties": false
},
"SubmitFlowRequest": {
"type": "object",
"properties": {
"flowRunId": {
"type": "string",
"nullable": true
},
"flowRunDisplayName": {
"type": "string",
"nullable": true
},
"flowId": {
"type": "string",
"nullable": true
},
"flow": {
"$ref": "#/components/schemas/Flow"
},
"flowSubmitRunSettings": {
"$ref": "#/components/schemas/FlowSubmitRunSettings"
},
"asyncSubmission": {
"type": "boolean"
},
"useWorkspaceConnection": {
"type": "boolean"
},
"useFlowSnapshotToSubmit": {
"type": "boolean"
},
"enableBlobRunArtifacts": {
"type": "boolean"
},
"enableAsyncFlowTest": {
"type": "boolean"
},
"flowRuntimeSubmissionApiVersion": {
"$ref": "#/components/schemas/FlowRuntimeSubmissionApiVersion"
},
"runDisplayNameGenerationType": {
"$ref": "#/components/schemas/RunDisplayNameGenerationType"
}
},
"additionalProperties": false
},
"SubmitPipelineRunRequest": {
"type": "object",
"properties": {
"computeTarget": {
"type": "string",
"nullable": true
},
"flattenedSubGraphs": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/PipelineSubDraft"
},
"nullable": true
},
"stepTags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"experimentName": {
"type": "string",
"nullable": true
},
"pipelineParameters": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"dataPathAssignments": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/LegacyDataPath"
},
"description": "This is a dictionary",
"nullable": true
},
"dataSetDefinitionValueAssignments": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/DataSetDefinitionValue"
},
"description": "This is a dictionary",
"nullable": true
},
"assetOutputSettingsAssignments": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/AssetOutputSettings"
},
"description": "This is a dictionary",
"nullable": true
},
"enableNotification": {
"type": "boolean",
"nullable": true
},
"subPipelinesInfo": {
"$ref": "#/components/schemas/SubPipelinesInfo"
},
"displayName": {
"type": "string",
"nullable": true
},
"runId": {
"type": "string",
"nullable": true
},
"parentRunId": {
"type": "string",
"nullable": true
},
"graph": {
"$ref": "#/components/schemas/GraphDraftEntity"
},
"pipelineRunSettings": {
"type": "array",
"items": {
"$ref": "#/components/schemas/RunSettingParameterAssignment"
},
"nullable": true
},
"moduleNodeRunSettings": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GraphModuleNodeRunSetting"
},
"nullable": true
},
"moduleNodeUIInputSettings": {
"type": "array",
"items": {
"$ref": "#/components/schemas/GraphModuleNodeUIInputSetting"
},
"nullable": true
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"continueRunOnStepFailure": {
"type": "boolean",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"properties": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
},
"enforceRerun": {
"type": "boolean",
"nullable": true
},
"datasetAccessModes": {
"$ref": "#/components/schemas/DatasetAccessModes"
}
},
"additionalProperties": false
},
"SuccessfulCommandReturnCode": {
"enum": [
"Zero",
"ZeroOrGreater"
],
"type": "string"
},
"SweepEarlyTerminationPolicy": {
"type": "object",
"properties": {
"policyType": {
"$ref": "#/components/schemas/EarlyTerminationPolicyType"
},
"evaluationInterval": {
"type": "integer",
"format": "int32",
"nullable": true
},
"delayEvaluation": {
"type": "integer",
"format": "int32",
"nullable": true
},
"slackFactor": {
"type": "number",
"format": "float",
"nullable": true
},
"slackAmount": {
"type": "number",
"format": "float",
"nullable": true
},
"truncationPercentage": {
"type": "integer",
"format": "int32",
"nullable": true
}
},
"additionalProperties": false
},
"SweepSettings": {
"type": "object",
"properties": {
"limits": {
"$ref": "#/components/schemas/SweepSettingsLimits"
},
"searchSpace": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"nullable": true
},
"samplingAlgorithm": {
"$ref": "#/components/schemas/SamplingAlgorithmType"
},
"earlyTermination": {
"$ref": "#/components/schemas/SweepEarlyTerminationPolicy"
}
},
"additionalProperties": false
},
"SweepSettingsLimits": {
"type": "object",
"properties": {
"maxTotalTrials": {
"type": "integer",
"format": "int32",
"nullable": true
},
"maxConcurrentTrials": {
"type": "integer",
"format": "int32",
"nullable": true
}
},
"additionalProperties": false
},
"SystemData": {
"type": "object",
"properties": {
"createdAt": {
"type": "string",
"format": "date-time",
"nullable": true
},
"createdBy": {
"type": "string",
"nullable": true
},
"createdByType": {
"$ref": "#/components/schemas/UserType"
},
"lastModifiedAt": {
"type": "string",
"format": "date-time",
"nullable": true
},
"lastModifiedBy": {
"type": "string",
"nullable": true
},
"lastModifiedByType": {
"$ref": "#/components/schemas/UserType"
}
},
"additionalProperties": false
},
"SystemMeta": {
"type": "object",
"properties": {
"identifierHash": {
"type": "string",
"nullable": true
},
"extraHash": {
"type": "string",
"nullable": true
},
"contentHash": {
"type": "string",
"nullable": true
},
"identifierHashes": {
"type": "object",
"properties": {
"IdentifierHash": {
"type": "string"
},
"IdentifierHashV2": {
"type": "string"
}
},
"additionalProperties": false,
"nullable": true
},
"extraHashes": {
"type": "object",
"properties": {
"IdentifierHash": {
"type": "string"
},
"IdentifierHashV2": {
"type": "string"
}
},
"additionalProperties": false,
"nullable": true
}
},
"additionalProperties": false
},
"TabularTrainingMode": {
"enum": [
"Distributed",
"NonDistributed",
"Auto"
],
"type": "string"
},
"TargetAggregationFunction": {
"enum": [
"Sum",
"Max",
"Min",
"Mean"
],
"type": "string"
},
"TargetLags": {
"type": "object",
"properties": {
"mode": {
"$ref": "#/components/schemas/TargetLagsMode"
},
"values": {
"type": "array",
"items": {
"type": "integer",
"format": "int32"
},
"nullable": true
}
},
"additionalProperties": false
},
"TargetLagsMode": {
"enum": [
"Auto",
"Custom"
],
"type": "string"
},
"TargetRollingWindowSize": {
"type": "object",
"properties": {
"mode": {
"$ref": "#/components/schemas/TargetRollingWindowSizeMode"
},
"value": {
"type": "integer",
"format": "int32"
}
},
"additionalProperties": false
},
"TargetRollingWindowSizeMode": {
"enum": [
"Auto",
"Custom"
],
"type": "string"
},
"TargetSelectorConfiguration": {
"type": "object",
"properties": {
"lowPriorityVMTolerant": {
"type": "boolean"
},
"clusterBlockList": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"computeType": {
"type": "string",
"nullable": true
},
"instanceType": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"instanceTypes": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"myResourceOnly": {
"type": "boolean"
},
"planId": {
"type": "string",
"nullable": true
},
"planRegionId": {
"type": "string",
"nullable": true
},
"region": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"regions": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"vcBlockList": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
}
},
"additionalProperties": false
},
"Task": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32",
"readOnly": true
},
"exception": {
"nullable": true,
"readOnly": true
},
"status": {
"$ref": "#/components/schemas/TaskStatus"
},
"isCanceled": {
"type": "boolean",
"readOnly": true
},
"isCompleted": {
"type": "boolean",
"readOnly": true
},
"isCompletedSuccessfully": {
"type": "boolean",
"readOnly": true
},
"creationOptions": {
"$ref": "#/components/schemas/TaskCreationOptions"
},
"asyncState": {
"nullable": true,
"readOnly": true
},
"isFaulted": {
"type": "boolean",
"readOnly": true
}
},
"additionalProperties": false
},
"TaskControlFlowInfo": {
"type": "object",
"properties": {
"controlFlowType": {
"$ref": "#/components/schemas/ControlFlowType"
},
"iterationIndex": {
"type": "integer",
"format": "int32"
},
"itemName": {
"type": "string",
"nullable": true
},
"parametersOverwritten": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"isReused": {
"type": "boolean"
}
},
"additionalProperties": false
},
"TaskCreationOptions": {
"enum": [
"None",
"PreferFairness",
"LongRunning",
"AttachedToParent",
"DenyChildAttach",
"HideScheduler",
"RunContinuationsAsynchronously"
],
"type": "string"
},
"TaskReuseInfo": {
"type": "object",
"properties": {
"experimentId": {
"type": "string",
"nullable": true
},
"pipelineRunId": {
"type": "string",
"nullable": true
},
"nodeId": {
"type": "string",
"nullable": true
},
"requestId": {
"type": "string",
"nullable": true
},
"runId": {
"type": "string",
"nullable": true
},
"nodeStartTime": {
"type": "string",
"format": "date-time"
},
"nodeEndTime": {
"type": "string",
"format": "date-time"
}
},
"additionalProperties": false
},
"TaskStatus": {
"enum": [
"Created",
"WaitingForActivation",
"WaitingToRun",
"Running",
"WaitingForChildrenToComplete",
"RanToCompletion",
"Canceled",
"Faulted"
],
"type": "string"
},
"TaskStatusCode": {
"enum": [
"NotStarted",
"Queued",
"Running",
"Failed",
"Finished",
"Canceled",
"PartiallyExecuted",
"Bypassed"
],
"type": "string"
},
"TaskType": {
"enum": [
"Classification",
"Regression",
"Forecasting",
"ImageClassification",
"ImageClassificationMultilabel",
"ImageObjectDetection",
"ImageInstanceSegmentation",
"TextClassification",
"TextMultiLabeling",
"TextNER",
"TextClassificationMultilabel"
],
"type": "string"
},
"TensorflowConfiguration": {
"type": "object",
"properties": {
"workerCount": {
"type": "integer",
"format": "int32"
},
"parameterServerCount": {
"type": "integer",
"format": "int32"
}
},
"additionalProperties": false
},
"TestDataSettings": {
"type": "object",
"properties": {
"testDataSize": {
"type": "number",
"format": "double",
"nullable": true
}
},
"additionalProperties": false
},
"Tool": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"type": {
"$ref": "#/components/schemas/ToolType"
},
"inputs": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/InputDefinition"
},
"description": "This is a dictionary",
"nullable": true
},
"outputs": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/OutputDefinition"
},
"description": "This is a dictionary",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"connection_type": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ConnectionType"
},
"nullable": true
},
"module": {
"type": "string",
"nullable": true
},
"class_name": {
"type": "string",
"nullable": true
},
"source": {
"type": "string",
"nullable": true
},
"lkgCode": {
"type": "string",
"nullable": true
},
"code": {
"type": "string",
"nullable": true
},
"function": {
"type": "string",
"nullable": true
},
"action_type": {
"type": "string",
"nullable": true
},
"provider_config": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/InputDefinition"
},
"description": "This is a dictionary",
"nullable": true
},
"function_config": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/InputDefinition"
},
"description": "This is a dictionary",
"nullable": true
},
"icon": {
"nullable": true
},
"category": {
"type": "string",
"nullable": true
},
"tags": {
"type": "object",
"additionalProperties": { },
"description": "This is a dictionary",
"nullable": true
},
"is_builtin": {
"type": "boolean"
},
"package": {
"type": "string",
"nullable": true
},
"package_version": {
"type": "string",
"nullable": true
},
"default_prompt": {
"type": "string",
"nullable": true
},
"enable_kwargs": {
"type": "boolean"
},
"deprecated_tools": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"tool_state": {
"$ref": "#/components/schemas/ToolState"
}
},
"additionalProperties": false
},
"ToolFuncCallScenario": {
"enum": [
"generated_by",
"reverse_generated_by",
"dynamic_list"
],
"type": "string"
},
"ToolFuncResponse": {
"type": "object",
"properties": {
"result": {
"nullable": true
},
"logs": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "This is a dictionary",
"nullable": true
}
},
"additionalProperties": false
},
"ToolInputDynamicList": {
"type": "object",
"properties": {
"func_path": {
"type": "string",
"nullable": true
},
"func_kwargs": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": { },
"description": "This is a dictionary"
},
"nullable": true
}
},
"additionalProperties": false
},
"ToolInputGeneratedBy": {
"type": "object",
"properties": {
"func_path": {
"type": "string",
"nullable": true
},
"func_kwargs": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": { },
"description": "This is a dictionary"
},
"nullable": true
},
"reverse_func_path": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"ToolMetaDto": {
"type": "object",
"properties": {
"tools": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/Tool"
},
"description": "This is a dictionary",
"nullable": true
},
"errors": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/ErrorResponse"
},
"description": "This is a dictionary",
"nullable": true
}
},
"additionalProperties": false
},
"ToolSetting": {
"type": "object",
"properties": {
"providers": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ProviderEntity"
},
"nullable": true
}
},
"additionalProperties": false
},
"ToolSourceMeta": {
"type": "object",
"properties": {
"tool_type": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"ToolState": {
"enum": [
"Stable",
"Preview",
"Deprecated"
],
"type": "string"
},
"ToolType": {
"enum": [
"llm",
"python",
"action",
"prompt",
"custom_llm",
"csharp"
],
"type": "string"
},
"TorchDistributedConfiguration": {
"type": "object",
"properties": {
"processCountPerNode": {
"type": "integer",
"format": "int32",
"nullable": true
}
},
"additionalProperties": false
},
"TrainingDiagnosticConfiguration": {
"type": "object",
"properties": {
"jobHeartBeatTimeoutSeconds": {
"type": "integer",
"format": "int32",
"nullable": true
}
},
"additionalProperties": false
},
"TrainingOutput": {
"type": "object",
"properties": {
"trainingOutputType": {
"$ref": "#/components/schemas/TrainingOutputType"
},
"iteration": {
"type": "integer",
"format": "int32",
"nullable": true
},
"metric": {
"type": "string",
"nullable": true
},
"modelFile": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"TrainingOutputType": {
"enum": [
"Metrics",
"Model"
],
"type": "string"
},
"TrainingSettings": {
"type": "object",
"properties": {
"blockListModels": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"allowListModels": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"enableDnnTraining": {
"type": "boolean",
"nullable": true
},
"enableOnnxCompatibleModels": {
"type": "boolean",
"nullable": true
},
"stackEnsembleSettings": {
"$ref": "#/components/schemas/StackEnsembleSettings"
},
"enableStackEnsemble": {
"type": "boolean",
"nullable": true
},
"enableVoteEnsemble": {
"type": "boolean",
"nullable": true
},
"ensembleModelDownloadTimeout": {
"type": "string",
"format": "date-span",
"nullable": true
},
"enableModelExplainability": {
"type": "boolean",
"nullable": true
},
"trainingMode": {
"$ref": "#/components/schemas/TabularTrainingMode"
}
},
"additionalProperties": false
},
"TriggerAsyncOperationStatus": {
"type": "object",
"properties": {
"id": {
"type": "string",
"nullable": true
},
"operationType": {
"$ref": "#/components/schemas/TriggerOperationType"
},
"provisioningStatus": {
"$ref": "#/components/schemas/ScheduleProvisioningStatus"
},
"createdTime": {
"type": "string",
"format": "date-time",
"nullable": true
},
"endTime": {
"type": "string",
"format": "date-time",
"nullable": true
},
"error": {
"$ref": "#/components/schemas/ErrorResponse"
},
"statusCode": {
"$ref": "#/components/schemas/HttpStatusCode"
}
},
"additionalProperties": false
},
"TriggerOperationType": {
"enum": [
"Create",
"Update",
"Delete",
"CreateOrUpdate"
],
"type": "string"
},
"TriggerType": {
"enum": [
"Recurrence",
"Cron"
],
"type": "string"
},
"TuningNodeSetting": {
"type": "object",
"properties": {
"variantIds": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
}
},
"additionalProperties": false
},
"TypedAssetReference": {
"type": "object",
"properties": {
"assetId": {
"type": "string",
"nullable": true
},
"type": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"UIAzureOpenAIDeploymentNameSelector": {
"type": "object",
"properties": {
"Capabilities": {
"$ref": "#/components/schemas/UIAzureOpenAIModelCapabilities"
}
},
"additionalProperties": false
},
"UIAzureOpenAIModelCapabilities": {
"type": "object",
"properties": {
"Completion": {
"type": "boolean",
"nullable": true
},
"ChatCompletion": {
"type": "boolean",
"nullable": true
},
"Embeddings": {
"type": "boolean",
"nullable": true
}
},
"additionalProperties": false
},
"UIColumnPicker": {
"type": "object",
"properties": {
"columnPickerFor": {
"type": "string",
"nullable": true
},
"columnSelectionCategories": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"singleColumnSelection": {
"type": "boolean"
}
},
"additionalProperties": false
},
"UIComputeSelection": {
"type": "object",
"properties": {
"computeTypes": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"requireGpu": {
"type": "boolean",
"nullable": true
},
"osTypes": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"supportServerless": {
"type": "boolean"
},
"computeRunSettingsMapping": {
"type": "object",
"additionalProperties": {
"type": "array",
"items": {
"$ref": "#/components/schemas/RunSettingParameter"
},
"nullable": true
},
"nullable": true
}
},
"additionalProperties": false
},
"UIHyperparameterConfiguration": {
"type": "object",
"properties": {
"modelNameToHyperParameterAndDistributionMapping": {
"type": "object",
"additionalProperties": {
"type": "object",
"additionalProperties": {
"type": "array",
"items": {
"type": "string"
}
},
"nullable": true
},
"nullable": true
},
"distributionParametersMapping": {
"type": "object",
"additionalProperties": {
"type": "array",
"items": {
"$ref": "#/components/schemas/DistributionParameter"
},
"nullable": true
},
"nullable": true
},
"jsonSchema": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"UIInputDataDeliveryMode": {
"enum": [
"Read-only mount",
"Read-write mount",
"Download",
"Direct",
"Evaluate mount",
"Evaluate download",
"Hdfs"
],
"type": "string"
},
"UIInputSetting": {
"type": "object",
"properties": {
"name": {
"type": "string",
"nullable": true
},
"dataDeliveryMode": {
"$ref": "#/components/schemas/UIInputDataDeliveryMode"
},
"pathOnCompute": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"UIJsonEditor": {
"type": "object",
"properties": {
"jsonSchema": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"UIParameterHint": {
"type": "object",
"properties": {
"uiWidgetType": {
"$ref": "#/components/schemas/UIWidgetTypeEnum"
},
"columnPicker": {
"$ref": "#/components/schemas/UIColumnPicker"
},
"uiScriptLanguage": {
"$ref": "#/components/schemas/UIScriptLanguageEnum"
},
"jsonEditor": {
"$ref": "#/components/schemas/UIJsonEditor"
},
"PromptFlowConnectionSelector": {
"$ref": "#/components/schemas/UIPromptFlowConnectionSelector"
},
"AzureOpenAIDeploymentNameSelector": {
"$ref": "#/components/schemas/UIAzureOpenAIDeploymentNameSelector"
},
"UxIgnore": {
"type": "boolean"
},
"Anonymous": {
"type": "boolean"
}
},
"additionalProperties": false
},
"UIPromptFlowConnectionSelector": {
"type": "object",
"properties": {
"PromptFlowConnectionType": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"UIScriptLanguageEnum": {
"enum": [
"None",
"Python",
"R",
"Json",
"Sql"
],
"type": "string"
},
"UIWidgetMetaInfo": {
"type": "object",
"properties": {
"moduleNodeId": {
"type": "string",
"nullable": true
},
"metaModuleId": {
"type": "string",
"nullable": true
},
"parameterName": {
"type": "string",
"nullable": true
},
"uiWidgetType": {
"$ref": "#/components/schemas/UIWidgetTypeEnum"
}
},
"additionalProperties": false
},
"UIWidgetTypeEnum": {
"enum": [
"Default",
"Mode",
"ColumnPicker",
"Credential",
"Script",
"ComputeSelection",
"JsonEditor",
"SearchSpaceParameter",
"SectionToggle",
"YamlEditor",
"EnableRuntimeSweep",
"DataStoreSelection",
"InstanceTypeSelection",
"ConnectionSelection",
"PromptFlowConnectionSelection",
"AzureOpenAIDeploymentNameSelection"
],
"type": "string"
},
"UIYamlEditor": {
"type": "object",
"properties": {
"jsonSchema": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"UnversionedEntityRequestDto": {
"type": "object",
"properties": {
"unversionedEntityIds": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
}
},
"additionalProperties": false
},
"UnversionedEntityResponseDto": {
"type": "object",
"properties": {
"unversionedEntities": {
"type": "array",
"items": {
"$ref": "#/components/schemas/FlowIndexEntity"
},
"nullable": true
},
"unversionedEntityJsonSchema": {
"nullable": true
},
"normalizedRequestCharge": {
"type": "number",
"format": "double"
},
"normalizedRequestChargePeriod": {
"type": "string",
"format": "date-span"
}
},
"additionalProperties": false
},
"UnversionedRebuildIndexDto": {
"type": "object",
"properties": {
"continuationToken": {
"type": "string",
"nullable": true
},
"entityCount": {
"type": "integer",
"format": "int32",
"nullable": true
},
"entityContainerType": {
"type": "string",
"nullable": true
},
"entityType": {
"type": "string",
"nullable": true
},
"resourceId": {
"type": "string",
"nullable": true
},
"workspaceId": {
"type": "string",
"nullable": true
},
"immutableResourceId": {
"type": "string",
"format": "uuid"
},
"startTime": {
"type": "string",
"format": "date-time",
"nullable": true
},
"endTime": {
"type": "string",
"format": "date-time",
"nullable": true
}
},
"additionalProperties": false
},
"UnversionedRebuildResponseDto": {
"type": "object",
"properties": {
"entities": {
"$ref": "#/components/schemas/SegmentedResult`1"
},
"unversionedEntitySchema": {
"nullable": true
},
"normalizedRequestCharge": {
"type": "number",
"format": "double"
},
"normalizedRequestChargePeriod": {
"type": "string",
"format": "date-span"
}
},
"additionalProperties": false
},
"UpdateComponentRequest": {
"type": "object",
"properties": {
"displayName": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"moduleUpdateOperationType": {
"$ref": "#/components/schemas/ModuleUpdateOperationType"
},
"moduleVersion": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"UpdateFlowRequest": {
"type": "object",
"properties": {
"flowRunResult": {
"$ref": "#/components/schemas/FlowRunResult"
},
"flowTestMode": {
"$ref": "#/components/schemas/FlowTestMode"
},
"flowTestInfos": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/FlowTestInfo"
},
"nullable": true
},
"flowName": {
"type": "string",
"nullable": true
},
"description": {
"type": "string",
"nullable": true
},
"details": {
"type": "string",
"nullable": true
},
"tags": {
"type": "object",
"additionalProperties": {
"type": "string",
"nullable": true
},
"nullable": true
},
"flow": {
"$ref": "#/components/schemas/Flow"
},
"flowDefinitionFilePath": {
"type": "string",
"nullable": true
},
"flowType": {
"$ref": "#/components/schemas/FlowType"
},
"flowRunSettings": {
"$ref": "#/components/schemas/FlowRunSettings"
},
"isArchived": {
"type": "boolean"
},
"vmSize": {
"type": "string",
"nullable": true
},
"maxIdleTimeSeconds": {
"type": "integer",
"format": "int64",
"nullable": true
},
"identity": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"UpdateFlowRuntimeRequest": {
"type": "object",
"properties": {
"runtimeDescription": {
"type": "string",
"nullable": true
},
"environment": {
"type": "string",
"nullable": true
},
"instanceCount": {
"type": "integer",
"format": "int32"
}
},
"additionalProperties": false
},
"UpdateRegistryComponentRequest": {
"type": "object",
"properties": {
"registryName": {
"type": "string",
"nullable": true
},
"componentName": {
"type": "string",
"nullable": true
},
"componentVersion": {
"type": "string",
"nullable": true
},
"updateType": {
"$ref": "#/components/schemas/UpdateType"
}
},
"additionalProperties": false
},
"UpdateType": {
"enum": [
"SetDefaultVersion"
],
"type": "string"
},
"UploadOptions": {
"type": "object",
"properties": {
"overwrite": {
"type": "boolean"
},
"sourceGlobs": {
"$ref": "#/components/schemas/ExecutionGlobsOptions"
}
},
"additionalProperties": false
},
"UploadState": {
"enum": [
"Uploading",
"Completed",
"Canceled",
"Failed"
],
"type": "string"
},
"UriReference": {
"type": "object",
"properties": {
"path": {
"type": "string",
"nullable": true
},
"isFile": {
"type": "boolean"
}
},
"additionalProperties": false
},
"UseStl": {
"enum": [
"Season",
"SeasonTrend"
],
"type": "string"
},
"User": {
"type": "object",
"properties": {
"userObjectId": {
"type": "string",
"description": "A user or service principal's object ID.\r\nThis is EUPI and may only be logged to warm path telemetry.",
"nullable": true
},
"userPuId": {
"type": "string",
"description": "A user or service principal's PuID.\r\nThis is PII and should never be logged.",
"nullable": true
},
"userIdp": {
"type": "string",
"description": "A user identity provider. Eg live.com\r\nThis is PII and should never be logged.",
"nullable": true
},
"userAltSecId": {
"type": "string",
"description": "A user alternate sec id. This represents the user in a different identity provider system Eg.1:live.com:puid\r\nThis is PII and should never be logged.",
"nullable": true
},
"userIss": {
"type": "string",
"description": "The issuer which issed the token for this user.\r\nThis is PII and should never be logged.",
"nullable": true
},
"userTenantId": {
"type": "string",
"description": "A user or service principal's tenant ID.",
"nullable": true
},
"userName": {
"type": "string",
"description": "A user's full name or a service principal's app ID.\r\nThis is PII and should never be logged.",
"nullable": true
},
"upn": {
"type": "string",
"description": "A user's Principal name (upn)\r\nThis is PII andshould never be logged",
"nullable": true
}
},
"additionalProperties": false
},
"UserAssignedIdentity": {
"type": "object",
"properties": {
"principalId": {
"type": "string",
"format": "uuid"
},
"clientId": {
"type": "string",
"format": "uuid"
}
},
"additionalProperties": false
},
"UserType": {
"enum": [
"User",
"Application",
"ManagedIdentity",
"Key"
],
"type": "string"
},
"ValidationDataSettings": {
"type": "object",
"properties": {
"nCrossValidations": {
"$ref": "#/components/schemas/NCrossValidations"
},
"validationDataSize": {
"type": "number",
"format": "double",
"nullable": true
},
"cvSplitColumnNames": {
"type": "array",
"items": {
"type": "string"
},
"nullable": true
},
"validationType": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"ValidationStatus": {
"enum": [
"Succeeded",
"Failed"
],
"type": "string"
},
"ValueType": {
"enum": [
"int",
"double",
"bool",
"string",
"secret",
"prompt_template",
"object",
"list",
"BingConnection",
"OpenAIConnection",
"AzureOpenAIConnection",
"AzureContentModeratorConnection",
"CustomConnection",
"AzureContentSafetyConnection",
"SerpConnection",
"CognitiveSearchConnection",
"SubstrateLLMConnection",
"PineconeConnection",
"QdrantConnection",
"WeaviateConnection",
"function_list",
"function_str",
"FormRecognizerConnection",
"file_path",
"image"
],
"type": "string"
},
"VariantNode": {
"type": "object",
"properties": {
"node": {
"$ref": "#/components/schemas/Node"
},
"description": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"VmPriority": {
"enum": [
"Dedicated",
"Lowpriority"
],
"type": "string"
},
"WebServiceComputeMetaInfo": {
"type": "object",
"properties": {
"nodeCount": {
"type": "integer",
"format": "int32"
},
"isSslEnabled": {
"type": "boolean"
},
"aksNotFound": {
"type": "boolean"
},
"clusterPurpose": {
"type": "string",
"nullable": true
},
"publicIpAddress": {
"type": "string",
"nullable": true
},
"vmSize": {
"type": "string",
"nullable": true
},
"location": {
"type": "string",
"nullable": true
},
"provisioningState": {
"type": "string",
"nullable": true
},
"state": {
"type": "string",
"nullable": true
},
"osType": {
"type": "string",
"nullable": true
},
"id": {
"type": "string",
"nullable": true
},
"name": {
"type": "string",
"nullable": true
},
"createdByStudio": {
"type": "boolean"
},
"isGpuType": {
"type": "boolean"
},
"resourceId": {
"type": "string",
"nullable": true
},
"computeType": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"WebServicePort": {
"type": "object",
"properties": {
"nodeId": {
"type": "string",
"nullable": true
},
"portName": {
"type": "string",
"nullable": true
},
"name": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"WebServiceState": {
"enum": [
"Transitioning",
"Healthy",
"Unhealthy",
"Failed",
"Unschedulable"
],
"type": "string"
},
"Webhook": {
"type": "object",
"properties": {
"webhookType": {
"$ref": "#/components/schemas/WebhookType"
},
"eventType": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"WebhookType": {
"enum": [
"AzureDevOps"
],
"type": "string"
},
"WeekDays": {
"enum": [
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday",
"Sunday"
],
"type": "string"
},
"Weekday": {
"enum": [
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday",
"Sunday"
],
"type": "string"
},
"WorkspaceConnectionSpec": {
"type": "object",
"properties": {
"connectionCategory": {
"$ref": "#/components/schemas/ConnectionCategory"
},
"flowValueType": {
"$ref": "#/components/schemas/ValueType"
},
"connectionType": {
"$ref": "#/components/schemas/ConnectionType"
},
"connectionTypeDisplayName": {
"type": "string",
"nullable": true
},
"configSpecs": {
"type": "array",
"items": {
"$ref": "#/components/schemas/ConnectionConfigSpec"
},
"nullable": true
},
"module": {
"type": "string",
"nullable": true
}
},
"additionalProperties": false
},
"YarnDeployMode": {
"enum": [
"None",
"Client",
"Cluster"
],
"type": "string"
}
},
"parameters": {
"subscriptionIdParameter": {
"name": "subscriptionId",
"in": "path",
"description": "The Azure Subscription ID.",
"required": true,
"schema": {
"type": "string",
"format": "uuid"
},
"x-ms-parameter-location": "method"
},
"resourceGroupNameParameter": {
"name": "resourceGroupName",
"in": "path",
"description": "The Name of the resource group in which the workspace is located.",
"required": true,
"schema": {
"type": "string"
},
"x-ms-parameter-location": "method"
},
"workspaceNameParameter": {
"name": "workspaceName",
"in": "path",
"description": "The name of the workspace.",
"required": true,
"schema": {
"type": "string"
},
"x-ms-parameter-location": "method"
}
},
"securitySchemes": {
"azure_auth": {
"type": "oauth2",
"flows": {
"implicit": {
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"scopes": {
"user_impersonation": "impersonate your user account"
}
}
}
}
}
},
"security": [
{
"azure_auth": [
"user_impersonation"
]
}
]
} | promptflow/src/promptflow/promptflow/azure/_restclient/swagger.json/0 | {
"file_path": "promptflow/src/promptflow/promptflow/azure/_restclient/swagger.json",
"repo_id": "promptflow",
"token_count": 491277
} | 50 |
# ---------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# ---------------------------------------------------------
import asyncio
from datetime import datetime
from json import JSONDecodeError
from pathlib import Path
from typing import Any, Mapping, Optional
import httpx
from promptflow._constants import LINE_TIMEOUT_SEC
from promptflow._core._errors import UnexpectedError
from promptflow._utils.exception_utils import ErrorResponse, ExceptionPresenter
from promptflow._utils.logger_utils import bulk_logger
from promptflow._utils.utils import load_json
from promptflow.batch._errors import ExecutorServiceUnhealthy
from promptflow.contracts.run_info import FlowRunInfo
from promptflow.exceptions import ErrorTarget, ValidationException
from promptflow.executor._result import AggregationResult, LineResult
from promptflow.storage._run_storage import AbstractRunStorage
EXECUTOR_UNHEALTHY_MESSAGE = "The executor service is currently not in a healthy state"
class AbstractExecutorProxy:
@classmethod
def get_tool_metadata(cls, flow_file: Path, working_dir: Optional[Path] = None) -> dict:
"""Generate tool metadata file for the specified flow."""
return cls._get_tool_metadata(flow_file, working_dir or flow_file.parent)
@classmethod
def _get_tool_metadata(cls, flow_file: Path, working_dir: Path) -> dict:
raise NotImplementedError()
@classmethod
async def create(
cls,
flow_file: Path,
working_dir: Optional[Path] = None,
*,
connections: Optional[dict] = None,
storage: Optional[AbstractRunStorage] = None,
**kwargs,
) -> "AbstractExecutorProxy":
"""Create a new executor"""
raise NotImplementedError()
async def destroy(self):
"""Destroy the executor"""
pass
async def exec_line_async(
self,
inputs: Mapping[str, Any],
index: Optional[int] = None,
run_id: Optional[str] = None,
) -> LineResult:
"""Execute a line"""
raise NotImplementedError()
async def exec_aggregation_async(
self,
batch_inputs: Mapping[str, Any],
aggregation_inputs: Mapping[str, Any],
run_id: Optional[str] = None,
) -> AggregationResult:
"""Execute aggregation nodes"""
raise NotImplementedError()
async def ensure_executor_health(self):
"""Ensure the executor service is healthy before execution"""
pass
class APIBasedExecutorProxy(AbstractExecutorProxy):
@property
def api_endpoint(self) -> str:
"""The basic API endpoint of the executor service.
The executor proxy calls the executor service to get the
line results and aggregation result through this endpoint.
"""
raise NotImplementedError()
async def exec_line_async(
self,
inputs: Mapping[str, Any],
index: Optional[int] = None,
run_id: Optional[str] = None,
) -> LineResult:
start_time = datetime.utcnow()
# call execution api to get line results
url = self.api_endpoint + "/execution"
payload = {"run_id": run_id, "line_number": index, "inputs": inputs}
async with httpx.AsyncClient() as client:
response = await client.post(url, json=payload, timeout=LINE_TIMEOUT_SEC)
# process the response
result = self._process_http_response(response)
if response.status_code != 200:
run_info = FlowRunInfo.create_with_error(start_time, inputs, index, run_id, result)
return LineResult(output={}, aggregation_inputs={}, run_info=run_info, node_run_infos={})
return LineResult.deserialize(result)
async def exec_aggregation_async(
self,
batch_inputs: Mapping[str, Any],
aggregation_inputs: Mapping[str, Any],
run_id: Optional[str] = None,
) -> AggregationResult:
# call aggregation api to get aggregation result
async with httpx.AsyncClient() as client:
url = self.api_endpoint + "/aggregation"
payload = {"run_id": run_id, "batch_inputs": batch_inputs, "aggregation_inputs": aggregation_inputs}
response = await client.post(url, json=payload, timeout=LINE_TIMEOUT_SEC)
result = self._process_http_response(response)
return AggregationResult.deserialize(result)
async def ensure_executor_startup(self, error_file):
"""Ensure the executor service is initialized before calling the API to get the results"""
try:
await self.ensure_executor_health()
except ExecutorServiceUnhealthy as ex:
# raise the init error if there is any
startup_ex = self._check_startup_error_from_file(error_file) or ex
bulk_logger.error(f"Failed to start up the executor due to an error: {str(startup_ex)}")
await self.destroy()
raise startup_ex
async def ensure_executor_health(self):
"""Ensure the executor service is healthy before calling the API to get the results
During testing, we observed that the executor service started quickly on Windows.
However, there is a noticeable delay in booting on Linux.
So we set a specific waiting period. If the executor service fails to return to normal
within the allocated timeout, an exception is thrown to indicate a potential problem.
"""
retry_count = 0
max_retry_count = 20
while retry_count < max_retry_count:
if not self._is_executor_active():
bulk_logger.error("The executor service is not active. Please check the logs for more details.")
break
if await self._check_health():
return
# wait for 1s to prevent calling the API too frequently
await asyncio.sleep(1)
retry_count += 1
raise ExecutorServiceUnhealthy(f"{EXECUTOR_UNHEALTHY_MESSAGE}. Please resubmit your flow and try again.")
def _is_executor_active(self):
"""The interface function to check if the executor service is active"""
return True
async def _check_health(self):
try:
health_url = self.api_endpoint + "/health"
async with httpx.AsyncClient() as client:
response = await client.get(health_url)
if response.status_code != 200:
bulk_logger.warning(f"{EXECUTOR_UNHEALTHY_MESSAGE}. Response: {response.status_code} - {response.text}")
return False
return True
except Exception as e:
bulk_logger.warning(f"{EXECUTOR_UNHEALTHY_MESSAGE}. Error: {str(e)}")
return False
def _check_startup_error_from_file(self, error_file) -> Exception:
error_dict = load_json(error_file)
if error_dict:
error_response = ErrorResponse.from_error_dict(error_dict)
bulk_logger.error(
"Error when starting the executor service: "
f"[{error_response.innermost_error_code}] {error_response.message}"
)
return ValidationException(error_response.message, target=ErrorTarget.BATCH)
return None
def _process_http_response(self, response: httpx.Response):
if response.status_code == 200:
# if the status code is 200, the response is the json dict of a line result
return response.json()
else:
# if the status code is not 200, log the error
message_format = "Unexpected error when executing a line, status code: {status_code}, error: {error}"
bulk_logger.error(message_format.format(status_code=response.status_code, error=response.text))
# if response can be parsed as json, return the error dict
# otherwise, wrap the error in an UnexpectedError and return the error dict
try:
error_dict = response.json()
return error_dict["error"]
except (JSONDecodeError, KeyError):
unexpected_error = UnexpectedError(
message_format=message_format, status_code=response.status_code, error=response.text
)
return ExceptionPresenter.create(unexpected_error).to_dict()
| promptflow/src/promptflow/promptflow/batch/_base_executor_proxy.py/0 | {
"file_path": "promptflow/src/promptflow/promptflow/batch/_base_executor_proxy.py",
"repo_id": "promptflow",
"token_count": 3273
} | 51 |
# ---------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# ---------------------------------------------------------
from dataclasses import dataclass
from enum import Enum
from typing import Any, Dict, List, Optional
class TraceType(str, Enum):
"""An enumeration class to represent different types of traces."""
LLM = "LLM"
TOOL = "Tool"
FUNCTION = "Function"
LANGCHAIN = "LangChain"
@dataclass
class Trace:
"""A dataclass that represents a trace of a program execution.
:param name: The name of the trace.
:type name: str
:param type: The type of the trace.
:type type: ~promptflow.contracts.trace.TraceType
:param inputs: The inputs of the trace.
:type inputs: Dict[str, Any]
:param output: The output of the trace, or None if not available.
:type output: Optional[Any]
:param start_time: The timestamp of the start time, or None if not available.
:type start_time: Optional[float]
:param end_time: The timestamp of the end time, or None if not available.
:type end_time: Optional[float]
:param error: The error message of the trace, or None if no error occurred.
:type error: Optional[str]
:param children: The list of child traces, or None if no children.
:type children: Optional[List[Trace]]
:param node_name: The node name of the trace, used for flow level trace, or None if not applicable.
:type node_name: Optional[str]
"""
name: str
type: TraceType
inputs: Dict[str, Any]
output: Optional[Any] = None
start_time: Optional[float] = None # The timestamp of the start time
end_time: Optional[float] = None # The timestamp of the end time
error: Optional[str] = None
children: Optional[List["Trace"]] = None
node_name: Optional[str] = None # The node name of the trace, used for flow level trace
parent_id: str = "" # The parent trace id of the trace
id: str = "" # The trace id
| promptflow/src/promptflow/promptflow/contracts/trace.py/0 | {
"file_path": "promptflow/src/promptflow/promptflow/contracts/trace.py",
"repo_id": "promptflow",
"token_count": 637
} | 52 |
# ---------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# ---------------------------------------------------------
from promptflow._core.tool import ToolInvoker
class DefaultToolInvoker(ToolInvoker):
def invoke_tool(self, f, *args, **kwargs):
return f(*args, **kwargs) # Do nothing
| promptflow/src/promptflow/promptflow/executor/_tool_invoker.py/0 | {
"file_path": "promptflow/src/promptflow/promptflow/executor/_tool_invoker.py",
"repo_id": "promptflow",
"token_count": 89
} | 53 |
[run]
omit =
*/promptflow/_cli/*
*/promptflow/_sdk/*
*/promptflow/_telemetry/*
*/promptflow/azure/*
*/promptflow/entities/*
*/promptflow/operations/*
*__init__.py*
| promptflow/src/promptflow/tests/executor/.coveragerc/0 | {
"file_path": "promptflow/src/promptflow/tests/executor/.coveragerc",
"repo_id": "promptflow",
"token_count": 90
} | 54 |
import sys
from pathlib import Path
from unittest.mock import patch
import pytest
from promptflow._core._errors import PackageToolNotFoundError, ToolLoadError
from promptflow.contracts.run_info import Status
from promptflow.executor import FlowExecutor
from promptflow.executor._errors import NodeInputValidationError, ResolveToolError
from promptflow.executor._result import LineResult
from ..utils import WRONG_FLOW_ROOT, get_flow_package_tool_definition, get_flow_sample_inputs, get_yaml_file
PACKAGE_TOOL_BASE = Path(__file__).parent.parent / "package_tools"
PACKAGE_TOOL_ENTRY = "promptflow._core.tools_manager.collect_package_tools"
sys.path.insert(0, str(PACKAGE_TOOL_BASE.resolve()))
@pytest.mark.e2etest
class TestPackageTool:
def get_line_inputs(self, flow_folder=""):
if flow_folder:
inputs = self.get_bulk_inputs(flow_folder)
return inputs[0]
return {
"url": "https://www.microsoft.com/en-us/windows/",
"text": "some_text",
}
def get_bulk_inputs(self, nlinee=4, flow_folder=""):
if flow_folder:
inputs = get_flow_sample_inputs(flow_folder)
if isinstance(inputs, list) and len(inputs) > 0:
return inputs
elif isinstance(inputs, dict):
return [inputs]
else:
raise Exception(f"Invalid type of bulk input: {inputs}")
return [self.get_line_inputs() for _ in range(nlinee)]
def test_executor_package_tool_with_conn(self, mocker):
flow_folder = PACKAGE_TOOL_BASE / "tool_with_connection"
package_tool_definition = get_flow_package_tool_definition(flow_folder)
mocker.patch(
"promptflow.tools.list.list_package_tools",
return_value=package_tool_definition,
)
name, secret = "dummy_name", "dummy_secret"
connections = {
"test_conn": {
"type": "TestConnection",
"value": {"name": name, "secret": secret},
}
}
executor = FlowExecutor.create(get_yaml_file(flow_folder), connections, raise_ex=True)
flow_result = executor.exec_line({})
assert flow_result.run_info.status == Status.Completed
assert len(flow_result.node_run_infos) == 1
for _, v in flow_result.node_run_infos.items():
assert v.status == Status.Completed
assert v.output == name + secret
@pytest.mark.skipif(sys.platform == "darwin", reason="Skip on Mac")
def test_executor_package_with_prompt_tool(self, dev_connections, mocker):
flow_folder = PACKAGE_TOOL_BASE / "custom_llm_tool"
package_tool_definition = get_flow_package_tool_definition(flow_folder)
with mocker.patch(PACKAGE_TOOL_ENTRY, return_value=package_tool_definition):
executor = FlowExecutor.create(get_yaml_file(flow_folder), dev_connections, raise_ex=True)
bulk_inputs = self.get_bulk_inputs(flow_folder=flow_folder)
for i in bulk_inputs:
line_result = executor.exec_line(i)
assert isinstance(line_result, LineResult)
msg = f"Got {line_result.run_info.status} for input {i}"
assert line_result.run_info.status == Status.Completed, msg
def test_custom_llm_tool_with_duplicated_inputs(self, dev_connections, mocker):
flow_folder = PACKAGE_TOOL_BASE / "custom_llm_tool_with_duplicated_inputs"
package_tool_definition = get_flow_package_tool_definition(flow_folder)
with mocker.patch(PACKAGE_TOOL_ENTRY, return_value=package_tool_definition):
msg = (
"Invalid inputs {'api'} in prompt template of node custom_llm_tool_with_duplicated_inputs. "
"These inputs are duplicated with the inputs of custom llm tool."
)
with pytest.raises(ResolveToolError, match=msg) as e:
FlowExecutor.create(get_yaml_file(flow_folder), dev_connections)
assert isinstance(e.value.inner_exception, NodeInputValidationError)
@pytest.mark.parametrize(
"flow_folder, error_class, inner_class, error_message",
[
(
"wrong_tool_in_package_tools",
ResolveToolError,
PackageToolNotFoundError,
"Tool load failed in 'search_by_text': (PackageToolNotFoundError) "
"Package tool 'promptflow.tools.serpapi.SerpAPI.search_11' is not found in the current environment. "
"All available package tools are: "
"['promptflow.tools.azure_content_safety.AzureContentSafety.analyze_text', "
"'promptflow.tools.azure_detect.AzureDetect.get_language'].",
),
(
"wrong_package_in_package_tools",
ResolveToolError,
PackageToolNotFoundError,
"Tool load failed in 'search_by_text': (PackageToolNotFoundError) "
"Package tool 'promptflow.tools.serpapi11.SerpAPI.search' is not found in the current environment. "
"All available package tools are: "
"['promptflow.tools.azure_content_safety.AzureContentSafety.analyze_text', "
"'promptflow.tools.azure_detect.AzureDetect.get_language'].",
),
],
)
def test_package_tool_execution(self, flow_folder, error_class, inner_class, error_message, dev_connections):
def mock_collect_package_tools(keys=None):
return {
"promptflow.tools.azure_content_safety.AzureContentSafety.analyze_text": None,
"promptflow.tools.azure_detect.AzureDetect.get_language": None,
}
with patch(PACKAGE_TOOL_ENTRY, side_effect=mock_collect_package_tools):
with pytest.raises(error_class) as exce_info:
FlowExecutor.create(get_yaml_file(flow_folder, WRONG_FLOW_ROOT), dev_connections)
if isinstance(exce_info.value, ResolveToolError):
assert isinstance(exce_info.value.inner_exception, inner_class)
assert error_message == exce_info.value.message
@pytest.mark.parametrize(
"flow_folder, error_message",
[
(
"tool_with_init_error",
"Tool load failed in 'tool_with_init_error': "
"(ToolLoadError) Failed to load package tool 'Tool with init error': (Exception) Tool load error.",
)
],
)
def test_package_tool_load_error(self, flow_folder, error_message, dev_connections, mocker):
flow_folder = PACKAGE_TOOL_BASE / flow_folder
package_tool_definition = get_flow_package_tool_definition(flow_folder)
with mocker.patch(PACKAGE_TOOL_ENTRY, return_value=package_tool_definition):
with pytest.raises(ResolveToolError) as exce_info:
FlowExecutor.create(get_yaml_file(flow_folder), dev_connections)
assert isinstance(exce_info.value.inner_exception, ToolLoadError)
assert exce_info.value.message == error_message
| promptflow/src/promptflow/tests/executor/e2etests/test_package_tool.py/0 | {
"file_path": "promptflow/src/promptflow/tests/executor/e2etests/test_package_tool.py",
"repo_id": "promptflow",
"token_count": 3178
} | 55 |
from promptflow import ToolProvider, tool
class TestLoadErrorTool(ToolProvider):
def __init__(self):
raise Exception("Tool load error.")
@tool
def tool(self, name: str):
return name
| promptflow/src/promptflow/tests/executor/package_tools/tool_with_init_error.py/0 | {
"file_path": "promptflow/src/promptflow/tests/executor/package_tools/tool_with_init_error.py",
"repo_id": "promptflow",
"token_count": 75
} | 56 |
import pytest
from promptflow._sdk.entities import CustomStrongTypeConnection
from promptflow._utils.connection_utils import (
generate_custom_strong_type_connection_spec,
generate_custom_strong_type_connection_template,
)
from promptflow.contracts.types import Secret
class MyCustomConnectionWithNoComments(CustomStrongTypeConnection):
api_key: Secret
api_base: str
class MyCustomConnectionWithDefaultValue(CustomStrongTypeConnection):
api_key: Secret
api_base: str = "default value of api-base"
class MyCustomConnectionWithInvalidComments(CustomStrongTypeConnection):
"""My custom connection with invalid comments.
:param api_key: The api key.
:type api_key: String
:param api_base: The api base.
:type api_base: String
:param api_key_2: The api key 2.
:type api_key_2: String
"""
api_key: Secret
api_base: str
class MyCustomConnectionMissingTypeComments(CustomStrongTypeConnection):
"""My custom connection with missing type comments.
:param api_key: The api key.
"""
api_key: Secret
api_base: str
class MyCustomConnectionMissingParamComments(CustomStrongTypeConnection):
"""My custom connection with missing param comments.
:type api_key: String
"""
api_key: Secret
api_base: str
@pytest.mark.unittest
class TestConnectionUtils:
@pytest.mark.parametrize(
"cls, expected_str_in_template",
[
(
MyCustomConnectionWithNoComments,
['api_base: "to_replace_with_api_base"\n', 'api_key: "to_replace_with_api_key"\n'],
),
(
MyCustomConnectionWithInvalidComments,
[
'api_base: "to_replace_with_api_base" # String type. The api base.\n',
'api_key: "to_replace_with_api_key" # String type. The api key.\n',
],
),
(MyCustomConnectionMissingTypeComments, ['api_key: "to_replace_with_api_key" # The api key.']),
(MyCustomConnectionMissingParamComments, ['api_key: "to_replace_with_api_key" # String type.']),
],
)
def test_generate_custom_strong_type_connection_template_with_comments(self, cls, expected_str_in_template):
package = "test-package"
package_version = "0.0.1"
spec = generate_custom_strong_type_connection_spec(cls, package, package_version)
template = generate_custom_strong_type_connection_template(cls, spec, package, package_version)
for comment in expected_str_in_template:
assert comment in template
def test_generate_custom_strong_type_connection_template_with_default_value(self):
package = "test-package"
package_version = "0.0.1"
spec = generate_custom_strong_type_connection_spec(MyCustomConnectionWithDefaultValue, package, package_version)
template = generate_custom_strong_type_connection_template(
MyCustomConnectionWithDefaultValue, spec, package, package_version
)
assert 'api_base: "default value of api-base"' in template
@pytest.mark.parametrize(
"input_value, expected_connection_names",
[
pytest.param(
"new_ai_connection",
["new_ai_connection"],
id="standard",
),
pytest.param(
"${node.output}",
[],
id="output_reference",
),
pytest.param(
"${inputs.question}",
[],
id="input_reference",
),
],
)
def test_get_used_connection_names_from_flow_meta(self, input_value: str, expected_connection_names: list):
from promptflow._sdk._submitter.utils import SubmitterHelper
connection_names = SubmitterHelper.get_used_connection_names(
{
"package": {
"(Promptflow.Tools)Promptflow.Tools.BuiltInTools.AOAI.Chat": {
"name": "Promptflow.Tools.BuiltInTools.AOAI.Chat",
"type": "csharp",
"inputs": {
"connection": {"type": ["AzureOpenAIConnection"]},
"prompt": {"type": ["string"]},
"deployment_name": {"type": ["string"]},
"objects": {"type": ["object"]},
},
"description": "",
"class_name": "AOAI",
"module": "Promptflow.Tools.BuiltInTools.AOAI",
"function": "Chat",
"is_builtin": True,
"package": "Promptflow.Tools",
"package_version": "0.0.14.0",
"toolId": "(Promptflow.Tools)Promptflow.Tools.BuiltInTools.AOAI.Chat",
},
},
"code": {},
},
{
"nodes": [
{
"name": "get_summarized_text_content",
"type": "csharp",
"source": {
"type": "package",
"tool": "(Promptflow.Tools)Promptflow.Tools.BuiltInTools.AOAI.Chat",
},
"inputs": {
"connection": input_value,
},
},
]
},
)
assert connection_names == expected_connection_names
| promptflow/src/promptflow/tests/executor/unittests/_utils/test_connection_utils.py/0 | {
"file_path": "promptflow/src/promptflow/tests/executor/unittests/_utils/test_connection_utils.py",
"repo_id": "promptflow",
"token_count": 2787
} | 57 |
import json
from pathlib import Path
from tempfile import mkdtemp
import pytest
from promptflow._core._errors import UnexpectedError
from promptflow._utils.utils import dump_list_to_jsonl
from promptflow.batch._batch_inputs_processor import BatchInputsProcessor, apply_inputs_mapping
from promptflow.batch._errors import EmptyInputsData, InputMappingError
from promptflow.contracts.flow import FlowInputDefinition
from promptflow.contracts.tool import ValueType
from ...utils import DATA_ROOT
@pytest.mark.unittest
class TestBatchInputsProcessor:
def test_process_batch_inputs(self):
data = [
{"question": "What's promptflow?"},
{"question": "Do you like promptflow?"},
]
data_file = Path(mkdtemp()) / "data.jsonl"
dump_list_to_jsonl(data_file, data)
input_dirs = {"data": data_file}
inputs_mapping = {"question": "${data.question}"}
batch_inputs = BatchInputsProcessor("", {}).process_batch_inputs(input_dirs, inputs_mapping)
assert batch_inputs == [
{"line_number": 0, "question": "What's promptflow?"},
{"line_number": 1, "question": "Do you like promptflow?"},
]
def test_process_batch_inputs_error(self):
data_file = Path(mkdtemp()) / "data.jsonl"
data_file.touch()
input_dirs = {"data": data_file}
inputs_mapping = {"question": "${data.question}"}
with pytest.raises(EmptyInputsData) as e:
BatchInputsProcessor("", {}).process_batch_inputs(input_dirs, inputs_mapping)
expected_error_message = (
"Couldn't find any inputs data at the given input paths. "
"Please review the provided path and consider resubmitting."
)
assert expected_error_message in e.value.message
def test_resolve_data_from_input_path(self):
inputs_dir = Path(mkdtemp())
# data.jsonl
data = [
{"question": "What's promptflow?"},
{"question": "Do you like promptflow?"},
]
data_file = inputs_dir / "data.jsonl"
dump_list_to_jsonl(data_file, data)
# inputs.json
inputs_file = inputs_dir / "inputs.json"
with open(inputs_file, "w") as file:
file.write(json.dumps(data))
result = BatchInputsProcessor("", {})._resolve_data_from_input_path(inputs_dir)
assert result == data + data
# if has max_lines_count
result = BatchInputsProcessor("", {}, max_lines_count=1)._resolve_data_from_input_path(inputs_dir)
assert result == [
{"question": "What's promptflow?"},
]
@pytest.mark.parametrize(
"data_path",
[
"10k.jsonl",
"10k",
],
)
def test_resolve_data_from_input_path_with_large_data(self, data_path):
data_path = DATA_ROOT / "load_data_cases" / data_path
result = BatchInputsProcessor("", {})._resolve_data_from_input_path(Path(data_path))
assert isinstance(result, list)
assert len(result) == 10000
# specify max_rows_count
max_rows_count = 5
head_results = BatchInputsProcessor(
working_dir="",
flow_inputs={},
max_lines_count=max_rows_count,
)._resolve_data_from_input_path(Path(data_path))
assert isinstance(head_results, list)
assert len(head_results) == max_rows_count
assert result[:max_rows_count] == head_results
@pytest.mark.parametrize(
"inputs, inputs_mapping, expected",
[
(
{"data.test": {"question": "longer input key has lower priority."}, "line_number": 0},
{
"question": "${data.test.question}", # Question from the data
"value": 1,
},
{"question": "longer input key has lower priority.", "value": 1, "line_number": 0},
),
(
{
# Missing line_number is also valid data.
"data.test": {"question": "longer input key has lower priority."},
"data": {"test.question": "Shorter input key has higher priority."},
},
{
"question": "${data.test.question}", # Question from the data
"deployment_name": "text-davinci-003", # literal value
},
{
"question": "Shorter input key has higher priority.",
"deployment_name": "text-davinci-003",
},
),
],
)
def test_apply_inputs_mapping(self, inputs, inputs_mapping, expected):
result = apply_inputs_mapping(inputs, inputs_mapping)
assert expected == result, "Expected: {}, Actual: {}".format(expected, result)
@pytest.mark.parametrize(
"inputs, inputs_mapping, error_code, error_message",
[
(
{
"baseline": {"answer": 123, "question": "dummy"},
},
{
"question": "${baseline.output}",
"answer": "${data.output}",
},
InputMappingError,
"Couldn't find these mapping relations: ${baseline.output}, ${data.output}. "
"Please make sure your input mapping keys and values match your YAML input section and input data.",
),
],
)
def test_apply_inputs_mapping_error(self, inputs, inputs_mapping, error_code, error_message):
with pytest.raises(error_code) as e:
apply_inputs_mapping(inputs, inputs_mapping)
assert error_message in str(e.value), "Expected: {}, Actual: {}".format(error_message, str(e.value))
@pytest.mark.parametrize(
"inputs, expected",
[
(
{
"data": [{"question": "q1", "answer": "ans1"}, {"question": "q2", "answer": "ans2"}],
"output": [{"answer": "output_ans1"}, {"answer": "output_ans2"}],
},
[
# Get 2 lines data.
{
"data": {"question": "q1", "answer": "ans1"},
"output": {"answer": "output_ans1"},
"line_number": 0,
},
{
"data": {"question": "q2", "answer": "ans2"},
"output": {"answer": "output_ans2"},
"line_number": 1,
},
],
),
(
{
"data": [{"question": "q1", "answer": "ans1"}, {"question": "q2", "answer": "ans2"}],
"output": [{"answer": "output_ans2", "line_number": 1}],
},
[
# Only one line valid data.
{
"data": {"question": "q2", "answer": "ans2"},
"output": {"answer": "output_ans2", "line_number": 1},
"line_number": 1,
},
],
),
],
)
def test_merge_input_dicts_by_line(self, inputs, expected):
result = BatchInputsProcessor("", {})._merge_input_dicts_by_line(inputs)
json.dumps(result)
assert expected == result, "Expected: {}, Actual: {}".format(expected, result)
@pytest.mark.parametrize(
"inputs, error_code, error_message",
[
(
{
"baseline": [],
},
InputMappingError,
"The input for batch run is incorrect. Input from key 'baseline' is an empty list, which means we "
"cannot generate a single line input for the flow run. Please rectify the input and try again.",
),
(
{
"data": [{"question": "q1", "answer": "ans1"}, {"question": "q2", "answer": "ans2"}],
"baseline": [{"answer": "baseline_ans2"}],
},
InputMappingError,
"The input for batch run is incorrect. Line numbers are not aligned. Some lists have dictionaries "
"missing the 'line_number' key, and the lengths of these lists are different. List lengths are: "
"{'data': 2, 'baseline': 1}. Please make sure these lists have the same length "
"or add 'line_number' key to each dictionary.",
),
],
)
def test_merge_input_dicts_by_line_error(self, inputs, error_code, error_message):
with pytest.raises(error_code) as e:
BatchInputsProcessor("", {})._merge_input_dicts_by_line(inputs)
assert error_message == str(e.value), "Expected: {}, Actual: {}".format(error_message, str(e.value))
@pytest.mark.parametrize("inputs_mapping", [{"question": "${data.question}"}, {}])
def test_complete_inputs_mapping_by_default_value(self, inputs_mapping):
inputs = {
"question": None,
"groundtruth": None,
"input_with_default_value": FlowInputDefinition(type=ValueType.BOOL, default=False),
}
updated_inputs_mapping = BatchInputsProcessor("", inputs)._complete_inputs_mapping_by_default_value(
inputs_mapping
)
assert "input_with_default_value" not in updated_inputs_mapping
assert updated_inputs_mapping == {"question": "${data.question}", "groundtruth": "${data.groundtruth}"}
@pytest.mark.parametrize(
"inputs, inputs_mapping, expected",
[
(
# Use default mapping generated from flow inputs.
{
"data": [{"question": "q1", "groundtruth": "ans1"}, {"question": "q2", "groundtruth": "ans2"}],
},
{},
[
{
"question": "q1",
"groundtruth": "ans1",
"line_number": 0,
},
{
"question": "q2",
"groundtruth": "ans2",
"line_number": 1,
},
],
),
(
# Partially use default mapping generated from flow inputs.
{
"data": [{"question": "q1", "groundtruth": "ans1"}, {"question": "q2", "groundtruth": "ans2"}],
},
{
"question": "${data.question}",
},
[
{
"question": "q1",
"groundtruth": "ans1",
"line_number": 0,
},
{
"question": "q2",
"groundtruth": "ans2",
"line_number": 1,
},
],
),
(
{
"data": [
{"question": "q1", "answer": "ans1", "line_number": 5},
{"question": "q2", "answer": "ans2", "line_number": 6},
],
"baseline": [
{"answer": "baseline_ans1", "line_number": 5},
{"answer": "baseline_ans2", "line_number": 7},
],
},
{
"question": "${data.question}", # Question from the data
"groundtruth": "${data.answer}", # Answer from the data
"baseline": "${baseline.answer}", # Answer from the baseline
"deployment_name": "text-davinci-003", # literal value
"line_number": "${data.question}", # line_number mapping should be ignored
},
[
{
"question": "q1",
"groundtruth": "ans1",
"baseline": "baseline_ans1",
"deployment_name": "text-davinci-003",
"line_number": 5,
},
],
),
],
)
def test_validate_and_apply_inputs_mapping(self, inputs, inputs_mapping, expected):
flow_inputs = {"question": None, "groundtruth": None}
result = BatchInputsProcessor("", flow_inputs)._validate_and_apply_inputs_mapping(inputs, inputs_mapping)
assert expected == result, "Expected: {}, Actual: {}".format(expected, result)
def test_validate_and_apply_inputs_mapping_empty_input(self):
inputs = {
"data": [{"question": "q1", "answer": "ans1"}, {"question": "q2", "answer": "ans2"}],
"baseline": [{"answer": "baseline_ans1"}, {"answer": "baseline_ans2"}],
}
result = BatchInputsProcessor("", {})._validate_and_apply_inputs_mapping(inputs, {})
assert result == [
{"line_number": 0},
{"line_number": 1},
], "Empty flow inputs and inputs_mapping should return list with empty dicts."
@pytest.mark.parametrize(
"inputs_mapping, error_code",
[
(
{"question": "${question}"},
InputMappingError,
),
],
)
def test_validate_and_apply_inputs_mapping_error(self, inputs_mapping, error_code):
flow_inputs = {"question": None}
with pytest.raises(error_code) as _:
BatchInputsProcessor("", flow_inputs)._validate_and_apply_inputs_mapping(
inputs={}, inputs_mapping=inputs_mapping
)
@pytest.mark.parametrize(
"inputs, inputs_mapping, error_code, error_message",
[
(
{
"data": [{"question": "q1", "answer": "ans1"}, {"question": "q2", "answer": "ans2"}],
},
None,
UnexpectedError,
"The input for batch run is incorrect. Please make sure to set up a proper input mapping "
"before proceeding. If you need additional help, feel free to contact support for further assistance.",
),
],
)
def test_inputs_mapping_for_all_lines_error(self, inputs, inputs_mapping, error_code, error_message):
with pytest.raises(error_code) as e:
BatchInputsProcessor("", {})._apply_inputs_mapping_for_all_lines(inputs, inputs_mapping)
assert error_message == str(e.value), "Expected: {}, Actual: {}".format(error_message, str(e.value))
| promptflow/src/promptflow/tests/executor/unittests/batch/test_batch_inputs_processor.py/0 | {
"file_path": "promptflow/src/promptflow/tests/executor/unittests/batch/test_batch_inputs_processor.py",
"repo_id": "promptflow",
"token_count": 7642
} | 58 |
from unittest.mock import Mock
import pytest
from promptflow import tool
from promptflow.contracts.flow import FlowInputDefinition
from promptflow.contracts.tool import ValueType
from promptflow.executor.flow_executor import (
FlowExecutor,
_ensure_node_result_is_serializable,
_inject_stream_options,
enable_streaming_for_llm_tool,
)
from promptflow.tools.aoai import chat, completion
from promptflow.tools.embedding import embedding
@pytest.mark.unittest
class TestFlowExecutor:
@pytest.mark.parametrize(
"flow_inputs, aggregated_flow_inputs, aggregation_inputs, expected_inputs",
[
(
{
"input_from_default": FlowInputDefinition(type=ValueType.STRING, default="default_value"),
},
{},
{},
{"input_from_default": ["default_value"]},
),
(
{
"input_no_default": FlowInputDefinition(type=ValueType.STRING),
},
{},
{},
{}, # No default value for input.
),
(
{
"input_from_default": FlowInputDefinition(type=ValueType.STRING, default="default_value"),
},
{"input_from_default": "input_value", "another_key": "input_value"},
{},
{"input_from_default": "input_value", "another_key": "input_value"},
),
(
{
"input_from_default": FlowInputDefinition(type=ValueType.STRING, default="default_value"),
},
{"another_key": ["input_value", "input_value"]},
{},
{
"input_from_default": ["default_value", "default_value"],
"another_key": ["input_value", "input_value"],
},
),
(
{
"input_from_default": FlowInputDefinition(type=ValueType.BOOL, default=False),
},
{"another_key": ["input_value", "input_value"]},
{},
{
"input_from_default": [False, False],
"another_key": ["input_value", "input_value"],
},
),
(
{
"input_from_default": FlowInputDefinition(type=ValueType.STRING, default="default_value"),
},
{},
{"another_key_in_aggregation_inputs": ["input_value", "input_value"]},
{
"input_from_default": ["default_value", "default_value"],
},
),
],
)
def test_apply_default_value_for_aggregation_input(
self, flow_inputs, aggregated_flow_inputs, aggregation_inputs, expected_inputs
):
result = FlowExecutor._apply_default_value_for_aggregation_input(
flow_inputs, aggregated_flow_inputs, aggregation_inputs
)
assert result == expected_inputs
def func_with_stream_parameter(a: int, b: int, stream=False):
return a + b, stream
def func_without_stream_parameter(a: int, b: int):
return a + b
class TestEnableStreamForLLMTool:
@pytest.mark.parametrize(
"tool, should_be_wrapped",
[
(completion, True),
(chat, True),
(embedding, False),
],
)
def test_enable_stream_for_llm_tool(self, tool, should_be_wrapped):
func = enable_streaming_for_llm_tool(tool)
is_wrapped = func != tool
assert is_wrapped == should_be_wrapped
def test_func_with_stream_parameter_should_be_wrapped(self):
func = enable_streaming_for_llm_tool(func_with_stream_parameter)
assert func != func_with_stream_parameter
result = func(a=1, b=2)
assert result == (3, True)
result = func_with_stream_parameter(a=1, b=2)
assert result == (3, False)
def test_func_without_stream_parameter_should_not_be_wrapped(self):
func = enable_streaming_for_llm_tool(func_without_stream_parameter)
assert func == func_without_stream_parameter
result = func(a=1, b=2)
assert result == 3
def test_inject_stream_options_no_stream_param(self):
# Test that the function does not wrap the decorated function if it has no stream parameter
func = _inject_stream_options(lambda: True)(func_without_stream_parameter)
assert func == func_without_stream_parameter
result = func(a=1, b=2)
assert result == 3
def test_inject_stream_options_with_stream_param(self):
# Test that the function wraps the decorated function and injects the stream option
func = _inject_stream_options(lambda: True)(func_with_stream_parameter)
assert func != func_with_stream_parameter
result = func(a=1, b=2)
assert result == (3, True)
result = func_with_stream_parameter(a=1, b=2)
assert result == (3, False)
def test_inject_stream_options_with_mocked_should_stream(self):
# Test that the function uses the should_stream callable to determine the stream option
should_stream = Mock(return_value=True)
func = _inject_stream_options(should_stream)(func_with_stream_parameter)
result = func(a=1, b=2)
assert result == (3, True)
should_stream.return_value = False
result = func(a=1, b=2)
assert result == (3, False)
@tool
def streaming_tool():
for i in range(10):
yield i
@tool
def non_streaming_tool():
return 1
class TestEnsureNodeResultIsSerializable:
def test_streaming_tool_should_be_consumed_and_merged(self):
func = _ensure_node_result_is_serializable(streaming_tool)
assert func() == "0123456789"
def test_non_streaming_tool_should_not_be_affected(self):
func = _ensure_node_result_is_serializable(non_streaming_tool)
assert func() == 1
| promptflow/src/promptflow/tests/executor/unittests/executor/test_flow_executor.py/0 | {
"file_path": "promptflow/src/promptflow/tests/executor/unittests/executor/test_flow_executor.py",
"repo_id": "promptflow",
"token_count": 2875
} | 59 |
# ---------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# ---------------------------------------------------------
from typing import Dict
from vcr.request import Request
from .utils import is_httpx_response, is_json_payload_request
class VariableRecorder:
def __init__(self):
self.variables = dict()
def get_or_record_variable(self, variable: str, default: str) -> str:
return self.variables.setdefault(variable, default)
def sanitize_request(self, request: Request) -> Request:
request.uri = self._sanitize(request.uri)
if is_json_payload_request(request) and request.body is not None:
body = request.body.decode("utf-8")
body = self._sanitize(body)
request.body = body.encode("utf-8")
return request
def sanitize_response(self, response: Dict) -> Dict:
# httpx response: .content, string; no action needed
# non-httpx response: .body.string, bytes, need decode/encode
if is_httpx_response(response):
response["content"] = self._sanitize(response["content"])
else:
response["body"]["string"] = response["body"]["string"].decode("utf-8")
response["body"]["string"] = self._sanitize(response["body"]["string"])
response["body"]["string"] = response["body"]["string"].encode("utf-8")
return response
def _sanitize(self, value: str) -> str:
for k, v in self.variables.items():
value = value.replace(v, k)
return value
| promptflow/src/promptflow/tests/sdk_cli_azure_test/recording_utilities/variable_recorder.py/0 | {
"file_path": "promptflow/src/promptflow/tests/sdk_cli_azure_test/recording_utilities/variable_recorder.py",
"repo_id": "promptflow",
"token_count": 609
} | 60 |
from pathlib import Path
import pytest
FLOWS_DIR = Path(__file__).parent.parent.parent / "test_configs" / "flows"
DATAS_DIR = Path(__file__).parent.parent.parent / "test_configs" / "datas"
@pytest.mark.usefixtures("global_config")
@pytest.mark.e2etest
class TestGlobalConfig:
def test_basic_flow_bulk_run(self, pf) -> None:
data_path = f"{DATAS_DIR}/webClassification3.jsonl"
run = pf.run(flow=f"{FLOWS_DIR}/web_classification", data=data_path)
assert run.status == "Completed"
# Test repeated execute flow run
run = pf.run(flow=f"{FLOWS_DIR}/web_classification", data=data_path)
assert run.status == "Completed"
def test_connection_operations(self, pf) -> None:
connections = pf.connections.list()
assert len(connections) > 0, f"No connection found. Provider: {pf._connection_provider}"
# Assert create/update/delete not supported.
with pytest.raises(NotImplementedError):
pf.connections.create_or_update(connection=connections[0])
with pytest.raises(NotImplementedError):
pf.connections.delete(name="test_connection")
| promptflow/src/promptflow/tests/sdk_cli_global_config_test/e2etests/test_global_config.py/0 | {
"file_path": "promptflow/src/promptflow/tests/sdk_cli_global_config_test/e2etests/test_global_config.py",
"repo_id": "promptflow",
"token_count": 467
} | 61 |
import logging
import tempfile
from pathlib import Path
from types import GeneratorType
import papermill
import pytest
from marshmallow import ValidationError
from promptflow._sdk._constants import LOGGER_NAME
from promptflow._sdk._pf_client import PFClient
from promptflow.exceptions import UserErrorException
PROMOTFLOW_ROOT = Path(__file__) / "../../../.."
TEST_ROOT = Path(__file__).parent.parent.parent
MODEL_ROOT = TEST_ROOT / "test_configs/e2e_samples"
CONNECTION_FILE = (PROMOTFLOW_ROOT / "connections.json").resolve().absolute().as_posix()
FLOWS_DIR = (TEST_ROOT / "test_configs/flows").resolve().absolute().as_posix()
EAGER_FLOWS_DIR = (TEST_ROOT / "test_configs/eager_flows").resolve().absolute().as_posix()
FLOW_RESULT_KEYS = ["category", "evidence"]
_client = PFClient()
@pytest.mark.usefixtures(
"use_secrets_config_file", "recording_injection", "setup_local_connection", "install_custom_tool_pkg"
)
@pytest.mark.sdk_test
@pytest.mark.e2etest
class TestFlowTest:
def test_pf_test_flow(self):
inputs = {"url": "https://www.youtube.com/watch?v=o5ZQyXaAv1g", "answer": "Channel", "evidence": "Url"}
flow_path = Path(f"{FLOWS_DIR}/web_classification").absolute()
result = _client.test(flow=flow_path, inputs=inputs)
assert all([key in FLOW_RESULT_KEYS for key in result])
result = _client.test(flow=f"{FLOWS_DIR}/web_classification")
assert all([key in FLOW_RESULT_KEYS for key in result])
def test_pf_test_flow_with_package_tool_with_custom_strong_type_connection(self, install_custom_tool_pkg):
inputs = {"text": "Hello World!"}
flow_path = Path(f"{FLOWS_DIR}/flow_with_package_tool_with_custom_strong_type_connection").absolute()
# Test that connection would be custom strong type in flow
result = _client.test(flow=flow_path, inputs=inputs)
assert result == {"out": "connection_value is MyFirstConnection: True"}
# Test node run
result = _client.test(flow=flow_path, inputs={"input_text": "Hello World!"}, node="My_Second_Tool_usi3")
assert result == "Hello World!This is my first custom connection."
def test_pf_test_flow_with_package_tool_with_custom_connection_as_input_value(self, install_custom_tool_pkg):
# Prepare custom connection
from promptflow.connections import CustomConnection
conn = CustomConnection(name="custom_connection_3", secrets={"api_key": "test"}, configs={"api_base": "test"})
_client.connections.create_or_update(conn)
inputs = {"text": "Hello World!"}
flow_path = Path(f"{FLOWS_DIR}/flow_with_package_tool_with_custom_connection").absolute()
# Test that connection would be custom strong type in flow
result = _client.test(flow=flow_path, inputs=inputs)
assert result == {"out": "connection_value is MyFirstConnection: True"}
def test_pf_test_flow_with_script_tool_with_custom_strong_type_connection(self):
# Prepare custom connection
from promptflow.connections import CustomConnection
conn = CustomConnection(name="custom_connection_2", secrets={"api_key": "test"}, configs={"api_url": "test"})
_client.connections.create_or_update(conn)
inputs = {"text": "Hello World!"}
flow_path = Path(f"{FLOWS_DIR}/flow_with_script_tool_with_custom_strong_type_connection").absolute()
# Test that connection would be custom strong type in flow
result = _client.test(flow=flow_path, inputs=inputs)
assert result == {"out": "connection_value is MyCustomConnection: True"}
# Test node run
result = _client.test(flow=flow_path, inputs={"input_param": "Hello World!"}, node="my_script_tool")
assert result == "connection_value is MyCustomConnection: True"
def test_pf_test_with_streaming_output(self):
flow_path = Path(f"{FLOWS_DIR}/chat_flow_with_stream_output")
result = _client.test(flow=flow_path)
chat_output = result["answer"]
assert isinstance(chat_output, GeneratorType)
assert "".join(chat_output)
flow_path = Path(f"{FLOWS_DIR}/basic_with_builtin_llm_node")
result = _client.test(flow=flow_path)
chat_output = result["output"]
assert isinstance(chat_output, str)
def test_pf_test_node(self):
inputs = {"classify_with_llm.output": '{"category": "App", "evidence": "URL"}'}
flow_path = Path(f"{FLOWS_DIR}/web_classification").absolute()
result = _client.test(flow=flow_path, inputs=inputs, node="convert_to_dict")
assert all([key in FLOW_RESULT_KEYS for key in result])
def test_pf_test_flow_with_variant(self):
inputs = {"url": "https://www.youtube.com/watch?v=o5ZQyXaAv1g", "answer": "Channel", "evidence": "Url"}
result = _client.test(
flow=f"{FLOWS_DIR}/web_classification", inputs=inputs, variant="${summarize_text_content.variant_1}"
)
assert all([key in FLOW_RESULT_KEYS for key in result])
@pytest.mark.skip("TODO this test case failed in windows and Mac")
def test_pf_test_with_additional_includes(self, caplog):
from promptflow import VERSION
print(VERSION)
with caplog.at_level(level=logging.WARNING, logger=LOGGER_NAME):
inputs = {"url": "https://www.youtube.com/watch?v=o5ZQyXaAv1g", "answer": "Channel", "evidence": "Url"}
result = _client.test(flow=f"{FLOWS_DIR}/web_classification_with_additional_include", inputs=inputs)
duplicate_file_content = "Found duplicate file in additional includes"
assert any([duplicate_file_content in record.message for record in caplog.records])
assert all([key in FLOW_RESULT_KEYS for key in result])
inputs = {"classify_with_llm.output": '{"category": "App", "evidence": "URL"}'}
result = _client.test(flow=f"{FLOWS_DIR}/web_classification", inputs=inputs, node="convert_to_dict")
assert all([key in FLOW_RESULT_KEYS for key in result])
# Test additional includes don't exist
with pytest.raises(UserErrorException) as e:
_client.test(flow=f"{FLOWS_DIR}/web_classification_with_invalid_additional_include")
assert "Unable to find additional include ../invalid/file/path" in str(e.value)
def test_pf_flow_test_with_symbolic(self, prepare_symbolic_flow):
inputs = {"url": "https://www.youtube.com/watch?v=o5ZQyXaAv1g", "answer": "Channel", "evidence": "Url"}
result = _client.test(flow=f"{FLOWS_DIR}/web_classification_with_additional_include", inputs=inputs)
assert all([key in FLOW_RESULT_KEYS for key in result])
inputs = {"classify_with_llm.output": '{"category": "App", "evidence": "URL"}'}
result = _client.test(flow=f"{FLOWS_DIR}/web_classification", inputs=inputs, node="convert_to_dict")
assert all([key in FLOW_RESULT_KEYS for key in result])
def test_pf_flow_test_with_exception(self, capsys):
# Test flow with exception
inputs = {"url": "https://www.youtube.com/watch?v=o5ZQyXaAv1g", "answer": "Channel", "evidence": "Url"}
flow_path = Path(f"{FLOWS_DIR}/web_classification_with_exception").absolute()
with pytest.raises(UserErrorException) as exception:
_client.test(flow=flow_path, inputs=inputs)
assert "Execution failure in 'convert_to_dict': (Exception) mock exception" in str(exception.value)
# Test node with exception
inputs = {"classify_with_llm.output": '{"category": "App", "evidence": "URL"}'}
with pytest.raises(Exception) as exception:
_client.test(flow=flow_path, inputs=inputs, node="convert_to_dict")
output = capsys.readouterr()
assert "convert_to_dict.py" in output.out
assert "mock exception" in str(exception.value)
def test_node_test_with_connection_input(self):
flow_path = Path(f"{FLOWS_DIR}/basic-with-connection").absolute()
inputs = {
"connection": "azure_open_ai_connection",
"hello_prompt.output": "system:\n Your task is to write python program for me\nuser:\n"
"Write a simple Hello World! program that displays "
"the greeting message when executed.",
}
result = _client.test(
flow=flow_path,
inputs=inputs,
node="echo_my_prompt",
environment_variables={"API_TYPE": "${azure_open_ai_connection.api_type}"},
)
assert result
def test_pf_flow_with_aggregation(self):
flow_path = Path(f"{FLOWS_DIR}/classification_accuracy_evaluation").absolute()
inputs = {"variant_id": "variant_0", "groundtruth": "Pdf", "prediction": "PDF"}
result = _client._flows._test(flow=flow_path, inputs=inputs)
assert "calculate_accuracy" in result.node_run_infos
assert result.run_info.metrics == {"accuracy": 1.0}
def test_generate_tool_meta_in_additional_folder(self):
flow_path = Path(f"{FLOWS_DIR}/web_classification_with_additional_include").absolute()
flow_tools, _ = _client._flows._generate_tools_meta(flow=flow_path)
for tool in flow_tools["code"].values():
assert (Path(flow_path) / tool["source"]).exists()
def test_pf_test_with_non_english_input(self):
result = _client.test(flow=f"{FLOWS_DIR}/flow_with_non_english_input")
assert result["output"] == "Hello 日本語"
def test_pf_node_test_with_dict_input(self):
flow_path = Path(f"{FLOWS_DIR}/flow_with_dict_input").absolute()
flow_inputs = {"key": {"input_key": "input_value"}}
result = _client._flows._test(flow=flow_path, inputs=flow_inputs)
assert result.run_info.status.value == "Completed"
inputs = {
"get_dict_val.output.value": result.node_run_infos["get_dict_val"].output,
"get_dict_val.output.origin_value": result.node_run_infos["get_dict_val"].output,
}
node_result = _client._flows._test(flow=flow_path, node="print_val", inputs=inputs)
assert node_result.status.value == "Completed"
inputs = {
"val": result.node_run_infos["get_dict_val"].output,
"origin_val": result.node_run_infos["get_dict_val"].output
}
node_result = _client._flows._test(flow=flow_path, node="print_val", inputs=inputs)
assert node_result.status.value == "Completed"
def test_pf_node_test_with_node_ref(self):
flow_path = Path(f"{FLOWS_DIR}/flow_with_dict_input").absolute()
flow_inputs = {"key": {"input_key": "input_value"}}
result = _client._flows._test(flow=flow_path, inputs=flow_inputs)
assert result.run_info.status.value == "Completed"
# Test node ref with reference node output names
inputs = {
"get_dict_val.output.value": result.node_run_infos["get_dict_val"].output["value"],
"get_dict_val.output.origin_value": result.node_run_infos["get_dict_val"].output["origin_value"],
}
ref_result = _client._flows._test(flow=flow_path, node="print_val", inputs=inputs)
assert ref_result.status.value == "Completed"
# Test node ref with testing node input names
inputs = {
"val": result.node_run_infos["get_dict_val"].output["value"],
"origin_val": result.node_run_infos["get_dict_val"].output["origin_value"],
}
variable_result = _client._flows._test(flow=flow_path, node="print_val", inputs=inputs)
assert variable_result.status.value == "Completed"
def test_pf_test_flow_in_notebook(self):
notebook_path = Path(f"{TEST_ROOT}/test_configs/notebooks/dummy.ipynb").absolute()
with tempfile.TemporaryDirectory() as temp_dir:
output_notebook_path = Path(temp_dir) / "output.ipynb"
papermill.execute_notebook(
notebook_path,
output_path=output_notebook_path,
cwd=notebook_path.parent,
)
def test_eager_flow_test(self):
flow_path = Path(f"{EAGER_FLOWS_DIR}/simple_without_yaml/entry.py").absolute()
result = _client._flows._test(flow=flow_path, entry="my_flow", inputs={"input_val": "val1"})
assert result.run_info.status.value == "Completed"
def test_eager_flow_test_with_yaml(self):
flow_path = Path(f"{EAGER_FLOWS_DIR}/simple_with_yaml/").absolute()
result = _client._flows._test(flow=flow_path, inputs={"input_val": "val1"})
assert result.run_info.status.value == "Completed"
def test_eager_flow_test_with_primitive_output(self):
flow_path = Path(f"{EAGER_FLOWS_DIR}/primitive_output/").absolute()
result = _client._flows._test(flow=flow_path, inputs={"input_val": "val1"})
assert result.run_info.status.value == "Completed"
def test_eager_flow_test_invalid_cases(self):
# no entry provided
flow_path = Path(f"{EAGER_FLOWS_DIR}/simple_without_yaml/entry.py").absolute()
with pytest.raises(UserErrorException) as e:
_client._flows._test(flow=flow_path, inputs={"input_val": "val1"})
assert "Entry function is not specified" in str(e.value)
# no path provided
flow_path = Path(f"{EAGER_FLOWS_DIR}/invalid_no_path/").absolute()
with pytest.raises(ValidationError) as e:
_client._flows._test(flow=flow_path, inputs={"input_val": "val1"})
assert "'path': ['Missing data for required field.']" in str(e.value)
# dup entries provided
flow_path = Path(f"{EAGER_FLOWS_DIR}/simple_with_yaml/").absolute()
with pytest.raises(UserErrorException) as e:
_client._flows._test(flow=flow_path, entry="my_flow", inputs={"input_val": "val1"})
assert "Specifying entry function is not allowed" in str(e.value)
# wrong entry provided
# required inputs not provided
| promptflow/src/promptflow/tests/sdk_cli_test/e2etests/test_flow_test.py/0 | {
"file_path": "promptflow/src/promptflow/tests/sdk_cli_test/e2etests/test_flow_test.py",
"repo_id": "promptflow",
"token_count": 5707
} | 62 |
# ---------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# ---------------------------------------------------------
import pytest
import promptflow
import promptflow._sdk._mlflow as module
@pytest.mark.sdk_test
@pytest.mark.unittest
class TestMLFlowDependencies:
def test_mlflow_dependencies(self):
assert module.DAG_FILE_NAME == "flow.dag.yaml"
assert module.Flow == promptflow._sdk.entities._flow.Flow
assert module.FlowInvoker == promptflow._sdk._serving.flow_invoker.FlowInvoker
assert module.remove_additional_includes is not None
assert module._merge_local_code_and_additional_includes is not None
| promptflow/src/promptflow/tests/sdk_cli_test/unittests/test_mlflow_dependencies.py/0 | {
"file_path": "promptflow/src/promptflow/tests/sdk_cli_test/unittests/test_mlflow_dependencies.py",
"repo_id": "promptflow",
"token_count": 222
} | 63 |
{
"subscription_id": "sub_default",
"resource_group": "rg_default",
"workspace_name": "ws_default"
} | promptflow/src/promptflow/tests/test_configs/configs/.azureml/config.json/0 | {
"file_path": "promptflow/src/promptflow/tests/test_configs/configs/.azureml/config.json",
"repo_id": "promptflow",
"token_count": 47
} | 64 |
$schema: https://azuremlschemas.azureedge.net/promptflow/latest/CustomConnection.schema.json
name: my_custom_connection
type: custom
configs:
key1: "new_value"
secrets: # must-have
key2: "******" # Use the scrub value to test key2 not being updated
| promptflow/src/promptflow/tests/test_configs/connections/update_custom_connection.yaml/0 | {
"file_path": "promptflow/src/promptflow/tests/test_configs/connections/update_custom_connection.yaml",
"repo_id": "promptflow",
"token_count": 90
} | 65 |
{"text": "text", "models": ["model"]}
{"text": "text", "models": ["model", "model_2", "model_3"]} | promptflow/src/promptflow/tests/test_configs/eager_flows/dummy_flow_with_trace/inputs.jsonl/0 | {
"file_path": "promptflow/src/promptflow/tests/test_configs/eager_flows/dummy_flow_with_trace/inputs.jsonl",
"repo_id": "promptflow",
"token_count": 37
} | 66 |
# ---------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# ---------------------------------------------------------
def my_flow(input_val: str = "gpt"):
"""Simple flow without yaml."""
# print(f"Hello world! {input_val}")
return f"Hello world! {input_val}"
| promptflow/src/promptflow/tests/test_configs/eager_flows/primitive_output/entry.py/0 | {
"file_path": "promptflow/src/promptflow/tests/test_configs/eager_flows/primitive_output/entry.py",
"repo_id": "promptflow",
"token_count": 86
} | 67 |
from promptflow import tool
@tool
def print_input(input: str) -> str:
return input
| promptflow/src/promptflow/tests/test_configs/flows/activate_flow/print_input.py/0 | {
"file_path": "promptflow/src/promptflow/tests/test_configs/flows/activate_flow/print_input.py",
"repo_id": "promptflow",
"token_count": 29
} | 68 |
name: all_nodes_bypassed
inputs:
text:
type: string
outputs:
result:
type: string
reference: ${third_node.output}
nodes:
- name: first_node
type: python
source:
type: code
path: test.py
inputs:
text: ${inputs.text}
activate:
when: ${inputs.text}
is: "hello"
- name: second_node
type: python
source:
type: code
path: test.py
inputs:
text: ${first_node.output}
- name: third_node
type: python
source:
type: code
path: test.py
inputs:
text: ${second_node.output}
| promptflow/src/promptflow/tests/test_configs/flows/all_nodes_bypassed/flow.dag.yaml/0 | {
"file_path": "promptflow/src/promptflow/tests/test_configs/flows/all_nodes_bypassed/flow.dag.yaml",
"repo_id": "promptflow",
"token_count": 229
} | 69 |
inputs:
input_str:
type: string
default: Hello
outputs:
ouput1:
type: string
reference: ${async_passthrough1.output}
output2:
type: string
reference: ${sync_passthrough1.output}
nodes:
- name: async_passthrough
type: python
source:
type: code
path: async_passthrough.py
inputs:
input1: ${inputs.input_str}
wait_seconds: 1
- name: async_passthrough1
type: python
source:
type: code
path: async_passthrough.py
inputs:
input1: ${async_passthrough.output}
wait_seconds: 10
wait_seconds_in_cancellation: 1
- name: sync_passthrough1
type: python
source:
type: code
path: sync_passthrough.py
inputs:
input1: ${async_passthrough.output}
wait_seconds: 10
| promptflow/src/promptflow/tests/test_configs/flows/async_tools_with_sync_tools/flow.dag.yaml/0 | {
"file_path": "promptflow/src/promptflow/tests/test_configs/flows/async_tools_with_sync_tools/flow.dag.yaml",
"repo_id": "promptflow",
"token_count": 311
} | 70 |
import random
import time
from promptflow import tool
@tool
def get_calorie_by_swimming(duration: float, temperature: float):
"""Estimate the calories burned by swimming based on duration and temperature.
:param duration: the length of the swimming in hours.
:type duration: float
:param temperature: the environment temperature in degrees Celsius.
:type temperature: float
"""
print(
f"Figure out the calories burned by swimming, with temperature of {temperature} degrees Celsius, "
f"and duration of {duration} hours."
)
# Generating a random number between 0.2 and 1 for tracing purpose
time.sleep(random.uniform(0.2, 1))
return random.randint(100, 200)
| promptflow/src/promptflow/tests/test_configs/flows/chat-with-assistant-no-file/get_calorie_by_swimming.py/0 | {
"file_path": "promptflow/src/promptflow/tests/test_configs/flows/chat-with-assistant-no-file/get_calorie_by_swimming.py",
"repo_id": "promptflow",
"token_count": 219
} | 71 |
inputs:
chat_history:
type: list
default:
- inputs:
question:
- the first question
- data:image/jpg;path: logo.jpg
outputs:
answer:
- data:image/jpg;path: logo.jpg
- inputs:
question:
- the second question
- data:image/png;path: logo_2.png
outputs:
answer:
- data:image/png;path: logo_2.png
is_chat_history: true
question:
type: list
default:
- the third question
- data:image/jpg;path: logo.jpg
- data:image/png;path: logo_2.png
is_chat_input: true
outputs:
answer:
type: string
reference: ${mock_chat_node.output}
is_chat_output: true
nodes:
- name: mock_chat_node
type: python
source:
type: code
path: mock_chat.py
inputs:
chat_history: ${inputs.chat_history}
question: ${inputs.question}
| promptflow/src/promptflow/tests/test_configs/flows/chat_flow_with_image/flow.dag.yaml/0 | {
"file_path": "promptflow/src/promptflow/tests/test_configs/flows/chat_flow_with_image/flow.dag.yaml",
"repo_id": "promptflow",
"token_count": 396
} | 72 |
from typing import List
from promptflow import log_metric, tool
@tool
def calculate_accuracy(grades: List[str], variant_ids: List[str]):
aggregate_grades = {}
for index in range(len(grades)):
grade = grades[index]
variant_id = variant_ids[index]
if variant_id not in aggregate_grades.keys():
aggregate_grades[variant_id] = []
aggregate_grades[variant_id].append(grade)
# calculate accuracy for each variant
for name, values in aggregate_grades.items():
accuracy = round((values.count("Correct") / len(values)), 2)
log_metric("accuracy", accuracy, variant_id=name)
return aggregate_grades
| promptflow/src/promptflow/tests/test_configs/flows/classification_accuracy_evaluation/calculate_accuracy.py/0 | {
"file_path": "promptflow/src/promptflow/tests/test_configs/flows/classification_accuracy_evaluation/calculate_accuracy.py",
"repo_id": "promptflow",
"token_count": 244
} | 73 |
[
{
"incident_id": 1,
"incident_content": "Incident 418856448 : Stale App Deployment for App promptflow"
},
{
"incident_id": 3,
"incident_content": "Incident 418856448 : Stale App Deployment for App promptflow"
},
{
"incident_id": 0,
"incident_content": "Incident 418856448 : Stale App Deployment for App promptflow"
}
] | promptflow/src/promptflow/tests/test_configs/flows/conditional_flow_with_activate/inputs.json/0 | {
"file_path": "promptflow/src/promptflow/tests/test_configs/flows/conditional_flow_with_activate/inputs.json",
"repo_id": "promptflow",
"token_count": 177
} | 74 |
inputs: {}
outputs:
output:
type: string
reference: ${conn_node.output}
nodes:
- name: conn_node
type: python
source:
type: code
path: conn_tool.py
inputs:
conn: azure_open_ai_connection
| promptflow/src/promptflow/tests/test_configs/flows/connection_as_input/flow.dag.yaml/0 | {
"file_path": "promptflow/src/promptflow/tests/test_configs/flows/connection_as_input/flow.dag.yaml",
"repo_id": "promptflow",
"token_count": 89
} | 75 |
inputs:
customer_info:
type: string
chat_history:
type: string
outputs:
output:
type: string
reference: ${extract_intent.output}
nodes:
- name: chat_prompt
type: prompt
source:
type: code
path: user_intent_zero_shot.jinja2
inputs: # Please check the generated prompt inputs
customer_info: ${inputs.customer_info}
chat_history: ${inputs.chat_history}
- name: extract_intent
type: python
source:
type: code
path: extract_intent_tool.py
inputs:
chat_prompt: ${chat_prompt.output}
connection: custom_connection
environment:
python_requirements_txt: requirements_txt
| promptflow/src/promptflow/tests/test_configs/flows/export/linux/flow/flow.dag.yaml/0 | {
"file_path": "promptflow/src/promptflow/tests/test_configs/flows/export/linux/flow/flow.dag.yaml",
"repo_id": "promptflow",
"token_count": 232
} | 76 |
from promptflow import tool
@tool
def nan_inf(number: int):
print(number)
return {"nan": float("nan"), "inf": float("inf")}
| promptflow/src/promptflow/tests/test_configs/flows/flow-with-nan-inf/nan_inf.py/0 | {
"file_path": "promptflow/src/promptflow/tests/test_configs/flows/flow-with-nan-inf/nan_inf.py",
"repo_id": "promptflow",
"token_count": 48
} | 77 |
{"text": "env1"}
{"text": "env2"}
{"text": "env3"}
{"text": "env4"}
{"text": "env5"}
{"text": "env10"} | promptflow/src/promptflow/tests/test_configs/flows/flow_with_environment_variables/inputs.jsonl/0 | {
"file_path": "promptflow/src/promptflow/tests/test_configs/flows/flow_with_environment_variables/inputs.jsonl",
"repo_id": "promptflow",
"token_count": 47
} | 78 |
from typing import List
from promptflow import tool
@tool
def get_val(key):
# get from env var
print(key)
return {"value": f"{key}: {type(key)}"}
| promptflow/src/promptflow/tests/test_configs/flows/flow_with_list_input/print_val.py/0 | {
"file_path": "promptflow/src/promptflow/tests/test_configs/flows/flow_with_list_input/print_val.py",
"repo_id": "promptflow",
"token_count": 60
} | 79 |
from promptflow import tool
from promptflow.connections import CustomStrongTypeConnection, CustomConnection
from promptflow.contracts.types import Secret
class MyCustomConnection(CustomStrongTypeConnection):
"""My custom strong type connection.
:param api_key: The api key.
:type api_key: String
:param api_base: The api base.
:type api_base: String
"""
api_key: Secret
api_url: str = "This is a fake api url."
@tool
def my_tool(connection: MyCustomConnection, input_param: str) -> str:
# Replace with your tool code.
# Use custom strong type connection like: connection.api_key, connection.api_url
return f"connection_value is MyCustomConnection: {str(isinstance(connection, MyCustomConnection))}"
| promptflow/src/promptflow/tests/test_configs/flows/flow_with_script_tool_with_custom_strong_type_connection/my_script_tool.py/0 | {
"file_path": "promptflow/src/promptflow/tests/test_configs/flows/flow_with_script_tool_with_custom_strong_type_connection/my_script_tool.py",
"repo_id": "promptflow",
"token_count": 224
} | 80 |
{
"code": {
"hello_world.py": {
"type": "python",
"inputs": {
"name": {
"type": [
"string"
]
}
},
"source": "hello_world.py",
"function": "hello_world"
}
},
"package": {
"promptflow.tools.embedding.embedding": {
"name": "Embedding",
"description": "Use Open AI's embedding model to create an embedding vector representing the input text.",
"type": "python",
"module": "promptflow.tools.embedding",
"function": "embedding",
"inputs": {
"connection": {
"type": [
"AzureOpenAIConnection",
"OpenAIConnection"
]
},
"deployment_name": {
"type": [
"string"
],
"enabled_by": "connection",
"enabled_by_type": [
"AzureOpenAIConnection"
],
"capabilities": {
"completion": false,
"chat_completion": false,
"embeddings": true
},
"model_list": [
"text-embedding-ada-002",
"text-search-ada-doc-001",
"text-search-ada-query-001"
]
},
"model": {
"type": [
"string"
],
"enabled_by": "connection",
"enabled_by_type": [
"OpenAIConnection"
],
"enum": [
"text-embedding-ada-002",
"text-search-ada-doc-001",
"text-search-ada-query-001"
]
},
"input": {
"type": [
"string"
]
}
},
"package": "promptflow-tools",
"package_version": "0.1.0b5"
},
"promptflow.tools.serpapi.SerpAPI.search": {
"name": "Serp API",
"description": "Use Serp API to obtain search results from a specific search engine.",
"inputs": {
"connection": {
"type": [
"SerpConnection"
]
},
"engine": {
"default": "google",
"enum": [
"google",
"bing"
],
"type": [
"string"
]
},
"location": {
"default": "",
"type": [
"string"
]
},
"num": {
"default": "10",
"type": [
"int"
]
},
"query": {
"type": [
"string"
]
},
"safe": {
"default": "off",
"enum": [
"active",
"off"
],
"type": [
"string"
]
}
},
"type": "python",
"module": "promptflow.tools.serpapi",
"class_name": "SerpAPI",
"function": "search",
"package": "promptflow-tools",
"package_version": "0.1.0b5"
},
"my_tool_package.tools.my_tool_1.my_tool": {
"function": "my_tool",
"inputs": {
"connection": {
"type": [
"CustomConnection"
],
"custom_type": [
"MyFirstConnection",
"MySecondConnection"
]
},
"input_text": {
"type": [
"string"
]
}
},
"module": "my_tool_package.tools.my_tool_1",
"name": "My First Tool",
"description": "This is my first tool",
"type": "python",
"package": "test-custom-tools",
"package_version": "0.0.2"
},
"my_tool_package.tools.my_tool_2.MyTool.my_tool": {
"class_name": "MyTool",
"function": "my_tool",
"inputs": {
"connection": {
"type": [
"CustomConnection"
],
"custom_type": [
"MySecondConnection"
]
},
"input_text": {
"type": [
"string"
]
}
},
"module": "my_tool_package.tools.my_tool_2",
"name": "My Second Tool",
"description": "This is my second tool",
"type": "python",
"package": "test-custom-tools",
"package_version": "0.0.2"
},
"my_tool_package.tools.my_tool_with_custom_strong_type_connection.my_tool": {
"function": "my_tool",
"inputs": {
"connection": {
"custom_type": [
"MyCustomConnection"
],
"type": [
"CustomConnection"
]
},
"input_param": {
"type": [
"string"
]
}
},
"module": "my_tool_package.tools.my_tool_with_custom_strong_type_connection",
"name": "Tool With Custom Strong Type Connection",
"description": "This is my tool with custom strong type connection.",
"type": "python",
"package": "test-custom-tools",
"package_version": "0.0.2"
}
}
} | promptflow/src/promptflow/tests/test_configs/flows/hello-world/.promptflow/flow.tools.json/0 | {
"file_path": "promptflow/src/promptflow/tests/test_configs/flows/hello-world/.promptflow/flow.tools.json",
"repo_id": "promptflow",
"token_count": 4455
} | 81 |
{
"code": {
"mod_two.py": {
"type": "python",
"inputs": {
"number": {
"type": [
"int"
]
}
},
"source": "mod_two.py",
"function": "mod_two"
}
},
"package": {
"promptflow.tools.aoai_gpt4v.AzureOpenAI.chat": {
"name": "Azure OpenAI GPT-4 Turbo with Vision",
"description": "Use Azure OpenAI GPT-4 Turbo with Vision to leverage AOAI vision ability.",
"type": "custom_llm",
"module": "promptflow.tools.aoai_gpt4v",
"class_name": "AzureOpenAI",
"function": "chat",
"tool_state": "preview",
"icon": {
"light": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAx0lEQVR4nJWSwQ2CQBBFX0jAcjgqXUgPJNiIsQQrIVCIFy8GC6ABDcGDX7Mus9n1Xz7zZ+fPsLPwH4bUg0dD2wMPcbR48Uxq4AKU4iSTDwZ1LhWXipN/B3V0J6hjBTvgLHZNonewBXrgDpzEvXSIjN0BE3AACmmF4kl5F6tNzcCoLpW0SvGovFvsb4oZ2AANcAOu4ka6axCcINN3rg654sww+CYsPD0OwjcozFNh/Qcd78tqVbCIW+n+Fky472Bh/Q6SYb1EEy8tDzd+9IsVPAAAAABJRU5ErkJggg==",
"dark": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA2ElEQVR4nJXSzW3CQBAF4DUSTjk+Al1AD0ikESslpBIEheRALhEpgAYSWV8OGUublf/yLuP3PPNmdndS+gdwXZrYDmh7fGE/W+wXbaYd8IYm4rxJPnZ0boI3wZcdJxs/n+AwV7DFK7aFyfQdYIMLPvES8YJNf5yp4jMeeEYdWh38gXOR35YGHe5xabvQdsHv6PLi8qV6gycc8YH3iMfQu6Lh4ASr+F5Hh3XwVWnQYzUkVlX1nccplAb1SN6Y/sfgmlK64VS8wimldIv/0yj2QLkHizG0iWP4AVAfQ34DVQONAAAAAElFTkSuQmCC"
},
"default_prompt": "# system:\nAs an AI assistant, your task involves interpreting images and responding to questions about the image.\nRemember to provide accurate answers based on the information present in the image.\n\n# user:\nCan you tell me what the image depicts?\n\n",
"inputs": {
"connection": {
"type": [
"AzureOpenAIConnection"
]
},
"deployment_name": {
"type": [
"string"
]
},
"temperature": {
"default": 1,
"type": [
"double"
]
},
"top_p": {
"default": 1,
"type": [
"double"
]
},
"max_tokens": {
"default": 512,
"type": [
"int"
]
},
"stop": {
"default": "",
"type": [
"list"
]
},
"presence_penalty": {
"default": 0,
"type": [
"double"
]
},
"frequency_penalty": {
"default": 0,
"type": [
"double"
]
}
},
"package": "promptflow-tools",
"package_version": "1.0.2"
},
"promptflow.tools.azure_content_safety.analyze_text": {
"module": "promptflow.tools.azure_content_safety",
"function": "analyze_text",
"inputs": {
"connection": {
"type": [
"AzureContentSafetyConnection"
]
},
"hate_category": {
"default": "medium_sensitivity",
"enum": [
"disable",
"low_sensitivity",
"medium_sensitivity",
"high_sensitivity"
],
"type": [
"string"
]
},
"self_harm_category": {
"default": "medium_sensitivity",
"enum": [
"disable",
"low_sensitivity",
"medium_sensitivity",
"high_sensitivity"
],
"type": [
"string"
]
},
"sexual_category": {
"default": "medium_sensitivity",
"enum": [
"disable",
"low_sensitivity",
"medium_sensitivity",
"high_sensitivity"
],
"type": [
"string"
]
},
"text": {
"type": [
"string"
]
},
"violence_category": {
"default": "medium_sensitivity",
"enum": [
"disable",
"low_sensitivity",
"medium_sensitivity",
"high_sensitivity"
],
"type": [
"string"
]
}
},
"name": "Content Safety (Text Analyze)",
"description": "Use Azure Content Safety to detect harmful content.",
"type": "python",
"deprecated_tools": [
"content_safety_text.tools.content_safety_text_tool.analyze_text"
],
"package": "promptflow-tools",
"package_version": "1.0.2"
},
"promptflow.tools.embedding.embedding": {
"name": "Embedding",
"description": "Use Open AI's embedding model to create an embedding vector representing the input text.",
"type": "python",
"module": "promptflow.tools.embedding",
"function": "embedding",
"inputs": {
"connection": {
"type": [
"AzureOpenAIConnection",
"OpenAIConnection"
]
},
"deployment_name": {
"type": [
"string"
],
"enabled_by": "connection",
"enabled_by_type": [
"AzureOpenAIConnection"
],
"capabilities": {
"completion": false,
"chat_completion": false,
"embeddings": true
},
"model_list": [
"text-embedding-ada-002",
"text-search-ada-doc-001",
"text-search-ada-query-001"
]
},
"model": {
"type": [
"string"
],
"enabled_by": "connection",
"enabled_by_type": [
"OpenAIConnection"
],
"enum": [
"text-embedding-ada-002",
"text-search-ada-doc-001",
"text-search-ada-query-001"
],
"allow_manual_entry": true
},
"input": {
"type": [
"string"
]
}
},
"package": "promptflow-tools",
"package_version": "1.0.2"
},
"promptflow.tools.openai_gpt4v.OpenAI.chat": {
"name": "OpenAI GPT-4V",
"description": "Use OpenAI GPT-4V to leverage vision ability.",
"type": "custom_llm",
"module": "promptflow.tools.openai_gpt4v",
"class_name": "OpenAI",
"function": "chat",
"tool_state": "preview",
"icon": {
"light": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAx0lEQVR4nJWSwQ2CQBBFX0jAcjgqXUgPJNiIsQQrIVCIFy8GC6ABDcGDX7Mus9n1Xz7zZ+fPsLPwH4bUg0dD2wMPcbR48Uxq4AKU4iSTDwZ1LhWXipN/B3V0J6hjBTvgLHZNonewBXrgDpzEvXSIjN0BE3AACmmF4kl5F6tNzcCoLpW0SvGovFvsb4oZ2AANcAOu4ka6axCcINN3rg654sww+CYsPD0OwjcozFNh/Qcd78tqVbCIW+n+Fky472Bh/Q6SYb1EEy8tDzd+9IsVPAAAAABJRU5ErkJggg==",
"dark": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA2ElEQVR4nJXSzW3CQBAF4DUSTjk+Al1AD0ikESslpBIEheRALhEpgAYSWV8OGUublf/yLuP3PPNmdndS+gdwXZrYDmh7fGE/W+wXbaYd8IYm4rxJPnZ0boI3wZcdJxs/n+AwV7DFK7aFyfQdYIMLPvES8YJNf5yp4jMeeEYdWh38gXOR35YGHe5xabvQdsHv6PLi8qV6gycc8YH3iMfQu6Lh4ASr+F5Hh3XwVWnQYzUkVlX1nccplAb1SN6Y/sfgmlK64VS8wimldIv/0yj2QLkHizG0iWP4AVAfQ34DVQONAAAAAElFTkSuQmCC"
},
"default_prompt": "# system:\nAs an AI assistant, your task involves interpreting images and responding to questions about the image.\nRemember to provide accurate answers based on the information present in the image.\n\n# user:\nCan you tell me what the image depicts?\n\n",
"inputs": {
"connection": {
"type": [
"OpenAIConnection"
]
},
"model": {
"enum": [
"gpt-4-vision-preview"
],
"allow_manual_entry": true,
"type": [
"string"
]
},
"temperature": {
"default": 1,
"type": [
"double"
]
},
"top_p": {
"default": 1,
"type": [
"double"
]
},
"max_tokens": {
"default": 512,
"type": [
"int"
]
},
"stop": {
"default": "",
"type": [
"list"
]
},
"presence_penalty": {
"default": 0,
"type": [
"double"
]
},
"frequency_penalty": {
"default": 0,
"type": [
"double"
]
}
},
"package": "promptflow-tools",
"package_version": "1.0.2"
},
"promptflow.tools.open_model_llm.OpenModelLLM.call": {
"name": "Open Model LLM",
"description": "Use an open model from the Azure Model catalog, deployed to an AzureML Online Endpoint for LLM Chat or Completion API calls.",
"icon": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACgElEQVR4nGWSz2vcVRTFP/e9NzOZ1KDGohASslLEH6VLV0ak4l/QpeDCrfQPcNGliODKnVm4EBdBsIjQIlhciKW0ycKFVCSNbYnjdDLtmPnmO/nO9917XcxMkjYX3uLx7nnn3HOuMK2Nix4fP78ZdrYXVkLVWjf3l3B1B+HpcjzGFtmqa6cePz7/x0dnn1n5qhj3iBJPYREIURAJuCtpY8PjReDbrf9WG7H1fuefwQU9qKztTcMJT+PNnEFvjGVDBDlSsH6p/9MLzy6+NxwVqI8RAg4IPmWedMckdLYP6O6UpIaQfvyyXG012+e79/ZfHukoS1ISMT2hGTB1RkUmNgQ5QZ0w+a2VWDq73MbdEWmfnnv6UWe7oNzPaLapl5CwuLTXK9WUGBuCjqekzhP+z52ZXOrKMD3OJg0Hh778aiOuvpnYvp05d6GJO4iAO4QAe/eV36/X5LFRV4Zmn+AdkqlL8Vjp3oVioOz+WTPzzYEgsN+fgPLYyJVheSbPPVl2ikeGZRjtG52/8rHuaV9VOlpP2OtKyVndcRVCSqOhsvxa4vW359i6OuKdD+aP8Q4SYPdOzS/flGjt1JUSaMqZ5nwa1Y8qWb/Ud/eZZkHisYezEM0m+fcelDr8F1SqW2LNK6r1jXQwyLzy1hxvrLXZulry7ocL+FS6G4QIu3fG/Px1gdYeW7LIgXU2P/115TOA5G7e3Rmj2aS/m7l5pThiZzrCcE/d1XHzbln373nw7y6veeoUm5KCNKT/IPPwbiY1hYd/l5MIT65BMFt87sU4v9D7/JMflr44uV6hGh1+L4RCkg6z5iK2tAhNLeLsNGwYA4fDYnC/drvuuFxe86NV/x+Ut27g0FvykgAAAABJRU5ErkJggg==",
"type": "custom_llm",
"module": "promptflow.tools.open_model_llm",
"class_name": "OpenModelLLM",
"function": "call",
"inputs": {
"endpoint_name": {
"type": [
"string"
],
"dynamic_list": {
"func_path": "promptflow.tools.open_model_llm.list_endpoint_names"
},
"allow_manual_entry": true,
"is_multi_select": false
},
"deployment_name": {
"default": "",
"type": [
"string"
],
"dynamic_list": {
"func_path": "promptflow.tools.open_model_llm.list_deployment_names",
"func_kwargs": [
{
"name": "endpoint",
"type": [
"string"
],
"optional": true,
"reference": "${inputs.endpoint}"
}
]
},
"allow_manual_entry": true,
"is_multi_select": false
},
"api": {
"enum": [
"chat",
"completion"
],
"type": [
"string"
]
},
"temperature": {
"default": 1.0,
"type": [
"double"
]
},
"max_new_tokens": {
"default": 500,
"type": [
"int"
]
},
"top_p": {
"default": 1.0,
"advanced": true,
"type": [
"double"
]
},
"model_kwargs": {
"default": "{}",
"advanced": true,
"type": [
"object"
]
}
},
"package": "promptflow-tools",
"package_version": "1.0.2"
},
"promptflow.tools.serpapi.SerpAPI.search": {
"name": "Serp API",
"description": "Use Serp API to obtain search results from a specific search engine.",
"inputs": {
"connection": {
"type": [
"SerpConnection"
]
},
"engine": {
"default": "google",
"enum": [
"google",
"bing"
],
"type": [
"string"
]
},
"location": {
"default": "",
"type": [
"string"
]
},
"num": {
"default": "10",
"type": [
"int"
]
},
"query": {
"type": [
"string"
]
},
"safe": {
"default": "off",
"enum": [
"active",
"off"
],
"type": [
"string"
]
}
},
"type": "python",
"module": "promptflow.tools.serpapi",
"class_name": "SerpAPI",
"function": "search",
"package": "promptflow-tools",
"package_version": "1.0.2"
},
"my_tool_package.tools.my_tool_1.my_tool": {
"function": "my_tool",
"inputs": {
"connection": {
"type": [
"CustomConnection"
],
"custom_type": [
"MyFirstConnection",
"MySecondConnection"
]
},
"input_text": {
"type": [
"string"
]
}
},
"module": "my_tool_package.tools.my_tool_1",
"name": "My First Tool",
"description": "This is my first tool",
"type": "python",
"package": "test-custom-tools",
"package_version": "0.0.2"
},
"my_tool_package.tools.my_tool_2.MyTool.my_tool": {
"class_name": "MyTool",
"function": "my_tool",
"inputs": {
"connection": {
"type": [
"CustomConnection"
],
"custom_type": [
"MySecondConnection"
]
},
"input_text": {
"type": [
"string"
]
}
},
"module": "my_tool_package.tools.my_tool_2",
"name": "My Second Tool",
"description": "This is my second tool",
"type": "python",
"package": "test-custom-tools",
"package_version": "0.0.2"
},
"my_tool_package.tools.my_tool_with_custom_strong_type_connection.my_tool": {
"function": "my_tool",
"inputs": {
"connection": {
"custom_type": [
"MyCustomConnection"
],
"type": [
"CustomConnection"
]
},
"input_param": {
"type": [
"string"
]
}
},
"module": "my_tool_package.tools.my_tool_with_custom_strong_type_connection",
"name": "Tool With Custom Strong Type Connection",
"description": "This is my tool with custom strong type connection.",
"type": "python",
"package": "test-custom-tools",
"package_version": "0.0.2"
}
}
} | promptflow/src/promptflow/tests/test_configs/flows/mod-n/two/.promptflow/flow.tools.json/0 | {
"file_path": "promptflow/src/promptflow/tests/test_configs/flows/mod-n/two/.promptflow/flow.tools.json",
"repo_id": "promptflow",
"token_count": 13097
} | 82 |
inputs:
prompt:
type: string
stream:
type: bool
outputs:
output:
type: string
reference: ${completion.output}
nodes:
- name: completion
type: python
source:
type: code
path: completion.py
inputs:
prompt: ${inputs.prompt}
connection: azure_open_ai_connection
stream: ${inputs.stream}
| promptflow/src/promptflow/tests/test_configs/flows/openai_completion_api_flow/flow.dag.yaml/0 | {
"file_path": "promptflow/src/promptflow/tests/test_configs/flows/openai_completion_api_flow/flow.dag.yaml",
"repo_id": "promptflow",
"token_count": 130
} | 83 |
{{template}} | promptflow/src/promptflow/tests/test_configs/flows/prompt_tool_with_duplicated_inputs/prompt_with_duplicated_inputs.jinja2/0 | {
"file_path": "promptflow/src/promptflow/tests/test_configs/flows/prompt_tool_with_duplicated_inputs/prompt_with_duplicated_inputs.jinja2",
"repo_id": "promptflow",
"token_count": 3
} | 84 |
inputs:
input:
type: string
default: World
outputs:
output:
type: string
reference: ${script_tool_with_init.output}
nodes:
- name: script_tool_with_init
type: python
source:
type: code
path: script_tool_with_init.py
inputs:
init_input: Hello
input: ${inputs.input}
| promptflow/src/promptflow/tests/test_configs/flows/script_tool_with_init/flow.dag.yaml/0 | {
"file_path": "promptflow/src/promptflow/tests/test_configs/flows/script_tool_with_init/flow.dag.yaml",
"repo_id": "promptflow",
"token_count": 125
} | 85 |
inputs:
text:
type: string
default: "play"
outputs:
answer:
type: string
reference: ${passthrough.output}
nodes:
- name: passthrough
type: python
source:
type: code
path: passthrough.py
inputs:
input: ${inputs.text}
- name: accuracy
type: python
source:
type: code
path: accuracy.py
inputs:
answer: ${passthrough.output}
groundtruth: ${inputs.text}
aggregation: True | promptflow/src/promptflow/tests/test_configs/flows/simple_aggregation/flow.dag.yaml/0 | {
"file_path": "promptflow/src/promptflow/tests/test_configs/flows/simple_aggregation/flow.dag.yaml",
"repo_id": "promptflow",
"token_count": 170
} | 86 |
inputs:
name:
type: string
default: hod
outputs:
result:
type: string
reference: ${hello_world.output}
nodes:
- name: hello_world
type: python
source:
type: code
path: hello_world.py
inputs:
name: ${inputs.name}
| promptflow/src/promptflow/tests/test_configs/flows/simple_hello_world/flow.dag.yaml/0 | {
"file_path": "promptflow/src/promptflow/tests/test_configs/flows/simple_hello_world/flow.dag.yaml",
"repo_id": "promptflow",
"token_count": 105
} | 87 |
{"inputs.url":"https://www.microsoft.com/en-us/d/xbox-wireless-controller-stellar-shift-special-edition/94fbjc7h0h6h"}
| promptflow/src/promptflow/tests/test_configs/flows/web_classification/fetch_text_content_from_url_input.jsonl/0 | {
"file_path": "promptflow/src/promptflow/tests/test_configs/flows/web_classification/fetch_text_content_from_url_input.jsonl",
"repo_id": "promptflow",
"token_count": 47
} | 88 |
inputs:
url:
type: string
default: https://www.microsoft.com/en-us/d/xbox-wireless-controller-stellar-shift-special-edition/94fbjc7h0h6h
outputs:
category:
type: string
reference: ${convert_to_dict.output.category}
evidence:
type: string
reference: ${convert_to_dict.output.evidence}
nodes:
- name: fetch_text_content_from_url
type: python
source:
type: code
path: fetch_text_content_from_url.py
inputs:
url: ${inputs.url}
- name: summarize_text_content
type: llm
use_variants: true
- name: prepare_examples
type: python
source:
type: code
path: prepare_examples.py
inputs: {}
- name: classify_with_llm
type: llm
source:
type: code
path: classify_with_llm.jinja2
inputs:
deployment_name: gpt-35-turbo
suffix: ''
max_tokens: '128'
temperature: '0.1'
top_p: '1.0'
logprobs: ''
echo: 'False'
stop: ''
presence_penalty: '0'
frequency_penalty: '0'
best_of: '1'
logit_bias: ''
url: ${inputs.url}
examples: ${prepare_examples.output}
text_content: ${summarize_text_content.output}
provider: AzureOpenAI
connection: azure_open_ai_connection
api: chat
module: promptflow.tools.aoai
- name: convert_to_dict
type: python
source:
type: code
path: convert_to_dict.py
inputs:
input_str: ${classify_with_llm.output}
node_variants:
summarize_text_content:
default_variant_id: variant_1
variants:
variant_0:
node:
type: llm
source:
type: code
path: summarize_text_content.jinja2
inputs:
deployment_name: gpt-35-turbo
suffix: ''
max_tokens: '128'
temperature: '0.2'
top_p: '1.0'
logprobs: ''
echo: 'False'
stop: ''
presence_penalty: '0'
frequency_penalty: '0'
best_of: '1'
logit_bias: ''
text: ${fetch_text_content_from_url.output}
provider: AzureOpenAI
connection: azure_open_ai_connection
api: chat
module: promptflow.tools.aoai
variant_1:
node:
type: llm
source:
type: code
path: summarize_text_content__variant_1.jinja2
inputs:
deployment_name: gpt-35-turbo
suffix: ''
max_tokens: '256'
temperature: '0.3'
top_p: '1.0'
logprobs: ''
echo: 'False'
stop: ''
presence_penalty: '0'
frequency_penalty: '0'
best_of: '1'
logit_bias: ''
text: ${fetch_text_content_from_url.output}
provider: AzureOpenAI
connection: azure_open_ai_connection
api: chat
module: promptflow.tools.aoai
| promptflow/src/promptflow/tests/test_configs/flows/web_classification_with_exception/flow.dag.yaml/0 | {
"file_path": "promptflow/src/promptflow/tests/test_configs/flows/web_classification_with_exception/flow.dag.yaml",
"repo_id": "promptflow",
"token_count": 1444
} | 89 |
interactions:
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- promptflow-sdk/0.0.1 azure-ai-ml/1.12.1 azsdk-python-mgmt-machinelearningservices/0.1.0
Python/3.10.13 (Windows-10-10.0.22631-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000
response:
body:
string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000",
"name": "00000", "type": "Microsoft.MachineLearningServices/workspaces", "location":
"eastus", "tags": {}, "etag": null, "kind": "Default", "sku": {"name": "Basic",
"tier": "Basic"}, "properties": {"discoveryUrl": "https://eastus.api.azureml.ms/discovery"}}'
headers:
cache-control:
- no-cache
content-length:
- '3630'
content-type:
- application/json; charset=utf-8
expires:
- '-1'
pragma:
- no-cache
strict-transport-security:
- max-age=31536000; includeSubDomains
transfer-encoding:
- chunked
vary:
- Accept-Encoding,Accept-Encoding
x-content-type-options:
- nosniff
x-request-time:
- '0.027'
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- promptflow-sdk/0.0.1 azure-ai-ml/1.12.1 azsdk-python-mgmt-machinelearningservices/0.1.0
Python/3.10.13 (Windows-10-10.0.22631-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/datastores?count=30&isDefault=true&orderByAsc=false
response:
body:
string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/datastores/workspaceblobstore",
"name": "workspaceblobstore", "type": "Microsoft.MachineLearningServices/workspaces/datastores",
"properties": {"description": null, "tags": null, "properties": null, "isDefault":
true, "credentials": {"credentialsType": "AccountKey"}, "intellectualProperty":
null, "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroup":
"00000", "datastoreType": "AzureBlob", "accountName": "fake_account_name",
"containerName": "fake-container-name", "endpoint": "core.windows.net", "protocol":
"https", "serviceDataAccessAuthIdentity": "WorkspaceSystemAssignedIdentity"},
"systemData": {"createdAt": "2023-04-08T02:53:06.5886442+00:00", "createdBy":
"779301c0-18b2-4cdc-801b-a0a3368fee0a", "createdByType": "Application", "lastModifiedAt":
"2023-04-08T02:53:07.521127+00:00", "lastModifiedBy": "779301c0-18b2-4cdc-801b-a0a3368fee0a",
"lastModifiedByType": "Application"}}]}'
headers:
cache-control:
- no-cache
content-length:
- '1372'
content-type:
- application/json; charset=utf-8
expires:
- '-1'
pragma:
- no-cache
strict-transport-security:
- max-age=31536000; includeSubDomains
transfer-encoding:
- chunked
vary:
- Accept-Encoding,Accept-Encoding
x-content-type-options:
- nosniff
x-request-time:
- '0.108'
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- promptflow-sdk/0.0.1 azure-ai-ml/1.12.1 azsdk-python-mgmt-machinelearningservices/0.1.0
Python/3.10.13 (Windows-10-10.0.22631-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/datastores/workspaceblobstore
response:
body:
string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/datastores/workspaceblobstore",
"name": "workspaceblobstore", "type": "Microsoft.MachineLearningServices/workspaces/datastores",
"properties": {"description": null, "tags": null, "properties": null, "isDefault":
true, "credentials": {"credentialsType": "AccountKey"}, "intellectualProperty":
null, "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroup":
"00000", "datastoreType": "AzureBlob", "accountName": "fake_account_name",
"containerName": "fake-container-name", "endpoint": "core.windows.net", "protocol":
"https", "serviceDataAccessAuthIdentity": "WorkspaceSystemAssignedIdentity"},
"systemData": {"createdAt": "2023-04-08T02:53:06.5886442+00:00", "createdBy":
"779301c0-18b2-4cdc-801b-a0a3368fee0a", "createdByType": "Application", "lastModifiedAt":
"2023-04-08T02:53:07.521127+00:00", "lastModifiedBy": "779301c0-18b2-4cdc-801b-a0a3368fee0a",
"lastModifiedByType": "Application"}}'
headers:
cache-control:
- no-cache
content-length:
- '1227'
content-type:
- application/json; charset=utf-8
expires:
- '-1'
pragma:
- no-cache
strict-transport-security:
- max-age=31536000; includeSubDomains
transfer-encoding:
- chunked
vary:
- Accept-Encoding,Accept-Encoding
x-content-type-options:
- nosniff
x-request-time:
- '0.071'
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:
- '0'
User-Agent:
- promptflow-sdk/0.0.1 azure-ai-ml/1.12.1 azsdk-python-mgmt-machinelearningservices/0.1.0
Python/3.10.13 (Windows-10-10.0.22631-SP0)
method: POST
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/datastores/workspaceblobstore/listSecrets
response:
body:
string: '{"secretsType": "AccountKey", "key": "dGhpcyBpcyBmYWtlIGtleQ=="}'
headers:
cache-control:
- no-cache
content-length:
- '134'
content-type:
- application/json; charset=utf-8
expires:
- '-1'
pragma:
- no-cache
strict-transport-security:
- max-age=31536000; includeSubDomains
transfer-encoding:
- chunked
vary:
- Accept-Encoding
x-content-type-options:
- nosniff
x-request-time:
- '0.179'
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/xml
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- azsdk-python-storage-blob/12.19.0 Python/3.10.13 (Windows-10-10.0.22631-SP0)
x-ms-date:
- Fri, 12 Jan 2024 08:10:24 GMT
x-ms-version:
- '2023-11-03'
method: HEAD
uri: https://fake_account_name.blob.core.windows.net/fake-container-name/LocalUpload/000000000000000000000000000000000000/webClassification3.jsonl
response:
body:
string: ''
headers:
accept-ranges:
- bytes
content-length:
- '379'
content-md5:
- lI/pz9jzTQ7Td3RHPL7y7w==
content-type:
- application/octet-stream
last-modified:
- Mon, 06 Nov 2023 08:30:18 GMT
server:
- Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
vary:
- Origin
x-ms-blob-type:
- BlockBlob
x-ms-creation-time:
- Mon, 06 Nov 2023 08:30:18 GMT
x-ms-meta-name:
- 94331215-cf7f-452a-9f1a-1d276bc9b0e4
x-ms-meta-upload_status:
- completed
x-ms-meta-version:
- 3f163752-edb0-4afc-a6f5-b0a670bd7c24
x-ms-version:
- '2023-11-03'
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/xml
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- azsdk-python-storage-blob/12.19.0 Python/3.10.13 (Windows-10-10.0.22631-SP0)
x-ms-date:
- Fri, 12 Jan 2024 08:10:26 GMT
x-ms-version:
- '2023-11-03'
method: HEAD
uri: https://fake_account_name.blob.core.windows.net/fake-container-name/az-ml-artifacts/000000000000000000000000000000000000/webClassification3.jsonl
response:
body:
string: ''
headers:
server:
- Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
transfer-encoding:
- chunked
vary:
- Origin
x-ms-error-code:
- BlobNotFound
x-ms-version:
- '2023-11-03'
status:
code: 404
message: The specified blob does not exist.
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- promptflow-sdk/0.0.1 azure-ai-ml/1.12.1 azsdk-python-mgmt-machinelearningservices/0.1.0
Python/3.10.13 (Windows-10-10.0.22631-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/datastores/workspaceblobstore
response:
body:
string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/datastores/workspaceblobstore",
"name": "workspaceblobstore", "type": "Microsoft.MachineLearningServices/workspaces/datastores",
"properties": {"description": null, "tags": null, "properties": null, "isDefault":
true, "credentials": {"credentialsType": "AccountKey"}, "intellectualProperty":
null, "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroup":
"00000", "datastoreType": "AzureBlob", "accountName": "fake_account_name",
"containerName": "fake-container-name", "endpoint": "core.windows.net", "protocol":
"https", "serviceDataAccessAuthIdentity": "WorkspaceSystemAssignedIdentity"},
"systemData": {"createdAt": "2023-04-08T02:53:06.5886442+00:00", "createdBy":
"779301c0-18b2-4cdc-801b-a0a3368fee0a", "createdByType": "Application", "lastModifiedAt":
"2023-04-08T02:53:07.521127+00:00", "lastModifiedBy": "779301c0-18b2-4cdc-801b-a0a3368fee0a",
"lastModifiedByType": "Application"}}'
headers:
cache-control:
- no-cache
content-length:
- '1227'
content-type:
- application/json; charset=utf-8
expires:
- '-1'
pragma:
- no-cache
strict-transport-security:
- max-age=31536000; includeSubDomains
transfer-encoding:
- chunked
vary:
- Accept-Encoding,Accept-Encoding
x-content-type-options:
- nosniff
x-request-time:
- '0.067'
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:
- '0'
User-Agent:
- promptflow-sdk/0.0.1 azure-ai-ml/1.12.1 azsdk-python-mgmt-machinelearningservices/0.1.0
Python/3.10.13 (Windows-10-10.0.22631-SP0)
method: POST
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/datastores/workspaceblobstore/listSecrets
response:
body:
string: '{"secretsType": "AccountKey", "key": "dGhpcyBpcyBmYWtlIGtleQ=="}'
headers:
cache-control:
- no-cache
content-length:
- '134'
content-type:
- application/json; charset=utf-8
expires:
- '-1'
pragma:
- no-cache
strict-transport-security:
- max-age=31536000; includeSubDomains
transfer-encoding:
- chunked
vary:
- Accept-Encoding
x-content-type-options:
- nosniff
x-request-time:
- '0.099'
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/xml
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- azsdk-python-storage-blob/12.19.0 Python/3.10.13 (Windows-10-10.0.22631-SP0)
x-ms-date:
- Fri, 12 Jan 2024 08:10:29 GMT
x-ms-version:
- '2023-11-03'
method: HEAD
uri: https://fake_account_name.blob.core.windows.net/fake-container-name/LocalUpload/000000000000000000000000000000000000/hello-world/flow.dag.yaml
response:
body:
string: ''
headers:
accept-ranges:
- bytes
content-length:
- '266'
content-md5:
- UZm3TyOoKWjSR23+Up6qUA==
content-type:
- application/octet-stream
last-modified:
- Tue, 19 Dec 2023 06:05:25 GMT
server:
- Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
vary:
- Origin
x-ms-blob-type:
- BlockBlob
x-ms-creation-time:
- Tue, 19 Dec 2023 06:05:25 GMT
x-ms-meta-name:
- 7b68bf5e-6ef4-4eb3-9f49-28f9a5baad87
x-ms-meta-upload_status:
- completed
x-ms-meta-version:
- '1'
x-ms-version:
- '2023-11-03'
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/xml
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- azsdk-python-storage-blob/12.19.0 Python/3.10.13 (Windows-10-10.0.22631-SP0)
x-ms-date:
- Fri, 12 Jan 2024 08:10:30 GMT
x-ms-version:
- '2023-11-03'
method: HEAD
uri: https://fake_account_name.blob.core.windows.net/fake-container-name/az-ml-artifacts/000000000000000000000000000000000000/hello-world/flow.dag.yaml
response:
body:
string: ''
headers:
server:
- Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
transfer-encoding:
- chunked
vary:
- Origin
x-ms-error-code:
- BlobNotFound
x-ms-version:
- '2023-11-03'
status:
code: 404
message: The specified blob does not exist.
- request:
body: '{"flowDefinitionDataStoreName": "workspaceblobstore", "flowDefinitionBlobPath":
"LocalUpload/000000000000000000000000000000000000/hello-world/flow.dag.yaml",
"runId": "batch_run_name", "runDisplayName": "sdk-cli-test-fixture-batch-run-without-llm",
"runExperimentName": "", "batchDataInput": {"dataUri": "azureml://datastores/workspaceblobstore/paths/LocalUpload/000000000000000000000000000000000000/webClassification3.jsonl"},
"inputsMapping": {"name": "${data.url}"}, "connections": {}, "environmentVariables":
{}, "runtimeName": "fake-runtime-name", "sessionId": "000000000000000000000000000000000000000000000000",
"sessionSetupMode": "SystemWait", "flowLineageId": "0000000000000000000000000000000000000000000000000000000000000000",
"runDisplayNameGenerationType": "UserProvidedMacro"}'
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:
- '812'
Content-Type:
- application/json
User-Agent:
- promptflow-sdk/0.0.1 azsdk-python-azuremachinelearningdesignerserviceclient/unknown
Python/3.10.13 (Windows-10-10.0.22631-SP0)
method: POST
uri: https://eastus.api.azureml.ms/flow/api/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/BulkRuns/submit
response:
body:
string: '"batch_run_name"'
headers:
connection:
- keep-alive
content-length:
- '38'
content-type:
- application/json; charset=utf-8
strict-transport-security:
- max-age=15724800; includeSubDomains; preload
x-content-type-options:
- nosniff
x-request-time:
- '6.897'
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- promptflow-sdk/0.0.1 azsdk-python-azuremachinelearningdesignerserviceclient/unknown
Python/3.10.13 (Windows-10-10.0.22631-SP0)
method: GET
uri: https://eastus.api.azureml.ms/flow/api/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/BulkRuns/batch_run_name
response:
body:
string: '{"flowGraph": {"nodes": [{"name": "hello_world", "type": "python",
"source": {"type": "code", "path": "hello_world.py"}, "inputs": {"name": "${inputs.name}"},
"tool": "hello_world.py", "reduce": false}], "tools": [{"name": "Content Safety
(Text Analyze)", "type": "python", "inputs": {"connection": {"type": ["AzureContentSafetyConnection"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"hate_category": {"type": ["string"], "default": "medium_sensitivity", "enum":
["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"self_harm_category": {"type": ["string"], "default": "medium_sensitivity",
"enum": ["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"sexual_category": {"type": ["string"], "default": "medium_sensitivity", "enum":
["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"text": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "violence_category": {"type": ["string"],
"default": "medium_sensitivity", "enum": ["disable", "low_sensitivity", "medium_sensitivity",
"high_sensitivity"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}}, "description": "Use Azure Content Safety to detect
harmful content.", "module": "promptflow.tools.azure_content_safety", "function":
"analyze_text", "is_builtin": true, "package": "promptflow-tools", "package_version":
"0.0.216", "enable_kwargs": false, "deprecated_tools": ["content_safety_text.tools.content_safety_text_tool.analyze_text"],
"tool_state": "stable"}, {"name": "Embedding", "type": "python", "inputs":
{"connection": {"type": ["AzureOpenAIConnection", "OpenAIConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "deployment_name":
{"type": ["string"], "enabled_by": "connection", "enabled_by_type": ["AzureOpenAIConnection"],
"model_list": ["text-embedding-ada-002", "text-search-ada-doc-001", "text-search-ada-query-001"],
"capabilities": {"completion": false, "chat_completion": false, "embeddings":
true}, "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default"}, "input": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "model": {"type": ["string"], "enum": ["text-embedding-ada-002",
"text-search-ada-doc-001", "text-search-ada-query-001"], "enabled_by": "connection",
"enabled_by_type": ["OpenAIConnection"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Use Open AI''s embedding
model to create an embedding vector representing the input text.", "module":
"promptflow.tools.embedding", "function": "embedding", "is_builtin": true,
"package": "promptflow-tools", "package_version": "0.0.216", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "Open Source LLM", "type": "custom_llm",
"inputs": {"api": {"type": ["string"], "enum": ["chat", "completion"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "connection": {"type":
["CustomConnection"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "deployment_name": {"type": ["string"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "endpoint_name":
{"type": ["string"], "default": "-- please enter an endpoint name --", "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "max_new_tokens":
{"type": ["int"], "default": 500, "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "model_kwargs": {"type": ["object"], "default":
"{}", "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default", "advanced": true}, "temperature": {"type": ["double"], "default":
1.0, "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default"}, "top_p": {"type": ["double"], "default": 1.0, "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default", "advanced": true}},
"description": "Use an Open Source model from the Azure Model catalog, deployed
to an AzureML Online Endpoint for LLM Chat or Completion API calls.", "module":
"promptflow.tools.open_source_llm", "class_name": "OpenSourceLLM", "function":
"call", "icon": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACgElEQVR4nGWSz2vcVRTFP/e9NzOZ1KDGohASslLEH6VLV0ak4l/QpeDCrfQPcNGliODKnVm4EBdBsIjQIlhciKW0ycKFVCSNbYnjdDLtmPnmO/nO9917XcxMkjYX3uLx7nnn3HOuMK2Nix4fP78ZdrYXVkLVWjf3l3B1B+HpcjzGFtmqa6cePz7/x0dnn1n5qhj3iBJPYREIURAJuCtpY8PjReDbrf9WG7H1fuefwQU9qKztTcMJT+PNnEFvjGVDBDlSsH6p/9MLzy6+NxwVqI8RAg4IPmWedMckdLYP6O6UpIaQfvyyXG012+e79/ZfHukoS1ISMT2hGTB1RkUmNgQ5QZ0w+a2VWDq73MbdEWmfnnv6UWe7oNzPaLapl5CwuLTXK9WUGBuCjqekzhP+z52ZXOrKMD3OJg0Hh778aiOuvpnYvp05d6GJO4iAO4QAe/eV36/X5LFRV4Zmn+AdkqlL8Vjp3oVioOz+WTPzzYEgsN+fgPLYyJVheSbPPVl2ikeGZRjtG52/8rHuaV9VOlpP2OtKyVndcRVCSqOhsvxa4vW359i6OuKdD+aP8Q4SYPdOzS/flGjt1JUSaMqZ5nwa1Y8qWb/Ud/eZZkHisYezEM0m+fcelDr8F1SqW2LNK6r1jXQwyLzy1hxvrLXZulry7ocL+FS6G4QIu3fG/Px1gdYeW7LIgXU2P/115TOA5G7e3Rmj2aS/m7l5pThiZzrCcE/d1XHzbln373nw7y6veeoUm5KCNKT/IPPwbiY1hYd/l5MIT65BMFt87sU4v9D7/JMflr44uV6hGh1+L4RCkg6z5iK2tAhNLeLsNGwYA4fDYnC/drvuuFxe86NV/x+Ut27g0FvykgAAAABJRU5ErkJggg==",
"is_builtin": true, "package": "promptflow-tools", "package_version": "0.0.216",
"enable_kwargs": false, "tool_state": "stable"}, {"name": "OpenAI GPT-4V",
"type": "custom_llm", "inputs": {"connection": {"type": ["OpenAIConnection"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"frequency_penalty": {"type": ["double"], "default": 0, "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "max_tokens": {"type":
["int"], "default": "", "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "model": {"type": ["string"], "enum": ["gpt-4-vision-preview"],
"allow_manual_entry": true, "is_multi_select": false, "input_type": "default"},
"presence_penalty": {"type": ["double"], "default": 0, "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "stop": {"type":
["list"], "default": "", "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "temperature": {"type": ["double"], "default": 1,
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"top_p": {"type": ["double"], "default": 1, "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Use OpenAI GPT-4V to leverage
vision ability.", "module": "promptflow.tools.openai_gpt4v", "class_name":
"OpenAI", "function": "chat", "is_builtin": true, "package": "promptflow-tools",
"package_version": "0.0.216", "default_prompt": "# system:\nAs an AI assistant,
your task involves interpreting images and responding to questions about the
image.\nRemember to provide accurate answers based on the information present
in the image.\n\n# user:\nCan you tell me what the image depicts?\n\n",
"enable_kwargs": false, "tool_state": "stable"}, {"name": "Serp API", "type":
"python", "inputs": {"connection": {"type": ["SerpConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "engine": {"type":
["string"], "default": "google", "enum": ["google", "bing"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "location": {"type":
["string"], "default": "", "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "num": {"type": ["int"], "default": "10",
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"query": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "safe": {"type": ["string"], "default": "off",
"enum": ["active", "off"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Use Serp API to obtain search
results from a specific search engine.", "module": "promptflow.tools.serpapi",
"class_name": "SerpAPI", "function": "search", "is_builtin": true, "package":
"promptflow-tools", "package_version": "0.0.216", "enable_kwargs": false,
"tool_state": "stable"}, {"name": "Faiss Index Lookup", "type": "python",
"inputs": {"path": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "top_k": {"type": ["int"], "default": "3",
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"vector": {"type": ["list"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Search vector based query
from the FAISS index file.", "module": "promptflow_vectordb.tool.faiss_index_lookup",
"class_name": "FaissIndexLookup", "function": "search", "is_builtin": true,
"package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "Vector DB Lookup", "type": "python",
"inputs": {"class_name": {"type": ["string"], "enabled_by": "connection",
"enabled_by_type": ["WeaviateConnection"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "collection_name": {"type": ["string"], "enabled_by":
"connection", "enabled_by_type": ["QdrantConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "connection": {"type":
["CognitiveSearchConnection", "QdrantConnection", "WeaviateConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "index_name": {"type":
["string"], "enabled_by": "connection", "enabled_by_type": ["CognitiveSearchConnection"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"search_filters": {"type": ["object"], "enabled_by": "connection", "enabled_by_type":
["CognitiveSearchConnection", "QdrantConnection"], "allow_manual_entry": false,
"is_multi_select": false, "input_type": "default"}, "search_params": {"type":
["object"], "enabled_by": "connection", "enabled_by_type": ["CognitiveSearchConnection",
"QdrantConnection"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "text_field": {"type": ["string"], "enabled_by":
"connection", "enabled_by_type": ["CognitiveSearchConnection", "QdrantConnection",
"WeaviateConnection"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "top_k": {"type": ["int"], "default": "3", "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "vector": {"type":
["list"], "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default"}, "vector_field": {"type": ["string"], "enabled_by": "connection",
"enabled_by_type": ["CognitiveSearchConnection"], "allow_manual_entry": false,
"is_multi_select": false, "input_type": "default"}}, "description": "Search
vector based query from existing Vector Database.", "module": "promptflow_vectordb.tool.vector_db_lookup",
"class_name": "VectorDBLookup", "function": "search", "is_builtin": true,
"package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "Vector Index Lookup", "type": "python",
"inputs": {"path": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "query": {"type": ["object"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "top_k": {"type":
["int"], "default": "3", "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}}, "description": "Search text or vector based query
from AzureML Vector Index.", "module": "promptflow_vectordb.tool.vector_index_lookup",
"class_name": "VectorIndexLookup", "function": "search", "is_builtin": true,
"package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "hello_world.py", "type": "python",
"inputs": {"name": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "source": "hello_world.py", "function":
"hello_world", "is_builtin": false, "enable_kwargs": false, "tool_state":
"stable"}], "inputs": {"name": {"type": "string", "default": "hod", "is_chat_input":
false}}, "outputs": {"result": {"type": "string", "reference": "${hello_world.output}",
"evaluation_only": false, "is_chat_output": false}}}, "flowRunResourceId":
"azureml://locations/eastus/workspaces/00000/flows/batch_run_name/flowRuns/batch_run_name",
"flowRunId": "batch_run_name", "flowRunDisplayName": "sdk-cli-test-fixture-batch-run-without-llm",
"batchDataInput": {"dataUri": "azureml://datastores/workspaceblobstore/paths/LocalUpload/74c11bba717480b2d6b04b8e746d09d7/webClassification3.jsonl"},
"flowRunType": "FlowRun", "flowType": "Default", "runtimeName": "test-runtime-ci",
"inputsMapping": {"name": "${data.url}"}, "outputDatastoreName": "workspaceblobstore",
"childRunBasePath": "promptflow/PromptFlowArtifacts/batch_run_name/flow_artifacts",
"flowDagFileRelativePath": "flow.dag.yaml", "flowSnapshotId": "4debf50d-5af4-4fd7-9e55-e2796fcf44bb",
"studioPortalEndpoint": "https://ml.azure.com/runs/batch_run_name?wsid=/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000"}'
headers:
connection:
- keep-alive
content-length:
- '12912'
content-type:
- application/json; charset=utf-8
strict-transport-security:
- max-age=15724800; includeSubDomains; preload
transfer-encoding:
- chunked
vary:
- Accept-Encoding
x-content-type-options:
- nosniff
x-request-time:
- '0.237'
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- promptflow-sdk/0.0.1 azsdk-python-azuremachinelearningdesignerserviceclient/unknown
Python/3.10.13 (Windows-10-10.0.22631-SP0)
method: GET
uri: https://eastus.api.azureml.ms/flow/api/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/BulkRuns/batch_run_name
response:
body:
string: '{"flowGraph": {"nodes": [{"name": "hello_world", "type": "python",
"source": {"type": "code", "path": "hello_world.py"}, "inputs": {"name": "${inputs.name}"},
"tool": "hello_world.py", "reduce": false}], "tools": [{"name": "Content Safety
(Text Analyze)", "type": "python", "inputs": {"connection": {"type": ["AzureContentSafetyConnection"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"hate_category": {"type": ["string"], "default": "medium_sensitivity", "enum":
["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"self_harm_category": {"type": ["string"], "default": "medium_sensitivity",
"enum": ["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"sexual_category": {"type": ["string"], "default": "medium_sensitivity", "enum":
["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"text": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "violence_category": {"type": ["string"],
"default": "medium_sensitivity", "enum": ["disable", "low_sensitivity", "medium_sensitivity",
"high_sensitivity"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}}, "description": "Use Azure Content Safety to detect
harmful content.", "module": "promptflow.tools.azure_content_safety", "function":
"analyze_text", "is_builtin": true, "package": "promptflow-tools", "package_version":
"0.0.216", "enable_kwargs": false, "deprecated_tools": ["content_safety_text.tools.content_safety_text_tool.analyze_text"],
"tool_state": "stable"}, {"name": "Embedding", "type": "python", "inputs":
{"connection": {"type": ["AzureOpenAIConnection", "OpenAIConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "deployment_name":
{"type": ["string"], "enabled_by": "connection", "enabled_by_type": ["AzureOpenAIConnection"],
"model_list": ["text-embedding-ada-002", "text-search-ada-doc-001", "text-search-ada-query-001"],
"capabilities": {"completion": false, "chat_completion": false, "embeddings":
true}, "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default"}, "input": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "model": {"type": ["string"], "enum": ["text-embedding-ada-002",
"text-search-ada-doc-001", "text-search-ada-query-001"], "enabled_by": "connection",
"enabled_by_type": ["OpenAIConnection"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Use Open AI''s embedding
model to create an embedding vector representing the input text.", "module":
"promptflow.tools.embedding", "function": "embedding", "is_builtin": true,
"package": "promptflow-tools", "package_version": "0.0.216", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "Open Source LLM", "type": "custom_llm",
"inputs": {"api": {"type": ["string"], "enum": ["chat", "completion"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "connection": {"type":
["CustomConnection"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "deployment_name": {"type": ["string"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "endpoint_name":
{"type": ["string"], "default": "-- please enter an endpoint name --", "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "max_new_tokens":
{"type": ["int"], "default": 500, "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "model_kwargs": {"type": ["object"], "default":
"{}", "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default", "advanced": true}, "temperature": {"type": ["double"], "default":
1.0, "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default"}, "top_p": {"type": ["double"], "default": 1.0, "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default", "advanced": true}},
"description": "Use an Open Source model from the Azure Model catalog, deployed
to an AzureML Online Endpoint for LLM Chat or Completion API calls.", "module":
"promptflow.tools.open_source_llm", "class_name": "OpenSourceLLM", "function":
"call", "icon": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACgElEQVR4nGWSz2vcVRTFP/e9NzOZ1KDGohASslLEH6VLV0ak4l/QpeDCrfQPcNGliODKnVm4EBdBsIjQIlhciKW0ycKFVCSNbYnjdDLtmPnmO/nO9917XcxMkjYX3uLx7nnn3HOuMK2Nix4fP78ZdrYXVkLVWjf3l3B1B+HpcjzGFtmqa6cePz7/x0dnn1n5qhj3iBJPYREIURAJuCtpY8PjReDbrf9WG7H1fuefwQU9qKztTcMJT+PNnEFvjGVDBDlSsH6p/9MLzy6+NxwVqI8RAg4IPmWedMckdLYP6O6UpIaQfvyyXG012+e79/ZfHukoS1ISMT2hGTB1RkUmNgQ5QZ0w+a2VWDq73MbdEWmfnnv6UWe7oNzPaLapl5CwuLTXK9WUGBuCjqekzhP+z52ZXOrKMD3OJg0Hh778aiOuvpnYvp05d6GJO4iAO4QAe/eV36/X5LFRV4Zmn+AdkqlL8Vjp3oVioOz+WTPzzYEgsN+fgPLYyJVheSbPPVl2ikeGZRjtG52/8rHuaV9VOlpP2OtKyVndcRVCSqOhsvxa4vW359i6OuKdD+aP8Q4SYPdOzS/flGjt1JUSaMqZ5nwa1Y8qWb/Ud/eZZkHisYezEM0m+fcelDr8F1SqW2LNK6r1jXQwyLzy1hxvrLXZulry7ocL+FS6G4QIu3fG/Px1gdYeW7LIgXU2P/115TOA5G7e3Rmj2aS/m7l5pThiZzrCcE/d1XHzbln373nw7y6veeoUm5KCNKT/IPPwbiY1hYd/l5MIT65BMFt87sU4v9D7/JMflr44uV6hGh1+L4RCkg6z5iK2tAhNLeLsNGwYA4fDYnC/drvuuFxe86NV/x+Ut27g0FvykgAAAABJRU5ErkJggg==",
"is_builtin": true, "package": "promptflow-tools", "package_version": "0.0.216",
"enable_kwargs": false, "tool_state": "stable"}, {"name": "OpenAI GPT-4V",
"type": "custom_llm", "inputs": {"connection": {"type": ["OpenAIConnection"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"frequency_penalty": {"type": ["double"], "default": 0, "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "max_tokens": {"type":
["int"], "default": "", "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "model": {"type": ["string"], "enum": ["gpt-4-vision-preview"],
"allow_manual_entry": true, "is_multi_select": false, "input_type": "default"},
"presence_penalty": {"type": ["double"], "default": 0, "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "stop": {"type":
["list"], "default": "", "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "temperature": {"type": ["double"], "default": 1,
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"top_p": {"type": ["double"], "default": 1, "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Use OpenAI GPT-4V to leverage
vision ability.", "module": "promptflow.tools.openai_gpt4v", "class_name":
"OpenAI", "function": "chat", "is_builtin": true, "package": "promptflow-tools",
"package_version": "0.0.216", "default_prompt": "# system:\nAs an AI assistant,
your task involves interpreting images and responding to questions about the
image.\nRemember to provide accurate answers based on the information present
in the image.\n\n# user:\nCan you tell me what the image depicts?\n\n",
"enable_kwargs": false, "tool_state": "stable"}, {"name": "Serp API", "type":
"python", "inputs": {"connection": {"type": ["SerpConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "engine": {"type":
["string"], "default": "google", "enum": ["google", "bing"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "location": {"type":
["string"], "default": "", "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "num": {"type": ["int"], "default": "10",
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"query": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "safe": {"type": ["string"], "default": "off",
"enum": ["active", "off"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Use Serp API to obtain search
results from a specific search engine.", "module": "promptflow.tools.serpapi",
"class_name": "SerpAPI", "function": "search", "is_builtin": true, "package":
"promptflow-tools", "package_version": "0.0.216", "enable_kwargs": false,
"tool_state": "stable"}, {"name": "Faiss Index Lookup", "type": "python",
"inputs": {"path": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "top_k": {"type": ["int"], "default": "3",
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"vector": {"type": ["list"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Search vector based query
from the FAISS index file.", "module": "promptflow_vectordb.tool.faiss_index_lookup",
"class_name": "FaissIndexLookup", "function": "search", "is_builtin": true,
"package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "Vector DB Lookup", "type": "python",
"inputs": {"class_name": {"type": ["string"], "enabled_by": "connection",
"enabled_by_type": ["WeaviateConnection"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "collection_name": {"type": ["string"], "enabled_by":
"connection", "enabled_by_type": ["QdrantConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "connection": {"type":
["CognitiveSearchConnection", "QdrantConnection", "WeaviateConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "index_name": {"type":
["string"], "enabled_by": "connection", "enabled_by_type": ["CognitiveSearchConnection"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"search_filters": {"type": ["object"], "enabled_by": "connection", "enabled_by_type":
["CognitiveSearchConnection", "QdrantConnection"], "allow_manual_entry": false,
"is_multi_select": false, "input_type": "default"}, "search_params": {"type":
["object"], "enabled_by": "connection", "enabled_by_type": ["CognitiveSearchConnection",
"QdrantConnection"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "text_field": {"type": ["string"], "enabled_by":
"connection", "enabled_by_type": ["CognitiveSearchConnection", "QdrantConnection",
"WeaviateConnection"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "top_k": {"type": ["int"], "default": "3", "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "vector": {"type":
["list"], "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default"}, "vector_field": {"type": ["string"], "enabled_by": "connection",
"enabled_by_type": ["CognitiveSearchConnection"], "allow_manual_entry": false,
"is_multi_select": false, "input_type": "default"}}, "description": "Search
vector based query from existing Vector Database.", "module": "promptflow_vectordb.tool.vector_db_lookup",
"class_name": "VectorDBLookup", "function": "search", "is_builtin": true,
"package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "Vector Index Lookup", "type": "python",
"inputs": {"path": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "query": {"type": ["object"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "top_k": {"type":
["int"], "default": "3", "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}}, "description": "Search text or vector based query
from AzureML Vector Index.", "module": "promptflow_vectordb.tool.vector_index_lookup",
"class_name": "VectorIndexLookup", "function": "search", "is_builtin": true,
"package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "hello_world.py", "type": "python",
"inputs": {"name": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "source": "hello_world.py", "function":
"hello_world", "is_builtin": false, "enable_kwargs": false, "tool_state":
"stable"}], "inputs": {"name": {"type": "string", "default": "hod", "is_chat_input":
false}}, "outputs": {"result": {"type": "string", "reference": "${hello_world.output}",
"evaluation_only": false, "is_chat_output": false}}}, "flowRunResourceId":
"azureml://locations/eastus/workspaces/00000/flows/batch_run_name/flowRuns/batch_run_name",
"flowRunId": "batch_run_name", "flowRunDisplayName": "sdk-cli-test-fixture-batch-run-without-llm",
"batchDataInput": {"dataUri": "azureml://datastores/workspaceblobstore/paths/LocalUpload/74c11bba717480b2d6b04b8e746d09d7/webClassification3.jsonl"},
"flowRunType": "FlowRun", "flowType": "Default", "runtimeName": "test-runtime-ci",
"inputsMapping": {"name": "${data.url}"}, "outputDatastoreName": "workspaceblobstore",
"childRunBasePath": "promptflow/PromptFlowArtifacts/batch_run_name/flow_artifacts",
"flowDagFileRelativePath": "flow.dag.yaml", "flowSnapshotId": "4debf50d-5af4-4fd7-9e55-e2796fcf44bb",
"studioPortalEndpoint": "https://ml.azure.com/runs/batch_run_name?wsid=/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000"}'
headers:
connection:
- keep-alive
content-length:
- '12912'
content-type:
- application/json; charset=utf-8
strict-transport-security:
- max-age=15724800; includeSubDomains; preload
transfer-encoding:
- chunked
vary:
- Accept-Encoding
x-content-type-options:
- nosniff
x-request-time:
- '0.354'
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- promptflow-sdk/0.0.1 azsdk-python-azuremachinelearningdesignerserviceclient/unknown
Python/3.10.13 (Windows-10-10.0.22631-SP0)
method: GET
uri: https://eastus.api.azureml.ms/flow/api/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/BulkRuns/batch_run_name
response:
body:
string: '{"flowGraph": {"nodes": [{"name": "hello_world", "type": "python",
"source": {"type": "code", "path": "hello_world.py"}, "inputs": {"name": "${inputs.name}"},
"tool": "hello_world.py", "reduce": false}], "tools": [{"name": "Content Safety
(Text Analyze)", "type": "python", "inputs": {"connection": {"type": ["AzureContentSafetyConnection"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"hate_category": {"type": ["string"], "default": "medium_sensitivity", "enum":
["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"self_harm_category": {"type": ["string"], "default": "medium_sensitivity",
"enum": ["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"sexual_category": {"type": ["string"], "default": "medium_sensitivity", "enum":
["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"text": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "violence_category": {"type": ["string"],
"default": "medium_sensitivity", "enum": ["disable", "low_sensitivity", "medium_sensitivity",
"high_sensitivity"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}}, "description": "Use Azure Content Safety to detect
harmful content.", "module": "promptflow.tools.azure_content_safety", "function":
"analyze_text", "is_builtin": true, "package": "promptflow-tools", "package_version":
"0.0.216", "enable_kwargs": false, "deprecated_tools": ["content_safety_text.tools.content_safety_text_tool.analyze_text"],
"tool_state": "stable"}, {"name": "Embedding", "type": "python", "inputs":
{"connection": {"type": ["AzureOpenAIConnection", "OpenAIConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "deployment_name":
{"type": ["string"], "enabled_by": "connection", "enabled_by_type": ["AzureOpenAIConnection"],
"model_list": ["text-embedding-ada-002", "text-search-ada-doc-001", "text-search-ada-query-001"],
"capabilities": {"completion": false, "chat_completion": false, "embeddings":
true}, "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default"}, "input": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "model": {"type": ["string"], "enum": ["text-embedding-ada-002",
"text-search-ada-doc-001", "text-search-ada-query-001"], "enabled_by": "connection",
"enabled_by_type": ["OpenAIConnection"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Use Open AI''s embedding
model to create an embedding vector representing the input text.", "module":
"promptflow.tools.embedding", "function": "embedding", "is_builtin": true,
"package": "promptflow-tools", "package_version": "0.0.216", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "Open Source LLM", "type": "custom_llm",
"inputs": {"api": {"type": ["string"], "enum": ["chat", "completion"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "connection": {"type":
["CustomConnection"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "deployment_name": {"type": ["string"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "endpoint_name":
{"type": ["string"], "default": "-- please enter an endpoint name --", "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "max_new_tokens":
{"type": ["int"], "default": 500, "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "model_kwargs": {"type": ["object"], "default":
"{}", "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default", "advanced": true}, "temperature": {"type": ["double"], "default":
1.0, "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default"}, "top_p": {"type": ["double"], "default": 1.0, "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default", "advanced": true}},
"description": "Use an Open Source model from the Azure Model catalog, deployed
to an AzureML Online Endpoint for LLM Chat or Completion API calls.", "module":
"promptflow.tools.open_source_llm", "class_name": "OpenSourceLLM", "function":
"call", "icon": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACgElEQVR4nGWSz2vcVRTFP/e9NzOZ1KDGohASslLEH6VLV0ak4l/QpeDCrfQPcNGliODKnVm4EBdBsIjQIlhciKW0ycKFVCSNbYnjdDLtmPnmO/nO9917XcxMkjYX3uLx7nnn3HOuMK2Nix4fP78ZdrYXVkLVWjf3l3B1B+HpcjzGFtmqa6cePz7/x0dnn1n5qhj3iBJPYREIURAJuCtpY8PjReDbrf9WG7H1fuefwQU9qKztTcMJT+PNnEFvjGVDBDlSsH6p/9MLzy6+NxwVqI8RAg4IPmWedMckdLYP6O6UpIaQfvyyXG012+e79/ZfHukoS1ISMT2hGTB1RkUmNgQ5QZ0w+a2VWDq73MbdEWmfnnv6UWe7oNzPaLapl5CwuLTXK9WUGBuCjqekzhP+z52ZXOrKMD3OJg0Hh778aiOuvpnYvp05d6GJO4iAO4QAe/eV36/X5LFRV4Zmn+AdkqlL8Vjp3oVioOz+WTPzzYEgsN+fgPLYyJVheSbPPVl2ikeGZRjtG52/8rHuaV9VOlpP2OtKyVndcRVCSqOhsvxa4vW359i6OuKdD+aP8Q4SYPdOzS/flGjt1JUSaMqZ5nwa1Y8qWb/Ud/eZZkHisYezEM0m+fcelDr8F1SqW2LNK6r1jXQwyLzy1hxvrLXZulry7ocL+FS6G4QIu3fG/Px1gdYeW7LIgXU2P/115TOA5G7e3Rmj2aS/m7l5pThiZzrCcE/d1XHzbln373nw7y6veeoUm5KCNKT/IPPwbiY1hYd/l5MIT65BMFt87sU4v9D7/JMflr44uV6hGh1+L4RCkg6z5iK2tAhNLeLsNGwYA4fDYnC/drvuuFxe86NV/x+Ut27g0FvykgAAAABJRU5ErkJggg==",
"is_builtin": true, "package": "promptflow-tools", "package_version": "0.0.216",
"enable_kwargs": false, "tool_state": "stable"}, {"name": "OpenAI GPT-4V",
"type": "custom_llm", "inputs": {"connection": {"type": ["OpenAIConnection"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"frequency_penalty": {"type": ["double"], "default": 0, "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "max_tokens": {"type":
["int"], "default": "", "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "model": {"type": ["string"], "enum": ["gpt-4-vision-preview"],
"allow_manual_entry": true, "is_multi_select": false, "input_type": "default"},
"presence_penalty": {"type": ["double"], "default": 0, "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "stop": {"type":
["list"], "default": "", "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "temperature": {"type": ["double"], "default": 1,
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"top_p": {"type": ["double"], "default": 1, "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Use OpenAI GPT-4V to leverage
vision ability.", "module": "promptflow.tools.openai_gpt4v", "class_name":
"OpenAI", "function": "chat", "is_builtin": true, "package": "promptflow-tools",
"package_version": "0.0.216", "default_prompt": "# system:\nAs an AI assistant,
your task involves interpreting images and responding to questions about the
image.\nRemember to provide accurate answers based on the information present
in the image.\n\n# user:\nCan you tell me what the image depicts?\n\n",
"enable_kwargs": false, "tool_state": "stable"}, {"name": "Serp API", "type":
"python", "inputs": {"connection": {"type": ["SerpConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "engine": {"type":
["string"], "default": "google", "enum": ["google", "bing"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "location": {"type":
["string"], "default": "", "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "num": {"type": ["int"], "default": "10",
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"query": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "safe": {"type": ["string"], "default": "off",
"enum": ["active", "off"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Use Serp API to obtain search
results from a specific search engine.", "module": "promptflow.tools.serpapi",
"class_name": "SerpAPI", "function": "search", "is_builtin": true, "package":
"promptflow-tools", "package_version": "0.0.216", "enable_kwargs": false,
"tool_state": "stable"}, {"name": "Faiss Index Lookup", "type": "python",
"inputs": {"path": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "top_k": {"type": ["int"], "default": "3",
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"vector": {"type": ["list"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Search vector based query
from the FAISS index file.", "module": "promptflow_vectordb.tool.faiss_index_lookup",
"class_name": "FaissIndexLookup", "function": "search", "is_builtin": true,
"package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "Vector DB Lookup", "type": "python",
"inputs": {"class_name": {"type": ["string"], "enabled_by": "connection",
"enabled_by_type": ["WeaviateConnection"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "collection_name": {"type": ["string"], "enabled_by":
"connection", "enabled_by_type": ["QdrantConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "connection": {"type":
["CognitiveSearchConnection", "QdrantConnection", "WeaviateConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "index_name": {"type":
["string"], "enabled_by": "connection", "enabled_by_type": ["CognitiveSearchConnection"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"search_filters": {"type": ["object"], "enabled_by": "connection", "enabled_by_type":
["CognitiveSearchConnection", "QdrantConnection"], "allow_manual_entry": false,
"is_multi_select": false, "input_type": "default"}, "search_params": {"type":
["object"], "enabled_by": "connection", "enabled_by_type": ["CognitiveSearchConnection",
"QdrantConnection"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "text_field": {"type": ["string"], "enabled_by":
"connection", "enabled_by_type": ["CognitiveSearchConnection", "QdrantConnection",
"WeaviateConnection"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "top_k": {"type": ["int"], "default": "3", "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "vector": {"type":
["list"], "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default"}, "vector_field": {"type": ["string"], "enabled_by": "connection",
"enabled_by_type": ["CognitiveSearchConnection"], "allow_manual_entry": false,
"is_multi_select": false, "input_type": "default"}}, "description": "Search
vector based query from existing Vector Database.", "module": "promptflow_vectordb.tool.vector_db_lookup",
"class_name": "VectorDBLookup", "function": "search", "is_builtin": true,
"package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "Vector Index Lookup", "type": "python",
"inputs": {"path": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "query": {"type": ["object"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "top_k": {"type":
["int"], "default": "3", "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}}, "description": "Search text or vector based query
from AzureML Vector Index.", "module": "promptflow_vectordb.tool.vector_index_lookup",
"class_name": "VectorIndexLookup", "function": "search", "is_builtin": true,
"package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "hello_world.py", "type": "python",
"inputs": {"name": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "source": "hello_world.py", "function":
"hello_world", "is_builtin": false, "enable_kwargs": false, "tool_state":
"stable"}], "inputs": {"name": {"type": "string", "default": "hod", "is_chat_input":
false}}, "outputs": {"result": {"type": "string", "reference": "${hello_world.output}",
"evaluation_only": false, "is_chat_output": false}}}, "flowRunResourceId":
"azureml://locations/eastus/workspaces/00000/flows/batch_run_name/flowRuns/batch_run_name",
"flowRunId": "batch_run_name", "flowRunDisplayName": "sdk-cli-test-fixture-batch-run-without-llm",
"batchDataInput": {"dataUri": "azureml://datastores/workspaceblobstore/paths/LocalUpload/74c11bba717480b2d6b04b8e746d09d7/webClassification3.jsonl"},
"flowRunType": "FlowRun", "flowType": "Default", "runtimeName": "test-runtime-ci",
"inputsMapping": {"name": "${data.url}"}, "outputDatastoreName": "workspaceblobstore",
"childRunBasePath": "promptflow/PromptFlowArtifacts/batch_run_name/flow_artifacts",
"flowDagFileRelativePath": "flow.dag.yaml", "flowSnapshotId": "4debf50d-5af4-4fd7-9e55-e2796fcf44bb",
"studioPortalEndpoint": "https://ml.azure.com/runs/batch_run_name?wsid=/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000"}'
headers:
connection:
- keep-alive
content-length:
- '12912'
content-type:
- application/json; charset=utf-8
strict-transport-security:
- max-age=15724800; includeSubDomains; preload
transfer-encoding:
- chunked
vary:
- Accept-Encoding
x-content-type-options:
- nosniff
x-request-time:
- '0.341'
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- promptflow-sdk/0.0.1 azsdk-python-azuremachinelearningdesignerserviceclient/unknown
Python/3.10.13 (Windows-10-10.0.22631-SP0)
method: GET
uri: https://eastus.api.azureml.ms/flow/api/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/BulkRuns/batch_run_name
response:
body:
string: '{"flowGraph": {"nodes": [{"name": "hello_world", "type": "python",
"source": {"type": "code", "path": "hello_world.py"}, "inputs": {"name": "${inputs.name}"},
"tool": "hello_world.py", "reduce": false}], "tools": [{"name": "Content Safety
(Text Analyze)", "type": "python", "inputs": {"connection": {"type": ["AzureContentSafetyConnection"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"hate_category": {"type": ["string"], "default": "medium_sensitivity", "enum":
["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"self_harm_category": {"type": ["string"], "default": "medium_sensitivity",
"enum": ["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"sexual_category": {"type": ["string"], "default": "medium_sensitivity", "enum":
["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"text": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "violence_category": {"type": ["string"],
"default": "medium_sensitivity", "enum": ["disable", "low_sensitivity", "medium_sensitivity",
"high_sensitivity"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}}, "description": "Use Azure Content Safety to detect
harmful content.", "module": "promptflow.tools.azure_content_safety", "function":
"analyze_text", "is_builtin": true, "package": "promptflow-tools", "package_version":
"0.0.216", "enable_kwargs": false, "deprecated_tools": ["content_safety_text.tools.content_safety_text_tool.analyze_text"],
"tool_state": "stable"}, {"name": "Embedding", "type": "python", "inputs":
{"connection": {"type": ["AzureOpenAIConnection", "OpenAIConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "deployment_name":
{"type": ["string"], "enabled_by": "connection", "enabled_by_type": ["AzureOpenAIConnection"],
"model_list": ["text-embedding-ada-002", "text-search-ada-doc-001", "text-search-ada-query-001"],
"capabilities": {"completion": false, "chat_completion": false, "embeddings":
true}, "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default"}, "input": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "model": {"type": ["string"], "enum": ["text-embedding-ada-002",
"text-search-ada-doc-001", "text-search-ada-query-001"], "enabled_by": "connection",
"enabled_by_type": ["OpenAIConnection"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Use Open AI''s embedding
model to create an embedding vector representing the input text.", "module":
"promptflow.tools.embedding", "function": "embedding", "is_builtin": true,
"package": "promptflow-tools", "package_version": "0.0.216", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "Open Source LLM", "type": "custom_llm",
"inputs": {"api": {"type": ["string"], "enum": ["chat", "completion"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "connection": {"type":
["CustomConnection"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "deployment_name": {"type": ["string"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "endpoint_name":
{"type": ["string"], "default": "-- please enter an endpoint name --", "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "max_new_tokens":
{"type": ["int"], "default": 500, "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "model_kwargs": {"type": ["object"], "default":
"{}", "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default", "advanced": true}, "temperature": {"type": ["double"], "default":
1.0, "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default"}, "top_p": {"type": ["double"], "default": 1.0, "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default", "advanced": true}},
"description": "Use an Open Source model from the Azure Model catalog, deployed
to an AzureML Online Endpoint for LLM Chat or Completion API calls.", "module":
"promptflow.tools.open_source_llm", "class_name": "OpenSourceLLM", "function":
"call", "icon": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACgElEQVR4nGWSz2vcVRTFP/e9NzOZ1KDGohASslLEH6VLV0ak4l/QpeDCrfQPcNGliODKnVm4EBdBsIjQIlhciKW0ycKFVCSNbYnjdDLtmPnmO/nO9917XcxMkjYX3uLx7nnn3HOuMK2Nix4fP78ZdrYXVkLVWjf3l3B1B+HpcjzGFtmqa6cePz7/x0dnn1n5qhj3iBJPYREIURAJuCtpY8PjReDbrf9WG7H1fuefwQU9qKztTcMJT+PNnEFvjGVDBDlSsH6p/9MLzy6+NxwVqI8RAg4IPmWedMckdLYP6O6UpIaQfvyyXG012+e79/ZfHukoS1ISMT2hGTB1RkUmNgQ5QZ0w+a2VWDq73MbdEWmfnnv6UWe7oNzPaLapl5CwuLTXK9WUGBuCjqekzhP+z52ZXOrKMD3OJg0Hh778aiOuvpnYvp05d6GJO4iAO4QAe/eV36/X5LFRV4Zmn+AdkqlL8Vjp3oVioOz+WTPzzYEgsN+fgPLYyJVheSbPPVl2ikeGZRjtG52/8rHuaV9VOlpP2OtKyVndcRVCSqOhsvxa4vW359i6OuKdD+aP8Q4SYPdOzS/flGjt1JUSaMqZ5nwa1Y8qWb/Ud/eZZkHisYezEM0m+fcelDr8F1SqW2LNK6r1jXQwyLzy1hxvrLXZulry7ocL+FS6G4QIu3fG/Px1gdYeW7LIgXU2P/115TOA5G7e3Rmj2aS/m7l5pThiZzrCcE/d1XHzbln373nw7y6veeoUm5KCNKT/IPPwbiY1hYd/l5MIT65BMFt87sU4v9D7/JMflr44uV6hGh1+L4RCkg6z5iK2tAhNLeLsNGwYA4fDYnC/drvuuFxe86NV/x+Ut27g0FvykgAAAABJRU5ErkJggg==",
"is_builtin": true, "package": "promptflow-tools", "package_version": "0.0.216",
"enable_kwargs": false, "tool_state": "stable"}, {"name": "OpenAI GPT-4V",
"type": "custom_llm", "inputs": {"connection": {"type": ["OpenAIConnection"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"frequency_penalty": {"type": ["double"], "default": 0, "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "max_tokens": {"type":
["int"], "default": "", "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "model": {"type": ["string"], "enum": ["gpt-4-vision-preview"],
"allow_manual_entry": true, "is_multi_select": false, "input_type": "default"},
"presence_penalty": {"type": ["double"], "default": 0, "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "stop": {"type":
["list"], "default": "", "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "temperature": {"type": ["double"], "default": 1,
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"top_p": {"type": ["double"], "default": 1, "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Use OpenAI GPT-4V to leverage
vision ability.", "module": "promptflow.tools.openai_gpt4v", "class_name":
"OpenAI", "function": "chat", "is_builtin": true, "package": "promptflow-tools",
"package_version": "0.0.216", "default_prompt": "# system:\nAs an AI assistant,
your task involves interpreting images and responding to questions about the
image.\nRemember to provide accurate answers based on the information present
in the image.\n\n# user:\nCan you tell me what the image depicts?\n\n",
"enable_kwargs": false, "tool_state": "stable"}, {"name": "Serp API", "type":
"python", "inputs": {"connection": {"type": ["SerpConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "engine": {"type":
["string"], "default": "google", "enum": ["google", "bing"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "location": {"type":
["string"], "default": "", "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "num": {"type": ["int"], "default": "10",
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"query": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "safe": {"type": ["string"], "default": "off",
"enum": ["active", "off"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Use Serp API to obtain search
results from a specific search engine.", "module": "promptflow.tools.serpapi",
"class_name": "SerpAPI", "function": "search", "is_builtin": true, "package":
"promptflow-tools", "package_version": "0.0.216", "enable_kwargs": false,
"tool_state": "stable"}, {"name": "Faiss Index Lookup", "type": "python",
"inputs": {"path": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "top_k": {"type": ["int"], "default": "3",
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"vector": {"type": ["list"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Search vector based query
from the FAISS index file.", "module": "promptflow_vectordb.tool.faiss_index_lookup",
"class_name": "FaissIndexLookup", "function": "search", "is_builtin": true,
"package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "Vector DB Lookup", "type": "python",
"inputs": {"class_name": {"type": ["string"], "enabled_by": "connection",
"enabled_by_type": ["WeaviateConnection"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "collection_name": {"type": ["string"], "enabled_by":
"connection", "enabled_by_type": ["QdrantConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "connection": {"type":
["CognitiveSearchConnection", "QdrantConnection", "WeaviateConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "index_name": {"type":
["string"], "enabled_by": "connection", "enabled_by_type": ["CognitiveSearchConnection"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"search_filters": {"type": ["object"], "enabled_by": "connection", "enabled_by_type":
["CognitiveSearchConnection", "QdrantConnection"], "allow_manual_entry": false,
"is_multi_select": false, "input_type": "default"}, "search_params": {"type":
["object"], "enabled_by": "connection", "enabled_by_type": ["CognitiveSearchConnection",
"QdrantConnection"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "text_field": {"type": ["string"], "enabled_by":
"connection", "enabled_by_type": ["CognitiveSearchConnection", "QdrantConnection",
"WeaviateConnection"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "top_k": {"type": ["int"], "default": "3", "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "vector": {"type":
["list"], "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default"}, "vector_field": {"type": ["string"], "enabled_by": "connection",
"enabled_by_type": ["CognitiveSearchConnection"], "allow_manual_entry": false,
"is_multi_select": false, "input_type": "default"}}, "description": "Search
vector based query from existing Vector Database.", "module": "promptflow_vectordb.tool.vector_db_lookup",
"class_name": "VectorDBLookup", "function": "search", "is_builtin": true,
"package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "Vector Index Lookup", "type": "python",
"inputs": {"path": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "query": {"type": ["object"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "top_k": {"type":
["int"], "default": "3", "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}}, "description": "Search text or vector based query
from AzureML Vector Index.", "module": "promptflow_vectordb.tool.vector_index_lookup",
"class_name": "VectorIndexLookup", "function": "search", "is_builtin": true,
"package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "hello_world.py", "type": "python",
"inputs": {"name": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "source": "hello_world.py", "function":
"hello_world", "is_builtin": false, "enable_kwargs": false, "tool_state":
"stable"}], "inputs": {"name": {"type": "string", "default": "hod", "is_chat_input":
false}}, "outputs": {"result": {"type": "string", "reference": "${hello_world.output}",
"evaluation_only": false, "is_chat_output": false}}}, "flowRunResourceId":
"azureml://locations/eastus/workspaces/00000/flows/batch_run_name/flowRuns/batch_run_name",
"flowRunId": "batch_run_name", "flowRunDisplayName": "sdk-cli-test-fixture-batch-run-without-llm",
"batchDataInput": {"dataUri": "azureml://datastores/workspaceblobstore/paths/LocalUpload/74c11bba717480b2d6b04b8e746d09d7/webClassification3.jsonl"},
"flowRunType": "FlowRun", "flowType": "Default", "runtimeName": "test-runtime-ci",
"inputsMapping": {"name": "${data.url}"}, "outputDatastoreName": "workspaceblobstore",
"childRunBasePath": "promptflow/PromptFlowArtifacts/batch_run_name/flow_artifacts",
"flowDagFileRelativePath": "flow.dag.yaml", "flowSnapshotId": "4debf50d-5af4-4fd7-9e55-e2796fcf44bb",
"studioPortalEndpoint": "https://ml.azure.com/runs/batch_run_name?wsid=/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000"}'
headers:
connection:
- keep-alive
content-length:
- '12912'
content-type:
- application/json; charset=utf-8
strict-transport-security:
- max-age=15724800; includeSubDomains; preload
transfer-encoding:
- chunked
vary:
- Accept-Encoding
x-content-type-options:
- nosniff
x-request-time:
- '0.210'
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- promptflow-sdk/0.0.1 azsdk-python-azuremachinelearningdesignerserviceclient/unknown
Python/3.10.13 (Windows-10-10.0.22631-SP0)
method: GET
uri: https://eastus.api.azureml.ms/flow/api/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/BulkRuns/batch_run_name
response:
body:
string: '{"flowGraph": {"nodes": [{"name": "hello_world", "type": "python",
"source": {"type": "code", "path": "hello_world.py"}, "inputs": {"name": "${inputs.name}"},
"tool": "hello_world.py", "reduce": false}], "tools": [{"name": "Content Safety
(Text Analyze)", "type": "python", "inputs": {"connection": {"type": ["AzureContentSafetyConnection"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"hate_category": {"type": ["string"], "default": "medium_sensitivity", "enum":
["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"self_harm_category": {"type": ["string"], "default": "medium_sensitivity",
"enum": ["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"sexual_category": {"type": ["string"], "default": "medium_sensitivity", "enum":
["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"text": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "violence_category": {"type": ["string"],
"default": "medium_sensitivity", "enum": ["disable", "low_sensitivity", "medium_sensitivity",
"high_sensitivity"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}}, "description": "Use Azure Content Safety to detect
harmful content.", "module": "promptflow.tools.azure_content_safety", "function":
"analyze_text", "is_builtin": true, "package": "promptflow-tools", "package_version":
"0.0.216", "enable_kwargs": false, "deprecated_tools": ["content_safety_text.tools.content_safety_text_tool.analyze_text"],
"tool_state": "stable"}, {"name": "Embedding", "type": "python", "inputs":
{"connection": {"type": ["AzureOpenAIConnection", "OpenAIConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "deployment_name":
{"type": ["string"], "enabled_by": "connection", "enabled_by_type": ["AzureOpenAIConnection"],
"model_list": ["text-embedding-ada-002", "text-search-ada-doc-001", "text-search-ada-query-001"],
"capabilities": {"completion": false, "chat_completion": false, "embeddings":
true}, "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default"}, "input": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "model": {"type": ["string"], "enum": ["text-embedding-ada-002",
"text-search-ada-doc-001", "text-search-ada-query-001"], "enabled_by": "connection",
"enabled_by_type": ["OpenAIConnection"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Use Open AI''s embedding
model to create an embedding vector representing the input text.", "module":
"promptflow.tools.embedding", "function": "embedding", "is_builtin": true,
"package": "promptflow-tools", "package_version": "0.0.216", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "Open Source LLM", "type": "custom_llm",
"inputs": {"api": {"type": ["string"], "enum": ["chat", "completion"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "connection": {"type":
["CustomConnection"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "deployment_name": {"type": ["string"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "endpoint_name":
{"type": ["string"], "default": "-- please enter an endpoint name --", "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "max_new_tokens":
{"type": ["int"], "default": 500, "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "model_kwargs": {"type": ["object"], "default":
"{}", "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default", "advanced": true}, "temperature": {"type": ["double"], "default":
1.0, "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default"}, "top_p": {"type": ["double"], "default": 1.0, "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default", "advanced": true}},
"description": "Use an Open Source model from the Azure Model catalog, deployed
to an AzureML Online Endpoint for LLM Chat or Completion API calls.", "module":
"promptflow.tools.open_source_llm", "class_name": "OpenSourceLLM", "function":
"call", "icon": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACgElEQVR4nGWSz2vcVRTFP/e9NzOZ1KDGohASslLEH6VLV0ak4l/QpeDCrfQPcNGliODKnVm4EBdBsIjQIlhciKW0ycKFVCSNbYnjdDLtmPnmO/nO9917XcxMkjYX3uLx7nnn3HOuMK2Nix4fP78ZdrYXVkLVWjf3l3B1B+HpcjzGFtmqa6cePz7/x0dnn1n5qhj3iBJPYREIURAJuCtpY8PjReDbrf9WG7H1fuefwQU9qKztTcMJT+PNnEFvjGVDBDlSsH6p/9MLzy6+NxwVqI8RAg4IPmWedMckdLYP6O6UpIaQfvyyXG012+e79/ZfHukoS1ISMT2hGTB1RkUmNgQ5QZ0w+a2VWDq73MbdEWmfnnv6UWe7oNzPaLapl5CwuLTXK9WUGBuCjqekzhP+z52ZXOrKMD3OJg0Hh778aiOuvpnYvp05d6GJO4iAO4QAe/eV36/X5LFRV4Zmn+AdkqlL8Vjp3oVioOz+WTPzzYEgsN+fgPLYyJVheSbPPVl2ikeGZRjtG52/8rHuaV9VOlpP2OtKyVndcRVCSqOhsvxa4vW359i6OuKdD+aP8Q4SYPdOzS/flGjt1JUSaMqZ5nwa1Y8qWb/Ud/eZZkHisYezEM0m+fcelDr8F1SqW2LNK6r1jXQwyLzy1hxvrLXZulry7ocL+FS6G4QIu3fG/Px1gdYeW7LIgXU2P/115TOA5G7e3Rmj2aS/m7l5pThiZzrCcE/d1XHzbln373nw7y6veeoUm5KCNKT/IPPwbiY1hYd/l5MIT65BMFt87sU4v9D7/JMflr44uV6hGh1+L4RCkg6z5iK2tAhNLeLsNGwYA4fDYnC/drvuuFxe86NV/x+Ut27g0FvykgAAAABJRU5ErkJggg==",
"is_builtin": true, "package": "promptflow-tools", "package_version": "0.0.216",
"enable_kwargs": false, "tool_state": "stable"}, {"name": "OpenAI GPT-4V",
"type": "custom_llm", "inputs": {"connection": {"type": ["OpenAIConnection"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"frequency_penalty": {"type": ["double"], "default": 0, "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "max_tokens": {"type":
["int"], "default": "", "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "model": {"type": ["string"], "enum": ["gpt-4-vision-preview"],
"allow_manual_entry": true, "is_multi_select": false, "input_type": "default"},
"presence_penalty": {"type": ["double"], "default": 0, "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "stop": {"type":
["list"], "default": "", "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "temperature": {"type": ["double"], "default": 1,
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"top_p": {"type": ["double"], "default": 1, "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Use OpenAI GPT-4V to leverage
vision ability.", "module": "promptflow.tools.openai_gpt4v", "class_name":
"OpenAI", "function": "chat", "is_builtin": true, "package": "promptflow-tools",
"package_version": "0.0.216", "default_prompt": "# system:\nAs an AI assistant,
your task involves interpreting images and responding to questions about the
image.\nRemember to provide accurate answers based on the information present
in the image.\n\n# user:\nCan you tell me what the image depicts?\n\n",
"enable_kwargs": false, "tool_state": "stable"}, {"name": "Serp API", "type":
"python", "inputs": {"connection": {"type": ["SerpConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "engine": {"type":
["string"], "default": "google", "enum": ["google", "bing"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "location": {"type":
["string"], "default": "", "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "num": {"type": ["int"], "default": "10",
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"query": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "safe": {"type": ["string"], "default": "off",
"enum": ["active", "off"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Use Serp API to obtain search
results from a specific search engine.", "module": "promptflow.tools.serpapi",
"class_name": "SerpAPI", "function": "search", "is_builtin": true, "package":
"promptflow-tools", "package_version": "0.0.216", "enable_kwargs": false,
"tool_state": "stable"}, {"name": "Faiss Index Lookup", "type": "python",
"inputs": {"path": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "top_k": {"type": ["int"], "default": "3",
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"vector": {"type": ["list"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Search vector based query
from the FAISS index file.", "module": "promptflow_vectordb.tool.faiss_index_lookup",
"class_name": "FaissIndexLookup", "function": "search", "is_builtin": true,
"package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "Vector DB Lookup", "type": "python",
"inputs": {"class_name": {"type": ["string"], "enabled_by": "connection",
"enabled_by_type": ["WeaviateConnection"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "collection_name": {"type": ["string"], "enabled_by":
"connection", "enabled_by_type": ["QdrantConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "connection": {"type":
["CognitiveSearchConnection", "QdrantConnection", "WeaviateConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "index_name": {"type":
["string"], "enabled_by": "connection", "enabled_by_type": ["CognitiveSearchConnection"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"search_filters": {"type": ["object"], "enabled_by": "connection", "enabled_by_type":
["CognitiveSearchConnection", "QdrantConnection"], "allow_manual_entry": false,
"is_multi_select": false, "input_type": "default"}, "search_params": {"type":
["object"], "enabled_by": "connection", "enabled_by_type": ["CognitiveSearchConnection",
"QdrantConnection"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "text_field": {"type": ["string"], "enabled_by":
"connection", "enabled_by_type": ["CognitiveSearchConnection", "QdrantConnection",
"WeaviateConnection"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "top_k": {"type": ["int"], "default": "3", "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "vector": {"type":
["list"], "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default"}, "vector_field": {"type": ["string"], "enabled_by": "connection",
"enabled_by_type": ["CognitiveSearchConnection"], "allow_manual_entry": false,
"is_multi_select": false, "input_type": "default"}}, "description": "Search
vector based query from existing Vector Database.", "module": "promptflow_vectordb.tool.vector_db_lookup",
"class_name": "VectorDBLookup", "function": "search", "is_builtin": true,
"package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "Vector Index Lookup", "type": "python",
"inputs": {"path": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "query": {"type": ["object"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "top_k": {"type":
["int"], "default": "3", "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}}, "description": "Search text or vector based query
from AzureML Vector Index.", "module": "promptflow_vectordb.tool.vector_index_lookup",
"class_name": "VectorIndexLookup", "function": "search", "is_builtin": true,
"package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "hello_world.py", "type": "python",
"inputs": {"name": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "source": "hello_world.py", "function":
"hello_world", "is_builtin": false, "enable_kwargs": false, "tool_state":
"stable"}], "inputs": {"name": {"type": "string", "default": "hod", "is_chat_input":
false}}, "outputs": {"result": {"type": "string", "reference": "${hello_world.output}",
"evaluation_only": false, "is_chat_output": false}}}, "flowRunResourceId":
"azureml://locations/eastus/workspaces/00000/flows/batch_run_name/flowRuns/batch_run_name",
"flowRunId": "batch_run_name", "flowRunDisplayName": "sdk-cli-test-fixture-batch-run-without-llm",
"batchDataInput": {"dataUri": "azureml://datastores/workspaceblobstore/paths/LocalUpload/74c11bba717480b2d6b04b8e746d09d7/webClassification3.jsonl"},
"flowRunType": "FlowRun", "flowType": "Default", "runtimeName": "test-runtime-ci",
"inputsMapping": {"name": "${data.url}"}, "outputDatastoreName": "workspaceblobstore",
"childRunBasePath": "promptflow/PromptFlowArtifacts/batch_run_name/flow_artifacts",
"flowDagFileRelativePath": "flow.dag.yaml", "flowSnapshotId": "4debf50d-5af4-4fd7-9e55-e2796fcf44bb",
"studioPortalEndpoint": "https://ml.azure.com/runs/batch_run_name?wsid=/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000"}'
headers:
connection:
- keep-alive
content-length:
- '12912'
content-type:
- application/json; charset=utf-8
strict-transport-security:
- max-age=15724800; includeSubDomains; preload
transfer-encoding:
- chunked
vary:
- Accept-Encoding
x-content-type-options:
- nosniff
x-request-time:
- '0.312'
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- promptflow-sdk/0.0.1 azsdk-python-azuremachinelearningdesignerserviceclient/unknown
Python/3.10.13 (Windows-10-10.0.22631-SP0)
method: GET
uri: https://eastus.api.azureml.ms/flow/api/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/BulkRuns/batch_run_name
response:
body:
string: '{"flowGraph": {"nodes": [{"name": "hello_world", "type": "python",
"source": {"type": "code", "path": "hello_world.py"}, "inputs": {"name": "${inputs.name}"},
"tool": "hello_world.py", "reduce": false}], "tools": [{"name": "Content Safety
(Text Analyze)", "type": "python", "inputs": {"connection": {"type": ["AzureContentSafetyConnection"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"hate_category": {"type": ["string"], "default": "medium_sensitivity", "enum":
["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"self_harm_category": {"type": ["string"], "default": "medium_sensitivity",
"enum": ["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"sexual_category": {"type": ["string"], "default": "medium_sensitivity", "enum":
["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"text": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "violence_category": {"type": ["string"],
"default": "medium_sensitivity", "enum": ["disable", "low_sensitivity", "medium_sensitivity",
"high_sensitivity"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}}, "description": "Use Azure Content Safety to detect
harmful content.", "module": "promptflow.tools.azure_content_safety", "function":
"analyze_text", "is_builtin": true, "package": "promptflow-tools", "package_version":
"0.0.216", "enable_kwargs": false, "deprecated_tools": ["content_safety_text.tools.content_safety_text_tool.analyze_text"],
"tool_state": "stable"}, {"name": "Embedding", "type": "python", "inputs":
{"connection": {"type": ["AzureOpenAIConnection", "OpenAIConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "deployment_name":
{"type": ["string"], "enabled_by": "connection", "enabled_by_type": ["AzureOpenAIConnection"],
"model_list": ["text-embedding-ada-002", "text-search-ada-doc-001", "text-search-ada-query-001"],
"capabilities": {"completion": false, "chat_completion": false, "embeddings":
true}, "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default"}, "input": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "model": {"type": ["string"], "enum": ["text-embedding-ada-002",
"text-search-ada-doc-001", "text-search-ada-query-001"], "enabled_by": "connection",
"enabled_by_type": ["OpenAIConnection"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Use Open AI''s embedding
model to create an embedding vector representing the input text.", "module":
"promptflow.tools.embedding", "function": "embedding", "is_builtin": true,
"package": "promptflow-tools", "package_version": "0.0.216", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "Open Source LLM", "type": "custom_llm",
"inputs": {"api": {"type": ["string"], "enum": ["chat", "completion"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "connection": {"type":
["CustomConnection"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "deployment_name": {"type": ["string"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "endpoint_name":
{"type": ["string"], "default": "-- please enter an endpoint name --", "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "max_new_tokens":
{"type": ["int"], "default": 500, "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "model_kwargs": {"type": ["object"], "default":
"{}", "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default", "advanced": true}, "temperature": {"type": ["double"], "default":
1.0, "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default"}, "top_p": {"type": ["double"], "default": 1.0, "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default", "advanced": true}},
"description": "Use an Open Source model from the Azure Model catalog, deployed
to an AzureML Online Endpoint for LLM Chat or Completion API calls.", "module":
"promptflow.tools.open_source_llm", "class_name": "OpenSourceLLM", "function":
"call", "icon": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACgElEQVR4nGWSz2vcVRTFP/e9NzOZ1KDGohASslLEH6VLV0ak4l/QpeDCrfQPcNGliODKnVm4EBdBsIjQIlhciKW0ycKFVCSNbYnjdDLtmPnmO/nO9917XcxMkjYX3uLx7nnn3HOuMK2Nix4fP78ZdrYXVkLVWjf3l3B1B+HpcjzGFtmqa6cePz7/x0dnn1n5qhj3iBJPYREIURAJuCtpY8PjReDbrf9WG7H1fuefwQU9qKztTcMJT+PNnEFvjGVDBDlSsH6p/9MLzy6+NxwVqI8RAg4IPmWedMckdLYP6O6UpIaQfvyyXG012+e79/ZfHukoS1ISMT2hGTB1RkUmNgQ5QZ0w+a2VWDq73MbdEWmfnnv6UWe7oNzPaLapl5CwuLTXK9WUGBuCjqekzhP+z52ZXOrKMD3OJg0Hh778aiOuvpnYvp05d6GJO4iAO4QAe/eV36/X5LFRV4Zmn+AdkqlL8Vjp3oVioOz+WTPzzYEgsN+fgPLYyJVheSbPPVl2ikeGZRjtG52/8rHuaV9VOlpP2OtKyVndcRVCSqOhsvxa4vW359i6OuKdD+aP8Q4SYPdOzS/flGjt1JUSaMqZ5nwa1Y8qWb/Ud/eZZkHisYezEM0m+fcelDr8F1SqW2LNK6r1jXQwyLzy1hxvrLXZulry7ocL+FS6G4QIu3fG/Px1gdYeW7LIgXU2P/115TOA5G7e3Rmj2aS/m7l5pThiZzrCcE/d1XHzbln373nw7y6veeoUm5KCNKT/IPPwbiY1hYd/l5MIT65BMFt87sU4v9D7/JMflr44uV6hGh1+L4RCkg6z5iK2tAhNLeLsNGwYA4fDYnC/drvuuFxe86NV/x+Ut27g0FvykgAAAABJRU5ErkJggg==",
"is_builtin": true, "package": "promptflow-tools", "package_version": "0.0.216",
"enable_kwargs": false, "tool_state": "stable"}, {"name": "OpenAI GPT-4V",
"type": "custom_llm", "inputs": {"connection": {"type": ["OpenAIConnection"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"frequency_penalty": {"type": ["double"], "default": 0, "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "max_tokens": {"type":
["int"], "default": "", "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "model": {"type": ["string"], "enum": ["gpt-4-vision-preview"],
"allow_manual_entry": true, "is_multi_select": false, "input_type": "default"},
"presence_penalty": {"type": ["double"], "default": 0, "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "stop": {"type":
["list"], "default": "", "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "temperature": {"type": ["double"], "default": 1,
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"top_p": {"type": ["double"], "default": 1, "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Use OpenAI GPT-4V to leverage
vision ability.", "module": "promptflow.tools.openai_gpt4v", "class_name":
"OpenAI", "function": "chat", "is_builtin": true, "package": "promptflow-tools",
"package_version": "0.0.216", "default_prompt": "# system:\nAs an AI assistant,
your task involves interpreting images and responding to questions about the
image.\nRemember to provide accurate answers based on the information present
in the image.\n\n# user:\nCan you tell me what the image depicts?\n\n",
"enable_kwargs": false, "tool_state": "stable"}, {"name": "Serp API", "type":
"python", "inputs": {"connection": {"type": ["SerpConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "engine": {"type":
["string"], "default": "google", "enum": ["google", "bing"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "location": {"type":
["string"], "default": "", "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "num": {"type": ["int"], "default": "10",
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"query": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "safe": {"type": ["string"], "default": "off",
"enum": ["active", "off"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Use Serp API to obtain search
results from a specific search engine.", "module": "promptflow.tools.serpapi",
"class_name": "SerpAPI", "function": "search", "is_builtin": true, "package":
"promptflow-tools", "package_version": "0.0.216", "enable_kwargs": false,
"tool_state": "stable"}, {"name": "Faiss Index Lookup", "type": "python",
"inputs": {"path": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "top_k": {"type": ["int"], "default": "3",
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"vector": {"type": ["list"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Search vector based query
from the FAISS index file.", "module": "promptflow_vectordb.tool.faiss_index_lookup",
"class_name": "FaissIndexLookup", "function": "search", "is_builtin": true,
"package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "Vector DB Lookup", "type": "python",
"inputs": {"class_name": {"type": ["string"], "enabled_by": "connection",
"enabled_by_type": ["WeaviateConnection"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "collection_name": {"type": ["string"], "enabled_by":
"connection", "enabled_by_type": ["QdrantConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "connection": {"type":
["CognitiveSearchConnection", "QdrantConnection", "WeaviateConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "index_name": {"type":
["string"], "enabled_by": "connection", "enabled_by_type": ["CognitiveSearchConnection"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"search_filters": {"type": ["object"], "enabled_by": "connection", "enabled_by_type":
["CognitiveSearchConnection", "QdrantConnection"], "allow_manual_entry": false,
"is_multi_select": false, "input_type": "default"}, "search_params": {"type":
["object"], "enabled_by": "connection", "enabled_by_type": ["CognitiveSearchConnection",
"QdrantConnection"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "text_field": {"type": ["string"], "enabled_by":
"connection", "enabled_by_type": ["CognitiveSearchConnection", "QdrantConnection",
"WeaviateConnection"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "top_k": {"type": ["int"], "default": "3", "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "vector": {"type":
["list"], "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default"}, "vector_field": {"type": ["string"], "enabled_by": "connection",
"enabled_by_type": ["CognitiveSearchConnection"], "allow_manual_entry": false,
"is_multi_select": false, "input_type": "default"}}, "description": "Search
vector based query from existing Vector Database.", "module": "promptflow_vectordb.tool.vector_db_lookup",
"class_name": "VectorDBLookup", "function": "search", "is_builtin": true,
"package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "Vector Index Lookup", "type": "python",
"inputs": {"path": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "query": {"type": ["object"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "top_k": {"type":
["int"], "default": "3", "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}}, "description": "Search text or vector based query
from AzureML Vector Index.", "module": "promptflow_vectordb.tool.vector_index_lookup",
"class_name": "VectorIndexLookup", "function": "search", "is_builtin": true,
"package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "hello_world.py", "type": "python",
"inputs": {"name": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "source": "hello_world.py", "function":
"hello_world", "is_builtin": false, "enable_kwargs": false, "tool_state":
"stable"}], "inputs": {"name": {"type": "string", "default": "hod", "is_chat_input":
false}}, "outputs": {"result": {"type": "string", "reference": "${hello_world.output}",
"evaluation_only": false, "is_chat_output": false}}}, "flowRunResourceId":
"azureml://locations/eastus/workspaces/00000/flows/batch_run_name/flowRuns/batch_run_name",
"flowRunId": "batch_run_name", "flowRunDisplayName": "sdk-cli-test-fixture-batch-run-without-llm",
"batchDataInput": {"dataUri": "azureml://datastores/workspaceblobstore/paths/LocalUpload/74c11bba717480b2d6b04b8e746d09d7/webClassification3.jsonl"},
"flowRunType": "FlowRun", "flowType": "Default", "runtimeName": "test-runtime-ci",
"inputsMapping": {"name": "${data.url}"}, "outputDatastoreName": "workspaceblobstore",
"childRunBasePath": "promptflow/PromptFlowArtifacts/batch_run_name/flow_artifacts",
"flowDagFileRelativePath": "flow.dag.yaml", "flowSnapshotId": "4debf50d-5af4-4fd7-9e55-e2796fcf44bb",
"studioPortalEndpoint": "https://ml.azure.com/runs/batch_run_name?wsid=/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000"}'
headers:
connection:
- keep-alive
content-length:
- '12912'
content-type:
- application/json; charset=utf-8
strict-transport-security:
- max-age=15724800; includeSubDomains; preload
transfer-encoding:
- chunked
vary:
- Accept-Encoding
x-content-type-options:
- nosniff
x-request-time:
- '0.282'
status:
code: 200
message: OK
- request:
body: '{}'
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:
- '2'
Content-Type:
- application/json
User-Agent:
- python-requests/2.31.0
method: POST
uri: https://eastus.api.azureml.ms/metric/v2.0/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/runs/batch_run_name/lastvalues
response:
body:
string: '{"value": [{"dataContainerId": "dcid.batch_run_name", "name": "__pf__.nodes.hello_world.completed",
"columns": {"__pf__.nodes.hello_world.completed": "Double"}, "properties":
{"uxMetricType": "azureml.v1.scalar", "dataLocation": null}, "namespace":
null, "standardSchemaId": null, "value": [{"metricId": "92eb9fc0-0a90-4bbc-8eb9-450adfe1f519",
"createdUtc": "2024-01-12T08:10:54.937+00:00", "step": 0, "data": {"__pf__.nodes.hello_world.completed":
3.0}}]}, {"dataContainerId": "dcid.batch_run_name", "name": "__pf__.lines.completed",
"columns": {"__pf__.lines.completed": "Double"}, "properties": {"uxMetricType":
"azureml.v1.scalar", "dataLocation": null}, "namespace": null, "standardSchemaId":
null, "value": [{"metricId": "ca4eb89a-6347-481b-b055-91d58b273e50", "createdUtc":
"2024-01-12T08:10:55.288+00:00", "step": 0, "data": {"__pf__.lines.completed":
3.0}}]}, {"dataContainerId": "dcid.batch_run_name", "name": "__pf__.lines.failed",
"columns": {"__pf__.lines.failed": "Double"}, "properties": {"uxMetricType":
"azureml.v1.scalar", "dataLocation": null}, "namespace": null, "standardSchemaId":
null, "value": [{"metricId": "1d4bbc09-1eff-4be2-b11b-1d5b7da937ce", "createdUtc":
"2024-01-12T08:10:55.754+00:00", "step": 0, "data": {"__pf__.lines.failed":
0.0}}]}]}'
headers:
connection:
- keep-alive
content-length:
- '1891'
content-type:
- application/json; charset=utf-8
strict-transport-security:
- max-age=15724800; includeSubDomains; preload
transfer-encoding:
- chunked
vary:
- Accept-Encoding
x-content-type-options:
- nosniff
x-request-time:
- '0.071'
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- promptflow-sdk/0.0.1 azsdk-python-azuremachinelearningdesignerserviceclient/unknown
Python/3.10.13 (Windows-10-10.0.22631-SP0)
method: GET
uri: https://eastus.api.azureml.ms/flow/api/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/BulkRuns/batch_run_name
response:
body:
string: '{"flowGraph": {"nodes": [{"name": "hello_world", "type": "python",
"source": {"type": "code", "path": "hello_world.py"}, "inputs": {"name": "${inputs.name}"},
"tool": "hello_world.py", "reduce": false}], "tools": [{"name": "Content Safety
(Text Analyze)", "type": "python", "inputs": {"connection": {"type": ["AzureContentSafetyConnection"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"hate_category": {"type": ["string"], "default": "medium_sensitivity", "enum":
["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"self_harm_category": {"type": ["string"], "default": "medium_sensitivity",
"enum": ["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"sexual_category": {"type": ["string"], "default": "medium_sensitivity", "enum":
["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"text": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "violence_category": {"type": ["string"],
"default": "medium_sensitivity", "enum": ["disable", "low_sensitivity", "medium_sensitivity",
"high_sensitivity"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}}, "description": "Use Azure Content Safety to detect
harmful content.", "module": "promptflow.tools.azure_content_safety", "function":
"analyze_text", "is_builtin": true, "package": "promptflow-tools", "package_version":
"0.0.216", "enable_kwargs": false, "deprecated_tools": ["content_safety_text.tools.content_safety_text_tool.analyze_text"],
"tool_state": "stable"}, {"name": "Embedding", "type": "python", "inputs":
{"connection": {"type": ["AzureOpenAIConnection", "OpenAIConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "deployment_name":
{"type": ["string"], "enabled_by": "connection", "enabled_by_type": ["AzureOpenAIConnection"],
"model_list": ["text-embedding-ada-002", "text-search-ada-doc-001", "text-search-ada-query-001"],
"capabilities": {"completion": false, "chat_completion": false, "embeddings":
true}, "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default"}, "input": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "model": {"type": ["string"], "enum": ["text-embedding-ada-002",
"text-search-ada-doc-001", "text-search-ada-query-001"], "enabled_by": "connection",
"enabled_by_type": ["OpenAIConnection"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Use Open AI''s embedding
model to create an embedding vector representing the input text.", "module":
"promptflow.tools.embedding", "function": "embedding", "is_builtin": true,
"package": "promptflow-tools", "package_version": "0.0.216", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "Open Source LLM", "type": "custom_llm",
"inputs": {"api": {"type": ["string"], "enum": ["chat", "completion"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "connection": {"type":
["CustomConnection"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "deployment_name": {"type": ["string"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "endpoint_name":
{"type": ["string"], "default": "-- please enter an endpoint name --", "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "max_new_tokens":
{"type": ["int"], "default": 500, "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "model_kwargs": {"type": ["object"], "default":
"{}", "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default", "advanced": true}, "temperature": {"type": ["double"], "default":
1.0, "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default"}, "top_p": {"type": ["double"], "default": 1.0, "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default", "advanced": true}},
"description": "Use an Open Source model from the Azure Model catalog, deployed
to an AzureML Online Endpoint for LLM Chat or Completion API calls.", "module":
"promptflow.tools.open_source_llm", "class_name": "OpenSourceLLM", "function":
"call", "icon": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACgElEQVR4nGWSz2vcVRTFP/e9NzOZ1KDGohASslLEH6VLV0ak4l/QpeDCrfQPcNGliODKnVm4EBdBsIjQIlhciKW0ycKFVCSNbYnjdDLtmPnmO/nO9917XcxMkjYX3uLx7nnn3HOuMK2Nix4fP78ZdrYXVkLVWjf3l3B1B+HpcjzGFtmqa6cePz7/x0dnn1n5qhj3iBJPYREIURAJuCtpY8PjReDbrf9WG7H1fuefwQU9qKztTcMJT+PNnEFvjGVDBDlSsH6p/9MLzy6+NxwVqI8RAg4IPmWedMckdLYP6O6UpIaQfvyyXG012+e79/ZfHukoS1ISMT2hGTB1RkUmNgQ5QZ0w+a2VWDq73MbdEWmfnnv6UWe7oNzPaLapl5CwuLTXK9WUGBuCjqekzhP+z52ZXOrKMD3OJg0Hh778aiOuvpnYvp05d6GJO4iAO4QAe/eV36/X5LFRV4Zmn+AdkqlL8Vjp3oVioOz+WTPzzYEgsN+fgPLYyJVheSbPPVl2ikeGZRjtG52/8rHuaV9VOlpP2OtKyVndcRVCSqOhsvxa4vW359i6OuKdD+aP8Q4SYPdOzS/flGjt1JUSaMqZ5nwa1Y8qWb/Ud/eZZkHisYezEM0m+fcelDr8F1SqW2LNK6r1jXQwyLzy1hxvrLXZulry7ocL+FS6G4QIu3fG/Px1gdYeW7LIgXU2P/115TOA5G7e3Rmj2aS/m7l5pThiZzrCcE/d1XHzbln373nw7y6veeoUm5KCNKT/IPPwbiY1hYd/l5MIT65BMFt87sU4v9D7/JMflr44uV6hGh1+L4RCkg6z5iK2tAhNLeLsNGwYA4fDYnC/drvuuFxe86NV/x+Ut27g0FvykgAAAABJRU5ErkJggg==",
"is_builtin": true, "package": "promptflow-tools", "package_version": "0.0.216",
"enable_kwargs": false, "tool_state": "stable"}, {"name": "OpenAI GPT-4V",
"type": "custom_llm", "inputs": {"connection": {"type": ["OpenAIConnection"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"frequency_penalty": {"type": ["double"], "default": 0, "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "max_tokens": {"type":
["int"], "default": "", "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "model": {"type": ["string"], "enum": ["gpt-4-vision-preview"],
"allow_manual_entry": true, "is_multi_select": false, "input_type": "default"},
"presence_penalty": {"type": ["double"], "default": 0, "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "stop": {"type":
["list"], "default": "", "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "temperature": {"type": ["double"], "default": 1,
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"top_p": {"type": ["double"], "default": 1, "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Use OpenAI GPT-4V to leverage
vision ability.", "module": "promptflow.tools.openai_gpt4v", "class_name":
"OpenAI", "function": "chat", "is_builtin": true, "package": "promptflow-tools",
"package_version": "0.0.216", "default_prompt": "# system:\nAs an AI assistant,
your task involves interpreting images and responding to questions about the
image.\nRemember to provide accurate answers based on the information present
in the image.\n\n# user:\nCan you tell me what the image depicts?\n\n",
"enable_kwargs": false, "tool_state": "stable"}, {"name": "Serp API", "type":
"python", "inputs": {"connection": {"type": ["SerpConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "engine": {"type":
["string"], "default": "google", "enum": ["google", "bing"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "location": {"type":
["string"], "default": "", "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "num": {"type": ["int"], "default": "10",
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"query": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "safe": {"type": ["string"], "default": "off",
"enum": ["active", "off"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Use Serp API to obtain search
results from a specific search engine.", "module": "promptflow.tools.serpapi",
"class_name": "SerpAPI", "function": "search", "is_builtin": true, "package":
"promptflow-tools", "package_version": "0.0.216", "enable_kwargs": false,
"tool_state": "stable"}, {"name": "Faiss Index Lookup", "type": "python",
"inputs": {"path": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "top_k": {"type": ["int"], "default": "3",
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"vector": {"type": ["list"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Search vector based query
from the FAISS index file.", "module": "promptflow_vectordb.tool.faiss_index_lookup",
"class_name": "FaissIndexLookup", "function": "search", "is_builtin": true,
"package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "Vector DB Lookup", "type": "python",
"inputs": {"class_name": {"type": ["string"], "enabled_by": "connection",
"enabled_by_type": ["WeaviateConnection"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "collection_name": {"type": ["string"], "enabled_by":
"connection", "enabled_by_type": ["QdrantConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "connection": {"type":
["CognitiveSearchConnection", "QdrantConnection", "WeaviateConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "index_name": {"type":
["string"], "enabled_by": "connection", "enabled_by_type": ["CognitiveSearchConnection"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"search_filters": {"type": ["object"], "enabled_by": "connection", "enabled_by_type":
["CognitiveSearchConnection", "QdrantConnection"], "allow_manual_entry": false,
"is_multi_select": false, "input_type": "default"}, "search_params": {"type":
["object"], "enabled_by": "connection", "enabled_by_type": ["CognitiveSearchConnection",
"QdrantConnection"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "text_field": {"type": ["string"], "enabled_by":
"connection", "enabled_by_type": ["CognitiveSearchConnection", "QdrantConnection",
"WeaviateConnection"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "top_k": {"type": ["int"], "default": "3", "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "vector": {"type":
["list"], "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default"}, "vector_field": {"type": ["string"], "enabled_by": "connection",
"enabled_by_type": ["CognitiveSearchConnection"], "allow_manual_entry": false,
"is_multi_select": false, "input_type": "default"}}, "description": "Search
vector based query from existing Vector Database.", "module": "promptflow_vectordb.tool.vector_db_lookup",
"class_name": "VectorDBLookup", "function": "search", "is_builtin": true,
"package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "Vector Index Lookup", "type": "python",
"inputs": {"path": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "query": {"type": ["object"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "top_k": {"type":
["int"], "default": "3", "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}}, "description": "Search text or vector based query
from AzureML Vector Index.", "module": "promptflow_vectordb.tool.vector_index_lookup",
"class_name": "VectorIndexLookup", "function": "search", "is_builtin": true,
"package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "hello_world.py", "type": "python",
"inputs": {"name": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "source": "hello_world.py", "function":
"hello_world", "is_builtin": false, "enable_kwargs": false, "tool_state":
"stable"}], "inputs": {"name": {"type": "string", "default": "hod", "is_chat_input":
false}}, "outputs": {"result": {"type": "string", "reference": "${hello_world.output}",
"evaluation_only": false, "is_chat_output": false}}}, "flowRunResourceId":
"azureml://locations/eastus/workspaces/00000/flows/batch_run_name/flowRuns/batch_run_name",
"flowRunId": "batch_run_name", "flowRunDisplayName": "sdk-cli-test-fixture-batch-run-without-llm",
"batchDataInput": {"dataUri": "azureml://datastores/workspaceblobstore/paths/LocalUpload/74c11bba717480b2d6b04b8e746d09d7/webClassification3.jsonl"},
"flowRunType": "FlowRun", "flowType": "Default", "runtimeName": "test-runtime-ci",
"inputsMapping": {"name": "${data.url}"}, "outputDatastoreName": "workspaceblobstore",
"childRunBasePath": "promptflow/PromptFlowArtifacts/batch_run_name/flow_artifacts",
"flowDagFileRelativePath": "flow.dag.yaml", "flowSnapshotId": "4debf50d-5af4-4fd7-9e55-e2796fcf44bb",
"studioPortalEndpoint": "https://ml.azure.com/runs/batch_run_name?wsid=/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000"}'
headers:
connection:
- keep-alive
content-length:
- '12912'
content-type:
- application/json; charset=utf-8
strict-transport-security:
- max-age=15724800; includeSubDomains; preload
transfer-encoding:
- chunked
vary:
- Accept-Encoding
x-content-type-options:
- nosniff
x-request-time:
- '0.282'
status:
code: 200
message: OK
- request:
body: '{"snapshotOrAssetId": "4debf50d-5af4-4fd7-9e55-e2796fcf44bb"}'
headers:
accept:
- '*/*'
accept-encoding:
- gzip, deflate
connection:
- keep-alive
content-length:
- '61'
content-type:
- application/json
host:
- eastus.api.azureml.ms
user-agent:
- python-httpx/0.25.2
method: POST
uri: https://eastus.api.azureml.ms/content/v2.0/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/snapshots/sas
response:
content: '{"name": "", "hash": null, "type": "Directory", "timestamp": "0001-01-01T00:00:00+00:00",
"sasUrl": null, "absoluteUrl": null, "sizeBytes": 0, "sizeSet": false, "children":
{"flow.dag.yaml": {"name": "flow.dag.yaml", "hash": "5199B74F23A82968D2476DFE529EAA50",
"type": "File", "timestamp": "0001-01-01T00:00:00+00:00", "sasUrl": "https://promptfloweast4063704120.blob.core.windows.net/azureml-blobstore-3e123da1-f9a5-4c91-9234-8d9ffbb39ff5/runs/batch_run_name/flow.dag.yaml?sv=2019-07-07&sr=b&sig=XAEfHSf9iPDaX6S7OeeQzpvJQw%2B9OUEQu7xLv03shTU%3D&st=2024-01-12T08%3A01%3A35Z&se=2024-01-12T16%3A11%3A35Z&sp=r&rscd=filename%3Dflow.dag.yaml",
"absoluteUrl": "https://promptfloweast4063704120.blob.core.windows.net/azureml-blobstore-3e123da1-f9a5-4c91-9234-8d9ffbb39ff5/runs/batch_run_name/flow.dag.yaml",
"sizeBytes": 266, "sizeSet": true, "children": {}}, "hello_world.py": {"name":
"hello_world.py", "hash": "F9B1E040145CBA4E286861114DCF2A7A", "type": "File",
"timestamp": "0001-01-01T00:00:00+00:00", "sasUrl": "https://promptfloweast4063704120.blob.core.windows.net/azureml-blobstore-3e123da1-f9a5-4c91-9234-8d9ffbb39ff5/runs/batch_run_name/hello_world.py?sv=2019-07-07&sr=b&sig=9MDOTxuI383BaX%2FtV1kT3rs9LsBeFjxPce90PXBdJrc%3D&st=2024-01-12T08%3A01%3A35Z&se=2024-01-12T16%3A11%3A35Z&sp=r&rscd=filename%3Dhello_world.py",
"absoluteUrl": "https://promptfloweast4063704120.blob.core.windows.net/azureml-blobstore-3e123da1-f9a5-4c91-9234-8d9ffbb39ff5/runs/batch_run_name/hello_world.py",
"sizeBytes": 111, "sizeSet": true, "children": {}}}}'
headers:
connection:
- keep-alive
content-type:
- application/json; charset=utf-8
strict-transport-security:
- max-age=15724800; includeSubDomains; preload
transfer-encoding:
- chunked
vary:
- Accept-Encoding
x-content-type-options:
- nosniff
x-request-time:
- '0.080'
http_version: HTTP/1.1
status_code: 200
- request:
body: '{"value": "azureml://locations/eastus/workspaces/00000/data/azureml_batch_run_name_output_data_debug_info/versions/1"}'
headers:
accept:
- '*/*'
accept-encoding:
- gzip, deflate
connection:
- keep-alive
content-length:
- '171'
content-type:
- application/json
host:
- eastus.api.azureml.ms
user-agent:
- python-httpx/0.25.2
method: POST
uri: https://eastus.api.azureml.ms/data/v1.0/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/dataversion/getByAssetId
response:
content: '{"dataVersion": {"assetId": "azureml://locations/eastus/workspaces/00000/data/azureml_batch_run_name_output_data_debug_info/versions/1",
"dataContainerName": "azureml_batch_run_name_output_data_debug_info", "dataType":
"UriFolder", "dataUri": "azureml://subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/00000/workspaces/00000/datastores/workspaceblobstore/paths/promptflow/PromptFlowArtifacts/batch_run_name/",
"versionId": "1", "mutableProps": {"dataExpiryTime": null, "description": null,
"tags": null, "isArchived": false, "stage": "Logged", "autoDeleteSetting": null},
"referencedDataUris": null, "properties": null, "initialAssetId": "azureml://locations/eastus/workspaces/00000/data/azureml_batch_run_name_output_data_debug_info/versions/1",
"isRegistered": false, "runId": "batch_run_name", "originAssetId": null}, "entityMetadata":
{"etag": "\"4f06df3c-0000-0100-0000-65a0f4100000\"", "createdTime": "2024-01-12T08:10:56.2930893+00:00",
"modifiedTime": "2024-01-12T08:10:56.304512+00:00", "createdBy": {"userObjectId":
"00000000-0000-0000-0000-000000000000", "userPuId": null, "userIdp": "https://sts.windows.net/00000000-0000-0000-0000-000000000000/",
"userAltSecId": null, "userIss": "https://sts.windows.net/00000000-0000-0000-0000-000000000000/",
"userTenantId": "00000000-0000-0000-0000-000000000000", "userName": "18a66f5f-dbdf-4c17-9dd7-1634712a9cbe",
"upn": null}, "modifiedBy": null}, "legacyDatasetId": "0f5cc294-584d-4082-a8ed-da5a862ed2ac",
"isV2": true, "legacyDatasetType": null, "legacyDataflowType": null, "legacyDataflow":
null, "legacySavedDatasetId": null, "putAssetLROResponseDto": null}'
headers:
connection:
- keep-alive
content-type:
- application/json; charset=utf-8
strict-transport-security:
- max-age=15724800; includeSubDomains; preload
transfer-encoding:
- chunked
vary:
- Accept-Encoding
x-content-type-options:
- nosniff
x-request-time:
- '0.963'
http_version: HTTP/1.1
status_code: 200
- request:
body: null
headers:
Accept:
- application/xml
User-Agent:
- azsdk-python-storage-blob/12.19.0 Python/3.10.13 (Windows-10-10.0.22631-SP0)
x-ms-date:
- Fri, 12 Jan 2024 08:11:35 GMT
x-ms-range:
- bytes=0-33554431
x-ms-version:
- '2023-11-03'
method: GET
uri: https://fake_account_name.blob.core.windows.net/fake-container-name/runs/batch_run_name/flow.dag.yaml
response:
body:
string: "inputs:\r\n name:\r\n type: string\r\n default: hod\r\noutputs:\r\n
\ result:\r\n type: string\r\n reference: ${hello_world.output}\r\nnodes:\r\n-
name: hello_world\r\n type: python\r\n source:\r\n type: code\r\n path:
hello_world.py\r\n inputs:\r\n name: ${inputs.name}\r\n"
headers:
accept-ranges:
- bytes
content-length:
- '266'
content-range:
- bytes 0-265/266
content-type:
- application/octet-stream
last-modified:
- Fri, 12 Jan 2024 08:10:38 GMT
server:
- Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
vary:
- Origin
x-ms-blob-content-md5:
- UZm3TyOoKWjSR23+Up6qUA==
x-ms-blob-type:
- BlockBlob
x-ms-copy-completion-time:
- Fri, 12 Jan 2024 08:10:38 GMT
x-ms-copy-id:
- 047f8a8a-91df-4fe7-819d-3daa4fdf3f91
x-ms-copy-progress:
- 266/266
x-ms-copy-source:
- https://promptfloweast4063704120.blob.core.windows.net/azureml-blobstore-3e123da1-f9a5-4c91-9234-8d9ffbb39ff5/LocalUpload/36774154bc3ecde4aa21054b3052221f/hello-world/flow.dag.yaml
x-ms-copy-status:
- success
x-ms-creation-time:
- Fri, 12 Jan 2024 08:10:38 GMT
x-ms-meta-name:
- 7b68bf5e-6ef4-4eb3-9f49-28f9a5baad87
x-ms-meta-upload_status:
- completed
x-ms-meta-version:
- '1'
x-ms-version:
- '2023-11-03'
status:
code: 206
message: Partial Content
- request:
body: null
headers:
Accept:
- application/xml
User-Agent:
- azsdk-python-storage-blob/12.19.0 Python/3.10.13 (Windows-10-10.0.22631-SP0)
x-ms-date:
- Fri, 12 Jan 2024 08:11:37 GMT
x-ms-version:
- '2023-11-03'
method: GET
uri: https://fake_account_name.blob.core.windows.net/fake-container-name?comp=list&prefix=promptflow%2FPromptFlowArtifacts%2Fbatch_run_name%2F&restype=container
response:
body:
string: "\uFEFF<?xml version=\"1.0\" encoding=\"utf-8\"?><EnumerationResults
ServiceEndpoint=\"https://promptfloweast4063704120.blob.core.windows.net/\"
ContainerName=\"azureml-blobstore-3e123da1-f9a5-4c91-9234-8d9ffbb39ff5\"><Prefix>promptflow/PromptFlowArtifacts/batch_run_name/</Prefix><Blobs><Blob><Name>promptflow/PromptFlowArtifacts/batch_run_name/flow_artifacts/000000000_000000024.jsonl</Name><Properties><Creation-Time>Fri,
12 Jan 2024 08:10:53 GMT</Creation-Time><Last-Modified>Fri, 12 Jan 2024 08:10:53
GMT</Last-Modified><Etag>0x8DC1345FF66A605</Etag><Content-Length>4004</Content-Length><Content-Type>application/octet-stream</Content-Type><Content-Encoding
/><Content-Language /><Content-CRC64 /><Content-MD5 /><Cache-Control /><Content-Disposition
/><BlobType>AppendBlob</BlobType><LeaseStatus>unlocked</LeaseStatus><LeaseState>available</LeaseState><ServerEncrypted>true</ServerEncrypted></Properties><OrMetadata
/></Blob><Blob><Name>promptflow/PromptFlowArtifacts/batch_run_name/flow_outputs/output.jsonl</Name><Properties><Creation-Time>Fri,
12 Jan 2024 08:10:56 GMT</Creation-Time><Last-Modified>Fri, 12 Jan 2024 08:10:56
GMT</Last-Modified><Etag>0x8DC134600EACDCB</Etag><Content-Length>267</Content-Length><Content-Type>application/octet-stream</Content-Type><Content-Encoding
/><Content-Language /><Content-CRC64 /><Content-MD5>RhzWn41vAT8bekG2OuHirg==</Content-MD5><Cache-Control
/><Content-Disposition /><BlobType>BlockBlob</BlobType><AccessTier>Hot</AccessTier><AccessTierInferred>true</AccessTierInferred><LeaseStatus>unlocked</LeaseStatus><LeaseState>available</LeaseState><ServerEncrypted>true</ServerEncrypted></Properties><OrMetadata
/></Blob><Blob><Name>promptflow/PromptFlowArtifacts/batch_run_name/instance_results.jsonl</Name><Properties><Creation-Time>Fri,
12 Jan 2024 08:10:53 GMT</Creation-Time><Last-Modified>Fri, 12 Jan 2024 08:10:53
GMT</Last-Modified><Etag>0x8DC1345FF6B5BA6</Etag><Content-Length>597</Content-Length><Content-Type>application/octet-stream</Content-Type><Content-Encoding
/><Content-Language /><Content-CRC64 /><Content-MD5 /><Cache-Control /><Content-Disposition
/><BlobType>AppendBlob</BlobType><LeaseStatus>unlocked</LeaseStatus><LeaseState>available</LeaseState><ServerEncrypted>true</ServerEncrypted></Properties><OrMetadata
/></Blob><Blob><Name>promptflow/PromptFlowArtifacts/batch_run_name/meta.json</Name><Properties><Creation-Time>Fri,
12 Jan 2024 08:10:52 GMT</Creation-Time><Last-Modified>Fri, 12 Jan 2024 08:10:52
GMT</Last-Modified><Etag>0x8DC1345FE937ADE</Etag><Content-Length>18</Content-Length><Content-Type>application/octet-stream</Content-Type><Content-Encoding
/><Content-Language /><Content-CRC64 /><Content-MD5>/u1NXUpgXMFDmZEw835qnw==</Content-MD5><Cache-Control
/><Content-Disposition /><BlobType>BlockBlob</BlobType><AccessTier>Hot</AccessTier><AccessTierInferred>true</AccessTierInferred><LeaseStatus>unlocked</LeaseStatus><LeaseState>available</LeaseState><ServerEncrypted>true</ServerEncrypted></Properties><OrMetadata
/></Blob><Blob><Name>promptflow/PromptFlowArtifacts/batch_run_name/node_artifacts/hello_world/000000000.jsonl</Name><Properties><Creation-Time>Fri,
12 Jan 2024 08:10:53 GMT</Creation-Time><Last-Modified>Fri, 12 Jan 2024 08:10:53
GMT</Last-Modified><Etag>0x8DC1345FF4D6E19</Etag><Content-Length>1198</Content-Length><Content-Type>application/octet-stream</Content-Type><Content-Encoding
/><Content-Language /><Content-CRC64 /><Content-MD5>DSgFq8oOaGajvyQtRsalPQ==</Content-MD5><Cache-Control
/><Content-Disposition /><BlobType>BlockBlob</BlobType><AccessTier>Hot</AccessTier><AccessTierInferred>true</AccessTierInferred><LeaseStatus>unlocked</LeaseStatus><LeaseState>available</LeaseState><ServerEncrypted>true</ServerEncrypted></Properties><OrMetadata
/></Blob><Blob><Name>promptflow/PromptFlowArtifacts/batch_run_name/node_artifacts/hello_world/000000001.jsonl</Name><Properties><Creation-Time>Fri,
12 Jan 2024 08:10:53 GMT</Creation-Time><Last-Modified>Fri, 12 Jan 2024 08:10:53
GMT</Last-Modified><Etag>0x8DC1345FF53CF8C</Etag><Content-Length>1198</Content-Length><Content-Type>application/octet-stream</Content-Type><Content-Encoding
/><Content-Language /><Content-CRC64 /><Content-MD5>nK3XJ818HLYvfiuQPMZhqg==</Content-MD5><Cache-Control
/><Content-Disposition /><BlobType>BlockBlob</BlobType><AccessTier>Hot</AccessTier><AccessTierInferred>true</AccessTierInferred><LeaseStatus>unlocked</LeaseStatus><LeaseState>available</LeaseState><ServerEncrypted>true</ServerEncrypted></Properties><OrMetadata
/></Blob><Blob><Name>promptflow/PromptFlowArtifacts/batch_run_name/node_artifacts/hello_world/000000002.jsonl</Name><Properties><Creation-Time>Fri,
12 Jan 2024 08:10:53 GMT</Creation-Time><Last-Modified>Fri, 12 Jan 2024 08:10:53
GMT</Last-Modified><Etag>0x8DC1345FF62650D</Etag><Content-Length>1197</Content-Length><Content-Type>application/octet-stream</Content-Type><Content-Encoding
/><Content-Language /><Content-CRC64 /><Content-MD5>uNDmrXkZIRdBycvMcJlF5w==</Content-MD5><Cache-Control
/><Content-Disposition /><BlobType>BlockBlob</BlobType><AccessTier>Hot</AccessTier><AccessTierInferred>true</AccessTierInferred><LeaseStatus>unlocked</LeaseStatus><LeaseState>available</LeaseState><ServerEncrypted>true</ServerEncrypted></Properties><OrMetadata
/></Blob></Blobs><NextMarker /></EnumerationResults>"
headers:
content-type:
- application/xml
server:
- Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
transfer-encoding:
- chunked
vary:
- Origin
x-ms-version:
- '2023-11-03'
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/xml
User-Agent:
- azsdk-python-storage-blob/12.19.0 Python/3.10.13 (Windows-10-10.0.22631-SP0)
x-ms-date:
- Fri, 12 Jan 2024 08:11:37 GMT
x-ms-range:
- bytes=0-33554431
x-ms-version:
- '2023-11-03'
method: GET
uri: https://fake_account_name.blob.core.windows.net/fake-container-name/runs/batch_run_name/hello_world.py
response:
body:
string: "from promptflow import tool\r\n\r\n\r\n@tool\r\ndef hello_world(name:
str) -> str:\r\n return f\"Hello World {name}!\"\r\n"
headers:
accept-ranges:
- bytes
content-length:
- '111'
content-range:
- bytes 0-110/111
content-type:
- application/octet-stream
last-modified:
- Fri, 12 Jan 2024 08:10:38 GMT
server:
- Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
vary:
- Origin
x-ms-blob-content-md5:
- +bHgQBRcuk4oaGERTc8qeg==
x-ms-blob-type:
- BlockBlob
x-ms-copy-completion-time:
- Fri, 12 Jan 2024 08:10:38 GMT
x-ms-copy-id:
- 7663b9c2-f799-4710-b23f-e5995c6563eb
x-ms-copy-progress:
- 111/111
x-ms-copy-source:
- https://promptfloweast4063704120.blob.core.windows.net/azureml-blobstore-3e123da1-f9a5-4c91-9234-8d9ffbb39ff5/LocalUpload/36774154bc3ecde4aa21054b3052221f/hello-world/hello_world.py
x-ms-copy-status:
- success
x-ms-creation-time:
- Fri, 12 Jan 2024 08:10:38 GMT
x-ms-version:
- '2023-11-03'
status:
code: 206
message: Partial Content
- request:
body: null
headers:
Accept:
- application/xml
User-Agent:
- azsdk-python-storage-blob/12.19.0 Python/3.10.13 (Windows-10-10.0.22631-SP0)
x-ms-date:
- Fri, 12 Jan 2024 08:11:38 GMT
x-ms-range:
- bytes=0-33554431
x-ms-version:
- '2023-11-03'
method: GET
uri: https://fake_account_name.blob.core.windows.net/fake-container-name/promptflow/PromptFlowArtifacts/batch_run_name/flow_outputs/output.jsonl
response:
body:
string: '{"line_number": 0, "result": "Hello World https://www.youtube.com/watch?v=o5ZQyXaAv1g!"}
{"line_number": 1, "result": "Hello World https://www.youtube.com/watch?v=o5ZQyXaAv1g!"}
{"line_number": 2, "result": "Hello World https://www.youtube.com/watch?v=o5ZQyXaAv1g!"}
'
headers:
accept-ranges:
- bytes
content-length:
- '267'
content-range:
- bytes 0-266/267
content-type:
- application/octet-stream
last-modified:
- Fri, 12 Jan 2024 08:10:56 GMT
server:
- Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
vary:
- Origin
x-ms-blob-content-md5:
- RhzWn41vAT8bekG2OuHirg==
x-ms-blob-type:
- BlockBlob
x-ms-creation-time:
- Fri, 12 Jan 2024 08:10:56 GMT
x-ms-version:
- '2023-11-03'
status:
code: 206
message: Partial Content
- request:
body: null
headers:
Accept:
- application/xml
User-Agent:
- azsdk-python-storage-blob/12.19.0 Python/3.10.13 (Windows-10-10.0.22631-SP0)
x-ms-date:
- Fri, 12 Jan 2024 08:11:38 GMT
x-ms-range:
- bytes=0-33554431
x-ms-version:
- '2023-11-03'
method: GET
uri: https://fake_account_name.blob.core.windows.net/fake-container-name/promptflow/PromptFlowArtifacts/batch_run_name/flow_artifacts/000000000_000000024.jsonl
response:
body:
string: '{"line_number": 0, "run_info": {"run_id": "batch_run_name_0", "status":
"Completed", "error": null, "inputs": {"name": "https://www.youtube.com/watch?v=o5ZQyXaAv1g",
"line_number": 0}, "output": {"result": "Hello World https://www.youtube.com/watch?v=o5ZQyXaAv1g!"},
"metrics": null, "request": null, "parent_run_id": "batch_run_name", "root_run_id":
"batch_run_name", "source_run_id": null, "flow_id": "default_flow_id", "start_time":
"2024-01-12T08:10:53.633044Z", "end_time": "2024-01-12T08:10:53.639618Z",
"index": 0, "api_calls": [{"name": "hello_world", "type": "Tool", "inputs":
{"name": "https://www.youtube.com/watch?v=o5ZQyXaAv1g"}, "output": "Hello
World https://www.youtube.com/watch?v=o5ZQyXaAv1g!", "start_time": 1705047053.63676,
"end_time": 1705047053.637577, "error": null, "children": null, "node_name":
"hello_world"}], "variant_id": "", "name": "", "description": "", "tags":
null, "system_metrics": {"duration": 0.006574, "prompt_tokens": 0, "completion_tokens":
0, "total_tokens": 0}, "result": {"result": "Hello World https://www.youtube.com/watch?v=o5ZQyXaAv1g!"},
"upload_metrics": false}, "start_time": "2024-01-12T08:10:53.633044", "end_time":
"2024-01-12T08:10:53.639618", "name": "", "description": "", "status": "Completed",
"tags": null}
{"line_number": 1, "run_info": {"run_id": "batch_run_name_1", "status": "Completed",
"error": null, "inputs": {"name": "https://www.youtube.com/watch?v=o5ZQyXaAv1g",
"line_number": 1}, "output": {"result": "Hello World https://www.youtube.com/watch?v=o5ZQyXaAv1g!"},
"metrics": null, "request": null, "parent_run_id": "batch_run_name", "root_run_id":
"batch_run_name", "source_run_id": null, "flow_id": "default_flow_id", "start_time":
"2024-01-12T08:10:53.645944Z", "end_time": "2024-01-12T08:10:53.653897Z",
"index": 1, "api_calls": [{"name": "hello_world", "type": "Tool", "inputs":
{"name": "https://www.youtube.com/watch?v=o5ZQyXaAv1g"}, "output": "Hello
World https://www.youtube.com/watch?v=o5ZQyXaAv1g!", "start_time": 1705047053.650148,
"end_time": 1705047053.65095, "error": null, "children": null, "node_name":
"hello_world"}], "variant_id": "", "name": "", "description": "", "tags":
null, "system_metrics": {"duration": 0.007953, "prompt_tokens": 0, "completion_tokens":
0, "total_tokens": 0}, "result": {"result": "Hello World https://www.youtube.com/watch?v=o5ZQyXaAv1g!"},
"upload_metrics": false}, "start_time": "2024-01-12T08:10:53.645944", "end_time":
"2024-01-12T08:10:53.653897", "name": "", "description": "", "status": "Completed",
"tags": null}
{"line_number": 2, "run_info": {"run_id": "batch_run_name_2", "status": "Completed",
"error": null, "inputs": {"name": "https://www.youtube.com/watch?v=o5ZQyXaAv1g",
"line_number": 2}, "output": {"result": "Hello World https://www.youtube.com/watch?v=o5ZQyXaAv1g!"},
"metrics": null, "request": null, "parent_run_id": "batch_run_name", "root_run_id":
"batch_run_name", "source_run_id": null, "flow_id": "default_flow_id", "start_time":
"2024-01-12T08:10:53.765205Z", "end_time": "2024-01-12T08:10:53.771326Z",
"index": 2, "api_calls": [{"name": "hello_world", "type": "Tool", "inputs":
{"name": "https://www.youtube.com/watch?v=o5ZQyXaAv1g"}, "output": "Hello
World https://www.youtube.com/watch?v=o5ZQyXaAv1g!", "start_time": 1705047053.76852,
"end_time": 1705047053.76944, "error": null, "children": null, "node_name":
"hello_world"}], "variant_id": "", "name": "", "description": "", "tags":
null, "system_metrics": {"duration": 0.006121, "prompt_tokens": 0, "completion_tokens":
0, "total_tokens": 0}, "result": {"result": "Hello World https://www.youtube.com/watch?v=o5ZQyXaAv1g!"},
"upload_metrics": false}, "start_time": "2024-01-12T08:10:53.765205", "end_time":
"2024-01-12T08:10:53.771326", "name": "", "description": "", "status": "Completed",
"tags": null}
'
headers:
accept-ranges:
- bytes
content-length:
- '4004'
content-range:
- bytes 0-4003/4004
content-type:
- application/octet-stream
last-modified:
- Fri, 12 Jan 2024 08:10:53 GMT
server:
- Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
vary:
- Origin
x-ms-blob-committed-block-count:
- '3'
x-ms-blob-type:
- AppendBlob
x-ms-creation-time:
- Fri, 12 Jan 2024 08:10:53 GMT
x-ms-version:
- '2023-11-03'
status:
code: 206
message: Partial Content
- request:
body: null
headers:
Accept:
- application/xml
User-Agent:
- azsdk-python-storage-blob/12.19.0 Python/3.10.13 (Windows-10-10.0.22631-SP0)
x-ms-date:
- Fri, 12 Jan 2024 08:11:38 GMT
x-ms-range:
- bytes=0-33554431
x-ms-version:
- '2023-11-03'
method: GET
uri: https://fake_account_name.blob.core.windows.net/fake-container-name/promptflow/PromptFlowArtifacts/batch_run_name/meta.json
response:
body:
string: '{"batch_size": 25}'
headers:
accept-ranges:
- bytes
content-length:
- '18'
content-range:
- bytes 0-17/18
content-type:
- application/octet-stream
last-modified:
- Fri, 12 Jan 2024 08:10:52 GMT
server:
- Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
vary:
- Origin
x-ms-blob-content-md5:
- /u1NXUpgXMFDmZEw835qnw==
x-ms-blob-type:
- BlockBlob
x-ms-creation-time:
- Fri, 12 Jan 2024 08:10:52 GMT
x-ms-version:
- '2023-11-03'
status:
code: 206
message: Partial Content
- request:
body: null
headers:
Accept:
- application/xml
User-Agent:
- azsdk-python-storage-blob/12.19.0 Python/3.10.13 (Windows-10-10.0.22631-SP0)
x-ms-date:
- Fri, 12 Jan 2024 08:11:38 GMT
x-ms-range:
- bytes=0-33554431
x-ms-version:
- '2023-11-03'
method: GET
uri: https://fake_account_name.blob.core.windows.net/fake-container-name/promptflow/PromptFlowArtifacts/batch_run_name/instance_results.jsonl
response:
body:
string: '{"line_number": 0, "status": "Completed", "inputs.name": "https://www.youtube.com/watch?v=o5ZQyXaAv1g",
"inputs.line_number": 0, "result": "Hello World https://www.youtube.com/watch?v=o5ZQyXaAv1g!"}
{"line_number": 1, "status": "Completed", "inputs.name": "https://www.youtube.com/watch?v=o5ZQyXaAv1g",
"inputs.line_number": 1, "result": "Hello World https://www.youtube.com/watch?v=o5ZQyXaAv1g!"}
{"line_number": 2, "status": "Completed", "inputs.name": "https://www.youtube.com/watch?v=o5ZQyXaAv1g",
"inputs.line_number": 2, "result": "Hello World https://www.youtube.com/watch?v=o5ZQyXaAv1g!"}
'
headers:
accept-ranges:
- bytes
content-length:
- '597'
content-range:
- bytes 0-596/597
content-type:
- application/octet-stream
last-modified:
- Fri, 12 Jan 2024 08:10:53 GMT
server:
- Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
vary:
- Origin
x-ms-blob-committed-block-count:
- '3'
x-ms-blob-type:
- AppendBlob
x-ms-creation-time:
- Fri, 12 Jan 2024 08:10:53 GMT
x-ms-version:
- '2023-11-03'
status:
code: 206
message: Partial Content
- request:
body: null
headers:
Accept:
- application/xml
User-Agent:
- azsdk-python-storage-blob/12.19.0 Python/3.10.13 (Windows-10-10.0.22631-SP0)
x-ms-date:
- Fri, 12 Jan 2024 08:11:38 GMT
x-ms-range:
- bytes=0-33554431
x-ms-version:
- '2023-11-03'
method: GET
uri: https://fake_account_name.blob.core.windows.net/fake-container-name/promptflow/PromptFlowArtifacts/batch_run_name/node_artifacts/hello_world/000000002.jsonl
response:
body:
string: '{"node_name": "hello_world", "line_number": 2, "run_info": {"node":
"hello_world", "flow_run_id": "batch_run_name", "run_id": "batch_run_name_hello_world_2",
"status": "Completed", "inputs": {"name": "https://www.youtube.com/watch?v=o5ZQyXaAv1g"},
"output": "Hello World https://www.youtube.com/watch?v=o5ZQyXaAv1g!", "metrics":
null, "error": null, "parent_run_id": "batch_run_name_2", "start_time": "2024-01-12T08:10:53.767614Z",
"end_time": "2024-01-12T08:10:53.769841Z", "index": 2, "api_calls": [{"name":
"hello_world", "type": "Tool", "inputs": {"name": "https://www.youtube.com/watch?v=o5ZQyXaAv1g"},
"output": "Hello World https://www.youtube.com/watch?v=o5ZQyXaAv1g!", "start_time":
1705047053.76852, "end_time": 1705047053.76944, "error": null, "children":
null, "node_name": "hello_world"}], "variant_id": "", "cached_run_id": null,
"cached_flow_run_id": null, "logs": {"stdout": "", "stderr": ""}, "system_metrics":
{"duration": 0.002227}, "result": "Hello World https://www.youtube.com/watch?v=o5ZQyXaAv1g!"},
"start_time": "2024-01-12T08:10:53.767614", "end_time": "2024-01-12T08:10:53.769841",
"status": "Completed"}'
headers:
accept-ranges:
- bytes
content-length:
- '1197'
content-range:
- bytes 0-1196/1197
content-type:
- application/octet-stream
last-modified:
- Fri, 12 Jan 2024 08:10:53 GMT
server:
- Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
vary:
- Origin
x-ms-blob-content-md5:
- uNDmrXkZIRdBycvMcJlF5w==
x-ms-blob-type:
- BlockBlob
x-ms-creation-time:
- Fri, 12 Jan 2024 08:10:53 GMT
x-ms-version:
- '2023-11-03'
status:
code: 206
message: Partial Content
- request:
body: null
headers:
Accept:
- application/xml
User-Agent:
- azsdk-python-storage-blob/12.19.0 Python/3.10.13 (Windows-10-10.0.22631-SP0)
x-ms-date:
- Fri, 12 Jan 2024 08:11:38 GMT
x-ms-range:
- bytes=0-33554431
x-ms-version:
- '2023-11-03'
method: GET
uri: https://fake_account_name.blob.core.windows.net/fake-container-name/promptflow/PromptFlowArtifacts/batch_run_name/node_artifacts/hello_world/000000001.jsonl
response:
body:
string: '{"node_name": "hello_world", "line_number": 1, "run_info": {"node":
"hello_world", "flow_run_id": "batch_run_name", "run_id": "batch_run_name_hello_world_1",
"status": "Completed", "inputs": {"name": "https://www.youtube.com/watch?v=o5ZQyXaAv1g"},
"output": "Hello World https://www.youtube.com/watch?v=o5ZQyXaAv1g!", "metrics":
null, "error": null, "parent_run_id": "batch_run_name_1", "start_time": "2024-01-12T08:10:53.648117Z",
"end_time": "2024-01-12T08:10:53.651426Z", "index": 1, "api_calls": [{"name":
"hello_world", "type": "Tool", "inputs": {"name": "https://www.youtube.com/watch?v=o5ZQyXaAv1g"},
"output": "Hello World https://www.youtube.com/watch?v=o5ZQyXaAv1g!", "start_time":
1705047053.650148, "end_time": 1705047053.65095, "error": null, "children":
null, "node_name": "hello_world"}], "variant_id": "", "cached_run_id": null,
"cached_flow_run_id": null, "logs": {"stdout": "", "stderr": ""}, "system_metrics":
{"duration": 0.003309}, "result": "Hello World https://www.youtube.com/watch?v=o5ZQyXaAv1g!"},
"start_time": "2024-01-12T08:10:53.648117", "end_time": "2024-01-12T08:10:53.651426",
"status": "Completed"}'
headers:
accept-ranges:
- bytes
content-length:
- '1198'
content-range:
- bytes 0-1197/1198
content-type:
- application/octet-stream
last-modified:
- Fri, 12 Jan 2024 08:10:53 GMT
server:
- Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
vary:
- Origin
x-ms-blob-content-md5:
- nK3XJ818HLYvfiuQPMZhqg==
x-ms-blob-type:
- BlockBlob
x-ms-creation-time:
- Fri, 12 Jan 2024 08:10:53 GMT
x-ms-version:
- '2023-11-03'
status:
code: 206
message: Partial Content
- request:
body: null
headers:
Accept:
- application/xml
User-Agent:
- azsdk-python-storage-blob/12.19.0 Python/3.10.13 (Windows-10-10.0.22631-SP0)
x-ms-date:
- Fri, 12 Jan 2024 08:11:38 GMT
x-ms-range:
- bytes=0-33554431
x-ms-version:
- '2023-11-03'
method: GET
uri: https://fake_account_name.blob.core.windows.net/fake-container-name/promptflow/PromptFlowArtifacts/batch_run_name/node_artifacts/hello_world/000000000.jsonl
response:
body:
string: '{"node_name": "hello_world", "line_number": 0, "run_info": {"node":
"hello_world", "flow_run_id": "batch_run_name", "run_id": "batch_run_name_hello_world_0",
"status": "Completed", "inputs": {"name": "https://www.youtube.com/watch?v=o5ZQyXaAv1g"},
"output": "Hello World https://www.youtube.com/watch?v=o5ZQyXaAv1g!", "metrics":
null, "error": null, "parent_run_id": "batch_run_name_0", "start_time": "2024-01-12T08:10:53.635835Z",
"end_time": "2024-01-12T08:10:53.638034Z", "index": 0, "api_calls": [{"name":
"hello_world", "type": "Tool", "inputs": {"name": "https://www.youtube.com/watch?v=o5ZQyXaAv1g"},
"output": "Hello World https://www.youtube.com/watch?v=o5ZQyXaAv1g!", "start_time":
1705047053.63676, "end_time": 1705047053.637577, "error": null, "children":
null, "node_name": "hello_world"}], "variant_id": "", "cached_run_id": null,
"cached_flow_run_id": null, "logs": {"stdout": "", "stderr": ""}, "system_metrics":
{"duration": 0.002199}, "result": "Hello World https://www.youtube.com/watch?v=o5ZQyXaAv1g!"},
"start_time": "2024-01-12T08:10:53.635835", "end_time": "2024-01-12T08:10:53.638034",
"status": "Completed"}'
headers:
accept-ranges:
- bytes
content-length:
- '1198'
content-range:
- bytes 0-1197/1198
content-type:
- application/octet-stream
last-modified:
- Fri, 12 Jan 2024 08:10:53 GMT
server:
- Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
vary:
- Origin
x-ms-blob-content-md5:
- DSgFq8oOaGajvyQtRsalPQ==
x-ms-blob-type:
- BlockBlob
x-ms-creation-time:
- Fri, 12 Jan 2024 08:10:53 GMT
x-ms-version:
- '2023-11-03'
status:
code: 206
message: Partial Content
- request:
body: '{"runId": "batch_run_name", "selectRunMetadata": true, "selectRunDefinition":
true, "selectJobSpecification": true}'
headers:
accept:
- '*/*'
accept-encoding:
- gzip, deflate
connection:
- keep-alive
content-length:
- '137'
content-type:
- application/json
host:
- eastus.api.azureml.ms
user-agent:
- python-httpx/0.25.2
method: POST
uri: https://eastus.api.azureml.ms/history/v1.0/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/rundata
response:
content: '{"runMetadata": {"runNumber": 1705047036, "rootRunId": "batch_run_name",
"createdUtc": "2024-01-12T08:10:36.1767992+00:00", "createdBy": {"userObjectId":
"00000000-0000-0000-0000-000000000000", "userPuId": null, "userIdp": "https://sts.windows.net/00000000-0000-0000-0000-000000000000/",
"userAltSecId": null, "userIss": "https://sts.windows.net/00000000-0000-0000-0000-000000000000/",
"userTenantId": "00000000-0000-0000-0000-000000000000", "userName": "4cbd0e2e-aae4-4099-b4ba-94d3a4910587",
"upn": null}, "userId": "00000000-0000-0000-0000-000000000000", "token": null,
"tokenExpiryTimeUtc": null, "error": null, "warnings": null, "revision": 6,
"statusRevision": 3, "runUuid": "bf13babe-39fb-4e3e-86c8-7d96d72ee03b", "parentRunUuid":
null, "rootRunUuid": "bf13babe-39fb-4e3e-86c8-7d96d72ee03b", "lastStartTimeUtc":
null, "currentComputeTime": null, "computeDuration": "00:00:03.7064057", "effectiveStartTimeUtc":
null, "lastModifiedBy": {"userObjectId": "00000000-0000-0000-0000-000000000000",
"userPuId": null, "userIdp": "https://sts.windows.net/00000000-0000-0000-0000-000000000000/",
"userAltSecId": null, "userIss": "https://sts.windows.net/00000000-0000-0000-0000-000000000000/",
"userTenantId": "00000000-0000-0000-0000-000000000000", "userName": "18a66f5f-dbdf-4c17-9dd7-1634712a9cbe",
"upn": null}, "lastModifiedUtc": "2024-01-12T08:10:56.1285338+00:00", "duration":
"00:00:03.7064057", "cancelationReason": null, "currentAttemptId": 1, "runId":
"batch_run_name", "parentRunId": null, "experimentId": "b1e733a1-2a5f-4c17-bc34-4d66d2858228",
"status": "Completed", "startTimeUtc": "2024-01-12T08:10:53.2515507+00:00",
"endTimeUtc": "2024-01-12T08:10:56.9579564+00:00", "scheduleId": null, "displayName":
"sdk-cli-test-fixture-batch-run-without-llm", "name": null, "dataContainerId":
"dcid.batch_run_name", "description": null, "hidden": false, "runType": "azureml.promptflow.FlowRun",
"runTypeV2": {"orchestrator": null, "traits": [], "attribution": "PromptFlow",
"computeType": "AmlcDsi"}, "properties": {"azureml.promptflow.runtime_name":
"test-runtime-ci", "azureml.promptflow.runtime_version": "20231204.v4", "azureml.promptflow.definition_file_name":
"flow.dag.yaml", "azureml.promptflow.session_id": "bee356189f7e7f18671a79369c78df4cfb1bbd0c99069074",
"azureml.promptflow.flow_lineage_id": "f7ee724d91e4f4a7501bdc0b66995bc8b57f86b3a526fa2a81c34ebcccbbd912",
"azureml.promptflow.flow_definition_datastore_name": "workspaceblobstore", "azureml.promptflow.flow_definition_blob_path":
"LocalUpload/36774154bc3ecde4aa21054b3052221f/hello-world/flow.dag.yaml", "azureml.promptflow.input_data":
"azureml://datastores/workspaceblobstore/paths/LocalUpload/74c11bba717480b2d6b04b8e746d09d7/webClassification3.jsonl",
"azureml.promptflow.inputs_mapping": "{\"name\":\"${data.url}\"}", "_azureml.evaluation_run":
"promptflow.BatchRun", "azureml.promptflow.snapshot_id": "4debf50d-5af4-4fd7-9e55-e2796fcf44bb",
"azureml.promptflow.total_tokens": "0", "_azureml.evaluate_artifacts": "[{\"path\":
\"instance_results.jsonl\", \"type\": \"table\"}]"}, "parameters": {}, "actionUris":
{}, "scriptName": null, "target": null, "uniqueChildRunComputeTargets": [],
"tags": {}, "settings": {}, "services": {}, "inputDatasets": [], "outputDatasets":
[], "runDefinition": null, "jobSpecification": null, "primaryMetricName": null,
"createdFrom": null, "cancelUri": null, "completeUri": null, "diagnosticsUri":
null, "computeRequest": null, "compute": null, "retainForLifetimeOfWorkspace":
false, "queueingInfo": null, "inputs": null, "outputs": {"debug_info": {"assetId":
"azureml://locations/eastus/workspaces/00000/data/azureml_batch_run_name_output_data_debug_info/versions/1",
"type": "UriFolder"}, "flow_outputs": {"assetId": "azureml://locations/eastus/workspaces/00000/data/azureml_batch_run_name_output_data_flow_outputs/versions/1",
"type": "UriFolder"}}}, "runDefinition": null, "jobSpecification": null, "systemSettings":
null}'
headers:
connection:
- keep-alive
content-type:
- application/json; charset=utf-8
strict-transport-security:
- max-age=15724800; includeSubDomains; preload
transfer-encoding:
- chunked
vary:
- Accept-Encoding
x-content-type-options:
- nosniff
x-request-time:
- '0.050'
http_version: HTTP/1.1
status_code: 200
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Type:
- application/json
User-Agent:
- promptflow-sdk/0.0.1 azsdk-python-azuremachinelearningdesignerserviceclient/unknown
Python/3.10.13 (Windows-10-10.0.22631-SP0)
method: GET
uri: https://eastus.api.azureml.ms/flow/api/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/BulkRuns/batch_run_name/logContent
response:
body:
string: '"2024-01-12 08:10:40 +0000 78 promptflow-runtime INFO [batch_run_name]
Receiving v2 bulk run request afa4241f-f534-4374-a02d-7756e119f3f7: {\"flow_id\":
\"batch_run_name\", \"flow_run_id\": \"batch_run_name\", \"flow_source\":
{\"flow_source_type\": 1, \"flow_source_info\": {\"snapshot_id\": \"4debf50d-5af4-4fd7-9e55-e2796fcf44bb\"},
\"flow_dag_file\": \"flow.dag.yaml\"}, \"log_path\": \"https://promptfloweast4063704120.blob.core.windows.net/azureml/ExperimentRun/dcid.batch_run_name/logs/azureml/executionlogs.txt?sv=2019-07-07&sr=b&sig=**data_scrubbed**&skoid=55b92eba-d7c7-4afd-ab76-7bb1cd345283&sktid=00000000-0000-0000-0000-000000000000&skt=2024-01-12T07%3A53%3A03Z&ske=2024-01-13T16%3A03%3A03Z&sks=b&skv=2019-07-07&st=2024-01-12T08%3A00%3A39Z&se=2024-01-12T16%3A10%3A39Z&sp=rcw\",
\"app_insights_instrumentation_key\": \"InstrumentationKey=**data_scrubbed**;IngestionEndpoint=https://eastus-6.in.applicationinsights.azure.com/;LiveEndpoint=https://eastus.livediagnostics.monitor.azure.com/\",
\"data_inputs\": {\"data\": \"azureml://datastores/workspaceblobstore/paths/LocalUpload/74c11bba717480b2d6b04b8e746d09d7/webClassification3.jsonl\"},
\"inputs_mapping\": {\"name\": \"${data.url}\"}, \"azure_storage_setting\":
{\"azure_storage_mode\": 1, \"storage_account_name\": \"promptfloweast4063704120\",
\"blob_container_name\": \"azureml-blobstore-3e123da1-f9a5-4c91-9234-8d9ffbb39ff5\",
\"flow_artifacts_root_path\": \"promptflow/PromptFlowArtifacts/batch_run_name\",
\"blob_container_sas_token\": \"?sv=2019-07-07&sr=c&sig=**data_scrubbed**&skoid=55b92eba-d7c7-4afd-ab76-7bb1cd345283&sktid=00000000-0000-0000-0000-000000000000&skt=2024-01-12T08%3A10%3A40Z&ske=2024-01-19T08%3A10%3A40Z&sks=b&skv=2019-07-07&se=2024-01-19T08%3A10%3A40Z&sp=racwl\",
\"output_datastore_name\": \"workspaceblobstore\"}}\n2024-01-12 08:10:40 +0000 78
promptflow-runtime INFO Runtime version: 20231204.v4. PromptFlow version:
1.2.0rc1\n2024-01-12 08:10:40 +0000 78 promptflow-runtime INFO Updating
batch_run_name to Status.Preparing...\n2024-01-12 08:10:41 +0000 78 promptflow-runtime
INFO Downloading snapshot to /mnt/host/service/app/39415/requests/batch_run_name\n2024-01-12
08:10:41 +0000 78 promptflow-runtime INFO Get snapshot sas url for
4debf50d-5af4-4fd7-9e55-e2796fcf44bb...\n2024-01-12 08:10:47 +0000 78
promptflow-runtime INFO Downloading snapshot 4debf50d-5af4-4fd7-9e55-e2796fcf44bb
from uri https://promptfloweast4063704120.blob.core.windows.net/snapshotzips/promptflow-eastus:3e123da1-f9a5-4c91-9234-8d9ffbb39ff5:snapshotzip/4debf50d-5af4-4fd7-9e55-e2796fcf44bb.zip...\n2024-01-12
08:10:47 +0000 78 promptflow-runtime INFO Downloaded file /mnt/host/service/app/39415/requests/batch_run_name/4debf50d-5af4-4fd7-9e55-e2796fcf44bb.zip
with size 495 for snapshot 4debf50d-5af4-4fd7-9e55-e2796fcf44bb.\n2024-01-12
08:10:47 +0000 78 promptflow-runtime INFO Download snapshot 4debf50d-5af4-4fd7-9e55-e2796fcf44bb
completed.\n2024-01-12 08:10:47 +0000 78 promptflow-runtime INFO Successfully
download snapshot to /mnt/host/service/app/39415/requests/batch_run_name\n2024-01-12
08:10:47 +0000 78 promptflow-runtime INFO About to execute a python
flow.\n2024-01-12 08:10:47 +0000 78 promptflow-runtime INFO Use spawn
method to start child process.\n2024-01-12 08:10:47 +0000 78 promptflow-runtime
INFO Starting to check process 3638 status for run batch_run_name\n2024-01-12
08:10:47 +0000 78 promptflow-runtime INFO Start checking run status
for run batch_run_name\n2024-01-12 08:10:51 +0000 3638 promptflow-runtime
INFO [78--3638] Start processing flowV2......\n2024-01-12 08:10:51 +0000 3638
promptflow-runtime INFO Runtime version: 20231204.v4. PromptFlow version:
1.2.0rc1\n2024-01-12 08:10:51 +0000 3638 promptflow-runtime INFO Setting
mlflow tracking uri...\n2024-01-12 08:10:51 +0000 3638 promptflow-runtime
INFO Validating ''AzureML Data Scientist'' user authentication...\n2024-01-12
08:10:52 +0000 3638 promptflow-runtime INFO Successfully validated
''AzureML Data Scientist'' user authentication.\n2024-01-12 08:10:52 +0000 3638
promptflow-runtime INFO Using AzureMLRunStorageV2\n2024-01-12 08:10:52
+0000 3638 promptflow-runtime INFO Setting mlflow tracking uri to ''azureml://eastus.api.azureml.ms/mlflow/v1.0/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/promptflow-eastus''\n2024-01-12
08:10:52 +0000 3638 promptflow-runtime INFO Initialized blob service
client for AzureMLRunTracker.\n2024-01-12 08:10:52 +0000 3638 promptflow-runtime
INFO Setting mlflow tracking uri to ''azureml://eastus.api.azureml.ms/mlflow/v1.0/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/promptflow-eastus''\n2024-01-12
08:10:52 +0000 3638 promptflow-runtime INFO Resolve data from url finished
in 0.49738570116460323 seconds\n2024-01-12 08:10:53 +0000 3638 promptflow-runtime
INFO Starting the aml run ''batch_run_name''...\n2024-01-12 08:10:53 +0000 3638
execution.bulk INFO Using fork, process count: 3\n2024-01-12 08:10:53
+0000 3680 execution.bulk INFO Process 3680 started.\n2024-01-12
08:10:53 +0000 3690 execution.bulk INFO Process 3690 started.\n2024-01-12
08:10:53 +0000 3638 execution.bulk INFO Process name: ForkProcess-46:2,
Process id: 3680, Line number: 0 start execution.\n2024-01-12 08:10:53 +0000 3638
execution.bulk INFO Process name: ForkProcess-46:3, Process id: 3690,
Line number: 1 start execution.\n2024-01-12 08:10:53 +0000 3638 execution.bulk INFO Process
name: ForkProcess-46:2, Process id: 3680, Line number: 0 completed.\n2024-01-12
08:10:53 +0000 3685 execution.bulk INFO Process 3685 started.\n2024-01-12
08:10:53 +0000 3638 execution.bulk INFO Finished 1 / 3 lines.\n2024-01-12
08:10:53 +0000 3638 execution.bulk INFO Process name: ForkProcess-46:4,
Process id: 3685, Line number: 2 start execution.\n2024-01-12 08:10:53 +0000 3638
execution.bulk INFO Average execution time for completed lines: 0.22
seconds. Estimated time for incomplete lines: 0.44 seconds.\n2024-01-12 08:10:53
+0000 3638 execution.bulk INFO Process name: ForkProcess-46:3,
Process id: 3690, Line number: 1 completed.\n2024-01-12 08:10:53 +0000 3638
execution.bulk INFO Finished 2 / 3 lines.\n2024-01-12 08:10:53 +0000 3638
execution.bulk INFO Average execution time for completed lines: 0.14
seconds. Estimated time for incomplete lines: 0.14 seconds.\n2024-01-12 08:10:53
+0000 3638 execution.bulk INFO Process name: ForkProcess-46:4,
Process id: 3685, Line number: 2 completed.\n2024-01-12 08:10:53 +0000 3638
execution.bulk INFO Finished 3 / 3 lines.\n2024-01-12 08:10:53 +0000 3638
execution.bulk INFO Average execution time for completed lines: 0.11
seconds. Estimated time for incomplete lines: 0.0 seconds.\n2024-01-12 08:10:56
+0000 3638 execution.bulk INFO Upload status summary metrics for
run batch_run_name finished in 1.1332635823637247 seconds\n2024-01-12 08:10:56
+0000 3638 promptflow-runtime INFO Successfully write run properties
{\"azureml.promptflow.total_tokens\": 0, \"_azureml.evaluate_artifacts\":
\"[{\\\"path\\\": \\\"instance_results.jsonl\\\", \\\"type\\\": \\\"table\\\"}]\"}
with run id ''batch_run_name''\n2024-01-12 08:10:56 +0000 3638 execution.bulk INFO Upload
RH properties for run batch_run_name finished in 0.0716887628659606 seconds\n2024-01-12
08:10:56 +0000 3638 promptflow-runtime INFO Creating unregistered output
Asset for Run batch_run_name...\n2024-01-12 08:10:56 +0000 3638 promptflow-runtime
INFO Created debug_info Asset: azureml://locations/eastus/workspaces/00000/data/azureml_batch_run_name_output_data_debug_info/versions/1\n2024-01-12
08:10:56 +0000 3638 promptflow-runtime INFO Creating unregistered output
Asset for Run batch_run_name...\n2024-01-12 08:10:56 +0000 3638 promptflow-runtime
INFO Created flow_outputs output Asset: azureml://locations/eastus/workspaces/00000/data/azureml_batch_run_name_output_data_flow_outputs/versions/1\n2024-01-12
08:10:56 +0000 3638 promptflow-runtime INFO Creating Artifact for Run
batch_run_name...\n2024-01-12 08:10:56 +0000 3638 promptflow-runtime INFO Created
instance_results.jsonl Artifact.\n2024-01-12 08:10:56 +0000 3638 promptflow-runtime
INFO Patching batch_run_name...\n2024-01-12 08:10:56 +0000 3638 promptflow-runtime
INFO Ending the aml run ''batch_run_name'' with status ''Completed''...\n2024-01-12
08:10:58 +0000 78 promptflow-runtime INFO Process 3638 finished\n2024-01-12
08:10:58 +0000 78 promptflow-runtime INFO [78] Child process finished!\n2024-01-12
08:10:58 +0000 78 promptflow-runtime INFO [batch_run_name] End processing
bulk run\n2024-01-12 08:10:58 +0000 78 promptflow-runtime INFO Cleanup
working dir /mnt/host/service/app/39415/requests/batch_run_name for bulk run\n"'
headers:
connection:
- keep-alive
content-length:
- '9817'
content-type:
- application/json; charset=utf-8
strict-transport-security:
- max-age=15724800; includeSubDomains; preload
transfer-encoding:
- chunked
vary:
- Accept-Encoding
x-content-type-options:
- nosniff
x-request-time:
- '0.576'
status:
code: 200
message: OK
version: 1
| promptflow/src/promptflow/tests/test_configs/recordings/test_run_operations_TestFlowRun_test_download_run.yaml/0 | {
"file_path": "promptflow/src/promptflow/tests/test_configs/recordings/test_run_operations_TestFlowRun_test_download_run.yaml",
"repo_id": "promptflow",
"token_count": 76599
} | 90 |
interactions:
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- promptflow-sdk/0.0.1 promptflow/0.0.1 azure-ai-ml/1.12.1 azsdk-python-mgmt-machinelearningservices/0.1.0
Python/3.10.13 (Windows-10-10.0.22631-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000
response:
body:
string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000",
"name": "00000", "type": "Microsoft.MachineLearningServices/workspaces", "location":
"eastus", "tags": {}, "etag": null, "kind": "Default", "sku": {"name": "Basic",
"tier": "Basic"}, "properties": {"discoveryUrl": "https://eastus.api.azureml.ms/discovery"}}'
headers:
cache-control:
- no-cache
content-length:
- '3630'
content-type:
- application/json; charset=utf-8
expires:
- '-1'
pragma:
- no-cache
strict-transport-security:
- max-age=31536000; includeSubDomains
vary:
- Accept-Encoding
x-cache:
- CONFIG_NOCACHE
x-content-type-options:
- nosniff
x-request-time:
- '0.032'
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- promptflow-sdk/0.0.1 promptflow/0.0.1 azure-ai-ml/1.12.1 azsdk-python-mgmt-machinelearningservices/0.1.0
Python/3.10.13 (Windows-10-10.0.22631-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/datastores?count=30&isDefault=true&orderByAsc=false
response:
body:
string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/datastores/workspaceblobstore",
"name": "workspaceblobstore", "type": "Microsoft.MachineLearningServices/workspaces/datastores",
"properties": {"description": null, "tags": null, "properties": null, "isDefault":
true, "credentials": {"credentialsType": "AccountKey"}, "intellectualProperty":
null, "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroup":
"00000", "datastoreType": "AzureBlob", "accountName": "fake_account_name",
"containerName": "fake-container-name", "endpoint": "core.windows.net", "protocol":
"https", "serviceDataAccessAuthIdentity": "WorkspaceSystemAssignedIdentity"},
"systemData": {"createdAt": "2023-04-08T02:53:06.5886442+00:00", "createdBy":
"779301c0-18b2-4cdc-801b-a0a3368fee0a", "createdByType": "Application", "lastModifiedAt":
"2023-04-08T02:53:07.521127+00:00", "lastModifiedBy": "779301c0-18b2-4cdc-801b-a0a3368fee0a",
"lastModifiedByType": "Application"}}]}'
headers:
cache-control:
- no-cache
content-length:
- '1372'
content-type:
- application/json; charset=utf-8
expires:
- '-1'
pragma:
- no-cache
strict-transport-security:
- max-age=31536000; includeSubDomains
vary:
- Accept-Encoding
x-cache:
- CONFIG_NOCACHE
x-content-type-options:
- nosniff
x-request-time:
- '0.104'
status:
code: 200
message: OK
version: 1
| promptflow/src/promptflow/tests/test_configs/recordings/test_run_operations_TestFlowRun_test_run_bulk_not_exist.yaml/0 | {
"file_path": "promptflow/src/promptflow/tests/test_configs/recordings/test_run_operations_TestFlowRun_test_run_bulk_not_exist.yaml",
"repo_id": "promptflow",
"token_count": 1645
} | 91 |
interactions:
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- promptflow-sdk/0.0.1 azure-ai-ml/1.12.1 azsdk-python-mgmt-machinelearningservices/0.1.0
Python/3.10.13 (Windows-10-10.0.22631-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000
response:
body:
string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000",
"name": "00000", "type": "Microsoft.MachineLearningServices/workspaces", "location":
"eastus", "tags": {}, "etag": null, "kind": "Default", "sku": {"name": "Basic",
"tier": "Basic"}, "properties": {"discoveryUrl": "https://eastus.api.azureml.ms/discovery"}}'
headers:
cache-control:
- no-cache
content-length:
- '3630'
content-type:
- application/json; charset=utf-8
expires:
- '-1'
pragma:
- no-cache
strict-transport-security:
- max-age=31536000; includeSubDomains
transfer-encoding:
- chunked
vary:
- Accept-Encoding,Accept-Encoding
x-content-type-options:
- nosniff
x-request-time:
- '0.029'
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- promptflow-sdk/0.0.1 azure-ai-ml/1.12.1 azsdk-python-mgmt-machinelearningservices/0.1.0
Python/3.10.13 (Windows-10-10.0.22631-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/datastores?count=30&isDefault=true&orderByAsc=false
response:
body:
string: '{"value": [{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/datastores/workspaceblobstore",
"name": "workspaceblobstore", "type": "Microsoft.MachineLearningServices/workspaces/datastores",
"properties": {"description": null, "tags": null, "properties": null, "isDefault":
true, "credentials": {"credentialsType": "AccountKey"}, "intellectualProperty":
null, "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroup":
"00000", "datastoreType": "AzureBlob", "accountName": "fake_account_name",
"containerName": "fake-container-name", "endpoint": "core.windows.net", "protocol":
"https", "serviceDataAccessAuthIdentity": "WorkspaceSystemAssignedIdentity"},
"systemData": {"createdAt": "2023-04-08T02:53:06.5886442+00:00", "createdBy":
"779301c0-18b2-4cdc-801b-a0a3368fee0a", "createdByType": "Application", "lastModifiedAt":
"2023-04-08T02:53:07.521127+00:00", "lastModifiedBy": "779301c0-18b2-4cdc-801b-a0a3368fee0a",
"lastModifiedByType": "Application"}}]}'
headers:
cache-control:
- no-cache
content-length:
- '1372'
content-type:
- application/json; charset=utf-8
expires:
- '-1'
pragma:
- no-cache
strict-transport-security:
- max-age=31536000; includeSubDomains
transfer-encoding:
- chunked
vary:
- Accept-Encoding,Accept-Encoding
x-content-type-options:
- nosniff
x-request-time:
- '0.047'
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- promptflow-sdk/0.0.1 azure-ai-ml/1.12.1 azsdk-python-mgmt-machinelearningservices/0.1.0
Python/3.10.13 (Windows-10-10.0.22631-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/datastores/workspaceblobstore
response:
body:
string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/datastores/workspaceblobstore",
"name": "workspaceblobstore", "type": "Microsoft.MachineLearningServices/workspaces/datastores",
"properties": {"description": null, "tags": null, "properties": null, "isDefault":
true, "credentials": {"credentialsType": "AccountKey"}, "intellectualProperty":
null, "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroup":
"00000", "datastoreType": "AzureBlob", "accountName": "fake_account_name",
"containerName": "fake-container-name", "endpoint": "core.windows.net", "protocol":
"https", "serviceDataAccessAuthIdentity": "WorkspaceSystemAssignedIdentity"},
"systemData": {"createdAt": "2023-04-08T02:53:06.5886442+00:00", "createdBy":
"779301c0-18b2-4cdc-801b-a0a3368fee0a", "createdByType": "Application", "lastModifiedAt":
"2023-04-08T02:53:07.521127+00:00", "lastModifiedBy": "779301c0-18b2-4cdc-801b-a0a3368fee0a",
"lastModifiedByType": "Application"}}'
headers:
cache-control:
- no-cache
content-length:
- '1227'
content-type:
- application/json; charset=utf-8
expires:
- '-1'
pragma:
- no-cache
strict-transport-security:
- max-age=31536000; includeSubDomains
transfer-encoding:
- chunked
vary:
- Accept-Encoding,Accept-Encoding
x-content-type-options:
- nosniff
x-request-time:
- '0.149'
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:
- '0'
User-Agent:
- promptflow-sdk/0.0.1 azure-ai-ml/1.12.1 azsdk-python-mgmt-machinelearningservices/0.1.0
Python/3.10.13 (Windows-10-10.0.22631-SP0)
method: POST
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/datastores/workspaceblobstore/listSecrets
response:
body:
string: '{"secretsType": "AccountKey", "key": "dGhpcyBpcyBmYWtlIGtleQ=="}'
headers:
cache-control:
- no-cache
content-length:
- '134'
content-type:
- application/json; charset=utf-8
expires:
- '-1'
pragma:
- no-cache
strict-transport-security:
- max-age=31536000; includeSubDomains
transfer-encoding:
- chunked
vary:
- Accept-Encoding
x-content-type-options:
- nosniff
x-request-time:
- '0.096'
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/xml
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- azsdk-python-storage-blob/12.19.0 Python/3.10.13 (Windows-10-10.0.22631-SP0)
x-ms-date:
- Fri, 12 Jan 2024 07:59:11 GMT
x-ms-version:
- '2023-11-03'
method: HEAD
uri: https://fake_account_name.blob.core.windows.net/fake-container-name/LocalUpload/000000000000000000000000000000000000/webClassification3.jsonl
response:
body:
string: ''
headers:
accept-ranges:
- bytes
content-length:
- '379'
content-md5:
- lI/pz9jzTQ7Td3RHPL7y7w==
content-type:
- application/octet-stream
last-modified:
- Mon, 06 Nov 2023 08:30:18 GMT
server:
- Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
vary:
- Origin
x-ms-blob-type:
- BlockBlob
x-ms-creation-time:
- Mon, 06 Nov 2023 08:30:18 GMT
x-ms-meta-name:
- 94331215-cf7f-452a-9f1a-1d276bc9b0e4
x-ms-meta-upload_status:
- completed
x-ms-meta-version:
- 3f163752-edb0-4afc-a6f5-b0a670bd7c24
x-ms-version:
- '2023-11-03'
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/xml
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- azsdk-python-storage-blob/12.19.0 Python/3.10.13 (Windows-10-10.0.22631-SP0)
x-ms-date:
- Fri, 12 Jan 2024 07:59:12 GMT
x-ms-version:
- '2023-11-03'
method: HEAD
uri: https://fake_account_name.blob.core.windows.net/fake-container-name/az-ml-artifacts/000000000000000000000000000000000000/webClassification3.jsonl
response:
body:
string: ''
headers:
server:
- Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
transfer-encoding:
- chunked
vary:
- Origin
x-ms-error-code:
- BlobNotFound
x-ms-version:
- '2023-11-03'
status:
code: 404
message: The specified blob does not exist.
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- promptflow-sdk/0.0.1 azure-ai-ml/1.12.1 azsdk-python-mgmt-machinelearningservices/0.1.0
Python/3.10.13 (Windows-10-10.0.22631-SP0)
method: GET
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/datastores/workspaceblobstore
response:
body:
string: '{"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/datastores/workspaceblobstore",
"name": "workspaceblobstore", "type": "Microsoft.MachineLearningServices/workspaces/datastores",
"properties": {"description": null, "tags": null, "properties": null, "isDefault":
true, "credentials": {"credentialsType": "AccountKey"}, "intellectualProperty":
null, "subscriptionId": "00000000-0000-0000-0000-000000000000", "resourceGroup":
"00000", "datastoreType": "AzureBlob", "accountName": "fake_account_name",
"containerName": "fake-container-name", "endpoint": "core.windows.net", "protocol":
"https", "serviceDataAccessAuthIdentity": "WorkspaceSystemAssignedIdentity"},
"systemData": {"createdAt": "2023-04-08T02:53:06.5886442+00:00", "createdBy":
"779301c0-18b2-4cdc-801b-a0a3368fee0a", "createdByType": "Application", "lastModifiedAt":
"2023-04-08T02:53:07.521127+00:00", "lastModifiedBy": "779301c0-18b2-4cdc-801b-a0a3368fee0a",
"lastModifiedByType": "Application"}}'
headers:
cache-control:
- no-cache
content-length:
- '1227'
content-type:
- application/json; charset=utf-8
expires:
- '-1'
pragma:
- no-cache
strict-transport-security:
- max-age=31536000; includeSubDomains
transfer-encoding:
- chunked
vary:
- Accept-Encoding,Accept-Encoding
x-content-type-options:
- nosniff
x-request-time:
- '0.095'
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:
- '0'
User-Agent:
- promptflow-sdk/0.0.1 azure-ai-ml/1.12.1 azsdk-python-mgmt-machinelearningservices/0.1.0
Python/3.10.13 (Windows-10-10.0.22631-SP0)
method: POST
uri: https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/datastores/workspaceblobstore/listSecrets
response:
body:
string: '{"secretsType": "AccountKey", "key": "dGhpcyBpcyBmYWtlIGtleQ=="}'
headers:
cache-control:
- no-cache
content-length:
- '134'
content-type:
- application/json; charset=utf-8
expires:
- '-1'
pragma:
- no-cache
strict-transport-security:
- max-age=31536000; includeSubDomains
transfer-encoding:
- chunked
vary:
- Accept-Encoding
x-content-type-options:
- nosniff
x-request-time:
- '0.129'
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/xml
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- azsdk-python-storage-blob/12.19.0 Python/3.10.13 (Windows-10-10.0.22631-SP0)
x-ms-date:
- Fri, 12 Jan 2024 07:59:16 GMT
x-ms-version:
- '2023-11-03'
method: HEAD
uri: https://fake_account_name.blob.core.windows.net/fake-container-name/LocalUpload/000000000000000000000000000000000000/hello-world/flow.dag.yaml
response:
body:
string: ''
headers:
accept-ranges:
- bytes
content-length:
- '266'
content-md5:
- UZm3TyOoKWjSR23+Up6qUA==
content-type:
- application/octet-stream
last-modified:
- Tue, 19 Dec 2023 06:05:25 GMT
server:
- Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
vary:
- Origin
x-ms-blob-type:
- BlockBlob
x-ms-creation-time:
- Tue, 19 Dec 2023 06:05:25 GMT
x-ms-meta-name:
- 7b68bf5e-6ef4-4eb3-9f49-28f9a5baad87
x-ms-meta-upload_status:
- completed
x-ms-meta-version:
- '1'
x-ms-version:
- '2023-11-03'
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/xml
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- azsdk-python-storage-blob/12.19.0 Python/3.10.13 (Windows-10-10.0.22631-SP0)
x-ms-date:
- Fri, 12 Jan 2024 07:59:17 GMT
x-ms-version:
- '2023-11-03'
method: HEAD
uri: https://fake_account_name.blob.core.windows.net/fake-container-name/az-ml-artifacts/000000000000000000000000000000000000/hello-world/flow.dag.yaml
response:
body:
string: ''
headers:
server:
- Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
transfer-encoding:
- chunked
vary:
- Origin
x-ms-error-code:
- BlobNotFound
x-ms-version:
- '2023-11-03'
status:
code: 404
message: The specified blob does not exist.
- request:
body: '{"flowDefinitionDataStoreName": "workspaceblobstore", "flowDefinitionBlobPath":
"LocalUpload/000000000000000000000000000000000000/hello-world/flow.dag.yaml",
"runId": "batch_run_name", "runDisplayName": "sdk-cli-test-fixture-batch-run-without-llm",
"runExperimentName": "", "batchDataInput": {"dataUri": "azureml://datastores/workspaceblobstore/paths/LocalUpload/000000000000000000000000000000000000/webClassification3.jsonl"},
"inputsMapping": {"name": "${data.url}"}, "connections": {}, "environmentVariables":
{}, "runtimeName": "fake-runtime-name", "sessionId": "000000000000000000000000000000000000000000000000",
"sessionSetupMode": "SystemWait", "flowLineageId": "0000000000000000000000000000000000000000000000000000000000000000",
"runDisplayNameGenerationType": "UserProvidedMacro"}'
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:
- '812'
Content-Type:
- application/json
User-Agent:
- promptflow-sdk/0.0.1 azsdk-python-azuremachinelearningdesignerserviceclient/unknown
Python/3.10.13 (Windows-10-10.0.22631-SP0)
method: POST
uri: https://eastus.api.azureml.ms/flow/api/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/BulkRuns/submit
response:
body:
string: '"batch_run_name"'
headers:
connection:
- keep-alive
content-length:
- '38'
content-type:
- application/json; charset=utf-8
strict-transport-security:
- max-age=15724800; includeSubDomains; preload
x-content-type-options:
- nosniff
x-request-time:
- '37.049'
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- promptflow-sdk/0.0.1 azsdk-python-azuremachinelearningdesignerserviceclient/unknown
Python/3.10.13 (Windows-10-10.0.22631-SP0)
method: GET
uri: https://eastus.api.azureml.ms/flow/api/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/BulkRuns/batch_run_name
response:
body:
string: '{"flowGraph": {"nodes": [{"name": "hello_world", "type": "python",
"source": {"type": "code", "path": "hello_world.py"}, "inputs": {"name": "${inputs.name}"},
"tool": "hello_world.py", "reduce": false}], "tools": [{"name": "Content Safety
(Text Analyze)", "type": "python", "inputs": {"connection": {"type": ["AzureContentSafetyConnection"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"hate_category": {"type": ["string"], "default": "medium_sensitivity", "enum":
["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"self_harm_category": {"type": ["string"], "default": "medium_sensitivity",
"enum": ["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"sexual_category": {"type": ["string"], "default": "medium_sensitivity", "enum":
["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"text": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "violence_category": {"type": ["string"],
"default": "medium_sensitivity", "enum": ["disable", "low_sensitivity", "medium_sensitivity",
"high_sensitivity"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}}, "description": "Use Azure Content Safety to detect
harmful content.", "module": "promptflow.tools.azure_content_safety", "function":
"analyze_text", "is_builtin": true, "package": "promptflow-tools", "package_version":
"0.0.216", "enable_kwargs": false, "deprecated_tools": ["content_safety_text.tools.content_safety_text_tool.analyze_text"],
"tool_state": "stable"}, {"name": "Embedding", "type": "python", "inputs":
{"connection": {"type": ["AzureOpenAIConnection", "OpenAIConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "deployment_name":
{"type": ["string"], "enabled_by": "connection", "enabled_by_type": ["AzureOpenAIConnection"],
"model_list": ["text-embedding-ada-002", "text-search-ada-doc-001", "text-search-ada-query-001"],
"capabilities": {"completion": false, "chat_completion": false, "embeddings":
true}, "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default"}, "input": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "model": {"type": ["string"], "enum": ["text-embedding-ada-002",
"text-search-ada-doc-001", "text-search-ada-query-001"], "enabled_by": "connection",
"enabled_by_type": ["OpenAIConnection"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Use Open AI''s embedding
model to create an embedding vector representing the input text.", "module":
"promptflow.tools.embedding", "function": "embedding", "is_builtin": true,
"package": "promptflow-tools", "package_version": "0.0.216", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "Open Source LLM", "type": "custom_llm",
"inputs": {"api": {"type": ["string"], "enum": ["chat", "completion"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "connection": {"type":
["CustomConnection"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "deployment_name": {"type": ["string"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "endpoint_name":
{"type": ["string"], "default": "-- please enter an endpoint name --", "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "max_new_tokens":
{"type": ["int"], "default": 500, "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "model_kwargs": {"type": ["object"], "default":
"{}", "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default", "advanced": true}, "temperature": {"type": ["double"], "default":
1.0, "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default"}, "top_p": {"type": ["double"], "default": 1.0, "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default", "advanced": true}},
"description": "Use an Open Source model from the Azure Model catalog, deployed
to an AzureML Online Endpoint for LLM Chat or Completion API calls.", "module":
"promptflow.tools.open_source_llm", "class_name": "OpenSourceLLM", "function":
"call", "icon": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACgElEQVR4nGWSz2vcVRTFP/e9NzOZ1KDGohASslLEH6VLV0ak4l/QpeDCrfQPcNGliODKnVm4EBdBsIjQIlhciKW0ycKFVCSNbYnjdDLtmPnmO/nO9917XcxMkjYX3uLx7nnn3HOuMK2Nix4fP78ZdrYXVkLVWjf3l3B1B+HpcjzGFtmqa6cePz7/x0dnn1n5qhj3iBJPYREIURAJuCtpY8PjReDbrf9WG7H1fuefwQU9qKztTcMJT+PNnEFvjGVDBDlSsH6p/9MLzy6+NxwVqI8RAg4IPmWedMckdLYP6O6UpIaQfvyyXG012+e79/ZfHukoS1ISMT2hGTB1RkUmNgQ5QZ0w+a2VWDq73MbdEWmfnnv6UWe7oNzPaLapl5CwuLTXK9WUGBuCjqekzhP+z52ZXOrKMD3OJg0Hh778aiOuvpnYvp05d6GJO4iAO4QAe/eV36/X5LFRV4Zmn+AdkqlL8Vjp3oVioOz+WTPzzYEgsN+fgPLYyJVheSbPPVl2ikeGZRjtG52/8rHuaV9VOlpP2OtKyVndcRVCSqOhsvxa4vW359i6OuKdD+aP8Q4SYPdOzS/flGjt1JUSaMqZ5nwa1Y8qWb/Ud/eZZkHisYezEM0m+fcelDr8F1SqW2LNK6r1jXQwyLzy1hxvrLXZulry7ocL+FS6G4QIu3fG/Px1gdYeW7LIgXU2P/115TOA5G7e3Rmj2aS/m7l5pThiZzrCcE/d1XHzbln373nw7y6veeoUm5KCNKT/IPPwbiY1hYd/l5MIT65BMFt87sU4v9D7/JMflr44uV6hGh1+L4RCkg6z5iK2tAhNLeLsNGwYA4fDYnC/drvuuFxe86NV/x+Ut27g0FvykgAAAABJRU5ErkJggg==",
"is_builtin": true, "package": "promptflow-tools", "package_version": "0.0.216",
"enable_kwargs": false, "tool_state": "stable"}, {"name": "OpenAI GPT-4V",
"type": "custom_llm", "inputs": {"connection": {"type": ["OpenAIConnection"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"frequency_penalty": {"type": ["double"], "default": 0, "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "max_tokens": {"type":
["int"], "default": "", "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "model": {"type": ["string"], "enum": ["gpt-4-vision-preview"],
"allow_manual_entry": true, "is_multi_select": false, "input_type": "default"},
"presence_penalty": {"type": ["double"], "default": 0, "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "stop": {"type":
["list"], "default": "", "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "temperature": {"type": ["double"], "default": 1,
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"top_p": {"type": ["double"], "default": 1, "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Use OpenAI GPT-4V to leverage
vision ability.", "module": "promptflow.tools.openai_gpt4v", "class_name":
"OpenAI", "function": "chat", "is_builtin": true, "package": "promptflow-tools",
"package_version": "0.0.216", "default_prompt": "# system:\nAs an AI assistant,
your task involves interpreting images and responding to questions about the
image.\nRemember to provide accurate answers based on the information present
in the image.\n\n# user:\nCan you tell me what the image depicts?\n\n",
"enable_kwargs": false, "tool_state": "stable"}, {"name": "Serp API", "type":
"python", "inputs": {"connection": {"type": ["SerpConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "engine": {"type":
["string"], "default": "google", "enum": ["google", "bing"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "location": {"type":
["string"], "default": "", "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "num": {"type": ["int"], "default": "10",
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"query": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "safe": {"type": ["string"], "default": "off",
"enum": ["active", "off"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Use Serp API to obtain search
results from a specific search engine.", "module": "promptflow.tools.serpapi",
"class_name": "SerpAPI", "function": "search", "is_builtin": true, "package":
"promptflow-tools", "package_version": "0.0.216", "enable_kwargs": false,
"tool_state": "stable"}, {"name": "Faiss Index Lookup", "type": "python",
"inputs": {"path": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "top_k": {"type": ["int"], "default": "3",
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"vector": {"type": ["list"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Search vector based query
from the FAISS index file.", "module": "promptflow_vectordb.tool.faiss_index_lookup",
"class_name": "FaissIndexLookup", "function": "search", "is_builtin": true,
"package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "Vector DB Lookup", "type": "python",
"inputs": {"class_name": {"type": ["string"], "enabled_by": "connection",
"enabled_by_type": ["WeaviateConnection"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "collection_name": {"type": ["string"], "enabled_by":
"connection", "enabled_by_type": ["QdrantConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "connection": {"type":
["CognitiveSearchConnection", "QdrantConnection", "WeaviateConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "index_name": {"type":
["string"], "enabled_by": "connection", "enabled_by_type": ["CognitiveSearchConnection"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"search_filters": {"type": ["object"], "enabled_by": "connection", "enabled_by_type":
["CognitiveSearchConnection", "QdrantConnection"], "allow_manual_entry": false,
"is_multi_select": false, "input_type": "default"}, "search_params": {"type":
["object"], "enabled_by": "connection", "enabled_by_type": ["CognitiveSearchConnection",
"QdrantConnection"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "text_field": {"type": ["string"], "enabled_by":
"connection", "enabled_by_type": ["CognitiveSearchConnection", "QdrantConnection",
"WeaviateConnection"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "top_k": {"type": ["int"], "default": "3", "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "vector": {"type":
["list"], "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default"}, "vector_field": {"type": ["string"], "enabled_by": "connection",
"enabled_by_type": ["CognitiveSearchConnection"], "allow_manual_entry": false,
"is_multi_select": false, "input_type": "default"}}, "description": "Search
vector based query from existing Vector Database.", "module": "promptflow_vectordb.tool.vector_db_lookup",
"class_name": "VectorDBLookup", "function": "search", "is_builtin": true,
"package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "Vector Index Lookup", "type": "python",
"inputs": {"path": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "query": {"type": ["object"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "top_k": {"type":
["int"], "default": "3", "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}}, "description": "Search text or vector based query
from AzureML Vector Index.", "module": "promptflow_vectordb.tool.vector_index_lookup",
"class_name": "VectorIndexLookup", "function": "search", "is_builtin": true,
"package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "hello_world.py", "type": "python",
"inputs": {"name": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "source": "hello_world.py", "function":
"hello_world", "is_builtin": false, "enable_kwargs": false, "tool_state":
"stable"}], "inputs": {"name": {"type": "string", "default": "hod", "is_chat_input":
false}}, "outputs": {"result": {"type": "string", "reference": "${hello_world.output}",
"evaluation_only": false, "is_chat_output": false}}}, "flowRunResourceId":
"azureml://locations/eastus/workspaces/00000/flows/batch_run_name/flowRuns/batch_run_name",
"flowRunId": "batch_run_name", "flowRunDisplayName": "sdk-cli-test-fixture-batch-run-without-llm",
"batchDataInput": {"dataUri": "azureml://datastores/workspaceblobstore/paths/LocalUpload/74c11bba717480b2d6b04b8e746d09d7/webClassification3.jsonl"},
"flowRunType": "FlowRun", "flowType": "Default", "runtimeName": "test-runtime-ci",
"inputsMapping": {"name": "${data.url}"}, "outputDatastoreName": "workspaceblobstore",
"childRunBasePath": "promptflow/PromptFlowArtifacts/batch_run_name/flow_artifacts",
"flowDagFileRelativePath": "flow.dag.yaml", "flowSnapshotId": "262811e1-fb9a-43c6-a3e6-05862724c611",
"studioPortalEndpoint": "https://ml.azure.com/runs/batch_run_name?wsid=/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000"}'
headers:
connection:
- keep-alive
content-length:
- '12912'
content-type:
- application/json; charset=utf-8
strict-transport-security:
- max-age=15724800; includeSubDomains; preload
transfer-encoding:
- chunked
vary:
- Accept-Encoding
x-content-type-options:
- nosniff
x-request-time:
- '0.440'
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- promptflow-sdk/0.0.1 azsdk-python-azuremachinelearningdesignerserviceclient/unknown
Python/3.10.13 (Windows-10-10.0.22631-SP0)
method: GET
uri: https://eastus.api.azureml.ms/flow/api/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/BulkRuns/batch_run_name
response:
body:
string: '{"flowGraph": {"nodes": [{"name": "hello_world", "type": "python",
"source": {"type": "code", "path": "hello_world.py"}, "inputs": {"name": "${inputs.name}"},
"tool": "hello_world.py", "reduce": false}], "tools": [{"name": "Content Safety
(Text Analyze)", "type": "python", "inputs": {"connection": {"type": ["AzureContentSafetyConnection"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"hate_category": {"type": ["string"], "default": "medium_sensitivity", "enum":
["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"self_harm_category": {"type": ["string"], "default": "medium_sensitivity",
"enum": ["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"sexual_category": {"type": ["string"], "default": "medium_sensitivity", "enum":
["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"text": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "violence_category": {"type": ["string"],
"default": "medium_sensitivity", "enum": ["disable", "low_sensitivity", "medium_sensitivity",
"high_sensitivity"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}}, "description": "Use Azure Content Safety to detect
harmful content.", "module": "promptflow.tools.azure_content_safety", "function":
"analyze_text", "is_builtin": true, "package": "promptflow-tools", "package_version":
"0.0.216", "enable_kwargs": false, "deprecated_tools": ["content_safety_text.tools.content_safety_text_tool.analyze_text"],
"tool_state": "stable"}, {"name": "Embedding", "type": "python", "inputs":
{"connection": {"type": ["AzureOpenAIConnection", "OpenAIConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "deployment_name":
{"type": ["string"], "enabled_by": "connection", "enabled_by_type": ["AzureOpenAIConnection"],
"model_list": ["text-embedding-ada-002", "text-search-ada-doc-001", "text-search-ada-query-001"],
"capabilities": {"completion": false, "chat_completion": false, "embeddings":
true}, "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default"}, "input": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "model": {"type": ["string"], "enum": ["text-embedding-ada-002",
"text-search-ada-doc-001", "text-search-ada-query-001"], "enabled_by": "connection",
"enabled_by_type": ["OpenAIConnection"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Use Open AI''s embedding
model to create an embedding vector representing the input text.", "module":
"promptflow.tools.embedding", "function": "embedding", "is_builtin": true,
"package": "promptflow-tools", "package_version": "0.0.216", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "Open Source LLM", "type": "custom_llm",
"inputs": {"api": {"type": ["string"], "enum": ["chat", "completion"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "connection": {"type":
["CustomConnection"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "deployment_name": {"type": ["string"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "endpoint_name":
{"type": ["string"], "default": "-- please enter an endpoint name --", "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "max_new_tokens":
{"type": ["int"], "default": 500, "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "model_kwargs": {"type": ["object"], "default":
"{}", "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default", "advanced": true}, "temperature": {"type": ["double"], "default":
1.0, "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default"}, "top_p": {"type": ["double"], "default": 1.0, "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default", "advanced": true}},
"description": "Use an Open Source model from the Azure Model catalog, deployed
to an AzureML Online Endpoint for LLM Chat or Completion API calls.", "module":
"promptflow.tools.open_source_llm", "class_name": "OpenSourceLLM", "function":
"call", "icon": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACgElEQVR4nGWSz2vcVRTFP/e9NzOZ1KDGohASslLEH6VLV0ak4l/QpeDCrfQPcNGliODKnVm4EBdBsIjQIlhciKW0ycKFVCSNbYnjdDLtmPnmO/nO9917XcxMkjYX3uLx7nnn3HOuMK2Nix4fP78ZdrYXVkLVWjf3l3B1B+HpcjzGFtmqa6cePz7/x0dnn1n5qhj3iBJPYREIURAJuCtpY8PjReDbrf9WG7H1fuefwQU9qKztTcMJT+PNnEFvjGVDBDlSsH6p/9MLzy6+NxwVqI8RAg4IPmWedMckdLYP6O6UpIaQfvyyXG012+e79/ZfHukoS1ISMT2hGTB1RkUmNgQ5QZ0w+a2VWDq73MbdEWmfnnv6UWe7oNzPaLapl5CwuLTXK9WUGBuCjqekzhP+z52ZXOrKMD3OJg0Hh778aiOuvpnYvp05d6GJO4iAO4QAe/eV36/X5LFRV4Zmn+AdkqlL8Vjp3oVioOz+WTPzzYEgsN+fgPLYyJVheSbPPVl2ikeGZRjtG52/8rHuaV9VOlpP2OtKyVndcRVCSqOhsvxa4vW359i6OuKdD+aP8Q4SYPdOzS/flGjt1JUSaMqZ5nwa1Y8qWb/Ud/eZZkHisYezEM0m+fcelDr8F1SqW2LNK6r1jXQwyLzy1hxvrLXZulry7ocL+FS6G4QIu3fG/Px1gdYeW7LIgXU2P/115TOA5G7e3Rmj2aS/m7l5pThiZzrCcE/d1XHzbln373nw7y6veeoUm5KCNKT/IPPwbiY1hYd/l5MIT65BMFt87sU4v9D7/JMflr44uV6hGh1+L4RCkg6z5iK2tAhNLeLsNGwYA4fDYnC/drvuuFxe86NV/x+Ut27g0FvykgAAAABJRU5ErkJggg==",
"is_builtin": true, "package": "promptflow-tools", "package_version": "0.0.216",
"enable_kwargs": false, "tool_state": "stable"}, {"name": "OpenAI GPT-4V",
"type": "custom_llm", "inputs": {"connection": {"type": ["OpenAIConnection"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"frequency_penalty": {"type": ["double"], "default": 0, "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "max_tokens": {"type":
["int"], "default": "", "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "model": {"type": ["string"], "enum": ["gpt-4-vision-preview"],
"allow_manual_entry": true, "is_multi_select": false, "input_type": "default"},
"presence_penalty": {"type": ["double"], "default": 0, "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "stop": {"type":
["list"], "default": "", "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "temperature": {"type": ["double"], "default": 1,
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"top_p": {"type": ["double"], "default": 1, "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Use OpenAI GPT-4V to leverage
vision ability.", "module": "promptflow.tools.openai_gpt4v", "class_name":
"OpenAI", "function": "chat", "is_builtin": true, "package": "promptflow-tools",
"package_version": "0.0.216", "default_prompt": "# system:\nAs an AI assistant,
your task involves interpreting images and responding to questions about the
image.\nRemember to provide accurate answers based on the information present
in the image.\n\n# user:\nCan you tell me what the image depicts?\n\n",
"enable_kwargs": false, "tool_state": "stable"}, {"name": "Serp API", "type":
"python", "inputs": {"connection": {"type": ["SerpConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "engine": {"type":
["string"], "default": "google", "enum": ["google", "bing"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "location": {"type":
["string"], "default": "", "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "num": {"type": ["int"], "default": "10",
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"query": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "safe": {"type": ["string"], "default": "off",
"enum": ["active", "off"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Use Serp API to obtain search
results from a specific search engine.", "module": "promptflow.tools.serpapi",
"class_name": "SerpAPI", "function": "search", "is_builtin": true, "package":
"promptflow-tools", "package_version": "0.0.216", "enable_kwargs": false,
"tool_state": "stable"}, {"name": "Faiss Index Lookup", "type": "python",
"inputs": {"path": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "top_k": {"type": ["int"], "default": "3",
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"vector": {"type": ["list"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Search vector based query
from the FAISS index file.", "module": "promptflow_vectordb.tool.faiss_index_lookup",
"class_name": "FaissIndexLookup", "function": "search", "is_builtin": true,
"package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "Vector DB Lookup", "type": "python",
"inputs": {"class_name": {"type": ["string"], "enabled_by": "connection",
"enabled_by_type": ["WeaviateConnection"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "collection_name": {"type": ["string"], "enabled_by":
"connection", "enabled_by_type": ["QdrantConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "connection": {"type":
["CognitiveSearchConnection", "QdrantConnection", "WeaviateConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "index_name": {"type":
["string"], "enabled_by": "connection", "enabled_by_type": ["CognitiveSearchConnection"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"search_filters": {"type": ["object"], "enabled_by": "connection", "enabled_by_type":
["CognitiveSearchConnection", "QdrantConnection"], "allow_manual_entry": false,
"is_multi_select": false, "input_type": "default"}, "search_params": {"type":
["object"], "enabled_by": "connection", "enabled_by_type": ["CognitiveSearchConnection",
"QdrantConnection"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "text_field": {"type": ["string"], "enabled_by":
"connection", "enabled_by_type": ["CognitiveSearchConnection", "QdrantConnection",
"WeaviateConnection"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "top_k": {"type": ["int"], "default": "3", "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "vector": {"type":
["list"], "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default"}, "vector_field": {"type": ["string"], "enabled_by": "connection",
"enabled_by_type": ["CognitiveSearchConnection"], "allow_manual_entry": false,
"is_multi_select": false, "input_type": "default"}}, "description": "Search
vector based query from existing Vector Database.", "module": "promptflow_vectordb.tool.vector_db_lookup",
"class_name": "VectorDBLookup", "function": "search", "is_builtin": true,
"package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "Vector Index Lookup", "type": "python",
"inputs": {"path": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "query": {"type": ["object"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "top_k": {"type":
["int"], "default": "3", "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}}, "description": "Search text or vector based query
from AzureML Vector Index.", "module": "promptflow_vectordb.tool.vector_index_lookup",
"class_name": "VectorIndexLookup", "function": "search", "is_builtin": true,
"package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "hello_world.py", "type": "python",
"inputs": {"name": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "source": "hello_world.py", "function":
"hello_world", "is_builtin": false, "enable_kwargs": false, "tool_state":
"stable"}], "inputs": {"name": {"type": "string", "default": "hod", "is_chat_input":
false}}, "outputs": {"result": {"type": "string", "reference": "${hello_world.output}",
"evaluation_only": false, "is_chat_output": false}}}, "flowRunResourceId":
"azureml://locations/eastus/workspaces/00000/flows/batch_run_name/flowRuns/batch_run_name",
"flowRunId": "batch_run_name", "flowRunDisplayName": "sdk-cli-test-fixture-batch-run-without-llm",
"batchDataInput": {"dataUri": "azureml://datastores/workspaceblobstore/paths/LocalUpload/74c11bba717480b2d6b04b8e746d09d7/webClassification3.jsonl"},
"flowRunType": "FlowRun", "flowType": "Default", "runtimeName": "test-runtime-ci",
"inputsMapping": {"name": "${data.url}"}, "outputDatastoreName": "workspaceblobstore",
"childRunBasePath": "promptflow/PromptFlowArtifacts/batch_run_name/flow_artifacts",
"flowDagFileRelativePath": "flow.dag.yaml", "flowSnapshotId": "262811e1-fb9a-43c6-a3e6-05862724c611",
"studioPortalEndpoint": "https://ml.azure.com/runs/batch_run_name?wsid=/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000"}'
headers:
connection:
- keep-alive
content-length:
- '12912'
content-type:
- application/json; charset=utf-8
strict-transport-security:
- max-age=15724800; includeSubDomains; preload
transfer-encoding:
- chunked
vary:
- Accept-Encoding
x-content-type-options:
- nosniff
x-request-time:
- '0.249'
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- promptflow-sdk/0.0.1 azsdk-python-azuremachinelearningdesignerserviceclient/unknown
Python/3.10.13 (Windows-10-10.0.22631-SP0)
method: GET
uri: https://eastus.api.azureml.ms/flow/api/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/BulkRuns/batch_run_name
response:
body:
string: '{"flowGraph": {"nodes": [{"name": "hello_world", "type": "python",
"source": {"type": "code", "path": "hello_world.py"}, "inputs": {"name": "${inputs.name}"},
"tool": "hello_world.py", "reduce": false}], "tools": [{"name": "Content Safety
(Text Analyze)", "type": "python", "inputs": {"connection": {"type": ["AzureContentSafetyConnection"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"hate_category": {"type": ["string"], "default": "medium_sensitivity", "enum":
["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"self_harm_category": {"type": ["string"], "default": "medium_sensitivity",
"enum": ["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"sexual_category": {"type": ["string"], "default": "medium_sensitivity", "enum":
["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"text": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "violence_category": {"type": ["string"],
"default": "medium_sensitivity", "enum": ["disable", "low_sensitivity", "medium_sensitivity",
"high_sensitivity"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}}, "description": "Use Azure Content Safety to detect
harmful content.", "module": "promptflow.tools.azure_content_safety", "function":
"analyze_text", "is_builtin": true, "package": "promptflow-tools", "package_version":
"0.0.216", "enable_kwargs": false, "deprecated_tools": ["content_safety_text.tools.content_safety_text_tool.analyze_text"],
"tool_state": "stable"}, {"name": "Embedding", "type": "python", "inputs":
{"connection": {"type": ["AzureOpenAIConnection", "OpenAIConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "deployment_name":
{"type": ["string"], "enabled_by": "connection", "enabled_by_type": ["AzureOpenAIConnection"],
"model_list": ["text-embedding-ada-002", "text-search-ada-doc-001", "text-search-ada-query-001"],
"capabilities": {"completion": false, "chat_completion": false, "embeddings":
true}, "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default"}, "input": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "model": {"type": ["string"], "enum": ["text-embedding-ada-002",
"text-search-ada-doc-001", "text-search-ada-query-001"], "enabled_by": "connection",
"enabled_by_type": ["OpenAIConnection"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Use Open AI''s embedding
model to create an embedding vector representing the input text.", "module":
"promptflow.tools.embedding", "function": "embedding", "is_builtin": true,
"package": "promptflow-tools", "package_version": "0.0.216", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "Open Source LLM", "type": "custom_llm",
"inputs": {"api": {"type": ["string"], "enum": ["chat", "completion"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "connection": {"type":
["CustomConnection"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "deployment_name": {"type": ["string"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "endpoint_name":
{"type": ["string"], "default": "-- please enter an endpoint name --", "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "max_new_tokens":
{"type": ["int"], "default": 500, "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "model_kwargs": {"type": ["object"], "default":
"{}", "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default", "advanced": true}, "temperature": {"type": ["double"], "default":
1.0, "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default"}, "top_p": {"type": ["double"], "default": 1.0, "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default", "advanced": true}},
"description": "Use an Open Source model from the Azure Model catalog, deployed
to an AzureML Online Endpoint for LLM Chat or Completion API calls.", "module":
"promptflow.tools.open_source_llm", "class_name": "OpenSourceLLM", "function":
"call", "icon": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACgElEQVR4nGWSz2vcVRTFP/e9NzOZ1KDGohASslLEH6VLV0ak4l/QpeDCrfQPcNGliODKnVm4EBdBsIjQIlhciKW0ycKFVCSNbYnjdDLtmPnmO/nO9917XcxMkjYX3uLx7nnn3HOuMK2Nix4fP78ZdrYXVkLVWjf3l3B1B+HpcjzGFtmqa6cePz7/x0dnn1n5qhj3iBJPYREIURAJuCtpY8PjReDbrf9WG7H1fuefwQU9qKztTcMJT+PNnEFvjGVDBDlSsH6p/9MLzy6+NxwVqI8RAg4IPmWedMckdLYP6O6UpIaQfvyyXG012+e79/ZfHukoS1ISMT2hGTB1RkUmNgQ5QZ0w+a2VWDq73MbdEWmfnnv6UWe7oNzPaLapl5CwuLTXK9WUGBuCjqekzhP+z52ZXOrKMD3OJg0Hh778aiOuvpnYvp05d6GJO4iAO4QAe/eV36/X5LFRV4Zmn+AdkqlL8Vjp3oVioOz+WTPzzYEgsN+fgPLYyJVheSbPPVl2ikeGZRjtG52/8rHuaV9VOlpP2OtKyVndcRVCSqOhsvxa4vW359i6OuKdD+aP8Q4SYPdOzS/flGjt1JUSaMqZ5nwa1Y8qWb/Ud/eZZkHisYezEM0m+fcelDr8F1SqW2LNK6r1jXQwyLzy1hxvrLXZulry7ocL+FS6G4QIu3fG/Px1gdYeW7LIgXU2P/115TOA5G7e3Rmj2aS/m7l5pThiZzrCcE/d1XHzbln373nw7y6veeoUm5KCNKT/IPPwbiY1hYd/l5MIT65BMFt87sU4v9D7/JMflr44uV6hGh1+L4RCkg6z5iK2tAhNLeLsNGwYA4fDYnC/drvuuFxe86NV/x+Ut27g0FvykgAAAABJRU5ErkJggg==",
"is_builtin": true, "package": "promptflow-tools", "package_version": "0.0.216",
"enable_kwargs": false, "tool_state": "stable"}, {"name": "OpenAI GPT-4V",
"type": "custom_llm", "inputs": {"connection": {"type": ["OpenAIConnection"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"frequency_penalty": {"type": ["double"], "default": 0, "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "max_tokens": {"type":
["int"], "default": "", "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "model": {"type": ["string"], "enum": ["gpt-4-vision-preview"],
"allow_manual_entry": true, "is_multi_select": false, "input_type": "default"},
"presence_penalty": {"type": ["double"], "default": 0, "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "stop": {"type":
["list"], "default": "", "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "temperature": {"type": ["double"], "default": 1,
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"top_p": {"type": ["double"], "default": 1, "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Use OpenAI GPT-4V to leverage
vision ability.", "module": "promptflow.tools.openai_gpt4v", "class_name":
"OpenAI", "function": "chat", "is_builtin": true, "package": "promptflow-tools",
"package_version": "0.0.216", "default_prompt": "# system:\nAs an AI assistant,
your task involves interpreting images and responding to questions about the
image.\nRemember to provide accurate answers based on the information present
in the image.\n\n# user:\nCan you tell me what the image depicts?\n\n",
"enable_kwargs": false, "tool_state": "stable"}, {"name": "Serp API", "type":
"python", "inputs": {"connection": {"type": ["SerpConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "engine": {"type":
["string"], "default": "google", "enum": ["google", "bing"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "location": {"type":
["string"], "default": "", "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "num": {"type": ["int"], "default": "10",
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"query": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "safe": {"type": ["string"], "default": "off",
"enum": ["active", "off"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Use Serp API to obtain search
results from a specific search engine.", "module": "promptflow.tools.serpapi",
"class_name": "SerpAPI", "function": "search", "is_builtin": true, "package":
"promptflow-tools", "package_version": "0.0.216", "enable_kwargs": false,
"tool_state": "stable"}, {"name": "Faiss Index Lookup", "type": "python",
"inputs": {"path": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "top_k": {"type": ["int"], "default": "3",
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"vector": {"type": ["list"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Search vector based query
from the FAISS index file.", "module": "promptflow_vectordb.tool.faiss_index_lookup",
"class_name": "FaissIndexLookup", "function": "search", "is_builtin": true,
"package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "Vector DB Lookup", "type": "python",
"inputs": {"class_name": {"type": ["string"], "enabled_by": "connection",
"enabled_by_type": ["WeaviateConnection"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "collection_name": {"type": ["string"], "enabled_by":
"connection", "enabled_by_type": ["QdrantConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "connection": {"type":
["CognitiveSearchConnection", "QdrantConnection", "WeaviateConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "index_name": {"type":
["string"], "enabled_by": "connection", "enabled_by_type": ["CognitiveSearchConnection"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"search_filters": {"type": ["object"], "enabled_by": "connection", "enabled_by_type":
["CognitiveSearchConnection", "QdrantConnection"], "allow_manual_entry": false,
"is_multi_select": false, "input_type": "default"}, "search_params": {"type":
["object"], "enabled_by": "connection", "enabled_by_type": ["CognitiveSearchConnection",
"QdrantConnection"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "text_field": {"type": ["string"], "enabled_by":
"connection", "enabled_by_type": ["CognitiveSearchConnection", "QdrantConnection",
"WeaviateConnection"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "top_k": {"type": ["int"], "default": "3", "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "vector": {"type":
["list"], "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default"}, "vector_field": {"type": ["string"], "enabled_by": "connection",
"enabled_by_type": ["CognitiveSearchConnection"], "allow_manual_entry": false,
"is_multi_select": false, "input_type": "default"}}, "description": "Search
vector based query from existing Vector Database.", "module": "promptflow_vectordb.tool.vector_db_lookup",
"class_name": "VectorDBLookup", "function": "search", "is_builtin": true,
"package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "Vector Index Lookup", "type": "python",
"inputs": {"path": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "query": {"type": ["object"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "top_k": {"type":
["int"], "default": "3", "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}}, "description": "Search text or vector based query
from AzureML Vector Index.", "module": "promptflow_vectordb.tool.vector_index_lookup",
"class_name": "VectorIndexLookup", "function": "search", "is_builtin": true,
"package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "hello_world.py", "type": "python",
"inputs": {"name": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "source": "hello_world.py", "function":
"hello_world", "is_builtin": false, "enable_kwargs": false, "tool_state":
"stable"}], "inputs": {"name": {"type": "string", "default": "hod", "is_chat_input":
false}}, "outputs": {"result": {"type": "string", "reference": "${hello_world.output}",
"evaluation_only": false, "is_chat_output": false}}}, "flowRunResourceId":
"azureml://locations/eastus/workspaces/00000/flows/batch_run_name/flowRuns/batch_run_name",
"flowRunId": "batch_run_name", "flowRunDisplayName": "sdk-cli-test-fixture-batch-run-without-llm",
"batchDataInput": {"dataUri": "azureml://datastores/workspaceblobstore/paths/LocalUpload/74c11bba717480b2d6b04b8e746d09d7/webClassification3.jsonl"},
"flowRunType": "FlowRun", "flowType": "Default", "runtimeName": "test-runtime-ci",
"inputsMapping": {"name": "${data.url}"}, "outputDatastoreName": "workspaceblobstore",
"childRunBasePath": "promptflow/PromptFlowArtifacts/batch_run_name/flow_artifacts",
"flowDagFileRelativePath": "flow.dag.yaml", "flowSnapshotId": "262811e1-fb9a-43c6-a3e6-05862724c611",
"studioPortalEndpoint": "https://ml.azure.com/runs/batch_run_name?wsid=/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000"}'
headers:
connection:
- keep-alive
content-length:
- '12912'
content-type:
- application/json; charset=utf-8
strict-transport-security:
- max-age=15724800; includeSubDomains; preload
transfer-encoding:
- chunked
vary:
- Accept-Encoding
x-content-type-options:
- nosniff
x-request-time:
- '0.222'
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- promptflow-sdk/0.0.1 azsdk-python-azuremachinelearningdesignerserviceclient/unknown
Python/3.10.13 (Windows-10-10.0.22631-SP0)
method: GET
uri: https://eastus.api.azureml.ms/flow/api/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/BulkRuns/batch_run_name
response:
body:
string: '{"flowGraph": {"nodes": [{"name": "hello_world", "type": "python",
"source": {"type": "code", "path": "hello_world.py"}, "inputs": {"name": "${inputs.name}"},
"tool": "hello_world.py", "reduce": false}], "tools": [{"name": "Content Safety
(Text Analyze)", "type": "python", "inputs": {"connection": {"type": ["AzureContentSafetyConnection"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"hate_category": {"type": ["string"], "default": "medium_sensitivity", "enum":
["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"self_harm_category": {"type": ["string"], "default": "medium_sensitivity",
"enum": ["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"sexual_category": {"type": ["string"], "default": "medium_sensitivity", "enum":
["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"text": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "violence_category": {"type": ["string"],
"default": "medium_sensitivity", "enum": ["disable", "low_sensitivity", "medium_sensitivity",
"high_sensitivity"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}}, "description": "Use Azure Content Safety to detect
harmful content.", "module": "promptflow.tools.azure_content_safety", "function":
"analyze_text", "is_builtin": true, "package": "promptflow-tools", "package_version":
"0.0.216", "enable_kwargs": false, "deprecated_tools": ["content_safety_text.tools.content_safety_text_tool.analyze_text"],
"tool_state": "stable"}, {"name": "Embedding", "type": "python", "inputs":
{"connection": {"type": ["AzureOpenAIConnection", "OpenAIConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "deployment_name":
{"type": ["string"], "enabled_by": "connection", "enabled_by_type": ["AzureOpenAIConnection"],
"model_list": ["text-embedding-ada-002", "text-search-ada-doc-001", "text-search-ada-query-001"],
"capabilities": {"completion": false, "chat_completion": false, "embeddings":
true}, "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default"}, "input": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "model": {"type": ["string"], "enum": ["text-embedding-ada-002",
"text-search-ada-doc-001", "text-search-ada-query-001"], "enabled_by": "connection",
"enabled_by_type": ["OpenAIConnection"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Use Open AI''s embedding
model to create an embedding vector representing the input text.", "module":
"promptflow.tools.embedding", "function": "embedding", "is_builtin": true,
"package": "promptflow-tools", "package_version": "0.0.216", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "Open Source LLM", "type": "custom_llm",
"inputs": {"api": {"type": ["string"], "enum": ["chat", "completion"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "connection": {"type":
["CustomConnection"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "deployment_name": {"type": ["string"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "endpoint_name":
{"type": ["string"], "default": "-- please enter an endpoint name --", "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "max_new_tokens":
{"type": ["int"], "default": 500, "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "model_kwargs": {"type": ["object"], "default":
"{}", "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default", "advanced": true}, "temperature": {"type": ["double"], "default":
1.0, "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default"}, "top_p": {"type": ["double"], "default": 1.0, "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default", "advanced": true}},
"description": "Use an Open Source model from the Azure Model catalog, deployed
to an AzureML Online Endpoint for LLM Chat or Completion API calls.", "module":
"promptflow.tools.open_source_llm", "class_name": "OpenSourceLLM", "function":
"call", "icon": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACgElEQVR4nGWSz2vcVRTFP/e9NzOZ1KDGohASslLEH6VLV0ak4l/QpeDCrfQPcNGliODKnVm4EBdBsIjQIlhciKW0ycKFVCSNbYnjdDLtmPnmO/nO9917XcxMkjYX3uLx7nnn3HOuMK2Nix4fP78ZdrYXVkLVWjf3l3B1B+HpcjzGFtmqa6cePz7/x0dnn1n5qhj3iBJPYREIURAJuCtpY8PjReDbrf9WG7H1fuefwQU9qKztTcMJT+PNnEFvjGVDBDlSsH6p/9MLzy6+NxwVqI8RAg4IPmWedMckdLYP6O6UpIaQfvyyXG012+e79/ZfHukoS1ISMT2hGTB1RkUmNgQ5QZ0w+a2VWDq73MbdEWmfnnv6UWe7oNzPaLapl5CwuLTXK9WUGBuCjqekzhP+z52ZXOrKMD3OJg0Hh778aiOuvpnYvp05d6GJO4iAO4QAe/eV36/X5LFRV4Zmn+AdkqlL8Vjp3oVioOz+WTPzzYEgsN+fgPLYyJVheSbPPVl2ikeGZRjtG52/8rHuaV9VOlpP2OtKyVndcRVCSqOhsvxa4vW359i6OuKdD+aP8Q4SYPdOzS/flGjt1JUSaMqZ5nwa1Y8qWb/Ud/eZZkHisYezEM0m+fcelDr8F1SqW2LNK6r1jXQwyLzy1hxvrLXZulry7ocL+FS6G4QIu3fG/Px1gdYeW7LIgXU2P/115TOA5G7e3Rmj2aS/m7l5pThiZzrCcE/d1XHzbln373nw7y6veeoUm5KCNKT/IPPwbiY1hYd/l5MIT65BMFt87sU4v9D7/JMflr44uV6hGh1+L4RCkg6z5iK2tAhNLeLsNGwYA4fDYnC/drvuuFxe86NV/x+Ut27g0FvykgAAAABJRU5ErkJggg==",
"is_builtin": true, "package": "promptflow-tools", "package_version": "0.0.216",
"enable_kwargs": false, "tool_state": "stable"}, {"name": "OpenAI GPT-4V",
"type": "custom_llm", "inputs": {"connection": {"type": ["OpenAIConnection"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"frequency_penalty": {"type": ["double"], "default": 0, "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "max_tokens": {"type":
["int"], "default": "", "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "model": {"type": ["string"], "enum": ["gpt-4-vision-preview"],
"allow_manual_entry": true, "is_multi_select": false, "input_type": "default"},
"presence_penalty": {"type": ["double"], "default": 0, "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "stop": {"type":
["list"], "default": "", "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "temperature": {"type": ["double"], "default": 1,
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"top_p": {"type": ["double"], "default": 1, "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Use OpenAI GPT-4V to leverage
vision ability.", "module": "promptflow.tools.openai_gpt4v", "class_name":
"OpenAI", "function": "chat", "is_builtin": true, "package": "promptflow-tools",
"package_version": "0.0.216", "default_prompt": "# system:\nAs an AI assistant,
your task involves interpreting images and responding to questions about the
image.\nRemember to provide accurate answers based on the information present
in the image.\n\n# user:\nCan you tell me what the image depicts?\n\n",
"enable_kwargs": false, "tool_state": "stable"}, {"name": "Serp API", "type":
"python", "inputs": {"connection": {"type": ["SerpConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "engine": {"type":
["string"], "default": "google", "enum": ["google", "bing"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "location": {"type":
["string"], "default": "", "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "num": {"type": ["int"], "default": "10",
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"query": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "safe": {"type": ["string"], "default": "off",
"enum": ["active", "off"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Use Serp API to obtain search
results from a specific search engine.", "module": "promptflow.tools.serpapi",
"class_name": "SerpAPI", "function": "search", "is_builtin": true, "package":
"promptflow-tools", "package_version": "0.0.216", "enable_kwargs": false,
"tool_state": "stable"}, {"name": "Faiss Index Lookup", "type": "python",
"inputs": {"path": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "top_k": {"type": ["int"], "default": "3",
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"vector": {"type": ["list"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Search vector based query
from the FAISS index file.", "module": "promptflow_vectordb.tool.faiss_index_lookup",
"class_name": "FaissIndexLookup", "function": "search", "is_builtin": true,
"package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "Vector DB Lookup", "type": "python",
"inputs": {"class_name": {"type": ["string"], "enabled_by": "connection",
"enabled_by_type": ["WeaviateConnection"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "collection_name": {"type": ["string"], "enabled_by":
"connection", "enabled_by_type": ["QdrantConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "connection": {"type":
["CognitiveSearchConnection", "QdrantConnection", "WeaviateConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "index_name": {"type":
["string"], "enabled_by": "connection", "enabled_by_type": ["CognitiveSearchConnection"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"search_filters": {"type": ["object"], "enabled_by": "connection", "enabled_by_type":
["CognitiveSearchConnection", "QdrantConnection"], "allow_manual_entry": false,
"is_multi_select": false, "input_type": "default"}, "search_params": {"type":
["object"], "enabled_by": "connection", "enabled_by_type": ["CognitiveSearchConnection",
"QdrantConnection"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "text_field": {"type": ["string"], "enabled_by":
"connection", "enabled_by_type": ["CognitiveSearchConnection", "QdrantConnection",
"WeaviateConnection"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "top_k": {"type": ["int"], "default": "3", "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "vector": {"type":
["list"], "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default"}, "vector_field": {"type": ["string"], "enabled_by": "connection",
"enabled_by_type": ["CognitiveSearchConnection"], "allow_manual_entry": false,
"is_multi_select": false, "input_type": "default"}}, "description": "Search
vector based query from existing Vector Database.", "module": "promptflow_vectordb.tool.vector_db_lookup",
"class_name": "VectorDBLookup", "function": "search", "is_builtin": true,
"package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "Vector Index Lookup", "type": "python",
"inputs": {"path": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "query": {"type": ["object"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "top_k": {"type":
["int"], "default": "3", "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}}, "description": "Search text or vector based query
from AzureML Vector Index.", "module": "promptflow_vectordb.tool.vector_index_lookup",
"class_name": "VectorIndexLookup", "function": "search", "is_builtin": true,
"package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "hello_world.py", "type": "python",
"inputs": {"name": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "source": "hello_world.py", "function":
"hello_world", "is_builtin": false, "enable_kwargs": false, "tool_state":
"stable"}], "inputs": {"name": {"type": "string", "default": "hod", "is_chat_input":
false}}, "outputs": {"result": {"type": "string", "reference": "${hello_world.output}",
"evaluation_only": false, "is_chat_output": false}}}, "flowRunResourceId":
"azureml://locations/eastus/workspaces/00000/flows/batch_run_name/flowRuns/batch_run_name",
"flowRunId": "batch_run_name", "flowRunDisplayName": "sdk-cli-test-fixture-batch-run-without-llm",
"batchDataInput": {"dataUri": "azureml://datastores/workspaceblobstore/paths/LocalUpload/74c11bba717480b2d6b04b8e746d09d7/webClassification3.jsonl"},
"flowRunType": "FlowRun", "flowType": "Default", "runtimeName": "test-runtime-ci",
"inputsMapping": {"name": "${data.url}"}, "outputDatastoreName": "workspaceblobstore",
"childRunBasePath": "promptflow/PromptFlowArtifacts/batch_run_name/flow_artifacts",
"flowDagFileRelativePath": "flow.dag.yaml", "flowSnapshotId": "262811e1-fb9a-43c6-a3e6-05862724c611",
"studioPortalEndpoint": "https://ml.azure.com/runs/batch_run_name?wsid=/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000"}'
headers:
connection:
- keep-alive
content-length:
- '12912'
content-type:
- application/json; charset=utf-8
strict-transport-security:
- max-age=15724800; includeSubDomains; preload
transfer-encoding:
- chunked
vary:
- Accept-Encoding
x-content-type-options:
- nosniff
x-request-time:
- '0.445'
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- promptflow-sdk/0.0.1 azsdk-python-azuremachinelearningdesignerserviceclient/unknown
Python/3.10.13 (Windows-10-10.0.22631-SP0)
method: GET
uri: https://eastus.api.azureml.ms/flow/api/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/BulkRuns/batch_run_name
response:
body:
string: '{"flowGraph": {"nodes": [{"name": "hello_world", "type": "python",
"source": {"type": "code", "path": "hello_world.py"}, "inputs": {"name": "${inputs.name}"},
"tool": "hello_world.py", "reduce": false}], "tools": [{"name": "Content Safety
(Text Analyze)", "type": "python", "inputs": {"connection": {"type": ["AzureContentSafetyConnection"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"hate_category": {"type": ["string"], "default": "medium_sensitivity", "enum":
["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"self_harm_category": {"type": ["string"], "default": "medium_sensitivity",
"enum": ["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"sexual_category": {"type": ["string"], "default": "medium_sensitivity", "enum":
["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"text": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "violence_category": {"type": ["string"],
"default": "medium_sensitivity", "enum": ["disable", "low_sensitivity", "medium_sensitivity",
"high_sensitivity"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}}, "description": "Use Azure Content Safety to detect
harmful content.", "module": "promptflow.tools.azure_content_safety", "function":
"analyze_text", "is_builtin": true, "package": "promptflow-tools", "package_version":
"0.0.216", "enable_kwargs": false, "deprecated_tools": ["content_safety_text.tools.content_safety_text_tool.analyze_text"],
"tool_state": "stable"}, {"name": "Embedding", "type": "python", "inputs":
{"connection": {"type": ["AzureOpenAIConnection", "OpenAIConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "deployment_name":
{"type": ["string"], "enabled_by": "connection", "enabled_by_type": ["AzureOpenAIConnection"],
"model_list": ["text-embedding-ada-002", "text-search-ada-doc-001", "text-search-ada-query-001"],
"capabilities": {"completion": false, "chat_completion": false, "embeddings":
true}, "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default"}, "input": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "model": {"type": ["string"], "enum": ["text-embedding-ada-002",
"text-search-ada-doc-001", "text-search-ada-query-001"], "enabled_by": "connection",
"enabled_by_type": ["OpenAIConnection"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Use Open AI''s embedding
model to create an embedding vector representing the input text.", "module":
"promptflow.tools.embedding", "function": "embedding", "is_builtin": true,
"package": "promptflow-tools", "package_version": "0.0.216", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "Open Source LLM", "type": "custom_llm",
"inputs": {"api": {"type": ["string"], "enum": ["chat", "completion"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "connection": {"type":
["CustomConnection"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "deployment_name": {"type": ["string"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "endpoint_name":
{"type": ["string"], "default": "-- please enter an endpoint name --", "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "max_new_tokens":
{"type": ["int"], "default": 500, "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "model_kwargs": {"type": ["object"], "default":
"{}", "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default", "advanced": true}, "temperature": {"type": ["double"], "default":
1.0, "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default"}, "top_p": {"type": ["double"], "default": 1.0, "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default", "advanced": true}},
"description": "Use an Open Source model from the Azure Model catalog, deployed
to an AzureML Online Endpoint for LLM Chat or Completion API calls.", "module":
"promptflow.tools.open_source_llm", "class_name": "OpenSourceLLM", "function":
"call", "icon": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACgElEQVR4nGWSz2vcVRTFP/e9NzOZ1KDGohASslLEH6VLV0ak4l/QpeDCrfQPcNGliODKnVm4EBdBsIjQIlhciKW0ycKFVCSNbYnjdDLtmPnmO/nO9917XcxMkjYX3uLx7nnn3HOuMK2Nix4fP78ZdrYXVkLVWjf3l3B1B+HpcjzGFtmqa6cePz7/x0dnn1n5qhj3iBJPYREIURAJuCtpY8PjReDbrf9WG7H1fuefwQU9qKztTcMJT+PNnEFvjGVDBDlSsH6p/9MLzy6+NxwVqI8RAg4IPmWedMckdLYP6O6UpIaQfvyyXG012+e79/ZfHukoS1ISMT2hGTB1RkUmNgQ5QZ0w+a2VWDq73MbdEWmfnnv6UWe7oNzPaLapl5CwuLTXK9WUGBuCjqekzhP+z52ZXOrKMD3OJg0Hh778aiOuvpnYvp05d6GJO4iAO4QAe/eV36/X5LFRV4Zmn+AdkqlL8Vjp3oVioOz+WTPzzYEgsN+fgPLYyJVheSbPPVl2ikeGZRjtG52/8rHuaV9VOlpP2OtKyVndcRVCSqOhsvxa4vW359i6OuKdD+aP8Q4SYPdOzS/flGjt1JUSaMqZ5nwa1Y8qWb/Ud/eZZkHisYezEM0m+fcelDr8F1SqW2LNK6r1jXQwyLzy1hxvrLXZulry7ocL+FS6G4QIu3fG/Px1gdYeW7LIgXU2P/115TOA5G7e3Rmj2aS/m7l5pThiZzrCcE/d1XHzbln373nw7y6veeoUm5KCNKT/IPPwbiY1hYd/l5MIT65BMFt87sU4v9D7/JMflr44uV6hGh1+L4RCkg6z5iK2tAhNLeLsNGwYA4fDYnC/drvuuFxe86NV/x+Ut27g0FvykgAAAABJRU5ErkJggg==",
"is_builtin": true, "package": "promptflow-tools", "package_version": "0.0.216",
"enable_kwargs": false, "tool_state": "stable"}, {"name": "OpenAI GPT-4V",
"type": "custom_llm", "inputs": {"connection": {"type": ["OpenAIConnection"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"frequency_penalty": {"type": ["double"], "default": 0, "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "max_tokens": {"type":
["int"], "default": "", "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "model": {"type": ["string"], "enum": ["gpt-4-vision-preview"],
"allow_manual_entry": true, "is_multi_select": false, "input_type": "default"},
"presence_penalty": {"type": ["double"], "default": 0, "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "stop": {"type":
["list"], "default": "", "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "temperature": {"type": ["double"], "default": 1,
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"top_p": {"type": ["double"], "default": 1, "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Use OpenAI GPT-4V to leverage
vision ability.", "module": "promptflow.tools.openai_gpt4v", "class_name":
"OpenAI", "function": "chat", "is_builtin": true, "package": "promptflow-tools",
"package_version": "0.0.216", "default_prompt": "# system:\nAs an AI assistant,
your task involves interpreting images and responding to questions about the
image.\nRemember to provide accurate answers based on the information present
in the image.\n\n# user:\nCan you tell me what the image depicts?\n\n",
"enable_kwargs": false, "tool_state": "stable"}, {"name": "Serp API", "type":
"python", "inputs": {"connection": {"type": ["SerpConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "engine": {"type":
["string"], "default": "google", "enum": ["google", "bing"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "location": {"type":
["string"], "default": "", "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "num": {"type": ["int"], "default": "10",
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"query": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "safe": {"type": ["string"], "default": "off",
"enum": ["active", "off"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Use Serp API to obtain search
results from a specific search engine.", "module": "promptflow.tools.serpapi",
"class_name": "SerpAPI", "function": "search", "is_builtin": true, "package":
"promptflow-tools", "package_version": "0.0.216", "enable_kwargs": false,
"tool_state": "stable"}, {"name": "Faiss Index Lookup", "type": "python",
"inputs": {"path": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "top_k": {"type": ["int"], "default": "3",
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"vector": {"type": ["list"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Search vector based query
from the FAISS index file.", "module": "promptflow_vectordb.tool.faiss_index_lookup",
"class_name": "FaissIndexLookup", "function": "search", "is_builtin": true,
"package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "Vector DB Lookup", "type": "python",
"inputs": {"class_name": {"type": ["string"], "enabled_by": "connection",
"enabled_by_type": ["WeaviateConnection"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "collection_name": {"type": ["string"], "enabled_by":
"connection", "enabled_by_type": ["QdrantConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "connection": {"type":
["CognitiveSearchConnection", "QdrantConnection", "WeaviateConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "index_name": {"type":
["string"], "enabled_by": "connection", "enabled_by_type": ["CognitiveSearchConnection"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"search_filters": {"type": ["object"], "enabled_by": "connection", "enabled_by_type":
["CognitiveSearchConnection", "QdrantConnection"], "allow_manual_entry": false,
"is_multi_select": false, "input_type": "default"}, "search_params": {"type":
["object"], "enabled_by": "connection", "enabled_by_type": ["CognitiveSearchConnection",
"QdrantConnection"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "text_field": {"type": ["string"], "enabled_by":
"connection", "enabled_by_type": ["CognitiveSearchConnection", "QdrantConnection",
"WeaviateConnection"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "top_k": {"type": ["int"], "default": "3", "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "vector": {"type":
["list"], "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default"}, "vector_field": {"type": ["string"], "enabled_by": "connection",
"enabled_by_type": ["CognitiveSearchConnection"], "allow_manual_entry": false,
"is_multi_select": false, "input_type": "default"}}, "description": "Search
vector based query from existing Vector Database.", "module": "promptflow_vectordb.tool.vector_db_lookup",
"class_name": "VectorDBLookup", "function": "search", "is_builtin": true,
"package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "Vector Index Lookup", "type": "python",
"inputs": {"path": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "query": {"type": ["object"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "top_k": {"type":
["int"], "default": "3", "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}}, "description": "Search text or vector based query
from AzureML Vector Index.", "module": "promptflow_vectordb.tool.vector_index_lookup",
"class_name": "VectorIndexLookup", "function": "search", "is_builtin": true,
"package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "hello_world.py", "type": "python",
"inputs": {"name": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "source": "hello_world.py", "function":
"hello_world", "is_builtin": false, "enable_kwargs": false, "tool_state":
"stable"}], "inputs": {"name": {"type": "string", "default": "hod", "is_chat_input":
false}}, "outputs": {"result": {"type": "string", "reference": "${hello_world.output}",
"evaluation_only": false, "is_chat_output": false}}}, "flowRunResourceId":
"azureml://locations/eastus/workspaces/00000/flows/batch_run_name/flowRuns/batch_run_name",
"flowRunId": "batch_run_name", "flowRunDisplayName": "sdk-cli-test-fixture-batch-run-without-llm",
"batchDataInput": {"dataUri": "azureml://datastores/workspaceblobstore/paths/LocalUpload/74c11bba717480b2d6b04b8e746d09d7/webClassification3.jsonl"},
"flowRunType": "FlowRun", "flowType": "Default", "runtimeName": "test-runtime-ci",
"inputsMapping": {"name": "${data.url}"}, "outputDatastoreName": "workspaceblobstore",
"childRunBasePath": "promptflow/PromptFlowArtifacts/batch_run_name/flow_artifacts",
"flowDagFileRelativePath": "flow.dag.yaml", "flowSnapshotId": "262811e1-fb9a-43c6-a3e6-05862724c611",
"studioPortalEndpoint": "https://ml.azure.com/runs/batch_run_name?wsid=/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000"}'
headers:
connection:
- keep-alive
content-length:
- '12912'
content-type:
- application/json; charset=utf-8
strict-transport-security:
- max-age=15724800; includeSubDomains; preload
transfer-encoding:
- chunked
vary:
- Accept-Encoding
x-content-type-options:
- nosniff
x-request-time:
- '0.300'
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
User-Agent:
- promptflow-sdk/0.0.1 azsdk-python-azuremachinelearningdesignerserviceclient/unknown
Python/3.10.13 (Windows-10-10.0.22631-SP0)
method: GET
uri: https://eastus.api.azureml.ms/flow/api/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/BulkRuns/batch_run_name
response:
body:
string: '{"flowGraph": {"nodes": [{"name": "hello_world", "type": "python",
"source": {"type": "code", "path": "hello_world.py"}, "inputs": {"name": "${inputs.name}"},
"tool": "hello_world.py", "reduce": false}], "tools": [{"name": "Content Safety
(Text Analyze)", "type": "python", "inputs": {"connection": {"type": ["AzureContentSafetyConnection"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"hate_category": {"type": ["string"], "default": "medium_sensitivity", "enum":
["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"self_harm_category": {"type": ["string"], "default": "medium_sensitivity",
"enum": ["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"sexual_category": {"type": ["string"], "default": "medium_sensitivity", "enum":
["disable", "low_sensitivity", "medium_sensitivity", "high_sensitivity"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"text": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "violence_category": {"type": ["string"],
"default": "medium_sensitivity", "enum": ["disable", "low_sensitivity", "medium_sensitivity",
"high_sensitivity"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}}, "description": "Use Azure Content Safety to detect
harmful content.", "module": "promptflow.tools.azure_content_safety", "function":
"analyze_text", "is_builtin": true, "package": "promptflow-tools", "package_version":
"0.0.216", "enable_kwargs": false, "deprecated_tools": ["content_safety_text.tools.content_safety_text_tool.analyze_text"],
"tool_state": "stable"}, {"name": "Embedding", "type": "python", "inputs":
{"connection": {"type": ["AzureOpenAIConnection", "OpenAIConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "deployment_name":
{"type": ["string"], "enabled_by": "connection", "enabled_by_type": ["AzureOpenAIConnection"],
"model_list": ["text-embedding-ada-002", "text-search-ada-doc-001", "text-search-ada-query-001"],
"capabilities": {"completion": false, "chat_completion": false, "embeddings":
true}, "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default"}, "input": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "model": {"type": ["string"], "enum": ["text-embedding-ada-002",
"text-search-ada-doc-001", "text-search-ada-query-001"], "enabled_by": "connection",
"enabled_by_type": ["OpenAIConnection"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Use Open AI''s embedding
model to create an embedding vector representing the input text.", "module":
"promptflow.tools.embedding", "function": "embedding", "is_builtin": true,
"package": "promptflow-tools", "package_version": "0.0.216", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "Open Source LLM", "type": "custom_llm",
"inputs": {"api": {"type": ["string"], "enum": ["chat", "completion"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "connection": {"type":
["CustomConnection"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "deployment_name": {"type": ["string"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "endpoint_name":
{"type": ["string"], "default": "-- please enter an endpoint name --", "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "max_new_tokens":
{"type": ["int"], "default": 500, "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "model_kwargs": {"type": ["object"], "default":
"{}", "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default", "advanced": true}, "temperature": {"type": ["double"], "default":
1.0, "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default"}, "top_p": {"type": ["double"], "default": 1.0, "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default", "advanced": true}},
"description": "Use an Open Source model from the Azure Model catalog, deployed
to an AzureML Online Endpoint for LLM Chat or Completion API calls.", "module":
"promptflow.tools.open_source_llm", "class_name": "OpenSourceLLM", "function":
"call", "icon": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACgElEQVR4nGWSz2vcVRTFP/e9NzOZ1KDGohASslLEH6VLV0ak4l/QpeDCrfQPcNGliODKnVm4EBdBsIjQIlhciKW0ycKFVCSNbYnjdDLtmPnmO/nO9917XcxMkjYX3uLx7nnn3HOuMK2Nix4fP78ZdrYXVkLVWjf3l3B1B+HpcjzGFtmqa6cePz7/x0dnn1n5qhj3iBJPYREIURAJuCtpY8PjReDbrf9WG7H1fuefwQU9qKztTcMJT+PNnEFvjGVDBDlSsH6p/9MLzy6+NxwVqI8RAg4IPmWedMckdLYP6O6UpIaQfvyyXG012+e79/ZfHukoS1ISMT2hGTB1RkUmNgQ5QZ0w+a2VWDq73MbdEWmfnnv6UWe7oNzPaLapl5CwuLTXK9WUGBuCjqekzhP+z52ZXOrKMD3OJg0Hh778aiOuvpnYvp05d6GJO4iAO4QAe/eV36/X5LFRV4Zmn+AdkqlL8Vjp3oVioOz+WTPzzYEgsN+fgPLYyJVheSbPPVl2ikeGZRjtG52/8rHuaV9VOlpP2OtKyVndcRVCSqOhsvxa4vW359i6OuKdD+aP8Q4SYPdOzS/flGjt1JUSaMqZ5nwa1Y8qWb/Ud/eZZkHisYezEM0m+fcelDr8F1SqW2LNK6r1jXQwyLzy1hxvrLXZulry7ocL+FS6G4QIu3fG/Px1gdYeW7LIgXU2P/115TOA5G7e3Rmj2aS/m7l5pThiZzrCcE/d1XHzbln373nw7y6veeoUm5KCNKT/IPPwbiY1hYd/l5MIT65BMFt87sU4v9D7/JMflr44uV6hGh1+L4RCkg6z5iK2tAhNLeLsNGwYA4fDYnC/drvuuFxe86NV/x+Ut27g0FvykgAAAABJRU5ErkJggg==",
"is_builtin": true, "package": "promptflow-tools", "package_version": "0.0.216",
"enable_kwargs": false, "tool_state": "stable"}, {"name": "OpenAI GPT-4V",
"type": "custom_llm", "inputs": {"connection": {"type": ["OpenAIConnection"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"frequency_penalty": {"type": ["double"], "default": 0, "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "max_tokens": {"type":
["int"], "default": "", "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "model": {"type": ["string"], "enum": ["gpt-4-vision-preview"],
"allow_manual_entry": true, "is_multi_select": false, "input_type": "default"},
"presence_penalty": {"type": ["double"], "default": 0, "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "stop": {"type":
["list"], "default": "", "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "temperature": {"type": ["double"], "default": 1,
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"top_p": {"type": ["double"], "default": 1, "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Use OpenAI GPT-4V to leverage
vision ability.", "module": "promptflow.tools.openai_gpt4v", "class_name":
"OpenAI", "function": "chat", "is_builtin": true, "package": "promptflow-tools",
"package_version": "0.0.216", "default_prompt": "# system:\nAs an AI assistant,
your task involves interpreting images and responding to questions about the
image.\nRemember to provide accurate answers based on the information present
in the image.\n\n# user:\nCan you tell me what the image depicts?\n\n",
"enable_kwargs": false, "tool_state": "stable"}, {"name": "Serp API", "type":
"python", "inputs": {"connection": {"type": ["SerpConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "engine": {"type":
["string"], "default": "google", "enum": ["google", "bing"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "location": {"type":
["string"], "default": "", "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "num": {"type": ["int"], "default": "10",
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"query": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "safe": {"type": ["string"], "default": "off",
"enum": ["active", "off"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Use Serp API to obtain search
results from a specific search engine.", "module": "promptflow.tools.serpapi",
"class_name": "SerpAPI", "function": "search", "is_builtin": true, "package":
"promptflow-tools", "package_version": "0.0.216", "enable_kwargs": false,
"tool_state": "stable"}, {"name": "Faiss Index Lookup", "type": "python",
"inputs": {"path": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "top_k": {"type": ["int"], "default": "3",
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"vector": {"type": ["list"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "description": "Search vector based query
from the FAISS index file.", "module": "promptflow_vectordb.tool.faiss_index_lookup",
"class_name": "FaissIndexLookup", "function": "search", "is_builtin": true,
"package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "Vector DB Lookup", "type": "python",
"inputs": {"class_name": {"type": ["string"], "enabled_by": "connection",
"enabled_by_type": ["WeaviateConnection"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "collection_name": {"type": ["string"], "enabled_by":
"connection", "enabled_by_type": ["QdrantConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "connection": {"type":
["CognitiveSearchConnection", "QdrantConnection", "WeaviateConnection"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "index_name": {"type":
["string"], "enabled_by": "connection", "enabled_by_type": ["CognitiveSearchConnection"],
"allow_manual_entry": false, "is_multi_select": false, "input_type": "default"},
"search_filters": {"type": ["object"], "enabled_by": "connection", "enabled_by_type":
["CognitiveSearchConnection", "QdrantConnection"], "allow_manual_entry": false,
"is_multi_select": false, "input_type": "default"}, "search_params": {"type":
["object"], "enabled_by": "connection", "enabled_by_type": ["CognitiveSearchConnection",
"QdrantConnection"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "text_field": {"type": ["string"], "enabled_by":
"connection", "enabled_by_type": ["CognitiveSearchConnection", "QdrantConnection",
"WeaviateConnection"], "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}, "top_k": {"type": ["int"], "default": "3", "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "vector": {"type":
["list"], "allow_manual_entry": false, "is_multi_select": false, "input_type":
"default"}, "vector_field": {"type": ["string"], "enabled_by": "connection",
"enabled_by_type": ["CognitiveSearchConnection"], "allow_manual_entry": false,
"is_multi_select": false, "input_type": "default"}}, "description": "Search
vector based query from existing Vector Database.", "module": "promptflow_vectordb.tool.vector_db_lookup",
"class_name": "VectorDBLookup", "function": "search", "is_builtin": true,
"package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "Vector Index Lookup", "type": "python",
"inputs": {"path": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}, "query": {"type": ["object"], "allow_manual_entry":
false, "is_multi_select": false, "input_type": "default"}, "top_k": {"type":
["int"], "default": "3", "allow_manual_entry": false, "is_multi_select": false,
"input_type": "default"}}, "description": "Search text or vector based query
from AzureML Vector Index.", "module": "promptflow_vectordb.tool.vector_index_lookup",
"class_name": "VectorIndexLookup", "function": "search", "is_builtin": true,
"package": "promptflow-vectordb", "package_version": "0.0.1", "enable_kwargs":
false, "tool_state": "stable"}, {"name": "hello_world.py", "type": "python",
"inputs": {"name": {"type": ["string"], "allow_manual_entry": false, "is_multi_select":
false, "input_type": "default"}}, "source": "hello_world.py", "function":
"hello_world", "is_builtin": false, "enable_kwargs": false, "tool_state":
"stable"}], "inputs": {"name": {"type": "string", "default": "hod", "is_chat_input":
false}}, "outputs": {"result": {"type": "string", "reference": "${hello_world.output}",
"evaluation_only": false, "is_chat_output": false}}}, "flowRunResourceId":
"azureml://locations/eastus/workspaces/00000/flows/batch_run_name/flowRuns/batch_run_name",
"flowRunId": "batch_run_name", "flowRunDisplayName": "sdk-cli-test-fixture-batch-run-without-llm",
"batchDataInput": {"dataUri": "azureml://datastores/workspaceblobstore/paths/LocalUpload/74c11bba717480b2d6b04b8e746d09d7/webClassification3.jsonl"},
"flowRunType": "FlowRun", "flowType": "Default", "runtimeName": "test-runtime-ci",
"inputsMapping": {"name": "${data.url}"}, "outputDatastoreName": "workspaceblobstore",
"childRunBasePath": "promptflow/PromptFlowArtifacts/batch_run_name/flow_artifacts",
"flowDagFileRelativePath": "flow.dag.yaml", "flowSnapshotId": "262811e1-fb9a-43c6-a3e6-05862724c611",
"studioPortalEndpoint": "https://ml.azure.com/runs/batch_run_name?wsid=/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000"}'
headers:
connection:
- keep-alive
content-length:
- '12912'
content-type:
- application/json; charset=utf-8
strict-transport-security:
- max-age=15724800; includeSubDomains; preload
transfer-encoding:
- chunked
vary:
- Accept-Encoding
x-content-type-options:
- nosniff
x-request-time:
- '0.499'
status:
code: 200
message: OK
- request:
body: '{"runId": "batch_run_name", "selectRunMetadata": true, "selectRunDefinition":
true, "selectJobSpecification": true}'
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:
- '137'
Content-Type:
- application/json
User-Agent:
- python-requests/2.31.0
method: POST
uri: https://eastus.api.azureml.ms/history/v1.0/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/rundata
response:
body:
string: '{"runMetadata": {"runNumber": 1705046394, "rootRunId": "batch_run_name",
"createdUtc": "2024-01-12T07:59:54.1576182+00:00", "createdBy": {"userObjectId":
"00000000-0000-0000-0000-000000000000", "userPuId": null, "userIdp": "https://sts.windows.net/00000000-0000-0000-0000-000000000000/",
"userAltSecId": null, "userIss": "https://sts.windows.net/00000000-0000-0000-0000-000000000000/",
"userTenantId": "00000000-0000-0000-0000-000000000000", "userName": "4cbd0e2e-aae4-4099-b4ba-94d3a4910587",
"upn": null}, "userId": "00000000-0000-0000-0000-000000000000", "token": null,
"tokenExpiryTimeUtc": null, "error": null, "warnings": null, "revision": 6,
"statusRevision": 3, "runUuid": "cb61d4de-3596-45d6-ba16-0faaff6c510c", "parentRunUuid":
null, "rootRunUuid": "cb61d4de-3596-45d6-ba16-0faaff6c510c", "lastStartTimeUtc":
null, "currentComputeTime": null, "computeDuration": "00:00:03.7070353", "effectiveStartTimeUtc":
null, "lastModifiedBy": {"userObjectId": "00000000-0000-0000-0000-000000000000",
"userPuId": null, "userIdp": "https://sts.windows.net/00000000-0000-0000-0000-000000000000/",
"userAltSecId": null, "userIss": "https://sts.windows.net/00000000-0000-0000-0000-000000000000/",
"userTenantId": "00000000-0000-0000-0000-000000000000", "userName": "18a66f5f-dbdf-4c17-9dd7-1634712a9cbe",
"upn": null}, "lastModifiedUtc": "2024-01-12T08:00:14.0134009+00:00", "duration":
"00:00:03.7070353", "cancelationReason": null, "currentAttemptId": 1, "runId":
"batch_run_name", "parentRunId": null, "experimentId": "b1e733a1-2a5f-4c17-bc34-4d66d2858228",
"status": "Completed", "startTimeUtc": "2024-01-12T08:00:11.1015272+00:00",
"endTimeUtc": "2024-01-12T08:00:14.8085625+00:00", "scheduleId": null, "displayName":
"sdk-cli-test-fixture-batch-run-without-llm", "name": null, "dataContainerId":
"dcid.batch_run_name", "description": null, "hidden": false, "runType": "azureml.promptflow.FlowRun",
"runTypeV2": {"orchestrator": null, "traits": [], "attribution": "PromptFlow",
"computeType": "AmlcDsi"}, "properties": {"azureml.promptflow.runtime_name":
"test-runtime-ci", "azureml.promptflow.runtime_version": "20231204.v4", "azureml.promptflow.definition_file_name":
"flow.dag.yaml", "azureml.promptflow.session_id": "bee356189f7e7f18671a79369c78df4cfb1bbd0c99069074",
"azureml.promptflow.flow_lineage_id": "f7ee724d91e4f4a7501bdc0b66995bc8b57f86b3a526fa2a81c34ebcccbbd912",
"azureml.promptflow.flow_definition_datastore_name": "workspaceblobstore",
"azureml.promptflow.flow_definition_blob_path": "LocalUpload/36774154bc3ecde4aa21054b3052221f/hello-world/flow.dag.yaml",
"azureml.promptflow.input_data": "azureml://datastores/workspaceblobstore/paths/LocalUpload/74c11bba717480b2d6b04b8e746d09d7/webClassification3.jsonl",
"azureml.promptflow.inputs_mapping": "{\"name\":\"${data.url}\"}", "_azureml.evaluation_run":
"promptflow.BatchRun", "azureml.promptflow.snapshot_id": "262811e1-fb9a-43c6-a3e6-05862724c611",
"azureml.promptflow.total_tokens": "0", "_azureml.evaluate_artifacts": "[{\"path\":
\"instance_results.jsonl\", \"type\": \"table\"}]"}, "parameters": {}, "actionUris":
{}, "scriptName": null, "target": null, "uniqueChildRunComputeTargets": [],
"tags": {}, "settings": {}, "services": {}, "inputDatasets": [], "outputDatasets":
[], "runDefinition": null, "jobSpecification": null, "primaryMetricName":
null, "createdFrom": null, "cancelUri": null, "completeUri": null, "diagnosticsUri":
null, "computeRequest": null, "compute": null, "retainForLifetimeOfWorkspace":
false, "queueingInfo": null, "inputs": null, "outputs": {"debug_info": {"assetId":
"azureml://locations/eastus/workspaces/00000/data/azureml_batch_run_name_output_data_debug_info/versions/1",
"type": "UriFolder"}, "flow_outputs": {"assetId": "azureml://locations/eastus/workspaces/00000/data/azureml_batch_run_name_output_data_flow_outputs/versions/1",
"type": "UriFolder"}}}, "runDefinition": null, "jobSpecification": null, "systemSettings":
null}'
headers:
connection:
- keep-alive
content-length:
- '4649'
content-type:
- application/json; charset=utf-8
strict-transport-security:
- max-age=15724800; includeSubDomains; preload
transfer-encoding:
- chunked
vary:
- Accept-Encoding
x-content-type-options:
- nosniff
x-request-time:
- '0.036'
status:
code: 200
message: OK
- request:
body: null
headers:
Accept:
- application/json
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Type:
- application/json
User-Agent:
- promptflow-sdk/0.0.1 azsdk-python-azuremachinelearningdesignerserviceclient/unknown
Python/3.10.13 (Windows-10-10.0.22631-SP0)
method: GET
uri: https://eastus.api.azureml.ms/flow/api/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/00000/BulkRuns/batch_run_name/logContent
response:
body:
string: '"2024-01-12 07:59:58 +0000 49 promptflow-runtime INFO [batch_run_name]
Receiving v2 bulk run request 0583d2e8-cf03-466f-bd27-6b8f3c2dcd4e: {\"flow_id\":
\"batch_run_name\", \"flow_run_id\": \"batch_run_name\", \"flow_source\":
{\"flow_source_type\": 1, \"flow_source_info\": {\"snapshot_id\": \"262811e1-fb9a-43c6-a3e6-05862724c611\"},
\"flow_dag_file\": \"flow.dag.yaml\"}, \"log_path\": \"https://promptfloweast4063704120.blob.core.windows.net/azureml/ExperimentRun/dcid.batch_run_name/logs/azureml/executionlogs.txt?sv=2019-07-07&sr=b&sig=**data_scrubbed**&skoid=55b92eba-d7c7-4afd-ab76-7bb1cd345283&sktid=00000000-0000-0000-0000-000000000000&skt=2024-01-12T07%3A49%3A53Z&ske=2024-01-13T15%3A59%3A53Z&sks=b&skv=2019-07-07&st=2024-01-12T07%3A49%3A57Z&se=2024-01-12T15%3A59%3A57Z&sp=rcw\",
\"app_insights_instrumentation_key\": \"InstrumentationKey=**data_scrubbed**;IngestionEndpoint=https://eastus-6.in.applicationinsights.azure.com/;LiveEndpoint=https://eastus.livediagnostics.monitor.azure.com/\",
\"data_inputs\": {\"data\": \"azureml://datastores/workspaceblobstore/paths/LocalUpload/74c11bba717480b2d6b04b8e746d09d7/webClassification3.jsonl\"},
\"inputs_mapping\": {\"name\": \"${data.url}\"}, \"azure_storage_setting\":
{\"azure_storage_mode\": 1, \"storage_account_name\": \"promptfloweast4063704120\",
\"blob_container_name\": \"azureml-blobstore-3e123da1-f9a5-4c91-9234-8d9ffbb39ff5\",
\"flow_artifacts_root_path\": \"promptflow/PromptFlowArtifacts/batch_run_name\",
\"blob_container_sas_token\": \"?sv=2019-07-07&sr=c&sig=**data_scrubbed**&skoid=55b92eba-d7c7-4afd-ab76-7bb1cd345283&sktid=00000000-0000-0000-0000-000000000000&skt=2024-01-12T07%3A59%3A58Z&ske=2024-01-19T07%3A59%3A58Z&sks=b&skv=2019-07-07&se=2024-01-19T07%3A59%3A58Z&sp=racwl\",
\"output_datastore_name\": \"workspaceblobstore\"}}\n2024-01-12 07:59:58 +0000 49
promptflow-runtime INFO Runtime version: 20231204.v4. PromptFlow version:
1.2.0rc1\n2024-01-12 07:59:58 +0000 49 promptflow-runtime INFO Updating
batch_run_name to Status.Preparing...\n2024-01-12 07:59:58 +0000 49 promptflow-runtime
INFO Downloading snapshot to /mnt/host/service/app/39649/requests/batch_run_name\n2024-01-12
07:59:58 +0000 49 promptflow-runtime INFO Get snapshot sas url for
262811e1-fb9a-43c6-a3e6-05862724c611...\n2024-01-12 08:00:05 +0000 49
promptflow-runtime INFO Downloading snapshot 262811e1-fb9a-43c6-a3e6-05862724c611
from uri https://promptfloweast4063704120.blob.core.windows.net/snapshotzips/promptflow-eastus:3e123da1-f9a5-4c91-9234-8d9ffbb39ff5:snapshotzip/262811e1-fb9a-43c6-a3e6-05862724c611.zip...\n2024-01-12
08:00:05 +0000 49 promptflow-runtime INFO Downloaded file /mnt/host/service/app/39649/requests/batch_run_name/262811e1-fb9a-43c6-a3e6-05862724c611.zip
with size 495 for snapshot 262811e1-fb9a-43c6-a3e6-05862724c611.\n2024-01-12
08:00:05 +0000 49 promptflow-runtime INFO Download snapshot 262811e1-fb9a-43c6-a3e6-05862724c611
completed.\n2024-01-12 08:00:05 +0000 49 promptflow-runtime INFO Successfully
download snapshot to /mnt/host/service/app/39649/requests/batch_run_name\n2024-01-12
08:00:05 +0000 49 promptflow-runtime INFO About to execute a python
flow.\n2024-01-12 08:00:05 +0000 49 promptflow-runtime INFO Use spawn
method to start child process.\n2024-01-12 08:00:05 +0000 49 promptflow-runtime
INFO Starting to check process 3326 status for run batch_run_name\n2024-01-12
08:00:05 +0000 49 promptflow-runtime INFO Start checking run status
for run batch_run_name\n2024-01-12 08:00:09 +0000 3326 promptflow-runtime
INFO [49--3326] Start processing flowV2......\n2024-01-12 08:00:09 +0000 3326
promptflow-runtime INFO Runtime version: 20231204.v4. PromptFlow version:
1.2.0rc1\n2024-01-12 08:00:09 +0000 3326 promptflow-runtime INFO Setting
mlflow tracking uri...\n2024-01-12 08:00:09 +0000 3326 promptflow-runtime
INFO Validating ''AzureML Data Scientist'' user authentication...\n2024-01-12
08:00:09 +0000 3326 promptflow-runtime INFO Successfully validated
''AzureML Data Scientist'' user authentication.\n2024-01-12 08:00:09 +0000 3326
promptflow-runtime INFO Using AzureMLRunStorageV2\n2024-01-12 08:00:09
+0000 3326 promptflow-runtime INFO Setting mlflow tracking uri to ''azureml://eastus.api.azureml.ms/mlflow/v1.0/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/promptflow-eastus''\n2024-01-12
08:00:09 +0000 3326 promptflow-runtime INFO Initialized blob service
client for AzureMLRunTracker.\n2024-01-12 08:00:10 +0000 3326 promptflow-runtime
INFO Setting mlflow tracking uri to ''azureml://eastus.api.azureml.ms/mlflow/v1.0/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/00000/providers/Microsoft.MachineLearningServices/workspaces/promptflow-eastus''\n2024-01-12
08:00:10 +0000 3326 promptflow-runtime INFO Resolve data from url finished
in 0.478999188169837 seconds\n2024-01-12 08:00:10 +0000 3326 promptflow-runtime
INFO Starting the aml run ''batch_run_name''...\n2024-01-12 08:00:11 +0000 3326
execution.bulk INFO Using fork, process count: 3\n2024-01-12 08:00:11
+0000 3369 execution.bulk INFO Process 3369 started.\n2024-01-12
08:00:11 +0000 3373 execution.bulk INFO Process 3373 started.\n2024-01-12
08:00:11 +0000 3378 execution.bulk INFO Process 3378 started.\n2024-01-12
08:00:11 +0000 3326 execution.bulk INFO Process name: ForkProcess-42:2,
Process id: 3369, Line number: 0 start execution.\n2024-01-12 08:00:11 +0000 3326
execution.bulk INFO Process name: ForkProcess-42:4, Process id: 3373,
Line number: 1 start execution.\n2024-01-12 08:00:11 +0000 3326 execution.bulk INFO Process
name: ForkProcess-42:3, Process id: 3378, Line number: 2 start execution.\n2024-01-12
08:00:11 +0000 3326 execution.bulk INFO Process name: ForkProcess-42:2,
Process id: 3369, Line number: 0 completed.\n2024-01-12 08:00:11 +0000 3326
execution.bulk INFO Finished 1 / 3 lines.\n2024-01-12 08:00:11 +0000 3326
execution.bulk INFO Average execution time for completed lines: 0.24
seconds. Estimated time for incomplete lines: 0.48 seconds.\n2024-01-12 08:00:11
+0000 3326 execution.bulk INFO Process name: ForkProcess-42:3,
Process id: 3378, Line number: 2 completed.\n2024-01-12 08:00:11 +0000 3326
execution.bulk INFO Process name: ForkProcess-42:4, Process id: 3373,
Line number: 1 completed.\n2024-01-12 08:00:11 +0000 3326 execution.bulk INFO Finished
3 / 3 lines.\n2024-01-12 08:00:11 +0000 3326 execution.bulk INFO Finished
3 / 3 lines.\n2024-01-12 08:00:11 +0000 3326 execution.bulk INFO Average
execution time for completed lines: 0.1 seconds. Estimated time for incomplete
lines: 0.0 seconds.\n2024-01-12 08:00:11 +0000 3326 execution.bulk INFO Average
execution time for completed lines: 0.1 seconds. Estimated time for incomplete
lines: 0.0 seconds.\n2024-01-12 08:00:13 +0000 3326 execution.bulk INFO Upload
status summary metrics for run batch_run_name finished in 1.2024374650791287
seconds\n2024-01-12 08:00:14 +0000 3326 promptflow-runtime INFO Successfully
write run properties {\"azureml.promptflow.total_tokens\": 0, \"_azureml.evaluate_artifacts\":
\"[{\\\"path\\\": \\\"instance_results.jsonl\\\", \\\"type\\\": \\\"table\\\"}]\"}
with run id ''batch_run_name''\n2024-01-12 08:00:14 +0000 3326 execution.bulk INFO Upload
RH properties for run batch_run_name finished in 0.0886351577937603 seconds\n2024-01-12
08:00:14 +0000 3326 promptflow-runtime INFO Creating unregistered output
Asset for Run batch_run_name...\n2024-01-12 08:00:14 +0000 3326 promptflow-runtime
INFO Created debug_info Asset: azureml://locations/eastus/workspaces/00000/data/azureml_batch_run_name_output_data_debug_info/versions/1\n2024-01-12
08:00:14 +0000 3326 promptflow-runtime INFO Creating unregistered output
Asset for Run batch_run_name...\n2024-01-12 08:00:14 +0000 3326 promptflow-runtime
INFO Created flow_outputs output Asset: azureml://locations/eastus/workspaces/00000/data/azureml_batch_run_name_output_data_flow_outputs/versions/1\n2024-01-12
08:00:14 +0000 3326 promptflow-runtime INFO Creating Artifact for Run
batch_run_name...\n2024-01-12 08:00:14 +0000 3326 promptflow-runtime INFO Created
instance_results.jsonl Artifact.\n2024-01-12 08:00:14 +0000 3326 promptflow-runtime
INFO Patching batch_run_name...\n2024-01-12 08:00:14 +0000 3326 promptflow-runtime
INFO Ending the aml run ''batch_run_name'' with status ''Completed''...\n2024-01-12
08:00:19 +0000 49 promptflow-runtime INFO Process 3326 finished\n2024-01-12
08:00:19 +0000 49 promptflow-runtime INFO [49] Child process finished!\n2024-01-12
08:00:19 +0000 49 promptflow-runtime INFO [batch_run_name] End processing
bulk run\n2024-01-12 08:00:19 +0000 49 promptflow-runtime INFO Cleanup
working dir /mnt/host/service/app/39649/requests/batch_run_name for bulk run\n"'
headers:
connection:
- keep-alive
content-length:
- '9812'
content-type:
- application/json; charset=utf-8
strict-transport-security:
- max-age=15724800; includeSubDomains; preload
transfer-encoding:
- chunked
vary:
- Accept-Encoding
x-content-type-options:
- nosniff
x-request-time:
- '0.542'
status:
code: 200
message: OK
version: 1
| promptflow/src/promptflow/tests/test_configs/recordings/test_run_operations_TestFlowRun_test_stream_run_logs.yaml/0 | {
"file_path": "promptflow/src/promptflow/tests/test_configs/recordings/test_run_operations_TestFlowRun_test_stream_run_logs.yaml",
"repo_id": "promptflow",
"token_count": 53944
} | 92 |
name: flow_run_20230629_101205
description: sample bulk run
flow: ../flows/web_classification
data: ../datas/webClassification1.jsonl
column_mapping:
url: "${data.url}"
variant: ${summarize_text_content.variant_0}
# run config: env related
environment_variables: env_file
| promptflow/src/promptflow/tests/test_configs/runs/sample_bulk_run.yaml/0 | {
"file_path": "promptflow/src/promptflow/tests/test_configs/runs/sample_bulk_run.yaml",
"repo_id": "promptflow",
"token_count": 97
} | 93 |
from promptflow._core.tool import tool
from promptflow.connections import CustomStrongTypeConnection
from promptflow.contracts.types import Secret
class MyCustomConnection(CustomStrongTypeConnection):
"""My custom strong type connection.
:param api_key: The api key get from "https://xxx.com".
:type api_key: Secret
:param api_base: The api base.
:type api_base: String
"""
api_key: Secret
api_base: str = "This is a fake api base."
@tool(name="Tool With Custom Strong Type Connection", description="This is my tool with custom strong type connection.")
def my_tool(connection: MyCustomConnection, input_text: str) -> str:
# Replace with your tool code.
# Use custom strong type connection like: connection.api_key, connection.api_base
return "Hello " + input_text
| promptflow/src/promptflow/tests/test_configs/tools/tool_with_custom_strong_type_connection.py/0 | {
"file_path": "promptflow/src/promptflow/tests/test_configs/tools/tool_with_custom_strong_type_connection.py",
"repo_id": "promptflow",
"token_count": 239
} | 94 |
from promptflow import tool
@tool
def tool1():
pass
@tool
def tool2():
pass
| promptflow/src/promptflow/tests/test_configs/wrong_tools/multiple_tools.py/0 | {
"file_path": "promptflow/src/promptflow/tests/test_configs/wrong_tools/multiple_tools.py",
"repo_id": "promptflow",
"token_count": 34
} | 95 |
{
"name": "Promptflow-Python39",
// "context" is the path that the Codespaces docker build command should be run from, relative to devcontainer.json
"context": ".",
"dockerFile": "Dockerfile",
// Set *default* container specific settings.json values on container create.
"settings": {
"terminal.integrated.shell.linux": "/bin/bash"
},
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"ms-python.python",
"ms-toolsai.vscode-ai",
"ms-toolsai.jupyter",
"redhat.vscode-yaml",
"prompt-flow.prompt-flow"
],
"runArgs": ["-v", "/var/run/docker.sock:/var/run/docker.sock"]
}
| promptflow/.devcontainer/devcontainer.json/0 | {
"file_path": "promptflow/.devcontainer/devcontainer.json",
"repo_id": "promptflow",
"token_count": 230
} | 0 |
# Deploy to Azure App Service
[Azure App Service](https://learn.microsoft.com/azure/app-service/) is an HTTP-based service for hosting web applications, REST APIs, and mobile back ends.
The scripts (`deploy.sh` for bash and `deploy.ps1` for powershell) under [this folder](https://github.com/microsoft/promptflow/tree/main/examples/tutorials/flow-deploy/azure-app-service) are here to help deploy the docker image to Azure App Service.
This example demos how to deploy [web-classification](https://github.com/microsoft/promptflow/tree/main/examples/flows/standard/web-classification/) deploy a flow using Azure App Service.
## Build a flow as docker format app
Use the command below to build a flow as docker format app:
```bash
pf flow build --source ../../flows/standard/web-classification --output dist --format docker
```
Note that all dependent connections must be created before building as docker.
## Deploy with Azure App Service
The two scripts will do the following things:
1. Create a resource group if not exists.
2. Build and push the image to docker registry.
3. Create an app service plan with the given sku.
4. Create an app with specified name, set the deployment container image to the pushed docker image.
5. Set up the environment variables for the app.
::::{tab-set}
:::{tab-item} Bash
Example command to use bash script:
```shell
bash deploy.sh --path dist -i <image_tag> --name my_app_23d8m -r <docker registry> -g <resource_group>
```
See the full parameters by `bash deploy.sh -h`.
:::
:::{tab-item} PowerShell
Example command to use powershell script:
```powershell
.\deploy.ps1 -i <image_tag> --Name my_app_23d8m -r <docker registry> -g <resource_group>
```
See the full parameters by `.\deploy.ps1 -h`.
:::
::::
Note that the `name` will produce a unique FQDN as AppName.azurewebsites.net.
## View and test the web app
The web app can be found via [azure portal](https://portal.azure.com/)

After the app created, you will need to go to https://portal.azure.com/ find the app and set up the environment variables
at (Settings>Configuration) or (Settings>Environment variables), then restart the app.

The app can be tested by sending a POST request to the endpoint or browse the test page.
::::{tab-set}
:::{tab-item} Bash
```bash
curl https://<name>.azurewebsites.net/score --data '{"url":"https://play.google.com/store/apps/details?id=com.twitter.android"}' -X POST -H "Content-Type: application/json"
```
:::
:::{tab-item} PowerShell
```powershell
Invoke-WebRequest -URI https://<name>.azurewebsites.net/score -Body '{"url":"https://play.google.com/store/apps/details?id=com.twitter.android"}' -Method POST -ContentType "application/json"
```
:::
:::{tab-item} Test Page
Browse the app at Overview and see the test page:

:::
::::
Tips:
- Reach deployment logs at (Deployment>Deployment Central) and app logs at (Monitoring>Log stream).
- Reach advanced deployment tools at https://$name.scm.azurewebsites.net/.
- Reach more details about app service at https://learn.microsoft.com/azure/app-service/.
## Next steps
- Try the example [here](https://github.com/microsoft/promptflow/blob/main/examples/tutorials/flow-deploy/azure-app-service). | promptflow/docs/cloud/azureai/deploy-to-azure-appservice.md/0 | {
"file_path": "promptflow/docs/cloud/azureai/deploy-to-azure-appservice.md",
"repo_id": "promptflow",
"token_count": 1048
} | 1 |
# Add conditional control to a flow
:::{admonition} Experimental feature
This is an experimental feature, and may change at any time. Learn [more](faq.md#stable-vs-experimental).
:::
In prompt flow, we support control logic by activate config, like if-else, switch. Activate config enables conditional execution of nodes within your flow, ensuring that specific actions are taken only when the specified conditions are met.
This guide will help you learn how to use activate config to add conditional control to your flow.
## Prerequisites
Please ensure that your promptflow version is greater than `0.1.0b5`.
## Usage
Each node in your flow can have an associated activate config, specifying when it should execute and when it should bypass. If a node has activate config, it will only be executed when the activate condition is met. The configuration consists of two essential components:
- `activate.when`: The condition that triggers the execution of the node. It can be based on the outputs of a previous node, or the inputs of the flow.
- `activate.is`: The condition's value, which can be a constant value of string, boolean, integer, double.
You can manually change the flow.dag.yaml in the flow folder or use the visual editor in VS Code Extension to add activate config to nodes in the flow.
::::{tab-set}
:::{tab-item} YAML
:sync: YAML
You can add activate config in the node section of flow yaml.
```yaml
activate:
when: ${node.output}
is: true
```
:::
:::{tab-item} VS Code Extension
:sync: VS Code Extension
- Click `Visual editor` in the flow.dag.yaml to enter the flow interface.

- Click on the `Activation config` section in the node you want to add and fill in the values for "when" and "is".

:::
::::
### Further details and important notes
1. If the node using the python tool has an input that references a node that may be bypassed, please provide a default value for this input whenever possible. If there is no default value for input, the output of the bypassed node will be set to None.

2. It is not recommended to directly connect nodes that might be bypassed to the flow's outputs. If it is connected, the output will be None and a warning will be raised.

3. In a conditional flow, if a node has activate config, we will always use this config to determine whether the node should be bypassed. If a node is bypassed, its status will be marked as "Bypassed", as shown in the figure below Show. There are three situations in which a node is bypassed.

(1) If a node has activate config and the value of `activate.when` is not equals to `activate.is`, it will be bypassed. If you want to fore a node to always be executed, you can set the activate config to `when dummy is dummy` which always meets the activate condition.

(2) If a node has activate config and the node pointed to by `activate.when` is bypassed, it will be bypassed.

(3) If a node does not have activate config but depends on other nodes that have been bypassed, it will be bypassed.

## Example flow
Let's illustrate how to use activate config with practical examples.
- If-Else scenario: Learn how to develop a conditional flow for if-else scenarios. [View Example](https://github.com/microsoft/promptflow/tree/main/examples/flows/standard/conditional-flow-for-if-else)
- Switch scenario: Explore conditional flow for switch scenarios. [View Example](https://github.com/microsoft/promptflow/tree/main/examples/flows/standard/conditional-flow-for-switch)
## Next steps
- [Run and evaluate a flow](./run-and-evaluate-a-flow/index.md)
| promptflow/docs/how-to-guides/add-conditional-control-to-a-flow.md/0 | {
"file_path": "promptflow/docs/how-to-guides/add-conditional-control-to-a-flow.md",
"repo_id": "promptflow",
"token_count": 1231
} | 2 |
# Create and Use Your Own Custom Strong Type Connection
Connections provide a secure method for managing credentials for external APIs and data sources in prompt flow. This guide explains how to create and use a custom strong type connection.
## What is a Custom Strong Type Connection?
A custom strong type connection in prompt flow allows you to define a custom connection class with strongly typed keys. This provides the following benefits:
* Enhanced user experience - no need to manually enter connection keys.
* Rich intellisense experience - defining key types enables real-time suggestions and auto-completion of available keys as you work in VS Code.
* Central location to view available keys and data types.
For other connections types, please refer to [Connections](https://microsoft.github.io/promptflow/concepts/concept-connections.html).
## Prerequisites
- Please ensure that your [Prompt flow for VS Code](https://marketplace.visualstudio.com/items?itemName=prompt-flow.prompt-flow) is updated to at least version 1.2.1.
- Please install promptflow package and ensure that its version is 0.1.0b8 or later.
```
pip install promptflow>=0.1.0b8
```
## Create a custom strong type connection
Follow these steps to create a custom strong type connection:
1. Define a Python class inheriting from `CustomStrongTypeConnection`.
> [!Note] Please avoid using the `CustomStrongTypeConnection` class directly.
2. Use the Secret type to indicate secure keys. This enhances security by scrubbing secret keys.
3. Document with docstrings explaining each key.
For example:
```python
from promptflow.connections import CustomStrongTypeConnection
from promptflow.contracts.types import Secret
class MyCustomConnection(CustomStrongTypeConnection):
"""My custom strong type connection.
:param api_key: The api key.
:type api_key: Secret
:param api_base: The api base.
:type api_base: String
"""
api_key: Secret
api_base: str = "This is a fake api base."
```
See [this example](https://github.com/microsoft/promptflow/blob/main/examples/tools/tool-package-quickstart/my_tool_package/tools/tool_with_custom_strong_type_connection.py) for a complete implementation.
## Use the connection in a flow
Once you create a custom strong type connection, here are two ways to use it in your flows:
### With Package Tools:
1. Refer to the [Create and Use Tool Package](create-and-use-tool-package.md#create-custom-tool-package) to build and install your tool package containing the connection.
2. Develop a flow with custom tools. Please take [this folder](https://github.com/microsoft/promptflow/tree/main/examples/tools/use-cases/custom-strong-type-connection-package-tool-showcase) as an example.
3. Create a custom strong type connection using one of the following methods:
- If the connection type hasn't been created previously, click the 'Add connection' button to create the connection.

- Click the 'Create connection' plus sign in the CONNECTIONS section.

- Click 'Create connection' plus sign in the Custom category.

4. Fill in the `values` starting with `to-replace-with` in the connection template.

5. Run the flow with the created custom strong type connection.

### With Script Tools:
1. Develop a flow with python script tools. Please take [this folder](https://github.com/microsoft/promptflow/tree/main/examples/tools/use-cases/custom-strong-type-connection-script-tool-showcase) as an example.
2. Create a `CustomConnection`. Fill in the `keys` and `values` in the connection template.

3. Run the flow with the created custom connection.

## Local to cloud
When creating the necessary connections in Azure AI, you will need to create a `CustomConnection`. In the node interface of your flow, this connection will be displayed as the `CustomConnection` type.
Please refer to [Run prompt flow in Azure AI](https://microsoft.github.io/promptflow/cloud/azureai/quick-start.html) for more details.
Here is an example command:
```
pfazure run create --subscription 96aede12-2f73-41cb-b983-6d11a904839b -g promptflow -w my-pf-eus --flow D:\proj\github\ms\promptflow\examples\flows\standard\flow-with-package-tool-using-custom-strong-type-connection --data D:\proj\github\ms\promptflow\examples\flows\standard\flow-with-package-tool-using-custom-strong-type-connection\data.jsonl --runtime test-compute
```
## FAQs
### I followed the steps to create a custom strong type connection, but it's not showing up. What could be the issue?
Once the new tool package is installed in your local environment, a window reload is necessary. This action ensures that the new tools and custom strong type connections become visible and accessible.
| promptflow/docs/how-to-guides/develop-a-tool/create-your-own-custom-strong-type-connection.md/0 | {
"file_path": "promptflow/docs/how-to-guides/develop-a-tool/create-your-own-custom-strong-type-connection.md",
"repo_id": "promptflow",
"token_count": 1591
} | 3 |
# Tune prompts using variants
:::{admonition} Experimental feature
This is an experimental feature, and may change at any time. Learn [more](faq.md#stable-vs-experimental).
:::
To better understand this part, please read [Quick start](./quick-start.md) and [Run and evaluate a flow](./run-and-evaluate-a-flow/index.md) first.
## What is variant and why should we care
In order to help users tune the prompts in a more efficient way, we introduce [the concept of variants](../../concepts/concept-variants.md) which can help you test the model’s behavior under different conditions, such as different wording, formatting, context, temperature, or top-k, compare and find the best prompt and configuration that maximizes the model’s accuracy, diversity, or coherence.
## Create a run with different variant node
In this example, we use the flow [web-classification](https://github.com/microsoft/promptflow/tree/main/examples/flows/standard/web-classification), its node `summarize_text_content` has two variants: `variant_0` and `variant_1`. The difference between them is the inputs parameters:
```yaml
...
nodes:
- name: summarize_text_content
use_variants: true
...
node_variants:
summarize_text_content:
default_variant_id: variant_0
variants:
variant_0:
node:
type: llm
source:
type: code
path: summarize_text_content.jinja2
inputs:
deployment_name: text-davinci-003
max_tokens: '128'
temperature: '0.2'
text: ${fetch_text_content_from_url.output}
provider: AzureOpenAI
connection: open_ai_connection
api: completion
module: promptflow.tools.aoai
variant_1:
node:
type: llm
source:
type: code
path: summarize_text_content__variant_1.jinja2
inputs:
deployment_name: text-davinci-003
max_tokens: '256'
temperature: '0.3'
text: ${fetch_text_content_from_url.output}
provider: AzureOpenAI
connection: open_ai_connection
api: completion
module: promptflow.tools.aoai
```
You can check the whole flow definition in [flow.dag.yaml](https://github.com/microsoft/promptflow/tree/main/examples/flows/standard/web-classification/flow.dag.yaml).
Now we will create a variant run which uses node `summarize_text_content`'s variant `variant_1`.
Assuming you are in working directory `<path-to-the-sample-repo>/examples/flows/standard`
::::{tab-set}
:::{tab-item} CLI
:sync: CLI
Note we pass `--variant` to specify which variant of the node should be running.
```sh
pf run create --flow web-classification --data web-classification/data.jsonl --variant '${summarize_text_content.variant_1}' --column-mapping url='${data.url}' --stream --name my_first_variant_run
```
:::
:::{tab-item} SDK
:sync: SDK
```python
from promptflow import PFClient
pf = PFClient() # get a promptflow client
flow = "web-classification"
data= "web-classification/data.jsonl"
# use the variant1 of the summarize_text_content node.
variant_run = pf.run(
flow=flow,
data=data,
variant="${summarize_text_content.variant_1}", # use variant 1.
column_mapping={"url": "${data.url}"},
)
pf.stream(variant_run)
```
:::
:::{tab-item} VS Code Extension
:sync: VS Code Extension


:::
::::
After the variant run is created, you can evaluate the variant run with a evaluation flow, just like you evalute a standard flow run.
## Next steps
Learn more about:
- [Run and evaluate a flow](./run-and-evaluate-a-flow/index.md)
- [Deploy a flow](./deploy-a-flow/index.md)
- [Prompt flow in Azure AI](../cloud/azureai/quick-start.md) | promptflow/docs/how-to-guides/tune-prompts-with-variants.md/0 | {
"file_path": "promptflow/docs/how-to-guides/tune-prompts-with-variants.md",
"repo_id": "promptflow",
"token_count": 1454
} | 4 |
# Open Model LLM
## Introduction
The Open Model LLM tool enables the utilization of a variety of Open Model and Foundational Models, such as [Falcon](https://ml.azure.com/models/tiiuae-falcon-7b/version/4/catalog/registry/azureml) and [Llama 2](https://ml.azure.com/models/Llama-2-7b-chat/version/14/catalog/registry/azureml-meta), for natural language processing in Azure ML Prompt Flow.
Here's how it looks in action on the Visual Studio Code prompt flow extension. In this example, the tool is being used to call a LlaMa-2 chat endpoint and asking "What is CI?".

This prompt flow tool supports two different LLM API types:
- **Chat**: Shown in the example above. The chat API type facilitates interactive conversations with text-based inputs and responses.
- **Completion**: The Completion API type is used to generate single response text completions based on provided prompt input.
## Quick Overview: How do I use Open Model LLM Tool?
1. Choose a Model from the AzureML Model Catalog and get it deployed.
2. Connect to the model deployment.
3. Configure the open model llm tool settings.
4. Prepare the Prompt with [guidance](./prompt-tool.md#how-to-write-prompt).
5. Run the flow.
## Prerequisites: Model Deployment
1. Pick the model which matched your scenario from the [Azure Machine Learning model catalog](https://ml.azure.com/model/catalog).
2. Use the "Deploy" button to deploy the model to a AzureML Online Inference endpoint.
2.1. Use one of the Pay as you go deployment options.
More detailed instructions can be found here [Deploying foundation models to endpoints for inferencing.](https://learn.microsoft.com/en-us/azure/machine-learning/how-to-use-foundation-models?view=azureml-api-2#deploying-foundation-models-to-endpoints-for-inferencing)
## Prerequisites: Connect to the Model
In order for prompt flow to use your deployed model, you will need to connect to it. There are several ways to connect.
### 1. Endpoint Connections
Once associated to a AzureML or Azure AI Studio workspace, the Open Model LLM tool can use the endpoints on that workspace.
1. **Using AzureML or Azure AI Studio workspaces**: If you are using prompt flow in one of the web page based browsers workspaces, the online endpoints available on that workspace will automatically who up.
2. **Using VScode or Code First**: If you are using prompt flow in VScode or one of the Code First offerings, you will need to connect to the workspace. The Open Model LLM tool uses the azure.identity DefaultAzureCredential client for authorization. One way is through [setting environment credential values](https://learn.microsoft.com/en-us/python/api/azure-identity/azure.identity.environmentcredential?view=azure-python).
### 2. Custom Connections
The Open Model LLM tool uses the CustomConnection. Prompt flow supports two types of connections:
1. **Workspace Connections** - These are connections which are stored as secrets on an Azure Machine Learning workspace. While these can be used, in many places, the are commonly created and maintained in the Studio UI.
2. **Local Connections** - These are connections which are stored locally on your machine. These connections are not available in the Studio UX's, but can be used with the VScode extension.
Instructions on how to create a workspace or local Custom Connection [can be found here.](../../how-to-guides/manage-connections.md#create-a-connection)
The required keys to set are:
1. **endpoint_url**
- This value can be found at the previously created Inferencing endpoint.
2. **endpoint_api_key**
- Ensure to set this as a secret value.
- This value can be found at the previously created Inferencing endpoint.
3. **model_family**
- Supported values: LLAMA, DOLLY, GPT2, or FALCON
- This value is dependent on the type of deployment you are targeting.
## Running the Tool: Inputs
The Open Model LLM tool has a number of parameters, some of which are required. Please see the below table for details, you can match these to the screen shot above for visual clarity.
| Name | Type | Description | Required |
|------|------|-------------|----------|
| api | string | This is the API mode and will depend on the model used and the scenario selected. *Supported values: (Completion \| Chat)* | Yes |
| endpoint_name | string | Name of an Online Inferencing Endpoint with a supported model deployed on it. Takes priority over connection. | No |
| temperature | float | The randomness of the generated text. Default is 1. | No |
| max_new_tokens | integer | The maximum number of tokens to generate in the completion. Default is 500. | No |
| top_p | float | The probability of using the top choice from the generated tokens. Default is 1. | No |
| model_kwargs | dictionary | This input is used to provide configuration specific to the model used. For example, the Llama-02 model may use {\"temperature\":0.4}. *Default: {}* | No |
| deployment_name | string | The name of the deployment to target on the Online Inferencing endpoint. If no value is passed, the Inferencing load balancer traffic settings will be used. | No |
| prompt | string | The text prompt that the language model will use to generate it's response. | Yes |
## Outputs
| API | Return Type | Description |
|------------|-------------|------------------------------------------|
| Completion | string | The text of one predicted completion |
| Chat | string | The text of one response int the conversation |
## Deploying to an Online Endpoint
When deploying a flow containing the Open Model LLM tool to an online endpoint, there is an additional step to setup permissions. During deployment through the web pages, there is a choice between System-assigned and User-assigned Identity types. Either way, using the Azure Portal (or a similar functionality), add the "Reader" Job function role to the identity on the Azure Machine Learning workspace or Ai Studio project which is hosting the endpoint. The prompt flow deployment may need to be refreshed.
| promptflow/docs/reference/tools-reference/open_model_llm_tool.md/0 | {
"file_path": "promptflow/docs/reference/tools-reference/open_model_llm_tool.md",
"repo_id": "promptflow",
"token_count": 1634
} | 5 |
$schema: https://azuremlschemas.azureedge.net/promptflow/latest/CustomConnection.schema.json
name: custom_connection
type: custom
configs:
key1: "test1"
secrets: # required
api-key: "<to-be-replaced>" | promptflow/examples/connections/custom.yml/0 | {
"file_path": "promptflow/examples/connections/custom.yml",
"repo_id": "promptflow",
"token_count": 76
} | 6 |
# Chat with PDF
This is a simple Python application that allow you to ask questions about the content of a PDF file and get answers.
It's a console application that you start with a URL to a PDF file as argument. Once it's launched it will download the PDF and build an index of the content. Then when you ask a question, it will look up the index to retrieve relevant content and post the question with the relevant content to OpenAI chat model (gpt-3.5-turbo or gpt4) to get an answer.
## Screenshot - ask questions about BERT paper

## How it works?
## Get started
### Create .env file in this folder with below content
```
OPENAI_API_BASE=<AOAI_endpoint>
OPENAI_API_KEY=<AOAI_key>
EMBEDDING_MODEL_DEPLOYMENT_NAME=text-embedding-ada-002
CHAT_MODEL_DEPLOYMENT_NAME=gpt-35-turbo
PROMPT_TOKEN_LIMIT=3000
MAX_COMPLETION_TOKENS=256
VERBOSE=false
CHUNK_SIZE=1024
CHUNK_OVERLAP=64
```
Note: CHAT_MODEL_DEPLOYMENT_NAME should point to a chat model like gpt-3.5-turbo or gpt-4
### Run the command line
```shell
python main.py <url-to-pdf-file>
``` | promptflow/examples/flows/chat/chat-with-pdf/chat_with_pdf/README.md/0 | {
"file_path": "promptflow/examples/flows/chat/chat-with-pdf/chat_with_pdf/README.md",
"repo_id": "promptflow",
"token_count": 371
} | 7 |
from typing import List
import openai
from openai.version import VERSION as OPENAI_VERSION
import os
import tiktoken
from jinja2 import Template
from .retry import (
retry_and_handle_exceptions,
retry_and_handle_exceptions_for_generator,
)
from .logging import log
def extract_delay_from_rate_limit_error_msg(text):
import re
pattern = r"retry after (\d+)"
match = re.search(pattern, text)
if match:
retry_time_from_message = match.group(1)
return float(retry_time_from_message)
else:
return 5 # default retry time
class OAI:
def __init__(self):
if OPENAI_VERSION.startswith("0."):
raise Exception(
"Please upgrade your OpenAI package to version >= 1.0.0 or "
"using the command: pip install --upgrade openai."
)
init_params = {}
api_type = os.environ.get("OPENAI_API_TYPE")
if os.getenv("OPENAI_API_VERSION") is not None:
init_params["api_version"] = os.environ.get("OPENAI_API_VERSION")
if os.getenv("OPENAI_ORG_ID") is not None:
init_params["organization"] = os.environ.get("OPENAI_ORG_ID")
if os.getenv("OPENAI_API_KEY") is None:
raise ValueError("OPENAI_API_KEY is not set in environment variables")
if os.getenv("OPENAI_API_BASE") is not None:
if api_type == "azure":
init_params["azure_endpoint"] = os.environ.get("OPENAI_API_BASE")
else:
init_params["base_url"] = os.environ.get("OPENAI_API_BASE")
init_params["api_key"] = os.environ.get("OPENAI_API_KEY")
# A few sanity checks
if api_type == "azure":
if init_params.get("azure_endpoint") is None:
raise ValueError(
"OPENAI_API_BASE is not set in environment variables, this is required when api_type==azure"
)
if init_params.get("api_version") is None:
raise ValueError(
"OPENAI_API_VERSION is not set in environment variables, this is required when api_type==azure"
)
if init_params["api_key"].startswith("sk-"):
raise ValueError(
"OPENAI_API_KEY should not start with sk- when api_type==azure, "
"are you using openai key by mistake?"
)
from openai import AzureOpenAI as Client
else:
from openai import OpenAI as Client
self.client = Client(**init_params)
class OAIChat(OAI):
@retry_and_handle_exceptions(
exception_to_check=(
openai.RateLimitError,
openai.APIStatusError,
openai.APIConnectionError,
KeyError,
),
max_retries=5,
extract_delay_from_error_message=extract_delay_from_rate_limit_error_msg,
)
def generate(self, messages: list, **kwargs) -> List[float]:
# chat api may return message with no content.
message = self.client.chat.completions.create(
model=os.environ.get("CHAT_MODEL_DEPLOYMENT_NAME"),
messages=messages,
**kwargs,
).choices[0].message
return getattr(message, "content", "")
@retry_and_handle_exceptions_for_generator(
exception_to_check=(
openai.RateLimitError,
openai.APIStatusError,
openai.APIConnectionError,
KeyError,
),
max_retries=5,
extract_delay_from_error_message=extract_delay_from_rate_limit_error_msg,
)
def stream(self, messages: list, **kwargs):
response = self.client.chat.completions.create(
model=os.environ.get("CHAT_MODEL_DEPLOYMENT_NAME"),
messages=messages,
stream=True,
**kwargs,
)
for chunk in response:
if not chunk.choices:
continue
if chunk.choices[0].delta.content:
yield chunk.choices[0].delta.content
else:
yield ""
class OAIEmbedding(OAI):
@retry_and_handle_exceptions(
exception_to_check=openai.RateLimitError,
max_retries=5,
extract_delay_from_error_message=extract_delay_from_rate_limit_error_msg,
)
def generate(self, text: str) -> List[float]:
return self.client.embeddings.create(
input=text, model=os.environ.get("EMBEDDING_MODEL_DEPLOYMENT_NAME")
).data[0].embedding
def count_token(text: str) -> int:
encoding = tiktoken.get_encoding("cl100k_base")
return len(encoding.encode(text))
def render_with_token_limit(template: Template, token_limit: int, **kwargs) -> str:
text = template.render(**kwargs)
token_count = count_token(text)
if token_count > token_limit:
message = f"token count {token_count} exceeds limit {token_limit}"
log(message)
raise ValueError(message)
return text
if __name__ == "__main__":
print(count_token("hello world, this is impressive"))
| promptflow/examples/flows/chat/chat-with-pdf/chat_with_pdf/utils/oai.py/0 | {
"file_path": "promptflow/examples/flows/chat/chat-with-pdf/chat_with_pdf/utils/oai.py",
"repo_id": "promptflow",
"token_count": 2376
} | 8 |
from promptflow import tool
from chat_with_pdf.rewrite_question import rewrite_question
@tool
def rewrite_question_tool(question: str, history: list, env_ready_signal: str):
return rewrite_question(question, history)
| promptflow/examples/flows/chat/chat-with-pdf/rewrite_question_tool.py/0 | {
"file_path": "promptflow/examples/flows/chat/chat-with-pdf/rewrite_question_tool.py",
"repo_id": "promptflow",
"token_count": 64
} | 9 |
$schema: https://azuremlschemas.azureedge.net/promptflow/latest/Flow.schema.json
environment:
python_requirements_txt: requirements.txt
inputs:
chat_history:
type: list
default:
- inputs:
question: What is the weather like in Boston?
outputs:
answer: '{"forecast":["sunny","windy"],"location":"Boston","temperature":"72","unit":"fahrenheit"}'
llm_output:
content: null
function_call:
name: get_current_weather
arguments: |-
{
"location": "Boston"
}
role: assistant
is_chat_history: true
question:
type: string
default: How about London next week?
is_chat_input: true
outputs:
answer:
type: string
reference: ${run_function.output}
is_chat_output: true
llm_output:
type: object
reference: ${use_functions_with_chat_models.output}
nodes:
- name: run_function
type: python
source:
type: code
path: run_function.py
inputs:
response_message: ${use_functions_with_chat_models.output}
- name: use_functions_with_chat_models
type: llm
source:
type: code
path: use_functions_with_chat_models.jinja2
inputs:
deployment_name: gpt-35-turbo
temperature: '0.7'
top_p: '1.0'
stop: ''
max_tokens: '256'
presence_penalty: '0'
frequency_penalty: '0'
logit_bias: ''
functions: '[{"name":"get_current_weather","description":"Get the current weather
in a given location","parameters":{"type":"object","properties":{"location":{"type":"string","description":"The
city and state, e.g. San Francisco, CA"},"unit":{"type":"string","enum":["celsius","fahrenheit"]}},"required":["location"]}},{"name":"get_n_day_weather_forecast","description":"Get
an N-day weather forecast","parameters":{"type":"object","properties":{"location":{"type":"string","description":"The
city and state, e.g. San Francisco, CA"},"format":{"type":"string","enum":["celsius","fahrenheit"],"description":"The
temperature unit to use. Infer this from the users location."},"num_days":{"type":"integer","description":"The
number of days to forecast"}},"required":["location","format","num_days"]}}]'
function_call: auto
question: ${inputs.question}
chat_history: ${inputs.chat_history}
connection: open_ai_connection
api: chat | promptflow/examples/flows/chat/use_functions_with_chat_models/flow.dag.yaml/0 | {
"file_path": "promptflow/examples/flows/chat/use_functions_with_chat_models/flow.dag.yaml",
"repo_id": "promptflow",
"token_count": 898
} | 10 |
{"groundtruth": "10","prediction": "10"}
{"groundtruth": "253","prediction": "506"}
{"groundtruth": "1/3","prediction": "2/6"} | promptflow/examples/flows/evaluation/eval-chat-math/data.jsonl/0 | {
"file_path": "promptflow/examples/flows/evaluation/eval-chat-math/data.jsonl",
"repo_id": "promptflow",
"token_count": 45
} | 11 |
from promptflow import tool
from typing import List
@tool
def match(answer: List[str], ground_truth: List[str]):
exact_match = 0
partial_match = 0
if is_match(answer, ground_truth, ignore_case=True, ignore_order=True, allow_partial=False):
exact_match = 1
if is_match(answer, ground_truth, ignore_case=True, ignore_order=True, allow_partial=True):
partial_match = 1
return {"exact_match": exact_match, "partial_match": partial_match, "answer": answer, "ground_truth": ground_truth}
def is_match(
answer: List[str],
ground_truth: List[str],
ignore_case: bool,
ignore_order: bool,
allow_partial: bool) -> bool:
if ignore_case:
answer = [a.lower() for a in answer]
ground_truth = [g.lower() for g in ground_truth]
if ignore_order:
answer.sort()
ground_truth.sort()
if allow_partial:
x = [a for a in answer if a in ground_truth]
return x == answer
return answer == ground_truth
| promptflow/examples/flows/evaluation/eval-entity-match-rate/match.py/0 | {
"file_path": "promptflow/examples/flows/evaluation/eval-entity-match-rate/match.py",
"repo_id": "promptflow",
"token_count": 406
} | 12 |
# Q&A Evaluation:
This is a flow evaluating the Q&A systems by leveraging Large Language Models (LLM) to measure the quality and safety of responses. Utilizing GPT and GPT embedding model to assist with measurements aims to achieve a high agreement with human evaluations compared to traditional mathematical measurements.
## Evaluation Metrics
The Q&A evaluation flow allows you to assess and evaluate your model with the LLM-assisted metrics and f1_score:
* __gpt_coherence__: Measures the quality of all sentences in a model's predicted answer and how they fit together naturally.
Coherence is scored on a scale of 1 to 5, with 1 being the worst and 5 being the best.
* __gpt_relevance__: Measures how relevant the model's predicted answers are to the questions asked.
Relevance metric is scored on a scale of 1 to 5, with 1 being the worst and 5 being the best.
* __gpt_fluency__: Measures how grammatically and linguistically correct the model's predicted answer is.
Fluency is scored on a scale of 1 to 5, with 1 being the worst and 5 being the best
* __gpt_similarity__: Measures similarity between user-provided ground truth answers and the model predicted answer.
Similarity is scored on a scale of 1 to 5, with 1 being the worst and 5 being the best.
* __gpt_groundedness__ (against context): Measures how grounded the model's predicted answers are against the context. Even if LLM’s responses are true, if not verifiable against context, then such responses are considered ungrounded.
Groundedness metric is scored on a scale of 1 to 5, with 1 being the worst and 5 being the best.
* __ada_similarity__: Measures the cosine similarity of ada embeddings of the model prediction and the ground truth.
ada_similarity is a value in the range [0, 1].
* __F1-score__: Compute the f1-Score based on the tokens in the predicted answer and the ground truth.
The f1-score evaluation flow allows you to determine the f1-score metric using number of common tokens between the normalized version of the ground truth and the predicted answer.
F1-score is a value in the range [0, 1].
## Tools used in this flow
- `Python` tool
- `LLM` tool
- `Embedding` tool
## 0. Setup connection
Prepare your Azure Open AI resource follow this [instruction](https://learn.microsoft.com/en-us/azure/cognitive-services/openai/how-to/create-resource?pivots=web-portal) and get your `api_key` if you don't have one.
```bash
# Override keys with --set to avoid yaml file changes
pf connection create --file ../../../connections/azure_openai.yml --set api_key=<your_api_key> api_base=<your_api_base>
```
## 1. Test flow/node
```bash
# test with default input value in flow.dag.yaml
pf flow test --flow .
# test with flow inputs
pf flow test --flow . --inputs metrics="ada_similarity,gpt_fluency,f1_score" question="what programming language is good for learning to code? " ground_truth="Python is good for learning to code." answer="Python" context="Python is the most picked language for learning to code."
```
## 2. Create flow run with multi line data and selected metrics
```bash
pf run create --flow . --data ./data.jsonl --column-mapping question='${data.question}' answer='${data.answer}' context='${data.context}' ground_truth='${data.ground_truth}' metrics='f1_score,gpt_groundedness' --stream
```
You can also skip providing `column-mapping` if provided data has same column name as the flow.
Reference [here](https://aka.ms/pf/column-mapping) for default behavior when `column-mapping` not provided in CLI.
## 3. Run and Evaluate your flow with this Q&A evaluation flow
After you develop your flow, you may want to run and evaluate it with this evaluation flow.
Here we use the flow [basic_chat](../../chat/basic-chat/) as the flow to evaluate. It is a flow demonstrating how to create a chatbot with LLM. The chatbot can remember previous interactions and use the conversation history to generate next message, given a question.
### 3.1 Create a batch run of your flow
```bash
pf run create --flow ../../chat/basic-chat --data data.jsonl --column-mapping question='${data.question}' --name basic_chat_run --stream
```
Please note that `column-mapping` is a mapping from flow input name to specified values. Please refer to [Use column mapping](https://aka.ms/pf/column-mapping) for more details.
The flow run is named by specifying `--name basic_chat_run` in the above command. You can view the run details with its run name using the command:
```bash
pf run show-details -n basic_chat_run
```
### 3.2 Evaluate your flow
You can use this evaluation flow to measure the quality and safety of your flow responses.
After the chat flow run is finished, you can this evaluation flow to the run:
```bash
pf run create --flow . --data data.jsonl --column-mapping groundtruth='${data.ground_truth}' answer='${run.outputs.answer}' context='{${data.context}}' question='${data.question}' metrics='gpt_groundedness,f1_score' --run basic_chat_run --stream --name evaluation_qa
```
Please note the flow run to be evaluated is specified with `--run basic_chat_run`. Also same as previous run, the evaluation run is named with `--name evaluation_qa`.
You can view the evaluation run details with:
```bash
pf run show-details -n evaluation_qa
pf run show-metrics -n evaluation_qa
``` | promptflow/examples/flows/evaluation/eval-qna-non-rag/README.md/0 | {
"file_path": "promptflow/examples/flows/evaluation/eval-qna-non-rag/README.md",
"repo_id": "promptflow",
"token_count": 1463
} | 13 |
from typing import List
from promptflow import tool, log_metric
import numpy as np
@tool
def aggregate_variants_results(results: List[dict], metrics: List[str]):
aggregate_results = {}
for result in results:
for name, value in result.items():
if name not in aggregate_results.keys():
aggregate_results[name] = []
try:
float_val = float(value)
except Exception:
float_val = np.nan
aggregate_results[name].append(float_val)
for name, value in aggregate_results.items():
if name in metrics[0]:
metric_name = name
aggregate_results[name] = np.nanmean(value)
if 'pass_rate' in metric_name:
metric_name = metric_name + "(%)"
aggregate_results[name] = aggregate_results[name] * 100.0
aggregate_results[name] = round(aggregate_results[name], 2)
log_metric(metric_name, aggregate_results[name])
return aggregate_results
| promptflow/examples/flows/evaluation/eval-qna-rag-metrics/aggregate_variants_results.py/0 | {
"file_path": "promptflow/examples/flows/evaluation/eval-qna-rag-metrics/aggregate_variants_results.py",
"repo_id": "promptflow",
"token_count": 451
} | 14 |
Subsets and Splits