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

AppInsights Swagger correctness fixes #12649

Merged
merged 3 commits into from
Jan 28, 2021
Merged
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 @@ -52,6 +52,12 @@
"schema": {
"$ref": "#/definitions/ApplicationInsightsComponentListResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
Expand Down Expand Up @@ -85,6 +91,12 @@
"schema": {
"$ref": "#/definitions/ApplicationInsightsComponentListResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
Expand Down Expand Up @@ -121,6 +133,12 @@
},
"204": {
"description": "The specified component does not exist."
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
Expand Down Expand Up @@ -152,6 +170,12 @@
"schema": {
"$ref": "#/definitions/ApplicationInsightsComponent"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
Expand Down Expand Up @@ -192,6 +216,12 @@
"schema": {
"$ref": "#/definitions/ApplicationInsightsComponent"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
Expand Down Expand Up @@ -235,6 +265,12 @@
"schema": {
"$ref": "#/definitions/ApplicationInsightsComponent"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
Expand Down Expand Up @@ -271,6 +307,12 @@
"schema": {
"$ref": "#/definitions/ComponentPurgeResponse"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
Expand Down Expand Up @@ -307,6 +349,12 @@
"schema": {
"$ref": "#/definitions/ComponentPurgeStatusResponse"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../../../common-types/resource-management/v2/types.json#/definitions/ErrorResponse"
}
}
},
"x-ms-examples": {
Expand Down Expand Up @@ -373,6 +421,10 @@
"type": "string",
"description": "The kind of application that this component refers to, used to customize UI. This value is a freeform string, values should typically be one of the following: web, ios, other, store, java, phone."
},
"etag": {
"type": "string",
"description": "Resource etag"
},
"properties": {
"x-ms-client-flatten": true,
"description": "Properties that define an Application Insights component resource.",
Expand Down Expand Up @@ -402,6 +454,11 @@
"readOnly": true,
"description": "Application Insights Unique ID for your Application."
},
"Name": {
"type": "string",
"readOnly": true,
"description": "Application name."
},
"Application_Type": {
"type": "string",
"description": "Type of application being monitored.",
Expand Down Expand Up @@ -507,7 +564,7 @@
},
"WorkspaceResourceId": {
"type": "string",
"description": "ResourceId of the log analytics workspace which the data will be ingested to."
"description": "Resource Id of the log analytics workspace which the data will be ingested to. This property is required to create an application with this API version. Applications from older versions will not have this property."
},
"LaMigrationDate": {
"type": "string",
Expand Down Expand Up @@ -547,8 +604,7 @@
}
},
"required": [
"Application_Type",
"WorkspaceResourceId"
"Application_Type"
]
},
"PrivateLinkScopedResource": {
Expand Down