Skip to content

Commit

Permalink
[AutoPR containerregistry/resource-manager] Azure Container Registry …
Browse files Browse the repository at this point in the history
…Auto Build Feature Swagger and examples (#1662)

* Generated from 8e3c1b45d0234eeebeab1d7ebdcc2a30ce1d7179

A few improvements and fixes (#4)

* A few improvements and fixes

* Fix the description for build arguments

* Remove error schema

* use 2017-10-01 tag

* Add default response back

* Generated from 5fa239f0f0abdd6dbba20252958288384b5fe797

Fix Error status, fix version (#5)

* Remove error schema

* Add default response back

* Fix abandoned as system error

* Fix Error status

* Use preview tag

* Fix tag

* Remove error response schema as they are not used

* Generated from 074adc160df8cd2dbe1c3295c478f7092ba09207

Fix CI (#7)

* Add python sdk version

* Add preview to namespace

* Remove an example

* Generated from 5e072f9f70cfd1ff9a8eb343e4d3d42e7c338a8a

Fix examples (#8)
  • Loading branch information
AutorestCI authored Apr 24, 2018
1 parent 8b598cc commit a1f4080
Show file tree
Hide file tree
Showing 12 changed files with 5,719 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,205 @@
// +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/preview/containerregistry/mgmt/2017-06-01-preview/containerregistry"

const (
DefaultBaseURI = original.DefaultBaseURI
)

type BaseClient = original.BaseClient
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
ManagedBasic SkuName = original.ManagedBasic
ManagedPremium SkuName = original.ManagedPremium
ManagedStandard SkuName = original.ManagedStandard
)

type SkuTier = original.SkuTier

const (
SkuTierBasic SkuTier = original.SkuTierBasic
SkuTierManaged SkuTier = original.SkuTierManaged
)

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 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 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 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/preview"
}
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)
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a1f4080

Please sign in to comment.