Skip to content

Commit

Permalink
[AutoPR containerregistry/resource-manager] Azure container registry …
Browse files Browse the repository at this point in the history
…build feature GA API specification and examples. (#2532)

* Generated from 40798dd592ce0d63c1fc0086f983241f7471269b

Update readme.md to include tags for all languages

* Generated from fd9d36edfbdcdd3f434fd8fcac2868cd8c3007d6

Updated the operation ID as per the feedback
  • Loading branch information
AutorestCI authored Aug 24, 2018
1 parent d44c6c8 commit d54876d
Show file tree
Hide file tree
Showing 10 changed files with 8,481 additions and 1 deletion.
238 changes: 237 additions & 1 deletion profiles/preview/containerregistry/mgmt/containerregistry/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,49 @@

package containerregistry

import original "github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2017-10-01/containerregistry"
import original "github.com/Azure/azure-sdk-for-go/services/containerregistry/mgmt/2018-09-01/containerregistry"

const (
DefaultBaseURI = original.DefaultBaseURI
)

type BaseClient = original.BaseClient
type Architecture = original.Architecture

const (
Amd64 Architecture = original.Amd64
Arm Architecture = original.Arm
X86 Architecture = original.X86
)

type BaseImageDependencyType = original.BaseImageDependencyType

const (
BuildTime BaseImageDependencyType = original.BuildTime
RunTime BaseImageDependencyType = original.RunTime
)

type BaseImageTriggerType = original.BaseImageTriggerType

const (
All BaseImageTriggerType = original.All
Runtime BaseImageTriggerType = original.Runtime
)

type ImportMode = original.ImportMode

const (
Force ImportMode = original.Force
NoForce ImportMode = original.NoForce
)

type OS = original.OS

const (
Linux OS = original.Linux
Windows OS = original.Windows
)

type PasswordName = original.PasswordName

const (
Expand Down Expand Up @@ -65,6 +94,26 @@ const (
Count RegistryUsageUnit = original.Count
)

type RunStatus = original.RunStatus

const (
RunStatusCanceled RunStatus = original.RunStatusCanceled
RunStatusError RunStatus = original.RunStatusError
RunStatusFailed RunStatus = original.RunStatusFailed
RunStatusQueued RunStatus = original.RunStatusQueued
RunStatusRunning RunStatus = original.RunStatusRunning
RunStatusStarted RunStatus = original.RunStatusStarted
RunStatusSucceeded RunStatus = original.RunStatusSucceeded
RunStatusTimeout RunStatus = original.RunStatusTimeout
)

type RunType = original.RunType

const (
AutoBuild RunType = original.AutoBuild
QuickBuild RunType = original.QuickBuild
)

type SkuName = original.SkuName

const (
Expand All @@ -83,12 +132,82 @@ const (
SkuTierStandard SkuTier = original.SkuTierStandard
)

type SourceControlType = original.SourceControlType

const (
Github SourceControlType = original.Github
VisualStudioTeamService SourceControlType = original.VisualStudioTeamService
)

type SourceTriggerEvent = original.SourceTriggerEvent

const (
Commit SourceTriggerEvent = original.Commit
)

type TaskStatus = original.TaskStatus

const (
TaskStatusDisabled TaskStatus = original.TaskStatusDisabled
TaskStatusEnabled TaskStatus = original.TaskStatusEnabled
)

type TokenType = original.TokenType

const (
OAuth TokenType = original.OAuth
PAT TokenType = original.PAT
)

type TriggerStatus = original.TriggerStatus

const (
TriggerStatusDisabled TriggerStatus = original.TriggerStatusDisabled
TriggerStatusEnabled TriggerStatus = original.TriggerStatusEnabled
)

type TrustPolicyType = original.TrustPolicyType

const (
Notary TrustPolicyType = original.Notary
)

type Type = original.Type

const (
TypeBuildTaskRequest Type = original.TypeBuildTaskRequest
TypeDockerBuildRequest Type = original.TypeDockerBuildRequest
TypeQuickTaskRunRequest Type = original.TypeQuickTaskRunRequest
TypeRunRequest Type = original.TypeRunRequest
TypeTaskRunRequest Type = original.TypeTaskRunRequest
)

type TypeBasicTaskStepProperties = original.TypeBasicTaskStepProperties

const (
TypeBuildTask TypeBasicTaskStepProperties = original.TypeBuildTask
TypeDocker TypeBasicTaskStepProperties = original.TypeDocker
TypeRunTask TypeBasicTaskStepProperties = original.TypeRunTask
TypeTaskStepProperties TypeBasicTaskStepProperties = original.TypeTaskStepProperties
)

type TypeBasicTaskStepUpdateParameters = original.TypeBasicTaskStepUpdateParameters

const (
TypeBasicTaskStepUpdateParametersTypeBuildTask TypeBasicTaskStepUpdateParameters = original.TypeBasicTaskStepUpdateParametersTypeBuildTask
TypeBasicTaskStepUpdateParametersTypeDocker TypeBasicTaskStepUpdateParameters = original.TypeBasicTaskStepUpdateParametersTypeDocker
TypeBasicTaskStepUpdateParametersTypeRunTask TypeBasicTaskStepUpdateParameters = original.TypeBasicTaskStepUpdateParametersTypeRunTask
TypeBasicTaskStepUpdateParametersTypeTaskStepUpdateParameters TypeBasicTaskStepUpdateParameters = original.TypeBasicTaskStepUpdateParametersTypeTaskStepUpdateParameters
)

type Variant = original.Variant

const (
V6 Variant = original.V6
V7 Variant = original.V7
V8 Variant = original.V8
)

type WebhookAction = original.WebhookAction

const (
Expand All @@ -105,7 +224,20 @@ const (
)

type Actor = original.Actor
type AgentProperties = original.AgentProperties
type Argument = original.Argument
type AuthInfo = original.AuthInfo
type AuthInfoUpdateParameters = original.AuthInfoUpdateParameters
type BaseImageDependency = original.BaseImageDependency
type BaseImageTrigger = original.BaseImageTrigger
type BaseImageTriggerUpdateParameters = original.BaseImageTriggerUpdateParameters
type BuildTaskRequest = original.BuildTaskRequest
type BuildTaskStep = original.BuildTaskStep
type BuildTaskStepUpdateParameters = original.BuildTaskStepUpdateParameters
type CallbackConfig = original.CallbackConfig
type DockerBuildRequest = original.DockerBuildRequest
type DockerBuildStep = original.DockerBuildStep
type DockerBuildStepUpdateParameters = original.DockerBuildStepUpdateParameters
type Event = original.Event
type EventContent = original.EventContent
type EventInfo = original.EventInfo
Expand All @@ -114,6 +246,8 @@ type EventListResultIterator = original.EventListResultIterator
type EventListResultPage = original.EventListResultPage
type EventRequestMessage = original.EventRequestMessage
type EventResponseMessage = original.EventResponseMessage
type ImageDescriptor = original.ImageDescriptor
type ImageUpdateTrigger = original.ImageUpdateTrigger
type ImportImageParameters = original.ImportImageParameters
type ImportSource = original.ImportSource
type OperationDefinition = original.OperationDefinition
Expand All @@ -124,11 +258,16 @@ type OperationListResultPage = original.OperationListResultPage
type OperationMetricSpecificationDefinition = original.OperationMetricSpecificationDefinition
type OperationPropertiesDefinition = original.OperationPropertiesDefinition
type OperationServiceSpecificationDefinition = original.OperationServiceSpecificationDefinition
type PlatformProperties = original.PlatformProperties
type PlatformUpdateParameters = original.PlatformUpdateParameters
type ProxyResource = original.ProxyResource
type QuarantinePolicy = original.QuarantinePolicy
type QuickTaskRunRequest = original.QuickTaskRunRequest
type RegenerateCredentialParameters = original.RegenerateCredentialParameters
type RegistriesCreateFuture = original.RegistriesCreateFuture
type RegistriesDeleteFuture = original.RegistriesDeleteFuture
type RegistriesImportImageFuture = original.RegistriesImportImageFuture
type RegistriesScheduleRunFuture = original.RegistriesScheduleRunFuture
type RegistriesUpdateFuture = original.RegistriesUpdateFuture
type RegistriesUpdatePoliciesFuture = original.RegistriesUpdatePoliciesFuture
type Registry = original.Registry
Expand Down Expand Up @@ -156,11 +295,49 @@ type ReplicationsUpdateFuture = original.ReplicationsUpdateFuture
type ReplicationUpdateParameters = original.ReplicationUpdateParameters
type Request = original.Request
type Resource = original.Resource
type Run = original.Run
type RunFilter = original.RunFilter
type RunGetLogResult = original.RunGetLogResult
type RunListResult = original.RunListResult
type RunListResultIterator = original.RunListResultIterator
type RunListResultPage = original.RunListResultPage
type RunProperties = original.RunProperties
type BasicRunRequest = original.BasicRunRequest
type RunRequest = original.RunRequest
type RunsCancelFuture = original.RunsCancelFuture
type RunsUpdateFuture = original.RunsUpdateFuture
type RunTaskStep = original.RunTaskStep
type RunTaskStepUpdateParameters = original.RunTaskStepUpdateParameters
type RunUpdateParameters = original.RunUpdateParameters
type SetValue = original.SetValue
type Sku = original.Sku
type Source = original.Source
type SourceProperties = original.SourceProperties
type SourceTrigger = original.SourceTrigger
type SourceTriggerDescriptor = original.SourceTriggerDescriptor
type SourceTriggerUpdateParameters = original.SourceTriggerUpdateParameters
type SourceUpdateParameters = original.SourceUpdateParameters
type SourceUploadDefinition = original.SourceUploadDefinition
type Status = original.Status
type StorageAccountProperties = original.StorageAccountProperties
type Target = original.Target
type Task = original.Task
type TaskListResult = original.TaskListResult
type TaskListResultIterator = original.TaskListResultIterator
type TaskListResultPage = original.TaskListResultPage
type TaskProperties = original.TaskProperties
type TaskPropertiesUpdateParameters = original.TaskPropertiesUpdateParameters
type TaskRunRequest = original.TaskRunRequest
type TasksCreateFuture = original.TasksCreateFuture
type TasksDeleteFuture = original.TasksDeleteFuture
type BasicTaskStepProperties = original.BasicTaskStepProperties
type TaskStepProperties = original.TaskStepProperties
type BasicTaskStepUpdateParameters = original.BasicTaskStepUpdateParameters
type TaskStepUpdateParameters = original.TaskStepUpdateParameters
type TasksUpdateFuture = original.TasksUpdateFuture
type TaskUpdateParameters = original.TaskUpdateParameters
type TriggerProperties = original.TriggerProperties
type TriggerUpdateParameters = original.TriggerUpdateParameters
type TrustPolicy = original.TrustPolicy
type Webhook = original.Webhook
type WebhookCreateParameters = original.WebhookCreateParameters
Expand All @@ -177,6 +354,8 @@ type WebhookUpdateParameters = original.WebhookUpdateParameters
type OperationsClient = original.OperationsClient
type RegistriesClient = original.RegistriesClient
type ReplicationsClient = original.ReplicationsClient
type RunsClient = original.RunsClient
type TasksClient = original.TasksClient
type WebhooksClient = original.WebhooksClient

func New(subscriptionID string) BaseClient {
Expand All @@ -185,9 +364,21 @@ func New(subscriptionID string) BaseClient {
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient {
return original.NewWithBaseURI(baseURI, subscriptionID)
}
func PossibleArchitectureValues() []Architecture {
return original.PossibleArchitectureValues()
}
func PossibleBaseImageDependencyTypeValues() []BaseImageDependencyType {
return original.PossibleBaseImageDependencyTypeValues()
}
func PossibleBaseImageTriggerTypeValues() []BaseImageTriggerType {
return original.PossibleBaseImageTriggerTypeValues()
}
func PossibleImportModeValues() []ImportMode {
return original.PossibleImportModeValues()
}
func PossibleOSValues() []OS {
return original.PossibleOSValues()
}
func PossiblePasswordNameValues() []PasswordName {
return original.PossiblePasswordNameValues()
}
Expand All @@ -200,15 +391,48 @@ func PossibleProvisioningStateValues() []ProvisioningState {
func PossibleRegistryUsageUnitValues() []RegistryUsageUnit {
return original.PossibleRegistryUsageUnitValues()
}
func PossibleRunStatusValues() []RunStatus {
return original.PossibleRunStatusValues()
}
func PossibleRunTypeValues() []RunType {
return original.PossibleRunTypeValues()
}
func PossibleSkuNameValues() []SkuName {
return original.PossibleSkuNameValues()
}
func PossibleSkuTierValues() []SkuTier {
return original.PossibleSkuTierValues()
}
func PossibleSourceControlTypeValues() []SourceControlType {
return original.PossibleSourceControlTypeValues()
}
func PossibleSourceTriggerEventValues() []SourceTriggerEvent {
return original.PossibleSourceTriggerEventValues()
}
func PossibleTaskStatusValues() []TaskStatus {
return original.PossibleTaskStatusValues()
}
func PossibleTokenTypeValues() []TokenType {
return original.PossibleTokenTypeValues()
}
func PossibleTriggerStatusValues() []TriggerStatus {
return original.PossibleTriggerStatusValues()
}
func PossibleTrustPolicyTypeValues() []TrustPolicyType {
return original.PossibleTrustPolicyTypeValues()
}
func PossibleTypeValues() []Type {
return original.PossibleTypeValues()
}
func PossibleTypeBasicTaskStepPropertiesValues() []TypeBasicTaskStepProperties {
return original.PossibleTypeBasicTaskStepPropertiesValues()
}
func PossibleTypeBasicTaskStepUpdateParametersValues() []TypeBasicTaskStepUpdateParameters {
return original.PossibleTypeBasicTaskStepUpdateParametersValues()
}
func PossibleVariantValues() []Variant {
return original.PossibleVariantValues()
}
func PossibleWebhookActionValues() []WebhookAction {
return original.PossibleWebhookActionValues()
}
Expand All @@ -233,6 +457,18 @@ func NewReplicationsClient(subscriptionID string) ReplicationsClient {
func NewReplicationsClientWithBaseURI(baseURI string, subscriptionID string) ReplicationsClient {
return original.NewReplicationsClientWithBaseURI(baseURI, subscriptionID)
}
func NewRunsClient(subscriptionID string) RunsClient {
return original.NewRunsClient(subscriptionID)
}
func NewRunsClientWithBaseURI(baseURI string, subscriptionID string) RunsClient {
return original.NewRunsClientWithBaseURI(baseURI, subscriptionID)
}
func NewTasksClient(subscriptionID string) TasksClient {
return original.NewTasksClient(subscriptionID)
}
func NewTasksClientWithBaseURI(baseURI string, subscriptionID string) TasksClient {
return original.NewTasksClientWithBaseURI(baseURI, subscriptionID)
}
func UserAgent() string {
return original.UserAgent() + " profiles/preview"
}
Expand Down
Loading

0 comments on commit d54876d

Please sign in to comment.