introduce az lib

This commit is contained in:
Boshi Lian 2019-01-09 09:04:14 +00:00
parent e9c9a0fcb3
commit 1c1a14219c
9346 changed files with 7967480 additions and 1 deletions

86
Gopkg.lock generated
View file

@ -1,6 +1,36 @@
# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'.
[[projects]]
name = "contrib.go.opencensus.io/exporter/ocagent"
packages = ["."]
revision = "00af367e65149ff1f2f4b93bbfbb84fd9297170d"
version = "v0.2.0"
[[projects]]
name = "github.com/Azure/azure-sdk-for-go"
packages = ["services/graphrbac/1.6/graphrbac","version"]
revision = "1951233eb944a49aa5f7278cba8e3e32a8c958af"
version = "v24.0.0"
[[projects]]
name = "github.com/Azure/go-autorest"
packages = ["autorest","autorest/adal","autorest/azure","autorest/date","autorest/to","autorest/validation","logger","tracing"]
revision = "be17756531f50014397912b7aa557ec335e39b98"
version = "v11.3.0"
[[projects]]
name = "github.com/census-instrumentation/opencensus-proto"
packages = ["gen-go/agent/common/v1","gen-go/agent/trace/v1","gen-go/resource/v1","gen-go/trace/v1"]
revision = "7f2434bc10da710debe5c4315ed6d4df454b4024"
version = "v0.1.0"
[[projects]]
name = "github.com/dgrijalva/jwt-go"
packages = ["."]
revision = "06ea1031745cb8b3dab3f6a236daf2b0aa468b7e"
version = "v3.2.0"
[[projects]]
name = "github.com/go-sql-driver/mysql"
packages = ["."]
@ -13,6 +43,12 @@
packages = [".","readpass"]
revision = "d32a9ef172a1ec91efdf3ce26b240c946285bfe7"
[[projects]]
name = "github.com/golang/protobuf"
packages = ["proto","ptypes","ptypes/any","ptypes/duration","ptypes/timestamp","ptypes/wrappers"]
revision = "aa810b61a9c79d51363740d207bb46cf8e620ed5"
version = "v1.2.0"
[[projects]]
branch = "hack_global_ref"
name = "github.com/jessevdk/go-flags"
@ -50,6 +86,12 @@
packages = ["."]
revision = "f4cd9f5e29232537a12db1678f48c702ad6896b7"
[[projects]]
name = "go.opencensus.io"
packages = [".","exemplar","internal","internal/tagencoding","plugin/ochttp","plugin/ochttp/propagation/b3","plugin/ochttp/propagation/tracecontext","stats","stats/internal","stats/view","tag","trace","trace/internal","trace/propagation","trace/tracestate"]
revision = "b7bf3cdb64150a8c8c53b769fdeb2ba581bd4d4b"
version = "v0.18.0"
[[projects]]
branch = "master"
name = "golang.org/x/crypto"
@ -57,15 +99,57 @@
revision = "cdb2816747ef231992582a5f410b771944415b2a"
source = "https://github.com/tg123/sshpiper.crypto"
[[projects]]
branch = "master"
name = "golang.org/x/net"
packages = ["context","http/httpguts","http2","http2/hpack","idna","internal/timeseries","trace"]
revision = "1e06a53dbb7e2ed46e91183f219db23c6943c532"
[[projects]]
branch = "master"
name = "golang.org/x/sync"
packages = ["semaphore"]
revision = "37e7f081c4d4c64e13b10787722085407fe5d15f"
[[projects]]
branch = "master"
name = "golang.org/x/sys"
packages = ["unix"]
revision = "7fbe1cd0fcc20051e1fcb87fbabec4a1bacaaeba"
[[projects]]
name = "golang.org/x/text"
packages = ["collate","collate/build","internal/colltab","internal/gen","internal/tag","internal/triegen","internal/ucd","language","secure/bidirule","transform","unicode/bidi","unicode/cldr","unicode/norm","unicode/rangetable"]
revision = "f21a4dfb5e38f5895301dc265a8def02365cc3d0"
version = "v0.3.0"
[[projects]]
name = "google.golang.org/api"
packages = ["support/bundler"]
revision = "19e022d8cf43ce81f046bae8cc18c5397cc7732f"
version = "v0.1.0"
[[projects]]
name = "google.golang.org/appengine"
packages = ["cloudsql"]
revision = "4a4468ece617fc8205e99368fa2200e9d1fad421"
version = "v1.3.0"
[[projects]]
branch = "master"
name = "google.golang.org/genproto"
packages = ["googleapis/rpc/status"]
revision = "ae2f86662275e140f395167f1dab7081a5bd5fa8"
[[projects]]
name = "google.golang.org/grpc"
packages = [".","balancer","balancer/base","balancer/roundrobin","binarylog/grpc_binarylog_v1","codes","connectivity","credentials","credentials/internal","encoding","encoding/proto","grpclog","internal","internal/backoff","internal/binarylog","internal/channelz","internal/envconfig","internal/grpcrand","internal/grpcsync","internal/syscall","internal/transport","keepalive","metadata","naming","peer","resolver","resolver/dns","resolver/passthrough","stats","status","tap"]
revision = "df014850f6dee74ba2fc94874043a9f3f75fbfd8"
version = "v1.17.0"
[solve-meta]
analyzer-name = "dep"
analyzer-version = 1
inputs-digest = "4a95a16e8ce17e8bafabc938449a48b33d8ad760eeeee16128240972b4706032"
inputs-digest = "edb8b25358032bc1f50a5c77ee8c783f9cd3098dc1e7d0efe3fc00a4fff8a3e4"
solver-name = "gps-cdcl"
solver-version = 1

View file

@ -0,0 +1,24 @@
# How to contribute
We'd love to accept your patches and contributions to this project. There are
just a few small guidelines you need to follow.
## Contributor License Agreement
Contributions to this project must be accompanied by a Contributor License
Agreement. You (or your employer) retain the copyright to your contribution,
this simply gives us permission to use and redistribute your contributions as
part of the project. Head over to <https://cla.developers.google.com/> to see
your current agreements on file or to sign a new one.
You generally only need to submit a CLA once, so if you've already submitted one
(even if it was for a different project), you probably don't need to do it
again.
## Code reviews
All submissions, including submissions by project members, require review. We
use GitHub pull requests for this purpose. Consult [GitHub Help] for more
information on using pull requests.
[GitHub Help]: https://help.github.com/articles/about-pull-requests/

View file

@ -0,0 +1,201 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
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.

View file

@ -0,0 +1,61 @@
# OpenCensus Agent Go Exporter
[![Build Status][travis-image]][travis-url] [![GoDoc][godoc-image]][godoc-url]
This repository contains the Go implementation of the OpenCensus Agent (OC-Agent) Exporter.
OC-Agent is a deamon process running in a VM that can retrieve spans/stats/metrics from
OpenCensus Library, export them to other backends and possibly push configurations back to
Library. See more details on [OC-Agent Readme][OCAgentReadme].
Note: This is an experimental repository and is likely to get backwards-incompatible changes.
Ultimately we may want to move the OC-Agent Go Exporter to [OpenCensus Go core library][OpenCensusGo].
## Installation
```bash
$ go get -u contrib.go.opencensus.io/exporter/ocagent/v1
```
## Usage
```go
import (
"context"
"fmt"
"log"
"time"
"contrib.go.opencensus.io/exporter/ocagent/v1"
"go.opencensus.io/trace"
)
func Example() {
exp, err := ocagent.NewExporter(ocagent.WithInsecure(), ocagent.WithServiceName("your-service-name"))
if err != nil {
log.Fatalf("Failed to create the agent exporter: %v", err)
}
defer exp.Stop()
// Now register it as a trace exporter.
trace.RegisterExporter(exp)
// Then use the OpenCensus tracing library, like we normally would.
ctx, span := trace.StartSpan(context.Background(), "AgentExporter-Example")
defer span.End()
for i := 0; i < 10; i++ {
_, iSpan := trace.StartSpan(ctx, fmt.Sprintf("Sample-%d", i))
<-time.After(6 * time.Millisecond)
iSpan.End()
}
}
```
[OCAgentReadme]: https://github.com/census-instrumentation/opencensus-proto/tree/master/opencensus/proto/agent#opencensus-agent-proto
[OpenCensusGo]: https://github.com/census-instrumentation/opencensus-go
[godoc-image]: https://godoc.org/contrib.go.opencensus.io/exporter/ocagent?status.svg
[godoc-url]: https://godoc.org/contrib.go.opencensus.io/exporter/ocagent
[travis-image]: https://travis-ci.org/census-ecosystem/opencensus-go-exporter-ocagent.svg?branch=master
[travis-url]: https://travis-ci.org/census-ecosystem/opencensus-go-exporter-ocagent

View file

@ -0,0 +1,38 @@
// Copyright 2018, OpenCensus Authors
//
// 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.
package ocagent
import (
"math/rand"
"time"
)
var randSrc = rand.New(rand.NewSource(time.Now().UnixNano()))
// retries function fn upto n times, if fn returns an error lest it returns nil early.
// It applies exponential backoff in units of (1<<n) + jitter microsends.
func nTriesWithExponentialBackoff(nTries int64, timeBaseUnit time.Duration, fn func() error) (err error) {
for i := int64(0); i < nTries; i++ {
err = fn()
if err == nil {
return nil
}
// Backoff for a time period with a pseudo-random jitter
jitter := time.Duration(randSrc.Float64()*100) * time.Microsecond
ts := jitter + ((1 << uint64(i)) * timeBaseUnit)
<-time.After(ts)
}
return err
}

View file

@ -0,0 +1,46 @@
// Copyright 2018, OpenCensus Authors
//
// 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.
package ocagent_test
import (
"context"
"fmt"
"log"
"time"
"contrib.go.opencensus.io/exporter/ocagent"
"go.opencensus.io/trace"
)
func Example() {
exp, err := ocagent.NewExporter(ocagent.WithInsecure(), ocagent.WithServiceName("engine"))
if err != nil {
log.Fatalf("Failed to create the agent exporter: %v", err)
}
defer exp.Stop()
// Now register it as a trace exporter.
trace.RegisterExporter(exp)
// Then use the OpenCensus tracing library, like we normally would.
ctx, span := trace.StartSpan(context.Background(), "AgentExporter-Example")
defer span.End()
for i := 0; i < 10; i++ {
_, iSpan := trace.StartSpan(ctx, fmt.Sprintf("Sample-%d", i))
<-time.After(6 * time.Millisecond)
iSpan.End()
}
}

View file

@ -0,0 +1,9 @@
module contrib.go.opencensus.io/exporter/ocagent
require (
github.com/census-instrumentation/opencensus-proto v0.0.2-0.20180913191712-f303ae3f8d6a
github.com/golang/protobuf v1.2.0
go.opencensus.io v0.17.0
google.golang.org/api v0.0.0-20180910000450-7ca32eb868bf
google.golang.org/grpc v1.15.0
)

View file

@ -0,0 +1,44 @@
cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
git.apache.org/thrift.git v0.0.0-20180902110319-2566ecd5d999/go.mod h1:fPE2ZNJGynbRyZ4dJvy6G277gSllfV2HJqblrnkyeyg=
github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q=
github.com/census-instrumentation/opencensus-proto v0.0.1 h1:4v5I+ax5jCmwTYVaWQacX8ZSxvUZemBX4UwBGSkDeoA=
github.com/census-instrumentation/opencensus-proto v0.0.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
github.com/census-instrumentation/opencensus-proto v0.0.2-0.20180913191712-f303ae3f8d6a h1:t88pXOTS5K+pjfuhTOcul6sdC4khgqB8ukyfbe62Zxo=
github.com/census-instrumentation/opencensus-proto v0.0.2-0.20180913191712-f303ae3f8d6a/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
github.com/golang/lint v0.0.0-20180702182130-06c8688daad7/go.mod h1:tluoj9z5200jBnyusfRPU2LqT6J+DAorxEvtC7LHB+E=
github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A=
github.com/golang/protobuf v1.2.0 h1:P3YflyNX/ehuJFLhxviNdFxQPkGK5cDcApsge1SqnvM=
github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0=
github.com/openzipkin/zipkin-go v0.1.1/go.mod h1:NtoC/o8u3JlF1lSlyPNswIbeQH9bJTmOf0Erfk+hxe8=
github.com/prometheus/client_golang v0.8.0/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw=
github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo=
github.com/prometheus/common v0.0.0-20180801064454-c7de2306084e/go.mod h1:daVV7qP5qjZbuso7PdcryaAu0sAZbrN9i7WWcTMWvro=
github.com/prometheus/procfs v0.0.0-20180725123919-05ee40e3a273/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk=
go.opencensus.io v0.17.0 h1:2Cu88MYg+1LU+WVD+NWwYhyP0kKgRlN9QjWGaX0jKTE=
go.opencensus.io v0.17.0/go.mod h1:mp1VrMQxhlqqDpKvH4UcQUa4YwlzNmymAjPrDdfxNpI=
golang.org/x/lint v0.0.0-20180702182130-06c8688daad7/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20180906233101-161cd47e91fd h1:nTDtHvHSdCn1m6ITfMRqtOd/9+7a3s8RBNOZ3eYZzJA=
golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f h1:wMNYb4v58l5UBM7MYRLPG6ZhfOqbKu7X5eyFl8ZhKvA=
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
google.golang.org/api v0.0.0-20180910000450-7ca32eb868bf h1:rjxqQmxjyqerRKEj+tZW+MCm4LgpFXu18bsEoCMgDsk=
google.golang.org/api v0.0.0-20180910000450-7ca32eb868bf/go.mod h1:4mhQ8q/RsB7i+udVvVy5NUi08OU8ZlA0gRVgrF7VFY0=
google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
google.golang.org/genproto v0.0.0-20180831171423-11092d34479b h1:lohp5blsw53GBXtLyLNaTXPXS9pJ1tiTw61ZHUoE9Qw=
google.golang.org/genproto v0.0.0-20180831171423-11092d34479b/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
google.golang.org/grpc v1.14.0/go.mod h1:yo6s7OP7yaDglbqo1J04qKzAhqBH6lvTonzMVmEdcZw=
google.golang.org/grpc v1.15.0 h1:Az/KuahOM4NAidTEuJCv/RonAA7rYsTPkqXVjr+8OOw=
google.golang.org/grpc v1.15.0/go.mod h1:0JHn/cJsOMiMfNA9+DeHDlAU7KAAB5GDlYFpa9MZMio=
honnef.co/go/tools v0.0.0-20180728063816-88497007e858/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=

View file

@ -0,0 +1,218 @@
// Copyright 2018, OpenCensus Authors
//
// 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.
package ocagent_test
import (
"fmt"
"net"
"strconv"
"sync"
"testing"
"time"
"google.golang.org/grpc"
commonpb "github.com/census-instrumentation/opencensus-proto/gen-go/agent/common/v1"
agenttracepb "github.com/census-instrumentation/opencensus-proto/gen-go/agent/trace/v1"
tracepb "github.com/census-instrumentation/opencensus-proto/gen-go/trace/v1"
)
func makeMockAgent(t *testing.T) *mockAgent {
return &mockAgent{configsToSend: make(chan *agenttracepb.UpdatedLibraryConfig), t: t, wg: new(sync.WaitGroup)}
}
type mockAgent struct {
t *testing.T
spans []*tracepb.Span
mu sync.Mutex
wg *sync.WaitGroup
traceNodes []*commonpb.Node
receivedConfigs []*agenttracepb.CurrentLibraryConfig
configsToSend chan *agenttracepb.UpdatedLibraryConfig
closeConfigsToSendOnce sync.Once
port uint16
stopFunc func() error
stopOnce sync.Once
}
var _ agenttracepb.TraceServiceServer = (*mockAgent)(nil)
func (ma *mockAgent) Config(tscs agenttracepb.TraceService_ConfigServer) error {
ma.mu.Lock()
ma.wg.Add(1)
ma.mu.Unlock()
defer func() {
ma.mu.Lock()
ma.wg.Done()
ma.mu.Unlock()
}()
in, err := tscs.Recv()
if err != nil {
return err
}
if in == nil || in.Node == nil {
return fmt.Errorf("the first message must contain the node identifier")
}
ma.receivedConfigs = append(ma.receivedConfigs, in)
// Push down all the configs
for cfg := range ma.configsToSend {
// Push down configs
if err := tscs.Send(cfg); err != nil {
return err
}
// And then get back the config sent back by the client library
back, err := tscs.Recv()
if err != nil {
return err
}
ma.receivedConfigs = append(ma.receivedConfigs, back)
}
// Just for the sake of draining any configs
// that the client-side exporter is still sending.
for {
back, err := tscs.Recv()
if err != nil {
return err
}
ma.receivedConfigs = append(ma.receivedConfigs, back)
}
}
func (ma *mockAgent) Export(tses agenttracepb.TraceService_ExportServer) error {
in, err := tses.Recv()
if err != nil {
return err
}
ma.mu.Lock()
ma.wg.Add(1)
ma.mu.Unlock()
defer func() {
ma.mu.Lock()
ma.wg.Done()
ma.mu.Unlock()
}()
// The first trace message should contain the node identifier.
if in == nil || in.Node == nil {
return fmt.Errorf("the first message must contain the node identifier")
}
ma.traceNodes = append(ma.traceNodes, in.Node)
// Now that we have the node identifier, let's start receiving spans.
for {
req, err := tses.Recv()
if err != nil {
return err
}
ma.mu.Lock()
ma.spans = append(ma.spans, req.Spans...)
ma.traceNodes = append(ma.traceNodes, req.Node)
ma.mu.Unlock()
}
}
func (ma *mockAgent) transitionToReceivingClientConfigs() {
// Since we are done sending all the configs, close the configsChannel
// so that the state can transition to receiving all the client configs.
ma.closeConfigsToSendOnce.Do(func() {
close(ma.configsToSend)
})
}
var errAlreadyStopped = fmt.Errorf("already stopped")
func (ma *mockAgent) stop() error {
var err = errAlreadyStopped
ma.stopOnce.Do(func() {
ma.transitionToReceivingClientConfigs()
if ma.stopFunc != nil {
err = ma.stopFunc()
}
})
// Give it sometime to shutdown.
<-time.After(160 * time.Millisecond)
ma.mu.Lock()
ma.wg.Wait()
ma.mu.Unlock()
return err
}
// runMockAgent is a helper function to create a mockAgent
func runMockAgent(t *testing.T) *mockAgent {
return runMockAgentAtAddr(t, ":0")
}
func runMockAgentAtAddr(t *testing.T, addr string) *mockAgent {
var deferFuncs []func() error
ln, err := net.Listen("tcp", addr)
if err != nil {
t.Fatalf("Failed to get an address: %v", err)
}
deferFuncs = append(deferFuncs, ln.Close)
srv := grpc.NewServer()
ma := makeMockAgent(t)
agenttracepb.RegisterTraceServiceServer(srv, ma)
go func() {
_ = srv.Serve(ln)
}()
deferFunc := func() error {
srv.Stop()
return ln.Close()
}
_, agentPortStr, _ := net.SplitHostPort(ln.Addr().String())
agentPort, _ := strconv.Atoi(agentPortStr)
ma.port = uint16(agentPort)
ma.stopFunc = deferFunc
return ma
}
func (ma *mockAgent) getSpans() []*tracepb.Span {
ma.mu.Lock()
spans := append([]*tracepb.Span{}, ma.spans...)
ma.mu.Unlock()
return spans
}
func (ma *mockAgent) getReceivedConfigs() []*agenttracepb.CurrentLibraryConfig {
ma.mu.Lock()
receivedConfigs := append([]*agenttracepb.CurrentLibraryConfig{}, ma.receivedConfigs...)
ma.mu.Unlock()
return receivedConfigs
}
func (ma *mockAgent) getTraceNodes() []*commonpb.Node {
ma.mu.Lock()
traceNodes := append([]*commonpb.Node{}, ma.traceNodes...)
ma.mu.Unlock()
return traceNodes
}

View file

@ -0,0 +1,41 @@
// Copyright 2018, OpenCensus Authors
//
// 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.
package ocagent
import (
"os"
commonpb "github.com/census-instrumentation/opencensus-proto/gen-go/agent/common/v1"
"go.opencensus.io"
)
func createNodeInfo(nodeName string) *commonpb.Node {
return &commonpb.Node{
Identifier: &commonpb.ProcessIdentifier{
HostName: os.Getenv("HOSTNAME"),
Pid: uint32(os.Getpid()),
StartTimestamp: timeToTimestamp(startTime),
},
LibraryInfo: &commonpb.LibraryInfo{
Language: commonpb.LibraryInfo_GO_LANG,
ExporterVersion: Version,
CoreLibraryVersion: opencensus.Version(),
},
ServiceInfo: &commonpb.ServiceInfo{
Name: nodeName,
},
Attributes: make(map[string]string),
}
}

View file

@ -0,0 +1,299 @@
// Copyright 2018, OpenCensus Authors
//
// 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.
package ocagent
import (
"context"
"errors"
"fmt"
"sync"
"time"
"google.golang.org/api/support/bundler"
"google.golang.org/grpc"
"go.opencensus.io/trace"
agentcommonpb "github.com/census-instrumentation/opencensus-proto/gen-go/agent/common/v1"
agenttracepb "github.com/census-instrumentation/opencensus-proto/gen-go/agent/trace/v1"
tracepb "github.com/census-instrumentation/opencensus-proto/gen-go/trace/v1"
)
var startupMu sync.Mutex
var startTime time.Time
func init() {
startupMu.Lock()
startTime = time.Now()
startupMu.Unlock()
}
var _ trace.Exporter = (*Exporter)(nil)
type Exporter struct {
// mu protects the non-atomic and non-channel variables
mu sync.RWMutex
started bool
stopped bool
agentPort uint16
agentAddress string
serviceName string
canDialInsecure bool
traceSvcClient agenttracepb.TraceServiceClient
traceExporter agenttracepb.TraceService_ExportClient
nodeInfo *agentcommonpb.Node
grpcClientConn *grpc.ClientConn
traceBundler *bundler.Bundler
}
func NewExporter(opts ...ExporterOption) (*Exporter, error) {
exp, err := NewUnstartedExporter(opts...)
if err != nil {
return nil, err
}
if err := exp.Start(); err != nil {
return nil, err
}
return exp, nil
}
const spanDataBufferSize = 300
func NewUnstartedExporter(opts ...ExporterOption) (*Exporter, error) {
e := new(Exporter)
for _, opt := range opts {
opt.withExporter(e)
}
if e.agentPort <= 0 {
e.agentPort = DefaultAgentPort
}
traceBundler := bundler.NewBundler((*trace.SpanData)(nil), func(bundle interface{}) {
e.uploadTraces(bundle.([]*trace.SpanData))
})
traceBundler.DelayThreshold = 2 * time.Second
traceBundler.BundleCountThreshold = spanDataBufferSize
e.traceBundler = traceBundler
e.nodeInfo = createNodeInfo(e.serviceName)
return e, nil
}
const (
maxInitialConfigRetries = 10
maxInitialTracesRetries = 10
)
// Start dials to the agent, establishing a connection to it. It also
// initiates the Config and Trace services by sending over the initial
// messages that consist of the node identifier. Start performs a best case
// attempt to try to send the initial messages, by applying exponential
// backoff at most 10 times.
func (ae *Exporter) Start() error {
ae.mu.Lock()
defer ae.mu.Unlock()
err := ae.doStartLocked()
if err == nil {
ae.started = true
return nil
}
// Otherwise we have an error and should clean up to avoid leaking resources.
ae.started = false
if ae.grpcClientConn != nil {
ae.grpcClientConn.Close()
}
return err
}
func (ae *Exporter) prepareAgentAddress() string {
if ae.agentAddress != "" {
return ae.agentAddress
}
port := DefaultAgentPort
if ae.agentPort > 0 {
port = ae.agentPort
}
return fmt.Sprintf("%s:%d", DefaultAgentHost, port)
}
func (ae *Exporter) doStartLocked() error {
if ae.started {
return nil
}
// Now start it
cc, err := ae.dialToAgent()
if err != nil {
return err
}
ae.grpcClientConn = cc
// Initiate the trace service by sending over node identifier info.
traceSvcClient := agenttracepb.NewTraceServiceClient(cc)
traceExporter, err := traceSvcClient.Export(context.Background())
if err != nil {
return fmt.Errorf("Exporter.Start:: TraceServiceClient: %v", err)
}
firstTraceMessage := &agenttracepb.ExportTraceServiceRequest{Node: ae.nodeInfo}
err = nTriesWithExponentialBackoff(maxInitialTracesRetries, 200*time.Microsecond, func() error {
return traceExporter.Send(firstTraceMessage)
})
if err != nil {
return fmt.Errorf("Exporter.Start:: Failed to initiate the Config service: %v", err)
}
ae.traceExporter = traceExporter
// Initiate the config service by sending over node identifier info.
configStream, err := traceSvcClient.Config(context.Background())
if err != nil {
return fmt.Errorf("Exporter.Start:: ConfigStream: %v", err)
}
firstCfgMessage := &agenttracepb.CurrentLibraryConfig{Node: ae.nodeInfo}
err = nTriesWithExponentialBackoff(maxInitialConfigRetries, 200*time.Microsecond, func() error {
return configStream.Send(firstCfgMessage)
})
if err != nil {
return fmt.Errorf("Exporter.Start:: Failed to initiate the Config service: %v", err)
}
// In the background, handle trace configurations that are beamed down
// by the agent, but also reply to it with the applied configuration.
go ae.handleConfigStreaming(configStream)
return nil
}
// dialToAgent performs a best case attempt to dial to the agent.
// It retries failed dials with:
// * gRPC dialTimeout of 1s
// * exponential backoff, 5 times with a period of 50ms
// hence in the worst case of (no agent actually available), it
// will take at least:
// (5 * 1s) + ((1<<5)-1) * 0.01 s = 5s + 1.55s = 6.55s
func (ae *Exporter) dialToAgent() (*grpc.ClientConn, error) {
addr := ae.prepareAgentAddress()
dialOpts := []grpc.DialOption{grpc.WithBlock()}
if ae.canDialInsecure {
dialOpts = append(dialOpts, grpc.WithInsecure())
}
var cc *grpc.ClientConn
dialOpts = append(dialOpts, grpc.WithTimeout(1*time.Second))
dialBackoffWaitPeriod := 50 * time.Millisecond
err := nTriesWithExponentialBackoff(5, dialBackoffWaitPeriod, func() error {
var err error
cc, err = grpc.Dial(addr, dialOpts...)
return err
})
return cc, err
}
func (ae *Exporter) handleConfigStreaming(configStream agenttracepb.TraceService_ConfigClient) error {
for {
recv, err := configStream.Recv()
if err != nil {
// TODO: Check if this is a transient error or exponential backoff-able.
return err
}
cfg := recv.Config
if cfg == nil {
continue
}
// Otherwise now apply the trace configuration sent down from the agent
if psamp := cfg.GetProbabilitySampler(); psamp != nil {
trace.ApplyConfig(trace.Config{DefaultSampler: trace.ProbabilitySampler(psamp.SamplingProbability)})
} else if csamp := cfg.GetConstantSampler(); csamp != nil {
alwaysSample := csamp.Decision == true
if alwaysSample {
trace.ApplyConfig(trace.Config{DefaultSampler: trace.AlwaysSample()})
} else {
trace.ApplyConfig(trace.Config{DefaultSampler: trace.NeverSample()})
}
} else { // TODO: Add the rate limiting sampler here
}
// Then finally send back to upstream the newly applied configuration
err = configStream.Send(&agenttracepb.CurrentLibraryConfig{Config: &tracepb.TraceConfig{Sampler: cfg.Sampler}})
if err != nil {
return err
}
}
}
var (
errNotStarted = errors.New("not started")
)
// Stop shuts down all the connections and resources
// related to the exporter.
func (ae *Exporter) Stop() error {
ae.mu.Lock()
defer ae.mu.Unlock()
if !ae.started {
return errNotStarted
}
if ae.stopped {
// TODO: tell the user that we've already stopped, so perhaps a sentinel error?
return nil
}
ae.Flush()
// Now close the underlying gRPC connection.
var err error
if ae.grpcClientConn != nil {
err = ae.grpcClientConn.Close()
}
// At this point we can change the state variables: started and stopped
ae.started = false
ae.stopped = true
return err
}
func (ae *Exporter) ExportSpan(sd *trace.SpanData) {
if sd == nil {
return
}
_ = ae.traceBundler.Add(sd, -1)
}
func (ae *Exporter) uploadTraces(sdl []*trace.SpanData) {
if len(sdl) == 0 {
return
}
protoSpans := make([]*tracepb.Span, 0, len(sdl))
for _, sd := range sdl {
if sd != nil {
protoSpans = append(protoSpans, ocSpanToProtoSpan(sd))
}
}
if len(protoSpans) > 0 {
_ = ae.traceExporter.Send(&agenttracepb.ExportTraceServiceRequest{
Spans: protoSpans,
})
}
}
func (ae *Exporter) Flush() {
ae.traceBundler.Flush()
}

View file

@ -0,0 +1,329 @@
// Copyright 2018, OpenCensus Authors
//
// 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.
package ocagent_test
import (
"context"
"fmt"
"net"
"os"
"strconv"
"strings"
"testing"
"time"
"contrib.go.opencensus.io/exporter/ocagent"
commonpb "github.com/census-instrumentation/opencensus-proto/gen-go/agent/common/v1"
agenttracepb "github.com/census-instrumentation/opencensus-proto/gen-go/agent/trace/v1"
tracepb "github.com/census-instrumentation/opencensus-proto/gen-go/trace/v1"
"go.opencensus.io"
"go.opencensus.io/trace"
)
func TestNewExporter_endToEnd(t *testing.T) {
ma := runMockAgent(t)
defer ma.stop()
serviceName := "endToEnd_test"
exp, err := ocagent.NewExporter(ocagent.WithInsecure(), ocagent.WithPort(ma.port), ocagent.WithServiceName(serviceName))
if err != nil {
t.Fatalf("Failed to create a new agent exporter: %v", err)
}
defer exp.Stop()
// Once we've register the exporter, we can then send over a bunch of spans.
trace.RegisterExporter(exp)
defer trace.UnregisterExporter(exp)
// Let the agent push down a couple of configurations.
// 1. Always sample
ma.configsToSend <- &agenttracepb.UpdatedLibraryConfig{
Config: &tracepb.TraceConfig{
Sampler: &tracepb.TraceConfig_ConstantSampler{
ConstantSampler: &tracepb.ConstantSampler{Decision: true}, // Always sample
},
},
}
<-time.After(5 * time.Millisecond)
// Now create a couple of spans
for i := 0; i < 4; i++ {
_, span := trace.StartSpan(context.Background(), "AlwaysSample")
span.Annotatef([]trace.Attribute{trace.Int64Attribute("i", int64(i))}, "Annotation")
span.End()
}
<-time.After(10 * time.Millisecond)
exp.Flush()
// 2. Never sample
ma.configsToSend <- &agenttracepb.UpdatedLibraryConfig{
Config: &tracepb.TraceConfig{
Sampler: &tracepb.TraceConfig_ConstantSampler{
ConstantSampler: &tracepb.ConstantSampler{Decision: false}, // Never sample
},
},
}
<-time.After(5 * time.Millisecond)
exp.Flush()
// Now create a couple of spans
for i, n := 0, 2; i < n; i++ {
_, span := trace.StartSpan(context.Background(), "NeverSample")
span.Annotatef([]trace.Attribute{trace.Int64Attribute("i", int64(n-i))}, "Annotation")
span.End()
}
<-time.After(10 * time.Millisecond)
exp.Flush()
// 3. Probability sampler (100%)
ma.configsToSend <- &agenttracepb.UpdatedLibraryConfig{
Config: &tracepb.TraceConfig{
Sampler: &tracepb.TraceConfig_ProbabilitySampler{
ProbabilitySampler: &tracepb.ProbabilitySampler{SamplingProbability: 1.0}, // 100% probability
},
},
}
<-time.After(5 * time.Millisecond)
exp.Flush()
// Now create a couple of spans
for i := 0; i < 3; i++ {
_, span := trace.StartSpan(context.Background(), "ProbabilitySampler-100%")
span.Annotatef([]trace.Attribute{trace.BoolAttribute("odd", i&1 == 1)}, "Annotation")
span.End()
}
<-time.After(10 * time.Millisecond)
exp.Flush()
// 4. Probability sampler (0%)
ma.configsToSend <- &agenttracepb.UpdatedLibraryConfig{
Config: &tracepb.TraceConfig{
Sampler: &tracepb.TraceConfig_ProbabilitySampler{
ProbabilitySampler: &tracepb.ProbabilitySampler{SamplingProbability: 0.0}, // 0% probability
},
},
}
<-time.After(5 * time.Millisecond)
exp.Flush()
for i := 0; i < 3; i++ {
_, span := trace.StartSpan(context.Background(), "ProbabilitySampler-0%")
span.Annotatef([]trace.Attribute{trace.BoolAttribute("even", i&1 == 0)}, "Annotation")
span.End()
}
// Give the traces some time to be exported or dropped by the core library
<-time.After(5 * time.Millisecond)
ma.transitionToReceivingClientConfigs()
<-time.After(5 * time.Millisecond)
// Now invoke Flush on the exporter.
exp.Flush()
<-time.After(5 * time.Millisecond)
// Now shutdown the exporter
if err := exp.Stop(); err != nil {
t.Errorf("Failed to stop the exporter: %v", err)
}
// Shutdown the agent too so that we can begin
// verification checks of expected data back.
ma.stop()
// Expecting 5 receivedConfigs: the first one with the nodeInfo
// and the rest with {AlwaysSample, NeverSample, 100%, 0%}
spans := ma.getSpans()
traceNodes := ma.getTraceNodes()
receivedConfigs := ma.getReceivedConfigs()
if g, w := len(receivedConfigs), 5; g != w {
t.Errorf("ReceivedConfigs: got %d want %d", g, w)
}
// Expecting 7 spanData that were sampled, given that
// two of the trace configs pushed down to the client
// were {NeverSample, ProbabilitySampler(0.0)}
if g, w := len(spans), 7; g != w {
t.Errorf("Spans: got %d want %d", g, w)
}
// Now check that the responses received by the agent properly
// contain the node identifier that we expect the exporter to have.
wantIdentifier := &commonpb.ProcessIdentifier{
HostName: os.Getenv("HOSTNAME"),
Pid: uint32(os.Getpid()),
}
wantLibraryInfo := &commonpb.LibraryInfo{
Language: commonpb.LibraryInfo_GO_LANG,
ExporterVersion: ocagent.Version,
CoreLibraryVersion: opencensus.Version(),
}
wantServiceInfo := &commonpb.ServiceInfo{
Name: serviceName,
}
var firstNodeInConfig, firstNodeInTraceExport *commonpb.Node
if len(receivedConfigs) > 0 {
firstNodeInConfig = receivedConfigs[0].Node
}
if len(traceNodes) > 0 {
firstNodeInTraceExport = traceNodes[0]
}
nodeComparisons := []struct {
name string
node *commonpb.Node
}{
// Expecting the first config message that the agent got to contain the nodeInfo
{name: "Config", node: firstNodeInConfig},
// Expecting the first span message that the agent got to contain the nodeInfo
{name: "Trace", node: firstNodeInTraceExport},
}
for _, tt := range nodeComparisons {
node := tt.node
if node == nil {
t.Errorf("%q: first message should contain a non-nil Node", tt.name)
} else if g, w := node.Identifier, wantIdentifier; !sameProcessIdentifier(g, w) {
t.Errorf("%q: ProcessIdentifier mismatch\nGot %#v\nWant %#v", tt.name, g, w)
} else if g, w := node.LibraryInfo, wantLibraryInfo; !sameLibraryInfo(g, w) {
t.Errorf("%q: LibraryInfo mismatch\nGot %#v\nWant %#v", tt.name, g, w)
} else if g, w := node.ServiceInfo, wantServiceInfo; !sameServiceInfo(g, w) {
t.Errorf("%q: ServiceInfo mismatch\nGot %#v\nWant %#v", tt.name, g, w)
}
}
}
func TestNewExporter_invokeStartThenStopManyTimes(t *testing.T) {
ma := runMockAgent(t)
defer ma.stop()
exp, err := ocagent.NewUnstartedExporter(ocagent.WithInsecure(), ocagent.WithPort(ma.port))
if err != nil {
t.Fatal("Surprisingly connected with a bad port")
}
defer exp.Stop()
// Invoke Start numerous times
for i := 0; i < 10; i++ {
if err := exp.Start(); err != nil {
t.Errorf("#%d unexpected Start error: %v", i, err)
}
}
exp.Stop()
// Invoke Stop numerous times
for i := 0; i < 10; i++ {
if err := exp.Stop(); err == nil || !strings.Contains(err.Error(), "not started") {
t.Errorf(`#%d got error (%v) expected a "not started error"`, i, err)
}
}
}
func TestNewExporter_agentConnectionDiesInMidst(t *testing.T) {
ma := runMockAgent(t)
exp, err := ocagent.NewUnstartedExporter(ocagent.WithInsecure(), ocagent.WithPort(ma.port))
if err != nil {
t.Fatal("Surprisingly connected with a bad port")
}
defer exp.Stop()
if err := exp.Start(); err != nil {
t.Fatalf("Unexpected Start error: %v", err)
}
// Stop the agent right away to simulate killing
// the connection in the midst of communication.
ma.stop()
exp.ExportSpan(&trace.SpanData{Name: "in the midst"})
}
// This test takes a long time to run: to skip it, run tests using: -short
func TestNewExporter_agentOnBadConnection(t *testing.T) {
if testing.Short() {
t.Skipf("Skipping this long running test")
}
ln, err := net.Listen("tcp", ":0")
if err != nil {
t.Fatalf("Failed to grab an available port: %v", err)
}
// Firstly close the "agent's" channel: optimistically this address won't get reused ASAP
// However, our goal of closing it is to simulate an unavailable connection
ln.Close()
startTime := time.Now()
// If this returns in less than 6.5s report an error
// since that's a sign that exponential backoff didn't happen.
wantMinDuration := (6 * time.Second) + (500 * time.Millisecond)
defer func() {
timeSpent := time.Now().Sub(startTime)
if timeSpent < wantMinDuration {
t.Errorf("Took %s, yet with a non-existent connection it should take at least %s",
timeSpent, wantMinDuration)
}
}()
_, agentPortStr, _ := net.SplitHostPort(ln.Addr().String())
agentPort, _ := strconv.Atoi(agentPortStr)
exp, err := ocagent.NewExporter(ocagent.WithInsecure(), ocagent.WithPort(uint16(agentPort)))
if err == nil {
t.Fatal("Surprisingly connected to an unavailable non-gRPC connection")
}
if exp != nil {
t.Fatalf("Surprisingly created an exporter: %#v", exp)
}
}
func TestNewExporter_withAddress(t *testing.T) {
ma := runMockAgent(t)
defer ma.stop()
addr := fmt.Sprintf("localhost:%d", ma.port)
exp, err := ocagent.NewUnstartedExporter(ocagent.WithInsecure(), ocagent.WithAddress(addr))
if err != nil {
t.Fatal("Surprisingly connected with a bad port")
}
defer exp.Stop()
if err := exp.Start(); err != nil {
t.Fatalf("Unexpected Start error: %v", err)
}
}
// Best case comparison for information that we can externally introspect
func sameProcessIdentifier(n1, n2 *commonpb.ProcessIdentifier) bool {
if n1 == nil || n2 == nil {
return n1 == n2
}
return n1.HostName == n2.HostName && n1.Pid == n2.Pid
}
func sameLibraryInfo(li1, li2 *commonpb.LibraryInfo) bool {
if li1 == nil || li2 == nil {
return li1 == li2
}
return li1.Language == li2.Language &&
li1.ExporterVersion == li2.ExporterVersion &&
li1.CoreLibraryVersion == li2.CoreLibraryVersion
}
func sameServiceInfo(si1, si2 *commonpb.ServiceInfo) bool {
if si1 == nil || si2 == nil {
return si1 == si2
}
return si1.Name == si2.Name
}

View file

@ -0,0 +1,80 @@
// Copyright 2018, OpenCensus Authors
//
// 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.
package ocagent
const (
DefaultAgentPort uint16 = 55678
DefaultAgentHost string = "localhost"
)
type ExporterOption interface {
withExporter(e *Exporter)
}
type portSetter uint16
func (ps portSetter) withExporter(e *Exporter) {
e.agentPort = uint16(ps)
}
var _ ExporterOption = (*portSetter)(nil)
type insecureGrpcConnection int
var _ ExporterOption = (*insecureGrpcConnection)(nil)
func (igc *insecureGrpcConnection) withExporter(e *Exporter) {
e.canDialInsecure = true
}
// WithInsecure disables client transport security for the exporter's gRPC connection
// just like grpc.WithInsecure() https://godoc.org/google.golang.org/grpc#WithInsecure
// does. Note, by default, client security is required unless WithInsecure is used.
func WithInsecure() ExporterOption { return new(insecureGrpcConnection) }
// WithPort allows one to override the port that the exporter will
// connect to the agent on, instead of using DefaultAgentPort.
func WithPort(port uint16) ExporterOption {
return portSetter(port)
}
type addressSetter string
func (as addressSetter) withExporter(e *Exporter) {
e.agentAddress = string(as)
}
var _ ExporterOption = (*addressSetter)(nil)
// WithAddress allows one to set the address that the exporter will
// connect to the agent on. If unset, it will instead try to use
// connect to DefaultAgentHost:DefaultAgentPort
func WithAddress(addr string) ExporterOption {
return addressSetter(addr)
}
type serviceNameSetter string
func (sns serviceNameSetter) withExporter(e *Exporter) {
e.serviceName = string(sns)
}
var _ ExporterOption = (*serviceNameSetter)(nil)
// WithServiceName allows one to set/override the service name
// that the exporter will report to the agent.
func WithServiceName(serviceName string) ExporterOption {
return serviceNameSetter(serviceName)
}

View file

@ -0,0 +1,162 @@
// Copyright 2018, OpenCensus Authors
//
// 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.
package ocagent
import (
"time"
"go.opencensus.io/trace"
"go.opencensus.io/trace/tracestate"
tracepb "github.com/census-instrumentation/opencensus-proto/gen-go/trace/v1"
"github.com/golang/protobuf/ptypes/timestamp"
)
func ocSpanToProtoSpan(sd *trace.SpanData) *tracepb.Span {
if sd == nil {
return nil
}
var namePtr *tracepb.TruncatableString
if sd.Name != "" {
namePtr = &tracepb.TruncatableString{Value: sd.Name}
}
return &tracepb.Span{
TraceId: sd.TraceID[:],
SpanId: sd.SpanID[:],
ParentSpanId: sd.ParentSpanID[:],
Status: ocStatusToProtoStatus(sd.Status),
StartTime: timeToTimestamp(sd.StartTime),
EndTime: timeToTimestamp(sd.EndTime),
Links: ocLinksToProtoLinks(sd.Links),
Kind: ocSpanKindToProtoSpanKind(sd.SpanKind),
Name: namePtr,
Attributes: ocAttributesToProtoAttributes(sd.Attributes),
Tracestate: ocTracestateToProtoTracestate(sd.Tracestate),
}
}
var blankStatus trace.Status
func ocStatusToProtoStatus(status trace.Status) *tracepb.Status {
if status == blankStatus {
return nil
}
return &tracepb.Status{
Code: status.Code,
Message: status.Message,
}
}
func ocLinksToProtoLinks(links []trace.Link) *tracepb.Span_Links {
if len(links) == 0 {
return nil
}
sl := make([]*tracepb.Span_Link, 0, len(links))
for _, ocLink := range links {
// This redefinition is necessary to prevent ocLink.*ID[:] copies
// being reused -- in short we need a new ocLink per iteration.
ocLink := ocLink
sl = append(sl, &tracepb.Span_Link{
TraceId: ocLink.TraceID[:],
SpanId: ocLink.SpanID[:],
Type: ocLinkTypeToProtoLinkType(ocLink.Type),
})
}
return &tracepb.Span_Links{
Link: sl,
}
}
func ocLinkTypeToProtoLinkType(oct trace.LinkType) tracepb.Span_Link_Type {
switch oct {
case trace.LinkTypeChild:
return tracepb.Span_Link_CHILD_LINKED_SPAN
case trace.LinkTypeParent:
return tracepb.Span_Link_PARENT_LINKED_SPAN
default:
return tracepb.Span_Link_TYPE_UNSPECIFIED
}
}
func ocAttributesToProtoAttributes(attrs map[string]interface{}) *tracepb.Span_Attributes {
if len(attrs) == 0 {
return nil
}
outMap := make(map[string]*tracepb.AttributeValue)
for k, v := range attrs {
switch v := v.(type) {
case bool:
outMap[k] = &tracepb.AttributeValue{Value: &tracepb.AttributeValue_BoolValue{BoolValue: v}}
case int:
outMap[k] = &tracepb.AttributeValue{Value: &tracepb.AttributeValue_IntValue{IntValue: int64(v)}}
case int64:
outMap[k] = &tracepb.AttributeValue{Value: &tracepb.AttributeValue_IntValue{IntValue: v}}
case string:
outMap[k] = &tracepb.AttributeValue{
Value: &tracepb.AttributeValue_StringValue{
StringValue: &tracepb.TruncatableString{Value: v},
},
}
}
}
return &tracepb.Span_Attributes{
AttributeMap: outMap,
}
}
func timeToTimestamp(t time.Time) *timestamp.Timestamp {
nanoTime := t.UnixNano()
return &timestamp.Timestamp{
Seconds: nanoTime / 1e9,
Nanos: int32(nanoTime % 1e9),
}
}
func ocSpanKindToProtoSpanKind(kind int) tracepb.Span_SpanKind {
switch kind {
case trace.SpanKindClient:
return tracepb.Span_CLIENT
case trace.SpanKindServer:
return tracepb.Span_SERVER
default:
return tracepb.Span_SPAN_KIND_UNSPECIFIED
}
}
func ocTracestateToProtoTracestate(ts *tracestate.Tracestate) *tracepb.Span_Tracestate {
if ts == nil {
return nil
}
return &tracepb.Span_Tracestate{
Entries: ocTracestateEntriesToProtoTracestateEntries(ts.Entries()),
}
}
func ocTracestateEntriesToProtoTracestateEntries(entries []tracestate.Entry) []*tracepb.Span_Tracestate_Entry {
protoEntries := make([]*tracepb.Span_Tracestate_Entry, 0, len(entries))
for _, entry := range entries {
protoEntries = append(protoEntries, &tracepb.Span_Tracestate_Entry{
Key: entry.Key,
Value: entry.Value,
})
}
return protoEntries
}

View file

@ -0,0 +1,166 @@
// Copyright 2018, OpenCensus Authors
//
// 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.
package ocagent_test
import (
"reflect"
"testing"
"time"
"contrib.go.opencensus.io/exporter/ocagent"
"go.opencensus.io/trace"
"go.opencensus.io/trace/tracestate"
tracepb "github.com/census-instrumentation/opencensus-proto/gen-go/trace/v1"
"github.com/golang/protobuf/ptypes/timestamp"
)
func TestOCSpanToProtoSpan_endToEnd(t *testing.T) {
// The goal of this test is to ensure that each
// spanData is transformed and exported correctly!
agent := runMockAgent(t)
defer agent.stop()
serviceName := "spanTranslation"
exp, err := ocagent.NewExporter(ocagent.WithInsecure(), ocagent.WithPort(agent.port), ocagent.WithServiceName(serviceName))
if err != nil {
t.Fatalf("Failed to create a new agent exporter: %v", err)
}
defer exp.Stop()
startTime := time.Now()
endTime := startTime.Add(10 * time.Second)
ocTracestate, err := tracestate.New(new(tracestate.Tracestate), tracestate.Entry{Key: "foo", Value: "bar"},
tracestate.Entry{Key: "a", Value: "b"})
if err != nil || ocTracestate == nil {
t.Fatalf("Failed to create ocTracestate: %v", err)
}
ocSpanData := &trace.SpanData{
SpanContext: trace.SpanContext{
TraceID: trace.TraceID{0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F},
SpanID: trace.SpanID{0xFF, 0xFE, 0xFD, 0xFC, 0xFB, 0xFA, 0xF9, 0xF8},
Tracestate: ocTracestate,
},
SpanKind: trace.SpanKindServer,
ParentSpanID: trace.SpanID{0xEF, 0xEE, 0xED, 0xEC, 0xEB, 0xEA, 0xE9, 0xE8},
Name: "End-To-End Here",
StartTime: startTime,
EndTime: endTime,
MessageEvents: []trace.MessageEvent{
{Time: startTime, EventType: trace.MessageEventTypeSent, UncompressedByteSize: 1024, CompressedByteSize: 512},
{Time: endTime, EventType: trace.MessageEventTypeRecv, UncompressedByteSize: 1024, CompressedByteSize: 1000},
},
Links: []trace.Link{
{
TraceID: trace.TraceID{0xC0, 0xC1, 0xC2, 0xC3, 0xC4, 0xC5, 0xC6, 0xC7, 0xC8, 0xC9, 0xCA, 0xCB, 0xCC, 0xCD, 0xCE, 0xCF},
SpanID: trace.SpanID{0xB0, 0xB1, 0xB2, 0xB3, 0xB4, 0xB5, 0xB6, 0xB7},
Type: trace.LinkTypeParent,
},
{
TraceID: trace.TraceID{0xE0, 0xE1, 0xE2, 0xE3, 0xE4, 0xE5, 0xE6, 0xE7, 0xE8, 0xE9, 0xEA, 0xEB, 0xEC, 0xED, 0xEE, 0xEF},
SpanID: trace.SpanID{0xD0, 0xD1, 0xD2, 0xD3, 0xD4, 0xD5, 0xD6, 0xD7},
Type: trace.LinkTypeChild,
},
},
Status: trace.Status{
Code: trace.StatusCodeInternal,
Message: "This is not a drill!",
},
HasRemoteParent: true,
Attributes: map[string]interface{}{
"timeout_ns": int64(12e9),
"agent": "ocagent",
"cache_hit": true,
"ping_count": int(25), // Should be transformed into int64
},
}
// TODO: file a bug with opencensus-go because trace.Annotation.Attributes' type is map[string]interface{}
// yet Attribute value and key cannot be easily introspected, so we can't easily test the values.
exp.ExportSpan(ocSpanData)
// Also try to export a nil span and it should never make it
exp.ExportSpan(nil)
exp.Flush()
<-time.After(100 * time.Millisecond)
exp.Stop()
agent.stop()
spans := agent.getSpans()
if len(spans) == 0 || spans[0] == nil {
t.Fatal("Expected the exported span")
}
wantProtoSpan := &tracepb.Span{
TraceId: []byte{0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F},
SpanId: []byte{0xFF, 0xFE, 0xFD, 0xFC, 0xFB, 0xFA, 0xF9, 0xF8},
ParentSpanId: []byte{0xEF, 0xEE, 0xED, 0xEC, 0xEB, 0xEA, 0xE9, 0xE8},
Name: &tracepb.TruncatableString{Value: "End-To-End Here"},
Kind: tracepb.Span_SERVER,
StartTime: timeToTimestamp(startTime),
EndTime: timeToTimestamp(endTime),
Status: &tracepb.Status{
Code: 13,
Message: "This is not a drill!",
},
Links: &tracepb.Span_Links{
Link: []*tracepb.Span_Link{
{
TraceId: []byte{0xC0, 0xC1, 0xC2, 0xC3, 0xC4, 0xC5, 0xC6, 0xC7, 0xC8, 0xC9, 0xCA, 0xCB, 0xCC, 0xCD, 0xCE, 0xCF},
SpanId: []byte{0xB0, 0xB1, 0xB2, 0xB3, 0xB4, 0xB5, 0xB6, 0xB7},
Type: tracepb.Span_Link_PARENT_LINKED_SPAN,
},
{
TraceId: []byte{0xE0, 0xE1, 0xE2, 0xE3, 0xE4, 0xE5, 0xE6, 0xE7, 0xE8, 0xE9, 0xEA, 0xEB, 0xEC, 0xED, 0xEE, 0xEF},
SpanId: []byte{0xD0, 0xD1, 0xD2, 0xD3, 0xD4, 0xD5, 0xD6, 0xD7},
Type: tracepb.Span_Link_CHILD_LINKED_SPAN,
},
},
},
Tracestate: &tracepb.Span_Tracestate{
Entries: []*tracepb.Span_Tracestate_Entry{
{Key: "foo", Value: "bar"},
{Key: "a", Value: "b"},
},
},
Attributes: &tracepb.Span_Attributes{
AttributeMap: map[string]*tracepb.AttributeValue{
"cache_hit": {Value: &tracepb.AttributeValue_BoolValue{BoolValue: true}},
"timeout_ns": {Value: &tracepb.AttributeValue_IntValue{IntValue: 12e9}},
"ping_count": {Value: &tracepb.AttributeValue_IntValue{IntValue: 25}},
"agent": {Value: &tracepb.AttributeValue_StringValue{
StringValue: &tracepb.TruncatableString{Value: "ocagent"},
}},
},
},
}
if g, w := spans[0], wantProtoSpan; !reflect.DeepEqual(g, w) {
for i := 0; i < len(w.Links.Link); i++ {
t.Logf("#%d:: \nGot: %#v\nWant: %#v\n\n", i, g.Links.Link[i], w.Links.Link[i])
}
t.Fatalf("End-to-end transformed span\n\tGot %+v\n\tWant %+v", g, w)
}
}
func timeToTimestamp(t time.Time) *timestamp.Timestamp {
nanoTime := t.UnixNano()
return &timestamp.Timestamp{
Seconds: nanoTime / 1e9,
Nanos: int32(nanoTime % 1e9),
}
}

View file

@ -0,0 +1,17 @@
// Copyright 2018, OpenCensus Authors
//
// 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.
package ocagent
const Version = "0.0.1"

1337
vendor/github.com/Azure/azure-sdk-for-go/CHANGELOG.md generated vendored Normal file

File diff suppressed because it is too large Load diff

12
vendor/github.com/Azure/azure-sdk-for-go/CODEOWNERS generated vendored Normal file
View file

@ -0,0 +1,12 @@
/documentation/ @joshgav
/profiles/ @jhendrixMSFT @vladbarosan
/services/ @jhendrixMSFT @vladbarosan
/storage/ @jhendrixMSFT @vladbarosan
/tools/apidiff/ @jhendrixMSFT @vladbarosan
/tools/generator/ @jhendrixMSFT @vladbarosan
/tools/indexer/ @jhendrixMSFT @vladbarosan
/tools/profileBuilder/ @jhendrixMSFT @vladbarosan
/version/ @jhendrixMSFT @vladbarosan
.travis.yml @jhendrixMSFT @vladbarosan
doc.go @joshgav
findTestedPackages.sh @jhendrixMSFT @vladbarosan

View file

@ -0,0 +1,17 @@
# Contributing
As of version 14, the Azure SDK for Go is GA. We maintain only a `master` branch for releases and a `latest` branch for the latest changes.
For bugs or feature requests you can submit them using the [Github issues page][issues] and filling the appropriate template.
For Pull Requests, please submit them _ONLY_ to `latest` branch.
Also please see these [guidelines][] about contributing to Azure projects.
This project follows the [Microsoft Open Source Code of Conduct][coc]. For more information see the [Code of Conduct FAQ][cocfaq]. Contact [opencode@microsoft.com][cocmail] with questions and comments.
[guidelines]: http://azure.github.io/guidelines/
[coc]: https://opensource.microsoft.com/codeofconduct/
[cocfaq]: https://opensource.microsoft.com/codeofconduct/faq/
[cocmail]: mailto:opencode@microsoft.com
[issues]: https://github.com/Azure/Azure-sdk-for-go/issues

384
vendor/github.com/Azure/azure-sdk-for-go/Gopkg.lock generated vendored Normal file
View file

@ -0,0 +1,384 @@
# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'.
[[projects]]
digest = "1:e1b859e3d9e90007d5fbf25edf57733b224f1857f6592636130afab3af8cfae7"
name = "contrib.go.opencensus.io/exporter/ocagent"
packages = ["."]
pruneopts = ""
revision = "00af367e65149ff1f2f4b93bbfbb84fd9297170d"
version = "v0.2.0"
[[projects]]
digest = "1:597d79297997cdf9f13427b0644558c6b845451607a6893c9b00b3625ab1f4f3"
name = "github.com/Azure/go-autorest"
packages = [
"autorest",
"autorest/adal",
"autorest/azure",
"autorest/azure/auth",
"autorest/azure/cli",
"autorest/date",
"autorest/to",
"autorest/validation",
"logger",
"tracing",
"version",
]
pruneopts = ""
revision = "528b76fd0ebec0682f3e3da7c808cd472b999615"
version = "v11.2.7"
[[projects]]
digest = "1:e0a4505d5cf7ac6b5d92e3aee79d838b5f1ae8e9641ec7fa5d1e9b01d7a7ea95"
name = "github.com/census-instrumentation/opencensus-proto"
packages = [
"gen-go/agent/common/v1",
"gen-go/agent/trace/v1",
"gen-go/trace/v1",
]
pruneopts = ""
revision = "24333298e36590ea0716598caacc8959fc393c48"
version = "v0.0.2"
[[projects]]
digest = "1:6098222470fe0172157ce9bbef5d2200df4edde17ee649c5d6e48330e4afa4c6"
name = "github.com/dgrijalva/jwt-go"
packages = ["."]
pruneopts = ""
revision = "06ea1031745cb8b3dab3f6a236daf2b0aa468b7e"
version = "v3.2.0"
[[projects]]
digest = "1:7f175a633086a933d1940a7e7dc2154a0070a7c25fb4a2f671f3eef1a34d1fd7"
name = "github.com/dimchansky/utfbom"
packages = ["."]
pruneopts = ""
revision = "5448fe645cb1964ba70ac8f9f2ffe975e61a536c"
version = "v1.0.0"
[[projects]]
branch = "master"
digest = "1:5ee2023eac9f57de6bdb055625e8ac014b2c2b39e22bb88721d62a033de76bd1"
name = "github.com/dnaeon/go-vcr"
packages = [
"cassette",
"recorder",
]
pruneopts = ""
revision = "5637cf3d8a31b20882d79bd0e53a186d3821b155"
[[projects]]
branch = "master"
digest = "1:e9ffb9315dce0051beb757d0f0fc25db57c4da654efc4eada4ea109c2d9da815"
name = "github.com/globalsign/mgo"
packages = [
".",
"bson",
"internal/json",
"internal/sasl",
"internal/scram",
]
pruneopts = ""
revision = "eeefdecb41b842af6dc652aaea4026e8403e62df"
[[projects]]
digest = "1:3dd078fda7500c341bc26cfbc6c6a34614f295a2457149fc1045cab767cbcf18"
name = "github.com/golang/protobuf"
packages = [
"proto",
"ptypes",
"ptypes/any",
"ptypes/duration",
"ptypes/timestamp",
"ptypes/wrappers",
]
pruneopts = ""
revision = "aa810b61a9c79d51363740d207bb46cf8e620ed5"
version = "v1.2.0"
[[projects]]
digest = "1:870d441fe217b8e689d7949fef6e43efbc787e50f200cb1e70dbca9204a1d6be"
name = "github.com/inconshreveable/mousetrap"
packages = ["."]
pruneopts = ""
revision = "76626ae9c91c4f2a10f34cad8ce83ea42c93bb75"
version = "v1.0"
[[projects]]
digest = "1:3108ec0946181c60040ff51b811908f89d03e521e2b4ade5ef5c65b3c0e911ae"
name = "github.com/kr/pretty"
packages = ["."]
pruneopts = ""
revision = "73f6ac0b30a98e433b289500d779f50c1a6f0712"
version = "v0.1.0"
[[projects]]
digest = "1:11b056b4421396ab14e384ab8ab8c2079b03f1e51aa5eb4d9b81f9e0d1aa8fbf"
name = "github.com/kr/text"
packages = ["."]
pruneopts = ""
revision = "e2ffdb16a802fe2bb95e2e35ff34f0e53aeef34f"
version = "v0.1.0"
[[projects]]
digest = "1:a69ca302e0e9bab6743b40cb720ef02a8abcc2072eb55c0fd8869b3b285be425"
name = "github.com/marstr/collection"
packages = ["."]
pruneopts = ""
revision = "43f1d00df9bf332cbf8d26c3eecd6c348e92f7b3"
version = "v1.0.1"
[[projects]]
digest = "1:f95025d583786875a71183888acc9d0987fc96f12d4f5afab3d7558797ea1c5a"
name = "github.com/marstr/guid"
packages = ["."]
pruneopts = ""
revision = "8bd9a64bf37eb297b492a4101fb28e80ac0b290f"
version = "v1.1.0"
[[projects]]
digest = "1:096a8a9182648da3d00ff243b88407838902b6703fc12657f76890e08d1899bf"
name = "github.com/mitchellh/go-homedir"
packages = ["."]
pruneopts = ""
revision = "ae18d6b8b3205b561c79e8e5f69bff09736185f4"
version = "v1.0.0"
[[projects]]
digest = "1:7365acd48986e205ccb8652cc746f09c8b7876030d53710ea6ef7d0bd0dcd7ca"
name = "github.com/pkg/errors"
packages = ["."]
pruneopts = ""
revision = "645ef00459ed84a119197bfb8d8205042c6df63d"
version = "v0.8.0"
[[projects]]
digest = "1:7f569d906bdd20d906b606415b7d794f798f91a62fcfb6a4daa6d50690fb7a3f"
name = "github.com/satori/go.uuid"
packages = ["."]
pruneopts = ""
revision = "f58768cc1a7a7e77a3bd49e98cdd21419399b6a3"
version = "v1.2.0"
[[projects]]
digest = "1:615c827f6a892973a587c754ae5fad7acfc4352657aff23d0238fe0ba2a154df"
name = "github.com/shopspring/decimal"
packages = ["."]
pruneopts = ""
revision = "cd690d0c9e2447b1ef2a129a6b7b49077da89b8e"
version = "1.1.0"
[[projects]]
digest = "1:a1403cc8a94b8d7956ee5e9694badef0e7b051af289caad1cf668331e3ffa4f6"
name = "github.com/spf13/cobra"
packages = ["."]
pruneopts = ""
revision = "ef82de70bb3f60c65fb8eebacbb2d122ef517385"
version = "v0.0.3"
[[projects]]
digest = "1:cbaf13cdbfef0e4734ed8a7504f57fe893d471d62a35b982bf6fb3f036449a66"
name = "github.com/spf13/pflag"
packages = ["."]
pruneopts = ""
revision = "298182f68c66c05229eb03ac171abe6e309ee79a"
version = "v1.0.3"
[[projects]]
digest = "1:ad67dfd3799a2c58f6c65871dd141d8b53f61f600aec48ce8d7fa16a4d5476f8"
name = "go.opencensus.io"
packages = [
".",
"exemplar",
"internal",
"internal/tagencoding",
"plugin/ochttp",
"plugin/ochttp/propagation/b3",
"plugin/ochttp/propagation/tracecontext",
"stats",
"stats/internal",
"stats/view",
"tag",
"trace",
"trace/internal",
"trace/propagation",
"trace/tracestate",
]
pruneopts = ""
revision = "b7bf3cdb64150a8c8c53b769fdeb2ba581bd4d4b"
version = "v0.18.0"
[[projects]]
branch = "master"
digest = "1:0049ee593cea6375d6bbabe5e0a30aa05576846025811df879e9fcf1223d29a2"
name = "golang.org/x/crypto"
packages = [
"pkcs12",
"pkcs12/internal/rc2",
]
pruneopts = ""
revision = "b078efbc8099b041569edb8c6ab625cd430e3fce"
[[projects]]
branch = "master"
digest = "1:41055845ee2a3f0b0fbf94f12b7a6c5322ae66c166d192e38156e0d63a6e2993"
name = "golang.org/x/net"
packages = [
"context",
"http/httpguts",
"http2",
"http2/hpack",
"idna",
"internal/timeseries",
"trace",
]
pruneopts = ""
revision = "c44066c5c816ec500d459a2a324a753f78531ae0"
[[projects]]
branch = "master"
digest = "1:b2ea75de0ccb2db2ac79356407f8a4cd8f798fe15d41b381c00abf3ae8e55ed1"
name = "golang.org/x/sync"
packages = ["semaphore"]
pruneopts = ""
revision = "1d60e4601c6fd243af51cc01ddf169918a5407ca"
[[projects]]
branch = "master"
digest = "1:2667800887f4161b5b1f49d3065204a82f974d1b857c00d7e450a5167477071f"
name = "golang.org/x/sys"
packages = ["unix"]
pruneopts = ""
revision = "d69651ed3497faee15a5363a89578e9991f6d5e2"
[[projects]]
digest = "1:5acd3512b047305d49e8763eef7ba423901e85d5dd2fd1e71778a0ea8de10bd4"
name = "golang.org/x/text"
packages = [
"collate",
"collate/build",
"internal/colltab",
"internal/gen",
"internal/tag",
"internal/triegen",
"internal/ucd",
"language",
"secure/bidirule",
"transform",
"unicode/bidi",
"unicode/cldr",
"unicode/norm",
"unicode/rangetable",
]
pruneopts = ""
revision = "f21a4dfb5e38f5895301dc265a8def02365cc3d0"
version = "v0.3.0"
[[projects]]
branch = "master"
digest = "1:a5c40d520f13a38fe3dbe1691f82b124dd2cdfccdbde32cfc8ea4547ae55cbc1"
name = "golang.org/x/tools"
packages = [
"go/ast/astutil",
"imports",
"internal/fastwalk",
"internal/gopathwalk",
]
pruneopts = ""
revision = "2d2de6298155751e44170d1c9a9baacb688d2606"
[[projects]]
branch = "master"
digest = "1:ba7c9eafe35679d6be0b1d064ab6b841fe968496c8a8381ddb55cb192b70c996"
name = "google.golang.org/api"
packages = ["support/bundler"]
pruneopts = ""
revision = "aff2d7231e3cd0219626182c997296a559b5a27b"
[[projects]]
branch = "master"
digest = "1:5bc459e4630e2f2adcd04005a06d6f9cdf614c6ffa751309497096efcab79150"
name = "google.golang.org/genproto"
packages = ["googleapis/rpc/status"]
pruneopts = ""
revision = "b69ba1387ce2108ac9bc8e8e5e5a46e7d5c72313"
[[projects]]
digest = "1:1293087271e314cfa2b3decededba2ecba0ff327e7b7809e00f73f616449191c"
name = "google.golang.org/grpc"
packages = [
".",
"balancer",
"balancer/base",
"balancer/roundrobin",
"codes",
"connectivity",
"credentials",
"encoding",
"encoding/proto",
"grpclog",
"internal",
"internal/backoff",
"internal/channelz",
"internal/envconfig",
"internal/grpcrand",
"internal/transport",
"keepalive",
"metadata",
"naming",
"peer",
"resolver",
"resolver/dns",
"resolver/passthrough",
"stats",
"status",
"tap",
]
pruneopts = ""
revision = "2e463a05d100327ca47ac218281906921038fd95"
version = "v1.16.0"
[[projects]]
branch = "v1"
digest = "1:1d01f96bc2293b56c3dec797b8f976d7613fb30ce92bfbc994130404f7f7f031"
name = "gopkg.in/check.v1"
packages = ["."]
pruneopts = ""
revision = "788fd78401277ebd861206a03c884797c6ec5541"
[[projects]]
digest = "1:f0620375dd1f6251d9973b5f2596228cc8042e887cd7f827e4220bc1ce8c30e2"
name = "gopkg.in/yaml.v2"
packages = ["."]
pruneopts = ""
revision = "5420a8b6744d3b0345ab293f6fcba19c978f1183"
version = "v2.2.1"
[solve-meta]
analyzer-name = "dep"
analyzer-version = 1
input-imports = [
"github.com/Azure/go-autorest/autorest",
"github.com/Azure/go-autorest/autorest/adal",
"github.com/Azure/go-autorest/autorest/azure",
"github.com/Azure/go-autorest/autorest/azure/auth",
"github.com/Azure/go-autorest/autorest/date",
"github.com/Azure/go-autorest/autorest/to",
"github.com/Azure/go-autorest/autorest/validation",
"github.com/Azure/go-autorest/tracing",
"github.com/dnaeon/go-vcr/cassette",
"github.com/dnaeon/go-vcr/recorder",
"github.com/globalsign/mgo",
"github.com/marstr/collection",
"github.com/marstr/guid",
"github.com/pkg/errors",
"github.com/satori/go.uuid",
"github.com/shopspring/decimal",
"github.com/spf13/cobra",
"golang.org/x/crypto/pkcs12",
"golang.org/x/tools/imports",
"gopkg.in/check.v1",
]
solver-name = "gps-cdcl"
solver-version = 1

61
vendor/github.com/Azure/azure-sdk-for-go/Gopkg.toml generated vendored Normal file
View file

@ -0,0 +1,61 @@
# Gopkg.toml example
#
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
# for detailed Gopkg.toml documentation.
#
# required = ["github.com/user/thing/cmd/thing"]
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
#
# [[constraint]]
# name = "github.com/user/project"
# version = "1.0.0"
#
# [[constraint]]
# name = "github.com/user/project2"
# branch = "dev"
# source = "github.com/myfork/project2"
#
# [[override]]
# name = "github.com/x/y"
# version = "2.4.0"
[[constraint]]
name = "github.com/Azure/go-autorest"
version = "11.2.7"
[[constraint]]
branch = "master"
name = "github.com/dnaeon/go-vcr"
[[constraint]]
branch = "master"
name = "github.com/globalsign/mgo"
[[constraint]]
name = "github.com/marstr/collection"
version = "1.0.1"
[[constraint]]
name = "github.com/marstr/guid"
version = "1.1.0"
[[constraint]]
name = "github.com/satori/go.uuid"
version = "1.2.0"
[[constraint]]
name = "github.com/shopspring/decimal"
version = "1.0.0"
[[constraint]]
branch = "master"
name = "golang.org/x/crypto"
[[constraint]]
branch = "master"
name = "golang.org/x/tools"
[[constraint]]
branch = "v1"
name = "gopkg.in/check.v1"

202
vendor/github.com/Azure/azure-sdk-for-go/LICENSE generated vendored Normal file
View file

@ -0,0 +1,202 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright 2016 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.

5
vendor/github.com/Azure/azure-sdk-for-go/NOTICE generated vendored Normal file
View file

@ -0,0 +1,5 @@
Microsoft Azure-SDK-for-Go
Copyright 2014-2017 Microsoft
This product includes software developed at
the Microsoft Corporation (https://www.microsoft.com).

505
vendor/github.com/Azure/azure-sdk-for-go/README.md generated vendored Normal file
View file

@ -0,0 +1,505 @@
# Azure SDK for Go
[![godoc](https://godoc.org/github.com/Azure/azure-sdk-for-go?status.svg)](https://godoc.org/github.com/Azure/azure-sdk-for-go)
[![Build Status](https://travis-ci.org/Azure/azure-sdk-for-go.svg?branch=master)](https://travis-ci.org/Azure/azure-sdk-for-go)
[![Go Report Card](https://goreportcard.com/badge/github.com/Azure/azure-sdk-for-go)](https://goreportcard.com/report/github.com/Azure/azure-sdk-for-go)
azure-sdk-for-go provides Go packages for managing and using Azure services.
It is continuously tested with Go 1.8, 1.9, 1.10, 1.11 and master.
To be notified about updates and changes, subscribe to the [Azure update
feed](https://azure.microsoft.com/updates/).
Users may prefer to jump right in to our samples repo at
[github.com/Azure-Samples/azure-sdk-for-go-samples][samples_repo].
Questions and feedback? Chat with us in the **[#Azure SDK
channel](https://gophers.slack.com/messages/CA7HK8EEP)** on the [Gophers
Slack](https://gophers.slack.com/). Sign up
[here](https://invite.slack.golangbridge.org) first if necessary.
## Package Updates
Most packages in the SDK are generated from [Azure API specs][azure_rest_specs]
using [Azure/autorest.go][] and [Azure/autorest][]. These generated packages
depend on the HTTP client implemented at [Azure/go-autorest][].
[azure_rest_specs]: https://github.com/Azure/azure-rest-api-specs
[azure/autorest]: https://github.com/Azure/autorest
[azure/autorest.go]: https://github.com/Azure/autorest.go
[azure/go-autorest]: https://github.com/Azure/go-autorest
The SDK codebase adheres to [semantic versioning](https://semver.org) and thus
avoids breaking changes other than at major (x.0.0) releases. Because Azure's
APIs are updated frequently, we release a **new major version at the end of
each month** with a full changelog. For more details and background see [SDK Update
Practices](https://github.com/Azure/azure-sdk-for-go/wiki/SDK-Update-Practices).
To more reliably manage dependencies like the Azure SDK in your applications we
recommend [golang/dep](https://github.com/golang/dep).
Packages that are still in public preview can be found under the ./services/preview
directory. Please be aware that since these packages are in preview they are subject
to change, including breaking changes outside of a major semver bump.
## Other Azure Go Packages
Azure provides several other packages for using services from Go, listed below.
If a package you need isn't available please open an issue and let us know.
| Service | Import Path/Repo |
| -------------------- | -------------------------------------------------------------------------------------------------- |
| Storage - Blobs | [github.com/Azure/azure-storage-blob-go](https://github.com/Azure/azure-storage-blob-go) |
| Storage - Files | [github.com/Azure/azure-storage-file-go](https://github.com/Azure/azure-storage-file-go) |
| Storage - Queues | [github.com/Azure/azure-storage-queue-go](https://github.com/Azure/azure-storage-queue-go) |
| Service Bus | [github.com/Azure/azure-service-bus-go](https://github.com/Azure/azure-service-bus-go) |
| Event Hubs | [github.com/Azure/azure-event-hubs-go](https://github.com/Azure/azure-event-hubs-go) |
| Application Insights | [github.com/Microsoft/ApplicationInsights-go](https://github.com/Microsoft/ApplicationInsights-go) |
# Install and Use:
## Install
```sh
$ go get -u github.com/Azure/azure-sdk-for-go/...
```
or if you use dep, within your repo run:
```sh
$ dep ensure -add github.com/Azure/azure-sdk-for-go
```
If you need to install Go, follow [the official instructions](https://golang.org/dl/).
## Use
For many more scenarios and examples see
[Azure-Samples/azure-sdk-for-go-samples][samples_repo].
Apply the following general steps to use packages in this repo. For more on
authentication and the `Authorizer` interface see [the next
section](#authentication).
1. Import a package from the [services][services_dir] directory.
2. Create and authenticate a client with a `New*Client` func, e.g.
`c := compute.NewVirtualMachinesClient(...)`.
3. Invoke API methods using the client, e.g.
`res, err := c.CreateOrUpdate(...)`.
4. Handle responses and errors.
[services_dir]: https://github.com/Azure/azure-sdk-for-go/tree/master/services
For example, to create a new virtual network (substitute your own values for
strings in angle brackets):
```go
package main
import (
"context"
"github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network"
"github.com/Azure/go-autorest/autorest/azure/auth"
"github.com/Azure/go-autorest/autorest/to"
)
func main() {
// create a VirtualNetworks client
vnetClient := network.NewVirtualNetworksClient("<subscriptionID>")
// create an authorizer from env vars or Azure Managed Service Idenity
authorizer, err := auth.NewAuthorizerFromEnvironment()
if err == nil {
vnetClient.Authorizer = authorizer
}
// call the VirtualNetworks CreateOrUpdate API
vnetClient.CreateOrUpdate(context.Background(),
"<resourceGroupName>",
"<vnetName>",
network.VirtualNetwork{
Location: to.StringPtr("<azureRegion>"),
VirtualNetworkPropertiesFormat: &network.VirtualNetworkPropertiesFormat{
AddressSpace: &network.AddressSpace{
AddressPrefixes: &[]string{"10.0.0.0/8"},
},
Subnets: &[]network.Subnet{
{
Name: to.StringPtr("<subnet1Name>"),
SubnetPropertiesFormat: &network.SubnetPropertiesFormat{
AddressPrefix: to.StringPtr("10.0.0.0/16"),
},
},
{
Name: to.StringPtr("<subnet2Name>"),
SubnetPropertiesFormat: &network.SubnetPropertiesFormat{
AddressPrefix: to.StringPtr("10.1.0.0/16"),
},
},
},
},
})
}
```
## Authentication
Typical SDK operations must be authenticated and authorized. The _Authorizer_
interface allows use of any auth style in requests, such as inserting an OAuth2
Authorization header and bearer token received from Azure AD.
The SDK itself provides a simple way to get an authorizer which first checks
for OAuth client credentials in environment variables and then falls back to
Azure's [Managed Service Identity]() when available, e.g. when on an Azure
VM. The following snippet from [the previous section](#use) demonstrates
this helper.
```go
import github.com/Azure/go-autorest/autorest/azure/auth
// create a VirtualNetworks client
vnetClient := network.NewVirtualNetworksClient("<subscriptionID>")
// create an authorizer from env vars or Azure Managed Service Idenity
authorizer, err := auth.NewAuthorizerFromEnvironment()
if err == nil {
vnetClient.Authorizer = authorizer
}
// call the VirtualNetworks CreateOrUpdate API
vnetClient.CreateOrUpdate(context.Background(),
// ...
```
The following environment variables help determine authentication configuration:
- `AZURE_ENVIRONMENT`: Specifies the Azure Environment to use. If not set, it
defaults to `AzurePublicCloud`. Not applicable to authentication with Managed
Service Identity (MSI).
- `AZURE_AD_RESOURCE`: Specifies the AAD resource ID to use. If not set, it
defaults to `ResourceManagerEndpoint` for operations with Azure Resource
Manager. You can also choose an alternate resource programatically with
`auth.NewAuthorizerFromEnvironmentWithResource(resource string)`.
### More Authentication Details
The previous is the first and most recommended of several authentication
options offered by the SDK because it allows seamless use of both service
principals and [Azure Managed Service Identity][]. Other options are listed
below.
> Note: If you need to create a new service principal, run `az ad sp create-for-rbac -n "<app_name>"` in the
> [azure-cli](https://github.com/Azure/azure-cli). See [these
> docs](https://docs.microsoft.com/cli/azure/create-an-azure-service-principal-azure-cli?view=azure-cli-latest)
> for more info. Copy the new principal's ID, secret, and tenant ID for use in
> your app, or consider the `--sdk-auth` parameter for serialized output.
[azure managed service identity]: https://docs.microsoft.com/en-us/azure/active-directory/msi-overview
- The `auth.NewAuthorizerFromEnvironment()` described above creates an authorizer
from the first available of the following configuration:
1. **Client Credentials**: Azure AD Application ID and Secret.
- `AZURE_TENANT_ID`: Specifies the Tenant to which to authenticate.
- `AZURE_CLIENT_ID`: Specifies the app client ID to use.
- `AZURE_CLIENT_SECRET`: Specifies the app secret to use.
2. **Client Certificate**: Azure AD Application ID and X.509 Certificate.
- `AZURE_TENANT_ID`: Specifies the Tenant to which to authenticate.
- `AZURE_CLIENT_ID`: Specifies the app client ID to use.
- `AZURE_CERTIFICATE_PATH`: Specifies the certificate Path to use.
- `AZURE_CERTIFICATE_PASSWORD`: Specifies the certificate password to use.
3. **Resource Owner Password**: Azure AD User and Password. This grant type is *not
recommended*, use device login instead if you need interactive login.
- `AZURE_TENANT_ID`: Specifies the Tenant to which to authenticate.
- `AZURE_CLIENT_ID`: Specifies the app client ID to use.
- `AZURE_USERNAME`: Specifies the username to use.
- `AZURE_PASSWORD`: Specifies the password to use.
4. **Azure Managed Service Identity**: Delegate credential management to the
platform. Requires that code is running in Azure, e.g. on a VM. All
configuration is handled by Azure. See [Azure Managed Service
Identity](https://docs.microsoft.com/en-us/azure/active-directory/msi-overview)
for more details.
- The `auth.NewAuthorizerFromFile()` method creates an authorizer using
credentials from an auth file created by the [Azure CLI][]. Follow these
steps to utilize:
1. Create a service principal and output an auth file using `az ad sp create-for-rbac --sdk-auth > client_credentials.json`.
2. Set environment variable `AZURE_AUTH_LOCATION` to the path of the saved
output file.
3. Use the authorizer returned by `auth.NewAuthorizerFromFile()` in your
client as described above.
- The `auth.NewAuthorizerFromCLI()` method creates an authorizer which
uses [Azure CLI][] to obtain its credentials. To use this method follow
these steps:
1. Install [Azure CLI v2.0.12](https://docs.microsoft.com/en-us/cli/azure/install-azure-cli) or later. Upgrade earlier versions.
2. Use `az login` to sign in to Azure.
If you receive an error, use `az account get-access-token` to verify access.
If Azure CLI is not installed to the default directory, you may receive an error
reporting that `az` cannot be found.
Use the `AzureCLIPath` environment variable to define the Azure CLI installation folder.
If you are signed in to Azure CLI using multiple accounts or your account has
access to multiple subscriptions, you need to specify the specific subscription
to be used. To do so, use:
```
az account set --subscription <subscription-id>
```
To verify the current account settings, use:
```
az account list
```
[azure cli]: https://github.com/Azure/azure-cli
- Finally, you can use OAuth's [Device Flow][] by calling
`auth.NewDeviceFlowConfig()` and extracting the Authorizer as follows:
```go
config := auth.NewDeviceFlowConfig(clientID, tenantID)
a, err = config.Authorizer()
```
[device flow]: https://oauth.net/2/device-flow/
# Versioning
azure-sdk-for-go provides at least a basic Go binding for every Azure API. To
provide maximum flexibility to users, the SDK even includes previous versions of
Azure APIs which are still in use. This enables us to support users of the
most updated Azure datacenters, regional datacenters with earlier APIs, and
even on-premises installations of Azure Stack.
**SDK versions** apply globally and are tracked by git
[tags](https://github.com/Azure/azure-sdk-for-go/tags). These are in x.y.z form
and generally adhere to [semantic versioning](https://semver.org) specifications.
**Service API versions** are generally represented by a date string and are
tracked by offering separate packages for each version. For example, to choose the
latest API versions for Compute and Network, use the following imports:
```go
import (
"github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2017-12-01/compute"
"github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network"
)
```
Occasionally service-side changes require major changes to existing versions.
These cases are noted in the changelog, and for this reason `Service API versions`
cannot be used alone to ensure backwards compatibility.
All available services and versions are listed under the `services/` path in
this repo and in [GoDoc][services_godoc]. Run `find ./services -type d -mindepth 3` to list all available service packages.
[services_godoc]: https://godoc.org/github.com/Azure/azure-sdk-for-go/services
### Profiles
Azure **API profiles** specify subsets of Azure APIs and versions. Profiles can provide:
- **stability** for your application by locking to specific API versions; and/or
- **compatibility** for your application with Azure Stack and regional Azure datacenters.
In the Go SDK, profiles are available under the `profiles/` path and their
component API versions are aliases to the true service package under
`services/`. You can use them as follows:
```go
import "github.com/Azure/azure-sdk-for-go/profiles/2017-03-09/compute/mgmt/compute"
import "github.com/Azure/azure-sdk-for-go/profiles/2017-03-09/network/mgmt/network"
import "github.com/Azure/azure-sdk-for-go/profiles/2017-03-09/storage/mgmt/storage"
```
The following profiles are available for hybrid Azure and Azure Stack environments.
- 2017-03-09
- 2018-03-01
In addition to versioned profiles, we also provide two special profiles
`latest` and `preview`. The `latest` profile contains the latest API version
of each service, excluding any preview versions and/or content. The `preview`
profile is similar to the `latest` profile but includes preview API versions.
The `latest` and `preview` profiles can help you stay up to date with API
updates as you build applications. Since they are by definition not stable,
however, they **should not** be used in production apps. Instead, choose the
latest specific API version (or an older one if necessary) from the `services/`
path.
As an example, to automatically use the most recent Compute APIs, use one of
the following imports:
```go
import "github.com/Azure/azure-sdk-for-go/profiles/latest/compute/mgmt/compute"
import "github.com/Azure/azure-sdk-for-go/profiles/preview/compute/mgmt/compute"
```
### Avoiding Breaking Changes
To avoid breaking changes, when specifying imports you should specify a `Service API Version` or `Profile`, as well as lock (using [dep](https://github.com/golang/dep) and soon with [Go Modules](https://github.com/golang/go/wiki/Modules)) to a specific SDK version.
For example, in your source code imports, use a `Service API Version` (`2017-12-01`):
```go
import "github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2017-12-01/compute"
```
or `Profile` version (`2017-03-09`):
```go
import "github.com/Azure/azure-sdk-for-go/profiles/2017-03-09/compute/mgmt/compute"
```
As well as, for dep, a `Gopkg.toml` file with:
```toml
[[constraint]]
name = "github.com/Azure/azure-sdk-for-go"
version = "21.0.0"
```
Combined, these techniques will ensure that breaking changes should not occur. If you are extra sensitive to changes, adding an additional [version pin](https://golang.github.io/dep/docs/Gopkg.toml.html#version-rules) in your SDK Version should satisfy your needs:
```toml
[[constraint]]
name = "github.com/Azure/azure-sdk-for-go"
version = "=21.3.0"
```
## Inspecting and Debugging
### Built-in Basic Request/Response Logging
Starting with `go-autorest v10.15.0` you can enable basic logging of requests and responses through setting environment variables.
Setting `AZURE_GO_SDK_LOG_LEVEL` to `LogInfo` will log request/response without their bodies. To include the bodies set the log level to `LogDebug`.
By default the logger writes to strerr, however it can also write to stdout or a file
if specified in `AZURE_GO_SDK_LOG_FILE`. Note that if the specified file already exists it will be truncated.
**IMPORTANT:** by default the logger will redact the Authorization and Ocp-Apim-Subscription-Key
headers. Any other secrets will _not_ be redacted.
### Writing Custom Request/Response Inspectors
All clients implement some handy hooks to help inspect the underlying requests being made to Azure.
- `RequestInspector`: View and manipulate the go `http.Request` before it's sent
- `ResponseInspector`: View the `http.Response` received
Here is an example of how these can be used with `net/http/httputil` to see requests and responses.
```go
vnetClient := network.NewVirtualNetworksClient("<subscriptionID>")
vnetClient.RequestInspector = LogRequest()
vnetClient.ResponseInspector = LogResponse()
...
func LogRequest() autorest.PrepareDecorator {
return func(p autorest.Preparer) autorest.Preparer {
return autorest.PreparerFunc(func(r *http.Request) (*http.Request, error) {
r, err := p.Prepare(r)
if err != nil {
log.Println(err)
}
dump, _ := httputil.DumpRequestOut(r, true)
log.Println(string(dump))
return r, err
})
}
}
func LogResponse() autorest.RespondDecorator {
return func(p autorest.Responder) autorest.Responder {
return autorest.ResponderFunc(func(r *http.Response) error {
err := p.Respond(r)
if err != nil {
log.Println(err)
}
dump, _ := httputil.DumpResponse(r, true)
log.Println(string(dump))
return err
})
}
}
```
## Tracing and Metrics
All packages and the runtime are instrumented using [OpenCensus](https://opencensus.io/).
### Enable
As of now, tracing is disabled by default. There are 2 ways to enable tracing:
- set the environment variable `AZURE_SDK_TRACING_ENABLED` (_Recommended_)
- alternatively, import the `github.com/Azure/go-autorest/tracing` package and call the `tracing.Enable()` function or `tracing.EnableWithAIForwarding()` if using the [App Insights Forwarder](https://docs.microsoft.com/en-us/azure/application-insights/opencensus-local-forwarder).
**Note**: In future major releases of the SDK, tracing may become enabled by default.
### Usage
Once enabled, all SDK calls will emit traces and metrics and the traces will correlate the SDK calls with the raw http calls made to Azure API's. To consume those traces, if are not doing it yet, you need to register an exporter of your choice such as [Azure App Insights](https://docs.microsoft.com/en-us/azure/application-insights/opencensus-local-forwarder) or [Zipkin](https://opencensus.io/quickstart/go/tracing/#exporting-traces).
To correlate the SDK calls between them and with the rest of your code, pass in a context that has a span initiated using the [opencensus-go library](https://github.com/census-instrumentation/opencensus-go) using the `trace.Startspan(ctx context.Context, name string, o ...StartOption)` function. Here is an example:
```go
func doAzureCalls() {
// The resulting context will be initialized with a root span as the context passed to
// trace.StartSpan() has no existing span.
ctx, span := trace.StartSpan(context.Background(),"doAzureCalls", trace.WithSampler(trace.AlwaysSample()))
defer span.End()
// The traces from the SDK calls will be correlated under the span inside the context that is passed in.
zone, _ := zonesClient.CreateOrUpdate(ctx, rg, zoneName, dns.Zone{Location: to.StringPtr("global")}, "", "")
zone, _ = zonesClient.Get(ctx, rg, *zone.Name)
for i := 0; i < rrCount; i++ {
rr, _ := recordsClient.CreateOrUpdate(ctx, rg, zoneName, fmt.Sprintf("rr%d", i), dns.CNAME, rdSet{
RecordSetProperties: &dns.RecordSetProperties{
TTL: to.Int64Ptr(3600),
CnameRecord: &dns.CnameRecord{
Cname: to.StringPtr("vladdbCname"),
},
},
},
"",
"",
)
}
}
```
# Resources
- SDK docs are at [godoc.org](https://godoc.org/github.com/Azure/azure-sdk-for-go/).
- SDK samples are at [Azure-Samples/azure-sdk-for-go-samples](https://github.com/Azure-Samples/azure-sdk-for-go-samples).
- SDK notifications are published via the [Azure update feed](https://azure.microsoft.com/updates/).
- Azure API docs are at [docs.microsoft.com/rest/api](https://docs.microsoft.com/rest/api/).
- General Azure docs are at [docs.microsoft.com/azure](https://docs.microsoft.com/azure).
## License
Apache 2.0, see [LICENSE](./LICENSE).
## Contribute
See [CONTRIBUTING.md](./CONTRIBUTING.md).
[samples_repo]: https://github.com/Azure-Samples/azure-sdk-for-go-samples

26
vendor/github.com/Azure/azure-sdk-for-go/doc.go generated vendored Normal file
View file

@ -0,0 +1,26 @@
/*
Package sdk provides Go packages for managing and using Azure services.
GitHub repo: https://github.com/Azure/azure-sdk-for-go
Official documentation: https://docs.microsoft.com/go/azure
API reference: https://godoc.org/github.com/Azure/azure-sdk-for-go
Samples: https://github.com/Azure-Samples/azure-sdk-for-go-samples
*/
package sdk
// Copyright (c) Microsoft and contributors. All rights reserved.
//
// 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.

View file

@ -0,0 +1,96 @@
# Generate code
## Generate SDK packages
### Generate an Azure-SDK-for-Go service package
1. [Install AutoRest](https://github.com/Azure/autorest#installing-autorest).
1. Call autorest with the following arguments...
``` cmd
autorest path/to/readme/file --go --go-sdk-folder=<your/gopath/src/github.com/Azure/azure-sdk-for-go> --package-version=<version> --user-agent=<Azure-SDK-For-Go/version services> [--tag=choose/a/tag/in/the/readme/file]
```
For example...
``` cmd
autorest C:/azure-rest-api-specs/specification/advisor/resource-manager/readme.md --go --go-sdk-folder=C:/goWorkspace/src/github.com/Azure/azure-sdk-for-go --tag=package-2016-07-preview --package-version=v11.2.0-beta --user-agent='Azure-SDK-For-Go/v11.2.0-beta services'
```
- If you are looking to generate code based on a specific swagger file, you can replace `path/to/readme/file` with `--input-file=path/to/swagger/file`.
- If the readme file you want to use as input does not have golang tags yet, you can call autorest like this...
``` cmd
autorest path/to/readme/file --go --license-header=<MICROSOFT_APACHE_NO_VERSION> --namespace=<packageName> --output-folder=<your/gopath/src/github.com/Azure/azure-sdk-for-go/services/serviceName/mgmt/APIversion/packageName> --package-version=<version> --user-agent=<Azure-SDK-For-Go/version services> --clear-output-folder --can-clear-output-folder --tag=<choose/a/tag/in/the/readme/file>
```
For example...
``` cmd
autorest --input-file=https://raw.githubusercontent.com/Azure/azure-rest-api-specs/current/specification/network/resource-manager/Microsoft.Network/2017-10-01/loadBalancer.json --go --license-header=MICROSOFT_APACHE_NO_VERSION --namespace=lb --output-folder=C:/goWorkspace/src/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-09-01/network/lb --package-version=v11.2.0-beta --clear-output-folder --can-clear-output-folder
```
1. Run `go fmt` on the generated package folder.
1. To make sure the SDK has been generated correctly, also run `golint`, `go build` and `go vet`.
### Generate Azure SDK for Go service packages in bulk
All services, all API versions.
1. [Install AutoRest](https://github.com/Azure/autorest#installing-autorest).
This repo contains a tool to generate the SDK, which depends on the golang tags from the readme files in the Azure REST API specs repo. The tool assumes you have an [Azure REST API specs](https://github.com/Azure/azure-rest-api-specs) clone, and [golint](https://github.com/golang/lint) is installed.
1. `cd tools/generator`
1. `go install`
1. Add `GOPATH/bin` to your `PATH`, in case it was not already there.
1. Call the generator tool like this...
``` cmd
generator r [v] [l=logs/output/folder] version=<version> path/to/your/swagger/repo/clone
```
For example...
``` cmd
generator r v l=temp version=v11.2.0-beta C:/azure-rest-api-specs
```
The generator tool already runs `go fmt`, `golint`, `go build` and `go vet`; so running them is not necessary.
#### Use the generator tool to generate a single package
1. Just call the generator tool specifying the service to be generated in the input folder.
``` cmd
generator r [v] [l=logs/output/folder] version=<version> path/to/your/swagger/repo/clone/specification/service
```
For example...
``` cmd
generator r v l=temp version=v11.2.0-beta C:/azure-rest-api-specs/specification/network
```
## Include a new package in the SDK
1. Submit a pull request to the Azure REST API specs repo adding the golang tags for the service and API versions in the service readme file, if the needed tags are not there yet.
1. Once the tags are available in the Azure REST API specs repo, generate the SDK.
1. In the changelog file, document the new generated SDK. Include the [autorest.go extension](https://github.com/Azure/autorest.go) version used, and the Azure REST API specs repo commit from where the SDK was generated.
1. Install [dep](https://github.com/golang/dep).
1. Run `dep ensure`.
1. Submit a pull request to this repo, and we will review it.
## Generate Azure SDK for Go profiles
Take a look into the [profile generator documentation](tools/profileBuilder)

View file

@ -0,0 +1 @@
dirname $(find | grep _test.go | grep -v vendor) | sort -u

View file

@ -0,0 +1,32 @@
// +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 computeapi
import original "github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2016-03-30/compute/computeapi"
type AvailabilitySetsClientAPI = original.AvailabilitySetsClientAPI
type UsageClientAPI = original.UsageClientAPI
type VirtualMachineExtensionImagesClientAPI = original.VirtualMachineExtensionImagesClientAPI
type VirtualMachineExtensionsClientAPI = original.VirtualMachineExtensionsClientAPI
type VirtualMachineImagesClientAPI = original.VirtualMachineImagesClientAPI
type VirtualMachineScaleSetVMsClientAPI = original.VirtualMachineScaleSetVMsClientAPI
type VirtualMachineScaleSetsClientAPI = original.VirtualMachineScaleSetsClientAPI
type VirtualMachineSizesClientAPI = original.VirtualMachineSizesClientAPI
type VirtualMachinesClientAPI = original.VirtualMachinesClientAPI

View file

@ -0,0 +1,483 @@
// +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 compute
import (
"context"
original "github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2016-03-30/compute"
)
const (
DefaultBaseURI = original.DefaultBaseURI
)
type CachingTypes = original.CachingTypes
const (
None CachingTypes = original.None
ReadOnly CachingTypes = original.ReadOnly
ReadWrite CachingTypes = original.ReadWrite
)
type ComponentNames = original.ComponentNames
const (
MicrosoftWindowsShellSetup ComponentNames = original.MicrosoftWindowsShellSetup
)
type DiskCreateOptionTypes = original.DiskCreateOptionTypes
const (
Attach DiskCreateOptionTypes = original.Attach
Empty DiskCreateOptionTypes = original.Empty
FromImage DiskCreateOptionTypes = original.FromImage
)
type InstanceViewTypes = original.InstanceViewTypes
const (
InstanceView InstanceViewTypes = original.InstanceView
)
type OperatingSystemTypes = original.OperatingSystemTypes
const (
Linux OperatingSystemTypes = original.Linux
Windows OperatingSystemTypes = original.Windows
)
type PassNames = original.PassNames
const (
OobeSystem PassNames = original.OobeSystem
)
type ProtocolTypes = original.ProtocolTypes
const (
HTTP ProtocolTypes = original.HTTP
HTTPS ProtocolTypes = original.HTTPS
)
type ResourceIdentityType = original.ResourceIdentityType
const (
SystemAssigned ResourceIdentityType = original.SystemAssigned
)
type SettingNames = original.SettingNames
const (
AutoLogon SettingNames = original.AutoLogon
FirstLogonCommands SettingNames = original.FirstLogonCommands
)
type StatusLevelTypes = original.StatusLevelTypes
const (
Error StatusLevelTypes = original.Error
Info StatusLevelTypes = original.Info
Warning StatusLevelTypes = original.Warning
)
type UpgradeMode = original.UpgradeMode
const (
Automatic UpgradeMode = original.Automatic
Manual UpgradeMode = original.Manual
)
type VirtualMachineScaleSetSkuScaleType = original.VirtualMachineScaleSetSkuScaleType
const (
VirtualMachineScaleSetSkuScaleTypeAutomatic VirtualMachineScaleSetSkuScaleType = original.VirtualMachineScaleSetSkuScaleTypeAutomatic
VirtualMachineScaleSetSkuScaleTypeNone VirtualMachineScaleSetSkuScaleType = original.VirtualMachineScaleSetSkuScaleTypeNone
)
type VirtualMachineSizeTypes = original.VirtualMachineSizeTypes
const (
BasicA0 VirtualMachineSizeTypes = original.BasicA0
BasicA1 VirtualMachineSizeTypes = original.BasicA1
BasicA2 VirtualMachineSizeTypes = original.BasicA2
BasicA3 VirtualMachineSizeTypes = original.BasicA3
BasicA4 VirtualMachineSizeTypes = original.BasicA4
StandardA0 VirtualMachineSizeTypes = original.StandardA0
StandardA1 VirtualMachineSizeTypes = original.StandardA1
StandardA10 VirtualMachineSizeTypes = original.StandardA10
StandardA11 VirtualMachineSizeTypes = original.StandardA11
StandardA2 VirtualMachineSizeTypes = original.StandardA2
StandardA3 VirtualMachineSizeTypes = original.StandardA3
StandardA4 VirtualMachineSizeTypes = original.StandardA4
StandardA5 VirtualMachineSizeTypes = original.StandardA5
StandardA6 VirtualMachineSizeTypes = original.StandardA6
StandardA7 VirtualMachineSizeTypes = original.StandardA7
StandardA8 VirtualMachineSizeTypes = original.StandardA8
StandardA9 VirtualMachineSizeTypes = original.StandardA9
StandardD1 VirtualMachineSizeTypes = original.StandardD1
StandardD11 VirtualMachineSizeTypes = original.StandardD11
StandardD11V2 VirtualMachineSizeTypes = original.StandardD11V2
StandardD12 VirtualMachineSizeTypes = original.StandardD12
StandardD12V2 VirtualMachineSizeTypes = original.StandardD12V2
StandardD13 VirtualMachineSizeTypes = original.StandardD13
StandardD13V2 VirtualMachineSizeTypes = original.StandardD13V2
StandardD14 VirtualMachineSizeTypes = original.StandardD14
StandardD14V2 VirtualMachineSizeTypes = original.StandardD14V2
StandardD15V2 VirtualMachineSizeTypes = original.StandardD15V2
StandardD1V2 VirtualMachineSizeTypes = original.StandardD1V2
StandardD2 VirtualMachineSizeTypes = original.StandardD2
StandardD2V2 VirtualMachineSizeTypes = original.StandardD2V2
StandardD3 VirtualMachineSizeTypes = original.StandardD3
StandardD3V2 VirtualMachineSizeTypes = original.StandardD3V2
StandardD4 VirtualMachineSizeTypes = original.StandardD4
StandardD4V2 VirtualMachineSizeTypes = original.StandardD4V2
StandardD5V2 VirtualMachineSizeTypes = original.StandardD5V2
StandardDS1 VirtualMachineSizeTypes = original.StandardDS1
StandardDS11 VirtualMachineSizeTypes = original.StandardDS11
StandardDS11V2 VirtualMachineSizeTypes = original.StandardDS11V2
StandardDS12 VirtualMachineSizeTypes = original.StandardDS12
StandardDS12V2 VirtualMachineSizeTypes = original.StandardDS12V2
StandardDS13 VirtualMachineSizeTypes = original.StandardDS13
StandardDS13V2 VirtualMachineSizeTypes = original.StandardDS13V2
StandardDS14 VirtualMachineSizeTypes = original.StandardDS14
StandardDS14V2 VirtualMachineSizeTypes = original.StandardDS14V2
StandardDS15V2 VirtualMachineSizeTypes = original.StandardDS15V2
StandardDS1V2 VirtualMachineSizeTypes = original.StandardDS1V2
StandardDS2 VirtualMachineSizeTypes = original.StandardDS2
StandardDS2V2 VirtualMachineSizeTypes = original.StandardDS2V2
StandardDS3 VirtualMachineSizeTypes = original.StandardDS3
StandardDS3V2 VirtualMachineSizeTypes = original.StandardDS3V2
StandardDS4 VirtualMachineSizeTypes = original.StandardDS4
StandardDS4V2 VirtualMachineSizeTypes = original.StandardDS4V2
StandardDS5V2 VirtualMachineSizeTypes = original.StandardDS5V2
StandardG1 VirtualMachineSizeTypes = original.StandardG1
StandardG2 VirtualMachineSizeTypes = original.StandardG2
StandardG3 VirtualMachineSizeTypes = original.StandardG3
StandardG4 VirtualMachineSizeTypes = original.StandardG4
StandardG5 VirtualMachineSizeTypes = original.StandardG5
StandardGS1 VirtualMachineSizeTypes = original.StandardGS1
StandardGS2 VirtualMachineSizeTypes = original.StandardGS2
StandardGS3 VirtualMachineSizeTypes = original.StandardGS3
StandardGS4 VirtualMachineSizeTypes = original.StandardGS4
StandardGS5 VirtualMachineSizeTypes = original.StandardGS5
)
type APIEntityReference = original.APIEntityReference
type APIError = original.APIError
type APIErrorBase = original.APIErrorBase
type AdditionalUnattendContent = original.AdditionalUnattendContent
type AvailabilitySet = original.AvailabilitySet
type AvailabilitySetListResult = original.AvailabilitySetListResult
type AvailabilitySetListResultIterator = original.AvailabilitySetListResultIterator
type AvailabilitySetListResultPage = original.AvailabilitySetListResultPage
type AvailabilitySetProperties = original.AvailabilitySetProperties
type AvailabilitySetsClient = original.AvailabilitySetsClient
type BaseClient = original.BaseClient
type BootDiagnostics = original.BootDiagnostics
type BootDiagnosticsInstanceView = original.BootDiagnosticsInstanceView
type DataDisk = original.DataDisk
type DataDiskImage = original.DataDiskImage
type DiagnosticsProfile = original.DiagnosticsProfile
type DiskEncryptionSettings = original.DiskEncryptionSettings
type DiskInstanceView = original.DiskInstanceView
type HardwareProfile = original.HardwareProfile
type ImageReference = original.ImageReference
type InnerError = original.InnerError
type InstanceViewStatus = original.InstanceViewStatus
type KeyVaultKeyReference = original.KeyVaultKeyReference
type KeyVaultSecretReference = original.KeyVaultSecretReference
type LinuxConfiguration = original.LinuxConfiguration
type ListUsagesResult = original.ListUsagesResult
type ListUsagesResultIterator = original.ListUsagesResultIterator
type ListUsagesResultPage = original.ListUsagesResultPage
type ListVirtualMachineExtensionImage = original.ListVirtualMachineExtensionImage
type ListVirtualMachineImageResource = original.ListVirtualMachineImageResource
type LongRunningOperationProperties = original.LongRunningOperationProperties
type NetworkInterfaceReference = original.NetworkInterfaceReference
type NetworkInterfaceReferenceProperties = original.NetworkInterfaceReferenceProperties
type NetworkProfile = original.NetworkProfile
type OSDisk = original.OSDisk
type OSDiskImage = original.OSDiskImage
type OSProfile = original.OSProfile
type OperationStatusResponse = original.OperationStatusResponse
type Plan = original.Plan
type PurchasePlan = original.PurchasePlan
type Resource = original.Resource
type SSHConfiguration = original.SSHConfiguration
type SSHPublicKey = original.SSHPublicKey
type Sku = original.Sku
type StorageProfile = original.StorageProfile
type SubResource = original.SubResource
type UpdateResource = original.UpdateResource
type UpgradePolicy = original.UpgradePolicy
type Usage = original.Usage
type UsageClient = original.UsageClient
type UsageName = original.UsageName
type VaultCertificate = original.VaultCertificate
type VaultSecretGroup = original.VaultSecretGroup
type VirtualHardDisk = original.VirtualHardDisk
type VirtualMachine = original.VirtualMachine
type VirtualMachineAgentInstanceView = original.VirtualMachineAgentInstanceView
type VirtualMachineCaptureParameters = original.VirtualMachineCaptureParameters
type VirtualMachineCaptureResult = original.VirtualMachineCaptureResult
type VirtualMachineCaptureResultProperties = original.VirtualMachineCaptureResultProperties
type VirtualMachineExtension = original.VirtualMachineExtension
type VirtualMachineExtensionHandlerInstanceView = original.VirtualMachineExtensionHandlerInstanceView
type VirtualMachineExtensionImage = original.VirtualMachineExtensionImage
type VirtualMachineExtensionImageProperties = original.VirtualMachineExtensionImageProperties
type VirtualMachineExtensionImagesClient = original.VirtualMachineExtensionImagesClient
type VirtualMachineExtensionInstanceView = original.VirtualMachineExtensionInstanceView
type VirtualMachineExtensionProperties = original.VirtualMachineExtensionProperties
type VirtualMachineExtensionUpdate = original.VirtualMachineExtensionUpdate
type VirtualMachineExtensionUpdateProperties = original.VirtualMachineExtensionUpdateProperties
type VirtualMachineExtensionsClient = original.VirtualMachineExtensionsClient
type VirtualMachineExtensionsCreateOrUpdateFuture = original.VirtualMachineExtensionsCreateOrUpdateFuture
type VirtualMachineExtensionsDeleteFuture = original.VirtualMachineExtensionsDeleteFuture
type VirtualMachineExtensionsListResult = original.VirtualMachineExtensionsListResult
type VirtualMachineExtensionsUpdateFuture = original.VirtualMachineExtensionsUpdateFuture
type VirtualMachineIdentity = original.VirtualMachineIdentity
type VirtualMachineImage = original.VirtualMachineImage
type VirtualMachineImageProperties = original.VirtualMachineImageProperties
type VirtualMachineImageResource = original.VirtualMachineImageResource
type VirtualMachineImagesClient = original.VirtualMachineImagesClient
type VirtualMachineInstanceView = original.VirtualMachineInstanceView
type VirtualMachineListResult = original.VirtualMachineListResult
type VirtualMachineListResultIterator = original.VirtualMachineListResultIterator
type VirtualMachineListResultPage = original.VirtualMachineListResultPage
type VirtualMachineProperties = original.VirtualMachineProperties
type VirtualMachineScaleSet = original.VirtualMachineScaleSet
type VirtualMachineScaleSetExtension = original.VirtualMachineScaleSetExtension
type VirtualMachineScaleSetExtensionProfile = original.VirtualMachineScaleSetExtensionProfile
type VirtualMachineScaleSetExtensionProperties = original.VirtualMachineScaleSetExtensionProperties
type VirtualMachineScaleSetIPConfiguration = original.VirtualMachineScaleSetIPConfiguration
type VirtualMachineScaleSetIPConfigurationProperties = original.VirtualMachineScaleSetIPConfigurationProperties
type VirtualMachineScaleSetIdentity = original.VirtualMachineScaleSetIdentity
type VirtualMachineScaleSetInstanceView = original.VirtualMachineScaleSetInstanceView
type VirtualMachineScaleSetInstanceViewStatusesSummary = original.VirtualMachineScaleSetInstanceViewStatusesSummary
type VirtualMachineScaleSetListResult = original.VirtualMachineScaleSetListResult
type VirtualMachineScaleSetListResultIterator = original.VirtualMachineScaleSetListResultIterator
type VirtualMachineScaleSetListResultPage = original.VirtualMachineScaleSetListResultPage
type VirtualMachineScaleSetListSkusResult = original.VirtualMachineScaleSetListSkusResult
type VirtualMachineScaleSetListSkusResultIterator = original.VirtualMachineScaleSetListSkusResultIterator
type VirtualMachineScaleSetListSkusResultPage = original.VirtualMachineScaleSetListSkusResultPage
type VirtualMachineScaleSetListWithLinkResult = original.VirtualMachineScaleSetListWithLinkResult
type VirtualMachineScaleSetListWithLinkResultIterator = original.VirtualMachineScaleSetListWithLinkResultIterator
type VirtualMachineScaleSetListWithLinkResultPage = original.VirtualMachineScaleSetListWithLinkResultPage
type VirtualMachineScaleSetNetworkConfiguration = original.VirtualMachineScaleSetNetworkConfiguration
type VirtualMachineScaleSetNetworkConfigurationProperties = original.VirtualMachineScaleSetNetworkConfigurationProperties
type VirtualMachineScaleSetNetworkProfile = original.VirtualMachineScaleSetNetworkProfile
type VirtualMachineScaleSetOSDisk = original.VirtualMachineScaleSetOSDisk
type VirtualMachineScaleSetOSProfile = original.VirtualMachineScaleSetOSProfile
type VirtualMachineScaleSetProperties = original.VirtualMachineScaleSetProperties
type VirtualMachineScaleSetSku = original.VirtualMachineScaleSetSku
type VirtualMachineScaleSetSkuCapacity = original.VirtualMachineScaleSetSkuCapacity
type VirtualMachineScaleSetStorageProfile = original.VirtualMachineScaleSetStorageProfile
type VirtualMachineScaleSetVM = original.VirtualMachineScaleSetVM
type VirtualMachineScaleSetVMExtensionsSummary = original.VirtualMachineScaleSetVMExtensionsSummary
type VirtualMachineScaleSetVMInstanceIDs = original.VirtualMachineScaleSetVMInstanceIDs
type VirtualMachineScaleSetVMInstanceRequiredIDs = original.VirtualMachineScaleSetVMInstanceRequiredIDs
type VirtualMachineScaleSetVMInstanceView = original.VirtualMachineScaleSetVMInstanceView
type VirtualMachineScaleSetVMListResult = original.VirtualMachineScaleSetVMListResult
type VirtualMachineScaleSetVMListResultIterator = original.VirtualMachineScaleSetVMListResultIterator
type VirtualMachineScaleSetVMListResultPage = original.VirtualMachineScaleSetVMListResultPage
type VirtualMachineScaleSetVMProfile = original.VirtualMachineScaleSetVMProfile
type VirtualMachineScaleSetVMProperties = original.VirtualMachineScaleSetVMProperties
type VirtualMachineScaleSetVMsClient = original.VirtualMachineScaleSetVMsClient
type VirtualMachineScaleSetVMsDeallocateFuture = original.VirtualMachineScaleSetVMsDeallocateFuture
type VirtualMachineScaleSetVMsDeleteFuture = original.VirtualMachineScaleSetVMsDeleteFuture
type VirtualMachineScaleSetVMsPowerOffFuture = original.VirtualMachineScaleSetVMsPowerOffFuture
type VirtualMachineScaleSetVMsReimageFuture = original.VirtualMachineScaleSetVMsReimageFuture
type VirtualMachineScaleSetVMsRestartFuture = original.VirtualMachineScaleSetVMsRestartFuture
type VirtualMachineScaleSetVMsStartFuture = original.VirtualMachineScaleSetVMsStartFuture
type VirtualMachineScaleSetsClient = original.VirtualMachineScaleSetsClient
type VirtualMachineScaleSetsCreateOrUpdateFuture = original.VirtualMachineScaleSetsCreateOrUpdateFuture
type VirtualMachineScaleSetsDeallocateFuture = original.VirtualMachineScaleSetsDeallocateFuture
type VirtualMachineScaleSetsDeleteFuture = original.VirtualMachineScaleSetsDeleteFuture
type VirtualMachineScaleSetsDeleteInstancesFuture = original.VirtualMachineScaleSetsDeleteInstancesFuture
type VirtualMachineScaleSetsPowerOffFuture = original.VirtualMachineScaleSetsPowerOffFuture
type VirtualMachineScaleSetsReimageFuture = original.VirtualMachineScaleSetsReimageFuture
type VirtualMachineScaleSetsRestartFuture = original.VirtualMachineScaleSetsRestartFuture
type VirtualMachineScaleSetsStartFuture = original.VirtualMachineScaleSetsStartFuture
type VirtualMachineScaleSetsUpdateInstancesFuture = original.VirtualMachineScaleSetsUpdateInstancesFuture
type VirtualMachineSize = original.VirtualMachineSize
type VirtualMachineSizeListResult = original.VirtualMachineSizeListResult
type VirtualMachineSizesClient = original.VirtualMachineSizesClient
type VirtualMachineStatusCodeCount = original.VirtualMachineStatusCodeCount
type VirtualMachinesCaptureFuture = original.VirtualMachinesCaptureFuture
type VirtualMachinesClient = original.VirtualMachinesClient
type VirtualMachinesCreateOrUpdateFuture = original.VirtualMachinesCreateOrUpdateFuture
type VirtualMachinesDeallocateFuture = original.VirtualMachinesDeallocateFuture
type VirtualMachinesDeleteFuture = original.VirtualMachinesDeleteFuture
type VirtualMachinesPowerOffFuture = original.VirtualMachinesPowerOffFuture
type VirtualMachinesRedeployFuture = original.VirtualMachinesRedeployFuture
type VirtualMachinesRestartFuture = original.VirtualMachinesRestartFuture
type VirtualMachinesStartFuture = original.VirtualMachinesStartFuture
type WinRMConfiguration = original.WinRMConfiguration
type WinRMListener = original.WinRMListener
type WindowsConfiguration = original.WindowsConfiguration
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewAvailabilitySetListResultIterator(page AvailabilitySetListResultPage) AvailabilitySetListResultIterator {
return original.NewAvailabilitySetListResultIterator(page)
}
func NewAvailabilitySetListResultPage(getNextPage func(context.Context, AvailabilitySetListResult) (AvailabilitySetListResult, error)) AvailabilitySetListResultPage {
return original.NewAvailabilitySetListResultPage(getNextPage)
}
func NewAvailabilitySetsClient(subscriptionID string) AvailabilitySetsClient {
return original.NewAvailabilitySetsClient(subscriptionID)
}
func NewAvailabilitySetsClientWithBaseURI(baseURI string, subscriptionID string) AvailabilitySetsClient {
return original.NewAvailabilitySetsClientWithBaseURI(baseURI, subscriptionID)
}
func NewListUsagesResultIterator(page ListUsagesResultPage) ListUsagesResultIterator {
return original.NewListUsagesResultIterator(page)
}
func NewListUsagesResultPage(getNextPage func(context.Context, ListUsagesResult) (ListUsagesResult, error)) ListUsagesResultPage {
return original.NewListUsagesResultPage(getNextPage)
}
func NewUsageClient(subscriptionID string) UsageClient {
return original.NewUsageClient(subscriptionID)
}
func NewUsageClientWithBaseURI(baseURI string, subscriptionID string) UsageClient {
return original.NewUsageClientWithBaseURI(baseURI, subscriptionID)
}
func NewVirtualMachineExtensionImagesClient(subscriptionID string) VirtualMachineExtensionImagesClient {
return original.NewVirtualMachineExtensionImagesClient(subscriptionID)
}
func NewVirtualMachineExtensionImagesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineExtensionImagesClient {
return original.NewVirtualMachineExtensionImagesClientWithBaseURI(baseURI, subscriptionID)
}
func NewVirtualMachineExtensionsClient(subscriptionID string) VirtualMachineExtensionsClient {
return original.NewVirtualMachineExtensionsClient(subscriptionID)
}
func NewVirtualMachineExtensionsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineExtensionsClient {
return original.NewVirtualMachineExtensionsClientWithBaseURI(baseURI, subscriptionID)
}
func NewVirtualMachineImagesClient(subscriptionID string) VirtualMachineImagesClient {
return original.NewVirtualMachineImagesClient(subscriptionID)
}
func NewVirtualMachineImagesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineImagesClient {
return original.NewVirtualMachineImagesClientWithBaseURI(baseURI, subscriptionID)
}
func NewVirtualMachineListResultIterator(page VirtualMachineListResultPage) VirtualMachineListResultIterator {
return original.NewVirtualMachineListResultIterator(page)
}
func NewVirtualMachineListResultPage(getNextPage func(context.Context, VirtualMachineListResult) (VirtualMachineListResult, error)) VirtualMachineListResultPage {
return original.NewVirtualMachineListResultPage(getNextPage)
}
func NewVirtualMachineScaleSetListResultIterator(page VirtualMachineScaleSetListResultPage) VirtualMachineScaleSetListResultIterator {
return original.NewVirtualMachineScaleSetListResultIterator(page)
}
func NewVirtualMachineScaleSetListResultPage(getNextPage func(context.Context, VirtualMachineScaleSetListResult) (VirtualMachineScaleSetListResult, error)) VirtualMachineScaleSetListResultPage {
return original.NewVirtualMachineScaleSetListResultPage(getNextPage)
}
func NewVirtualMachineScaleSetListSkusResultIterator(page VirtualMachineScaleSetListSkusResultPage) VirtualMachineScaleSetListSkusResultIterator {
return original.NewVirtualMachineScaleSetListSkusResultIterator(page)
}
func NewVirtualMachineScaleSetListSkusResultPage(getNextPage func(context.Context, VirtualMachineScaleSetListSkusResult) (VirtualMachineScaleSetListSkusResult, error)) VirtualMachineScaleSetListSkusResultPage {
return original.NewVirtualMachineScaleSetListSkusResultPage(getNextPage)
}
func NewVirtualMachineScaleSetListWithLinkResultIterator(page VirtualMachineScaleSetListWithLinkResultPage) VirtualMachineScaleSetListWithLinkResultIterator {
return original.NewVirtualMachineScaleSetListWithLinkResultIterator(page)
}
func NewVirtualMachineScaleSetListWithLinkResultPage(getNextPage func(context.Context, VirtualMachineScaleSetListWithLinkResult) (VirtualMachineScaleSetListWithLinkResult, error)) VirtualMachineScaleSetListWithLinkResultPage {
return original.NewVirtualMachineScaleSetListWithLinkResultPage(getNextPage)
}
func NewVirtualMachineScaleSetVMListResultIterator(page VirtualMachineScaleSetVMListResultPage) VirtualMachineScaleSetVMListResultIterator {
return original.NewVirtualMachineScaleSetVMListResultIterator(page)
}
func NewVirtualMachineScaleSetVMListResultPage(getNextPage func(context.Context, VirtualMachineScaleSetVMListResult) (VirtualMachineScaleSetVMListResult, error)) VirtualMachineScaleSetVMListResultPage {
return original.NewVirtualMachineScaleSetVMListResultPage(getNextPage)
}
func NewVirtualMachineScaleSetVMsClient(subscriptionID string) VirtualMachineScaleSetVMsClient {
return original.NewVirtualMachineScaleSetVMsClient(subscriptionID)
}
func NewVirtualMachineScaleSetVMsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineScaleSetVMsClient {
return original.NewVirtualMachineScaleSetVMsClientWithBaseURI(baseURI, subscriptionID)
}
func NewVirtualMachineScaleSetsClient(subscriptionID string) VirtualMachineScaleSetsClient {
return original.NewVirtualMachineScaleSetsClient(subscriptionID)
}
func NewVirtualMachineScaleSetsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineScaleSetsClient {
return original.NewVirtualMachineScaleSetsClientWithBaseURI(baseURI, subscriptionID)
}
func NewVirtualMachineSizesClient(subscriptionID string) VirtualMachineSizesClient {
return original.NewVirtualMachineSizesClient(subscriptionID)
}
func NewVirtualMachineSizesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineSizesClient {
return original.NewVirtualMachineSizesClientWithBaseURI(baseURI, subscriptionID)
}
func NewVirtualMachinesClient(subscriptionID string) VirtualMachinesClient {
return original.NewVirtualMachinesClient(subscriptionID)
}
func NewVirtualMachinesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachinesClient {
return original.NewVirtualMachinesClientWithBaseURI(baseURI, subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func PossibleCachingTypesValues() []CachingTypes {
return original.PossibleCachingTypesValues()
}
func PossibleComponentNamesValues() []ComponentNames {
return original.PossibleComponentNamesValues()
}
func PossibleDiskCreateOptionTypesValues() []DiskCreateOptionTypes {
return original.PossibleDiskCreateOptionTypesValues()
}
func PossibleInstanceViewTypesValues() []InstanceViewTypes {
return original.PossibleInstanceViewTypesValues()
}
func PossibleOperatingSystemTypesValues() []OperatingSystemTypes {
return original.PossibleOperatingSystemTypesValues()
}
func PossiblePassNamesValues() []PassNames {
return original.PossiblePassNamesValues()
}
func PossibleProtocolTypesValues() []ProtocolTypes {
return original.PossibleProtocolTypesValues()
}
func PossibleResourceIdentityTypeValues() []ResourceIdentityType {
return original.PossibleResourceIdentityTypeValues()
}
func PossibleSettingNamesValues() []SettingNames {
return original.PossibleSettingNamesValues()
}
func PossibleStatusLevelTypesValues() []StatusLevelTypes {
return original.PossibleStatusLevelTypesValues()
}
func PossibleUpgradeModeValues() []UpgradeMode {
return original.PossibleUpgradeModeValues()
}
func PossibleVirtualMachineScaleSetSkuScaleTypeValues() []VirtualMachineScaleSetSkuScaleType {
return original.PossibleVirtualMachineScaleSetSkuScaleTypeValues()
}
func PossibleVirtualMachineSizeTypesValues() []VirtualMachineSizeTypes {
return original.PossibleVirtualMachineSizeTypesValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/2017-03-09"
}
func Version() string {
return original.Version()
}

View file

@ -0,0 +1,25 @@
{
"include": [
"../../services/storage/mgmt/2016-01-01/storage",
"../../services/storage/mgmt/2016-01-01/storage/storageapi",
"../../services/network/mgmt/2015-06-15/network",
"../../services/network/mgmt/2015-06-15/network/networkapi",
"../../services/compute/mgmt/2016-03-30/compute",
"../../services/compute/mgmt/2016-03-30/compute/computeapi",
"../../services/keyvault/2016-10-01/keyvault",
"../../services/keyvault/2016-10-01/keyvault/keyvaultapi",
"../../services/keyvault/mgmt/2016-10-01/keyvault",
"../../services/keyvault/mgmt/2016-10-01/keyvault/keyvaultapi",
"../../services/resources/mgmt/2015-12-01/features",
"../../services/resources/mgmt/2015-12-01/features/featuresapi",
"../../services/resources/mgmt/2016-09-01/links",
"../../services/resources/mgmt/2016-09-01/links/linksapi",
"../../services/resources/mgmt/2015-01-01/locks",
"../../services/resources/mgmt/2015-01-01/locks/locksapi",
"../../services/resources/mgmt/2015-10-01-preview/policy",
"../../services/resources/mgmt/2016-02-01/resources",
"../../services/resources/mgmt/2016-02-01/resources/resourcesapi",
"../../services/resources/mgmt/2016-06-01/subscriptions",
"../../services/resources/mgmt/2016-06-01/subscriptions/subscriptionsapi"
]
}

View file

@ -0,0 +1,17 @@
// 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.
package v20170309
//go:generate go run ../../tools/profileBuilder/main.go list --clear-output --input ./definition.json --name 2017-03-09 --output-location ./ --verbose

View file

@ -0,0 +1,24 @@
// +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 keyvaultapi
import original "github.com/Azure/azure-sdk-for-go/services/keyvault/2016-10-01/keyvault/keyvaultapi"
type BaseClientAPI = original.BaseClientAPI

View file

@ -0,0 +1,300 @@
// +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 keyvault
import (
"context"
original "github.com/Azure/azure-sdk-for-go/services/keyvault/2016-10-01/keyvault"
)
type ActionType = original.ActionType
const (
AutoRenew ActionType = original.AutoRenew
EmailContacts ActionType = original.EmailContacts
)
type DeletionRecoveryLevel = original.DeletionRecoveryLevel
const (
Purgeable DeletionRecoveryLevel = original.Purgeable
Recoverable DeletionRecoveryLevel = original.Recoverable
RecoverableProtectedSubscription DeletionRecoveryLevel = original.RecoverableProtectedSubscription
RecoverablePurgeable DeletionRecoveryLevel = original.RecoverablePurgeable
)
type JSONWebKeyCurveName = original.JSONWebKeyCurveName
const (
P256 JSONWebKeyCurveName = original.P256
P384 JSONWebKeyCurveName = original.P384
P521 JSONWebKeyCurveName = original.P521
SECP256K1 JSONWebKeyCurveName = original.SECP256K1
)
type JSONWebKeyEncryptionAlgorithm = original.JSONWebKeyEncryptionAlgorithm
const (
RSA15 JSONWebKeyEncryptionAlgorithm = original.RSA15
RSAOAEP JSONWebKeyEncryptionAlgorithm = original.RSAOAEP
RSAOAEP256 JSONWebKeyEncryptionAlgorithm = original.RSAOAEP256
)
type JSONWebKeyOperation = original.JSONWebKeyOperation
const (
Decrypt JSONWebKeyOperation = original.Decrypt
Encrypt JSONWebKeyOperation = original.Encrypt
Sign JSONWebKeyOperation = original.Sign
UnwrapKey JSONWebKeyOperation = original.UnwrapKey
Verify JSONWebKeyOperation = original.Verify
WrapKey JSONWebKeyOperation = original.WrapKey
)
type JSONWebKeySignatureAlgorithm = original.JSONWebKeySignatureAlgorithm
const (
ECDSA256 JSONWebKeySignatureAlgorithm = original.ECDSA256
ES256 JSONWebKeySignatureAlgorithm = original.ES256
ES384 JSONWebKeySignatureAlgorithm = original.ES384
ES512 JSONWebKeySignatureAlgorithm = original.ES512
PS256 JSONWebKeySignatureAlgorithm = original.PS256
PS384 JSONWebKeySignatureAlgorithm = original.PS384
PS512 JSONWebKeySignatureAlgorithm = original.PS512
RS256 JSONWebKeySignatureAlgorithm = original.RS256
RS384 JSONWebKeySignatureAlgorithm = original.RS384
RS512 JSONWebKeySignatureAlgorithm = original.RS512
RSNULL JSONWebKeySignatureAlgorithm = original.RSNULL
)
type JSONWebKeyType = original.JSONWebKeyType
const (
EC JSONWebKeyType = original.EC
ECHSM JSONWebKeyType = original.ECHSM
Oct JSONWebKeyType = original.Oct
RSA JSONWebKeyType = original.RSA
RSAHSM JSONWebKeyType = original.RSAHSM
)
type KeyUsageType = original.KeyUsageType
const (
CRLSign KeyUsageType = original.CRLSign
DataEncipherment KeyUsageType = original.DataEncipherment
DecipherOnly KeyUsageType = original.DecipherOnly
DigitalSignature KeyUsageType = original.DigitalSignature
EncipherOnly KeyUsageType = original.EncipherOnly
KeyAgreement KeyUsageType = original.KeyAgreement
KeyCertSign KeyUsageType = original.KeyCertSign
KeyEncipherment KeyUsageType = original.KeyEncipherment
NonRepudiation KeyUsageType = original.NonRepudiation
)
type Action = original.Action
type AdministratorDetails = original.AdministratorDetails
type Attributes = original.Attributes
type BackupKeyResult = original.BackupKeyResult
type BackupSecretResult = original.BackupSecretResult
type BaseClient = original.BaseClient
type CertificateAttributes = original.CertificateAttributes
type CertificateBundle = original.CertificateBundle
type CertificateCreateParameters = original.CertificateCreateParameters
type CertificateImportParameters = original.CertificateImportParameters
type CertificateIssuerItem = original.CertificateIssuerItem
type CertificateIssuerListResult = original.CertificateIssuerListResult
type CertificateIssuerListResultIterator = original.CertificateIssuerListResultIterator
type CertificateIssuerListResultPage = original.CertificateIssuerListResultPage
type CertificateIssuerSetParameters = original.CertificateIssuerSetParameters
type CertificateIssuerUpdateParameters = original.CertificateIssuerUpdateParameters
type CertificateItem = original.CertificateItem
type CertificateListResult = original.CertificateListResult
type CertificateListResultIterator = original.CertificateListResultIterator
type CertificateListResultPage = original.CertificateListResultPage
type CertificateMergeParameters = original.CertificateMergeParameters
type CertificateOperation = original.CertificateOperation
type CertificateOperationUpdateParameter = original.CertificateOperationUpdateParameter
type CertificatePolicy = original.CertificatePolicy
type CertificateUpdateParameters = original.CertificateUpdateParameters
type Contact = original.Contact
type Contacts = original.Contacts
type DeletedCertificateBundle = original.DeletedCertificateBundle
type DeletedCertificateItem = original.DeletedCertificateItem
type DeletedCertificateListResult = original.DeletedCertificateListResult
type DeletedCertificateListResultIterator = original.DeletedCertificateListResultIterator
type DeletedCertificateListResultPage = original.DeletedCertificateListResultPage
type DeletedKeyBundle = original.DeletedKeyBundle
type DeletedKeyItem = original.DeletedKeyItem
type DeletedKeyListResult = original.DeletedKeyListResult
type DeletedKeyListResultIterator = original.DeletedKeyListResultIterator
type DeletedKeyListResultPage = original.DeletedKeyListResultPage
type DeletedSecretBundle = original.DeletedSecretBundle
type DeletedSecretItem = original.DeletedSecretItem
type DeletedSecretListResult = original.DeletedSecretListResult
type DeletedSecretListResultIterator = original.DeletedSecretListResultIterator
type DeletedSecretListResultPage = original.DeletedSecretListResultPage
type Error = original.Error
type ErrorType = original.ErrorType
type IssuerAttributes = original.IssuerAttributes
type IssuerBundle = original.IssuerBundle
type IssuerCredentials = original.IssuerCredentials
type IssuerParameters = original.IssuerParameters
type JSONWebKey = original.JSONWebKey
type KeyAttributes = original.KeyAttributes
type KeyBundle = original.KeyBundle
type KeyCreateParameters = original.KeyCreateParameters
type KeyImportParameters = original.KeyImportParameters
type KeyItem = original.KeyItem
type KeyListResult = original.KeyListResult
type KeyListResultIterator = original.KeyListResultIterator
type KeyListResultPage = original.KeyListResultPage
type KeyOperationResult = original.KeyOperationResult
type KeyOperationsParameters = original.KeyOperationsParameters
type KeyProperties = original.KeyProperties
type KeyRestoreParameters = original.KeyRestoreParameters
type KeySignParameters = original.KeySignParameters
type KeyUpdateParameters = original.KeyUpdateParameters
type KeyVerifyParameters = original.KeyVerifyParameters
type KeyVerifyResult = original.KeyVerifyResult
type LifetimeAction = original.LifetimeAction
type OrganizationDetails = original.OrganizationDetails
type PendingCertificateSigningRequestResult = original.PendingCertificateSigningRequestResult
type SasDefinitionAttributes = original.SasDefinitionAttributes
type SasDefinitionBundle = original.SasDefinitionBundle
type SasDefinitionCreateParameters = original.SasDefinitionCreateParameters
type SasDefinitionItem = original.SasDefinitionItem
type SasDefinitionListResult = original.SasDefinitionListResult
type SasDefinitionListResultIterator = original.SasDefinitionListResultIterator
type SasDefinitionListResultPage = original.SasDefinitionListResultPage
type SasDefinitionUpdateParameters = original.SasDefinitionUpdateParameters
type SecretAttributes = original.SecretAttributes
type SecretBundle = original.SecretBundle
type SecretItem = original.SecretItem
type SecretListResult = original.SecretListResult
type SecretListResultIterator = original.SecretListResultIterator
type SecretListResultPage = original.SecretListResultPage
type SecretProperties = original.SecretProperties
type SecretRestoreParameters = original.SecretRestoreParameters
type SecretSetParameters = original.SecretSetParameters
type SecretUpdateParameters = original.SecretUpdateParameters
type StorageAccountAttributes = original.StorageAccountAttributes
type StorageAccountCreateParameters = original.StorageAccountCreateParameters
type StorageAccountItem = original.StorageAccountItem
type StorageAccountRegenerteKeyParameters = original.StorageAccountRegenerteKeyParameters
type StorageAccountUpdateParameters = original.StorageAccountUpdateParameters
type StorageBundle = original.StorageBundle
type StorageListResult = original.StorageListResult
type StorageListResultIterator = original.StorageListResultIterator
type StorageListResultPage = original.StorageListResultPage
type SubjectAlternativeNames = original.SubjectAlternativeNames
type Trigger = original.Trigger
type X509CertificateProperties = original.X509CertificateProperties
func New() BaseClient {
return original.New()
}
func NewCertificateIssuerListResultIterator(page CertificateIssuerListResultPage) CertificateIssuerListResultIterator {
return original.NewCertificateIssuerListResultIterator(page)
}
func NewCertificateIssuerListResultPage(getNextPage func(context.Context, CertificateIssuerListResult) (CertificateIssuerListResult, error)) CertificateIssuerListResultPage {
return original.NewCertificateIssuerListResultPage(getNextPage)
}
func NewCertificateListResultIterator(page CertificateListResultPage) CertificateListResultIterator {
return original.NewCertificateListResultIterator(page)
}
func NewCertificateListResultPage(getNextPage func(context.Context, CertificateListResult) (CertificateListResult, error)) CertificateListResultPage {
return original.NewCertificateListResultPage(getNextPage)
}
func NewDeletedCertificateListResultIterator(page DeletedCertificateListResultPage) DeletedCertificateListResultIterator {
return original.NewDeletedCertificateListResultIterator(page)
}
func NewDeletedCertificateListResultPage(getNextPage func(context.Context, DeletedCertificateListResult) (DeletedCertificateListResult, error)) DeletedCertificateListResultPage {
return original.NewDeletedCertificateListResultPage(getNextPage)
}
func NewDeletedKeyListResultIterator(page DeletedKeyListResultPage) DeletedKeyListResultIterator {
return original.NewDeletedKeyListResultIterator(page)
}
func NewDeletedKeyListResultPage(getNextPage func(context.Context, DeletedKeyListResult) (DeletedKeyListResult, error)) DeletedKeyListResultPage {
return original.NewDeletedKeyListResultPage(getNextPage)
}
func NewDeletedSecretListResultIterator(page DeletedSecretListResultPage) DeletedSecretListResultIterator {
return original.NewDeletedSecretListResultIterator(page)
}
func NewDeletedSecretListResultPage(getNextPage func(context.Context, DeletedSecretListResult) (DeletedSecretListResult, error)) DeletedSecretListResultPage {
return original.NewDeletedSecretListResultPage(getNextPage)
}
func NewKeyListResultIterator(page KeyListResultPage) KeyListResultIterator {
return original.NewKeyListResultIterator(page)
}
func NewKeyListResultPage(getNextPage func(context.Context, KeyListResult) (KeyListResult, error)) KeyListResultPage {
return original.NewKeyListResultPage(getNextPage)
}
func NewSasDefinitionListResultIterator(page SasDefinitionListResultPage) SasDefinitionListResultIterator {
return original.NewSasDefinitionListResultIterator(page)
}
func NewSasDefinitionListResultPage(getNextPage func(context.Context, SasDefinitionListResult) (SasDefinitionListResult, error)) SasDefinitionListResultPage {
return original.NewSasDefinitionListResultPage(getNextPage)
}
func NewSecretListResultIterator(page SecretListResultPage) SecretListResultIterator {
return original.NewSecretListResultIterator(page)
}
func NewSecretListResultPage(getNextPage func(context.Context, SecretListResult) (SecretListResult, error)) SecretListResultPage {
return original.NewSecretListResultPage(getNextPage)
}
func NewStorageListResultIterator(page StorageListResultPage) StorageListResultIterator {
return original.NewStorageListResultIterator(page)
}
func NewStorageListResultPage(getNextPage func(context.Context, StorageListResult) (StorageListResult, error)) StorageListResultPage {
return original.NewStorageListResultPage(getNextPage)
}
func NewWithoutDefaults() BaseClient {
return original.NewWithoutDefaults()
}
func PossibleActionTypeValues() []ActionType {
return original.PossibleActionTypeValues()
}
func PossibleDeletionRecoveryLevelValues() []DeletionRecoveryLevel {
return original.PossibleDeletionRecoveryLevelValues()
}
func PossibleJSONWebKeyCurveNameValues() []JSONWebKeyCurveName {
return original.PossibleJSONWebKeyCurveNameValues()
}
func PossibleJSONWebKeyEncryptionAlgorithmValues() []JSONWebKeyEncryptionAlgorithm {
return original.PossibleJSONWebKeyEncryptionAlgorithmValues()
}
func PossibleJSONWebKeyOperationValues() []JSONWebKeyOperation {
return original.PossibleJSONWebKeyOperationValues()
}
func PossibleJSONWebKeySignatureAlgorithmValues() []JSONWebKeySignatureAlgorithm {
return original.PossibleJSONWebKeySignatureAlgorithmValues()
}
func PossibleJSONWebKeyTypeValues() []JSONWebKeyType {
return original.PossibleJSONWebKeyTypeValues()
}
func PossibleKeyUsageTypeValues() []KeyUsageType {
return original.PossibleKeyUsageTypeValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/2017-03-09"
}
func Version() string {
return original.Version()
}

View file

@ -0,0 +1,25 @@
// +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 keyvaultapi
import original "github.com/Azure/azure-sdk-for-go/services/keyvault/mgmt/2016-10-01/keyvault/keyvaultapi"
type OperationsClientAPI = original.OperationsClientAPI
type VaultsClientAPI = original.VaultsClientAPI

View file

@ -0,0 +1,241 @@
// +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 keyvault
import (
"context"
original "github.com/Azure/azure-sdk-for-go/services/keyvault/mgmt/2016-10-01/keyvault"
)
const (
DefaultBaseURI = original.DefaultBaseURI
)
type AccessPolicyUpdateKind = original.AccessPolicyUpdateKind
const (
Add AccessPolicyUpdateKind = original.Add
Remove AccessPolicyUpdateKind = original.Remove
Replace AccessPolicyUpdateKind = original.Replace
)
type CertificatePermissions = original.CertificatePermissions
const (
Create CertificatePermissions = original.Create
Delete CertificatePermissions = original.Delete
Deleteissuers CertificatePermissions = original.Deleteissuers
Get CertificatePermissions = original.Get
Getissuers CertificatePermissions = original.Getissuers
Import CertificatePermissions = original.Import
List CertificatePermissions = original.List
Listissuers CertificatePermissions = original.Listissuers
Managecontacts CertificatePermissions = original.Managecontacts
Manageissuers CertificatePermissions = original.Manageissuers
Purge CertificatePermissions = original.Purge
Recover CertificatePermissions = original.Recover
Setissuers CertificatePermissions = original.Setissuers
Update CertificatePermissions = original.Update
)
type CreateMode = original.CreateMode
const (
CreateModeDefault CreateMode = original.CreateModeDefault
CreateModeRecover CreateMode = original.CreateModeRecover
)
type KeyPermissions = original.KeyPermissions
const (
KeyPermissionsBackup KeyPermissions = original.KeyPermissionsBackup
KeyPermissionsCreate KeyPermissions = original.KeyPermissionsCreate
KeyPermissionsDecrypt KeyPermissions = original.KeyPermissionsDecrypt
KeyPermissionsDelete KeyPermissions = original.KeyPermissionsDelete
KeyPermissionsEncrypt KeyPermissions = original.KeyPermissionsEncrypt
KeyPermissionsGet KeyPermissions = original.KeyPermissionsGet
KeyPermissionsImport KeyPermissions = original.KeyPermissionsImport
KeyPermissionsList KeyPermissions = original.KeyPermissionsList
KeyPermissionsPurge KeyPermissions = original.KeyPermissionsPurge
KeyPermissionsRecover KeyPermissions = original.KeyPermissionsRecover
KeyPermissionsRestore KeyPermissions = original.KeyPermissionsRestore
KeyPermissionsSign KeyPermissions = original.KeyPermissionsSign
KeyPermissionsUnwrapKey KeyPermissions = original.KeyPermissionsUnwrapKey
KeyPermissionsUpdate KeyPermissions = original.KeyPermissionsUpdate
KeyPermissionsVerify KeyPermissions = original.KeyPermissionsVerify
KeyPermissionsWrapKey KeyPermissions = original.KeyPermissionsWrapKey
)
type Reason = original.Reason
const (
AccountNameInvalid Reason = original.AccountNameInvalid
AlreadyExists Reason = original.AlreadyExists
)
type SecretPermissions = original.SecretPermissions
const (
SecretPermissionsBackup SecretPermissions = original.SecretPermissionsBackup
SecretPermissionsDelete SecretPermissions = original.SecretPermissionsDelete
SecretPermissionsGet SecretPermissions = original.SecretPermissionsGet
SecretPermissionsList SecretPermissions = original.SecretPermissionsList
SecretPermissionsPurge SecretPermissions = original.SecretPermissionsPurge
SecretPermissionsRecover SecretPermissions = original.SecretPermissionsRecover
SecretPermissionsRestore SecretPermissions = original.SecretPermissionsRestore
SecretPermissionsSet SecretPermissions = original.SecretPermissionsSet
)
type SkuName = original.SkuName
const (
Premium SkuName = original.Premium
Standard SkuName = original.Standard
)
type StoragePermissions = original.StoragePermissions
const (
StoragePermissionsBackup StoragePermissions = original.StoragePermissionsBackup
StoragePermissionsDelete StoragePermissions = original.StoragePermissionsDelete
StoragePermissionsDeletesas StoragePermissions = original.StoragePermissionsDeletesas
StoragePermissionsGet StoragePermissions = original.StoragePermissionsGet
StoragePermissionsGetsas StoragePermissions = original.StoragePermissionsGetsas
StoragePermissionsList StoragePermissions = original.StoragePermissionsList
StoragePermissionsListsas StoragePermissions = original.StoragePermissionsListsas
StoragePermissionsPurge StoragePermissions = original.StoragePermissionsPurge
StoragePermissionsRecover StoragePermissions = original.StoragePermissionsRecover
StoragePermissionsRegeneratekey StoragePermissions = original.StoragePermissionsRegeneratekey
StoragePermissionsRestore StoragePermissions = original.StoragePermissionsRestore
StoragePermissionsSet StoragePermissions = original.StoragePermissionsSet
StoragePermissionsSetsas StoragePermissions = original.StoragePermissionsSetsas
StoragePermissionsUpdate StoragePermissions = original.StoragePermissionsUpdate
)
type AccessPolicyEntry = original.AccessPolicyEntry
type BaseClient = original.BaseClient
type CheckNameAvailabilityResult = original.CheckNameAvailabilityResult
type DeletedVault = original.DeletedVault
type DeletedVaultListResult = original.DeletedVaultListResult
type DeletedVaultListResultIterator = original.DeletedVaultListResultIterator
type DeletedVaultListResultPage = original.DeletedVaultListResultPage
type DeletedVaultProperties = original.DeletedVaultProperties
type LogSpecification = original.LogSpecification
type Operation = original.Operation
type OperationDisplay = original.OperationDisplay
type OperationListResult = original.OperationListResult
type OperationListResultIterator = original.OperationListResultIterator
type OperationListResultPage = original.OperationListResultPage
type OperationProperties = original.OperationProperties
type OperationsClient = original.OperationsClient
type Permissions = original.Permissions
type Resource = original.Resource
type ResourceListResult = original.ResourceListResult
type ResourceListResultIterator = original.ResourceListResultIterator
type ResourceListResultPage = original.ResourceListResultPage
type ServiceSpecification = original.ServiceSpecification
type Sku = original.Sku
type Vault = original.Vault
type VaultAccessPolicyParameters = original.VaultAccessPolicyParameters
type VaultAccessPolicyProperties = original.VaultAccessPolicyProperties
type VaultCheckNameAvailabilityParameters = original.VaultCheckNameAvailabilityParameters
type VaultCreateOrUpdateParameters = original.VaultCreateOrUpdateParameters
type VaultListResult = original.VaultListResult
type VaultListResultIterator = original.VaultListResultIterator
type VaultListResultPage = original.VaultListResultPage
type VaultPatchParameters = original.VaultPatchParameters
type VaultPatchProperties = original.VaultPatchProperties
type VaultProperties = original.VaultProperties
type VaultsClient = original.VaultsClient
type VaultsPurgeDeletedFuture = original.VaultsPurgeDeletedFuture
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewDeletedVaultListResultIterator(page DeletedVaultListResultPage) DeletedVaultListResultIterator {
return original.NewDeletedVaultListResultIterator(page)
}
func NewDeletedVaultListResultPage(getNextPage func(context.Context, DeletedVaultListResult) (DeletedVaultListResult, error)) DeletedVaultListResultPage {
return original.NewDeletedVaultListResultPage(getNextPage)
}
func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator {
return original.NewOperationListResultIterator(page)
}
func NewOperationListResultPage(getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage {
return original.NewOperationListResultPage(getNextPage)
}
func NewOperationsClient(subscriptionID string) OperationsClient {
return original.NewOperationsClient(subscriptionID)
}
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewResourceListResultIterator(page ResourceListResultPage) ResourceListResultIterator {
return original.NewResourceListResultIterator(page)
}
func NewResourceListResultPage(getNextPage func(context.Context, ResourceListResult) (ResourceListResult, error)) ResourceListResultPage {
return original.NewResourceListResultPage(getNextPage)
}
func NewVaultListResultIterator(page VaultListResultPage) VaultListResultIterator {
return original.NewVaultListResultIterator(page)
}
func NewVaultListResultPage(getNextPage func(context.Context, VaultListResult) (VaultListResult, error)) VaultListResultPage {
return original.NewVaultListResultPage(getNextPage)
}
func NewVaultsClient(subscriptionID string) VaultsClient {
return original.NewVaultsClient(subscriptionID)
}
func NewVaultsClientWithBaseURI(baseURI string, subscriptionID string) VaultsClient {
return original.NewVaultsClientWithBaseURI(baseURI, subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func PossibleAccessPolicyUpdateKindValues() []AccessPolicyUpdateKind {
return original.PossibleAccessPolicyUpdateKindValues()
}
func PossibleCertificatePermissionsValues() []CertificatePermissions {
return original.PossibleCertificatePermissionsValues()
}
func PossibleCreateModeValues() []CreateMode {
return original.PossibleCreateModeValues()
}
func PossibleKeyPermissionsValues() []KeyPermissions {
return original.PossibleKeyPermissionsValues()
}
func PossibleReasonValues() []Reason {
return original.PossibleReasonValues()
}
func PossibleSecretPermissionsValues() []SecretPermissions {
return original.PossibleSecretPermissionsValues()
}
func PossibleSkuNameValues() []SkuName {
return original.PossibleSkuNameValues()
}
func PossibleStoragePermissionsValues() []StoragePermissions {
return original.PossibleStoragePermissionsValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/2017-03-09"
}
func Version() string {
return original.Version()
}

View file

@ -0,0 +1,815 @@
// +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 network
import (
"context"
original "github.com/Azure/azure-sdk-for-go/services/network/mgmt/2015-06-15/network"
)
const (
DefaultBaseURI = original.DefaultBaseURI
)
type ApplicationGatewayCookieBasedAffinity = original.ApplicationGatewayCookieBasedAffinity
const (
Disabled ApplicationGatewayCookieBasedAffinity = original.Disabled
Enabled ApplicationGatewayCookieBasedAffinity = original.Enabled
)
type ApplicationGatewayOperationalState = original.ApplicationGatewayOperationalState
const (
Running ApplicationGatewayOperationalState = original.Running
Starting ApplicationGatewayOperationalState = original.Starting
Stopped ApplicationGatewayOperationalState = original.Stopped
Stopping ApplicationGatewayOperationalState = original.Stopping
)
type ApplicationGatewayProtocol = original.ApplicationGatewayProtocol
const (
HTTP ApplicationGatewayProtocol = original.HTTP
HTTPS ApplicationGatewayProtocol = original.HTTPS
)
type ApplicationGatewayRequestRoutingRuleType = original.ApplicationGatewayRequestRoutingRuleType
const (
Basic ApplicationGatewayRequestRoutingRuleType = original.Basic
PathBasedRouting ApplicationGatewayRequestRoutingRuleType = original.PathBasedRouting
)
type ApplicationGatewaySkuName = original.ApplicationGatewaySkuName
const (
StandardLarge ApplicationGatewaySkuName = original.StandardLarge
StandardMedium ApplicationGatewaySkuName = original.StandardMedium
StandardSmall ApplicationGatewaySkuName = original.StandardSmall
)
type ApplicationGatewayTier = original.ApplicationGatewayTier
const (
Standard ApplicationGatewayTier = original.Standard
)
type AuthorizationUseStatus = original.AuthorizationUseStatus
const (
Available AuthorizationUseStatus = original.Available
InUse AuthorizationUseStatus = original.InUse
)
type ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = original.ExpressRouteCircuitPeeringAdvertisedPublicPrefixState
const (
Configured ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = original.Configured
Configuring ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = original.Configuring
NotConfigured ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = original.NotConfigured
ValidationNeeded ExpressRouteCircuitPeeringAdvertisedPublicPrefixState = original.ValidationNeeded
)
type ExpressRouteCircuitPeeringState = original.ExpressRouteCircuitPeeringState
const (
ExpressRouteCircuitPeeringStateDisabled ExpressRouteCircuitPeeringState = original.ExpressRouteCircuitPeeringStateDisabled
ExpressRouteCircuitPeeringStateEnabled ExpressRouteCircuitPeeringState = original.ExpressRouteCircuitPeeringStateEnabled
)
type ExpressRouteCircuitPeeringType = original.ExpressRouteCircuitPeeringType
const (
AzurePrivatePeering ExpressRouteCircuitPeeringType = original.AzurePrivatePeering
AzurePublicPeering ExpressRouteCircuitPeeringType = original.AzurePublicPeering
MicrosoftPeering ExpressRouteCircuitPeeringType = original.MicrosoftPeering
)
type ExpressRouteCircuitSkuFamily = original.ExpressRouteCircuitSkuFamily
const (
MeteredData ExpressRouteCircuitSkuFamily = original.MeteredData
UnlimitedData ExpressRouteCircuitSkuFamily = original.UnlimitedData
)
type ExpressRouteCircuitSkuTier = original.ExpressRouteCircuitSkuTier
const (
ExpressRouteCircuitSkuTierPremium ExpressRouteCircuitSkuTier = original.ExpressRouteCircuitSkuTierPremium
ExpressRouteCircuitSkuTierStandard ExpressRouteCircuitSkuTier = original.ExpressRouteCircuitSkuTierStandard
)
type IPAllocationMethod = original.IPAllocationMethod
const (
Dynamic IPAllocationMethod = original.Dynamic
Static IPAllocationMethod = original.Static
)
type LoadDistribution = original.LoadDistribution
const (
Default LoadDistribution = original.Default
SourceIP LoadDistribution = original.SourceIP
SourceIPProtocol LoadDistribution = original.SourceIPProtocol
)
type OperationStatus = original.OperationStatus
const (
Failed OperationStatus = original.Failed
InProgress OperationStatus = original.InProgress
Succeeded OperationStatus = original.Succeeded
)
type ProbeProtocol = original.ProbeProtocol
const (
ProbeProtocolHTTP ProbeProtocol = original.ProbeProtocolHTTP
ProbeProtocolTCP ProbeProtocol = original.ProbeProtocolTCP
)
type ProcessorArchitecture = original.ProcessorArchitecture
const (
Amd64 ProcessorArchitecture = original.Amd64
X86 ProcessorArchitecture = original.X86
)
type RouteNextHopType = original.RouteNextHopType
const (
RouteNextHopTypeInternet RouteNextHopType = original.RouteNextHopTypeInternet
RouteNextHopTypeNone RouteNextHopType = original.RouteNextHopTypeNone
RouteNextHopTypeVirtualAppliance RouteNextHopType = original.RouteNextHopTypeVirtualAppliance
RouteNextHopTypeVirtualNetworkGateway RouteNextHopType = original.RouteNextHopTypeVirtualNetworkGateway
RouteNextHopTypeVnetLocal RouteNextHopType = original.RouteNextHopTypeVnetLocal
)
type SecurityRuleAccess = original.SecurityRuleAccess
const (
Allow SecurityRuleAccess = original.Allow
Deny SecurityRuleAccess = original.Deny
)
type SecurityRuleDirection = original.SecurityRuleDirection
const (
Inbound SecurityRuleDirection = original.Inbound
Outbound SecurityRuleDirection = original.Outbound
)
type SecurityRuleProtocol = original.SecurityRuleProtocol
const (
Asterisk SecurityRuleProtocol = original.Asterisk
TCP SecurityRuleProtocol = original.TCP
UDP SecurityRuleProtocol = original.UDP
)
type ServiceProviderProvisioningState = original.ServiceProviderProvisioningState
const (
Deprovisioning ServiceProviderProvisioningState = original.Deprovisioning
NotProvisioned ServiceProviderProvisioningState = original.NotProvisioned
Provisioned ServiceProviderProvisioningState = original.Provisioned
Provisioning ServiceProviderProvisioningState = original.Provisioning
)
type TransportProtocol = original.TransportProtocol
const (
TransportProtocolTCP TransportProtocol = original.TransportProtocolTCP
TransportProtocolUDP TransportProtocol = original.TransportProtocolUDP
)
type VirtualNetworkGatewayConnectionStatus = original.VirtualNetworkGatewayConnectionStatus
const (
Connected VirtualNetworkGatewayConnectionStatus = original.Connected
Connecting VirtualNetworkGatewayConnectionStatus = original.Connecting
NotConnected VirtualNetworkGatewayConnectionStatus = original.NotConnected
Unknown VirtualNetworkGatewayConnectionStatus = original.Unknown
)
type VirtualNetworkGatewayConnectionType = original.VirtualNetworkGatewayConnectionType
const (
ExpressRoute VirtualNetworkGatewayConnectionType = original.ExpressRoute
IPsec VirtualNetworkGatewayConnectionType = original.IPsec
Vnet2Vnet VirtualNetworkGatewayConnectionType = original.Vnet2Vnet
VPNClient VirtualNetworkGatewayConnectionType = original.VPNClient
)
type VirtualNetworkGatewaySkuName = original.VirtualNetworkGatewaySkuName
const (
VirtualNetworkGatewaySkuNameBasic VirtualNetworkGatewaySkuName = original.VirtualNetworkGatewaySkuNameBasic
VirtualNetworkGatewaySkuNameHighPerformance VirtualNetworkGatewaySkuName = original.VirtualNetworkGatewaySkuNameHighPerformance
VirtualNetworkGatewaySkuNameStandard VirtualNetworkGatewaySkuName = original.VirtualNetworkGatewaySkuNameStandard
)
type VirtualNetworkGatewaySkuTier = original.VirtualNetworkGatewaySkuTier
const (
VirtualNetworkGatewaySkuTierBasic VirtualNetworkGatewaySkuTier = original.VirtualNetworkGatewaySkuTierBasic
VirtualNetworkGatewaySkuTierHighPerformance VirtualNetworkGatewaySkuTier = original.VirtualNetworkGatewaySkuTierHighPerformance
VirtualNetworkGatewaySkuTierStandard VirtualNetworkGatewaySkuTier = original.VirtualNetworkGatewaySkuTierStandard
)
type VirtualNetworkGatewayType = original.VirtualNetworkGatewayType
const (
VirtualNetworkGatewayTypeExpressRoute VirtualNetworkGatewayType = original.VirtualNetworkGatewayTypeExpressRoute
VirtualNetworkGatewayTypeVpn VirtualNetworkGatewayType = original.VirtualNetworkGatewayTypeVpn
)
type VpnType = original.VpnType
const (
PolicyBased VpnType = original.PolicyBased
RouteBased VpnType = original.RouteBased
)
type AddressSpace = original.AddressSpace
type ApplicationGateway = original.ApplicationGateway
type ApplicationGatewayBackendAddress = original.ApplicationGatewayBackendAddress
type ApplicationGatewayBackendAddressPool = original.ApplicationGatewayBackendAddressPool
type ApplicationGatewayBackendAddressPoolPropertiesFormat = original.ApplicationGatewayBackendAddressPoolPropertiesFormat
type ApplicationGatewayBackendHTTPSettings = original.ApplicationGatewayBackendHTTPSettings
type ApplicationGatewayBackendHTTPSettingsPropertiesFormat = original.ApplicationGatewayBackendHTTPSettingsPropertiesFormat
type ApplicationGatewayFrontendIPConfiguration = original.ApplicationGatewayFrontendIPConfiguration
type ApplicationGatewayFrontendIPConfigurationPropertiesFormat = original.ApplicationGatewayFrontendIPConfigurationPropertiesFormat
type ApplicationGatewayFrontendPort = original.ApplicationGatewayFrontendPort
type ApplicationGatewayFrontendPortPropertiesFormat = original.ApplicationGatewayFrontendPortPropertiesFormat
type ApplicationGatewayHTTPListener = original.ApplicationGatewayHTTPListener
type ApplicationGatewayHTTPListenerPropertiesFormat = original.ApplicationGatewayHTTPListenerPropertiesFormat
type ApplicationGatewayIPConfiguration = original.ApplicationGatewayIPConfiguration
type ApplicationGatewayIPConfigurationPropertiesFormat = original.ApplicationGatewayIPConfigurationPropertiesFormat
type ApplicationGatewayListResult = original.ApplicationGatewayListResult
type ApplicationGatewayListResultIterator = original.ApplicationGatewayListResultIterator
type ApplicationGatewayListResultPage = original.ApplicationGatewayListResultPage
type ApplicationGatewayPathRule = original.ApplicationGatewayPathRule
type ApplicationGatewayPathRulePropertiesFormat = original.ApplicationGatewayPathRulePropertiesFormat
type ApplicationGatewayProbe = original.ApplicationGatewayProbe
type ApplicationGatewayProbePropertiesFormat = original.ApplicationGatewayProbePropertiesFormat
type ApplicationGatewayPropertiesFormat = original.ApplicationGatewayPropertiesFormat
type ApplicationGatewayRequestRoutingRule = original.ApplicationGatewayRequestRoutingRule
type ApplicationGatewayRequestRoutingRulePropertiesFormat = original.ApplicationGatewayRequestRoutingRulePropertiesFormat
type ApplicationGatewaySku = original.ApplicationGatewaySku
type ApplicationGatewaySslCertificate = original.ApplicationGatewaySslCertificate
type ApplicationGatewaySslCertificatePropertiesFormat = original.ApplicationGatewaySslCertificatePropertiesFormat
type ApplicationGatewayURLPathMap = original.ApplicationGatewayURLPathMap
type ApplicationGatewayURLPathMapPropertiesFormat = original.ApplicationGatewayURLPathMapPropertiesFormat
type ApplicationGatewaysClient = original.ApplicationGatewaysClient
type ApplicationGatewaysCreateOrUpdateFuture = original.ApplicationGatewaysCreateOrUpdateFuture
type ApplicationGatewaysDeleteFuture = original.ApplicationGatewaysDeleteFuture
type ApplicationGatewaysStartFuture = original.ApplicationGatewaysStartFuture
type ApplicationGatewaysStopFuture = original.ApplicationGatewaysStopFuture
type AuthorizationListResult = original.AuthorizationListResult
type AuthorizationListResultIterator = original.AuthorizationListResultIterator
type AuthorizationListResultPage = original.AuthorizationListResultPage
type AuthorizationPropertiesFormat = original.AuthorizationPropertiesFormat
type AzureAsyncOperationResult = original.AzureAsyncOperationResult
type BackendAddressPool = original.BackendAddressPool
type BackendAddressPoolPropertiesFormat = original.BackendAddressPoolPropertiesFormat
type BaseClient = original.BaseClient
type BgpSettings = original.BgpSettings
type ConnectionResetSharedKey = original.ConnectionResetSharedKey
type ConnectionSharedKey = original.ConnectionSharedKey
type ConnectionSharedKeyResult = original.ConnectionSharedKeyResult
type DNSNameAvailabilityResult = original.DNSNameAvailabilityResult
type DhcpOptions = original.DhcpOptions
type Error = original.Error
type ErrorDetails = original.ErrorDetails
type ExpressRouteCircuit = original.ExpressRouteCircuit
type ExpressRouteCircuitArpTable = original.ExpressRouteCircuitArpTable
type ExpressRouteCircuitAuthorization = original.ExpressRouteCircuitAuthorization
type ExpressRouteCircuitAuthorizationsClient = original.ExpressRouteCircuitAuthorizationsClient
type ExpressRouteCircuitAuthorizationsCreateOrUpdateFuture = original.ExpressRouteCircuitAuthorizationsCreateOrUpdateFuture
type ExpressRouteCircuitAuthorizationsDeleteFuture = original.ExpressRouteCircuitAuthorizationsDeleteFuture
type ExpressRouteCircuitListResult = original.ExpressRouteCircuitListResult
type ExpressRouteCircuitListResultIterator = original.ExpressRouteCircuitListResultIterator
type ExpressRouteCircuitListResultPage = original.ExpressRouteCircuitListResultPage
type ExpressRouteCircuitPeering = original.ExpressRouteCircuitPeering
type ExpressRouteCircuitPeeringConfig = original.ExpressRouteCircuitPeeringConfig
type ExpressRouteCircuitPeeringListResult = original.ExpressRouteCircuitPeeringListResult
type ExpressRouteCircuitPeeringListResultIterator = original.ExpressRouteCircuitPeeringListResultIterator
type ExpressRouteCircuitPeeringListResultPage = original.ExpressRouteCircuitPeeringListResultPage
type ExpressRouteCircuitPeeringPropertiesFormat = original.ExpressRouteCircuitPeeringPropertiesFormat
type ExpressRouteCircuitPeeringsClient = original.ExpressRouteCircuitPeeringsClient
type ExpressRouteCircuitPeeringsCreateOrUpdateFuture = original.ExpressRouteCircuitPeeringsCreateOrUpdateFuture
type ExpressRouteCircuitPeeringsDeleteFuture = original.ExpressRouteCircuitPeeringsDeleteFuture
type ExpressRouteCircuitPropertiesFormat = original.ExpressRouteCircuitPropertiesFormat
type ExpressRouteCircuitRoutesTable = original.ExpressRouteCircuitRoutesTable
type ExpressRouteCircuitServiceProviderProperties = original.ExpressRouteCircuitServiceProviderProperties
type ExpressRouteCircuitSku = original.ExpressRouteCircuitSku
type ExpressRouteCircuitStats = original.ExpressRouteCircuitStats
type ExpressRouteCircuitsArpTableListResult = original.ExpressRouteCircuitsArpTableListResult
type ExpressRouteCircuitsArpTableListResultIterator = original.ExpressRouteCircuitsArpTableListResultIterator
type ExpressRouteCircuitsArpTableListResultPage = original.ExpressRouteCircuitsArpTableListResultPage
type ExpressRouteCircuitsClient = original.ExpressRouteCircuitsClient
type ExpressRouteCircuitsCreateOrUpdateFuture = original.ExpressRouteCircuitsCreateOrUpdateFuture
type ExpressRouteCircuitsDeleteFuture = original.ExpressRouteCircuitsDeleteFuture
type ExpressRouteCircuitsRoutesTableListResult = original.ExpressRouteCircuitsRoutesTableListResult
type ExpressRouteCircuitsRoutesTableListResultIterator = original.ExpressRouteCircuitsRoutesTableListResultIterator
type ExpressRouteCircuitsRoutesTableListResultPage = original.ExpressRouteCircuitsRoutesTableListResultPage
type ExpressRouteCircuitsStatsListResult = original.ExpressRouteCircuitsStatsListResult
type ExpressRouteCircuitsStatsListResultIterator = original.ExpressRouteCircuitsStatsListResultIterator
type ExpressRouteCircuitsStatsListResultPage = original.ExpressRouteCircuitsStatsListResultPage
type ExpressRouteServiceProvider = original.ExpressRouteServiceProvider
type ExpressRouteServiceProviderBandwidthsOffered = original.ExpressRouteServiceProviderBandwidthsOffered
type ExpressRouteServiceProviderListResult = original.ExpressRouteServiceProviderListResult
type ExpressRouteServiceProviderListResultIterator = original.ExpressRouteServiceProviderListResultIterator
type ExpressRouteServiceProviderListResultPage = original.ExpressRouteServiceProviderListResultPage
type ExpressRouteServiceProviderPropertiesFormat = original.ExpressRouteServiceProviderPropertiesFormat
type ExpressRouteServiceProvidersClient = original.ExpressRouteServiceProvidersClient
type FrontendIPConfiguration = original.FrontendIPConfiguration
type FrontendIPConfigurationPropertiesFormat = original.FrontendIPConfigurationPropertiesFormat
type IPConfiguration = original.IPConfiguration
type IPConfigurationPropertiesFormat = original.IPConfigurationPropertiesFormat
type InboundNatPool = original.InboundNatPool
type InboundNatPoolPropertiesFormat = original.InboundNatPoolPropertiesFormat
type InboundNatRule = original.InboundNatRule
type InboundNatRulePropertiesFormat = original.InboundNatRulePropertiesFormat
type Interface = original.Interface
type InterfaceDNSSettings = original.InterfaceDNSSettings
type InterfaceIPConfiguration = original.InterfaceIPConfiguration
type InterfaceIPConfigurationPropertiesFormat = original.InterfaceIPConfigurationPropertiesFormat
type InterfaceListResult = original.InterfaceListResult
type InterfaceListResultIterator = original.InterfaceListResultIterator
type InterfaceListResultPage = original.InterfaceListResultPage
type InterfacePropertiesFormat = original.InterfacePropertiesFormat
type InterfacesClient = original.InterfacesClient
type InterfacesCreateOrUpdateFuture = original.InterfacesCreateOrUpdateFuture
type InterfacesDeleteFuture = original.InterfacesDeleteFuture
type LoadBalancer = original.LoadBalancer
type LoadBalancerListResult = original.LoadBalancerListResult
type LoadBalancerListResultIterator = original.LoadBalancerListResultIterator
type LoadBalancerListResultPage = original.LoadBalancerListResultPage
type LoadBalancerPropertiesFormat = original.LoadBalancerPropertiesFormat
type LoadBalancersClient = original.LoadBalancersClient
type LoadBalancersCreateOrUpdateFuture = original.LoadBalancersCreateOrUpdateFuture
type LoadBalancersDeleteFuture = original.LoadBalancersDeleteFuture
type LoadBalancingRule = original.LoadBalancingRule
type LoadBalancingRulePropertiesFormat = original.LoadBalancingRulePropertiesFormat
type LocalNetworkGateway = original.LocalNetworkGateway
type LocalNetworkGatewayListResult = original.LocalNetworkGatewayListResult
type LocalNetworkGatewayListResultIterator = original.LocalNetworkGatewayListResultIterator
type LocalNetworkGatewayListResultPage = original.LocalNetworkGatewayListResultPage
type LocalNetworkGatewayPropertiesFormat = original.LocalNetworkGatewayPropertiesFormat
type LocalNetworkGatewaysClient = original.LocalNetworkGatewaysClient
type LocalNetworkGatewaysCreateOrUpdateFuture = original.LocalNetworkGatewaysCreateOrUpdateFuture
type LocalNetworkGatewaysDeleteFuture = original.LocalNetworkGatewaysDeleteFuture
type OutboundNatRule = original.OutboundNatRule
type OutboundNatRulePropertiesFormat = original.OutboundNatRulePropertiesFormat
type Probe = original.Probe
type ProbePropertiesFormat = original.ProbePropertiesFormat
type PublicIPAddress = original.PublicIPAddress
type PublicIPAddressDNSSettings = original.PublicIPAddressDNSSettings
type PublicIPAddressListResult = original.PublicIPAddressListResult
type PublicIPAddressListResultIterator = original.PublicIPAddressListResultIterator
type PublicIPAddressListResultPage = original.PublicIPAddressListResultPage
type PublicIPAddressPropertiesFormat = original.PublicIPAddressPropertiesFormat
type PublicIPAddressesClient = original.PublicIPAddressesClient
type PublicIPAddressesCreateOrUpdateFuture = original.PublicIPAddressesCreateOrUpdateFuture
type PublicIPAddressesDeleteFuture = original.PublicIPAddressesDeleteFuture
type Resource = original.Resource
type Route = original.Route
type RouteListResult = original.RouteListResult
type RouteListResultIterator = original.RouteListResultIterator
type RouteListResultPage = original.RouteListResultPage
type RoutePropertiesFormat = original.RoutePropertiesFormat
type RouteTable = original.RouteTable
type RouteTableListResult = original.RouteTableListResult
type RouteTableListResultIterator = original.RouteTableListResultIterator
type RouteTableListResultPage = original.RouteTableListResultPage
type RouteTablePropertiesFormat = original.RouteTablePropertiesFormat
type RouteTablesClient = original.RouteTablesClient
type RouteTablesCreateOrUpdateFuture = original.RouteTablesCreateOrUpdateFuture
type RouteTablesDeleteFuture = original.RouteTablesDeleteFuture
type RoutesClient = original.RoutesClient
type RoutesCreateOrUpdateFuture = original.RoutesCreateOrUpdateFuture
type RoutesDeleteFuture = original.RoutesDeleteFuture
type SecurityGroup = original.SecurityGroup
type SecurityGroupListResult = original.SecurityGroupListResult
type SecurityGroupListResultIterator = original.SecurityGroupListResultIterator
type SecurityGroupListResultPage = original.SecurityGroupListResultPage
type SecurityGroupPropertiesFormat = original.SecurityGroupPropertiesFormat
type SecurityGroupsClient = original.SecurityGroupsClient
type SecurityGroupsCreateOrUpdateFuture = original.SecurityGroupsCreateOrUpdateFuture
type SecurityGroupsDeleteFuture = original.SecurityGroupsDeleteFuture
type SecurityRule = original.SecurityRule
type SecurityRuleListResult = original.SecurityRuleListResult
type SecurityRuleListResultIterator = original.SecurityRuleListResultIterator
type SecurityRuleListResultPage = original.SecurityRuleListResultPage
type SecurityRulePropertiesFormat = original.SecurityRulePropertiesFormat
type SecurityRulesClient = original.SecurityRulesClient
type SecurityRulesCreateOrUpdateFuture = original.SecurityRulesCreateOrUpdateFuture
type SecurityRulesDeleteFuture = original.SecurityRulesDeleteFuture
type String = original.String
type SubResource = original.SubResource
type Subnet = original.Subnet
type SubnetListResult = original.SubnetListResult
type SubnetListResultIterator = original.SubnetListResultIterator
type SubnetListResultPage = original.SubnetListResultPage
type SubnetPropertiesFormat = original.SubnetPropertiesFormat
type SubnetsClient = original.SubnetsClient
type SubnetsCreateOrUpdateFuture = original.SubnetsCreateOrUpdateFuture
type SubnetsDeleteFuture = original.SubnetsDeleteFuture
type Usage = original.Usage
type UsageName = original.UsageName
type UsagesClient = original.UsagesClient
type UsagesListResult = original.UsagesListResult
type UsagesListResultIterator = original.UsagesListResultIterator
type UsagesListResultPage = original.UsagesListResultPage
type VirtualNetwork = original.VirtualNetwork
type VirtualNetworkGateway = original.VirtualNetworkGateway
type VirtualNetworkGatewayConnection = original.VirtualNetworkGatewayConnection
type VirtualNetworkGatewayConnectionListResult = original.VirtualNetworkGatewayConnectionListResult
type VirtualNetworkGatewayConnectionListResultIterator = original.VirtualNetworkGatewayConnectionListResultIterator
type VirtualNetworkGatewayConnectionListResultPage = original.VirtualNetworkGatewayConnectionListResultPage
type VirtualNetworkGatewayConnectionPropertiesFormat = original.VirtualNetworkGatewayConnectionPropertiesFormat
type VirtualNetworkGatewayConnectionsClient = original.VirtualNetworkGatewayConnectionsClient
type VirtualNetworkGatewayConnectionsCreateOrUpdateFuture = original.VirtualNetworkGatewayConnectionsCreateOrUpdateFuture
type VirtualNetworkGatewayConnectionsDeleteFuture = original.VirtualNetworkGatewayConnectionsDeleteFuture
type VirtualNetworkGatewayConnectionsResetSharedKeyFuture = original.VirtualNetworkGatewayConnectionsResetSharedKeyFuture
type VirtualNetworkGatewayConnectionsSetSharedKeyFuture = original.VirtualNetworkGatewayConnectionsSetSharedKeyFuture
type VirtualNetworkGatewayIPConfiguration = original.VirtualNetworkGatewayIPConfiguration
type VirtualNetworkGatewayIPConfigurationPropertiesFormat = original.VirtualNetworkGatewayIPConfigurationPropertiesFormat
type VirtualNetworkGatewayListResult = original.VirtualNetworkGatewayListResult
type VirtualNetworkGatewayListResultIterator = original.VirtualNetworkGatewayListResultIterator
type VirtualNetworkGatewayListResultPage = original.VirtualNetworkGatewayListResultPage
type VirtualNetworkGatewayPropertiesFormat = original.VirtualNetworkGatewayPropertiesFormat
type VirtualNetworkGatewaySku = original.VirtualNetworkGatewaySku
type VirtualNetworkGatewaysClient = original.VirtualNetworkGatewaysClient
type VirtualNetworkGatewaysCreateOrUpdateFuture = original.VirtualNetworkGatewaysCreateOrUpdateFuture
type VirtualNetworkGatewaysDeleteFuture = original.VirtualNetworkGatewaysDeleteFuture
type VirtualNetworkGatewaysResetFuture = original.VirtualNetworkGatewaysResetFuture
type VirtualNetworkListResult = original.VirtualNetworkListResult
type VirtualNetworkListResultIterator = original.VirtualNetworkListResultIterator
type VirtualNetworkListResultPage = original.VirtualNetworkListResultPage
type VirtualNetworkPropertiesFormat = original.VirtualNetworkPropertiesFormat
type VirtualNetworksClient = original.VirtualNetworksClient
type VirtualNetworksCreateOrUpdateFuture = original.VirtualNetworksCreateOrUpdateFuture
type VirtualNetworksDeleteFuture = original.VirtualNetworksDeleteFuture
type VpnClientConfiguration = original.VpnClientConfiguration
type VpnClientParameters = original.VpnClientParameters
type VpnClientRevokedCertificate = original.VpnClientRevokedCertificate
type VpnClientRevokedCertificatePropertiesFormat = original.VpnClientRevokedCertificatePropertiesFormat
type VpnClientRootCertificate = original.VpnClientRootCertificate
type VpnClientRootCertificatePropertiesFormat = original.VpnClientRootCertificatePropertiesFormat
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewApplicationGatewayListResultIterator(page ApplicationGatewayListResultPage) ApplicationGatewayListResultIterator {
return original.NewApplicationGatewayListResultIterator(page)
}
func NewApplicationGatewayListResultPage(getNextPage func(context.Context, ApplicationGatewayListResult) (ApplicationGatewayListResult, error)) ApplicationGatewayListResultPage {
return original.NewApplicationGatewayListResultPage(getNextPage)
}
func NewApplicationGatewaysClient(subscriptionID string) ApplicationGatewaysClient {
return original.NewApplicationGatewaysClient(subscriptionID)
}
func NewApplicationGatewaysClientWithBaseURI(baseURI string, subscriptionID string) ApplicationGatewaysClient {
return original.NewApplicationGatewaysClientWithBaseURI(baseURI, subscriptionID)
}
func NewAuthorizationListResultIterator(page AuthorizationListResultPage) AuthorizationListResultIterator {
return original.NewAuthorizationListResultIterator(page)
}
func NewAuthorizationListResultPage(getNextPage func(context.Context, AuthorizationListResult) (AuthorizationListResult, error)) AuthorizationListResultPage {
return original.NewAuthorizationListResultPage(getNextPage)
}
func NewExpressRouteCircuitAuthorizationsClient(subscriptionID string) ExpressRouteCircuitAuthorizationsClient {
return original.NewExpressRouteCircuitAuthorizationsClient(subscriptionID)
}
func NewExpressRouteCircuitAuthorizationsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteCircuitAuthorizationsClient {
return original.NewExpressRouteCircuitAuthorizationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewExpressRouteCircuitListResultIterator(page ExpressRouteCircuitListResultPage) ExpressRouteCircuitListResultIterator {
return original.NewExpressRouteCircuitListResultIterator(page)
}
func NewExpressRouteCircuitListResultPage(getNextPage func(context.Context, ExpressRouteCircuitListResult) (ExpressRouteCircuitListResult, error)) ExpressRouteCircuitListResultPage {
return original.NewExpressRouteCircuitListResultPage(getNextPage)
}
func NewExpressRouteCircuitPeeringListResultIterator(page ExpressRouteCircuitPeeringListResultPage) ExpressRouteCircuitPeeringListResultIterator {
return original.NewExpressRouteCircuitPeeringListResultIterator(page)
}
func NewExpressRouteCircuitPeeringListResultPage(getNextPage func(context.Context, ExpressRouteCircuitPeeringListResult) (ExpressRouteCircuitPeeringListResult, error)) ExpressRouteCircuitPeeringListResultPage {
return original.NewExpressRouteCircuitPeeringListResultPage(getNextPage)
}
func NewExpressRouteCircuitPeeringsClient(subscriptionID string) ExpressRouteCircuitPeeringsClient {
return original.NewExpressRouteCircuitPeeringsClient(subscriptionID)
}
func NewExpressRouteCircuitPeeringsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteCircuitPeeringsClient {
return original.NewExpressRouteCircuitPeeringsClientWithBaseURI(baseURI, subscriptionID)
}
func NewExpressRouteCircuitsArpTableListResultIterator(page ExpressRouteCircuitsArpTableListResultPage) ExpressRouteCircuitsArpTableListResultIterator {
return original.NewExpressRouteCircuitsArpTableListResultIterator(page)
}
func NewExpressRouteCircuitsArpTableListResultPage(getNextPage func(context.Context, ExpressRouteCircuitsArpTableListResult) (ExpressRouteCircuitsArpTableListResult, error)) ExpressRouteCircuitsArpTableListResultPage {
return original.NewExpressRouteCircuitsArpTableListResultPage(getNextPage)
}
func NewExpressRouteCircuitsClient(subscriptionID string) ExpressRouteCircuitsClient {
return original.NewExpressRouteCircuitsClient(subscriptionID)
}
func NewExpressRouteCircuitsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteCircuitsClient {
return original.NewExpressRouteCircuitsClientWithBaseURI(baseURI, subscriptionID)
}
func NewExpressRouteCircuitsRoutesTableListResultIterator(page ExpressRouteCircuitsRoutesTableListResultPage) ExpressRouteCircuitsRoutesTableListResultIterator {
return original.NewExpressRouteCircuitsRoutesTableListResultIterator(page)
}
func NewExpressRouteCircuitsRoutesTableListResultPage(getNextPage func(context.Context, ExpressRouteCircuitsRoutesTableListResult) (ExpressRouteCircuitsRoutesTableListResult, error)) ExpressRouteCircuitsRoutesTableListResultPage {
return original.NewExpressRouteCircuitsRoutesTableListResultPage(getNextPage)
}
func NewExpressRouteCircuitsStatsListResultIterator(page ExpressRouteCircuitsStatsListResultPage) ExpressRouteCircuitsStatsListResultIterator {
return original.NewExpressRouteCircuitsStatsListResultIterator(page)
}
func NewExpressRouteCircuitsStatsListResultPage(getNextPage func(context.Context, ExpressRouteCircuitsStatsListResult) (ExpressRouteCircuitsStatsListResult, error)) ExpressRouteCircuitsStatsListResultPage {
return original.NewExpressRouteCircuitsStatsListResultPage(getNextPage)
}
func NewExpressRouteServiceProviderListResultIterator(page ExpressRouteServiceProviderListResultPage) ExpressRouteServiceProviderListResultIterator {
return original.NewExpressRouteServiceProviderListResultIterator(page)
}
func NewExpressRouteServiceProviderListResultPage(getNextPage func(context.Context, ExpressRouteServiceProviderListResult) (ExpressRouteServiceProviderListResult, error)) ExpressRouteServiceProviderListResultPage {
return original.NewExpressRouteServiceProviderListResultPage(getNextPage)
}
func NewExpressRouteServiceProvidersClient(subscriptionID string) ExpressRouteServiceProvidersClient {
return original.NewExpressRouteServiceProvidersClient(subscriptionID)
}
func NewExpressRouteServiceProvidersClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteServiceProvidersClient {
return original.NewExpressRouteServiceProvidersClientWithBaseURI(baseURI, subscriptionID)
}
func NewInterfaceListResultIterator(page InterfaceListResultPage) InterfaceListResultIterator {
return original.NewInterfaceListResultIterator(page)
}
func NewInterfaceListResultPage(getNextPage func(context.Context, InterfaceListResult) (InterfaceListResult, error)) InterfaceListResultPage {
return original.NewInterfaceListResultPage(getNextPage)
}
func NewInterfacesClient(subscriptionID string) InterfacesClient {
return original.NewInterfacesClient(subscriptionID)
}
func NewInterfacesClientWithBaseURI(baseURI string, subscriptionID string) InterfacesClient {
return original.NewInterfacesClientWithBaseURI(baseURI, subscriptionID)
}
func NewLoadBalancerListResultIterator(page LoadBalancerListResultPage) LoadBalancerListResultIterator {
return original.NewLoadBalancerListResultIterator(page)
}
func NewLoadBalancerListResultPage(getNextPage func(context.Context, LoadBalancerListResult) (LoadBalancerListResult, error)) LoadBalancerListResultPage {
return original.NewLoadBalancerListResultPage(getNextPage)
}
func NewLoadBalancersClient(subscriptionID string) LoadBalancersClient {
return original.NewLoadBalancersClient(subscriptionID)
}
func NewLoadBalancersClientWithBaseURI(baseURI string, subscriptionID string) LoadBalancersClient {
return original.NewLoadBalancersClientWithBaseURI(baseURI, subscriptionID)
}
func NewLocalNetworkGatewayListResultIterator(page LocalNetworkGatewayListResultPage) LocalNetworkGatewayListResultIterator {
return original.NewLocalNetworkGatewayListResultIterator(page)
}
func NewLocalNetworkGatewayListResultPage(getNextPage func(context.Context, LocalNetworkGatewayListResult) (LocalNetworkGatewayListResult, error)) LocalNetworkGatewayListResultPage {
return original.NewLocalNetworkGatewayListResultPage(getNextPage)
}
func NewLocalNetworkGatewaysClient(subscriptionID string) LocalNetworkGatewaysClient {
return original.NewLocalNetworkGatewaysClient(subscriptionID)
}
func NewLocalNetworkGatewaysClientWithBaseURI(baseURI string, subscriptionID string) LocalNetworkGatewaysClient {
return original.NewLocalNetworkGatewaysClientWithBaseURI(baseURI, subscriptionID)
}
func NewPublicIPAddressListResultIterator(page PublicIPAddressListResultPage) PublicIPAddressListResultIterator {
return original.NewPublicIPAddressListResultIterator(page)
}
func NewPublicIPAddressListResultPage(getNextPage func(context.Context, PublicIPAddressListResult) (PublicIPAddressListResult, error)) PublicIPAddressListResultPage {
return original.NewPublicIPAddressListResultPage(getNextPage)
}
func NewPublicIPAddressesClient(subscriptionID string) PublicIPAddressesClient {
return original.NewPublicIPAddressesClient(subscriptionID)
}
func NewPublicIPAddressesClientWithBaseURI(baseURI string, subscriptionID string) PublicIPAddressesClient {
return original.NewPublicIPAddressesClientWithBaseURI(baseURI, subscriptionID)
}
func NewRouteListResultIterator(page RouteListResultPage) RouteListResultIterator {
return original.NewRouteListResultIterator(page)
}
func NewRouteListResultPage(getNextPage func(context.Context, RouteListResult) (RouteListResult, error)) RouteListResultPage {
return original.NewRouteListResultPage(getNextPage)
}
func NewRouteTableListResultIterator(page RouteTableListResultPage) RouteTableListResultIterator {
return original.NewRouteTableListResultIterator(page)
}
func NewRouteTableListResultPage(getNextPage func(context.Context, RouteTableListResult) (RouteTableListResult, error)) RouteTableListResultPage {
return original.NewRouteTableListResultPage(getNextPage)
}
func NewRouteTablesClient(subscriptionID string) RouteTablesClient {
return original.NewRouteTablesClient(subscriptionID)
}
func NewRouteTablesClientWithBaseURI(baseURI string, subscriptionID string) RouteTablesClient {
return original.NewRouteTablesClientWithBaseURI(baseURI, subscriptionID)
}
func NewRoutesClient(subscriptionID string) RoutesClient {
return original.NewRoutesClient(subscriptionID)
}
func NewRoutesClientWithBaseURI(baseURI string, subscriptionID string) RoutesClient {
return original.NewRoutesClientWithBaseURI(baseURI, subscriptionID)
}
func NewSecurityGroupListResultIterator(page SecurityGroupListResultPage) SecurityGroupListResultIterator {
return original.NewSecurityGroupListResultIterator(page)
}
func NewSecurityGroupListResultPage(getNextPage func(context.Context, SecurityGroupListResult) (SecurityGroupListResult, error)) SecurityGroupListResultPage {
return original.NewSecurityGroupListResultPage(getNextPage)
}
func NewSecurityGroupsClient(subscriptionID string) SecurityGroupsClient {
return original.NewSecurityGroupsClient(subscriptionID)
}
func NewSecurityGroupsClientWithBaseURI(baseURI string, subscriptionID string) SecurityGroupsClient {
return original.NewSecurityGroupsClientWithBaseURI(baseURI, subscriptionID)
}
func NewSecurityRuleListResultIterator(page SecurityRuleListResultPage) SecurityRuleListResultIterator {
return original.NewSecurityRuleListResultIterator(page)
}
func NewSecurityRuleListResultPage(getNextPage func(context.Context, SecurityRuleListResult) (SecurityRuleListResult, error)) SecurityRuleListResultPage {
return original.NewSecurityRuleListResultPage(getNextPage)
}
func NewSecurityRulesClient(subscriptionID string) SecurityRulesClient {
return original.NewSecurityRulesClient(subscriptionID)
}
func NewSecurityRulesClientWithBaseURI(baseURI string, subscriptionID string) SecurityRulesClient {
return original.NewSecurityRulesClientWithBaseURI(baseURI, subscriptionID)
}
func NewSubnetListResultIterator(page SubnetListResultPage) SubnetListResultIterator {
return original.NewSubnetListResultIterator(page)
}
func NewSubnetListResultPage(getNextPage func(context.Context, SubnetListResult) (SubnetListResult, error)) SubnetListResultPage {
return original.NewSubnetListResultPage(getNextPage)
}
func NewSubnetsClient(subscriptionID string) SubnetsClient {
return original.NewSubnetsClient(subscriptionID)
}
func NewSubnetsClientWithBaseURI(baseURI string, subscriptionID string) SubnetsClient {
return original.NewSubnetsClientWithBaseURI(baseURI, subscriptionID)
}
func NewUsagesClient(subscriptionID string) UsagesClient {
return original.NewUsagesClient(subscriptionID)
}
func NewUsagesClientWithBaseURI(baseURI string, subscriptionID string) UsagesClient {
return original.NewUsagesClientWithBaseURI(baseURI, subscriptionID)
}
func NewUsagesListResultIterator(page UsagesListResultPage) UsagesListResultIterator {
return original.NewUsagesListResultIterator(page)
}
func NewUsagesListResultPage(getNextPage func(context.Context, UsagesListResult) (UsagesListResult, error)) UsagesListResultPage {
return original.NewUsagesListResultPage(getNextPage)
}
func NewVirtualNetworkGatewayConnectionListResultIterator(page VirtualNetworkGatewayConnectionListResultPage) VirtualNetworkGatewayConnectionListResultIterator {
return original.NewVirtualNetworkGatewayConnectionListResultIterator(page)
}
func NewVirtualNetworkGatewayConnectionListResultPage(getNextPage func(context.Context, VirtualNetworkGatewayConnectionListResult) (VirtualNetworkGatewayConnectionListResult, error)) VirtualNetworkGatewayConnectionListResultPage {
return original.NewVirtualNetworkGatewayConnectionListResultPage(getNextPage)
}
func NewVirtualNetworkGatewayConnectionsClient(subscriptionID string) VirtualNetworkGatewayConnectionsClient {
return original.NewVirtualNetworkGatewayConnectionsClient(subscriptionID)
}
func NewVirtualNetworkGatewayConnectionsClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkGatewayConnectionsClient {
return original.NewVirtualNetworkGatewayConnectionsClientWithBaseURI(baseURI, subscriptionID)
}
func NewVirtualNetworkGatewayListResultIterator(page VirtualNetworkGatewayListResultPage) VirtualNetworkGatewayListResultIterator {
return original.NewVirtualNetworkGatewayListResultIterator(page)
}
func NewVirtualNetworkGatewayListResultPage(getNextPage func(context.Context, VirtualNetworkGatewayListResult) (VirtualNetworkGatewayListResult, error)) VirtualNetworkGatewayListResultPage {
return original.NewVirtualNetworkGatewayListResultPage(getNextPage)
}
func NewVirtualNetworkGatewaysClient(subscriptionID string) VirtualNetworkGatewaysClient {
return original.NewVirtualNetworkGatewaysClient(subscriptionID)
}
func NewVirtualNetworkGatewaysClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkGatewaysClient {
return original.NewVirtualNetworkGatewaysClientWithBaseURI(baseURI, subscriptionID)
}
func NewVirtualNetworkListResultIterator(page VirtualNetworkListResultPage) VirtualNetworkListResultIterator {
return original.NewVirtualNetworkListResultIterator(page)
}
func NewVirtualNetworkListResultPage(getNextPage func(context.Context, VirtualNetworkListResult) (VirtualNetworkListResult, error)) VirtualNetworkListResultPage {
return original.NewVirtualNetworkListResultPage(getNextPage)
}
func NewVirtualNetworksClient(subscriptionID string) VirtualNetworksClient {
return original.NewVirtualNetworksClient(subscriptionID)
}
func NewVirtualNetworksClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworksClient {
return original.NewVirtualNetworksClientWithBaseURI(baseURI, subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func PossibleApplicationGatewayCookieBasedAffinityValues() []ApplicationGatewayCookieBasedAffinity {
return original.PossibleApplicationGatewayCookieBasedAffinityValues()
}
func PossibleApplicationGatewayOperationalStateValues() []ApplicationGatewayOperationalState {
return original.PossibleApplicationGatewayOperationalStateValues()
}
func PossibleApplicationGatewayProtocolValues() []ApplicationGatewayProtocol {
return original.PossibleApplicationGatewayProtocolValues()
}
func PossibleApplicationGatewayRequestRoutingRuleTypeValues() []ApplicationGatewayRequestRoutingRuleType {
return original.PossibleApplicationGatewayRequestRoutingRuleTypeValues()
}
func PossibleApplicationGatewaySkuNameValues() []ApplicationGatewaySkuName {
return original.PossibleApplicationGatewaySkuNameValues()
}
func PossibleApplicationGatewayTierValues() []ApplicationGatewayTier {
return original.PossibleApplicationGatewayTierValues()
}
func PossibleAuthorizationUseStatusValues() []AuthorizationUseStatus {
return original.PossibleAuthorizationUseStatusValues()
}
func PossibleExpressRouteCircuitPeeringAdvertisedPublicPrefixStateValues() []ExpressRouteCircuitPeeringAdvertisedPublicPrefixState {
return original.PossibleExpressRouteCircuitPeeringAdvertisedPublicPrefixStateValues()
}
func PossibleExpressRouteCircuitPeeringStateValues() []ExpressRouteCircuitPeeringState {
return original.PossibleExpressRouteCircuitPeeringStateValues()
}
func PossibleExpressRouteCircuitPeeringTypeValues() []ExpressRouteCircuitPeeringType {
return original.PossibleExpressRouteCircuitPeeringTypeValues()
}
func PossibleExpressRouteCircuitSkuFamilyValues() []ExpressRouteCircuitSkuFamily {
return original.PossibleExpressRouteCircuitSkuFamilyValues()
}
func PossibleExpressRouteCircuitSkuTierValues() []ExpressRouteCircuitSkuTier {
return original.PossibleExpressRouteCircuitSkuTierValues()
}
func PossibleIPAllocationMethodValues() []IPAllocationMethod {
return original.PossibleIPAllocationMethodValues()
}
func PossibleLoadDistributionValues() []LoadDistribution {
return original.PossibleLoadDistributionValues()
}
func PossibleOperationStatusValues() []OperationStatus {
return original.PossibleOperationStatusValues()
}
func PossibleProbeProtocolValues() []ProbeProtocol {
return original.PossibleProbeProtocolValues()
}
func PossibleProcessorArchitectureValues() []ProcessorArchitecture {
return original.PossibleProcessorArchitectureValues()
}
func PossibleRouteNextHopTypeValues() []RouteNextHopType {
return original.PossibleRouteNextHopTypeValues()
}
func PossibleSecurityRuleAccessValues() []SecurityRuleAccess {
return original.PossibleSecurityRuleAccessValues()
}
func PossibleSecurityRuleDirectionValues() []SecurityRuleDirection {
return original.PossibleSecurityRuleDirectionValues()
}
func PossibleSecurityRuleProtocolValues() []SecurityRuleProtocol {
return original.PossibleSecurityRuleProtocolValues()
}
func PossibleServiceProviderProvisioningStateValues() []ServiceProviderProvisioningState {
return original.PossibleServiceProviderProvisioningStateValues()
}
func PossibleTransportProtocolValues() []TransportProtocol {
return original.PossibleTransportProtocolValues()
}
func PossibleVirtualNetworkGatewayConnectionStatusValues() []VirtualNetworkGatewayConnectionStatus {
return original.PossibleVirtualNetworkGatewayConnectionStatusValues()
}
func PossibleVirtualNetworkGatewayConnectionTypeValues() []VirtualNetworkGatewayConnectionType {
return original.PossibleVirtualNetworkGatewayConnectionTypeValues()
}
func PossibleVirtualNetworkGatewaySkuNameValues() []VirtualNetworkGatewaySkuName {
return original.PossibleVirtualNetworkGatewaySkuNameValues()
}
func PossibleVirtualNetworkGatewaySkuTierValues() []VirtualNetworkGatewaySkuTier {
return original.PossibleVirtualNetworkGatewaySkuTierValues()
}
func PossibleVirtualNetworkGatewayTypeValues() []VirtualNetworkGatewayType {
return original.PossibleVirtualNetworkGatewayTypeValues()
}
func PossibleVpnTypeValues() []VpnType {
return original.PossibleVpnTypeValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/2017-03-09"
}
func Version() string {
return original.Version()
}

View file

@ -0,0 +1,42 @@
// +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 networkapi
import original "github.com/Azure/azure-sdk-for-go/services/network/mgmt/2015-06-15/network/networkapi"
type ApplicationGatewaysClientAPI = original.ApplicationGatewaysClientAPI
type BaseClientAPI = original.BaseClientAPI
type ExpressRouteCircuitAuthorizationsClientAPI = original.ExpressRouteCircuitAuthorizationsClientAPI
type ExpressRouteCircuitPeeringsClientAPI = original.ExpressRouteCircuitPeeringsClientAPI
type ExpressRouteCircuitsClientAPI = original.ExpressRouteCircuitsClientAPI
type ExpressRouteServiceProvidersClientAPI = original.ExpressRouteServiceProvidersClientAPI
type InterfacesClientAPI = original.InterfacesClientAPI
type LoadBalancersClientAPI = original.LoadBalancersClientAPI
type LocalNetworkGatewaysClientAPI = original.LocalNetworkGatewaysClientAPI
type PublicIPAddressesClientAPI = original.PublicIPAddressesClientAPI
type RouteTablesClientAPI = original.RouteTablesClientAPI
type RoutesClientAPI = original.RoutesClientAPI
type SecurityGroupsClientAPI = original.SecurityGroupsClientAPI
type SecurityRulesClientAPI = original.SecurityRulesClientAPI
type SubnetsClientAPI = original.SubnetsClientAPI
type UsagesClientAPI = original.UsagesClientAPI
type VirtualNetworkGatewayConnectionsClientAPI = original.VirtualNetworkGatewayConnectionsClientAPI
type VirtualNetworkGatewaysClientAPI = original.VirtualNetworkGatewaysClientAPI
type VirtualNetworksClientAPI = original.VirtualNetworksClientAPI

View file

@ -0,0 +1,25 @@
// +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 featuresapi
import original "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2015-12-01/features/featuresapi"
type BaseClientAPI = original.BaseClientAPI
type ClientAPI = original.ClientAPI

View file

@ -0,0 +1,74 @@
// +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 features
import (
"context"
original "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2015-12-01/features"
)
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type Client = original.Client
type Operation = original.Operation
type OperationDisplay = original.OperationDisplay
type OperationListResult = original.OperationListResult
type OperationListResultIterator = original.OperationListResultIterator
type OperationListResultPage = original.OperationListResultPage
type OperationsListResult = original.OperationsListResult
type OperationsListResultIterator = original.OperationsListResultIterator
type OperationsListResultPage = original.OperationsListResultPage
type Properties = original.Properties
type Result = original.Result
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewClient(subscriptionID string) Client {
return original.NewClient(subscriptionID)
}
func NewClientWithBaseURI(baseURI string, subscriptionID string) Client {
return original.NewClientWithBaseURI(baseURI, subscriptionID)
}
func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator {
return original.NewOperationListResultIterator(page)
}
func NewOperationListResultPage(getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage {
return original.NewOperationListResultPage(getNextPage)
}
func NewOperationsListResultIterator(page OperationsListResultPage) OperationsListResultIterator {
return original.NewOperationsListResultIterator(page)
}
func NewOperationsListResultPage(getNextPage func(context.Context, OperationsListResult) (OperationsListResult, error)) OperationsListResultPage {
return original.NewOperationsListResultPage(getNextPage)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func UserAgent() string {
return original.UserAgent() + " profiles/2017-03-09"
}
func Version() string {
return original.Version()
}

View file

@ -0,0 +1,25 @@
// +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 linksapi
import original "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-09-01/links/linksapi"
type OperationsClientAPI = original.OperationsClientAPI
type ResourceLinksClientAPI = original.ResourceLinksClientAPI

View file

@ -0,0 +1,91 @@
// +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 links
import (
"context"
original "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-09-01/links"
)
const (
DefaultBaseURI = original.DefaultBaseURI
)
type Filter = original.Filter
const (
AtScope Filter = original.AtScope
)
type BaseClient = original.BaseClient
type Operation = original.Operation
type OperationDisplay = original.OperationDisplay
type OperationListResult = original.OperationListResult
type OperationListResultIterator = original.OperationListResultIterator
type OperationListResultPage = original.OperationListResultPage
type OperationsClient = original.OperationsClient
type ResourceLink = original.ResourceLink
type ResourceLinkFilter = original.ResourceLinkFilter
type ResourceLinkProperties = original.ResourceLinkProperties
type ResourceLinkResult = original.ResourceLinkResult
type ResourceLinkResultIterator = original.ResourceLinkResultIterator
type ResourceLinkResultPage = original.ResourceLinkResultPage
type ResourceLinksClient = original.ResourceLinksClient
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator {
return original.NewOperationListResultIterator(page)
}
func NewOperationListResultPage(getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage {
return original.NewOperationListResultPage(getNextPage)
}
func NewOperationsClient(subscriptionID string) OperationsClient {
return original.NewOperationsClient(subscriptionID)
}
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewResourceLinkResultIterator(page ResourceLinkResultPage) ResourceLinkResultIterator {
return original.NewResourceLinkResultIterator(page)
}
func NewResourceLinkResultPage(getNextPage func(context.Context, ResourceLinkResult) (ResourceLinkResult, error)) ResourceLinkResultPage {
return original.NewResourceLinkResultPage(getNextPage)
}
func NewResourceLinksClient(subscriptionID string) ResourceLinksClient {
return original.NewResourceLinksClient(subscriptionID)
}
func NewResourceLinksClientWithBaseURI(baseURI string, subscriptionID string) ResourceLinksClient {
return original.NewResourceLinksClientWithBaseURI(baseURI, subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func PossibleFilterValues() []Filter {
return original.PossibleFilterValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/2017-03-09"
}
func Version() string {
return original.Version()
}

View file

@ -0,0 +1,24 @@
// +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 locksapi
import original "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2015-01-01/locks/locksapi"
type ManagementLocksClientAPI = original.ManagementLocksClientAPI

View file

@ -0,0 +1,74 @@
// +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 locks
import (
"context"
original "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2015-01-01/locks"
)
const (
DefaultBaseURI = original.DefaultBaseURI
)
type LockLevel = original.LockLevel
const (
CanNotDelete LockLevel = original.CanNotDelete
NotSpecified LockLevel = original.NotSpecified
ReadOnly LockLevel = original.ReadOnly
)
type BaseClient = original.BaseClient
type ManagementLockListResult = original.ManagementLockListResult
type ManagementLockListResultIterator = original.ManagementLockListResultIterator
type ManagementLockListResultPage = original.ManagementLockListResultPage
type ManagementLockObject = original.ManagementLockObject
type ManagementLockProperties = original.ManagementLockProperties
type ManagementLocksClient = original.ManagementLocksClient
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewManagementLockListResultIterator(page ManagementLockListResultPage) ManagementLockListResultIterator {
return original.NewManagementLockListResultIterator(page)
}
func NewManagementLockListResultPage(getNextPage func(context.Context, ManagementLockListResult) (ManagementLockListResult, error)) ManagementLockListResultPage {
return original.NewManagementLockListResultPage(getNextPage)
}
func NewManagementLocksClient(subscriptionID string) ManagementLocksClient {
return original.NewManagementLocksClient(subscriptionID)
}
func NewManagementLocksClientWithBaseURI(baseURI string, subscriptionID string) ManagementLocksClient {
return original.NewManagementLocksClientWithBaseURI(baseURI, subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func PossibleLockLevelValues() []LockLevel {
return original.PossibleLockLevelValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/2017-03-09"
}
func Version() string {
return original.Version()
}

View file

@ -0,0 +1,76 @@
// +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 policy
import original "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2015-10-01-preview/policy"
const (
DefaultBaseURI = original.DefaultBaseURI
)
type Type = original.Type
const (
BuiltIn Type = original.BuiltIn
Custom Type = original.Custom
NotSpecified Type = original.NotSpecified
)
type Assignment = original.Assignment
type AssignmentListResult = original.AssignmentListResult
type AssignmentListResultIterator = original.AssignmentListResultIterator
type AssignmentListResultPage = original.AssignmentListResultPage
type AssignmentProperties = original.AssignmentProperties
type AssignmentsClient = original.AssignmentsClient
type BaseClient = original.BaseClient
type Definition = original.Definition
type DefinitionListResult = original.DefinitionListResult
type DefinitionListResultIterator = original.DefinitionListResultIterator
type DefinitionListResultPage = original.DefinitionListResultPage
type DefinitionProperties = original.DefinitionProperties
type DefinitionsClient = original.DefinitionsClient
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewAssignmentsClient(subscriptionID string) AssignmentsClient {
return original.NewAssignmentsClient(subscriptionID)
}
func NewAssignmentsClientWithBaseURI(baseURI string, subscriptionID string) AssignmentsClient {
return original.NewAssignmentsClientWithBaseURI(baseURI, subscriptionID)
}
func NewDefinitionsClient(subscriptionID string) DefinitionsClient {
return original.NewDefinitionsClient(subscriptionID)
}
func NewDefinitionsClientWithBaseURI(baseURI string, subscriptionID string) DefinitionsClient {
return original.NewDefinitionsClientWithBaseURI(baseURI, subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func PossibleTypeValues() []Type {
return original.PossibleTypeValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/2017-03-09"
}
func Version() string {
return original.Version()
}

View file

@ -0,0 +1,203 @@
// +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 resources
import (
"context"
original "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-02-01/resources"
)
const (
DefaultBaseURI = original.DefaultBaseURI
)
type DeploymentMode = original.DeploymentMode
const (
Complete DeploymentMode = original.Complete
Incremental DeploymentMode = original.Incremental
)
type ResourceIdentityType = original.ResourceIdentityType
const (
SystemAssigned ResourceIdentityType = original.SystemAssigned
)
type AliasPathType = original.AliasPathType
type AliasType = original.AliasType
type BaseClient = original.BaseClient
type BasicDependency = original.BasicDependency
type Client = original.Client
type DebugSetting = original.DebugSetting
type Dependency = original.Dependency
type Deployment = original.Deployment
type DeploymentExportResult = original.DeploymentExportResult
type DeploymentExtended = original.DeploymentExtended
type DeploymentExtendedFilter = original.DeploymentExtendedFilter
type DeploymentListResult = original.DeploymentListResult
type DeploymentListResultIterator = original.DeploymentListResultIterator
type DeploymentListResultPage = original.DeploymentListResultPage
type DeploymentOperation = original.DeploymentOperation
type DeploymentOperationProperties = original.DeploymentOperationProperties
type DeploymentOperationsClient = original.DeploymentOperationsClient
type DeploymentOperationsListResult = original.DeploymentOperationsListResult
type DeploymentOperationsListResultIterator = original.DeploymentOperationsListResultIterator
type DeploymentOperationsListResultPage = original.DeploymentOperationsListResultPage
type DeploymentProperties = original.DeploymentProperties
type DeploymentPropertiesExtended = original.DeploymentPropertiesExtended
type DeploymentValidateResult = original.DeploymentValidateResult
type DeploymentsClient = original.DeploymentsClient
type DeploymentsCreateOrUpdateFuture = original.DeploymentsCreateOrUpdateFuture
type DeploymentsDeleteFuture = original.DeploymentsDeleteFuture
type ExportTemplateRequest = original.ExportTemplateRequest
type GenericResource = original.GenericResource
type GenericResourceFilter = original.GenericResourceFilter
type Group = original.Group
type GroupExportResult = original.GroupExportResult
type GroupFilter = original.GroupFilter
type GroupListResult = original.GroupListResult
type GroupListResultIterator = original.GroupListResultIterator
type GroupListResultPage = original.GroupListResultPage
type GroupProperties = original.GroupProperties
type GroupsClient = original.GroupsClient
type GroupsDeleteFuture = original.GroupsDeleteFuture
type HTTPMessage = original.HTTPMessage
type Identity = original.Identity
type ListResult = original.ListResult
type ListResultIterator = original.ListResultIterator
type ListResultPage = original.ListResultPage
type ManagementErrorWithDetails = original.ManagementErrorWithDetails
type MoveInfo = original.MoveInfo
type MoveResourcesFuture = original.MoveResourcesFuture
type ParametersLink = original.ParametersLink
type Plan = original.Plan
type Provider = original.Provider
type ProviderListResult = original.ProviderListResult
type ProviderListResultIterator = original.ProviderListResultIterator
type ProviderListResultPage = original.ProviderListResultPage
type ProviderOperationDisplayProperties = original.ProviderOperationDisplayProperties
type ProviderResourceType = original.ProviderResourceType
type ProvidersClient = original.ProvidersClient
type Resource = original.Resource
type Sku = original.Sku
type SubResource = original.SubResource
type TagCount = original.TagCount
type TagDetails = original.TagDetails
type TagValue = original.TagValue
type TagsClient = original.TagsClient
type TagsListResult = original.TagsListResult
type TagsListResultIterator = original.TagsListResultIterator
type TagsListResultPage = original.TagsListResultPage
type TargetResource = original.TargetResource
type TemplateLink = original.TemplateLink
type UpdateFuture = original.UpdateFuture
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewClient(subscriptionID string) Client {
return original.NewClient(subscriptionID)
}
func NewClientWithBaseURI(baseURI string, subscriptionID string) Client {
return original.NewClientWithBaseURI(baseURI, subscriptionID)
}
func NewDeploymentListResultIterator(page DeploymentListResultPage) DeploymentListResultIterator {
return original.NewDeploymentListResultIterator(page)
}
func NewDeploymentListResultPage(getNextPage func(context.Context, DeploymentListResult) (DeploymentListResult, error)) DeploymentListResultPage {
return original.NewDeploymentListResultPage(getNextPage)
}
func NewDeploymentOperationsClient(subscriptionID string) DeploymentOperationsClient {
return original.NewDeploymentOperationsClient(subscriptionID)
}
func NewDeploymentOperationsClientWithBaseURI(baseURI string, subscriptionID string) DeploymentOperationsClient {
return original.NewDeploymentOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewDeploymentOperationsListResultIterator(page DeploymentOperationsListResultPage) DeploymentOperationsListResultIterator {
return original.NewDeploymentOperationsListResultIterator(page)
}
func NewDeploymentOperationsListResultPage(getNextPage func(context.Context, DeploymentOperationsListResult) (DeploymentOperationsListResult, error)) DeploymentOperationsListResultPage {
return original.NewDeploymentOperationsListResultPage(getNextPage)
}
func NewDeploymentsClient(subscriptionID string) DeploymentsClient {
return original.NewDeploymentsClient(subscriptionID)
}
func NewDeploymentsClientWithBaseURI(baseURI string, subscriptionID string) DeploymentsClient {
return original.NewDeploymentsClientWithBaseURI(baseURI, subscriptionID)
}
func NewGroupListResultIterator(page GroupListResultPage) GroupListResultIterator {
return original.NewGroupListResultIterator(page)
}
func NewGroupListResultPage(getNextPage func(context.Context, GroupListResult) (GroupListResult, error)) GroupListResultPage {
return original.NewGroupListResultPage(getNextPage)
}
func NewGroupsClient(subscriptionID string) GroupsClient {
return original.NewGroupsClient(subscriptionID)
}
func NewGroupsClientWithBaseURI(baseURI string, subscriptionID string) GroupsClient {
return original.NewGroupsClientWithBaseURI(baseURI, subscriptionID)
}
func NewListResultIterator(page ListResultPage) ListResultIterator {
return original.NewListResultIterator(page)
}
func NewListResultPage(getNextPage func(context.Context, ListResult) (ListResult, error)) ListResultPage {
return original.NewListResultPage(getNextPage)
}
func NewProviderListResultIterator(page ProviderListResultPage) ProviderListResultIterator {
return original.NewProviderListResultIterator(page)
}
func NewProviderListResultPage(getNextPage func(context.Context, ProviderListResult) (ProviderListResult, error)) ProviderListResultPage {
return original.NewProviderListResultPage(getNextPage)
}
func NewProvidersClient(subscriptionID string) ProvidersClient {
return original.NewProvidersClient(subscriptionID)
}
func NewProvidersClientWithBaseURI(baseURI string, subscriptionID string) ProvidersClient {
return original.NewProvidersClientWithBaseURI(baseURI, subscriptionID)
}
func NewTagsClient(subscriptionID string) TagsClient {
return original.NewTagsClient(subscriptionID)
}
func NewTagsClientWithBaseURI(baseURI string, subscriptionID string) TagsClient {
return original.NewTagsClientWithBaseURI(baseURI, subscriptionID)
}
func NewTagsListResultIterator(page TagsListResultPage) TagsListResultIterator {
return original.NewTagsListResultIterator(page)
}
func NewTagsListResultPage(getNextPage func(context.Context, TagsListResult) (TagsListResult, error)) TagsListResultPage {
return original.NewTagsListResultPage(getNextPage)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func PossibleDeploymentModeValues() []DeploymentMode {
return original.PossibleDeploymentModeValues()
}
func PossibleResourceIdentityTypeValues() []ResourceIdentityType {
return original.PossibleResourceIdentityTypeValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/2017-03-09"
}
func Version() string {
return original.Version()
}

View file

@ -0,0 +1,29 @@
// +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 resourcesapi
import original "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-02-01/resources/resourcesapi"
type ClientAPI = original.ClientAPI
type DeploymentOperationsClientAPI = original.DeploymentOperationsClientAPI
type DeploymentsClientAPI = original.DeploymentsClientAPI
type GroupsClientAPI = original.GroupsClientAPI
type ProvidersClientAPI = original.ProvidersClientAPI
type TagsClientAPI = original.TagsClientAPI

View file

@ -0,0 +1,124 @@
// +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 subscriptions
import (
"context"
original "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-06-01/subscriptions"
)
const (
DefaultBaseURI = original.DefaultBaseURI
)
type SpendingLimit = original.SpendingLimit
const (
CurrentPeriodOff SpendingLimit = original.CurrentPeriodOff
Off SpendingLimit = original.Off
On SpendingLimit = original.On
)
type State = original.State
const (
Deleted State = original.Deleted
Disabled State = original.Disabled
Enabled State = original.Enabled
PastDue State = original.PastDue
Warned State = original.Warned
)
type BaseClient = original.BaseClient
type Client = original.Client
type ListResult = original.ListResult
type ListResultIterator = original.ListResultIterator
type ListResultPage = original.ListResultPage
type Location = original.Location
type LocationListResult = original.LocationListResult
type Operation = original.Operation
type OperationDisplay = original.OperationDisplay
type OperationListResult = original.OperationListResult
type OperationListResultIterator = original.OperationListResultIterator
type OperationListResultPage = original.OperationListResultPage
type OperationsClient = original.OperationsClient
type Policies = original.Policies
type Subscription = original.Subscription
type TenantIDDescription = original.TenantIDDescription
type TenantListResult = original.TenantListResult
type TenantListResultIterator = original.TenantListResultIterator
type TenantListResultPage = original.TenantListResultPage
type TenantsClient = original.TenantsClient
func New() BaseClient {
return original.New()
}
func NewClient() Client {
return original.NewClient()
}
func NewClientWithBaseURI(baseURI string) Client {
return original.NewClientWithBaseURI(baseURI)
}
func NewListResultIterator(page ListResultPage) ListResultIterator {
return original.NewListResultIterator(page)
}
func NewListResultPage(getNextPage func(context.Context, ListResult) (ListResult, error)) ListResultPage {
return original.NewListResultPage(getNextPage)
}
func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator {
return original.NewOperationListResultIterator(page)
}
func NewOperationListResultPage(getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage {
return original.NewOperationListResultPage(getNextPage)
}
func NewOperationsClient() OperationsClient {
return original.NewOperationsClient()
}
func NewOperationsClientWithBaseURI(baseURI string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI)
}
func NewTenantListResultIterator(page TenantListResultPage) TenantListResultIterator {
return original.NewTenantListResultIterator(page)
}
func NewTenantListResultPage(getNextPage func(context.Context, TenantListResult) (TenantListResult, error)) TenantListResultPage {
return original.NewTenantListResultPage(getNextPage)
}
func NewTenantsClient() TenantsClient {
return original.NewTenantsClient()
}
func NewTenantsClientWithBaseURI(baseURI string) TenantsClient {
return original.NewTenantsClientWithBaseURI(baseURI)
}
func NewWithBaseURI(baseURI string) BaseClient {
return original.NewWithBaseURI(baseURI)
}
func PossibleSpendingLimitValues() []SpendingLimit {
return original.PossibleSpendingLimitValues()
}
func PossibleStateValues() []State {
return original.PossibleStateValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/2017-03-09"
}
func Version() string {
return original.Version()
}

View file

@ -0,0 +1,26 @@
// +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 subscriptionsapi
import original "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-06-01/subscriptions/subscriptionsapi"
type ClientAPI = original.ClientAPI
type OperationsClientAPI = original.OperationsClientAPI
type TenantsClientAPI = original.TenantsClientAPI

View file

@ -0,0 +1,176 @@
// +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 storage
import original "github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2016-01-01/storage"
const (
DefaultBaseURI = original.DefaultBaseURI
)
type AccessTier = original.AccessTier
const (
Cool AccessTier = original.Cool
Hot AccessTier = original.Hot
)
type AccountStatus = original.AccountStatus
const (
Available AccountStatus = original.Available
Unavailable AccountStatus = original.Unavailable
)
type KeyPermission = original.KeyPermission
const (
FULL KeyPermission = original.FULL
READ KeyPermission = original.READ
)
type Kind = original.Kind
const (
BlobStorage Kind = original.BlobStorage
Storage Kind = original.Storage
)
type ProvisioningState = original.ProvisioningState
const (
Creating ProvisioningState = original.Creating
ResolvingDNS ProvisioningState = original.ResolvingDNS
Succeeded ProvisioningState = original.Succeeded
)
type Reason = original.Reason
const (
AccountNameInvalid Reason = original.AccountNameInvalid
AlreadyExists Reason = original.AlreadyExists
)
type SkuName = original.SkuName
const (
PremiumLRS SkuName = original.PremiumLRS
StandardGRS SkuName = original.StandardGRS
StandardLRS SkuName = original.StandardLRS
StandardRAGRS SkuName = original.StandardRAGRS
StandardZRS SkuName = original.StandardZRS
)
type SkuTier = original.SkuTier
const (
Premium SkuTier = original.Premium
Standard SkuTier = original.Standard
)
type UsageUnit = original.UsageUnit
const (
Bytes UsageUnit = original.Bytes
BytesPerSecond UsageUnit = original.BytesPerSecond
Count UsageUnit = original.Count
CountsPerSecond UsageUnit = original.CountsPerSecond
Percent UsageUnit = original.Percent
Seconds UsageUnit = original.Seconds
)
type Account = original.Account
type AccountCheckNameAvailabilityParameters = original.AccountCheckNameAvailabilityParameters
type AccountCreateParameters = original.AccountCreateParameters
type AccountKey = original.AccountKey
type AccountListKeysResult = original.AccountListKeysResult
type AccountListResult = original.AccountListResult
type AccountProperties = original.AccountProperties
type AccountPropertiesCreateParameters = original.AccountPropertiesCreateParameters
type AccountPropertiesUpdateParameters = original.AccountPropertiesUpdateParameters
type AccountRegenerateKeyParameters = original.AccountRegenerateKeyParameters
type AccountUpdateParameters = original.AccountUpdateParameters
type AccountsClient = original.AccountsClient
type AccountsCreateFuture = original.AccountsCreateFuture
type BaseClient = original.BaseClient
type CheckNameAvailabilityResult = original.CheckNameAvailabilityResult
type CustomDomain = original.CustomDomain
type Encryption = original.Encryption
type EncryptionService = original.EncryptionService
type EncryptionServices = original.EncryptionServices
type Endpoints = original.Endpoints
type Resource = original.Resource
type Sku = original.Sku
type Usage = original.Usage
type UsageClient = original.UsageClient
type UsageListResult = original.UsageListResult
type UsageName = original.UsageName
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewAccountsClient(subscriptionID string) AccountsClient {
return original.NewAccountsClient(subscriptionID)
}
func NewAccountsClientWithBaseURI(baseURI string, subscriptionID string) AccountsClient {
return original.NewAccountsClientWithBaseURI(baseURI, subscriptionID)
}
func NewUsageClient(subscriptionID string) UsageClient {
return original.NewUsageClient(subscriptionID)
}
func NewUsageClientWithBaseURI(baseURI string, subscriptionID string) UsageClient {
return original.NewUsageClientWithBaseURI(baseURI, subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func PossibleAccessTierValues() []AccessTier {
return original.PossibleAccessTierValues()
}
func PossibleAccountStatusValues() []AccountStatus {
return original.PossibleAccountStatusValues()
}
func PossibleKeyPermissionValues() []KeyPermission {
return original.PossibleKeyPermissionValues()
}
func PossibleKindValues() []Kind {
return original.PossibleKindValues()
}
func PossibleProvisioningStateValues() []ProvisioningState {
return original.PossibleProvisioningStateValues()
}
func PossibleReasonValues() []Reason {
return original.PossibleReasonValues()
}
func PossibleSkuNameValues() []SkuName {
return original.PossibleSkuNameValues()
}
func PossibleSkuTierValues() []SkuTier {
return original.PossibleSkuTierValues()
}
func PossibleUsageUnitValues() []UsageUnit {
return original.PossibleUsageUnitValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/2017-03-09"
}
func Version() string {
return original.Version()
}

View file

@ -0,0 +1,25 @@
// +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 storageapi
import original "github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2016-01-01/storage/storageapi"
type AccountsClientAPI = original.AccountsClientAPI
type UsageClientAPI = original.UsageClientAPI

View file

@ -0,0 +1,28 @@
// +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 authorizationapi
import original "github.com/Azure/azure-sdk-for-go/services/authorization/mgmt/2015-07-01/authorization/authorizationapi"
type ClassicAdministratorsClientAPI = original.ClassicAdministratorsClientAPI
type PermissionsClientAPI = original.PermissionsClientAPI
type ProviderOperationsMetadataClientAPI = original.ProviderOperationsMetadataClientAPI
type RoleAssignmentsClientAPI = original.RoleAssignmentsClientAPI
type RoleDefinitionsClientAPI = original.RoleDefinitionsClientAPI

View file

@ -0,0 +1,139 @@
// +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 authorization
import (
"context"
original "github.com/Azure/azure-sdk-for-go/services/authorization/mgmt/2015-07-01/authorization"
)
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type ClassicAdministrator = original.ClassicAdministrator
type ClassicAdministratorListResult = original.ClassicAdministratorListResult
type ClassicAdministratorListResultIterator = original.ClassicAdministratorListResultIterator
type ClassicAdministratorListResultPage = original.ClassicAdministratorListResultPage
type ClassicAdministratorProperties = original.ClassicAdministratorProperties
type ClassicAdministratorsClient = original.ClassicAdministratorsClient
type Permission = original.Permission
type PermissionGetResult = original.PermissionGetResult
type PermissionGetResultIterator = original.PermissionGetResultIterator
type PermissionGetResultPage = original.PermissionGetResultPage
type PermissionsClient = original.PermissionsClient
type ProviderOperation = original.ProviderOperation
type ProviderOperationsMetadata = original.ProviderOperationsMetadata
type ProviderOperationsMetadataClient = original.ProviderOperationsMetadataClient
type ProviderOperationsMetadataListResult = original.ProviderOperationsMetadataListResult
type ProviderOperationsMetadataListResultIterator = original.ProviderOperationsMetadataListResultIterator
type ProviderOperationsMetadataListResultPage = original.ProviderOperationsMetadataListResultPage
type ResourceType = original.ResourceType
type RoleAssignment = original.RoleAssignment
type RoleAssignmentCreateParameters = original.RoleAssignmentCreateParameters
type RoleAssignmentFilter = original.RoleAssignmentFilter
type RoleAssignmentListResult = original.RoleAssignmentListResult
type RoleAssignmentListResultIterator = original.RoleAssignmentListResultIterator
type RoleAssignmentListResultPage = original.RoleAssignmentListResultPage
type RoleAssignmentProperties = original.RoleAssignmentProperties
type RoleAssignmentPropertiesWithScope = original.RoleAssignmentPropertiesWithScope
type RoleAssignmentsClient = original.RoleAssignmentsClient
type RoleDefinition = original.RoleDefinition
type RoleDefinitionFilter = original.RoleDefinitionFilter
type RoleDefinitionListResult = original.RoleDefinitionListResult
type RoleDefinitionListResultIterator = original.RoleDefinitionListResultIterator
type RoleDefinitionListResultPage = original.RoleDefinitionListResultPage
type RoleDefinitionProperties = original.RoleDefinitionProperties
type RoleDefinitionsClient = original.RoleDefinitionsClient
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewClassicAdministratorListResultIterator(page ClassicAdministratorListResultPage) ClassicAdministratorListResultIterator {
return original.NewClassicAdministratorListResultIterator(page)
}
func NewClassicAdministratorListResultPage(getNextPage func(context.Context, ClassicAdministratorListResult) (ClassicAdministratorListResult, error)) ClassicAdministratorListResultPage {
return original.NewClassicAdministratorListResultPage(getNextPage)
}
func NewClassicAdministratorsClient(subscriptionID string) ClassicAdministratorsClient {
return original.NewClassicAdministratorsClient(subscriptionID)
}
func NewClassicAdministratorsClientWithBaseURI(baseURI string, subscriptionID string) ClassicAdministratorsClient {
return original.NewClassicAdministratorsClientWithBaseURI(baseURI, subscriptionID)
}
func NewPermissionGetResultIterator(page PermissionGetResultPage) PermissionGetResultIterator {
return original.NewPermissionGetResultIterator(page)
}
func NewPermissionGetResultPage(getNextPage func(context.Context, PermissionGetResult) (PermissionGetResult, error)) PermissionGetResultPage {
return original.NewPermissionGetResultPage(getNextPage)
}
func NewPermissionsClient(subscriptionID string) PermissionsClient {
return original.NewPermissionsClient(subscriptionID)
}
func NewPermissionsClientWithBaseURI(baseURI string, subscriptionID string) PermissionsClient {
return original.NewPermissionsClientWithBaseURI(baseURI, subscriptionID)
}
func NewProviderOperationsMetadataClient(subscriptionID string) ProviderOperationsMetadataClient {
return original.NewProviderOperationsMetadataClient(subscriptionID)
}
func NewProviderOperationsMetadataClientWithBaseURI(baseURI string, subscriptionID string) ProviderOperationsMetadataClient {
return original.NewProviderOperationsMetadataClientWithBaseURI(baseURI, subscriptionID)
}
func NewProviderOperationsMetadataListResultIterator(page ProviderOperationsMetadataListResultPage) ProviderOperationsMetadataListResultIterator {
return original.NewProviderOperationsMetadataListResultIterator(page)
}
func NewProviderOperationsMetadataListResultPage(getNextPage func(context.Context, ProviderOperationsMetadataListResult) (ProviderOperationsMetadataListResult, error)) ProviderOperationsMetadataListResultPage {
return original.NewProviderOperationsMetadataListResultPage(getNextPage)
}
func NewRoleAssignmentListResultIterator(page RoleAssignmentListResultPage) RoleAssignmentListResultIterator {
return original.NewRoleAssignmentListResultIterator(page)
}
func NewRoleAssignmentListResultPage(getNextPage func(context.Context, RoleAssignmentListResult) (RoleAssignmentListResult, error)) RoleAssignmentListResultPage {
return original.NewRoleAssignmentListResultPage(getNextPage)
}
func NewRoleAssignmentsClient(subscriptionID string) RoleAssignmentsClient {
return original.NewRoleAssignmentsClient(subscriptionID)
}
func NewRoleAssignmentsClientWithBaseURI(baseURI string, subscriptionID string) RoleAssignmentsClient {
return original.NewRoleAssignmentsClientWithBaseURI(baseURI, subscriptionID)
}
func NewRoleDefinitionListResultIterator(page RoleDefinitionListResultPage) RoleDefinitionListResultIterator {
return original.NewRoleDefinitionListResultIterator(page)
}
func NewRoleDefinitionListResultPage(getNextPage func(context.Context, RoleDefinitionListResult) (RoleDefinitionListResult, error)) RoleDefinitionListResultPage {
return original.NewRoleDefinitionListResultPage(getNextPage)
}
func NewRoleDefinitionsClient(subscriptionID string) RoleDefinitionsClient {
return original.NewRoleDefinitionsClient(subscriptionID)
}
func NewRoleDefinitionsClientWithBaseURI(baseURI string, subscriptionID string) RoleDefinitionsClient {
return original.NewRoleDefinitionsClientWithBaseURI(baseURI, subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func UserAgent() string {
return original.UserAgent() + " profiles/2018-03-01"
}
func Version() string {
return original.Version()
}

View file

@ -0,0 +1,39 @@
// +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 computeapi
import original "github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2017-03-30/compute/computeapi"
type AvailabilitySetsClientAPI = original.AvailabilitySetsClientAPI
type DisksClientAPI = original.DisksClientAPI
type ImagesClientAPI = original.ImagesClientAPI
type ResourceSkusClientAPI = original.ResourceSkusClientAPI
type SnapshotsClientAPI = original.SnapshotsClientAPI
type UsageClientAPI = original.UsageClientAPI
type VirtualMachineExtensionImagesClientAPI = original.VirtualMachineExtensionImagesClientAPI
type VirtualMachineExtensionsClientAPI = original.VirtualMachineExtensionsClientAPI
type VirtualMachineImagesClientAPI = original.VirtualMachineImagesClientAPI
type VirtualMachineRunCommandsClientAPI = original.VirtualMachineRunCommandsClientAPI
type VirtualMachineScaleSetExtensionsClientAPI = original.VirtualMachineScaleSetExtensionsClientAPI
type VirtualMachineScaleSetRollingUpgradesClientAPI = original.VirtualMachineScaleSetRollingUpgradesClientAPI
type VirtualMachineScaleSetVMsClientAPI = original.VirtualMachineScaleSetVMsClientAPI
type VirtualMachineScaleSetsClientAPI = original.VirtualMachineScaleSetsClientAPI
type VirtualMachineSizesClientAPI = original.VirtualMachineSizesClientAPI
type VirtualMachinesClientAPI = original.VirtualMachinesClientAPI

View file

@ -0,0 +1,823 @@
// +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 compute
import (
"context"
original "github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2017-03-30/compute"
)
const (
DefaultBaseURI = original.DefaultBaseURI
)
type AccessLevel = original.AccessLevel
const (
None AccessLevel = original.None
Read AccessLevel = original.Read
)
type CachingTypes = original.CachingTypes
const (
CachingTypesNone CachingTypes = original.CachingTypesNone
CachingTypesReadOnly CachingTypes = original.CachingTypesReadOnly
CachingTypesReadWrite CachingTypes = original.CachingTypesReadWrite
)
type ComponentNames = original.ComponentNames
const (
MicrosoftWindowsShellSetup ComponentNames = original.MicrosoftWindowsShellSetup
)
type DiskCreateOption = original.DiskCreateOption
const (
Attach DiskCreateOption = original.Attach
Copy DiskCreateOption = original.Copy
Empty DiskCreateOption = original.Empty
FromImage DiskCreateOption = original.FromImage
Import DiskCreateOption = original.Import
)
type DiskCreateOptionTypes = original.DiskCreateOptionTypes
const (
DiskCreateOptionTypesAttach DiskCreateOptionTypes = original.DiskCreateOptionTypesAttach
DiskCreateOptionTypesEmpty DiskCreateOptionTypes = original.DiskCreateOptionTypesEmpty
DiskCreateOptionTypesFromImage DiskCreateOptionTypes = original.DiskCreateOptionTypesFromImage
)
type IPVersion = original.IPVersion
const (
IPv4 IPVersion = original.IPv4
IPv6 IPVersion = original.IPv6
)
type InstanceViewTypes = original.InstanceViewTypes
const (
InstanceView InstanceViewTypes = original.InstanceView
)
type MaintenanceOperationResultCodeTypes = original.MaintenanceOperationResultCodeTypes
const (
MaintenanceOperationResultCodeTypesMaintenanceAborted MaintenanceOperationResultCodeTypes = original.MaintenanceOperationResultCodeTypesMaintenanceAborted
MaintenanceOperationResultCodeTypesMaintenanceCompleted MaintenanceOperationResultCodeTypes = original.MaintenanceOperationResultCodeTypesMaintenanceCompleted
MaintenanceOperationResultCodeTypesNone MaintenanceOperationResultCodeTypes = original.MaintenanceOperationResultCodeTypesNone
MaintenanceOperationResultCodeTypesRetryLater MaintenanceOperationResultCodeTypes = original.MaintenanceOperationResultCodeTypesRetryLater
)
type OperatingSystemStateTypes = original.OperatingSystemStateTypes
const (
Generalized OperatingSystemStateTypes = original.Generalized
Specialized OperatingSystemStateTypes = original.Specialized
)
type OperatingSystemTypes = original.OperatingSystemTypes
const (
Linux OperatingSystemTypes = original.Linux
Windows OperatingSystemTypes = original.Windows
)
type PassNames = original.PassNames
const (
OobeSystem PassNames = original.OobeSystem
)
type ProtocolTypes = original.ProtocolTypes
const (
HTTP ProtocolTypes = original.HTTP
HTTPS ProtocolTypes = original.HTTPS
)
type ResourceIdentityType = original.ResourceIdentityType
const (
SystemAssigned ResourceIdentityType = original.SystemAssigned
)
type ResourceSkuCapacityScaleType = original.ResourceSkuCapacityScaleType
const (
ResourceSkuCapacityScaleTypeAutomatic ResourceSkuCapacityScaleType = original.ResourceSkuCapacityScaleTypeAutomatic
ResourceSkuCapacityScaleTypeManual ResourceSkuCapacityScaleType = original.ResourceSkuCapacityScaleTypeManual
ResourceSkuCapacityScaleTypeNone ResourceSkuCapacityScaleType = original.ResourceSkuCapacityScaleTypeNone
)
type ResourceSkuRestrictionsReasonCode = original.ResourceSkuRestrictionsReasonCode
const (
NotAvailableForSubscription ResourceSkuRestrictionsReasonCode = original.NotAvailableForSubscription
QuotaID ResourceSkuRestrictionsReasonCode = original.QuotaID
)
type ResourceSkuRestrictionsType = original.ResourceSkuRestrictionsType
const (
Location ResourceSkuRestrictionsType = original.Location
)
type RollingUpgradeActionType = original.RollingUpgradeActionType
const (
Cancel RollingUpgradeActionType = original.Cancel
Start RollingUpgradeActionType = original.Start
)
type RollingUpgradeStatusCode = original.RollingUpgradeStatusCode
const (
Cancelled RollingUpgradeStatusCode = original.Cancelled
Completed RollingUpgradeStatusCode = original.Completed
Faulted RollingUpgradeStatusCode = original.Faulted
RollingForward RollingUpgradeStatusCode = original.RollingForward
)
type SettingNames = original.SettingNames
const (
AutoLogon SettingNames = original.AutoLogon
FirstLogonCommands SettingNames = original.FirstLogonCommands
)
type StatusLevelTypes = original.StatusLevelTypes
const (
Error StatusLevelTypes = original.Error
Info StatusLevelTypes = original.Info
Warning StatusLevelTypes = original.Warning
)
type StorageAccountTypes = original.StorageAccountTypes
const (
PremiumLRS StorageAccountTypes = original.PremiumLRS
StandardLRS StorageAccountTypes = original.StandardLRS
)
type UpgradeMode = original.UpgradeMode
const (
Automatic UpgradeMode = original.Automatic
Manual UpgradeMode = original.Manual
Rolling UpgradeMode = original.Rolling
)
type VirtualMachineScaleSetSkuScaleType = original.VirtualMachineScaleSetSkuScaleType
const (
VirtualMachineScaleSetSkuScaleTypeAutomatic VirtualMachineScaleSetSkuScaleType = original.VirtualMachineScaleSetSkuScaleTypeAutomatic
VirtualMachineScaleSetSkuScaleTypeNone VirtualMachineScaleSetSkuScaleType = original.VirtualMachineScaleSetSkuScaleTypeNone
)
type VirtualMachineSizeTypes = original.VirtualMachineSizeTypes
const (
BasicA0 VirtualMachineSizeTypes = original.BasicA0
BasicA1 VirtualMachineSizeTypes = original.BasicA1
BasicA2 VirtualMachineSizeTypes = original.BasicA2
BasicA3 VirtualMachineSizeTypes = original.BasicA3
BasicA4 VirtualMachineSizeTypes = original.BasicA4
StandardA0 VirtualMachineSizeTypes = original.StandardA0
StandardA1 VirtualMachineSizeTypes = original.StandardA1
StandardA10 VirtualMachineSizeTypes = original.StandardA10
StandardA11 VirtualMachineSizeTypes = original.StandardA11
StandardA1V2 VirtualMachineSizeTypes = original.StandardA1V2
StandardA2 VirtualMachineSizeTypes = original.StandardA2
StandardA2mV2 VirtualMachineSizeTypes = original.StandardA2mV2
StandardA2V2 VirtualMachineSizeTypes = original.StandardA2V2
StandardA3 VirtualMachineSizeTypes = original.StandardA3
StandardA4 VirtualMachineSizeTypes = original.StandardA4
StandardA4mV2 VirtualMachineSizeTypes = original.StandardA4mV2
StandardA4V2 VirtualMachineSizeTypes = original.StandardA4V2
StandardA5 VirtualMachineSizeTypes = original.StandardA5
StandardA6 VirtualMachineSizeTypes = original.StandardA6
StandardA7 VirtualMachineSizeTypes = original.StandardA7
StandardA8 VirtualMachineSizeTypes = original.StandardA8
StandardA8mV2 VirtualMachineSizeTypes = original.StandardA8mV2
StandardA8V2 VirtualMachineSizeTypes = original.StandardA8V2
StandardA9 VirtualMachineSizeTypes = original.StandardA9
StandardD1 VirtualMachineSizeTypes = original.StandardD1
StandardD11 VirtualMachineSizeTypes = original.StandardD11
StandardD11V2 VirtualMachineSizeTypes = original.StandardD11V2
StandardD12 VirtualMachineSizeTypes = original.StandardD12
StandardD12V2 VirtualMachineSizeTypes = original.StandardD12V2
StandardD13 VirtualMachineSizeTypes = original.StandardD13
StandardD13V2 VirtualMachineSizeTypes = original.StandardD13V2
StandardD14 VirtualMachineSizeTypes = original.StandardD14
StandardD14V2 VirtualMachineSizeTypes = original.StandardD14V2
StandardD15V2 VirtualMachineSizeTypes = original.StandardD15V2
StandardD1V2 VirtualMachineSizeTypes = original.StandardD1V2
StandardD2 VirtualMachineSizeTypes = original.StandardD2
StandardD2V2 VirtualMachineSizeTypes = original.StandardD2V2
StandardD3 VirtualMachineSizeTypes = original.StandardD3
StandardD3V2 VirtualMachineSizeTypes = original.StandardD3V2
StandardD4 VirtualMachineSizeTypes = original.StandardD4
StandardD4V2 VirtualMachineSizeTypes = original.StandardD4V2
StandardD5V2 VirtualMachineSizeTypes = original.StandardD5V2
StandardDS1 VirtualMachineSizeTypes = original.StandardDS1
StandardDS11 VirtualMachineSizeTypes = original.StandardDS11
StandardDS11V2 VirtualMachineSizeTypes = original.StandardDS11V2
StandardDS12 VirtualMachineSizeTypes = original.StandardDS12
StandardDS12V2 VirtualMachineSizeTypes = original.StandardDS12V2
StandardDS13 VirtualMachineSizeTypes = original.StandardDS13
StandardDS13V2 VirtualMachineSizeTypes = original.StandardDS13V2
StandardDS14 VirtualMachineSizeTypes = original.StandardDS14
StandardDS14V2 VirtualMachineSizeTypes = original.StandardDS14V2
StandardDS15V2 VirtualMachineSizeTypes = original.StandardDS15V2
StandardDS1V2 VirtualMachineSizeTypes = original.StandardDS1V2
StandardDS2 VirtualMachineSizeTypes = original.StandardDS2
StandardDS2V2 VirtualMachineSizeTypes = original.StandardDS2V2
StandardDS3 VirtualMachineSizeTypes = original.StandardDS3
StandardDS3V2 VirtualMachineSizeTypes = original.StandardDS3V2
StandardDS4 VirtualMachineSizeTypes = original.StandardDS4
StandardDS4V2 VirtualMachineSizeTypes = original.StandardDS4V2
StandardDS5V2 VirtualMachineSizeTypes = original.StandardDS5V2
StandardF1 VirtualMachineSizeTypes = original.StandardF1
StandardF16 VirtualMachineSizeTypes = original.StandardF16
StandardF16s VirtualMachineSizeTypes = original.StandardF16s
StandardF1s VirtualMachineSizeTypes = original.StandardF1s
StandardF2 VirtualMachineSizeTypes = original.StandardF2
StandardF2s VirtualMachineSizeTypes = original.StandardF2s
StandardF4 VirtualMachineSizeTypes = original.StandardF4
StandardF4s VirtualMachineSizeTypes = original.StandardF4s
StandardF8 VirtualMachineSizeTypes = original.StandardF8
StandardF8s VirtualMachineSizeTypes = original.StandardF8s
StandardG1 VirtualMachineSizeTypes = original.StandardG1
StandardG2 VirtualMachineSizeTypes = original.StandardG2
StandardG3 VirtualMachineSizeTypes = original.StandardG3
StandardG4 VirtualMachineSizeTypes = original.StandardG4
StandardG5 VirtualMachineSizeTypes = original.StandardG5
StandardGS1 VirtualMachineSizeTypes = original.StandardGS1
StandardGS2 VirtualMachineSizeTypes = original.StandardGS2
StandardGS3 VirtualMachineSizeTypes = original.StandardGS3
StandardGS4 VirtualMachineSizeTypes = original.StandardGS4
StandardGS5 VirtualMachineSizeTypes = original.StandardGS5
StandardH16 VirtualMachineSizeTypes = original.StandardH16
StandardH16m VirtualMachineSizeTypes = original.StandardH16m
StandardH16mr VirtualMachineSizeTypes = original.StandardH16mr
StandardH16r VirtualMachineSizeTypes = original.StandardH16r
StandardH8 VirtualMachineSizeTypes = original.StandardH8
StandardH8m VirtualMachineSizeTypes = original.StandardH8m
StandardL16s VirtualMachineSizeTypes = original.StandardL16s
StandardL32s VirtualMachineSizeTypes = original.StandardL32s
StandardL4s VirtualMachineSizeTypes = original.StandardL4s
StandardL8s VirtualMachineSizeTypes = original.StandardL8s
StandardNC12 VirtualMachineSizeTypes = original.StandardNC12
StandardNC24 VirtualMachineSizeTypes = original.StandardNC24
StandardNC24r VirtualMachineSizeTypes = original.StandardNC24r
StandardNC6 VirtualMachineSizeTypes = original.StandardNC6
StandardNV12 VirtualMachineSizeTypes = original.StandardNV12
StandardNV24 VirtualMachineSizeTypes = original.StandardNV24
StandardNV6 VirtualMachineSizeTypes = original.StandardNV6
)
type APIEntityReference = original.APIEntityReference
type APIError = original.APIError
type APIErrorBase = original.APIErrorBase
type AccessURI = original.AccessURI
type AccessURIOutput = original.AccessURIOutput
type AccessURIRaw = original.AccessURIRaw
type AdditionalUnattendContent = original.AdditionalUnattendContent
type AvailabilitySet = original.AvailabilitySet
type AvailabilitySetListResult = original.AvailabilitySetListResult
type AvailabilitySetListResultIterator = original.AvailabilitySetListResultIterator
type AvailabilitySetListResultPage = original.AvailabilitySetListResultPage
type AvailabilitySetProperties = original.AvailabilitySetProperties
type AvailabilitySetsClient = original.AvailabilitySetsClient
type BaseClient = original.BaseClient
type BootDiagnostics = original.BootDiagnostics
type BootDiagnosticsInstanceView = original.BootDiagnosticsInstanceView
type CreationData = original.CreationData
type DataDisk = original.DataDisk
type DataDiskImage = original.DataDiskImage
type DiagnosticsProfile = original.DiagnosticsProfile
type Disk = original.Disk
type DiskEncryptionSettings = original.DiskEncryptionSettings
type DiskInstanceView = original.DiskInstanceView
type DiskList = original.DiskList
type DiskListIterator = original.DiskListIterator
type DiskListPage = original.DiskListPage
type DiskProperties = original.DiskProperties
type DiskSku = original.DiskSku
type DiskUpdate = original.DiskUpdate
type DiskUpdateProperties = original.DiskUpdateProperties
type DisksClient = original.DisksClient
type DisksCreateOrUpdateFuture = original.DisksCreateOrUpdateFuture
type DisksDeleteFuture = original.DisksDeleteFuture
type DisksGrantAccessFuture = original.DisksGrantAccessFuture
type DisksRevokeAccessFuture = original.DisksRevokeAccessFuture
type DisksUpdateFuture = original.DisksUpdateFuture
type EncryptionSettings = original.EncryptionSettings
type GrantAccessData = original.GrantAccessData
type HardwareProfile = original.HardwareProfile
type Image = original.Image
type ImageDataDisk = original.ImageDataDisk
type ImageDiskReference = original.ImageDiskReference
type ImageListResult = original.ImageListResult
type ImageListResultIterator = original.ImageListResultIterator
type ImageListResultPage = original.ImageListResultPage
type ImageOSDisk = original.ImageOSDisk
type ImageProperties = original.ImageProperties
type ImageReference = original.ImageReference
type ImageStorageProfile = original.ImageStorageProfile
type ImagesClient = original.ImagesClient
type ImagesCreateOrUpdateFuture = original.ImagesCreateOrUpdateFuture
type ImagesDeleteFuture = original.ImagesDeleteFuture
type InnerError = original.InnerError
type InstanceViewStatus = original.InstanceViewStatus
type KeyVaultAndKeyReference = original.KeyVaultAndKeyReference
type KeyVaultAndSecretReference = original.KeyVaultAndSecretReference
type KeyVaultKeyReference = original.KeyVaultKeyReference
type KeyVaultSecretReference = original.KeyVaultSecretReference
type LinuxConfiguration = original.LinuxConfiguration
type ListUsagesResult = original.ListUsagesResult
type ListUsagesResultIterator = original.ListUsagesResultIterator
type ListUsagesResultPage = original.ListUsagesResultPage
type ListVirtualMachineExtensionImage = original.ListVirtualMachineExtensionImage
type ListVirtualMachineImageResource = original.ListVirtualMachineImageResource
type LongRunningOperationProperties = original.LongRunningOperationProperties
type MaintenanceRedeployStatus = original.MaintenanceRedeployStatus
type ManagedDiskParameters = original.ManagedDiskParameters
type NetworkInterfaceReference = original.NetworkInterfaceReference
type NetworkInterfaceReferenceProperties = original.NetworkInterfaceReferenceProperties
type NetworkProfile = original.NetworkProfile
type OSDisk = original.OSDisk
type OSDiskImage = original.OSDiskImage
type OSProfile = original.OSProfile
type OperationStatusResponse = original.OperationStatusResponse
type Plan = original.Plan
type PurchasePlan = original.PurchasePlan
type Resource = original.Resource
type ResourceSku = original.ResourceSku
type ResourceSkuCapabilities = original.ResourceSkuCapabilities
type ResourceSkuCapacity = original.ResourceSkuCapacity
type ResourceSkuCosts = original.ResourceSkuCosts
type ResourceSkuRestrictions = original.ResourceSkuRestrictions
type ResourceSkusClient = original.ResourceSkusClient
type ResourceSkusResult = original.ResourceSkusResult
type ResourceSkusResultIterator = original.ResourceSkusResultIterator
type ResourceSkusResultPage = original.ResourceSkusResultPage
type ResourceUpdate = original.ResourceUpdate
type RollingUpgradePolicy = original.RollingUpgradePolicy
type RollingUpgradeProgressInfo = original.RollingUpgradeProgressInfo
type RollingUpgradeRunningStatus = original.RollingUpgradeRunningStatus
type RollingUpgradeStatusInfo = original.RollingUpgradeStatusInfo
type RollingUpgradeStatusInfoProperties = original.RollingUpgradeStatusInfoProperties
type RunCommandDocument = original.RunCommandDocument
type RunCommandDocumentBase = original.RunCommandDocumentBase
type RunCommandInput = original.RunCommandInput
type RunCommandInputParameter = original.RunCommandInputParameter
type RunCommandListResult = original.RunCommandListResult
type RunCommandListResultIterator = original.RunCommandListResultIterator
type RunCommandListResultPage = original.RunCommandListResultPage
type RunCommandParameterDefinition = original.RunCommandParameterDefinition
type RunCommandResult = original.RunCommandResult
type RunCommandResultProperties = original.RunCommandResultProperties
type SSHConfiguration = original.SSHConfiguration
type SSHPublicKey = original.SSHPublicKey
type Sku = original.Sku
type Snapshot = original.Snapshot
type SnapshotList = original.SnapshotList
type SnapshotListIterator = original.SnapshotListIterator
type SnapshotListPage = original.SnapshotListPage
type SnapshotUpdate = original.SnapshotUpdate
type SnapshotsClient = original.SnapshotsClient
type SnapshotsCreateOrUpdateFuture = original.SnapshotsCreateOrUpdateFuture
type SnapshotsDeleteFuture = original.SnapshotsDeleteFuture
type SnapshotsGrantAccessFuture = original.SnapshotsGrantAccessFuture
type SnapshotsRevokeAccessFuture = original.SnapshotsRevokeAccessFuture
type SnapshotsUpdateFuture = original.SnapshotsUpdateFuture
type SourceVault = original.SourceVault
type StorageProfile = original.StorageProfile
type SubResource = original.SubResource
type SubResourceReadOnly = original.SubResourceReadOnly
type UpdateResource = original.UpdateResource
type UpgradePolicy = original.UpgradePolicy
type Usage = original.Usage
type UsageClient = original.UsageClient
type UsageName = original.UsageName
type VaultCertificate = original.VaultCertificate
type VaultSecretGroup = original.VaultSecretGroup
type VirtualHardDisk = original.VirtualHardDisk
type VirtualMachine = original.VirtualMachine
type VirtualMachineAgentInstanceView = original.VirtualMachineAgentInstanceView
type VirtualMachineCaptureParameters = original.VirtualMachineCaptureParameters
type VirtualMachineCaptureResult = original.VirtualMachineCaptureResult
type VirtualMachineCaptureResultProperties = original.VirtualMachineCaptureResultProperties
type VirtualMachineExtension = original.VirtualMachineExtension
type VirtualMachineExtensionHandlerInstanceView = original.VirtualMachineExtensionHandlerInstanceView
type VirtualMachineExtensionImage = original.VirtualMachineExtensionImage
type VirtualMachineExtensionImageProperties = original.VirtualMachineExtensionImageProperties
type VirtualMachineExtensionImagesClient = original.VirtualMachineExtensionImagesClient
type VirtualMachineExtensionInstanceView = original.VirtualMachineExtensionInstanceView
type VirtualMachineExtensionProperties = original.VirtualMachineExtensionProperties
type VirtualMachineExtensionUpdate = original.VirtualMachineExtensionUpdate
type VirtualMachineExtensionUpdateProperties = original.VirtualMachineExtensionUpdateProperties
type VirtualMachineExtensionsClient = original.VirtualMachineExtensionsClient
type VirtualMachineExtensionsCreateOrUpdateFuture = original.VirtualMachineExtensionsCreateOrUpdateFuture
type VirtualMachineExtensionsDeleteFuture = original.VirtualMachineExtensionsDeleteFuture
type VirtualMachineExtensionsListResult = original.VirtualMachineExtensionsListResult
type VirtualMachineExtensionsUpdateFuture = original.VirtualMachineExtensionsUpdateFuture
type VirtualMachineHealthStatus = original.VirtualMachineHealthStatus
type VirtualMachineIdentity = original.VirtualMachineIdentity
type VirtualMachineImage = original.VirtualMachineImage
type VirtualMachineImageProperties = original.VirtualMachineImageProperties
type VirtualMachineImageResource = original.VirtualMachineImageResource
type VirtualMachineImagesClient = original.VirtualMachineImagesClient
type VirtualMachineInstanceView = original.VirtualMachineInstanceView
type VirtualMachineListResult = original.VirtualMachineListResult
type VirtualMachineListResultIterator = original.VirtualMachineListResultIterator
type VirtualMachineListResultPage = original.VirtualMachineListResultPage
type VirtualMachineProperties = original.VirtualMachineProperties
type VirtualMachineRunCommandsClient = original.VirtualMachineRunCommandsClient
type VirtualMachineScaleSet = original.VirtualMachineScaleSet
type VirtualMachineScaleSetDataDisk = original.VirtualMachineScaleSetDataDisk
type VirtualMachineScaleSetExtension = original.VirtualMachineScaleSetExtension
type VirtualMachineScaleSetExtensionListResult = original.VirtualMachineScaleSetExtensionListResult
type VirtualMachineScaleSetExtensionListResultIterator = original.VirtualMachineScaleSetExtensionListResultIterator
type VirtualMachineScaleSetExtensionListResultPage = original.VirtualMachineScaleSetExtensionListResultPage
type VirtualMachineScaleSetExtensionProfile = original.VirtualMachineScaleSetExtensionProfile
type VirtualMachineScaleSetExtensionProperties = original.VirtualMachineScaleSetExtensionProperties
type VirtualMachineScaleSetExtensionsClient = original.VirtualMachineScaleSetExtensionsClient
type VirtualMachineScaleSetExtensionsCreateOrUpdateFuture = original.VirtualMachineScaleSetExtensionsCreateOrUpdateFuture
type VirtualMachineScaleSetExtensionsDeleteFuture = original.VirtualMachineScaleSetExtensionsDeleteFuture
type VirtualMachineScaleSetIPConfiguration = original.VirtualMachineScaleSetIPConfiguration
type VirtualMachineScaleSetIPConfigurationProperties = original.VirtualMachineScaleSetIPConfigurationProperties
type VirtualMachineScaleSetIdentity = original.VirtualMachineScaleSetIdentity
type VirtualMachineScaleSetInstanceView = original.VirtualMachineScaleSetInstanceView
type VirtualMachineScaleSetInstanceViewStatusesSummary = original.VirtualMachineScaleSetInstanceViewStatusesSummary
type VirtualMachineScaleSetListResult = original.VirtualMachineScaleSetListResult
type VirtualMachineScaleSetListResultIterator = original.VirtualMachineScaleSetListResultIterator
type VirtualMachineScaleSetListResultPage = original.VirtualMachineScaleSetListResultPage
type VirtualMachineScaleSetListSkusResult = original.VirtualMachineScaleSetListSkusResult
type VirtualMachineScaleSetListSkusResultIterator = original.VirtualMachineScaleSetListSkusResultIterator
type VirtualMachineScaleSetListSkusResultPage = original.VirtualMachineScaleSetListSkusResultPage
type VirtualMachineScaleSetListWithLinkResult = original.VirtualMachineScaleSetListWithLinkResult
type VirtualMachineScaleSetListWithLinkResultIterator = original.VirtualMachineScaleSetListWithLinkResultIterator
type VirtualMachineScaleSetListWithLinkResultPage = original.VirtualMachineScaleSetListWithLinkResultPage
type VirtualMachineScaleSetManagedDiskParameters = original.VirtualMachineScaleSetManagedDiskParameters
type VirtualMachineScaleSetNetworkConfiguration = original.VirtualMachineScaleSetNetworkConfiguration
type VirtualMachineScaleSetNetworkConfigurationDNSSettings = original.VirtualMachineScaleSetNetworkConfigurationDNSSettings
type VirtualMachineScaleSetNetworkConfigurationProperties = original.VirtualMachineScaleSetNetworkConfigurationProperties
type VirtualMachineScaleSetNetworkProfile = original.VirtualMachineScaleSetNetworkProfile
type VirtualMachineScaleSetOSDisk = original.VirtualMachineScaleSetOSDisk
type VirtualMachineScaleSetOSProfile = original.VirtualMachineScaleSetOSProfile
type VirtualMachineScaleSetProperties = original.VirtualMachineScaleSetProperties
type VirtualMachineScaleSetPublicIPAddressConfiguration = original.VirtualMachineScaleSetPublicIPAddressConfiguration
type VirtualMachineScaleSetPublicIPAddressConfigurationDNSSettings = original.VirtualMachineScaleSetPublicIPAddressConfigurationDNSSettings
type VirtualMachineScaleSetPublicIPAddressConfigurationProperties = original.VirtualMachineScaleSetPublicIPAddressConfigurationProperties
type VirtualMachineScaleSetRollingUpgradesCancelFuture = original.VirtualMachineScaleSetRollingUpgradesCancelFuture
type VirtualMachineScaleSetRollingUpgradesClient = original.VirtualMachineScaleSetRollingUpgradesClient
type VirtualMachineScaleSetRollingUpgradesStartOSUpgradeFuture = original.VirtualMachineScaleSetRollingUpgradesStartOSUpgradeFuture
type VirtualMachineScaleSetSku = original.VirtualMachineScaleSetSku
type VirtualMachineScaleSetSkuCapacity = original.VirtualMachineScaleSetSkuCapacity
type VirtualMachineScaleSetStorageProfile = original.VirtualMachineScaleSetStorageProfile
type VirtualMachineScaleSetUpdate = original.VirtualMachineScaleSetUpdate
type VirtualMachineScaleSetUpdateIPConfiguration = original.VirtualMachineScaleSetUpdateIPConfiguration
type VirtualMachineScaleSetUpdateIPConfigurationProperties = original.VirtualMachineScaleSetUpdateIPConfigurationProperties
type VirtualMachineScaleSetUpdateNetworkConfiguration = original.VirtualMachineScaleSetUpdateNetworkConfiguration
type VirtualMachineScaleSetUpdateNetworkConfigurationProperties = original.VirtualMachineScaleSetUpdateNetworkConfigurationProperties
type VirtualMachineScaleSetUpdateNetworkProfile = original.VirtualMachineScaleSetUpdateNetworkProfile
type VirtualMachineScaleSetUpdateOSDisk = original.VirtualMachineScaleSetUpdateOSDisk
type VirtualMachineScaleSetUpdateOSProfile = original.VirtualMachineScaleSetUpdateOSProfile
type VirtualMachineScaleSetUpdateProperties = original.VirtualMachineScaleSetUpdateProperties
type VirtualMachineScaleSetUpdatePublicIPAddressConfiguration = original.VirtualMachineScaleSetUpdatePublicIPAddressConfiguration
type VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties = original.VirtualMachineScaleSetUpdatePublicIPAddressConfigurationProperties
type VirtualMachineScaleSetUpdateStorageProfile = original.VirtualMachineScaleSetUpdateStorageProfile
type VirtualMachineScaleSetUpdateVMProfile = original.VirtualMachineScaleSetUpdateVMProfile
type VirtualMachineScaleSetVM = original.VirtualMachineScaleSetVM
type VirtualMachineScaleSetVMExtensionsSummary = original.VirtualMachineScaleSetVMExtensionsSummary
type VirtualMachineScaleSetVMInstanceIDs = original.VirtualMachineScaleSetVMInstanceIDs
type VirtualMachineScaleSetVMInstanceRequiredIDs = original.VirtualMachineScaleSetVMInstanceRequiredIDs
type VirtualMachineScaleSetVMInstanceView = original.VirtualMachineScaleSetVMInstanceView
type VirtualMachineScaleSetVMListResult = original.VirtualMachineScaleSetVMListResult
type VirtualMachineScaleSetVMListResultIterator = original.VirtualMachineScaleSetVMListResultIterator
type VirtualMachineScaleSetVMListResultPage = original.VirtualMachineScaleSetVMListResultPage
type VirtualMachineScaleSetVMProfile = original.VirtualMachineScaleSetVMProfile
type VirtualMachineScaleSetVMProperties = original.VirtualMachineScaleSetVMProperties
type VirtualMachineScaleSetVMsClient = original.VirtualMachineScaleSetVMsClient
type VirtualMachineScaleSetVMsDeallocateFuture = original.VirtualMachineScaleSetVMsDeallocateFuture
type VirtualMachineScaleSetVMsDeleteFuture = original.VirtualMachineScaleSetVMsDeleteFuture
type VirtualMachineScaleSetVMsPowerOffFuture = original.VirtualMachineScaleSetVMsPowerOffFuture
type VirtualMachineScaleSetVMsReimageAllFuture = original.VirtualMachineScaleSetVMsReimageAllFuture
type VirtualMachineScaleSetVMsReimageFuture = original.VirtualMachineScaleSetVMsReimageFuture
type VirtualMachineScaleSetVMsRestartFuture = original.VirtualMachineScaleSetVMsRestartFuture
type VirtualMachineScaleSetVMsStartFuture = original.VirtualMachineScaleSetVMsStartFuture
type VirtualMachineScaleSetsClient = original.VirtualMachineScaleSetsClient
type VirtualMachineScaleSetsCreateOrUpdateFuture = original.VirtualMachineScaleSetsCreateOrUpdateFuture
type VirtualMachineScaleSetsDeallocateFuture = original.VirtualMachineScaleSetsDeallocateFuture
type VirtualMachineScaleSetsDeleteFuture = original.VirtualMachineScaleSetsDeleteFuture
type VirtualMachineScaleSetsDeleteInstancesFuture = original.VirtualMachineScaleSetsDeleteInstancesFuture
type VirtualMachineScaleSetsPowerOffFuture = original.VirtualMachineScaleSetsPowerOffFuture
type VirtualMachineScaleSetsReimageAllFuture = original.VirtualMachineScaleSetsReimageAllFuture
type VirtualMachineScaleSetsReimageFuture = original.VirtualMachineScaleSetsReimageFuture
type VirtualMachineScaleSetsRestartFuture = original.VirtualMachineScaleSetsRestartFuture
type VirtualMachineScaleSetsStartFuture = original.VirtualMachineScaleSetsStartFuture
type VirtualMachineScaleSetsUpdateFuture = original.VirtualMachineScaleSetsUpdateFuture
type VirtualMachineScaleSetsUpdateInstancesFuture = original.VirtualMachineScaleSetsUpdateInstancesFuture
type VirtualMachineSize = original.VirtualMachineSize
type VirtualMachineSizeListResult = original.VirtualMachineSizeListResult
type VirtualMachineSizesClient = original.VirtualMachineSizesClient
type VirtualMachineStatusCodeCount = original.VirtualMachineStatusCodeCount
type VirtualMachinesCaptureFuture = original.VirtualMachinesCaptureFuture
type VirtualMachinesClient = original.VirtualMachinesClient
type VirtualMachinesConvertToManagedDisksFuture = original.VirtualMachinesConvertToManagedDisksFuture
type VirtualMachinesCreateOrUpdateFuture = original.VirtualMachinesCreateOrUpdateFuture
type VirtualMachinesDeallocateFuture = original.VirtualMachinesDeallocateFuture
type VirtualMachinesDeleteFuture = original.VirtualMachinesDeleteFuture
type VirtualMachinesPerformMaintenanceFuture = original.VirtualMachinesPerformMaintenanceFuture
type VirtualMachinesPowerOffFuture = original.VirtualMachinesPowerOffFuture
type VirtualMachinesRedeployFuture = original.VirtualMachinesRedeployFuture
type VirtualMachinesRestartFuture = original.VirtualMachinesRestartFuture
type VirtualMachinesRunCommandFuture = original.VirtualMachinesRunCommandFuture
type VirtualMachinesStartFuture = original.VirtualMachinesStartFuture
type WinRMConfiguration = original.WinRMConfiguration
type WinRMListener = original.WinRMListener
type WindowsConfiguration = original.WindowsConfiguration
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewAvailabilitySetListResultIterator(page AvailabilitySetListResultPage) AvailabilitySetListResultIterator {
return original.NewAvailabilitySetListResultIterator(page)
}
func NewAvailabilitySetListResultPage(getNextPage func(context.Context, AvailabilitySetListResult) (AvailabilitySetListResult, error)) AvailabilitySetListResultPage {
return original.NewAvailabilitySetListResultPage(getNextPage)
}
func NewAvailabilitySetsClient(subscriptionID string) AvailabilitySetsClient {
return original.NewAvailabilitySetsClient(subscriptionID)
}
func NewAvailabilitySetsClientWithBaseURI(baseURI string, subscriptionID string) AvailabilitySetsClient {
return original.NewAvailabilitySetsClientWithBaseURI(baseURI, subscriptionID)
}
func NewDiskListIterator(page DiskListPage) DiskListIterator {
return original.NewDiskListIterator(page)
}
func NewDiskListPage(getNextPage func(context.Context, DiskList) (DiskList, error)) DiskListPage {
return original.NewDiskListPage(getNextPage)
}
func NewDisksClient(subscriptionID string) DisksClient {
return original.NewDisksClient(subscriptionID)
}
func NewDisksClientWithBaseURI(baseURI string, subscriptionID string) DisksClient {
return original.NewDisksClientWithBaseURI(baseURI, subscriptionID)
}
func NewImageListResultIterator(page ImageListResultPage) ImageListResultIterator {
return original.NewImageListResultIterator(page)
}
func NewImageListResultPage(getNextPage func(context.Context, ImageListResult) (ImageListResult, error)) ImageListResultPage {
return original.NewImageListResultPage(getNextPage)
}
func NewImagesClient(subscriptionID string) ImagesClient {
return original.NewImagesClient(subscriptionID)
}
func NewImagesClientWithBaseURI(baseURI string, subscriptionID string) ImagesClient {
return original.NewImagesClientWithBaseURI(baseURI, subscriptionID)
}
func NewListUsagesResultIterator(page ListUsagesResultPage) ListUsagesResultIterator {
return original.NewListUsagesResultIterator(page)
}
func NewListUsagesResultPage(getNextPage func(context.Context, ListUsagesResult) (ListUsagesResult, error)) ListUsagesResultPage {
return original.NewListUsagesResultPage(getNextPage)
}
func NewResourceSkusClient(subscriptionID string) ResourceSkusClient {
return original.NewResourceSkusClient(subscriptionID)
}
func NewResourceSkusClientWithBaseURI(baseURI string, subscriptionID string) ResourceSkusClient {
return original.NewResourceSkusClientWithBaseURI(baseURI, subscriptionID)
}
func NewResourceSkusResultIterator(page ResourceSkusResultPage) ResourceSkusResultIterator {
return original.NewResourceSkusResultIterator(page)
}
func NewResourceSkusResultPage(getNextPage func(context.Context, ResourceSkusResult) (ResourceSkusResult, error)) ResourceSkusResultPage {
return original.NewResourceSkusResultPage(getNextPage)
}
func NewRunCommandListResultIterator(page RunCommandListResultPage) RunCommandListResultIterator {
return original.NewRunCommandListResultIterator(page)
}
func NewRunCommandListResultPage(getNextPage func(context.Context, RunCommandListResult) (RunCommandListResult, error)) RunCommandListResultPage {
return original.NewRunCommandListResultPage(getNextPage)
}
func NewSnapshotListIterator(page SnapshotListPage) SnapshotListIterator {
return original.NewSnapshotListIterator(page)
}
func NewSnapshotListPage(getNextPage func(context.Context, SnapshotList) (SnapshotList, error)) SnapshotListPage {
return original.NewSnapshotListPage(getNextPage)
}
func NewSnapshotsClient(subscriptionID string) SnapshotsClient {
return original.NewSnapshotsClient(subscriptionID)
}
func NewSnapshotsClientWithBaseURI(baseURI string, subscriptionID string) SnapshotsClient {
return original.NewSnapshotsClientWithBaseURI(baseURI, subscriptionID)
}
func NewUsageClient(subscriptionID string) UsageClient {
return original.NewUsageClient(subscriptionID)
}
func NewUsageClientWithBaseURI(baseURI string, subscriptionID string) UsageClient {
return original.NewUsageClientWithBaseURI(baseURI, subscriptionID)
}
func NewVirtualMachineExtensionImagesClient(subscriptionID string) VirtualMachineExtensionImagesClient {
return original.NewVirtualMachineExtensionImagesClient(subscriptionID)
}
func NewVirtualMachineExtensionImagesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineExtensionImagesClient {
return original.NewVirtualMachineExtensionImagesClientWithBaseURI(baseURI, subscriptionID)
}
func NewVirtualMachineExtensionsClient(subscriptionID string) VirtualMachineExtensionsClient {
return original.NewVirtualMachineExtensionsClient(subscriptionID)
}
func NewVirtualMachineExtensionsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineExtensionsClient {
return original.NewVirtualMachineExtensionsClientWithBaseURI(baseURI, subscriptionID)
}
func NewVirtualMachineImagesClient(subscriptionID string) VirtualMachineImagesClient {
return original.NewVirtualMachineImagesClient(subscriptionID)
}
func NewVirtualMachineImagesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineImagesClient {
return original.NewVirtualMachineImagesClientWithBaseURI(baseURI, subscriptionID)
}
func NewVirtualMachineListResultIterator(page VirtualMachineListResultPage) VirtualMachineListResultIterator {
return original.NewVirtualMachineListResultIterator(page)
}
func NewVirtualMachineListResultPage(getNextPage func(context.Context, VirtualMachineListResult) (VirtualMachineListResult, error)) VirtualMachineListResultPage {
return original.NewVirtualMachineListResultPage(getNextPage)
}
func NewVirtualMachineRunCommandsClient(subscriptionID string) VirtualMachineRunCommandsClient {
return original.NewVirtualMachineRunCommandsClient(subscriptionID)
}
func NewVirtualMachineRunCommandsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineRunCommandsClient {
return original.NewVirtualMachineRunCommandsClientWithBaseURI(baseURI, subscriptionID)
}
func NewVirtualMachineScaleSetExtensionListResultIterator(page VirtualMachineScaleSetExtensionListResultPage) VirtualMachineScaleSetExtensionListResultIterator {
return original.NewVirtualMachineScaleSetExtensionListResultIterator(page)
}
func NewVirtualMachineScaleSetExtensionListResultPage(getNextPage func(context.Context, VirtualMachineScaleSetExtensionListResult) (VirtualMachineScaleSetExtensionListResult, error)) VirtualMachineScaleSetExtensionListResultPage {
return original.NewVirtualMachineScaleSetExtensionListResultPage(getNextPage)
}
func NewVirtualMachineScaleSetExtensionsClient(subscriptionID string) VirtualMachineScaleSetExtensionsClient {
return original.NewVirtualMachineScaleSetExtensionsClient(subscriptionID)
}
func NewVirtualMachineScaleSetExtensionsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineScaleSetExtensionsClient {
return original.NewVirtualMachineScaleSetExtensionsClientWithBaseURI(baseURI, subscriptionID)
}
func NewVirtualMachineScaleSetListResultIterator(page VirtualMachineScaleSetListResultPage) VirtualMachineScaleSetListResultIterator {
return original.NewVirtualMachineScaleSetListResultIterator(page)
}
func NewVirtualMachineScaleSetListResultPage(getNextPage func(context.Context, VirtualMachineScaleSetListResult) (VirtualMachineScaleSetListResult, error)) VirtualMachineScaleSetListResultPage {
return original.NewVirtualMachineScaleSetListResultPage(getNextPage)
}
func NewVirtualMachineScaleSetListSkusResultIterator(page VirtualMachineScaleSetListSkusResultPage) VirtualMachineScaleSetListSkusResultIterator {
return original.NewVirtualMachineScaleSetListSkusResultIterator(page)
}
func NewVirtualMachineScaleSetListSkusResultPage(getNextPage func(context.Context, VirtualMachineScaleSetListSkusResult) (VirtualMachineScaleSetListSkusResult, error)) VirtualMachineScaleSetListSkusResultPage {
return original.NewVirtualMachineScaleSetListSkusResultPage(getNextPage)
}
func NewVirtualMachineScaleSetListWithLinkResultIterator(page VirtualMachineScaleSetListWithLinkResultPage) VirtualMachineScaleSetListWithLinkResultIterator {
return original.NewVirtualMachineScaleSetListWithLinkResultIterator(page)
}
func NewVirtualMachineScaleSetListWithLinkResultPage(getNextPage func(context.Context, VirtualMachineScaleSetListWithLinkResult) (VirtualMachineScaleSetListWithLinkResult, error)) VirtualMachineScaleSetListWithLinkResultPage {
return original.NewVirtualMachineScaleSetListWithLinkResultPage(getNextPage)
}
func NewVirtualMachineScaleSetRollingUpgradesClient(subscriptionID string) VirtualMachineScaleSetRollingUpgradesClient {
return original.NewVirtualMachineScaleSetRollingUpgradesClient(subscriptionID)
}
func NewVirtualMachineScaleSetRollingUpgradesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineScaleSetRollingUpgradesClient {
return original.NewVirtualMachineScaleSetRollingUpgradesClientWithBaseURI(baseURI, subscriptionID)
}
func NewVirtualMachineScaleSetVMListResultIterator(page VirtualMachineScaleSetVMListResultPage) VirtualMachineScaleSetVMListResultIterator {
return original.NewVirtualMachineScaleSetVMListResultIterator(page)
}
func NewVirtualMachineScaleSetVMListResultPage(getNextPage func(context.Context, VirtualMachineScaleSetVMListResult) (VirtualMachineScaleSetVMListResult, error)) VirtualMachineScaleSetVMListResultPage {
return original.NewVirtualMachineScaleSetVMListResultPage(getNextPage)
}
func NewVirtualMachineScaleSetVMsClient(subscriptionID string) VirtualMachineScaleSetVMsClient {
return original.NewVirtualMachineScaleSetVMsClient(subscriptionID)
}
func NewVirtualMachineScaleSetVMsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineScaleSetVMsClient {
return original.NewVirtualMachineScaleSetVMsClientWithBaseURI(baseURI, subscriptionID)
}
func NewVirtualMachineScaleSetsClient(subscriptionID string) VirtualMachineScaleSetsClient {
return original.NewVirtualMachineScaleSetsClient(subscriptionID)
}
func NewVirtualMachineScaleSetsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineScaleSetsClient {
return original.NewVirtualMachineScaleSetsClientWithBaseURI(baseURI, subscriptionID)
}
func NewVirtualMachineSizesClient(subscriptionID string) VirtualMachineSizesClient {
return original.NewVirtualMachineSizesClient(subscriptionID)
}
func NewVirtualMachineSizesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineSizesClient {
return original.NewVirtualMachineSizesClientWithBaseURI(baseURI, subscriptionID)
}
func NewVirtualMachinesClient(subscriptionID string) VirtualMachinesClient {
return original.NewVirtualMachinesClient(subscriptionID)
}
func NewVirtualMachinesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachinesClient {
return original.NewVirtualMachinesClientWithBaseURI(baseURI, subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func PossibleAccessLevelValues() []AccessLevel {
return original.PossibleAccessLevelValues()
}
func PossibleCachingTypesValues() []CachingTypes {
return original.PossibleCachingTypesValues()
}
func PossibleComponentNamesValues() []ComponentNames {
return original.PossibleComponentNamesValues()
}
func PossibleDiskCreateOptionTypesValues() []DiskCreateOptionTypes {
return original.PossibleDiskCreateOptionTypesValues()
}
func PossibleDiskCreateOptionValues() []DiskCreateOption {
return original.PossibleDiskCreateOptionValues()
}
func PossibleIPVersionValues() []IPVersion {
return original.PossibleIPVersionValues()
}
func PossibleInstanceViewTypesValues() []InstanceViewTypes {
return original.PossibleInstanceViewTypesValues()
}
func PossibleMaintenanceOperationResultCodeTypesValues() []MaintenanceOperationResultCodeTypes {
return original.PossibleMaintenanceOperationResultCodeTypesValues()
}
func PossibleOperatingSystemStateTypesValues() []OperatingSystemStateTypes {
return original.PossibleOperatingSystemStateTypesValues()
}
func PossibleOperatingSystemTypesValues() []OperatingSystemTypes {
return original.PossibleOperatingSystemTypesValues()
}
func PossiblePassNamesValues() []PassNames {
return original.PossiblePassNamesValues()
}
func PossibleProtocolTypesValues() []ProtocolTypes {
return original.PossibleProtocolTypesValues()
}
func PossibleResourceIdentityTypeValues() []ResourceIdentityType {
return original.PossibleResourceIdentityTypeValues()
}
func PossibleResourceSkuCapacityScaleTypeValues() []ResourceSkuCapacityScaleType {
return original.PossibleResourceSkuCapacityScaleTypeValues()
}
func PossibleResourceSkuRestrictionsReasonCodeValues() []ResourceSkuRestrictionsReasonCode {
return original.PossibleResourceSkuRestrictionsReasonCodeValues()
}
func PossibleResourceSkuRestrictionsTypeValues() []ResourceSkuRestrictionsType {
return original.PossibleResourceSkuRestrictionsTypeValues()
}
func PossibleRollingUpgradeActionTypeValues() []RollingUpgradeActionType {
return original.PossibleRollingUpgradeActionTypeValues()
}
func PossibleRollingUpgradeStatusCodeValues() []RollingUpgradeStatusCode {
return original.PossibleRollingUpgradeStatusCodeValues()
}
func PossibleSettingNamesValues() []SettingNames {
return original.PossibleSettingNamesValues()
}
func PossibleStatusLevelTypesValues() []StatusLevelTypes {
return original.PossibleStatusLevelTypesValues()
}
func PossibleStorageAccountTypesValues() []StorageAccountTypes {
return original.PossibleStorageAccountTypesValues()
}
func PossibleUpgradeModeValues() []UpgradeMode {
return original.PossibleUpgradeModeValues()
}
func PossibleVirtualMachineScaleSetSkuScaleTypeValues() []VirtualMachineScaleSetSkuScaleType {
return original.PossibleVirtualMachineScaleSetSkuScaleTypeValues()
}
func PossibleVirtualMachineSizeTypesValues() []VirtualMachineSizeTypes {
return original.PossibleVirtualMachineSizeTypesValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/2018-03-01"
}
func Version() string {
return original.Version()
}

View file

@ -0,0 +1,30 @@
{
"include": [
"../../services/authorization/mgmt/2015-07-01/authorization",
"../../services/authorization/mgmt/2015-07-01/authorization/authorizationapi",
"../../services/compute/mgmt/2017-03-30/compute",
"../../services/compute/mgmt/2017-03-30/compute/computeapi",
"../../services/dns/mgmt/2016-04-01/dns",
"../../services/dns/mgmt/2016-04-01/dns/dnsapi",
"../../services/keyvault/2016-10-01/keyvault",
"../../services/keyvault/2016-10-01/keyvault/keyvaultapi",
"../../services/keyvault/mgmt/2016-10-01/keyvault",
"../../services/keyvault/mgmt/2016-10-01/keyvault/keyvaultapi",
"../../services/network/mgmt/2017-10-01/network",
"../../services/network/mgmt/2017-10-01/network/networkapi",
"../../services/resources/mgmt/2016-09-01/links",
"../../services/resources/mgmt/2016-09-01/links/linksapi",
"../../services/resources/mgmt/2016-09-01/locks",
"../../services/resources/mgmt/2016-09-01/locks/locksapi",
"../../services/resources/mgmt/2016-12-01/policy",
"../../services/resources/mgmt/2016-12-01/policy/policyapi",
"../../services/resources/mgmt/2018-02-01/resources",
"../../services/resources/mgmt/2018-02-01/resources/resourcesapi",
"../../services/resources/mgmt/2016-06-01/subscriptions",
"../../services/resources/mgmt/2016-06-01/subscriptions/subscriptionsapi",
"../../services/storage/mgmt/2016-01-01/storage",
"../../services/storage/mgmt/2016-01-01/storage/storageapi",
"../../services/web/mgmt/2016-09-01/web",
"../../services/web/mgmt/2016-09-01/web/webapi"
]
}

View file

@ -0,0 +1,25 @@
// +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 dnsapi
import original "github.com/Azure/azure-sdk-for-go/services/dns/mgmt/2016-04-01/dns/dnsapi"
type RecordSetsClientAPI = original.RecordSetsClientAPI
type ZonesClientAPI = original.ZonesClientAPI

View file

@ -0,0 +1,183 @@
// +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 dns
import (
"context"
original "github.com/Azure/azure-sdk-for-go/services/dns/mgmt/2016-04-01/dns"
)
const (
DefaultBaseURI = original.DefaultBaseURI
)
type HTTPStatusCode = original.HTTPStatusCode
const (
Accepted HTTPStatusCode = original.Accepted
Ambiguous HTTPStatusCode = original.Ambiguous
BadGateway HTTPStatusCode = original.BadGateway
BadRequest HTTPStatusCode = original.BadRequest
Conflict HTTPStatusCode = original.Conflict
Continue HTTPStatusCode = original.Continue
Created HTTPStatusCode = original.Created
ExpectationFailed HTTPStatusCode = original.ExpectationFailed
Forbidden HTTPStatusCode = original.Forbidden
Found HTTPStatusCode = original.Found
GatewayTimeout HTTPStatusCode = original.GatewayTimeout
Gone HTTPStatusCode = original.Gone
HTTPVersionNotSupported HTTPStatusCode = original.HTTPVersionNotSupported
InternalServerError HTTPStatusCode = original.InternalServerError
LengthRequired HTTPStatusCode = original.LengthRequired
MethodNotAllowed HTTPStatusCode = original.MethodNotAllowed
Moved HTTPStatusCode = original.Moved
MovedPermanently HTTPStatusCode = original.MovedPermanently
MultipleChoices HTTPStatusCode = original.MultipleChoices
NoContent HTTPStatusCode = original.NoContent
NonAuthoritativeInformation HTTPStatusCode = original.NonAuthoritativeInformation
NotAcceptable HTTPStatusCode = original.NotAcceptable
NotFound HTTPStatusCode = original.NotFound
NotImplemented HTTPStatusCode = original.NotImplemented
NotModified HTTPStatusCode = original.NotModified
OK HTTPStatusCode = original.OK
PartialContent HTTPStatusCode = original.PartialContent
PaymentRequired HTTPStatusCode = original.PaymentRequired
PreconditionFailed HTTPStatusCode = original.PreconditionFailed
ProxyAuthenticationRequired HTTPStatusCode = original.ProxyAuthenticationRequired
Redirect HTTPStatusCode = original.Redirect
RedirectKeepVerb HTTPStatusCode = original.RedirectKeepVerb
RedirectMethod HTTPStatusCode = original.RedirectMethod
RequestedRangeNotSatisfiable HTTPStatusCode = original.RequestedRangeNotSatisfiable
RequestEntityTooLarge HTTPStatusCode = original.RequestEntityTooLarge
RequestTimeout HTTPStatusCode = original.RequestTimeout
RequestURITooLong HTTPStatusCode = original.RequestURITooLong
ResetContent HTTPStatusCode = original.ResetContent
SeeOther HTTPStatusCode = original.SeeOther
ServiceUnavailable HTTPStatusCode = original.ServiceUnavailable
SwitchingProtocols HTTPStatusCode = original.SwitchingProtocols
TemporaryRedirect HTTPStatusCode = original.TemporaryRedirect
Unauthorized HTTPStatusCode = original.Unauthorized
UnsupportedMediaType HTTPStatusCode = original.UnsupportedMediaType
Unused HTTPStatusCode = original.Unused
UpgradeRequired HTTPStatusCode = original.UpgradeRequired
UseProxy HTTPStatusCode = original.UseProxy
)
type OperationStatus = original.OperationStatus
const (
Failed OperationStatus = original.Failed
InProgress OperationStatus = original.InProgress
Succeeded OperationStatus = original.Succeeded
)
type RecordType = original.RecordType
const (
A RecordType = original.A
AAAA RecordType = original.AAAA
CNAME RecordType = original.CNAME
MX RecordType = original.MX
NS RecordType = original.NS
PTR RecordType = original.PTR
SOA RecordType = original.SOA
SRV RecordType = original.SRV
TXT RecordType = original.TXT
)
type ARecord = original.ARecord
type AaaaRecord = original.AaaaRecord
type AzureEntityResource = original.AzureEntityResource
type BaseClient = original.BaseClient
type CloudError = original.CloudError
type CloudErrorBody = original.CloudErrorBody
type CnameRecord = original.CnameRecord
type MxRecord = original.MxRecord
type NsRecord = original.NsRecord
type ProxyResource = original.ProxyResource
type PtrRecord = original.PtrRecord
type RecordSet = original.RecordSet
type RecordSetListResult = original.RecordSetListResult
type RecordSetListResultIterator = original.RecordSetListResultIterator
type RecordSetListResultPage = original.RecordSetListResultPage
type RecordSetProperties = original.RecordSetProperties
type RecordSetUpdateParameters = original.RecordSetUpdateParameters
type RecordSetsClient = original.RecordSetsClient
type Resource = original.Resource
type SoaRecord = original.SoaRecord
type SrvRecord = original.SrvRecord
type SubResource = original.SubResource
type TrackedResource = original.TrackedResource
type TxtRecord = original.TxtRecord
type Zone = original.Zone
type ZoneDeleteResult = original.ZoneDeleteResult
type ZoneListResult = original.ZoneListResult
type ZoneListResultIterator = original.ZoneListResultIterator
type ZoneListResultPage = original.ZoneListResultPage
type ZoneProperties = original.ZoneProperties
type ZonesClient = original.ZonesClient
type ZonesDeleteFuture = original.ZonesDeleteFuture
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewRecordSetListResultIterator(page RecordSetListResultPage) RecordSetListResultIterator {
return original.NewRecordSetListResultIterator(page)
}
func NewRecordSetListResultPage(getNextPage func(context.Context, RecordSetListResult) (RecordSetListResult, error)) RecordSetListResultPage {
return original.NewRecordSetListResultPage(getNextPage)
}
func NewRecordSetsClient(subscriptionID string) RecordSetsClient {
return original.NewRecordSetsClient(subscriptionID)
}
func NewRecordSetsClientWithBaseURI(baseURI string, subscriptionID string) RecordSetsClient {
return original.NewRecordSetsClientWithBaseURI(baseURI, subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func NewZoneListResultIterator(page ZoneListResultPage) ZoneListResultIterator {
return original.NewZoneListResultIterator(page)
}
func NewZoneListResultPage(getNextPage func(context.Context, ZoneListResult) (ZoneListResult, error)) ZoneListResultPage {
return original.NewZoneListResultPage(getNextPage)
}
func NewZonesClient(subscriptionID string) ZonesClient {
return original.NewZonesClient(subscriptionID)
}
func NewZonesClientWithBaseURI(baseURI string, subscriptionID string) ZonesClient {
return original.NewZonesClientWithBaseURI(baseURI, subscriptionID)
}
func PossibleHTTPStatusCodeValues() []HTTPStatusCode {
return original.PossibleHTTPStatusCodeValues()
}
func PossibleOperationStatusValues() []OperationStatus {
return original.PossibleOperationStatusValues()
}
func PossibleRecordTypeValues() []RecordType {
return original.PossibleRecordTypeValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/2018-03-01"
}
func Version() string {
return original.Version()
}

View file

@ -0,0 +1,17 @@
// 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.
package v20180301
//go:generate go run ../../tools/profileBuilder/main.go list --clear-output --input ./definition.json --name 2018-03-01 --output-location ./ --verbose

View file

@ -0,0 +1,24 @@
// +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 keyvaultapi
import original "github.com/Azure/azure-sdk-for-go/services/keyvault/2016-10-01/keyvault/keyvaultapi"
type BaseClientAPI = original.BaseClientAPI

View file

@ -0,0 +1,300 @@
// +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 keyvault
import (
"context"
original "github.com/Azure/azure-sdk-for-go/services/keyvault/2016-10-01/keyvault"
)
type ActionType = original.ActionType
const (
AutoRenew ActionType = original.AutoRenew
EmailContacts ActionType = original.EmailContacts
)
type DeletionRecoveryLevel = original.DeletionRecoveryLevel
const (
Purgeable DeletionRecoveryLevel = original.Purgeable
Recoverable DeletionRecoveryLevel = original.Recoverable
RecoverableProtectedSubscription DeletionRecoveryLevel = original.RecoverableProtectedSubscription
RecoverablePurgeable DeletionRecoveryLevel = original.RecoverablePurgeable
)
type JSONWebKeyCurveName = original.JSONWebKeyCurveName
const (
P256 JSONWebKeyCurveName = original.P256
P384 JSONWebKeyCurveName = original.P384
P521 JSONWebKeyCurveName = original.P521
SECP256K1 JSONWebKeyCurveName = original.SECP256K1
)
type JSONWebKeyEncryptionAlgorithm = original.JSONWebKeyEncryptionAlgorithm
const (
RSA15 JSONWebKeyEncryptionAlgorithm = original.RSA15
RSAOAEP JSONWebKeyEncryptionAlgorithm = original.RSAOAEP
RSAOAEP256 JSONWebKeyEncryptionAlgorithm = original.RSAOAEP256
)
type JSONWebKeyOperation = original.JSONWebKeyOperation
const (
Decrypt JSONWebKeyOperation = original.Decrypt
Encrypt JSONWebKeyOperation = original.Encrypt
Sign JSONWebKeyOperation = original.Sign
UnwrapKey JSONWebKeyOperation = original.UnwrapKey
Verify JSONWebKeyOperation = original.Verify
WrapKey JSONWebKeyOperation = original.WrapKey
)
type JSONWebKeySignatureAlgorithm = original.JSONWebKeySignatureAlgorithm
const (
ECDSA256 JSONWebKeySignatureAlgorithm = original.ECDSA256
ES256 JSONWebKeySignatureAlgorithm = original.ES256
ES384 JSONWebKeySignatureAlgorithm = original.ES384
ES512 JSONWebKeySignatureAlgorithm = original.ES512
PS256 JSONWebKeySignatureAlgorithm = original.PS256
PS384 JSONWebKeySignatureAlgorithm = original.PS384
PS512 JSONWebKeySignatureAlgorithm = original.PS512
RS256 JSONWebKeySignatureAlgorithm = original.RS256
RS384 JSONWebKeySignatureAlgorithm = original.RS384
RS512 JSONWebKeySignatureAlgorithm = original.RS512
RSNULL JSONWebKeySignatureAlgorithm = original.RSNULL
)
type JSONWebKeyType = original.JSONWebKeyType
const (
EC JSONWebKeyType = original.EC
ECHSM JSONWebKeyType = original.ECHSM
Oct JSONWebKeyType = original.Oct
RSA JSONWebKeyType = original.RSA
RSAHSM JSONWebKeyType = original.RSAHSM
)
type KeyUsageType = original.KeyUsageType
const (
CRLSign KeyUsageType = original.CRLSign
DataEncipherment KeyUsageType = original.DataEncipherment
DecipherOnly KeyUsageType = original.DecipherOnly
DigitalSignature KeyUsageType = original.DigitalSignature
EncipherOnly KeyUsageType = original.EncipherOnly
KeyAgreement KeyUsageType = original.KeyAgreement
KeyCertSign KeyUsageType = original.KeyCertSign
KeyEncipherment KeyUsageType = original.KeyEncipherment
NonRepudiation KeyUsageType = original.NonRepudiation
)
type Action = original.Action
type AdministratorDetails = original.AdministratorDetails
type Attributes = original.Attributes
type BackupKeyResult = original.BackupKeyResult
type BackupSecretResult = original.BackupSecretResult
type BaseClient = original.BaseClient
type CertificateAttributes = original.CertificateAttributes
type CertificateBundle = original.CertificateBundle
type CertificateCreateParameters = original.CertificateCreateParameters
type CertificateImportParameters = original.CertificateImportParameters
type CertificateIssuerItem = original.CertificateIssuerItem
type CertificateIssuerListResult = original.CertificateIssuerListResult
type CertificateIssuerListResultIterator = original.CertificateIssuerListResultIterator
type CertificateIssuerListResultPage = original.CertificateIssuerListResultPage
type CertificateIssuerSetParameters = original.CertificateIssuerSetParameters
type CertificateIssuerUpdateParameters = original.CertificateIssuerUpdateParameters
type CertificateItem = original.CertificateItem
type CertificateListResult = original.CertificateListResult
type CertificateListResultIterator = original.CertificateListResultIterator
type CertificateListResultPage = original.CertificateListResultPage
type CertificateMergeParameters = original.CertificateMergeParameters
type CertificateOperation = original.CertificateOperation
type CertificateOperationUpdateParameter = original.CertificateOperationUpdateParameter
type CertificatePolicy = original.CertificatePolicy
type CertificateUpdateParameters = original.CertificateUpdateParameters
type Contact = original.Contact
type Contacts = original.Contacts
type DeletedCertificateBundle = original.DeletedCertificateBundle
type DeletedCertificateItem = original.DeletedCertificateItem
type DeletedCertificateListResult = original.DeletedCertificateListResult
type DeletedCertificateListResultIterator = original.DeletedCertificateListResultIterator
type DeletedCertificateListResultPage = original.DeletedCertificateListResultPage
type DeletedKeyBundle = original.DeletedKeyBundle
type DeletedKeyItem = original.DeletedKeyItem
type DeletedKeyListResult = original.DeletedKeyListResult
type DeletedKeyListResultIterator = original.DeletedKeyListResultIterator
type DeletedKeyListResultPage = original.DeletedKeyListResultPage
type DeletedSecretBundle = original.DeletedSecretBundle
type DeletedSecretItem = original.DeletedSecretItem
type DeletedSecretListResult = original.DeletedSecretListResult
type DeletedSecretListResultIterator = original.DeletedSecretListResultIterator
type DeletedSecretListResultPage = original.DeletedSecretListResultPage
type Error = original.Error
type ErrorType = original.ErrorType
type IssuerAttributes = original.IssuerAttributes
type IssuerBundle = original.IssuerBundle
type IssuerCredentials = original.IssuerCredentials
type IssuerParameters = original.IssuerParameters
type JSONWebKey = original.JSONWebKey
type KeyAttributes = original.KeyAttributes
type KeyBundle = original.KeyBundle
type KeyCreateParameters = original.KeyCreateParameters
type KeyImportParameters = original.KeyImportParameters
type KeyItem = original.KeyItem
type KeyListResult = original.KeyListResult
type KeyListResultIterator = original.KeyListResultIterator
type KeyListResultPage = original.KeyListResultPage
type KeyOperationResult = original.KeyOperationResult
type KeyOperationsParameters = original.KeyOperationsParameters
type KeyProperties = original.KeyProperties
type KeyRestoreParameters = original.KeyRestoreParameters
type KeySignParameters = original.KeySignParameters
type KeyUpdateParameters = original.KeyUpdateParameters
type KeyVerifyParameters = original.KeyVerifyParameters
type KeyVerifyResult = original.KeyVerifyResult
type LifetimeAction = original.LifetimeAction
type OrganizationDetails = original.OrganizationDetails
type PendingCertificateSigningRequestResult = original.PendingCertificateSigningRequestResult
type SasDefinitionAttributes = original.SasDefinitionAttributes
type SasDefinitionBundle = original.SasDefinitionBundle
type SasDefinitionCreateParameters = original.SasDefinitionCreateParameters
type SasDefinitionItem = original.SasDefinitionItem
type SasDefinitionListResult = original.SasDefinitionListResult
type SasDefinitionListResultIterator = original.SasDefinitionListResultIterator
type SasDefinitionListResultPage = original.SasDefinitionListResultPage
type SasDefinitionUpdateParameters = original.SasDefinitionUpdateParameters
type SecretAttributes = original.SecretAttributes
type SecretBundle = original.SecretBundle
type SecretItem = original.SecretItem
type SecretListResult = original.SecretListResult
type SecretListResultIterator = original.SecretListResultIterator
type SecretListResultPage = original.SecretListResultPage
type SecretProperties = original.SecretProperties
type SecretRestoreParameters = original.SecretRestoreParameters
type SecretSetParameters = original.SecretSetParameters
type SecretUpdateParameters = original.SecretUpdateParameters
type StorageAccountAttributes = original.StorageAccountAttributes
type StorageAccountCreateParameters = original.StorageAccountCreateParameters
type StorageAccountItem = original.StorageAccountItem
type StorageAccountRegenerteKeyParameters = original.StorageAccountRegenerteKeyParameters
type StorageAccountUpdateParameters = original.StorageAccountUpdateParameters
type StorageBundle = original.StorageBundle
type StorageListResult = original.StorageListResult
type StorageListResultIterator = original.StorageListResultIterator
type StorageListResultPage = original.StorageListResultPage
type SubjectAlternativeNames = original.SubjectAlternativeNames
type Trigger = original.Trigger
type X509CertificateProperties = original.X509CertificateProperties
func New() BaseClient {
return original.New()
}
func NewCertificateIssuerListResultIterator(page CertificateIssuerListResultPage) CertificateIssuerListResultIterator {
return original.NewCertificateIssuerListResultIterator(page)
}
func NewCertificateIssuerListResultPage(getNextPage func(context.Context, CertificateIssuerListResult) (CertificateIssuerListResult, error)) CertificateIssuerListResultPage {
return original.NewCertificateIssuerListResultPage(getNextPage)
}
func NewCertificateListResultIterator(page CertificateListResultPage) CertificateListResultIterator {
return original.NewCertificateListResultIterator(page)
}
func NewCertificateListResultPage(getNextPage func(context.Context, CertificateListResult) (CertificateListResult, error)) CertificateListResultPage {
return original.NewCertificateListResultPage(getNextPage)
}
func NewDeletedCertificateListResultIterator(page DeletedCertificateListResultPage) DeletedCertificateListResultIterator {
return original.NewDeletedCertificateListResultIterator(page)
}
func NewDeletedCertificateListResultPage(getNextPage func(context.Context, DeletedCertificateListResult) (DeletedCertificateListResult, error)) DeletedCertificateListResultPage {
return original.NewDeletedCertificateListResultPage(getNextPage)
}
func NewDeletedKeyListResultIterator(page DeletedKeyListResultPage) DeletedKeyListResultIterator {
return original.NewDeletedKeyListResultIterator(page)
}
func NewDeletedKeyListResultPage(getNextPage func(context.Context, DeletedKeyListResult) (DeletedKeyListResult, error)) DeletedKeyListResultPage {
return original.NewDeletedKeyListResultPage(getNextPage)
}
func NewDeletedSecretListResultIterator(page DeletedSecretListResultPage) DeletedSecretListResultIterator {
return original.NewDeletedSecretListResultIterator(page)
}
func NewDeletedSecretListResultPage(getNextPage func(context.Context, DeletedSecretListResult) (DeletedSecretListResult, error)) DeletedSecretListResultPage {
return original.NewDeletedSecretListResultPage(getNextPage)
}
func NewKeyListResultIterator(page KeyListResultPage) KeyListResultIterator {
return original.NewKeyListResultIterator(page)
}
func NewKeyListResultPage(getNextPage func(context.Context, KeyListResult) (KeyListResult, error)) KeyListResultPage {
return original.NewKeyListResultPage(getNextPage)
}
func NewSasDefinitionListResultIterator(page SasDefinitionListResultPage) SasDefinitionListResultIterator {
return original.NewSasDefinitionListResultIterator(page)
}
func NewSasDefinitionListResultPage(getNextPage func(context.Context, SasDefinitionListResult) (SasDefinitionListResult, error)) SasDefinitionListResultPage {
return original.NewSasDefinitionListResultPage(getNextPage)
}
func NewSecretListResultIterator(page SecretListResultPage) SecretListResultIterator {
return original.NewSecretListResultIterator(page)
}
func NewSecretListResultPage(getNextPage func(context.Context, SecretListResult) (SecretListResult, error)) SecretListResultPage {
return original.NewSecretListResultPage(getNextPage)
}
func NewStorageListResultIterator(page StorageListResultPage) StorageListResultIterator {
return original.NewStorageListResultIterator(page)
}
func NewStorageListResultPage(getNextPage func(context.Context, StorageListResult) (StorageListResult, error)) StorageListResultPage {
return original.NewStorageListResultPage(getNextPage)
}
func NewWithoutDefaults() BaseClient {
return original.NewWithoutDefaults()
}
func PossibleActionTypeValues() []ActionType {
return original.PossibleActionTypeValues()
}
func PossibleDeletionRecoveryLevelValues() []DeletionRecoveryLevel {
return original.PossibleDeletionRecoveryLevelValues()
}
func PossibleJSONWebKeyCurveNameValues() []JSONWebKeyCurveName {
return original.PossibleJSONWebKeyCurveNameValues()
}
func PossibleJSONWebKeyEncryptionAlgorithmValues() []JSONWebKeyEncryptionAlgorithm {
return original.PossibleJSONWebKeyEncryptionAlgorithmValues()
}
func PossibleJSONWebKeyOperationValues() []JSONWebKeyOperation {
return original.PossibleJSONWebKeyOperationValues()
}
func PossibleJSONWebKeySignatureAlgorithmValues() []JSONWebKeySignatureAlgorithm {
return original.PossibleJSONWebKeySignatureAlgorithmValues()
}
func PossibleJSONWebKeyTypeValues() []JSONWebKeyType {
return original.PossibleJSONWebKeyTypeValues()
}
func PossibleKeyUsageTypeValues() []KeyUsageType {
return original.PossibleKeyUsageTypeValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/2018-03-01"
}
func Version() string {
return original.Version()
}

View file

@ -0,0 +1,25 @@
// +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 keyvaultapi
import original "github.com/Azure/azure-sdk-for-go/services/keyvault/mgmt/2016-10-01/keyvault/keyvaultapi"
type OperationsClientAPI = original.OperationsClientAPI
type VaultsClientAPI = original.VaultsClientAPI

View file

@ -0,0 +1,241 @@
// +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 keyvault
import (
"context"
original "github.com/Azure/azure-sdk-for-go/services/keyvault/mgmt/2016-10-01/keyvault"
)
const (
DefaultBaseURI = original.DefaultBaseURI
)
type AccessPolicyUpdateKind = original.AccessPolicyUpdateKind
const (
Add AccessPolicyUpdateKind = original.Add
Remove AccessPolicyUpdateKind = original.Remove
Replace AccessPolicyUpdateKind = original.Replace
)
type CertificatePermissions = original.CertificatePermissions
const (
Create CertificatePermissions = original.Create
Delete CertificatePermissions = original.Delete
Deleteissuers CertificatePermissions = original.Deleteissuers
Get CertificatePermissions = original.Get
Getissuers CertificatePermissions = original.Getissuers
Import CertificatePermissions = original.Import
List CertificatePermissions = original.List
Listissuers CertificatePermissions = original.Listissuers
Managecontacts CertificatePermissions = original.Managecontacts
Manageissuers CertificatePermissions = original.Manageissuers
Purge CertificatePermissions = original.Purge
Recover CertificatePermissions = original.Recover
Setissuers CertificatePermissions = original.Setissuers
Update CertificatePermissions = original.Update
)
type CreateMode = original.CreateMode
const (
CreateModeDefault CreateMode = original.CreateModeDefault
CreateModeRecover CreateMode = original.CreateModeRecover
)
type KeyPermissions = original.KeyPermissions
const (
KeyPermissionsBackup KeyPermissions = original.KeyPermissionsBackup
KeyPermissionsCreate KeyPermissions = original.KeyPermissionsCreate
KeyPermissionsDecrypt KeyPermissions = original.KeyPermissionsDecrypt
KeyPermissionsDelete KeyPermissions = original.KeyPermissionsDelete
KeyPermissionsEncrypt KeyPermissions = original.KeyPermissionsEncrypt
KeyPermissionsGet KeyPermissions = original.KeyPermissionsGet
KeyPermissionsImport KeyPermissions = original.KeyPermissionsImport
KeyPermissionsList KeyPermissions = original.KeyPermissionsList
KeyPermissionsPurge KeyPermissions = original.KeyPermissionsPurge
KeyPermissionsRecover KeyPermissions = original.KeyPermissionsRecover
KeyPermissionsRestore KeyPermissions = original.KeyPermissionsRestore
KeyPermissionsSign KeyPermissions = original.KeyPermissionsSign
KeyPermissionsUnwrapKey KeyPermissions = original.KeyPermissionsUnwrapKey
KeyPermissionsUpdate KeyPermissions = original.KeyPermissionsUpdate
KeyPermissionsVerify KeyPermissions = original.KeyPermissionsVerify
KeyPermissionsWrapKey KeyPermissions = original.KeyPermissionsWrapKey
)
type Reason = original.Reason
const (
AccountNameInvalid Reason = original.AccountNameInvalid
AlreadyExists Reason = original.AlreadyExists
)
type SecretPermissions = original.SecretPermissions
const (
SecretPermissionsBackup SecretPermissions = original.SecretPermissionsBackup
SecretPermissionsDelete SecretPermissions = original.SecretPermissionsDelete
SecretPermissionsGet SecretPermissions = original.SecretPermissionsGet
SecretPermissionsList SecretPermissions = original.SecretPermissionsList
SecretPermissionsPurge SecretPermissions = original.SecretPermissionsPurge
SecretPermissionsRecover SecretPermissions = original.SecretPermissionsRecover
SecretPermissionsRestore SecretPermissions = original.SecretPermissionsRestore
SecretPermissionsSet SecretPermissions = original.SecretPermissionsSet
)
type SkuName = original.SkuName
const (
Premium SkuName = original.Premium
Standard SkuName = original.Standard
)
type StoragePermissions = original.StoragePermissions
const (
StoragePermissionsBackup StoragePermissions = original.StoragePermissionsBackup
StoragePermissionsDelete StoragePermissions = original.StoragePermissionsDelete
StoragePermissionsDeletesas StoragePermissions = original.StoragePermissionsDeletesas
StoragePermissionsGet StoragePermissions = original.StoragePermissionsGet
StoragePermissionsGetsas StoragePermissions = original.StoragePermissionsGetsas
StoragePermissionsList StoragePermissions = original.StoragePermissionsList
StoragePermissionsListsas StoragePermissions = original.StoragePermissionsListsas
StoragePermissionsPurge StoragePermissions = original.StoragePermissionsPurge
StoragePermissionsRecover StoragePermissions = original.StoragePermissionsRecover
StoragePermissionsRegeneratekey StoragePermissions = original.StoragePermissionsRegeneratekey
StoragePermissionsRestore StoragePermissions = original.StoragePermissionsRestore
StoragePermissionsSet StoragePermissions = original.StoragePermissionsSet
StoragePermissionsSetsas StoragePermissions = original.StoragePermissionsSetsas
StoragePermissionsUpdate StoragePermissions = original.StoragePermissionsUpdate
)
type AccessPolicyEntry = original.AccessPolicyEntry
type BaseClient = original.BaseClient
type CheckNameAvailabilityResult = original.CheckNameAvailabilityResult
type DeletedVault = original.DeletedVault
type DeletedVaultListResult = original.DeletedVaultListResult
type DeletedVaultListResultIterator = original.DeletedVaultListResultIterator
type DeletedVaultListResultPage = original.DeletedVaultListResultPage
type DeletedVaultProperties = original.DeletedVaultProperties
type LogSpecification = original.LogSpecification
type Operation = original.Operation
type OperationDisplay = original.OperationDisplay
type OperationListResult = original.OperationListResult
type OperationListResultIterator = original.OperationListResultIterator
type OperationListResultPage = original.OperationListResultPage
type OperationProperties = original.OperationProperties
type OperationsClient = original.OperationsClient
type Permissions = original.Permissions
type Resource = original.Resource
type ResourceListResult = original.ResourceListResult
type ResourceListResultIterator = original.ResourceListResultIterator
type ResourceListResultPage = original.ResourceListResultPage
type ServiceSpecification = original.ServiceSpecification
type Sku = original.Sku
type Vault = original.Vault
type VaultAccessPolicyParameters = original.VaultAccessPolicyParameters
type VaultAccessPolicyProperties = original.VaultAccessPolicyProperties
type VaultCheckNameAvailabilityParameters = original.VaultCheckNameAvailabilityParameters
type VaultCreateOrUpdateParameters = original.VaultCreateOrUpdateParameters
type VaultListResult = original.VaultListResult
type VaultListResultIterator = original.VaultListResultIterator
type VaultListResultPage = original.VaultListResultPage
type VaultPatchParameters = original.VaultPatchParameters
type VaultPatchProperties = original.VaultPatchProperties
type VaultProperties = original.VaultProperties
type VaultsClient = original.VaultsClient
type VaultsPurgeDeletedFuture = original.VaultsPurgeDeletedFuture
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewDeletedVaultListResultIterator(page DeletedVaultListResultPage) DeletedVaultListResultIterator {
return original.NewDeletedVaultListResultIterator(page)
}
func NewDeletedVaultListResultPage(getNextPage func(context.Context, DeletedVaultListResult) (DeletedVaultListResult, error)) DeletedVaultListResultPage {
return original.NewDeletedVaultListResultPage(getNextPage)
}
func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator {
return original.NewOperationListResultIterator(page)
}
func NewOperationListResultPage(getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage {
return original.NewOperationListResultPage(getNextPage)
}
func NewOperationsClient(subscriptionID string) OperationsClient {
return original.NewOperationsClient(subscriptionID)
}
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewResourceListResultIterator(page ResourceListResultPage) ResourceListResultIterator {
return original.NewResourceListResultIterator(page)
}
func NewResourceListResultPage(getNextPage func(context.Context, ResourceListResult) (ResourceListResult, error)) ResourceListResultPage {
return original.NewResourceListResultPage(getNextPage)
}
func NewVaultListResultIterator(page VaultListResultPage) VaultListResultIterator {
return original.NewVaultListResultIterator(page)
}
func NewVaultListResultPage(getNextPage func(context.Context, VaultListResult) (VaultListResult, error)) VaultListResultPage {
return original.NewVaultListResultPage(getNextPage)
}
func NewVaultsClient(subscriptionID string) VaultsClient {
return original.NewVaultsClient(subscriptionID)
}
func NewVaultsClientWithBaseURI(baseURI string, subscriptionID string) VaultsClient {
return original.NewVaultsClientWithBaseURI(baseURI, subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func PossibleAccessPolicyUpdateKindValues() []AccessPolicyUpdateKind {
return original.PossibleAccessPolicyUpdateKindValues()
}
func PossibleCertificatePermissionsValues() []CertificatePermissions {
return original.PossibleCertificatePermissionsValues()
}
func PossibleCreateModeValues() []CreateMode {
return original.PossibleCreateModeValues()
}
func PossibleKeyPermissionsValues() []KeyPermissions {
return original.PossibleKeyPermissionsValues()
}
func PossibleReasonValues() []Reason {
return original.PossibleReasonValues()
}
func PossibleSecretPermissionsValues() []SecretPermissions {
return original.PossibleSecretPermissionsValues()
}
func PossibleSkuNameValues() []SkuName {
return original.PossibleSkuNameValues()
}
func PossibleStoragePermissionsValues() []StoragePermissions {
return original.PossibleStoragePermissionsValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/2018-03-01"
}
func Version() string {
return original.Version()
}

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,61 @@
// +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 networkapi
import original "github.com/Azure/azure-sdk-for-go/services/network/mgmt/2017-10-01/network/networkapi"
type ApplicationGatewaysClientAPI = original.ApplicationGatewaysClientAPI
type ApplicationSecurityGroupsClientAPI = original.ApplicationSecurityGroupsClientAPI
type AvailableEndpointServicesClientAPI = original.AvailableEndpointServicesClientAPI
type BaseClientAPI = original.BaseClientAPI
type BgpServiceCommunitiesClientAPI = original.BgpServiceCommunitiesClientAPI
type ConnectionMonitorsClientAPI = original.ConnectionMonitorsClientAPI
type DefaultSecurityRulesClientAPI = original.DefaultSecurityRulesClientAPI
type ExpressRouteCircuitAuthorizationsClientAPI = original.ExpressRouteCircuitAuthorizationsClientAPI
type ExpressRouteCircuitPeeringsClientAPI = original.ExpressRouteCircuitPeeringsClientAPI
type ExpressRouteCircuitsClientAPI = original.ExpressRouteCircuitsClientAPI
type ExpressRouteServiceProvidersClientAPI = original.ExpressRouteServiceProvidersClientAPI
type InboundNatRulesClientAPI = original.InboundNatRulesClientAPI
type InterfaceIPConfigurationsClientAPI = original.InterfaceIPConfigurationsClientAPI
type InterfaceLoadBalancersClientAPI = original.InterfaceLoadBalancersClientAPI
type InterfacesClientAPI = original.InterfacesClientAPI
type LoadBalancerBackendAddressPoolsClientAPI = original.LoadBalancerBackendAddressPoolsClientAPI
type LoadBalancerFrontendIPConfigurationsClientAPI = original.LoadBalancerFrontendIPConfigurationsClientAPI
type LoadBalancerLoadBalancingRulesClientAPI = original.LoadBalancerLoadBalancingRulesClientAPI
type LoadBalancerNetworkInterfacesClientAPI = original.LoadBalancerNetworkInterfacesClientAPI
type LoadBalancerProbesClientAPI = original.LoadBalancerProbesClientAPI
type LoadBalancersClientAPI = original.LoadBalancersClientAPI
type LocalNetworkGatewaysClientAPI = original.LocalNetworkGatewaysClientAPI
type OperationsClientAPI = original.OperationsClientAPI
type PacketCapturesClientAPI = original.PacketCapturesClientAPI
type PublicIPAddressesClientAPI = original.PublicIPAddressesClientAPI
type RouteFilterRulesClientAPI = original.RouteFilterRulesClientAPI
type RouteFiltersClientAPI = original.RouteFiltersClientAPI
type RouteTablesClientAPI = original.RouteTablesClientAPI
type RoutesClientAPI = original.RoutesClientAPI
type SecurityGroupsClientAPI = original.SecurityGroupsClientAPI
type SecurityRulesClientAPI = original.SecurityRulesClientAPI
type SubnetsClientAPI = original.SubnetsClientAPI
type UsagesClientAPI = original.UsagesClientAPI
type VirtualNetworkGatewayConnectionsClientAPI = original.VirtualNetworkGatewayConnectionsClientAPI
type VirtualNetworkGatewaysClientAPI = original.VirtualNetworkGatewaysClientAPI
type VirtualNetworkPeeringsClientAPI = original.VirtualNetworkPeeringsClientAPI
type VirtualNetworksClientAPI = original.VirtualNetworksClientAPI
type WatchersClientAPI = original.WatchersClientAPI

View file

@ -0,0 +1,25 @@
// +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 linksapi
import original "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-09-01/links/linksapi"
type OperationsClientAPI = original.OperationsClientAPI
type ResourceLinksClientAPI = original.ResourceLinksClientAPI

View file

@ -0,0 +1,91 @@
// +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 links
import (
"context"
original "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-09-01/links"
)
const (
DefaultBaseURI = original.DefaultBaseURI
)
type Filter = original.Filter
const (
AtScope Filter = original.AtScope
)
type BaseClient = original.BaseClient
type Operation = original.Operation
type OperationDisplay = original.OperationDisplay
type OperationListResult = original.OperationListResult
type OperationListResultIterator = original.OperationListResultIterator
type OperationListResultPage = original.OperationListResultPage
type OperationsClient = original.OperationsClient
type ResourceLink = original.ResourceLink
type ResourceLinkFilter = original.ResourceLinkFilter
type ResourceLinkProperties = original.ResourceLinkProperties
type ResourceLinkResult = original.ResourceLinkResult
type ResourceLinkResultIterator = original.ResourceLinkResultIterator
type ResourceLinkResultPage = original.ResourceLinkResultPage
type ResourceLinksClient = original.ResourceLinksClient
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator {
return original.NewOperationListResultIterator(page)
}
func NewOperationListResultPage(getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage {
return original.NewOperationListResultPage(getNextPage)
}
func NewOperationsClient(subscriptionID string) OperationsClient {
return original.NewOperationsClient(subscriptionID)
}
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewResourceLinkResultIterator(page ResourceLinkResultPage) ResourceLinkResultIterator {
return original.NewResourceLinkResultIterator(page)
}
func NewResourceLinkResultPage(getNextPage func(context.Context, ResourceLinkResult) (ResourceLinkResult, error)) ResourceLinkResultPage {
return original.NewResourceLinkResultPage(getNextPage)
}
func NewResourceLinksClient(subscriptionID string) ResourceLinksClient {
return original.NewResourceLinksClient(subscriptionID)
}
func NewResourceLinksClientWithBaseURI(baseURI string, subscriptionID string) ResourceLinksClient {
return original.NewResourceLinksClientWithBaseURI(baseURI, subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func PossibleFilterValues() []Filter {
return original.PossibleFilterValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/2018-03-01"
}
func Version() string {
return original.Version()
}

View file

@ -0,0 +1,25 @@
// +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 locksapi
import original "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-09-01/locks/locksapi"
type AuthorizationOperationsClientAPI = original.AuthorizationOperationsClientAPI
type ManagementLocksClientAPI = original.ManagementLocksClientAPI

View file

@ -0,0 +1,93 @@
// +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 locks
import (
"context"
original "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-09-01/locks"
)
const (
DefaultBaseURI = original.DefaultBaseURI
)
type LockLevel = original.LockLevel
const (
CanNotDelete LockLevel = original.CanNotDelete
NotSpecified LockLevel = original.NotSpecified
ReadOnly LockLevel = original.ReadOnly
)
type AuthorizationOperationsClient = original.AuthorizationOperationsClient
type BaseClient = original.BaseClient
type ManagementLockListResult = original.ManagementLockListResult
type ManagementLockListResultIterator = original.ManagementLockListResultIterator
type ManagementLockListResultPage = original.ManagementLockListResultPage
type ManagementLockObject = original.ManagementLockObject
type ManagementLockOwner = original.ManagementLockOwner
type ManagementLockProperties = original.ManagementLockProperties
type ManagementLocksClient = original.ManagementLocksClient
type Operation = original.Operation
type OperationDisplay = original.OperationDisplay
type OperationListResult = original.OperationListResult
type OperationListResultIterator = original.OperationListResultIterator
type OperationListResultPage = original.OperationListResultPage
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewAuthorizationOperationsClient(subscriptionID string) AuthorizationOperationsClient {
return original.NewAuthorizationOperationsClient(subscriptionID)
}
func NewAuthorizationOperationsClientWithBaseURI(baseURI string, subscriptionID string) AuthorizationOperationsClient {
return original.NewAuthorizationOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewManagementLockListResultIterator(page ManagementLockListResultPage) ManagementLockListResultIterator {
return original.NewManagementLockListResultIterator(page)
}
func NewManagementLockListResultPage(getNextPage func(context.Context, ManagementLockListResult) (ManagementLockListResult, error)) ManagementLockListResultPage {
return original.NewManagementLockListResultPage(getNextPage)
}
func NewManagementLocksClient(subscriptionID string) ManagementLocksClient {
return original.NewManagementLocksClient(subscriptionID)
}
func NewManagementLocksClientWithBaseURI(baseURI string, subscriptionID string) ManagementLocksClient {
return original.NewManagementLocksClientWithBaseURI(baseURI, subscriptionID)
}
func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator {
return original.NewOperationListResultIterator(page)
}
func NewOperationListResultPage(getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage {
return original.NewOperationListResultPage(getNextPage)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func PossibleLockLevelValues() []LockLevel {
return original.PossibleLockLevelValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/2018-03-01"
}
func Version() string {
return original.Version()
}

View file

@ -0,0 +1,103 @@
// +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 policy
import (
"context"
original "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-12-01/policy"
)
const (
DefaultBaseURI = original.DefaultBaseURI
)
type Mode = original.Mode
const (
All Mode = original.All
Indexed Mode = original.Indexed
NotSpecified Mode = original.NotSpecified
)
type Type = original.Type
const (
TypeBuiltIn Type = original.TypeBuiltIn
TypeCustom Type = original.TypeCustom
TypeNotSpecified Type = original.TypeNotSpecified
)
type Assignment = original.Assignment
type AssignmentListResult = original.AssignmentListResult
type AssignmentListResultIterator = original.AssignmentListResultIterator
type AssignmentListResultPage = original.AssignmentListResultPage
type AssignmentProperties = original.AssignmentProperties
type AssignmentsClient = original.AssignmentsClient
type BaseClient = original.BaseClient
type Definition = original.Definition
type DefinitionListResult = original.DefinitionListResult
type DefinitionListResultIterator = original.DefinitionListResultIterator
type DefinitionListResultPage = original.DefinitionListResultPage
type DefinitionProperties = original.DefinitionProperties
type DefinitionsClient = original.DefinitionsClient
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewAssignmentListResultIterator(page AssignmentListResultPage) AssignmentListResultIterator {
return original.NewAssignmentListResultIterator(page)
}
func NewAssignmentListResultPage(getNextPage func(context.Context, AssignmentListResult) (AssignmentListResult, error)) AssignmentListResultPage {
return original.NewAssignmentListResultPage(getNextPage)
}
func NewAssignmentsClient(subscriptionID string) AssignmentsClient {
return original.NewAssignmentsClient(subscriptionID)
}
func NewAssignmentsClientWithBaseURI(baseURI string, subscriptionID string) AssignmentsClient {
return original.NewAssignmentsClientWithBaseURI(baseURI, subscriptionID)
}
func NewDefinitionListResultIterator(page DefinitionListResultPage) DefinitionListResultIterator {
return original.NewDefinitionListResultIterator(page)
}
func NewDefinitionListResultPage(getNextPage func(context.Context, DefinitionListResult) (DefinitionListResult, error)) DefinitionListResultPage {
return original.NewDefinitionListResultPage(getNextPage)
}
func NewDefinitionsClient(subscriptionID string) DefinitionsClient {
return original.NewDefinitionsClient(subscriptionID)
}
func NewDefinitionsClientWithBaseURI(baseURI string, subscriptionID string) DefinitionsClient {
return original.NewDefinitionsClientWithBaseURI(baseURI, subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func PossibleModeValues() []Mode {
return original.PossibleModeValues()
}
func PossibleTypeValues() []Type {
return original.PossibleTypeValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/2018-03-01"
}
func Version() string {
return original.Version()
}

View file

@ -0,0 +1,25 @@
// +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 policyapi
import original "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-12-01/policy/policyapi"
type AssignmentsClientAPI = original.AssignmentsClientAPI
type DefinitionsClientAPI = original.DefinitionsClientAPI

View file

@ -0,0 +1,225 @@
// +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 resources
import (
"context"
original "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-02-01/resources"
)
const (
DefaultBaseURI = original.DefaultBaseURI
)
type DeploymentMode = original.DeploymentMode
const (
Complete DeploymentMode = original.Complete
Incremental DeploymentMode = original.Incremental
)
type OnErrorDeploymentType = original.OnErrorDeploymentType
const (
LastSuccessful OnErrorDeploymentType = original.LastSuccessful
SpecificDeployment OnErrorDeploymentType = original.SpecificDeployment
)
type ResourceIdentityType = original.ResourceIdentityType
const (
None ResourceIdentityType = original.None
SystemAssigned ResourceIdentityType = original.SystemAssigned
SystemAssignedUserAssigned ResourceIdentityType = original.SystemAssignedUserAssigned
UserAssigned ResourceIdentityType = original.UserAssigned
)
type AliasPathType = original.AliasPathType
type AliasType = original.AliasType
type BaseClient = original.BaseClient
type BasicDependency = original.BasicDependency
type Client = original.Client
type CreateOrUpdateByIDFuture = original.CreateOrUpdateByIDFuture
type CreateOrUpdateFuture = original.CreateOrUpdateFuture
type DebugSetting = original.DebugSetting
type DeleteByIDFuture = original.DeleteByIDFuture
type DeleteFuture = original.DeleteFuture
type Dependency = original.Dependency
type Deployment = original.Deployment
type DeploymentExportResult = original.DeploymentExportResult
type DeploymentExtended = original.DeploymentExtended
type DeploymentExtendedFilter = original.DeploymentExtendedFilter
type DeploymentListResult = original.DeploymentListResult
type DeploymentListResultIterator = original.DeploymentListResultIterator
type DeploymentListResultPage = original.DeploymentListResultPage
type DeploymentOperation = original.DeploymentOperation
type DeploymentOperationProperties = original.DeploymentOperationProperties
type DeploymentOperationsClient = original.DeploymentOperationsClient
type DeploymentOperationsListResult = original.DeploymentOperationsListResult
type DeploymentOperationsListResultIterator = original.DeploymentOperationsListResultIterator
type DeploymentOperationsListResultPage = original.DeploymentOperationsListResultPage
type DeploymentProperties = original.DeploymentProperties
type DeploymentPropertiesExtended = original.DeploymentPropertiesExtended
type DeploymentValidateResult = original.DeploymentValidateResult
type DeploymentsClient = original.DeploymentsClient
type DeploymentsCreateOrUpdateFuture = original.DeploymentsCreateOrUpdateFuture
type DeploymentsDeleteFuture = original.DeploymentsDeleteFuture
type ExportTemplateRequest = original.ExportTemplateRequest
type GenericResource = original.GenericResource
type GenericResourceFilter = original.GenericResourceFilter
type Group = original.Group
type GroupExportResult = original.GroupExportResult
type GroupFilter = original.GroupFilter
type GroupListResult = original.GroupListResult
type GroupListResultIterator = original.GroupListResultIterator
type GroupListResultPage = original.GroupListResultPage
type GroupPatchable = original.GroupPatchable
type GroupProperties = original.GroupProperties
type GroupsClient = original.GroupsClient
type GroupsDeleteFuture = original.GroupsDeleteFuture
type HTTPMessage = original.HTTPMessage
type Identity = original.Identity
type ListResult = original.ListResult
type ListResultIterator = original.ListResultIterator
type ListResultPage = original.ListResultPage
type ManagementErrorWithDetails = original.ManagementErrorWithDetails
type MoveInfo = original.MoveInfo
type MoveResourcesFuture = original.MoveResourcesFuture
type OnErrorDeployment = original.OnErrorDeployment
type OnErrorDeploymentExtended = original.OnErrorDeploymentExtended
type ParametersLink = original.ParametersLink
type Plan = original.Plan
type Provider = original.Provider
type ProviderListResult = original.ProviderListResult
type ProviderListResultIterator = original.ProviderListResultIterator
type ProviderListResultPage = original.ProviderListResultPage
type ProviderOperationDisplayProperties = original.ProviderOperationDisplayProperties
type ProviderResourceType = original.ProviderResourceType
type ProvidersClient = original.ProvidersClient
type Resource = original.Resource
type Sku = original.Sku
type SubResource = original.SubResource
type TagCount = original.TagCount
type TagDetails = original.TagDetails
type TagValue = original.TagValue
type TagsClient = original.TagsClient
type TagsListResult = original.TagsListResult
type TagsListResultIterator = original.TagsListResultIterator
type TagsListResultPage = original.TagsListResultPage
type TargetResource = original.TargetResource
type TemplateLink = original.TemplateLink
type UpdateByIDFuture = original.UpdateByIDFuture
type UpdateFuture = original.UpdateFuture
type ValidateMoveResourcesFuture = original.ValidateMoveResourcesFuture
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewClient(subscriptionID string) Client {
return original.NewClient(subscriptionID)
}
func NewClientWithBaseURI(baseURI string, subscriptionID string) Client {
return original.NewClientWithBaseURI(baseURI, subscriptionID)
}
func NewDeploymentListResultIterator(page DeploymentListResultPage) DeploymentListResultIterator {
return original.NewDeploymentListResultIterator(page)
}
func NewDeploymentListResultPage(getNextPage func(context.Context, DeploymentListResult) (DeploymentListResult, error)) DeploymentListResultPage {
return original.NewDeploymentListResultPage(getNextPage)
}
func NewDeploymentOperationsClient(subscriptionID string) DeploymentOperationsClient {
return original.NewDeploymentOperationsClient(subscriptionID)
}
func NewDeploymentOperationsClientWithBaseURI(baseURI string, subscriptionID string) DeploymentOperationsClient {
return original.NewDeploymentOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewDeploymentOperationsListResultIterator(page DeploymentOperationsListResultPage) DeploymentOperationsListResultIterator {
return original.NewDeploymentOperationsListResultIterator(page)
}
func NewDeploymentOperationsListResultPage(getNextPage func(context.Context, DeploymentOperationsListResult) (DeploymentOperationsListResult, error)) DeploymentOperationsListResultPage {
return original.NewDeploymentOperationsListResultPage(getNextPage)
}
func NewDeploymentsClient(subscriptionID string) DeploymentsClient {
return original.NewDeploymentsClient(subscriptionID)
}
func NewDeploymentsClientWithBaseURI(baseURI string, subscriptionID string) DeploymentsClient {
return original.NewDeploymentsClientWithBaseURI(baseURI, subscriptionID)
}
func NewGroupListResultIterator(page GroupListResultPage) GroupListResultIterator {
return original.NewGroupListResultIterator(page)
}
func NewGroupListResultPage(getNextPage func(context.Context, GroupListResult) (GroupListResult, error)) GroupListResultPage {
return original.NewGroupListResultPage(getNextPage)
}
func NewGroupsClient(subscriptionID string) GroupsClient {
return original.NewGroupsClient(subscriptionID)
}
func NewGroupsClientWithBaseURI(baseURI string, subscriptionID string) GroupsClient {
return original.NewGroupsClientWithBaseURI(baseURI, subscriptionID)
}
func NewListResultIterator(page ListResultPage) ListResultIterator {
return original.NewListResultIterator(page)
}
func NewListResultPage(getNextPage func(context.Context, ListResult) (ListResult, error)) ListResultPage {
return original.NewListResultPage(getNextPage)
}
func NewProviderListResultIterator(page ProviderListResultPage) ProviderListResultIterator {
return original.NewProviderListResultIterator(page)
}
func NewProviderListResultPage(getNextPage func(context.Context, ProviderListResult) (ProviderListResult, error)) ProviderListResultPage {
return original.NewProviderListResultPage(getNextPage)
}
func NewProvidersClient(subscriptionID string) ProvidersClient {
return original.NewProvidersClient(subscriptionID)
}
func NewProvidersClientWithBaseURI(baseURI string, subscriptionID string) ProvidersClient {
return original.NewProvidersClientWithBaseURI(baseURI, subscriptionID)
}
func NewTagsClient(subscriptionID string) TagsClient {
return original.NewTagsClient(subscriptionID)
}
func NewTagsClientWithBaseURI(baseURI string, subscriptionID string) TagsClient {
return original.NewTagsClientWithBaseURI(baseURI, subscriptionID)
}
func NewTagsListResultIterator(page TagsListResultPage) TagsListResultIterator {
return original.NewTagsListResultIterator(page)
}
func NewTagsListResultPage(getNextPage func(context.Context, TagsListResult) (TagsListResult, error)) TagsListResultPage {
return original.NewTagsListResultPage(getNextPage)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func PossibleDeploymentModeValues() []DeploymentMode {
return original.PossibleDeploymentModeValues()
}
func PossibleOnErrorDeploymentTypeValues() []OnErrorDeploymentType {
return original.PossibleOnErrorDeploymentTypeValues()
}
func PossibleResourceIdentityTypeValues() []ResourceIdentityType {
return original.PossibleResourceIdentityTypeValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/2018-03-01"
}
func Version() string {
return original.Version()
}

View file

@ -0,0 +1,29 @@
// +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 resourcesapi
import original "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2018-02-01/resources/resourcesapi"
type ClientAPI = original.ClientAPI
type DeploymentOperationsClientAPI = original.DeploymentOperationsClientAPI
type DeploymentsClientAPI = original.DeploymentsClientAPI
type GroupsClientAPI = original.GroupsClientAPI
type ProvidersClientAPI = original.ProvidersClientAPI
type TagsClientAPI = original.TagsClientAPI

View file

@ -0,0 +1,124 @@
// +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 subscriptions
import (
"context"
original "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-06-01/subscriptions"
)
const (
DefaultBaseURI = original.DefaultBaseURI
)
type SpendingLimit = original.SpendingLimit
const (
CurrentPeriodOff SpendingLimit = original.CurrentPeriodOff
Off SpendingLimit = original.Off
On SpendingLimit = original.On
)
type State = original.State
const (
Deleted State = original.Deleted
Disabled State = original.Disabled
Enabled State = original.Enabled
PastDue State = original.PastDue
Warned State = original.Warned
)
type BaseClient = original.BaseClient
type Client = original.Client
type ListResult = original.ListResult
type ListResultIterator = original.ListResultIterator
type ListResultPage = original.ListResultPage
type Location = original.Location
type LocationListResult = original.LocationListResult
type Operation = original.Operation
type OperationDisplay = original.OperationDisplay
type OperationListResult = original.OperationListResult
type OperationListResultIterator = original.OperationListResultIterator
type OperationListResultPage = original.OperationListResultPage
type OperationsClient = original.OperationsClient
type Policies = original.Policies
type Subscription = original.Subscription
type TenantIDDescription = original.TenantIDDescription
type TenantListResult = original.TenantListResult
type TenantListResultIterator = original.TenantListResultIterator
type TenantListResultPage = original.TenantListResultPage
type TenantsClient = original.TenantsClient
func New() BaseClient {
return original.New()
}
func NewClient() Client {
return original.NewClient()
}
func NewClientWithBaseURI(baseURI string) Client {
return original.NewClientWithBaseURI(baseURI)
}
func NewListResultIterator(page ListResultPage) ListResultIterator {
return original.NewListResultIterator(page)
}
func NewListResultPage(getNextPage func(context.Context, ListResult) (ListResult, error)) ListResultPage {
return original.NewListResultPage(getNextPage)
}
func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator {
return original.NewOperationListResultIterator(page)
}
func NewOperationListResultPage(getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage {
return original.NewOperationListResultPage(getNextPage)
}
func NewOperationsClient() OperationsClient {
return original.NewOperationsClient()
}
func NewOperationsClientWithBaseURI(baseURI string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI)
}
func NewTenantListResultIterator(page TenantListResultPage) TenantListResultIterator {
return original.NewTenantListResultIterator(page)
}
func NewTenantListResultPage(getNextPage func(context.Context, TenantListResult) (TenantListResult, error)) TenantListResultPage {
return original.NewTenantListResultPage(getNextPage)
}
func NewTenantsClient() TenantsClient {
return original.NewTenantsClient()
}
func NewTenantsClientWithBaseURI(baseURI string) TenantsClient {
return original.NewTenantsClientWithBaseURI(baseURI)
}
func NewWithBaseURI(baseURI string) BaseClient {
return original.NewWithBaseURI(baseURI)
}
func PossibleSpendingLimitValues() []SpendingLimit {
return original.PossibleSpendingLimitValues()
}
func PossibleStateValues() []State {
return original.PossibleStateValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/2018-03-01"
}
func Version() string {
return original.Version()
}

View file

@ -0,0 +1,26 @@
// +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 subscriptionsapi
import original "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-06-01/subscriptions/subscriptionsapi"
type ClientAPI = original.ClientAPI
type OperationsClientAPI = original.OperationsClientAPI
type TenantsClientAPI = original.TenantsClientAPI

View file

@ -0,0 +1,176 @@
// +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 storage
import original "github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2016-01-01/storage"
const (
DefaultBaseURI = original.DefaultBaseURI
)
type AccessTier = original.AccessTier
const (
Cool AccessTier = original.Cool
Hot AccessTier = original.Hot
)
type AccountStatus = original.AccountStatus
const (
Available AccountStatus = original.Available
Unavailable AccountStatus = original.Unavailable
)
type KeyPermission = original.KeyPermission
const (
FULL KeyPermission = original.FULL
READ KeyPermission = original.READ
)
type Kind = original.Kind
const (
BlobStorage Kind = original.BlobStorage
Storage Kind = original.Storage
)
type ProvisioningState = original.ProvisioningState
const (
Creating ProvisioningState = original.Creating
ResolvingDNS ProvisioningState = original.ResolvingDNS
Succeeded ProvisioningState = original.Succeeded
)
type Reason = original.Reason
const (
AccountNameInvalid Reason = original.AccountNameInvalid
AlreadyExists Reason = original.AlreadyExists
)
type SkuName = original.SkuName
const (
PremiumLRS SkuName = original.PremiumLRS
StandardGRS SkuName = original.StandardGRS
StandardLRS SkuName = original.StandardLRS
StandardRAGRS SkuName = original.StandardRAGRS
StandardZRS SkuName = original.StandardZRS
)
type SkuTier = original.SkuTier
const (
Premium SkuTier = original.Premium
Standard SkuTier = original.Standard
)
type UsageUnit = original.UsageUnit
const (
Bytes UsageUnit = original.Bytes
BytesPerSecond UsageUnit = original.BytesPerSecond
Count UsageUnit = original.Count
CountsPerSecond UsageUnit = original.CountsPerSecond
Percent UsageUnit = original.Percent
Seconds UsageUnit = original.Seconds
)
type Account = original.Account
type AccountCheckNameAvailabilityParameters = original.AccountCheckNameAvailabilityParameters
type AccountCreateParameters = original.AccountCreateParameters
type AccountKey = original.AccountKey
type AccountListKeysResult = original.AccountListKeysResult
type AccountListResult = original.AccountListResult
type AccountProperties = original.AccountProperties
type AccountPropertiesCreateParameters = original.AccountPropertiesCreateParameters
type AccountPropertiesUpdateParameters = original.AccountPropertiesUpdateParameters
type AccountRegenerateKeyParameters = original.AccountRegenerateKeyParameters
type AccountUpdateParameters = original.AccountUpdateParameters
type AccountsClient = original.AccountsClient
type AccountsCreateFuture = original.AccountsCreateFuture
type BaseClient = original.BaseClient
type CheckNameAvailabilityResult = original.CheckNameAvailabilityResult
type CustomDomain = original.CustomDomain
type Encryption = original.Encryption
type EncryptionService = original.EncryptionService
type EncryptionServices = original.EncryptionServices
type Endpoints = original.Endpoints
type Resource = original.Resource
type Sku = original.Sku
type Usage = original.Usage
type UsageClient = original.UsageClient
type UsageListResult = original.UsageListResult
type UsageName = original.UsageName
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewAccountsClient(subscriptionID string) AccountsClient {
return original.NewAccountsClient(subscriptionID)
}
func NewAccountsClientWithBaseURI(baseURI string, subscriptionID string) AccountsClient {
return original.NewAccountsClientWithBaseURI(baseURI, subscriptionID)
}
func NewUsageClient(subscriptionID string) UsageClient {
return original.NewUsageClient(subscriptionID)
}
func NewUsageClientWithBaseURI(baseURI string, subscriptionID string) UsageClient {
return original.NewUsageClientWithBaseURI(baseURI, subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func PossibleAccessTierValues() []AccessTier {
return original.PossibleAccessTierValues()
}
func PossibleAccountStatusValues() []AccountStatus {
return original.PossibleAccountStatusValues()
}
func PossibleKeyPermissionValues() []KeyPermission {
return original.PossibleKeyPermissionValues()
}
func PossibleKindValues() []Kind {
return original.PossibleKindValues()
}
func PossibleProvisioningStateValues() []ProvisioningState {
return original.PossibleProvisioningStateValues()
}
func PossibleReasonValues() []Reason {
return original.PossibleReasonValues()
}
func PossibleSkuNameValues() []SkuName {
return original.PossibleSkuNameValues()
}
func PossibleSkuTierValues() []SkuTier {
return original.PossibleSkuTierValues()
}
func PossibleUsageUnitValues() []UsageUnit {
return original.PossibleUsageUnitValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/2018-03-01"
}
func Version() string {
return original.Version()
}

View file

@ -0,0 +1,25 @@
// +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 storageapi
import original "github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2016-01-01/storage/storageapi"
type AccountsClientAPI = original.AccountsClientAPI
type UsageClientAPI = original.UsageClientAPI

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,39 @@
// +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 webapi
import original "github.com/Azure/azure-sdk-for-go/services/web/mgmt/2016-09-01/web/webapi"
type AppServiceCertificateOrdersClientAPI = original.AppServiceCertificateOrdersClientAPI
type AppServiceEnvironmentsClientAPI = original.AppServiceEnvironmentsClientAPI
type AppServicePlansClientAPI = original.AppServicePlansClientAPI
type AppsClientAPI = original.AppsClientAPI
type BaseClientAPI = original.BaseClientAPI
type BillingMetersClientAPI = original.BillingMetersClientAPI
type CertificateRegistrationProviderClientAPI = original.CertificateRegistrationProviderClientAPI
type CertificatesClientAPI = original.CertificatesClientAPI
type DeletedWebAppsClientAPI = original.DeletedWebAppsClientAPI
type DiagnosticsClientAPI = original.DiagnosticsClientAPI
type DomainRegistrationProviderClientAPI = original.DomainRegistrationProviderClientAPI
type DomainsClientAPI = original.DomainsClientAPI
type ProviderClientAPI = original.ProviderClientAPI
type RecommendationsClientAPI = original.RecommendationsClientAPI
type ResourceHealthMetadataClientAPI = original.ResourceHealthMetadataClientAPI
type TopLevelDomainsClientAPI = original.TopLevelDomainsClientAPI

View file

@ -0,0 +1,20 @@
// 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.
package profiles
//go:generate go generate ./2017-03-09/generate.go
//go:generate go generate ./2018-03-01/generate.go
//go:generate go generate ./latest/generate.go
//go:generate go generate ./preview/generate.go

View file

@ -0,0 +1,38 @@
// +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 adhybridhealthserviceapi
import original "github.com/Azure/azure-sdk-for-go/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice/adhybridhealthserviceapi"
type AdDomainServiceMembersClientAPI = original.AdDomainServiceMembersClientAPI
type AddsServiceClientAPI = original.AddsServiceClientAPI
type AddsServiceMembersClientAPI = original.AddsServiceMembersClientAPI
type AddsServicesClientAPI = original.AddsServicesClientAPI
type AddsServicesReplicationStatusClientAPI = original.AddsServicesReplicationStatusClientAPI
type AddsServicesServiceMembersClientAPI = original.AddsServicesServiceMembersClientAPI
type AddsServicesUserPreferenceClientAPI = original.AddsServicesUserPreferenceClientAPI
type AlertsClientAPI = original.AlertsClientAPI
type ConfigurationClientAPI = original.ConfigurationClientAPI
type DimensionsClientAPI = original.DimensionsClientAPI
type OperationsClientAPI = original.OperationsClientAPI
type ReportsClientAPI = original.ReportsClientAPI
type ServiceClientAPI = original.ServiceClientAPI
type ServiceMembersClientAPI = original.ServiceMembersClientAPI
type ServicesClientAPI = original.ServicesClientAPI

View file

@ -0,0 +1,463 @@
// +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 adhybridhealthservice
import (
"context"
original "github.com/Azure/azure-sdk-for-go/services/adhybridhealthservice/mgmt/2014-01-01/adhybridhealthservice"
)
const (
DefaultBaseURI = original.DefaultBaseURI
)
type AlgorithmStepType = original.AlgorithmStepType
const (
ConnectorFilter AlgorithmStepType = original.ConnectorFilter
Deprovisioning AlgorithmStepType = original.Deprovisioning
ExportFlow AlgorithmStepType = original.ExportFlow
ImportFlow AlgorithmStepType = original.ImportFlow
Join AlgorithmStepType = original.Join
MvDeletion AlgorithmStepType = original.MvDeletion
MvObjectTypeChange AlgorithmStepType = original.MvObjectTypeChange
Projection AlgorithmStepType = original.Projection
Provisioning AlgorithmStepType = original.Provisioning
Recall AlgorithmStepType = original.Recall
Staging AlgorithmStepType = original.Staging
Undefined AlgorithmStepType = original.Undefined
ValidateConnectorFilter AlgorithmStepType = original.ValidateConnectorFilter
)
type AttributeDeltaOperationType = original.AttributeDeltaOperationType
const (
AttributeDeltaOperationTypeAdd AttributeDeltaOperationType = original.AttributeDeltaOperationTypeAdd
AttributeDeltaOperationTypeDelete AttributeDeltaOperationType = original.AttributeDeltaOperationTypeDelete
AttributeDeltaOperationTypeReplace AttributeDeltaOperationType = original.AttributeDeltaOperationTypeReplace
AttributeDeltaOperationTypeUndefined AttributeDeltaOperationType = original.AttributeDeltaOperationTypeUndefined
AttributeDeltaOperationTypeUpdate AttributeDeltaOperationType = original.AttributeDeltaOperationTypeUpdate
)
type AttributeMappingType = original.AttributeMappingType
const (
Constant AttributeMappingType = original.Constant
Direct AttributeMappingType = original.Direct
DnPart AttributeMappingType = original.DnPart
Script AttributeMappingType = original.Script
)
type DeltaOperationType = original.DeltaOperationType
const (
DeltaOperationTypeAdd DeltaOperationType = original.DeltaOperationTypeAdd
DeltaOperationTypeDeletAdd DeltaOperationType = original.DeltaOperationTypeDeletAdd
DeltaOperationTypeDelete DeltaOperationType = original.DeltaOperationTypeDelete
DeltaOperationTypeNone DeltaOperationType = original.DeltaOperationTypeNone
DeltaOperationTypeObsolete DeltaOperationType = original.DeltaOperationTypeObsolete
DeltaOperationTypeReplace DeltaOperationType = original.DeltaOperationTypeReplace
DeltaOperationTypeUndefined DeltaOperationType = original.DeltaOperationTypeUndefined
DeltaOperationTypeUpdate DeltaOperationType = original.DeltaOperationTypeUpdate
)
type HealthStatus = original.HealthStatus
const (
Error HealthStatus = original.Error
Healthy HealthStatus = original.Healthy
Missing HealthStatus = original.Missing
NotMonitored HealthStatus = original.NotMonitored
Warning HealthStatus = original.Warning
)
type Level = original.Level
const (
LevelError Level = original.LevelError
LevelPreWarning Level = original.LevelPreWarning
LevelWarning Level = original.LevelWarning
)
type MonitoringLevel = original.MonitoringLevel
const (
Full MonitoringLevel = original.Full
Off MonitoringLevel = original.Off
Partial MonitoringLevel = original.Partial
)
type PasswordOperationTypes = original.PasswordOperationTypes
const (
PasswordOperationTypesChange PasswordOperationTypes = original.PasswordOperationTypesChange
PasswordOperationTypesSet PasswordOperationTypes = original.PasswordOperationTypesSet
PasswordOperationTypesUndefined PasswordOperationTypes = original.PasswordOperationTypesUndefined
)
type State = original.State
const (
Active State = original.Active
ResolvedByPositiveResult State = original.ResolvedByPositiveResult
ResolvedByStateChange State = original.ResolvedByStateChange
ResolvedByTimer State = original.ResolvedByTimer
ResolvedManually State = original.ResolvedManually
)
type ValueDeltaOperationType = original.ValueDeltaOperationType
const (
ValueDeltaOperationTypeAdd ValueDeltaOperationType = original.ValueDeltaOperationTypeAdd
ValueDeltaOperationTypeDelete ValueDeltaOperationType = original.ValueDeltaOperationTypeDelete
ValueDeltaOperationTypeUndefined ValueDeltaOperationType = original.ValueDeltaOperationTypeUndefined
ValueDeltaOperationTypeUpdate ValueDeltaOperationType = original.ValueDeltaOperationTypeUpdate
)
type ValueType = original.ValueType
const (
ValueTypeBinary ValueType = original.ValueTypeBinary
ValueTypeBoolean ValueType = original.ValueTypeBoolean
ValueTypeDn ValueType = original.ValueTypeDn
ValueTypeInteger ValueType = original.ValueTypeInteger
ValueTypeString ValueType = original.ValueTypeString
ValueTypeUndefined ValueType = original.ValueTypeUndefined
)
type AdDomainServiceMembersClient = original.AdDomainServiceMembersClient
type AdditionalInformation = original.AdditionalInformation
type AddsConfiguration = original.AddsConfiguration
type AddsConfigurationIterator = original.AddsConfigurationIterator
type AddsConfigurationPage = original.AddsConfigurationPage
type AddsServiceClient = original.AddsServiceClient
type AddsServiceMember = original.AddsServiceMember
type AddsServiceMembers = original.AddsServiceMembers
type AddsServiceMembersClient = original.AddsServiceMembersClient
type AddsServiceMembersIterator = original.AddsServiceMembersIterator
type AddsServiceMembersPage = original.AddsServiceMembersPage
type AddsServicesClient = original.AddsServicesClient
type AddsServicesReplicationStatusClient = original.AddsServicesReplicationStatusClient
type AddsServicesServiceMembersClient = original.AddsServicesServiceMembersClient
type AddsServicesUserPreferenceClient = original.AddsServicesUserPreferenceClient
type Agent = original.Agent
type Alert = original.Alert
type AlertFeedback = original.AlertFeedback
type AlertFeedbacks = original.AlertFeedbacks
type Alerts = original.Alerts
type AlertsClient = original.AlertsClient
type AlertsIterator = original.AlertsIterator
type AlertsPage = original.AlertsPage
type AssociatedObject = original.AssociatedObject
type AttributeDelta = original.AttributeDelta
type AttributeMapping = original.AttributeMapping
type AttributeMppingSource = original.AttributeMppingSource
type BaseClient = original.BaseClient
type ChangeNotReimported = original.ChangeNotReimported
type ChangeNotReimportedDelta = original.ChangeNotReimportedDelta
type ChangeNotReimportedEntry = original.ChangeNotReimportedEntry
type ConfigurationClient = original.ConfigurationClient
type Connector = original.Connector
type ConnectorConnectionError = original.ConnectorConnectionError
type ConnectorConnectionErrors = original.ConnectorConnectionErrors
type ConnectorObjectError = original.ConnectorObjectError
type ConnectorObjectErrors = original.ConnectorObjectErrors
type Connectors = original.Connectors
type Credential = original.Credential
type Credentials = original.Credentials
type DataFreshnessDetails = original.DataFreshnessDetails
type Dimension = original.Dimension
type Dimensions = original.Dimensions
type DimensionsClient = original.DimensionsClient
type DimensionsIterator = original.DimensionsIterator
type DimensionsPage = original.DimensionsPage
type Display = original.Display
type ErrorCount = original.ErrorCount
type ErrorCounts = original.ErrorCounts
type ErrorDetail = original.ErrorDetail
type ErrorReportUsersEntries = original.ErrorReportUsersEntries
type ErrorReportUsersEntry = original.ErrorReportUsersEntry
type ExportError = original.ExportError
type ExportErrors = original.ExportErrors
type ExportStatus = original.ExportStatus
type ExportStatuses = original.ExportStatuses
type ExportStatusesIterator = original.ExportStatusesIterator
type ExportStatusesPage = original.ExportStatusesPage
type ExtensionErrorInfo = original.ExtensionErrorInfo
type ForestSummary = original.ForestSummary
type GlobalConfiguration = original.GlobalConfiguration
type GlobalConfigurations = original.GlobalConfigurations
type HelpLink = original.HelpLink
type Hotfix = original.Hotfix
type Hotfixes = original.Hotfixes
type ImportError = original.ImportError
type ImportErrors = original.ImportErrors
type InboundReplicationNeighbor = original.InboundReplicationNeighbor
type InboundReplicationNeighbors = original.InboundReplicationNeighbors
type Item = original.Item
type Items = original.Items
type MergedExportError = original.MergedExportError
type MergedExportErrors = original.MergedExportErrors
type MetricGroup = original.MetricGroup
type MetricMetadata = original.MetricMetadata
type MetricMetadataList = original.MetricMetadataList
type MetricMetadataListIterator = original.MetricMetadataListIterator
type MetricMetadataListPage = original.MetricMetadataListPage
type MetricSet = original.MetricSet
type MetricSets = original.MetricSets
type Metrics = original.Metrics
type MetricsIterator = original.MetricsIterator
type MetricsPage = original.MetricsPage
type ModuleConfiguration = original.ModuleConfiguration
type ModuleConfigurations = original.ModuleConfigurations
type ObjectWithSyncError = original.ObjectWithSyncError
type Operation = original.Operation
type OperationListResponse = original.OperationListResponse
type OperationListResponseIterator = original.OperationListResponseIterator
type OperationListResponsePage = original.OperationListResponsePage
type OperationsClient = original.OperationsClient
type Partition = original.Partition
type PartitionScope = original.PartitionScope
type PasswordHashSyncConfiguration = original.PasswordHashSyncConfiguration
type PasswordManagementSettings = original.PasswordManagementSettings
type ReplicationDetailsList = original.ReplicationDetailsList
type ReplicationStatus = original.ReplicationStatus
type ReplicationSummary = original.ReplicationSummary
type ReplicationSummaryList = original.ReplicationSummaryList
type ReportsClient = original.ReportsClient
type Result = original.Result
type RuleErrorInfo = original.RuleErrorInfo
type RunProfile = original.RunProfile
type RunProfiles = original.RunProfiles
type RunStep = original.RunStep
type ServiceClient = original.ServiceClient
type ServiceConfiguration = original.ServiceConfiguration
type ServiceMember = original.ServiceMember
type ServiceMembers = original.ServiceMembers
type ServiceMembersClient = original.ServiceMembersClient
type ServiceMembersIterator = original.ServiceMembersIterator
type ServiceMembersPage = original.ServiceMembersPage
type ServiceProperties = original.ServiceProperties
type Services = original.Services
type ServicesClient = original.ServicesClient
type ServicesIterator = original.ServicesIterator
type ServicesPage = original.ServicesPage
type TabularExportError = original.TabularExportError
type Tenant = original.Tenant
type TenantOnboardingDetails = original.TenantOnboardingDetails
type UserPreference = original.UserPreference
type ValueDelta = original.ValueDelta
func New() BaseClient {
return original.New()
}
func NewAdDomainServiceMembersClient() AdDomainServiceMembersClient {
return original.NewAdDomainServiceMembersClient()
}
func NewAdDomainServiceMembersClientWithBaseURI(baseURI string) AdDomainServiceMembersClient {
return original.NewAdDomainServiceMembersClientWithBaseURI(baseURI)
}
func NewAddsConfigurationIterator(page AddsConfigurationPage) AddsConfigurationIterator {
return original.NewAddsConfigurationIterator(page)
}
func NewAddsConfigurationPage(getNextPage func(context.Context, AddsConfiguration) (AddsConfiguration, error)) AddsConfigurationPage {
return original.NewAddsConfigurationPage(getNextPage)
}
func NewAddsServiceClient() AddsServiceClient {
return original.NewAddsServiceClient()
}
func NewAddsServiceClientWithBaseURI(baseURI string) AddsServiceClient {
return original.NewAddsServiceClientWithBaseURI(baseURI)
}
func NewAddsServiceMembersClient() AddsServiceMembersClient {
return original.NewAddsServiceMembersClient()
}
func NewAddsServiceMembersClientWithBaseURI(baseURI string) AddsServiceMembersClient {
return original.NewAddsServiceMembersClientWithBaseURI(baseURI)
}
func NewAddsServiceMembersIterator(page AddsServiceMembersPage) AddsServiceMembersIterator {
return original.NewAddsServiceMembersIterator(page)
}
func NewAddsServiceMembersPage(getNextPage func(context.Context, AddsServiceMembers) (AddsServiceMembers, error)) AddsServiceMembersPage {
return original.NewAddsServiceMembersPage(getNextPage)
}
func NewAddsServicesClient() AddsServicesClient {
return original.NewAddsServicesClient()
}
func NewAddsServicesClientWithBaseURI(baseURI string) AddsServicesClient {
return original.NewAddsServicesClientWithBaseURI(baseURI)
}
func NewAddsServicesReplicationStatusClient() AddsServicesReplicationStatusClient {
return original.NewAddsServicesReplicationStatusClient()
}
func NewAddsServicesReplicationStatusClientWithBaseURI(baseURI string) AddsServicesReplicationStatusClient {
return original.NewAddsServicesReplicationStatusClientWithBaseURI(baseURI)
}
func NewAddsServicesServiceMembersClient() AddsServicesServiceMembersClient {
return original.NewAddsServicesServiceMembersClient()
}
func NewAddsServicesServiceMembersClientWithBaseURI(baseURI string) AddsServicesServiceMembersClient {
return original.NewAddsServicesServiceMembersClientWithBaseURI(baseURI)
}
func NewAddsServicesUserPreferenceClient() AddsServicesUserPreferenceClient {
return original.NewAddsServicesUserPreferenceClient()
}
func NewAddsServicesUserPreferenceClientWithBaseURI(baseURI string) AddsServicesUserPreferenceClient {
return original.NewAddsServicesUserPreferenceClientWithBaseURI(baseURI)
}
func NewAlertsClient() AlertsClient {
return original.NewAlertsClient()
}
func NewAlertsClientWithBaseURI(baseURI string) AlertsClient {
return original.NewAlertsClientWithBaseURI(baseURI)
}
func NewAlertsIterator(page AlertsPage) AlertsIterator {
return original.NewAlertsIterator(page)
}
func NewAlertsPage(getNextPage func(context.Context, Alerts) (Alerts, error)) AlertsPage {
return original.NewAlertsPage(getNextPage)
}
func NewConfigurationClient() ConfigurationClient {
return original.NewConfigurationClient()
}
func NewConfigurationClientWithBaseURI(baseURI string) ConfigurationClient {
return original.NewConfigurationClientWithBaseURI(baseURI)
}
func NewDimensionsClient() DimensionsClient {
return original.NewDimensionsClient()
}
func NewDimensionsClientWithBaseURI(baseURI string) DimensionsClient {
return original.NewDimensionsClientWithBaseURI(baseURI)
}
func NewDimensionsIterator(page DimensionsPage) DimensionsIterator {
return original.NewDimensionsIterator(page)
}
func NewDimensionsPage(getNextPage func(context.Context, Dimensions) (Dimensions, error)) DimensionsPage {
return original.NewDimensionsPage(getNextPage)
}
func NewExportStatusesIterator(page ExportStatusesPage) ExportStatusesIterator {
return original.NewExportStatusesIterator(page)
}
func NewExportStatusesPage(getNextPage func(context.Context, ExportStatuses) (ExportStatuses, error)) ExportStatusesPage {
return original.NewExportStatusesPage(getNextPage)
}
func NewMetricMetadataListIterator(page MetricMetadataListPage) MetricMetadataListIterator {
return original.NewMetricMetadataListIterator(page)
}
func NewMetricMetadataListPage(getNextPage func(context.Context, MetricMetadataList) (MetricMetadataList, error)) MetricMetadataListPage {
return original.NewMetricMetadataListPage(getNextPage)
}
func NewMetricsIterator(page MetricsPage) MetricsIterator {
return original.NewMetricsIterator(page)
}
func NewMetricsPage(getNextPage func(context.Context, Metrics) (Metrics, error)) MetricsPage {
return original.NewMetricsPage(getNextPage)
}
func NewOperationListResponseIterator(page OperationListResponsePage) OperationListResponseIterator {
return original.NewOperationListResponseIterator(page)
}
func NewOperationListResponsePage(getNextPage func(context.Context, OperationListResponse) (OperationListResponse, error)) OperationListResponsePage {
return original.NewOperationListResponsePage(getNextPage)
}
func NewOperationsClient() OperationsClient {
return original.NewOperationsClient()
}
func NewOperationsClientWithBaseURI(baseURI string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI)
}
func NewReportsClient() ReportsClient {
return original.NewReportsClient()
}
func NewReportsClientWithBaseURI(baseURI string) ReportsClient {
return original.NewReportsClientWithBaseURI(baseURI)
}
func NewServiceClient() ServiceClient {
return original.NewServiceClient()
}
func NewServiceClientWithBaseURI(baseURI string) ServiceClient {
return original.NewServiceClientWithBaseURI(baseURI)
}
func NewServiceMembersClient() ServiceMembersClient {
return original.NewServiceMembersClient()
}
func NewServiceMembersClientWithBaseURI(baseURI string) ServiceMembersClient {
return original.NewServiceMembersClientWithBaseURI(baseURI)
}
func NewServiceMembersIterator(page ServiceMembersPage) ServiceMembersIterator {
return original.NewServiceMembersIterator(page)
}
func NewServiceMembersPage(getNextPage func(context.Context, ServiceMembers) (ServiceMembers, error)) ServiceMembersPage {
return original.NewServiceMembersPage(getNextPage)
}
func NewServicesClient() ServicesClient {
return original.NewServicesClient()
}
func NewServicesClientWithBaseURI(baseURI string) ServicesClient {
return original.NewServicesClientWithBaseURI(baseURI)
}
func NewServicesIterator(page ServicesPage) ServicesIterator {
return original.NewServicesIterator(page)
}
func NewServicesPage(getNextPage func(context.Context, Services) (Services, error)) ServicesPage {
return original.NewServicesPage(getNextPage)
}
func NewWithBaseURI(baseURI string) BaseClient {
return original.NewWithBaseURI(baseURI)
}
func PossibleAlgorithmStepTypeValues() []AlgorithmStepType {
return original.PossibleAlgorithmStepTypeValues()
}
func PossibleAttributeDeltaOperationTypeValues() []AttributeDeltaOperationType {
return original.PossibleAttributeDeltaOperationTypeValues()
}
func PossibleAttributeMappingTypeValues() []AttributeMappingType {
return original.PossibleAttributeMappingTypeValues()
}
func PossibleDeltaOperationTypeValues() []DeltaOperationType {
return original.PossibleDeltaOperationTypeValues()
}
func PossibleHealthStatusValues() []HealthStatus {
return original.PossibleHealthStatusValues()
}
func PossibleLevelValues() []Level {
return original.PossibleLevelValues()
}
func PossibleMonitoringLevelValues() []MonitoringLevel {
return original.PossibleMonitoringLevelValues()
}
func PossiblePasswordOperationTypesValues() []PasswordOperationTypes {
return original.PossiblePasswordOperationTypesValues()
}
func PossibleStateValues() []State {
return original.PossibleStateValues()
}
func PossibleValueDeltaOperationTypeValues() []ValueDeltaOperationType {
return original.PossibleValueDeltaOperationTypeValues()
}
func PossibleValueTypeValues() []ValueType {
return original.PossibleValueTypeValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}

View file

@ -0,0 +1,27 @@
// +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 advisorapi
import original "github.com/Azure/azure-sdk-for-go/services/advisor/mgmt/2017-04-19/advisor/advisorapi"
type ConfigurationsClientAPI = original.ConfigurationsClientAPI
type OperationsClientAPI = original.OperationsClientAPI
type RecommendationsClientAPI = original.RecommendationsClientAPI
type SuppressionsClientAPI = original.SuppressionsClientAPI

View file

@ -0,0 +1,154 @@
// +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 advisor
import (
"context"
original "github.com/Azure/azure-sdk-for-go/services/advisor/mgmt/2017-04-19/advisor"
)
const (
DefaultBaseURI = original.DefaultBaseURI
)
type Category = original.Category
const (
Cost Category = original.Cost
HighAvailability Category = original.HighAvailability
Performance Category = original.Performance
Security Category = original.Security
)
type Impact = original.Impact
const (
High Impact = original.High
Low Impact = original.Low
Medium Impact = original.Medium
)
type Risk = original.Risk
const (
Error Risk = original.Error
None Risk = original.None
Warning Risk = original.Warning
)
type ARMErrorResponseBody = original.ARMErrorResponseBody
type BaseClient = original.BaseClient
type ConfigData = original.ConfigData
type ConfigDataProperties = original.ConfigDataProperties
type ConfigurationListResult = original.ConfigurationListResult
type ConfigurationListResultIterator = original.ConfigurationListResultIterator
type ConfigurationListResultPage = original.ConfigurationListResultPage
type ConfigurationsClient = original.ConfigurationsClient
type OperationDisplayInfo = original.OperationDisplayInfo
type OperationEntity = original.OperationEntity
type OperationEntityListResult = original.OperationEntityListResult
type OperationEntityListResultIterator = original.OperationEntityListResultIterator
type OperationEntityListResultPage = original.OperationEntityListResultPage
type OperationsClient = original.OperationsClient
type RecommendationProperties = original.RecommendationProperties
type RecommendationsClient = original.RecommendationsClient
type Resource = original.Resource
type ResourceRecommendationBase = original.ResourceRecommendationBase
type ResourceRecommendationBaseListResult = original.ResourceRecommendationBaseListResult
type ResourceRecommendationBaseListResultIterator = original.ResourceRecommendationBaseListResultIterator
type ResourceRecommendationBaseListResultPage = original.ResourceRecommendationBaseListResultPage
type ShortDescription = original.ShortDescription
type SuppressionContract = original.SuppressionContract
type SuppressionContractListResult = original.SuppressionContractListResult
type SuppressionContractListResultIterator = original.SuppressionContractListResultIterator
type SuppressionContractListResultPage = original.SuppressionContractListResultPage
type SuppressionProperties = original.SuppressionProperties
type SuppressionsClient = original.SuppressionsClient
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewConfigurationListResultIterator(page ConfigurationListResultPage) ConfigurationListResultIterator {
return original.NewConfigurationListResultIterator(page)
}
func NewConfigurationListResultPage(getNextPage func(context.Context, ConfigurationListResult) (ConfigurationListResult, error)) ConfigurationListResultPage {
return original.NewConfigurationListResultPage(getNextPage)
}
func NewConfigurationsClient(subscriptionID string) ConfigurationsClient {
return original.NewConfigurationsClient(subscriptionID)
}
func NewConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) ConfigurationsClient {
return original.NewConfigurationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewOperationEntityListResultIterator(page OperationEntityListResultPage) OperationEntityListResultIterator {
return original.NewOperationEntityListResultIterator(page)
}
func NewOperationEntityListResultPage(getNextPage func(context.Context, OperationEntityListResult) (OperationEntityListResult, error)) OperationEntityListResultPage {
return original.NewOperationEntityListResultPage(getNextPage)
}
func NewOperationsClient(subscriptionID string) OperationsClient {
return original.NewOperationsClient(subscriptionID)
}
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewRecommendationsClient(subscriptionID string) RecommendationsClient {
return original.NewRecommendationsClient(subscriptionID)
}
func NewRecommendationsClientWithBaseURI(baseURI string, subscriptionID string) RecommendationsClient {
return original.NewRecommendationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewResourceRecommendationBaseListResultIterator(page ResourceRecommendationBaseListResultPage) ResourceRecommendationBaseListResultIterator {
return original.NewResourceRecommendationBaseListResultIterator(page)
}
func NewResourceRecommendationBaseListResultPage(getNextPage func(context.Context, ResourceRecommendationBaseListResult) (ResourceRecommendationBaseListResult, error)) ResourceRecommendationBaseListResultPage {
return original.NewResourceRecommendationBaseListResultPage(getNextPage)
}
func NewSuppressionContractListResultIterator(page SuppressionContractListResultPage) SuppressionContractListResultIterator {
return original.NewSuppressionContractListResultIterator(page)
}
func NewSuppressionContractListResultPage(getNextPage func(context.Context, SuppressionContractListResult) (SuppressionContractListResult, error)) SuppressionContractListResultPage {
return original.NewSuppressionContractListResultPage(getNextPage)
}
func NewSuppressionsClient(subscriptionID string) SuppressionsClient {
return original.NewSuppressionsClient(subscriptionID)
}
func NewSuppressionsClientWithBaseURI(baseURI string, subscriptionID string) SuppressionsClient {
return original.NewSuppressionsClientWithBaseURI(baseURI, subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func PossibleCategoryValues() []Category {
return original.PossibleCategoryValues()
}
func PossibleImpactValues() []Impact {
return original.PossibleImpactValues()
}
func PossibleRiskValues() []Risk {
return original.PossibleRiskValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}

View file

@ -0,0 +1,26 @@
// +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 alertsmanagementapi
import original "github.com/Azure/azure-sdk-for-go/services/alertsmanagement/mgmt/2018-05-05/alertsmanagement/alertsmanagementapi"
type AlertsClientAPI = original.AlertsClientAPI
type OperationsClientAPI = original.OperationsClientAPI
type SmartGroupsClientAPI = original.SmartGroupsClientAPI

View file

@ -0,0 +1,263 @@
// +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 alertsmanagement
import (
"context"
original "github.com/Azure/azure-sdk-for-go/services/alertsmanagement/mgmt/2018-05-05/alertsmanagement"
)
const (
DefaultBaseURI = original.DefaultBaseURI
)
type AlertModificationEvent = original.AlertModificationEvent
const (
AlertCreated AlertModificationEvent = original.AlertCreated
MonitorConditionChange AlertModificationEvent = original.MonitorConditionChange
StateChange AlertModificationEvent = original.StateChange
)
type AlertState = original.AlertState
const (
AlertStateAcknowledged AlertState = original.AlertStateAcknowledged
AlertStateClosed AlertState = original.AlertStateClosed
AlertStateNew AlertState = original.AlertStateNew
)
type AlertsSortByFields = original.AlertsSortByFields
const (
AlertsSortByFieldsAlertState AlertsSortByFields = original.AlertsSortByFieldsAlertState
AlertsSortByFieldsLastModifiedDateTime AlertsSortByFields = original.AlertsSortByFieldsLastModifiedDateTime
AlertsSortByFieldsMonitorCondition AlertsSortByFields = original.AlertsSortByFieldsMonitorCondition
AlertsSortByFieldsName AlertsSortByFields = original.AlertsSortByFieldsName
AlertsSortByFieldsSeverity AlertsSortByFields = original.AlertsSortByFieldsSeverity
AlertsSortByFieldsStartDateTime AlertsSortByFields = original.AlertsSortByFieldsStartDateTime
AlertsSortByFieldsTargetResource AlertsSortByFields = original.AlertsSortByFieldsTargetResource
AlertsSortByFieldsTargetResourceGroup AlertsSortByFields = original.AlertsSortByFieldsTargetResourceGroup
AlertsSortByFieldsTargetResourceName AlertsSortByFields = original.AlertsSortByFieldsTargetResourceName
AlertsSortByFieldsTargetResourceType AlertsSortByFields = original.AlertsSortByFieldsTargetResourceType
)
type AlertsSummaryGroupByFields = original.AlertsSummaryGroupByFields
const (
AlertsSummaryGroupByFieldsAlertRule AlertsSummaryGroupByFields = original.AlertsSummaryGroupByFieldsAlertRule
AlertsSummaryGroupByFieldsAlertState AlertsSummaryGroupByFields = original.AlertsSummaryGroupByFieldsAlertState
AlertsSummaryGroupByFieldsMonitorCondition AlertsSummaryGroupByFields = original.AlertsSummaryGroupByFieldsMonitorCondition
AlertsSummaryGroupByFieldsMonitorService AlertsSummaryGroupByFields = original.AlertsSummaryGroupByFieldsMonitorService
AlertsSummaryGroupByFieldsSeverity AlertsSummaryGroupByFields = original.AlertsSummaryGroupByFieldsSeverity
AlertsSummaryGroupByFieldsSignalType AlertsSummaryGroupByFields = original.AlertsSummaryGroupByFieldsSignalType
)
type MonitorCondition = original.MonitorCondition
const (
Fired MonitorCondition = original.Fired
Resolved MonitorCondition = original.Resolved
)
type MonitorService = original.MonitorService
const (
ActivityLogAdministrative MonitorService = original.ActivityLogAdministrative
ActivityLogAutoscale MonitorService = original.ActivityLogAutoscale
ActivityLogPolicy MonitorService = original.ActivityLogPolicy
ActivityLogRecommendation MonitorService = original.ActivityLogRecommendation
ActivityLogSecurity MonitorService = original.ActivityLogSecurity
ApplicationInsights MonitorService = original.ApplicationInsights
LogAnalytics MonitorService = original.LogAnalytics
Nagios MonitorService = original.Nagios
Platform MonitorService = original.Platform
SCOM MonitorService = original.SCOM
ServiceHealth MonitorService = original.ServiceHealth
SmartDetector MonitorService = original.SmartDetector
VMInsights MonitorService = original.VMInsights
Zabbix MonitorService = original.Zabbix
)
type Severity = original.Severity
const (
Sev0 Severity = original.Sev0
Sev1 Severity = original.Sev1
Sev2 Severity = original.Sev2
Sev3 Severity = original.Sev3
Sev4 Severity = original.Sev4
)
type SignalType = original.SignalType
const (
Log SignalType = original.Log
Metric SignalType = original.Metric
Unknown SignalType = original.Unknown
)
type SmartGroupModificationEvent = original.SmartGroupModificationEvent
const (
SmartGroupModificationEventAlertAdded SmartGroupModificationEvent = original.SmartGroupModificationEventAlertAdded
SmartGroupModificationEventAlertRemoved SmartGroupModificationEvent = original.SmartGroupModificationEventAlertRemoved
SmartGroupModificationEventSmartGroupCreated SmartGroupModificationEvent = original.SmartGroupModificationEventSmartGroupCreated
SmartGroupModificationEventStateChange SmartGroupModificationEvent = original.SmartGroupModificationEventStateChange
)
type SmartGroupsSortByFields = original.SmartGroupsSortByFields
const (
SmartGroupsSortByFieldsAlertsCount SmartGroupsSortByFields = original.SmartGroupsSortByFieldsAlertsCount
SmartGroupsSortByFieldsLastModifiedDateTime SmartGroupsSortByFields = original.SmartGroupsSortByFieldsLastModifiedDateTime
SmartGroupsSortByFieldsSeverity SmartGroupsSortByFields = original.SmartGroupsSortByFieldsSeverity
SmartGroupsSortByFieldsStartDateTime SmartGroupsSortByFields = original.SmartGroupsSortByFieldsStartDateTime
SmartGroupsSortByFieldsState SmartGroupsSortByFields = original.SmartGroupsSortByFieldsState
)
type State = original.State
const (
StateAcknowledged State = original.StateAcknowledged
StateClosed State = original.StateClosed
StateNew State = original.StateNew
)
type TimeRange = original.TimeRange
const (
Oned TimeRange = original.Oned
Oneh TimeRange = original.Oneh
Sevend TimeRange = original.Sevend
ThreeZerod TimeRange = original.ThreeZerod
)
type Alert = original.Alert
type AlertModification = original.AlertModification
type AlertModificationItem = original.AlertModificationItem
type AlertModificationProperties = original.AlertModificationProperties
type AlertProperties = original.AlertProperties
type AlertsClient = original.AlertsClient
type AlertsList = original.AlertsList
type AlertsListIterator = original.AlertsListIterator
type AlertsListPage = original.AlertsListPage
type AlertsSummary = original.AlertsSummary
type AlertsSummaryGroup = original.AlertsSummaryGroup
type AlertsSummaryGroupItem = original.AlertsSummaryGroupItem
type BaseClient = original.BaseClient
type ErrorResponse = original.ErrorResponse
type ErrorResponseBody = original.ErrorResponseBody
type Essentials = original.Essentials
type Operation = original.Operation
type OperationDisplay = original.OperationDisplay
type OperationsClient = original.OperationsClient
type OperationsList = original.OperationsList
type OperationsListIterator = original.OperationsListIterator
type OperationsListPage = original.OperationsListPage
type Resource = original.Resource
type SmartGroup = original.SmartGroup
type SmartGroupAggregatedProperty = original.SmartGroupAggregatedProperty
type SmartGroupModification = original.SmartGroupModification
type SmartGroupModificationItem = original.SmartGroupModificationItem
type SmartGroupModificationProperties = original.SmartGroupModificationProperties
type SmartGroupProperties = original.SmartGroupProperties
type SmartGroupsClient = original.SmartGroupsClient
type SmartGroupsList = original.SmartGroupsList
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewAlertsClient(subscriptionID string) AlertsClient {
return original.NewAlertsClient(subscriptionID)
}
func NewAlertsClientWithBaseURI(baseURI string, subscriptionID string) AlertsClient {
return original.NewAlertsClientWithBaseURI(baseURI, subscriptionID)
}
func NewAlertsListIterator(page AlertsListPage) AlertsListIterator {
return original.NewAlertsListIterator(page)
}
func NewAlertsListPage(getNextPage func(context.Context, AlertsList) (AlertsList, error)) AlertsListPage {
return original.NewAlertsListPage(getNextPage)
}
func NewOperationsClient(subscriptionID string) OperationsClient {
return original.NewOperationsClient(subscriptionID)
}
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewOperationsListIterator(page OperationsListPage) OperationsListIterator {
return original.NewOperationsListIterator(page)
}
func NewOperationsListPage(getNextPage func(context.Context, OperationsList) (OperationsList, error)) OperationsListPage {
return original.NewOperationsListPage(getNextPage)
}
func NewSmartGroupsClient(subscriptionID string) SmartGroupsClient {
return original.NewSmartGroupsClient(subscriptionID)
}
func NewSmartGroupsClientWithBaseURI(baseURI string, subscriptionID string) SmartGroupsClient {
return original.NewSmartGroupsClientWithBaseURI(baseURI, subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func PossibleAlertModificationEventValues() []AlertModificationEvent {
return original.PossibleAlertModificationEventValues()
}
func PossibleAlertStateValues() []AlertState {
return original.PossibleAlertStateValues()
}
func PossibleAlertsSortByFieldsValues() []AlertsSortByFields {
return original.PossibleAlertsSortByFieldsValues()
}
func PossibleAlertsSummaryGroupByFieldsValues() []AlertsSummaryGroupByFields {
return original.PossibleAlertsSummaryGroupByFieldsValues()
}
func PossibleMonitorConditionValues() []MonitorCondition {
return original.PossibleMonitorConditionValues()
}
func PossibleMonitorServiceValues() []MonitorService {
return original.PossibleMonitorServiceValues()
}
func PossibleSeverityValues() []Severity {
return original.PossibleSeverityValues()
}
func PossibleSignalTypeValues() []SignalType {
return original.PossibleSignalTypeValues()
}
func PossibleSmartGroupModificationEventValues() []SmartGroupModificationEvent {
return original.PossibleSmartGroupModificationEventValues()
}
func PossibleSmartGroupsSortByFieldsValues() []SmartGroupsSortByFields {
return original.PossibleSmartGroupsSortByFieldsValues()
}
func PossibleStateValues() []State {
return original.PossibleStateValues()
}
func PossibleTimeRangeValues() []TimeRange {
return original.PossibleTimeRangeValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}

View file

@ -0,0 +1,25 @@
// +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 analysisservicesapi
import original "github.com/Azure/azure-sdk-for-go/services/analysisservices/mgmt/2017-08-01/analysisservices/analysisservicesapi"
type OperationsClientAPI = original.OperationsClientAPI
type ServersClientAPI = original.ServersClientAPI

View file

@ -0,0 +1,166 @@
// +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 analysisservices
import (
"context"
original "github.com/Azure/azure-sdk-for-go/services/analysisservices/mgmt/2017-08-01/analysisservices"
)
const (
DefaultBaseURI = original.DefaultBaseURI
)
type ConnectionMode = original.ConnectionMode
const (
All ConnectionMode = original.All
ReadOnly ConnectionMode = original.ReadOnly
)
type ProvisioningState = original.ProvisioningState
const (
Deleting ProvisioningState = original.Deleting
Failed ProvisioningState = original.Failed
Paused ProvisioningState = original.Paused
Pausing ProvisioningState = original.Pausing
Preparing ProvisioningState = original.Preparing
Provisioning ProvisioningState = original.Provisioning
Resuming ProvisioningState = original.Resuming
Scaling ProvisioningState = original.Scaling
Succeeded ProvisioningState = original.Succeeded
Suspended ProvisioningState = original.Suspended
Suspending ProvisioningState = original.Suspending
Updating ProvisioningState = original.Updating
)
type SkuTier = original.SkuTier
const (
Basic SkuTier = original.Basic
Development SkuTier = original.Development
Standard SkuTier = original.Standard
)
type State = original.State
const (
StateDeleting State = original.StateDeleting
StateFailed State = original.StateFailed
StatePaused State = original.StatePaused
StatePausing State = original.StatePausing
StatePreparing State = original.StatePreparing
StateProvisioning State = original.StateProvisioning
StateResuming State = original.StateResuming
StateScaling State = original.StateScaling
StateSucceeded State = original.StateSucceeded
StateSuspended State = original.StateSuspended
StateSuspending State = original.StateSuspending
StateUpdating State = original.StateUpdating
)
type Status = original.Status
const (
Live Status = original.Live
)
type BaseClient = original.BaseClient
type CheckServerNameAvailabilityParameters = original.CheckServerNameAvailabilityParameters
type CheckServerNameAvailabilityResult = original.CheckServerNameAvailabilityResult
type ErrorResponse = original.ErrorResponse
type GatewayDetails = original.GatewayDetails
type GatewayError = original.GatewayError
type GatewayListStatusError = original.GatewayListStatusError
type GatewayListStatusLive = original.GatewayListStatusLive
type IPv4FirewallRule = original.IPv4FirewallRule
type IPv4FirewallSettings = original.IPv4FirewallSettings
type Operation = original.Operation
type OperationDisplay = original.OperationDisplay
type OperationListResult = original.OperationListResult
type OperationListResultIterator = original.OperationListResultIterator
type OperationListResultPage = original.OperationListResultPage
type OperationStatus = original.OperationStatus
type OperationsClient = original.OperationsClient
type Resource = original.Resource
type ResourceSku = original.ResourceSku
type Server = original.Server
type ServerAdministrators = original.ServerAdministrators
type ServerMutableProperties = original.ServerMutableProperties
type ServerProperties = original.ServerProperties
type ServerUpdateParameters = original.ServerUpdateParameters
type Servers = original.Servers
type ServersClient = original.ServersClient
type ServersCreateFuture = original.ServersCreateFuture
type ServersDeleteFuture = original.ServersDeleteFuture
type ServersResumeFuture = original.ServersResumeFuture
type ServersSuspendFuture = original.ServersSuspendFuture
type ServersUpdateFuture = original.ServersUpdateFuture
type SkuDetailsForExistingResource = original.SkuDetailsForExistingResource
type SkuEnumerationForExistingResourceResult = original.SkuEnumerationForExistingResourceResult
type SkuEnumerationForNewResourceResult = original.SkuEnumerationForNewResourceResult
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator {
return original.NewOperationListResultIterator(page)
}
func NewOperationListResultPage(getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage {
return original.NewOperationListResultPage(getNextPage)
}
func NewOperationsClient(subscriptionID string) OperationsClient {
return original.NewOperationsClient(subscriptionID)
}
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewServersClient(subscriptionID string) ServersClient {
return original.NewServersClient(subscriptionID)
}
func NewServersClientWithBaseURI(baseURI string, subscriptionID string) ServersClient {
return original.NewServersClientWithBaseURI(baseURI, subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func PossibleConnectionModeValues() []ConnectionMode {
return original.PossibleConnectionModeValues()
}
func PossibleProvisioningStateValues() []ProvisioningState {
return original.PossibleProvisioningStateValues()
}
func PossibleSkuTierValues() []SkuTier {
return original.PossibleSkuTierValues()
}
func PossibleStateValues() []State {
return original.PossibleStateValues()
}
func PossibleStatusValues() []Status {
return original.PossibleStatusValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}

View file

@ -0,0 +1,83 @@
// +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 apimanagementapi
import original "github.com/Azure/azure-sdk-for-go/services/apimanagement/mgmt/2018-01-01/apimanagement/apimanagementapi"
type APIClientAPI = original.APIClientAPI
type APIDiagnosticClientAPI = original.APIDiagnosticClientAPI
type APIDiagnosticLoggerClientAPI = original.APIDiagnosticLoggerClientAPI
type APIExportClientAPI = original.APIExportClientAPI
type APIIssueAttachmentClientAPI = original.APIIssueAttachmentClientAPI
type APIIssueClientAPI = original.APIIssueClientAPI
type APIIssueCommentClientAPI = original.APIIssueCommentClientAPI
type APIOperationClientAPI = original.APIOperationClientAPI
type APIOperationPolicyClientAPI = original.APIOperationPolicyClientAPI
type APIPolicyClientAPI = original.APIPolicyClientAPI
type APIProductClientAPI = original.APIProductClientAPI
type APIReleaseClientAPI = original.APIReleaseClientAPI
type APIRevisionsClientAPI = original.APIRevisionsClientAPI
type APISchemaClientAPI = original.APISchemaClientAPI
type APIVersionSetClientAPI = original.APIVersionSetClientAPI
type AuthorizationServerClientAPI = original.AuthorizationServerClientAPI
type BackendClientAPI = original.BackendClientAPI
type CertificateClientAPI = original.CertificateClientAPI
type DelegationSettingsClientAPI = original.DelegationSettingsClientAPI
type DiagnosticClientAPI = original.DiagnosticClientAPI
type DiagnosticLoggerClientAPI = original.DiagnosticLoggerClientAPI
type EmailTemplateClientAPI = original.EmailTemplateClientAPI
type GroupClientAPI = original.GroupClientAPI
type GroupUserClientAPI = original.GroupUserClientAPI
type IdentityProviderClientAPI = original.IdentityProviderClientAPI
type LoggerClientAPI = original.LoggerClientAPI
type NetworkStatusClientAPI = original.NetworkStatusClientAPI
type NotificationClientAPI = original.NotificationClientAPI
type NotificationRecipientEmailClientAPI = original.NotificationRecipientEmailClientAPI
type NotificationRecipientUserClientAPI = original.NotificationRecipientUserClientAPI
type OpenIDConnectProviderClientAPI = original.OpenIDConnectProviderClientAPI
type OperationClientAPI = original.OperationClientAPI
type OperationsClientAPI = original.OperationsClientAPI
type PolicyClientAPI = original.PolicyClientAPI
type PolicySnippetsClientAPI = original.PolicySnippetsClientAPI
type ProductAPIClientAPI = original.ProductAPIClientAPI
type ProductClientAPI = original.ProductClientAPI
type ProductGroupClientAPI = original.ProductGroupClientAPI
type ProductPolicyClientAPI = original.ProductPolicyClientAPI
type ProductSubscriptionsClientAPI = original.ProductSubscriptionsClientAPI
type PropertyClientAPI = original.PropertyClientAPI
type QuotaByCounterKeysClientAPI = original.QuotaByCounterKeysClientAPI
type QuotaByPeriodKeysClientAPI = original.QuotaByPeriodKeysClientAPI
type RegionsClientAPI = original.RegionsClientAPI
type ReportsClientAPI = original.ReportsClientAPI
type ServiceClientAPI = original.ServiceClientAPI
type ServiceSkusClientAPI = original.ServiceSkusClientAPI
type SignInSettingsClientAPI = original.SignInSettingsClientAPI
type SignUpSettingsClientAPI = original.SignUpSettingsClientAPI
type SubscriptionClientAPI = original.SubscriptionClientAPI
type TagClientAPI = original.TagClientAPI
type TagDescriptionClientAPI = original.TagDescriptionClientAPI
type TagResourceClientAPI = original.TagResourceClientAPI
type TenantAccessClientAPI = original.TenantAccessClientAPI
type TenantAccessGitClientAPI = original.TenantAccessGitClientAPI
type TenantConfigurationClientAPI = original.TenantConfigurationClientAPI
type UserClientAPI = original.UserClientAPI
type UserGroupClientAPI = original.UserGroupClientAPI
type UserIdentitiesClientAPI = original.UserIdentitiesClientAPI
type UserSubscriptionClientAPI = original.UserSubscriptionClientAPI

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,229 @@
// +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 insights
import original "github.com/Azure/azure-sdk-for-go/services/appinsights/v1/insights"
const (
DefaultBaseURI = original.DefaultBaseURI
)
type EventType = original.EventType
const (
All EventType = original.All
AvailabilityResults EventType = original.AvailabilityResults
BrowserTimings EventType = original.BrowserTimings
CustomEvents EventType = original.CustomEvents
CustomMetrics EventType = original.CustomMetrics
Dependencies EventType = original.Dependencies
Exceptions EventType = original.Exceptions
PageViews EventType = original.PageViews
PerformanceCounters EventType = original.PerformanceCounters
Requests EventType = original.Requests
Traces EventType = original.Traces
)
type MetricID = original.MetricID
const (
AvailabilityResultsavailabilityPercentage MetricID = original.AvailabilityResultsavailabilityPercentage
AvailabilityResultsduration MetricID = original.AvailabilityResultsduration
BillingtelemetryCount MetricID = original.BillingtelemetryCount
ClientnetworkDuration MetricID = original.ClientnetworkDuration
ClientprocessingDuration MetricID = original.ClientprocessingDuration
ClientreceiveDuration MetricID = original.ClientreceiveDuration
ClientsendDuration MetricID = original.ClientsendDuration
ClienttotalDuration MetricID = original.ClienttotalDuration
CustomEventscount MetricID = original.CustomEventscount
Dependenciescount MetricID = original.Dependenciescount
Dependenciesduration MetricID = original.Dependenciesduration
Dependenciesfailed MetricID = original.Dependenciesfailed
Exceptionsbrowser MetricID = original.Exceptionsbrowser
Exceptionscount MetricID = original.Exceptionscount
Exceptionsserver MetricID = original.Exceptionsserver
PageViewscount MetricID = original.PageViewscount
PageViewsduration MetricID = original.PageViewsduration
PerformanceCountersexceptionsPerSecond MetricID = original.PerformanceCountersexceptionsPerSecond
PerformanceCountersmemoryAvailableBytes MetricID = original.PerformanceCountersmemoryAvailableBytes
PerformanceCountersprocessCPUPercentage MetricID = original.PerformanceCountersprocessCPUPercentage
PerformanceCountersprocessIOBytesPerSecond MetricID = original.PerformanceCountersprocessIOBytesPerSecond
PerformanceCountersprocessorCPUPercentage MetricID = original.PerformanceCountersprocessorCPUPercentage
PerformanceCountersprocessPrivateBytes MetricID = original.PerformanceCountersprocessPrivateBytes
PerformanceCountersrequestExecutionTime MetricID = original.PerformanceCountersrequestExecutionTime
PerformanceCountersrequestsInQueue MetricID = original.PerformanceCountersrequestsInQueue
PerformanceCountersrequestsPerSecond MetricID = original.PerformanceCountersrequestsPerSecond
Requestscount MetricID = original.Requestscount
Requestsduration MetricID = original.Requestsduration
Requestsfailed MetricID = original.Requestsfailed
Sessionscount MetricID = original.Sessionscount
Usersauthenticated MetricID = original.Usersauthenticated
Userscount MetricID = original.Userscount
)
type MetricsAggregation = original.MetricsAggregation
const (
Avg MetricsAggregation = original.Avg
Count MetricsAggregation = original.Count
Max MetricsAggregation = original.Max
Min MetricsAggregation = original.Min
Sum MetricsAggregation = original.Sum
Unique MetricsAggregation = original.Unique
)
type MetricsSegment = original.MetricsSegment
const (
ApplicationBuild MetricsSegment = original.ApplicationBuild
ApplicationVersion MetricsSegment = original.ApplicationVersion
AuthenticatedOrAnonymousTraffic MetricsSegment = original.AuthenticatedOrAnonymousTraffic
Browser MetricsSegment = original.Browser
BrowserVersion MetricsSegment = original.BrowserVersion
City MetricsSegment = original.City
CloudRoleName MetricsSegment = original.CloudRoleName
CloudServiceName MetricsSegment = original.CloudServiceName
Continent MetricsSegment = original.Continent
CountryOrRegion MetricsSegment = original.CountryOrRegion
DeploymentID MetricsSegment = original.DeploymentID
DeploymentUnit MetricsSegment = original.DeploymentUnit
DeviceType MetricsSegment = original.DeviceType
Environment MetricsSegment = original.Environment
HostingLocation MetricsSegment = original.HostingLocation
InstanceName MetricsSegment = original.InstanceName
)
type Type = original.Type
const (
TypeAvailabilityResult Type = original.TypeAvailabilityResult
TypeBrowserTiming Type = original.TypeBrowserTiming
TypeCustomEvent Type = original.TypeCustomEvent
TypeCustomMetric Type = original.TypeCustomMetric
TypeDependency Type = original.TypeDependency
TypeEventsResultData Type = original.TypeEventsResultData
TypeException Type = original.TypeException
TypePageView Type = original.TypePageView
TypePerformanceCounter Type = original.TypePerformanceCounter
TypeRequest Type = original.TypeRequest
TypeTrace Type = original.TypeTrace
)
type BaseClient = original.BaseClient
type BasicEventsResultData = original.BasicEventsResultData
type Column = original.Column
type ErrorDetail = original.ErrorDetail
type ErrorInfo = original.ErrorInfo
type ErrorResponse = original.ErrorResponse
type EventsAiInfo = original.EventsAiInfo
type EventsApplicationInfo = original.EventsApplicationInfo
type EventsAvailabilityResultInfo = original.EventsAvailabilityResultInfo
type EventsAvailabilityResultResult = original.EventsAvailabilityResultResult
type EventsBrowserTimingInfo = original.EventsBrowserTimingInfo
type EventsBrowserTimingResult = original.EventsBrowserTimingResult
type EventsClient = original.EventsClient
type EventsClientInfo = original.EventsClientInfo
type EventsClientPerformanceInfo = original.EventsClientPerformanceInfo
type EventsCloudInfo = original.EventsCloudInfo
type EventsCustomEventInfo = original.EventsCustomEventInfo
type EventsCustomEventResult = original.EventsCustomEventResult
type EventsCustomMetricInfo = original.EventsCustomMetricInfo
type EventsCustomMetricResult = original.EventsCustomMetricResult
type EventsDependencyInfo = original.EventsDependencyInfo
type EventsDependencyResult = original.EventsDependencyResult
type EventsExceptionDetail = original.EventsExceptionDetail
type EventsExceptionDetailsParsedStack = original.EventsExceptionDetailsParsedStack
type EventsExceptionInfo = original.EventsExceptionInfo
type EventsExceptionResult = original.EventsExceptionResult
type EventsOperationInfo = original.EventsOperationInfo
type EventsPageViewInfo = original.EventsPageViewInfo
type EventsPageViewResult = original.EventsPageViewResult
type EventsPerformanceCounterInfo = original.EventsPerformanceCounterInfo
type EventsPerformanceCounterResult = original.EventsPerformanceCounterResult
type EventsRequestInfo = original.EventsRequestInfo
type EventsRequestResult = original.EventsRequestResult
type EventsResult = original.EventsResult
type EventsResultData = original.EventsResultData
type EventsResultDataCustomDimensions = original.EventsResultDataCustomDimensions
type EventsResultDataCustomMeasurements = original.EventsResultDataCustomMeasurements
type EventsResults = original.EventsResults
type EventsSessionInfo = original.EventsSessionInfo
type EventsTraceInfo = original.EventsTraceInfo
type EventsTraceResult = original.EventsTraceResult
type EventsUserInfo = original.EventsUserInfo
type ListMetricsResultsItem = original.ListMetricsResultsItem
type MetricsClient = original.MetricsClient
type MetricsPostBodySchema = original.MetricsPostBodySchema
type MetricsPostBodySchemaParameters = original.MetricsPostBodySchemaParameters
type MetricsResult = original.MetricsResult
type MetricsResultInfo = original.MetricsResultInfo
type MetricsResultsItem = original.MetricsResultsItem
type MetricsSegmentInfo = original.MetricsSegmentInfo
type QueryBody = original.QueryBody
type QueryClient = original.QueryClient
type QueryResults = original.QueryResults
type SetObject = original.SetObject
type Table = original.Table
func New() BaseClient {
return original.New()
}
func NewEventsClient() EventsClient {
return original.NewEventsClient()
}
func NewEventsClientWithBaseURI(baseURI string) EventsClient {
return original.NewEventsClientWithBaseURI(baseURI)
}
func NewMetricsClient() MetricsClient {
return original.NewMetricsClient()
}
func NewMetricsClientWithBaseURI(baseURI string) MetricsClient {
return original.NewMetricsClientWithBaseURI(baseURI)
}
func NewQueryClient() QueryClient {
return original.NewQueryClient()
}
func NewQueryClientWithBaseURI(baseURI string) QueryClient {
return original.NewQueryClientWithBaseURI(baseURI)
}
func NewWithBaseURI(baseURI string) BaseClient {
return original.NewWithBaseURI(baseURI)
}
func PossibleEventTypeValues() []EventType {
return original.PossibleEventTypeValues()
}
func PossibleMetricIDValues() []MetricID {
return original.PossibleMetricIDValues()
}
func PossibleMetricsAggregationValues() []MetricsAggregation {
return original.PossibleMetricsAggregationValues()
}
func PossibleMetricsSegmentValues() []MetricsSegment {
return original.PossibleMetricsSegmentValues()
}
func PossibleTypeValues() []Type {
return original.PossibleTypeValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}

View file

@ -0,0 +1,39 @@
// +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 insightsapi
import original "github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights/insightsapi"
type APIKeysClientAPI = original.APIKeysClientAPI
type AnalyticsItemsClientAPI = original.AnalyticsItemsClientAPI
type AnnotationsClientAPI = original.AnnotationsClientAPI
type ComponentAvailableFeaturesClientAPI = original.ComponentAvailableFeaturesClientAPI
type ComponentCurrentBillingFeaturesClientAPI = original.ComponentCurrentBillingFeaturesClientAPI
type ComponentFeatureCapabilitiesClientAPI = original.ComponentFeatureCapabilitiesClientAPI
type ComponentQuotaStatusClientAPI = original.ComponentQuotaStatusClientAPI
type ComponentsClientAPI = original.ComponentsClientAPI
type ExportConfigurationsClientAPI = original.ExportConfigurationsClientAPI
type FavoritesClientAPI = original.FavoritesClientAPI
type OperationsClientAPI = original.OperationsClientAPI
type ProactiveDetectionConfigurationsClientAPI = original.ProactiveDetectionConfigurationsClientAPI
type WebTestLocationsClientAPI = original.WebTestLocationsClientAPI
type WebTestsClientAPI = original.WebTestsClientAPI
type WorkItemConfigurationsClientAPI = original.WorkItemConfigurationsClientAPI
type WorkbooksClientAPI = original.WorkbooksClientAPI

View file

@ -0,0 +1,381 @@
// +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 insights
import (
"context"
original "github.com/Azure/azure-sdk-for-go/services/appinsights/mgmt/2015-05-01/insights"
)
const (
DefaultBaseURI = original.DefaultBaseURI
)
type ApplicationType = original.ApplicationType
const (
Other ApplicationType = original.Other
Web ApplicationType = original.Web
)
type CategoryType = original.CategoryType
const (
CategoryTypePerformance CategoryType = original.CategoryTypePerformance
CategoryTypeRetention CategoryType = original.CategoryTypeRetention
CategoryTypeTSG CategoryType = original.CategoryTypeTSG
CategoryTypeWorkbook CategoryType = original.CategoryTypeWorkbook
)
type FavoriteSourceType = original.FavoriteSourceType
const (
Events FavoriteSourceType = original.Events
Funnel FavoriteSourceType = original.Funnel
Impact FavoriteSourceType = original.Impact
Notebook FavoriteSourceType = original.Notebook
Retention FavoriteSourceType = original.Retention
Segmentation FavoriteSourceType = original.Segmentation
Sessions FavoriteSourceType = original.Sessions
Userflows FavoriteSourceType = original.Userflows
)
type FavoriteType = original.FavoriteType
const (
Shared FavoriteType = original.Shared
User FavoriteType = original.User
)
type FlowType = original.FlowType
const (
Bluefield FlowType = original.Bluefield
)
type ItemScope = original.ItemScope
const (
ItemScopeShared ItemScope = original.ItemScopeShared
ItemScopeUser ItemScope = original.ItemScopeUser
)
type ItemScopePath = original.ItemScopePath
const (
AnalyticsItems ItemScopePath = original.AnalyticsItems
MyanalyticsItems ItemScopePath = original.MyanalyticsItems
)
type ItemType = original.ItemType
const (
Folder ItemType = original.Folder
Function ItemType = original.Function
Query ItemType = original.Query
Recent ItemType = original.Recent
)
type ItemTypeParameter = original.ItemTypeParameter
const (
ItemTypeParameterFolder ItemTypeParameter = original.ItemTypeParameterFolder
ItemTypeParameterFunction ItemTypeParameter = original.ItemTypeParameterFunction
ItemTypeParameterNone ItemTypeParameter = original.ItemTypeParameterNone
ItemTypeParameterQuery ItemTypeParameter = original.ItemTypeParameterQuery
ItemTypeParameterRecent ItemTypeParameter = original.ItemTypeParameterRecent
)
type PurgeState = original.PurgeState
const (
Completed PurgeState = original.Completed
Pending PurgeState = original.Pending
)
type RequestSource = original.RequestSource
const (
Rest RequestSource = original.Rest
)
type SharedTypeKind = original.SharedTypeKind
const (
SharedTypeKindShared SharedTypeKind = original.SharedTypeKindShared
SharedTypeKindUser SharedTypeKind = original.SharedTypeKindUser
)
type WebTestKind = original.WebTestKind
const (
Multistep WebTestKind = original.Multistep
Ping WebTestKind = original.Ping
)
type APIKeyRequest = original.APIKeyRequest
type APIKeysClient = original.APIKeysClient
type AnalyticsItemsClient = original.AnalyticsItemsClient
type Annotation = original.Annotation
type AnnotationError = original.AnnotationError
type AnnotationsClient = original.AnnotationsClient
type AnnotationsListResult = original.AnnotationsListResult
type ApplicationInsightsComponent = original.ApplicationInsightsComponent
type ApplicationInsightsComponentAPIKey = original.ApplicationInsightsComponentAPIKey
type ApplicationInsightsComponentAPIKeyListResult = original.ApplicationInsightsComponentAPIKeyListResult
type ApplicationInsightsComponentAnalyticsItem = original.ApplicationInsightsComponentAnalyticsItem
type ApplicationInsightsComponentAnalyticsItemProperties = original.ApplicationInsightsComponentAnalyticsItemProperties
type ApplicationInsightsComponentAvailableFeatures = original.ApplicationInsightsComponentAvailableFeatures
type ApplicationInsightsComponentBillingFeatures = original.ApplicationInsightsComponentBillingFeatures
type ApplicationInsightsComponentDataVolumeCap = original.ApplicationInsightsComponentDataVolumeCap
type ApplicationInsightsComponentExportConfiguration = original.ApplicationInsightsComponentExportConfiguration
type ApplicationInsightsComponentExportRequest = original.ApplicationInsightsComponentExportRequest
type ApplicationInsightsComponentFavorite = original.ApplicationInsightsComponentFavorite
type ApplicationInsightsComponentFeature = original.ApplicationInsightsComponentFeature
type ApplicationInsightsComponentFeatureCapabilities = original.ApplicationInsightsComponentFeatureCapabilities
type ApplicationInsightsComponentFeatureCapability = original.ApplicationInsightsComponentFeatureCapability
type ApplicationInsightsComponentListResult = original.ApplicationInsightsComponentListResult
type ApplicationInsightsComponentListResultIterator = original.ApplicationInsightsComponentListResultIterator
type ApplicationInsightsComponentListResultPage = original.ApplicationInsightsComponentListResultPage
type ApplicationInsightsComponentProactiveDetectionConfiguration = original.ApplicationInsightsComponentProactiveDetectionConfiguration
type ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions = original.ApplicationInsightsComponentProactiveDetectionConfigurationRuleDefinitions
type ApplicationInsightsComponentProperties = original.ApplicationInsightsComponentProperties
type ApplicationInsightsComponentQuotaStatus = original.ApplicationInsightsComponentQuotaStatus
type ApplicationInsightsComponentWebTestLocation = original.ApplicationInsightsComponentWebTestLocation
type ApplicationInsightsWebTestLocationsListResult = original.ApplicationInsightsWebTestLocationsListResult
type BaseClient = original.BaseClient
type ComponentAvailableFeaturesClient = original.ComponentAvailableFeaturesClient
type ComponentCurrentBillingFeaturesClient = original.ComponentCurrentBillingFeaturesClient
type ComponentFeatureCapabilitiesClient = original.ComponentFeatureCapabilitiesClient
type ComponentPurgeBody = original.ComponentPurgeBody
type ComponentPurgeBodyFilters = original.ComponentPurgeBodyFilters
type ComponentPurgeResponse = original.ComponentPurgeResponse
type ComponentPurgeStatusResponse = original.ComponentPurgeStatusResponse
type ComponentQuotaStatusClient = original.ComponentQuotaStatusClient
type ComponentsClient = original.ComponentsClient
type ComponentsResource = original.ComponentsResource
type ErrorFieldContract = original.ErrorFieldContract
type ErrorResponse = original.ErrorResponse
type ExportConfigurationsClient = original.ExportConfigurationsClient
type FavoritesClient = original.FavoritesClient
type InnerError = original.InnerError
type LinkProperties = original.LinkProperties
type ListAnnotation = original.ListAnnotation
type ListApplicationInsightsComponentAnalyticsItem = original.ListApplicationInsightsComponentAnalyticsItem
type ListApplicationInsightsComponentExportConfiguration = original.ListApplicationInsightsComponentExportConfiguration
type ListApplicationInsightsComponentFavorite = original.ListApplicationInsightsComponentFavorite
type ListApplicationInsightsComponentProactiveDetectionConfiguration = original.ListApplicationInsightsComponentProactiveDetectionConfiguration
type Operation = original.Operation
type OperationDisplay = original.OperationDisplay
type OperationListResult = original.OperationListResult
type OperationListResultIterator = original.OperationListResultIterator
type OperationListResultPage = original.OperationListResultPage
type OperationsClient = original.OperationsClient
type ProactiveDetectionConfigurationsClient = original.ProactiveDetectionConfigurationsClient
type SetObject = original.SetObject
type TagsResource = original.TagsResource
type WebTest = original.WebTest
type WebTestGeolocation = original.WebTestGeolocation
type WebTestListResult = original.WebTestListResult
type WebTestListResultIterator = original.WebTestListResultIterator
type WebTestListResultPage = original.WebTestListResultPage
type WebTestLocationsClient = original.WebTestLocationsClient
type WebTestProperties = original.WebTestProperties
type WebTestPropertiesConfiguration = original.WebTestPropertiesConfiguration
type WebTestsClient = original.WebTestsClient
type WebtestsResource = original.WebtestsResource
type WorkItemConfiguration = original.WorkItemConfiguration
type WorkItemConfigurationError = original.WorkItemConfigurationError
type WorkItemConfigurationsClient = original.WorkItemConfigurationsClient
type WorkItemConfigurationsListResult = original.WorkItemConfigurationsListResult
type WorkItemCreateConfiguration = original.WorkItemCreateConfiguration
type Workbook = original.Workbook
type WorkbookError = original.WorkbookError
type WorkbookProperties = original.WorkbookProperties
type WorkbookResource = original.WorkbookResource
type WorkbooksClient = original.WorkbooksClient
type WorkbooksListResult = original.WorkbooksListResult
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewAPIKeysClient(subscriptionID string) APIKeysClient {
return original.NewAPIKeysClient(subscriptionID)
}
func NewAPIKeysClientWithBaseURI(baseURI string, subscriptionID string) APIKeysClient {
return original.NewAPIKeysClientWithBaseURI(baseURI, subscriptionID)
}
func NewAnalyticsItemsClient(subscriptionID string) AnalyticsItemsClient {
return original.NewAnalyticsItemsClient(subscriptionID)
}
func NewAnalyticsItemsClientWithBaseURI(baseURI string, subscriptionID string) AnalyticsItemsClient {
return original.NewAnalyticsItemsClientWithBaseURI(baseURI, subscriptionID)
}
func NewAnnotationsClient(subscriptionID string) AnnotationsClient {
return original.NewAnnotationsClient(subscriptionID)
}
func NewAnnotationsClientWithBaseURI(baseURI string, subscriptionID string) AnnotationsClient {
return original.NewAnnotationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewApplicationInsightsComponentListResultIterator(page ApplicationInsightsComponentListResultPage) ApplicationInsightsComponentListResultIterator {
return original.NewApplicationInsightsComponentListResultIterator(page)
}
func NewApplicationInsightsComponentListResultPage(getNextPage func(context.Context, ApplicationInsightsComponentListResult) (ApplicationInsightsComponentListResult, error)) ApplicationInsightsComponentListResultPage {
return original.NewApplicationInsightsComponentListResultPage(getNextPage)
}
func NewComponentAvailableFeaturesClient(subscriptionID string) ComponentAvailableFeaturesClient {
return original.NewComponentAvailableFeaturesClient(subscriptionID)
}
func NewComponentAvailableFeaturesClientWithBaseURI(baseURI string, subscriptionID string) ComponentAvailableFeaturesClient {
return original.NewComponentAvailableFeaturesClientWithBaseURI(baseURI, subscriptionID)
}
func NewComponentCurrentBillingFeaturesClient(subscriptionID string) ComponentCurrentBillingFeaturesClient {
return original.NewComponentCurrentBillingFeaturesClient(subscriptionID)
}
func NewComponentCurrentBillingFeaturesClientWithBaseURI(baseURI string, subscriptionID string) ComponentCurrentBillingFeaturesClient {
return original.NewComponentCurrentBillingFeaturesClientWithBaseURI(baseURI, subscriptionID)
}
func NewComponentFeatureCapabilitiesClient(subscriptionID string) ComponentFeatureCapabilitiesClient {
return original.NewComponentFeatureCapabilitiesClient(subscriptionID)
}
func NewComponentFeatureCapabilitiesClientWithBaseURI(baseURI string, subscriptionID string) ComponentFeatureCapabilitiesClient {
return original.NewComponentFeatureCapabilitiesClientWithBaseURI(baseURI, subscriptionID)
}
func NewComponentQuotaStatusClient(subscriptionID string) ComponentQuotaStatusClient {
return original.NewComponentQuotaStatusClient(subscriptionID)
}
func NewComponentQuotaStatusClientWithBaseURI(baseURI string, subscriptionID string) ComponentQuotaStatusClient {
return original.NewComponentQuotaStatusClientWithBaseURI(baseURI, subscriptionID)
}
func NewComponentsClient(subscriptionID string) ComponentsClient {
return original.NewComponentsClient(subscriptionID)
}
func NewComponentsClientWithBaseURI(baseURI string, subscriptionID string) ComponentsClient {
return original.NewComponentsClientWithBaseURI(baseURI, subscriptionID)
}
func NewExportConfigurationsClient(subscriptionID string) ExportConfigurationsClient {
return original.NewExportConfigurationsClient(subscriptionID)
}
func NewExportConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) ExportConfigurationsClient {
return original.NewExportConfigurationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewFavoritesClient(subscriptionID string) FavoritesClient {
return original.NewFavoritesClient(subscriptionID)
}
func NewFavoritesClientWithBaseURI(baseURI string, subscriptionID string) FavoritesClient {
return original.NewFavoritesClientWithBaseURI(baseURI, subscriptionID)
}
func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator {
return original.NewOperationListResultIterator(page)
}
func NewOperationListResultPage(getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage {
return original.NewOperationListResultPage(getNextPage)
}
func NewOperationsClient(subscriptionID string) OperationsClient {
return original.NewOperationsClient(subscriptionID)
}
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewProactiveDetectionConfigurationsClient(subscriptionID string) ProactiveDetectionConfigurationsClient {
return original.NewProactiveDetectionConfigurationsClient(subscriptionID)
}
func NewProactiveDetectionConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) ProactiveDetectionConfigurationsClient {
return original.NewProactiveDetectionConfigurationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewWebTestListResultIterator(page WebTestListResultPage) WebTestListResultIterator {
return original.NewWebTestListResultIterator(page)
}
func NewWebTestListResultPage(getNextPage func(context.Context, WebTestListResult) (WebTestListResult, error)) WebTestListResultPage {
return original.NewWebTestListResultPage(getNextPage)
}
func NewWebTestLocationsClient(subscriptionID string) WebTestLocationsClient {
return original.NewWebTestLocationsClient(subscriptionID)
}
func NewWebTestLocationsClientWithBaseURI(baseURI string, subscriptionID string) WebTestLocationsClient {
return original.NewWebTestLocationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewWebTestsClient(subscriptionID string) WebTestsClient {
return original.NewWebTestsClient(subscriptionID)
}
func NewWebTestsClientWithBaseURI(baseURI string, subscriptionID string) WebTestsClient {
return original.NewWebTestsClientWithBaseURI(baseURI, subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func NewWorkItemConfigurationsClient(subscriptionID string) WorkItemConfigurationsClient {
return original.NewWorkItemConfigurationsClient(subscriptionID)
}
func NewWorkItemConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) WorkItemConfigurationsClient {
return original.NewWorkItemConfigurationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewWorkbooksClient(subscriptionID string) WorkbooksClient {
return original.NewWorkbooksClient(subscriptionID)
}
func NewWorkbooksClientWithBaseURI(baseURI string, subscriptionID string) WorkbooksClient {
return original.NewWorkbooksClientWithBaseURI(baseURI, subscriptionID)
}
func PossibleApplicationTypeValues() []ApplicationType {
return original.PossibleApplicationTypeValues()
}
func PossibleCategoryTypeValues() []CategoryType {
return original.PossibleCategoryTypeValues()
}
func PossibleFavoriteSourceTypeValues() []FavoriteSourceType {
return original.PossibleFavoriteSourceTypeValues()
}
func PossibleFavoriteTypeValues() []FavoriteType {
return original.PossibleFavoriteTypeValues()
}
func PossibleFlowTypeValues() []FlowType {
return original.PossibleFlowTypeValues()
}
func PossibleItemScopePathValues() []ItemScopePath {
return original.PossibleItemScopePathValues()
}
func PossibleItemScopeValues() []ItemScope {
return original.PossibleItemScopeValues()
}
func PossibleItemTypeParameterValues() []ItemTypeParameter {
return original.PossibleItemTypeParameterValues()
}
func PossibleItemTypeValues() []ItemType {
return original.PossibleItemTypeValues()
}
func PossiblePurgeStateValues() []PurgeState {
return original.PossiblePurgeStateValues()
}
func PossibleRequestSourceValues() []RequestSource {
return original.PossibleRequestSourceValues()
}
func PossibleSharedTypeKindValues() []SharedTypeKind {
return original.PossibleSharedTypeKindValues()
}
func PossibleWebTestKindValues() []WebTestKind {
return original.PossibleWebTestKindValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}

View file

@ -0,0 +1,28 @@
// +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 authorizationapi
import original "github.com/Azure/azure-sdk-for-go/services/authorization/mgmt/2015-07-01/authorization/authorizationapi"
type ClassicAdministratorsClientAPI = original.ClassicAdministratorsClientAPI
type PermissionsClientAPI = original.PermissionsClientAPI
type ProviderOperationsMetadataClientAPI = original.ProviderOperationsMetadataClientAPI
type RoleAssignmentsClientAPI = original.RoleAssignmentsClientAPI
type RoleDefinitionsClientAPI = original.RoleDefinitionsClientAPI

View file

@ -0,0 +1,139 @@
// +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 authorization
import (
"context"
original "github.com/Azure/azure-sdk-for-go/services/authorization/mgmt/2015-07-01/authorization"
)
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type ClassicAdministrator = original.ClassicAdministrator
type ClassicAdministratorListResult = original.ClassicAdministratorListResult
type ClassicAdministratorListResultIterator = original.ClassicAdministratorListResultIterator
type ClassicAdministratorListResultPage = original.ClassicAdministratorListResultPage
type ClassicAdministratorProperties = original.ClassicAdministratorProperties
type ClassicAdministratorsClient = original.ClassicAdministratorsClient
type Permission = original.Permission
type PermissionGetResult = original.PermissionGetResult
type PermissionGetResultIterator = original.PermissionGetResultIterator
type PermissionGetResultPage = original.PermissionGetResultPage
type PermissionsClient = original.PermissionsClient
type ProviderOperation = original.ProviderOperation
type ProviderOperationsMetadata = original.ProviderOperationsMetadata
type ProviderOperationsMetadataClient = original.ProviderOperationsMetadataClient
type ProviderOperationsMetadataListResult = original.ProviderOperationsMetadataListResult
type ProviderOperationsMetadataListResultIterator = original.ProviderOperationsMetadataListResultIterator
type ProviderOperationsMetadataListResultPage = original.ProviderOperationsMetadataListResultPage
type ResourceType = original.ResourceType
type RoleAssignment = original.RoleAssignment
type RoleAssignmentCreateParameters = original.RoleAssignmentCreateParameters
type RoleAssignmentFilter = original.RoleAssignmentFilter
type RoleAssignmentListResult = original.RoleAssignmentListResult
type RoleAssignmentListResultIterator = original.RoleAssignmentListResultIterator
type RoleAssignmentListResultPage = original.RoleAssignmentListResultPage
type RoleAssignmentProperties = original.RoleAssignmentProperties
type RoleAssignmentPropertiesWithScope = original.RoleAssignmentPropertiesWithScope
type RoleAssignmentsClient = original.RoleAssignmentsClient
type RoleDefinition = original.RoleDefinition
type RoleDefinitionFilter = original.RoleDefinitionFilter
type RoleDefinitionListResult = original.RoleDefinitionListResult
type RoleDefinitionListResultIterator = original.RoleDefinitionListResultIterator
type RoleDefinitionListResultPage = original.RoleDefinitionListResultPage
type RoleDefinitionProperties = original.RoleDefinitionProperties
type RoleDefinitionsClient = original.RoleDefinitionsClient
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewClassicAdministratorListResultIterator(page ClassicAdministratorListResultPage) ClassicAdministratorListResultIterator {
return original.NewClassicAdministratorListResultIterator(page)
}
func NewClassicAdministratorListResultPage(getNextPage func(context.Context, ClassicAdministratorListResult) (ClassicAdministratorListResult, error)) ClassicAdministratorListResultPage {
return original.NewClassicAdministratorListResultPage(getNextPage)
}
func NewClassicAdministratorsClient(subscriptionID string) ClassicAdministratorsClient {
return original.NewClassicAdministratorsClient(subscriptionID)
}
func NewClassicAdministratorsClientWithBaseURI(baseURI string, subscriptionID string) ClassicAdministratorsClient {
return original.NewClassicAdministratorsClientWithBaseURI(baseURI, subscriptionID)
}
func NewPermissionGetResultIterator(page PermissionGetResultPage) PermissionGetResultIterator {
return original.NewPermissionGetResultIterator(page)
}
func NewPermissionGetResultPage(getNextPage func(context.Context, PermissionGetResult) (PermissionGetResult, error)) PermissionGetResultPage {
return original.NewPermissionGetResultPage(getNextPage)
}
func NewPermissionsClient(subscriptionID string) PermissionsClient {
return original.NewPermissionsClient(subscriptionID)
}
func NewPermissionsClientWithBaseURI(baseURI string, subscriptionID string) PermissionsClient {
return original.NewPermissionsClientWithBaseURI(baseURI, subscriptionID)
}
func NewProviderOperationsMetadataClient(subscriptionID string) ProviderOperationsMetadataClient {
return original.NewProviderOperationsMetadataClient(subscriptionID)
}
func NewProviderOperationsMetadataClientWithBaseURI(baseURI string, subscriptionID string) ProviderOperationsMetadataClient {
return original.NewProviderOperationsMetadataClientWithBaseURI(baseURI, subscriptionID)
}
func NewProviderOperationsMetadataListResultIterator(page ProviderOperationsMetadataListResultPage) ProviderOperationsMetadataListResultIterator {
return original.NewProviderOperationsMetadataListResultIterator(page)
}
func NewProviderOperationsMetadataListResultPage(getNextPage func(context.Context, ProviderOperationsMetadataListResult) (ProviderOperationsMetadataListResult, error)) ProviderOperationsMetadataListResultPage {
return original.NewProviderOperationsMetadataListResultPage(getNextPage)
}
func NewRoleAssignmentListResultIterator(page RoleAssignmentListResultPage) RoleAssignmentListResultIterator {
return original.NewRoleAssignmentListResultIterator(page)
}
func NewRoleAssignmentListResultPage(getNextPage func(context.Context, RoleAssignmentListResult) (RoleAssignmentListResult, error)) RoleAssignmentListResultPage {
return original.NewRoleAssignmentListResultPage(getNextPage)
}
func NewRoleAssignmentsClient(subscriptionID string) RoleAssignmentsClient {
return original.NewRoleAssignmentsClient(subscriptionID)
}
func NewRoleAssignmentsClientWithBaseURI(baseURI string, subscriptionID string) RoleAssignmentsClient {
return original.NewRoleAssignmentsClientWithBaseURI(baseURI, subscriptionID)
}
func NewRoleDefinitionListResultIterator(page RoleDefinitionListResultPage) RoleDefinitionListResultIterator {
return original.NewRoleDefinitionListResultIterator(page)
}
func NewRoleDefinitionListResultPage(getNextPage func(context.Context, RoleDefinitionListResult) (RoleDefinitionListResult, error)) RoleDefinitionListResultPage {
return original.NewRoleDefinitionListResultPage(getNextPage)
}
func NewRoleDefinitionsClient(subscriptionID string) RoleDefinitionsClient {
return original.NewRoleDefinitionsClient(subscriptionID)
}
func NewRoleDefinitionsClientWithBaseURI(baseURI string, subscriptionID string) RoleDefinitionsClient {
return original.NewRoleDefinitionsClientWithBaseURI(baseURI, subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}

View file

@ -0,0 +1,55 @@
// +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 automationapi
import original "github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation/automationapi"
type AccountClientAPI = original.AccountClientAPI
type ActivityClientAPI = original.ActivityClientAPI
type AgentRegistrationInformationClientAPI = original.AgentRegistrationInformationClientAPI
type CertificateClientAPI = original.CertificateClientAPI
type ConnectionClientAPI = original.ConnectionClientAPI
type ConnectionTypeClientAPI = original.ConnectionTypeClientAPI
type CredentialClientAPI = original.CredentialClientAPI
type DscCompilationJobClientAPI = original.DscCompilationJobClientAPI
type DscCompilationJobStreamClientAPI = original.DscCompilationJobStreamClientAPI
type DscConfigurationClientAPI = original.DscConfigurationClientAPI
type DscNodeClientAPI = original.DscNodeClientAPI
type DscNodeConfigurationClientAPI = original.DscNodeConfigurationClientAPI
type FieldsClientAPI = original.FieldsClientAPI
type HybridRunbookWorkerGroupClientAPI = original.HybridRunbookWorkerGroupClientAPI
type JobClientAPI = original.JobClientAPI
type JobScheduleClientAPI = original.JobScheduleClientAPI
type JobStreamClientAPI = original.JobStreamClientAPI
type KeysClientAPI = original.KeysClientAPI
type LinkedWorkspaceClientAPI = original.LinkedWorkspaceClientAPI
type ModuleClientAPI = original.ModuleClientAPI
type NodeReportsClientAPI = original.NodeReportsClientAPI
type ObjectDataTypesClientAPI = original.ObjectDataTypesClientAPI
type OperationsClientAPI = original.OperationsClientAPI
type RunbookClientAPI = original.RunbookClientAPI
type RunbookDraftClientAPI = original.RunbookDraftClientAPI
type ScheduleClientAPI = original.ScheduleClientAPI
type StatisticsClientAPI = original.StatisticsClientAPI
type TestJobClientAPI = original.TestJobClientAPI
type TestJobStreamsClientAPI = original.TestJobStreamsClientAPI
type UsagesClientAPI = original.UsagesClientAPI
type VariableClientAPI = original.VariableClientAPI
type WebhookClientAPI = original.WebhookClientAPI

View file

@ -0,0 +1,872 @@
// +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 automation
import (
"context"
original "github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation"
)
const (
DefaultBaseURI = original.DefaultBaseURI
)
type AccountState = original.AccountState
const (
Ok AccountState = original.Ok
Suspended AccountState = original.Suspended
Unavailable AccountState = original.Unavailable
)
type AgentRegistrationKeyName = original.AgentRegistrationKeyName
const (
Primary AgentRegistrationKeyName = original.Primary
Secondary AgentRegistrationKeyName = original.Secondary
)
type ContentSourceType = original.ContentSourceType
const (
EmbeddedContent ContentSourceType = original.EmbeddedContent
URI ContentSourceType = original.URI
)
type DscConfigurationProvisioningState = original.DscConfigurationProvisioningState
const (
Succeeded DscConfigurationProvisioningState = original.Succeeded
)
type DscConfigurationState = original.DscConfigurationState
const (
DscConfigurationStateEdit DscConfigurationState = original.DscConfigurationStateEdit
DscConfigurationStateNew DscConfigurationState = original.DscConfigurationStateNew
DscConfigurationStatePublished DscConfigurationState = original.DscConfigurationStatePublished
)
type GroupTypeEnum = original.GroupTypeEnum
const (
System GroupTypeEnum = original.System
User GroupTypeEnum = original.User
)
type HTTPStatusCode = original.HTTPStatusCode
const (
Accepted HTTPStatusCode = original.Accepted
Ambiguous HTTPStatusCode = original.Ambiguous
BadGateway HTTPStatusCode = original.BadGateway
BadRequest HTTPStatusCode = original.BadRequest
Conflict HTTPStatusCode = original.Conflict
Continue HTTPStatusCode = original.Continue
Created HTTPStatusCode = original.Created
ExpectationFailed HTTPStatusCode = original.ExpectationFailed
Forbidden HTTPStatusCode = original.Forbidden
Found HTTPStatusCode = original.Found
GatewayTimeout HTTPStatusCode = original.GatewayTimeout
Gone HTTPStatusCode = original.Gone
HTTPVersionNotSupported HTTPStatusCode = original.HTTPVersionNotSupported
InternalServerError HTTPStatusCode = original.InternalServerError
LengthRequired HTTPStatusCode = original.LengthRequired
MethodNotAllowed HTTPStatusCode = original.MethodNotAllowed
Moved HTTPStatusCode = original.Moved
MovedPermanently HTTPStatusCode = original.MovedPermanently
MultipleChoices HTTPStatusCode = original.MultipleChoices
NoContent HTTPStatusCode = original.NoContent
NonAuthoritativeInformation HTTPStatusCode = original.NonAuthoritativeInformation
NotAcceptable HTTPStatusCode = original.NotAcceptable
NotFound HTTPStatusCode = original.NotFound
NotImplemented HTTPStatusCode = original.NotImplemented
NotModified HTTPStatusCode = original.NotModified
OK HTTPStatusCode = original.OK
PartialContent HTTPStatusCode = original.PartialContent
PaymentRequired HTTPStatusCode = original.PaymentRequired
PreconditionFailed HTTPStatusCode = original.PreconditionFailed
ProxyAuthenticationRequired HTTPStatusCode = original.ProxyAuthenticationRequired
Redirect HTTPStatusCode = original.Redirect
RedirectKeepVerb HTTPStatusCode = original.RedirectKeepVerb
RedirectMethod HTTPStatusCode = original.RedirectMethod
RequestedRangeNotSatisfiable HTTPStatusCode = original.RequestedRangeNotSatisfiable
RequestEntityTooLarge HTTPStatusCode = original.RequestEntityTooLarge
RequestTimeout HTTPStatusCode = original.RequestTimeout
RequestURITooLong HTTPStatusCode = original.RequestURITooLong
ResetContent HTTPStatusCode = original.ResetContent
SeeOther HTTPStatusCode = original.SeeOther
ServiceUnavailable HTTPStatusCode = original.ServiceUnavailable
SwitchingProtocols HTTPStatusCode = original.SwitchingProtocols
TemporaryRedirect HTTPStatusCode = original.TemporaryRedirect
Unauthorized HTTPStatusCode = original.Unauthorized
UnsupportedMediaType HTTPStatusCode = original.UnsupportedMediaType
Unused HTTPStatusCode = original.Unused
UpgradeRequired HTTPStatusCode = original.UpgradeRequired
UseProxy HTTPStatusCode = original.UseProxy
)
type JobProvisioningState = original.JobProvisioningState
const (
JobProvisioningStateFailed JobProvisioningState = original.JobProvisioningStateFailed
JobProvisioningStateProcessing JobProvisioningState = original.JobProvisioningStateProcessing
JobProvisioningStateSucceeded JobProvisioningState = original.JobProvisioningStateSucceeded
JobProvisioningStateSuspended JobProvisioningState = original.JobProvisioningStateSuspended
)
type JobStatus = original.JobStatus
const (
JobStatusActivating JobStatus = original.JobStatusActivating
JobStatusBlocked JobStatus = original.JobStatusBlocked
JobStatusCompleted JobStatus = original.JobStatusCompleted
JobStatusDisconnected JobStatus = original.JobStatusDisconnected
JobStatusFailed JobStatus = original.JobStatusFailed
JobStatusNew JobStatus = original.JobStatusNew
JobStatusRemoving JobStatus = original.JobStatusRemoving
JobStatusResuming JobStatus = original.JobStatusResuming
JobStatusRunning JobStatus = original.JobStatusRunning
JobStatusStopped JobStatus = original.JobStatusStopped
JobStatusStopping JobStatus = original.JobStatusStopping
JobStatusSuspended JobStatus = original.JobStatusSuspended
JobStatusSuspending JobStatus = original.JobStatusSuspending
)
type JobStreamType = original.JobStreamType
const (
Any JobStreamType = original.Any
Debug JobStreamType = original.Debug
Error JobStreamType = original.Error
Output JobStreamType = original.Output
Progress JobStreamType = original.Progress
Verbose JobStreamType = original.Verbose
Warning JobStreamType = original.Warning
)
type KeyName = original.KeyName
const (
KeyNamePrimary KeyName = original.KeyNamePrimary
KeyNameSecondary KeyName = original.KeyNameSecondary
)
type KeyPermissions = original.KeyPermissions
const (
Full KeyPermissions = original.Full
Read KeyPermissions = original.Read
)
type ModuleProvisioningState = original.ModuleProvisioningState
const (
ModuleProvisioningStateActivitiesStored ModuleProvisioningState = original.ModuleProvisioningStateActivitiesStored
ModuleProvisioningStateCancelled ModuleProvisioningState = original.ModuleProvisioningStateCancelled
ModuleProvisioningStateConnectionTypeImported ModuleProvisioningState = original.ModuleProvisioningStateConnectionTypeImported
ModuleProvisioningStateContentDownloaded ModuleProvisioningState = original.ModuleProvisioningStateContentDownloaded
ModuleProvisioningStateContentRetrieved ModuleProvisioningState = original.ModuleProvisioningStateContentRetrieved
ModuleProvisioningStateContentStored ModuleProvisioningState = original.ModuleProvisioningStateContentStored
ModuleProvisioningStateContentValidated ModuleProvisioningState = original.ModuleProvisioningStateContentValidated
ModuleProvisioningStateCreated ModuleProvisioningState = original.ModuleProvisioningStateCreated
ModuleProvisioningStateCreating ModuleProvisioningState = original.ModuleProvisioningStateCreating
ModuleProvisioningStateFailed ModuleProvisioningState = original.ModuleProvisioningStateFailed
ModuleProvisioningStateModuleDataStored ModuleProvisioningState = original.ModuleProvisioningStateModuleDataStored
ModuleProvisioningStateModuleImportRunbookComplete ModuleProvisioningState = original.ModuleProvisioningStateModuleImportRunbookComplete
ModuleProvisioningStateRunningImportModuleRunbook ModuleProvisioningState = original.ModuleProvisioningStateRunningImportModuleRunbook
ModuleProvisioningStateStartingImportModuleRunbook ModuleProvisioningState = original.ModuleProvisioningStateStartingImportModuleRunbook
ModuleProvisioningStateSucceeded ModuleProvisioningState = original.ModuleProvisioningStateSucceeded
ModuleProvisioningStateUpdating ModuleProvisioningState = original.ModuleProvisioningStateUpdating
)
type RunbookProvisioningState = original.RunbookProvisioningState
const (
RunbookProvisioningStateSucceeded RunbookProvisioningState = original.RunbookProvisioningStateSucceeded
)
type RunbookState = original.RunbookState
const (
RunbookStateEdit RunbookState = original.RunbookStateEdit
RunbookStateNew RunbookState = original.RunbookStateNew
RunbookStatePublished RunbookState = original.RunbookStatePublished
)
type RunbookTypeEnum = original.RunbookTypeEnum
const (
Graph RunbookTypeEnum = original.Graph
GraphPowerShell RunbookTypeEnum = original.GraphPowerShell
GraphPowerShellWorkflow RunbookTypeEnum = original.GraphPowerShellWorkflow
PowerShell RunbookTypeEnum = original.PowerShell
PowerShellWorkflow RunbookTypeEnum = original.PowerShellWorkflow
Script RunbookTypeEnum = original.Script
)
type ScheduleDay = original.ScheduleDay
const (
Friday ScheduleDay = original.Friday
Monday ScheduleDay = original.Monday
Saturday ScheduleDay = original.Saturday
Sunday ScheduleDay = original.Sunday
Thursday ScheduleDay = original.Thursday
Tuesday ScheduleDay = original.Tuesday
Wednesday ScheduleDay = original.Wednesday
)
type ScheduleFrequency = original.ScheduleFrequency
const (
Day ScheduleFrequency = original.Day
Hour ScheduleFrequency = original.Hour
Month ScheduleFrequency = original.Month
OneTime ScheduleFrequency = original.OneTime
Week ScheduleFrequency = original.Week
)
type SkuNameEnum = original.SkuNameEnum
const (
Basic SkuNameEnum = original.Basic
Free SkuNameEnum = original.Free
)
type Account = original.Account
type AccountClient = original.AccountClient
type AccountCreateOrUpdateParameters = original.AccountCreateOrUpdateParameters
type AccountCreateOrUpdateProperties = original.AccountCreateOrUpdateProperties
type AccountListResult = original.AccountListResult
type AccountListResultIterator = original.AccountListResultIterator
type AccountListResultPage = original.AccountListResultPage
type AccountProperties = original.AccountProperties
type AccountUpdateParameters = original.AccountUpdateParameters
type AccountUpdateProperties = original.AccountUpdateProperties
type Activity = original.Activity
type ActivityClient = original.ActivityClient
type ActivityListResult = original.ActivityListResult
type ActivityListResultIterator = original.ActivityListResultIterator
type ActivityListResultPage = original.ActivityListResultPage
type ActivityOutputType = original.ActivityOutputType
type ActivityParameter = original.ActivityParameter
type ActivityParameterSet = original.ActivityParameterSet
type ActivityParameterValidationSet = original.ActivityParameterValidationSet
type ActivityProperties = original.ActivityProperties
type AdvancedSchedule = original.AdvancedSchedule
type AdvancedScheduleMonthlyOccurrence = original.AdvancedScheduleMonthlyOccurrence
type AgentRegistration = original.AgentRegistration
type AgentRegistrationInformationClient = original.AgentRegistrationInformationClient
type AgentRegistrationKeys = original.AgentRegistrationKeys
type AgentRegistrationRegenerateKeyParameter = original.AgentRegistrationRegenerateKeyParameter
type BaseClient = original.BaseClient
type Certificate = original.Certificate
type CertificateClient = original.CertificateClient
type CertificateCreateOrUpdateParameters = original.CertificateCreateOrUpdateParameters
type CertificateCreateOrUpdateProperties = original.CertificateCreateOrUpdateProperties
type CertificateListResult = original.CertificateListResult
type CertificateListResultIterator = original.CertificateListResultIterator
type CertificateListResultPage = original.CertificateListResultPage
type CertificateProperties = original.CertificateProperties
type CertificateUpdateParameters = original.CertificateUpdateParameters
type CertificateUpdateProperties = original.CertificateUpdateProperties
type Connection = original.Connection
type ConnectionClient = original.ConnectionClient
type ConnectionCreateOrUpdateParameters = original.ConnectionCreateOrUpdateParameters
type ConnectionCreateOrUpdateProperties = original.ConnectionCreateOrUpdateProperties
type ConnectionListResult = original.ConnectionListResult
type ConnectionListResultIterator = original.ConnectionListResultIterator
type ConnectionListResultPage = original.ConnectionListResultPage
type ConnectionProperties = original.ConnectionProperties
type ConnectionType = original.ConnectionType
type ConnectionTypeAssociationProperty = original.ConnectionTypeAssociationProperty
type ConnectionTypeClient = original.ConnectionTypeClient
type ConnectionTypeCreateOrUpdateParameters = original.ConnectionTypeCreateOrUpdateParameters
type ConnectionTypeCreateOrUpdateProperties = original.ConnectionTypeCreateOrUpdateProperties
type ConnectionTypeListResult = original.ConnectionTypeListResult
type ConnectionTypeListResultIterator = original.ConnectionTypeListResultIterator
type ConnectionTypeListResultPage = original.ConnectionTypeListResultPage
type ConnectionTypeProperties = original.ConnectionTypeProperties
type ConnectionUpdateParameters = original.ConnectionUpdateParameters
type ConnectionUpdateProperties = original.ConnectionUpdateProperties
type ContentHash = original.ContentHash
type ContentLink = original.ContentLink
type ContentSource = original.ContentSource
type Credential = original.Credential
type CredentialClient = original.CredentialClient
type CredentialCreateOrUpdateParameters = original.CredentialCreateOrUpdateParameters
type CredentialCreateOrUpdateProperties = original.CredentialCreateOrUpdateProperties
type CredentialListResult = original.CredentialListResult
type CredentialListResultIterator = original.CredentialListResultIterator
type CredentialListResultPage = original.CredentialListResultPage
type CredentialProperties = original.CredentialProperties
type CredentialUpdateParameters = original.CredentialUpdateParameters
type CredentialUpdateProperties = original.CredentialUpdateProperties
type DscCompilationJob = original.DscCompilationJob
type DscCompilationJobClient = original.DscCompilationJobClient
type DscCompilationJobCreateParameters = original.DscCompilationJobCreateParameters
type DscCompilationJobCreateProperties = original.DscCompilationJobCreateProperties
type DscCompilationJobListResult = original.DscCompilationJobListResult
type DscCompilationJobListResultIterator = original.DscCompilationJobListResultIterator
type DscCompilationJobListResultPage = original.DscCompilationJobListResultPage
type DscCompilationJobProperties = original.DscCompilationJobProperties
type DscCompilationJobStreamClient = original.DscCompilationJobStreamClient
type DscConfiguration = original.DscConfiguration
type DscConfigurationAssociationProperty = original.DscConfigurationAssociationProperty
type DscConfigurationClient = original.DscConfigurationClient
type DscConfigurationCreateOrUpdateParameters = original.DscConfigurationCreateOrUpdateParameters
type DscConfigurationCreateOrUpdateProperties = original.DscConfigurationCreateOrUpdateProperties
type DscConfigurationListResult = original.DscConfigurationListResult
type DscConfigurationListResultIterator = original.DscConfigurationListResultIterator
type DscConfigurationListResultPage = original.DscConfigurationListResultPage
type DscConfigurationParameter = original.DscConfigurationParameter
type DscConfigurationProperties = original.DscConfigurationProperties
type DscConfigurationUpdateParameters = original.DscConfigurationUpdateParameters
type DscMetaConfiguration = original.DscMetaConfiguration
type DscNode = original.DscNode
type DscNodeClient = original.DscNodeClient
type DscNodeConfiguration = original.DscNodeConfiguration
type DscNodeConfigurationAssociationProperty = original.DscNodeConfigurationAssociationProperty
type DscNodeConfigurationClient = original.DscNodeConfigurationClient
type DscNodeConfigurationCreateOrUpdateParameters = original.DscNodeConfigurationCreateOrUpdateParameters
type DscNodeConfigurationListResult = original.DscNodeConfigurationListResult
type DscNodeConfigurationListResultIterator = original.DscNodeConfigurationListResultIterator
type DscNodeConfigurationListResultPage = original.DscNodeConfigurationListResultPage
type DscNodeExtensionHandlerAssociationProperty = original.DscNodeExtensionHandlerAssociationProperty
type DscNodeListResult = original.DscNodeListResult
type DscNodeListResultIterator = original.DscNodeListResultIterator
type DscNodeListResultPage = original.DscNodeListResultPage
type DscNodeReport = original.DscNodeReport
type DscNodeReportListResult = original.DscNodeReportListResult
type DscNodeReportListResultIterator = original.DscNodeReportListResultIterator
type DscNodeReportListResultPage = original.DscNodeReportListResultPage
type DscNodeUpdateParameters = original.DscNodeUpdateParameters
type DscReportError = original.DscReportError
type DscReportResource = original.DscReportResource
type DscReportResourceNavigation = original.DscReportResourceNavigation
type ErrorResponse = original.ErrorResponse
type FieldDefinition = original.FieldDefinition
type FieldsClient = original.FieldsClient
type HybridRunbookWorker = original.HybridRunbookWorker
type HybridRunbookWorkerGroup = original.HybridRunbookWorkerGroup
type HybridRunbookWorkerGroupClient = original.HybridRunbookWorkerGroupClient
type HybridRunbookWorkerGroupUpdateParameters = original.HybridRunbookWorkerGroupUpdateParameters
type HybridRunbookWorkerGroupsListResult = original.HybridRunbookWorkerGroupsListResult
type HybridRunbookWorkerGroupsListResultIterator = original.HybridRunbookWorkerGroupsListResultIterator
type HybridRunbookWorkerGroupsListResultPage = original.HybridRunbookWorkerGroupsListResultPage
type Job = original.Job
type JobClient = original.JobClient
type JobCreateParameters = original.JobCreateParameters
type JobCreateProperties = original.JobCreateProperties
type JobListResult = original.JobListResult
type JobListResultIterator = original.JobListResultIterator
type JobListResultPage = original.JobListResultPage
type JobProperties = original.JobProperties
type JobSchedule = original.JobSchedule
type JobScheduleClient = original.JobScheduleClient
type JobScheduleCreateParameters = original.JobScheduleCreateParameters
type JobScheduleCreateProperties = original.JobScheduleCreateProperties
type JobScheduleListResult = original.JobScheduleListResult
type JobScheduleListResultIterator = original.JobScheduleListResultIterator
type JobScheduleListResultPage = original.JobScheduleListResultPage
type JobScheduleProperties = original.JobScheduleProperties
type JobStream = original.JobStream
type JobStreamClient = original.JobStreamClient
type JobStreamListResult = original.JobStreamListResult
type JobStreamListResultIterator = original.JobStreamListResultIterator
type JobStreamListResultPage = original.JobStreamListResultPage
type JobStreamProperties = original.JobStreamProperties
type Key = original.Key
type KeyListResult = original.KeyListResult
type KeysClient = original.KeysClient
type LinkedWorkspace = original.LinkedWorkspace
type LinkedWorkspaceClient = original.LinkedWorkspaceClient
type Module = original.Module
type ModuleClient = original.ModuleClient
type ModuleCreateOrUpdateParameters = original.ModuleCreateOrUpdateParameters
type ModuleCreateOrUpdateProperties = original.ModuleCreateOrUpdateProperties
type ModuleErrorInfo = original.ModuleErrorInfo
type ModuleListResult = original.ModuleListResult
type ModuleListResultIterator = original.ModuleListResultIterator
type ModuleListResultPage = original.ModuleListResultPage
type ModuleProperties = original.ModuleProperties
type ModuleUpdateParameters = original.ModuleUpdateParameters
type ModuleUpdateProperties = original.ModuleUpdateProperties
type NodeReportsClient = original.NodeReportsClient
type ObjectDataTypesClient = original.ObjectDataTypesClient
type Operation = original.Operation
type OperationDisplay = original.OperationDisplay
type OperationListResult = original.OperationListResult
type OperationsClient = original.OperationsClient
type ProxyResource = original.ProxyResource
type ReadCloser = original.ReadCloser
type Resource = original.Resource
type RunAsCredentialAssociationProperty = original.RunAsCredentialAssociationProperty
type Runbook = original.Runbook
type RunbookAssociationProperty = original.RunbookAssociationProperty
type RunbookClient = original.RunbookClient
type RunbookCreateOrUpdateDraftParameters = original.RunbookCreateOrUpdateDraftParameters
type RunbookCreateOrUpdateDraftProperties = original.RunbookCreateOrUpdateDraftProperties
type RunbookCreateOrUpdateParameters = original.RunbookCreateOrUpdateParameters
type RunbookCreateOrUpdateProperties = original.RunbookCreateOrUpdateProperties
type RunbookDraft = original.RunbookDraft
type RunbookDraftClient = original.RunbookDraftClient
type RunbookDraftPublishFuture = original.RunbookDraftPublishFuture
type RunbookDraftReplaceContentFuture = original.RunbookDraftReplaceContentFuture
type RunbookDraftUndoEditResult = original.RunbookDraftUndoEditResult
type RunbookListResult = original.RunbookListResult
type RunbookListResultIterator = original.RunbookListResultIterator
type RunbookListResultPage = original.RunbookListResultPage
type RunbookParameter = original.RunbookParameter
type RunbookProperties = original.RunbookProperties
type RunbookUpdateParameters = original.RunbookUpdateParameters
type RunbookUpdateProperties = original.RunbookUpdateProperties
type Schedule = original.Schedule
type ScheduleAssociationProperty = original.ScheduleAssociationProperty
type ScheduleClient = original.ScheduleClient
type ScheduleCreateOrUpdateParameters = original.ScheduleCreateOrUpdateParameters
type ScheduleCreateOrUpdateProperties = original.ScheduleCreateOrUpdateProperties
type ScheduleListResult = original.ScheduleListResult
type ScheduleListResultIterator = original.ScheduleListResultIterator
type ScheduleListResultPage = original.ScheduleListResultPage
type ScheduleProperties = original.ScheduleProperties
type ScheduleUpdateParameters = original.ScheduleUpdateParameters
type ScheduleUpdateProperties = original.ScheduleUpdateProperties
type SetObject = original.SetObject
type Sku = original.Sku
type Statistics = original.Statistics
type StatisticsClient = original.StatisticsClient
type StatisticsListResult = original.StatisticsListResult
type String = original.String
type TestJob = original.TestJob
type TestJobClient = original.TestJobClient
type TestJobCreateParameters = original.TestJobCreateParameters
type TestJobStreamsClient = original.TestJobStreamsClient
type TrackedResource = original.TrackedResource
type TypeField = original.TypeField
type TypeFieldListResult = original.TypeFieldListResult
type Usage = original.Usage
type UsageCounterName = original.UsageCounterName
type UsageListResult = original.UsageListResult
type UsagesClient = original.UsagesClient
type Variable = original.Variable
type VariableClient = original.VariableClient
type VariableCreateOrUpdateParameters = original.VariableCreateOrUpdateParameters
type VariableCreateOrUpdateProperties = original.VariableCreateOrUpdateProperties
type VariableListResult = original.VariableListResult
type VariableListResultIterator = original.VariableListResultIterator
type VariableListResultPage = original.VariableListResultPage
type VariableProperties = original.VariableProperties
type VariableUpdateParameters = original.VariableUpdateParameters
type VariableUpdateProperties = original.VariableUpdateProperties
type Webhook = original.Webhook
type WebhookClient = original.WebhookClient
type WebhookCreateOrUpdateParameters = original.WebhookCreateOrUpdateParameters
type WebhookCreateOrUpdateProperties = original.WebhookCreateOrUpdateProperties
type WebhookListResult = original.WebhookListResult
type WebhookListResultIterator = original.WebhookListResultIterator
type WebhookListResultPage = original.WebhookListResultPage
type WebhookProperties = original.WebhookProperties
type WebhookUpdateParameters = original.WebhookUpdateParameters
type WebhookUpdateProperties = original.WebhookUpdateProperties
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewAccountClient(subscriptionID string) AccountClient {
return original.NewAccountClient(subscriptionID)
}
func NewAccountClientWithBaseURI(baseURI string, subscriptionID string) AccountClient {
return original.NewAccountClientWithBaseURI(baseURI, subscriptionID)
}
func NewAccountListResultIterator(page AccountListResultPage) AccountListResultIterator {
return original.NewAccountListResultIterator(page)
}
func NewAccountListResultPage(getNextPage func(context.Context, AccountListResult) (AccountListResult, error)) AccountListResultPage {
return original.NewAccountListResultPage(getNextPage)
}
func NewActivityClient(subscriptionID string) ActivityClient {
return original.NewActivityClient(subscriptionID)
}
func NewActivityClientWithBaseURI(baseURI string, subscriptionID string) ActivityClient {
return original.NewActivityClientWithBaseURI(baseURI, subscriptionID)
}
func NewActivityListResultIterator(page ActivityListResultPage) ActivityListResultIterator {
return original.NewActivityListResultIterator(page)
}
func NewActivityListResultPage(getNextPage func(context.Context, ActivityListResult) (ActivityListResult, error)) ActivityListResultPage {
return original.NewActivityListResultPage(getNextPage)
}
func NewAgentRegistrationInformationClient(subscriptionID string) AgentRegistrationInformationClient {
return original.NewAgentRegistrationInformationClient(subscriptionID)
}
func NewAgentRegistrationInformationClientWithBaseURI(baseURI string, subscriptionID string) AgentRegistrationInformationClient {
return original.NewAgentRegistrationInformationClientWithBaseURI(baseURI, subscriptionID)
}
func NewCertificateClient(subscriptionID string) CertificateClient {
return original.NewCertificateClient(subscriptionID)
}
func NewCertificateClientWithBaseURI(baseURI string, subscriptionID string) CertificateClient {
return original.NewCertificateClientWithBaseURI(baseURI, subscriptionID)
}
func NewCertificateListResultIterator(page CertificateListResultPage) CertificateListResultIterator {
return original.NewCertificateListResultIterator(page)
}
func NewCertificateListResultPage(getNextPage func(context.Context, CertificateListResult) (CertificateListResult, error)) CertificateListResultPage {
return original.NewCertificateListResultPage(getNextPage)
}
func NewConnectionClient(subscriptionID string) ConnectionClient {
return original.NewConnectionClient(subscriptionID)
}
func NewConnectionClientWithBaseURI(baseURI string, subscriptionID string) ConnectionClient {
return original.NewConnectionClientWithBaseURI(baseURI, subscriptionID)
}
func NewConnectionListResultIterator(page ConnectionListResultPage) ConnectionListResultIterator {
return original.NewConnectionListResultIterator(page)
}
func NewConnectionListResultPage(getNextPage func(context.Context, ConnectionListResult) (ConnectionListResult, error)) ConnectionListResultPage {
return original.NewConnectionListResultPage(getNextPage)
}
func NewConnectionTypeClient(subscriptionID string) ConnectionTypeClient {
return original.NewConnectionTypeClient(subscriptionID)
}
func NewConnectionTypeClientWithBaseURI(baseURI string, subscriptionID string) ConnectionTypeClient {
return original.NewConnectionTypeClientWithBaseURI(baseURI, subscriptionID)
}
func NewConnectionTypeListResultIterator(page ConnectionTypeListResultPage) ConnectionTypeListResultIterator {
return original.NewConnectionTypeListResultIterator(page)
}
func NewConnectionTypeListResultPage(getNextPage func(context.Context, ConnectionTypeListResult) (ConnectionTypeListResult, error)) ConnectionTypeListResultPage {
return original.NewConnectionTypeListResultPage(getNextPage)
}
func NewCredentialClient(subscriptionID string) CredentialClient {
return original.NewCredentialClient(subscriptionID)
}
func NewCredentialClientWithBaseURI(baseURI string, subscriptionID string) CredentialClient {
return original.NewCredentialClientWithBaseURI(baseURI, subscriptionID)
}
func NewCredentialListResultIterator(page CredentialListResultPage) CredentialListResultIterator {
return original.NewCredentialListResultIterator(page)
}
func NewCredentialListResultPage(getNextPage func(context.Context, CredentialListResult) (CredentialListResult, error)) CredentialListResultPage {
return original.NewCredentialListResultPage(getNextPage)
}
func NewDscCompilationJobClient(subscriptionID string) DscCompilationJobClient {
return original.NewDscCompilationJobClient(subscriptionID)
}
func NewDscCompilationJobClientWithBaseURI(baseURI string, subscriptionID string) DscCompilationJobClient {
return original.NewDscCompilationJobClientWithBaseURI(baseURI, subscriptionID)
}
func NewDscCompilationJobListResultIterator(page DscCompilationJobListResultPage) DscCompilationJobListResultIterator {
return original.NewDscCompilationJobListResultIterator(page)
}
func NewDscCompilationJobListResultPage(getNextPage func(context.Context, DscCompilationJobListResult) (DscCompilationJobListResult, error)) DscCompilationJobListResultPage {
return original.NewDscCompilationJobListResultPage(getNextPage)
}
func NewDscCompilationJobStreamClient(subscriptionID string) DscCompilationJobStreamClient {
return original.NewDscCompilationJobStreamClient(subscriptionID)
}
func NewDscCompilationJobStreamClientWithBaseURI(baseURI string, subscriptionID string) DscCompilationJobStreamClient {
return original.NewDscCompilationJobStreamClientWithBaseURI(baseURI, subscriptionID)
}
func NewDscConfigurationClient(subscriptionID string) DscConfigurationClient {
return original.NewDscConfigurationClient(subscriptionID)
}
func NewDscConfigurationClientWithBaseURI(baseURI string, subscriptionID string) DscConfigurationClient {
return original.NewDscConfigurationClientWithBaseURI(baseURI, subscriptionID)
}
func NewDscConfigurationListResultIterator(page DscConfigurationListResultPage) DscConfigurationListResultIterator {
return original.NewDscConfigurationListResultIterator(page)
}
func NewDscConfigurationListResultPage(getNextPage func(context.Context, DscConfigurationListResult) (DscConfigurationListResult, error)) DscConfigurationListResultPage {
return original.NewDscConfigurationListResultPage(getNextPage)
}
func NewDscNodeClient(subscriptionID string) DscNodeClient {
return original.NewDscNodeClient(subscriptionID)
}
func NewDscNodeClientWithBaseURI(baseURI string, subscriptionID string) DscNodeClient {
return original.NewDscNodeClientWithBaseURI(baseURI, subscriptionID)
}
func NewDscNodeConfigurationClient(subscriptionID string) DscNodeConfigurationClient {
return original.NewDscNodeConfigurationClient(subscriptionID)
}
func NewDscNodeConfigurationClientWithBaseURI(baseURI string, subscriptionID string) DscNodeConfigurationClient {
return original.NewDscNodeConfigurationClientWithBaseURI(baseURI, subscriptionID)
}
func NewDscNodeConfigurationListResultIterator(page DscNodeConfigurationListResultPage) DscNodeConfigurationListResultIterator {
return original.NewDscNodeConfigurationListResultIterator(page)
}
func NewDscNodeConfigurationListResultPage(getNextPage func(context.Context, DscNodeConfigurationListResult) (DscNodeConfigurationListResult, error)) DscNodeConfigurationListResultPage {
return original.NewDscNodeConfigurationListResultPage(getNextPage)
}
func NewDscNodeListResultIterator(page DscNodeListResultPage) DscNodeListResultIterator {
return original.NewDscNodeListResultIterator(page)
}
func NewDscNodeListResultPage(getNextPage func(context.Context, DscNodeListResult) (DscNodeListResult, error)) DscNodeListResultPage {
return original.NewDscNodeListResultPage(getNextPage)
}
func NewDscNodeReportListResultIterator(page DscNodeReportListResultPage) DscNodeReportListResultIterator {
return original.NewDscNodeReportListResultIterator(page)
}
func NewDscNodeReportListResultPage(getNextPage func(context.Context, DscNodeReportListResult) (DscNodeReportListResult, error)) DscNodeReportListResultPage {
return original.NewDscNodeReportListResultPage(getNextPage)
}
func NewFieldsClient(subscriptionID string) FieldsClient {
return original.NewFieldsClient(subscriptionID)
}
func NewFieldsClientWithBaseURI(baseURI string, subscriptionID string) FieldsClient {
return original.NewFieldsClientWithBaseURI(baseURI, subscriptionID)
}
func NewHybridRunbookWorkerGroupClient(subscriptionID string) HybridRunbookWorkerGroupClient {
return original.NewHybridRunbookWorkerGroupClient(subscriptionID)
}
func NewHybridRunbookWorkerGroupClientWithBaseURI(baseURI string, subscriptionID string) HybridRunbookWorkerGroupClient {
return original.NewHybridRunbookWorkerGroupClientWithBaseURI(baseURI, subscriptionID)
}
func NewHybridRunbookWorkerGroupsListResultIterator(page HybridRunbookWorkerGroupsListResultPage) HybridRunbookWorkerGroupsListResultIterator {
return original.NewHybridRunbookWorkerGroupsListResultIterator(page)
}
func NewHybridRunbookWorkerGroupsListResultPage(getNextPage func(context.Context, HybridRunbookWorkerGroupsListResult) (HybridRunbookWorkerGroupsListResult, error)) HybridRunbookWorkerGroupsListResultPage {
return original.NewHybridRunbookWorkerGroupsListResultPage(getNextPage)
}
func NewJobClient(subscriptionID string) JobClient {
return original.NewJobClient(subscriptionID)
}
func NewJobClientWithBaseURI(baseURI string, subscriptionID string) JobClient {
return original.NewJobClientWithBaseURI(baseURI, subscriptionID)
}
func NewJobListResultIterator(page JobListResultPage) JobListResultIterator {
return original.NewJobListResultIterator(page)
}
func NewJobListResultPage(getNextPage func(context.Context, JobListResult) (JobListResult, error)) JobListResultPage {
return original.NewJobListResultPage(getNextPage)
}
func NewJobScheduleClient(subscriptionID string) JobScheduleClient {
return original.NewJobScheduleClient(subscriptionID)
}
func NewJobScheduleClientWithBaseURI(baseURI string, subscriptionID string) JobScheduleClient {
return original.NewJobScheduleClientWithBaseURI(baseURI, subscriptionID)
}
func NewJobScheduleListResultIterator(page JobScheduleListResultPage) JobScheduleListResultIterator {
return original.NewJobScheduleListResultIterator(page)
}
func NewJobScheduleListResultPage(getNextPage func(context.Context, JobScheduleListResult) (JobScheduleListResult, error)) JobScheduleListResultPage {
return original.NewJobScheduleListResultPage(getNextPage)
}
func NewJobStreamClient(subscriptionID string) JobStreamClient {
return original.NewJobStreamClient(subscriptionID)
}
func NewJobStreamClientWithBaseURI(baseURI string, subscriptionID string) JobStreamClient {
return original.NewJobStreamClientWithBaseURI(baseURI, subscriptionID)
}
func NewJobStreamListResultIterator(page JobStreamListResultPage) JobStreamListResultIterator {
return original.NewJobStreamListResultIterator(page)
}
func NewJobStreamListResultPage(getNextPage func(context.Context, JobStreamListResult) (JobStreamListResult, error)) JobStreamListResultPage {
return original.NewJobStreamListResultPage(getNextPage)
}
func NewKeysClient(subscriptionID string) KeysClient {
return original.NewKeysClient(subscriptionID)
}
func NewKeysClientWithBaseURI(baseURI string, subscriptionID string) KeysClient {
return original.NewKeysClientWithBaseURI(baseURI, subscriptionID)
}
func NewLinkedWorkspaceClient(subscriptionID string) LinkedWorkspaceClient {
return original.NewLinkedWorkspaceClient(subscriptionID)
}
func NewLinkedWorkspaceClientWithBaseURI(baseURI string, subscriptionID string) LinkedWorkspaceClient {
return original.NewLinkedWorkspaceClientWithBaseURI(baseURI, subscriptionID)
}
func NewModuleClient(subscriptionID string) ModuleClient {
return original.NewModuleClient(subscriptionID)
}
func NewModuleClientWithBaseURI(baseURI string, subscriptionID string) ModuleClient {
return original.NewModuleClientWithBaseURI(baseURI, subscriptionID)
}
func NewModuleListResultIterator(page ModuleListResultPage) ModuleListResultIterator {
return original.NewModuleListResultIterator(page)
}
func NewModuleListResultPage(getNextPage func(context.Context, ModuleListResult) (ModuleListResult, error)) ModuleListResultPage {
return original.NewModuleListResultPage(getNextPage)
}
func NewNodeReportsClient(subscriptionID string) NodeReportsClient {
return original.NewNodeReportsClient(subscriptionID)
}
func NewNodeReportsClientWithBaseURI(baseURI string, subscriptionID string) NodeReportsClient {
return original.NewNodeReportsClientWithBaseURI(baseURI, subscriptionID)
}
func NewObjectDataTypesClient(subscriptionID string) ObjectDataTypesClient {
return original.NewObjectDataTypesClient(subscriptionID)
}
func NewObjectDataTypesClientWithBaseURI(baseURI string, subscriptionID string) ObjectDataTypesClient {
return original.NewObjectDataTypesClientWithBaseURI(baseURI, subscriptionID)
}
func NewOperationsClient(subscriptionID string) OperationsClient {
return original.NewOperationsClient(subscriptionID)
}
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewRunbookClient(subscriptionID string) RunbookClient {
return original.NewRunbookClient(subscriptionID)
}
func NewRunbookClientWithBaseURI(baseURI string, subscriptionID string) RunbookClient {
return original.NewRunbookClientWithBaseURI(baseURI, subscriptionID)
}
func NewRunbookDraftClient(subscriptionID string) RunbookDraftClient {
return original.NewRunbookDraftClient(subscriptionID)
}
func NewRunbookDraftClientWithBaseURI(baseURI string, subscriptionID string) RunbookDraftClient {
return original.NewRunbookDraftClientWithBaseURI(baseURI, subscriptionID)
}
func NewRunbookListResultIterator(page RunbookListResultPage) RunbookListResultIterator {
return original.NewRunbookListResultIterator(page)
}
func NewRunbookListResultPage(getNextPage func(context.Context, RunbookListResult) (RunbookListResult, error)) RunbookListResultPage {
return original.NewRunbookListResultPage(getNextPage)
}
func NewScheduleClient(subscriptionID string) ScheduleClient {
return original.NewScheduleClient(subscriptionID)
}
func NewScheduleClientWithBaseURI(baseURI string, subscriptionID string) ScheduleClient {
return original.NewScheduleClientWithBaseURI(baseURI, subscriptionID)
}
func NewScheduleListResultIterator(page ScheduleListResultPage) ScheduleListResultIterator {
return original.NewScheduleListResultIterator(page)
}
func NewScheduleListResultPage(getNextPage func(context.Context, ScheduleListResult) (ScheduleListResult, error)) ScheduleListResultPage {
return original.NewScheduleListResultPage(getNextPage)
}
func NewStatisticsClient(subscriptionID string) StatisticsClient {
return original.NewStatisticsClient(subscriptionID)
}
func NewStatisticsClientWithBaseURI(baseURI string, subscriptionID string) StatisticsClient {
return original.NewStatisticsClientWithBaseURI(baseURI, subscriptionID)
}
func NewTestJobClient(subscriptionID string) TestJobClient {
return original.NewTestJobClient(subscriptionID)
}
func NewTestJobClientWithBaseURI(baseURI string, subscriptionID string) TestJobClient {
return original.NewTestJobClientWithBaseURI(baseURI, subscriptionID)
}
func NewTestJobStreamsClient(subscriptionID string) TestJobStreamsClient {
return original.NewTestJobStreamsClient(subscriptionID)
}
func NewTestJobStreamsClientWithBaseURI(baseURI string, subscriptionID string) TestJobStreamsClient {
return original.NewTestJobStreamsClientWithBaseURI(baseURI, subscriptionID)
}
func NewUsagesClient(subscriptionID string) UsagesClient {
return original.NewUsagesClient(subscriptionID)
}
func NewUsagesClientWithBaseURI(baseURI string, subscriptionID string) UsagesClient {
return original.NewUsagesClientWithBaseURI(baseURI, subscriptionID)
}
func NewVariableClient(subscriptionID string) VariableClient {
return original.NewVariableClient(subscriptionID)
}
func NewVariableClientWithBaseURI(baseURI string, subscriptionID string) VariableClient {
return original.NewVariableClientWithBaseURI(baseURI, subscriptionID)
}
func NewVariableListResultIterator(page VariableListResultPage) VariableListResultIterator {
return original.NewVariableListResultIterator(page)
}
func NewVariableListResultPage(getNextPage func(context.Context, VariableListResult) (VariableListResult, error)) VariableListResultPage {
return original.NewVariableListResultPage(getNextPage)
}
func NewWebhookClient(subscriptionID string) WebhookClient {
return original.NewWebhookClient(subscriptionID)
}
func NewWebhookClientWithBaseURI(baseURI string, subscriptionID string) WebhookClient {
return original.NewWebhookClientWithBaseURI(baseURI, subscriptionID)
}
func NewWebhookListResultIterator(page WebhookListResultPage) WebhookListResultIterator {
return original.NewWebhookListResultIterator(page)
}
func NewWebhookListResultPage(getNextPage func(context.Context, WebhookListResult) (WebhookListResult, error)) WebhookListResultPage {
return original.NewWebhookListResultPage(getNextPage)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func PossibleAccountStateValues() []AccountState {
return original.PossibleAccountStateValues()
}
func PossibleAgentRegistrationKeyNameValues() []AgentRegistrationKeyName {
return original.PossibleAgentRegistrationKeyNameValues()
}
func PossibleContentSourceTypeValues() []ContentSourceType {
return original.PossibleContentSourceTypeValues()
}
func PossibleDscConfigurationProvisioningStateValues() []DscConfigurationProvisioningState {
return original.PossibleDscConfigurationProvisioningStateValues()
}
func PossibleDscConfigurationStateValues() []DscConfigurationState {
return original.PossibleDscConfigurationStateValues()
}
func PossibleGroupTypeEnumValues() []GroupTypeEnum {
return original.PossibleGroupTypeEnumValues()
}
func PossibleHTTPStatusCodeValues() []HTTPStatusCode {
return original.PossibleHTTPStatusCodeValues()
}
func PossibleJobProvisioningStateValues() []JobProvisioningState {
return original.PossibleJobProvisioningStateValues()
}
func PossibleJobStatusValues() []JobStatus {
return original.PossibleJobStatusValues()
}
func PossibleJobStreamTypeValues() []JobStreamType {
return original.PossibleJobStreamTypeValues()
}
func PossibleKeyNameValues() []KeyName {
return original.PossibleKeyNameValues()
}
func PossibleKeyPermissionsValues() []KeyPermissions {
return original.PossibleKeyPermissionsValues()
}
func PossibleModuleProvisioningStateValues() []ModuleProvisioningState {
return original.PossibleModuleProvisioningStateValues()
}
func PossibleRunbookProvisioningStateValues() []RunbookProvisioningState {
return original.PossibleRunbookProvisioningStateValues()
}
func PossibleRunbookStateValues() []RunbookState {
return original.PossibleRunbookStateValues()
}
func PossibleRunbookTypeEnumValues() []RunbookTypeEnum {
return original.PossibleRunbookTypeEnumValues()
}
func PossibleScheduleDayValues() []ScheduleDay {
return original.PossibleScheduleDayValues()
}
func PossibleScheduleFrequencyValues() []ScheduleFrequency {
return original.PossibleScheduleFrequencyValues()
}
func PossibleSkuNameEnumValues() []SkuNameEnum {
return original.PossibleSkuNameEnumValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}

View file

@ -0,0 +1,319 @@
// +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 fabric
import original "github.com/Azure/azure-sdk-for-go/services/azsadmin/mgmt/2016-05-01/fabric"
const (
DefaultBaseURI = original.DefaultBaseURI
)
type InfraRoleInstanceState = original.InfraRoleInstanceState
const (
Running InfraRoleInstanceState = original.Running
Starting InfraRoleInstanceState = original.Starting
Stopped InfraRoleInstanceState = original.Stopped
Stopping InfraRoleInstanceState = original.Stopping
)
type PowerState = original.PowerState
const (
PowerStateRunning PowerState = original.PowerStateRunning
PowerStateStarting PowerState = original.PowerStateStarting
PowerStateStopped PowerState = original.PowerStateStopped
PowerStateStopping PowerState = original.PowerStateStopping
)
type ScaleUnitNodeStatus = original.ScaleUnitNodeStatus
const (
ScaleUnitNodeStatusMaintenance ScaleUnitNodeStatus = original.ScaleUnitNodeStatusMaintenance
ScaleUnitNodeStatusRunning ScaleUnitNodeStatus = original.ScaleUnitNodeStatusRunning
ScaleUnitNodeStatusStopped ScaleUnitNodeStatus = original.ScaleUnitNodeStatusStopped
)
type ScaleUnitState = original.ScaleUnitState
const (
ScaleUnitStateCreating ScaleUnitState = original.ScaleUnitStateCreating
ScaleUnitStateDeleting ScaleUnitState = original.ScaleUnitStateDeleting
ScaleUnitStateRunning ScaleUnitState = original.ScaleUnitStateRunning
ScaleUnitStateUnknown ScaleUnitState = original.ScaleUnitStateUnknown
ScaleUnitStateUpgrading ScaleUnitState = original.ScaleUnitStateUpgrading
)
type ScaleUnitType = original.ScaleUnitType
const (
ComputeOnly ScaleUnitType = original.ComputeOnly
HyperConverged ScaleUnitType = original.HyperConverged
StorageOnly ScaleUnitType = original.StorageOnly
Unknown ScaleUnitType = original.Unknown
)
type BaseClient = original.BaseClient
type ComputeFabricOperationsClient = original.ComputeFabricOperationsClient
type EdgeGateway = original.EdgeGateway
type EdgeGatewayList = original.EdgeGatewayList
type EdgeGatewayListIterator = original.EdgeGatewayListIterator
type EdgeGatewayListPage = original.EdgeGatewayListPage
type EdgeGatewayModel = original.EdgeGatewayModel
type EdgeGatewayPool = original.EdgeGatewayPool
type EdgeGatewayPoolList = original.EdgeGatewayPoolList
type EdgeGatewayPoolListIterator = original.EdgeGatewayPoolListIterator
type EdgeGatewayPoolListPage = original.EdgeGatewayPoolListPage
type EdgeGatewayPoolModel = original.EdgeGatewayPoolModel
type EdgeGatewayPoolsClient = original.EdgeGatewayPoolsClient
type EdgeGatewaysClient = original.EdgeGatewaysClient
type FileShare = original.FileShare
type FileShareList = original.FileShareList
type FileShareModel = original.FileShareModel
type FileSharesClient = original.FileSharesClient
type IPPool = original.IPPool
type IPPoolList = original.IPPoolList
type IPPoolListIterator = original.IPPoolListIterator
type IPPoolListPage = original.IPPoolListPage
type IPPoolModel = original.IPPoolModel
type IPPoolsClient = original.IPPoolsClient
type IPPoolsCreateFuture = original.IPPoolsCreateFuture
type InfraRole = original.InfraRole
type InfraRoleInstance = original.InfraRoleInstance
type InfraRoleInstanceList = original.InfraRoleInstanceList
type InfraRoleInstanceListIterator = original.InfraRoleInstanceListIterator
type InfraRoleInstanceListPage = original.InfraRoleInstanceListPage
type InfraRoleInstanceModel = original.InfraRoleInstanceModel
type InfraRoleInstanceSize = original.InfraRoleInstanceSize
type InfraRoleInstancesClient = original.InfraRoleInstancesClient
type InfraRoleInstancesPowerOffFuture = original.InfraRoleInstancesPowerOffFuture
type InfraRoleInstancesPowerOnFuture = original.InfraRoleInstancesPowerOnFuture
type InfraRoleInstancesRebootFuture = original.InfraRoleInstancesRebootFuture
type InfraRoleInstancesShutdownFuture = original.InfraRoleInstancesShutdownFuture
type InfraRoleList = original.InfraRoleList
type InfraRoleListIterator = original.InfraRoleListIterator
type InfraRoleListPage = original.InfraRoleListPage
type InfraRoleModel = original.InfraRoleModel
type InfraRolesClient = original.InfraRolesClient
type Location = original.Location
type LocationList = original.LocationList
type LocationListIterator = original.LocationListIterator
type LocationListPage = original.LocationListPage
type LocationsClient = original.LocationsClient
type LogicalNetwork = original.LogicalNetwork
type LogicalNetworkList = original.LogicalNetworkList
type LogicalNetworkListIterator = original.LogicalNetworkListIterator
type LogicalNetworkListPage = original.LogicalNetworkListPage
type LogicalNetworkModel = original.LogicalNetworkModel
type LogicalNetworksClient = original.LogicalNetworksClient
type LogicalSubnet = original.LogicalSubnet
type LogicalSubnetList = original.LogicalSubnetList
type LogicalSubnetListIterator = original.LogicalSubnetListIterator
type LogicalSubnetListPage = original.LogicalSubnetListPage
type LogicalSubnetModel = original.LogicalSubnetModel
type LogicalSubnetsClient = original.LogicalSubnetsClient
type MacAddressPool = original.MacAddressPool
type MacAddressPoolList = original.MacAddressPoolList
type MacAddressPoolListIterator = original.MacAddressPoolListIterator
type MacAddressPoolListPage = original.MacAddressPoolListPage
type MacAddressPoolModel = original.MacAddressPoolModel
type MacAddressPoolsClient = original.MacAddressPoolsClient
type NetworkFabricOperationsClient = original.NetworkFabricOperationsClient
type OperationStatus = original.OperationStatus
type OperationStatusLocation = original.OperationStatusLocation
type ProvisioningStateModel = original.ProvisioningStateModel
type Resource = original.Resource
type ScaleUnit = original.ScaleUnit
type ScaleUnitCapacity = original.ScaleUnitCapacity
type ScaleUnitList = original.ScaleUnitList
type ScaleUnitListIterator = original.ScaleUnitListIterator
type ScaleUnitListPage = original.ScaleUnitListPage
type ScaleUnitModel = original.ScaleUnitModel
type ScaleUnitNode = original.ScaleUnitNode
type ScaleUnitNodeList = original.ScaleUnitNodeList
type ScaleUnitNodeListIterator = original.ScaleUnitNodeListIterator
type ScaleUnitNodeListPage = original.ScaleUnitNodeListPage
type ScaleUnitNodeModel = original.ScaleUnitNodeModel
type ScaleUnitNodesClient = original.ScaleUnitNodesClient
type ScaleUnitNodesPowerOffFuture = original.ScaleUnitNodesPowerOffFuture
type ScaleUnitNodesPowerOnFuture = original.ScaleUnitNodesPowerOnFuture
type ScaleUnitNodesStartMaintenanceModeFuture = original.ScaleUnitNodesStartMaintenanceModeFuture
type ScaleUnitNodesStopMaintenanceModeFuture = original.ScaleUnitNodesStopMaintenanceModeFuture
type ScaleUnitsClient = original.ScaleUnitsClient
type SlbMuxInstance = original.SlbMuxInstance
type SlbMuxInstanceList = original.SlbMuxInstanceList
type SlbMuxInstanceListIterator = original.SlbMuxInstanceListIterator
type SlbMuxInstanceListPage = original.SlbMuxInstanceListPage
type SlbMuxInstanceModel = original.SlbMuxInstanceModel
type SlbMuxInstancesClient = original.SlbMuxInstancesClient
type StoragePool = original.StoragePool
type StoragePoolList = original.StoragePoolList
type StoragePoolListIterator = original.StoragePoolListIterator
type StoragePoolListPage = original.StoragePoolListPage
type StoragePoolModel = original.StoragePoolModel
type StoragePoolsClient = original.StoragePoolsClient
type StorageSystem = original.StorageSystem
type StorageSystemList = original.StorageSystemList
type StorageSystemListIterator = original.StorageSystemListIterator
type StorageSystemListPage = original.StorageSystemListPage
type StorageSystemModel = original.StorageSystemModel
type StorageSystemsClient = original.StorageSystemsClient
type Volume = original.Volume
type VolumeList = original.VolumeList
type VolumeListIterator = original.VolumeListIterator
type VolumeListPage = original.VolumeListPage
type VolumeModel = original.VolumeModel
type VolumesClient = original.VolumesClient
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewComputeFabricOperationsClient(subscriptionID string) ComputeFabricOperationsClient {
return original.NewComputeFabricOperationsClient(subscriptionID)
}
func NewComputeFabricOperationsClientWithBaseURI(baseURI string, subscriptionID string) ComputeFabricOperationsClient {
return original.NewComputeFabricOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewEdgeGatewayPoolsClient(subscriptionID string) EdgeGatewayPoolsClient {
return original.NewEdgeGatewayPoolsClient(subscriptionID)
}
func NewEdgeGatewayPoolsClientWithBaseURI(baseURI string, subscriptionID string) EdgeGatewayPoolsClient {
return original.NewEdgeGatewayPoolsClientWithBaseURI(baseURI, subscriptionID)
}
func NewEdgeGatewaysClient(subscriptionID string) EdgeGatewaysClient {
return original.NewEdgeGatewaysClient(subscriptionID)
}
func NewEdgeGatewaysClientWithBaseURI(baseURI string, subscriptionID string) EdgeGatewaysClient {
return original.NewEdgeGatewaysClientWithBaseURI(baseURI, subscriptionID)
}
func NewFileSharesClient(subscriptionID string) FileSharesClient {
return original.NewFileSharesClient(subscriptionID)
}
func NewFileSharesClientWithBaseURI(baseURI string, subscriptionID string) FileSharesClient {
return original.NewFileSharesClientWithBaseURI(baseURI, subscriptionID)
}
func NewIPPoolsClient(subscriptionID string) IPPoolsClient {
return original.NewIPPoolsClient(subscriptionID)
}
func NewIPPoolsClientWithBaseURI(baseURI string, subscriptionID string) IPPoolsClient {
return original.NewIPPoolsClientWithBaseURI(baseURI, subscriptionID)
}
func NewInfraRoleInstancesClient(subscriptionID string) InfraRoleInstancesClient {
return original.NewInfraRoleInstancesClient(subscriptionID)
}
func NewInfraRoleInstancesClientWithBaseURI(baseURI string, subscriptionID string) InfraRoleInstancesClient {
return original.NewInfraRoleInstancesClientWithBaseURI(baseURI, subscriptionID)
}
func NewInfraRolesClient(subscriptionID string) InfraRolesClient {
return original.NewInfraRolesClient(subscriptionID)
}
func NewInfraRolesClientWithBaseURI(baseURI string, subscriptionID string) InfraRolesClient {
return original.NewInfraRolesClientWithBaseURI(baseURI, subscriptionID)
}
func NewLocationsClient(subscriptionID string) LocationsClient {
return original.NewLocationsClient(subscriptionID)
}
func NewLocationsClientWithBaseURI(baseURI string, subscriptionID string) LocationsClient {
return original.NewLocationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewLogicalNetworksClient(subscriptionID string) LogicalNetworksClient {
return original.NewLogicalNetworksClient(subscriptionID)
}
func NewLogicalNetworksClientWithBaseURI(baseURI string, subscriptionID string) LogicalNetworksClient {
return original.NewLogicalNetworksClientWithBaseURI(baseURI, subscriptionID)
}
func NewLogicalSubnetsClient(subscriptionID string) LogicalSubnetsClient {
return original.NewLogicalSubnetsClient(subscriptionID)
}
func NewLogicalSubnetsClientWithBaseURI(baseURI string, subscriptionID string) LogicalSubnetsClient {
return original.NewLogicalSubnetsClientWithBaseURI(baseURI, subscriptionID)
}
func NewMacAddressPoolsClient(subscriptionID string) MacAddressPoolsClient {
return original.NewMacAddressPoolsClient(subscriptionID)
}
func NewMacAddressPoolsClientWithBaseURI(baseURI string, subscriptionID string) MacAddressPoolsClient {
return original.NewMacAddressPoolsClientWithBaseURI(baseURI, subscriptionID)
}
func NewNetworkFabricOperationsClient(subscriptionID string) NetworkFabricOperationsClient {
return original.NewNetworkFabricOperationsClient(subscriptionID)
}
func NewNetworkFabricOperationsClientWithBaseURI(baseURI string, subscriptionID string) NetworkFabricOperationsClient {
return original.NewNetworkFabricOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewScaleUnitNodesClient(subscriptionID string) ScaleUnitNodesClient {
return original.NewScaleUnitNodesClient(subscriptionID)
}
func NewScaleUnitNodesClientWithBaseURI(baseURI string, subscriptionID string) ScaleUnitNodesClient {
return original.NewScaleUnitNodesClientWithBaseURI(baseURI, subscriptionID)
}
func NewScaleUnitsClient(subscriptionID string) ScaleUnitsClient {
return original.NewScaleUnitsClient(subscriptionID)
}
func NewScaleUnitsClientWithBaseURI(baseURI string, subscriptionID string) ScaleUnitsClient {
return original.NewScaleUnitsClientWithBaseURI(baseURI, subscriptionID)
}
func NewSlbMuxInstancesClient(subscriptionID string) SlbMuxInstancesClient {
return original.NewSlbMuxInstancesClient(subscriptionID)
}
func NewSlbMuxInstancesClientWithBaseURI(baseURI string, subscriptionID string) SlbMuxInstancesClient {
return original.NewSlbMuxInstancesClientWithBaseURI(baseURI, subscriptionID)
}
func NewStoragePoolsClient(subscriptionID string) StoragePoolsClient {
return original.NewStoragePoolsClient(subscriptionID)
}
func NewStoragePoolsClientWithBaseURI(baseURI string, subscriptionID string) StoragePoolsClient {
return original.NewStoragePoolsClientWithBaseURI(baseURI, subscriptionID)
}
func NewStorageSystemsClient(subscriptionID string) StorageSystemsClient {
return original.NewStorageSystemsClient(subscriptionID)
}
func NewStorageSystemsClientWithBaseURI(baseURI string, subscriptionID string) StorageSystemsClient {
return original.NewStorageSystemsClientWithBaseURI(baseURI, subscriptionID)
}
func NewVolumesClient(subscriptionID string) VolumesClient {
return original.NewVolumesClient(subscriptionID)
}
func NewVolumesClientWithBaseURI(baseURI string, subscriptionID string) VolumesClient {
return original.NewVolumesClientWithBaseURI(baseURI, subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func PossibleInfraRoleInstanceStateValues() []InfraRoleInstanceState {
return original.PossibleInfraRoleInstanceStateValues()
}
func PossiblePowerStateValues() []PowerState {
return original.PossiblePowerStateValues()
}
func PossibleScaleUnitNodeStatusValues() []ScaleUnitNodeStatus {
return original.PossibleScaleUnitNodeStatusValues()
}
func PossibleScaleUnitStateValues() []ScaleUnitState {
return original.PossibleScaleUnitStateValues()
}
func PossibleScaleUnitTypeValues() []ScaleUnitType {
return original.PossibleScaleUnitTypeValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}

View file

@ -0,0 +1,120 @@
// +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 infrastructureinsights
import original "github.com/Azure/azure-sdk-for-go/services/azsadmin/mgmt/2016-05-01/infrastructureinsights"
const (
DefaultBaseURI = original.DefaultBaseURI
)
type MetricsSourceType = original.MetricsSourceType
const (
PhysicalNode MetricsSourceType = original.PhysicalNode
ResourceProvider MetricsSourceType = original.ResourceProvider
VirtualMachine MetricsSourceType = original.VirtualMachine
)
type MetricsUnit = original.MetricsUnit
const (
B MetricsUnit = original.B
GB MetricsUnit = original.GB
KB MetricsUnit = original.KB
MB MetricsUnit = original.MB
One MetricsUnit = original.One
Percentage MetricsUnit = original.Percentage
TB MetricsUnit = original.TB
)
type Alert = original.Alert
type AlertList = original.AlertList
type AlertListIterator = original.AlertListIterator
type AlertListPage = original.AlertListPage
type AlertModel = original.AlertModel
type AlertSummary = original.AlertSummary
type AlertsClient = original.AlertsClient
type BaseClient = original.BaseClient
type BaseHealth = original.BaseHealth
type Metrics = original.Metrics
type RegionHealth = original.RegionHealth
type RegionHealthList = original.RegionHealthList
type RegionHealthListIterator = original.RegionHealthListIterator
type RegionHealthListPage = original.RegionHealthListPage
type RegionHealthModel = original.RegionHealthModel
type RegionHealthsClient = original.RegionHealthsClient
type Resource = original.Resource
type ResourceHealth = original.ResourceHealth
type ResourceHealthList = original.ResourceHealthList
type ResourceHealthListIterator = original.ResourceHealthListIterator
type ResourceHealthListPage = original.ResourceHealthListPage
type ResourceHealthModel = original.ResourceHealthModel
type ResourceHealthsClient = original.ResourceHealthsClient
type ServiceHealth = original.ServiceHealth
type ServiceHealthList = original.ServiceHealthList
type ServiceHealthListIterator = original.ServiceHealthListIterator
type ServiceHealthListPage = original.ServiceHealthListPage
type ServiceHealthModel = original.ServiceHealthModel
type ServiceHealthsClient = original.ServiceHealthsClient
type UsageMetrics = original.UsageMetrics
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewAlertsClient(subscriptionID string) AlertsClient {
return original.NewAlertsClient(subscriptionID)
}
func NewAlertsClientWithBaseURI(baseURI string, subscriptionID string) AlertsClient {
return original.NewAlertsClientWithBaseURI(baseURI, subscriptionID)
}
func NewRegionHealthsClient(subscriptionID string) RegionHealthsClient {
return original.NewRegionHealthsClient(subscriptionID)
}
func NewRegionHealthsClientWithBaseURI(baseURI string, subscriptionID string) RegionHealthsClient {
return original.NewRegionHealthsClientWithBaseURI(baseURI, subscriptionID)
}
func NewResourceHealthsClient(subscriptionID string) ResourceHealthsClient {
return original.NewResourceHealthsClient(subscriptionID)
}
func NewResourceHealthsClientWithBaseURI(baseURI string, subscriptionID string) ResourceHealthsClient {
return original.NewResourceHealthsClientWithBaseURI(baseURI, subscriptionID)
}
func NewServiceHealthsClient(subscriptionID string) ServiceHealthsClient {
return original.NewServiceHealthsClient(subscriptionID)
}
func NewServiceHealthsClientWithBaseURI(baseURI string, subscriptionID string) ServiceHealthsClient {
return original.NewServiceHealthsClientWithBaseURI(baseURI, subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func PossibleMetricsSourceTypeValues() []MetricsSourceType {
return original.PossibleMetricsSourceTypeValues()
}
func PossibleMetricsUnitValues() []MetricsUnit {
return original.PossibleMetricsUnitValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}

View file

@ -0,0 +1,27 @@
// +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 azurestackapi
import original "github.com/Azure/azure-sdk-for-go/services/azurestack/mgmt/2017-06-01/azurestack/azurestackapi"
type CustomerSubscriptionsClientAPI = original.CustomerSubscriptionsClientAPI
type OperationsClientAPI = original.OperationsClientAPI
type ProductsClientAPI = original.ProductsClientAPI
type RegistrationsClientAPI = original.RegistrationsClientAPI

View file

@ -0,0 +1,177 @@
// +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 azurestack
import (
"context"
original "github.com/Azure/azure-sdk-for-go/services/azurestack/mgmt/2017-06-01/azurestack"
)
const (
DefaultBaseURI = original.DefaultBaseURI
)
type ComputeRole = original.ComputeRole
const (
IaaS ComputeRole = original.IaaS
None ComputeRole = original.None
PaaS ComputeRole = original.PaaS
)
type Location = original.Location
const (
Global Location = original.Global
)
type OperatingSystem = original.OperatingSystem
const (
OperatingSystemLinux OperatingSystem = original.OperatingSystemLinux
OperatingSystemNone OperatingSystem = original.OperatingSystemNone
OperatingSystemWindows OperatingSystem = original.OperatingSystemWindows
)
type ProvisioningState = original.ProvisioningState
const (
Canceled ProvisioningState = original.Canceled
Creating ProvisioningState = original.Creating
Failed ProvisioningState = original.Failed
Succeeded ProvisioningState = original.Succeeded
)
type ActivationKeyResult = original.ActivationKeyResult
type BaseClient = original.BaseClient
type CustomerSubscription = original.CustomerSubscription
type CustomerSubscriptionList = original.CustomerSubscriptionList
type CustomerSubscriptionListIterator = original.CustomerSubscriptionListIterator
type CustomerSubscriptionListPage = original.CustomerSubscriptionListPage
type CustomerSubscriptionProperties = original.CustomerSubscriptionProperties
type CustomerSubscriptionsClient = original.CustomerSubscriptionsClient
type DataDiskImage = original.DataDiskImage
type Display = original.Display
type ErrorDetails = original.ErrorDetails
type ErrorResponse = original.ErrorResponse
type ExtendedProduct = original.ExtendedProduct
type ExtendedProductProperties = original.ExtendedProductProperties
type IconUris = original.IconUris
type Operation = original.Operation
type OperationList = original.OperationList
type OperationListIterator = original.OperationListIterator
type OperationListPage = original.OperationListPage
type OperationsClient = original.OperationsClient
type OsDiskImage = original.OsDiskImage
type Product = original.Product
type ProductLink = original.ProductLink
type ProductList = original.ProductList
type ProductListIterator = original.ProductListIterator
type ProductListPage = original.ProductListPage
type ProductNestedProperties = original.ProductNestedProperties
type ProductProperties = original.ProductProperties
type ProductsClient = original.ProductsClient
type Registration = original.Registration
type RegistrationList = original.RegistrationList
type RegistrationListIterator = original.RegistrationListIterator
type RegistrationListPage = original.RegistrationListPage
type RegistrationParameter = original.RegistrationParameter
type RegistrationParameterProperties = original.RegistrationParameterProperties
type RegistrationProperties = original.RegistrationProperties
type RegistrationsClient = original.RegistrationsClient
type Resource = original.Resource
type TrackedResource = original.TrackedResource
type URI = original.URI
type VirtualMachineExtensionProductProperties = original.VirtualMachineExtensionProductProperties
type VirtualMachineProductProperties = original.VirtualMachineProductProperties
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewCustomerSubscriptionListIterator(page CustomerSubscriptionListPage) CustomerSubscriptionListIterator {
return original.NewCustomerSubscriptionListIterator(page)
}
func NewCustomerSubscriptionListPage(getNextPage func(context.Context, CustomerSubscriptionList) (CustomerSubscriptionList, error)) CustomerSubscriptionListPage {
return original.NewCustomerSubscriptionListPage(getNextPage)
}
func NewCustomerSubscriptionsClient(subscriptionID string) CustomerSubscriptionsClient {
return original.NewCustomerSubscriptionsClient(subscriptionID)
}
func NewCustomerSubscriptionsClientWithBaseURI(baseURI string, subscriptionID string) CustomerSubscriptionsClient {
return original.NewCustomerSubscriptionsClientWithBaseURI(baseURI, subscriptionID)
}
func NewOperationListIterator(page OperationListPage) OperationListIterator {
return original.NewOperationListIterator(page)
}
func NewOperationListPage(getNextPage func(context.Context, OperationList) (OperationList, error)) OperationListPage {
return original.NewOperationListPage(getNextPage)
}
func NewOperationsClient(subscriptionID string) OperationsClient {
return original.NewOperationsClient(subscriptionID)
}
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewProductListIterator(page ProductListPage) ProductListIterator {
return original.NewProductListIterator(page)
}
func NewProductListPage(getNextPage func(context.Context, ProductList) (ProductList, error)) ProductListPage {
return original.NewProductListPage(getNextPage)
}
func NewProductsClient(subscriptionID string) ProductsClient {
return original.NewProductsClient(subscriptionID)
}
func NewProductsClientWithBaseURI(baseURI string, subscriptionID string) ProductsClient {
return original.NewProductsClientWithBaseURI(baseURI, subscriptionID)
}
func NewRegistrationListIterator(page RegistrationListPage) RegistrationListIterator {
return original.NewRegistrationListIterator(page)
}
func NewRegistrationListPage(getNextPage func(context.Context, RegistrationList) (RegistrationList, error)) RegistrationListPage {
return original.NewRegistrationListPage(getNextPage)
}
func NewRegistrationsClient(subscriptionID string) RegistrationsClient {
return original.NewRegistrationsClient(subscriptionID)
}
func NewRegistrationsClientWithBaseURI(baseURI string, subscriptionID string) RegistrationsClient {
return original.NewRegistrationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func PossibleComputeRoleValues() []ComputeRole {
return original.PossibleComputeRoleValues()
}
func PossibleLocationValues() []Location {
return original.PossibleLocationValues()
}
func PossibleOperatingSystemValues() []OperatingSystem {
return original.PossibleOperatingSystemValues()
}
func PossibleProvisioningStateValues() []ProvisioningState {
return original.PossibleProvisioningStateValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}

Some files were not shown because too many files have changed in this diff Show more