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

Operational insights data export #8128

Merged
merged 15 commits into from
Jan 27, 2020

Conversation

hohershk
Copy link
Contributor

@hohershk hohershk commented Jan 12, 2020

Latest improvements:

MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.

Contribution checklist:

  • I have reviewed the documentation for the workflow.
  • Validation tools were run on swagger spec(s) and have all been fixed in this PR.
  • The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

  • Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
  • adding/removing APIs.
  • adding/removing properties.
  • adding/removing API-version.
  • adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

  • If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
    Please follow the link to find more details on API review process.

@AutorestCI
Copy link

You don't have permission to trigger SDK Automation.
Please add yourself to Azure group from opensource portal if you are MSFT employee,
or please ask reviewer to add comment *** /openapibot sdkautomation ***.
Please ask tih@microsoft.com (or NullMDR in github) for additional help.

@arolshan arolshan requested a review from KrisBash January 13, 2020 09:14
@azuresdkci
Copy link
Contributor

Can one of the admins verify this patch?

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

1 similar comment
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Jan 14, 2020

azure-sdk-for-go - Release

️✔️ succeeded [Logs] [Expand Details]

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Jan 14, 2020

azure-sdk-for-java - Release

No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Jan 14, 2020

azure-sdk-for-js - Release

️✔️ succeeded [Logs] [Expand Details]
  • ️✔️ Generate from 4b4fb81 with merge commit b3def49. SDK Automation 13.0.17.20191226.1
  • ️✔️@azure/arm-operationalinsights [Logs]  [Release SDK Changes]
    [npmPack] npm WARN deprecated rollup-plugin-node-resolve@5.2.0: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-node-resolve.
    [npmPack] loaded rollup.config.js with warnings
    [npmPack] (!) Unused external imports
    [npmPack] default imported from external module 'rollup' but never used
    [npmPack] 
    [npmPack] ./esm/operationalInsightsManagementClient.js → ./dist/arm-operationalinsights.js...
    [npmPack] created ./dist/arm-operationalinsights.js in 260ms

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Jan 14, 2020

azure-sdk-for-python - Release

️✔️ succeeded [Logs] [Expand Details]

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Jan 14, 2020

azure-sdk-for-net - Release

️✔️ succeeded [Logs] [Expand Details]

},
"DataExportProperties": {
"properties": {
"dataExportId": {
Copy link
Contributor

Choose a reason for hiding this comment

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

dataExportId [](start = 9, length = 12)

If this is a fixed set, consider defining as enum and modelAsString=true for flexibility to add a new one without breaking clients

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's not a fixed set. It a unique guid generator identifier

"StorageAccount",
"EventHub"
]
},
Copy link
Contributor

Choose a reason for hiding this comment

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

i suppose type can be derived from the resourceId..

Also, you may consider making destination as an array if you envision supporting export to multiple destinations

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We want the type explicitly to avoid customer's mistakes.
It we will always one destination to export.

"properties": {
"eventHubName": {
"type": "string",
"description": "event hub name."
Copy link
Contributor

Choose a reason for hiding this comment

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

isn't this evident from the resourceId provided .. ?

Copy link
Contributor Author

@hohershk hohershk Jan 16, 2020

Choose a reason for hiding this comment

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

No, Event hub is tracked resource. His main resource is namespace.
it's the same scenario like diagnostic settings.

@sanjaiganesh sanjaiganesh added ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels Jan 15, 2020
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@sanjaiganesh sanjaiganesh added ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review and removed ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels Jan 20, 2020
@zikalino
Copy link

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@zikalino zikalino merged commit b3def49 into Azure:master Jan 27, 2020
ssripadham pushed a commit to ssripadham/azure-rest-api-specs that referenced this pull request Feb 21, 2020
* microsoft.operationalinsights_add_data_export

* fix

* fix

* fix readmfile + fix cSpell

* fix

* Revert "fix"

This reverts commit a23f53b.

* Fix azure-rest-api-specs-tests

* format

* Revert "format"

This reverts commit f39f5e4.

* Revert "Fix azure-rest-api-specs-tests"

This reverts commit 50cf6aa.

* prettifer

* Code review fixes

* Update OperationalInsights.json

* Make Destination type "readonly"

Co-authored-by: Arik Olsh <47111029+arolshan@users.noreply.github.com>
00Kai0 pushed a commit to 00Kai0/azure-rest-api-specs that referenced this pull request Oct 12, 2020
* microsoft.operationalinsights_add_data_export

* fix

* fix

* fix readmfile + fix cSpell

* fix

* Revert "fix"

This reverts commit a23f53b.

* Fix azure-rest-api-specs-tests

* format

* Revert "format"

This reverts commit f39f5e4.

* Revert "Fix azure-rest-api-specs-tests"

This reverts commit 50cf6aa.

* prettifer

* Code review fixes

* Update OperationalInsights.json

* Make Destination type "readonly"

Co-authored-by: Arik Olsh <47111029+arolshan@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants