1
0
mirror of https://github.com/rclone/rclone.git synced 2025-12-06 00:03:32 +00:00

Compare commits

...

2 Commits

Author SHA1 Message Date
sandeepkru
e24fe27153 backend/azureblob: Port new Azure Blob Storage SDK #2362
This change includes removing older azureblob storage SDK, and getting
parity to existing code with latest blob storage SDK.
This change is also pre-req for addressing #2091
2018-07-08 21:41:00 -07:00
sandeepkru
2cb79cb43d vendor: Port new Azure Blob Storage SDK #2362 2018-07-08 21:41:00 -07:00
4915 changed files with 41645 additions and 3076033 deletions

44
Gopkg.lock generated
View File

@@ -18,24 +18,16 @@
version = "v0.23.0"
[[projects]]
name = "github.com/Azure/azure-sdk-for-go"
packages = [
"storage",
"version"
]
revision = "fbe7db0e3f9793ba3e5704efbab84f51436c136e"
version = "v18.0.0"
name = "github.com/Azure/azure-pipeline-go"
packages = ["pipeline"]
revision = "7571e8eb0876932ab505918ff7ed5107773e5ee2"
version = "0.1.7"
[[projects]]
name = "github.com/Azure/go-autorest"
packages = [
"autorest",
"autorest/adal",
"autorest/azure",
"autorest/date"
]
revision = "1f7cd6cfe0adea687ad44a512dfe76140f804318"
version = "v10.12.0"
name = "github.com/Azure/azure-storage-blob-go"
packages = ["2017-07-29/azblob"]
revision = "66ba96e49ebbdc3cd26970c6c675c906d304b5e2"
version = "0.1.4"
[[projects]]
branch = "master"
@@ -124,12 +116,6 @@
revision = "346938d642f2ec3594ed81d874461961cd0faa76"
version = "v1.1.0"
[[projects]]
name = "github.com/dgrijalva/jwt-go"
packages = ["."]
revision = "06ea1031745cb8b3dab3f6a236daf2b0aa468b7e"
version = "v3.2.0"
[[projects]]
name = "github.com/djherbis/times"
packages = ["."]
@@ -201,12 +187,6 @@
revision = "1455def202f6e05b95cc7bfc7e8ae67ae5141eba"
version = "v0.1.0"
[[projects]]
name = "github.com/marstr/guid"
packages = ["."]
revision = "8bd9a64bf37eb297b492a4101fb28e80ac0b290f"
version = "v1.1.0"
[[projects]]
name = "github.com/mattn/go-runewidth"
packages = ["."]
@@ -285,12 +265,6 @@
revision = "55d61fa8aa702f59229e6cff85793c22e580eaf5"
version = "v1.5.1"
[[projects]]
name = "github.com/satori/go.uuid"
packages = ["."]
revision = "f58768cc1a7a7e77a3bd49e98cdd21419399b6a3"
version = "v1.2.0"
[[projects]]
branch = "master"
name = "github.com/sevlyar/go-daemon"
@@ -485,6 +459,6 @@
[solve-meta]
analyzer-name = "dep"
analyzer-version = 1
inputs-digest = "c1378c5fc821e27711155958ff64b3c74b56818ba4733dbfe0c86d518c32880e"
inputs-digest = "898be2e0549915b0f877529a45db62ce6b9904e7ecf8e3fed48d768d429c32ce"
solver-name = "gps-cdcl"
solver-version = 1

View File

@@ -9,3 +9,7 @@
[[override]]
branch = "master"
name = "github.com/coreos/bbolt"
[[constraint]]
name = "github.com/Azure/azure-storage-blob-go"
version = "0.1.4"

View File

@@ -1,9 +1,12 @@
// Package azureblob provides an interface to the Microsoft Azure blob object storage system
// +build !freebsd,!netbsd,!openbsd,!plan9,!solaris,go1.8
package azureblob
import (
"bytes"
"crypto/md5"
"context"
"encoding/base64"
"encoding/binary"
"encoding/hex"
@@ -18,13 +21,11 @@ import (
"sync"
"time"
"github.com/Azure/azure-sdk-for-go/storage"
"github.com/Azure/azure-storage-blob-go/2017-07-29/azblob"
"github.com/ncw/rclone/fs"
"github.com/ncw/rclone/fs/accounting"
"github.com/ncw/rclone/fs/config"
"github.com/ncw/rclone/fs/config/flags"
"github.com/ncw/rclone/fs/fserrors"
"github.com/ncw/rclone/fs/fshttp"
"github.com/ncw/rclone/fs/hash"
"github.com/ncw/rclone/fs/walk"
"github.com/ncw/rclone/lib/pacer"
@@ -64,9 +65,6 @@ func init() {
}, {
Name: "key",
Help: "Storage Account Key (leave blank to use connection string or SAS URL)",
}, {
Name: "connection_string",
Help: "Connection string (leave blank if using account/key or SAS URL)",
}, {
Name: "sas_url",
Help: "SAS URL for container level access only\n(leave blank if using account/key or connection string)",
@@ -82,13 +80,13 @@ func init() {
// Fs represents a remote azure server
type Fs struct {
name string // name of this remote
root string // the path we are working on if any
features *fs.Features // optional features
account string // account name
endpoint string // name of the starting api endpoint
bc *storage.BlobStorageClient
cc *storage.Container
name string // name of this remote
root string // the path we are working on if any
features *fs.Features // optional features
account string // account name
endpoint string // name of the starting api endpoint
svcURL *azblob.ServiceURL // reference to serviceURL
cntURL *azblob.ContainerURL // reference to containerURL
container string // the container we are working on
containerOKMu sync.Mutex // mutex to protect container OK
containerOK bool // true if we have created the container
@@ -99,13 +97,14 @@ type Fs struct {
// Object describes a azure object
type Object struct {
fs *Fs // what this object is part of
remote string // The remote path
modTime time.Time // The modified time of the object if known
md5 string // MD5 hash if known
size int64 // Size of the object
mimeType string // Content-Type of the object
meta map[string]string // blob metadata
fs *Fs // what this object is part of
remote string // The remote path
modTime time.Time // The modified time of the object if known
md5 string // MD5 hash if known
size int64 // Size of the object
mimeType string // Content-Type of the object
accessTier azblob.AccessTierType // Blob Access Tier
meta map[string]string // blob metadata
}
// ------------------------------------------------------------
@@ -165,8 +164,8 @@ var retryErrorCodes = []int{
// deserve to be retried. It returns the err as a convenience
func (f *Fs) shouldRetry(err error) (bool, error) {
// FIXME interpret special errors - more to do here
if storageErr, ok := err.(storage.AzureStorageServiceError); ok {
statusCode := storageErr.StatusCode
if storageErr, ok := err.(azblob.StorageError); ok {
statusCode := storageErr.Response().StatusCode
for _, e := range retryErrorCodes {
if statusCode == e {
return true, err
@@ -190,44 +189,45 @@ func NewFs(name, root string) (fs.Fs, error) {
}
account := config.FileGet(name, "account")
key := config.FileGet(name, "key")
connectionString := config.FileGet(name, "connection_string")
sasURL := config.FileGet(name, "sas_url")
endpoint := config.FileGet(name, "endpoint", storage.DefaultBaseURL)
endpoint := config.FileGet(name, "endpoint", "blob.core.windows.net")
var (
oclient storage.Client
client = &oclient
cc *storage.Container
u *url.URL
serviceURL azblob.ServiceURL
containerURL azblob.ContainerURL
)
switch {
case account != "" && key != "":
oclient, err = storage.NewClient(account, key, endpoint, apiVersion, true)
credential := azblob.NewSharedKeyCredential(account, key)
u, err = url.Parse(fmt.Sprintf("https://%s.%s", account, endpoint))
if err != nil {
return nil, errors.Wrap(err, "failed to make azure storage client from account/key")
}
case connectionString != "":
oclient, err = storage.NewClientFromConnectionString(connectionString)
if err != nil {
return nil, errors.Wrap(err, "failed to make azure storage client from connection string")
return nil, errors.Wrap(err, "failed to make azure storage url from account and endpoint")
}
pipeline := azblob.NewPipeline(credential, azblob.PipelineOptions{})
serviceURL = azblob.NewServiceURL(*u, pipeline)
containerURL = serviceURL.NewContainerURL(container)
case sasURL != "":
URL, err := url.Parse(sasURL)
u, err = url.Parse(sasURL)
if err != nil {
return nil, errors.Wrapf(err, "failed to parse SAS URL")
}
cc, err = storage.GetContainerReferenceFromSASURI(*URL)
if err != nil {
return nil, errors.Wrapf(err, "failed to make azure storage client from SAS URL")
// use anonymous credentials in case of sas url
pipeline := azblob.NewPipeline(azblob.NewAnonymousCredential(), azblob.PipelineOptions{})
// Check if we have container level SAS or account level sas
parts := azblob.NewBlobURLParts(*u)
if parts.ContainerName != "" {
if parts.ContainerName != container {
return nil, errors.New("Container name in SAS URL and container provided in command do not match")
}
containerURL = azblob.NewContainerURL(*u, pipeline)
} else {
serviceURL = azblob.NewServiceURL(*u, pipeline)
containerURL = serviceURL.NewContainerURL(container)
}
client = cc.Client()
default:
return nil, errors.New("Need account+key or connectionString or sasURL")
}
client.HTTPClient = fshttp.NewClient(fs.Config)
bc := client.GetBlobService()
if cc == nil {
cc = bc.GetContainerReference(container)
}
f := &Fs{
name: name,
@@ -235,8 +235,8 @@ func NewFs(name, root string) (fs.Fs, error) {
root: directory,
account: account,
endpoint: endpoint,
bc: &bc,
cc: cc,
svcURL: &serviceURL,
cntURL: &containerURL,
pacer: pacer.New().SetMinSleep(minSleep).SetMaxSleep(maxSleep).SetDecayConstant(decayConstant),
uploadToken: pacer.NewTokenDispenser(fs.Config.Transfers),
}
@@ -274,22 +274,17 @@ func NewFs(name, root string) (fs.Fs, error) {
// Return an Object from a path
//
// If it can't be found it returns the error fs.ErrorObjectNotFound.
func (f *Fs) newObjectWithInfo(remote string, info *storage.Blob) (fs.Object, error) {
func (f *Fs) newObjectWithInfo(remote string, info *azblob.Blob) (fs.Object, error) {
o := &Object{
fs: f,
remote: remote,
}
if info != nil {
err := o.decodeMetaData(info)
if err != nil {
return nil, err
}
} else {
err := o.readMetaData() // reads info and headers, returning an error
if err != nil {
return nil, err
}
err := o.readMetaData() // reads info and headers, returning an error
if err != nil {
return nil, err
}
return o, nil
}
@@ -300,13 +295,13 @@ func (f *Fs) NewObject(remote string) (fs.Object, error) {
}
// getBlobReference creates an empty blob reference with no metadata
func (f *Fs) getBlobReference(remote string) *storage.Blob {
return f.cc.GetBlobReference(f.root + remote)
func (f *Fs) getBlobReference(remote string) azblob.BlobURL {
return f.cntURL.NewBlobURL(f.root + remote)
}
// getBlobWithModTime adds the modTime passed in to o.meta and creates
// a Blob from it.
func (o *Object) getBlobWithModTime(modTime time.Time) *storage.Blob {
func (o *Object) getBlobWithModTime(modTime time.Time) *azblob.BlobURL {
// Make sure o.meta is not nil
if o.meta == nil {
o.meta = make(map[string]string, 1)
@@ -316,12 +311,18 @@ func (o *Object) getBlobWithModTime(modTime time.Time) *storage.Blob {
o.meta[modTimeKey] = modTime.Format(timeFormatOut)
blob := o.getBlobReference()
blob.Metadata = o.meta
return blob
ctx := context.Background()
_, err := blob.SetMetadata(ctx, o.meta, azblob.BlobAccessConditions{})
if err != nil {
return nil
}
return &blob
}
// listFn is called from list to handle an object
type listFn func(remote string, object *storage.Blob, isDirectory bool) error
type listFn func(remote string, object *azblob.Blob, isDirectory bool) error
// list lists the objects into the function supplied from
// the container and root supplied
@@ -342,32 +343,38 @@ func (f *Fs) list(dir string, recurse bool, maxResults uint, fn listFn) error {
if !recurse {
delimiter = "/"
}
params := storage.ListBlobsParameters{
MaxResults: maxResults,
Prefix: root,
Delimiter: delimiter,
Include: &storage.IncludeBlobDataset{
Snapshots: false,
Metadata: true,
UncommittedBlobs: false,
options := azblob.ListBlobsSegmentOptions{
Details: azblob.BlobListingDetails{
Copy: false,
Metadata: true,
Snapshots: false,
UncommittedBlobs: false,
Deleted: false,
},
Prefix: root,
MaxResults: int32(maxResults),
}
for {
var response storage.BlobListResponse
ctx := context.Background()
for marker := (azblob.Marker{}); marker.NotDone(); {
var response *azblob.ListBlobsHierarchyResponse
err := f.pacer.Call(func() (bool, error) {
var err error
response, err = f.cc.ListBlobs(params)
response, err = f.cntURL.ListBlobsHierarchySegment(ctx, marker, delimiter, options)
return f.shouldRetry(err)
})
if err != nil {
if storageErr, ok := err.(storage.AzureStorageServiceError); ok && storageErr.StatusCode == http.StatusNotFound {
if storageErr, ok := err.(azblob.StorageError); ok && storageErr.ServiceCode() == azblob.ServiceCodeContainerNotFound {
return fs.ErrorDirNotFound
}
return err
}
for i := range response.Blobs {
file := &response.Blobs[i]
// Advance marker to next
marker = response.NextMarker
for i := range response.Blobs.Blob {
file := &response.Blobs.Blob[i]
// Finish if file name no longer has prefix
// if prefix != "" && !strings.HasPrefix(file.Name, prefix) {
// return nil
@@ -389,8 +396,8 @@ func (f *Fs) list(dir string, recurse bool, maxResults uint, fn listFn) error {
}
}
// Send the subdirectories
for _, remote := range response.BlobPrefixes {
remote := strings.TrimRight(remote, "/")
for _, remote := range response.Blobs.BlobPrefix {
remote := strings.TrimRight(remote.Name, "/")
if !strings.HasPrefix(remote, f.root) {
fs.Debugf(f, "Odd directory name received %q", remote)
continue
@@ -402,17 +409,12 @@ func (f *Fs) list(dir string, recurse bool, maxResults uint, fn listFn) error {
return err
}
}
// end if no NextFileName
if response.NextMarker == "" {
break
}
params.Marker = response.NextMarker
}
return nil
}
// Convert a list item into a DirEntry
func (f *Fs) itemToDirEntry(remote string, object *storage.Blob, isDirectory bool) (fs.DirEntry, error) {
func (f *Fs) itemToDirEntry(remote string, object *azblob.Blob, isDirectory bool) (fs.DirEntry, error) {
if isDirectory {
d := fs.NewDir(remote, time.Time{})
return d, nil
@@ -436,7 +438,7 @@ func (f *Fs) markContainerOK() {
// listDir lists a single directory
func (f *Fs) listDir(dir string) (entries fs.DirEntries, err error) {
err = f.list(dir, false, listChunkSize, func(remote string, object *storage.Blob, isDirectory bool) error {
err = f.list(dir, false, listChunkSize, func(remote string, object *azblob.Blob, isDirectory bool) error {
entry, err := f.itemToDirEntry(remote, object, isDirectory)
if err != nil {
return err
@@ -459,13 +461,8 @@ func (f *Fs) listContainers(dir string) (entries fs.DirEntries, err error) {
if dir != "" {
return nil, fs.ErrorListBucketRequired
}
err = f.listContainersToFn(func(container *storage.Container) error {
t, err := time.Parse(time.RFC1123, container.Properties.LastModified)
if err != nil {
fs.Debugf(f, "Failed to parse LastModified %q: %v", container.Properties.LastModified, err)
t = time.Time{}
}
d := fs.NewDir(container.Name, t)
err = f.listContainersToFn(func(container *azblob.Container) error {
d := fs.NewDir(container.Name, container.Properties.LastModified)
entries = append(entries, d)
return nil
})
@@ -512,7 +509,7 @@ func (f *Fs) ListR(dir string, callback fs.ListRCallback) (err error) {
return fs.ErrorListBucketRequired
}
list := walk.NewListRHelper(callback)
err = f.list(dir, true, listChunkSize, func(remote string, object *storage.Blob, isDirectory bool) error {
err = f.list(dir, true, listChunkSize, func(remote string, object *azblob.Blob, isDirectory bool) error {
entry, err := f.itemToDirEntry(remote, object, isDirectory)
if err != nil {
return err
@@ -528,27 +525,34 @@ func (f *Fs) ListR(dir string, callback fs.ListRCallback) (err error) {
}
// listContainerFn is called from listContainersToFn to handle a container
type listContainerFn func(*storage.Container) error
type listContainerFn func(*azblob.Container) error
// listContainersToFn lists the containers to the function supplied
func (f *Fs) listContainersToFn(fn listContainerFn) error {
// FIXME page the containers if necessary?
params := storage.ListContainersParameters{}
var response *storage.ContainerListResponse
err := f.pacer.Call(func() (bool, error) {
var err error
response, err = f.bc.ListContainers(params)
return f.shouldRetry(err)
})
if err != nil {
return err
params := azblob.ListContainersSegmentOptions{
MaxResults: int32(listChunkSize),
}
for i := range response.Containers {
err = fn(&response.Containers[i])
ctx := context.Background()
for marker := (azblob.Marker{}); marker.NotDone(); {
var response *azblob.ListContainersResponse
err := f.pacer.Call(func() (bool, error) {
var err error
response, err = f.svcURL.ListContainersSegment(ctx, marker, params)
return f.shouldRetry(err)
})
if err != nil {
return err
}
for i := range response.Containers {
err = fn(&response.Containers[i])
if err != nil {
return err
}
}
marker = response.NextMarker
}
return nil
}
@@ -573,32 +577,20 @@ func (f *Fs) Mkdir(dir string) error {
if f.containerOK {
return nil
}
// List the container to see if it exists
err := f.list("", false, 1, func(remote string, object *storage.Blob, isDirectory bool) error {
return nil
})
if err == nil {
f.markContainerOK()
return nil
}
// now try to create the container
options := storage.CreateContainerOptions{
Access: storage.ContainerAccessTypePrivate,
}
err = f.pacer.Call(func() (bool, error) {
err := f.cc.Create(&options)
err := f.pacer.Call(func() (bool, error) {
ctx := context.Background()
_, err := f.cntURL.Create(ctx, azblob.Metadata{}, azblob.PublicAccessNone)
if err != nil {
if storageErr, ok := err.(storage.AzureStorageServiceError); ok {
switch storageErr.StatusCode {
case http.StatusConflict:
switch storageErr.Code {
case "ContainerAlreadyExists":
f.containerOK = true
return false, nil
case "ContainerBeingDeleted":
f.containerDeleted = true
return true, err
}
if storageErr, ok := err.(azblob.StorageError); ok {
switch storageErr.ServiceCode() {
case azblob.ServiceCodeContainerAlreadyExists:
f.containerOK = true
return false, nil
case azblob.ServiceCodeContainerBeingDeleted:
f.containerDeleted = true
return true, err
}
}
}
@@ -614,7 +606,7 @@ func (f *Fs) Mkdir(dir string) error {
// isEmpty checks to see if a given directory is empty and returns an error if not
func (f *Fs) isEmpty(dir string) (err error) {
empty := true
err = f.list("", true, 1, func(remote string, object *storage.Blob, isDirectory bool) error {
err = f.list("", true, 1, func(remote string, object *azblob.Blob, isDirectory bool) error {
empty = false
return nil
})
@@ -632,16 +624,16 @@ func (f *Fs) isEmpty(dir string) (err error) {
func (f *Fs) deleteContainer() error {
f.containerOKMu.Lock()
defer f.containerOKMu.Unlock()
options := storage.DeleteContainerOptions{}
options := azblob.ContainerAccessConditions{}
ctx := context.Background()
err := f.pacer.Call(func() (bool, error) {
exists, err := f.cc.Exists()
_, err := f.cntURL.Delete(ctx, options)
if err != nil {
if storageErr, ok := err.(azblob.StorageError); ok && storageErr.ServiceCode() == azblob.ServiceCodeContainerNotFound {
return false, fs.ErrorDirNotFound
}
return f.shouldRetry(err)
}
if !exists {
return false, fs.ErrorDirNotFound
}
err = f.cc.Delete(&options)
return f.shouldRetry(err)
})
if err == nil {
@@ -704,17 +696,36 @@ func (f *Fs) Copy(src fs.Object, remote string) (fs.Object, error) {
fs.Debugf(src, "Can't copy - not same remote type")
return nil, fs.ErrorCantCopy
}
dstBlob := f.getBlobReference(remote)
srcBlob := srcObj.getBlobReference()
options := storage.CopyOptions{}
sourceBlobURL := srcBlob.GetURL()
dstBlobURL := f.getBlobReference(remote)
srcBlobURL := srcObj.getBlobReference()
source, err := url.Parse(srcBlobURL.String())
if err != nil {
return nil, err
}
options := azblob.BlobAccessConditions{}
ctx := context.Background()
var startCopy *azblob.BlobsStartCopyFromURLResponse
err = f.pacer.Call(func() (bool, error) {
err = dstBlob.Copy(sourceBlobURL, &options)
startCopy, err = dstBlobURL.StartCopyFromURL(ctx, *source, nil, options, options)
return f.shouldRetry(err)
})
if err != nil {
return nil, err
}
copyStatus := startCopy.CopyStatus()
for copyStatus == azblob.CopyStatusPending {
time.Sleep(1 * time.Second)
getMetadata, err := dstBlobURL.GetProperties(ctx, options)
if err != nil {
return nil, err
}
copyStatus = getMetadata.CopyStatus()
}
return f.NewObject(remote)
}
@@ -759,7 +770,7 @@ func (o *Object) Size() int64 {
return o.size
}
// decodeMetaData sets the metadata from the data passed in
// decodeMetaDataFromProperties sets the metadata from the data passed in
//
// Sets
// o.id
@@ -767,14 +778,17 @@ func (o *Object) Size() int64 {
// o.size
// o.md5
// o.meta
func (o *Object) decodeMetaData(info *storage.Blob) (err error) {
o.md5 = info.Properties.ContentMD5
o.mimeType = info.Properties.ContentType
o.size = info.Properties.ContentLength
o.modTime = time.Time(info.Properties.LastModified)
if len(info.Metadata) > 0 {
o.meta = info.Metadata
if modTime, ok := info.Metadata[modTimeKey]; ok {
func (o *Object) decodeMetaDataFromProperties(info *azblob.BlobsGetPropertiesResponse) (err error) {
// FIXME - Client library returns MD5 as base64 decoded string, object struct should be changed
// to maintain md5 as simple byte array instead of as string
o.md5 = base64.StdEncoding.EncodeToString(info.ContentMD5())
o.mimeType = info.ContentType()
o.size = info.ContentLength()
o.modTime = time.Time(info.LastModified())
metadata := info.NewMetadata()
if len(metadata) > 0 {
o.meta = metadata
if modTime, ok := metadata[modTimeKey]; ok {
when, err := time.Parse(timeFormatIn, modTime)
if err != nil {
fs.Debugf(o, "Couldn't parse %v = %q: %v", modTimeKey, modTime, err)
@@ -788,7 +802,7 @@ func (o *Object) decodeMetaData(info *storage.Blob) (err error) {
}
// getBlobReference creates an empty blob reference with no metadata
func (o *Object) getBlobReference() *storage.Blob {
func (o *Object) getBlobReference() azblob.BlobURL {
return o.fs.getBlobReference(o.remote)
}
@@ -811,19 +825,22 @@ func (o *Object) readMetaData() (err error) {
blob := o.getBlobReference()
// Read metadata (this includes metadata)
getPropertiesOptions := storage.GetBlobPropertiesOptions{}
options := azblob.BlobAccessConditions{}
ctx := context.Background()
var blobProperties *azblob.BlobsGetPropertiesResponse
err = o.fs.pacer.Call(func() (bool, error) {
err = blob.GetProperties(&getPropertiesOptions)
blobProperties, err = blob.GetProperties(ctx, options)
return o.fs.shouldRetry(err)
})
if err != nil {
if storageErr, ok := err.(storage.AzureStorageServiceError); ok && storageErr.StatusCode == http.StatusNotFound {
// On directories - GetProperties does not work and current SDK does not populate service code correctly hence check regular http response as well
if storageErr, ok := err.(azblob.StorageError); ok && storageErr.ServiceCode() == azblob.ServiceCodeBlobNotFound || storageErr.Response().StatusCode == http.StatusNotFound {
return fs.ErrorObjectNotFound
}
return err
}
return o.decodeMetaData(blob)
return o.decodeMetaDataFromProperties(blobProperties)
}
// timeString returns modTime as the number of milliseconds
@@ -860,16 +877,14 @@ func (o *Object) ModTime() (result time.Time) {
// SetModTime sets the modification time of the local fs object
func (o *Object) SetModTime(modTime time.Time) error {
blob := o.getBlobWithModTime(modTime)
options := storage.SetBlobMetadataOptions{}
err := o.fs.pacer.Call(func() (bool, error) {
err := blob.SetMetadata(&options)
return o.fs.shouldRetry(err)
})
if err != nil {
return err
// Make sure o.meta is not nil
if o.meta == nil {
o.meta = make(map[string]string, 1)
}
// Set modTimeKey in it
o.meta[modTimeKey] = modTime.Format(timeFormatOut)
o.modTime = modTime
return nil
}
@@ -880,10 +895,9 @@ func (o *Object) Storable() bool {
// Open an object for read
func (o *Object) Open(options ...fs.OpenOption) (in io.ReadCloser, err error) {
getBlobOptions := storage.GetBlobOptions{}
getBlobRangeOptions := storage.GetBlobRangeOptions{
GetBlobOptions: &getBlobOptions,
}
// Offset and Count for range download
var offset int64
var count int64
for _, option := range options {
switch x := option.(type) {
case *fs.RangeOption:
@@ -895,14 +909,10 @@ func (o *Object) Open(options ...fs.OpenOption) (in io.ReadCloser, err error) {
start = o.size - end
end = 0
}
getBlobRangeOptions.Range = &storage.BlobRange{
Start: uint64(start),
End: uint64(end),
}
offset = start
count = end - start
case *fs.SeekOption:
getBlobRangeOptions.Range = &storage.BlobRange{
Start: uint64(x.Offset),
}
offset = x.Offset
default:
if option.Mandatory() {
fs.Logf(o, "Unsupported mandatory option: %v", option)
@@ -910,17 +920,17 @@ func (o *Object) Open(options ...fs.OpenOption) (in io.ReadCloser, err error) {
}
}
blob := o.getBlobReference()
ctx := context.Background()
ac := azblob.BlobAccessConditions{}
var dowloadResponse *azblob.DownloadResponse
err = o.fs.pacer.Call(func() (bool, error) {
if getBlobRangeOptions.Range == nil {
in, err = blob.Get(&getBlobOptions)
} else {
in, err = blob.GetRange(&getBlobRangeOptions)
}
dowloadResponse, err = blob.Download(ctx, offset, count, ac, false)
return o.fs.shouldRetry(err)
})
if err != nil {
return nil, errors.Wrap(err, "failed to open for download")
}
in = dowloadResponse.Body(azblob.RetryReaderOptions{})
return in, nil
}
@@ -948,7 +958,7 @@ func init() {
// uploadMultipart uploads a file using multipart upload
//
// Write a larger blob, using CreateBlockBlob, PutBlock, and PutBlockList.
func (o *Object) uploadMultipart(in io.Reader, size int64, blob *storage.Blob, putBlobOptions *storage.PutBlobOptions) (err error) {
func (o *Object) uploadMultipart(in io.Reader, size int64, blob *azblob.BlobURL, httpHeaders *azblob.BlobHTTPHeaders) (err error) {
// Calculate correct chunkSize
chunkSize := int64(chunkSize)
var totalParts int64
@@ -970,34 +980,41 @@ func (o *Object) uploadMultipart(in io.Reader, size int64, blob *storage.Blob, p
}
fs.Debugf(o, "Multipart upload session started for %d parts of size %v", totalParts, fs.SizeSuffix(chunkSize))
// Create an empty blob
err = o.fs.pacer.Call(func() (bool, error) {
err := blob.CreateBlockBlob(putBlobOptions)
return o.fs.shouldRetry(err)
})
// https://godoc.org/github.com/Azure/azure-storage-blob-go/2017-07-29/azblob#example-BlockBlobURL
// Utilities are cloned from above example
// These helper functions convert a binary block ID to a base-64 string and vice versa
// NOTE: The blockID must be <= 64 bytes and ALL blockIDs for the block must be the same length
blockIDBinaryToBase64 := func(blockID []byte) string { return base64.StdEncoding.EncodeToString(blockID) }
// These helper functions convert an int block ID to a base-64 string and vice versa
blockIDIntToBase64 := func(blockID uint64) string {
binaryBlockID := (&[8]byte{})[:] // All block IDs are 8 bytes long
binary.LittleEndian.PutUint64(binaryBlockID, blockID)
return blockIDBinaryToBase64(binaryBlockID)
}
// block ID variables
var (
rawID uint64
bytesID = make([]byte, 8)
blockID = "" // id in base64 encoded form
blocks = make([]storage.Block, 0, totalParts)
blocks = make([]string, totalParts)
)
// increment the blockID
nextID := func() {
rawID++
binary.LittleEndian.PutUint64(bytesID, rawID)
blockID = base64.StdEncoding.EncodeToString(bytesID)
blocks = append(blocks, storage.Block{
ID: blockID,
Status: storage.BlockStatusLatest,
})
blockID = blockIDIntToBase64(rawID)
blocks = append(blocks, blockID)
}
// Get BlockBlobURL, we will use default pipeline here
blockBlobURL := blob.ToBlockBlobURL()
ctx := context.Background()
ac := azblob.LeaseAccessConditions{} // Use default lease access conditions
// FIXME - Accounting
// unwrap the accounting from the input, we use wrap to put it
// back on after the buffering
in, wrap := accounting.UnWrap(in)
// in, wrap := accounting.UnWrap(in)
// Upload the chunks
remaining := size
@@ -1037,13 +1054,8 @@ outer:
defer o.fs.uploadToken.Put()
fs.Debugf(o, "Uploading part %d/%d offset %v/%v part size %v", part+1, totalParts, fs.SizeSuffix(position), fs.SizeSuffix(size), fs.SizeSuffix(chunkSize))
// Upload the block, with MD5 for check
md5sum := md5.Sum(buf)
putBlockOptions := storage.PutBlockOptions{
ContentMD5: base64.StdEncoding.EncodeToString(md5sum[:]),
}
err = o.fs.pacer.Call(func() (bool, error) {
err = blob.PutBlockWithLength(blockID, uint64(len(buf)), wrap(bytes.NewBuffer(buf)), &putBlockOptions)
_, err = blockBlobURL.StageBlock(ctx, blockID, bytes.NewReader(buf), ac)
return o.fs.shouldRetry(err)
})
@@ -1073,9 +1085,8 @@ outer:
}
// Finalise the upload session
putBlockListOptions := storage.PutBlockListOptions{}
err = o.fs.pacer.Call(func() (bool, error) {
err := blob.PutBlockList(blocks, &putBlockListOptions)
_, err := blockBlobURL.CommitBlockList(ctx, blocks, *httpHeaders, o.meta, azblob.BlobAccessConditions{})
return o.fs.shouldRetry(err)
})
if err != nil {
@@ -1093,29 +1104,45 @@ func (o *Object) Update(in io.Reader, src fs.ObjectInfo, options ...fs.OpenOptio
return err
}
size := src.Size()
blob := o.getBlobWithModTime(src.ModTime())
blob.Properties.ContentType = fs.MimeType(o)
if sourceMD5, _ := src.Hash(hash.MD5); sourceMD5 != "" {
sourceMD5bytes, err := hex.DecodeString(sourceMD5)
if err == nil {
blob.Properties.ContentMD5 = base64.StdEncoding.EncodeToString(sourceMD5bytes)
} else {
fs.Debugf(o, "Failed to decode %q as MD5: %v", sourceMD5, err)
// Update Mod time
err = o.SetModTime(src.ModTime())
if err != nil {
return err
}
blob := o.getBlobReference()
httpHeaders := azblob.BlobHTTPHeaders{}
httpHeaders.ContentType = fs.MimeType(o)
// Multipart upload doesn't support MD5 checksums at put block calls, hence calculate
// MD5 only for PutBlob requests
if size < int64(uploadCutoff) {
if sourceMD5, _ := src.Hash(hash.MD5); sourceMD5 != "" {
sourceMD5bytes, err := hex.DecodeString(sourceMD5)
if err == nil {
httpHeaders.ContentMD5 = sourceMD5bytes
} else {
fs.Debugf(o, "Failed to decode %q as MD5: %v", sourceMD5, err)
}
}
}
putBlobOptions := storage.PutBlobOptions{}
putBlobOptions := azblob.UploadStreamToBlockBlobOptions{
BufferSize: int(chunkSize),
MaxBuffers: 4,
Metadata: o.meta,
BlobHTTPHeaders: httpHeaders,
}
ctx := context.Background()
// Don't retry, return a retry error instead
err = o.fs.pacer.CallNoRetry(func() (bool, error) {
if size >= int64(uploadCutoff) {
// If a large file upload in chunks
err = o.uploadMultipart(in, size, blob, &putBlobOptions)
err = o.uploadMultipart(in, size, &blob, &httpHeaders)
} else {
// Write a small blob in one transaction
if size == 0 {
in = nil
}
err = blob.CreateBlockBlobFromReader(in, &putBlobOptions)
blockBlobURL := blob.ToBlockBlobURL()
_, err = azblob.UploadStreamToBlockBlob(ctx, in, blockBlobURL, putBlobOptions)
}
return o.fs.shouldRetry(err)
})
@@ -1129,9 +1156,11 @@ func (o *Object) Update(in io.Reader, src fs.ObjectInfo, options ...fs.OpenOptio
// Remove an object
func (o *Object) Remove() error {
blob := o.getBlobReference()
options := storage.DeleteBlobOptions{}
snapShotOptions := azblob.DeleteSnapshotsOptionNone
ac := azblob.BlobAccessConditions{}
ctx := context.Background()
return o.fs.pacer.Call(func() (bool, error) {
err := blob.Delete(&options)
_, err := blob.Delete(ctx, snapShotOptions, ac)
return o.fs.shouldRetry(err)
})
}

View File

@@ -1,4 +1,7 @@
// Test AzureBlob filesystem interface
// +build !freebsd,!netbsd,!openbsd,!plan9,!solaris,go1.8
package azureblob_test
import (

View File

@@ -0,0 +1,6 @@
// Build for azureblob for unsupported platforms to stop go complaining
// about "no buildable Go source files "
// +build freebsd netbsd openbsd plan9 solaris !go1.8
package azureblob

View File

@@ -125,21 +125,16 @@ Rclone has 3 ways of authenticating with Azure Blob Storage:
This is the most straight forward and least flexible way. Just fill in the `account` and `key` lines and leave the rest blank.
#### Connection string
This supports all the possible connection string variants. Leave `account`, `key` and `sas_url` blank and put the connection string into the `connection_string` configuration parameter.
Use this method if using an account level SAS; the Azure Portal shows connection strings you can cut and paste.
#### SAS URL
This only for a container level SAS URL - it does not work with an account level SAS URL. For account level SAS use the connection string method.
This can be an account level SAS URL or container level SAS URL
To use it leave `account`, `key` and `connection_string` blank and fill in `sas_url`.
To use it leave `account`, `key` blank and fill in `sas_url`.
Account level SAS URL or container level SAS URL can be obtained from Azure portal or Azure Storage Explorer.
To get a container level SAS URL right click on a container in the Azure Blob explorer in the Azure portal.
You will only be able to use the container specified in the SAS URL with rclone, eg
If You use container level SAS URL, rclone operations are permitted only on particular container, eg
rclone ls azureblob:container

View File

@@ -252,6 +252,10 @@ func ShouldRetry(err error) bool {
return true
}
// FIXME Handle this correctly, perhaps Cause should not ever return nil?
if err == nil {
return false
}
// Check if it is a retriable error
for _, retriableErr := range retriableErrors {
if err == retriableErr {

288
vendor/github.com/Azure/azure-pipeline-go/.gitignore generated vendored Normal file
View File

@@ -0,0 +1,288 @@
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
##
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
# User-specific files
*.suo
*.user
*.userosscache
*.sln.docstates
# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs
# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
x64/
x86/
bld/
[Bb]in/
[Oo]bj/
[Ll]og/
# Visual Studio 2015 cache/options directory
.vs/
# Uncomment if you have tasks that create the project's static files in wwwroot
#wwwroot/
# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
# NUNIT
*.VisualState.xml
TestResult.xml
# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c
# .NET Core
project.lock.json
project.fragment.lock.json
artifacts/
**/Properties/launchSettings.json
*_i.c
*_p.c
*_i.h
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.svclog
*.scc
# Chutzpah Test files
_Chutzpah*
# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opendb
*.opensdf
*.sdf
*.cachefile
*.VC.db
*.VC.VC.opendb
# Visual Studio profiler
*.psess
*.vsp
*.vspx
*.sap
# TFS 2012 Local Workspace
$tf/
# Guidance Automation Toolkit
*.gpState
# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user
# JustCode is a .NET coding add-in
.JustCode
# TeamCity is a build add-in
_TeamCity*
# DotCover is a Code Coverage Tool
*.dotCover
# Visual Studio code coverage results
*.coverage
*.coveragexml
# NCrunch
_NCrunch_*
.*crunch*.local.xml
nCrunchTemp_*
# MightyMoose
*.mm.*
AutoTest.Net/
# Web workbench (sass)
.sass-cache/
# Installshield output folder
[Ee]xpress/
# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html
# Click-Once directory
publish/
# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
# TODO: Comment the next line if you want to checkin your web deploy settings
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj
# Microsoft Azure Web App publish settings. Comment the next line if you want to
# checkin your Azure Web App publish settings, but sensitive information contained
# in these scripts will be unencrypted
PublishScripts/
# NuGet Packages
*.nupkg
# The packages folder can be ignored because of Package Restore
**/packages/*
# except build/, which is used as an MSBuild target.
!**/packages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/packages/repositories.config
# NuGet v3's project.json files produces more ignorable files
*.nuget.props
*.nuget.targets
# Microsoft Azure Build Output
csx/
*.build.csdef
# Microsoft Azure Emulator
ecf/
rcf/
# Windows Store app package directories and files
AppPackages/
BundleArtifacts/
Package.StoreAssociation.xml
_pkginfo.txt
# Visual Studio cache files
# files ending in .cache can be ignored
*.[Cc]ache
# but keep track of directories ending in .cache
!*.[Cc]ache/
# Others
ClientBin/
~$*
*~
*.dbmdl
*.dbproj.schemaview
*.jfm
*.pfx
*.publishsettings
orleans.codegen.cs
# Since there are multiple workflows, uncomment next line to ignore bower_components
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
#bower_components/
# RIA/Silverlight projects
Generated_Code/
# Backup & report files from converting an old project file
# to a newer Visual Studio version. Backup files are not needed,
# because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm
# SQL Server files
*.mdf
*.ldf
*.ndf
# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings
# Microsoft Fakes
FakesAssemblies/
# GhostDoc plugin setting file
*.GhostDoc.xml
# Node.js Tools for Visual Studio
.ntvs_analysis.dat
node_modules/
# Typescript v1 declaration files
typings/
# Visual Studio 6 build log
*.plg
# Visual Studio 6 workspace options file
*.opt
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
*.vbw
# Visual Studio LightSwitch build output
**/*.HTMLClient/GeneratedArtifacts
**/*.DesktopClient/GeneratedArtifacts
**/*.DesktopClient/ModelManifest.xml
**/*.Server/GeneratedArtifacts
**/*.Server/ModelManifest.xml
_Pvt_Extensions
# Paket dependency manager
.paket/paket.exe
paket-files/
# FAKE - F# Make
.fake/
# JetBrains Rider
.idea/
*.sln.iml
# CodeRush
.cr/
# Python Tools for Visual Studio (PTVS)
__pycache__/
*.pyc
# Cake - Uncomment if you are using it
# tools/**
# !tools/packages.config
# Telerik's JustMock configuration file
*.jmconfig
# BizTalk build output
*.btp.cs
*.btm.cs
*.odx.cs
*.xsd.cs

21
vendor/github.com/Azure/azure-pipeline-go/LICENSE generated vendored Normal file
View File

@@ -0,0 +1,21 @@
MIT License
Copyright (c) Microsoft Corporation. All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE

14
vendor/github.com/Azure/azure-pipeline-go/README.md generated vendored Normal file
View File

@@ -0,0 +1,14 @@
# Contributing
This project welcomes contributions and suggestions. Most contributions require you to agree to a
Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us
the rights to use your contribution. For details, visit https://cla.microsoft.com.
When you submit a pull request, a CLA-bot will automatically determine whether you need to provide
a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions
provided by the bot. You will only need to do this once across all repos using our CLA.
This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or
contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.

255
vendor/github.com/Azure/azure-pipeline-go/pipeline/core.go generated vendored Executable file
View File

@@ -0,0 +1,255 @@
package pipeline
import (
"context"
"net"
"net/http"
"os"
"time"
)
// The Factory interface represents an object that can create its Policy object. Each HTTP request sent
// requires that this Factory create a new instance of its Policy object.
type Factory interface {
New(next Policy, po *PolicyOptions) Policy
}
// FactoryFunc is an adapter that allows the use of an ordinary function as a Factory interface.
type FactoryFunc func(next Policy, po *PolicyOptions) PolicyFunc
// New calls f(next,po).
func (f FactoryFunc) New(next Policy, po *PolicyOptions) Policy {
return f(next, po)
}
// The Policy interface represents a mutable Policy object created by a Factory. The object can mutate/process
// the HTTP request and then forward it on to the next Policy object in the linked-list. The returned
// Response goes backward through the linked-list for additional processing.
// NOTE: Request is passed by value so changes do not change the caller's version of
// the request. However, Request has some fields that reference mutable objects (not strings).
// These references are copied; a deep copy is not performed. Specifically, this means that
// you should avoid modifying the objects referred to by these fields: URL, Header, Body,
// GetBody, TransferEncoding, Form, MultipartForm, Trailer, TLS, Cancel, and Response.
type Policy interface {
Do(ctx context.Context, request Request) (Response, error)
}
// PolicyFunc is an adapter that allows the use of an ordinary function as a Policy interface.
type PolicyFunc func(ctx context.Context, request Request) (Response, error)
// Do calls f(ctx, request).
func (f PolicyFunc) Do(ctx context.Context, request Request) (Response, error) {
return f(ctx, request)
}
// Options configures a Pipeline's behavior.
type Options struct {
HTTPSender Factory // If sender is nil, then the pipeline's default client is used to send the HTTP requests.
Log LogOptions
}
// LogLevel tells a logger the minimum level to log. When code reports a log entry,
// the LogLevel indicates the level of the log entry. The logger only records entries
// whose level is at least the level it was told to log. See the Log* constants.
// For example, if a logger is configured with LogError, then LogError, LogPanic,
// and LogFatal entries will be logged; lower level entries are ignored.
type LogLevel uint32
const (
// LogNone tells a logger not to log any entries passed to it.
LogNone LogLevel = iota
// LogFatal tells a logger to log all LogFatal entries passed to it.
LogFatal
// LogPanic tells a logger to log all LogPanic and LogFatal entries passed to it.
LogPanic
// LogError tells a logger to log all LogError, LogPanic and LogFatal entries passed to it.
LogError
// LogWarning tells a logger to log all LogWarning, LogError, LogPanic and LogFatal entries passed to it.
LogWarning
// LogInfo tells a logger to log all LogInfo, LogWarning, LogError, LogPanic and LogFatal entries passed to it.
LogInfo
// LogDebug tells a logger to log all LogDebug, LogInfo, LogWarning, LogError, LogPanic and LogFatal entries passed to it.
LogDebug
)
// LogOptions configures the pipeline's logging mechanism & level filtering.
type LogOptions struct {
Log func(level LogLevel, message string)
// ShouldLog is called periodically allowing you to return whether the specified LogLevel should be logged or not.
// An application can return different values over the its lifetime; this allows the application to dynamically
// alter what is logged. NOTE: This method can be called by multiple goroutines simultaneously so make sure
// you implement it in a goroutine-safe way. If nil, nothing is logged (the equivalent of returning LogNone).
// Usually, the function will be implemented simply like this: return level <= LogWarning
ShouldLog func(level LogLevel) bool
}
type pipeline struct {
factories []Factory
options Options
}
// The Pipeline interface represents an ordered list of Factory objects and an object implementing the HTTPSender interface.
// You construct a Pipeline by calling the pipeline.NewPipeline function. To send an HTTP request, call pipeline.NewRequest
// and then call Pipeline's Do method passing a context, the request, and a method-specific Factory (or nil). Passing a
// method-specific Factory allows this one call to Do to inject a Policy into the linked-list. The policy is injected where
// the MethodFactoryMarker (see the pipeline.MethodFactoryMarker function) is in the slice of Factory objects.
//
// When Do is called, the Pipeline object asks each Factory object to construct its Policy object and adds each Policy to a linked-list.
// THen, Do sends the Context and Request through all the Policy objects. The final Policy object sends the request over the network
// (via the HTTPSender object passed to NewPipeline) and the response is returned backwards through all the Policy objects.
// Since Pipeline and Factory objects are goroutine-safe, you typically create 1 Pipeline object and reuse it to make many HTTP requests.
type Pipeline interface {
Do(ctx context.Context, methodFactory Factory, request Request) (Response, error)
}
// NewPipeline creates a new goroutine-safe Pipeline object from the slice of Factory objects and the specified options.
func NewPipeline(factories []Factory, o Options) Pipeline {
if o.HTTPSender == nil {
o.HTTPSender = newDefaultHTTPClientFactory()
}
if o.Log.Log == nil {
o.Log.Log = func(LogLevel, string) {} // No-op logger
}
return &pipeline{factories: factories, options: o}
}
// Do is called for each and every HTTP request. It tells each Factory to create its own (mutable) Policy object
// replacing a MethodFactoryMarker factory (if it exists) with the methodFactory passed in. Then, the Context and Request
// are sent through the pipeline of Policy objects (which can transform the Request's URL/query parameters/headers) and
// ultimately sends the transformed HTTP request over the network.
func (p *pipeline) Do(ctx context.Context, methodFactory Factory, request Request) (Response, error) {
response, err := p.newPolicies(methodFactory).Do(ctx, request)
request.close()
return response, err
}
func (p *pipeline) newPolicies(methodFactory Factory) Policy {
// The last Policy is the one that actually sends the request over the wire and gets the response.
// It is overridable via the Options' HTTPSender field.
po := &PolicyOptions{pipeline: p} // One object shared by all policy objects
next := p.options.HTTPSender.New(nil, po)
// Walk over the slice of Factory objects in reverse (from wire to API)
markers := 0
for i := len(p.factories) - 1; i >= 0; i-- {
factory := p.factories[i]
if _, ok := factory.(methodFactoryMarker); ok {
markers++
if markers > 1 {
panic("MethodFactoryMarker can only appear once in the pipeline")
}
if methodFactory != nil {
// Replace MethodFactoryMarker with passed-in methodFactory
next = methodFactory.New(next, po)
}
} else {
// Use the slice's Factory to construct its Policy
next = factory.New(next, po)
}
}
// Each Factory has created its Policy
if markers == 0 && methodFactory != nil {
panic("Non-nil methodFactory requires MethodFactoryMarker in the pipeline")
}
return next // Return head of the Policy object linked-list
}
// A PolicyOptions represents optional information that can be used by a node in the
// linked-list of Policy objects. A PolicyOptions is passed to the Factory's New method
// which passes it (if desired) to the Policy object it creates. Today, the Policy object
// uses the options to perform logging. But, in the future, this could be used for more.
type PolicyOptions struct {
pipeline *pipeline
}
// ShouldLog returns true if the specified log level should be logged.
func (po *PolicyOptions) ShouldLog(level LogLevel) bool {
if po.pipeline.options.Log.ShouldLog != nil {
return po.pipeline.options.Log.ShouldLog(level)
}
return false
}
// Log logs a string to the Pipeline's Logger.
func (po *PolicyOptions) Log(level LogLevel, msg string) {
if !po.ShouldLog(level) {
return // Short circuit message formatting if we're not logging it
}
// We are logging it, ensure trailing newline
if len(msg) == 0 || msg[len(msg)-1] != '\n' {
msg += "\n" // Ensure trailing newline
}
po.pipeline.options.Log.Log(level, msg)
// If logger doesn't handle fatal/panic, we'll do it here.
if level == LogFatal {
os.Exit(1)
} else if level == LogPanic {
panic(msg)
}
}
var pipelineHTTPClient = newDefaultHTTPClient()
func newDefaultHTTPClient() *http.Client {
// We want the Transport to have a large connection pool
return &http.Client{
Transport: &http.Transport{
Proxy: http.ProxyFromEnvironment,
// We use Dial instead of DialContext as DialContext has been reported to cause slower performance.
Dial /*Context*/ : (&net.Dialer{
Timeout: 30 * time.Second,
KeepAlive: 30 * time.Second,
DualStack: true,
}).Dial, /*Context*/
MaxIdleConns: 0, // No limit
MaxIdleConnsPerHost: 100,
IdleConnTimeout: 90 * time.Second,
TLSHandshakeTimeout: 10 * time.Second,
ExpectContinueTimeout: 1 * time.Second,
DisableKeepAlives: false,
DisableCompression: false,
MaxResponseHeaderBytes: 0,
//ResponseHeaderTimeout: time.Duration{},
//ExpectContinueTimeout: time.Duration{},
},
}
}
// newDefaultHTTPClientFactory creates a DefaultHTTPClientPolicyFactory object that sends HTTP requests to a Go's default http.Client.
func newDefaultHTTPClientFactory() Factory {
return FactoryFunc(func(next Policy, po *PolicyOptions) PolicyFunc {
return func(ctx context.Context, request Request) (Response, error) {
r, err := pipelineHTTPClient.Do(request.WithContext(ctx))
if err != nil {
err = NewError(err, "HTTP request failed")
}
return NewHTTPResponse(r), err
}
})
}
var mfm = methodFactoryMarker{} // Singleton
// MethodFactoryMarker returns a special marker Factory object. When Pipeline's Do method is called, any
// MethodMarkerFactory object is replaced with the specified methodFactory object. If nil is passed fro Do's
// methodFactory parameter, then the MethodFactoryMarker is ignored as the linked-list of Policy objects is created.
func MethodFactoryMarker() Factory {
return mfm
}
type methodFactoryMarker struct {
}
func (methodFactoryMarker) New(next Policy, po *PolicyOptions) Policy {
panic("methodFactoryMarker policy should have been replaced with a method policy")
}

View File

@@ -0,0 +1,33 @@
// +build !windows,!nacl,!plan9
package pipeline
import (
"log"
"log/syslog"
)
// ForceLog should rarely be used. It forceable logs an entry to the
// Windows Event Log (on Windows) or to the SysLog (on Linux)
func ForceLog(level LogLevel, msg string) {
if defaultLogger == nil {
return // Return fast if we failed to create the logger.
}
// We are logging it, ensure trailing newline
if len(msg) == 0 || msg[len(msg)-1] != '\n' {
msg += "\n" // Ensure trailing newline
}
switch level {
case LogFatal:
defaultLogger.Fatal(msg)
case LogPanic:
defaultLogger.Panic(msg)
case LogError, LogWarning, LogInfo:
defaultLogger.Print(msg)
}
}
var defaultLogger = func() *log.Logger {
l, _ := syslog.NewLogger(syslog.LOG_USER|syslog.LOG_WARNING, log.LstdFlags)
return l
}()

View File

@@ -0,0 +1,61 @@
package pipeline
import (
"os"
"syscall"
"unsafe"
)
// ForceLog should rarely be used. It forceable logs an entry to the
// Windows Event Log (on Windows) or to the SysLog (on Linux)
func ForceLog(level LogLevel, msg string) {
var el eventType
switch level {
case LogError, LogFatal, LogPanic:
el = elError
case LogWarning:
el = elWarning
case LogInfo:
el = elInfo
}
// We are logging it, ensure trailing newline
if len(msg) == 0 || msg[len(msg)-1] != '\n' {
msg += "\n" // Ensure trailing newline
}
reportEvent(el, 0, msg)
}
type eventType int16
const (
elSuccess eventType = 0
elError eventType = 1
elWarning eventType = 2
elInfo eventType = 4
)
var reportEvent = func() func(eventType eventType, eventID int32, msg string) {
advAPI32 := syscall.MustLoadDLL("AdvAPI32.dll")
registerEventSource := advAPI32.MustFindProc("RegisterEventSourceW")
sourceName, _ := os.Executable()
sourceNameUTF16, _ := syscall.UTF16PtrFromString(sourceName)
handle, _, lastErr := registerEventSource.Call(uintptr(0), uintptr(unsafe.Pointer(sourceNameUTF16)))
if lastErr == nil { // On error, logging is a no-op
return func(eventType eventType, eventID int32, msg string) {}
}
reportEvent := advAPI32.MustFindProc("ReportEventW")
return func(eventType eventType, eventID int32, msg string) {
s, _ := syscall.UTF16PtrFromString(msg)
_, _, _ = reportEvent.Call(
uintptr(handle), // HANDLE hEventLog
uintptr(eventType), // WORD wType
uintptr(0), // WORD wCategory
uintptr(eventID), // DWORD dwEventID
uintptr(0), // PSID lpUserSid
uintptr(1), // WORD wNumStrings
uintptr(0), // DWORD dwDataSize
uintptr(unsafe.Pointer(&s)), // LPCTSTR *lpStrings
uintptr(0)) // LPVOID lpRawData
}
}()

161
vendor/github.com/Azure/azure-pipeline-go/pipeline/doc.go generated vendored Executable file
View File

@@ -0,0 +1,161 @@
// Copyright 2017 Microsoft Corporation. All rights reserved.
// Use of this source code is governed by an MIT
// license that can be found in the LICENSE file.
/*
Package pipeline implements an HTTP request/response middleware pipeline whose
policy objects mutate an HTTP request's URL, query parameters, and/or headers before
the request is sent over the wire.
Not all policy objects mutate an HTTP request; some policy objects simply impact the
flow of requests/responses by performing operations such as logging, retry policies,
timeouts, failure injection, and deserialization of response payloads.
Implementing the Policy Interface
To implement a policy, define a struct that implements the pipeline.Policy interface's Do method. Your Do
method is called when an HTTP request wants to be sent over the network. Your Do method can perform any
operation(s) it desires. For example, it can log the outgoing request, mutate the URL, headers, and/or query
parameters, inject a failure, etc. Your Do method must then forward the HTTP request to next Policy object
in a linked-list ensuring that the remaining Policy objects perform their work. Ultimately, the last Policy
object sends the HTTP request over the network (by calling the HTTPSender's Do method).
When an HTTP response comes back, each Policy object in the linked-list gets a chance to process the response
(in reverse order). The Policy object can log the response, retry the operation if due to a transient failure
or timeout, deserialize the response body, etc. Ultimately, the last Policy object returns the HTTP response
to the code that initiated the original HTTP request.
Here is a template for how to define a pipeline.Policy object:
type myPolicy struct {
node PolicyNode
// TODO: Add configuration/setting fields here (if desired)...
}
func (p *myPolicy) Do(ctx context.Context, request pipeline.Request) (pipeline.Response, error) {
// TODO: Mutate/process the HTTP request here...
response, err := p.node.Do(ctx, request) // Forward HTTP request to next Policy & get HTTP response
// TODO: Mutate/process the HTTP response here...
return response, err // Return response/error to previous Policy
}
Implementing the Factory Interface
Each Policy struct definition requires a factory struct definition that implements the pipeline.Factory interface's New
method. The New method is called when application code wants to initiate a new HTTP request. Factory's New method is
passed a pipeline.PolicyNode object which contains a reference to the owning pipeline.Pipeline object (discussed later) and
a reference to the next Policy object in the linked list. The New method should create its corresponding Policy object
passing it the PolicyNode and any other configuration/settings fields appropriate for the specific Policy object.
Here is a template for how to define a pipeline.Policy object:
// NOTE: Once created & initialized, Factory objects should be goroutine-safe (ex: immutable);
// this allows reuse (efficient use of memory) and makes these objects usable by multiple goroutines concurrently.
type myPolicyFactory struct {
// TODO: Add any configuration/setting fields if desired...
}
func (f *myPolicyFactory) New(node pipeline.PolicyNode) Policy {
return &myPolicy{node: node} // TODO: Also initialize any configuration/setting fields here (if desired)...
}
Using your Factory and Policy objects via a Pipeline
To use the Factory and Policy objects, an application constructs a slice of Factory objects and passes
this slice to the pipeline.NewPipeline function.
func NewPipeline(factories []pipeline.Factory, sender pipeline.HTTPSender) Pipeline
This function also requires an object implementing the HTTPSender interface. For simple scenarios,
passing nil for HTTPSender causes a standard Go http.Client object to be created and used to actually
send the HTTP response over the network. For more advanced scenarios, you can pass your own HTTPSender
object in. This allows sharing of http.Client objects or the use of custom-configured http.Client objects
or other objects that can simulate the network requests for testing purposes.
Now that you have a pipeline.Pipeline object, you can create a pipeline.Request object (which is a simple
wrapper around Go's standard http.Request object) and pass it to Pipeline's Do method along with passing a
context.Context for cancelling the HTTP request (if desired).
type Pipeline interface {
Do(ctx context.Context, methodFactory pipeline.Factory, request pipeline.Request) (pipeline.Response, error)
}
Do iterates over the slice of Factory objects and tells each one to create its corresponding
Policy object. After the linked-list of Policy objects have been created, Do calls the first
Policy object passing it the Context & HTTP request parameters. These parameters now flow through
all the Policy objects giving each object a chance to look at and/or mutate the HTTP request.
The last Policy object sends the message over the network.
When the network operation completes, the HTTP response and error return values pass
back through the same Policy objects in reverse order. Most Policy objects ignore the
response/error but some log the result, retry the operation (depending on the exact
reason the operation failed), or deserialize the response's body. Your own Policy
objects can do whatever they like when processing outgoing requests or incoming responses.
Note that after an I/O request runs to completion, the Policy objects for that request
are garbage collected. However, Pipeline object (like Factory objects) are goroutine-safe allowing
them to be created once and reused over many I/O operations. This allows for efficient use of
memory and also makes them safely usable by multiple goroutines concurrently.
Inserting a Method-Specific Factory into the Linked-List of Policy Objects
While Pipeline and Factory objects can be reused over many different operations, it is
common to have special behavior for a specific operation/method. For example, a method
may need to deserialize the response's body to an instance of a specific data type.
To accommodate this, the Pipeline's Do method takes an additional method-specific
Factory object. The Do method tells this Factory to create a Policy object and
injects this method-specific Policy object into the linked-list of Policy objects.
When creating a Pipeline object, the slice of Factory objects passed must have 1
(and only 1) entry marking where the method-specific Factory should be injected.
The Factory marker is obtained by calling the pipeline.MethodFactoryMarker() function:
func MethodFactoryMarker() pipeline.Factory
Creating an HTTP Request Object
The HTTP request object passed to Pipeline's Do method is not Go's http.Request struct.
Instead, it is a pipeline.Request struct which is a simple wrapper around Go's standard
http.Request. You create a pipeline.Request object by calling the pipeline.NewRequest function:
func NewRequest(method string, url url.URL, options pipeline.RequestOptions) (request pipeline.Request, err error)
To this function, you must pass a pipeline.RequestOptions that looks like this:
type RequestOptions struct {
// The readable and seekable stream to be sent to the server as the request's body.
Body io.ReadSeeker
// The callback method (if not nil) to be invoked to report progress as the stream is uploaded in the HTTP request.
Progress ProgressReceiver
}
The method and struct ensure that the request's body stream is a read/seekable stream.
A seekable stream is required so that upon retry, the final Policy object can seek
the stream back to the beginning before retrying the network request and re-uploading the
body. In addition, you can associate a ProgressReceiver callback function which will be
invoked periodically to report progress while bytes are being read from the body stream
and sent over the network.
Processing the HTTP Response
When an HTTP response comes in from the network, a reference to Go's http.Response struct is
embedded in a struct that implements the pipeline.Response interface:
type Response interface {
Response() *http.Response
}
This interface is returned through all the Policy objects. Each Policy object can call the Response
interface's Response method to examine (or mutate) the embedded http.Response object.
A Policy object can internally define another struct (implementing the pipeline.Response interface)
that embeds an http.Response and adds additional fields and return this structure to other Policy
objects. This allows a Policy object to deserialize the body to some other struct and return the
original http.Response and the additional struct back through the Policy chain. Other Policy objects
can see the Response but cannot see the additional struct with the deserialized body. After all the
Policy objects have returned, the pipeline.Response interface is returned by Pipeline's Do method.
The caller of this method can perform a type assertion attempting to get back to the struct type
really returned by the Policy object. If the type assertion is successful, the caller now has
access to both the http.Response and the deserialized struct object.*/
package pipeline

121
vendor/github.com/Azure/azure-pipeline-go/pipeline/error.go generated vendored Executable file
View File

@@ -0,0 +1,121 @@
package pipeline
import (
"fmt"
"runtime"
)
type causer interface {
Cause() error
}
// ErrorNode can be an embedded field in a private error object. This field
// adds Program Counter support and a 'cause' (reference to a preceding error).
// When initializing a error type with this embedded field, initialize the
// ErrorNode field by calling ErrorNode{}.Initialize(cause).
type ErrorNode struct {
pc uintptr // Represents a Program Counter that you can get symbols for.
cause error // Refers to the preceding error (or nil)
}
// Error returns a string with the PC's symbols or "" if the PC is invalid.
// When defining a new error type, have its Error method call this one passing
// it the string representation of the error.
func (e *ErrorNode) Error(msg string) string {
s := ""
if fn := runtime.FuncForPC(e.pc); fn != nil {
file, line := fn.FileLine(e.pc)
s = fmt.Sprintf("-> %v, %v:%v\n", fn.Name(), file, line)
}
s += msg + "\n\n"
if e.cause != nil {
s += e.cause.Error() + "\n"
}
return s
}
// Cause returns the error that preceded this error.
func (e *ErrorNode) Cause() error { return e.cause }
// Temporary returns true if the error occurred due to a temporary condition.
func (e ErrorNode) Temporary() bool {
type temporary interface {
Temporary() bool
}
for err := e.cause; err != nil; {
if t, ok := err.(temporary); ok {
return t.Temporary()
}
if cause, ok := err.(causer); ok {
err = cause.Cause()
} else {
err = nil
}
}
return false
}
// Timeout returns true if the error occurred due to time expiring.
func (e ErrorNode) Timeout() bool {
type timeout interface {
Timeout() bool
}
for err := e.cause; err != nil; {
if t, ok := err.(timeout); ok {
return t.Timeout()
}
if cause, ok := err.(causer); ok {
err = cause.Cause()
} else {
err = nil
}
}
return false
}
// Initialize is used to initialize an embedded ErrorNode field.
// It captures the caller's program counter and saves the cause (preceding error).
// To initialize the field, use "ErrorNode{}.Initialize(cause, 3)". A callersToSkip
// value of 3 is very common; but, depending on your code nesting, you may need
// a different value.
func (ErrorNode) Initialize(cause error, callersToSkip int) ErrorNode {
// Get the PC of Initialize method's caller.
pc := [1]uintptr{}
_ = runtime.Callers(callersToSkip, pc[:])
return ErrorNode{pc: pc[0], cause: cause}
}
// Cause walks all the preceding errors and return the originating error.
func Cause(err error) error {
for err != nil {
cause, ok := err.(causer)
if !ok {
break
}
err = cause.Cause()
}
return err
}
// NewError creates a simple string error (like Error.New). But, this
// error also captures the caller's Program Counter and the preceding error.
func NewError(cause error, msg string) error {
return &pcError{
ErrorNode: ErrorNode{}.Initialize(cause, 3),
msg: msg,
}
}
// pcError is a simple string error (like error.New) with an ErrorNode (PC & cause).
type pcError struct {
ErrorNode
msg string
}
// Error satisfies the error interface. It shows the error with Program Counter
// symbols and calls Error on the preceding error so you can see the full error chain.
func (e *pcError) Error() string { return e.ErrorNode.Error(e.msg) }

View File

@@ -0,0 +1,75 @@
package pipeline_test
import (
"context"
"github.com/Azure/azure-pipeline-go/pipeline"
)
// Here is the template for defining your own Factory & Policy:
// newMyPolicyFactory creates a 'My' policy factory. Make this function
// public if this should be callable from another package; everything
// else about the factory/policy should remain private to the package.
func newMyPolicyFactory( /* Desired parameters */ ) pipeline.Factory {
return &myPolicyFactory{ /* Set desired fields */ }
}
type myPolicyFactory struct {
// Desired fields (goroutine-safe because the factory is shared by many Policy objects)
}
// New initializes a Xxx policy object.
func (f *myPolicyFactory) New(next pipeline.Policy, po *pipeline.PolicyOptions) pipeline.Policy {
return &myPolicy{next: next, po: po /* Set desired fields */}
}
type myPolicy struct {
next pipeline.Policy
po *pipeline.PolicyOptions // Optional private field
// Additional desired fields (mutable for use by this specific Policy object)
}
func (p *myPolicy) Do(ctx context.Context, request pipeline.Request) (response pipeline.Response, err error) {
// TODO: Put your policy behavior code here
// Your code should NOT mutate the ctx or request parameters
// However, you can make a copy of the request and mutate the copy
// You can also pass a different Context on.
// You can optionally use po (PolicyOptions) in this func.
// Forward the request to the next node in the pipeline:
response, err = p.next.Do(ctx, request)
// Process the response here. You can deserialize the body into an object.
// If you do this, also define a struct that wraps an http.Response & your
// deserialized struct. Have your wrapper struct implement the
// pipeline.Response interface and then return your struct (via the interface)
// After the pipeline completes, take response and perform a type assertion
// to get back to the wrapper struct so you can access the deserialized object.
return // Return the response & err
}
func newMyPolicyFactory2( /* Desired parameters */ ) pipeline.Factory {
return pipeline.FactoryFunc(func(next pipeline.Policy, po *pipeline.PolicyOptions) pipeline.PolicyFunc {
return func(ctx context.Context, request pipeline.Request) (response pipeline.Response, err error) {
// TODO: Put your policy behavior code here
// Your code should NOT mutate the ctx or request parameters
// However, you can make a copy of the request and mutate the copy
// You can also pass a different Context on.
// You can optionally use po (PolicyOptions) in this func.
// Forward the request to the next node in the pipeline:
response, err = next.Do(ctx, request)
// Process the response here. You can deserialize the body into an object.
// If you do this, also define a struct that wraps an http.Response & your
// deserialized struct. Have your wrapper struct implement the
// pipeline.Response interface and then return your struct (via the interface)
// After the pipeline completes, take response and perform a type assertion
// to get back to the wrapper struct so you can access the deserialized object.
return // Return the response & err
}
})
}

View File

@@ -0,0 +1,82 @@
package pipeline
import "io"
// ********** The following is common between the request body AND the response body.
// ProgressReceiver defines the signature of a callback function invoked as progress is reported.
type ProgressReceiver func(bytesTransferred int64)
// ********** The following are specific to the request body (a ReadSeekCloser)
// This struct is used when sending a body to the network
type requestBodyProgress struct {
requestBody io.ReadSeeker // Seeking is required to support retries
pr ProgressReceiver
}
// NewRequestBodyProgress adds progress reporting to an HTTP request's body stream.
func NewRequestBodyProgress(requestBody io.ReadSeeker, pr ProgressReceiver) io.ReadSeeker {
if pr == nil {
panic("pr must not be nil")
}
return &requestBodyProgress{requestBody: requestBody, pr: pr}
}
// Read reads a block of data from an inner stream and reports progress
func (rbp *requestBodyProgress) Read(p []byte) (n int, err error) {
n, err = rbp.requestBody.Read(p)
if err != nil {
return
}
// Invokes the user's callback method to report progress
position, err := rbp.requestBody.Seek(0, io.SeekCurrent)
if err != nil {
panic(err)
}
rbp.pr(position)
return
}
func (rbp *requestBodyProgress) Seek(offset int64, whence int) (offsetFromStart int64, err error) {
return rbp.requestBody.Seek(offset, whence)
}
// requestBodyProgress supports Close but the underlying stream may not; if it does, Close will close it.
func (rbp *requestBodyProgress) Close() error {
if c, ok := rbp.requestBody.(io.Closer); ok {
return c.Close()
}
return nil
}
// ********** The following are specific to the response body (a ReadCloser)
// This struct is used when sending a body to the network
type responseBodyProgress struct {
responseBody io.ReadCloser
pr ProgressReceiver
offset int64
}
// NewResponseBodyProgress adds progress reporting to an HTTP response's body stream.
func NewResponseBodyProgress(responseBody io.ReadCloser, pr ProgressReceiver) io.ReadCloser {
if pr == nil {
panic("pr must not be nil")
}
return &responseBodyProgress{responseBody: responseBody, pr: pr, offset: 0}
}
// Read reads a block of data from an inner stream and reports progress
func (rbp *responseBodyProgress) Read(p []byte) (n int, err error) {
n, err = rbp.responseBody.Read(p)
rbp.offset += int64(n)
// Invokes the user's callback method to report progress
rbp.pr(rbp.offset)
return
}
func (rbp *responseBodyProgress) Close() error {
return rbp.responseBody.Close()
}

147
vendor/github.com/Azure/azure-pipeline-go/pipeline/request.go generated vendored Executable file
View File

@@ -0,0 +1,147 @@
package pipeline
import (
"io"
"net/http"
"net/url"
"strconv"
)
// Request is a thin wrapper over an http.Request. The wrapper provides several helper methods.
type Request struct {
*http.Request
}
// NewRequest initializes a new HTTP request object with any desired options.
func NewRequest(method string, url url.URL, body io.ReadSeeker) (request Request, err error) {
// Note: the url is passed by value so that any pipeline operations that modify it do so on a copy.
// This code to construct an http.Request is copied from http.NewRequest(); we intentionally omitted removeEmptyPort for now.
request.Request = &http.Request{
Method: method,
URL: &url,
Proto: "HTTP/1.1",
ProtoMajor: 1,
ProtoMinor: 1,
Header: make(http.Header),
Host: url.Host,
}
if body != nil {
err = request.SetBody(body)
}
return
}
// SetBody sets the body and content length, assumes body is not nil.
func (r Request) SetBody(body io.ReadSeeker) error {
size, err := body.Seek(0, io.SeekEnd)
if err != nil {
return err
}
body.Seek(0, io.SeekStart)
r.ContentLength = size
r.Header["Content-Length"] = []string{strconv.FormatInt(size, 10)}
if size != 0 {
r.Body = &retryableRequestBody{body: body}
r.GetBody = func() (io.ReadCloser, error) {
_, err := body.Seek(0, io.SeekStart)
if err != nil {
return nil, err
}
return r.Body, nil
}
} else {
// in case the body is an empty stream, we need to use http.NoBody to explicitly provide no content
r.Body = http.NoBody
r.GetBody = func() (io.ReadCloser, error) {
return http.NoBody, nil
}
// close the user-provided empty body
if c, ok := body.(io.Closer); ok {
c.Close()
}
}
return nil
}
// Copy makes a copy of an http.Request. Specifically, it makes a deep copy
// of its Method, URL, Host, Proto(Major/Minor), Header. ContentLength, Close,
// RemoteAddr, RequestURI. Copy makes a shallow copy of the Body, GetBody, TLS,
// Cancel, Response, and ctx fields. Copy panics if any of these fields are
// not nil: TransferEncoding, Form, PostForm, MultipartForm, or Trailer.
func (r Request) Copy() Request {
if r.TransferEncoding != nil || r.Form != nil || r.PostForm != nil || r.MultipartForm != nil || r.Trailer != nil {
panic("Can't make a deep copy of the http.Request because at least one of the following is not nil:" +
"TransferEncoding, Form, PostForm, MultipartForm, or Trailer.")
}
copy := *r.Request // Copy the request
urlCopy := *(r.Request.URL) // Copy the URL
copy.URL = &urlCopy
copy.Header = http.Header{} // Copy the header
for k, vs := range r.Header {
for _, value := range vs {
copy.Header.Add(k, value)
}
}
return Request{Request: &copy} // Return the copy
}
func (r Request) close() error {
if r.Body != nil && r.Body != http.NoBody {
c, ok := r.Body.(*retryableRequestBody)
if !ok {
panic("unexpected request body type (should be *retryableReadSeekerCloser)")
}
return c.realClose()
}
return nil
}
// RewindBody seeks the request's Body stream back to the beginning so it can be resent when retrying an operation.
func (r Request) RewindBody() error {
if r.Body != nil && r.Body != http.NoBody {
s, ok := r.Body.(io.Seeker)
if !ok {
panic("unexpected request body type (should be io.Seeker)")
}
// Reset the stream back to the beginning
_, err := s.Seek(0, io.SeekStart)
return err
}
return nil
}
// ********** The following type/methods implement the retryableRequestBody (a ReadSeekCloser)
// This struct is used when sending a body to the network
type retryableRequestBody struct {
body io.ReadSeeker // Seeking is required to support retries
}
// Read reads a block of data from an inner stream and reports progress
func (b *retryableRequestBody) Read(p []byte) (n int, err error) {
return b.body.Read(p)
}
func (b *retryableRequestBody) Seek(offset int64, whence int) (offsetFromStart int64, err error) {
return b.body.Seek(offset, whence)
}
func (b *retryableRequestBody) Close() error {
// We don't want the underlying transport to close the request body on transient failures so this is a nop.
// The pipeline closes the request body upon success.
return nil
}
func (b *retryableRequestBody) realClose() error {
if c, ok := b.body.(io.Closer); ok {
return c.Close()
}
return nil
}

View File

@@ -0,0 +1,74 @@
package pipeline
import (
"bytes"
"fmt"
"net/http"
"sort"
"strings"
)
// The Response interface exposes an http.Response object as it returns through the pipeline of Policy objects.
// This ensures that Policy objects have access to the HTTP response. However, the object this interface encapsulates
// might be a struct with additional fields that is created by a Policy object (typically a method-specific Factory).
// The method that injected the method-specific Factory gets this returned Response and performs a type assertion
// to the expected struct and returns the struct to its caller.
type Response interface {
Response() *http.Response
}
// This is the default struct that has the http.Response.
// A method can replace this struct with its own struct containing an http.Response
// field and any other additional fields.
type httpResponse struct {
response *http.Response
}
// NewHTTPResponse is typically called by a Policy object to return a Response object.
func NewHTTPResponse(response *http.Response) Response {
return &httpResponse{response: response}
}
// This method satisfies the public Response interface's Response method
func (r httpResponse) Response() *http.Response {
return r.response
}
// WriteRequestWithResponse appends a formatted HTTP request into a Buffer. If request and/or err are
// not nil, then these are also written into the Buffer.
func WriteRequestWithResponse(b *bytes.Buffer, request *http.Request, response *http.Response, err error) {
// Write the request into the buffer.
fmt.Fprint(b, " "+request.Method+" "+request.URL.String()+"\n")
writeHeader(b, request.Header)
if response != nil {
fmt.Fprintln(b, " --------------------------------------------------------------------------------")
fmt.Fprint(b, " RESPONSE Status: "+response.Status+"\n")
writeHeader(b, response.Header)
}
if err != nil {
fmt.Fprintln(b, " --------------------------------------------------------------------------------")
fmt.Fprint(b, " ERROR:\n"+err.Error()+"\n")
}
}
// formatHeaders appends an HTTP request's or response's header into a Buffer.
func writeHeader(b *bytes.Buffer, header map[string][]string) {
if len(header) == 0 {
b.WriteString(" (no headers)\n")
return
}
keys := make([]string, 0, len(header))
// Alphabetize the headers
for k := range header {
keys = append(keys, k)
}
sort.Strings(keys)
for _, k := range keys {
// Redact the value of any Authorization header to prevent security information from persisting in logs
value := interface{}("REDACTED")
if !strings.EqualFold(k, "Authorization") {
value = header[k]
}
fmt.Fprintf(b, " %s: %+v\n", k, value)
}
}

View File

@@ -0,0 +1,9 @@
package pipeline
const (
// UserAgent is the string to be used in the user agent string when making requests.
UserAgent = "azure-pipeline-go/" + Version
// Version is the semantic version (see http://semver.org) of the pipeline package.
Version = "0.1.0"
)

View File

@@ -1,12 +0,0 @@
Thanks you for your contribution to the Azure-SDK-for-Go! We will triage and review it as quickly as we can.
As part of your submission, please make sure that you can make the following assertions:
- [ ] I'm not making changes to Auto-Generated files which will just get erased next time there's a release.
- If that's what you want to do, consider making a contribution here: https://github.com/Azure/autorest.go
- [ ] I've tested my changes, adding unit tests where applicable.
- [ ] I've added Apache 2.0 Headers to the top of any new source files.
- [ ] I'm submitting this PR to the `dev` branch, or I'm fixing a bug that warrants its own release and I'm targeting the `master` branch.
- [ ] If I'm targeting the `master` branch, I've also added a note to [CHANGELOG.md](https://github.com/Azure/azure-sdk-for-go/blob/master/README.md).
- [ ] I've mentioned any relevant open issues in this PR, making clear the context for the contribution.

View File

@@ -1,32 +0,0 @@
# Compiled Object files, Static and Dynamic libs (Shared Objects)
*.o
*.a
*.so
# Folders
_obj
_test
# Architecture specific extensions/prefixes
# *.[568vq]
[568vq].out
*.cgo1.go
*.cgo2.c
_cgo_defun.c
_cgo_gotypes.go
_cgo_export.*
_testmain.go
*.exe
*.test
*.prof
# Editor swap files
*.swp
*~
.DS_Store
# ignore vendor/
vendor/

View File

@@ -1,37 +0,0 @@
sudo: false
language: go
go:
- 1.8.x
- 1.9.x
- 1.10.x
- master
env:
global:
- DEP_VERSION="0.4.1"
- DEP_SHA=31144e465e52ffbc0035248a10ddea61a09bf28b00784fd3fdd9882c8cbb2315
- IGNORE_BREAKING_CHANGES=true
matrix:
- GOARCH="amd64"
- GOARCH="386"
matrix:
allow_failures:
- go: master
before_install:
- curl -fL -o $GOPATH/bin/dep https://github.com/golang/dep/releases/download/v$DEP_VERSION/dep-linux-amd64 && echo "$DEP_SHA $GOPATH/bin/dep" | sha256sum -c - && chmod +x $GOPATH/bin/dep
install:
- go get -u github.com/golang/lint/golint
- dep ensure
script:
- bash rungas.sh
- grep -L -r --include *.go --exclude-dir vendor -P "Copyright (\d{4}|\(c\)) Microsoft" ./ | tee /dev/stderr | test -z "$(< /dev/stdin)"
- go build $(go list ./... | grep -v vendor)
- test -z "$(go fmt $(go list ./... | grep -v vendor) | tee /dev/stderr)"
- go vet $(go list ./... | grep -v vendor)
- go test $(sh ./findTestedPackages.sh)
- go run ./tools/apidiff/main.go packages ./services FETCH_HEAD~1 FETCH_HEAD --copyrepo --breakingchanges || $IGNORE_BREAKING_CHANGES

View File

@@ -1,597 +0,0 @@
# CHANGELOG
## `v18.0.0`
### New Services
| Package Name | API Version |
| ----------------------: | :-------------------: |
| apimanagement | 2018-06-01-preview |
| hdinsight | 2018-06-01-preview |
| computervision | v2.0 |
| recoveryservices/backup | 2016-12-01 |
| storagedatalake | 2018-06-17 |
| devspaces | 2018-06-01-preview |
| automation | 2017-05-15-preview |
| keyvault | v7.0 <br/> 2018-02-14 |
| automation | 2018-01-preview |
| media | 2018-06-01-preview |
| datafactory | 2018-06-01 |
### Updates Services
| Package Name | API Version |
| -------------: | :--------------------------------: |
| face | v1.0 |
| luis/authoring | v2.0 |
| luis/runtime | v2.0 |
| textanalytics | v2.0 |
| eventhub | 2017-04-01 <br/>2018-01-01-preview |
| monitor | 2017-05-01-preview |
| signalr | 2018-03-01-preview |
| sql | 2017-10-01-preview |
| storage | 2018-03-01-preview <br/>2018-02-01 |
| servicebus | 2017-04-01 |
### Breaking Changes
| Package Name | API Version |
| ----------------------: | :-------------------: |
| adhybridhealthservice | 2014-01-01 |
| advisor | 2017-04-19 |
| appinsights | 2015-05-01 <br/> v1 |
| automation | 2015-10-31/automation |
| batchai | 2018-05-01/batchai |
| computervision | v1.0 |
| consumption | 2018-05-31 |
| network | 2018-04-01 |
| operationalinsights | 2015-03-20<br/>v1 |
| recoveryservices/backup | 2017-07-01 |
| reservations | 2018-06-01 |
## `v17.4.0`
### New Services
| Package Name | API Version |
| ---------------: | :---------: |
| autosuggest | v1.0 |
| containerservice | 2018-03-31 |
### Updated Services
| Package Name | API Version |
| ---------------: | :---------------------------------------: |
| consumption | 2018-05-31 |
| documentdb | 2015-04-08 |
| network | 2018-02-01<br/>2018-04-01<br/>2018-05-01 |
| notificationhubs | 2017-04-01 |
| sql | 2017-03-01-preview<br/>2017-10-01-preview |
## `v17.3.1`
### Updated Services
| Package Name | API Version |
| ------------: | :-----------------------------------------------------------------------------------: |
| network | 2017-10-01<br/>2017-11-01<br/>2018-01-01<br/>2018-02-01<br/>2018-04-01<br/>2018-05-01 |
| servicefabric | 5.6<br/>6.0<br/>6.1<br/>6.2 |
## `v17.3.0`
### New Services
| Package Name | API Version |
| ----------------: | :---------: |
| containerinstance | 2018-06-01 |
| reservations | 2018-06-01 |
### Updated Services
| Package Name | API Version |
| -----------: | :---------: |
| datafactory | 2017-09-01 |
| network | 2015-06-15 |
## `v17.2.0`
### New Services
| Package Name | API Version |
| ------------------: | :---------: |
| managedapplications | 2018-06-01 |
| resources | 2018-05-01 |
### Updated Services
| Package Name | API Version |
| -------------------: | :---------: |
| networksecuritygroup | classic |
## `v17.1.0`
### New Services
| Package Name | API Version |
| -----------: | :-----------------------: |
| iotcentral | 2017-07-01-privatepreview |
## `v17.0.0`
### New Services
| Package Name | API Version |
| --------------------: | :-----------------: |
| batchai | 2018-05-01 |
| adhybridhealthservice | 2014-01-01 |
| consumption | 2018-05-31 |
| customimagesearch | v1.0 |
| luis/authoring | v2.0 |
| management | 2018-03-01-preview |
| maps | 2017-01-01-preview |
| maps | 2018-05-01 |
| network | 2018-05-01 |
| policy | "2018-03-01 |
| servicefabric | "2018-02-01 |
| services | "2018-03-01-preview |
| storage | 2018-03-01-preview |
| trafficmanager | 2018-02-01 |
| workspaces | 2016-04-01 |
### Updated Services
| Package Name | API Version |
| ------------------: | :----------------: |
| aad | 2017-01-01 |
| aad | 2017-06-01 |
| account | 2016-11-01 |
| advisor | 2017-04-19 |
| analysisservices | 2016-05-16 |
| analysisservices | 2017-07-14 |
| analysisservices | 2017-08-01 |
| apimanagement | 2016-07-07 |
| apimanagement | 2016-10-10 |
| apimanagement | 2017-03-01 |
| apimanagement | 2018-01-01 |
| batch | 2015-12-01 |
| batch | 2017-01-01 |
| batch | 2017-05-01 |
| batch | 2017-09-01 |
| batchai | 2018-03-01 |
| batchai | 2018-05-01 |
| botservices | 2017-12-01 |
| catalog | 2016-11-01-preview |
| cdn | 2015-06-01 |
| cdn | 2016-04-02 |
| cdn | 2016-10-02 |
| cdn | 2017-04-02 |
| cdn | 2017-10-12 |
| compute | 2015-06-15 |
| compute | 2016-03-30 |
| compute | 2017-03-30 |
| compute | 2018-04-01 |
| computervision | v1.0 |
| consumption | 2018-03-31 |
| containerinstance | 2018-04-01 |
| containerregistry | 2017-03-01 |
| containerregistry | 2017-10-01 |
| containerregistry | 2018-02-01 |
| containerservice | 2016-03-30 |
| containerservice | 2016-09-30 |
| containerservice | 2017-01-31 |
| containerservice | 2017-07-01 |
| containerservice | 2017-08-31 |
| containerservice | 2017-09-30 |
| customerinsights | 2017-01-01 |
| customerinsights | 2017-04-26 |
| databox | 2018-01-01 |
| databricks | 2018-04-01 |
| datacatalog | 2016-03-30 |
| datafactory | 2017-09-01-preview |
| datamigration | 2018-03-31-preview |
| devices | 2016-02-03 |
| devices | 2017-01-19 |
| devices | 2017-07-01 |
| devices | 2018-01-22 |
| devices | 2018-04-01 |
| dns | 2016-04-01 |
| dns | 2017-09-01 |
| dns | 2017-10-01 |
| documentdb | 2015-04-08 |
| dtl | 2016-05-15 |
| eventgrid | 2018-01-01 |
| eventgrid | 2018-05-01-preview |
| eventhub | 2015-08-01 |
| eventhub | 2017-04-01 |
| eventhub | 2018-01-01-preview |
| insights | 2015-05-01 |
| iothub | 2017-08-21-preview |
| iothub | 2017-11-15 |
| iothub | 2018-01-22 |
| iotspaces | 2017-10-01-preview |
| logic | 2016-06-01 |
| managedapplications | 2016-09-01-preview |
| managedapplications | 2017-09-01 |
| management | 2018-01-01-preview |
| media | 2018-03-30-preview |
| mysql | 2017-12-01 |
| network | 2015-06-15 |
| network | 2016-03-30 |
| network | 2016-06-01 |
| network | 2016-09-01 |
| network | 2016-12-01 |
| network | 2017-03-01 |
| network | 2017-06-01 |
| network | 2017-08-01 |
| network | 2017-09-01 |
| network | 2017-10-01 |
| network | 2017-11-01 |
| network | 2018-01-01 |
| network | 2018-02-01 |
| network | 2018-04-01 |
| notificationhubs | 2014-09-01 |
| notificationhubs | 2016-03-01 |
| notificationhubs | 2017-04-01 |
| operationalinsights | 2015-03-20 |
| operationalinsights | v1 |
| postgresql | 2017-12-01 |
| powerbidedicated | 2017-10-01 |
| powerbiembedded | 2016-01-29 |
| prediction | customvision |
| luis/programmatic | v2.0 |
| redis | 2016-04-01 |
| redis | 2017-02-01 |
| redis | 2017-10-01 |
| redis | 2018-03-01 |
| relay | 2016-07-01 |
| relay | 2017-04-01 |
| reservations | 2017-11-01 |
| resources | 2015-11-01 |
| resources | 2016-02-01 |
| resources | 2016-07-01 |
| resources | 2016-09-01 |
| resources | 2017-05-10 |
| resources | 2018-02-01 |
| luis/runtime | v2.0 |
| scheduler | 2016-03-01 |
| search | 2015-08-19 |
| servermanagement | 2015-07-01-preview |
| servermanagement | 2016-07-01-preview |
| servicebus | 2015-08-01 |
| servicebus | 2017-04-01 |
| servicefabric | 2016-09-01 |
| servicefabric | 2017-07-01-preview |
| signalr | 2018-03-01-preview |
| siterecovery | 2016-08-10 |
| siterecovery | 2018-01-10 |
| sql | 2014-04-01 |
| sql | 2015-05-01-preview |
| sql | 2017-03-01-preview |
| sql | 2017-10-01-preview |
| storage | 2015-05-01-preview |
| storage | 2015-06-15 |
| storage | 2016-01-01 |
| storage | 2016-05-01 |
| storage | 2016-12-01 |
| storage | 2017-06-01 |
| storage | 2017-10-01 |
| storage | 2018-02-01 |
| storsimple | 2017-06-01 |
| streamanalytics | 2016-03-01 |
| subscription | 2017-11-01-preview |
| subscription | 2018-03-01-preview |
| timeseriesinsights | 2017-02-28-preview |
| timeseriesinsights | 2017-11-15 |
| trafficmanager | 2018-03-01 |
| training | customvision |
| visualstudio | 2014-04-01-preview |
| web | 2015-08-preview |
| web | 2016-09-01 |
| web | 2018-02-01 |
| webservices | 2017-01-01 |
## `v16.2.2`
### Updated Services
| Package Name | API Version |
| -----------: | :----------------: |
| signalr | 2018-03-01-preview |
## `v16.2.1`
### Updated Services
| Package Name | API Version |
| -----------: | :-----------------------: |
| web | 2016-09-01<br/>2018-02-01 |
## `v16.2.0`
### New Services
| Package Name | API Version |
| -------------: | :----------------: |
| eventgrid | 2018-05-01-preview |
| trafficmanager | 2018-03-01 |
### Updated Services
| Package Name | API Version |
| ------------: | :-----------------------: |
| redis | 2017-10-01<br/>2018-03-01 |
| textanalytics | v2.0 |
| web | 2016-09-01<br/>2018-02-01 |
## `v16.1.0`
- Added a `NewAuthorizerFromEnvironment()` function for the keyvault service.
## `v16.0.0`
### New Services
| Package Name | API Version |
| ------------------: | :----------------: |
| batchai | 2018-05-01 |
| botservices | 2017-12-01 |
| containerinstance | 2018-04-01 |
| containerregistry | 2018-02-01 |
| keyvault | v7.0 |
| managedapplications | 2017-09-01 |
| network | 2018-04-01 |
| policyinsights | 2018-04-04 |
| signalr | 2018-03-01-preview |
| storage | 2018-02-0 |
| visualsearch | v1.0 |
| web | 2018-02-01 |
### Updated Services
| Package Name | API Version |
| ------------------: | :--------------------------------------------------------------: |
| apimanagement | 2018-01-01 |
| automation | 2015-10-31<br/>2017-05-15-preview |
| billing | 2018-03-01-preview |
| botservices | 2017-12-01 |
| catalog | 2016-11-01-preview |
| cognitiveservices | 2017-04-18 |
| commerce | 2015-06-01-preview |
| compute | 2018-04-01 |
| consumption | 2018-03-31 |
| contentmoderator | v1.0 |
| datafactory | 2017-09-01-preview |
| datamigration | 2017-11-15-preview |
| eventhub | 2017-04-01 |
| insights | 2015-05-0 |
| iothub | 2017-11-15 |
| network | 2018-02-01 |
| operationalinsights | 2015-03-20<br/>2015-11-01-preview |
| servicebus | 2017-04-01 |
| siterecovery | 2018-01-10 |
| sql | 2017-03-01-preview<br/>2017-10-01-preview<br/>2015-05-01-preview |
| timeseriesinsights | 2017-11-15 |
| luis/runtime | v2.0 |
| web | 2016-09-01 |
## `v15.3.0`
### New Services
| Package Name | API Version |
| ------------: | :----------------: |
| databox | 2018-01-01 |
| devices | 2018-04-01 |
| media | 2018-03-30-preview |
| servicefabric | 6.2 |
### Updated Services
| Package Name | API Version |
| ----------------: | :------------: |
| apimanagement | 2018-01-01 |
| batch | 2018-03-01.6.1 |
| containerregistry | 2017-10-01 |
| documentdb | 2015-04-08 |
| servicebus | 2017-04-01 |
## `v15.2.0`
### New Services
| Package Name | API Version |
| -----------: | :---------: |
| addons | 2017-05-15 |
| addons | 2018-03-01 |
### Updated Services
| Package Name | API Version |
| ------------: | :---------: |
| apimanagement | 2017-03-01 |
| apimanagement | 2018-01-01 |
| insights | 2015-05-01 |
## `v15.1.1`
### Bug Fixes
- Drain the response body when retrying a request.
- Avoid allocating when draining a response body.
## `v15.1.0`
### New Services
| Package Name | API Version |
| ----------------: | :----------------: |
| datamigration | 2018-03-31-preview |
| devices | 2018-01-22 |
| network | 2018-02-01 |
| cognitiveservices | customvision |
## Updated Services
| Package Name | API Version |
| -----------: | :----------------------------------------------------------------------------: |
| compute | 2015-06-15<br/>2016-03-30<br/>2016-04-30-preview<br/>2017-03-30<br/>2018-04-01 |
| datafactory | 2017-09-01-preview |
| insights | 2018-03-01 |
| mysql | 2017-12-01 |
| postgresql | 2017-12-01 |
| web | 2016-09-01 |
## `v15.0.1`
Fixing some build issues, and temporarily reverting CI.
## `v15.0.0`
NOTE: There is a new subdirectory, ./services/preview, which going forward will be used for segregating pre-GA packages.
### New Features
- Added helper func per enum type that returns a slice of all possible values for that type.
### Bug Fixes
- Removed the "arm-" prefix from user-agent strings as not all services are for ARM.
- Fixed missing marshaller for structs with flattened fields.
- Fixed an issue where the incorrect content MIME type was being specified.
- Marshalling of empty values for enum types now works as expected.
### New Services
| Package Name | API Version |
| -------------: | :--------------------------------------------------------------: |
| apimanagement | 2017-03-01 |
| azurestack | 2017-06-01 |
| billing | 2018-03-01-preview |
| compute | 2018-04-01 |
| consumption | 2018-03-31 |
| databricks | 2018-04-01 |
| dns | 2017-10-01 |
| insights | 2018-03-01 |
| iothub | 2018-01-22 |
| iotspaces | 2017-10-01-preview |
| management | 2018-01-01-preview |
| migrate | 2018-02-02 |
| policyinsights | 2017-08-09-preview<br/>2017-10-17-preview<br/>2017-12-12-preview |
| resources | 2018-02-01 |
| siterecovery | 2018-01-10 |
| sql | 2017-10-01-preview |
### Breaking Changes
| Package Name | API Version |
| ------------------: | :----------------------------------------: |
| automation | 2017-05-15-preview |
| advisor | 2017-04-19 |
| cognitiveservices | 2017-04-18 |
| compute | 2017-03-30<br/>2017-12-01 |
| consumption | 2018-01-31 |
| containerinstance | 2018-02-01-preview |
| containerservice | 2017-08-31<br/>2017-09-30 |
| customsearch | v1.0 |
| datafactory | 2017-09-01-preview |
| datamigration | 2017-11-15-preview |
| dns | 2018-03-01-preview |
| entitysearch | v1.0 |
| imagesearch | v1.0 |
| insights | 2017-05-01-preview |
| iothub | 2017-11-15 |
| management | 2017-08-31-preview<br/>2017-11-01-preview |
| mysql | 2017-12-01-preview |
| newssearch | v1.0 |
| operationalinsights | 2015-03-20 |
| postgresql | 2017-12-01-preview |
| servicebus | 2015-08-01 |
| servicefabric | 2017-07-01-preview<br/>5.6<br/>6.0<br/>6.1 |
| servicemap | 2015-11-01-preview |
| spellcheck | v1.0 |
| timeseriesinsights | 2017-02-28-preview<br/>2017-11-15 |
| videosearch | v1.0 |
| web | 2016-09-01 |
| websearch | v1.0 |
## `v14.6.0`
### New Services
- Batch 2018-03-01.6.1
- BatchAI 2018-03-01
- Cognitive services custom vision prediction v1.1
- Eventhub 2018-01-01-preview
- MySQL 2017-12-01
- PostgreSQL 2017-12-01
- Redis 2018-03-01
- Subscription 2018-03-01-preview
## `v14.5.0`
### Changes
- Added new preview packages for apimanagement and dns.
## `v14.4.0`
### Changes
- Added new preview API versions for mysql and postgresql.
## `v14.3.0`
### Changes
- Add exports for max file range and sizes for files in storage.
- Updated README regarding blob storage support.
- Add godoc indexer tool.
- Add apidiff tool.
## `v14.2.0`
### Changes
- For blob storage, added GetProperties() method to Container.
- Added PublicAccess field to ContainerProperties struct.
## `v14.1.1`
- Fixing timestamp marshalling bug in the `storage` package.
- Updating `profileBuilder` to clear-output folders when it is run by `go generate`.
- Tweaking Swagger -> SDK config to use "latest" instead of "nightly" and be tied to a particular version of autorest.go.
## `v14.1.0`
### Changes
- Update README with details on new authentication helpers.
- Update `latest` profile to point to latest stable API versions.
- Add new API version for Azure Monitoring service and for Batch Data plane service.
## `v14.0.2`
### Changes
- Updating `profileBuilder list` to accept an `input` flag instead of reading from `stdin`.
- Simplifying CI to have less chatter, be faster, and have no special cases.
## `v14.0.1`
### Changes
- Removed the ./services/search/2016-09-01/search package, it was never intended to be included and doesn't work.
## `v14.0.0`
### Breaking Changes
- Removed the ./arm, ./datalake-store and ./dataplane directories. You can find the same packages under ./services
- The management package was moved to ./services/classic/management
- Renamed package ./services/redis/mgmt/2017-10-01/cache to ./services/redis/mgmt/2017-10-01/redis
### Changes
- Removed the "-beta" suffix.
- Added various new services.
- Added ./version package for centralized SDK versioning.

View File

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

View File

@@ -1,16 +0,0 @@
# Contributing
While in preview we maintain only a `master` branch for releases and `dev` branch for development.
After release we will maintain a branch for each major version to backport important fixes.
Please submit pull requests to `dev` to update the latest version or to a version branch for backports.
Also 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

View File

@@ -1,246 +0,0 @@
# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'.
[[projects]]
name = "github.com/Azure/go-autorest"
packages = [
"autorest",
"autorest/adal",
"autorest/azure",
"autorest/azure/auth",
"autorest/date",
"autorest/to",
"autorest/validation"
]
revision = "1f7cd6cfe0adea687ad44a512dfe76140f804318"
version = "v10.12.0"
[[projects]]
name = "github.com/dgrijalva/jwt-go"
packages = ["."]
revision = "06ea1031745cb8b3dab3f6a236daf2b0aa468b7e"
version = "v3.2.0"
[[projects]]
branch = "master"
name = "github.com/dimchansky/utfbom"
packages = ["."]
revision = "6c6132ff69f0f6c088739067407b5d32c52e1d0f"
[[projects]]
branch = "master"
name = "github.com/dnaeon/go-vcr"
packages = [
"cassette",
"recorder"
]
revision = "8b144be0744f013a1b44386058f1fcb3ba98177d"
[[projects]]
name = "github.com/fsnotify/fsnotify"
packages = ["."]
revision = "c2828203cd70a50dcccfb2761f8b1f8ceef9a8e9"
version = "v1.4.7"
[[projects]]
branch = "master"
name = "github.com/globalsign/mgo"
packages = [
".",
"bson",
"internal/json",
"internal/sasl",
"internal/scram"
]
revision = "113d3961e7311526535a1ef7042196563d442761"
[[projects]]
branch = "master"
name = "github.com/hashicorp/hcl"
packages = [
".",
"hcl/ast",
"hcl/parser",
"hcl/printer",
"hcl/scanner",
"hcl/strconv",
"hcl/token",
"json/parser",
"json/scanner",
"json/token"
]
revision = "ef8a98b0bbce4a65b5aa4c368430a80ddc533168"
[[projects]]
name = "github.com/inconshreveable/mousetrap"
packages = ["."]
revision = "76626ae9c91c4f2a10f34cad8ce83ea42c93bb75"
version = "v1.0"
[[projects]]
name = "github.com/kr/pretty"
packages = ["."]
revision = "73f6ac0b30a98e433b289500d779f50c1a6f0712"
version = "v0.1.0"
[[projects]]
name = "github.com/kr/text"
packages = ["."]
revision = "e2ffdb16a802fe2bb95e2e35ff34f0e53aeef34f"
version = "v0.1.0"
[[projects]]
name = "github.com/magiconair/properties"
packages = ["."]
revision = "c2353362d570a7bfa228149c62842019201cfb71"
version = "v1.8.0"
[[projects]]
name = "github.com/marstr/collection"
packages = ["."]
revision = "871b1cfa2ab97d3d8f54a034280907896190c346"
version = "v0.3.3"
[[projects]]
branch = "master"
name = "github.com/marstr/goalias"
packages = ["model"]
revision = "8dff9a14db648bfdd58d45515d3eaaee23aad078"
[[projects]]
name = "github.com/marstr/guid"
packages = ["."]
revision = "8bd9a64bf37eb297b492a4101fb28e80ac0b290f"
version = "v1.1.0"
[[projects]]
branch = "master"
name = "github.com/marstr/randname"
packages = ["."]
revision = "48a63b6052f1f9373db9388a658da30c6ab53db1"
[[projects]]
branch = "master"
name = "github.com/mitchellh/go-homedir"
packages = ["."]
revision = "3864e76763d94a6df2f9960b16a20a33da9f9a66"
[[projects]]
branch = "master"
name = "github.com/mitchellh/mapstructure"
packages = ["."]
revision = "bb74f1db0675b241733089d5a1faa5dd8b0ef57b"
[[projects]]
name = "github.com/pelletier/go-toml"
packages = ["."]
revision = "c01d1270ff3e442a8a57cddc1c92dc1138598194"
version = "v1.2.0"
[[projects]]
name = "github.com/satori/go.uuid"
packages = ["."]
revision = "f58768cc1a7a7e77a3bd49e98cdd21419399b6a3"
version = "v1.2.0"
[[projects]]
name = "github.com/shopspring/decimal"
packages = ["."]
revision = "69b3a8ad1f5f2c8bd855cb6506d18593064a346b"
version = "1.0.1"
[[projects]]
name = "github.com/spf13/afero"
packages = [
".",
"mem"
]
revision = "787d034dfe70e44075ccc060d346146ef53270ad"
version = "v1.1.1"
[[projects]]
name = "github.com/spf13/cast"
packages = ["."]
revision = "8965335b8c7107321228e3e3702cab9832751bac"
version = "v1.2.0"
[[projects]]
name = "github.com/spf13/cobra"
packages = ["."]
revision = "ef82de70bb3f60c65fb8eebacbb2d122ef517385"
version = "v0.0.3"
[[projects]]
branch = "master"
name = "github.com/spf13/jwalterweatherman"
packages = ["."]
revision = "7c0cea34c8ece3fbeb2b27ab9b59511d360fb394"
[[projects]]
name = "github.com/spf13/pflag"
packages = ["."]
revision = "583c0c0531f06d5278b7d917446061adc344b5cd"
version = "v1.0.1"
[[projects]]
name = "github.com/spf13/viper"
packages = ["."]
revision = "b5e8006cbee93ec955a89ab31e0e3ce3204f3736"
version = "v1.0.2"
[[projects]]
branch = "master"
name = "golang.org/x/crypto"
packages = [
"pkcs12",
"pkcs12/internal/rc2"
]
revision = "a49355c7e3f8fe157a85be2f77e6e269a0f89602"
[[projects]]
branch = "master"
name = "golang.org/x/sys"
packages = ["unix"]
revision = "7138fd3d9dc8335c567ca206f4333fb75eb05d56"
[[projects]]
name = "golang.org/x/text"
packages = [
"internal/gen",
"internal/triegen",
"internal/ucd",
"transform",
"unicode/cldr",
"unicode/norm"
]
revision = "f21a4dfb5e38f5895301dc265a8def02365cc3d0"
version = "v0.3.0"
[[projects]]
branch = "master"
name = "golang.org/x/tools"
packages = [
"go/ast/astutil",
"imports",
"internal/fastwalk"
]
revision = "ffe88906718454e356e61776b54256e873fc133b"
[[projects]]
branch = "v1"
name = "gopkg.in/check.v1"
packages = ["."]
revision = "788fd78401277ebd861206a03c884797c6ec5541"
[[projects]]
name = "gopkg.in/yaml.v2"
packages = ["."]
revision = "5420a8b6744d3b0345ab293f6fcba19c978f1183"
version = "v2.2.1"
[solve-meta]
analyzer-name = "dep"
analyzer-version = 1
inputs-digest = "f4bfed9d1dcc4af2e0ff5811bb14dfebe84f87e7aed10199b8ff8d867d947612"
solver-name = "gps-cdcl"
solver-version = 1

View File

@@ -1,69 +0,0 @@
# 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 = "10.12.0"
[[constraint]]
branch = "master"
name = "github.com/dnaeon/go-vcr"
[[constraint]]
branch = "master"
name = "github.com/globalsign/mgo"
[[constraint]]
name = "github.com/marstr/collection"
version = "0.3.3"
[[constraint]]
branch = "master"
name = "github.com/marstr/goalias"
[[constraint]]
name = "github.com/marstr/guid"
version = "1.1.0"
[[constraint]]
branch = "master"
name = "github.com/marstr/randname"
[[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"

View File

@@ -1,202 +0,0 @@
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.

View File

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

View File

@@ -1,374 +0,0 @@
# 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 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].
## 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).
## 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.
[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.
All avilable 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 2017-03-09 profile is the only one currently available and is for use in
hybrid Azure and Azure Stack environments. More profiles are under development.
In addition to versioned profiles, we also provide two special profiles
`latest` and `preview`. These _always_ include the most recent respective stable or
preview API versions for each service, even when updating them to do so causes
breaking changes. That is, these do _not_ adhere to semantic versioning rules.
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"
```
## Inspecting and Debugging
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
})
}
}
```
# 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

View File

@@ -1,26 +0,0 @@
/*
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

@@ -1,96 +0,0 @@
# 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

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

View File

@@ -1,436 +0,0 @@
// +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 original "github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2016-03-30/compute"
type AvailabilitySetsClient = original.AvailabilitySetsClient
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
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 AdditionalUnattendContent = original.AdditionalUnattendContent
type APIEntityReference = original.APIEntityReference
type APIError = original.APIError
type APIErrorBase = original.APIErrorBase
type AvailabilitySet = original.AvailabilitySet
type AvailabilitySetListResult = original.AvailabilitySetListResult
type AvailabilitySetProperties = original.AvailabilitySetProperties
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 OperationStatusResponse = original.OperationStatusResponse
type OSDisk = original.OSDisk
type OSDiskImage = original.OSDiskImage
type OSProfile = original.OSProfile
type Plan = original.Plan
type PurchasePlan = original.PurchasePlan
type Resource = original.Resource
type Sku = original.Sku
type SSHConfiguration = original.SSHConfiguration
type SSHPublicKey = original.SSHPublicKey
type StorageProfile = original.StorageProfile
type SubResource = original.SubResource
type UpdateResource = original.UpdateResource
type UpgradePolicy = original.UpgradePolicy
type Usage = original.Usage
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 VirtualMachineExtensionInstanceView = original.VirtualMachineExtensionInstanceView
type VirtualMachineExtensionProperties = original.VirtualMachineExtensionProperties
type VirtualMachineExtensionsCreateOrUpdateFuture = original.VirtualMachineExtensionsCreateOrUpdateFuture
type VirtualMachineExtensionsDeleteFuture = original.VirtualMachineExtensionsDeleteFuture
type VirtualMachineExtensionsListResult = original.VirtualMachineExtensionsListResult
type VirtualMachineExtensionsUpdateFuture = original.VirtualMachineExtensionsUpdateFuture
type VirtualMachineExtensionUpdate = original.VirtualMachineExtensionUpdate
type VirtualMachineExtensionUpdateProperties = original.VirtualMachineExtensionUpdateProperties
type VirtualMachineIdentity = original.VirtualMachineIdentity
type VirtualMachineImage = original.VirtualMachineImage
type VirtualMachineImageProperties = original.VirtualMachineImageProperties
type VirtualMachineImageResource = original.VirtualMachineImageResource
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 VirtualMachineScaleSetIdentity = original.VirtualMachineScaleSetIdentity
type VirtualMachineScaleSetInstanceView = original.VirtualMachineScaleSetInstanceView
type VirtualMachineScaleSetInstanceViewStatusesSummary = original.VirtualMachineScaleSetInstanceViewStatusesSummary
type VirtualMachineScaleSetIPConfiguration = original.VirtualMachineScaleSetIPConfiguration
type VirtualMachineScaleSetIPConfigurationProperties = original.VirtualMachineScaleSetIPConfigurationProperties
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 VirtualMachineScaleSetsCreateOrUpdateFuture = original.VirtualMachineScaleSetsCreateOrUpdateFuture
type VirtualMachineScaleSetsDeallocateFuture = original.VirtualMachineScaleSetsDeallocateFuture
type VirtualMachineScaleSetsDeleteFuture = original.VirtualMachineScaleSetsDeleteFuture
type VirtualMachineScaleSetsDeleteInstancesFuture = original.VirtualMachineScaleSetsDeleteInstancesFuture
type VirtualMachineScaleSetSku = original.VirtualMachineScaleSetSku
type VirtualMachineScaleSetSkuCapacity = original.VirtualMachineScaleSetSkuCapacity
type VirtualMachineScaleSetsPowerOffFuture = original.VirtualMachineScaleSetsPowerOffFuture
type VirtualMachineScaleSetsReimageFuture = original.VirtualMachineScaleSetsReimageFuture
type VirtualMachineScaleSetsRestartFuture = original.VirtualMachineScaleSetsRestartFuture
type VirtualMachineScaleSetsStartFuture = original.VirtualMachineScaleSetsStartFuture
type VirtualMachineScaleSetStorageProfile = original.VirtualMachineScaleSetStorageProfile
type VirtualMachineScaleSetsUpdateInstancesFuture = original.VirtualMachineScaleSetsUpdateInstancesFuture
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 VirtualMachineScaleSetVMsDeallocateFuture = original.VirtualMachineScaleSetVMsDeallocateFuture
type VirtualMachineScaleSetVMsDeleteFuture = original.VirtualMachineScaleSetVMsDeleteFuture
type VirtualMachineScaleSetVMsPowerOffFuture = original.VirtualMachineScaleSetVMsPowerOffFuture
type VirtualMachineScaleSetVMsReimageFuture = original.VirtualMachineScaleSetVMsReimageFuture
type VirtualMachineScaleSetVMsRestartFuture = original.VirtualMachineScaleSetVMsRestartFuture
type VirtualMachineScaleSetVMsStartFuture = original.VirtualMachineScaleSetVMsStartFuture
type VirtualMachinesCaptureFuture = original.VirtualMachinesCaptureFuture
type VirtualMachinesCreateOrUpdateFuture = original.VirtualMachinesCreateOrUpdateFuture
type VirtualMachinesDeallocateFuture = original.VirtualMachinesDeallocateFuture
type VirtualMachinesDeleteFuture = original.VirtualMachinesDeleteFuture
type VirtualMachineSize = original.VirtualMachineSize
type VirtualMachineSizeListResult = original.VirtualMachineSizeListResult
type VirtualMachinesPowerOffFuture = original.VirtualMachinesPowerOffFuture
type VirtualMachinesRedeployFuture = original.VirtualMachinesRedeployFuture
type VirtualMachinesRestartFuture = original.VirtualMachinesRestartFuture
type VirtualMachinesStartFuture = original.VirtualMachinesStartFuture
type VirtualMachineStatusCodeCount = original.VirtualMachineStatusCodeCount
type WindowsConfiguration = original.WindowsConfiguration
type WinRMConfiguration = original.WinRMConfiguration
type WinRMListener = original.WinRMListener
type UsageClient = original.UsageClient
type VirtualMachineExtensionImagesClient = original.VirtualMachineExtensionImagesClient
type VirtualMachineExtensionsClient = original.VirtualMachineExtensionsClient
type VirtualMachineImagesClient = original.VirtualMachineImagesClient
type VirtualMachinesClient = original.VirtualMachinesClient
type VirtualMachineScaleSetsClient = original.VirtualMachineScaleSetsClient
type VirtualMachineScaleSetVMsClient = original.VirtualMachineScaleSetVMsClient
type VirtualMachineSizesClient = original.VirtualMachineSizesClient
func NewAvailabilitySetsClient(subscriptionID string) AvailabilitySetsClient {
return original.NewAvailabilitySetsClient(subscriptionID)
}
func NewAvailabilitySetsClientWithBaseURI(baseURI string, subscriptionID string) AvailabilitySetsClient {
return original.NewAvailabilitySetsClientWithBaseURI(baseURI, subscriptionID)
}
func New(subscriptionID string) BaseClient {
return original.New(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 NewUsageClient(subscriptionID string) UsageClient {
return original.NewUsageClient(subscriptionID)
}
func NewUsageClientWithBaseURI(baseURI string, subscriptionID string) UsageClient {
return original.NewUsageClientWithBaseURI(baseURI, subscriptionID)
}
func UserAgent() string {
return original.UserAgent() + " profiles/2017-03-09"
}
func Version() string {
return original.Version()
}
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 NewVirtualMachinesClient(subscriptionID string) VirtualMachinesClient {
return original.NewVirtualMachinesClient(subscriptionID)
}
func NewVirtualMachinesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachinesClient {
return original.NewVirtualMachinesClientWithBaseURI(baseURI, subscriptionID)
}
func NewVirtualMachineScaleSetsClient(subscriptionID string) VirtualMachineScaleSetsClient {
return original.NewVirtualMachineScaleSetsClient(subscriptionID)
}
func NewVirtualMachineScaleSetsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineScaleSetsClient {
return original.NewVirtualMachineScaleSetsClientWithBaseURI(baseURI, subscriptionID)
}
func NewVirtualMachineScaleSetVMsClient(subscriptionID string) VirtualMachineScaleSetVMsClient {
return original.NewVirtualMachineScaleSetVMsClient(subscriptionID)
}
func NewVirtualMachineScaleSetVMsClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineScaleSetVMsClient {
return original.NewVirtualMachineScaleSetVMsClientWithBaseURI(baseURI, subscriptionID)
}
func NewVirtualMachineSizesClient(subscriptionID string) VirtualMachineSizesClient {
return original.NewVirtualMachineSizesClient(subscriptionID)
}
func NewVirtualMachineSizesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineSizesClient {
return original.NewVirtualMachineSizesClientWithBaseURI(baseURI, subscriptionID)
}

View File

@@ -1,11 +0,0 @@
github.com/Azure/azure-sdk-for-go/services/storage/mgmt/2016-01-01/storage
github.com/Azure/azure-sdk-for-go/services/network/mgmt/2015-06-15/network
github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2016-03-30/compute
github.com/Azure/azure-sdk-for-go/services/keyvault/2016-10-01/keyvault
github.com/Azure/azure-sdk-for-go/services/keyvault/mgmt/2016-10-01/keyvault
github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2015-12-01/features
github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-09-01/links
github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2015-01-01/locks
github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2015-10-01-preview/policy
github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-02-01/resources
github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-06-01/subscriptions

View File

@@ -1,17 +0,0 @@
// 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.txt --name 2017-03-09 --verbose

View File

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

@@ -1,213 +0,0 @@
// +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 original "github.com/Azure/azure-sdk-for-go/services/keyvault/mgmt/2016-10-01/keyvault"
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
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 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 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 VaultsPurgeDeletedFuture = original.VaultsPurgeDeletedFuture
type OperationsClient = original.OperationsClient
type VaultsClient = original.VaultsClient
func New(subscriptionID string) BaseClient {
return original.New(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 NewOperationsClient(subscriptionID string) OperationsClient {
return original.NewOperationsClient(subscriptionID)
}
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewVaultsClient(subscriptionID string) VaultsClient {
return original.NewVaultsClient(subscriptionID)
}
func NewVaultsClientWithBaseURI(baseURI string, subscriptionID string) VaultsClient {
return original.NewVaultsClientWithBaseURI(baseURI, subscriptionID)
}
func UserAgent() string {
return original.UserAgent() + " profiles/2017-03-09"
}
func Version() string {
return original.Version()
}

View File

@@ -1,686 +0,0 @@
// +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 original "github.com/Azure/azure-sdk-for-go/services/network/mgmt/2015-06-15/network"
type ApplicationGatewaysClient = original.ApplicationGatewaysClient
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type ExpressRouteCircuitAuthorizationsClient = original.ExpressRouteCircuitAuthorizationsClient
type ExpressRouteCircuitPeeringsClient = original.ExpressRouteCircuitPeeringsClient
type ExpressRouteCircuitsClient = original.ExpressRouteCircuitsClient
type ExpressRouteServiceProvidersClient = original.ExpressRouteServiceProvidersClient
type InterfacesClient = original.InterfacesClient
type LoadBalancersClient = original.LoadBalancersClient
type LocalNetworkGatewaysClient = original.LocalNetworkGatewaysClient
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 ApplicationGatewaysCreateOrUpdateFuture = original.ApplicationGatewaysCreateOrUpdateFuture
type ApplicationGatewaysDeleteFuture = original.ApplicationGatewaysDeleteFuture
type ApplicationGatewaySku = original.ApplicationGatewaySku
type ApplicationGatewaySslCertificate = original.ApplicationGatewaySslCertificate
type ApplicationGatewaySslCertificatePropertiesFormat = original.ApplicationGatewaySslCertificatePropertiesFormat
type ApplicationGatewaysStartFuture = original.ApplicationGatewaysStartFuture
type ApplicationGatewaysStopFuture = original.ApplicationGatewaysStopFuture
type ApplicationGatewayURLPathMap = original.ApplicationGatewayURLPathMap
type ApplicationGatewayURLPathMapPropertiesFormat = original.ApplicationGatewayURLPathMapPropertiesFormat
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 BgpSettings = original.BgpSettings
type ConnectionResetSharedKey = original.ConnectionResetSharedKey
type ConnectionSharedKey = original.ConnectionSharedKey
type ConnectionSharedKeyResult = original.ConnectionSharedKeyResult
type DhcpOptions = original.DhcpOptions
type DNSNameAvailabilityResult = original.DNSNameAvailabilityResult
type Error = original.Error
type ErrorDetails = original.ErrorDetails
type ExpressRouteCircuit = original.ExpressRouteCircuit
type ExpressRouteCircuitArpTable = original.ExpressRouteCircuitArpTable
type ExpressRouteCircuitAuthorization = original.ExpressRouteCircuitAuthorization
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 ExpressRouteCircuitPeeringsCreateOrUpdateFuture = original.ExpressRouteCircuitPeeringsCreateOrUpdateFuture
type ExpressRouteCircuitPeeringsDeleteFuture = original.ExpressRouteCircuitPeeringsDeleteFuture
type ExpressRouteCircuitPropertiesFormat = original.ExpressRouteCircuitPropertiesFormat
type ExpressRouteCircuitRoutesTable = original.ExpressRouteCircuitRoutesTable
type ExpressRouteCircuitsArpTableListResult = original.ExpressRouteCircuitsArpTableListResult
type ExpressRouteCircuitsArpTableListResultIterator = original.ExpressRouteCircuitsArpTableListResultIterator
type ExpressRouteCircuitsArpTableListResultPage = original.ExpressRouteCircuitsArpTableListResultPage
type ExpressRouteCircuitsCreateOrUpdateFuture = original.ExpressRouteCircuitsCreateOrUpdateFuture
type ExpressRouteCircuitsDeleteFuture = original.ExpressRouteCircuitsDeleteFuture
type ExpressRouteCircuitServiceProviderProperties = original.ExpressRouteCircuitServiceProviderProperties
type ExpressRouteCircuitSku = original.ExpressRouteCircuitSku
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 ExpressRouteCircuitStats = original.ExpressRouteCircuitStats
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 FrontendIPConfiguration = original.FrontendIPConfiguration
type FrontendIPConfigurationPropertiesFormat = original.FrontendIPConfigurationPropertiesFormat
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 InterfacesCreateOrUpdateFuture = original.InterfacesCreateOrUpdateFuture
type InterfacesDeleteFuture = original.InterfacesDeleteFuture
type IPConfiguration = original.IPConfiguration
type IPConfigurationPropertiesFormat = original.IPConfigurationPropertiesFormat
type LoadBalancer = original.LoadBalancer
type LoadBalancerListResult = original.LoadBalancerListResult
type LoadBalancerListResultIterator = original.LoadBalancerListResultIterator
type LoadBalancerListResultPage = original.LoadBalancerListResultPage
type LoadBalancerPropertiesFormat = original.LoadBalancerPropertiesFormat
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 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 PublicIPAddressesCreateOrUpdateFuture = original.PublicIPAddressesCreateOrUpdateFuture
type PublicIPAddressesDeleteFuture = original.PublicIPAddressesDeleteFuture
type PublicIPAddressListResult = original.PublicIPAddressListResult
type PublicIPAddressListResultIterator = original.PublicIPAddressListResultIterator
type PublicIPAddressListResultPage = original.PublicIPAddressListResultPage
type PublicIPAddressPropertiesFormat = original.PublicIPAddressPropertiesFormat
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 RoutesCreateOrUpdateFuture = original.RoutesCreateOrUpdateFuture
type RoutesDeleteFuture = original.RoutesDeleteFuture
type RouteTable = original.RouteTable
type RouteTableListResult = original.RouteTableListResult
type RouteTableListResultIterator = original.RouteTableListResultIterator
type RouteTableListResultPage = original.RouteTableListResultPage
type RouteTablePropertiesFormat = original.RouteTablePropertiesFormat
type RouteTablesCreateOrUpdateFuture = original.RouteTablesCreateOrUpdateFuture
type RouteTablesDeleteFuture = original.RouteTablesDeleteFuture
type SecurityGroup = original.SecurityGroup
type SecurityGroupListResult = original.SecurityGroupListResult
type SecurityGroupListResultIterator = original.SecurityGroupListResultIterator
type SecurityGroupListResultPage = original.SecurityGroupListResultPage
type SecurityGroupPropertiesFormat = original.SecurityGroupPropertiesFormat
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 SecurityRulesCreateOrUpdateFuture = original.SecurityRulesCreateOrUpdateFuture
type SecurityRulesDeleteFuture = original.SecurityRulesDeleteFuture
type String = original.String
type Subnet = original.Subnet
type SubnetListResult = original.SubnetListResult
type SubnetListResultIterator = original.SubnetListResultIterator
type SubnetListResultPage = original.SubnetListResultPage
type SubnetPropertiesFormat = original.SubnetPropertiesFormat
type SubnetsCreateOrUpdateFuture = original.SubnetsCreateOrUpdateFuture
type SubnetsDeleteFuture = original.SubnetsDeleteFuture
type SubResource = original.SubResource
type Usage = original.Usage
type UsageName = original.UsageName
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 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 VirtualNetworkGatewaysCreateOrUpdateFuture = original.VirtualNetworkGatewaysCreateOrUpdateFuture
type VirtualNetworkGatewaysDeleteFuture = original.VirtualNetworkGatewaysDeleteFuture
type VirtualNetworkGatewaySku = original.VirtualNetworkGatewaySku
type VirtualNetworkGatewaysResetFuture = original.VirtualNetworkGatewaysResetFuture
type VirtualNetworkListResult = original.VirtualNetworkListResult
type VirtualNetworkListResultIterator = original.VirtualNetworkListResultIterator
type VirtualNetworkListResultPage = original.VirtualNetworkListResultPage
type VirtualNetworkPropertiesFormat = original.VirtualNetworkPropertiesFormat
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
type PublicIPAddressesClient = original.PublicIPAddressesClient
type RoutesClient = original.RoutesClient
type RouteTablesClient = original.RouteTablesClient
type SecurityGroupsClient = original.SecurityGroupsClient
type SecurityRulesClient = original.SecurityRulesClient
type SubnetsClient = original.SubnetsClient
type UsagesClient = original.UsagesClient
type VirtualNetworkGatewayConnectionsClient = original.VirtualNetworkGatewayConnectionsClient
type VirtualNetworkGatewaysClient = original.VirtualNetworkGatewaysClient
type VirtualNetworksClient = original.VirtualNetworksClient
func NewApplicationGatewaysClient(subscriptionID string) ApplicationGatewaysClient {
return original.NewApplicationGatewaysClient(subscriptionID)
}
func NewApplicationGatewaysClientWithBaseURI(baseURI string, subscriptionID string) ApplicationGatewaysClient {
return original.NewApplicationGatewaysClientWithBaseURI(baseURI, subscriptionID)
}
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func NewExpressRouteCircuitAuthorizationsClient(subscriptionID string) ExpressRouteCircuitAuthorizationsClient {
return original.NewExpressRouteCircuitAuthorizationsClient(subscriptionID)
}
func NewExpressRouteCircuitAuthorizationsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteCircuitAuthorizationsClient {
return original.NewExpressRouteCircuitAuthorizationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewExpressRouteCircuitPeeringsClient(subscriptionID string) ExpressRouteCircuitPeeringsClient {
return original.NewExpressRouteCircuitPeeringsClient(subscriptionID)
}
func NewExpressRouteCircuitPeeringsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteCircuitPeeringsClient {
return original.NewExpressRouteCircuitPeeringsClientWithBaseURI(baseURI, subscriptionID)
}
func NewExpressRouteCircuitsClient(subscriptionID string) ExpressRouteCircuitsClient {
return original.NewExpressRouteCircuitsClient(subscriptionID)
}
func NewExpressRouteCircuitsClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteCircuitsClient {
return original.NewExpressRouteCircuitsClientWithBaseURI(baseURI, subscriptionID)
}
func NewExpressRouteServiceProvidersClient(subscriptionID string) ExpressRouteServiceProvidersClient {
return original.NewExpressRouteServiceProvidersClient(subscriptionID)
}
func NewExpressRouteServiceProvidersClientWithBaseURI(baseURI string, subscriptionID string) ExpressRouteServiceProvidersClient {
return original.NewExpressRouteServiceProvidersClientWithBaseURI(baseURI, subscriptionID)
}
func NewInterfacesClient(subscriptionID string) InterfacesClient {
return original.NewInterfacesClient(subscriptionID)
}
func NewInterfacesClientWithBaseURI(baseURI string, subscriptionID string) InterfacesClient {
return original.NewInterfacesClientWithBaseURI(baseURI, subscriptionID)
}
func NewLoadBalancersClient(subscriptionID string) LoadBalancersClient {
return original.NewLoadBalancersClient(subscriptionID)
}
func NewLoadBalancersClientWithBaseURI(baseURI string, subscriptionID string) LoadBalancersClient {
return original.NewLoadBalancersClientWithBaseURI(baseURI, subscriptionID)
}
func NewLocalNetworkGatewaysClient(subscriptionID string) LocalNetworkGatewaysClient {
return original.NewLocalNetworkGatewaysClient(subscriptionID)
}
func NewLocalNetworkGatewaysClientWithBaseURI(baseURI string, subscriptionID string) LocalNetworkGatewaysClient {
return original.NewLocalNetworkGatewaysClientWithBaseURI(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 NewPublicIPAddressesClient(subscriptionID string) PublicIPAddressesClient {
return original.NewPublicIPAddressesClient(subscriptionID)
}
func NewPublicIPAddressesClientWithBaseURI(baseURI string, subscriptionID string) PublicIPAddressesClient {
return original.NewPublicIPAddressesClientWithBaseURI(baseURI, subscriptionID)
}
func NewRoutesClient(subscriptionID string) RoutesClient {
return original.NewRoutesClient(subscriptionID)
}
func NewRoutesClientWithBaseURI(baseURI string, subscriptionID string) RoutesClient {
return original.NewRoutesClientWithBaseURI(baseURI, subscriptionID)
}
func NewRouteTablesClient(subscriptionID string) RouteTablesClient {
return original.NewRouteTablesClient(subscriptionID)
}
func NewRouteTablesClientWithBaseURI(baseURI string, subscriptionID string) RouteTablesClient {
return original.NewRouteTablesClientWithBaseURI(baseURI, subscriptionID)
}
func NewSecurityGroupsClient(subscriptionID string) SecurityGroupsClient {
return original.NewSecurityGroupsClient(subscriptionID)
}
func NewSecurityGroupsClientWithBaseURI(baseURI string, subscriptionID string) SecurityGroupsClient {
return original.NewSecurityGroupsClientWithBaseURI(baseURI, subscriptionID)
}
func NewSecurityRulesClient(subscriptionID string) SecurityRulesClient {
return original.NewSecurityRulesClient(subscriptionID)
}
func NewSecurityRulesClientWithBaseURI(baseURI string, subscriptionID string) SecurityRulesClient {
return original.NewSecurityRulesClientWithBaseURI(baseURI, subscriptionID)
}
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 UserAgent() string {
return original.UserAgent() + " profiles/2017-03-09"
}
func Version() string {
return original.Version()
}
func NewVirtualNetworkGatewayConnectionsClient(subscriptionID string) VirtualNetworkGatewayConnectionsClient {
return original.NewVirtualNetworkGatewayConnectionsClient(subscriptionID)
}
func NewVirtualNetworkGatewayConnectionsClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkGatewayConnectionsClient {
return original.NewVirtualNetworkGatewayConnectionsClientWithBaseURI(baseURI, subscriptionID)
}
func NewVirtualNetworkGatewaysClient(subscriptionID string) VirtualNetworkGatewaysClient {
return original.NewVirtualNetworkGatewaysClient(subscriptionID)
}
func NewVirtualNetworkGatewaysClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkGatewaysClient {
return original.NewVirtualNetworkGatewaysClientWithBaseURI(baseURI, subscriptionID)
}
func NewVirtualNetworksClient(subscriptionID string) VirtualNetworksClient {
return original.NewVirtualNetworksClient(subscriptionID)
}
func NewVirtualNetworksClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworksClient {
return original.NewVirtualNetworksClientWithBaseURI(baseURI, subscriptionID)
}

View File

@@ -1,53 +0,0 @@
// +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 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 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 NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func NewClient(subscriptionID string) Client {
return original.NewClient(subscriptionID)
}
func NewClientWithBaseURI(baseURI string, subscriptionID string) Client {
return original.NewClientWithBaseURI(baseURI, subscriptionID)
}
func UserAgent() string {
return original.UserAgent() + " profiles/2017-03-09"
}
func Version() string {
return original.Version()
}

View File

@@ -1,63 +0,0 @@
// +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 original "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-09-01/links"
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type Filter = original.Filter
const (
AtScope Filter = original.AtScope
)
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 NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func PossibleFilterValues() []Filter {
return original.PossibleFilterValues()
}
func NewResourceLinksClient(subscriptionID string) ResourceLinksClient {
return original.NewResourceLinksClient(subscriptionID)
}
func NewResourceLinksClientWithBaseURI(baseURI string, subscriptionID string) ResourceLinksClient {
return original.NewResourceLinksClientWithBaseURI(baseURI, subscriptionID)
}
func UserAgent() string {
return original.UserAgent() + " profiles/2017-03-09"
}
func Version() string {
return original.Version()
}

View File

@@ -1,64 +0,0 @@
// +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 original "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2015-01-01/locks"
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type ManagementLocksClient = original.ManagementLocksClient
type LockLevel = original.LockLevel
const (
CanNotDelete LockLevel = original.CanNotDelete
NotSpecified LockLevel = original.NotSpecified
ReadOnly LockLevel = original.ReadOnly
)
type ManagementLockListResult = original.ManagementLockListResult
type ManagementLockListResultIterator = original.ManagementLockListResultIterator
type ManagementLockListResultPage = original.ManagementLockListResultPage
type ManagementLockObject = original.ManagementLockObject
type ManagementLockProperties = original.ManagementLockProperties
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func NewManagementLocksClient(subscriptionID string) ManagementLocksClient {
return original.NewManagementLocksClient(subscriptionID)
}
func NewManagementLocksClientWithBaseURI(baseURI string, subscriptionID string) ManagementLocksClient {
return original.NewManagementLocksClientWithBaseURI(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

@@ -1,77 +0,0 @@
// +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"
type AssignmentsClient = original.AssignmentsClient
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type DefinitionsClient = original.DefinitionsClient
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 Definition = original.Definition
type DefinitionListResult = original.DefinitionListResult
type DefinitionListResultIterator = original.DefinitionListResultIterator
type DefinitionListResultPage = original.DefinitionListResultPage
type DefinitionProperties = original.DefinitionProperties
func NewAssignmentsClient(subscriptionID string) AssignmentsClient {
return original.NewAssignmentsClient(subscriptionID)
}
func NewAssignmentsClientWithBaseURI(baseURI string, subscriptionID string) AssignmentsClient {
return original.NewAssignmentsClientWithBaseURI(baseURI, subscriptionID)
}
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func NewDefinitionsClient(subscriptionID string) DefinitionsClient {
return original.NewDefinitionsClient(subscriptionID)
}
func NewDefinitionsClientWithBaseURI(baseURI string, subscriptionID string) DefinitionsClient {
return original.NewDefinitionsClientWithBaseURI(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

@@ -1,163 +0,0 @@
// +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 original "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-02-01/resources"
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type DeploymentOperationsClient = original.DeploymentOperationsClient
type DeploymentsClient = original.DeploymentsClient
type GroupsClient = original.GroupsClient
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 BasicDependency = original.BasicDependency
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 DeploymentOperationsListResult = original.DeploymentOperationsListResult
type DeploymentOperationsListResultIterator = original.DeploymentOperationsListResultIterator
type DeploymentOperationsListResultPage = original.DeploymentOperationsListResultPage
type DeploymentProperties = original.DeploymentProperties
type DeploymentPropertiesExtended = original.DeploymentPropertiesExtended
type DeploymentsCreateOrUpdateFuture = original.DeploymentsCreateOrUpdateFuture
type DeploymentsDeleteFuture = original.DeploymentsDeleteFuture
type DeploymentValidateResult = original.DeploymentValidateResult
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 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 Resource = original.Resource
type Sku = original.Sku
type SubResource = original.SubResource
type TagCount = original.TagCount
type TagDetails = original.TagDetails
type TagsListResult = original.TagsListResult
type TagsListResultIterator = original.TagsListResultIterator
type TagsListResultPage = original.TagsListResultPage
type TagValue = original.TagValue
type TargetResource = original.TargetResource
type TemplateLink = original.TemplateLink
type UpdateFuture = original.UpdateFuture
type ProvidersClient = original.ProvidersClient
type Client = original.Client
type TagsClient = original.TagsClient
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func NewDeploymentOperationsClient(subscriptionID string) DeploymentOperationsClient {
return original.NewDeploymentOperationsClient(subscriptionID)
}
func NewDeploymentOperationsClientWithBaseURI(baseURI string, subscriptionID string) DeploymentOperationsClient {
return original.NewDeploymentOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewDeploymentsClient(subscriptionID string) DeploymentsClient {
return original.NewDeploymentsClient(subscriptionID)
}
func NewDeploymentsClientWithBaseURI(baseURI string, subscriptionID string) DeploymentsClient {
return original.NewDeploymentsClientWithBaseURI(baseURI, subscriptionID)
}
func NewGroupsClient(subscriptionID string) GroupsClient {
return original.NewGroupsClient(subscriptionID)
}
func NewGroupsClientWithBaseURI(baseURI string, subscriptionID string) GroupsClient {
return original.NewGroupsClientWithBaseURI(baseURI, subscriptionID)
}
func PossibleDeploymentModeValues() []DeploymentMode {
return original.PossibleDeploymentModeValues()
}
func PossibleResourceIdentityTypeValues() []ResourceIdentityType {
return original.PossibleResourceIdentityTypeValues()
}
func NewProvidersClient(subscriptionID string) ProvidersClient {
return original.NewProvidersClient(subscriptionID)
}
func NewProvidersClientWithBaseURI(baseURI string, subscriptionID string) ProvidersClient {
return original.NewProvidersClientWithBaseURI(baseURI, subscriptionID)
}
func NewClient(subscriptionID string) Client {
return original.NewClient(subscriptionID)
}
func NewClientWithBaseURI(baseURI string, subscriptionID string) Client {
return original.NewClientWithBaseURI(baseURI, subscriptionID)
}
func NewTagsClient(subscriptionID string) TagsClient {
return original.NewTagsClient(subscriptionID)
}
func NewTagsClientWithBaseURI(baseURI string, subscriptionID string) TagsClient {
return original.NewTagsClientWithBaseURI(baseURI, subscriptionID)
}
func UserAgent() string {
return original.UserAgent() + " profiles/2017-03-09"
}
func Version() string {
return original.Version()
}

View File

@@ -1,90 +0,0 @@
// +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 original "github.com/Azure/azure-sdk-for-go/services/resources/mgmt/2016-06-01/subscriptions"
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
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 ListResult = original.ListResult
type ListResultIterator = original.ListResultIterator
type ListResultPage = original.ListResultPage
type Location = original.Location
type LocationListResult = original.LocationListResult
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 Client = original.Client
type TenantsClient = original.TenantsClient
func New() BaseClient {
return original.New()
}
func NewWithBaseURI(baseURI string) BaseClient {
return original.NewWithBaseURI(baseURI)
}
func PossibleSpendingLimitValues() []SpendingLimit {
return original.PossibleSpendingLimitValues()
}
func PossibleStateValues() []State {
return original.PossibleStateValues()
}
func NewClient() Client {
return original.NewClient()
}
func NewClientWithBaseURI(baseURI string) Client {
return original.NewClientWithBaseURI(baseURI)
}
func NewTenantsClient() TenantsClient {
return original.NewTenantsClient()
}
func NewTenantsClientWithBaseURI(baseURI string) TenantsClient {
return original.NewTenantsClientWithBaseURI(baseURI)
}
func UserAgent() string {
return original.UserAgent() + " profiles/2017-03-09"
}
func Version() string {
return original.Version()
}

View File

@@ -1,177 +0,0 @@
// +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"
type AccountsClient = original.AccountsClient
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
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 AccountsCreateFuture = original.AccountsCreateFuture
type AccountUpdateParameters = original.AccountUpdateParameters
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 UsageListResult = original.UsageListResult
type UsageName = original.UsageName
type UsageClient = original.UsageClient
func NewAccountsClient(subscriptionID string) AccountsClient {
return original.NewAccountsClient(subscriptionID)
}
func NewAccountsClientWithBaseURI(baseURI string, subscriptionID string) AccountsClient {
return original.NewAccountsClientWithBaseURI(baseURI, subscriptionID)
}
func New(subscriptionID string) BaseClient {
return original.New(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 NewUsageClient(subscriptionID string) UsageClient {
return original.NewUsageClient(subscriptionID)
}
func NewUsageClientWithBaseURI(baseURI string, subscriptionID string) UsageClient {
return original.NewUsageClientWithBaseURI(baseURI, subscriptionID)
}
func UserAgent() string {
return original.UserAgent() + " profiles/2017-03-09"
}
func Version() string {
return original.Version()
}

View File

@@ -1,126 +0,0 @@
// +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 original "github.com/Azure/azure-sdk-for-go/services/advisor/mgmt/2017-04-19/advisor"
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type ConfigurationsClient = original.ConfigurationsClient
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 ConfigData = original.ConfigData
type ConfigDataProperties = original.ConfigDataProperties
type ConfigurationListResult = original.ConfigurationListResult
type ConfigurationListResultIterator = original.ConfigurationListResultIterator
type ConfigurationListResultPage = original.ConfigurationListResultPage
type OperationDisplayInfo = original.OperationDisplayInfo
type OperationEntity = original.OperationEntity
type OperationEntityListResult = original.OperationEntityListResult
type OperationEntityListResultIterator = original.OperationEntityListResultIterator
type OperationEntityListResultPage = original.OperationEntityListResultPage
type RecommendationProperties = original.RecommendationProperties
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 OperationsClient = original.OperationsClient
type RecommendationsClient = original.RecommendationsClient
type SuppressionsClient = original.SuppressionsClient
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func NewConfigurationsClient(subscriptionID string) ConfigurationsClient {
return original.NewConfigurationsClient(subscriptionID)
}
func NewConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) ConfigurationsClient {
return original.NewConfigurationsClientWithBaseURI(baseURI, subscriptionID)
}
func PossibleCategoryValues() []Category {
return original.PossibleCategoryValues()
}
func PossibleImpactValues() []Impact {
return original.PossibleImpactValues()
}
func PossibleRiskValues() []Risk {
return original.PossibleRiskValues()
}
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 NewSuppressionsClient(subscriptionID string) SuppressionsClient {
return original.NewSuppressionsClient(subscriptionID)
}
func NewSuppressionsClientWithBaseURI(baseURI string, subscriptionID string) SuppressionsClient {
return original.NewSuppressionsClientWithBaseURI(baseURI, subscriptionID)
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}

View File

@@ -1,156 +0,0 @@
// +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 original "github.com/Azure/azure-sdk-for-go/services/analysisservices/mgmt/2017-08-01/analysisservices"
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
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 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 Resource = original.Resource
type ResourceSku = original.ResourceSku
type Server = original.Server
type ServerAdministrators = original.ServerAdministrators
type ServerMutableProperties = original.ServerMutableProperties
type ServerProperties = original.ServerProperties
type Servers = original.Servers
type ServersCreateFuture = original.ServersCreateFuture
type ServersDeleteFuture = original.ServersDeleteFuture
type ServersResumeFuture = original.ServersResumeFuture
type ServersSuspendFuture = original.ServersSuspendFuture
type ServersUpdateFuture = original.ServersUpdateFuture
type ServerUpdateParameters = original.ServerUpdateParameters
type SkuDetailsForExistingResource = original.SkuDetailsForExistingResource
type SkuEnumerationForExistingResourceResult = original.SkuEnumerationForExistingResourceResult
type SkuEnumerationForNewResourceResult = original.SkuEnumerationForNewResourceResult
type OperationsClient = original.OperationsClient
type ServersClient = original.ServersClient
func New(subscriptionID string) BaseClient {
return original.New(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 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 UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}

View File

@@ -1,360 +0,0 @@
// +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/mgmt/2015-05-01/insights"
type AnalyticsItemsClient = original.AnalyticsItemsClient
type AnnotationsClient = original.AnnotationsClient
type APIKeysClient = original.APIKeysClient
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type ComponentAvailableFeaturesClient = original.ComponentAvailableFeaturesClient
type ComponentCurrentBillingFeaturesClient = original.ComponentCurrentBillingFeaturesClient
type ComponentFeatureCapabilitiesClient = original.ComponentFeatureCapabilitiesClient
type ComponentQuotaStatusClient = original.ComponentQuotaStatusClient
type ComponentsClient = original.ComponentsClient
type ExportConfigurationsClient = original.ExportConfigurationsClient
type FavoritesClient = original.FavoritesClient
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 Annotation = original.Annotation
type AnnotationError = original.AnnotationError
type AnnotationsListResult = original.AnnotationsListResult
type APIKeyRequest = original.APIKeyRequest
type ApplicationInsightsComponent = original.ApplicationInsightsComponent
type ApplicationInsightsComponentAnalyticsItem = original.ApplicationInsightsComponentAnalyticsItem
type ApplicationInsightsComponentAnalyticsItemProperties = original.ApplicationInsightsComponentAnalyticsItemProperties
type ApplicationInsightsComponentAPIKey = original.ApplicationInsightsComponentAPIKey
type ApplicationInsightsComponentAPIKeyListResult = original.ApplicationInsightsComponentAPIKeyListResult
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 ComponentPurgeBody = original.ComponentPurgeBody
type ComponentPurgeBodyFilters = original.ComponentPurgeBodyFilters
type ComponentPurgeResponse = original.ComponentPurgeResponse
type ComponentPurgeStatusResponse = original.ComponentPurgeStatusResponse
type ComponentsResource = original.ComponentsResource
type ErrorFieldContract = original.ErrorFieldContract
type ErrorResponse = original.ErrorResponse
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 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 WebTestProperties = original.WebTestProperties
type WebTestPropertiesConfiguration = original.WebTestPropertiesConfiguration
type WebtestsResource = original.WebtestsResource
type Workbook = original.Workbook
type WorkbookError = original.WorkbookError
type WorkbookProperties = original.WorkbookProperties
type WorkbookResource = original.WorkbookResource
type WorkbooksListResult = original.WorkbooksListResult
type WorkItemConfiguration = original.WorkItemConfiguration
type WorkItemConfigurationError = original.WorkItemConfigurationError
type WorkItemConfigurationsListResult = original.WorkItemConfigurationsListResult
type WorkItemCreateConfiguration = original.WorkItemCreateConfiguration
type OperationsClient = original.OperationsClient
type ProactiveDetectionConfigurationsClient = original.ProactiveDetectionConfigurationsClient
type WebTestLocationsClient = original.WebTestLocationsClient
type WebTestsClient = original.WebTestsClient
type WorkbooksClient = original.WorkbooksClient
type WorkItemConfigurationsClient = original.WorkItemConfigurationsClient
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 NewAPIKeysClient(subscriptionID string) APIKeysClient {
return original.NewAPIKeysClient(subscriptionID)
}
func NewAPIKeysClientWithBaseURI(baseURI string, subscriptionID string) APIKeysClient {
return original.NewAPIKeysClientWithBaseURI(baseURI, subscriptionID)
}
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
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 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 PossibleItemScopeValues() []ItemScope {
return original.PossibleItemScopeValues()
}
func PossibleItemScopePathValues() []ItemScopePath {
return original.PossibleItemScopePathValues()
}
func PossibleItemTypeValues() []ItemType {
return original.PossibleItemTypeValues()
}
func PossibleItemTypeParameterValues() []ItemTypeParameter {
return original.PossibleItemTypeParameterValues()
}
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 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 UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}
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 NewWorkbooksClient(subscriptionID string) WorkbooksClient {
return original.NewWorkbooksClient(subscriptionID)
}
func NewWorkbooksClientWithBaseURI(baseURI string, subscriptionID string) WorkbooksClient {
return original.NewWorkbooksClientWithBaseURI(baseURI, subscriptionID)
}
func NewWorkItemConfigurationsClient(subscriptionID string) WorkItemConfigurationsClient {
return original.NewWorkItemConfigurationsClient(subscriptionID)
}
func NewWorkItemConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) WorkItemConfigurationsClient {
return original.NewWorkItemConfigurationsClientWithBaseURI(baseURI, subscriptionID)
}

View File

@@ -1,106 +0,0 @@
// +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 original "github.com/Azure/azure-sdk-for-go/services/authorization/mgmt/2015-07-01/authorization"
type ClassicAdministratorsClient = original.ClassicAdministratorsClient
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 Permission = original.Permission
type PermissionGetResult = original.PermissionGetResult
type PermissionGetResultIterator = original.PermissionGetResultIterator
type PermissionGetResultPage = original.PermissionGetResultPage
type ProviderOperation = original.ProviderOperation
type ProviderOperationsMetadata = original.ProviderOperationsMetadata
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 RoleDefinition = original.RoleDefinition
type RoleDefinitionFilter = original.RoleDefinitionFilter
type RoleDefinitionListResult = original.RoleDefinitionListResult
type RoleDefinitionListResultIterator = original.RoleDefinitionListResultIterator
type RoleDefinitionListResultPage = original.RoleDefinitionListResultPage
type RoleDefinitionProperties = original.RoleDefinitionProperties
type PermissionsClient = original.PermissionsClient
type ProviderOperationsMetadataClient = original.ProviderOperationsMetadataClient
type RoleAssignmentsClient = original.RoleAssignmentsClient
type RoleDefinitionsClient = original.RoleDefinitionsClient
func NewClassicAdministratorsClient(subscriptionID string) ClassicAdministratorsClient {
return original.NewClassicAdministratorsClient(subscriptionID)
}
func NewClassicAdministratorsClientWithBaseURI(baseURI string, subscriptionID string) ClassicAdministratorsClient {
return original.NewClassicAdministratorsClientWithBaseURI(baseURI, subscriptionID)
}
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
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 NewRoleAssignmentsClient(subscriptionID string) RoleAssignmentsClient {
return original.NewRoleAssignmentsClient(subscriptionID)
}
func NewRoleAssignmentsClientWithBaseURI(baseURI string, subscriptionID string) RoleAssignmentsClient {
return original.NewRoleAssignmentsClientWithBaseURI(baseURI, subscriptionID)
}
func NewRoleDefinitionsClient(subscriptionID string) RoleDefinitionsClient {
return original.NewRoleDefinitionsClient(subscriptionID)
}
func NewRoleDefinitionsClientWithBaseURI(baseURI string, subscriptionID string) RoleDefinitionsClient {
return original.NewRoleDefinitionsClientWithBaseURI(baseURI, subscriptionID)
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}

View File

@@ -1,749 +0,0 @@
// +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 original "github.com/Azure/azure-sdk-for-go/services/automation/mgmt/2015-10-31/automation"
type AccountClient = original.AccountClient
type ActivityClient = original.ActivityClient
type AgentRegistrationInformationClient = original.AgentRegistrationInformationClient
type CertificateClient = original.CertificateClient
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type ConnectionClient = original.ConnectionClient
type ConnectionTypeClient = original.ConnectionTypeClient
type CredentialClient = original.CredentialClient
type DscCompilationJobClient = original.DscCompilationJobClient
type DscCompilationJobStreamClient = original.DscCompilationJobStreamClient
type DscConfigurationClient = original.DscConfigurationClient
type DscNodeClient = original.DscNodeClient
type DscNodeConfigurationClient = original.DscNodeConfigurationClient
type FieldsClient = original.FieldsClient
type HybridRunbookWorkerGroupClient = original.HybridRunbookWorkerGroupClient
type JobClient = original.JobClient
type JobScheduleClient = original.JobScheduleClient
type JobStreamClient = original.JobStreamClient
type KeysClient = original.KeysClient
type LinkedWorkspaceClient = original.LinkedWorkspaceClient
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 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 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 AgentRegistrationKeys = original.AgentRegistrationKeys
type AgentRegistrationRegenerateKeyParameter = original.AgentRegistrationRegenerateKeyParameter
type Certificate = original.Certificate
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 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 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 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 DscCompilationJobCreateParameters = original.DscCompilationJobCreateParameters
type DscCompilationJobCreateProperties = original.DscCompilationJobCreateProperties
type DscCompilationJobListResult = original.DscCompilationJobListResult
type DscCompilationJobListResultIterator = original.DscCompilationJobListResultIterator
type DscCompilationJobListResultPage = original.DscCompilationJobListResultPage
type DscCompilationJobProperties = original.DscCompilationJobProperties
type DscConfiguration = original.DscConfiguration
type DscConfigurationAssociationProperty = original.DscConfigurationAssociationProperty
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 DscNodeConfiguration = original.DscNodeConfiguration
type DscNodeConfigurationAssociationProperty = original.DscNodeConfigurationAssociationProperty
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 HybridRunbookWorker = original.HybridRunbookWorker
type HybridRunbookWorkerGroup = original.HybridRunbookWorkerGroup
type HybridRunbookWorkerGroupsListResult = original.HybridRunbookWorkerGroupsListResult
type HybridRunbookWorkerGroupsListResultIterator = original.HybridRunbookWorkerGroupsListResultIterator
type HybridRunbookWorkerGroupsListResultPage = original.HybridRunbookWorkerGroupsListResultPage
type HybridRunbookWorkerGroupUpdateParameters = original.HybridRunbookWorkerGroupUpdateParameters
type Job = original.Job
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 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 JobStreamListResult = original.JobStreamListResult
type JobStreamListResultIterator = original.JobStreamListResultIterator
type JobStreamListResultPage = original.JobStreamListResultPage
type JobStreamProperties = original.JobStreamProperties
type Key = original.Key
type KeyListResult = original.KeyListResult
type LinkedWorkspace = original.LinkedWorkspace
type Module = original.Module
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 Operation = original.Operation
type OperationDisplay = original.OperationDisplay
type OperationListResult = original.OperationListResult
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 RunbookCreateOrUpdateDraftParameters = original.RunbookCreateOrUpdateDraftParameters
type RunbookCreateOrUpdateDraftProperties = original.RunbookCreateOrUpdateDraftProperties
type RunbookCreateOrUpdateParameters = original.RunbookCreateOrUpdateParameters
type RunbookCreateOrUpdateProperties = original.RunbookCreateOrUpdateProperties
type RunbookDraft = original.RunbookDraft
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 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 StatisticsListResult = original.StatisticsListResult
type String = original.String
type TestJob = original.TestJob
type TestJobCreateParameters = original.TestJobCreateParameters
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 Variable = original.Variable
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 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
type ModuleClient = original.ModuleClient
type NodeReportsClient = original.NodeReportsClient
type ObjectDataTypesClient = original.ObjectDataTypesClient
type OperationsClient = original.OperationsClient
type RunbookClient = original.RunbookClient
type RunbookDraftClient = original.RunbookDraftClient
type ScheduleClient = original.ScheduleClient
type StatisticsClient = original.StatisticsClient
type TestJobClient = original.TestJobClient
type TestJobStreamsClient = original.TestJobStreamsClient
type UsagesClient = original.UsagesClient
type VariableClient = original.VariableClient
type WebhookClient = original.WebhookClient
func NewAccountClient(subscriptionID string) AccountClient {
return original.NewAccountClient(subscriptionID)
}
func NewAccountClientWithBaseURI(baseURI string, subscriptionID string) AccountClient {
return original.NewAccountClientWithBaseURI(baseURI, subscriptionID)
}
func NewActivityClient(subscriptionID string) ActivityClient {
return original.NewActivityClient(subscriptionID)
}
func NewActivityClientWithBaseURI(baseURI string, subscriptionID string) ActivityClient {
return original.NewActivityClientWithBaseURI(baseURI, subscriptionID)
}
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 New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func NewConnectionClient(subscriptionID string) ConnectionClient {
return original.NewConnectionClient(subscriptionID)
}
func NewConnectionClientWithBaseURI(baseURI string, subscriptionID string) ConnectionClient {
return original.NewConnectionClientWithBaseURI(baseURI, subscriptionID)
}
func NewConnectionTypeClient(subscriptionID string) ConnectionTypeClient {
return original.NewConnectionTypeClient(subscriptionID)
}
func NewConnectionTypeClientWithBaseURI(baseURI string, subscriptionID string) ConnectionTypeClient {
return original.NewConnectionTypeClientWithBaseURI(baseURI, subscriptionID)
}
func NewCredentialClient(subscriptionID string) CredentialClient {
return original.NewCredentialClient(subscriptionID)
}
func NewCredentialClientWithBaseURI(baseURI string, subscriptionID string) CredentialClient {
return original.NewCredentialClientWithBaseURI(baseURI, subscriptionID)
}
func NewDscCompilationJobClient(subscriptionID string) DscCompilationJobClient {
return original.NewDscCompilationJobClient(subscriptionID)
}
func NewDscCompilationJobClientWithBaseURI(baseURI string, subscriptionID string) DscCompilationJobClient {
return original.NewDscCompilationJobClientWithBaseURI(baseURI, subscriptionID)
}
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 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 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 NewJobClient(subscriptionID string) JobClient {
return original.NewJobClient(subscriptionID)
}
func NewJobClientWithBaseURI(baseURI string, subscriptionID string) JobClient {
return original.NewJobClientWithBaseURI(baseURI, subscriptionID)
}
func NewJobScheduleClient(subscriptionID string) JobScheduleClient {
return original.NewJobScheduleClient(subscriptionID)
}
func NewJobScheduleClientWithBaseURI(baseURI string, subscriptionID string) JobScheduleClient {
return original.NewJobScheduleClientWithBaseURI(baseURI, subscriptionID)
}
func NewJobStreamClient(subscriptionID string) JobStreamClient {
return original.NewJobStreamClient(subscriptionID)
}
func NewJobStreamClientWithBaseURI(baseURI string, subscriptionID string) JobStreamClient {
return original.NewJobStreamClientWithBaseURI(baseURI, subscriptionID)
}
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 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 NewModuleClient(subscriptionID string) ModuleClient {
return original.NewModuleClient(subscriptionID)
}
func NewModuleClientWithBaseURI(baseURI string, subscriptionID string) ModuleClient {
return original.NewModuleClientWithBaseURI(baseURI, subscriptionID)
}
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 NewScheduleClient(subscriptionID string) ScheduleClient {
return original.NewScheduleClient(subscriptionID)
}
func NewScheduleClientWithBaseURI(baseURI string, subscriptionID string) ScheduleClient {
return original.NewScheduleClientWithBaseURI(baseURI, subscriptionID)
}
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 UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}
func NewWebhookClient(subscriptionID string) WebhookClient {
return original.NewWebhookClient(subscriptionID)
}
func NewWebhookClientWithBaseURI(baseURI string, subscriptionID string) WebhookClient {
return original.NewWebhookClientWithBaseURI(baseURI, subscriptionID)
}

View File

@@ -1,319 +0,0 @@
// +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 BaseClient = original.BaseClient
type ComputeFabricOperationsClient = original.ComputeFabricOperationsClient
type EdgeGatewayPoolsClient = original.EdgeGatewayPoolsClient
type EdgeGatewaysClient = original.EdgeGatewaysClient
type FileSharesClient = original.FileSharesClient
type InfraRoleInstancesClient = original.InfraRoleInstancesClient
type InfraRolesClient = original.InfraRolesClient
type IPPoolsClient = original.IPPoolsClient
type LocationsClient = original.LocationsClient
type LogicalNetworksClient = original.LogicalNetworksClient
type LogicalSubnetsClient = original.LogicalSubnetsClient
type MacAddressPoolsClient = original.MacAddressPoolsClient
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 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 FileShare = original.FileShare
type FileShareList = original.FileShareList
type FileShareModel = original.FileShareModel
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 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 IPPool = original.IPPool
type IPPoolList = original.IPPoolList
type IPPoolListIterator = original.IPPoolListIterator
type IPPoolListPage = original.IPPoolListPage
type IPPoolModel = original.IPPoolModel
type IPPoolsCreateFuture = original.IPPoolsCreateFuture
type Location = original.Location
type LocationList = original.LocationList
type LocationListIterator = original.LocationListIterator
type LocationListPage = original.LocationListPage
type LogicalNetwork = original.LogicalNetwork
type LogicalNetworkList = original.LogicalNetworkList
type LogicalNetworkListIterator = original.LogicalNetworkListIterator
type LogicalNetworkListPage = original.LogicalNetworkListPage
type LogicalNetworkModel = original.LogicalNetworkModel
type LogicalSubnet = original.LogicalSubnet
type LogicalSubnetList = original.LogicalSubnetList
type LogicalSubnetListIterator = original.LogicalSubnetListIterator
type LogicalSubnetListPage = original.LogicalSubnetListPage
type LogicalSubnetModel = original.LogicalSubnetModel
type MacAddressPool = original.MacAddressPool
type MacAddressPoolList = original.MacAddressPoolList
type MacAddressPoolListIterator = original.MacAddressPoolListIterator
type MacAddressPoolListPage = original.MacAddressPoolListPage
type MacAddressPoolModel = original.MacAddressPoolModel
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 ScaleUnitNodesPowerOffFuture = original.ScaleUnitNodesPowerOffFuture
type ScaleUnitNodesPowerOnFuture = original.ScaleUnitNodesPowerOnFuture
type ScaleUnitNodesStartMaintenanceModeFuture = original.ScaleUnitNodesStartMaintenanceModeFuture
type ScaleUnitNodesStopMaintenanceModeFuture = original.ScaleUnitNodesStopMaintenanceModeFuture
type SlbMuxInstance = original.SlbMuxInstance
type SlbMuxInstanceList = original.SlbMuxInstanceList
type SlbMuxInstanceListIterator = original.SlbMuxInstanceListIterator
type SlbMuxInstanceListPage = original.SlbMuxInstanceListPage
type SlbMuxInstanceModel = original.SlbMuxInstanceModel
type StoragePool = original.StoragePool
type StoragePoolList = original.StoragePoolList
type StoragePoolListIterator = original.StoragePoolListIterator
type StoragePoolListPage = original.StoragePoolListPage
type StoragePoolModel = original.StoragePoolModel
type StorageSystem = original.StorageSystem
type StorageSystemList = original.StorageSystemList
type StorageSystemListIterator = original.StorageSystemListIterator
type StorageSystemListPage = original.StorageSystemListPage
type StorageSystemModel = original.StorageSystemModel
type Volume = original.Volume
type VolumeList = original.VolumeList
type VolumeListIterator = original.VolumeListIterator
type VolumeListPage = original.VolumeListPage
type VolumeModel = original.VolumeModel
type NetworkFabricOperationsClient = original.NetworkFabricOperationsClient
type ScaleUnitNodesClient = original.ScaleUnitNodesClient
type ScaleUnitsClient = original.ScaleUnitsClient
type SlbMuxInstancesClient = original.SlbMuxInstancesClient
type StoragePoolsClient = original.StoragePoolsClient
type StorageSystemsClient = original.StorageSystemsClient
type VolumesClient = original.VolumesClient
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, 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 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 NewIPPoolsClient(subscriptionID string) IPPoolsClient {
return original.NewIPPoolsClient(subscriptionID)
}
func NewIPPoolsClientWithBaseURI(baseURI string, subscriptionID string) IPPoolsClient {
return original.NewIPPoolsClientWithBaseURI(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 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 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 UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}
func NewVolumesClient(subscriptionID string) VolumesClient {
return original.NewVolumesClient(subscriptionID)
}
func NewVolumesClientWithBaseURI(baseURI string, subscriptionID string) VolumesClient {
return original.NewVolumesClientWithBaseURI(baseURI, subscriptionID)
}

View File

@@ -1,121 +0,0 @@
// +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"
type AlertsClient = original.AlertsClient
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
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 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 Resource = original.Resource
type ResourceHealth = original.ResourceHealth
type ResourceHealthList = original.ResourceHealthList
type ResourceHealthListIterator = original.ResourceHealthListIterator
type ResourceHealthListPage = original.ResourceHealthListPage
type ResourceHealthModel = original.ResourceHealthModel
type ServiceHealth = original.ServiceHealth
type ServiceHealthList = original.ServiceHealthList
type ServiceHealthListIterator = original.ServiceHealthListIterator
type ServiceHealthListPage = original.ServiceHealthListPage
type ServiceHealthModel = original.ServiceHealthModel
type UsageMetrics = original.UsageMetrics
type RegionHealthsClient = original.RegionHealthsClient
type ResourceHealthsClient = original.ResourceHealthsClient
type ServiceHealthsClient = original.ServiceHealthsClient
func NewAlertsClient(subscriptionID string) AlertsClient {
return original.NewAlertsClient(subscriptionID)
}
func NewAlertsClientWithBaseURI(baseURI string, subscriptionID string) AlertsClient {
return original.NewAlertsClientWithBaseURI(baseURI, subscriptionID)
}
func New(subscriptionID string) BaseClient {
return original.New(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 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 UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}

View File

@@ -1,692 +0,0 @@
// +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 batch
import original "github.com/Azure/azure-sdk-for-go/services/batch/2018-03-01.6.1/batch"
type AccountClient = original.AccountClient
type ApplicationClient = original.ApplicationClient
type CertificateClient = original.CertificateClient
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type ComputeNodeClient = original.ComputeNodeClient
type FileClient = original.FileClient
type JobClient = original.JobClient
type JobScheduleClient = original.JobScheduleClient
type AccessScope = original.AccessScope
const (
Job AccessScope = original.Job
)
type AllocationState = original.AllocationState
const (
Resizing AllocationState = original.Resizing
Steady AllocationState = original.Steady
Stopping AllocationState = original.Stopping
)
type AutoUserScope = original.AutoUserScope
const (
Pool AutoUserScope = original.Pool
Task AutoUserScope = original.Task
)
type CachingType = original.CachingType
const (
None CachingType = original.None
ReadOnly CachingType = original.ReadOnly
ReadWrite CachingType = original.ReadWrite
)
type CertificateFormat = original.CertificateFormat
const (
Cer CertificateFormat = original.Cer
Pfx CertificateFormat = original.Pfx
)
type CertificateState = original.CertificateState
const (
Active CertificateState = original.Active
DeleteFailed CertificateState = original.DeleteFailed
Deleting CertificateState = original.Deleting
)
type CertificateStoreLocation = original.CertificateStoreLocation
const (
CurrentUser CertificateStoreLocation = original.CurrentUser
LocalMachine CertificateStoreLocation = original.LocalMachine
)
type CertificateVisibility = original.CertificateVisibility
const (
CertificateVisibilityRemoteUser CertificateVisibility = original.CertificateVisibilityRemoteUser
CertificateVisibilityStartTask CertificateVisibility = original.CertificateVisibilityStartTask
CertificateVisibilityTask CertificateVisibility = original.CertificateVisibilityTask
)
type ComputeNodeDeallocationOption = original.ComputeNodeDeallocationOption
const (
Requeue ComputeNodeDeallocationOption = original.Requeue
RetainedData ComputeNodeDeallocationOption = original.RetainedData
TaskCompletion ComputeNodeDeallocationOption = original.TaskCompletion
Terminate ComputeNodeDeallocationOption = original.Terminate
)
type ComputeNodeFillType = original.ComputeNodeFillType
const (
Pack ComputeNodeFillType = original.Pack
Spread ComputeNodeFillType = original.Spread
)
type ComputeNodeRebootOption = original.ComputeNodeRebootOption
const (
ComputeNodeRebootOptionRequeue ComputeNodeRebootOption = original.ComputeNodeRebootOptionRequeue
ComputeNodeRebootOptionRetainedData ComputeNodeRebootOption = original.ComputeNodeRebootOptionRetainedData
ComputeNodeRebootOptionTaskCompletion ComputeNodeRebootOption = original.ComputeNodeRebootOptionTaskCompletion
ComputeNodeRebootOptionTerminate ComputeNodeRebootOption = original.ComputeNodeRebootOptionTerminate
)
type ComputeNodeReimageOption = original.ComputeNodeReimageOption
const (
ComputeNodeReimageOptionRequeue ComputeNodeReimageOption = original.ComputeNodeReimageOptionRequeue
ComputeNodeReimageOptionRetainedData ComputeNodeReimageOption = original.ComputeNodeReimageOptionRetainedData
ComputeNodeReimageOptionTaskCompletion ComputeNodeReimageOption = original.ComputeNodeReimageOptionTaskCompletion
ComputeNodeReimageOptionTerminate ComputeNodeReimageOption = original.ComputeNodeReimageOptionTerminate
)
type ComputeNodeState = original.ComputeNodeState
const (
Creating ComputeNodeState = original.Creating
Idle ComputeNodeState = original.Idle
LeavingPool ComputeNodeState = original.LeavingPool
Offline ComputeNodeState = original.Offline
Preempted ComputeNodeState = original.Preempted
Rebooting ComputeNodeState = original.Rebooting
Reimaging ComputeNodeState = original.Reimaging
Running ComputeNodeState = original.Running
Starting ComputeNodeState = original.Starting
StartTaskFailed ComputeNodeState = original.StartTaskFailed
Unknown ComputeNodeState = original.Unknown
Unusable ComputeNodeState = original.Unusable
WaitingForStartTask ComputeNodeState = original.WaitingForStartTask
)
type DependencyAction = original.DependencyAction
const (
Block DependencyAction = original.Block
Satisfy DependencyAction = original.Satisfy
)
type DisableComputeNodeSchedulingOption = original.DisableComputeNodeSchedulingOption
const (
DisableComputeNodeSchedulingOptionRequeue DisableComputeNodeSchedulingOption = original.DisableComputeNodeSchedulingOptionRequeue
DisableComputeNodeSchedulingOptionTaskCompletion DisableComputeNodeSchedulingOption = original.DisableComputeNodeSchedulingOptionTaskCompletion
DisableComputeNodeSchedulingOptionTerminate DisableComputeNodeSchedulingOption = original.DisableComputeNodeSchedulingOptionTerminate
)
type DisableJobOption = original.DisableJobOption
const (
DisableJobOptionRequeue DisableJobOption = original.DisableJobOptionRequeue
DisableJobOptionTerminate DisableJobOption = original.DisableJobOptionTerminate
DisableJobOptionWait DisableJobOption = original.DisableJobOptionWait
)
type ElevationLevel = original.ElevationLevel
const (
Admin ElevationLevel = original.Admin
NonAdmin ElevationLevel = original.NonAdmin
)
type ErrorCategory = original.ErrorCategory
const (
ServerError ErrorCategory = original.ServerError
UserError ErrorCategory = original.UserError
)
type InboundEndpointProtocol = original.InboundEndpointProtocol
const (
TCP InboundEndpointProtocol = original.TCP
UDP InboundEndpointProtocol = original.UDP
)
type JobAction = original.JobAction
const (
JobActionDisable JobAction = original.JobActionDisable
JobActionNone JobAction = original.JobActionNone
JobActionTerminate JobAction = original.JobActionTerminate
)
type JobPreparationTaskState = original.JobPreparationTaskState
const (
JobPreparationTaskStateCompleted JobPreparationTaskState = original.JobPreparationTaskStateCompleted
JobPreparationTaskStateRunning JobPreparationTaskState = original.JobPreparationTaskStateRunning
)
type JobReleaseTaskState = original.JobReleaseTaskState
const (
JobReleaseTaskStateCompleted JobReleaseTaskState = original.JobReleaseTaskStateCompleted
JobReleaseTaskStateRunning JobReleaseTaskState = original.JobReleaseTaskStateRunning
)
type JobScheduleState = original.JobScheduleState
const (
JobScheduleStateActive JobScheduleState = original.JobScheduleStateActive
JobScheduleStateCompleted JobScheduleState = original.JobScheduleStateCompleted
JobScheduleStateDeleting JobScheduleState = original.JobScheduleStateDeleting
JobScheduleStateDisabled JobScheduleState = original.JobScheduleStateDisabled
JobScheduleStateTerminating JobScheduleState = original.JobScheduleStateTerminating
)
type JobState = original.JobState
const (
JobStateActive JobState = original.JobStateActive
JobStateCompleted JobState = original.JobStateCompleted
JobStateDeleting JobState = original.JobStateDeleting
JobStateDisabled JobState = original.JobStateDisabled
JobStateDisabling JobState = original.JobStateDisabling
JobStateEnabling JobState = original.JobStateEnabling
JobStateTerminating JobState = original.JobStateTerminating
)
type NetworkSecurityGroupRuleAccess = original.NetworkSecurityGroupRuleAccess
const (
Allow NetworkSecurityGroupRuleAccess = original.Allow
Deny NetworkSecurityGroupRuleAccess = original.Deny
)
type OnAllTasksComplete = original.OnAllTasksComplete
const (
NoAction OnAllTasksComplete = original.NoAction
TerminateJob OnAllTasksComplete = original.TerminateJob
)
type OnTaskFailure = original.OnTaskFailure
const (
OnTaskFailureNoAction OnTaskFailure = original.OnTaskFailureNoAction
OnTaskFailurePerformExitOptionsJobAction OnTaskFailure = original.OnTaskFailurePerformExitOptionsJobAction
)
type OSType = original.OSType
const (
Linux OSType = original.Linux
Windows OSType = original.Windows
)
type OutputFileUploadCondition = original.OutputFileUploadCondition
const (
OutputFileUploadConditionTaskCompletion OutputFileUploadCondition = original.OutputFileUploadConditionTaskCompletion
OutputFileUploadConditionTaskFailure OutputFileUploadCondition = original.OutputFileUploadConditionTaskFailure
OutputFileUploadConditionTaskSuccess OutputFileUploadCondition = original.OutputFileUploadConditionTaskSuccess
)
type PoolLifetimeOption = original.PoolLifetimeOption
const (
PoolLifetimeOptionJob PoolLifetimeOption = original.PoolLifetimeOptionJob
PoolLifetimeOptionJobSchedule PoolLifetimeOption = original.PoolLifetimeOptionJobSchedule
)
type PoolState = original.PoolState
const (
PoolStateActive PoolState = original.PoolStateActive
PoolStateDeleting PoolState = original.PoolStateDeleting
PoolStateUpgrading PoolState = original.PoolStateUpgrading
)
type SchedulingState = original.SchedulingState
const (
Disabled SchedulingState = original.Disabled
Enabled SchedulingState = original.Enabled
)
type StartTaskState = original.StartTaskState
const (
StartTaskStateCompleted StartTaskState = original.StartTaskStateCompleted
StartTaskStateRunning StartTaskState = original.StartTaskStateRunning
)
type StorageAccountType = original.StorageAccountType
const (
PremiumLRS StorageAccountType = original.PremiumLRS
StandardLRS StorageAccountType = original.StandardLRS
)
type SubtaskState = original.SubtaskState
const (
SubtaskStateCompleted SubtaskState = original.SubtaskStateCompleted
SubtaskStatePreparing SubtaskState = original.SubtaskStatePreparing
SubtaskStateRunning SubtaskState = original.SubtaskStateRunning
)
type TaskAddStatus = original.TaskAddStatus
const (
TaskAddStatusClientError TaskAddStatus = original.TaskAddStatusClientError
TaskAddStatusServerError TaskAddStatus = original.TaskAddStatusServerError
TaskAddStatusSuccess TaskAddStatus = original.TaskAddStatusSuccess
)
type TaskCountValidationStatus = original.TaskCountValidationStatus
const (
Unvalidated TaskCountValidationStatus = original.Unvalidated
Validated TaskCountValidationStatus = original.Validated
)
type TaskExecutionResult = original.TaskExecutionResult
const (
Failure TaskExecutionResult = original.Failure
Success TaskExecutionResult = original.Success
)
type TaskState = original.TaskState
const (
TaskStateActive TaskState = original.TaskStateActive
TaskStateCompleted TaskState = original.TaskStateCompleted
TaskStatePreparing TaskState = original.TaskStatePreparing
TaskStateRunning TaskState = original.TaskStateRunning
)
type AccountListNodeAgentSkusResult = original.AccountListNodeAgentSkusResult
type AccountListNodeAgentSkusResultIterator = original.AccountListNodeAgentSkusResultIterator
type AccountListNodeAgentSkusResultPage = original.AccountListNodeAgentSkusResultPage
type AffinityInformation = original.AffinityInformation
type ApplicationListResult = original.ApplicationListResult
type ApplicationListResultIterator = original.ApplicationListResultIterator
type ApplicationListResultPage = original.ApplicationListResultPage
type ApplicationPackageReference = original.ApplicationPackageReference
type ApplicationSummary = original.ApplicationSummary
type AuthenticationTokenSettings = original.AuthenticationTokenSettings
type AutoPoolSpecification = original.AutoPoolSpecification
type AutoScaleRun = original.AutoScaleRun
type AutoScaleRunError = original.AutoScaleRunError
type AutoUserSpecification = original.AutoUserSpecification
type Certificate = original.Certificate
type CertificateAddParameter = original.CertificateAddParameter
type CertificateListResult = original.CertificateListResult
type CertificateListResultIterator = original.CertificateListResultIterator
type CertificateListResultPage = original.CertificateListResultPage
type CertificateReference = original.CertificateReference
type CloudJob = original.CloudJob
type CloudJobListPreparationAndReleaseTaskStatusResult = original.CloudJobListPreparationAndReleaseTaskStatusResult
type CloudJobListPreparationAndReleaseTaskStatusResultIterator = original.CloudJobListPreparationAndReleaseTaskStatusResultIterator
type CloudJobListPreparationAndReleaseTaskStatusResultPage = original.CloudJobListPreparationAndReleaseTaskStatusResultPage
type CloudJobListResult = original.CloudJobListResult
type CloudJobListResultIterator = original.CloudJobListResultIterator
type CloudJobListResultPage = original.CloudJobListResultPage
type CloudJobSchedule = original.CloudJobSchedule
type CloudJobScheduleListResult = original.CloudJobScheduleListResult
type CloudJobScheduleListResultIterator = original.CloudJobScheduleListResultIterator
type CloudJobScheduleListResultPage = original.CloudJobScheduleListResultPage
type CloudPool = original.CloudPool
type CloudPoolListResult = original.CloudPoolListResult
type CloudPoolListResultIterator = original.CloudPoolListResultIterator
type CloudPoolListResultPage = original.CloudPoolListResultPage
type CloudServiceConfiguration = original.CloudServiceConfiguration
type CloudTask = original.CloudTask
type CloudTaskListResult = original.CloudTaskListResult
type CloudTaskListResultIterator = original.CloudTaskListResultIterator
type CloudTaskListResultPage = original.CloudTaskListResultPage
type CloudTaskListSubtasksResult = original.CloudTaskListSubtasksResult
type ComputeNode = original.ComputeNode
type ComputeNodeEndpointConfiguration = original.ComputeNodeEndpointConfiguration
type ComputeNodeError = original.ComputeNodeError
type ComputeNodeGetRemoteLoginSettingsResult = original.ComputeNodeGetRemoteLoginSettingsResult
type ComputeNodeInformation = original.ComputeNodeInformation
type ComputeNodeListResult = original.ComputeNodeListResult
type ComputeNodeListResultIterator = original.ComputeNodeListResultIterator
type ComputeNodeListResultPage = original.ComputeNodeListResultPage
type ComputeNodeUser = original.ComputeNodeUser
type ContainerConfiguration = original.ContainerConfiguration
type ContainerRegistry = original.ContainerRegistry
type DataDisk = original.DataDisk
type DeleteCertificateError = original.DeleteCertificateError
type EnvironmentSetting = original.EnvironmentSetting
type Error = original.Error
type ErrorDetail = original.ErrorDetail
type ErrorMessage = original.ErrorMessage
type ExitCodeMapping = original.ExitCodeMapping
type ExitCodeRangeMapping = original.ExitCodeRangeMapping
type ExitConditions = original.ExitConditions
type ExitOptions = original.ExitOptions
type FileProperties = original.FileProperties
type ImageReference = original.ImageReference
type InboundEndpoint = original.InboundEndpoint
type InboundNATPool = original.InboundNATPool
type JobAddParameter = original.JobAddParameter
type JobConstraints = original.JobConstraints
type JobDisableParameter = original.JobDisableParameter
type JobExecutionInformation = original.JobExecutionInformation
type JobManagerTask = original.JobManagerTask
type JobPatchParameter = original.JobPatchParameter
type JobPreparationAndReleaseTaskExecutionInformation = original.JobPreparationAndReleaseTaskExecutionInformation
type JobPreparationTask = original.JobPreparationTask
type JobPreparationTaskExecutionInformation = original.JobPreparationTaskExecutionInformation
type JobReleaseTask = original.JobReleaseTask
type JobReleaseTaskExecutionInformation = original.JobReleaseTaskExecutionInformation
type JobScheduleAddParameter = original.JobScheduleAddParameter
type JobScheduleExecutionInformation = original.JobScheduleExecutionInformation
type JobSchedulePatchParameter = original.JobSchedulePatchParameter
type JobScheduleStatistics = original.JobScheduleStatistics
type JobScheduleUpdateParameter = original.JobScheduleUpdateParameter
type JobSchedulingError = original.JobSchedulingError
type JobSpecification = original.JobSpecification
type JobStatistics = original.JobStatistics
type JobTerminateParameter = original.JobTerminateParameter
type JobUpdateParameter = original.JobUpdateParameter
type LinuxUserConfiguration = original.LinuxUserConfiguration
type MetadataItem = original.MetadataItem
type MultiInstanceSettings = original.MultiInstanceSettings
type NameValuePair = original.NameValuePair
type NetworkConfiguration = original.NetworkConfiguration
type NetworkSecurityGroupRule = original.NetworkSecurityGroupRule
type NodeAgentSku = original.NodeAgentSku
type NodeCounts = original.NodeCounts
type NodeDisableSchedulingParameter = original.NodeDisableSchedulingParameter
type NodeFile = original.NodeFile
type NodeFileListResult = original.NodeFileListResult
type NodeFileListResultIterator = original.NodeFileListResultIterator
type NodeFileListResultPage = original.NodeFileListResultPage
type NodeRebootParameter = original.NodeRebootParameter
type NodeReimageParameter = original.NodeReimageParameter
type NodeRemoveParameter = original.NodeRemoveParameter
type NodeUpdateUserParameter = original.NodeUpdateUserParameter
type OSDisk = original.OSDisk
type OutputFile = original.OutputFile
type OutputFileBlobContainerDestination = original.OutputFileBlobContainerDestination
type OutputFileDestination = original.OutputFileDestination
type OutputFileUploadOptions = original.OutputFileUploadOptions
type PoolAddParameter = original.PoolAddParameter
type PoolEnableAutoScaleParameter = original.PoolEnableAutoScaleParameter
type PoolEndpointConfiguration = original.PoolEndpointConfiguration
type PoolEvaluateAutoScaleParameter = original.PoolEvaluateAutoScaleParameter
type PoolInformation = original.PoolInformation
type PoolListUsageMetricsResult = original.PoolListUsageMetricsResult
type PoolListUsageMetricsResultIterator = original.PoolListUsageMetricsResultIterator
type PoolListUsageMetricsResultPage = original.PoolListUsageMetricsResultPage
type PoolNodeCounts = original.PoolNodeCounts
type PoolNodeCountsListResult = original.PoolNodeCountsListResult
type PoolNodeCountsListResultIterator = original.PoolNodeCountsListResultIterator
type PoolNodeCountsListResultPage = original.PoolNodeCountsListResultPage
type PoolPatchParameter = original.PoolPatchParameter
type PoolResizeParameter = original.PoolResizeParameter
type PoolSpecification = original.PoolSpecification
type PoolStatistics = original.PoolStatistics
type PoolUpdatePropertiesParameter = original.PoolUpdatePropertiesParameter
type PoolUpgradeOSParameter = original.PoolUpgradeOSParameter
type PoolUsageMetrics = original.PoolUsageMetrics
type ReadCloser = original.ReadCloser
type RecentJob = original.RecentJob
type ResizeError = original.ResizeError
type ResourceFile = original.ResourceFile
type ResourceStatistics = original.ResourceStatistics
type Schedule = original.Schedule
type StartTask = original.StartTask
type StartTaskInformation = original.StartTaskInformation
type SubtaskInformation = original.SubtaskInformation
type TaskAddCollectionParameter = original.TaskAddCollectionParameter
type TaskAddCollectionResult = original.TaskAddCollectionResult
type TaskAddParameter = original.TaskAddParameter
type TaskAddResult = original.TaskAddResult
type TaskConstraints = original.TaskConstraints
type TaskContainerExecutionInformation = original.TaskContainerExecutionInformation
type TaskContainerSettings = original.TaskContainerSettings
type TaskCounts = original.TaskCounts
type TaskDependencies = original.TaskDependencies
type TaskExecutionInformation = original.TaskExecutionInformation
type TaskFailureInformation = original.TaskFailureInformation
type TaskIDRange = original.TaskIDRange
type TaskInformation = original.TaskInformation
type TaskSchedulingPolicy = original.TaskSchedulingPolicy
type TaskStatistics = original.TaskStatistics
type TaskUpdateParameter = original.TaskUpdateParameter
type UploadBatchServiceLogsConfiguration = original.UploadBatchServiceLogsConfiguration
type UploadBatchServiceLogsResult = original.UploadBatchServiceLogsResult
type UsageStatistics = original.UsageStatistics
type UserAccount = original.UserAccount
type UserIdentity = original.UserIdentity
type VirtualMachineConfiguration = original.VirtualMachineConfiguration
type WindowsConfiguration = original.WindowsConfiguration
type PoolClient = original.PoolClient
type TaskClient = original.TaskClient
func NewAccountClient() AccountClient {
return original.NewAccountClient()
}
func NewAccountClientWithBaseURI(baseURI string) AccountClient {
return original.NewAccountClientWithBaseURI(baseURI)
}
func NewApplicationClient() ApplicationClient {
return original.NewApplicationClient()
}
func NewApplicationClientWithBaseURI(baseURI string) ApplicationClient {
return original.NewApplicationClientWithBaseURI(baseURI)
}
func NewCertificateClient() CertificateClient {
return original.NewCertificateClient()
}
func NewCertificateClientWithBaseURI(baseURI string) CertificateClient {
return original.NewCertificateClientWithBaseURI(baseURI)
}
func New() BaseClient {
return original.New()
}
func NewWithBaseURI(baseURI string) BaseClient {
return original.NewWithBaseURI(baseURI)
}
func NewComputeNodeClient() ComputeNodeClient {
return original.NewComputeNodeClient()
}
func NewComputeNodeClientWithBaseURI(baseURI string) ComputeNodeClient {
return original.NewComputeNodeClientWithBaseURI(baseURI)
}
func NewFileClient() FileClient {
return original.NewFileClient()
}
func NewFileClientWithBaseURI(baseURI string) FileClient {
return original.NewFileClientWithBaseURI(baseURI)
}
func NewJobClient() JobClient {
return original.NewJobClient()
}
func NewJobClientWithBaseURI(baseURI string) JobClient {
return original.NewJobClientWithBaseURI(baseURI)
}
func NewJobScheduleClient() JobScheduleClient {
return original.NewJobScheduleClient()
}
func NewJobScheduleClientWithBaseURI(baseURI string) JobScheduleClient {
return original.NewJobScheduleClientWithBaseURI(baseURI)
}
func PossibleAccessScopeValues() []AccessScope {
return original.PossibleAccessScopeValues()
}
func PossibleAllocationStateValues() []AllocationState {
return original.PossibleAllocationStateValues()
}
func PossibleAutoUserScopeValues() []AutoUserScope {
return original.PossibleAutoUserScopeValues()
}
func PossibleCachingTypeValues() []CachingType {
return original.PossibleCachingTypeValues()
}
func PossibleCertificateFormatValues() []CertificateFormat {
return original.PossibleCertificateFormatValues()
}
func PossibleCertificateStateValues() []CertificateState {
return original.PossibleCertificateStateValues()
}
func PossibleCertificateStoreLocationValues() []CertificateStoreLocation {
return original.PossibleCertificateStoreLocationValues()
}
func PossibleCertificateVisibilityValues() []CertificateVisibility {
return original.PossibleCertificateVisibilityValues()
}
func PossibleComputeNodeDeallocationOptionValues() []ComputeNodeDeallocationOption {
return original.PossibleComputeNodeDeallocationOptionValues()
}
func PossibleComputeNodeFillTypeValues() []ComputeNodeFillType {
return original.PossibleComputeNodeFillTypeValues()
}
func PossibleComputeNodeRebootOptionValues() []ComputeNodeRebootOption {
return original.PossibleComputeNodeRebootOptionValues()
}
func PossibleComputeNodeReimageOptionValues() []ComputeNodeReimageOption {
return original.PossibleComputeNodeReimageOptionValues()
}
func PossibleComputeNodeStateValues() []ComputeNodeState {
return original.PossibleComputeNodeStateValues()
}
func PossibleDependencyActionValues() []DependencyAction {
return original.PossibleDependencyActionValues()
}
func PossibleDisableComputeNodeSchedulingOptionValues() []DisableComputeNodeSchedulingOption {
return original.PossibleDisableComputeNodeSchedulingOptionValues()
}
func PossibleDisableJobOptionValues() []DisableJobOption {
return original.PossibleDisableJobOptionValues()
}
func PossibleElevationLevelValues() []ElevationLevel {
return original.PossibleElevationLevelValues()
}
func PossibleErrorCategoryValues() []ErrorCategory {
return original.PossibleErrorCategoryValues()
}
func PossibleInboundEndpointProtocolValues() []InboundEndpointProtocol {
return original.PossibleInboundEndpointProtocolValues()
}
func PossibleJobActionValues() []JobAction {
return original.PossibleJobActionValues()
}
func PossibleJobPreparationTaskStateValues() []JobPreparationTaskState {
return original.PossibleJobPreparationTaskStateValues()
}
func PossibleJobReleaseTaskStateValues() []JobReleaseTaskState {
return original.PossibleJobReleaseTaskStateValues()
}
func PossibleJobScheduleStateValues() []JobScheduleState {
return original.PossibleJobScheduleStateValues()
}
func PossibleJobStateValues() []JobState {
return original.PossibleJobStateValues()
}
func PossibleNetworkSecurityGroupRuleAccessValues() []NetworkSecurityGroupRuleAccess {
return original.PossibleNetworkSecurityGroupRuleAccessValues()
}
func PossibleOnAllTasksCompleteValues() []OnAllTasksComplete {
return original.PossibleOnAllTasksCompleteValues()
}
func PossibleOnTaskFailureValues() []OnTaskFailure {
return original.PossibleOnTaskFailureValues()
}
func PossibleOSTypeValues() []OSType {
return original.PossibleOSTypeValues()
}
func PossibleOutputFileUploadConditionValues() []OutputFileUploadCondition {
return original.PossibleOutputFileUploadConditionValues()
}
func PossiblePoolLifetimeOptionValues() []PoolLifetimeOption {
return original.PossiblePoolLifetimeOptionValues()
}
func PossiblePoolStateValues() []PoolState {
return original.PossiblePoolStateValues()
}
func PossibleSchedulingStateValues() []SchedulingState {
return original.PossibleSchedulingStateValues()
}
func PossibleStartTaskStateValues() []StartTaskState {
return original.PossibleStartTaskStateValues()
}
func PossibleStorageAccountTypeValues() []StorageAccountType {
return original.PossibleStorageAccountTypeValues()
}
func PossibleSubtaskStateValues() []SubtaskState {
return original.PossibleSubtaskStateValues()
}
func PossibleTaskAddStatusValues() []TaskAddStatus {
return original.PossibleTaskAddStatusValues()
}
func PossibleTaskCountValidationStatusValues() []TaskCountValidationStatus {
return original.PossibleTaskCountValidationStatusValues()
}
func PossibleTaskExecutionResultValues() []TaskExecutionResult {
return original.PossibleTaskExecutionResultValues()
}
func PossibleTaskStateValues() []TaskState {
return original.PossibleTaskStateValues()
}
func NewPoolClient() PoolClient {
return original.NewPoolClient()
}
func NewPoolClientWithBaseURI(baseURI string) PoolClient {
return original.NewPoolClientWithBaseURI(baseURI)
}
func NewTaskClient() TaskClient {
return original.NewTaskClient()
}
func NewTaskClientWithBaseURI(baseURI string) TaskClient {
return original.NewTaskClientWithBaseURI(baseURI)
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}

View File

@@ -1,385 +0,0 @@
// +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 batch
import original "github.com/Azure/azure-sdk-for-go/services/batch/mgmt/2017-09-01/batch"
type AccountClient = original.AccountClient
type ApplicationClient = original.ApplicationClient
type ApplicationPackageClient = original.ApplicationPackageClient
type CertificateClient = original.CertificateClient
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type LocationClient = original.LocationClient
type AccountKeyType = original.AccountKeyType
const (
Primary AccountKeyType = original.Primary
Secondary AccountKeyType = original.Secondary
)
type AllocationState = original.AllocationState
const (
Resizing AllocationState = original.Resizing
Steady AllocationState = original.Steady
Stopping AllocationState = original.Stopping
)
type AutoUserScope = original.AutoUserScope
const (
AutoUserScopePool AutoUserScope = original.AutoUserScopePool
AutoUserScopeTask AutoUserScope = original.AutoUserScopeTask
)
type CachingType = original.CachingType
const (
None CachingType = original.None
ReadOnly CachingType = original.ReadOnly
ReadWrite CachingType = original.ReadWrite
)
type CertificateFormat = original.CertificateFormat
const (
Cer CertificateFormat = original.Cer
Pfx CertificateFormat = original.Pfx
)
type CertificateProvisioningState = original.CertificateProvisioningState
const (
Deleting CertificateProvisioningState = original.Deleting
Failed CertificateProvisioningState = original.Failed
Succeeded CertificateProvisioningState = original.Succeeded
)
type CertificateStoreLocation = original.CertificateStoreLocation
const (
CurrentUser CertificateStoreLocation = original.CurrentUser
LocalMachine CertificateStoreLocation = original.LocalMachine
)
type CertificateVisibility = original.CertificateVisibility
const (
CertificateVisibilityRemoteUser CertificateVisibility = original.CertificateVisibilityRemoteUser
CertificateVisibilityStartTask CertificateVisibility = original.CertificateVisibilityStartTask
CertificateVisibilityTask CertificateVisibility = original.CertificateVisibilityTask
)
type ComputeNodeDeallocationOption = original.ComputeNodeDeallocationOption
const (
Requeue ComputeNodeDeallocationOption = original.Requeue
RetainedData ComputeNodeDeallocationOption = original.RetainedData
TaskCompletion ComputeNodeDeallocationOption = original.TaskCompletion
Terminate ComputeNodeDeallocationOption = original.Terminate
)
type ComputeNodeFillType = original.ComputeNodeFillType
const (
Pack ComputeNodeFillType = original.Pack
Spread ComputeNodeFillType = original.Spread
)
type ElevationLevel = original.ElevationLevel
const (
Admin ElevationLevel = original.Admin
NonAdmin ElevationLevel = original.NonAdmin
)
type InboundEndpointProtocol = original.InboundEndpointProtocol
const (
TCP InboundEndpointProtocol = original.TCP
UDP InboundEndpointProtocol = original.UDP
)
type InterNodeCommunicationState = original.InterNodeCommunicationState
const (
Disabled InterNodeCommunicationState = original.Disabled
Enabled InterNodeCommunicationState = original.Enabled
)
type NameAvailabilityReason = original.NameAvailabilityReason
const (
AlreadyExists NameAvailabilityReason = original.AlreadyExists
Invalid NameAvailabilityReason = original.Invalid
)
type NetworkSecurityGroupRuleAccess = original.NetworkSecurityGroupRuleAccess
const (
Allow NetworkSecurityGroupRuleAccess = original.Allow
Deny NetworkSecurityGroupRuleAccess = original.Deny
)
type PackageState = original.PackageState
const (
Active PackageState = original.Active
Pending PackageState = original.Pending
Unmapped PackageState = original.Unmapped
)
type PoolAllocationMode = original.PoolAllocationMode
const (
BatchService PoolAllocationMode = original.BatchService
UserSubscription PoolAllocationMode = original.UserSubscription
)
type PoolProvisioningState = original.PoolProvisioningState
const (
PoolProvisioningStateDeleting PoolProvisioningState = original.PoolProvisioningStateDeleting
PoolProvisioningStateSucceeded PoolProvisioningState = original.PoolProvisioningStateSucceeded
)
type ProvisioningState = original.ProvisioningState
const (
ProvisioningStateCancelled ProvisioningState = original.ProvisioningStateCancelled
ProvisioningStateCreating ProvisioningState = original.ProvisioningStateCreating
ProvisioningStateDeleting ProvisioningState = original.ProvisioningStateDeleting
ProvisioningStateFailed ProvisioningState = original.ProvisioningStateFailed
ProvisioningStateInvalid ProvisioningState = original.ProvisioningStateInvalid
ProvisioningStateSucceeded ProvisioningState = original.ProvisioningStateSucceeded
)
type StorageAccountType = original.StorageAccountType
const (
PremiumLRS StorageAccountType = original.PremiumLRS
StandardLRS StorageAccountType = original.StandardLRS
)
type Account = original.Account
type AccountCreateFuture = original.AccountCreateFuture
type AccountCreateParameters = original.AccountCreateParameters
type AccountCreateProperties = original.AccountCreateProperties
type AccountDeleteFuture = original.AccountDeleteFuture
type AccountKeys = original.AccountKeys
type AccountListResult = original.AccountListResult
type AccountListResultIterator = original.AccountListResultIterator
type AccountListResultPage = original.AccountListResultPage
type AccountProperties = original.AccountProperties
type AccountRegenerateKeyParameters = original.AccountRegenerateKeyParameters
type AccountUpdateParameters = original.AccountUpdateParameters
type AccountUpdateProperties = original.AccountUpdateProperties
type ActivateApplicationPackageParameters = original.ActivateApplicationPackageParameters
type Application = original.Application
type ApplicationCreateParameters = original.ApplicationCreateParameters
type ApplicationPackage = original.ApplicationPackage
type ApplicationPackageReference = original.ApplicationPackageReference
type ApplicationUpdateParameters = original.ApplicationUpdateParameters
type AutoScaleRun = original.AutoScaleRun
type AutoScaleRunError = original.AutoScaleRunError
type AutoScaleSettings = original.AutoScaleSettings
type AutoStorageBaseProperties = original.AutoStorageBaseProperties
type AutoStorageProperties = original.AutoStorageProperties
type AutoUserSpecification = original.AutoUserSpecification
type Certificate = original.Certificate
type CertificateBaseProperties = original.CertificateBaseProperties
type CertificateCreateFuture = original.CertificateCreateFuture
type CertificateCreateOrUpdateParameters = original.CertificateCreateOrUpdateParameters
type CertificateCreateOrUpdateProperties = original.CertificateCreateOrUpdateProperties
type CertificateDeleteFuture = original.CertificateDeleteFuture
type CertificateProperties = original.CertificateProperties
type CertificateReference = original.CertificateReference
type CheckNameAvailabilityParameters = original.CheckNameAvailabilityParameters
type CheckNameAvailabilityResult = original.CheckNameAvailabilityResult
type CloudError = original.CloudError
type CloudErrorBody = original.CloudErrorBody
type CloudServiceConfiguration = original.CloudServiceConfiguration
type DataDisk = original.DataDisk
type DeleteCertificateError = original.DeleteCertificateError
type DeploymentConfiguration = original.DeploymentConfiguration
type EnvironmentSetting = original.EnvironmentSetting
type FixedScaleSettings = original.FixedScaleSettings
type ImageReference = original.ImageReference
type InboundNatPool = original.InboundNatPool
type KeyVaultReference = original.KeyVaultReference
type LinuxUserConfiguration = original.LinuxUserConfiguration
type ListApplicationsResult = original.ListApplicationsResult
type ListApplicationsResultIterator = original.ListApplicationsResultIterator
type ListApplicationsResultPage = original.ListApplicationsResultPage
type ListCertificatesResult = original.ListCertificatesResult
type ListCertificatesResultIterator = original.ListCertificatesResultIterator
type ListCertificatesResultPage = original.ListCertificatesResultPage
type ListPoolsResult = original.ListPoolsResult
type ListPoolsResultIterator = original.ListPoolsResultIterator
type ListPoolsResultPage = original.ListPoolsResultPage
type LocationQuota = original.LocationQuota
type MetadataItem = original.MetadataItem
type NetworkConfiguration = original.NetworkConfiguration
type NetworkSecurityGroupRule = original.NetworkSecurityGroupRule
type Operation = original.Operation
type OperationDisplay = original.OperationDisplay
type OperationListResult = original.OperationListResult
type OperationListResultIterator = original.OperationListResultIterator
type OperationListResultPage = original.OperationListResultPage
type OSDisk = original.OSDisk
type Pool = original.Pool
type PoolCreateFuture = original.PoolCreateFuture
type PoolDeleteFuture = original.PoolDeleteFuture
type PoolEndpointConfiguration = original.PoolEndpointConfiguration
type PoolProperties = original.PoolProperties
type ProxyResource = original.ProxyResource
type ResizeError = original.ResizeError
type ResizeOperationStatus = original.ResizeOperationStatus
type Resource = original.Resource
type ResourceFile = original.ResourceFile
type ScaleSettings = original.ScaleSettings
type StartTask = original.StartTask
type TaskSchedulingPolicy = original.TaskSchedulingPolicy
type UserAccount = original.UserAccount
type UserIdentity = original.UserIdentity
type VirtualMachineConfiguration = original.VirtualMachineConfiguration
type WindowsConfiguration = original.WindowsConfiguration
type OperationsClient = original.OperationsClient
type PoolClient = original.PoolClient
func NewAccountClient(subscriptionID string) AccountClient {
return original.NewAccountClient(subscriptionID)
}
func NewAccountClientWithBaseURI(baseURI string, subscriptionID string) AccountClient {
return original.NewAccountClientWithBaseURI(baseURI, subscriptionID)
}
func NewApplicationClient(subscriptionID string) ApplicationClient {
return original.NewApplicationClient(subscriptionID)
}
func NewApplicationClientWithBaseURI(baseURI string, subscriptionID string) ApplicationClient {
return original.NewApplicationClientWithBaseURI(baseURI, subscriptionID)
}
func NewApplicationPackageClient(subscriptionID string) ApplicationPackageClient {
return original.NewApplicationPackageClient(subscriptionID)
}
func NewApplicationPackageClientWithBaseURI(baseURI string, subscriptionID string) ApplicationPackageClient {
return original.NewApplicationPackageClientWithBaseURI(baseURI, subscriptionID)
}
func NewCertificateClient(subscriptionID string) CertificateClient {
return original.NewCertificateClient(subscriptionID)
}
func NewCertificateClientWithBaseURI(baseURI string, subscriptionID string) CertificateClient {
return original.NewCertificateClientWithBaseURI(baseURI, subscriptionID)
}
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func NewLocationClient(subscriptionID string) LocationClient {
return original.NewLocationClient(subscriptionID)
}
func NewLocationClientWithBaseURI(baseURI string, subscriptionID string) LocationClient {
return original.NewLocationClientWithBaseURI(baseURI, subscriptionID)
}
func PossibleAccountKeyTypeValues() []AccountKeyType {
return original.PossibleAccountKeyTypeValues()
}
func PossibleAllocationStateValues() []AllocationState {
return original.PossibleAllocationStateValues()
}
func PossibleAutoUserScopeValues() []AutoUserScope {
return original.PossibleAutoUserScopeValues()
}
func PossibleCachingTypeValues() []CachingType {
return original.PossibleCachingTypeValues()
}
func PossibleCertificateFormatValues() []CertificateFormat {
return original.PossibleCertificateFormatValues()
}
func PossibleCertificateProvisioningStateValues() []CertificateProvisioningState {
return original.PossibleCertificateProvisioningStateValues()
}
func PossibleCertificateStoreLocationValues() []CertificateStoreLocation {
return original.PossibleCertificateStoreLocationValues()
}
func PossibleCertificateVisibilityValues() []CertificateVisibility {
return original.PossibleCertificateVisibilityValues()
}
func PossibleComputeNodeDeallocationOptionValues() []ComputeNodeDeallocationOption {
return original.PossibleComputeNodeDeallocationOptionValues()
}
func PossibleComputeNodeFillTypeValues() []ComputeNodeFillType {
return original.PossibleComputeNodeFillTypeValues()
}
func PossibleElevationLevelValues() []ElevationLevel {
return original.PossibleElevationLevelValues()
}
func PossibleInboundEndpointProtocolValues() []InboundEndpointProtocol {
return original.PossibleInboundEndpointProtocolValues()
}
func PossibleInterNodeCommunicationStateValues() []InterNodeCommunicationState {
return original.PossibleInterNodeCommunicationStateValues()
}
func PossibleNameAvailabilityReasonValues() []NameAvailabilityReason {
return original.PossibleNameAvailabilityReasonValues()
}
func PossibleNetworkSecurityGroupRuleAccessValues() []NetworkSecurityGroupRuleAccess {
return original.PossibleNetworkSecurityGroupRuleAccessValues()
}
func PossiblePackageStateValues() []PackageState {
return original.PossiblePackageStateValues()
}
func PossiblePoolAllocationModeValues() []PoolAllocationMode {
return original.PossiblePoolAllocationModeValues()
}
func PossiblePoolProvisioningStateValues() []PoolProvisioningState {
return original.PossiblePoolProvisioningStateValues()
}
func PossibleProvisioningStateValues() []ProvisioningState {
return original.PossibleProvisioningStateValues()
}
func PossibleStorageAccountTypeValues() []StorageAccountType {
return original.PossibleStorageAccountTypeValues()
}
func NewOperationsClient(subscriptionID string) OperationsClient {
return original.NewOperationsClient(subscriptionID)
}
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewPoolClient(subscriptionID string) PoolClient {
return original.NewPoolClient(subscriptionID)
}
func NewPoolClientWithBaseURI(baseURI string, subscriptionID string) PoolClient {
return original.NewPoolClientWithBaseURI(baseURI, subscriptionID)
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}

View File

@@ -1,299 +0,0 @@
// +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 batchai
import original "github.com/Azure/azure-sdk-for-go/services/batchai/mgmt/2018-03-01/batchai"
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type ClustersClient = original.ClustersClient
type FileServersClient = original.FileServersClient
type JobsClient = original.JobsClient
type AllocationState = original.AllocationState
const (
Resizing AllocationState = original.Resizing
Steady AllocationState = original.Steady
)
type CachingType = original.CachingType
const (
None CachingType = original.None
Readonly CachingType = original.Readonly
Readwrite CachingType = original.Readwrite
)
type DeallocationOption = original.DeallocationOption
const (
Requeue DeallocationOption = original.Requeue
Terminate DeallocationOption = original.Terminate
Unknown DeallocationOption = original.Unknown
Waitforjobcompletion DeallocationOption = original.Waitforjobcompletion
)
type ExecutionState = original.ExecutionState
const (
Failed ExecutionState = original.Failed
Queued ExecutionState = original.Queued
Running ExecutionState = original.Running
Succeeded ExecutionState = original.Succeeded
Terminating ExecutionState = original.Terminating
)
type FileServerProvisioningState = original.FileServerProvisioningState
const (
FileServerProvisioningStateCreating FileServerProvisioningState = original.FileServerProvisioningStateCreating
FileServerProvisioningStateDeleting FileServerProvisioningState = original.FileServerProvisioningStateDeleting
FileServerProvisioningStateFailed FileServerProvisioningState = original.FileServerProvisioningStateFailed
FileServerProvisioningStateSucceeded FileServerProvisioningState = original.FileServerProvisioningStateSucceeded
FileServerProvisioningStateUpdating FileServerProvisioningState = original.FileServerProvisioningStateUpdating
)
type FileServerType = original.FileServerType
const (
Glusterfs FileServerType = original.Glusterfs
Nfs FileServerType = original.Nfs
)
type OutputType = original.OutputType
const (
Custom OutputType = original.Custom
Logs OutputType = original.Logs
Model OutputType = original.Model
Summary OutputType = original.Summary
)
type ProvisioningState = original.ProvisioningState
const (
ProvisioningStateCreating ProvisioningState = original.ProvisioningStateCreating
ProvisioningStateDeleting ProvisioningState = original.ProvisioningStateDeleting
ProvisioningStateFailed ProvisioningState = original.ProvisioningStateFailed
ProvisioningStateSucceeded ProvisioningState = original.ProvisioningStateSucceeded
)
type StorageAccountType = original.StorageAccountType
const (
PremiumLRS StorageAccountType = original.PremiumLRS
StandardLRS StorageAccountType = original.StandardLRS
)
type ToolType = original.ToolType
const (
ToolTypeCaffe ToolType = original.ToolTypeCaffe
ToolTypeCaffe2 ToolType = original.ToolTypeCaffe2
ToolTypeChainer ToolType = original.ToolTypeChainer
ToolTypeCntk ToolType = original.ToolTypeCntk
ToolTypeCustom ToolType = original.ToolTypeCustom
ToolTypeTensorflow ToolType = original.ToolTypeTensorflow
)
type VMPriority = original.VMPriority
const (
Dedicated VMPriority = original.Dedicated
Lowpriority VMPriority = original.Lowpriority
)
type AppInsightsReference = original.AppInsightsReference
type AutoScaleSettings = original.AutoScaleSettings
type AzureBlobFileSystemReference = original.AzureBlobFileSystemReference
type AzureFileShareReference = original.AzureFileShareReference
type AzureStorageCredentialsInfo = original.AzureStorageCredentialsInfo
type Caffe2Settings = original.Caffe2Settings
type CaffeSettings = original.CaffeSettings
type ChainerSettings = original.ChainerSettings
type CloudError = original.CloudError
type CloudErrorBody = original.CloudErrorBody
type Cluster = original.Cluster
type ClusterBaseProperties = original.ClusterBaseProperties
type ClusterCreateParameters = original.ClusterCreateParameters
type ClusterListResult = original.ClusterListResult
type ClusterListResultIterator = original.ClusterListResultIterator
type ClusterListResultPage = original.ClusterListResultPage
type ClusterProperties = original.ClusterProperties
type ClustersCreateFuture = original.ClustersCreateFuture
type ClustersDeleteFuture = original.ClustersDeleteFuture
type ClusterUpdateParameters = original.ClusterUpdateParameters
type ClusterUpdateProperties = original.ClusterUpdateProperties
type CNTKsettings = original.CNTKsettings
type ContainerSettings = original.ContainerSettings
type CustomToolkitSettings = original.CustomToolkitSettings
type DataDisks = original.DataDisks
type EnvironmentVariable = original.EnvironmentVariable
type EnvironmentVariableWithSecretValue = original.EnvironmentVariableWithSecretValue
type Error = original.Error
type File = original.File
type FileListResult = original.FileListResult
type FileListResultIterator = original.FileListResultIterator
type FileListResultPage = original.FileListResultPage
type FileProperties = original.FileProperties
type FileServer = original.FileServer
type FileServerBaseProperties = original.FileServerBaseProperties
type FileServerCreateParameters = original.FileServerCreateParameters
type FileServerListResult = original.FileServerListResult
type FileServerListResultIterator = original.FileServerListResultIterator
type FileServerListResultPage = original.FileServerListResultPage
type FileServerProperties = original.FileServerProperties
type FileServerReference = original.FileServerReference
type FileServersCreateFuture = original.FileServersCreateFuture
type FileServersDeleteFuture = original.FileServersDeleteFuture
type ImageReference = original.ImageReference
type ImageSourceRegistry = original.ImageSourceRegistry
type InputDirectory = original.InputDirectory
type Job = original.Job
type JobBaseProperties = original.JobBaseProperties
type JobBasePropertiesConstraints = original.JobBasePropertiesConstraints
type JobCreateParameters = original.JobCreateParameters
type JobListResult = original.JobListResult
type JobListResultIterator = original.JobListResultIterator
type JobListResultPage = original.JobListResultPage
type JobPreparation = original.JobPreparation
type JobProperties = original.JobProperties
type JobPropertiesConstraints = original.JobPropertiesConstraints
type JobPropertiesExecutionInfo = original.JobPropertiesExecutionInfo
type JobsCreateFuture = original.JobsCreateFuture
type JobsDeleteFuture = original.JobsDeleteFuture
type JobsTerminateFuture = original.JobsTerminateFuture
type KeyVaultKeyReference = original.KeyVaultKeyReference
type KeyVaultSecretReference = original.KeyVaultSecretReference
type ListUsagesResult = original.ListUsagesResult
type ListUsagesResultIterator = original.ListUsagesResultIterator
type ListUsagesResultPage = original.ListUsagesResultPage
type LocalDataVolume = original.LocalDataVolume
type ManualScaleSettings = original.ManualScaleSettings
type MountSettings = original.MountSettings
type MountVolumes = original.MountVolumes
type NameValuePair = original.NameValuePair
type NodeSetup = original.NodeSetup
type NodeStateCounts = original.NodeStateCounts
type Operation = original.Operation
type OperationDisplay = original.OperationDisplay
type OperationListResult = original.OperationListResult
type OperationListResultIterator = original.OperationListResultIterator
type OperationListResultPage = original.OperationListResultPage
type OutputDirectory = original.OutputDirectory
type PerformanceCountersSettings = original.PerformanceCountersSettings
type PrivateRegistryCredentials = original.PrivateRegistryCredentials
type PyTorchSettings = original.PyTorchSettings
type RemoteLoginInformation = original.RemoteLoginInformation
type RemoteLoginInformationListResult = original.RemoteLoginInformationListResult
type RemoteLoginInformationListResultIterator = original.RemoteLoginInformationListResultIterator
type RemoteLoginInformationListResultPage = original.RemoteLoginInformationListResultPage
type Resource = original.Resource
type ResourceID = original.ResourceID
type ScaleSettings = original.ScaleSettings
type SetupTask = original.SetupTask
type SSHConfiguration = original.SSHConfiguration
type TensorFlowSettings = original.TensorFlowSettings
type UnmanagedFileSystemReference = original.UnmanagedFileSystemReference
type Usage = original.Usage
type UsageName = original.UsageName
type UserAccountSettings = original.UserAccountSettings
type VirtualMachineConfiguration = original.VirtualMachineConfiguration
type OperationsClient = original.OperationsClient
type UsageClient = original.UsageClient
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func NewClustersClient(subscriptionID string) ClustersClient {
return original.NewClustersClient(subscriptionID)
}
func NewClustersClientWithBaseURI(baseURI string, subscriptionID string) ClustersClient {
return original.NewClustersClientWithBaseURI(baseURI, subscriptionID)
}
func NewFileServersClient(subscriptionID string) FileServersClient {
return original.NewFileServersClient(subscriptionID)
}
func NewFileServersClientWithBaseURI(baseURI string, subscriptionID string) FileServersClient {
return original.NewFileServersClientWithBaseURI(baseURI, subscriptionID)
}
func NewJobsClient(subscriptionID string) JobsClient {
return original.NewJobsClient(subscriptionID)
}
func NewJobsClientWithBaseURI(baseURI string, subscriptionID string) JobsClient {
return original.NewJobsClientWithBaseURI(baseURI, subscriptionID)
}
func PossibleAllocationStateValues() []AllocationState {
return original.PossibleAllocationStateValues()
}
func PossibleCachingTypeValues() []CachingType {
return original.PossibleCachingTypeValues()
}
func PossibleDeallocationOptionValues() []DeallocationOption {
return original.PossibleDeallocationOptionValues()
}
func PossibleExecutionStateValues() []ExecutionState {
return original.PossibleExecutionStateValues()
}
func PossibleFileServerProvisioningStateValues() []FileServerProvisioningState {
return original.PossibleFileServerProvisioningStateValues()
}
func PossibleFileServerTypeValues() []FileServerType {
return original.PossibleFileServerTypeValues()
}
func PossibleOutputTypeValues() []OutputType {
return original.PossibleOutputTypeValues()
}
func PossibleProvisioningStateValues() []ProvisioningState {
return original.PossibleProvisioningStateValues()
}
func PossibleStorageAccountTypeValues() []StorageAccountType {
return original.PossibleStorageAccountTypeValues()
}
func PossibleToolTypeValues() []ToolType {
return original.PossibleToolTypeValues()
}
func PossibleVMPriorityValues() []VMPriority {
return original.PossibleVMPriorityValues()
}
func NewOperationsClient(subscriptionID string) OperationsClient {
return original.NewOperationsClient(subscriptionID)
}
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewUsageClient(subscriptionID string) UsageClient {
return original.NewUsageClient(subscriptionID)
}
func NewUsageClientWithBaseURI(baseURI string, subscriptionID string) UsageClient {
return original.NewUsageClientWithBaseURI(baseURI, subscriptionID)
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}

View File

@@ -1,192 +0,0 @@
// +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 computervision
import original "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/computervision"
type BaseClient = original.BaseClient
type AzureRegions = original.AzureRegions
const (
Australiaeast AzureRegions = original.Australiaeast
Brazilsouth AzureRegions = original.Brazilsouth
Eastasia AzureRegions = original.Eastasia
Eastus AzureRegions = original.Eastus
Eastus2 AzureRegions = original.Eastus2
Northeurope AzureRegions = original.Northeurope
Southcentralus AzureRegions = original.Southcentralus
Southeastasia AzureRegions = original.Southeastasia
Westcentralus AzureRegions = original.Westcentralus
Westeurope AzureRegions = original.Westeurope
Westus AzureRegions = original.Westus
Westus2 AzureRegions = original.Westus2
)
type Details = original.Details
const (
Celebrities Details = original.Celebrities
Landmarks Details = original.Landmarks
)
type ErrorCodes = original.ErrorCodes
const (
BadArgument ErrorCodes = original.BadArgument
FailedToProcess ErrorCodes = original.FailedToProcess
InternalServerError ErrorCodes = original.InternalServerError
InvalidDetails ErrorCodes = original.InvalidDetails
InvalidImageFormat ErrorCodes = original.InvalidImageFormat
InvalidImageSize ErrorCodes = original.InvalidImageSize
InvalidImageURL ErrorCodes = original.InvalidImageURL
NotSupportedImage ErrorCodes = original.NotSupportedImage
NotSupportedLanguage ErrorCodes = original.NotSupportedLanguage
NotSupportedVisualFeature ErrorCodes = original.NotSupportedVisualFeature
StorageException ErrorCodes = original.StorageException
Timeout ErrorCodes = original.Timeout
Unspecified ErrorCodes = original.Unspecified
)
type Gender = original.Gender
const (
Female Gender = original.Female
Male Gender = original.Male
)
type OcrLanguages = original.OcrLanguages
const (
Ar OcrLanguages = original.Ar
Cs OcrLanguages = original.Cs
Da OcrLanguages = original.Da
De OcrLanguages = original.De
El OcrLanguages = original.El
En OcrLanguages = original.En
Es OcrLanguages = original.Es
Fi OcrLanguages = original.Fi
Fr OcrLanguages = original.Fr
Hu OcrLanguages = original.Hu
It OcrLanguages = original.It
Ja OcrLanguages = original.Ja
Ko OcrLanguages = original.Ko
Nb OcrLanguages = original.Nb
Nl OcrLanguages = original.Nl
Pl OcrLanguages = original.Pl
Pt OcrLanguages = original.Pt
Ro OcrLanguages = original.Ro
Ru OcrLanguages = original.Ru
Sk OcrLanguages = original.Sk
SrCyrl OcrLanguages = original.SrCyrl
SrLatn OcrLanguages = original.SrLatn
Sv OcrLanguages = original.Sv
Tr OcrLanguages = original.Tr
Unk OcrLanguages = original.Unk
ZhHans OcrLanguages = original.ZhHans
ZhHant OcrLanguages = original.ZhHant
)
type TextOperationStatusCodes = original.TextOperationStatusCodes
const (
Failed TextOperationStatusCodes = original.Failed
NotStarted TextOperationStatusCodes = original.NotStarted
Running TextOperationStatusCodes = original.Running
Succeeded TextOperationStatusCodes = original.Succeeded
)
type VisualFeatureTypes = original.VisualFeatureTypes
const (
VisualFeatureTypesAdult VisualFeatureTypes = original.VisualFeatureTypesAdult
VisualFeatureTypesCategories VisualFeatureTypes = original.VisualFeatureTypesCategories
VisualFeatureTypesColor VisualFeatureTypes = original.VisualFeatureTypesColor
VisualFeatureTypesDescription VisualFeatureTypes = original.VisualFeatureTypesDescription
VisualFeatureTypesFaces VisualFeatureTypes = original.VisualFeatureTypesFaces
VisualFeatureTypesImageType VisualFeatureTypes = original.VisualFeatureTypesImageType
VisualFeatureTypesTags VisualFeatureTypes = original.VisualFeatureTypesTags
)
type AdultInfo = original.AdultInfo
type Category = original.Category
type CategoryDetail = original.CategoryDetail
type CelebritiesModel = original.CelebritiesModel
type CelebrityResults = original.CelebrityResults
type ColorInfo = original.ColorInfo
type DomainModelResults = original.DomainModelResults
type Error = original.Error
type FaceDescription = original.FaceDescription
type FaceRectangle = original.FaceRectangle
type ImageAnalysis = original.ImageAnalysis
type ImageCaption = original.ImageCaption
type ImageDescription = original.ImageDescription
type ImageDescriptionDetails = original.ImageDescriptionDetails
type ImageMetadata = original.ImageMetadata
type ImageTag = original.ImageTag
type ImageType = original.ImageType
type ImageURL = original.ImageURL
type LandmarkResults = original.LandmarkResults
type LandmarkResultsLandmarksItem = original.LandmarkResultsLandmarksItem
type Line = original.Line
type ListModelsResult = original.ListModelsResult
type ModelDescription = original.ModelDescription
type OcrLine = original.OcrLine
type OcrRegion = original.OcrRegion
type OcrResult = original.OcrResult
type OcrWord = original.OcrWord
type ReadCloser = original.ReadCloser
type RecognitionResult = original.RecognitionResult
type TagResult = original.TagResult
type TextOperationResult = original.TextOperationResult
type Word = original.Word
func New(azureRegion AzureRegions) BaseClient {
return original.New(azureRegion)
}
func NewWithoutDefaults(azureRegion AzureRegions) BaseClient {
return original.NewWithoutDefaults(azureRegion)
}
func PossibleAzureRegionsValues() []AzureRegions {
return original.PossibleAzureRegionsValues()
}
func PossibleDetailsValues() []Details {
return original.PossibleDetailsValues()
}
func PossibleErrorCodesValues() []ErrorCodes {
return original.PossibleErrorCodesValues()
}
func PossibleGenderValues() []Gender {
return original.PossibleGenderValues()
}
func PossibleOcrLanguagesValues() []OcrLanguages {
return original.PossibleOcrLanguagesValues()
}
func PossibleTextOperationStatusCodesValues() []TextOperationStatusCodes {
return original.PossibleTextOperationStatusCodesValues()
}
func PossibleVisualFeatureTypesValues() []VisualFeatureTypes {
return original.PossibleVisualFeatureTypesValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}

View File

@@ -1,173 +0,0 @@
// +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 contentmoderator
import original "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/contentmoderator"
type BaseClient = original.BaseClient
type ImageModerationClient = original.ImageModerationClient
type ListManagementImageClient = original.ListManagementImageClient
type ListManagementImageListsClient = original.ListManagementImageListsClient
type ListManagementTermClient = original.ListManagementTermClient
type ListManagementTermListsClient = original.ListManagementTermListsClient
type AzureRegionBaseURL = original.AzureRegionBaseURL
const (
Australiaeastapicognitivemicrosoftcom AzureRegionBaseURL = original.Australiaeastapicognitivemicrosoftcom
Brazilsouthapicognitivemicrosoftcom AzureRegionBaseURL = original.Brazilsouthapicognitivemicrosoftcom
ContentmoderatortestazureApinet AzureRegionBaseURL = original.ContentmoderatortestazureApinet
Eastasiaapicognitivemicrosoftcom AzureRegionBaseURL = original.Eastasiaapicognitivemicrosoftcom
Eastus2apicognitivemicrosoftcom AzureRegionBaseURL = original.Eastus2apicognitivemicrosoftcom
Eastusapicognitivemicrosoftcom AzureRegionBaseURL = original.Eastusapicognitivemicrosoftcom
Northeuropeapicognitivemicrosoftcom AzureRegionBaseURL = original.Northeuropeapicognitivemicrosoftcom
Southcentralusapicognitivemicrosoftcom AzureRegionBaseURL = original.Southcentralusapicognitivemicrosoftcom
Southeastasiaapicognitivemicrosoftcom AzureRegionBaseURL = original.Southeastasiaapicognitivemicrosoftcom
Westcentralusapicognitivemicrosoftcom AzureRegionBaseURL = original.Westcentralusapicognitivemicrosoftcom
Westeuropeapicognitivemicrosoftcom AzureRegionBaseURL = original.Westeuropeapicognitivemicrosoftcom
Westus2apicognitivemicrosoftcom AzureRegionBaseURL = original.Westus2apicognitivemicrosoftcom
Westusapicognitivemicrosoftcom AzureRegionBaseURL = original.Westusapicognitivemicrosoftcom
)
type StatusEnum = original.StatusEnum
const (
Complete StatusEnum = original.Complete
Pending StatusEnum = original.Pending
Unpublished StatusEnum = original.Unpublished
)
type Type = original.Type
const (
TypeImage Type = original.TypeImage
TypeText Type = original.TypeText
)
type Address = original.Address
type APIError = original.APIError
type Body = original.Body
type BodyMetadata = original.BodyMetadata
type BodyModel = original.BodyModel
type Candidate = original.Candidate
type Classification = original.Classification
type ClassificationCategory1 = original.ClassificationCategory1
type ClassificationCategory2 = original.ClassificationCategory2
type ClassificationCategory3 = original.ClassificationCategory3
type Content = original.Content
type CreateReviewBodyItem = original.CreateReviewBodyItem
type CreateReviewBodyItemMetadataItem = original.CreateReviewBodyItemMetadataItem
type CreateVideoReviewsBodyItem = original.CreateVideoReviewsBodyItem
type CreateVideoReviewsBodyItemMetadataItem = original.CreateVideoReviewsBodyItemMetadataItem
type CreateVideoReviewsBodyItemVideoFramesItem = original.CreateVideoReviewsBodyItemVideoFramesItem
type CreateVideoReviewsBodyItemVideoFramesItemMetadataItem = original.CreateVideoReviewsBodyItemVideoFramesItemMetadataItem
type CreateVideoReviewsBodyItemVideoFramesItemReviewerResultTagsItem = original.CreateVideoReviewsBodyItemVideoFramesItemReviewerResultTagsItem
type DetectedLanguage = original.DetectedLanguage
type DetectedTerms = original.DetectedTerms
type Email = original.Email
type Error = original.Error
type Evaluate = original.Evaluate
type Face = original.Face
type FoundFaces = original.FoundFaces
type Frame = original.Frame
type Frames = original.Frames
type Image = original.Image
type ImageAdditionalInfoItem = original.ImageAdditionalInfoItem
type ImageIds = original.ImageIds
type ImageList = original.ImageList
type ImageListMetadata = original.ImageListMetadata
type IPA = original.IPA
type Job = original.Job
type JobExecutionReportDetails = original.JobExecutionReportDetails
type JobID = original.JobID
type JobListResult = original.JobListResult
type KeyValuePair = original.KeyValuePair
type ListImageList = original.ListImageList
type ListString = original.ListString
type ListTermList = original.ListTermList
type Match = original.Match
type MatchResponse = original.MatchResponse
type OCR = original.OCR
type Phone = original.Phone
type PII = original.PII
type RefreshIndex = original.RefreshIndex
type RefreshIndexAdvancedInfoItem = original.RefreshIndexAdvancedInfoItem
type Review = original.Review
type Screen = original.Screen
type SetObject = original.SetObject
type SSN = original.SSN
type Status = original.Status
type String = original.String
type Tag = original.Tag
type TermList = original.TermList
type TermListMetadata = original.TermListMetadata
type Terms = original.Terms
type TermsData = original.TermsData
type TermsInList = original.TermsInList
type TermsPaging = original.TermsPaging
type TranscriptModerationBodyItem = original.TranscriptModerationBodyItem
type TranscriptModerationBodyItemTermsItem = original.TranscriptModerationBodyItemTermsItem
type VideoFrameBodyItem = original.VideoFrameBodyItem
type VideoFrameBodyItemMetadataItem = original.VideoFrameBodyItemMetadataItem
type VideoFrameBodyItemReviewerResultTagsItem = original.VideoFrameBodyItemReviewerResultTagsItem
type ReviewsClient = original.ReviewsClient
type TextModerationClient = original.TextModerationClient
func New(baseURL AzureRegionBaseURL) BaseClient {
return original.New(baseURL)
}
func NewWithoutDefaults(baseURL AzureRegionBaseURL) BaseClient {
return original.NewWithoutDefaults(baseURL)
}
func NewImageModerationClient(baseURL AzureRegionBaseURL) ImageModerationClient {
return original.NewImageModerationClient(baseURL)
}
func NewListManagementImageClient(baseURL AzureRegionBaseURL) ListManagementImageClient {
return original.NewListManagementImageClient(baseURL)
}
func NewListManagementImageListsClient(baseURL AzureRegionBaseURL) ListManagementImageListsClient {
return original.NewListManagementImageListsClient(baseURL)
}
func NewListManagementTermClient(baseURL AzureRegionBaseURL) ListManagementTermClient {
return original.NewListManagementTermClient(baseURL)
}
func NewListManagementTermListsClient(baseURL AzureRegionBaseURL) ListManagementTermListsClient {
return original.NewListManagementTermListsClient(baseURL)
}
func PossibleAzureRegionBaseURLValues() []AzureRegionBaseURL {
return original.PossibleAzureRegionBaseURLValues()
}
func PossibleStatusEnumValues() []StatusEnum {
return original.PossibleStatusEnumValues()
}
func PossibleTypeValues() []Type {
return original.PossibleTypeValues()
}
func NewReviewsClient(baseURL AzureRegionBaseURL) ReviewsClient {
return original.NewReviewsClient(baseURL)
}
func NewTextModerationClient(baseURL AzureRegionBaseURL) TextModerationClient {
return original.NewTextModerationClient(baseURL)
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}

View File

@@ -1,143 +0,0 @@
// +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 customsearch
import original "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/customsearch"
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type CustomInstanceClient = original.CustomInstanceClient
type ErrorCode = original.ErrorCode
const (
InsufficientAuthorization ErrorCode = original.InsufficientAuthorization
InvalidAuthorization ErrorCode = original.InvalidAuthorization
InvalidRequest ErrorCode = original.InvalidRequest
None ErrorCode = original.None
RateLimitExceeded ErrorCode = original.RateLimitExceeded
ServerError ErrorCode = original.ServerError
)
type ErrorSubCode = original.ErrorSubCode
const (
AuthorizationDisabled ErrorSubCode = original.AuthorizationDisabled
AuthorizationExpired ErrorSubCode = original.AuthorizationExpired
AuthorizationMissing ErrorSubCode = original.AuthorizationMissing
AuthorizationRedundancy ErrorSubCode = original.AuthorizationRedundancy
Blocked ErrorSubCode = original.Blocked
HTTPNotAllowed ErrorSubCode = original.HTTPNotAllowed
NotImplemented ErrorSubCode = original.NotImplemented
ParameterInvalidValue ErrorSubCode = original.ParameterInvalidValue
ParameterMissing ErrorSubCode = original.ParameterMissing
ResourceError ErrorSubCode = original.ResourceError
UnexpectedError ErrorSubCode = original.UnexpectedError
)
type SafeSearch = original.SafeSearch
const (
Moderate SafeSearch = original.Moderate
Off SafeSearch = original.Off
Strict SafeSearch = original.Strict
)
type TextFormat = original.TextFormat
const (
HTML TextFormat = original.HTML
Raw TextFormat = original.Raw
)
type Type = original.Type
const (
TypeAnswer Type = original.TypeAnswer
TypeCreativeWork Type = original.TypeCreativeWork
TypeErrorResponse Type = original.TypeErrorResponse
TypeIdentifiable Type = original.TypeIdentifiable
TypeResponse Type = original.TypeResponse
TypeResponseBase Type = original.TypeResponseBase
TypeSearchResponse Type = original.TypeSearchResponse
TypeSearchResultsAnswer Type = original.TypeSearchResultsAnswer
TypeThing Type = original.TypeThing
TypeWebPage Type = original.TypeWebPage
TypeWebWebAnswer Type = original.TypeWebWebAnswer
)
type BasicAnswer = original.BasicAnswer
type Answer = original.Answer
type BasicCreativeWork = original.BasicCreativeWork
type CreativeWork = original.CreativeWork
type Error = original.Error
type ErrorResponse = original.ErrorResponse
type BasicIdentifiable = original.BasicIdentifiable
type Identifiable = original.Identifiable
type Query = original.Query
type QueryContext = original.QueryContext
type BasicResponse = original.BasicResponse
type Response = original.Response
type BasicResponseBase = original.BasicResponseBase
type ResponseBase = original.ResponseBase
type SearchResponse = original.SearchResponse
type BasicSearchResultsAnswer = original.BasicSearchResultsAnswer
type SearchResultsAnswer = original.SearchResultsAnswer
type BasicThing = original.BasicThing
type Thing = original.Thing
type WebMetaTag = original.WebMetaTag
type WebPage = original.WebPage
type WebWebAnswer = original.WebWebAnswer
func New() BaseClient {
return original.New()
}
func NewWithBaseURI(baseURI string) BaseClient {
return original.NewWithBaseURI(baseURI)
}
func NewCustomInstanceClient() CustomInstanceClient {
return original.NewCustomInstanceClient()
}
func NewCustomInstanceClientWithBaseURI(baseURI string) CustomInstanceClient {
return original.NewCustomInstanceClientWithBaseURI(baseURI)
}
func PossibleErrorCodeValues() []ErrorCode {
return original.PossibleErrorCodeValues()
}
func PossibleErrorSubCodeValues() []ErrorSubCode {
return original.PossibleErrorSubCodeValues()
}
func PossibleSafeSearchValues() []SafeSearch {
return original.PossibleSafeSearchValues()
}
func PossibleTextFormatValues() []TextFormat {
return original.PossibleTextFormatValues()
}
func PossibleTypeValues() []Type {
return original.PossibleTypeValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}

View File

@@ -1,300 +0,0 @@
// +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 entitysearch
import original "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/entitysearch"
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type EntitiesClient = original.EntitiesClient
type AnswerType = original.AnswerType
const (
AnswerTypeEntities AnswerType = original.AnswerTypeEntities
AnswerTypePlaces AnswerType = original.AnswerTypePlaces
)
type EntityQueryScenario = original.EntityQueryScenario
const (
Disambiguation EntityQueryScenario = original.Disambiguation
DominantEntity EntityQueryScenario = original.DominantEntity
DominantEntityWithDisambiguation EntityQueryScenario = original.DominantEntityWithDisambiguation
List EntityQueryScenario = original.List
ListWithPivot EntityQueryScenario = original.ListWithPivot
)
type EntityScenario = original.EntityScenario
const (
EntityScenarioDisambiguationItem EntityScenario = original.EntityScenarioDisambiguationItem
EntityScenarioDominantEntity EntityScenario = original.EntityScenarioDominantEntity
EntityScenarioListItem EntityScenario = original.EntityScenarioListItem
)
type EntityType = original.EntityType
const (
EntityTypeActor EntityType = original.EntityTypeActor
EntityTypeAnimal EntityType = original.EntityTypeAnimal
EntityTypeArtist EntityType = original.EntityTypeArtist
EntityTypeAttorney EntityType = original.EntityTypeAttorney
EntityTypeAttraction EntityType = original.EntityTypeAttraction
EntityTypeBook EntityType = original.EntityTypeBook
EntityTypeCar EntityType = original.EntityTypeCar
EntityTypeCity EntityType = original.EntityTypeCity
EntityTypeCollegeOrUniversity EntityType = original.EntityTypeCollegeOrUniversity
EntityTypeComposition EntityType = original.EntityTypeComposition
EntityTypeContinent EntityType = original.EntityTypeContinent
EntityTypeCountry EntityType = original.EntityTypeCountry
EntityTypeDrug EntityType = original.EntityTypeDrug
EntityTypeEvent EntityType = original.EntityTypeEvent
EntityTypeFood EntityType = original.EntityTypeFood
EntityTypeGeneric EntityType = original.EntityTypeGeneric
EntityTypeHotel EntityType = original.EntityTypeHotel
EntityTypeHouse EntityType = original.EntityTypeHouse
EntityTypeLocalBusiness EntityType = original.EntityTypeLocalBusiness
EntityTypeLocality EntityType = original.EntityTypeLocality
EntityTypeMedia EntityType = original.EntityTypeMedia
EntityTypeMinorRegion EntityType = original.EntityTypeMinorRegion
EntityTypeMovie EntityType = original.EntityTypeMovie
EntityTypeMusicAlbum EntityType = original.EntityTypeMusicAlbum
EntityTypeMusicGroup EntityType = original.EntityTypeMusicGroup
EntityTypeMusicRecording EntityType = original.EntityTypeMusicRecording
EntityTypeNeighborhood EntityType = original.EntityTypeNeighborhood
EntityTypeOrganization EntityType = original.EntityTypeOrganization
EntityTypeOther EntityType = original.EntityTypeOther
EntityTypePerson EntityType = original.EntityTypePerson
EntityTypePlace EntityType = original.EntityTypePlace
EntityTypePointOfInterest EntityType = original.EntityTypePointOfInterest
EntityTypePostalCode EntityType = original.EntityTypePostalCode
EntityTypeProduct EntityType = original.EntityTypeProduct
EntityTypeRadioStation EntityType = original.EntityTypeRadioStation
EntityTypeRegion EntityType = original.EntityTypeRegion
EntityTypeRestaurant EntityType = original.EntityTypeRestaurant
EntityTypeSchool EntityType = original.EntityTypeSchool
EntityTypeSpeciality EntityType = original.EntityTypeSpeciality
EntityTypeSportsTeam EntityType = original.EntityTypeSportsTeam
EntityTypeState EntityType = original.EntityTypeState
EntityTypeStreetAddress EntityType = original.EntityTypeStreetAddress
EntityTypeSubRegion EntityType = original.EntityTypeSubRegion
EntityTypeTelevisionSeason EntityType = original.EntityTypeTelevisionSeason
EntityTypeTelevisionShow EntityType = original.EntityTypeTelevisionShow
EntityTypeTheaterPlay EntityType = original.EntityTypeTheaterPlay
EntityTypeTouristAttraction EntityType = original.EntityTypeTouristAttraction
EntityTypeTravel EntityType = original.EntityTypeTravel
EntityTypeVideoGame EntityType = original.EntityTypeVideoGame
)
type ErrorCode = original.ErrorCode
const (
InsufficientAuthorization ErrorCode = original.InsufficientAuthorization
InvalidAuthorization ErrorCode = original.InvalidAuthorization
InvalidRequest ErrorCode = original.InvalidRequest
None ErrorCode = original.None
RateLimitExceeded ErrorCode = original.RateLimitExceeded
ServerError ErrorCode = original.ServerError
)
type ErrorSubCode = original.ErrorSubCode
const (
AuthorizationDisabled ErrorSubCode = original.AuthorizationDisabled
AuthorizationExpired ErrorSubCode = original.AuthorizationExpired
AuthorizationMissing ErrorSubCode = original.AuthorizationMissing
AuthorizationRedundancy ErrorSubCode = original.AuthorizationRedundancy
Blocked ErrorSubCode = original.Blocked
HTTPNotAllowed ErrorSubCode = original.HTTPNotAllowed
NotImplemented ErrorSubCode = original.NotImplemented
ParameterInvalidValue ErrorSubCode = original.ParameterInvalidValue
ParameterMissing ErrorSubCode = original.ParameterMissing
ResourceError ErrorSubCode = original.ResourceError
UnexpectedError ErrorSubCode = original.UnexpectedError
)
type ResponseFormat = original.ResponseFormat
const (
JSON ResponseFormat = original.JSON
JSONLd ResponseFormat = original.JSONLd
)
type SafeSearch = original.SafeSearch
const (
Moderate SafeSearch = original.Moderate
Off SafeSearch = original.Off
Strict SafeSearch = original.Strict
)
type Type = original.Type
const (
TypeContractualRulesAttribution Type = original.TypeContractualRulesAttribution
TypeContractualRulesContractualRule Type = original.TypeContractualRulesContractualRule
TypeContractualRulesLicenseAttribution Type = original.TypeContractualRulesLicenseAttribution
TypeContractualRulesLinkAttribution Type = original.TypeContractualRulesLinkAttribution
TypeContractualRulesMediaAttribution Type = original.TypeContractualRulesMediaAttribution
TypeContractualRulesTextAttribution Type = original.TypeContractualRulesTextAttribution
)
type TypeBasicResponseBase = original.TypeBasicResponseBase
const (
TypeAirport TypeBasicResponseBase = original.TypeAirport
TypeAnswer TypeBasicResponseBase = original.TypeAnswer
TypeCivicStructure TypeBasicResponseBase = original.TypeCivicStructure
TypeCreativeWork TypeBasicResponseBase = original.TypeCreativeWork
TypeEntertainmentBusiness TypeBasicResponseBase = original.TypeEntertainmentBusiness
TypeEntities TypeBasicResponseBase = original.TypeEntities
TypeErrorResponse TypeBasicResponseBase = original.TypeErrorResponse
TypeFoodEstablishment TypeBasicResponseBase = original.TypeFoodEstablishment
TypeHotel TypeBasicResponseBase = original.TypeHotel
TypeIdentifiable TypeBasicResponseBase = original.TypeIdentifiable
TypeImageObject TypeBasicResponseBase = original.TypeImageObject
TypeIntangible TypeBasicResponseBase = original.TypeIntangible
TypeLicense TypeBasicResponseBase = original.TypeLicense
TypeLocalBusiness TypeBasicResponseBase = original.TypeLocalBusiness
TypeLodgingBusiness TypeBasicResponseBase = original.TypeLodgingBusiness
TypeMediaObject TypeBasicResponseBase = original.TypeMediaObject
TypeMovieTheater TypeBasicResponseBase = original.TypeMovieTheater
TypeOrganization TypeBasicResponseBase = original.TypeOrganization
TypePlace TypeBasicResponseBase = original.TypePlace
TypePlaces TypeBasicResponseBase = original.TypePlaces
TypePostalAddress TypeBasicResponseBase = original.TypePostalAddress
TypeResponse TypeBasicResponseBase = original.TypeResponse
TypeResponseBase TypeBasicResponseBase = original.TypeResponseBase
TypeRestaurant TypeBasicResponseBase = original.TypeRestaurant
TypeSearchResponse TypeBasicResponseBase = original.TypeSearchResponse
TypeSearchResultsAnswer TypeBasicResponseBase = original.TypeSearchResultsAnswer
TypeStructuredValue TypeBasicResponseBase = original.TypeStructuredValue
TypeThing TypeBasicResponseBase = original.TypeThing
TypeTouristAttraction TypeBasicResponseBase = original.TypeTouristAttraction
)
type Airport = original.Airport
type BasicAnswer = original.BasicAnswer
type Answer = original.Answer
type BasicCivicStructure = original.BasicCivicStructure
type CivicStructure = original.CivicStructure
type BasicContractualRulesAttribution = original.BasicContractualRulesAttribution
type ContractualRulesAttribution = original.ContractualRulesAttribution
type BasicContractualRulesContractualRule = original.BasicContractualRulesContractualRule
type ContractualRulesContractualRule = original.ContractualRulesContractualRule
type ContractualRulesLicenseAttribution = original.ContractualRulesLicenseAttribution
type ContractualRulesLinkAttribution = original.ContractualRulesLinkAttribution
type ContractualRulesMediaAttribution = original.ContractualRulesMediaAttribution
type ContractualRulesTextAttribution = original.ContractualRulesTextAttribution
type BasicCreativeWork = original.BasicCreativeWork
type CreativeWork = original.CreativeWork
type BasicEntertainmentBusiness = original.BasicEntertainmentBusiness
type EntertainmentBusiness = original.EntertainmentBusiness
type Entities = original.Entities
type EntitiesEntityPresentationInfo = original.EntitiesEntityPresentationInfo
type Error = original.Error
type ErrorResponse = original.ErrorResponse
type BasicFoodEstablishment = original.BasicFoodEstablishment
type FoodEstablishment = original.FoodEstablishment
type Hotel = original.Hotel
type BasicIdentifiable = original.BasicIdentifiable
type Identifiable = original.Identifiable
type ImageObject = original.ImageObject
type BasicIntangible = original.BasicIntangible
type Intangible = original.Intangible
type License = original.License
type BasicLocalBusiness = original.BasicLocalBusiness
type LocalBusiness = original.LocalBusiness
type BasicLodgingBusiness = original.BasicLodgingBusiness
type LodgingBusiness = original.LodgingBusiness
type BasicMediaObject = original.BasicMediaObject
type MediaObject = original.MediaObject
type MovieTheater = original.MovieTheater
type Organization = original.Organization
type BasicPlace = original.BasicPlace
type Place = original.Place
type Places = original.Places
type PostalAddress = original.PostalAddress
type QueryContext = original.QueryContext
type BasicResponse = original.BasicResponse
type Response = original.Response
type BasicResponseBase = original.BasicResponseBase
type ResponseBase = original.ResponseBase
type Restaurant = original.Restaurant
type SearchResponse = original.SearchResponse
type BasicSearchResultsAnswer = original.BasicSearchResultsAnswer
type SearchResultsAnswer = original.SearchResultsAnswer
type BasicStructuredValue = original.BasicStructuredValue
type StructuredValue = original.StructuredValue
type BasicThing = original.BasicThing
type Thing = original.Thing
type TouristAttraction = original.TouristAttraction
func New() BaseClient {
return original.New()
}
func NewWithBaseURI(baseURI string) BaseClient {
return original.NewWithBaseURI(baseURI)
}
func NewEntitiesClient() EntitiesClient {
return original.NewEntitiesClient()
}
func NewEntitiesClientWithBaseURI(baseURI string) EntitiesClient {
return original.NewEntitiesClientWithBaseURI(baseURI)
}
func PossibleAnswerTypeValues() []AnswerType {
return original.PossibleAnswerTypeValues()
}
func PossibleEntityQueryScenarioValues() []EntityQueryScenario {
return original.PossibleEntityQueryScenarioValues()
}
func PossibleEntityScenarioValues() []EntityScenario {
return original.PossibleEntityScenarioValues()
}
func PossibleEntityTypeValues() []EntityType {
return original.PossibleEntityTypeValues()
}
func PossibleErrorCodeValues() []ErrorCode {
return original.PossibleErrorCodeValues()
}
func PossibleErrorSubCodeValues() []ErrorSubCode {
return original.PossibleErrorSubCodeValues()
}
func PossibleResponseFormatValues() []ResponseFormat {
return original.PossibleResponseFormatValues()
}
func PossibleSafeSearchValues() []SafeSearch {
return original.PossibleSafeSearchValues()
}
func PossibleTypeValues() []Type {
return original.PossibleTypeValues()
}
func PossibleTypeBasicResponseBaseValues() []TypeBasicResponseBase {
return original.PossibleTypeBasicResponseBaseValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}

View File

@@ -1,246 +0,0 @@
// +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 face
import original "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/face"
type BaseClient = original.BaseClient
type Client = original.Client
type ListClient = original.ListClient
type AccessoryType = original.AccessoryType
const (
Glasses AccessoryType = original.Glasses
HeadWear AccessoryType = original.HeadWear
Mask AccessoryType = original.Mask
)
type AttributeType = original.AttributeType
const (
AttributeTypeAccessories AttributeType = original.AttributeTypeAccessories
AttributeTypeAge AttributeType = original.AttributeTypeAge
AttributeTypeBlur AttributeType = original.AttributeTypeBlur
AttributeTypeEmotion AttributeType = original.AttributeTypeEmotion
AttributeTypeExposure AttributeType = original.AttributeTypeExposure
AttributeTypeFacialHair AttributeType = original.AttributeTypeFacialHair
AttributeTypeGender AttributeType = original.AttributeTypeGender
AttributeTypeGlasses AttributeType = original.AttributeTypeGlasses
AttributeTypeHair AttributeType = original.AttributeTypeHair
AttributeTypeHeadPose AttributeType = original.AttributeTypeHeadPose
AttributeTypeMakeup AttributeType = original.AttributeTypeMakeup
AttributeTypeNoise AttributeType = original.AttributeTypeNoise
AttributeTypeOcclusion AttributeType = original.AttributeTypeOcclusion
AttributeTypeSmile AttributeType = original.AttributeTypeSmile
)
type AzureRegions = original.AzureRegions
const (
Australiaeast AzureRegions = original.Australiaeast
Brazilsouth AzureRegions = original.Brazilsouth
Canadacentral AzureRegions = original.Canadacentral
Centralindia AzureRegions = original.Centralindia
Eastasia AzureRegions = original.Eastasia
Eastus AzureRegions = original.Eastus
Eastus2 AzureRegions = original.Eastus2
Japaneast AzureRegions = original.Japaneast
Northeurope AzureRegions = original.Northeurope
Southcentralus AzureRegions = original.Southcentralus
Southeastasia AzureRegions = original.Southeastasia
Uksouth AzureRegions = original.Uksouth
Westcentralus AzureRegions = original.Westcentralus
Westeurope AzureRegions = original.Westeurope
Westus AzureRegions = original.Westus
Westus2 AzureRegions = original.Westus2
)
type BlurLevel = original.BlurLevel
const (
High BlurLevel = original.High
Low BlurLevel = original.Low
Medium BlurLevel = original.Medium
)
type ExposureLevel = original.ExposureLevel
const (
GoodExposure ExposureLevel = original.GoodExposure
OverExposure ExposureLevel = original.OverExposure
UnderExposure ExposureLevel = original.UnderExposure
)
type FindSimilarMatchMode = original.FindSimilarMatchMode
const (
MatchFace FindSimilarMatchMode = original.MatchFace
MatchPerson FindSimilarMatchMode = original.MatchPerson
)
type Gender = original.Gender
const (
Female Gender = original.Female
Genderless Gender = original.Genderless
Male Gender = original.Male
)
type GlassesType = original.GlassesType
const (
NoGlasses GlassesType = original.NoGlasses
ReadingGlasses GlassesType = original.ReadingGlasses
Sunglasses GlassesType = original.Sunglasses
SwimmingGoggles GlassesType = original.SwimmingGoggles
)
type HairColorType = original.HairColorType
const (
Black HairColorType = original.Black
Blond HairColorType = original.Blond
Brown HairColorType = original.Brown
Gray HairColorType = original.Gray
Other HairColorType = original.Other
Red HairColorType = original.Red
Unknown HairColorType = original.Unknown
White HairColorType = original.White
)
type NoiseLevel = original.NoiseLevel
const (
NoiseLevelHigh NoiseLevel = original.NoiseLevelHigh
NoiseLevelLow NoiseLevel = original.NoiseLevelLow
NoiseLevelMedium NoiseLevel = original.NoiseLevelMedium
)
type TrainingStatusType = original.TrainingStatusType
const (
Failed TrainingStatusType = original.Failed
Nonstarted TrainingStatusType = original.Nonstarted
Running TrainingStatusType = original.Running
Succeeded TrainingStatusType = original.Succeeded
)
type Accessory = original.Accessory
type APIError = original.APIError
type Attributes = original.Attributes
type Blur = original.Blur
type Coordinate = original.Coordinate
type DetectedFace = original.DetectedFace
type Emotion = original.Emotion
type Error = original.Error
type Exposure = original.Exposure
type FacialHair = original.FacialHair
type FindSimilarRequest = original.FindSimilarRequest
type GroupRequest = original.GroupRequest
type GroupResult = original.GroupResult
type Hair = original.Hair
type HairColor = original.HairColor
type HeadPose = original.HeadPose
type IdentifyCandidate = original.IdentifyCandidate
type IdentifyRequest = original.IdentifyRequest
type IdentifyResult = original.IdentifyResult
type ImageURL = original.ImageURL
type Landmarks = original.Landmarks
type List = original.List
type ListDetectedFace = original.ListDetectedFace
type ListIdentifyResult = original.ListIdentifyResult
type ListList = original.ListList
type ListPerson = original.ListPerson
type ListPersonGroup = original.ListPersonGroup
type ListSimilarFace = original.ListSimilarFace
type Makeup = original.Makeup
type NameAndUserDataContract = original.NameAndUserDataContract
type Noise = original.Noise
type Occlusion = original.Occlusion
type PersistedFace = original.PersistedFace
type Person = original.Person
type PersonGroup = original.PersonGroup
type Rectangle = original.Rectangle
type SimilarFace = original.SimilarFace
type TrainingStatus = original.TrainingStatus
type UpdatePersonFaceRequest = original.UpdatePersonFaceRequest
type VerifyFaceToFaceRequest = original.VerifyFaceToFaceRequest
type VerifyFaceToPersonRequest = original.VerifyFaceToPersonRequest
type VerifyResult = original.VerifyResult
type PersonGroupClient = original.PersonGroupClient
type PersonGroupPersonClient = original.PersonGroupPersonClient
func New(azureRegion AzureRegions) BaseClient {
return original.New(azureRegion)
}
func NewWithoutDefaults(azureRegion AzureRegions) BaseClient {
return original.NewWithoutDefaults(azureRegion)
}
func NewClient(azureRegion AzureRegions) Client {
return original.NewClient(azureRegion)
}
func NewListClient(azureRegion AzureRegions) ListClient {
return original.NewListClient(azureRegion)
}
func PossibleAccessoryTypeValues() []AccessoryType {
return original.PossibleAccessoryTypeValues()
}
func PossibleAttributeTypeValues() []AttributeType {
return original.PossibleAttributeTypeValues()
}
func PossibleAzureRegionsValues() []AzureRegions {
return original.PossibleAzureRegionsValues()
}
func PossibleBlurLevelValues() []BlurLevel {
return original.PossibleBlurLevelValues()
}
func PossibleExposureLevelValues() []ExposureLevel {
return original.PossibleExposureLevelValues()
}
func PossibleFindSimilarMatchModeValues() []FindSimilarMatchMode {
return original.PossibleFindSimilarMatchModeValues()
}
func PossibleGenderValues() []Gender {
return original.PossibleGenderValues()
}
func PossibleGlassesTypeValues() []GlassesType {
return original.PossibleGlassesTypeValues()
}
func PossibleHairColorTypeValues() []HairColorType {
return original.PossibleHairColorTypeValues()
}
func PossibleNoiseLevelValues() []NoiseLevel {
return original.PossibleNoiseLevelValues()
}
func PossibleTrainingStatusTypeValues() []TrainingStatusType {
return original.PossibleTrainingStatusTypeValues()
}
func NewPersonGroupClient(azureRegion AzureRegions) PersonGroupClient {
return original.NewPersonGroupClient(azureRegion)
}
func NewPersonGroupPersonClient(azureRegion AzureRegions) PersonGroupPersonClient {
return original.NewPersonGroupPersonClient(azureRegion)
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}

View File

@@ -1,507 +0,0 @@
// +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 imagesearch
import original "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/imagesearch"
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type ImagesClient = original.ImagesClient
type Currency = original.Currency
const (
AED Currency = original.AED
AFN Currency = original.AFN
ALL Currency = original.ALL
AMD Currency = original.AMD
ANG Currency = original.ANG
AOA Currency = original.AOA
ARS Currency = original.ARS
AUD Currency = original.AUD
AWG Currency = original.AWG
AZN Currency = original.AZN
BAM Currency = original.BAM
BBD Currency = original.BBD
BDT Currency = original.BDT
BGN Currency = original.BGN
BHD Currency = original.BHD
BIF Currency = original.BIF
BMD Currency = original.BMD
BND Currency = original.BND
BOB Currency = original.BOB
BOV Currency = original.BOV
BRL Currency = original.BRL
BSD Currency = original.BSD
BTN Currency = original.BTN
BWP Currency = original.BWP
BYR Currency = original.BYR
BZD Currency = original.BZD
CAD Currency = original.CAD
CDF Currency = original.CDF
CHE Currency = original.CHE
CHF Currency = original.CHF
CHW Currency = original.CHW
CLF Currency = original.CLF
CLP Currency = original.CLP
CNY Currency = original.CNY
COP Currency = original.COP
COU Currency = original.COU
CRC Currency = original.CRC
CUC Currency = original.CUC
CUP Currency = original.CUP
CVE Currency = original.CVE
CZK Currency = original.CZK
DJF Currency = original.DJF
DKK Currency = original.DKK
DOP Currency = original.DOP
DZD Currency = original.DZD
EGP Currency = original.EGP
ERN Currency = original.ERN
ETB Currency = original.ETB
EUR Currency = original.EUR
FJD Currency = original.FJD
FKP Currency = original.FKP
GBP Currency = original.GBP
GEL Currency = original.GEL
GHS Currency = original.GHS
GIP Currency = original.GIP
GMD Currency = original.GMD
GNF Currency = original.GNF
GTQ Currency = original.GTQ
GYD Currency = original.GYD
HKD Currency = original.HKD
HNL Currency = original.HNL
HRK Currency = original.HRK
HTG Currency = original.HTG
HUF Currency = original.HUF
IDR Currency = original.IDR
ILS Currency = original.ILS
INR Currency = original.INR
IQD Currency = original.IQD
IRR Currency = original.IRR
ISK Currency = original.ISK
JMD Currency = original.JMD
JOD Currency = original.JOD
JPY Currency = original.JPY
KES Currency = original.KES
KGS Currency = original.KGS
KHR Currency = original.KHR
KMF Currency = original.KMF
KPW Currency = original.KPW
KRW Currency = original.KRW
KWD Currency = original.KWD
KYD Currency = original.KYD
KZT Currency = original.KZT
LAK Currency = original.LAK
LBP Currency = original.LBP
LKR Currency = original.LKR
LRD Currency = original.LRD
LSL Currency = original.LSL
LYD Currency = original.LYD
MAD Currency = original.MAD
MDL Currency = original.MDL
MGA Currency = original.MGA
MKD Currency = original.MKD
MMK Currency = original.MMK
MNT Currency = original.MNT
MOP Currency = original.MOP
MRO Currency = original.MRO
MUR Currency = original.MUR
MVR Currency = original.MVR
MWK Currency = original.MWK
MXN Currency = original.MXN
MXV Currency = original.MXV
MYR Currency = original.MYR
MZN Currency = original.MZN
NAD Currency = original.NAD
NGN Currency = original.NGN
NIO Currency = original.NIO
NOK Currency = original.NOK
NPR Currency = original.NPR
NZD Currency = original.NZD
OMR Currency = original.OMR
PAB Currency = original.PAB
PEN Currency = original.PEN
PGK Currency = original.PGK
PHP Currency = original.PHP
PKR Currency = original.PKR
PLN Currency = original.PLN
PYG Currency = original.PYG
QAR Currency = original.QAR
RON Currency = original.RON
RSD Currency = original.RSD
RUB Currency = original.RUB
RWF Currency = original.RWF
SAR Currency = original.SAR
SBD Currency = original.SBD
SCR Currency = original.SCR
SDG Currency = original.SDG
SEK Currency = original.SEK
SGD Currency = original.SGD
SHP Currency = original.SHP
SLL Currency = original.SLL
SOS Currency = original.SOS
SRD Currency = original.SRD
SSP Currency = original.SSP
STD Currency = original.STD
SYP Currency = original.SYP
SZL Currency = original.SZL
THB Currency = original.THB
TJS Currency = original.TJS
TMT Currency = original.TMT
TND Currency = original.TND
TOP Currency = original.TOP
TRY Currency = original.TRY
TTD Currency = original.TTD
TWD Currency = original.TWD
TZS Currency = original.TZS
UAH Currency = original.UAH
UGX Currency = original.UGX
USD Currency = original.USD
UYU Currency = original.UYU
UZS Currency = original.UZS
VEF Currency = original.VEF
VND Currency = original.VND
VUV Currency = original.VUV
WST Currency = original.WST
XAF Currency = original.XAF
XCD Currency = original.XCD
XOF Currency = original.XOF
XPF Currency = original.XPF
YER Currency = original.YER
ZAR Currency = original.ZAR
ZMW Currency = original.ZMW
)
type ErrorCode = original.ErrorCode
const (
InsufficientAuthorization ErrorCode = original.InsufficientAuthorization
InvalidAuthorization ErrorCode = original.InvalidAuthorization
InvalidRequest ErrorCode = original.InvalidRequest
None ErrorCode = original.None
RateLimitExceeded ErrorCode = original.RateLimitExceeded
ServerError ErrorCode = original.ServerError
)
type ErrorSubCode = original.ErrorSubCode
const (
AuthorizationDisabled ErrorSubCode = original.AuthorizationDisabled
AuthorizationExpired ErrorSubCode = original.AuthorizationExpired
AuthorizationMissing ErrorSubCode = original.AuthorizationMissing
AuthorizationRedundancy ErrorSubCode = original.AuthorizationRedundancy
Blocked ErrorSubCode = original.Blocked
HTTPNotAllowed ErrorSubCode = original.HTTPNotAllowed
NotImplemented ErrorSubCode = original.NotImplemented
ParameterInvalidValue ErrorSubCode = original.ParameterInvalidValue
ParameterMissing ErrorSubCode = original.ParameterMissing
ResourceError ErrorSubCode = original.ResourceError
UnexpectedError ErrorSubCode = original.UnexpectedError
)
type Freshness = original.Freshness
const (
Day Freshness = original.Day
Month Freshness = original.Month
Week Freshness = original.Week
)
type ImageAspect = original.ImageAspect
const (
All ImageAspect = original.All
Square ImageAspect = original.Square
Tall ImageAspect = original.Tall
Wide ImageAspect = original.Wide
)
type ImageColor = original.ImageColor
const (
Black ImageColor = original.Black
Blue ImageColor = original.Blue
Brown ImageColor = original.Brown
ColorOnly ImageColor = original.ColorOnly
Gray ImageColor = original.Gray
Green ImageColor = original.Green
Monochrome ImageColor = original.Monochrome
Orange ImageColor = original.Orange
Pink ImageColor = original.Pink
Purple ImageColor = original.Purple
Red ImageColor = original.Red
Teal ImageColor = original.Teal
White ImageColor = original.White
Yellow ImageColor = original.Yellow
)
type ImageContent = original.ImageContent
const (
Face ImageContent = original.Face
Portrait ImageContent = original.Portrait
)
type ImageCropType = original.ImageCropType
const (
Rectangular ImageCropType = original.Rectangular
)
type ImageInsightModule = original.ImageInsightModule
const (
ImageInsightModuleAll ImageInsightModule = original.ImageInsightModuleAll
ImageInsightModuleBRQ ImageInsightModule = original.ImageInsightModuleBRQ
ImageInsightModuleCaption ImageInsightModule = original.ImageInsightModuleCaption
ImageInsightModuleCollections ImageInsightModule = original.ImageInsightModuleCollections
ImageInsightModulePagesIncluding ImageInsightModule = original.ImageInsightModulePagesIncluding
ImageInsightModuleRecipes ImageInsightModule = original.ImageInsightModuleRecipes
ImageInsightModuleRecognizedEntities ImageInsightModule = original.ImageInsightModuleRecognizedEntities
ImageInsightModuleRelatedSearches ImageInsightModule = original.ImageInsightModuleRelatedSearches
ImageInsightModuleShoppingSources ImageInsightModule = original.ImageInsightModuleShoppingSources
ImageInsightModuleSimilarImages ImageInsightModule = original.ImageInsightModuleSimilarImages
ImageInsightModuleSimilarProducts ImageInsightModule = original.ImageInsightModuleSimilarProducts
ImageInsightModuleTags ImageInsightModule = original.ImageInsightModuleTags
)
type ImageLicense = original.ImageLicense
const (
ImageLicenseAll ImageLicense = original.ImageLicenseAll
ImageLicenseAny ImageLicense = original.ImageLicenseAny
ImageLicenseModify ImageLicense = original.ImageLicenseModify
ImageLicenseModifyCommercially ImageLicense = original.ImageLicenseModifyCommercially
ImageLicensePublic ImageLicense = original.ImageLicensePublic
ImageLicenseShare ImageLicense = original.ImageLicenseShare
ImageLicenseShareCommercially ImageLicense = original.ImageLicenseShareCommercially
)
type ImageSize = original.ImageSize
const (
ImageSizeAll ImageSize = original.ImageSizeAll
ImageSizeLarge ImageSize = original.ImageSizeLarge
ImageSizeMedium ImageSize = original.ImageSizeMedium
ImageSizeSmall ImageSize = original.ImageSizeSmall
ImageSizeWallpaper ImageSize = original.ImageSizeWallpaper
)
type ImageType = original.ImageType
const (
AnimatedGif ImageType = original.AnimatedGif
Clipart ImageType = original.Clipart
Line ImageType = original.Line
Photo ImageType = original.Photo
Shopping ImageType = original.Shopping
Transparent ImageType = original.Transparent
)
type ItemAvailability = original.ItemAvailability
const (
Discontinued ItemAvailability = original.Discontinued
InStock ItemAvailability = original.InStock
InStoreOnly ItemAvailability = original.InStoreOnly
LimitedAvailability ItemAvailability = original.LimitedAvailability
OnlineOnly ItemAvailability = original.OnlineOnly
OutOfStock ItemAvailability = original.OutOfStock
PreOrder ItemAvailability = original.PreOrder
SoldOut ItemAvailability = original.SoldOut
)
type SafeSearch = original.SafeSearch
const (
Moderate SafeSearch = original.Moderate
Off SafeSearch = original.Off
Strict SafeSearch = original.Strict
)
type Type = original.Type
const (
TypeAggregateRating Type = original.TypeAggregateRating
TypePropertiesItem Type = original.TypePropertiesItem
TypeRating Type = original.TypeRating
)
type TypeBasicResponseBase = original.TypeBasicResponseBase
const (
TypeAggregateOffer TypeBasicResponseBase = original.TypeAggregateOffer
TypeAnswer TypeBasicResponseBase = original.TypeAnswer
TypeCollectionPage TypeBasicResponseBase = original.TypeCollectionPage
TypeCreativeWork TypeBasicResponseBase = original.TypeCreativeWork
TypeErrorResponse TypeBasicResponseBase = original.TypeErrorResponse
TypeIdentifiable TypeBasicResponseBase = original.TypeIdentifiable
TypeImageGallery TypeBasicResponseBase = original.TypeImageGallery
TypeImageInsights TypeBasicResponseBase = original.TypeImageInsights
TypeImageObject TypeBasicResponseBase = original.TypeImageObject
TypeImages TypeBasicResponseBase = original.TypeImages
TypeIntangible TypeBasicResponseBase = original.TypeIntangible
TypeMediaObject TypeBasicResponseBase = original.TypeMediaObject
TypeNormalizedRectangle TypeBasicResponseBase = original.TypeNormalizedRectangle
TypeOffer TypeBasicResponseBase = original.TypeOffer
TypeOrganization TypeBasicResponseBase = original.TypeOrganization
TypePerson TypeBasicResponseBase = original.TypePerson
TypeRecipe TypeBasicResponseBase = original.TypeRecipe
TypeRecognizedEntity TypeBasicResponseBase = original.TypeRecognizedEntity
TypeRecognizedEntityRegion TypeBasicResponseBase = original.TypeRecognizedEntityRegion
TypeResponse TypeBasicResponseBase = original.TypeResponse
TypeResponseBase TypeBasicResponseBase = original.TypeResponseBase
TypeSearchResultsAnswer TypeBasicResponseBase = original.TypeSearchResultsAnswer
TypeStructuredValue TypeBasicResponseBase = original.TypeStructuredValue
TypeThing TypeBasicResponseBase = original.TypeThing
TypeTrendingImages TypeBasicResponseBase = original.TypeTrendingImages
TypeWebPage TypeBasicResponseBase = original.TypeWebPage
)
type AggregateOffer = original.AggregateOffer
type AggregateRating = original.AggregateRating
type BasicAnswer = original.BasicAnswer
type Answer = original.Answer
type BasicCollectionPage = original.BasicCollectionPage
type CollectionPage = original.CollectionPage
type BasicCreativeWork = original.BasicCreativeWork
type CreativeWork = original.CreativeWork
type Error = original.Error
type ErrorResponse = original.ErrorResponse
type BasicIdentifiable = original.BasicIdentifiable
type Identifiable = original.Identifiable
type ImageGallery = original.ImageGallery
type ImageInsights = original.ImageInsights
type ImageInsightsImageCaption = original.ImageInsightsImageCaption
type ImageObject = original.ImageObject
type Images = original.Images
type ImagesImageMetadata = original.ImagesImageMetadata
type ImagesModule = original.ImagesModule
type ImageTagsModule = original.ImageTagsModule
type InsightsTag = original.InsightsTag
type BasicIntangible = original.BasicIntangible
type Intangible = original.Intangible
type BasicMediaObject = original.BasicMediaObject
type MediaObject = original.MediaObject
type NormalizedRectangle = original.NormalizedRectangle
type BasicOffer = original.BasicOffer
type Offer = original.Offer
type Organization = original.Organization
type Person = original.Person
type PivotSuggestions = original.PivotSuggestions
type BasicPropertiesItem = original.BasicPropertiesItem
type PropertiesItem = original.PropertiesItem
type Query = original.Query
type BasicRating = original.BasicRating
type Rating = original.Rating
type Recipe = original.Recipe
type RecipesModule = original.RecipesModule
type RecognizedEntitiesModule = original.RecognizedEntitiesModule
type RecognizedEntity = original.RecognizedEntity
type RecognizedEntityGroup = original.RecognizedEntityGroup
type RecognizedEntityRegion = original.RecognizedEntityRegion
type RelatedCollectionsModule = original.RelatedCollectionsModule
type RelatedSearchesModule = original.RelatedSearchesModule
type BasicResponse = original.BasicResponse
type Response = original.Response
type BasicResponseBase = original.BasicResponseBase
type ResponseBase = original.ResponseBase
type BasicSearchResultsAnswer = original.BasicSearchResultsAnswer
type SearchResultsAnswer = original.SearchResultsAnswer
type BasicStructuredValue = original.BasicStructuredValue
type StructuredValue = original.StructuredValue
type BasicThing = original.BasicThing
type Thing = original.Thing
type TrendingImages = original.TrendingImages
type TrendingImagesCategory = original.TrendingImagesCategory
type TrendingImagesTile = original.TrendingImagesTile
type BasicWebPage = original.BasicWebPage
type WebPage = original.WebPage
func New() BaseClient {
return original.New()
}
func NewWithBaseURI(baseURI string) BaseClient {
return original.NewWithBaseURI(baseURI)
}
func NewImagesClient() ImagesClient {
return original.NewImagesClient()
}
func NewImagesClientWithBaseURI(baseURI string) ImagesClient {
return original.NewImagesClientWithBaseURI(baseURI)
}
func PossibleCurrencyValues() []Currency {
return original.PossibleCurrencyValues()
}
func PossibleErrorCodeValues() []ErrorCode {
return original.PossibleErrorCodeValues()
}
func PossibleErrorSubCodeValues() []ErrorSubCode {
return original.PossibleErrorSubCodeValues()
}
func PossibleFreshnessValues() []Freshness {
return original.PossibleFreshnessValues()
}
func PossibleImageAspectValues() []ImageAspect {
return original.PossibleImageAspectValues()
}
func PossibleImageColorValues() []ImageColor {
return original.PossibleImageColorValues()
}
func PossibleImageContentValues() []ImageContent {
return original.PossibleImageContentValues()
}
func PossibleImageCropTypeValues() []ImageCropType {
return original.PossibleImageCropTypeValues()
}
func PossibleImageInsightModuleValues() []ImageInsightModule {
return original.PossibleImageInsightModuleValues()
}
func PossibleImageLicenseValues() []ImageLicense {
return original.PossibleImageLicenseValues()
}
func PossibleImageSizeValues() []ImageSize {
return original.PossibleImageSizeValues()
}
func PossibleImageTypeValues() []ImageType {
return original.PossibleImageTypeValues()
}
func PossibleItemAvailabilityValues() []ItemAvailability {
return original.PossibleItemAvailabilityValues()
}
func PossibleSafeSearchValues() []SafeSearch {
return original.PossibleSafeSearchValues()
}
func PossibleTypeValues() []Type {
return original.PossibleTypeValues()
}
func PossibleTypeBasicResponseBaseValues() []TypeBasicResponseBase {
return original.PossibleTypeBasicResponseBaseValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}

View File

@@ -1,453 +0,0 @@
// +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 programmatic
import original "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v2.0/luis/programmatic"
type AppsClient = original.AppsClient
type BaseClient = original.BaseClient
type ExamplesClient = original.ExamplesClient
type FeaturesClient = original.FeaturesClient
type ModelClient = original.ModelClient
type AzureRegions = original.AzureRegions
const (
Australiaeast AzureRegions = original.Australiaeast
Brazilsouth AzureRegions = original.Brazilsouth
Eastasia AzureRegions = original.Eastasia
Eastus AzureRegions = original.Eastus
Eastus2 AzureRegions = original.Eastus2
Northeurope AzureRegions = original.Northeurope
Southcentralus AzureRegions = original.Southcentralus
Southeastasia AzureRegions = original.Southeastasia
Westcentralus AzureRegions = original.Westcentralus
Westeurope AzureRegions = original.Westeurope
Westus AzureRegions = original.Westus
Westus2 AzureRegions = original.Westus2
)
type OperationStatusType = original.OperationStatusType
const (
Failed OperationStatusType = original.Failed
FAILED OperationStatusType = original.FAILED
Success OperationStatusType = original.Success
)
type ReadableType = original.ReadableType
const (
ReadableTypeClosedListEntityExtractor ReadableType = original.ReadableTypeClosedListEntityExtractor
ReadableTypeCompositeEntityExtractor ReadableType = original.ReadableTypeCompositeEntityExtractor
ReadableTypeEntityExtractor ReadableType = original.ReadableTypeEntityExtractor
ReadableTypeHierarchicalChildEntityExtractor ReadableType = original.ReadableTypeHierarchicalChildEntityExtractor
ReadableTypeHierarchicalEntityExtractor ReadableType = original.ReadableTypeHierarchicalEntityExtractor
ReadableTypeIntentClassifier ReadableType = original.ReadableTypeIntentClassifier
ReadableTypePatternAnyEntityExtractor ReadableType = original.ReadableTypePatternAnyEntityExtractor
ReadableTypePrebuiltEntityExtractor ReadableType = original.ReadableTypePrebuiltEntityExtractor
ReadableTypeRegexEntityExtractor ReadableType = original.ReadableTypeRegexEntityExtractor
)
type ReadableType1 = original.ReadableType1
const (
ReadableType1ClosedListEntityExtractor ReadableType1 = original.ReadableType1ClosedListEntityExtractor
ReadableType1CompositeEntityExtractor ReadableType1 = original.ReadableType1CompositeEntityExtractor
ReadableType1EntityExtractor ReadableType1 = original.ReadableType1EntityExtractor
ReadableType1HierarchicalChildEntityExtractor ReadableType1 = original.ReadableType1HierarchicalChildEntityExtractor
ReadableType1HierarchicalEntityExtractor ReadableType1 = original.ReadableType1HierarchicalEntityExtractor
ReadableType1IntentClassifier ReadableType1 = original.ReadableType1IntentClassifier
ReadableType1PatternAnyEntityExtractor ReadableType1 = original.ReadableType1PatternAnyEntityExtractor
ReadableType1PrebuiltEntityExtractor ReadableType1 = original.ReadableType1PrebuiltEntityExtractor
ReadableType1RegexEntityExtractor ReadableType1 = original.ReadableType1RegexEntityExtractor
)
type ReadableType10 = original.ReadableType10
const (
ReadableType10ClosedListEntityExtractor ReadableType10 = original.ReadableType10ClosedListEntityExtractor
ReadableType10CompositeEntityExtractor ReadableType10 = original.ReadableType10CompositeEntityExtractor
ReadableType10EntityExtractor ReadableType10 = original.ReadableType10EntityExtractor
ReadableType10HierarchicalChildEntityExtractor ReadableType10 = original.ReadableType10HierarchicalChildEntityExtractor
ReadableType10HierarchicalEntityExtractor ReadableType10 = original.ReadableType10HierarchicalEntityExtractor
ReadableType10IntentClassifier ReadableType10 = original.ReadableType10IntentClassifier
ReadableType10PatternAnyEntityExtractor ReadableType10 = original.ReadableType10PatternAnyEntityExtractor
ReadableType10PrebuiltEntityExtractor ReadableType10 = original.ReadableType10PrebuiltEntityExtractor
ReadableType10RegexEntityExtractor ReadableType10 = original.ReadableType10RegexEntityExtractor
)
type ReadableType2 = original.ReadableType2
const (
ReadableType2ClosedListEntityExtractor ReadableType2 = original.ReadableType2ClosedListEntityExtractor
ReadableType2CompositeEntityExtractor ReadableType2 = original.ReadableType2CompositeEntityExtractor
ReadableType2EntityExtractor ReadableType2 = original.ReadableType2EntityExtractor
ReadableType2HierarchicalChildEntityExtractor ReadableType2 = original.ReadableType2HierarchicalChildEntityExtractor
ReadableType2HierarchicalEntityExtractor ReadableType2 = original.ReadableType2HierarchicalEntityExtractor
ReadableType2IntentClassifier ReadableType2 = original.ReadableType2IntentClassifier
ReadableType2PatternAnyEntityExtractor ReadableType2 = original.ReadableType2PatternAnyEntityExtractor
ReadableType2PrebuiltEntityExtractor ReadableType2 = original.ReadableType2PrebuiltEntityExtractor
ReadableType2RegexEntityExtractor ReadableType2 = original.ReadableType2RegexEntityExtractor
)
type ReadableType3 = original.ReadableType3
const (
ReadableType3ClosedListEntityExtractor ReadableType3 = original.ReadableType3ClosedListEntityExtractor
ReadableType3CompositeEntityExtractor ReadableType3 = original.ReadableType3CompositeEntityExtractor
ReadableType3EntityExtractor ReadableType3 = original.ReadableType3EntityExtractor
ReadableType3HierarchicalChildEntityExtractor ReadableType3 = original.ReadableType3HierarchicalChildEntityExtractor
ReadableType3HierarchicalEntityExtractor ReadableType3 = original.ReadableType3HierarchicalEntityExtractor
ReadableType3IntentClassifier ReadableType3 = original.ReadableType3IntentClassifier
ReadableType3PatternAnyEntityExtractor ReadableType3 = original.ReadableType3PatternAnyEntityExtractor
ReadableType3PrebuiltEntityExtractor ReadableType3 = original.ReadableType3PrebuiltEntityExtractor
ReadableType3RegexEntityExtractor ReadableType3 = original.ReadableType3RegexEntityExtractor
)
type ReadableType4 = original.ReadableType4
const (
ReadableType4ClosedListEntityExtractor ReadableType4 = original.ReadableType4ClosedListEntityExtractor
ReadableType4CompositeEntityExtractor ReadableType4 = original.ReadableType4CompositeEntityExtractor
ReadableType4EntityExtractor ReadableType4 = original.ReadableType4EntityExtractor
ReadableType4HierarchicalChildEntityExtractor ReadableType4 = original.ReadableType4HierarchicalChildEntityExtractor
ReadableType4HierarchicalEntityExtractor ReadableType4 = original.ReadableType4HierarchicalEntityExtractor
ReadableType4IntentClassifier ReadableType4 = original.ReadableType4IntentClassifier
ReadableType4PatternAnyEntityExtractor ReadableType4 = original.ReadableType4PatternAnyEntityExtractor
ReadableType4PrebuiltEntityExtractor ReadableType4 = original.ReadableType4PrebuiltEntityExtractor
ReadableType4RegexEntityExtractor ReadableType4 = original.ReadableType4RegexEntityExtractor
)
type ReadableType5 = original.ReadableType5
const (
ReadableType5ClosedListEntityExtractor ReadableType5 = original.ReadableType5ClosedListEntityExtractor
ReadableType5CompositeEntityExtractor ReadableType5 = original.ReadableType5CompositeEntityExtractor
ReadableType5EntityExtractor ReadableType5 = original.ReadableType5EntityExtractor
ReadableType5HierarchicalChildEntityExtractor ReadableType5 = original.ReadableType5HierarchicalChildEntityExtractor
ReadableType5HierarchicalEntityExtractor ReadableType5 = original.ReadableType5HierarchicalEntityExtractor
ReadableType5IntentClassifier ReadableType5 = original.ReadableType5IntentClassifier
ReadableType5PatternAnyEntityExtractor ReadableType5 = original.ReadableType5PatternAnyEntityExtractor
ReadableType5PrebuiltEntityExtractor ReadableType5 = original.ReadableType5PrebuiltEntityExtractor
ReadableType5RegexEntityExtractor ReadableType5 = original.ReadableType5RegexEntityExtractor
)
type ReadableType6 = original.ReadableType6
const (
ReadableType6ClosedListEntityExtractor ReadableType6 = original.ReadableType6ClosedListEntityExtractor
ReadableType6CompositeEntityExtractor ReadableType6 = original.ReadableType6CompositeEntityExtractor
ReadableType6EntityExtractor ReadableType6 = original.ReadableType6EntityExtractor
ReadableType6HierarchicalChildEntityExtractor ReadableType6 = original.ReadableType6HierarchicalChildEntityExtractor
ReadableType6HierarchicalEntityExtractor ReadableType6 = original.ReadableType6HierarchicalEntityExtractor
ReadableType6IntentClassifier ReadableType6 = original.ReadableType6IntentClassifier
ReadableType6PatternAnyEntityExtractor ReadableType6 = original.ReadableType6PatternAnyEntityExtractor
ReadableType6PrebuiltEntityExtractor ReadableType6 = original.ReadableType6PrebuiltEntityExtractor
ReadableType6RegexEntityExtractor ReadableType6 = original.ReadableType6RegexEntityExtractor
)
type ReadableType7 = original.ReadableType7
const (
ReadableType7ClosedListEntityExtractor ReadableType7 = original.ReadableType7ClosedListEntityExtractor
ReadableType7CompositeEntityExtractor ReadableType7 = original.ReadableType7CompositeEntityExtractor
ReadableType7EntityExtractor ReadableType7 = original.ReadableType7EntityExtractor
ReadableType7HierarchicalChildEntityExtractor ReadableType7 = original.ReadableType7HierarchicalChildEntityExtractor
ReadableType7HierarchicalEntityExtractor ReadableType7 = original.ReadableType7HierarchicalEntityExtractor
ReadableType7IntentClassifier ReadableType7 = original.ReadableType7IntentClassifier
ReadableType7PatternAnyEntityExtractor ReadableType7 = original.ReadableType7PatternAnyEntityExtractor
ReadableType7PrebuiltEntityExtractor ReadableType7 = original.ReadableType7PrebuiltEntityExtractor
ReadableType7RegexEntityExtractor ReadableType7 = original.ReadableType7RegexEntityExtractor
)
type ReadableType8 = original.ReadableType8
const (
ReadableType8ClosedListEntityExtractor ReadableType8 = original.ReadableType8ClosedListEntityExtractor
ReadableType8CompositeEntityExtractor ReadableType8 = original.ReadableType8CompositeEntityExtractor
ReadableType8EntityExtractor ReadableType8 = original.ReadableType8EntityExtractor
ReadableType8HierarchicalChildEntityExtractor ReadableType8 = original.ReadableType8HierarchicalChildEntityExtractor
ReadableType8HierarchicalEntityExtractor ReadableType8 = original.ReadableType8HierarchicalEntityExtractor
ReadableType8IntentClassifier ReadableType8 = original.ReadableType8IntentClassifier
ReadableType8PatternAnyEntityExtractor ReadableType8 = original.ReadableType8PatternAnyEntityExtractor
ReadableType8PrebuiltEntityExtractor ReadableType8 = original.ReadableType8PrebuiltEntityExtractor
ReadableType8RegexEntityExtractor ReadableType8 = original.ReadableType8RegexEntityExtractor
)
type ReadableType9 = original.ReadableType9
const (
ReadableType9ClosedListEntityExtractor ReadableType9 = original.ReadableType9ClosedListEntityExtractor
ReadableType9CompositeEntityExtractor ReadableType9 = original.ReadableType9CompositeEntityExtractor
ReadableType9EntityExtractor ReadableType9 = original.ReadableType9EntityExtractor
ReadableType9HierarchicalChildEntityExtractor ReadableType9 = original.ReadableType9HierarchicalChildEntityExtractor
ReadableType9HierarchicalEntityExtractor ReadableType9 = original.ReadableType9HierarchicalEntityExtractor
ReadableType9IntentClassifier ReadableType9 = original.ReadableType9IntentClassifier
ReadableType9PatternAnyEntityExtractor ReadableType9 = original.ReadableType9PatternAnyEntityExtractor
ReadableType9PrebuiltEntityExtractor ReadableType9 = original.ReadableType9PrebuiltEntityExtractor
ReadableType9RegexEntityExtractor ReadableType9 = original.ReadableType9RegexEntityExtractor
)
type Status = original.Status
const (
StatusFail Status = original.StatusFail
StatusInProgress Status = original.StatusInProgress
StatusQueued Status = original.StatusQueued
StatusSuccess Status = original.StatusSuccess
StatusUpToDate Status = original.StatusUpToDate
)
type Status1 = original.Status1
const (
Status1Fail Status1 = original.Status1Fail
Status1InProgress Status1 = original.Status1InProgress
Status1Queued Status1 = original.Status1Queued
Status1Success Status1 = original.Status1Success
Status1UpToDate Status1 = original.Status1UpToDate
)
type TrainingStatus = original.TrainingStatus
const (
InProgress TrainingStatus = original.InProgress
NeedsTraining TrainingStatus = original.NeedsTraining
Trained TrainingStatus = original.Trained
)
type ApplicationCreateObject = original.ApplicationCreateObject
type ApplicationInfoResponse = original.ApplicationInfoResponse
type ApplicationPublishObject = original.ApplicationPublishObject
type ApplicationSettings = original.ApplicationSettings
type ApplicationSettingUpdateObject = original.ApplicationSettingUpdateObject
type ApplicationUpdateObject = original.ApplicationUpdateObject
type AvailableCulture = original.AvailableCulture
type AvailablePrebuiltEntityModel = original.AvailablePrebuiltEntityModel
type BatchLabelExample = original.BatchLabelExample
type ChildEntity = original.ChildEntity
type ClosedList = original.ClosedList
type ClosedListEntityExtractor = original.ClosedListEntityExtractor
type ClosedListModelCreateObject = original.ClosedListModelCreateObject
type ClosedListModelPatchObject = original.ClosedListModelPatchObject
type ClosedListModelUpdateObject = original.ClosedListModelUpdateObject
type CollaboratorsArray = original.CollaboratorsArray
type CompositeChildModelCreateObject = original.CompositeChildModelCreateObject
type CompositeEntityExtractor = original.CompositeEntityExtractor
type CompositeEntityModel = original.CompositeEntityModel
type CustomPrebuiltModel = original.CustomPrebuiltModel
type EndpointInfo = original.EndpointInfo
type EnqueueTrainingResponse = original.EnqueueTrainingResponse
type EntitiesSuggestionExample = original.EntitiesSuggestionExample
type EntityExtractor = original.EntityExtractor
type EntityLabel = original.EntityLabel
type EntityLabelObject = original.EntityLabelObject
type EntityModelInfo = original.EntityModelInfo
type EntityPrediction = original.EntityPrediction
type EntityRole = original.EntityRole
type EntityRoleCreateObject = original.EntityRoleCreateObject
type EntityRoleUpdateObject = original.EntityRoleUpdateObject
type ErrorResponse = original.ErrorResponse
type ExampleLabelObject = original.ExampleLabelObject
type ExplicitListItem = original.ExplicitListItem
type ExplicitListItemCreateObject = original.ExplicitListItemCreateObject
type ExplicitListItemUpdateObject = original.ExplicitListItemUpdateObject
type FeatureInfoObject = original.FeatureInfoObject
type FeaturesResponseObject = original.FeaturesResponseObject
type HierarchicalChildEntity = original.HierarchicalChildEntity
type HierarchicalChildModelCreateObject = original.HierarchicalChildModelCreateObject
type HierarchicalChildModelUpdateObject = original.HierarchicalChildModelUpdateObject
type HierarchicalEntityExtractor = original.HierarchicalEntityExtractor
type HierarchicalEntityModel = original.HierarchicalEntityModel
type HierarchicalModel = original.HierarchicalModel
type Int32 = original.Int32
type IntentClassifier = original.IntentClassifier
type IntentPrediction = original.IntentPrediction
type IntentsSuggestionExample = original.IntentsSuggestionExample
type JSONEntity = original.JSONEntity
type JSONModelFeature = original.JSONModelFeature
type JSONRegexFeature = original.JSONRegexFeature
type JSONUtterance = original.JSONUtterance
type LabeledUtterance = original.LabeledUtterance
type LabelExampleResponse = original.LabelExampleResponse
type ListApplicationInfoResponse = original.ListApplicationInfoResponse
type ListAvailableCulture = original.ListAvailableCulture
type ListAvailablePrebuiltEntityModel = original.ListAvailablePrebuiltEntityModel
type ListBatchLabelExample = original.ListBatchLabelExample
type ListClosedListEntityExtractor = original.ListClosedListEntityExtractor
type ListCompositeEntityExtractor = original.ListCompositeEntityExtractor
type ListCustomPrebuiltModel = original.ListCustomPrebuiltModel
type ListEntitiesSuggestionExample = original.ListEntitiesSuggestionExample
type ListEntityExtractor = original.ListEntityExtractor
type ListEntityRole = original.ListEntityRole
type ListExplicitListItem = original.ListExplicitListItem
type ListHierarchicalEntityExtractor = original.ListHierarchicalEntityExtractor
type ListIntentClassifier = original.ListIntentClassifier
type ListIntentsSuggestionExample = original.ListIntentsSuggestionExample
type ListLabeledUtterance = original.ListLabeledUtterance
type ListModelInfoResponse = original.ListModelInfoResponse
type ListModelTrainingInfo = original.ListModelTrainingInfo
type ListPatternAnyEntityExtractor = original.ListPatternAnyEntityExtractor
type ListPatternRuleInfo = original.ListPatternRuleInfo
type ListPhraseListFeatureInfo = original.ListPhraseListFeatureInfo
type ListPrebuiltDomain = original.ListPrebuiltDomain
type ListPrebuiltEntityExtractor = original.ListPrebuiltEntityExtractor
type ListRegexEntityExtractor = original.ListRegexEntityExtractor
type ListString = original.ListString
type ListUUID = original.ListUUID
type ListVersionInfo = original.ListVersionInfo
type LuisApp = original.LuisApp
type ModelCreateObject = original.ModelCreateObject
type ModelInfo = original.ModelInfo
type ModelInfoResponse = original.ModelInfoResponse
type ModelTrainingDetails = original.ModelTrainingDetails
type ModelTrainingInfo = original.ModelTrainingInfo
type ModelUpdateObject = original.ModelUpdateObject
type OperationError = original.OperationError
type OperationStatus = original.OperationStatus
type PatternAny = original.PatternAny
type PatternAnyEntityExtractor = original.PatternAnyEntityExtractor
type PatternAnyModelCreateObject = original.PatternAnyModelCreateObject
type PatternAnyModelUpdateObject = original.PatternAnyModelUpdateObject
type PatternCreateObject = original.PatternCreateObject
type PatternFeatureInfo = original.PatternFeatureInfo
type PatternRule = original.PatternRule
type PatternRuleCreateObject = original.PatternRuleCreateObject
type PatternRuleInfo = original.PatternRuleInfo
type PatternRuleUpdateObject = original.PatternRuleUpdateObject
type PatternUpdateObject = original.PatternUpdateObject
type PersonalAssistantsResponse = original.PersonalAssistantsResponse
type PhraselistCreateObject = original.PhraselistCreateObject
type PhraseListFeatureInfo = original.PhraseListFeatureInfo
type PhraselistUpdateObject = original.PhraselistUpdateObject
type PrebuiltDomain = original.PrebuiltDomain
type PrebuiltDomainCreateBaseObject = original.PrebuiltDomainCreateBaseObject
type PrebuiltDomainCreateObject = original.PrebuiltDomainCreateObject
type PrebuiltDomainItem = original.PrebuiltDomainItem
type PrebuiltDomainModelCreateObject = original.PrebuiltDomainModelCreateObject
type PrebuiltDomainObject = original.PrebuiltDomainObject
type PrebuiltEntity = original.PrebuiltEntity
type PrebuiltEntityExtractor = original.PrebuiltEntityExtractor
type ProductionOrStagingEndpointInfo = original.ProductionOrStagingEndpointInfo
type ReadCloser = original.ReadCloser
type RegexEntity = original.RegexEntity
type RegexEntityExtractor = original.RegexEntityExtractor
type RegexModelCreateObject = original.RegexModelCreateObject
type RegexModelUpdateObject = original.RegexModelUpdateObject
type SetString = original.SetString
type String = original.String
type SubClosedList = original.SubClosedList
type SubClosedListResponse = original.SubClosedListResponse
type TaskUpdateObject = original.TaskUpdateObject
type UserAccessList = original.UserAccessList
type UserCollaborator = original.UserCollaborator
type UUID = original.UUID
type VersionInfo = original.VersionInfo
type WordListBaseUpdateObject = original.WordListBaseUpdateObject
type WordListObject = original.WordListObject
type PatternClient = original.PatternClient
type PermissionsClient = original.PermissionsClient
type TrainClient = original.TrainClient
type VersionsClient = original.VersionsClient
func NewAppsClient(azureRegion AzureRegions) AppsClient {
return original.NewAppsClient(azureRegion)
}
func New(azureRegion AzureRegions) BaseClient {
return original.New(azureRegion)
}
func NewWithoutDefaults(azureRegion AzureRegions) BaseClient {
return original.NewWithoutDefaults(azureRegion)
}
func NewExamplesClient(azureRegion AzureRegions) ExamplesClient {
return original.NewExamplesClient(azureRegion)
}
func NewFeaturesClient(azureRegion AzureRegions) FeaturesClient {
return original.NewFeaturesClient(azureRegion)
}
func NewModelClient(azureRegion AzureRegions) ModelClient {
return original.NewModelClient(azureRegion)
}
func PossibleAzureRegionsValues() []AzureRegions {
return original.PossibleAzureRegionsValues()
}
func PossibleOperationStatusTypeValues() []OperationStatusType {
return original.PossibleOperationStatusTypeValues()
}
func PossibleReadableTypeValues() []ReadableType {
return original.PossibleReadableTypeValues()
}
func PossibleReadableType1Values() []ReadableType1 {
return original.PossibleReadableType1Values()
}
func PossibleReadableType10Values() []ReadableType10 {
return original.PossibleReadableType10Values()
}
func PossibleReadableType2Values() []ReadableType2 {
return original.PossibleReadableType2Values()
}
func PossibleReadableType3Values() []ReadableType3 {
return original.PossibleReadableType3Values()
}
func PossibleReadableType4Values() []ReadableType4 {
return original.PossibleReadableType4Values()
}
func PossibleReadableType5Values() []ReadableType5 {
return original.PossibleReadableType5Values()
}
func PossibleReadableType6Values() []ReadableType6 {
return original.PossibleReadableType6Values()
}
func PossibleReadableType7Values() []ReadableType7 {
return original.PossibleReadableType7Values()
}
func PossibleReadableType8Values() []ReadableType8 {
return original.PossibleReadableType8Values()
}
func PossibleReadableType9Values() []ReadableType9 {
return original.PossibleReadableType9Values()
}
func PossibleStatusValues() []Status {
return original.PossibleStatusValues()
}
func PossibleStatus1Values() []Status1 {
return original.PossibleStatus1Values()
}
func PossibleTrainingStatusValues() []TrainingStatus {
return original.PossibleTrainingStatusValues()
}
func NewPatternClient(azureRegion AzureRegions) PatternClient {
return original.NewPatternClient(azureRegion)
}
func NewPermissionsClient(azureRegion AzureRegions) PermissionsClient {
return original.NewPermissionsClient(azureRegion)
}
func NewTrainClient(azureRegion AzureRegions) TrainClient {
return original.NewTrainClient(azureRegion)
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}
func NewVersionsClient(azureRegion AzureRegions) VersionsClient {
return original.NewVersionsClient(azureRegion)
}

View File

@@ -1,74 +0,0 @@
// +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 runtime
import original "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v2.0/luis/runtime"
type BaseClient = original.BaseClient
type AzureRegions = original.AzureRegions
const (
Australiaeast AzureRegions = original.Australiaeast
Brazilsouth AzureRegions = original.Brazilsouth
Canadacentral AzureRegions = original.Canadacentral
Centralindia AzureRegions = original.Centralindia
Eastasia AzureRegions = original.Eastasia
Eastus AzureRegions = original.Eastus
Eastus2 AzureRegions = original.Eastus2
Japaneast AzureRegions = original.Japaneast
Northeurope AzureRegions = original.Northeurope
Southcentralus AzureRegions = original.Southcentralus
Southeastasia AzureRegions = original.Southeastasia
Uksouth AzureRegions = original.Uksouth
Westcentralus AzureRegions = original.Westcentralus
Westeurope AzureRegions = original.Westeurope
Westus AzureRegions = original.Westus
Westus2 AzureRegions = original.Westus2
)
type APIError = original.APIError
type CompositeChildModel = original.CompositeChildModel
type CompositeEntityModel = original.CompositeEntityModel
type EntityModel = original.EntityModel
type EntityWithResolution = original.EntityWithResolution
type EntityWithScore = original.EntityWithScore
type IntentModel = original.IntentModel
type LuisResult = original.LuisResult
type Sentiment = original.Sentiment
type PredictionClient = original.PredictionClient
func New(azureRegion AzureRegions) BaseClient {
return original.New(azureRegion)
}
func NewWithoutDefaults(azureRegion AzureRegions) BaseClient {
return original.NewWithoutDefaults(azureRegion)
}
func PossibleAzureRegionsValues() []AzureRegions {
return original.PossibleAzureRegionsValues()
}
func NewPredictionClient(azureRegion AzureRegions) PredictionClient {
return original.NewPredictionClient(azureRegion)
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}

View File

@@ -1,229 +0,0 @@
// +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 cognitiveservices
import original "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/mgmt/2017-04-18/cognitiveservices"
type AccountsClient = original.AccountsClient
type CheckSkuAvailabilityClient = original.CheckSkuAvailabilityClient
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type KeyName = original.KeyName
const (
Key1 KeyName = original.Key1
Key2 KeyName = original.Key2
)
type Kind = original.Kind
const (
BingAutosuggestv7 Kind = original.BingAutosuggestv7
BingCustomSearch Kind = original.BingCustomSearch
BingSearchv7 Kind = original.BingSearchv7
BingSpeech Kind = original.BingSpeech
BingSpellCheckv7 Kind = original.BingSpellCheckv7
ComputerVision Kind = original.ComputerVision
ContentModerator Kind = original.ContentModerator
CustomSpeech Kind = original.CustomSpeech
CustomVisionPrediction Kind = original.CustomVisionPrediction
CustomVisionTraining Kind = original.CustomVisionTraining
Emotion Kind = original.Emotion
Face Kind = original.Face
LUIS Kind = original.LUIS
QnAMaker Kind = original.QnAMaker
SpeakerRecognition Kind = original.SpeakerRecognition
SpeechTranslation Kind = original.SpeechTranslation
TextAnalytics Kind = original.TextAnalytics
TextTranslation Kind = original.TextTranslation
WebLM Kind = original.WebLM
)
type ProvisioningState = original.ProvisioningState
const (
Creating ProvisioningState = original.Creating
Deleting ProvisioningState = original.Deleting
Failed ProvisioningState = original.Failed
Moving ProvisioningState = original.Moving
ResolvingDNS ProvisioningState = original.ResolvingDNS
Succeeded ProvisioningState = original.Succeeded
)
type QuotaUsageStatus = original.QuotaUsageStatus
const (
Blocked QuotaUsageStatus = original.Blocked
Included QuotaUsageStatus = original.Included
InOverage QuotaUsageStatus = original.InOverage
Unknown QuotaUsageStatus = original.Unknown
)
type ResourceSkuRestrictionsReasonCode = original.ResourceSkuRestrictionsReasonCode
const (
NotAvailableForSubscription ResourceSkuRestrictionsReasonCode = original.NotAvailableForSubscription
QuotaID ResourceSkuRestrictionsReasonCode = original.QuotaID
)
type ResourceSkuRestrictionsType = original.ResourceSkuRestrictionsType
const (
Location ResourceSkuRestrictionsType = original.Location
Zone ResourceSkuRestrictionsType = original.Zone
)
type SkuName = original.SkuName
const (
F0 SkuName = original.F0
P0 SkuName = original.P0
P1 SkuName = original.P1
P2 SkuName = original.P2
S0 SkuName = original.S0
S1 SkuName = original.S1
S2 SkuName = original.S2
S3 SkuName = original.S3
S4 SkuName = original.S4
S5 SkuName = original.S5
S6 SkuName = original.S6
)
type SkuTier = original.SkuTier
const (
Free SkuTier = original.Free
Premium SkuTier = original.Premium
Standard SkuTier = original.Standard
)
type UnitType = original.UnitType
const (
Bytes UnitType = original.Bytes
BytesPerSecond UnitType = original.BytesPerSecond
Count UnitType = original.Count
CountPerSecond UnitType = original.CountPerSecond
Milliseconds UnitType = original.Milliseconds
Percent UnitType = original.Percent
Seconds UnitType = original.Seconds
)
type Account = original.Account
type AccountCreateParameters = original.AccountCreateParameters
type AccountEnumerateSkusResult = original.AccountEnumerateSkusResult
type AccountKeys = original.AccountKeys
type AccountListResult = original.AccountListResult
type AccountListResultIterator = original.AccountListResultIterator
type AccountListResultPage = original.AccountListResultPage
type AccountProperties = original.AccountProperties
type AccountUpdateParameters = original.AccountUpdateParameters
type CheckSkuAvailabilityParameter = original.CheckSkuAvailabilityParameter
type CheckSkuAvailabilityResult = original.CheckSkuAvailabilityResult
type CheckSkuAvailabilityResultList = original.CheckSkuAvailabilityResultList
type Error = original.Error
type ErrorBody = original.ErrorBody
type MetricName = original.MetricName
type OperationDisplayInfo = original.OperationDisplayInfo
type OperationEntity = original.OperationEntity
type OperationEntityListResult = original.OperationEntityListResult
type OperationEntityListResultIterator = original.OperationEntityListResultIterator
type OperationEntityListResultPage = original.OperationEntityListResultPage
type RegenerateKeyParameters = original.RegenerateKeyParameters
type ResourceAndSku = original.ResourceAndSku
type ResourceSku = original.ResourceSku
type ResourceSkuRestrictionInfo = original.ResourceSkuRestrictionInfo
type ResourceSkuRestrictions = original.ResourceSkuRestrictions
type ResourceSkusResult = original.ResourceSkusResult
type ResourceSkusResultIterator = original.ResourceSkusResultIterator
type ResourceSkusResultPage = original.ResourceSkusResultPage
type Sku = original.Sku
type Usage = original.Usage
type UsagesResult = original.UsagesResult
type OperationsClient = original.OperationsClient
type ResourceSkusClient = original.ResourceSkusClient
func NewAccountsClient(subscriptionID string) AccountsClient {
return original.NewAccountsClient(subscriptionID)
}
func NewAccountsClientWithBaseURI(baseURI string, subscriptionID string) AccountsClient {
return original.NewAccountsClientWithBaseURI(baseURI, subscriptionID)
}
func NewCheckSkuAvailabilityClient(subscriptionID string) CheckSkuAvailabilityClient {
return original.NewCheckSkuAvailabilityClient(subscriptionID)
}
func NewCheckSkuAvailabilityClientWithBaseURI(baseURI string, subscriptionID string) CheckSkuAvailabilityClient {
return original.NewCheckSkuAvailabilityClientWithBaseURI(baseURI, subscriptionID)
}
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func PossibleKeyNameValues() []KeyName {
return original.PossibleKeyNameValues()
}
func PossibleKindValues() []Kind {
return original.PossibleKindValues()
}
func PossibleProvisioningStateValues() []ProvisioningState {
return original.PossibleProvisioningStateValues()
}
func PossibleQuotaUsageStatusValues() []QuotaUsageStatus {
return original.PossibleQuotaUsageStatusValues()
}
func PossibleResourceSkuRestrictionsReasonCodeValues() []ResourceSkuRestrictionsReasonCode {
return original.PossibleResourceSkuRestrictionsReasonCodeValues()
}
func PossibleResourceSkuRestrictionsTypeValues() []ResourceSkuRestrictionsType {
return original.PossibleResourceSkuRestrictionsTypeValues()
}
func PossibleSkuNameValues() []SkuName {
return original.PossibleSkuNameValues()
}
func PossibleSkuTierValues() []SkuTier {
return original.PossibleSkuTierValues()
}
func PossibleUnitTypeValues() []UnitType {
return original.PossibleUnitTypeValues()
}
func NewOperationsClient(subscriptionID string) OperationsClient {
return original.NewOperationsClient(subscriptionID)
}
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewResourceSkusClient(subscriptionID string) ResourceSkusClient {
return original.NewResourceSkusClient(subscriptionID)
}
func NewResourceSkusClientWithBaseURI(baseURI string, subscriptionID string) ResourceSkusClient {
return original.NewResourceSkusClientWithBaseURI(baseURI, subscriptionID)
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}

View File

@@ -1,166 +0,0 @@
// +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 newssearch
import original "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/newssearch"
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type ErrorCode = original.ErrorCode
const (
InsufficientAuthorization ErrorCode = original.InsufficientAuthorization
InvalidAuthorization ErrorCode = original.InvalidAuthorization
InvalidRequest ErrorCode = original.InvalidRequest
None ErrorCode = original.None
RateLimitExceeded ErrorCode = original.RateLimitExceeded
ServerError ErrorCode = original.ServerError
)
type ErrorSubCode = original.ErrorSubCode
const (
AuthorizationDisabled ErrorSubCode = original.AuthorizationDisabled
AuthorizationExpired ErrorSubCode = original.AuthorizationExpired
AuthorizationMissing ErrorSubCode = original.AuthorizationMissing
AuthorizationRedundancy ErrorSubCode = original.AuthorizationRedundancy
Blocked ErrorSubCode = original.Blocked
HTTPNotAllowed ErrorSubCode = original.HTTPNotAllowed
NotImplemented ErrorSubCode = original.NotImplemented
ParameterInvalidValue ErrorSubCode = original.ParameterInvalidValue
ParameterMissing ErrorSubCode = original.ParameterMissing
ResourceError ErrorSubCode = original.ResourceError
UnexpectedError ErrorSubCode = original.UnexpectedError
)
type Freshness = original.Freshness
const (
Day Freshness = original.Day
Month Freshness = original.Month
Week Freshness = original.Week
)
type SafeSearch = original.SafeSearch
const (
Moderate SafeSearch = original.Moderate
Off SafeSearch = original.Off
Strict SafeSearch = original.Strict
)
type TextFormat = original.TextFormat
const (
HTML TextFormat = original.HTML
Raw TextFormat = original.Raw
)
type Type = original.Type
const (
TypeAnswer Type = original.TypeAnswer
TypeArticle Type = original.TypeArticle
TypeCreativeWork Type = original.TypeCreativeWork
TypeErrorResponse Type = original.TypeErrorResponse
TypeIdentifiable Type = original.TypeIdentifiable
TypeImageObject Type = original.TypeImageObject
TypeMediaObject Type = original.TypeMediaObject
TypeNews Type = original.TypeNews
TypeNewsArticle Type = original.TypeNewsArticle
TypeNewsTopic Type = original.TypeNewsTopic
TypeOrganization Type = original.TypeOrganization
TypeResponse Type = original.TypeResponse
TypeResponseBase Type = original.TypeResponseBase
TypeSearchResultsAnswer Type = original.TypeSearchResultsAnswer
TypeThing Type = original.TypeThing
TypeTrendingTopics Type = original.TypeTrendingTopics
TypeVideoObject Type = original.TypeVideoObject
)
type BasicAnswer = original.BasicAnswer
type Answer = original.Answer
type BasicArticle = original.BasicArticle
type Article = original.Article
type BasicCreativeWork = original.BasicCreativeWork
type CreativeWork = original.CreativeWork
type Error = original.Error
type ErrorResponse = original.ErrorResponse
type BasicIdentifiable = original.BasicIdentifiable
type Identifiable = original.Identifiable
type ImageObject = original.ImageObject
type BasicMediaObject = original.BasicMediaObject
type MediaObject = original.MediaObject
type News = original.News
type NewsArticle = original.NewsArticle
type NewsTopic = original.NewsTopic
type Organization = original.Organization
type Query = original.Query
type BasicResponse = original.BasicResponse
type Response = original.Response
type BasicResponseBase = original.BasicResponseBase
type ResponseBase = original.ResponseBase
type BasicSearchResultsAnswer = original.BasicSearchResultsAnswer
type SearchResultsAnswer = original.SearchResultsAnswer
type BasicThing = original.BasicThing
type Thing = original.Thing
type TrendingTopics = original.TrendingTopics
type VideoObject = original.VideoObject
type NewsClient = original.NewsClient
func New() BaseClient {
return original.New()
}
func NewWithBaseURI(baseURI string) BaseClient {
return original.NewWithBaseURI(baseURI)
}
func PossibleErrorCodeValues() []ErrorCode {
return original.PossibleErrorCodeValues()
}
func PossibleErrorSubCodeValues() []ErrorSubCode {
return original.PossibleErrorSubCodeValues()
}
func PossibleFreshnessValues() []Freshness {
return original.PossibleFreshnessValues()
}
func PossibleSafeSearchValues() []SafeSearch {
return original.PossibleSafeSearchValues()
}
func PossibleTextFormatValues() []TextFormat {
return original.PossibleTextFormatValues()
}
func PossibleTypeValues() []Type {
return original.PossibleTypeValues()
}
func NewNewsClient() NewsClient {
return original.NewNewsClient()
}
func NewNewsClientWithBaseURI(baseURI string) NewsClient {
return original.NewNewsClientWithBaseURI(baseURI)
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}

View File

@@ -1,121 +0,0 @@
// +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 spellcheck
import original "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/spellcheck"
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type ActionType = original.ActionType
const (
Edit ActionType = original.Edit
Load ActionType = original.Load
)
type ErrorCode = original.ErrorCode
const (
InsufficientAuthorization ErrorCode = original.InsufficientAuthorization
InvalidAuthorization ErrorCode = original.InvalidAuthorization
InvalidRequest ErrorCode = original.InvalidRequest
None ErrorCode = original.None
RateLimitExceeded ErrorCode = original.RateLimitExceeded
ServerError ErrorCode = original.ServerError
)
type ErrorSubCode = original.ErrorSubCode
const (
AuthorizationDisabled ErrorSubCode = original.AuthorizationDisabled
AuthorizationExpired ErrorSubCode = original.AuthorizationExpired
AuthorizationMissing ErrorSubCode = original.AuthorizationMissing
AuthorizationRedundancy ErrorSubCode = original.AuthorizationRedundancy
Blocked ErrorSubCode = original.Blocked
HTTPNotAllowed ErrorSubCode = original.HTTPNotAllowed
NotImplemented ErrorSubCode = original.NotImplemented
ParameterInvalidValue ErrorSubCode = original.ParameterInvalidValue
ParameterMissing ErrorSubCode = original.ParameterMissing
ResourceError ErrorSubCode = original.ResourceError
UnexpectedError ErrorSubCode = original.UnexpectedError
)
type ErrorType = original.ErrorType
const (
RepeatedToken ErrorType = original.RepeatedToken
UnknownToken ErrorType = original.UnknownToken
)
type Type = original.Type
const (
TypeAnswer Type = original.TypeAnswer
TypeErrorResponse Type = original.TypeErrorResponse
TypeIdentifiable Type = original.TypeIdentifiable
TypeResponse Type = original.TypeResponse
TypeResponseBase Type = original.TypeResponseBase
TypeSpellCheck Type = original.TypeSpellCheck
)
type BasicAnswer = original.BasicAnswer
type Answer = original.Answer
type Error = original.Error
type ErrorResponse = original.ErrorResponse
type BasicIdentifiable = original.BasicIdentifiable
type Identifiable = original.Identifiable
type BasicResponse = original.BasicResponse
type Response = original.Response
type BasicResponseBase = original.BasicResponseBase
type ResponseBase = original.ResponseBase
type SpellCheck = original.SpellCheck
type SpellingFlaggedToken = original.SpellingFlaggedToken
type SpellingTokenSuggestion = original.SpellingTokenSuggestion
func New() BaseClient {
return original.New()
}
func NewWithBaseURI(baseURI string) BaseClient {
return original.NewWithBaseURI(baseURI)
}
func PossibleActionTypeValues() []ActionType {
return original.PossibleActionTypeValues()
}
func PossibleErrorCodeValues() []ErrorCode {
return original.PossibleErrorCodeValues()
}
func PossibleErrorSubCodeValues() []ErrorSubCode {
return original.PossibleErrorSubCodeValues()
}
func PossibleErrorTypeValues() []ErrorType {
return original.PossibleErrorTypeValues()
}
func PossibleTypeValues() []Type {
return original.PossibleTypeValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}

View File

@@ -1,79 +0,0 @@
// +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 textanalytics
import original "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v2.0/textanalytics"
type BaseClient = original.BaseClient
type AzureRegions = original.AzureRegions
const (
Australiaeast AzureRegions = original.Australiaeast
Brazilsouth AzureRegions = original.Brazilsouth
Canadacentral AzureRegions = original.Canadacentral
Centralindia AzureRegions = original.Centralindia
Eastasia AzureRegions = original.Eastasia
Eastus AzureRegions = original.Eastus
Eastus2 AzureRegions = original.Eastus2
Japaneast AzureRegions = original.Japaneast
Northeurope AzureRegions = original.Northeurope
Southcentralus AzureRegions = original.Southcentralus
Southeastasia AzureRegions = original.Southeastasia
Uksouth AzureRegions = original.Uksouth
Westcentralus AzureRegions = original.Westcentralus
Westeurope AzureRegions = original.Westeurope
Westus AzureRegions = original.Westus
Westus2 AzureRegions = original.Westus2
)
type BatchInput = original.BatchInput
type DetectedLanguage = original.DetectedLanguage
type EntitiesBatchResult = original.EntitiesBatchResult
type EntitiesBatchResultItem = original.EntitiesBatchResultItem
type EntityRecord = original.EntityRecord
type ErrorRecord = original.ErrorRecord
type ErrorResponse = original.ErrorResponse
type Input = original.Input
type InternalError = original.InternalError
type KeyPhraseBatchResult = original.KeyPhraseBatchResult
type KeyPhraseBatchResultItem = original.KeyPhraseBatchResultItem
type LanguageBatchResult = original.LanguageBatchResult
type LanguageBatchResultItem = original.LanguageBatchResultItem
type MatchRecord = original.MatchRecord
type MultiLanguageBatchInput = original.MultiLanguageBatchInput
type MultiLanguageInput = original.MultiLanguageInput
type SentimentBatchResult = original.SentimentBatchResult
type SentimentBatchResultItem = original.SentimentBatchResultItem
func New(azureRegion AzureRegions) BaseClient {
return original.New(azureRegion)
}
func NewWithoutDefaults(azureRegion AzureRegions) BaseClient {
return original.NewWithoutDefaults(azureRegion)
}
func PossibleAzureRegionsValues() []AzureRegions {
return original.PossibleAzureRegionsValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}

View File

@@ -1,221 +0,0 @@
// +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 videosearch
import original "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/videosearch"
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type ErrorCode = original.ErrorCode
const (
InsufficientAuthorization ErrorCode = original.InsufficientAuthorization
InvalidAuthorization ErrorCode = original.InvalidAuthorization
InvalidRequest ErrorCode = original.InvalidRequest
None ErrorCode = original.None
RateLimitExceeded ErrorCode = original.RateLimitExceeded
ServerError ErrorCode = original.ServerError
)
type ErrorSubCode = original.ErrorSubCode
const (
AuthorizationDisabled ErrorSubCode = original.AuthorizationDisabled
AuthorizationExpired ErrorSubCode = original.AuthorizationExpired
AuthorizationMissing ErrorSubCode = original.AuthorizationMissing
AuthorizationRedundancy ErrorSubCode = original.AuthorizationRedundancy
Blocked ErrorSubCode = original.Blocked
HTTPNotAllowed ErrorSubCode = original.HTTPNotAllowed
NotImplemented ErrorSubCode = original.NotImplemented
ParameterInvalidValue ErrorSubCode = original.ParameterInvalidValue
ParameterMissing ErrorSubCode = original.ParameterMissing
ResourceError ErrorSubCode = original.ResourceError
UnexpectedError ErrorSubCode = original.UnexpectedError
)
type Freshness = original.Freshness
const (
Day Freshness = original.Day
Month Freshness = original.Month
Week Freshness = original.Week
)
type SafeSearch = original.SafeSearch
const (
Moderate SafeSearch = original.Moderate
Off SafeSearch = original.Off
Strict SafeSearch = original.Strict
)
type TextFormat = original.TextFormat
const (
HTML TextFormat = original.HTML
Raw TextFormat = original.Raw
)
type Type = original.Type
const (
TypeAnswer Type = original.TypeAnswer
TypeCreativeWork Type = original.TypeCreativeWork
TypeErrorResponse Type = original.TypeErrorResponse
TypeIdentifiable Type = original.TypeIdentifiable
TypeImageObject Type = original.TypeImageObject
TypeMediaObject Type = original.TypeMediaObject
TypeResponse Type = original.TypeResponse
TypeResponseBase Type = original.TypeResponseBase
TypeSearchResultsAnswer Type = original.TypeSearchResultsAnswer
TypeThing Type = original.TypeThing
TypeTrendingVideos Type = original.TypeTrendingVideos
TypeVideoDetails Type = original.TypeVideoDetails
TypeVideoObject Type = original.TypeVideoObject
TypeVideos Type = original.TypeVideos
)
type VideoInsightModule = original.VideoInsightModule
const (
All VideoInsightModule = original.All
RelatedVideos VideoInsightModule = original.RelatedVideos
VideoResult VideoInsightModule = original.VideoResult
)
type VideoLength = original.VideoLength
const (
VideoLengthAll VideoLength = original.VideoLengthAll
VideoLengthLong VideoLength = original.VideoLengthLong
VideoLengthMedium VideoLength = original.VideoLengthMedium
VideoLengthShort VideoLength = original.VideoLengthShort
)
type VideoPricing = original.VideoPricing
const (
VideoPricingAll VideoPricing = original.VideoPricingAll
VideoPricingFree VideoPricing = original.VideoPricingFree
VideoPricingPaid VideoPricing = original.VideoPricingPaid
)
type VideoQueryScenario = original.VideoQueryScenario
const (
List VideoQueryScenario = original.List
SingleDominantVideo VideoQueryScenario = original.SingleDominantVideo
)
type VideoResolution = original.VideoResolution
const (
VideoResolutionAll VideoResolution = original.VideoResolutionAll
VideoResolutionHD1080p VideoResolution = original.VideoResolutionHD1080p
VideoResolutionHD720p VideoResolution = original.VideoResolutionHD720p
VideoResolutionSD480p VideoResolution = original.VideoResolutionSD480p
)
type BasicAnswer = original.BasicAnswer
type Answer = original.Answer
type BasicCreativeWork = original.BasicCreativeWork
type CreativeWork = original.CreativeWork
type Error = original.Error
type ErrorResponse = original.ErrorResponse
type BasicIdentifiable = original.BasicIdentifiable
type Identifiable = original.Identifiable
type ImageObject = original.ImageObject
type BasicMediaObject = original.BasicMediaObject
type MediaObject = original.MediaObject
type PivotSuggestions = original.PivotSuggestions
type Query = original.Query
type QueryContext = original.QueryContext
type BasicResponse = original.BasicResponse
type Response = original.Response
type BasicResponseBase = original.BasicResponseBase
type ResponseBase = original.ResponseBase
type BasicSearchResultsAnswer = original.BasicSearchResultsAnswer
type SearchResultsAnswer = original.SearchResultsAnswer
type BasicThing = original.BasicThing
type Thing = original.Thing
type TrendingVideos = original.TrendingVideos
type TrendingVideosCategory = original.TrendingVideosCategory
type TrendingVideosSubcategory = original.TrendingVideosSubcategory
type TrendingVideosTile = original.TrendingVideosTile
type VideoDetails = original.VideoDetails
type VideoObject = original.VideoObject
type Videos = original.Videos
type VideosModule = original.VideosModule
type VideosClient = original.VideosClient
func New() BaseClient {
return original.New()
}
func NewWithBaseURI(baseURI string) BaseClient {
return original.NewWithBaseURI(baseURI)
}
func PossibleErrorCodeValues() []ErrorCode {
return original.PossibleErrorCodeValues()
}
func PossibleErrorSubCodeValues() []ErrorSubCode {
return original.PossibleErrorSubCodeValues()
}
func PossibleFreshnessValues() []Freshness {
return original.PossibleFreshnessValues()
}
func PossibleSafeSearchValues() []SafeSearch {
return original.PossibleSafeSearchValues()
}
func PossibleTextFormatValues() []TextFormat {
return original.PossibleTextFormatValues()
}
func PossibleTypeValues() []Type {
return original.PossibleTypeValues()
}
func PossibleVideoInsightModuleValues() []VideoInsightModule {
return original.PossibleVideoInsightModuleValues()
}
func PossibleVideoLengthValues() []VideoLength {
return original.PossibleVideoLengthValues()
}
func PossibleVideoPricingValues() []VideoPricing {
return original.PossibleVideoPricingValues()
}
func PossibleVideoQueryScenarioValues() []VideoQueryScenario {
return original.PossibleVideoQueryScenarioValues()
}
func PossibleVideoResolutionValues() []VideoResolution {
return original.PossibleVideoResolutionValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}
func NewVideosClient() VideosClient {
return original.NewVideosClient()
}
func NewVideosClientWithBaseURI(baseURI string) VideosClient {
return original.NewVideosClientWithBaseURI(baseURI)
}

View File

@@ -1,218 +0,0 @@
// +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 websearch
import original "github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/websearch"
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type AnswerType = original.AnswerType
const (
AnswerTypeComputation AnswerType = original.AnswerTypeComputation
AnswerTypeImages AnswerType = original.AnswerTypeImages
AnswerTypeNews AnswerType = original.AnswerTypeNews
AnswerTypeRelatedSearches AnswerType = original.AnswerTypeRelatedSearches
AnswerTypeSpellSuggestions AnswerType = original.AnswerTypeSpellSuggestions
AnswerTypeTimeZone AnswerType = original.AnswerTypeTimeZone
AnswerTypeVideos AnswerType = original.AnswerTypeVideos
AnswerTypeWebPages AnswerType = original.AnswerTypeWebPages
)
type ErrorCode = original.ErrorCode
const (
InsufficientAuthorization ErrorCode = original.InsufficientAuthorization
InvalidAuthorization ErrorCode = original.InvalidAuthorization
InvalidRequest ErrorCode = original.InvalidRequest
None ErrorCode = original.None
RateLimitExceeded ErrorCode = original.RateLimitExceeded
ServerError ErrorCode = original.ServerError
)
type ErrorSubCode = original.ErrorSubCode
const (
AuthorizationDisabled ErrorSubCode = original.AuthorizationDisabled
AuthorizationExpired ErrorSubCode = original.AuthorizationExpired
AuthorizationMissing ErrorSubCode = original.AuthorizationMissing
AuthorizationRedundancy ErrorSubCode = original.AuthorizationRedundancy
Blocked ErrorSubCode = original.Blocked
HTTPNotAllowed ErrorSubCode = original.HTTPNotAllowed
NotImplemented ErrorSubCode = original.NotImplemented
ParameterInvalidValue ErrorSubCode = original.ParameterInvalidValue
ParameterMissing ErrorSubCode = original.ParameterMissing
ResourceError ErrorSubCode = original.ResourceError
UnexpectedError ErrorSubCode = original.UnexpectedError
)
type Freshness = original.Freshness
const (
Day Freshness = original.Day
Month Freshness = original.Month
Week Freshness = original.Week
)
type SafeSearch = original.SafeSearch
const (
Moderate SafeSearch = original.Moderate
Off SafeSearch = original.Off
Strict SafeSearch = original.Strict
)
type TextFormat = original.TextFormat
const (
HTML TextFormat = original.HTML
Raw TextFormat = original.Raw
)
type Type = original.Type
const (
TypeWebWebGrouping Type = original.TypeWebWebGrouping
)
type TypeBasicResponseBase = original.TypeBasicResponseBase
const (
TypeAnswer TypeBasicResponseBase = original.TypeAnswer
TypeArticle TypeBasicResponseBase = original.TypeArticle
TypeComputation TypeBasicResponseBase = original.TypeComputation
TypeCreativeWork TypeBasicResponseBase = original.TypeCreativeWork
TypeErrorResponse TypeBasicResponseBase = original.TypeErrorResponse
TypeIdentifiable TypeBasicResponseBase = original.TypeIdentifiable
TypeImageObject TypeBasicResponseBase = original.TypeImageObject
TypeImages TypeBasicResponseBase = original.TypeImages
TypeIntangible TypeBasicResponseBase = original.TypeIntangible
TypeMediaObject TypeBasicResponseBase = original.TypeMediaObject
TypeNews TypeBasicResponseBase = original.TypeNews
TypeNewsArticle TypeBasicResponseBase = original.TypeNewsArticle
TypePlaces TypeBasicResponseBase = original.TypePlaces
TypeRelatedSearchesRelatedSearchAnswer TypeBasicResponseBase = original.TypeRelatedSearchesRelatedSearchAnswer
TypeResponse TypeBasicResponseBase = original.TypeResponse
TypeResponseBase TypeBasicResponseBase = original.TypeResponseBase
TypeSearchResponse TypeBasicResponseBase = original.TypeSearchResponse
TypeSearchResultsAnswer TypeBasicResponseBase = original.TypeSearchResultsAnswer
TypeSpellSuggestions TypeBasicResponseBase = original.TypeSpellSuggestions
TypeStructuredValue TypeBasicResponseBase = original.TypeStructuredValue
TypeThing TypeBasicResponseBase = original.TypeThing
TypeTimeZone TypeBasicResponseBase = original.TypeTimeZone
TypeVideoObject TypeBasicResponseBase = original.TypeVideoObject
TypeVideos TypeBasicResponseBase = original.TypeVideos
TypeWebPage TypeBasicResponseBase = original.TypeWebPage
TypeWebWebAnswer TypeBasicResponseBase = original.TypeWebWebAnswer
)
type BasicAnswer = original.BasicAnswer
type Answer = original.Answer
type BasicArticle = original.BasicArticle
type Article = original.Article
type Computation = original.Computation
type BasicCreativeWork = original.BasicCreativeWork
type CreativeWork = original.CreativeWork
type Error = original.Error
type ErrorResponse = original.ErrorResponse
type BasicIdentifiable = original.BasicIdentifiable
type Identifiable = original.Identifiable
type ImageObject = original.ImageObject
type Images = original.Images
type BasicIntangible = original.BasicIntangible
type Intangible = original.Intangible
type BasicMediaObject = original.BasicMediaObject
type MediaObject = original.MediaObject
type News = original.News
type NewsArticle = original.NewsArticle
type Places = original.Places
type Query = original.Query
type QueryContext = original.QueryContext
type RankingRankingGroup = original.RankingRankingGroup
type RankingRankingItem = original.RankingRankingItem
type RankingRankingResponse = original.RankingRankingResponse
type RelatedSearchesRelatedSearchAnswer = original.RelatedSearchesRelatedSearchAnswer
type BasicResponse = original.BasicResponse
type Response = original.Response
type BasicResponseBase = original.BasicResponseBase
type ResponseBase = original.ResponseBase
type SearchResponse = original.SearchResponse
type BasicSearchResultsAnswer = original.BasicSearchResultsAnswer
type SearchResultsAnswer = original.SearchResultsAnswer
type SpellSuggestions = original.SpellSuggestions
type StructuredValue = original.StructuredValue
type BasicThing = original.BasicThing
type Thing = original.Thing
type TimeZone = original.TimeZone
type TimeZoneTimeZoneInformation = original.TimeZoneTimeZoneInformation
type VideoObject = original.VideoObject
type Videos = original.Videos
type WebMetaTag = original.WebMetaTag
type WebPage = original.WebPage
type WebWebAnswer = original.WebWebAnswer
type BasicWebWebGrouping = original.BasicWebWebGrouping
type WebWebGrouping = original.WebWebGrouping
type WebClient = original.WebClient
func New() BaseClient {
return original.New()
}
func NewWithBaseURI(baseURI string) BaseClient {
return original.NewWithBaseURI(baseURI)
}
func PossibleAnswerTypeValues() []AnswerType {
return original.PossibleAnswerTypeValues()
}
func PossibleErrorCodeValues() []ErrorCode {
return original.PossibleErrorCodeValues()
}
func PossibleErrorSubCodeValues() []ErrorSubCode {
return original.PossibleErrorSubCodeValues()
}
func PossibleFreshnessValues() []Freshness {
return original.PossibleFreshnessValues()
}
func PossibleSafeSearchValues() []SafeSearch {
return original.PossibleSafeSearchValues()
}
func PossibleTextFormatValues() []TextFormat {
return original.PossibleTextFormatValues()
}
func PossibleTypeValues() []Type {
return original.PossibleTypeValues()
}
func PossibleTypeBasicResponseBaseValues() []TypeBasicResponseBase {
return original.PossibleTypeBasicResponseBaseValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}
func NewWebClient() WebClient {
return original.NewWebClient()
}
func NewWebClientWithBaseURI(baseURI string) WebClient {
return original.NewWebClientWithBaseURI(baseURI)
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,99 +0,0 @@
// +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 consumption
import original "github.com/Azure/azure-sdk-for-go/services/consumption/mgmt/2017-11-30/consumption"
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type Datagrain = original.Datagrain
const (
DailyGrain Datagrain = original.DailyGrain
MonthlyGrain Datagrain = original.MonthlyGrain
)
type ErrorDetails = original.ErrorDetails
type ErrorResponse = original.ErrorResponse
type MeterDetails = original.MeterDetails
type Operation = original.Operation
type OperationDisplay = original.OperationDisplay
type OperationListResult = original.OperationListResult
type OperationListResultIterator = original.OperationListResultIterator
type OperationListResultPage = original.OperationListResultPage
type ReservationDetails = original.ReservationDetails
type ReservationDetailsListResult = original.ReservationDetailsListResult
type ReservationDetailsProperties = original.ReservationDetailsProperties
type ReservationSummaries = original.ReservationSummaries
type ReservationSummariesListResult = original.ReservationSummariesListResult
type ReservationSummariesProperties = original.ReservationSummariesProperties
type Resource = original.Resource
type UsageDetail = original.UsageDetail
type UsageDetailProperties = original.UsageDetailProperties
type UsageDetailsListResult = original.UsageDetailsListResult
type UsageDetailsListResultIterator = original.UsageDetailsListResultIterator
type UsageDetailsListResultPage = original.UsageDetailsListResultPage
type OperationsClient = original.OperationsClient
type ReservationsDetailsClient = original.ReservationsDetailsClient
type ReservationsSummariesClient = original.ReservationsSummariesClient
type UsageDetailsClient = original.UsageDetailsClient
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func PossibleDatagrainValues() []Datagrain {
return original.PossibleDatagrainValues()
}
func NewOperationsClient(subscriptionID string) OperationsClient {
return original.NewOperationsClient(subscriptionID)
}
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewReservationsDetailsClient(subscriptionID string) ReservationsDetailsClient {
return original.NewReservationsDetailsClient(subscriptionID)
}
func NewReservationsDetailsClientWithBaseURI(baseURI string, subscriptionID string) ReservationsDetailsClient {
return original.NewReservationsDetailsClientWithBaseURI(baseURI, subscriptionID)
}
func NewReservationsSummariesClient(subscriptionID string) ReservationsSummariesClient {
return original.NewReservationsSummariesClient(subscriptionID)
}
func NewReservationsSummariesClientWithBaseURI(baseURI string, subscriptionID string) ReservationsSummariesClient {
return original.NewReservationsSummariesClientWithBaseURI(baseURI, subscriptionID)
}
func NewUsageDetailsClient(subscriptionID string) UsageDetailsClient {
return original.NewUsageDetailsClient(subscriptionID)
}
func NewUsageDetailsClientWithBaseURI(baseURI string, subscriptionID string) UsageDetailsClient {
return original.NewUsageDetailsClientWithBaseURI(baseURI, subscriptionID)
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}

View File

@@ -1,220 +0,0 @@
// +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 containerregistry
import original "github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2017-10-01/containerregistry"
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type ImportMode = original.ImportMode
const (
Force ImportMode = original.Force
NoForce ImportMode = original.NoForce
)
type PasswordName = original.PasswordName
const (
Password PasswordName = original.Password
Password2 PasswordName = original.Password2
)
type ProvisioningState = original.ProvisioningState
const (
Canceled ProvisioningState = original.Canceled
Creating ProvisioningState = original.Creating
Deleting ProvisioningState = original.Deleting
Failed ProvisioningState = original.Failed
Succeeded ProvisioningState = original.Succeeded
Updating ProvisioningState = original.Updating
)
type RegistryUsageUnit = original.RegistryUsageUnit
const (
Bytes RegistryUsageUnit = original.Bytes
Count RegistryUsageUnit = original.Count
)
type SkuName = original.SkuName
const (
Basic SkuName = original.Basic
Classic SkuName = original.Classic
Premium SkuName = original.Premium
Standard SkuName = original.Standard
)
type SkuTier = original.SkuTier
const (
SkuTierBasic SkuTier = original.SkuTierBasic
SkuTierClassic SkuTier = original.SkuTierClassic
SkuTierPremium SkuTier = original.SkuTierPremium
SkuTierStandard SkuTier = original.SkuTierStandard
)
type WebhookAction = original.WebhookAction
const (
Delete WebhookAction = original.Delete
Push WebhookAction = original.Push
)
type WebhookStatus = original.WebhookStatus
const (
Disabled WebhookStatus = original.Disabled
Enabled WebhookStatus = original.Enabled
)
type Actor = original.Actor
type CallbackConfig = original.CallbackConfig
type Event = original.Event
type EventContent = original.EventContent
type EventInfo = original.EventInfo
type EventListResult = original.EventListResult
type EventListResultIterator = original.EventListResultIterator
type EventListResultPage = original.EventListResultPage
type EventRequestMessage = original.EventRequestMessage
type EventResponseMessage = original.EventResponseMessage
type ImportImageParameters = original.ImportImageParameters
type ImportSource = original.ImportSource
type OperationDefinition = original.OperationDefinition
type OperationDisplayDefinition = original.OperationDisplayDefinition
type OperationListResult = original.OperationListResult
type OperationListResultIterator = original.OperationListResultIterator
type OperationListResultPage = original.OperationListResultPage
type RegenerateCredentialParameters = original.RegenerateCredentialParameters
type RegistriesCreateFuture = original.RegistriesCreateFuture
type RegistriesDeleteFuture = original.RegistriesDeleteFuture
type RegistriesImportImageFuture = original.RegistriesImportImageFuture
type RegistriesUpdateFuture = original.RegistriesUpdateFuture
type Registry = original.Registry
type RegistryListCredentialsResult = original.RegistryListCredentialsResult
type RegistryListResult = original.RegistryListResult
type RegistryListResultIterator = original.RegistryListResultIterator
type RegistryListResultPage = original.RegistryListResultPage
type RegistryNameCheckRequest = original.RegistryNameCheckRequest
type RegistryNameStatus = original.RegistryNameStatus
type RegistryPassword = original.RegistryPassword
type RegistryProperties = original.RegistryProperties
type RegistryPropertiesUpdateParameters = original.RegistryPropertiesUpdateParameters
type RegistryUpdateParameters = original.RegistryUpdateParameters
type RegistryUsage = original.RegistryUsage
type RegistryUsageListResult = original.RegistryUsageListResult
type Replication = original.Replication
type ReplicationListResult = original.ReplicationListResult
type ReplicationListResultIterator = original.ReplicationListResultIterator
type ReplicationListResultPage = original.ReplicationListResultPage
type ReplicationProperties = original.ReplicationProperties
type ReplicationsCreateFuture = original.ReplicationsCreateFuture
type ReplicationsDeleteFuture = original.ReplicationsDeleteFuture
type ReplicationsUpdateFuture = original.ReplicationsUpdateFuture
type ReplicationUpdateParameters = original.ReplicationUpdateParameters
type Request = original.Request
type Resource = original.Resource
type Sku = original.Sku
type Source = original.Source
type Status = original.Status
type StorageAccountProperties = original.StorageAccountProperties
type Target = original.Target
type Webhook = original.Webhook
type WebhookCreateParameters = original.WebhookCreateParameters
type WebhookListResult = original.WebhookListResult
type WebhookListResultIterator = original.WebhookListResultIterator
type WebhookListResultPage = original.WebhookListResultPage
type WebhookProperties = original.WebhookProperties
type WebhookPropertiesCreateParameters = original.WebhookPropertiesCreateParameters
type WebhookPropertiesUpdateParameters = original.WebhookPropertiesUpdateParameters
type WebhooksCreateFuture = original.WebhooksCreateFuture
type WebhooksDeleteFuture = original.WebhooksDeleteFuture
type WebhooksUpdateFuture = original.WebhooksUpdateFuture
type WebhookUpdateParameters = original.WebhookUpdateParameters
type OperationsClient = original.OperationsClient
type RegistriesClient = original.RegistriesClient
type ReplicationsClient = original.ReplicationsClient
type WebhooksClient = original.WebhooksClient
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func PossibleImportModeValues() []ImportMode {
return original.PossibleImportModeValues()
}
func PossiblePasswordNameValues() []PasswordName {
return original.PossiblePasswordNameValues()
}
func PossibleProvisioningStateValues() []ProvisioningState {
return original.PossibleProvisioningStateValues()
}
func PossibleRegistryUsageUnitValues() []RegistryUsageUnit {
return original.PossibleRegistryUsageUnitValues()
}
func PossibleSkuNameValues() []SkuName {
return original.PossibleSkuNameValues()
}
func PossibleSkuTierValues() []SkuTier {
return original.PossibleSkuTierValues()
}
func PossibleWebhookActionValues() []WebhookAction {
return original.PossibleWebhookActionValues()
}
func PossibleWebhookStatusValues() []WebhookStatus {
return original.PossibleWebhookStatusValues()
}
func NewOperationsClient(subscriptionID string) OperationsClient {
return original.NewOperationsClient(subscriptionID)
}
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewRegistriesClient(subscriptionID string) RegistriesClient {
return original.NewRegistriesClient(subscriptionID)
}
func NewRegistriesClientWithBaseURI(baseURI string, subscriptionID string) RegistriesClient {
return original.NewRegistriesClientWithBaseURI(baseURI, subscriptionID)
}
func NewReplicationsClient(subscriptionID string) ReplicationsClient {
return original.NewReplicationsClient(subscriptionID)
}
func NewReplicationsClientWithBaseURI(baseURI string, subscriptionID string) ReplicationsClient {
return original.NewReplicationsClientWithBaseURI(baseURI, subscriptionID)
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}
func NewWebhooksClient(subscriptionID string) WebhooksClient {
return original.NewWebhooksClient(subscriptionID)
}
func NewWebhooksClientWithBaseURI(baseURI string, subscriptionID string) WebhooksClient {
return original.NewWebhooksClientWithBaseURI(baseURI, subscriptionID)
}

View File

@@ -1,306 +0,0 @@
// +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 containerservice
import original "github.com/Azure/azure-sdk-for-go/services/containerservice/mgmt/2017-09-30/containerservice"
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type ContainerServicesClient = original.ContainerServicesClient
type ManagedClustersClient = original.ManagedClustersClient
type OrchestratorTypes = original.OrchestratorTypes
const (
Custom OrchestratorTypes = original.Custom
DCOS OrchestratorTypes = original.DCOS
DockerCE OrchestratorTypes = original.DockerCE
Kubernetes OrchestratorTypes = original.Kubernetes
Swarm OrchestratorTypes = original.Swarm
)
type OSType = original.OSType
const (
Linux OSType = original.Linux
Windows OSType = original.Windows
)
type StorageProfileTypes = original.StorageProfileTypes
const (
ManagedDisks StorageProfileTypes = original.ManagedDisks
StorageAccount StorageProfileTypes = original.StorageAccount
)
type VMSizeTypes = original.VMSizeTypes
const (
StandardA1 VMSizeTypes = original.StandardA1
StandardA10 VMSizeTypes = original.StandardA10
StandardA11 VMSizeTypes = original.StandardA11
StandardA1V2 VMSizeTypes = original.StandardA1V2
StandardA2 VMSizeTypes = original.StandardA2
StandardA2mV2 VMSizeTypes = original.StandardA2mV2
StandardA2V2 VMSizeTypes = original.StandardA2V2
StandardA3 VMSizeTypes = original.StandardA3
StandardA4 VMSizeTypes = original.StandardA4
StandardA4mV2 VMSizeTypes = original.StandardA4mV2
StandardA4V2 VMSizeTypes = original.StandardA4V2
StandardA5 VMSizeTypes = original.StandardA5
StandardA6 VMSizeTypes = original.StandardA6
StandardA7 VMSizeTypes = original.StandardA7
StandardA8 VMSizeTypes = original.StandardA8
StandardA8mV2 VMSizeTypes = original.StandardA8mV2
StandardA8V2 VMSizeTypes = original.StandardA8V2
StandardA9 VMSizeTypes = original.StandardA9
StandardB2ms VMSizeTypes = original.StandardB2ms
StandardB2s VMSizeTypes = original.StandardB2s
StandardB4ms VMSizeTypes = original.StandardB4ms
StandardB8ms VMSizeTypes = original.StandardB8ms
StandardD1 VMSizeTypes = original.StandardD1
StandardD11 VMSizeTypes = original.StandardD11
StandardD11V2 VMSizeTypes = original.StandardD11V2
StandardD11V2Promo VMSizeTypes = original.StandardD11V2Promo
StandardD12 VMSizeTypes = original.StandardD12
StandardD12V2 VMSizeTypes = original.StandardD12V2
StandardD12V2Promo VMSizeTypes = original.StandardD12V2Promo
StandardD13 VMSizeTypes = original.StandardD13
StandardD13V2 VMSizeTypes = original.StandardD13V2
StandardD13V2Promo VMSizeTypes = original.StandardD13V2Promo
StandardD14 VMSizeTypes = original.StandardD14
StandardD14V2 VMSizeTypes = original.StandardD14V2
StandardD14V2Promo VMSizeTypes = original.StandardD14V2Promo
StandardD15V2 VMSizeTypes = original.StandardD15V2
StandardD16sV3 VMSizeTypes = original.StandardD16sV3
StandardD16V3 VMSizeTypes = original.StandardD16V3
StandardD1V2 VMSizeTypes = original.StandardD1V2
StandardD2 VMSizeTypes = original.StandardD2
StandardD2sV3 VMSizeTypes = original.StandardD2sV3
StandardD2V2 VMSizeTypes = original.StandardD2V2
StandardD2V2Promo VMSizeTypes = original.StandardD2V2Promo
StandardD2V3 VMSizeTypes = original.StandardD2V3
StandardD3 VMSizeTypes = original.StandardD3
StandardD32sV3 VMSizeTypes = original.StandardD32sV3
StandardD32V3 VMSizeTypes = original.StandardD32V3
StandardD3V2 VMSizeTypes = original.StandardD3V2
StandardD3V2Promo VMSizeTypes = original.StandardD3V2Promo
StandardD4 VMSizeTypes = original.StandardD4
StandardD4sV3 VMSizeTypes = original.StandardD4sV3
StandardD4V2 VMSizeTypes = original.StandardD4V2
StandardD4V2Promo VMSizeTypes = original.StandardD4V2Promo
StandardD4V3 VMSizeTypes = original.StandardD4V3
StandardD5V2 VMSizeTypes = original.StandardD5V2
StandardD5V2Promo VMSizeTypes = original.StandardD5V2Promo
StandardD64sV3 VMSizeTypes = original.StandardD64sV3
StandardD64V3 VMSizeTypes = original.StandardD64V3
StandardD8sV3 VMSizeTypes = original.StandardD8sV3
StandardD8V3 VMSizeTypes = original.StandardD8V3
StandardDS1 VMSizeTypes = original.StandardDS1
StandardDS11 VMSizeTypes = original.StandardDS11
StandardDS11V2 VMSizeTypes = original.StandardDS11V2
StandardDS11V2Promo VMSizeTypes = original.StandardDS11V2Promo
StandardDS12 VMSizeTypes = original.StandardDS12
StandardDS12V2 VMSizeTypes = original.StandardDS12V2
StandardDS12V2Promo VMSizeTypes = original.StandardDS12V2Promo
StandardDS13 VMSizeTypes = original.StandardDS13
StandardDS132V2 VMSizeTypes = original.StandardDS132V2
StandardDS134V2 VMSizeTypes = original.StandardDS134V2
StandardDS13V2 VMSizeTypes = original.StandardDS13V2
StandardDS13V2Promo VMSizeTypes = original.StandardDS13V2Promo
StandardDS14 VMSizeTypes = original.StandardDS14
StandardDS144V2 VMSizeTypes = original.StandardDS144V2
StandardDS148V2 VMSizeTypes = original.StandardDS148V2
StandardDS14V2 VMSizeTypes = original.StandardDS14V2
StandardDS14V2Promo VMSizeTypes = original.StandardDS14V2Promo
StandardDS15V2 VMSizeTypes = original.StandardDS15V2
StandardDS1V2 VMSizeTypes = original.StandardDS1V2
StandardDS2 VMSizeTypes = original.StandardDS2
StandardDS2V2 VMSizeTypes = original.StandardDS2V2
StandardDS2V2Promo VMSizeTypes = original.StandardDS2V2Promo
StandardDS3 VMSizeTypes = original.StandardDS3
StandardDS3V2 VMSizeTypes = original.StandardDS3V2
StandardDS3V2Promo VMSizeTypes = original.StandardDS3V2Promo
StandardDS4 VMSizeTypes = original.StandardDS4
StandardDS4V2 VMSizeTypes = original.StandardDS4V2
StandardDS4V2Promo VMSizeTypes = original.StandardDS4V2Promo
StandardDS5V2 VMSizeTypes = original.StandardDS5V2
StandardDS5V2Promo VMSizeTypes = original.StandardDS5V2Promo
StandardE16sV3 VMSizeTypes = original.StandardE16sV3
StandardE16V3 VMSizeTypes = original.StandardE16V3
StandardE2sV3 VMSizeTypes = original.StandardE2sV3
StandardE2V3 VMSizeTypes = original.StandardE2V3
StandardE3216sV3 VMSizeTypes = original.StandardE3216sV3
StandardE328sV3 VMSizeTypes = original.StandardE328sV3
StandardE32sV3 VMSizeTypes = original.StandardE32sV3
StandardE32V3 VMSizeTypes = original.StandardE32V3
StandardE4sV3 VMSizeTypes = original.StandardE4sV3
StandardE4V3 VMSizeTypes = original.StandardE4V3
StandardE6416sV3 VMSizeTypes = original.StandardE6416sV3
StandardE6432sV3 VMSizeTypes = original.StandardE6432sV3
StandardE64sV3 VMSizeTypes = original.StandardE64sV3
StandardE64V3 VMSizeTypes = original.StandardE64V3
StandardE8sV3 VMSizeTypes = original.StandardE8sV3
StandardE8V3 VMSizeTypes = original.StandardE8V3
StandardF1 VMSizeTypes = original.StandardF1
StandardF16 VMSizeTypes = original.StandardF16
StandardF16s VMSizeTypes = original.StandardF16s
StandardF16sV2 VMSizeTypes = original.StandardF16sV2
StandardF1s VMSizeTypes = original.StandardF1s
StandardF2 VMSizeTypes = original.StandardF2
StandardF2s VMSizeTypes = original.StandardF2s
StandardF2sV2 VMSizeTypes = original.StandardF2sV2
StandardF32sV2 VMSizeTypes = original.StandardF32sV2
StandardF4 VMSizeTypes = original.StandardF4
StandardF4s VMSizeTypes = original.StandardF4s
StandardF4sV2 VMSizeTypes = original.StandardF4sV2
StandardF64sV2 VMSizeTypes = original.StandardF64sV2
StandardF72sV2 VMSizeTypes = original.StandardF72sV2
StandardF8 VMSizeTypes = original.StandardF8
StandardF8s VMSizeTypes = original.StandardF8s
StandardF8sV2 VMSizeTypes = original.StandardF8sV2
StandardG1 VMSizeTypes = original.StandardG1
StandardG2 VMSizeTypes = original.StandardG2
StandardG3 VMSizeTypes = original.StandardG3
StandardG4 VMSizeTypes = original.StandardG4
StandardG5 VMSizeTypes = original.StandardG5
StandardGS1 VMSizeTypes = original.StandardGS1
StandardGS2 VMSizeTypes = original.StandardGS2
StandardGS3 VMSizeTypes = original.StandardGS3
StandardGS4 VMSizeTypes = original.StandardGS4
StandardGS44 VMSizeTypes = original.StandardGS44
StandardGS48 VMSizeTypes = original.StandardGS48
StandardGS5 VMSizeTypes = original.StandardGS5
StandardGS516 VMSizeTypes = original.StandardGS516
StandardGS58 VMSizeTypes = original.StandardGS58
StandardH16 VMSizeTypes = original.StandardH16
StandardH16m VMSizeTypes = original.StandardH16m
StandardH16mr VMSizeTypes = original.StandardH16mr
StandardH16r VMSizeTypes = original.StandardH16r
StandardH8 VMSizeTypes = original.StandardH8
StandardH8m VMSizeTypes = original.StandardH8m
StandardL16s VMSizeTypes = original.StandardL16s
StandardL32s VMSizeTypes = original.StandardL32s
StandardL4s VMSizeTypes = original.StandardL4s
StandardL8s VMSizeTypes = original.StandardL8s
StandardM12832ms VMSizeTypes = original.StandardM12832ms
StandardM12864ms VMSizeTypes = original.StandardM12864ms
StandardM128ms VMSizeTypes = original.StandardM128ms
StandardM128s VMSizeTypes = original.StandardM128s
StandardM6416ms VMSizeTypes = original.StandardM6416ms
StandardM6432ms VMSizeTypes = original.StandardM6432ms
StandardM64ms VMSizeTypes = original.StandardM64ms
StandardM64s VMSizeTypes = original.StandardM64s
StandardNC12 VMSizeTypes = original.StandardNC12
StandardNC12sV2 VMSizeTypes = original.StandardNC12sV2
StandardNC12sV3 VMSizeTypes = original.StandardNC12sV3
StandardNC24 VMSizeTypes = original.StandardNC24
StandardNC24r VMSizeTypes = original.StandardNC24r
StandardNC24rsV2 VMSizeTypes = original.StandardNC24rsV2
StandardNC24rsV3 VMSizeTypes = original.StandardNC24rsV3
StandardNC24sV2 VMSizeTypes = original.StandardNC24sV2
StandardNC24sV3 VMSizeTypes = original.StandardNC24sV3
StandardNC6 VMSizeTypes = original.StandardNC6
StandardNC6sV2 VMSizeTypes = original.StandardNC6sV2
StandardNC6sV3 VMSizeTypes = original.StandardNC6sV3
StandardND12s VMSizeTypes = original.StandardND12s
StandardND24rs VMSizeTypes = original.StandardND24rs
StandardND24s VMSizeTypes = original.StandardND24s
StandardND6s VMSizeTypes = original.StandardND6s
StandardNV12 VMSizeTypes = original.StandardNV12
StandardNV24 VMSizeTypes = original.StandardNV24
StandardNV6 VMSizeTypes = original.StandardNV6
)
type AccessProfile = original.AccessProfile
type AgentPoolProfile = original.AgentPoolProfile
type ContainerService = original.ContainerService
type ContainerServicesCreateOrUpdateFutureType = original.ContainerServicesCreateOrUpdateFutureType
type ContainerServicesDeleteFutureType = original.ContainerServicesDeleteFutureType
type CustomProfile = original.CustomProfile
type DiagnosticsProfile = original.DiagnosticsProfile
type KeyVaultSecretRef = original.KeyVaultSecretRef
type LinuxProfile = original.LinuxProfile
type ListResult = original.ListResult
type ListResultIterator = original.ListResultIterator
type ListResultPage = original.ListResultPage
type ManagedCluster = original.ManagedCluster
type ManagedClusterAccessProfile = original.ManagedClusterAccessProfile
type ManagedClusterListResult = original.ManagedClusterListResult
type ManagedClusterListResultIterator = original.ManagedClusterListResultIterator
type ManagedClusterListResultPage = original.ManagedClusterListResultPage
type ManagedClusterPoolUpgradeProfile = original.ManagedClusterPoolUpgradeProfile
type ManagedClusterProperties = original.ManagedClusterProperties
type ManagedClustersCreateOrUpdateFuture = original.ManagedClustersCreateOrUpdateFuture
type ManagedClustersDeleteFuture = original.ManagedClustersDeleteFuture
type ManagedClusterUpgradeProfile = original.ManagedClusterUpgradeProfile
type ManagedClusterUpgradeProfileProperties = original.ManagedClusterUpgradeProfileProperties
type MasterProfile = original.MasterProfile
type OrchestratorProfile = original.OrchestratorProfile
type OrchestratorProfileType = original.OrchestratorProfileType
type OrchestratorVersionProfile = original.OrchestratorVersionProfile
type OrchestratorVersionProfileListResult = original.OrchestratorVersionProfileListResult
type OrchestratorVersionProfileProperties = original.OrchestratorVersionProfileProperties
type Properties = original.Properties
type Resource = original.Resource
type ServicePrincipalProfile = original.ServicePrincipalProfile
type SSHConfiguration = original.SSHConfiguration
type SSHPublicKey = original.SSHPublicKey
type VMDiagnostics = original.VMDiagnostics
type WindowsProfile = original.WindowsProfile
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func NewContainerServicesClient(subscriptionID string) ContainerServicesClient {
return original.NewContainerServicesClient(subscriptionID)
}
func NewContainerServicesClientWithBaseURI(baseURI string, subscriptionID string) ContainerServicesClient {
return original.NewContainerServicesClientWithBaseURI(baseURI, subscriptionID)
}
func NewManagedClustersClient(subscriptionID string) ManagedClustersClient {
return original.NewManagedClustersClient(subscriptionID)
}
func NewManagedClustersClientWithBaseURI(baseURI string, subscriptionID string) ManagedClustersClient {
return original.NewManagedClustersClientWithBaseURI(baseURI, subscriptionID)
}
func PossibleOrchestratorTypesValues() []OrchestratorTypes {
return original.PossibleOrchestratorTypesValues()
}
func PossibleOSTypeValues() []OSType {
return original.PossibleOSTypeValues()
}
func PossibleStorageProfileTypesValues() []StorageProfileTypes {
return original.PossibleStorageProfileTypesValues()
}
func PossibleVMSizeTypesValues() []VMSizeTypes {
return original.PossibleVMSizeTypesValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}

View File

@@ -1,255 +0,0 @@
// +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 documentdb
import original "github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb"
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type CollectionClient = original.CollectionClient
type CollectionPartitionClient = original.CollectionPartitionClient
type CollectionPartitionRegionClient = original.CollectionPartitionRegionClient
type CollectionRegionClient = original.CollectionRegionClient
type DatabaseClient = original.DatabaseClient
type DatabaseAccountRegionClient = original.DatabaseAccountRegionClient
type DatabaseAccountsClient = original.DatabaseAccountsClient
type DatabaseAccountKind = original.DatabaseAccountKind
const (
GlobalDocumentDB DatabaseAccountKind = original.GlobalDocumentDB
MongoDB DatabaseAccountKind = original.MongoDB
Parse DatabaseAccountKind = original.Parse
)
type DatabaseAccountOfferType = original.DatabaseAccountOfferType
const (
Standard DatabaseAccountOfferType = original.Standard
)
type DefaultConsistencyLevel = original.DefaultConsistencyLevel
const (
BoundedStaleness DefaultConsistencyLevel = original.BoundedStaleness
ConsistentPrefix DefaultConsistencyLevel = original.ConsistentPrefix
Eventual DefaultConsistencyLevel = original.Eventual
Session DefaultConsistencyLevel = original.Session
Strong DefaultConsistencyLevel = original.Strong
)
type KeyKind = original.KeyKind
const (
Primary KeyKind = original.Primary
PrimaryReadonly KeyKind = original.PrimaryReadonly
Secondary KeyKind = original.Secondary
SecondaryReadonly KeyKind = original.SecondaryReadonly
)
type PrimaryAggregationType = original.PrimaryAggregationType
const (
Average PrimaryAggregationType = original.Average
Last PrimaryAggregationType = original.Last
Maximum PrimaryAggregationType = original.Maximum
Minimimum PrimaryAggregationType = original.Minimimum
None PrimaryAggregationType = original.None
Total PrimaryAggregationType = original.Total
)
type UnitType = original.UnitType
const (
Bytes UnitType = original.Bytes
BytesPerSecond UnitType = original.BytesPerSecond
Count UnitType = original.Count
CountPerSecond UnitType = original.CountPerSecond
Milliseconds UnitType = original.Milliseconds
Percent UnitType = original.Percent
Seconds UnitType = original.Seconds
)
type Capability = original.Capability
type ConsistencyPolicy = original.ConsistencyPolicy
type DatabaseAccount = original.DatabaseAccount
type DatabaseAccountConnectionString = original.DatabaseAccountConnectionString
type DatabaseAccountCreateUpdateParameters = original.DatabaseAccountCreateUpdateParameters
type DatabaseAccountCreateUpdateProperties = original.DatabaseAccountCreateUpdateProperties
type DatabaseAccountListConnectionStringsResult = original.DatabaseAccountListConnectionStringsResult
type DatabaseAccountListKeysResult = original.DatabaseAccountListKeysResult
type DatabaseAccountListReadOnlyKeysResult = original.DatabaseAccountListReadOnlyKeysResult
type DatabaseAccountPatchParameters = original.DatabaseAccountPatchParameters
type DatabaseAccountPatchProperties = original.DatabaseAccountPatchProperties
type DatabaseAccountProperties = original.DatabaseAccountProperties
type DatabaseAccountRegenerateKeyParameters = original.DatabaseAccountRegenerateKeyParameters
type DatabaseAccountsCreateOrUpdateFuture = original.DatabaseAccountsCreateOrUpdateFuture
type DatabaseAccountsDeleteFuture = original.DatabaseAccountsDeleteFuture
type DatabaseAccountsFailoverPriorityChangeFuture = original.DatabaseAccountsFailoverPriorityChangeFuture
type DatabaseAccountsListResult = original.DatabaseAccountsListResult
type DatabaseAccountsOfflineRegionFuture = original.DatabaseAccountsOfflineRegionFuture
type DatabaseAccountsOnlineRegionFuture = original.DatabaseAccountsOnlineRegionFuture
type DatabaseAccountsPatchFuture = original.DatabaseAccountsPatchFuture
type DatabaseAccountsRegenerateKeyFuture = original.DatabaseAccountsRegenerateKeyFuture
type ErrorResponse = original.ErrorResponse
type FailoverPolicies = original.FailoverPolicies
type FailoverPolicy = original.FailoverPolicy
type Location = original.Location
type Metric = original.Metric
type MetricAvailability = original.MetricAvailability
type MetricDefinition = original.MetricDefinition
type MetricDefinitionsListResult = original.MetricDefinitionsListResult
type MetricListResult = original.MetricListResult
type MetricName = original.MetricName
type MetricValue = original.MetricValue
type Operation = original.Operation
type OperationDisplay = original.OperationDisplay
type OperationListResult = original.OperationListResult
type OperationListResultIterator = original.OperationListResultIterator
type OperationListResultPage = original.OperationListResultPage
type PartitionMetric = original.PartitionMetric
type PartitionMetricListResult = original.PartitionMetricListResult
type PartitionUsage = original.PartitionUsage
type PartitionUsagesResult = original.PartitionUsagesResult
type PercentileMetric = original.PercentileMetric
type PercentileMetricListResult = original.PercentileMetricListResult
type PercentileMetricValue = original.PercentileMetricValue
type RegionForOnlineOffline = original.RegionForOnlineOffline
type Resource = original.Resource
type Usage = original.Usage
type UsagesResult = original.UsagesResult
type VirtualNetworkRule = original.VirtualNetworkRule
type OperationsClient = original.OperationsClient
type PartitionKeyRangeIDClient = original.PartitionKeyRangeIDClient
type PartitionKeyRangeIDRegionClient = original.PartitionKeyRangeIDRegionClient
type PercentileClient = original.PercentileClient
type PercentileSourceTargetClient = original.PercentileSourceTargetClient
type PercentileTargetClient = original.PercentileTargetClient
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func NewCollectionClient(subscriptionID string) CollectionClient {
return original.NewCollectionClient(subscriptionID)
}
func NewCollectionClientWithBaseURI(baseURI string, subscriptionID string) CollectionClient {
return original.NewCollectionClientWithBaseURI(baseURI, subscriptionID)
}
func NewCollectionPartitionClient(subscriptionID string) CollectionPartitionClient {
return original.NewCollectionPartitionClient(subscriptionID)
}
func NewCollectionPartitionClientWithBaseURI(baseURI string, subscriptionID string) CollectionPartitionClient {
return original.NewCollectionPartitionClientWithBaseURI(baseURI, subscriptionID)
}
func NewCollectionPartitionRegionClient(subscriptionID string) CollectionPartitionRegionClient {
return original.NewCollectionPartitionRegionClient(subscriptionID)
}
func NewCollectionPartitionRegionClientWithBaseURI(baseURI string, subscriptionID string) CollectionPartitionRegionClient {
return original.NewCollectionPartitionRegionClientWithBaseURI(baseURI, subscriptionID)
}
func NewCollectionRegionClient(subscriptionID string) CollectionRegionClient {
return original.NewCollectionRegionClient(subscriptionID)
}
func NewCollectionRegionClientWithBaseURI(baseURI string, subscriptionID string) CollectionRegionClient {
return original.NewCollectionRegionClientWithBaseURI(baseURI, subscriptionID)
}
func NewDatabaseClient(subscriptionID string) DatabaseClient {
return original.NewDatabaseClient(subscriptionID)
}
func NewDatabaseClientWithBaseURI(baseURI string, subscriptionID string) DatabaseClient {
return original.NewDatabaseClientWithBaseURI(baseURI, subscriptionID)
}
func NewDatabaseAccountRegionClient(subscriptionID string) DatabaseAccountRegionClient {
return original.NewDatabaseAccountRegionClient(subscriptionID)
}
func NewDatabaseAccountRegionClientWithBaseURI(baseURI string, subscriptionID string) DatabaseAccountRegionClient {
return original.NewDatabaseAccountRegionClientWithBaseURI(baseURI, subscriptionID)
}
func NewDatabaseAccountsClient(subscriptionID string) DatabaseAccountsClient {
return original.NewDatabaseAccountsClient(subscriptionID)
}
func NewDatabaseAccountsClientWithBaseURI(baseURI string, subscriptionID string) DatabaseAccountsClient {
return original.NewDatabaseAccountsClientWithBaseURI(baseURI, subscriptionID)
}
func PossibleDatabaseAccountKindValues() []DatabaseAccountKind {
return original.PossibleDatabaseAccountKindValues()
}
func PossibleDatabaseAccountOfferTypeValues() []DatabaseAccountOfferType {
return original.PossibleDatabaseAccountOfferTypeValues()
}
func PossibleDefaultConsistencyLevelValues() []DefaultConsistencyLevel {
return original.PossibleDefaultConsistencyLevelValues()
}
func PossibleKeyKindValues() []KeyKind {
return original.PossibleKeyKindValues()
}
func PossiblePrimaryAggregationTypeValues() []PrimaryAggregationType {
return original.PossiblePrimaryAggregationTypeValues()
}
func PossibleUnitTypeValues() []UnitType {
return original.PossibleUnitTypeValues()
}
func NewOperationsClient(subscriptionID string) OperationsClient {
return original.NewOperationsClient(subscriptionID)
}
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewPartitionKeyRangeIDClient(subscriptionID string) PartitionKeyRangeIDClient {
return original.NewPartitionKeyRangeIDClient(subscriptionID)
}
func NewPartitionKeyRangeIDClientWithBaseURI(baseURI string, subscriptionID string) PartitionKeyRangeIDClient {
return original.NewPartitionKeyRangeIDClientWithBaseURI(baseURI, subscriptionID)
}
func NewPartitionKeyRangeIDRegionClient(subscriptionID string) PartitionKeyRangeIDRegionClient {
return original.NewPartitionKeyRangeIDRegionClient(subscriptionID)
}
func NewPartitionKeyRangeIDRegionClientWithBaseURI(baseURI string, subscriptionID string) PartitionKeyRangeIDRegionClient {
return original.NewPartitionKeyRangeIDRegionClientWithBaseURI(baseURI, subscriptionID)
}
func NewPercentileClient(subscriptionID string) PercentileClient {
return original.NewPercentileClient(subscriptionID)
}
func NewPercentileClientWithBaseURI(baseURI string, subscriptionID string) PercentileClient {
return original.NewPercentileClientWithBaseURI(baseURI, subscriptionID)
}
func NewPercentileSourceTargetClient(subscriptionID string) PercentileSourceTargetClient {
return original.NewPercentileSourceTargetClient(subscriptionID)
}
func NewPercentileSourceTargetClientWithBaseURI(baseURI string, subscriptionID string) PercentileSourceTargetClient {
return original.NewPercentileSourceTargetClientWithBaseURI(baseURI, subscriptionID)
}
func NewPercentileTargetClient(subscriptionID string) PercentileTargetClient {
return original.NewPercentileTargetClient(subscriptionID)
}
func NewPercentileTargetClientWithBaseURI(baseURI string, subscriptionID string) PercentileTargetClient {
return original.NewPercentileTargetClientWithBaseURI(baseURI, subscriptionID)
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}

View File

@@ -1,569 +0,0 @@
// +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 customerinsights
import original "github.com/Azure/azure-sdk-for-go/services/customerinsights/mgmt/2017-04-26/customerinsights"
type AuthorizationPoliciesClient = original.AuthorizationPoliciesClient
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type ConnectorMappingsClient = original.ConnectorMappingsClient
type ConnectorsClient = original.ConnectorsClient
type HubsClient = original.HubsClient
type ImagesClient = original.ImagesClient
type InteractionsClient = original.InteractionsClient
type KpiClient = original.KpiClient
type LinksClient = original.LinksClient
type CalculationWindowTypes = original.CalculationWindowTypes
const (
Day CalculationWindowTypes = original.Day
Hour CalculationWindowTypes = original.Hour
Lifetime CalculationWindowTypes = original.Lifetime
Month CalculationWindowTypes = original.Month
Week CalculationWindowTypes = original.Week
)
type CanonicalPropertyValueType = original.CanonicalPropertyValueType
const (
Categorical CanonicalPropertyValueType = original.Categorical
DerivedCategorical CanonicalPropertyValueType = original.DerivedCategorical
DerivedNumeric CanonicalPropertyValueType = original.DerivedNumeric
Numeric CanonicalPropertyValueType = original.Numeric
)
type CardinalityTypes = original.CardinalityTypes
const (
ManyToMany CardinalityTypes = original.ManyToMany
OneToMany CardinalityTypes = original.OneToMany
OneToOne CardinalityTypes = original.OneToOne
)
type CompletionOperationTypes = original.CompletionOperationTypes
const (
DeleteFile CompletionOperationTypes = original.DeleteFile
DoNothing CompletionOperationTypes = original.DoNothing
MoveFile CompletionOperationTypes = original.MoveFile
)
type ConnectorMappingStates = original.ConnectorMappingStates
const (
Created ConnectorMappingStates = original.Created
Creating ConnectorMappingStates = original.Creating
Expiring ConnectorMappingStates = original.Expiring
Failed ConnectorMappingStates = original.Failed
Ready ConnectorMappingStates = original.Ready
Running ConnectorMappingStates = original.Running
Stopped ConnectorMappingStates = original.Stopped
)
type ConnectorStates = original.ConnectorStates
const (
ConnectorStatesCreated ConnectorStates = original.ConnectorStatesCreated
ConnectorStatesCreating ConnectorStates = original.ConnectorStatesCreating
ConnectorStatesDeleting ConnectorStates = original.ConnectorStatesDeleting
ConnectorStatesExpiring ConnectorStates = original.ConnectorStatesExpiring
ConnectorStatesFailed ConnectorStates = original.ConnectorStatesFailed
ConnectorStatesReady ConnectorStates = original.ConnectorStatesReady
)
type ConnectorTypes = original.ConnectorTypes
const (
AzureBlob ConnectorTypes = original.AzureBlob
CRM ConnectorTypes = original.CRM
ExchangeOnline ConnectorTypes = original.ExchangeOnline
None ConnectorTypes = original.None
Outbound ConnectorTypes = original.Outbound
Salesforce ConnectorTypes = original.Salesforce
)
type DataSourceType = original.DataSourceType
const (
DataSourceTypeConnector DataSourceType = original.DataSourceTypeConnector
DataSourceTypeLinkInteraction DataSourceType = original.DataSourceTypeLinkInteraction
DataSourceTypeSystemDefault DataSourceType = original.DataSourceTypeSystemDefault
)
type EntityType = original.EntityType
const (
EntityTypeInteraction EntityType = original.EntityTypeInteraction
EntityTypeNone EntityType = original.EntityTypeNone
EntityTypeProfile EntityType = original.EntityTypeProfile
EntityTypeRelationship EntityType = original.EntityTypeRelationship
)
type EntityTypes = original.EntityTypes
const (
EntityTypesInteraction EntityTypes = original.EntityTypesInteraction
EntityTypesNone EntityTypes = original.EntityTypesNone
EntityTypesProfile EntityTypes = original.EntityTypesProfile
EntityTypesRelationship EntityTypes = original.EntityTypesRelationship
)
type ErrorManagementTypes = original.ErrorManagementTypes
const (
RejectAndContinue ErrorManagementTypes = original.RejectAndContinue
RejectUntilLimit ErrorManagementTypes = original.RejectUntilLimit
StopImport ErrorManagementTypes = original.StopImport
)
type FrequencyTypes = original.FrequencyTypes
const (
FrequencyTypesDay FrequencyTypes = original.FrequencyTypesDay
FrequencyTypesHour FrequencyTypes = original.FrequencyTypesHour
FrequencyTypesMinute FrequencyTypes = original.FrequencyTypesMinute
FrequencyTypesMonth FrequencyTypes = original.FrequencyTypesMonth
FrequencyTypesWeek FrequencyTypes = original.FrequencyTypesWeek
)
type InstanceOperationType = original.InstanceOperationType
const (
Delete InstanceOperationType = original.Delete
Upsert InstanceOperationType = original.Upsert
)
type KpiFunctions = original.KpiFunctions
const (
KpiFunctionsAvg KpiFunctions = original.KpiFunctionsAvg
KpiFunctionsCount KpiFunctions = original.KpiFunctionsCount
KpiFunctionsCountDistinct KpiFunctions = original.KpiFunctionsCountDistinct
KpiFunctionsLast KpiFunctions = original.KpiFunctionsLast
KpiFunctionsMax KpiFunctions = original.KpiFunctionsMax
KpiFunctionsMin KpiFunctions = original.KpiFunctionsMin
KpiFunctionsNone KpiFunctions = original.KpiFunctionsNone
KpiFunctionsSum KpiFunctions = original.KpiFunctionsSum
)
type LinkTypes = original.LinkTypes
const (
CopyIfNull LinkTypes = original.CopyIfNull
UpdateAlways LinkTypes = original.UpdateAlways
)
type PermissionTypes = original.PermissionTypes
const (
Manage PermissionTypes = original.Manage
Read PermissionTypes = original.Read
Write PermissionTypes = original.Write
)
type PredictionModelLifeCycle = original.PredictionModelLifeCycle
const (
PredictionModelLifeCycleActive PredictionModelLifeCycle = original.PredictionModelLifeCycleActive
PredictionModelLifeCycleDeleted PredictionModelLifeCycle = original.PredictionModelLifeCycleDeleted
PredictionModelLifeCycleDiscovering PredictionModelLifeCycle = original.PredictionModelLifeCycleDiscovering
PredictionModelLifeCycleEvaluating PredictionModelLifeCycle = original.PredictionModelLifeCycleEvaluating
PredictionModelLifeCycleEvaluatingFailed PredictionModelLifeCycle = original.PredictionModelLifeCycleEvaluatingFailed
PredictionModelLifeCycleFailed PredictionModelLifeCycle = original.PredictionModelLifeCycleFailed
PredictionModelLifeCycleFeaturing PredictionModelLifeCycle = original.PredictionModelLifeCycleFeaturing
PredictionModelLifeCycleFeaturingFailed PredictionModelLifeCycle = original.PredictionModelLifeCycleFeaturingFailed
PredictionModelLifeCycleHumanIntervention PredictionModelLifeCycle = original.PredictionModelLifeCycleHumanIntervention
PredictionModelLifeCycleNew PredictionModelLifeCycle = original.PredictionModelLifeCycleNew
PredictionModelLifeCyclePendingDiscovering PredictionModelLifeCycle = original.PredictionModelLifeCyclePendingDiscovering
PredictionModelLifeCyclePendingFeaturing PredictionModelLifeCycle = original.PredictionModelLifeCyclePendingFeaturing
PredictionModelLifeCyclePendingModelConfirmation PredictionModelLifeCycle = original.PredictionModelLifeCyclePendingModelConfirmation
PredictionModelLifeCyclePendingTraining PredictionModelLifeCycle = original.PredictionModelLifeCyclePendingTraining
PredictionModelLifeCycleProvisioning PredictionModelLifeCycle = original.PredictionModelLifeCycleProvisioning
PredictionModelLifeCycleProvisioningFailed PredictionModelLifeCycle = original.PredictionModelLifeCycleProvisioningFailed
PredictionModelLifeCycleTraining PredictionModelLifeCycle = original.PredictionModelLifeCycleTraining
PredictionModelLifeCycleTrainingFailed PredictionModelLifeCycle = original.PredictionModelLifeCycleTrainingFailed
)
type ProvisioningStates = original.ProvisioningStates
const (
ProvisioningStatesDeleting ProvisioningStates = original.ProvisioningStatesDeleting
ProvisioningStatesExpiring ProvisioningStates = original.ProvisioningStatesExpiring
ProvisioningStatesFailed ProvisioningStates = original.ProvisioningStatesFailed
ProvisioningStatesHumanIntervention ProvisioningStates = original.ProvisioningStatesHumanIntervention
ProvisioningStatesProvisioning ProvisioningStates = original.ProvisioningStatesProvisioning
ProvisioningStatesSucceeded ProvisioningStates = original.ProvisioningStatesSucceeded
)
type RoleTypes = original.RoleTypes
const (
Admin RoleTypes = original.Admin
DataAdmin RoleTypes = original.DataAdmin
DataReader RoleTypes = original.DataReader
ManageAdmin RoleTypes = original.ManageAdmin
ManageReader RoleTypes = original.ManageReader
Reader RoleTypes = original.Reader
)
type Status = original.Status
const (
StatusActive Status = original.StatusActive
StatusDeleted Status = original.StatusDeleted
StatusNone Status = original.StatusNone
)
type AssignmentPrincipal = original.AssignmentPrincipal
type AuthorizationPolicy = original.AuthorizationPolicy
type AuthorizationPolicyListResult = original.AuthorizationPolicyListResult
type AuthorizationPolicyListResultIterator = original.AuthorizationPolicyListResultIterator
type AuthorizationPolicyListResultPage = original.AuthorizationPolicyListResultPage
type AuthorizationPolicyResourceFormat = original.AuthorizationPolicyResourceFormat
type AzureBlobConnectorProperties = original.AzureBlobConnectorProperties
type CanonicalProfileDefinition = original.CanonicalProfileDefinition
type CanonicalProfileDefinitionPropertiesItem = original.CanonicalProfileDefinitionPropertiesItem
type Connector = original.Connector
type ConnectorListResult = original.ConnectorListResult
type ConnectorListResultIterator = original.ConnectorListResultIterator
type ConnectorListResultPage = original.ConnectorListResultPage
type ConnectorMapping = original.ConnectorMapping
type ConnectorMappingAvailability = original.ConnectorMappingAvailability
type ConnectorMappingCompleteOperation = original.ConnectorMappingCompleteOperation
type ConnectorMappingErrorManagement = original.ConnectorMappingErrorManagement
type ConnectorMappingFormat = original.ConnectorMappingFormat
type ConnectorMappingListResult = original.ConnectorMappingListResult
type ConnectorMappingListResultIterator = original.ConnectorMappingListResultIterator
type ConnectorMappingListResultPage = original.ConnectorMappingListResultPage
type ConnectorMappingProperties = original.ConnectorMappingProperties
type ConnectorMappingResourceFormat = original.ConnectorMappingResourceFormat
type ConnectorMappingStructure = original.ConnectorMappingStructure
type ConnectorResourceFormat = original.ConnectorResourceFormat
type ConnectorsCreateOrUpdateFuture = original.ConnectorsCreateOrUpdateFuture
type ConnectorsDeleteFuture = original.ConnectorsDeleteFuture
type CrmConnectorEntities = original.CrmConnectorEntities
type CrmConnectorProperties = original.CrmConnectorProperties
type DataSource = original.DataSource
type DataSourcePrecedence = original.DataSourcePrecedence
type EnrichingKpi = original.EnrichingKpi
type EntityTypeDefinition = original.EntityTypeDefinition
type GetImageUploadURLInput = original.GetImageUploadURLInput
type Hub = original.Hub
type HubBillingInfoFormat = original.HubBillingInfoFormat
type HubListResult = original.HubListResult
type HubListResultIterator = original.HubListResultIterator
type HubListResultPage = original.HubListResultPage
type HubPropertiesFormat = original.HubPropertiesFormat
type HubsDeleteFuture = original.HubsDeleteFuture
type ImageDefinition = original.ImageDefinition
type InteractionListResult = original.InteractionListResult
type InteractionListResultIterator = original.InteractionListResultIterator
type InteractionListResultPage = original.InteractionListResultPage
type InteractionResourceFormat = original.InteractionResourceFormat
type InteractionsCreateOrUpdateFuture = original.InteractionsCreateOrUpdateFuture
type InteractionTypeDefinition = original.InteractionTypeDefinition
type KpiAlias = original.KpiAlias
type KpiCreateOrUpdateFuture = original.KpiCreateOrUpdateFuture
type KpiDefinition = original.KpiDefinition
type KpiDeleteFuture = original.KpiDeleteFuture
type KpiExtract = original.KpiExtract
type KpiGroupByMetadata = original.KpiGroupByMetadata
type KpiListResult = original.KpiListResult
type KpiListResultIterator = original.KpiListResultIterator
type KpiListResultPage = original.KpiListResultPage
type KpiParticipantProfilesMetadata = original.KpiParticipantProfilesMetadata
type KpiResourceFormat = original.KpiResourceFormat
type KpiThresholds = original.KpiThresholds
type LinkDefinition = original.LinkDefinition
type LinkListResult = original.LinkListResult
type LinkListResultIterator = original.LinkListResultIterator
type LinkListResultPage = original.LinkListResultPage
type LinkResourceFormat = original.LinkResourceFormat
type LinksCreateOrUpdateFuture = original.LinksCreateOrUpdateFuture
type ListKpiDefinition = original.ListKpiDefinition
type MetadataDefinitionBase = original.MetadataDefinitionBase
type Operation = original.Operation
type OperationDisplay = original.OperationDisplay
type OperationListResult = original.OperationListResult
type OperationListResultIterator = original.OperationListResultIterator
type OperationListResultPage = original.OperationListResultPage
type Participant = original.Participant
type ParticipantProfilePropertyReference = original.ParticipantProfilePropertyReference
type ParticipantPropertyReference = original.ParticipantPropertyReference
type Prediction = original.Prediction
type PredictionDistributionDefinition = original.PredictionDistributionDefinition
type PredictionDistributionDefinitionDistributionsItem = original.PredictionDistributionDefinitionDistributionsItem
type PredictionGradesItem = original.PredictionGradesItem
type PredictionListResult = original.PredictionListResult
type PredictionListResultIterator = original.PredictionListResultIterator
type PredictionListResultPage = original.PredictionListResultPage
type PredictionMappings = original.PredictionMappings
type PredictionModelStatus = original.PredictionModelStatus
type PredictionResourceFormat = original.PredictionResourceFormat
type PredictionsCreateOrUpdateFuture = original.PredictionsCreateOrUpdateFuture
type PredictionsDeleteFuture = original.PredictionsDeleteFuture
type PredictionSystemGeneratedEntities = original.PredictionSystemGeneratedEntities
type PredictionTrainingResults = original.PredictionTrainingResults
type ProfileEnumValidValuesFormat = original.ProfileEnumValidValuesFormat
type ProfileListResult = original.ProfileListResult
type ProfileListResultIterator = original.ProfileListResultIterator
type ProfileListResultPage = original.ProfileListResultPage
type ProfileResourceFormat = original.ProfileResourceFormat
type ProfilesCreateOrUpdateFuture = original.ProfilesCreateOrUpdateFuture
type ProfilesDeleteFuture = original.ProfilesDeleteFuture
type ProfileTypeDefinition = original.ProfileTypeDefinition
type PropertyDefinition = original.PropertyDefinition
type ProxyResource = original.ProxyResource
type RelationshipDefinition = original.RelationshipDefinition
type RelationshipLinkDefinition = original.RelationshipLinkDefinition
type RelationshipLinkFieldMapping = original.RelationshipLinkFieldMapping
type RelationshipLinkListResult = original.RelationshipLinkListResult
type RelationshipLinkListResultIterator = original.RelationshipLinkListResultIterator
type RelationshipLinkListResultPage = original.RelationshipLinkListResultPage
type RelationshipLinkResourceFormat = original.RelationshipLinkResourceFormat
type RelationshipLinksCreateOrUpdateFuture = original.RelationshipLinksCreateOrUpdateFuture
type RelationshipLinksDeleteFuture = original.RelationshipLinksDeleteFuture
type RelationshipListResult = original.RelationshipListResult
type RelationshipListResultIterator = original.RelationshipListResultIterator
type RelationshipListResultPage = original.RelationshipListResultPage
type RelationshipResourceFormat = original.RelationshipResourceFormat
type RelationshipsCreateOrUpdateFuture = original.RelationshipsCreateOrUpdateFuture
type RelationshipsDeleteFuture = original.RelationshipsDeleteFuture
type RelationshipsLookup = original.RelationshipsLookup
type RelationshipTypeFieldMapping = original.RelationshipTypeFieldMapping
type RelationshipTypeMapping = original.RelationshipTypeMapping
type Resource = original.Resource
type ResourceSetDescription = original.ResourceSetDescription
type Role = original.Role
type RoleAssignment = original.RoleAssignment
type RoleAssignmentListResult = original.RoleAssignmentListResult
type RoleAssignmentListResultIterator = original.RoleAssignmentListResultIterator
type RoleAssignmentListResultPage = original.RoleAssignmentListResultPage
type RoleAssignmentResourceFormat = original.RoleAssignmentResourceFormat
type RoleAssignmentsCreateOrUpdateFuture = original.RoleAssignmentsCreateOrUpdateFuture
type RoleListResult = original.RoleListResult
type RoleListResultIterator = original.RoleListResultIterator
type RoleListResultPage = original.RoleListResultPage
type RoleResourceFormat = original.RoleResourceFormat
type SalesforceConnectorProperties = original.SalesforceConnectorProperties
type SalesforceDiscoverSetting = original.SalesforceDiscoverSetting
type SalesforceTable = original.SalesforceTable
type StrongID = original.StrongID
type SuggestRelationshipLinksResponse = original.SuggestRelationshipLinksResponse
type TypePropertiesMapping = original.TypePropertiesMapping
type View = original.View
type ViewListResult = original.ViewListResult
type ViewListResultIterator = original.ViewListResultIterator
type ViewListResultPage = original.ViewListResultPage
type ViewResourceFormat = original.ViewResourceFormat
type WidgetType = original.WidgetType
type WidgetTypeListResult = original.WidgetTypeListResult
type WidgetTypeListResultIterator = original.WidgetTypeListResultIterator
type WidgetTypeListResultPage = original.WidgetTypeListResultPage
type WidgetTypeResourceFormat = original.WidgetTypeResourceFormat
type OperationsClient = original.OperationsClient
type PredictionsClient = original.PredictionsClient
type ProfilesClient = original.ProfilesClient
type RelationshipLinksClient = original.RelationshipLinksClient
type RelationshipsClient = original.RelationshipsClient
type RoleAssignmentsClient = original.RoleAssignmentsClient
type RolesClient = original.RolesClient
type ViewsClient = original.ViewsClient
type WidgetTypesClient = original.WidgetTypesClient
func NewAuthorizationPoliciesClient(subscriptionID string) AuthorizationPoliciesClient {
return original.NewAuthorizationPoliciesClient(subscriptionID)
}
func NewAuthorizationPoliciesClientWithBaseURI(baseURI string, subscriptionID string) AuthorizationPoliciesClient {
return original.NewAuthorizationPoliciesClientWithBaseURI(baseURI, subscriptionID)
}
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func NewConnectorMappingsClient(subscriptionID string) ConnectorMappingsClient {
return original.NewConnectorMappingsClient(subscriptionID)
}
func NewConnectorMappingsClientWithBaseURI(baseURI string, subscriptionID string) ConnectorMappingsClient {
return original.NewConnectorMappingsClientWithBaseURI(baseURI, subscriptionID)
}
func NewConnectorsClient(subscriptionID string) ConnectorsClient {
return original.NewConnectorsClient(subscriptionID)
}
func NewConnectorsClientWithBaseURI(baseURI string, subscriptionID string) ConnectorsClient {
return original.NewConnectorsClientWithBaseURI(baseURI, subscriptionID)
}
func NewHubsClient(subscriptionID string) HubsClient {
return original.NewHubsClient(subscriptionID)
}
func NewHubsClientWithBaseURI(baseURI string, subscriptionID string) HubsClient {
return original.NewHubsClientWithBaseURI(baseURI, subscriptionID)
}
func NewImagesClient(subscriptionID string) ImagesClient {
return original.NewImagesClient(subscriptionID)
}
func NewImagesClientWithBaseURI(baseURI string, subscriptionID string) ImagesClient {
return original.NewImagesClientWithBaseURI(baseURI, subscriptionID)
}
func NewInteractionsClient(subscriptionID string) InteractionsClient {
return original.NewInteractionsClient(subscriptionID)
}
func NewInteractionsClientWithBaseURI(baseURI string, subscriptionID string) InteractionsClient {
return original.NewInteractionsClientWithBaseURI(baseURI, subscriptionID)
}
func NewKpiClient(subscriptionID string) KpiClient {
return original.NewKpiClient(subscriptionID)
}
func NewKpiClientWithBaseURI(baseURI string, subscriptionID string) KpiClient {
return original.NewKpiClientWithBaseURI(baseURI, subscriptionID)
}
func NewLinksClient(subscriptionID string) LinksClient {
return original.NewLinksClient(subscriptionID)
}
func NewLinksClientWithBaseURI(baseURI string, subscriptionID string) LinksClient {
return original.NewLinksClientWithBaseURI(baseURI, subscriptionID)
}
func PossibleCalculationWindowTypesValues() []CalculationWindowTypes {
return original.PossibleCalculationWindowTypesValues()
}
func PossibleCanonicalPropertyValueTypeValues() []CanonicalPropertyValueType {
return original.PossibleCanonicalPropertyValueTypeValues()
}
func PossibleCardinalityTypesValues() []CardinalityTypes {
return original.PossibleCardinalityTypesValues()
}
func PossibleCompletionOperationTypesValues() []CompletionOperationTypes {
return original.PossibleCompletionOperationTypesValues()
}
func PossibleConnectorMappingStatesValues() []ConnectorMappingStates {
return original.PossibleConnectorMappingStatesValues()
}
func PossibleConnectorStatesValues() []ConnectorStates {
return original.PossibleConnectorStatesValues()
}
func PossibleConnectorTypesValues() []ConnectorTypes {
return original.PossibleConnectorTypesValues()
}
func PossibleDataSourceTypeValues() []DataSourceType {
return original.PossibleDataSourceTypeValues()
}
func PossibleEntityTypeValues() []EntityType {
return original.PossibleEntityTypeValues()
}
func PossibleEntityTypesValues() []EntityTypes {
return original.PossibleEntityTypesValues()
}
func PossibleErrorManagementTypesValues() []ErrorManagementTypes {
return original.PossibleErrorManagementTypesValues()
}
func PossibleFrequencyTypesValues() []FrequencyTypes {
return original.PossibleFrequencyTypesValues()
}
func PossibleInstanceOperationTypeValues() []InstanceOperationType {
return original.PossibleInstanceOperationTypeValues()
}
func PossibleKpiFunctionsValues() []KpiFunctions {
return original.PossibleKpiFunctionsValues()
}
func PossibleLinkTypesValues() []LinkTypes {
return original.PossibleLinkTypesValues()
}
func PossiblePermissionTypesValues() []PermissionTypes {
return original.PossiblePermissionTypesValues()
}
func PossiblePredictionModelLifeCycleValues() []PredictionModelLifeCycle {
return original.PossiblePredictionModelLifeCycleValues()
}
func PossibleProvisioningStatesValues() []ProvisioningStates {
return original.PossibleProvisioningStatesValues()
}
func PossibleRoleTypesValues() []RoleTypes {
return original.PossibleRoleTypesValues()
}
func PossibleStatusValues() []Status {
return original.PossibleStatusValues()
}
func NewOperationsClient(subscriptionID string) OperationsClient {
return original.NewOperationsClient(subscriptionID)
}
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewPredictionsClient(subscriptionID string) PredictionsClient {
return original.NewPredictionsClient(subscriptionID)
}
func NewPredictionsClientWithBaseURI(baseURI string, subscriptionID string) PredictionsClient {
return original.NewPredictionsClientWithBaseURI(baseURI, subscriptionID)
}
func NewProfilesClient(subscriptionID string) ProfilesClient {
return original.NewProfilesClient(subscriptionID)
}
func NewProfilesClientWithBaseURI(baseURI string, subscriptionID string) ProfilesClient {
return original.NewProfilesClientWithBaseURI(baseURI, subscriptionID)
}
func NewRelationshipLinksClient(subscriptionID string) RelationshipLinksClient {
return original.NewRelationshipLinksClient(subscriptionID)
}
func NewRelationshipLinksClientWithBaseURI(baseURI string, subscriptionID string) RelationshipLinksClient {
return original.NewRelationshipLinksClientWithBaseURI(baseURI, subscriptionID)
}
func NewRelationshipsClient(subscriptionID string) RelationshipsClient {
return original.NewRelationshipsClient(subscriptionID)
}
func NewRelationshipsClientWithBaseURI(baseURI string, subscriptionID string) RelationshipsClient {
return original.NewRelationshipsClientWithBaseURI(baseURI, subscriptionID)
}
func NewRoleAssignmentsClient(subscriptionID string) RoleAssignmentsClient {
return original.NewRoleAssignmentsClient(subscriptionID)
}
func NewRoleAssignmentsClientWithBaseURI(baseURI string, subscriptionID string) RoleAssignmentsClient {
return original.NewRoleAssignmentsClientWithBaseURI(baseURI, subscriptionID)
}
func NewRolesClient(subscriptionID string) RolesClient {
return original.NewRolesClient(subscriptionID)
}
func NewRolesClientWithBaseURI(baseURI string, subscriptionID string) RolesClient {
return original.NewRolesClientWithBaseURI(baseURI, subscriptionID)
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}
func NewViewsClient(subscriptionID string) ViewsClient {
return original.NewViewsClient(subscriptionID)
}
func NewViewsClientWithBaseURI(baseURI string, subscriptionID string) ViewsClient {
return original.NewViewsClientWithBaseURI(baseURI, subscriptionID)
}
func NewWidgetTypesClient(subscriptionID string) WidgetTypesClient {
return original.NewWidgetTypesClient(subscriptionID)
}
func NewWidgetTypesClientWithBaseURI(baseURI string, subscriptionID string) WidgetTypesClient {
return original.NewWidgetTypesClientWithBaseURI(baseURI, subscriptionID)
}

View File

@@ -1,75 +0,0 @@
// +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 datacatalog
import original "github.com/Azure/azure-sdk-for-go/services/datacatalog/mgmt/2016-03-30/datacatalog"
type ADCCatalogsClient = original.ADCCatalogsClient
type ADCOperationsClient = original.ADCOperationsClient
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type SkuType = original.SkuType
const (
Free SkuType = original.Free
Standard SkuType = original.Standard
)
type ADCCatalog = original.ADCCatalog
type ADCCatalogProperties = original.ADCCatalogProperties
type ADCCatalogsDeleteFuture = original.ADCCatalogsDeleteFuture
type ADCCatalogsListResult = original.ADCCatalogsListResult
type OperationDisplayInfo = original.OperationDisplayInfo
type OperationEntity = original.OperationEntity
type OperationEntityListResult = original.OperationEntityListResult
type Principals = original.Principals
type Resource = original.Resource
func NewADCCatalogsClient(subscriptionID string, catalogName string) ADCCatalogsClient {
return original.NewADCCatalogsClient(subscriptionID, catalogName)
}
func NewADCCatalogsClientWithBaseURI(baseURI string, subscriptionID string, catalogName string) ADCCatalogsClient {
return original.NewADCCatalogsClientWithBaseURI(baseURI, subscriptionID, catalogName)
}
func NewADCOperationsClient(subscriptionID string, catalogName string) ADCOperationsClient {
return original.NewADCOperationsClient(subscriptionID, catalogName)
}
func NewADCOperationsClientWithBaseURI(baseURI string, subscriptionID string, catalogName string) ADCOperationsClient {
return original.NewADCOperationsClientWithBaseURI(baseURI, subscriptionID, catalogName)
}
func New(subscriptionID string, catalogName string) BaseClient {
return original.New(subscriptionID, catalogName)
}
func NewWithBaseURI(baseURI string, subscriptionID string, catalogName string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID, catalogName)
}
func PossibleSkuTypeValues() []SkuType {
return original.PossibleSkuTypeValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}

View File

@@ -1,170 +0,0 @@
// +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 catalog
import original "github.com/Azure/azure-sdk-for-go/services/datalake/analytics/2016-11-01-preview/catalog"
type Client = original.Client
const (
DefaultAdlaCatalogDNSSuffix = original.DefaultAdlaCatalogDNSSuffix
)
type BaseClient = original.BaseClient
type ACLType = original.ACLType
const (
Group ACLType = original.Group
GroupObj ACLType = original.GroupObj
Other ACLType = original.Other
User ACLType = original.User
UserObj ACLType = original.UserObj
)
type FileType = original.FileType
const (
Assembly FileType = original.Assembly
Nodeploy FileType = original.Nodeploy
Resource FileType = original.Resource
)
type PermissionType = original.PermissionType
const (
All PermissionType = original.All
Alter PermissionType = original.Alter
Create PermissionType = original.Create
Drop PermissionType = original.Drop
None PermissionType = original.None
Use PermissionType = original.Use
Write PermissionType = original.Write
)
type ACL = original.ACL
type ACLCreateOrUpdateParameters = original.ACLCreateOrUpdateParameters
type ACLDeleteParameters = original.ACLDeleteParameters
type ACLList = original.ACLList
type ACLListIterator = original.ACLListIterator
type ACLListPage = original.ACLListPage
type DataLakeAnalyticsCatalogCredentialCreateParameters = original.DataLakeAnalyticsCatalogCredentialCreateParameters
type DataLakeAnalyticsCatalogCredentialDeleteParameters = original.DataLakeAnalyticsCatalogCredentialDeleteParameters
type DataLakeAnalyticsCatalogCredentialUpdateParameters = original.DataLakeAnalyticsCatalogCredentialUpdateParameters
type DataLakeAnalyticsCatalogSecretCreateOrUpdateParameters = original.DataLakeAnalyticsCatalogSecretCreateOrUpdateParameters
type DdlName = original.DdlName
type EntityID = original.EntityID
type ExternalTable = original.ExternalTable
type Item = original.Item
type ItemList = original.ItemList
type TypeFieldInfo = original.TypeFieldInfo
type USQLAssembly = original.USQLAssembly
type USQLAssemblyClr = original.USQLAssemblyClr
type USQLAssemblyDependencyInfo = original.USQLAssemblyDependencyInfo
type USQLAssemblyFileInfo = original.USQLAssemblyFileInfo
type USQLAssemblyList = original.USQLAssemblyList
type USQLAssemblyListIterator = original.USQLAssemblyListIterator
type USQLAssemblyListPage = original.USQLAssemblyListPage
type USQLCredential = original.USQLCredential
type USQLCredentialList = original.USQLCredentialList
type USQLCredentialListIterator = original.USQLCredentialListIterator
type USQLCredentialListPage = original.USQLCredentialListPage
type USQLDatabase = original.USQLDatabase
type USQLDatabaseList = original.USQLDatabaseList
type USQLDatabaseListIterator = original.USQLDatabaseListIterator
type USQLDatabaseListPage = original.USQLDatabaseListPage
type USQLDirectedColumn = original.USQLDirectedColumn
type USQLDistributionInfo = original.USQLDistributionInfo
type USQLExternalDataSource = original.USQLExternalDataSource
type USQLExternalDataSourceList = original.USQLExternalDataSourceList
type USQLExternalDataSourceListIterator = original.USQLExternalDataSourceListIterator
type USQLExternalDataSourceListPage = original.USQLExternalDataSourceListPage
type USQLIndex = original.USQLIndex
type USQLPackage = original.USQLPackage
type USQLPackageList = original.USQLPackageList
type USQLPackageListIterator = original.USQLPackageListIterator
type USQLPackageListPage = original.USQLPackageListPage
type USQLProcedure = original.USQLProcedure
type USQLProcedureList = original.USQLProcedureList
type USQLProcedureListIterator = original.USQLProcedureListIterator
type USQLProcedureListPage = original.USQLProcedureListPage
type USQLSchema = original.USQLSchema
type USQLSchemaList = original.USQLSchemaList
type USQLSchemaListIterator = original.USQLSchemaListIterator
type USQLSchemaListPage = original.USQLSchemaListPage
type USQLSecret = original.USQLSecret
type USQLTable = original.USQLTable
type USQLTableColumn = original.USQLTableColumn
type USQLTableFragment = original.USQLTableFragment
type USQLTableFragmentList = original.USQLTableFragmentList
type USQLTableFragmentListIterator = original.USQLTableFragmentListIterator
type USQLTableFragmentListPage = original.USQLTableFragmentListPage
type USQLTableList = original.USQLTableList
type USQLTableListIterator = original.USQLTableListIterator
type USQLTableListPage = original.USQLTableListPage
type USQLTablePartition = original.USQLTablePartition
type USQLTablePartitionList = original.USQLTablePartitionList
type USQLTablePartitionListIterator = original.USQLTablePartitionListIterator
type USQLTablePartitionListPage = original.USQLTablePartitionListPage
type USQLTablePreview = original.USQLTablePreview
type USQLTableStatistics = original.USQLTableStatistics
type USQLTableStatisticsList = original.USQLTableStatisticsList
type USQLTableStatisticsListIterator = original.USQLTableStatisticsListIterator
type USQLTableStatisticsListPage = original.USQLTableStatisticsListPage
type USQLTableType = original.USQLTableType
type USQLTableTypeList = original.USQLTableTypeList
type USQLTableTypeListIterator = original.USQLTableTypeListIterator
type USQLTableTypeListPage = original.USQLTableTypeListPage
type USQLTableValuedFunction = original.USQLTableValuedFunction
type USQLTableValuedFunctionList = original.USQLTableValuedFunctionList
type USQLTableValuedFunctionListIterator = original.USQLTableValuedFunctionListIterator
type USQLTableValuedFunctionListPage = original.USQLTableValuedFunctionListPage
type USQLType = original.USQLType
type USQLTypeList = original.USQLTypeList
type USQLTypeListIterator = original.USQLTypeListIterator
type USQLTypeListPage = original.USQLTypeListPage
type USQLView = original.USQLView
type USQLViewList = original.USQLViewList
type USQLViewListIterator = original.USQLViewListIterator
type USQLViewListPage = original.USQLViewListPage
func NewClient() Client {
return original.NewClient()
}
func New() BaseClient {
return original.New()
}
func NewWithoutDefaults(adlaCatalogDNSSuffix string) BaseClient {
return original.NewWithoutDefaults(adlaCatalogDNSSuffix)
}
func PossibleACLTypeValues() []ACLType {
return original.PossibleACLTypeValues()
}
func PossibleFileTypeValues() []FileType {
return original.PossibleFileTypeValues()
}
func PossiblePermissionTypeValues() []PermissionType {
return original.PossiblePermissionTypeValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}

View File

@@ -1,186 +0,0 @@
// +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 job
import original "github.com/Azure/azure-sdk-for-go/services/datalake/analytics/2016-11-01/job"
const (
DefaultAdlaJobDNSSuffix = original.DefaultAdlaJobDNSSuffix
)
type BaseClient = original.BaseClient
type Client = original.Client
type CompileMode = original.CompileMode
const (
Full CompileMode = original.Full
Semantic CompileMode = original.Semantic
SingleBox CompileMode = original.SingleBox
)
type ResourceType = original.ResourceType
const (
JobManagerResource ResourceType = original.JobManagerResource
JobManagerResourceInUserFolder ResourceType = original.JobManagerResourceInUserFolder
StatisticsResource ResourceType = original.StatisticsResource
StatisticsResourceInUserFolder ResourceType = original.StatisticsResourceInUserFolder
VertexResource ResourceType = original.VertexResource
VertexResourceInUserFolder ResourceType = original.VertexResourceInUserFolder
)
type Result = original.Result
const (
Cancelled Result = original.Cancelled
Failed Result = original.Failed
None Result = original.None
Succeeded Result = original.Succeeded
)
type SeverityTypes = original.SeverityTypes
const (
Deprecated SeverityTypes = original.Deprecated
Error SeverityTypes = original.Error
Info SeverityTypes = original.Info
SevereWarning SeverityTypes = original.SevereWarning
UserWarning SeverityTypes = original.UserWarning
Warning SeverityTypes = original.Warning
)
type State = original.State
const (
StateAccepted State = original.StateAccepted
StateCompiling State = original.StateCompiling
StateEnded State = original.StateEnded
StateNew State = original.StateNew
StatePaused State = original.StatePaused
StateQueued State = original.StateQueued
StateRunning State = original.StateRunning
StateScheduling State = original.StateScheduling
StateStarting State = original.StateStarting
StateWaitingForCapacity State = original.StateWaitingForCapacity
)
type Type = original.Type
const (
TypeHive Type = original.TypeHive
TypeJobProperties Type = original.TypeJobProperties
TypeUSQL Type = original.TypeUSQL
)
type TypeBasicCreateJobProperties = original.TypeBasicCreateJobProperties
const (
TypeBasicCreateJobPropertiesTypeCreateJobProperties TypeBasicCreateJobProperties = original.TypeBasicCreateJobPropertiesTypeCreateJobProperties
TypeBasicCreateJobPropertiesTypeUSQL TypeBasicCreateJobProperties = original.TypeBasicCreateJobPropertiesTypeUSQL
)
type TypeEnum = original.TypeEnum
const (
Hive TypeEnum = original.Hive
USQL TypeEnum = original.USQL
)
type BaseJobParameters = original.BaseJobParameters
type BuildJobParameters = original.BuildJobParameters
type CreateJobParameters = original.CreateJobParameters
type BasicCreateJobProperties = original.BasicCreateJobProperties
type CreateJobProperties = original.CreateJobProperties
type CreateUSQLJobProperties = original.CreateUSQLJobProperties
type DataPath = original.DataPath
type Diagnostics = original.Diagnostics
type ErrorDetails = original.ErrorDetails
type HiveJobProperties = original.HiveJobProperties
type InfoListResult = original.InfoListResult
type InfoListResultIterator = original.InfoListResultIterator
type InfoListResultPage = original.InfoListResultPage
type Information = original.Information
type InformationBasic = original.InformationBasic
type InnerError = original.InnerError
type PipelineInformation = original.PipelineInformation
type PipelineInformationListResult = original.PipelineInformationListResult
type PipelineInformationListResultIterator = original.PipelineInformationListResultIterator
type PipelineInformationListResultPage = original.PipelineInformationListResultPage
type PipelineRunInformation = original.PipelineRunInformation
type BasicProperties = original.BasicProperties
type Properties = original.Properties
type RecurrenceInformation = original.RecurrenceInformation
type RecurrenceInformationListResult = original.RecurrenceInformationListResult
type RecurrenceInformationListResultIterator = original.RecurrenceInformationListResultIterator
type RecurrenceInformationListResultPage = original.RecurrenceInformationListResultPage
type RelationshipProperties = original.RelationshipProperties
type Resource = original.Resource
type StateAuditRecord = original.StateAuditRecord
type Statistics = original.Statistics
type StatisticsVertexStage = original.StatisticsVertexStage
type USQLJobProperties = original.USQLJobProperties
type PipelineClient = original.PipelineClient
type RecurrenceClient = original.RecurrenceClient
func New() BaseClient {
return original.New()
}
func NewWithoutDefaults(adlaJobDNSSuffix string) BaseClient {
return original.NewWithoutDefaults(adlaJobDNSSuffix)
}
func NewClient() Client {
return original.NewClient()
}
func PossibleCompileModeValues() []CompileMode {
return original.PossibleCompileModeValues()
}
func PossibleResourceTypeValues() []ResourceType {
return original.PossibleResourceTypeValues()
}
func PossibleResultValues() []Result {
return original.PossibleResultValues()
}
func PossibleSeverityTypesValues() []SeverityTypes {
return original.PossibleSeverityTypesValues()
}
func PossibleStateValues() []State {
return original.PossibleStateValues()
}
func PossibleTypeValues() []Type {
return original.PossibleTypeValues()
}
func PossibleTypeBasicCreateJobPropertiesValues() []TypeBasicCreateJobProperties {
return original.PossibleTypeBasicCreateJobPropertiesValues()
}
func PossibleTypeEnumValues() []TypeEnum {
return original.PossibleTypeEnumValues()
}
func NewPipelineClient() PipelineClient {
return original.NewPipelineClient()
}
func NewRecurrenceClient() RecurrenceClient {
return original.NewRecurrenceClient()
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}

View File

@@ -1,266 +0,0 @@
// +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 account
import original "github.com/Azure/azure-sdk-for-go/services/datalake/analytics/mgmt/2016-11-01/account"
type AccountsClient = original.AccountsClient
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type ComputePoliciesClient = original.ComputePoliciesClient
type DataLakeStoreAccountsClient = original.DataLakeStoreAccountsClient
type FirewallRulesClient = original.FirewallRulesClient
type LocationsClient = original.LocationsClient
type AADObjectType = original.AADObjectType
const (
Group AADObjectType = original.Group
ServicePrincipal AADObjectType = original.ServicePrincipal
User AADObjectType = original.User
)
type DataLakeAnalyticsAccountState = original.DataLakeAnalyticsAccountState
const (
Active DataLakeAnalyticsAccountState = original.Active
Suspended DataLakeAnalyticsAccountState = original.Suspended
)
type DataLakeAnalyticsAccountStatus = original.DataLakeAnalyticsAccountStatus
const (
Canceled DataLakeAnalyticsAccountStatus = original.Canceled
Creating DataLakeAnalyticsAccountStatus = original.Creating
Deleted DataLakeAnalyticsAccountStatus = original.Deleted
Deleting DataLakeAnalyticsAccountStatus = original.Deleting
Failed DataLakeAnalyticsAccountStatus = original.Failed
Patching DataLakeAnalyticsAccountStatus = original.Patching
Resuming DataLakeAnalyticsAccountStatus = original.Resuming
Running DataLakeAnalyticsAccountStatus = original.Running
Succeeded DataLakeAnalyticsAccountStatus = original.Succeeded
Suspending DataLakeAnalyticsAccountStatus = original.Suspending
Undeleting DataLakeAnalyticsAccountStatus = original.Undeleting
)
type FirewallAllowAzureIpsState = original.FirewallAllowAzureIpsState
const (
Disabled FirewallAllowAzureIpsState = original.Disabled
Enabled FirewallAllowAzureIpsState = original.Enabled
)
type FirewallState = original.FirewallState
const (
FirewallStateDisabled FirewallState = original.FirewallStateDisabled
FirewallStateEnabled FirewallState = original.FirewallStateEnabled
)
type OperationOrigin = original.OperationOrigin
const (
OperationOriginSystem OperationOrigin = original.OperationOriginSystem
OperationOriginUser OperationOrigin = original.OperationOriginUser
OperationOriginUsersystem OperationOrigin = original.OperationOriginUsersystem
)
type SubscriptionState = original.SubscriptionState
const (
SubscriptionStateDeleted SubscriptionState = original.SubscriptionStateDeleted
SubscriptionStateRegistered SubscriptionState = original.SubscriptionStateRegistered
SubscriptionStateSuspended SubscriptionState = original.SubscriptionStateSuspended
SubscriptionStateUnregistered SubscriptionState = original.SubscriptionStateUnregistered
SubscriptionStateWarned SubscriptionState = original.SubscriptionStateWarned
)
type TierType = original.TierType
const (
Commitment100000AUHours TierType = original.Commitment100000AUHours
Commitment10000AUHours TierType = original.Commitment10000AUHours
Commitment1000AUHours TierType = original.Commitment1000AUHours
Commitment100AUHours TierType = original.Commitment100AUHours
Commitment500000AUHours TierType = original.Commitment500000AUHours
Commitment50000AUHours TierType = original.Commitment50000AUHours
Commitment5000AUHours TierType = original.Commitment5000AUHours
Commitment500AUHours TierType = original.Commitment500AUHours
Consumption TierType = original.Consumption
)
type AccountsCreateFutureType = original.AccountsCreateFutureType
type AccountsDeleteFutureType = original.AccountsDeleteFutureType
type AccountsUpdateFutureType = original.AccountsUpdateFutureType
type AddDataLakeStoreParameters = original.AddDataLakeStoreParameters
type AddDataLakeStoreProperties = original.AddDataLakeStoreProperties
type AddDataLakeStoreWithAccountParameters = original.AddDataLakeStoreWithAccountParameters
type AddStorageAccountParameters = original.AddStorageAccountParameters
type AddStorageAccountProperties = original.AddStorageAccountProperties
type AddStorageAccountWithAccountParameters = original.AddStorageAccountWithAccountParameters
type CapabilityInformation = original.CapabilityInformation
type CheckNameAvailabilityParameters = original.CheckNameAvailabilityParameters
type ComputePolicy = original.ComputePolicy
type ComputePolicyListResult = original.ComputePolicyListResult
type ComputePolicyListResultIterator = original.ComputePolicyListResultIterator
type ComputePolicyListResultPage = original.ComputePolicyListResultPage
type ComputePolicyProperties = original.ComputePolicyProperties
type CreateComputePolicyWithAccountParameters = original.CreateComputePolicyWithAccountParameters
type CreateDataLakeAnalyticsAccountParameters = original.CreateDataLakeAnalyticsAccountParameters
type CreateDataLakeAnalyticsAccountProperties = original.CreateDataLakeAnalyticsAccountProperties
type CreateFirewallRuleWithAccountParameters = original.CreateFirewallRuleWithAccountParameters
type CreateOrUpdateComputePolicyParameters = original.CreateOrUpdateComputePolicyParameters
type CreateOrUpdateComputePolicyProperties = original.CreateOrUpdateComputePolicyProperties
type CreateOrUpdateFirewallRuleParameters = original.CreateOrUpdateFirewallRuleParameters
type CreateOrUpdateFirewallRuleProperties = original.CreateOrUpdateFirewallRuleProperties
type DataLakeAnalyticsAccount = original.DataLakeAnalyticsAccount
type DataLakeAnalyticsAccountBasic = original.DataLakeAnalyticsAccountBasic
type DataLakeAnalyticsAccountListResult = original.DataLakeAnalyticsAccountListResult
type DataLakeAnalyticsAccountListResultIterator = original.DataLakeAnalyticsAccountListResultIterator
type DataLakeAnalyticsAccountListResultPage = original.DataLakeAnalyticsAccountListResultPage
type DataLakeAnalyticsAccountProperties = original.DataLakeAnalyticsAccountProperties
type DataLakeAnalyticsAccountPropertiesBasic = original.DataLakeAnalyticsAccountPropertiesBasic
type DataLakeStoreAccountInformation = original.DataLakeStoreAccountInformation
type DataLakeStoreAccountInformationListResult = original.DataLakeStoreAccountInformationListResult
type DataLakeStoreAccountInformationListResultIterator = original.DataLakeStoreAccountInformationListResultIterator
type DataLakeStoreAccountInformationListResultPage = original.DataLakeStoreAccountInformationListResultPage
type DataLakeStoreAccountInformationProperties = original.DataLakeStoreAccountInformationProperties
type FirewallRule = original.FirewallRule
type FirewallRuleListResult = original.FirewallRuleListResult
type FirewallRuleListResultIterator = original.FirewallRuleListResultIterator
type FirewallRuleListResultPage = original.FirewallRuleListResultPage
type FirewallRuleProperties = original.FirewallRuleProperties
type NameAvailabilityInformation = original.NameAvailabilityInformation
type Operation = original.Operation
type OperationDisplay = original.OperationDisplay
type OperationListResult = original.OperationListResult
type Resource = original.Resource
type SasTokenInformation = original.SasTokenInformation
type SasTokenInformationListResult = original.SasTokenInformationListResult
type SasTokenInformationListResultIterator = original.SasTokenInformationListResultIterator
type SasTokenInformationListResultPage = original.SasTokenInformationListResultPage
type StorageAccountInformation = original.StorageAccountInformation
type StorageAccountInformationListResult = original.StorageAccountInformationListResult
type StorageAccountInformationListResultIterator = original.StorageAccountInformationListResultIterator
type StorageAccountInformationListResultPage = original.StorageAccountInformationListResultPage
type StorageAccountInformationProperties = original.StorageAccountInformationProperties
type StorageContainer = original.StorageContainer
type StorageContainerListResult = original.StorageContainerListResult
type StorageContainerListResultIterator = original.StorageContainerListResultIterator
type StorageContainerListResultPage = original.StorageContainerListResultPage
type StorageContainerProperties = original.StorageContainerProperties
type SubResource = original.SubResource
type UpdateComputePolicyParameters = original.UpdateComputePolicyParameters
type UpdateComputePolicyProperties = original.UpdateComputePolicyProperties
type UpdateComputePolicyWithAccountParameters = original.UpdateComputePolicyWithAccountParameters
type UpdateDataLakeAnalyticsAccountParameters = original.UpdateDataLakeAnalyticsAccountParameters
type UpdateDataLakeAnalyticsAccountProperties = original.UpdateDataLakeAnalyticsAccountProperties
type UpdateDataLakeStoreProperties = original.UpdateDataLakeStoreProperties
type UpdateDataLakeStoreWithAccountParameters = original.UpdateDataLakeStoreWithAccountParameters
type UpdateFirewallRuleParameters = original.UpdateFirewallRuleParameters
type UpdateFirewallRuleProperties = original.UpdateFirewallRuleProperties
type UpdateFirewallRuleWithAccountParameters = original.UpdateFirewallRuleWithAccountParameters
type UpdateStorageAccountParameters = original.UpdateStorageAccountParameters
type UpdateStorageAccountProperties = original.UpdateStorageAccountProperties
type UpdateStorageAccountWithAccountParameters = original.UpdateStorageAccountWithAccountParameters
type OperationsClient = original.OperationsClient
type StorageAccountsClient = original.StorageAccountsClient
func NewAccountsClient(subscriptionID string) AccountsClient {
return original.NewAccountsClient(subscriptionID)
}
func NewAccountsClientWithBaseURI(baseURI string, subscriptionID string) AccountsClient {
return original.NewAccountsClientWithBaseURI(baseURI, subscriptionID)
}
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func NewComputePoliciesClient(subscriptionID string) ComputePoliciesClient {
return original.NewComputePoliciesClient(subscriptionID)
}
func NewComputePoliciesClientWithBaseURI(baseURI string, subscriptionID string) ComputePoliciesClient {
return original.NewComputePoliciesClientWithBaseURI(baseURI, subscriptionID)
}
func NewDataLakeStoreAccountsClient(subscriptionID string) DataLakeStoreAccountsClient {
return original.NewDataLakeStoreAccountsClient(subscriptionID)
}
func NewDataLakeStoreAccountsClientWithBaseURI(baseURI string, subscriptionID string) DataLakeStoreAccountsClient {
return original.NewDataLakeStoreAccountsClientWithBaseURI(baseURI, subscriptionID)
}
func NewFirewallRulesClient(subscriptionID string) FirewallRulesClient {
return original.NewFirewallRulesClient(subscriptionID)
}
func NewFirewallRulesClientWithBaseURI(baseURI string, subscriptionID string) FirewallRulesClient {
return original.NewFirewallRulesClientWithBaseURI(baseURI, subscriptionID)
}
func NewLocationsClient(subscriptionID string) LocationsClient {
return original.NewLocationsClient(subscriptionID)
}
func NewLocationsClientWithBaseURI(baseURI string, subscriptionID string) LocationsClient {
return original.NewLocationsClientWithBaseURI(baseURI, subscriptionID)
}
func PossibleAADObjectTypeValues() []AADObjectType {
return original.PossibleAADObjectTypeValues()
}
func PossibleDataLakeAnalyticsAccountStateValues() []DataLakeAnalyticsAccountState {
return original.PossibleDataLakeAnalyticsAccountStateValues()
}
func PossibleDataLakeAnalyticsAccountStatusValues() []DataLakeAnalyticsAccountStatus {
return original.PossibleDataLakeAnalyticsAccountStatusValues()
}
func PossibleFirewallAllowAzureIpsStateValues() []FirewallAllowAzureIpsState {
return original.PossibleFirewallAllowAzureIpsStateValues()
}
func PossibleFirewallStateValues() []FirewallState {
return original.PossibleFirewallStateValues()
}
func PossibleOperationOriginValues() []OperationOrigin {
return original.PossibleOperationOriginValues()
}
func PossibleSubscriptionStateValues() []SubscriptionState {
return original.PossibleSubscriptionStateValues()
}
func PossibleTierTypeValues() []TierType {
return original.PossibleTierTypeValues()
}
func NewOperationsClient(subscriptionID string) OperationsClient {
return original.NewOperationsClient(subscriptionID)
}
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewStorageAccountsClient(subscriptionID string) StorageAccountsClient {
return original.NewStorageAccountsClient(subscriptionID)
}
func NewStorageAccountsClientWithBaseURI(baseURI string, subscriptionID string) StorageAccountsClient {
return original.NewStorageAccountsClientWithBaseURI(baseURI, subscriptionID)
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}

View File

@@ -1,129 +0,0 @@
// +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 filesystem
import original "github.com/Azure/azure-sdk-for-go/services/datalake/store/2016-11-01/filesystem"
const (
DefaultAdlsFileSystemDNSSuffix = original.DefaultAdlsFileSystemDNSSuffix
)
type BaseClient = original.BaseClient
type Client = original.Client
type AppendModeType = original.AppendModeType
const (
Autocreate AppendModeType = original.Autocreate
)
type Exception = original.Exception
const (
ExceptionAccessControlException Exception = original.ExceptionAccessControlException
ExceptionAdlsRemoteException Exception = original.ExceptionAdlsRemoteException
ExceptionBadOffsetException Exception = original.ExceptionBadOffsetException
ExceptionFileAlreadyExistsException Exception = original.ExceptionFileAlreadyExistsException
ExceptionFileNotFoundException Exception = original.ExceptionFileNotFoundException
ExceptionIllegalArgumentException Exception = original.ExceptionIllegalArgumentException
ExceptionIOException Exception = original.ExceptionIOException
ExceptionRuntimeException Exception = original.ExceptionRuntimeException
ExceptionSecurityException Exception = original.ExceptionSecurityException
ExceptionThrottledException Exception = original.ExceptionThrottledException
ExceptionUnsupportedOperationException Exception = original.ExceptionUnsupportedOperationException
)
type ExpiryOptionType = original.ExpiryOptionType
const (
Absolute ExpiryOptionType = original.Absolute
NeverExpire ExpiryOptionType = original.NeverExpire
RelativeToCreationDate ExpiryOptionType = original.RelativeToCreationDate
RelativeToNow ExpiryOptionType = original.RelativeToNow
)
type FileType = original.FileType
const (
DIRECTORY FileType = original.DIRECTORY
FILE FileType = original.FILE
)
type SyncFlag = original.SyncFlag
const (
CLOSE SyncFlag = original.CLOSE
DATA SyncFlag = original.DATA
METADATA SyncFlag = original.METADATA
)
type ACLStatus = original.ACLStatus
type ACLStatusResult = original.ACLStatusResult
type AdlsAccessControlException = original.AdlsAccessControlException
type AdlsBadOffsetException = original.AdlsBadOffsetException
type AdlsError = original.AdlsError
type AdlsFileAlreadyExistsException = original.AdlsFileAlreadyExistsException
type AdlsFileNotFoundException = original.AdlsFileNotFoundException
type AdlsIllegalArgumentException = original.AdlsIllegalArgumentException
type AdlsIOException = original.AdlsIOException
type BasicAdlsRemoteException = original.BasicAdlsRemoteException
type AdlsRemoteException = original.AdlsRemoteException
type AdlsRuntimeException = original.AdlsRuntimeException
type AdlsSecurityException = original.AdlsSecurityException
type AdlsThrottledException = original.AdlsThrottledException
type AdlsUnsupportedOperationException = original.AdlsUnsupportedOperationException
type ContentSummary = original.ContentSummary
type ContentSummaryResult = original.ContentSummaryResult
type FileOperationResult = original.FileOperationResult
type FileStatuses = original.FileStatuses
type FileStatusesResult = original.FileStatusesResult
type FileStatusProperties = original.FileStatusProperties
type FileStatusResult = original.FileStatusResult
type ReadCloser = original.ReadCloser
func New() BaseClient {
return original.New()
}
func NewWithoutDefaults(adlsFileSystemDNSSuffix string) BaseClient {
return original.NewWithoutDefaults(adlsFileSystemDNSSuffix)
}
func NewClient() Client {
return original.NewClient()
}
func PossibleAppendModeTypeValues() []AppendModeType {
return original.PossibleAppendModeTypeValues()
}
func PossibleExceptionValues() []Exception {
return original.PossibleExceptionValues()
}
func PossibleExpiryOptionTypeValues() []ExpiryOptionType {
return original.PossibleExpiryOptionTypeValues()
}
func PossibleFileTypeValues() []FileType {
return original.PossibleFileTypeValues()
}
func PossibleSyncFlagValues() []SyncFlag {
return original.PossibleSyncFlagValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}

View File

@@ -1,272 +0,0 @@
// +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 account
import original "github.com/Azure/azure-sdk-for-go/services/datalake/store/mgmt/2016-11-01/account"
type AccountsClient = original.AccountsClient
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type FirewallRulesClient = original.FirewallRulesClient
type LocationsClient = original.LocationsClient
type DataLakeStoreAccountState = original.DataLakeStoreAccountState
const (
Active DataLakeStoreAccountState = original.Active
Suspended DataLakeStoreAccountState = original.Suspended
)
type DataLakeStoreAccountStatus = original.DataLakeStoreAccountStatus
const (
Canceled DataLakeStoreAccountStatus = original.Canceled
Creating DataLakeStoreAccountStatus = original.Creating
Deleted DataLakeStoreAccountStatus = original.Deleted
Deleting DataLakeStoreAccountStatus = original.Deleting
Failed DataLakeStoreAccountStatus = original.Failed
Patching DataLakeStoreAccountStatus = original.Patching
Resuming DataLakeStoreAccountStatus = original.Resuming
Running DataLakeStoreAccountStatus = original.Running
Succeeded DataLakeStoreAccountStatus = original.Succeeded
Suspending DataLakeStoreAccountStatus = original.Suspending
Undeleting DataLakeStoreAccountStatus = original.Undeleting
)
type EncryptionConfigType = original.EncryptionConfigType
const (
ServiceManaged EncryptionConfigType = original.ServiceManaged
UserManaged EncryptionConfigType = original.UserManaged
)
type EncryptionProvisioningState = original.EncryptionProvisioningState
const (
EncryptionProvisioningStateCreating EncryptionProvisioningState = original.EncryptionProvisioningStateCreating
EncryptionProvisioningStateSucceeded EncryptionProvisioningState = original.EncryptionProvisioningStateSucceeded
)
type EncryptionState = original.EncryptionState
const (
Disabled EncryptionState = original.Disabled
Enabled EncryptionState = original.Enabled
)
type FirewallAllowAzureIpsState = original.FirewallAllowAzureIpsState
const (
FirewallAllowAzureIpsStateDisabled FirewallAllowAzureIpsState = original.FirewallAllowAzureIpsStateDisabled
FirewallAllowAzureIpsStateEnabled FirewallAllowAzureIpsState = original.FirewallAllowAzureIpsStateEnabled
)
type FirewallState = original.FirewallState
const (
FirewallStateDisabled FirewallState = original.FirewallStateDisabled
FirewallStateEnabled FirewallState = original.FirewallStateEnabled
)
type OperationOrigin = original.OperationOrigin
const (
System OperationOrigin = original.System
User OperationOrigin = original.User
Usersystem OperationOrigin = original.Usersystem
)
type SubscriptionState = original.SubscriptionState
const (
SubscriptionStateDeleted SubscriptionState = original.SubscriptionStateDeleted
SubscriptionStateRegistered SubscriptionState = original.SubscriptionStateRegistered
SubscriptionStateSuspended SubscriptionState = original.SubscriptionStateSuspended
SubscriptionStateUnregistered SubscriptionState = original.SubscriptionStateUnregistered
SubscriptionStateWarned SubscriptionState = original.SubscriptionStateWarned
)
type TierType = original.TierType
const (
Commitment100TB TierType = original.Commitment100TB
Commitment10TB TierType = original.Commitment10TB
Commitment1PB TierType = original.Commitment1PB
Commitment1TB TierType = original.Commitment1TB
Commitment500TB TierType = original.Commitment500TB
Commitment5PB TierType = original.Commitment5PB
Consumption TierType = original.Consumption
)
type TrustedIDProviderState = original.TrustedIDProviderState
const (
TrustedIDProviderStateDisabled TrustedIDProviderState = original.TrustedIDProviderStateDisabled
TrustedIDProviderStateEnabled TrustedIDProviderState = original.TrustedIDProviderStateEnabled
)
type AccountsCreateFutureType = original.AccountsCreateFutureType
type AccountsDeleteFutureType = original.AccountsDeleteFutureType
type AccountsUpdateFutureType = original.AccountsUpdateFutureType
type CapabilityInformation = original.CapabilityInformation
type CheckNameAvailabilityParameters = original.CheckNameAvailabilityParameters
type CreateDataLakeStoreAccountParameters = original.CreateDataLakeStoreAccountParameters
type CreateDataLakeStoreAccountProperties = original.CreateDataLakeStoreAccountProperties
type CreateFirewallRuleWithAccountParameters = original.CreateFirewallRuleWithAccountParameters
type CreateOrUpdateFirewallRuleParameters = original.CreateOrUpdateFirewallRuleParameters
type CreateOrUpdateFirewallRuleProperties = original.CreateOrUpdateFirewallRuleProperties
type CreateOrUpdateTrustedIDProviderParameters = original.CreateOrUpdateTrustedIDProviderParameters
type CreateOrUpdateTrustedIDProviderProperties = original.CreateOrUpdateTrustedIDProviderProperties
type CreateOrUpdateVirtualNetworkRuleParameters = original.CreateOrUpdateVirtualNetworkRuleParameters
type CreateOrUpdateVirtualNetworkRuleProperties = original.CreateOrUpdateVirtualNetworkRuleProperties
type CreateTrustedIDProviderWithAccountParameters = original.CreateTrustedIDProviderWithAccountParameters
type CreateVirtualNetworkRuleWithAccountParameters = original.CreateVirtualNetworkRuleWithAccountParameters
type DataLakeStoreAccount = original.DataLakeStoreAccount
type DataLakeStoreAccountBasic = original.DataLakeStoreAccountBasic
type DataLakeStoreAccountListResult = original.DataLakeStoreAccountListResult
type DataLakeStoreAccountListResultIterator = original.DataLakeStoreAccountListResultIterator
type DataLakeStoreAccountListResultPage = original.DataLakeStoreAccountListResultPage
type DataLakeStoreAccountProperties = original.DataLakeStoreAccountProperties
type DataLakeStoreAccountPropertiesBasic = original.DataLakeStoreAccountPropertiesBasic
type EncryptionConfig = original.EncryptionConfig
type EncryptionIdentity = original.EncryptionIdentity
type FirewallRule = original.FirewallRule
type FirewallRuleListResult = original.FirewallRuleListResult
type FirewallRuleListResultIterator = original.FirewallRuleListResultIterator
type FirewallRuleListResultPage = original.FirewallRuleListResultPage
type FirewallRuleProperties = original.FirewallRuleProperties
type KeyVaultMetaInfo = original.KeyVaultMetaInfo
type NameAvailabilityInformation = original.NameAvailabilityInformation
type Operation = original.Operation
type OperationDisplay = original.OperationDisplay
type OperationListResult = original.OperationListResult
type Resource = original.Resource
type SubResource = original.SubResource
type TrustedIDProvider = original.TrustedIDProvider
type TrustedIDProviderListResult = original.TrustedIDProviderListResult
type TrustedIDProviderListResultIterator = original.TrustedIDProviderListResultIterator
type TrustedIDProviderListResultPage = original.TrustedIDProviderListResultPage
type TrustedIDProviderProperties = original.TrustedIDProviderProperties
type UpdateDataLakeStoreAccountParameters = original.UpdateDataLakeStoreAccountParameters
type UpdateDataLakeStoreAccountProperties = original.UpdateDataLakeStoreAccountProperties
type UpdateEncryptionConfig = original.UpdateEncryptionConfig
type UpdateFirewallRuleParameters = original.UpdateFirewallRuleParameters
type UpdateFirewallRuleProperties = original.UpdateFirewallRuleProperties
type UpdateFirewallRuleWithAccountParameters = original.UpdateFirewallRuleWithAccountParameters
type UpdateKeyVaultMetaInfo = original.UpdateKeyVaultMetaInfo
type UpdateTrustedIDProviderParameters = original.UpdateTrustedIDProviderParameters
type UpdateTrustedIDProviderProperties = original.UpdateTrustedIDProviderProperties
type UpdateTrustedIDProviderWithAccountParameters = original.UpdateTrustedIDProviderWithAccountParameters
type UpdateVirtualNetworkRuleParameters = original.UpdateVirtualNetworkRuleParameters
type UpdateVirtualNetworkRuleProperties = original.UpdateVirtualNetworkRuleProperties
type UpdateVirtualNetworkRuleWithAccountParameters = original.UpdateVirtualNetworkRuleWithAccountParameters
type VirtualNetworkRule = original.VirtualNetworkRule
type VirtualNetworkRuleListResult = original.VirtualNetworkRuleListResult
type VirtualNetworkRuleListResultIterator = original.VirtualNetworkRuleListResultIterator
type VirtualNetworkRuleListResultPage = original.VirtualNetworkRuleListResultPage
type VirtualNetworkRuleProperties = original.VirtualNetworkRuleProperties
type OperationsClient = original.OperationsClient
type TrustedIDProvidersClient = original.TrustedIDProvidersClient
type VirtualNetworkRulesClient = original.VirtualNetworkRulesClient
func NewAccountsClient(subscriptionID string) AccountsClient {
return original.NewAccountsClient(subscriptionID)
}
func NewAccountsClientWithBaseURI(baseURI string, subscriptionID string) AccountsClient {
return original.NewAccountsClientWithBaseURI(baseURI, subscriptionID)
}
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func NewFirewallRulesClient(subscriptionID string) FirewallRulesClient {
return original.NewFirewallRulesClient(subscriptionID)
}
func NewFirewallRulesClientWithBaseURI(baseURI string, subscriptionID string) FirewallRulesClient {
return original.NewFirewallRulesClientWithBaseURI(baseURI, subscriptionID)
}
func NewLocationsClient(subscriptionID string) LocationsClient {
return original.NewLocationsClient(subscriptionID)
}
func NewLocationsClientWithBaseURI(baseURI string, subscriptionID string) LocationsClient {
return original.NewLocationsClientWithBaseURI(baseURI, subscriptionID)
}
func PossibleDataLakeStoreAccountStateValues() []DataLakeStoreAccountState {
return original.PossibleDataLakeStoreAccountStateValues()
}
func PossibleDataLakeStoreAccountStatusValues() []DataLakeStoreAccountStatus {
return original.PossibleDataLakeStoreAccountStatusValues()
}
func PossibleEncryptionConfigTypeValues() []EncryptionConfigType {
return original.PossibleEncryptionConfigTypeValues()
}
func PossibleEncryptionProvisioningStateValues() []EncryptionProvisioningState {
return original.PossibleEncryptionProvisioningStateValues()
}
func PossibleEncryptionStateValues() []EncryptionState {
return original.PossibleEncryptionStateValues()
}
func PossibleFirewallAllowAzureIpsStateValues() []FirewallAllowAzureIpsState {
return original.PossibleFirewallAllowAzureIpsStateValues()
}
func PossibleFirewallStateValues() []FirewallState {
return original.PossibleFirewallStateValues()
}
func PossibleOperationOriginValues() []OperationOrigin {
return original.PossibleOperationOriginValues()
}
func PossibleSubscriptionStateValues() []SubscriptionState {
return original.PossibleSubscriptionStateValues()
}
func PossibleTierTypeValues() []TierType {
return original.PossibleTierTypeValues()
}
func PossibleTrustedIDProviderStateValues() []TrustedIDProviderState {
return original.PossibleTrustedIDProviderStateValues()
}
func NewOperationsClient(subscriptionID string) OperationsClient {
return original.NewOperationsClient(subscriptionID)
}
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewTrustedIDProvidersClient(subscriptionID string) TrustedIDProvidersClient {
return original.NewTrustedIDProvidersClient(subscriptionID)
}
func NewTrustedIDProvidersClientWithBaseURI(baseURI string, subscriptionID string) TrustedIDProvidersClient {
return original.NewTrustedIDProvidersClientWithBaseURI(baseURI, subscriptionID)
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}
func NewVirtualNetworkRulesClient(subscriptionID string) VirtualNetworkRulesClient {
return original.NewVirtualNetworkRulesClient(subscriptionID)
}
func NewVirtualNetworkRulesClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworkRulesClient {
return original.NewVirtualNetworkRulesClientWithBaseURI(baseURI, subscriptionID)
}

View File

@@ -1,706 +0,0 @@
// +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 dtl
import original "github.com/Azure/azure-sdk-for-go/services/devtestlabs/mgmt/2016-05-15/dtl"
type ArmTemplatesClient = original.ArmTemplatesClient
type ArtifactsClient = original.ArtifactsClient
type ArtifactSourcesClient = original.ArtifactSourcesClient
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type CostsClient = original.CostsClient
type CustomImagesClient = original.CustomImagesClient
type DisksClient = original.DisksClient
type EnvironmentsClient = original.EnvironmentsClient
type FormulasClient = original.FormulasClient
type GalleryImagesClient = original.GalleryImagesClient
type GlobalSchedulesClient = original.GlobalSchedulesClient
type LabsClient = original.LabsClient
type CostThresholdStatus = original.CostThresholdStatus
const (
Disabled CostThresholdStatus = original.Disabled
Enabled CostThresholdStatus = original.Enabled
)
type CostType = original.CostType
const (
Projected CostType = original.Projected
Reported CostType = original.Reported
Unavailable CostType = original.Unavailable
)
type CustomImageOsType = original.CustomImageOsType
const (
Linux CustomImageOsType = original.Linux
None CustomImageOsType = original.None
Windows CustomImageOsType = original.Windows
)
type EnableStatus = original.EnableStatus
const (
EnableStatusDisabled EnableStatus = original.EnableStatusDisabled
EnableStatusEnabled EnableStatus = original.EnableStatusEnabled
)
type FileUploadOptions = original.FileUploadOptions
const (
FileUploadOptionsNone FileUploadOptions = original.FileUploadOptionsNone
FileUploadOptionsUploadFilesAndGenerateSasTokens FileUploadOptions = original.FileUploadOptionsUploadFilesAndGenerateSasTokens
)
type HostCachingOptions = original.HostCachingOptions
const (
HostCachingOptionsNone HostCachingOptions = original.HostCachingOptionsNone
HostCachingOptionsReadOnly HostCachingOptions = original.HostCachingOptionsReadOnly
HostCachingOptionsReadWrite HostCachingOptions = original.HostCachingOptionsReadWrite
)
type HTTPStatusCode = original.HTTPStatusCode
const (
Accepted HTTPStatusCode = original.Accepted
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
GatewayTimeout HTTPStatusCode = original.GatewayTimeout
Gone HTTPStatusCode = original.Gone
HTTPVersionNotSupported HTTPStatusCode = original.HTTPVersionNotSupported
InternalServerError HTTPStatusCode = original.InternalServerError
LengthRequired HTTPStatusCode = original.LengthRequired
MethodNotAllowed HTTPStatusCode = original.MethodNotAllowed
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
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 LinuxOsState = original.LinuxOsState
const (
DeprovisionApplied LinuxOsState = original.DeprovisionApplied
DeprovisionRequested LinuxOsState = original.DeprovisionRequested
NonDeprovisioned LinuxOsState = original.NonDeprovisioned
)
type NotificationChannelEventType = original.NotificationChannelEventType
const (
AutoShutdown NotificationChannelEventType = original.AutoShutdown
Cost NotificationChannelEventType = original.Cost
)
type NotificationStatus = original.NotificationStatus
const (
NotificationStatusDisabled NotificationStatus = original.NotificationStatusDisabled
NotificationStatusEnabled NotificationStatus = original.NotificationStatusEnabled
)
type PolicyEvaluatorType = original.PolicyEvaluatorType
const (
AllowedValuesPolicy PolicyEvaluatorType = original.AllowedValuesPolicy
MaxValuePolicy PolicyEvaluatorType = original.MaxValuePolicy
)
type PolicyFactName = original.PolicyFactName
const (
PolicyFactNameGalleryImage PolicyFactName = original.PolicyFactNameGalleryImage
PolicyFactNameLabPremiumVMCount PolicyFactName = original.PolicyFactNameLabPremiumVMCount
PolicyFactNameLabTargetCost PolicyFactName = original.PolicyFactNameLabTargetCost
PolicyFactNameLabVMCount PolicyFactName = original.PolicyFactNameLabVMCount
PolicyFactNameLabVMSize PolicyFactName = original.PolicyFactNameLabVMSize
PolicyFactNameUserOwnedLabPremiumVMCount PolicyFactName = original.PolicyFactNameUserOwnedLabPremiumVMCount
PolicyFactNameUserOwnedLabVMCount PolicyFactName = original.PolicyFactNameUserOwnedLabVMCount
PolicyFactNameUserOwnedLabVMCountInSubnet PolicyFactName = original.PolicyFactNameUserOwnedLabVMCountInSubnet
)
type PolicyStatus = original.PolicyStatus
const (
PolicyStatusDisabled PolicyStatus = original.PolicyStatusDisabled
PolicyStatusEnabled PolicyStatus = original.PolicyStatusEnabled
)
type PremiumDataDisk = original.PremiumDataDisk
const (
PremiumDataDiskDisabled PremiumDataDisk = original.PremiumDataDiskDisabled
PremiumDataDiskEnabled PremiumDataDisk = original.PremiumDataDiskEnabled
)
type ReportingCycleType = original.ReportingCycleType
const (
CalendarMonth ReportingCycleType = original.CalendarMonth
Custom ReportingCycleType = original.Custom
)
type SourceControlType = original.SourceControlType
const (
GitHub SourceControlType = original.GitHub
VsoGit SourceControlType = original.VsoGit
)
type StorageType = original.StorageType
const (
Premium StorageType = original.Premium
Standard StorageType = original.Standard
)
type TargetCostStatus = original.TargetCostStatus
const (
TargetCostStatusDisabled TargetCostStatus = original.TargetCostStatusDisabled
TargetCostStatusEnabled TargetCostStatus = original.TargetCostStatusEnabled
)
type TransportProtocol = original.TransportProtocol
const (
TCP TransportProtocol = original.TCP
UDP TransportProtocol = original.UDP
)
type UsagePermissionType = original.UsagePermissionType
const (
Allow UsagePermissionType = original.Allow
Default UsagePermissionType = original.Default
Deny UsagePermissionType = original.Deny
)
type VirtualMachineCreationSource = original.VirtualMachineCreationSource
const (
FromCustomImage VirtualMachineCreationSource = original.FromCustomImage
FromGalleryImage VirtualMachineCreationSource = original.FromGalleryImage
)
type WindowsOsState = original.WindowsOsState
const (
NonSysprepped WindowsOsState = original.NonSysprepped
SysprepApplied WindowsOsState = original.SysprepApplied
SysprepRequested WindowsOsState = original.SysprepRequested
)
type ApplicableSchedule = original.ApplicableSchedule
type ApplicableScheduleFragment = original.ApplicableScheduleFragment
type ApplicableScheduleProperties = original.ApplicableScheduleProperties
type ApplicableSchedulePropertiesFragment = original.ApplicableSchedulePropertiesFragment
type ApplyArtifactsRequest = original.ApplyArtifactsRequest
type ArmTemplate = original.ArmTemplate
type ArmTemplateInfo = original.ArmTemplateInfo
type ArmTemplateParameterProperties = original.ArmTemplateParameterProperties
type ArmTemplateProperties = original.ArmTemplateProperties
type Artifact = original.Artifact
type ArtifactDeploymentStatusProperties = original.ArtifactDeploymentStatusProperties
type ArtifactDeploymentStatusPropertiesFragment = original.ArtifactDeploymentStatusPropertiesFragment
type ArtifactInstallProperties = original.ArtifactInstallProperties
type ArtifactInstallPropertiesFragment = original.ArtifactInstallPropertiesFragment
type ArtifactParameterProperties = original.ArtifactParameterProperties
type ArtifactParameterPropertiesFragment = original.ArtifactParameterPropertiesFragment
type ArtifactProperties = original.ArtifactProperties
type ArtifactSource = original.ArtifactSource
type ArtifactSourceFragment = original.ArtifactSourceFragment
type ArtifactSourceProperties = original.ArtifactSourceProperties
type ArtifactSourcePropertiesFragment = original.ArtifactSourcePropertiesFragment
type AttachDiskProperties = original.AttachDiskProperties
type AttachNewDataDiskOptions = original.AttachNewDataDiskOptions
type BulkCreationParameters = original.BulkCreationParameters
type CloudError = original.CloudError
type CloudErrorBody = original.CloudErrorBody
type ComputeDataDisk = original.ComputeDataDisk
type ComputeDataDiskFragment = original.ComputeDataDiskFragment
type ComputeVMInstanceViewStatus = original.ComputeVMInstanceViewStatus
type ComputeVMInstanceViewStatusFragment = original.ComputeVMInstanceViewStatusFragment
type ComputeVMProperties = original.ComputeVMProperties
type ComputeVMPropertiesFragment = original.ComputeVMPropertiesFragment
type CostThresholdProperties = original.CostThresholdProperties
type CustomImage = original.CustomImage
type CustomImageProperties = original.CustomImageProperties
type CustomImagePropertiesCustom = original.CustomImagePropertiesCustom
type CustomImagePropertiesFromVM = original.CustomImagePropertiesFromVM
type CustomImagesCreateOrUpdateFuture = original.CustomImagesCreateOrUpdateFuture
type CustomImagesDeleteFuture = original.CustomImagesDeleteFuture
type DataDiskProperties = original.DataDiskProperties
type DayDetails = original.DayDetails
type DayDetailsFragment = original.DayDetailsFragment
type DetachDataDiskProperties = original.DetachDataDiskProperties
type DetachDiskProperties = original.DetachDiskProperties
type Disk = original.Disk
type DiskProperties = original.DiskProperties
type DisksAttachFuture = original.DisksAttachFuture
type DisksCreateOrUpdateFuture = original.DisksCreateOrUpdateFuture
type DisksDeleteFuture = original.DisksDeleteFuture
type DisksDetachFuture = original.DisksDetachFuture
type Environment = original.Environment
type EnvironmentDeploymentProperties = original.EnvironmentDeploymentProperties
type EnvironmentProperties = original.EnvironmentProperties
type EnvironmentsCreateOrUpdateFuture = original.EnvironmentsCreateOrUpdateFuture
type EnvironmentsDeleteFuture = original.EnvironmentsDeleteFuture
type EvaluatePoliciesProperties = original.EvaluatePoliciesProperties
type EvaluatePoliciesRequest = original.EvaluatePoliciesRequest
type EvaluatePoliciesResponse = original.EvaluatePoliciesResponse
type Event = original.Event
type EventFragment = original.EventFragment
type ExportResourceUsageParameters = original.ExportResourceUsageParameters
type ExternalSubnet = original.ExternalSubnet
type ExternalSubnetFragment = original.ExternalSubnetFragment
type Formula = original.Formula
type FormulaProperties = original.FormulaProperties
type FormulaPropertiesFromVM = original.FormulaPropertiesFromVM
type FormulasCreateOrUpdateFuture = original.FormulasCreateOrUpdateFuture
type GalleryImage = original.GalleryImage
type GalleryImageProperties = original.GalleryImageProperties
type GalleryImageReference = original.GalleryImageReference
type GalleryImageReferenceFragment = original.GalleryImageReferenceFragment
type GenerateArmTemplateRequest = original.GenerateArmTemplateRequest
type GenerateUploadURIParameter = original.GenerateUploadURIParameter
type GenerateUploadURIResponse = original.GenerateUploadURIResponse
type GlobalSchedulesExecuteFuture = original.GlobalSchedulesExecuteFuture
type GlobalSchedulesRetargetFuture = original.GlobalSchedulesRetargetFuture
type HourDetails = original.HourDetails
type HourDetailsFragment = original.HourDetailsFragment
type IdentityProperties = original.IdentityProperties
type InboundNatRule = original.InboundNatRule
type InboundNatRuleFragment = original.InboundNatRuleFragment
type Lab = original.Lab
type LabCost = original.LabCost
type LabCostDetailsProperties = original.LabCostDetailsProperties
type LabCostProperties = original.LabCostProperties
type LabCostSummaryProperties = original.LabCostSummaryProperties
type LabFragment = original.LabFragment
type LabProperties = original.LabProperties
type LabPropertiesFragment = original.LabPropertiesFragment
type LabResourceCostProperties = original.LabResourceCostProperties
type LabsClaimAnyVMFuture = original.LabsClaimAnyVMFuture
type LabsCreateEnvironmentFuture = original.LabsCreateEnvironmentFuture
type LabsCreateOrUpdateFuture = original.LabsCreateOrUpdateFuture
type LabsDeleteFuture = original.LabsDeleteFuture
type LabsExportResourceUsageFuture = original.LabsExportResourceUsageFuture
type LabVhd = original.LabVhd
type LabVirtualMachine = original.LabVirtualMachine
type LabVirtualMachineCreationParameter = original.LabVirtualMachineCreationParameter
type LabVirtualMachineCreationParameterProperties = original.LabVirtualMachineCreationParameterProperties
type LabVirtualMachineFragment = original.LabVirtualMachineFragment
type LabVirtualMachineProperties = original.LabVirtualMachineProperties
type LabVirtualMachinePropertiesFragment = original.LabVirtualMachinePropertiesFragment
type LinuxOsInfo = original.LinuxOsInfo
type NetworkInterfaceProperties = original.NetworkInterfaceProperties
type NetworkInterfacePropertiesFragment = original.NetworkInterfacePropertiesFragment
type NotificationChannel = original.NotificationChannel
type NotificationChannelFragment = original.NotificationChannelFragment
type NotificationChannelProperties = original.NotificationChannelProperties
type NotificationChannelPropertiesFragment = original.NotificationChannelPropertiesFragment
type NotificationSettings = original.NotificationSettings
type NotificationSettingsFragment = original.NotificationSettingsFragment
type NotifyParameters = original.NotifyParameters
type OperationError = original.OperationError
type OperationMetadata = original.OperationMetadata
type OperationMetadataDisplay = original.OperationMetadataDisplay
type OperationResult = original.OperationResult
type ParameterInfo = original.ParameterInfo
type ParametersValueFileInfo = original.ParametersValueFileInfo
type PercentageCostThresholdProperties = original.PercentageCostThresholdProperties
type Policy = original.Policy
type PolicyFragment = original.PolicyFragment
type PolicyProperties = original.PolicyProperties
type PolicyPropertiesFragment = original.PolicyPropertiesFragment
type PolicySetResult = original.PolicySetResult
type PolicyViolation = original.PolicyViolation
type Port = original.Port
type PortFragment = original.PortFragment
type ProviderOperationResult = original.ProviderOperationResult
type ProviderOperationResultIterator = original.ProviderOperationResultIterator
type ProviderOperationResultPage = original.ProviderOperationResultPage
type Resource = original.Resource
type ResponseWithContinuationArmTemplate = original.ResponseWithContinuationArmTemplate
type ResponseWithContinuationArmTemplateIterator = original.ResponseWithContinuationArmTemplateIterator
type ResponseWithContinuationArmTemplatePage = original.ResponseWithContinuationArmTemplatePage
type ResponseWithContinuationArtifact = original.ResponseWithContinuationArtifact
type ResponseWithContinuationArtifactIterator = original.ResponseWithContinuationArtifactIterator
type ResponseWithContinuationArtifactPage = original.ResponseWithContinuationArtifactPage
type ResponseWithContinuationArtifactSource = original.ResponseWithContinuationArtifactSource
type ResponseWithContinuationArtifactSourceIterator = original.ResponseWithContinuationArtifactSourceIterator
type ResponseWithContinuationArtifactSourcePage = original.ResponseWithContinuationArtifactSourcePage
type ResponseWithContinuationCustomImage = original.ResponseWithContinuationCustomImage
type ResponseWithContinuationCustomImageIterator = original.ResponseWithContinuationCustomImageIterator
type ResponseWithContinuationCustomImagePage = original.ResponseWithContinuationCustomImagePage
type ResponseWithContinuationDisk = original.ResponseWithContinuationDisk
type ResponseWithContinuationDiskIterator = original.ResponseWithContinuationDiskIterator
type ResponseWithContinuationDiskPage = original.ResponseWithContinuationDiskPage
type ResponseWithContinuationDtlEnvironment = original.ResponseWithContinuationDtlEnvironment
type ResponseWithContinuationDtlEnvironmentIterator = original.ResponseWithContinuationDtlEnvironmentIterator
type ResponseWithContinuationDtlEnvironmentPage = original.ResponseWithContinuationDtlEnvironmentPage
type ResponseWithContinuationFormula = original.ResponseWithContinuationFormula
type ResponseWithContinuationFormulaIterator = original.ResponseWithContinuationFormulaIterator
type ResponseWithContinuationFormulaPage = original.ResponseWithContinuationFormulaPage
type ResponseWithContinuationGalleryImage = original.ResponseWithContinuationGalleryImage
type ResponseWithContinuationGalleryImageIterator = original.ResponseWithContinuationGalleryImageIterator
type ResponseWithContinuationGalleryImagePage = original.ResponseWithContinuationGalleryImagePage
type ResponseWithContinuationLab = original.ResponseWithContinuationLab
type ResponseWithContinuationLabIterator = original.ResponseWithContinuationLabIterator
type ResponseWithContinuationLabPage = original.ResponseWithContinuationLabPage
type ResponseWithContinuationLabVhd = original.ResponseWithContinuationLabVhd
type ResponseWithContinuationLabVhdIterator = original.ResponseWithContinuationLabVhdIterator
type ResponseWithContinuationLabVhdPage = original.ResponseWithContinuationLabVhdPage
type ResponseWithContinuationLabVirtualMachine = original.ResponseWithContinuationLabVirtualMachine
type ResponseWithContinuationLabVirtualMachineIterator = original.ResponseWithContinuationLabVirtualMachineIterator
type ResponseWithContinuationLabVirtualMachinePage = original.ResponseWithContinuationLabVirtualMachinePage
type ResponseWithContinuationNotificationChannel = original.ResponseWithContinuationNotificationChannel
type ResponseWithContinuationNotificationChannelIterator = original.ResponseWithContinuationNotificationChannelIterator
type ResponseWithContinuationNotificationChannelPage = original.ResponseWithContinuationNotificationChannelPage
type ResponseWithContinuationPolicy = original.ResponseWithContinuationPolicy
type ResponseWithContinuationPolicyIterator = original.ResponseWithContinuationPolicyIterator
type ResponseWithContinuationPolicyPage = original.ResponseWithContinuationPolicyPage
type ResponseWithContinuationSchedule = original.ResponseWithContinuationSchedule
type ResponseWithContinuationScheduleIterator = original.ResponseWithContinuationScheduleIterator
type ResponseWithContinuationSchedulePage = original.ResponseWithContinuationSchedulePage
type ResponseWithContinuationSecret = original.ResponseWithContinuationSecret
type ResponseWithContinuationSecretIterator = original.ResponseWithContinuationSecretIterator
type ResponseWithContinuationSecretPage = original.ResponseWithContinuationSecretPage
type ResponseWithContinuationServiceRunner = original.ResponseWithContinuationServiceRunner
type ResponseWithContinuationServiceRunnerIterator = original.ResponseWithContinuationServiceRunnerIterator
type ResponseWithContinuationServiceRunnerPage = original.ResponseWithContinuationServiceRunnerPage
type ResponseWithContinuationUser = original.ResponseWithContinuationUser
type ResponseWithContinuationUserIterator = original.ResponseWithContinuationUserIterator
type ResponseWithContinuationUserPage = original.ResponseWithContinuationUserPage
type ResponseWithContinuationVirtualNetwork = original.ResponseWithContinuationVirtualNetwork
type ResponseWithContinuationVirtualNetworkIterator = original.ResponseWithContinuationVirtualNetworkIterator
type ResponseWithContinuationVirtualNetworkPage = original.ResponseWithContinuationVirtualNetworkPage
type RetargetScheduleProperties = original.RetargetScheduleProperties
type Schedule = original.Schedule
type ScheduleFragment = original.ScheduleFragment
type ScheduleProperties = original.ScheduleProperties
type SchedulePropertiesFragment = original.SchedulePropertiesFragment
type SchedulesExecuteFuture = original.SchedulesExecuteFuture
type Secret = original.Secret
type SecretProperties = original.SecretProperties
type ServiceRunner = original.ServiceRunner
type SharedPublicIPAddressConfiguration = original.SharedPublicIPAddressConfiguration
type SharedPublicIPAddressConfigurationFragment = original.SharedPublicIPAddressConfigurationFragment
type ShutdownNotificationContent = original.ShutdownNotificationContent
type Subnet = original.Subnet
type SubnetFragment = original.SubnetFragment
type SubnetOverride = original.SubnetOverride
type SubnetOverrideFragment = original.SubnetOverrideFragment
type SubnetSharedPublicIPAddressConfiguration = original.SubnetSharedPublicIPAddressConfiguration
type SubnetSharedPublicIPAddressConfigurationFragment = original.SubnetSharedPublicIPAddressConfigurationFragment
type TargetCostProperties = original.TargetCostProperties
type User = original.User
type UserFragment = original.UserFragment
type UserIdentity = original.UserIdentity
type UserIdentityFragment = original.UserIdentityFragment
type UserProperties = original.UserProperties
type UserPropertiesFragment = original.UserPropertiesFragment
type UsersDeleteFuture = original.UsersDeleteFuture
type UserSecretStore = original.UserSecretStore
type UserSecretStoreFragment = original.UserSecretStoreFragment
type VirtualMachinesAddDataDiskFuture = original.VirtualMachinesAddDataDiskFuture
type VirtualMachinesApplyArtifactsFuture = original.VirtualMachinesApplyArtifactsFuture
type VirtualMachineSchedulesExecuteFuture = original.VirtualMachineSchedulesExecuteFuture
type VirtualMachinesClaimFuture = original.VirtualMachinesClaimFuture
type VirtualMachinesCreateOrUpdateFuture = original.VirtualMachinesCreateOrUpdateFuture
type VirtualMachinesDeleteFuture = original.VirtualMachinesDeleteFuture
type VirtualMachinesDetachDataDiskFuture = original.VirtualMachinesDetachDataDiskFuture
type VirtualMachinesStartFuture = original.VirtualMachinesStartFuture
type VirtualMachinesStopFuture = original.VirtualMachinesStopFuture
type VirtualNetwork = original.VirtualNetwork
type VirtualNetworkFragment = original.VirtualNetworkFragment
type VirtualNetworkProperties = original.VirtualNetworkProperties
type VirtualNetworkPropertiesFragment = original.VirtualNetworkPropertiesFragment
type VirtualNetworksCreateOrUpdateFuture = original.VirtualNetworksCreateOrUpdateFuture
type VirtualNetworksDeleteFuture = original.VirtualNetworksDeleteFuture
type WeekDetails = original.WeekDetails
type WeekDetailsFragment = original.WeekDetailsFragment
type WindowsOsInfo = original.WindowsOsInfo
type NotificationChannelsClient = original.NotificationChannelsClient
type OperationsClient = original.OperationsClient
type PoliciesClient = original.PoliciesClient
type PolicySetsClient = original.PolicySetsClient
type ProviderOperationsClient = original.ProviderOperationsClient
type SchedulesClient = original.SchedulesClient
type SecretsClient = original.SecretsClient
type ServiceRunnersClient = original.ServiceRunnersClient
type UsersClient = original.UsersClient
type VirtualMachinesClient = original.VirtualMachinesClient
type VirtualMachineSchedulesClient = original.VirtualMachineSchedulesClient
type VirtualNetworksClient = original.VirtualNetworksClient
func NewArmTemplatesClient(subscriptionID string) ArmTemplatesClient {
return original.NewArmTemplatesClient(subscriptionID)
}
func NewArmTemplatesClientWithBaseURI(baseURI string, subscriptionID string) ArmTemplatesClient {
return original.NewArmTemplatesClientWithBaseURI(baseURI, subscriptionID)
}
func NewArtifactsClient(subscriptionID string) ArtifactsClient {
return original.NewArtifactsClient(subscriptionID)
}
func NewArtifactsClientWithBaseURI(baseURI string, subscriptionID string) ArtifactsClient {
return original.NewArtifactsClientWithBaseURI(baseURI, subscriptionID)
}
func NewArtifactSourcesClient(subscriptionID string) ArtifactSourcesClient {
return original.NewArtifactSourcesClient(subscriptionID)
}
func NewArtifactSourcesClientWithBaseURI(baseURI string, subscriptionID string) ArtifactSourcesClient {
return original.NewArtifactSourcesClientWithBaseURI(baseURI, subscriptionID)
}
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func NewCostsClient(subscriptionID string) CostsClient {
return original.NewCostsClient(subscriptionID)
}
func NewCostsClientWithBaseURI(baseURI string, subscriptionID string) CostsClient {
return original.NewCostsClientWithBaseURI(baseURI, subscriptionID)
}
func NewCustomImagesClient(subscriptionID string) CustomImagesClient {
return original.NewCustomImagesClient(subscriptionID)
}
func NewCustomImagesClientWithBaseURI(baseURI string, subscriptionID string) CustomImagesClient {
return original.NewCustomImagesClientWithBaseURI(baseURI, subscriptionID)
}
func NewDisksClient(subscriptionID string) DisksClient {
return original.NewDisksClient(subscriptionID)
}
func NewDisksClientWithBaseURI(baseURI string, subscriptionID string) DisksClient {
return original.NewDisksClientWithBaseURI(baseURI, subscriptionID)
}
func NewEnvironmentsClient(subscriptionID string) EnvironmentsClient {
return original.NewEnvironmentsClient(subscriptionID)
}
func NewEnvironmentsClientWithBaseURI(baseURI string, subscriptionID string) EnvironmentsClient {
return original.NewEnvironmentsClientWithBaseURI(baseURI, subscriptionID)
}
func NewFormulasClient(subscriptionID string) FormulasClient {
return original.NewFormulasClient(subscriptionID)
}
func NewFormulasClientWithBaseURI(baseURI string, subscriptionID string) FormulasClient {
return original.NewFormulasClientWithBaseURI(baseURI, subscriptionID)
}
func NewGalleryImagesClient(subscriptionID string) GalleryImagesClient {
return original.NewGalleryImagesClient(subscriptionID)
}
func NewGalleryImagesClientWithBaseURI(baseURI string, subscriptionID string) GalleryImagesClient {
return original.NewGalleryImagesClientWithBaseURI(baseURI, subscriptionID)
}
func NewGlobalSchedulesClient(subscriptionID string) GlobalSchedulesClient {
return original.NewGlobalSchedulesClient(subscriptionID)
}
func NewGlobalSchedulesClientWithBaseURI(baseURI string, subscriptionID string) GlobalSchedulesClient {
return original.NewGlobalSchedulesClientWithBaseURI(baseURI, subscriptionID)
}
func NewLabsClient(subscriptionID string) LabsClient {
return original.NewLabsClient(subscriptionID)
}
func NewLabsClientWithBaseURI(baseURI string, subscriptionID string) LabsClient {
return original.NewLabsClientWithBaseURI(baseURI, subscriptionID)
}
func PossibleCostThresholdStatusValues() []CostThresholdStatus {
return original.PossibleCostThresholdStatusValues()
}
func PossibleCostTypeValues() []CostType {
return original.PossibleCostTypeValues()
}
func PossibleCustomImageOsTypeValues() []CustomImageOsType {
return original.PossibleCustomImageOsTypeValues()
}
func PossibleEnableStatusValues() []EnableStatus {
return original.PossibleEnableStatusValues()
}
func PossibleFileUploadOptionsValues() []FileUploadOptions {
return original.PossibleFileUploadOptionsValues()
}
func PossibleHostCachingOptionsValues() []HostCachingOptions {
return original.PossibleHostCachingOptionsValues()
}
func PossibleHTTPStatusCodeValues() []HTTPStatusCode {
return original.PossibleHTTPStatusCodeValues()
}
func PossibleLinuxOsStateValues() []LinuxOsState {
return original.PossibleLinuxOsStateValues()
}
func PossibleNotificationChannelEventTypeValues() []NotificationChannelEventType {
return original.PossibleNotificationChannelEventTypeValues()
}
func PossibleNotificationStatusValues() []NotificationStatus {
return original.PossibleNotificationStatusValues()
}
func PossiblePolicyEvaluatorTypeValues() []PolicyEvaluatorType {
return original.PossiblePolicyEvaluatorTypeValues()
}
func PossiblePolicyFactNameValues() []PolicyFactName {
return original.PossiblePolicyFactNameValues()
}
func PossiblePolicyStatusValues() []PolicyStatus {
return original.PossiblePolicyStatusValues()
}
func PossiblePremiumDataDiskValues() []PremiumDataDisk {
return original.PossiblePremiumDataDiskValues()
}
func PossibleReportingCycleTypeValues() []ReportingCycleType {
return original.PossibleReportingCycleTypeValues()
}
func PossibleSourceControlTypeValues() []SourceControlType {
return original.PossibleSourceControlTypeValues()
}
func PossibleStorageTypeValues() []StorageType {
return original.PossibleStorageTypeValues()
}
func PossibleTargetCostStatusValues() []TargetCostStatus {
return original.PossibleTargetCostStatusValues()
}
func PossibleTransportProtocolValues() []TransportProtocol {
return original.PossibleTransportProtocolValues()
}
func PossibleUsagePermissionTypeValues() []UsagePermissionType {
return original.PossibleUsagePermissionTypeValues()
}
func PossibleVirtualMachineCreationSourceValues() []VirtualMachineCreationSource {
return original.PossibleVirtualMachineCreationSourceValues()
}
func PossibleWindowsOsStateValues() []WindowsOsState {
return original.PossibleWindowsOsStateValues()
}
func NewNotificationChannelsClient(subscriptionID string) NotificationChannelsClient {
return original.NewNotificationChannelsClient(subscriptionID)
}
func NewNotificationChannelsClientWithBaseURI(baseURI string, subscriptionID string) NotificationChannelsClient {
return original.NewNotificationChannelsClientWithBaseURI(baseURI, subscriptionID)
}
func NewOperationsClient(subscriptionID string) OperationsClient {
return original.NewOperationsClient(subscriptionID)
}
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewPoliciesClient(subscriptionID string) PoliciesClient {
return original.NewPoliciesClient(subscriptionID)
}
func NewPoliciesClientWithBaseURI(baseURI string, subscriptionID string) PoliciesClient {
return original.NewPoliciesClientWithBaseURI(baseURI, subscriptionID)
}
func NewPolicySetsClient(subscriptionID string) PolicySetsClient {
return original.NewPolicySetsClient(subscriptionID)
}
func NewPolicySetsClientWithBaseURI(baseURI string, subscriptionID string) PolicySetsClient {
return original.NewPolicySetsClientWithBaseURI(baseURI, subscriptionID)
}
func NewProviderOperationsClient(subscriptionID string) ProviderOperationsClient {
return original.NewProviderOperationsClient(subscriptionID)
}
func NewProviderOperationsClientWithBaseURI(baseURI string, subscriptionID string) ProviderOperationsClient {
return original.NewProviderOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewSchedulesClient(subscriptionID string) SchedulesClient {
return original.NewSchedulesClient(subscriptionID)
}
func NewSchedulesClientWithBaseURI(baseURI string, subscriptionID string) SchedulesClient {
return original.NewSchedulesClientWithBaseURI(baseURI, subscriptionID)
}
func NewSecretsClient(subscriptionID string) SecretsClient {
return original.NewSecretsClient(subscriptionID)
}
func NewSecretsClientWithBaseURI(baseURI string, subscriptionID string) SecretsClient {
return original.NewSecretsClientWithBaseURI(baseURI, subscriptionID)
}
func NewServiceRunnersClient(subscriptionID string) ServiceRunnersClient {
return original.NewServiceRunnersClient(subscriptionID)
}
func NewServiceRunnersClientWithBaseURI(baseURI string, subscriptionID string) ServiceRunnersClient {
return original.NewServiceRunnersClientWithBaseURI(baseURI, subscriptionID)
}
func NewUsersClient(subscriptionID string) UsersClient {
return original.NewUsersClient(subscriptionID)
}
func NewUsersClientWithBaseURI(baseURI string, subscriptionID string) UsersClient {
return original.NewUsersClientWithBaseURI(baseURI, subscriptionID)
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}
func NewVirtualMachinesClient(subscriptionID string) VirtualMachinesClient {
return original.NewVirtualMachinesClient(subscriptionID)
}
func NewVirtualMachinesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachinesClient {
return original.NewVirtualMachinesClientWithBaseURI(baseURI, subscriptionID)
}
func NewVirtualMachineSchedulesClient(subscriptionID string) VirtualMachineSchedulesClient {
return original.NewVirtualMachineSchedulesClient(subscriptionID)
}
func NewVirtualMachineSchedulesClientWithBaseURI(baseURI string, subscriptionID string) VirtualMachineSchedulesClient {
return original.NewVirtualMachineSchedulesClientWithBaseURI(baseURI, subscriptionID)
}
func NewVirtualNetworksClient(subscriptionID string) VirtualNetworksClient {
return original.NewVirtualNetworksClient(subscriptionID)
}
func NewVirtualNetworksClientWithBaseURI(baseURI string, subscriptionID string) VirtualNetworksClient {
return original.NewVirtualNetworksClientWithBaseURI(baseURI, subscriptionID)
}

View File

@@ -1,100 +0,0 @@
// +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 original "github.com/Azure/azure-sdk-for-go/services/dns/mgmt/2017-10-01/dns"
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type RecordType = original.RecordType
const (
A RecordType = original.A
AAAA RecordType = original.AAAA
CAA RecordType = original.CAA
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 AaaaRecord = original.AaaaRecord
type ARecord = original.ARecord
type CaaRecord = original.CaaRecord
type CloudError = original.CloudError
type CloudErrorBody = original.CloudErrorBody
type CnameRecord = original.CnameRecord
type MxRecord = original.MxRecord
type NsRecord = original.NsRecord
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 Resource = original.Resource
type SoaRecord = original.SoaRecord
type SrvRecord = original.SrvRecord
type SubResource = original.SubResource
type TxtRecord = original.TxtRecord
type Zone = original.Zone
type ZoneListResult = original.ZoneListResult
type ZoneListResultIterator = original.ZoneListResultIterator
type ZoneListResultPage = original.ZoneListResultPage
type ZoneProperties = original.ZoneProperties
type ZonesDeleteFuture = original.ZonesDeleteFuture
type ZoneUpdate = original.ZoneUpdate
type RecordSetsClient = original.RecordSetsClient
type ZonesClient = original.ZonesClient
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func PossibleRecordTypeValues() []RecordType {
return original.PossibleRecordTypeValues()
}
func NewRecordSetsClient(subscriptionID string) RecordSetsClient {
return original.NewRecordSetsClient(subscriptionID)
}
func NewRecordSetsClientWithBaseURI(baseURI string, subscriptionID string) RecordSetsClient {
return original.NewRecordSetsClientWithBaseURI(baseURI, subscriptionID)
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}
func NewZonesClient(subscriptionID string) ZonesClient {
return original.NewZonesClient(subscriptionID)
}
func NewZonesClientWithBaseURI(baseURI string, subscriptionID string) ZonesClient {
return original.NewZonesClientWithBaseURI(baseURI, subscriptionID)
}

View File

@@ -1,87 +0,0 @@
// +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 aad
import original "github.com/Azure/azure-sdk-for-go/services/domainservices/mgmt/2017-01-01/aad"
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type DomainServiceOperationsClient = original.DomainServiceOperationsClient
type DomainServicesClient = original.DomainServicesClient
type ExternalAccess = original.ExternalAccess
const (
Disabled ExternalAccess = original.Disabled
Enabled ExternalAccess = original.Enabled
)
type Ldaps = original.Ldaps
const (
LdapsDisabled Ldaps = original.LdapsDisabled
LdapsEnabled Ldaps = original.LdapsEnabled
)
type DomainService = original.DomainService
type DomainServiceListResult = original.DomainServiceListResult
type DomainServicePatchProperties = original.DomainServicePatchProperties
type DomainServiceProperties = original.DomainServiceProperties
type DomainServicesCreateOrUpdateFuture = original.DomainServicesCreateOrUpdateFuture
type DomainServicesDeleteFuture = original.DomainServicesDeleteFuture
type DomainServicesUpdateFuture = original.DomainServicesUpdateFuture
type LdapsSettings = original.LdapsSettings
type OperationDisplayInfo = original.OperationDisplayInfo
type OperationEntity = original.OperationEntity
type OperationEntityListResult = original.OperationEntityListResult
type Resource = original.Resource
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func NewDomainServiceOperationsClient(subscriptionID string) DomainServiceOperationsClient {
return original.NewDomainServiceOperationsClient(subscriptionID)
}
func NewDomainServiceOperationsClientWithBaseURI(baseURI string, subscriptionID string) DomainServiceOperationsClient {
return original.NewDomainServiceOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewDomainServicesClient(subscriptionID string) DomainServicesClient {
return original.NewDomainServicesClient(subscriptionID)
}
func NewDomainServicesClientWithBaseURI(baseURI string, subscriptionID string) DomainServicesClient {
return original.NewDomainServicesClientWithBaseURI(baseURI, subscriptionID)
}
func PossibleExternalAccessValues() []ExternalAccess {
return original.PossibleExternalAccessValues()
}
func PossibleLdapsValues() []Ldaps {
return original.PossibleLdapsValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}

View File

@@ -1,83 +0,0 @@
// +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 eventgrid
import original "github.com/Azure/azure-sdk-for-go/services/eventgrid/2018-01-01/eventgrid"
type BaseClient = original.BaseClient
type JobState = original.JobState
const (
Canceled JobState = original.Canceled
Canceling JobState = original.Canceling
Error JobState = original.Error
Finished JobState = original.Finished
Processing JobState = original.Processing
Queued JobState = original.Queued
Scheduled JobState = original.Scheduled
)
type ContainerRegistryEventActor = original.ContainerRegistryEventActor
type ContainerRegistryEventData = original.ContainerRegistryEventData
type ContainerRegistryEventRequest = original.ContainerRegistryEventRequest
type ContainerRegistryEventSource = original.ContainerRegistryEventSource
type ContainerRegistryEventTarget = original.ContainerRegistryEventTarget
type ContainerRegistryImageDeletedEventData = original.ContainerRegistryImageDeletedEventData
type ContainerRegistryImagePushedEventData = original.ContainerRegistryImagePushedEventData
type DeviceLifeCycleEventProperties = original.DeviceLifeCycleEventProperties
type DeviceTwinInfo = original.DeviceTwinInfo
type DeviceTwinInfoProperties = original.DeviceTwinInfoProperties
type DeviceTwinInfoX509Thumbprint = original.DeviceTwinInfoX509Thumbprint
type DeviceTwinMetadata = original.DeviceTwinMetadata
type DeviceTwinProperties = original.DeviceTwinProperties
type Event = original.Event
type EventHubCaptureFileCreatedEventData = original.EventHubCaptureFileCreatedEventData
type IotHubDeviceCreatedEventData = original.IotHubDeviceCreatedEventData
type IotHubDeviceDeletedEventData = original.IotHubDeviceDeletedEventData
type MediaJobStateChangeEventData = original.MediaJobStateChangeEventData
type ResourceDeleteCancelData = original.ResourceDeleteCancelData
type ResourceDeleteFailureData = original.ResourceDeleteFailureData
type ResourceDeleteSuccessData = original.ResourceDeleteSuccessData
type ResourceWriteCancelData = original.ResourceWriteCancelData
type ResourceWriteFailureData = original.ResourceWriteFailureData
type ResourceWriteSuccessData = original.ResourceWriteSuccessData
type ServiceBusActiveMessagesAvailableWithNoListenersEventData = original.ServiceBusActiveMessagesAvailableWithNoListenersEventData
type ServiceBusDeadletterMessagesAvailableWithNoListenersEventData = original.ServiceBusDeadletterMessagesAvailableWithNoListenersEventData
type StorageBlobCreatedEventData = original.StorageBlobCreatedEventData
type StorageBlobDeletedEventData = original.StorageBlobDeletedEventData
type SubscriptionDeletedEventData = original.SubscriptionDeletedEventData
type SubscriptionValidationEventData = original.SubscriptionValidationEventData
type SubscriptionValidationResponse = original.SubscriptionValidationResponse
func New() BaseClient {
return original.New()
}
func NewWithoutDefaults() BaseClient {
return original.NewWithoutDefaults()
}
func PossibleJobStateValues() []JobState {
return original.PossibleJobStateValues()
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}

View File

@@ -1,167 +0,0 @@
// +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 eventgrid
import original "github.com/Azure/azure-sdk-for-go/services/eventgrid/mgmt/2018-01-01/eventgrid"
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type EventSubscriptionsClient = original.EventSubscriptionsClient
type EndpointType = original.EndpointType
const (
EndpointTypeEventHub EndpointType = original.EndpointTypeEventHub
EndpointTypeEventSubscriptionDestination EndpointType = original.EndpointTypeEventSubscriptionDestination
EndpointTypeWebHook EndpointType = original.EndpointTypeWebHook
)
type EventSubscriptionProvisioningState = original.EventSubscriptionProvisioningState
const (
Canceled EventSubscriptionProvisioningState = original.Canceled
Creating EventSubscriptionProvisioningState = original.Creating
Deleting EventSubscriptionProvisioningState = original.Deleting
Failed EventSubscriptionProvisioningState = original.Failed
Succeeded EventSubscriptionProvisioningState = original.Succeeded
Updating EventSubscriptionProvisioningState = original.Updating
)
type ResourceRegionType = original.ResourceRegionType
const (
GlobalResource ResourceRegionType = original.GlobalResource
RegionalResource ResourceRegionType = original.RegionalResource
)
type TopicProvisioningState = original.TopicProvisioningState
const (
TopicProvisioningStateCanceled TopicProvisioningState = original.TopicProvisioningStateCanceled
TopicProvisioningStateCreating TopicProvisioningState = original.TopicProvisioningStateCreating
TopicProvisioningStateDeleting TopicProvisioningState = original.TopicProvisioningStateDeleting
TopicProvisioningStateFailed TopicProvisioningState = original.TopicProvisioningStateFailed
TopicProvisioningStateSucceeded TopicProvisioningState = original.TopicProvisioningStateSucceeded
TopicProvisioningStateUpdating TopicProvisioningState = original.TopicProvisioningStateUpdating
)
type TopicTypeProvisioningState = original.TopicTypeProvisioningState
const (
TopicTypeProvisioningStateCanceled TopicTypeProvisioningState = original.TopicTypeProvisioningStateCanceled
TopicTypeProvisioningStateCreating TopicTypeProvisioningState = original.TopicTypeProvisioningStateCreating
TopicTypeProvisioningStateDeleting TopicTypeProvisioningState = original.TopicTypeProvisioningStateDeleting
TopicTypeProvisioningStateFailed TopicTypeProvisioningState = original.TopicTypeProvisioningStateFailed
TopicTypeProvisioningStateSucceeded TopicTypeProvisioningState = original.TopicTypeProvisioningStateSucceeded
TopicTypeProvisioningStateUpdating TopicTypeProvisioningState = original.TopicTypeProvisioningStateUpdating
)
type EventHubEventSubscriptionDestination = original.EventHubEventSubscriptionDestination
type EventHubEventSubscriptionDestinationProperties = original.EventHubEventSubscriptionDestinationProperties
type EventSubscription = original.EventSubscription
type BasicEventSubscriptionDestination = original.BasicEventSubscriptionDestination
type EventSubscriptionDestination = original.EventSubscriptionDestination
type EventSubscriptionFilter = original.EventSubscriptionFilter
type EventSubscriptionFullURL = original.EventSubscriptionFullURL
type EventSubscriptionProperties = original.EventSubscriptionProperties
type EventSubscriptionsCreateOrUpdateFuture = original.EventSubscriptionsCreateOrUpdateFuture
type EventSubscriptionsDeleteFuture = original.EventSubscriptionsDeleteFuture
type EventSubscriptionsListResult = original.EventSubscriptionsListResult
type EventSubscriptionsUpdateFuture = original.EventSubscriptionsUpdateFuture
type EventSubscriptionUpdateParameters = original.EventSubscriptionUpdateParameters
type EventType = original.EventType
type EventTypeProperties = original.EventTypeProperties
type EventTypesListResult = original.EventTypesListResult
type Operation = original.Operation
type OperationInfo = original.OperationInfo
type OperationsListResult = original.OperationsListResult
type Resource = original.Resource
type Topic = original.Topic
type TopicProperties = original.TopicProperties
type TopicRegenerateKeyRequest = original.TopicRegenerateKeyRequest
type TopicsCreateOrUpdateFuture = original.TopicsCreateOrUpdateFuture
type TopicsDeleteFuture = original.TopicsDeleteFuture
type TopicSharedAccessKeys = original.TopicSharedAccessKeys
type TopicsListResult = original.TopicsListResult
type TopicsUpdateFuture = original.TopicsUpdateFuture
type TopicTypeInfo = original.TopicTypeInfo
type TopicTypeProperties = original.TopicTypeProperties
type TopicTypesListResult = original.TopicTypesListResult
type TopicUpdateParameters = original.TopicUpdateParameters
type TrackedResource = original.TrackedResource
type WebHookEventSubscriptionDestination = original.WebHookEventSubscriptionDestination
type WebHookEventSubscriptionDestinationProperties = original.WebHookEventSubscriptionDestinationProperties
type OperationsClient = original.OperationsClient
type TopicsClient = original.TopicsClient
type TopicTypesClient = original.TopicTypesClient
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func NewEventSubscriptionsClient(subscriptionID string) EventSubscriptionsClient {
return original.NewEventSubscriptionsClient(subscriptionID)
}
func NewEventSubscriptionsClientWithBaseURI(baseURI string, subscriptionID string) EventSubscriptionsClient {
return original.NewEventSubscriptionsClientWithBaseURI(baseURI, subscriptionID)
}
func PossibleEndpointTypeValues() []EndpointType {
return original.PossibleEndpointTypeValues()
}
func PossibleEventSubscriptionProvisioningStateValues() []EventSubscriptionProvisioningState {
return original.PossibleEventSubscriptionProvisioningStateValues()
}
func PossibleResourceRegionTypeValues() []ResourceRegionType {
return original.PossibleResourceRegionTypeValues()
}
func PossibleTopicProvisioningStateValues() []TopicProvisioningState {
return original.PossibleTopicProvisioningStateValues()
}
func PossibleTopicTypeProvisioningStateValues() []TopicTypeProvisioningState {
return original.PossibleTopicTypeProvisioningStateValues()
}
func NewOperationsClient(subscriptionID string) OperationsClient {
return original.NewOperationsClient(subscriptionID)
}
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewTopicsClient(subscriptionID string) TopicsClient {
return original.NewTopicsClient(subscriptionID)
}
func NewTopicsClientWithBaseURI(baseURI string, subscriptionID string) TopicsClient {
return original.NewTopicsClientWithBaseURI(baseURI, subscriptionID)
}
func NewTopicTypesClient(subscriptionID string) TopicTypesClient {
return original.NewTopicTypesClient(subscriptionID)
}
func NewTopicTypesClientWithBaseURI(baseURI string, subscriptionID string) TopicTypesClient {
return original.NewTopicTypesClientWithBaseURI(baseURI, subscriptionID)
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}

View File

@@ -1,237 +0,0 @@
// +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 eventhub
import original "github.com/Azure/azure-sdk-for-go/services/eventhub/mgmt/2017-04-01/eventhub"
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type ConsumerGroupsClient = original.ConsumerGroupsClient
type DisasterRecoveryConfigsClient = original.DisasterRecoveryConfigsClient
type EventHubsClient = original.EventHubsClient
type AccessRights = original.AccessRights
const (
Listen AccessRights = original.Listen
Manage AccessRights = original.Manage
Send AccessRights = original.Send
)
type EncodingCaptureDescription = original.EncodingCaptureDescription
const (
Avro EncodingCaptureDescription = original.Avro
AvroDeflate EncodingCaptureDescription = original.AvroDeflate
)
type EntityStatus = original.EntityStatus
const (
Active EntityStatus = original.Active
Creating EntityStatus = original.Creating
Deleting EntityStatus = original.Deleting
Disabled EntityStatus = original.Disabled
ReceiveDisabled EntityStatus = original.ReceiveDisabled
Renaming EntityStatus = original.Renaming
Restoring EntityStatus = original.Restoring
SendDisabled EntityStatus = original.SendDisabled
Unknown EntityStatus = original.Unknown
)
type KeyType = original.KeyType
const (
PrimaryKey KeyType = original.PrimaryKey
SecondaryKey KeyType = original.SecondaryKey
)
type ProvisioningStateDR = original.ProvisioningStateDR
const (
Accepted ProvisioningStateDR = original.Accepted
Failed ProvisioningStateDR = original.Failed
Succeeded ProvisioningStateDR = original.Succeeded
)
type RoleDisasterRecovery = original.RoleDisasterRecovery
const (
Primary RoleDisasterRecovery = original.Primary
PrimaryNotReplicating RoleDisasterRecovery = original.PrimaryNotReplicating
Secondary RoleDisasterRecovery = original.Secondary
)
type SkuName = original.SkuName
const (
Basic SkuName = original.Basic
Standard SkuName = original.Standard
)
type SkuTier = original.SkuTier
const (
SkuTierBasic SkuTier = original.SkuTierBasic
SkuTierStandard SkuTier = original.SkuTierStandard
)
type UnavailableReason = original.UnavailableReason
const (
InvalidName UnavailableReason = original.InvalidName
NameInLockdown UnavailableReason = original.NameInLockdown
NameInUse UnavailableReason = original.NameInUse
None UnavailableReason = original.None
SubscriptionIsDisabled UnavailableReason = original.SubscriptionIsDisabled
TooManyNamespaceInCurrentSubscription UnavailableReason = original.TooManyNamespaceInCurrentSubscription
)
type AccessKeys = original.AccessKeys
type ArmDisasterRecovery = original.ArmDisasterRecovery
type ArmDisasterRecoveryListResult = original.ArmDisasterRecoveryListResult
type ArmDisasterRecoveryListResultIterator = original.ArmDisasterRecoveryListResultIterator
type ArmDisasterRecoveryListResultPage = original.ArmDisasterRecoveryListResultPage
type ArmDisasterRecoveryProperties = original.ArmDisasterRecoveryProperties
type AuthorizationRule = original.AuthorizationRule
type AuthorizationRuleListResult = original.AuthorizationRuleListResult
type AuthorizationRuleListResultIterator = original.AuthorizationRuleListResultIterator
type AuthorizationRuleListResultPage = original.AuthorizationRuleListResultPage
type AuthorizationRuleProperties = original.AuthorizationRuleProperties
type CaptureDescription = original.CaptureDescription
type CheckNameAvailabilityParameter = original.CheckNameAvailabilityParameter
type CheckNameAvailabilityResult = original.CheckNameAvailabilityResult
type ConsumerGroup = original.ConsumerGroup
type ConsumerGroupListResult = original.ConsumerGroupListResult
type ConsumerGroupListResultIterator = original.ConsumerGroupListResultIterator
type ConsumerGroupListResultPage = original.ConsumerGroupListResultPage
type ConsumerGroupProperties = original.ConsumerGroupProperties
type Destination = original.Destination
type DestinationProperties = original.DestinationProperties
type EHNamespace = original.EHNamespace
type EHNamespaceListResult = original.EHNamespaceListResult
type EHNamespaceListResultIterator = original.EHNamespaceListResultIterator
type EHNamespaceListResultPage = original.EHNamespaceListResultPage
type EHNamespaceProperties = original.EHNamespaceProperties
type ErrorResponse = original.ErrorResponse
type ListResult = original.ListResult
type ListResultIterator = original.ListResultIterator
type ListResultPage = original.ListResultPage
type MessagingPlan = original.MessagingPlan
type MessagingPlanProperties = original.MessagingPlanProperties
type MessagingRegions = original.MessagingRegions
type MessagingRegionsListResult = original.MessagingRegionsListResult
type MessagingRegionsListResultIterator = original.MessagingRegionsListResultIterator
type MessagingRegionsListResultPage = original.MessagingRegionsListResultPage
type MessagingRegionsProperties = original.MessagingRegionsProperties
type Model = original.Model
type NamespacesCreateOrUpdateFuture = original.NamespacesCreateOrUpdateFuture
type NamespacesDeleteFuture = original.NamespacesDeleteFuture
type Operation = original.Operation
type OperationDisplay = original.OperationDisplay
type OperationListResult = original.OperationListResult
type OperationListResultIterator = original.OperationListResultIterator
type OperationListResultPage = original.OperationListResultPage
type Properties = original.Properties
type RegenerateAccessKeyParameters = original.RegenerateAccessKeyParameters
type Resource = original.Resource
type Sku = original.Sku
type TrackedResource = original.TrackedResource
type NamespacesClient = original.NamespacesClient
type OperationsClient = original.OperationsClient
type RegionsClient = original.RegionsClient
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func NewConsumerGroupsClient(subscriptionID string) ConsumerGroupsClient {
return original.NewConsumerGroupsClient(subscriptionID)
}
func NewConsumerGroupsClientWithBaseURI(baseURI string, subscriptionID string) ConsumerGroupsClient {
return original.NewConsumerGroupsClientWithBaseURI(baseURI, subscriptionID)
}
func NewDisasterRecoveryConfigsClient(subscriptionID string) DisasterRecoveryConfigsClient {
return original.NewDisasterRecoveryConfigsClient(subscriptionID)
}
func NewDisasterRecoveryConfigsClientWithBaseURI(baseURI string, subscriptionID string) DisasterRecoveryConfigsClient {
return original.NewDisasterRecoveryConfigsClientWithBaseURI(baseURI, subscriptionID)
}
func NewEventHubsClient(subscriptionID string) EventHubsClient {
return original.NewEventHubsClient(subscriptionID)
}
func NewEventHubsClientWithBaseURI(baseURI string, subscriptionID string) EventHubsClient {
return original.NewEventHubsClientWithBaseURI(baseURI, subscriptionID)
}
func PossibleAccessRightsValues() []AccessRights {
return original.PossibleAccessRightsValues()
}
func PossibleEncodingCaptureDescriptionValues() []EncodingCaptureDescription {
return original.PossibleEncodingCaptureDescriptionValues()
}
func PossibleEntityStatusValues() []EntityStatus {
return original.PossibleEntityStatusValues()
}
func PossibleKeyTypeValues() []KeyType {
return original.PossibleKeyTypeValues()
}
func PossibleProvisioningStateDRValues() []ProvisioningStateDR {
return original.PossibleProvisioningStateDRValues()
}
func PossibleRoleDisasterRecoveryValues() []RoleDisasterRecovery {
return original.PossibleRoleDisasterRecoveryValues()
}
func PossibleSkuNameValues() []SkuName {
return original.PossibleSkuNameValues()
}
func PossibleSkuTierValues() []SkuTier {
return original.PossibleSkuTierValues()
}
func PossibleUnavailableReasonValues() []UnavailableReason {
return original.PossibleUnavailableReasonValues()
}
func NewNamespacesClient(subscriptionID string) NamespacesClient {
return original.NewNamespacesClient(subscriptionID)
}
func NewNamespacesClientWithBaseURI(baseURI string, subscriptionID string) NamespacesClient {
return original.NewNamespacesClientWithBaseURI(baseURI, subscriptionID)
}
func NewOperationsClient(subscriptionID string) OperationsClient {
return original.NewOperationsClient(subscriptionID)
}
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewRegionsClient(subscriptionID string) RegionsClient {
return original.NewRegionsClient(subscriptionID)
}
func NewRegionsClientWithBaseURI(baseURI string, subscriptionID string) RegionsClient {
return original.NewRegionsClientWithBaseURI(baseURI, subscriptionID)
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}

View File

@@ -1,17 +0,0 @@
// 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 latest
//go:generate go run ../../tools/profileBuilder/main.go list --clear-output --name latest --input ./stableApis.txt --verbose

View File

@@ -1,161 +0,0 @@
// +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 graphrbac
import original "github.com/Azure/azure-sdk-for-go/services/graphrbac/1.6/graphrbac"
type ApplicationsClient = original.ApplicationsClient
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type DomainsClient = original.DomainsClient
type GroupsClient = original.GroupsClient
type ObjectType = original.ObjectType
const (
ObjectTypeApplication ObjectType = original.ObjectTypeApplication
ObjectTypeDirectoryObject ObjectType = original.ObjectTypeDirectoryObject
ObjectTypeGroup ObjectType = original.ObjectTypeGroup
ObjectTypeServicePrincipal ObjectType = original.ObjectTypeServicePrincipal
ObjectTypeUser ObjectType = original.ObjectTypeUser
)
type UserType = original.UserType
const (
Guest UserType = original.Guest
Member UserType = original.Member
)
type AADObject = original.AADObject
type ADGroup = original.ADGroup
type Application = original.Application
type ApplicationAddOwnerParameters = original.ApplicationAddOwnerParameters
type ApplicationCreateParameters = original.ApplicationCreateParameters
type ApplicationListResult = original.ApplicationListResult
type ApplicationListResultIterator = original.ApplicationListResultIterator
type ApplicationListResultPage = original.ApplicationListResultPage
type ApplicationUpdateParameters = original.ApplicationUpdateParameters
type CheckGroupMembershipParameters = original.CheckGroupMembershipParameters
type CheckGroupMembershipResult = original.CheckGroupMembershipResult
type BasicDirectoryObject = original.BasicDirectoryObject
type DirectoryObject = original.DirectoryObject
type DirectoryObjectListResult = original.DirectoryObjectListResult
type Domain = original.Domain
type DomainListResult = original.DomainListResult
type ErrorMessage = original.ErrorMessage
type GetObjectsParameters = original.GetObjectsParameters
type GetObjectsResult = original.GetObjectsResult
type GetObjectsResultIterator = original.GetObjectsResultIterator
type GetObjectsResultPage = original.GetObjectsResultPage
type GraphError = original.GraphError
type GroupAddMemberParameters = original.GroupAddMemberParameters
type GroupCreateParameters = original.GroupCreateParameters
type GroupGetMemberGroupsParameters = original.GroupGetMemberGroupsParameters
type GroupGetMemberGroupsResult = original.GroupGetMemberGroupsResult
type GroupListResult = original.GroupListResult
type GroupListResultIterator = original.GroupListResultIterator
type GroupListResultPage = original.GroupListResultPage
type KeyCredential = original.KeyCredential
type KeyCredentialListResult = original.KeyCredentialListResult
type KeyCredentialsUpdateParameters = original.KeyCredentialsUpdateParameters
type OdataError = original.OdataError
type PasswordCredential = original.PasswordCredential
type PasswordCredentialListResult = original.PasswordCredentialListResult
type PasswordCredentialsUpdateParameters = original.PasswordCredentialsUpdateParameters
type PasswordProfile = original.PasswordProfile
type RequiredResourceAccess = original.RequiredResourceAccess
type ResourceAccess = original.ResourceAccess
type ServicePrincipal = original.ServicePrincipal
type ServicePrincipalCreateParameters = original.ServicePrincipalCreateParameters
type ServicePrincipalListResult = original.ServicePrincipalListResult
type ServicePrincipalListResultIterator = original.ServicePrincipalListResultIterator
type ServicePrincipalListResultPage = original.ServicePrincipalListResultPage
type SignInName = original.SignInName
type User = original.User
type UserBase = original.UserBase
type UserCreateParameters = original.UserCreateParameters
type UserGetMemberGroupsParameters = original.UserGetMemberGroupsParameters
type UserGetMemberGroupsResult = original.UserGetMemberGroupsResult
type UserListResult = original.UserListResult
type UserListResultIterator = original.UserListResultIterator
type UserListResultPage = original.UserListResultPage
type UserUpdateParameters = original.UserUpdateParameters
type ObjectsClient = original.ObjectsClient
type ServicePrincipalsClient = original.ServicePrincipalsClient
type UsersClient = original.UsersClient
func NewApplicationsClient(tenantID string) ApplicationsClient {
return original.NewApplicationsClient(tenantID)
}
func NewApplicationsClientWithBaseURI(baseURI string, tenantID string) ApplicationsClient {
return original.NewApplicationsClientWithBaseURI(baseURI, tenantID)
}
func New(tenantID string) BaseClient {
return original.New(tenantID)
}
func NewWithBaseURI(baseURI string, tenantID string) BaseClient {
return original.NewWithBaseURI(baseURI, tenantID)
}
func NewDomainsClient(tenantID string) DomainsClient {
return original.NewDomainsClient(tenantID)
}
func NewDomainsClientWithBaseURI(baseURI string, tenantID string) DomainsClient {
return original.NewDomainsClientWithBaseURI(baseURI, tenantID)
}
func NewGroupsClient(tenantID string) GroupsClient {
return original.NewGroupsClient(tenantID)
}
func NewGroupsClientWithBaseURI(baseURI string, tenantID string) GroupsClient {
return original.NewGroupsClientWithBaseURI(baseURI, tenantID)
}
func PossibleObjectTypeValues() []ObjectType {
return original.PossibleObjectTypeValues()
}
func PossibleUserTypeValues() []UserType {
return original.PossibleUserTypeValues()
}
func NewObjectsClient(tenantID string) ObjectsClient {
return original.NewObjectsClient(tenantID)
}
func NewObjectsClientWithBaseURI(baseURI string, tenantID string) ObjectsClient {
return original.NewObjectsClientWithBaseURI(baseURI, tenantID)
}
func NewServicePrincipalsClient(tenantID string) ServicePrincipalsClient {
return original.NewServicePrincipalsClient(tenantID)
}
func NewServicePrincipalsClientWithBaseURI(baseURI string, tenantID string) ServicePrincipalsClient {
return original.NewServicePrincipalsClientWithBaseURI(baseURI, tenantID)
}
func NewUsersClient(tenantID string) UsersClient {
return original.NewUsersClient(tenantID)
}
func NewUsersClientWithBaseURI(baseURI string, tenantID string) UsersClient {
return original.NewUsersClientWithBaseURI(baseURI, tenantID)
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}

View File

@@ -1,269 +0,0 @@
// +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 devices
import original "github.com/Azure/azure-sdk-for-go/services/iothub/mgmt/2017-07-01/devices"
type CertificatesClient = original.CertificatesClient
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type IotHubResourceClient = original.IotHubResourceClient
type AccessRights = original.AccessRights
const (
DeviceConnect AccessRights = original.DeviceConnect
RegistryRead AccessRights = original.RegistryRead
RegistryReadDeviceConnect AccessRights = original.RegistryReadDeviceConnect
RegistryReadRegistryWrite AccessRights = original.RegistryReadRegistryWrite
RegistryReadRegistryWriteDeviceConnect AccessRights = original.RegistryReadRegistryWriteDeviceConnect
RegistryReadRegistryWriteServiceConnect AccessRights = original.RegistryReadRegistryWriteServiceConnect
RegistryReadRegistryWriteServiceConnectDeviceConnect AccessRights = original.RegistryReadRegistryWriteServiceConnectDeviceConnect
RegistryReadServiceConnect AccessRights = original.RegistryReadServiceConnect
RegistryReadServiceConnectDeviceConnect AccessRights = original.RegistryReadServiceConnectDeviceConnect
RegistryWrite AccessRights = original.RegistryWrite
RegistryWriteDeviceConnect AccessRights = original.RegistryWriteDeviceConnect
RegistryWriteServiceConnect AccessRights = original.RegistryWriteServiceConnect
RegistryWriteServiceConnectDeviceConnect AccessRights = original.RegistryWriteServiceConnectDeviceConnect
ServiceConnect AccessRights = original.ServiceConnect
ServiceConnectDeviceConnect AccessRights = original.ServiceConnectDeviceConnect
)
type Capabilities = original.Capabilities
const (
DeviceManagement Capabilities = original.DeviceManagement
None Capabilities = original.None
)
type IotHubNameUnavailabilityReason = original.IotHubNameUnavailabilityReason
const (
AlreadyExists IotHubNameUnavailabilityReason = original.AlreadyExists
Invalid IotHubNameUnavailabilityReason = original.Invalid
)
type IotHubScaleType = original.IotHubScaleType
const (
IotHubScaleTypeAutomatic IotHubScaleType = original.IotHubScaleTypeAutomatic
IotHubScaleTypeManual IotHubScaleType = original.IotHubScaleTypeManual
IotHubScaleTypeNone IotHubScaleType = original.IotHubScaleTypeNone
)
type IotHubSku = original.IotHubSku
const (
F1 IotHubSku = original.F1
S1 IotHubSku = original.S1
S2 IotHubSku = original.S2
S3 IotHubSku = original.S3
)
type IotHubSkuTier = original.IotHubSkuTier
const (
Free IotHubSkuTier = original.Free
Standard IotHubSkuTier = original.Standard
)
type IPFilterActionType = original.IPFilterActionType
const (
Accept IPFilterActionType = original.Accept
Reject IPFilterActionType = original.Reject
)
type JobStatus = original.JobStatus
const (
Cancelled JobStatus = original.Cancelled
Completed JobStatus = original.Completed
Enqueued JobStatus = original.Enqueued
Failed JobStatus = original.Failed
Running JobStatus = original.Running
Unknown JobStatus = original.Unknown
)
type JobType = original.JobType
const (
JobTypeBackup JobType = original.JobTypeBackup
JobTypeExport JobType = original.JobTypeExport
JobTypeFactoryResetDevice JobType = original.JobTypeFactoryResetDevice
JobTypeFirmwareUpdate JobType = original.JobTypeFirmwareUpdate
JobTypeImport JobType = original.JobTypeImport
JobTypeReadDeviceProperties JobType = original.JobTypeReadDeviceProperties
JobTypeRebootDevice JobType = original.JobTypeRebootDevice
JobTypeUnknown JobType = original.JobTypeUnknown
JobTypeUpdateDeviceConfiguration JobType = original.JobTypeUpdateDeviceConfiguration
JobTypeWriteDeviceProperties JobType = original.JobTypeWriteDeviceProperties
)
type OperationMonitoringLevel = original.OperationMonitoringLevel
const (
OperationMonitoringLevelError OperationMonitoringLevel = original.OperationMonitoringLevelError
OperationMonitoringLevelErrorInformation OperationMonitoringLevel = original.OperationMonitoringLevelErrorInformation
OperationMonitoringLevelInformation OperationMonitoringLevel = original.OperationMonitoringLevelInformation
OperationMonitoringLevelNone OperationMonitoringLevel = original.OperationMonitoringLevelNone
)
type RoutingSource = original.RoutingSource
const (
DeviceJobLifecycleEvents RoutingSource = original.DeviceJobLifecycleEvents
DeviceLifecycleEvents RoutingSource = original.DeviceLifecycleEvents
DeviceMessages RoutingSource = original.DeviceMessages
TwinChangeEvents RoutingSource = original.TwinChangeEvents
)
type CertificateBodyDescription = original.CertificateBodyDescription
type CertificateDescription = original.CertificateDescription
type CertificateListDescription = original.CertificateListDescription
type CertificateProperties = original.CertificateProperties
type CertificatePropertiesWithNonce = original.CertificatePropertiesWithNonce
type CertificateVerificationDescription = original.CertificateVerificationDescription
type CertificateWithNonceDescription = original.CertificateWithNonceDescription
type CloudToDeviceProperties = original.CloudToDeviceProperties
type ErrorDetails = original.ErrorDetails
type EventHubConsumerGroupInfo = original.EventHubConsumerGroupInfo
type EventHubConsumerGroupsListResult = original.EventHubConsumerGroupsListResult
type EventHubConsumerGroupsListResultIterator = original.EventHubConsumerGroupsListResultIterator
type EventHubConsumerGroupsListResultPage = original.EventHubConsumerGroupsListResultPage
type EventHubProperties = original.EventHubProperties
type ExportDevicesRequest = original.ExportDevicesRequest
type FallbackRouteProperties = original.FallbackRouteProperties
type FeedbackProperties = original.FeedbackProperties
type ImportDevicesRequest = original.ImportDevicesRequest
type IotHubCapacity = original.IotHubCapacity
type IotHubDescription = original.IotHubDescription
type IotHubDescriptionListResult = original.IotHubDescriptionListResult
type IotHubDescriptionListResultIterator = original.IotHubDescriptionListResultIterator
type IotHubDescriptionListResultPage = original.IotHubDescriptionListResultPage
type IotHubNameAvailabilityInfo = original.IotHubNameAvailabilityInfo
type IotHubProperties = original.IotHubProperties
type IotHubQuotaMetricInfo = original.IotHubQuotaMetricInfo
type IotHubQuotaMetricInfoListResult = original.IotHubQuotaMetricInfoListResult
type IotHubQuotaMetricInfoListResultIterator = original.IotHubQuotaMetricInfoListResultIterator
type IotHubQuotaMetricInfoListResultPage = original.IotHubQuotaMetricInfoListResultPage
type IotHubResourceCreateOrUpdateFuture = original.IotHubResourceCreateOrUpdateFuture
type IotHubResourceDeleteFuture = original.IotHubResourceDeleteFuture
type IotHubSkuDescription = original.IotHubSkuDescription
type IotHubSkuDescriptionListResult = original.IotHubSkuDescriptionListResult
type IotHubSkuDescriptionListResultIterator = original.IotHubSkuDescriptionListResultIterator
type IotHubSkuDescriptionListResultPage = original.IotHubSkuDescriptionListResultPage
type IotHubSkuInfo = original.IotHubSkuInfo
type IPFilterRule = original.IPFilterRule
type JobResponse = original.JobResponse
type JobResponseListResult = original.JobResponseListResult
type JobResponseListResultIterator = original.JobResponseListResultIterator
type JobResponseListResultPage = original.JobResponseListResultPage
type MessagingEndpointProperties = original.MessagingEndpointProperties
type Operation = original.Operation
type OperationDisplay = original.OperationDisplay
type OperationInputs = original.OperationInputs
type OperationListResult = original.OperationListResult
type OperationListResultIterator = original.OperationListResultIterator
type OperationListResultPage = original.OperationListResultPage
type OperationsMonitoringProperties = original.OperationsMonitoringProperties
type RegistryStatistics = original.RegistryStatistics
type Resource = original.Resource
type RouteProperties = original.RouteProperties
type RoutingEndpoints = original.RoutingEndpoints
type RoutingEventHubProperties = original.RoutingEventHubProperties
type RoutingProperties = original.RoutingProperties
type RoutingServiceBusQueueEndpointProperties = original.RoutingServiceBusQueueEndpointProperties
type RoutingServiceBusTopicEndpointProperties = original.RoutingServiceBusTopicEndpointProperties
type RoutingStorageContainerProperties = original.RoutingStorageContainerProperties
type SetObject = original.SetObject
type SharedAccessSignatureAuthorizationRule = original.SharedAccessSignatureAuthorizationRule
type SharedAccessSignatureAuthorizationRuleListResult = original.SharedAccessSignatureAuthorizationRuleListResult
type SharedAccessSignatureAuthorizationRuleListResultIterator = original.SharedAccessSignatureAuthorizationRuleListResultIterator
type SharedAccessSignatureAuthorizationRuleListResultPage = original.SharedAccessSignatureAuthorizationRuleListResultPage
type StorageEndpointProperties = original.StorageEndpointProperties
type OperationsClient = original.OperationsClient
func NewCertificatesClient(subscriptionID string) CertificatesClient {
return original.NewCertificatesClient(subscriptionID)
}
func NewCertificatesClientWithBaseURI(baseURI string, subscriptionID string) CertificatesClient {
return original.NewCertificatesClientWithBaseURI(baseURI, subscriptionID)
}
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func NewIotHubResourceClient(subscriptionID string) IotHubResourceClient {
return original.NewIotHubResourceClient(subscriptionID)
}
func NewIotHubResourceClientWithBaseURI(baseURI string, subscriptionID string) IotHubResourceClient {
return original.NewIotHubResourceClientWithBaseURI(baseURI, subscriptionID)
}
func PossibleAccessRightsValues() []AccessRights {
return original.PossibleAccessRightsValues()
}
func PossibleCapabilitiesValues() []Capabilities {
return original.PossibleCapabilitiesValues()
}
func PossibleIotHubNameUnavailabilityReasonValues() []IotHubNameUnavailabilityReason {
return original.PossibleIotHubNameUnavailabilityReasonValues()
}
func PossibleIotHubScaleTypeValues() []IotHubScaleType {
return original.PossibleIotHubScaleTypeValues()
}
func PossibleIotHubSkuValues() []IotHubSku {
return original.PossibleIotHubSkuValues()
}
func PossibleIotHubSkuTierValues() []IotHubSkuTier {
return original.PossibleIotHubSkuTierValues()
}
func PossibleIPFilterActionTypeValues() []IPFilterActionType {
return original.PossibleIPFilterActionTypeValues()
}
func PossibleJobStatusValues() []JobStatus {
return original.PossibleJobStatusValues()
}
func PossibleJobTypeValues() []JobType {
return original.PossibleJobTypeValues()
}
func PossibleOperationMonitoringLevelValues() []OperationMonitoringLevel {
return original.PossibleOperationMonitoringLevelValues()
}
func PossibleRoutingSourceValues() []RoutingSource {
return original.PossibleRoutingSourceValues()
}
func NewOperationsClient(subscriptionID string) OperationsClient {
return original.NewOperationsClient(subscriptionID)
}
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}

View File

@@ -1,242 +0,0 @@
// +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 original "github.com/Azure/azure-sdk-for-go/services/keyvault/2016-10-01/keyvault"
type BaseClient = original.BaseClient
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 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 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/latest"
}
func Version() string {
return original.Version()
}

View File

@@ -1,213 +0,0 @@
// +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 original "github.com/Azure/azure-sdk-for-go/services/keyvault/mgmt/2016-10-01/keyvault"
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
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 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 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 VaultsPurgeDeletedFuture = original.VaultsPurgeDeletedFuture
type OperationsClient = original.OperationsClient
type VaultsClient = original.VaultsClient
func New(subscriptionID string) BaseClient {
return original.New(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 NewOperationsClient(subscriptionID string) OperationsClient {
return original.NewOperationsClient(subscriptionID)
}
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewVaultsClient(subscriptionID string) VaultsClient {
return original.NewVaultsClient(subscriptionID)
}
func NewVaultsClientWithBaseURI(baseURI string, subscriptionID string) VaultsClient {
return original.NewVaultsClientWithBaseURI(baseURI, subscriptionID)
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}

View File

@@ -1,799 +0,0 @@
// +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 logic
import original "github.com/Azure/azure-sdk-for-go/services/logic/mgmt/2016-06-01/logic"
type AgreementsClient = original.AgreementsClient
type CertificatesClient = original.CertificatesClient
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type IntegrationAccountAssembliesClient = original.IntegrationAccountAssembliesClient
type IntegrationAccountBatchConfigurationsClient = original.IntegrationAccountBatchConfigurationsClient
type IntegrationAccountsClient = original.IntegrationAccountsClient
type MapsClient = original.MapsClient
type AccessKeyType = original.AccessKeyType
const (
NotSpecified AccessKeyType = original.NotSpecified
Primary AccessKeyType = original.Primary
Secondary AccessKeyType = original.Secondary
)
type AgreementType = original.AgreementType
const (
AgreementTypeAS2 AgreementType = original.AgreementTypeAS2
AgreementTypeEdifact AgreementType = original.AgreementTypeEdifact
AgreementTypeNotSpecified AgreementType = original.AgreementTypeNotSpecified
AgreementTypeX12 AgreementType = original.AgreementTypeX12
)
type DayOfWeek = original.DayOfWeek
const (
Friday DayOfWeek = original.Friday
Monday DayOfWeek = original.Monday
Saturday DayOfWeek = original.Saturday
Sunday DayOfWeek = original.Sunday
Thursday DayOfWeek = original.Thursday
Tuesday DayOfWeek = original.Tuesday
Wednesday DayOfWeek = original.Wednesday
)
type DaysOfWeek = original.DaysOfWeek
const (
DaysOfWeekFriday DaysOfWeek = original.DaysOfWeekFriday
DaysOfWeekMonday DaysOfWeek = original.DaysOfWeekMonday
DaysOfWeekSaturday DaysOfWeek = original.DaysOfWeekSaturday
DaysOfWeekSunday DaysOfWeek = original.DaysOfWeekSunday
DaysOfWeekThursday DaysOfWeek = original.DaysOfWeekThursday
DaysOfWeekTuesday DaysOfWeek = original.DaysOfWeekTuesday
DaysOfWeekWednesday DaysOfWeek = original.DaysOfWeekWednesday
)
type EdifactCharacterSet = original.EdifactCharacterSet
const (
EdifactCharacterSetKECA EdifactCharacterSet = original.EdifactCharacterSetKECA
EdifactCharacterSetNotSpecified EdifactCharacterSet = original.EdifactCharacterSetNotSpecified
EdifactCharacterSetUNOA EdifactCharacterSet = original.EdifactCharacterSetUNOA
EdifactCharacterSetUNOB EdifactCharacterSet = original.EdifactCharacterSetUNOB
EdifactCharacterSetUNOC EdifactCharacterSet = original.EdifactCharacterSetUNOC
EdifactCharacterSetUNOD EdifactCharacterSet = original.EdifactCharacterSetUNOD
EdifactCharacterSetUNOE EdifactCharacterSet = original.EdifactCharacterSetUNOE
EdifactCharacterSetUNOF EdifactCharacterSet = original.EdifactCharacterSetUNOF
EdifactCharacterSetUNOG EdifactCharacterSet = original.EdifactCharacterSetUNOG
EdifactCharacterSetUNOH EdifactCharacterSet = original.EdifactCharacterSetUNOH
EdifactCharacterSetUNOI EdifactCharacterSet = original.EdifactCharacterSetUNOI
EdifactCharacterSetUNOJ EdifactCharacterSet = original.EdifactCharacterSetUNOJ
EdifactCharacterSetUNOK EdifactCharacterSet = original.EdifactCharacterSetUNOK
EdifactCharacterSetUNOX EdifactCharacterSet = original.EdifactCharacterSetUNOX
EdifactCharacterSetUNOY EdifactCharacterSet = original.EdifactCharacterSetUNOY
)
type EdifactDecimalIndicator = original.EdifactDecimalIndicator
const (
EdifactDecimalIndicatorComma EdifactDecimalIndicator = original.EdifactDecimalIndicatorComma
EdifactDecimalIndicatorDecimal EdifactDecimalIndicator = original.EdifactDecimalIndicatorDecimal
EdifactDecimalIndicatorNotSpecified EdifactDecimalIndicator = original.EdifactDecimalIndicatorNotSpecified
)
type EncryptionAlgorithm = original.EncryptionAlgorithm
const (
EncryptionAlgorithmAES128 EncryptionAlgorithm = original.EncryptionAlgorithmAES128
EncryptionAlgorithmAES192 EncryptionAlgorithm = original.EncryptionAlgorithmAES192
EncryptionAlgorithmAES256 EncryptionAlgorithm = original.EncryptionAlgorithmAES256
EncryptionAlgorithmDES3 EncryptionAlgorithm = original.EncryptionAlgorithmDES3
EncryptionAlgorithmNone EncryptionAlgorithm = original.EncryptionAlgorithmNone
EncryptionAlgorithmNotSpecified EncryptionAlgorithm = original.EncryptionAlgorithmNotSpecified
EncryptionAlgorithmRC2 EncryptionAlgorithm = original.EncryptionAlgorithmRC2
)
type EventLevel = original.EventLevel
const (
Critical EventLevel = original.Critical
Error EventLevel = original.Error
Informational EventLevel = original.Informational
LogAlways EventLevel = original.LogAlways
Verbose EventLevel = original.Verbose
Warning EventLevel = original.Warning
)
type HashingAlgorithm = original.HashingAlgorithm
const (
HashingAlgorithmMD5 HashingAlgorithm = original.HashingAlgorithmMD5
HashingAlgorithmNone HashingAlgorithm = original.HashingAlgorithmNone
HashingAlgorithmNotSpecified HashingAlgorithm = original.HashingAlgorithmNotSpecified
HashingAlgorithmSHA1 HashingAlgorithm = original.HashingAlgorithmSHA1
HashingAlgorithmSHA2256 HashingAlgorithm = original.HashingAlgorithmSHA2256
HashingAlgorithmSHA2384 HashingAlgorithm = original.HashingAlgorithmSHA2384
HashingAlgorithmSHA2512 HashingAlgorithm = original.HashingAlgorithmSHA2512
)
type IntegrationAccountSkuName = original.IntegrationAccountSkuName
const (
IntegrationAccountSkuNameFree IntegrationAccountSkuName = original.IntegrationAccountSkuNameFree
IntegrationAccountSkuNameNotSpecified IntegrationAccountSkuName = original.IntegrationAccountSkuNameNotSpecified
IntegrationAccountSkuNameStandard IntegrationAccountSkuName = original.IntegrationAccountSkuNameStandard
)
type KeyType = original.KeyType
const (
KeyTypeNotSpecified KeyType = original.KeyTypeNotSpecified
KeyTypePrimary KeyType = original.KeyTypePrimary
KeyTypeSecondary KeyType = original.KeyTypeSecondary
)
type MapType = original.MapType
const (
MapTypeNotSpecified MapType = original.MapTypeNotSpecified
MapTypeXslt MapType = original.MapTypeXslt
)
type MessageFilterType = original.MessageFilterType
const (
MessageFilterTypeExclude MessageFilterType = original.MessageFilterTypeExclude
MessageFilterTypeInclude MessageFilterType = original.MessageFilterTypeInclude
MessageFilterTypeNotSpecified MessageFilterType = original.MessageFilterTypeNotSpecified
)
type ParameterType = original.ParameterType
const (
ParameterTypeArray ParameterType = original.ParameterTypeArray
ParameterTypeBool ParameterType = original.ParameterTypeBool
ParameterTypeFloat ParameterType = original.ParameterTypeFloat
ParameterTypeInt ParameterType = original.ParameterTypeInt
ParameterTypeNotSpecified ParameterType = original.ParameterTypeNotSpecified
ParameterTypeObject ParameterType = original.ParameterTypeObject
ParameterTypeSecureObject ParameterType = original.ParameterTypeSecureObject
ParameterTypeSecureString ParameterType = original.ParameterTypeSecureString
ParameterTypeString ParameterType = original.ParameterTypeString
)
type PartnerType = original.PartnerType
const (
PartnerTypeB2B PartnerType = original.PartnerTypeB2B
PartnerTypeNotSpecified PartnerType = original.PartnerTypeNotSpecified
)
type RecurrenceFrequency = original.RecurrenceFrequency
const (
RecurrenceFrequencyDay RecurrenceFrequency = original.RecurrenceFrequencyDay
RecurrenceFrequencyHour RecurrenceFrequency = original.RecurrenceFrequencyHour
RecurrenceFrequencyMinute RecurrenceFrequency = original.RecurrenceFrequencyMinute
RecurrenceFrequencyMonth RecurrenceFrequency = original.RecurrenceFrequencyMonth
RecurrenceFrequencyNotSpecified RecurrenceFrequency = original.RecurrenceFrequencyNotSpecified
RecurrenceFrequencySecond RecurrenceFrequency = original.RecurrenceFrequencySecond
RecurrenceFrequencyWeek RecurrenceFrequency = original.RecurrenceFrequencyWeek
RecurrenceFrequencyYear RecurrenceFrequency = original.RecurrenceFrequencyYear
)
type SchemaType = original.SchemaType
const (
SchemaTypeNotSpecified SchemaType = original.SchemaTypeNotSpecified
SchemaTypeXML SchemaType = original.SchemaTypeXML
)
type SegmentTerminatorSuffix = original.SegmentTerminatorSuffix
const (
SegmentTerminatorSuffixCR SegmentTerminatorSuffix = original.SegmentTerminatorSuffixCR
SegmentTerminatorSuffixCRLF SegmentTerminatorSuffix = original.SegmentTerminatorSuffixCRLF
SegmentTerminatorSuffixLF SegmentTerminatorSuffix = original.SegmentTerminatorSuffixLF
SegmentTerminatorSuffixNone SegmentTerminatorSuffix = original.SegmentTerminatorSuffixNone
SegmentTerminatorSuffixNotSpecified SegmentTerminatorSuffix = original.SegmentTerminatorSuffixNotSpecified
)
type SigningAlgorithm = original.SigningAlgorithm
const (
SigningAlgorithmDefault SigningAlgorithm = original.SigningAlgorithmDefault
SigningAlgorithmNotSpecified SigningAlgorithm = original.SigningAlgorithmNotSpecified
SigningAlgorithmSHA1 SigningAlgorithm = original.SigningAlgorithmSHA1
SigningAlgorithmSHA2256 SigningAlgorithm = original.SigningAlgorithmSHA2256
SigningAlgorithmSHA2384 SigningAlgorithm = original.SigningAlgorithmSHA2384
SigningAlgorithmSHA2512 SigningAlgorithm = original.SigningAlgorithmSHA2512
)
type SkuName = original.SkuName
const (
SkuNameBasic SkuName = original.SkuNameBasic
SkuNameFree SkuName = original.SkuNameFree
SkuNameNotSpecified SkuName = original.SkuNameNotSpecified
SkuNamePremium SkuName = original.SkuNamePremium
SkuNameShared SkuName = original.SkuNameShared
SkuNameStandard SkuName = original.SkuNameStandard
)
type TrackEventsOperationOptions = original.TrackEventsOperationOptions
const (
DisableSourceInfoEnrich TrackEventsOperationOptions = original.DisableSourceInfoEnrich
None TrackEventsOperationOptions = original.None
)
type TrackingRecordType = original.TrackingRecordType
const (
TrackingRecordTypeAS2MDN TrackingRecordType = original.TrackingRecordTypeAS2MDN
TrackingRecordTypeAS2Message TrackingRecordType = original.TrackingRecordTypeAS2Message
TrackingRecordTypeCustom TrackingRecordType = original.TrackingRecordTypeCustom
TrackingRecordTypeEdifactFunctionalGroup TrackingRecordType = original.TrackingRecordTypeEdifactFunctionalGroup
TrackingRecordTypeEdifactFunctionalGroupAcknowledgment TrackingRecordType = original.TrackingRecordTypeEdifactFunctionalGroupAcknowledgment
TrackingRecordTypeEdifactInterchange TrackingRecordType = original.TrackingRecordTypeEdifactInterchange
TrackingRecordTypeEdifactInterchangeAcknowledgment TrackingRecordType = original.TrackingRecordTypeEdifactInterchangeAcknowledgment
TrackingRecordTypeEdifactTransactionSet TrackingRecordType = original.TrackingRecordTypeEdifactTransactionSet
TrackingRecordTypeEdifactTransactionSetAcknowledgment TrackingRecordType = original.TrackingRecordTypeEdifactTransactionSetAcknowledgment
TrackingRecordTypeNotSpecified TrackingRecordType = original.TrackingRecordTypeNotSpecified
TrackingRecordTypeX12FunctionalGroup TrackingRecordType = original.TrackingRecordTypeX12FunctionalGroup
TrackingRecordTypeX12FunctionalGroupAcknowledgment TrackingRecordType = original.TrackingRecordTypeX12FunctionalGroupAcknowledgment
TrackingRecordTypeX12Interchange TrackingRecordType = original.TrackingRecordTypeX12Interchange
TrackingRecordTypeX12InterchangeAcknowledgment TrackingRecordType = original.TrackingRecordTypeX12InterchangeAcknowledgment
TrackingRecordTypeX12TransactionSet TrackingRecordType = original.TrackingRecordTypeX12TransactionSet
TrackingRecordTypeX12TransactionSetAcknowledgment TrackingRecordType = original.TrackingRecordTypeX12TransactionSetAcknowledgment
)
type TrailingSeparatorPolicy = original.TrailingSeparatorPolicy
const (
TrailingSeparatorPolicyMandatory TrailingSeparatorPolicy = original.TrailingSeparatorPolicyMandatory
TrailingSeparatorPolicyNotAllowed TrailingSeparatorPolicy = original.TrailingSeparatorPolicyNotAllowed
TrailingSeparatorPolicyNotSpecified TrailingSeparatorPolicy = original.TrailingSeparatorPolicyNotSpecified
TrailingSeparatorPolicyOptional TrailingSeparatorPolicy = original.TrailingSeparatorPolicyOptional
)
type UsageIndicator = original.UsageIndicator
const (
UsageIndicatorInformation UsageIndicator = original.UsageIndicatorInformation
UsageIndicatorNotSpecified UsageIndicator = original.UsageIndicatorNotSpecified
UsageIndicatorProduction UsageIndicator = original.UsageIndicatorProduction
UsageIndicatorTest UsageIndicator = original.UsageIndicatorTest
)
type WorkflowProvisioningState = original.WorkflowProvisioningState
const (
WorkflowProvisioningStateAccepted WorkflowProvisioningState = original.WorkflowProvisioningStateAccepted
WorkflowProvisioningStateCanceled WorkflowProvisioningState = original.WorkflowProvisioningStateCanceled
WorkflowProvisioningStateCompleted WorkflowProvisioningState = original.WorkflowProvisioningStateCompleted
WorkflowProvisioningStateCreated WorkflowProvisioningState = original.WorkflowProvisioningStateCreated
WorkflowProvisioningStateCreating WorkflowProvisioningState = original.WorkflowProvisioningStateCreating
WorkflowProvisioningStateDeleted WorkflowProvisioningState = original.WorkflowProvisioningStateDeleted
WorkflowProvisioningStateDeleting WorkflowProvisioningState = original.WorkflowProvisioningStateDeleting
WorkflowProvisioningStateFailed WorkflowProvisioningState = original.WorkflowProvisioningStateFailed
WorkflowProvisioningStateMoving WorkflowProvisioningState = original.WorkflowProvisioningStateMoving
WorkflowProvisioningStateNotSpecified WorkflowProvisioningState = original.WorkflowProvisioningStateNotSpecified
WorkflowProvisioningStateReady WorkflowProvisioningState = original.WorkflowProvisioningStateReady
WorkflowProvisioningStateRegistered WorkflowProvisioningState = original.WorkflowProvisioningStateRegistered
WorkflowProvisioningStateRegistering WorkflowProvisioningState = original.WorkflowProvisioningStateRegistering
WorkflowProvisioningStateRunning WorkflowProvisioningState = original.WorkflowProvisioningStateRunning
WorkflowProvisioningStateSucceeded WorkflowProvisioningState = original.WorkflowProvisioningStateSucceeded
WorkflowProvisioningStateUnregistered WorkflowProvisioningState = original.WorkflowProvisioningStateUnregistered
WorkflowProvisioningStateUnregistering WorkflowProvisioningState = original.WorkflowProvisioningStateUnregistering
WorkflowProvisioningStateUpdating WorkflowProvisioningState = original.WorkflowProvisioningStateUpdating
)
type WorkflowState = original.WorkflowState
const (
WorkflowStateCompleted WorkflowState = original.WorkflowStateCompleted
WorkflowStateDeleted WorkflowState = original.WorkflowStateDeleted
WorkflowStateDisabled WorkflowState = original.WorkflowStateDisabled
WorkflowStateEnabled WorkflowState = original.WorkflowStateEnabled
WorkflowStateNotSpecified WorkflowState = original.WorkflowStateNotSpecified
WorkflowStateSuspended WorkflowState = original.WorkflowStateSuspended
)
type WorkflowStatus = original.WorkflowStatus
const (
WorkflowStatusAborted WorkflowStatus = original.WorkflowStatusAborted
WorkflowStatusCancelled WorkflowStatus = original.WorkflowStatusCancelled
WorkflowStatusFailed WorkflowStatus = original.WorkflowStatusFailed
WorkflowStatusFaulted WorkflowStatus = original.WorkflowStatusFaulted
WorkflowStatusIgnored WorkflowStatus = original.WorkflowStatusIgnored
WorkflowStatusNotSpecified WorkflowStatus = original.WorkflowStatusNotSpecified
WorkflowStatusPaused WorkflowStatus = original.WorkflowStatusPaused
WorkflowStatusRunning WorkflowStatus = original.WorkflowStatusRunning
WorkflowStatusSkipped WorkflowStatus = original.WorkflowStatusSkipped
WorkflowStatusSucceeded WorkflowStatus = original.WorkflowStatusSucceeded
WorkflowStatusSuspended WorkflowStatus = original.WorkflowStatusSuspended
WorkflowStatusTimedOut WorkflowStatus = original.WorkflowStatusTimedOut
WorkflowStatusWaiting WorkflowStatus = original.WorkflowStatusWaiting
)
type WorkflowTriggerProvisioningState = original.WorkflowTriggerProvisioningState
const (
WorkflowTriggerProvisioningStateAccepted WorkflowTriggerProvisioningState = original.WorkflowTriggerProvisioningStateAccepted
WorkflowTriggerProvisioningStateCanceled WorkflowTriggerProvisioningState = original.WorkflowTriggerProvisioningStateCanceled
WorkflowTriggerProvisioningStateCompleted WorkflowTriggerProvisioningState = original.WorkflowTriggerProvisioningStateCompleted
WorkflowTriggerProvisioningStateCreated WorkflowTriggerProvisioningState = original.WorkflowTriggerProvisioningStateCreated
WorkflowTriggerProvisioningStateCreating WorkflowTriggerProvisioningState = original.WorkflowTriggerProvisioningStateCreating
WorkflowTriggerProvisioningStateDeleted WorkflowTriggerProvisioningState = original.WorkflowTriggerProvisioningStateDeleted
WorkflowTriggerProvisioningStateDeleting WorkflowTriggerProvisioningState = original.WorkflowTriggerProvisioningStateDeleting
WorkflowTriggerProvisioningStateFailed WorkflowTriggerProvisioningState = original.WorkflowTriggerProvisioningStateFailed
WorkflowTriggerProvisioningStateMoving WorkflowTriggerProvisioningState = original.WorkflowTriggerProvisioningStateMoving
WorkflowTriggerProvisioningStateNotSpecified WorkflowTriggerProvisioningState = original.WorkflowTriggerProvisioningStateNotSpecified
WorkflowTriggerProvisioningStateReady WorkflowTriggerProvisioningState = original.WorkflowTriggerProvisioningStateReady
WorkflowTriggerProvisioningStateRegistered WorkflowTriggerProvisioningState = original.WorkflowTriggerProvisioningStateRegistered
WorkflowTriggerProvisioningStateRegistering WorkflowTriggerProvisioningState = original.WorkflowTriggerProvisioningStateRegistering
WorkflowTriggerProvisioningStateRunning WorkflowTriggerProvisioningState = original.WorkflowTriggerProvisioningStateRunning
WorkflowTriggerProvisioningStateSucceeded WorkflowTriggerProvisioningState = original.WorkflowTriggerProvisioningStateSucceeded
WorkflowTriggerProvisioningStateUnregistered WorkflowTriggerProvisioningState = original.WorkflowTriggerProvisioningStateUnregistered
WorkflowTriggerProvisioningStateUnregistering WorkflowTriggerProvisioningState = original.WorkflowTriggerProvisioningStateUnregistering
WorkflowTriggerProvisioningStateUpdating WorkflowTriggerProvisioningState = original.WorkflowTriggerProvisioningStateUpdating
)
type X12CharacterSet = original.X12CharacterSet
const (
X12CharacterSetBasic X12CharacterSet = original.X12CharacterSetBasic
X12CharacterSetExtended X12CharacterSet = original.X12CharacterSetExtended
X12CharacterSetNotSpecified X12CharacterSet = original.X12CharacterSetNotSpecified
X12CharacterSetUTF8 X12CharacterSet = original.X12CharacterSetUTF8
)
type X12DateFormat = original.X12DateFormat
const (
X12DateFormatCCYYMMDD X12DateFormat = original.X12DateFormatCCYYMMDD
X12DateFormatNotSpecified X12DateFormat = original.X12DateFormatNotSpecified
X12DateFormatYYMMDD X12DateFormat = original.X12DateFormatYYMMDD
)
type X12TimeFormat = original.X12TimeFormat
const (
X12TimeFormatHHMM X12TimeFormat = original.X12TimeFormatHHMM
X12TimeFormatHHMMSS X12TimeFormat = original.X12TimeFormatHHMMSS
X12TimeFormatHHMMSSd X12TimeFormat = original.X12TimeFormatHHMMSSd
X12TimeFormatHHMMSSdd X12TimeFormat = original.X12TimeFormatHHMMSSdd
X12TimeFormatNotSpecified X12TimeFormat = original.X12TimeFormatNotSpecified
)
type AccessKeyRegenerateActionDefinition = original.AccessKeyRegenerateActionDefinition
type AgreementContent = original.AgreementContent
type ArtifactContentPropertiesDefinition = original.ArtifactContentPropertiesDefinition
type ArtifactProperties = original.ArtifactProperties
type AS2AcknowledgementConnectionSettings = original.AS2AcknowledgementConnectionSettings
type AS2AgreementContent = original.AS2AgreementContent
type AS2EnvelopeSettings = original.AS2EnvelopeSettings
type AS2ErrorSettings = original.AS2ErrorSettings
type AS2MdnSettings = original.AS2MdnSettings
type AS2MessageConnectionSettings = original.AS2MessageConnectionSettings
type AS2OneWayAgreement = original.AS2OneWayAgreement
type AS2ProtocolSettings = original.AS2ProtocolSettings
type AS2SecuritySettings = original.AS2SecuritySettings
type AS2ValidationSettings = original.AS2ValidationSettings
type AssemblyCollection = original.AssemblyCollection
type AssemblyDefinition = original.AssemblyDefinition
type AssemblyProperties = original.AssemblyProperties
type AzureResourceErrorInfo = original.AzureResourceErrorInfo
type B2BPartnerContent = original.B2BPartnerContent
type BatchConfiguration = original.BatchConfiguration
type BatchConfigurationCollection = original.BatchConfigurationCollection
type BatchConfigurationProperties = original.BatchConfigurationProperties
type BatchReleaseCriteria = original.BatchReleaseCriteria
type BusinessIdentity = original.BusinessIdentity
type CallbackURL = original.CallbackURL
type ContentHash = original.ContentHash
type ContentLink = original.ContentLink
type Correlation = original.Correlation
type EdifactAcknowledgementSettings = original.EdifactAcknowledgementSettings
type EdifactAgreementContent = original.EdifactAgreementContent
type EdifactDelimiterOverride = original.EdifactDelimiterOverride
type EdifactEnvelopeOverride = original.EdifactEnvelopeOverride
type EdifactEnvelopeSettings = original.EdifactEnvelopeSettings
type EdifactFramingSettings = original.EdifactFramingSettings
type EdifactMessageFilter = original.EdifactMessageFilter
type EdifactMessageIdentifier = original.EdifactMessageIdentifier
type EdifactOneWayAgreement = original.EdifactOneWayAgreement
type EdifactProcessingSettings = original.EdifactProcessingSettings
type EdifactProtocolSettings = original.EdifactProtocolSettings
type EdifactSchemaReference = original.EdifactSchemaReference
type EdifactValidationOverride = original.EdifactValidationOverride
type EdifactValidationSettings = original.EdifactValidationSettings
type ErrorInfo = original.ErrorInfo
type ErrorProperties = original.ErrorProperties
type ErrorResponse = original.ErrorResponse
type Expression = original.Expression
type ExpressionRoot = original.ExpressionRoot
type ExpressionTraces = original.ExpressionTraces
type GenerateUpgradedDefinitionParameters = original.GenerateUpgradedDefinitionParameters
type GetCallbackURLParameters = original.GetCallbackURLParameters
type IntegrationAccount = original.IntegrationAccount
type IntegrationAccountAgreement = original.IntegrationAccountAgreement
type IntegrationAccountAgreementFilter = original.IntegrationAccountAgreementFilter
type IntegrationAccountAgreementListResult = original.IntegrationAccountAgreementListResult
type IntegrationAccountAgreementListResultIterator = original.IntegrationAccountAgreementListResultIterator
type IntegrationAccountAgreementListResultPage = original.IntegrationAccountAgreementListResultPage
type IntegrationAccountAgreementProperties = original.IntegrationAccountAgreementProperties
type IntegrationAccountCertificate = original.IntegrationAccountCertificate
type IntegrationAccountCertificateListResult = original.IntegrationAccountCertificateListResult
type IntegrationAccountCertificateListResultIterator = original.IntegrationAccountCertificateListResultIterator
type IntegrationAccountCertificateListResultPage = original.IntegrationAccountCertificateListResultPage
type IntegrationAccountCertificateProperties = original.IntegrationAccountCertificateProperties
type IntegrationAccountListResult = original.IntegrationAccountListResult
type IntegrationAccountListResultIterator = original.IntegrationAccountListResultIterator
type IntegrationAccountListResultPage = original.IntegrationAccountListResultPage
type IntegrationAccountMap = original.IntegrationAccountMap
type IntegrationAccountMapFilter = original.IntegrationAccountMapFilter
type IntegrationAccountMapListResult = original.IntegrationAccountMapListResult
type IntegrationAccountMapListResultIterator = original.IntegrationAccountMapListResultIterator
type IntegrationAccountMapListResultPage = original.IntegrationAccountMapListResultPage
type IntegrationAccountMapProperties = original.IntegrationAccountMapProperties
type IntegrationAccountMapPropertiesParametersSchema = original.IntegrationAccountMapPropertiesParametersSchema
type IntegrationAccountPartner = original.IntegrationAccountPartner
type IntegrationAccountPartnerFilter = original.IntegrationAccountPartnerFilter
type IntegrationAccountPartnerListResult = original.IntegrationAccountPartnerListResult
type IntegrationAccountPartnerListResultIterator = original.IntegrationAccountPartnerListResultIterator
type IntegrationAccountPartnerListResultPage = original.IntegrationAccountPartnerListResultPage
type IntegrationAccountPartnerProperties = original.IntegrationAccountPartnerProperties
type IntegrationAccountSchema = original.IntegrationAccountSchema
type IntegrationAccountSchemaFilter = original.IntegrationAccountSchemaFilter
type IntegrationAccountSchemaListResult = original.IntegrationAccountSchemaListResult
type IntegrationAccountSchemaListResultIterator = original.IntegrationAccountSchemaListResultIterator
type IntegrationAccountSchemaListResultPage = original.IntegrationAccountSchemaListResultPage
type IntegrationAccountSchemaProperties = original.IntegrationAccountSchemaProperties
type IntegrationAccountSession = original.IntegrationAccountSession
type IntegrationAccountSessionFilter = original.IntegrationAccountSessionFilter
type IntegrationAccountSessionListResult = original.IntegrationAccountSessionListResult
type IntegrationAccountSessionListResultIterator = original.IntegrationAccountSessionListResultIterator
type IntegrationAccountSessionListResultPage = original.IntegrationAccountSessionListResultPage
type IntegrationAccountSessionProperties = original.IntegrationAccountSessionProperties
type IntegrationAccountSku = original.IntegrationAccountSku
type JSONSchema = original.JSONSchema
type KeyVaultKey = original.KeyVaultKey
type KeyVaultKeyAttributes = original.KeyVaultKeyAttributes
type KeyVaultKeyCollection = original.KeyVaultKeyCollection
type KeyVaultKeyReference = original.KeyVaultKeyReference
type KeyVaultKeyReferenceKeyVault = original.KeyVaultKeyReferenceKeyVault
type KeyVaultReference = original.KeyVaultReference
type ListKeyVaultKeysDefinition = original.ListKeyVaultKeysDefinition
type Operation = original.Operation
type OperationDisplay = original.OperationDisplay
type OperationListResult = original.OperationListResult
type OperationListResultIterator = original.OperationListResultIterator
type OperationListResultPage = original.OperationListResultPage
type OperationResult = original.OperationResult
type OperationResultProperties = original.OperationResultProperties
type PartnerContent = original.PartnerContent
type RecurrenceSchedule = original.RecurrenceSchedule
type RecurrenceScheduleOccurrence = original.RecurrenceScheduleOccurrence
type RegenerateActionParameter = original.RegenerateActionParameter
type RepetitionIndex = original.RepetitionIndex
type Resource = original.Resource
type ResourceReference = original.ResourceReference
type RetryHistory = original.RetryHistory
type RunActionCorrelation = original.RunActionCorrelation
type RunCorrelation = original.RunCorrelation
type SetObject = original.SetObject
type SetTriggerStateActionDefinition = original.SetTriggerStateActionDefinition
type Sku = original.Sku
type SubResource = original.SubResource
type TrackingEvent = original.TrackingEvent
type TrackingEventErrorInfo = original.TrackingEventErrorInfo
type TrackingEventsDefinition = original.TrackingEventsDefinition
type Workflow = original.Workflow
type WorkflowFilter = original.WorkflowFilter
type WorkflowListResult = original.WorkflowListResult
type WorkflowListResultIterator = original.WorkflowListResultIterator
type WorkflowListResultPage = original.WorkflowListResultPage
type WorkflowOutputParameter = original.WorkflowOutputParameter
type WorkflowParameter = original.WorkflowParameter
type WorkflowProperties = original.WorkflowProperties
type WorkflowRun = original.WorkflowRun
type WorkflowRunAction = original.WorkflowRunAction
type WorkflowRunActionFilter = original.WorkflowRunActionFilter
type WorkflowRunActionListResult = original.WorkflowRunActionListResult
type WorkflowRunActionListResultIterator = original.WorkflowRunActionListResultIterator
type WorkflowRunActionListResultPage = original.WorkflowRunActionListResultPage
type WorkflowRunActionProperties = original.WorkflowRunActionProperties
type WorkflowRunActionRepetitionDefinition = original.WorkflowRunActionRepetitionDefinition
type WorkflowRunActionRepetitionDefinitionCollection = original.WorkflowRunActionRepetitionDefinitionCollection
type WorkflowRunActionRepetitionProperties = original.WorkflowRunActionRepetitionProperties
type WorkflowRunFilter = original.WorkflowRunFilter
type WorkflowRunListResult = original.WorkflowRunListResult
type WorkflowRunListResultIterator = original.WorkflowRunListResultIterator
type WorkflowRunListResultPage = original.WorkflowRunListResultPage
type WorkflowRunProperties = original.WorkflowRunProperties
type WorkflowRunTrigger = original.WorkflowRunTrigger
type WorkflowTrigger = original.WorkflowTrigger
type WorkflowTriggerCallbackURL = original.WorkflowTriggerCallbackURL
type WorkflowTriggerFilter = original.WorkflowTriggerFilter
type WorkflowTriggerHistory = original.WorkflowTriggerHistory
type WorkflowTriggerHistoryFilter = original.WorkflowTriggerHistoryFilter
type WorkflowTriggerHistoryListResult = original.WorkflowTriggerHistoryListResult
type WorkflowTriggerHistoryListResultIterator = original.WorkflowTriggerHistoryListResultIterator
type WorkflowTriggerHistoryListResultPage = original.WorkflowTriggerHistoryListResultPage
type WorkflowTriggerHistoryProperties = original.WorkflowTriggerHistoryProperties
type WorkflowTriggerListCallbackURLQueries = original.WorkflowTriggerListCallbackURLQueries
type WorkflowTriggerListResult = original.WorkflowTriggerListResult
type WorkflowTriggerListResultIterator = original.WorkflowTriggerListResultIterator
type WorkflowTriggerListResultPage = original.WorkflowTriggerListResultPage
type WorkflowTriggerProperties = original.WorkflowTriggerProperties
type WorkflowTriggerRecurrence = original.WorkflowTriggerRecurrence
type WorkflowVersion = original.WorkflowVersion
type WorkflowVersionListResult = original.WorkflowVersionListResult
type WorkflowVersionListResultIterator = original.WorkflowVersionListResultIterator
type WorkflowVersionListResultPage = original.WorkflowVersionListResultPage
type WorkflowVersionProperties = original.WorkflowVersionProperties
type X12AcknowledgementSettings = original.X12AcknowledgementSettings
type X12AgreementContent = original.X12AgreementContent
type X12DelimiterOverrides = original.X12DelimiterOverrides
type X12EnvelopeOverride = original.X12EnvelopeOverride
type X12EnvelopeSettings = original.X12EnvelopeSettings
type X12FramingSettings = original.X12FramingSettings
type X12MessageFilter = original.X12MessageFilter
type X12MessageIdentifier = original.X12MessageIdentifier
type X12OneWayAgreement = original.X12OneWayAgreement
type X12ProcessingSettings = original.X12ProcessingSettings
type X12ProtocolSettings = original.X12ProtocolSettings
type X12SchemaReference = original.X12SchemaReference
type X12SecuritySettings = original.X12SecuritySettings
type X12ValidationOverride = original.X12ValidationOverride
type X12ValidationSettings = original.X12ValidationSettings
type PartnersClient = original.PartnersClient
type SchemasClient = original.SchemasClient
type SessionsClient = original.SessionsClient
type WorkflowRunActionRepetitionsClient = original.WorkflowRunActionRepetitionsClient
type WorkflowRunActionsClient = original.WorkflowRunActionsClient
type WorkflowRunActionScopedRepetitionsClient = original.WorkflowRunActionScopedRepetitionsClient
type WorkflowRunOperationsClient = original.WorkflowRunOperationsClient
type WorkflowRunsClient = original.WorkflowRunsClient
type WorkflowsClient = original.WorkflowsClient
type WorkflowTriggerHistoriesClient = original.WorkflowTriggerHistoriesClient
type WorkflowTriggersClient = original.WorkflowTriggersClient
type WorkflowVersionsClient = original.WorkflowVersionsClient
func NewAgreementsClient(subscriptionID string) AgreementsClient {
return original.NewAgreementsClient(subscriptionID)
}
func NewAgreementsClientWithBaseURI(baseURI string, subscriptionID string) AgreementsClient {
return original.NewAgreementsClientWithBaseURI(baseURI, subscriptionID)
}
func NewCertificatesClient(subscriptionID string) CertificatesClient {
return original.NewCertificatesClient(subscriptionID)
}
func NewCertificatesClientWithBaseURI(baseURI string, subscriptionID string) CertificatesClient {
return original.NewCertificatesClientWithBaseURI(baseURI, subscriptionID)
}
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func NewIntegrationAccountAssembliesClient(subscriptionID string) IntegrationAccountAssembliesClient {
return original.NewIntegrationAccountAssembliesClient(subscriptionID)
}
func NewIntegrationAccountAssembliesClientWithBaseURI(baseURI string, subscriptionID string) IntegrationAccountAssembliesClient {
return original.NewIntegrationAccountAssembliesClientWithBaseURI(baseURI, subscriptionID)
}
func NewIntegrationAccountBatchConfigurationsClient(subscriptionID string) IntegrationAccountBatchConfigurationsClient {
return original.NewIntegrationAccountBatchConfigurationsClient(subscriptionID)
}
func NewIntegrationAccountBatchConfigurationsClientWithBaseURI(baseURI string, subscriptionID string) IntegrationAccountBatchConfigurationsClient {
return original.NewIntegrationAccountBatchConfigurationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewIntegrationAccountsClient(subscriptionID string) IntegrationAccountsClient {
return original.NewIntegrationAccountsClient(subscriptionID)
}
func NewIntegrationAccountsClientWithBaseURI(baseURI string, subscriptionID string) IntegrationAccountsClient {
return original.NewIntegrationAccountsClientWithBaseURI(baseURI, subscriptionID)
}
func NewMapsClient(subscriptionID string) MapsClient {
return original.NewMapsClient(subscriptionID)
}
func NewMapsClientWithBaseURI(baseURI string, subscriptionID string) MapsClient {
return original.NewMapsClientWithBaseURI(baseURI, subscriptionID)
}
func PossibleAccessKeyTypeValues() []AccessKeyType {
return original.PossibleAccessKeyTypeValues()
}
func PossibleAgreementTypeValues() []AgreementType {
return original.PossibleAgreementTypeValues()
}
func PossibleDayOfWeekValues() []DayOfWeek {
return original.PossibleDayOfWeekValues()
}
func PossibleDaysOfWeekValues() []DaysOfWeek {
return original.PossibleDaysOfWeekValues()
}
func PossibleEdifactCharacterSetValues() []EdifactCharacterSet {
return original.PossibleEdifactCharacterSetValues()
}
func PossibleEdifactDecimalIndicatorValues() []EdifactDecimalIndicator {
return original.PossibleEdifactDecimalIndicatorValues()
}
func PossibleEncryptionAlgorithmValues() []EncryptionAlgorithm {
return original.PossibleEncryptionAlgorithmValues()
}
func PossibleEventLevelValues() []EventLevel {
return original.PossibleEventLevelValues()
}
func PossibleHashingAlgorithmValues() []HashingAlgorithm {
return original.PossibleHashingAlgorithmValues()
}
func PossibleIntegrationAccountSkuNameValues() []IntegrationAccountSkuName {
return original.PossibleIntegrationAccountSkuNameValues()
}
func PossibleKeyTypeValues() []KeyType {
return original.PossibleKeyTypeValues()
}
func PossibleMapTypeValues() []MapType {
return original.PossibleMapTypeValues()
}
func PossibleMessageFilterTypeValues() []MessageFilterType {
return original.PossibleMessageFilterTypeValues()
}
func PossibleParameterTypeValues() []ParameterType {
return original.PossibleParameterTypeValues()
}
func PossiblePartnerTypeValues() []PartnerType {
return original.PossiblePartnerTypeValues()
}
func PossibleRecurrenceFrequencyValues() []RecurrenceFrequency {
return original.PossibleRecurrenceFrequencyValues()
}
func PossibleSchemaTypeValues() []SchemaType {
return original.PossibleSchemaTypeValues()
}
func PossibleSegmentTerminatorSuffixValues() []SegmentTerminatorSuffix {
return original.PossibleSegmentTerminatorSuffixValues()
}
func PossibleSigningAlgorithmValues() []SigningAlgorithm {
return original.PossibleSigningAlgorithmValues()
}
func PossibleSkuNameValues() []SkuName {
return original.PossibleSkuNameValues()
}
func PossibleTrackEventsOperationOptionsValues() []TrackEventsOperationOptions {
return original.PossibleTrackEventsOperationOptionsValues()
}
func PossibleTrackingRecordTypeValues() []TrackingRecordType {
return original.PossibleTrackingRecordTypeValues()
}
func PossibleTrailingSeparatorPolicyValues() []TrailingSeparatorPolicy {
return original.PossibleTrailingSeparatorPolicyValues()
}
func PossibleUsageIndicatorValues() []UsageIndicator {
return original.PossibleUsageIndicatorValues()
}
func PossibleWorkflowProvisioningStateValues() []WorkflowProvisioningState {
return original.PossibleWorkflowProvisioningStateValues()
}
func PossibleWorkflowStateValues() []WorkflowState {
return original.PossibleWorkflowStateValues()
}
func PossibleWorkflowStatusValues() []WorkflowStatus {
return original.PossibleWorkflowStatusValues()
}
func PossibleWorkflowTriggerProvisioningStateValues() []WorkflowTriggerProvisioningState {
return original.PossibleWorkflowTriggerProvisioningStateValues()
}
func PossibleX12CharacterSetValues() []X12CharacterSet {
return original.PossibleX12CharacterSetValues()
}
func PossibleX12DateFormatValues() []X12DateFormat {
return original.PossibleX12DateFormatValues()
}
func PossibleX12TimeFormatValues() []X12TimeFormat {
return original.PossibleX12TimeFormatValues()
}
func NewPartnersClient(subscriptionID string) PartnersClient {
return original.NewPartnersClient(subscriptionID)
}
func NewPartnersClientWithBaseURI(baseURI string, subscriptionID string) PartnersClient {
return original.NewPartnersClientWithBaseURI(baseURI, subscriptionID)
}
func NewSchemasClient(subscriptionID string) SchemasClient {
return original.NewSchemasClient(subscriptionID)
}
func NewSchemasClientWithBaseURI(baseURI string, subscriptionID string) SchemasClient {
return original.NewSchemasClientWithBaseURI(baseURI, subscriptionID)
}
func NewSessionsClient(subscriptionID string) SessionsClient {
return original.NewSessionsClient(subscriptionID)
}
func NewSessionsClientWithBaseURI(baseURI string, subscriptionID string) SessionsClient {
return original.NewSessionsClientWithBaseURI(baseURI, subscriptionID)
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}
func NewWorkflowRunActionRepetitionsClient(subscriptionID string) WorkflowRunActionRepetitionsClient {
return original.NewWorkflowRunActionRepetitionsClient(subscriptionID)
}
func NewWorkflowRunActionRepetitionsClientWithBaseURI(baseURI string, subscriptionID string) WorkflowRunActionRepetitionsClient {
return original.NewWorkflowRunActionRepetitionsClientWithBaseURI(baseURI, subscriptionID)
}
func NewWorkflowRunActionsClient(subscriptionID string) WorkflowRunActionsClient {
return original.NewWorkflowRunActionsClient(subscriptionID)
}
func NewWorkflowRunActionsClientWithBaseURI(baseURI string, subscriptionID string) WorkflowRunActionsClient {
return original.NewWorkflowRunActionsClientWithBaseURI(baseURI, subscriptionID)
}
func NewWorkflowRunActionScopedRepetitionsClient(subscriptionID string) WorkflowRunActionScopedRepetitionsClient {
return original.NewWorkflowRunActionScopedRepetitionsClient(subscriptionID)
}
func NewWorkflowRunActionScopedRepetitionsClientWithBaseURI(baseURI string, subscriptionID string) WorkflowRunActionScopedRepetitionsClient {
return original.NewWorkflowRunActionScopedRepetitionsClientWithBaseURI(baseURI, subscriptionID)
}
func NewWorkflowRunOperationsClient(subscriptionID string) WorkflowRunOperationsClient {
return original.NewWorkflowRunOperationsClient(subscriptionID)
}
func NewWorkflowRunOperationsClientWithBaseURI(baseURI string, subscriptionID string) WorkflowRunOperationsClient {
return original.NewWorkflowRunOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewWorkflowRunsClient(subscriptionID string) WorkflowRunsClient {
return original.NewWorkflowRunsClient(subscriptionID)
}
func NewWorkflowRunsClientWithBaseURI(baseURI string, subscriptionID string) WorkflowRunsClient {
return original.NewWorkflowRunsClientWithBaseURI(baseURI, subscriptionID)
}
func NewWorkflowsClient(subscriptionID string) WorkflowsClient {
return original.NewWorkflowsClient(subscriptionID)
}
func NewWorkflowsClientWithBaseURI(baseURI string, subscriptionID string) WorkflowsClient {
return original.NewWorkflowsClientWithBaseURI(baseURI, subscriptionID)
}
func NewWorkflowTriggerHistoriesClient(subscriptionID string) WorkflowTriggerHistoriesClient {
return original.NewWorkflowTriggerHistoriesClient(subscriptionID)
}
func NewWorkflowTriggerHistoriesClientWithBaseURI(baseURI string, subscriptionID string) WorkflowTriggerHistoriesClient {
return original.NewWorkflowTriggerHistoriesClientWithBaseURI(baseURI, subscriptionID)
}
func NewWorkflowTriggersClient(subscriptionID string) WorkflowTriggersClient {
return original.NewWorkflowTriggersClient(subscriptionID)
}
func NewWorkflowTriggersClientWithBaseURI(baseURI string, subscriptionID string) WorkflowTriggersClient {
return original.NewWorkflowTriggersClientWithBaseURI(baseURI, subscriptionID)
}
func NewWorkflowVersionsClient(subscriptionID string) WorkflowVersionsClient {
return original.NewWorkflowVersionsClient(subscriptionID)
}
func NewWorkflowVersionsClientWithBaseURI(baseURI string, subscriptionID string) WorkflowVersionsClient {
return original.NewWorkflowVersionsClientWithBaseURI(baseURI, subscriptionID)
}

View File

@@ -1,212 +0,0 @@
// +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 webservices
import original "github.com/Azure/azure-sdk-for-go/services/machinelearning/mgmt/2017-01-01/webservices"
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type AssetType = original.AssetType
const (
AssetTypeModule AssetType = original.AssetTypeModule
AssetTypeResource AssetType = original.AssetTypeResource
)
type ColumnFormat = original.ColumnFormat
const (
Byte ColumnFormat = original.Byte
Char ColumnFormat = original.Char
Complex128 ColumnFormat = original.Complex128
Complex64 ColumnFormat = original.Complex64
DateTime ColumnFormat = original.DateTime
DateTimeOffset ColumnFormat = original.DateTimeOffset
Double ColumnFormat = original.Double
Duration ColumnFormat = original.Duration
Float ColumnFormat = original.Float
Int16 ColumnFormat = original.Int16
Int32 ColumnFormat = original.Int32
Int64 ColumnFormat = original.Int64
Int8 ColumnFormat = original.Int8
Uint16 ColumnFormat = original.Uint16
Uint32 ColumnFormat = original.Uint32
Uint64 ColumnFormat = original.Uint64
Uint8 ColumnFormat = original.Uint8
)
type ColumnType = original.ColumnType
const (
Boolean ColumnType = original.Boolean
Integer ColumnType = original.Integer
Number ColumnType = original.Number
String ColumnType = original.String
)
type DiagnosticsLevel = original.DiagnosticsLevel
const (
All DiagnosticsLevel = original.All
Error DiagnosticsLevel = original.Error
None DiagnosticsLevel = original.None
)
type InputPortType = original.InputPortType
const (
Dataset InputPortType = original.Dataset
)
type OutputPortType = original.OutputPortType
const (
OutputPortTypeDataset OutputPortType = original.OutputPortTypeDataset
)
type PackageType = original.PackageType
const (
PackageTypeGraph PackageType = original.PackageTypeGraph
PackageTypeWebServiceProperties PackageType = original.PackageTypeWebServiceProperties
)
type ParameterType = original.ParameterType
const (
ParameterTypeBoolean ParameterType = original.ParameterTypeBoolean
ParameterTypeColumnPicker ParameterType = original.ParameterTypeColumnPicker
ParameterTypeCredential ParameterType = original.ParameterTypeCredential
ParameterTypeDataGatewayName ParameterType = original.ParameterTypeDataGatewayName
ParameterTypeDouble ParameterType = original.ParameterTypeDouble
ParameterTypeEnumerated ParameterType = original.ParameterTypeEnumerated
ParameterTypeFloat ParameterType = original.ParameterTypeFloat
ParameterTypeInt ParameterType = original.ParameterTypeInt
ParameterTypeMode ParameterType = original.ParameterTypeMode
ParameterTypeParameterRange ParameterType = original.ParameterTypeParameterRange
ParameterTypeScript ParameterType = original.ParameterTypeScript
ParameterTypeString ParameterType = original.ParameterTypeString
)
type ProvisioningState = original.ProvisioningState
const (
Failed ProvisioningState = original.Failed
Provisioning ProvisioningState = original.Provisioning
Succeeded ProvisioningState = original.Succeeded
Unknown ProvisioningState = original.Unknown
)
type AssetItem = original.AssetItem
type AsyncOperationErrorInfo = original.AsyncOperationErrorInfo
type AsyncOperationStatus = original.AsyncOperationStatus
type BlobLocation = original.BlobLocation
type ColumnSpecification = original.ColumnSpecification
type CommitmentPlan = original.CommitmentPlan
type CreateOrUpdateFuture = original.CreateOrUpdateFuture
type CreateRegionalPropertiesFuture = original.CreateRegionalPropertiesFuture
type DiagnosticsConfiguration = original.DiagnosticsConfiguration
type ExampleRequest = original.ExampleRequest
type GraphEdge = original.GraphEdge
type GraphNode = original.GraphNode
type GraphPackage = original.GraphPackage
type GraphParameter = original.GraphParameter
type GraphParameterLink = original.GraphParameterLink
type InputPort = original.InputPort
type Keys = original.Keys
type MachineLearningWorkspace = original.MachineLearningWorkspace
type ModeValueInfo = original.ModeValueInfo
type ModuleAssetParameter = original.ModuleAssetParameter
type OperationDisplayInfo = original.OperationDisplayInfo
type OperationEntity = original.OperationEntity
type OperationEntityListResult = original.OperationEntityListResult
type OutputPort = original.OutputPort
type PaginatedWebServicesList = original.PaginatedWebServicesList
type PaginatedWebServicesListIterator = original.PaginatedWebServicesListIterator
type PaginatedWebServicesListPage = original.PaginatedWebServicesListPage
type Parameter = original.Parameter
type PatchFuture = original.PatchFuture
type BasicProperties = original.BasicProperties
type Properties = original.Properties
type PropertiesForGraph = original.PropertiesForGraph
type RealtimeConfiguration = original.RealtimeConfiguration
type RemoveFuture = original.RemoveFuture
type Resource = original.Resource
type ServiceInputOutputSpecification = original.ServiceInputOutputSpecification
type StorageAccount = original.StorageAccount
type TableSpecification = original.TableSpecification
type WebService = original.WebService
type OperationsClient = original.OperationsClient
type Client = original.Client
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func PossibleAssetTypeValues() []AssetType {
return original.PossibleAssetTypeValues()
}
func PossibleColumnFormatValues() []ColumnFormat {
return original.PossibleColumnFormatValues()
}
func PossibleColumnTypeValues() []ColumnType {
return original.PossibleColumnTypeValues()
}
func PossibleDiagnosticsLevelValues() []DiagnosticsLevel {
return original.PossibleDiagnosticsLevelValues()
}
func PossibleInputPortTypeValues() []InputPortType {
return original.PossibleInputPortTypeValues()
}
func PossibleOutputPortTypeValues() []OutputPortType {
return original.PossibleOutputPortTypeValues()
}
func PossiblePackageTypeValues() []PackageType {
return original.PossiblePackageTypeValues()
}
func PossibleParameterTypeValues() []ParameterType {
return original.PossibleParameterTypeValues()
}
func PossibleProvisioningStateValues() []ProvisioningState {
return original.PossibleProvisioningStateValues()
}
func NewOperationsClient(subscriptionID string) OperationsClient {
return original.NewOperationsClient(subscriptionID)
}
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}
func NewClient(subscriptionID string) Client {
return original.NewClient(subscriptionID)
}
func NewClientWithBaseURI(baseURI string, subscriptionID string) Client {
return original.NewClientWithBaseURI(baseURI, subscriptionID)
}

View File

@@ -1,65 +0,0 @@
// +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 marketplaceordering
import original "github.com/Azure/azure-sdk-for-go/services/marketplaceordering/mgmt/2015-06-01/marketplaceordering"
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type MarketplaceAgreementsClient = original.MarketplaceAgreementsClient
type AgreementProperties = original.AgreementProperties
type AgreementTerms = original.AgreementTerms
type ErrorResponse = original.ErrorResponse
type ErrorResponseError = original.ErrorResponseError
type Operation = original.Operation
type OperationDisplay = original.OperationDisplay
type OperationListResult = original.OperationListResult
type OperationListResultIterator = original.OperationListResultIterator
type OperationListResultPage = original.OperationListResultPage
type Resource = original.Resource
type OperationsClient = original.OperationsClient
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func NewMarketplaceAgreementsClient(subscriptionID string) MarketplaceAgreementsClient {
return original.NewMarketplaceAgreementsClient(subscriptionID)
}
func NewMarketplaceAgreementsClientWithBaseURI(baseURI string, subscriptionID string) MarketplaceAgreementsClient {
return original.NewMarketplaceAgreementsClientWithBaseURI(baseURI, subscriptionID)
}
func NewOperationsClient(subscriptionID string) OperationsClient {
return original.NewOperationsClient(subscriptionID)
}
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}

View File

@@ -1,101 +0,0 @@
// +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 media
import original "github.com/Azure/azure-sdk-for-go/services/mediaservices/mgmt/2015-10-01/media"
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type EntityNameUnavailabilityReason = original.EntityNameUnavailabilityReason
const (
AlreadyExists EntityNameUnavailabilityReason = original.AlreadyExists
Invalid EntityNameUnavailabilityReason = original.Invalid
None EntityNameUnavailabilityReason = original.None
)
type KeyType = original.KeyType
const (
Primary KeyType = original.Primary
Secondary KeyType = original.Secondary
)
type ResourceType = original.ResourceType
const (
Mediaservices ResourceType = original.Mediaservices
)
type APIEndpoint = original.APIEndpoint
type APIError = original.APIError
type CheckNameAvailabilityInput = original.CheckNameAvailabilityInput
type CheckNameAvailabilityOutput = original.CheckNameAvailabilityOutput
type Operation = original.Operation
type OperationDisplay = original.OperationDisplay
type OperationListResult = original.OperationListResult
type RegenerateKeyInput = original.RegenerateKeyInput
type RegenerateKeyOutput = original.RegenerateKeyOutput
type Resource = original.Resource
type Service = original.Service
type ServiceCollection = original.ServiceCollection
type ServiceKeys = original.ServiceKeys
type ServiceProperties = original.ServiceProperties
type StorageAccount = original.StorageAccount
type SyncStorageKeysInput = original.SyncStorageKeysInput
type OperationsClient = original.OperationsClient
type ServiceClient = original.ServiceClient
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func PossibleEntityNameUnavailabilityReasonValues() []EntityNameUnavailabilityReason {
return original.PossibleEntityNameUnavailabilityReasonValues()
}
func PossibleKeyTypeValues() []KeyType {
return original.PossibleKeyTypeValues()
}
func PossibleResourceTypeValues() []ResourceType {
return original.PossibleResourceTypeValues()
}
func NewOperationsClient(subscriptionID string) OperationsClient {
return original.NewOperationsClient(subscriptionID)
}
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient {
return original.NewOperationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewServiceClient(subscriptionID string) ServiceClient {
return original.NewServiceClient(subscriptionID)
}
func NewServiceClientWithBaseURI(baseURI string, subscriptionID string) ServiceClient {
return original.NewServiceClientWithBaseURI(baseURI, subscriptionID)
}
func UserAgent() string {
return original.UserAgent() + " profiles/latest"
}
func Version() string {
return original.Version()
}

View File

@@ -1,395 +0,0 @@
// +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 mobileengagement
import original "github.com/Azure/azure-sdk-for-go/services/mobileengagement/mgmt/2014-12-01/mobileengagement"
type AppCollectionsClient = original.AppCollectionsClient
type AppsClient = original.AppsClient
type CampaignsClient = original.CampaignsClient
const (
DefaultBaseURI = original.DefaultBaseURI
)
type BaseClient = original.BaseClient
type DevicesClient = original.DevicesClient
type ExportTasksClient = original.ExportTasksClient
type ImportTasksClient = original.ImportTasksClient
type AudienceOperators = original.AudienceOperators
const (
EQ AudienceOperators = original.EQ
GE AudienceOperators = original.GE
GT AudienceOperators = original.GT
LE AudienceOperators = original.LE
LT AudienceOperators = original.LT
)
type CampaignFeedbacks = original.CampaignFeedbacks
const (
Actioned CampaignFeedbacks = original.Actioned
Exited CampaignFeedbacks = original.Exited
Pushed CampaignFeedbacks = original.Pushed
Replied CampaignFeedbacks = original.Replied
)
type CampaignKinds = original.CampaignKinds
const (
Announcements CampaignKinds = original.Announcements
DataPushes CampaignKinds = original.DataPushes
NativePushes CampaignKinds = original.NativePushes
Polls CampaignKinds = original.Polls
)
type CampaignStates = original.CampaignStates
const (
Draft CampaignStates = original.Draft
Finished CampaignStates = original.Finished
InProgress CampaignStates = original.InProgress
Queued CampaignStates = original.Queued
Scheduled CampaignStates = original.Scheduled
)
type CampaignType = original.CampaignType
const (
Announcement CampaignType = original.Announcement
DataPush CampaignType = original.DataPush
NativePush CampaignType = original.NativePush
Poll CampaignType = original.Poll
)
type CampaignTypes = original.CampaignTypes
const (
OnlyNotif CampaignTypes = original.OnlyNotif
Textbase64 CampaignTypes = original.Textbase64
Texthtml CampaignTypes = original.Texthtml
Textplain CampaignTypes = original.Textplain
)
type DeliveryTimes = original.DeliveryTimes
const (
Any DeliveryTimes = original.Any
Background DeliveryTimes = original.Background
Session DeliveryTimes = original.Session
)
type ExportFormat = original.ExportFormat
const (
CsvBlob ExportFormat = original.CsvBlob
JSONBlob ExportFormat = original.JSONBlob
)
type ExportState = original.ExportState
const (
ExportStateFailed ExportState = original.ExportStateFailed
ExportStateQueued ExportState = original.ExportStateQueued
ExportStateStarted ExportState = original.ExportStateStarted
ExportStateSucceeded ExportState = original.ExportStateSucceeded
)
type ExportType = original.ExportType
const (
ExportTypeActivity ExportType = original.ExportTypeActivity
ExportTypeCrash ExportType = original.ExportTypeCrash
ExportTypeError ExportType = original.ExportTypeError
ExportTypeEvent ExportType = original.ExportTypeEvent
ExportTypeJob ExportType = original.ExportTypeJob
ExportTypePush ExportType = original.ExportTypePush
ExportTypeSession ExportType = original.ExportTypeSession
ExportTypeTag ExportType = original.ExportTypeTag
ExportTypeToken ExportType = original.ExportTypeToken
)
type JobStates = original.JobStates
const (
JobStatesFailed JobStates = original.JobStatesFailed
JobStatesQueued JobStates = original.JobStatesQueued
JobStatesStarted JobStates = original.JobStatesStarted
JobStatesSucceeded JobStates = original.JobStatesSucceeded
)
type NotificationTypes = original.NotificationTypes
const (
Popup NotificationTypes = original.Popup
System NotificationTypes = original.System
)
type ProvisioningStates = original.ProvisioningStates
const (
Creating ProvisioningStates = original.Creating
Succeeded ProvisioningStates = original.Succeeded
)
type PushModes = original.PushModes
const (
Manual PushModes = original.Manual
OneShot PushModes = original.OneShot
RealTime PushModes = original.RealTime
)
type Type = original.Type
const (
TypeAnnouncementFeedback Type = original.TypeAnnouncementFeedback
TypeApplicationVersion Type = original.TypeApplicationVersion
TypeBooleanTag Type = original.TypeBooleanTag
TypeCarrierCountry Type = original.TypeCarrierCountry
TypeCarrierName Type = original.TypeCarrierName
TypeCriterion Type = original.TypeCriterion
TypeDatapushFeedback Type = original.TypeDatapushFeedback
TypeDateTag Type = original.TypeDateTag
TypeDeviceManufacturer Type = original.TypeDeviceManufacturer
TypeDeviceModel Type = original.TypeDeviceModel
TypeFirmwareVersion Type = original.TypeFirmwareVersion
TypeGeoFencing Type = original.TypeGeoFencing
TypeIntegerTag Type = original.TypeIntegerTag
TypeLanguage Type = original.TypeLanguage
TypeLocation Type = original.TypeLocation
TypeNetworkType Type = original.TypeNetworkType
TypePollAnswerFeedback Type = original.TypePollAnswerFeedback
TypePollFeedback Type = original.TypePollFeedback
TypeScreenSize Type = original.TypeScreenSize
TypeSegment Type = original.TypeSegment
TypeStringTag Type = original.TypeStringTag
)
type TypeBasicFilter = original.TypeBasicFilter
const (
TypeAppInfo TypeBasicFilter = original.TypeAppInfo
TypeEngageActiveUsers TypeBasicFilter = original.TypeEngageActiveUsers
TypeEngageIdleUsers TypeBasicFilter = original.TypeEngageIdleUsers
TypeEngageNewUsers TypeBasicFilter = original.TypeEngageNewUsers
TypeEngageOldUsers TypeBasicFilter = original.TypeEngageOldUsers
TypeEngageSubset TypeBasicFilter = original.TypeEngageSubset
TypeFilter TypeBasicFilter = original.TypeFilter
TypeNativePushEnabled TypeBasicFilter = original.TypeNativePushEnabled
TypePushQuota TypeBasicFilter = original.TypePushQuota
)
type AnnouncementFeedbackCriterion = original.AnnouncementFeedbackCriterion
type APIError = original.APIError
type APIErrorError = original.APIErrorError
type App = original.App
type AppCollection = original.AppCollection
type AppCollectionListResult = original.AppCollectionListResult
type AppCollectionListResultIterator = original.AppCollectionListResultIterator
type AppCollectionListResultPage = original.AppCollectionListResultPage
type AppCollectionNameAvailability = original.AppCollectionNameAvailability
type AppCollectionProperties = original.AppCollectionProperties
type AppInfoFilter = original.AppInfoFilter
type ApplicationVersionCriterion = original.ApplicationVersionCriterion
type AppListResult = original.AppListResult
type AppListResultIterator = original.AppListResultIterator
type AppListResultPage = original.AppListResultPage
type AppProperties = original.AppProperties
type BooleanTagCriterion = original.BooleanTagCriterion
type Campaign = original.Campaign
type CampaignAudience = original.CampaignAudience
type CampaignListResult = original.CampaignListResult
type CampaignLocalization = original.CampaignLocalization
type CampaignPushParameters = original.CampaignPushParameters
type CampaignPushResult = original.CampaignPushResult
type CampaignResult = original.CampaignResult
type CampaignsListResult = original.CampaignsListResult
type CampaignsListResultIterator = original.CampaignsListResultIterator
type CampaignsListResultPage = original.CampaignsListResultPage
type CampaignState = original.CampaignState
type CampaignStateResult = original.CampaignStateResult
type CampaignStatisticsResult = original.CampaignStatisticsResult
type CampaignTestNewParameters = original.CampaignTestNewParameters
type CampaignTestSavedParameters = original.CampaignTestSavedParameters
type CarrierCountryCriterion = original.CarrierCountryCriterion
type CarrierNameCriterion = original.CarrierNameCriterion
type BasicCriterion = original.BasicCriterion
type Criterion = original.Criterion
type DatapushFeedbackCriterion = original.DatapushFeedbackCriterion
type DateRangeExportTaskParameter = original.DateRangeExportTaskParameter
type DateTagCriterion = original.DateTagCriterion
type Device = original.Device
type DeviceInfo = original.DeviceInfo
type DeviceLocation = original.DeviceLocation
type DeviceManufacturerCriterion = original.DeviceManufacturerCriterion
type DeviceMeta = original.DeviceMeta
type DeviceModelCriterion = original.DeviceModelCriterion
type DeviceQueryResult = original.DeviceQueryResult
type DevicesQueryResult = original.DevicesQueryResult
type DevicesQueryResultIterator = original.DevicesQueryResultIterator
type DevicesQueryResultPage = original.DevicesQueryResultPage
type DeviceTagsParameters = original.DeviceTagsParameters
type DeviceTagsResult = original.DeviceTagsResult
type EngageActiveUsersFilter = original.EngageActiveUsersFilter
type EngageIdleUsersFilter = original.EngageIdleUsersFilter
type EngageNewUsersFilter = original.EngageNewUsersFilter
type EngageOldUsersFilter = original.EngageOldUsersFilter
type EngageSubsetFilter = original.EngageSubsetFilter
type ExportOptions = original.ExportOptions
type ExportTaskListResult = original.ExportTaskListResult
type ExportTaskListResultIterator = original.ExportTaskListResultIterator
type ExportTaskListResultPage = original.ExportTaskListResultPage
type ExportTaskParameter = original.ExportTaskParameter
type ExportTaskResult = original.ExportTaskResult
type FeedbackByCampaignParameter = original.FeedbackByCampaignParameter
type FeedbackByDateRangeParameter = original.FeedbackByDateRangeParameter
type BasicFilter = original.BasicFilter
type Filter = original.Filter
type FirmwareVersionCriterion = original.FirmwareVersionCriterion
type GeoFencingCriterion = original.GeoFencingCriterion
type ImportTask = original.ImportTask
type ImportTaskListResult = original.ImportTaskListResult
type ImportTaskListResultIterator = original.ImportTaskListResultIterator
type ImportTaskListResultPage = original.ImportTaskListResultPage
type ImportTaskResult = original.ImportTaskResult
type IntegerTagCriterion = original.IntegerTagCriterion
type LanguageCriterion = original.LanguageCriterion
type LocationCriterion = original.LocationCriterion
type NativePushEnabledFilter = original.NativePushEnabledFilter
type NetworkTypeCriterion = original.NetworkTypeCriterion
type NotificationOptions = original.NotificationOptions
type PollAnswerFeedbackCriterion = original.PollAnswerFeedbackCriterion
type PollFeedbackCriterion = original.PollFeedbackCriterion
type PollQuestion = original.PollQuestion
type PollQuestionChoice = original.PollQuestionChoice
type PollQuestionChoiceLocalization = original.PollQuestionChoiceLocalization
type PollQuestionLocalization = original.PollQuestionLocalization
type PushQuotaFilter = original.PushQuotaFilter
type Resource = original.Resource
type ScreenSizeCriterion = original.ScreenSizeCriterion
type SegmentCriterion = original.SegmentCriterion
type StringTagCriterion = original.StringTagCriterion
type SupportedPlatformsListResult = original.SupportedPlatformsListResult
type SupportedPlatformsClient = original.SupportedPlatformsClient
func NewAppCollectionsClient(subscriptionID string) AppCollectionsClient {
return original.NewAppCollectionsClient(subscriptionID)
}
func NewAppCollectionsClientWithBaseURI(baseURI string, subscriptionID string) AppCollectionsClient {
return original.NewAppCollectionsClientWithBaseURI(baseURI, subscriptionID)
}
func NewAppsClient(subscriptionID string) AppsClient {
return original.NewAppsClient(subscriptionID)
}
func NewAppsClientWithBaseURI(baseURI string, subscriptionID string) AppsClient {
return original.NewAppsClientWithBaseURI(baseURI, subscriptionID)
}
func NewCampaignsClient(subscriptionID string) CampaignsClient {
return original.NewCampaignsClient(subscriptionID)
}
func NewCampaignsClientWithBaseURI(baseURI string, subscriptionID string) CampaignsClient {
return original.NewCampaignsClientWithBaseURI(baseURI, subscriptionID)
}
func New(subscriptionID string) BaseClient {
return original.New(subscriptionID)
}
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func NewDevicesClient(subscriptionID string) DevicesClient {
return original.NewDevicesClient(subscriptionID)
}
func NewDevicesClientWithBaseURI(baseURI string, subscriptionID string) DevicesClient {
return original.NewDevicesClientWithBaseURI(baseURI, subscriptionID)
}
func NewExportTasksClient(subscriptionID string) ExportTasksClient {
return original.NewExportTasksClient(subscriptionID)
}
func NewExportTasksClientWithBaseURI(baseURI string, subscriptionID string) ExportTasksClient {
return original.NewExportTasksClientWithBaseURI(baseURI, subscriptionID)
}
func NewImportTasksClient(subscriptionID string) ImportTasksClient {
return original.NewImportTasksClient(subscriptionID)
}
func NewImportTasksClientWithBaseURI(baseURI string, subscriptionID string) ImportTasksClient {
return original.NewImportTasksClientWithBaseURI(baseURI, subscriptionID)
}
func PossibleAudienceOperatorsValues() []AudienceOperators {
return original.PossibleAudienceOperatorsValues()
}
func PossibleCampaignFeedbacksValues() []CampaignFeedbacks {
return original.PossibleCampaignFeedbacksValues()
}
func PossibleCampaignKindsValues() []CampaignKinds {
return original.PossibleCampaignKindsValues()
}
func PossibleCampaignStatesValues() []CampaignStates {
return original.PossibleCampaignStatesValues()
}
func PossibleCampaignTypeValues() []CampaignType {
return original.PossibleCampaignTypeValues()
}
func PossibleCampaignTypesValues() []CampaignTypes {
return original.PossibleCampaignTypesValues()
}
func PossibleDeliveryTimesValues() []DeliveryTimes {
return original.PossibleDeliveryTimesValues()
}
func PossibleExportFormatValues() []ExportFormat {
return original.PossibleExportFormatValues()
}
func PossibleExportStateValues() []ExportState {
return original.PossibleExportStateValues()
}
func PossibleExportTypeValues() []ExportType {
return original.PossibleExportTypeValues()
}
func PossibleJobStatesValues() []JobStates {
return original.PossibleJobStatesValues()
}
func PossibleNotificationTypesValues() []NotificationTypes {
return original.PossibleNotificationTypesValues()
}
func PossibleProvisioningStatesValues() []ProvisioningStates {
return original.PossibleProvisioningStatesValues()
}
func PossiblePushModesValues() []PushModes {
return original.PossiblePushModesValues()
}
func PossibleTypeValues() []Type {
return original.PossibleTypeValues()
}
func PossibleTypeBasicFilterValues() []TypeBasicFilter {
return original.PossibleTypeBasicFilterValues()
}
func NewSupportedPlatformsClient(subscriptionID string) SupportedPlatformsClient {
return original.NewSupportedPlatformsClient(subscriptionID)
}
func NewSupportedPlatformsClientWithBaseURI(baseURI string, subscriptionID string) SupportedPlatformsClient {
return original.NewSupportedPlatformsClientWithBaseURI(baseURI, subscriptionID)
}
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