Skip to content

datafactory: making the References actual Discriminated Types rather than documenting around it #23013

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5288,16 +5288,27 @@
}
}
},
"IntegrationRuntimeReference": {
"description": "Integration runtime reference type.",
"Reference": {
"discriminator": "type",
"description": "Base reference type.",
"properties": {
"type": {
"type": "string",
"description": "Type of integration runtime.",
"enum": [
"IntegrationRuntimeReference"
]
},
"description": "Type of reference."
}
},
"required": [
"type"
]
},
"IntegrationRuntimeReference": {
"description": "Integration runtime reference type.",
"allOf": [
{
"$ref": "#/definitions/Reference"
}
],
"properties": {
"referenceName": {
"type": "string",
"description": "Reference integration runtime name."
Expand All @@ -5308,9 +5319,9 @@
}
},
"required": [
"type",
"referenceName"
]
],
"x-ms-discriminator-value": "IntegrationRuntimeReference"
},
"IntegrationRuntimeResource": {
"description": "Integration runtime resource type.",
Expand Down Expand Up @@ -6094,13 +6105,15 @@
},
"PipelineReference": {
"description": "Pipeline reference type.",
"allOf": [
{
"$ref": "#/definitions/Reference"
}
],
"properties": {
"type": {
"type": "string",
"description": "Pipeline reference type.",
"enum": [
"PipelineReference"
]
"description": "Type of reference"
},
"referenceName": {
"type": "string",
Expand All @@ -6114,7 +6127,8 @@
"required": [
"type",
"referenceName"
]
],
"x-ms-discriminator-value": "PipelineReference"
},
"TriggerPipelineReference": {
"description": "Pipeline that needs to be triggered with the given parameters.",
Expand Down Expand Up @@ -6259,13 +6273,15 @@
},
"DatasetReference": {
"description": "Dataset reference type.",
"allOf": [
{
"$ref": "#/definitions/Reference"
}
],
"properties": {
"type": {
"type": "string",
"description": "Dataset reference type.",
"enum": [
"DatasetReference"
]
"description": "Type of reference"
},
"referenceName": {
"type": "string",
Expand All @@ -6279,7 +6295,8 @@
"required": [
"type",
"referenceName"
]
],
"x-ms-discriminator-value": "DatasetReference"
},
"DatasetResource": {
"description": "Dataset resource type.",
Expand Down Expand Up @@ -6318,18 +6335,12 @@
"LinkedServiceReference": {
"description": "Linked service reference type.",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/Reference"
}
],
"properties": {
"type": {
"type": "string",
"description": "Linked service reference type.",
"enum": [
"LinkedServiceReference"
],
"x-ms-enum": {
"name": "Type",
"modelAsString": true
}
},
"referenceName": {
"type": "string",
"description": "Reference LinkedService name."
Expand All @@ -6340,9 +6351,9 @@
}
},
"required": [
"type",
"referenceName"
]
],
"x-ms-discriminator-value": "LinkedServiceReference"
},
"LinkedServiceResource": {
"description": "Linked service resource type.",
Expand Down