-
Notifications
You must be signed in to change notification settings - Fork 836
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AutoPR monitor/data-plane] Publish public preview swagger spec for "…
…Azure metrics Ingestion REST API" (#2668) * Generated from 89a8ab408aa67ec55ed702e229ec254dc39df5a5 Address the PR comments - Fix the readme.md naming incompatibilities - Remove the c#-ish namespace prefix * Generated from 11666b828c6a64278ae35a0898f1c4f00203f61d -Drop all the types that recursively came with ObjectResult and use simple object type instead. This should make the swagger spec clean and more easily maintainable in the long run
- Loading branch information
1 parent
937115e
commit dbb0063
Showing
4 changed files
with
290 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
// +build go1.9 | ||
|
||
// Copyright 2018 Microsoft Corporation | ||
// | ||
// Licensed under the Apache License, Version 2.0 (the "License"); | ||
// you may not use this file except in compliance with the License. | ||
// You may obtain a copy of the License at | ||
// | ||
// http://www.apache.org/licenses/LICENSE-2.0 | ||
// | ||
// Unless required by applicable law or agreed to in writing, software | ||
// distributed under the License is distributed on an "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
// This code was auto-generated by: | ||
// github.com/Azure/azure-sdk-for-go/tools/profileBuilder | ||
|
||
package monitor | ||
|
||
import original "github.com/Azure/azure-sdk-for-go/services/preview/monitor/2018-09-01-preview/monitor" | ||
|
||
const ( | ||
DefaultBaseURI = original.DefaultBaseURI | ||
) | ||
|
||
type BaseClient = original.BaseClient | ||
type APIError = original.APIError | ||
type APIFailureResponse = original.APIFailureResponse | ||
type AzureMetricsBaseData = original.AzureMetricsBaseData | ||
type AzureMetricsData = original.AzureMetricsData | ||
type AzureMetricsDocument = original.AzureMetricsDocument | ||
type AzureMetricsResult = original.AzureMetricsResult | ||
type AzureTimeSeriesData = original.AzureTimeSeriesData | ||
|
||
func New() BaseClient { | ||
return original.New() | ||
} | ||
func NewWithBaseURI(baseURI string) BaseClient { | ||
return original.NewWithBaseURI(baseURI) | ||
} | ||
func UserAgent() string { | ||
return original.UserAgent() + " profiles/preview" | ||
} | ||
func Version() string { | ||
return original.Version() | ||
} |
131 changes: 131 additions & 0 deletions
131
services/preview/monitor/2018-09-01-preview/monitor/client.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
81 changes: 81 additions & 0 deletions
81
services/preview/monitor/2018-09-01-preview/monitor/models.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
30 changes: 30 additions & 0 deletions
30
services/preview/monitor/2018-09-01-preview/monitor/version.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.