Skip to content
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

[Azure Data Factory] Adding refresh and get IntegrationRuntimeObjectMetadata API #4724

Merged
merged 3 commits into from
Dec 11, 2018
Merged
Show file tree
Hide file tree
Changes from 1 commit
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 @@ -1269,6 +1269,106 @@
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/refreshObjectMetadata": {
"post": {
"tags": [
"integrationRuntimeObjectMetadata"
],
"operationId": "IntegrationRuntimeObjectMetadata_Refresh",
"x-ms-examples": {
"IntegrationRuntimeObjectMetadata_Refresh": {
"$ref": "./examples/IntegrationRuntimeObjectMetadata_Refresh.json"
}
},
"description": "Refresh a ssis integration runtime object metadata.",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change to "SSIS"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update

"x-ms-long-running-operation": true,
"parameters": [
{
"$ref": "#/parameters/subscriptionId"
},
{
"$ref": "#/parameters/resourceGroupName"
},
{
"$ref": "#/parameters/factoryName"
},
{
"$ref": "#/parameters/integrationRuntimeName"
},
{
"$ref": "#/parameters/api-version"
}
],
"responses": {
"200": {
"description": "OK."
},
"202": {
"description": "Accepted."
},
"default": {
"description": "An error response received from the Azure Data Factory service.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/getObjectMetadata": {
"post": {
"tags": [
"integrationRuntimeObjectMetadata"
],
"operationId": "IntegrationRuntimeObjectMetadata_Get",
"x-ms-examples": {
"IntegrationRuntimeObjectMetadata_Get": {
"$ref": "./examples/IntegrationRuntimeObjectMetadata_Get.json"
}
},
"description": "Get a ssis integration runtime object metadata by specified path. The return is pageable metadata list.",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here, and any other if there are more

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update

"parameters": [
{
"$ref": "#/parameters/subscriptionId"
},
{
"$ref": "#/parameters/resourceGroupName"
},
{
"$ref": "#/parameters/factoryName"
},
{
"$ref": "#/parameters/integrationRuntimeName"
},
{
"name": "getMetadataRequest",
"description": "The parameters for getting a ssis object metadata.",
"in": "body",
"required": false,
"schema": {
"$ref": "#/definitions/GetSsisObjectMetadataRequest"
}
},
{
"$ref": "#/parameters/api-version"
}
],
"responses": {
"200": {
"description": "OK.",
"schema": {
"$ref": "./entityTypes/IntegrationRuntime.json#/definitions/SsisObjectMetadataListResponse"
}
},
"default": {
"description": "An error response received from the Azure Data Factory service.",
"schema": {
"$ref": "#/definitions/CloudError"
}
}
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/integrationRuntimes/{integrationRuntimeName}/nodes/{nodeName}": {
"get": {
"tags": [
Expand Down Expand Up @@ -4558,6 +4658,16 @@
"type": "boolean"
}
}
},
"GetSsisObjectMetadataRequest": {
"type": "object",
"description": "The request payload of get ssis object metadata.",
"properties": {
"metadataPath": {
"type": "string",
"description": "Metadata path"
meiyan-Li marked this conversation as resolved.
Show resolved Hide resolved
}
}
}
},
"parameters": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -956,6 +956,61 @@
"readOnly": true
}
}
},
"SsisObjectMetadataListResponse": {
"type": "object",
"description": "A list of Ssis object metadata.",
"properties": {
"value": {
"type": "array",
"description": "List of Ssis object metadata",
"items": {
"$ref": "#/definitions/SsisObjectMetadata"
}
},
"nextLink": {
"type": "string",
"description": "The link to the next page of results, if any remaining results exist."
}
}
},
"SsisObjectMetadata": {
"type": "object",
"description": "Ssis object metadata.",
"discriminator": "type",
"properties": {
"type": {
"description": "Type of metadata.",
"$ref": "#/definitions/SsisObjectMetadataType"
},
"id": {
"type": "integer",
"format": "int64",
"description": "Metadata id."
},
"name": {
"type": "string",
"description": "Metadata name."
},
"description": {
"type": "string",
"description": "Metadata description."
}
}
},
"SsisObjectMetadataType": {
"description": "The type of Ssis object metadata.",
"type": "string",
"enum": [
"Folder",
"Project",
"Package",
"Environment"
],
"x-ms-enum": {
"name": "SsisObjectMetadataType",
"modelAsString": true
}
}
}
}
Loading