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

Clone Microsoft.OperationInsights to a new version and split APIs to separate files - JEDI URGENT #8868

Merged
merged 77 commits into from
Apr 6, 2020
Merged
Show file tree
Hide file tree
Changes from 57 commits
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
bc6689d
add public netowrk access flag
arolshan Mar 23, 2020
35ef077
add public access flags
arolshan Mar 23, 2020
b86ea8f
add new api version for worksapce resource and align to common defini…
arolshan Mar 26, 2020
bd6e0d6
remove from this pr
arolshan Mar 26, 2020
4f3910f
change all to common types
arolshan Mar 26, 2020
c062904
Update OperationalInsights.json
arolshan Mar 26, 2020
4c78ff2
update examples
arolshan Mar 26, 2020
b046fa6
remove legacy
arolshan Mar 26, 2020
32a073b
fix build
arolshan Mar 26, 2020
1efc223
prettier
arolshan Mar 26, 2020
c36a77e
fix build
arolshan Mar 26, 2020
ee4677f
Update WorkspacesCreate.json
arolshan Mar 26, 2020
bc1d2f3
fix build
arolshan Mar 26, 2020
87b43aa
Update OperationalInsights.json
arolshan Mar 26, 2020
2413443
Update readme.md
arolshan Mar 26, 2020
5ced5eb
undo all version changes
arolshan Mar 26, 2020
24c6245
undo old version
arolshan Mar 26, 2020
2e88de2
remove breaking change stuff
arolshan Mar 26, 2020
390d7ee
Update OperationalInsights.json
arolshan Mar 26, 2020
901515e
prettier
arolshan Mar 26, 2020
8c18009
remove cluster from pr
arolshan Mar 26, 2020
f063988
Update Workspaces.json
arolshan Mar 26, 2020
936d833
Merge branch 'master' into microsoft.opinsights-new-version
arolshan Mar 29, 2020
96b3ff4
clone resource-manager apis to new version
arolshan Mar 29, 2020
4f4c1db
prettier
arolshan Mar 29, 2020
e8aff56
Update DataSources.json
arolshan Mar 29, 2020
52fc4df
split
arolshan Mar 29, 2020
12cdcd7
Update readme.md
arolshan Mar 29, 2020
9819a72
Update readme.md
arolshan Mar 29, 2020
4b28a9a
Merge branch 'microsoft.opinsights-new-version-more' into microsoft.o…
arolshan Mar 29, 2020
76bfa06
Update readme.md
arolshan Mar 29, 2020
234c8c2
Update Clusters.json
arolshan Mar 29, 2020
b070d64
reference proxy resource from common
arolshan Mar 29, 2020
ee88bf2
commit example
arolshan Mar 29, 2020
a852db4
change name
arolshan Mar 29, 2020
d0bfffe
Update Operations.json
arolshan Mar 29, 2020
ae20f64
Update OperationalInsights.json
arolshan Mar 29, 2020
7b80ab5
examples fix
arolshan Mar 29, 2020
3caa123
fix examples
arolshan Mar 29, 2020
69b0f87
Update Operations.json
arolshan Mar 29, 2020
11b4837
exclude old version files from this pr
arolshan Mar 29, 2020
47d94b2
remove from this pr
arolshan Mar 29, 2020
af573ff
Update Operations.json
arolshan Mar 29, 2020
d399612
Update Clusters.json
arolshan Mar 29, 2020
970f820
Update OperationsListByTenant.json
arolshan Mar 29, 2020
e691dc9
Update Clusters.json
arolshan Mar 29, 2020
6065dd4
Update Clusters.json
arolshan Mar 29, 2020
da8ab4e
new api version
arolshan Mar 29, 2020
51942ed
remove from 2019
arolshan Mar 29, 2020
3239e6e
workspaces
arolshan Mar 29, 2020
bbec830
new package
arolshan Mar 29, 2020
a2ffb02
use common error
arolshan Mar 29, 2020
bfde567
merge from cluster pr
arolshan Mar 29, 2020
2d6eb23
fix validation
arolshan Mar 29, 2020
55a648f
Update Clusters.json
arolshan Mar 29, 2020
9a4028c
Update Clusters.json
arolshan Mar 29, 2020
413c2b1
Merge branch 'master' into microsoft.opinsights-new-version
arolshan Mar 30, 2020
ece26bc
change default tag to package-2020-03-preview
mmyyrroonn Mar 31, 2020
8ebfde2
fix lint errors
arolshan Mar 31, 2020
5101ef6
Merge branch 'microsoft.opinsights-new-version' of https://github.com…
arolshan Mar 31, 2020
4b5922f
Update Workspaces.json
arolshan Mar 31, 2020
a914751
Update WorkspacesUpdate.json
arolshan Mar 31, 2020
b0b1b29
fix lint
arolshan Mar 31, 2020
7ebfffc
add responses
arolshan Mar 31, 2020
f52ec64
Update DataExports.json
arolshan Mar 31, 2020
be6813f
Update DataExportListByWorkspace.json
arolshan Mar 31, 2020
5eb51d7
Update Clusters.json
arolshan Mar 31, 2020
8f3c297
fix skuenum name
arolshan Mar 31, 2020
7eaac06
typo
arolshan Apr 2, 2020
962dd04
Fix linked services example
orargaman Apr 2, 2020
9b45f87
add missing opreations for cmdlets
arolshan Apr 3, 2020
465879c
add common
arolshan Apr 3, 2020
86ef4fb
move like other RPs
arolshan Apr 3, 2020
065a73c
Update readme.md
arolshan Apr 3, 2020
2fa3f94
reference all from common
arolshan Apr 3, 2020
1910fee
prettier
arolshan Apr 3, 2020
260220a
Update types.json
arolshan Apr 3, 2020
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

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,373 @@
{
"swagger": "2.0",
"info": {
"title": "Azure Log Analytics",
"description": "Azure Log Analytics API reference",
"version": "2020-03-01-preview"
},
"host": "management.azure.com",
"schemes": [
"https"
],
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"security": [
{
"azure_auth": [
"user_impersonation"
]
}
],
"securityDefinitions": {
"azure_auth": {
"type": "oauth2",
"authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize",
"flow": "implicit",
"description": "Azure Active Directory OAuth2 Flow",
"scopes": {
"user_impersonation": "impersonate your user account"
}
}
},
"paths": {
"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/dataExports": {
"get": {
"tags": [
"DataExport"
],
"x-ms-examples": {
"DataExportGet": {
"$ref": "./examples/DataExportListByWorkspace.json"
}
},
"operationId": "DataExport_ListByWorkspace",
"description": "Lists the data export instances within a workspace.",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/WorkspaceNameParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK response definition.",
"schema": {
"$ref": "#/definitions/DataExportListResult"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/DataExportErrorResponse"
}
}
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
}
}
},
"/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/dataExports/{dataExportName}": {
"put": {
"tags": [
"DataExport"
],
"x-ms-examples": {
"DataExportCreate": {
"$ref": "./examples/DataExportCreateOrUpdate.json"
}
},
"operationId": "DataExport_CreateOrUpdate",
"description": "Create or update a data export.",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/WorkspaceNameParameter"
},
{
"name": "dataExportName",
"in": "path",
"required": true,
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9-]+[A-Za-z0-9]$",
"minLength": 4,
"maxLength": 63,
"description": "The data export rule name."
},
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
},
{
"name": "parameters",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/DataExport"
},
"description": "The parameters required to create or update a data export."
}
],
"responses": {
"200": {
"description": "OK response definition.",
"schema": {
"$ref": "#/definitions/DataExport"
}
},
"201": {
"description": "Created response definition.",
"schema": {
"$ref": "#/definitions/DataExport"
}
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/DataExportErrorResponse"
}
}
},
"x-ms-long-running-operation": true,
"x-ms-long-running-operation-options": {
"final-state-via": "azure-async-operation"
}
},
"get": {
"tags": [
"DataExport"
],
"x-ms-examples": {
"DataExportGet": {
"$ref": "./examples/DataExportGet.json"
}
},
"operationId": "DataExport_Get",
"description": "Gets a data export instance.",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/WorkspaceNameParameter"
},
{
"name": "dataExportName",
"in": "path",
"required": true,
"type": "string",
"description": "The data export rule name."
},
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK response definition.",
"schema": {
"$ref": "#/definitions/DataExport"
}
},
"404": {
"description": "Not found the specific data export."
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/DataExportErrorResponse"
}
}
}
},
"delete": {
"tags": [
"DataExport"
],
"x-ms-examples": {
"DataExportDelete": {
"$ref": "./examples/DataExportDelete.json"
}
},
"operationId": "DataExport_Delete",
"description": "Deletes the specified data export in a given workspace..",
"parameters": [
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/SubscriptionIdParameter"
},
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ResourceGroupNameParameter"
},
{
"$ref": "#/parameters/WorkspaceNameParameter"
},
{
"name": "dataExportName",
"in": "path",
"required": true,
"type": "string",
"description": "The data export rule name."
},
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/parameters/ApiVersionParameter"
}
],
"responses": {
"200": {
"description": "OK response definition."
},
"404": {
"description": "Not found the specific data export."
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/DataExportErrorResponse"
}
}
}
}
}
},
"definitions": {
"DataExport": {
"properties": {
"properties": {
"x-ms-client-flatten": true,
"$ref": "#/definitions/DataExportProperties",
"description": "data export properties."
}
},
"allOf": [
{
"$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ProxyResource"
}
],
"description": "The top level data export resource container.",
"x-ms-azure-resource": true
},
"DataExportListResult": {
"description": "Result of the request to list data exports.",
"properties": {
"value": {
"type": "array",
"items": {
"$ref": "#/definitions/DataExport"
},
"description": "List of data export instances within a workspace.."
}
}
},
"DataExportProperties": {
"properties": {
"dataExportId": {
"type": "string",
"description": "The data export rule ID."
},
"allTables": {
"type": "boolean",
"description": "When ‘true’, all workspace's tables are exported."
},
"tableNames": {
"type": "array",
"items": {
"type": "string"
},
"description": "An array of tables to export, for example: [“Heartbeat, SecurityEvent”]."
},
"destination": {
"$ref": "#/definitions/Destination",
"description": "destination properties.",
"x-ms-client-flatten": true
},
"enable": {
"type": "boolean",
"description": "Active when enabled."
},
"createdDate": {
"type": "string",
"description": "The latest data export rule modification time."
},
"lastModifiedDate": {
"type": "string",
"description": "Date and time when the export was last modified."
}
},
"description": "Data Export properties."
},
"Destination": {
"properties": {
"resourceId": {
"type": "string",
"description": "The destination resource ID. This can be copied from the Properties entry of the destination resource in Azure."
},
"type": {
"type": "string",
"readOnly": true,
"description": "The type of the destination resource",
"enum": [
"StorageAccount",
"EventHub"
]
},
"metaData": {
"$ref": "#/definitions/DestinationMetaData",
"description": "destination meta data.",
"x-ms-client-flatten": true
}
},
"required": [
"resourceId"
],
"description": "Destination properties."
},
"DestinationMetaData": {
"properties": {
"eventHubName": {
"type": "string",
"description": "Optional. Allows to define an Event Hub name. Not applicable when destination is Storage Account."
}
},
"description": "Destination meta data."
},
"DataExportErrorResponse": {
"description": "Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message.",
"type": "object",
"properties": {
"error": {
"description": "The details of the error.",
"$ref": "../../../../../common-types/resource-management/v1/types.json#/definitions/ErrorResponse"
}
}
}
},
"parameters": {
"WorkspaceNameParameter": {
"name": "workspaceName",
"in": "path",
"required": true,
"type": "string",
"description": "The Log Analytics workspace name.",
"x-ms-parameter-location": "method"
}
}
}
Loading