Skip to content

Commit

Permalink
[AutoPR monitor/data-plane] Publish public preview swagger spec for "…
Browse files Browse the repository at this point in the history
…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
AutorestCI authored and jhendrixMSFT committed Sep 17, 2018
1 parent 937115e commit dbb0063
Show file tree
Hide file tree
Showing 4 changed files with 290 additions and 0 deletions.
48 changes: 48 additions & 0 deletions profiles/preview/preview/monitor/monitor/models.go
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 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.

81 changes: 81 additions & 0 deletions 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.

30 changes: 30 additions & 0 deletions 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.

0 comments on commit dbb0063

Please sign in to comment.