containerregistry

package
Version: v57.4.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2021 License: MIT Imports: 10 Imported by: 58

Documentation

Overview

Package containerregistry implements the Azure ARM Containerregistry service API version .

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Containerregistry
	DefaultBaseURI = "https://management.azure.com"
)

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

Types

type Action

type Action string

Action enumerates the values for action.

const (
	// Allow ...
	Allow Action = "Allow"
)

func PossibleActionValues

func PossibleActionValues() []Action

PossibleActionValues returns an array of possible values for the Action const type.

type ActionsRequired

type ActionsRequired string

ActionsRequired enumerates the values for actions required.

const (
	// None ...
	None ActionsRequired = "None"
	// Recreate ...
	Recreate ActionsRequired = "Recreate"
)

func PossibleActionsRequiredValues

func PossibleActionsRequiredValues() []ActionsRequired

PossibleActionsRequiredValues returns an array of possible values for the ActionsRequired const type.

type ActiveDirectoryObject

type ActiveDirectoryObject struct {
	// ObjectID - The user/group/application object ID for Active Directory Object that will be used for authenticating the token of a container registry.
	ObjectID *string `json:"objectId,omitempty"`
	// TenantID - The tenant ID of user/group/application object Active Directory Object that will be used for authenticating the token of a container registry.
	TenantID *string `json:"tenantId,omitempty"`
}

ActiveDirectoryObject the Active Directory Object that will be used for authenticating the token of a container registry.

type Actor

type Actor struct {
	// Name - The subject or username associated with the request context that generated the event.
	Name *string `json:"name,omitempty"`
}

Actor the agent that initiated the event. For most situations, this could be from the authorization context of the request.

type AgentPool

type AgentPool struct {
	autorest.Response `json:"-"`
	// AgentPoolProperties - The properties associated with the agent pool
	*AgentPoolProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; The resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type *string `json:"type,omitempty"`
	// Location - The location of the resource. This cannot be changed after the resource is created.
	Location *string `json:"location,omitempty"`
	// Tags - The tags of the resource.
	Tags map[string]*string `json:"tags"`
	// SystemData - READ-ONLY; Metadata pertaining to creation and last modification of the resource.
	SystemData *SystemData `json:"systemData,omitempty"`
}

AgentPool the agentpool that has the ARM resource and properties. The agentpool will have all information to create an agent pool.

func (AgentPool) MarshalJSON

func (ap AgentPool) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AgentPool.

func (*AgentPool) UnmarshalJSON

func (ap *AgentPool) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AgentPool struct.

type AgentPoolListResult

type AgentPoolListResult struct {
	autorest.Response `json:"-"`
	// Value - The collection value.
	Value *[]AgentPool `json:"value,omitempty"`
	// NextLink - The URI that can be used to request the next set of paged results.
	NextLink *string `json:"nextLink,omitempty"`
}

AgentPoolListResult the collection of agent pools.

func (AgentPoolListResult) IsEmpty

func (aplr AgentPoolListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AgentPoolListResultIterator

type AgentPoolListResultIterator struct {
	// contains filtered or unexported fields
}

AgentPoolListResultIterator provides access to a complete listing of AgentPool values.

func NewAgentPoolListResultIterator

func NewAgentPoolListResultIterator(page AgentPoolListResultPage) AgentPoolListResultIterator

Creates a new instance of the AgentPoolListResultIterator type.

func (*AgentPoolListResultIterator) Next deprecated

This method has been deprecated.
func (iter *AgentPoolListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AgentPoolListResultIterator) NextWithContext

func (iter *AgentPoolListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (AgentPoolListResultIterator) NotDone

func (iter AgentPoolListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (AgentPoolListResultIterator) Response

Response returns the raw server response from the last page request.

func (AgentPoolListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type AgentPoolListResultPage

type AgentPoolListResultPage struct {
	// contains filtered or unexported fields
}

AgentPoolListResultPage contains a page of AgentPool values.

func NewAgentPoolListResultPage

func NewAgentPoolListResultPage(cur AgentPoolListResult, getNextPage func(context.Context, AgentPoolListResult) (AgentPoolListResult, error)) AgentPoolListResultPage

Creates a new instance of the AgentPoolListResultPage type.

func (*AgentPoolListResultPage) Next deprecated

This method has been deprecated.
func (page *AgentPoolListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*AgentPoolListResultPage) NextWithContext

func (page *AgentPoolListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (AgentPoolListResultPage) NotDone

func (page AgentPoolListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (AgentPoolListResultPage) Response

Response returns the raw server response from the last page request.

func (AgentPoolListResultPage) Values

func (page AgentPoolListResultPage) Values() []AgentPool

Values returns the slice of values for the current page or nil if there are no values.

type AgentPoolProperties

type AgentPoolProperties struct {
	// Count - The count of agent machine
	Count *int32 `json:"count,omitempty"`
	// Tier - The Tier of agent machine
	Tier *string `json:"tier,omitempty"`
	// Os - The OS of agent machine. Possible values include: 'Windows', 'Linux'
	Os OS `json:"os,omitempty"`
	// VirtualNetworkSubnetResourceID - The Virtual Network Subnet Resource Id of the agent machine
	VirtualNetworkSubnetResourceID *string `json:"virtualNetworkSubnetResourceId,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of this agent pool. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

AgentPoolProperties the properties of agent pool.

func (AgentPoolProperties) MarshalJSON

func (app AgentPoolProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AgentPoolProperties.

type AgentPoolPropertiesUpdateParameters

type AgentPoolPropertiesUpdateParameters struct {
	// Count - The count of agent machine
	Count *int32 `json:"count,omitempty"`
}

AgentPoolPropertiesUpdateParameters ...

type AgentPoolQueueStatus

type AgentPoolQueueStatus struct {
	autorest.Response `json:"-"`
	// Count - The number of pending runs in the queue
	Count *int32 `json:"count,omitempty"`
}

AgentPoolQueueStatus the QueueStatus of Agent Pool

type AgentPoolUpdateParameters

type AgentPoolUpdateParameters struct {
	// AgentPoolPropertiesUpdateParameters - The properties associated with the agent pool
	*AgentPoolPropertiesUpdateParameters `json:"properties,omitempty"`
	// Tags - The ARM resource tags.
	Tags map[string]*string `json:"tags"`
}

AgentPoolUpdateParameters the parameters for updating an agent pool.

func (AgentPoolUpdateParameters) MarshalJSON

func (apup AgentPoolUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AgentPoolUpdateParameters.

func (*AgentPoolUpdateParameters) UnmarshalJSON

func (apup *AgentPoolUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AgentPoolUpdateParameters struct.

type AgentPoolsClient

type AgentPoolsClient struct {
	BaseClient
}

AgentPoolsClient is the client for the AgentPools methods of the Containerregistry service.

func NewAgentPoolsClient

func NewAgentPoolsClient(subscriptionID string) AgentPoolsClient

NewAgentPoolsClient creates an instance of the AgentPoolsClient client.

func NewAgentPoolsClientWithBaseURI

func NewAgentPoolsClientWithBaseURI(baseURI string, subscriptionID string) AgentPoolsClient

NewAgentPoolsClientWithBaseURI creates an instance of the AgentPoolsClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (AgentPoolsClient) Create

func (client AgentPoolsClient) Create(ctx context.Context, resourceGroupName string, registryName string, agentPoolName string, agentPool AgentPool) (result AgentPoolsCreateFuture, err error)

Create creates an agent pool for a container registry with the specified parameters. Parameters: resourceGroupName - the name of the resource group to which the container registry belongs. registryName - the name of the container registry. agentPoolName - the name of the agent pool. agentPool - the parameters of an agent pool that needs to scheduled.

func (AgentPoolsClient) CreatePreparer

func (client AgentPoolsClient) CreatePreparer(ctx context.Context, resourceGroupName string, registryName string, agentPoolName string, agentPool AgentPool) (*http.Request, error)

CreatePreparer prepares the Create request.

func (AgentPoolsClient) CreateResponder

func (client AgentPoolsClient) CreateResponder(resp *http.Response) (result AgentPool, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (AgentPoolsClient) CreateSender

func (client AgentPoolsClient) CreateSender(req *http.Request) (future AgentPoolsCreateFuture, err error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (AgentPoolsClient) Delete

func (client AgentPoolsClient) Delete(ctx context.Context, resourceGroupName string, registryName string, agentPoolName string) (result AgentPoolsDeleteFuture, err error)

Delete deletes a specified agent pool resource. Parameters: resourceGroupName - the name of the resource group to which the container registry belongs. registryName - the name of the container registry. agentPoolName - the name of the agent pool.

func (AgentPoolsClient) DeletePreparer

func (client AgentPoolsClient) DeletePreparer(ctx context.Context, resourceGroupName string, registryName string, agentPoolName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (AgentPoolsClient) DeleteResponder

func (client AgentPoolsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (AgentPoolsClient) DeleteSender

func (client AgentPoolsClient) DeleteSender(req *http.Request) (future AgentPoolsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (AgentPoolsClient) Get

func (client AgentPoolsClient) Get(ctx context.Context, resourceGroupName string, registryName string, agentPoolName string) (result AgentPool, err error)

Get gets the detailed information for a given agent pool. Parameters: resourceGroupName - the name of the resource group to which the container registry belongs. registryName - the name of the container registry. agentPoolName - the name of the agent pool.

func (AgentPoolsClient) GetPreparer

func (client AgentPoolsClient) GetPreparer(ctx context.Context, resourceGroupName string, registryName string, agentPoolName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (AgentPoolsClient) GetQueueStatus

func (client AgentPoolsClient) GetQueueStatus(ctx context.Context, resourceGroupName string, registryName string, agentPoolName string) (result AgentPoolQueueStatus, err error)

GetQueueStatus gets the count of queued runs for a given agent pool. Parameters: resourceGroupName - the name of the resource group to which the container registry belongs. registryName - the name of the container registry. agentPoolName - the name of the agent pool.

func (AgentPoolsClient) GetQueueStatusPreparer

func (client AgentPoolsClient) GetQueueStatusPreparer(ctx context.Context, resourceGroupName string, registryName string, agentPoolName string) (*http.Request, error)

GetQueueStatusPreparer prepares the GetQueueStatus request.

func (AgentPoolsClient) GetQueueStatusResponder

func (client AgentPoolsClient) GetQueueStatusResponder(resp *http.Response) (result AgentPoolQueueStatus, err error)

GetQueueStatusResponder handles the response to the GetQueueStatus request. The method always closes the http.Response Body.

func (AgentPoolsClient) GetQueueStatusSender

func (client AgentPoolsClient) GetQueueStatusSender(req *http.Request) (*http.Response, error)

GetQueueStatusSender sends the GetQueueStatus request. The method will close the http.Response Body if it receives an error.

func (AgentPoolsClient) GetResponder

func (client AgentPoolsClient) GetResponder(resp *http.Response) (result AgentPool, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (AgentPoolsClient) GetSender

func (client AgentPoolsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (AgentPoolsClient) List

func (client AgentPoolsClient) List(ctx context.Context, resourceGroupName string, registryName string) (result AgentPoolListResultPage, err error)

List lists all the agent pools for a specified container registry. Parameters: resourceGroupName - the name of the resource group to which the container registry belongs. registryName - the name of the container registry.

func (AgentPoolsClient) ListComplete

func (client AgentPoolsClient) ListComplete(ctx context.Context, resourceGroupName string, registryName string) (result AgentPoolListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (AgentPoolsClient) ListPreparer

func (client AgentPoolsClient) ListPreparer(ctx context.Context, resourceGroupName string, registryName string) (*http.Request, error)

ListPreparer prepares the List request.

func (AgentPoolsClient) ListResponder

func (client AgentPoolsClient) ListResponder(resp *http.Response) (result AgentPoolListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (AgentPoolsClient) ListSender

func (client AgentPoolsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (AgentPoolsClient) Update

func (client AgentPoolsClient) Update(ctx context.Context, resourceGroupName string, registryName string, agentPoolName string, updateParameters AgentPoolUpdateParameters) (result AgentPoolsUpdateFuture, err error)

Update updates an agent pool with the specified parameters. Parameters: resourceGroupName - the name of the resource group to which the container registry belongs. registryName - the name of the container registry. agentPoolName - the name of the agent pool. updateParameters - the parameters for updating an agent pool.

func (AgentPoolsClient) UpdatePreparer

func (client AgentPoolsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, registryName string, agentPoolName string, updateParameters AgentPoolUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (AgentPoolsClient) UpdateResponder

func (client AgentPoolsClient) UpdateResponder(resp *http.Response) (result AgentPool, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (AgentPoolsClient) UpdateSender

func (client AgentPoolsClient) UpdateSender(req *http.Request) (future AgentPoolsUpdateFuture, err error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type AgentPoolsCreateFuture

type AgentPoolsCreateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(AgentPoolsClient) (AgentPool, error)
}

AgentPoolsCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*AgentPoolsCreateFuture) UnmarshalJSON

func (future *AgentPoolsCreateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type AgentPoolsDeleteFuture

type AgentPoolsDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(AgentPoolsClient) (autorest.Response, error)
}

AgentPoolsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*AgentPoolsDeleteFuture) UnmarshalJSON

func (future *AgentPoolsDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type AgentPoolsUpdateFuture

type AgentPoolsUpdateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(AgentPoolsClient) (AgentPool, error)
}

AgentPoolsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*AgentPoolsUpdateFuture) UnmarshalJSON

func (future *AgentPoolsUpdateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type AgentProperties

type AgentProperties struct {
	// CPU - The CPU configuration in terms of number of cores required for the run.
	CPU *int32 `json:"cpu,omitempty"`
}

AgentProperties the properties that determine the run agent configuration.

type Architecture

type Architecture string

Architecture enumerates the values for architecture.

const (
	// Amd64 ...
	Amd64 Architecture = "amd64"
	// Arm ...
	Arm Architecture = "arm"
	// Arm64 ...
	Arm64 Architecture = "arm64"
	// ThreeEightSix ...
	ThreeEightSix Architecture = "386"
	// X86 ...
	X86 Architecture = "x86"
)

func PossibleArchitectureValues

func PossibleArchitectureValues() []Architecture

PossibleArchitectureValues returns an array of possible values for the Architecture const type.

type Argument

type Argument struct {
	// Name - The name of the argument.
	Name *string `json:"name,omitempty"`
	// Value - The value of the argument.
	Value *string `json:"value,omitempty"`
	// IsSecret - Flag to indicate whether the argument represents a secret and want to be removed from build logs.
	IsSecret *bool `json:"isSecret,omitempty"`
}

Argument the properties of a run argument.

type AuthInfo

type AuthInfo struct {
	// TokenType - The type of Auth token. Possible values include: 'PAT', 'OAuth'
	TokenType TokenType `json:"tokenType,omitempty"`
	// Token - The access token used to access the source control provider.
	Token *string `json:"token,omitempty"`
	// RefreshToken - The refresh token used to refresh the access token.
	RefreshToken *string `json:"refreshToken,omitempty"`
	// Scope - The scope of the access token.
	Scope *string `json:"scope,omitempty"`
	// ExpiresIn - Time in seconds that the token remains valid
	ExpiresIn *int32 `json:"expiresIn,omitempty"`
}

AuthInfo the authorization properties for accessing the source code repository.

type AuthInfoUpdateParameters

type AuthInfoUpdateParameters struct {
	// TokenType - The type of Auth token. Possible values include: 'PAT', 'OAuth'
	TokenType TokenType `json:"tokenType,omitempty"`
	// Token - The access token used to access the source control provider.
	Token *string `json:"token,omitempty"`
	// RefreshToken - The refresh token used to refresh the access token.
	RefreshToken *string `json:"refreshToken,omitempty"`
	// Scope - The scope of the access token.
	Scope *string `json:"scope,omitempty"`
	// ExpiresIn - Time in seconds that the token remains valid
	ExpiresIn *int32 `json:"expiresIn,omitempty"`
}

AuthInfoUpdateParameters the authorization properties for accessing the source code repository.

type BaseClient

type BaseClient struct {
	autorest.Client
	BaseURI        string
	SubscriptionID string
}

BaseClient is the base client for Containerregistry.

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

type BaseImageDependency

type BaseImageDependency struct {
	// Type - The type of the base image dependency. Possible values include: 'BuildTime', 'RunTime'
	Type BaseImageDependencyType `json:"type,omitempty"`
	// Registry - The registry login server.
	Registry *string `json:"registry,omitempty"`
	// Repository - The repository name.
	Repository *string `json:"repository,omitempty"`
	// Tag - The tag name.
	Tag *string `json:"tag,omitempty"`
	// Digest - The sha256-based digest of the image manifest.
	Digest *string `json:"digest,omitempty"`
}

BaseImageDependency properties that describe a base image dependency.

type BaseImageDependencyType

type BaseImageDependencyType string

BaseImageDependencyType enumerates the values for base image dependency type.

const (
	// BuildTime ...
	BuildTime BaseImageDependencyType = "BuildTime"
	// RunTime ...
	RunTime BaseImageDependencyType = "RunTime"
)

func PossibleBaseImageDependencyTypeValues

func PossibleBaseImageDependencyTypeValues() []BaseImageDependencyType

PossibleBaseImageDependencyTypeValues returns an array of possible values for the BaseImageDependencyType const type.

type BaseImageTrigger

type BaseImageTrigger struct {
	// BaseImageTriggerType - The type of the auto trigger for base image dependency updates. Possible values include: 'All', 'Runtime'
	BaseImageTriggerType BaseImageTriggerType `json:"baseImageTriggerType,omitempty"`
	// UpdateTriggerEndpoint - The endpoint URL for receiving update triggers.
	UpdateTriggerEndpoint *string `json:"updateTriggerEndpoint,omitempty"`
	// UpdateTriggerPayloadType - Type of Payload body for Base image update triggers. Possible values include: 'UpdateTriggerPayloadTypeDefault', 'UpdateTriggerPayloadTypeToken'
	UpdateTriggerPayloadType UpdateTriggerPayloadType `json:"updateTriggerPayloadType,omitempty"`
	// Status - The current status of trigger. Possible values include: 'TriggerStatusEnabled', 'TriggerStatusDisabled'
	Status TriggerStatus `json:"status,omitempty"`
	// Name - The name of the trigger.
	Name *string `json:"name,omitempty"`
}

BaseImageTrigger the trigger based on base image dependency.

type BaseImageTriggerType

type BaseImageTriggerType string

BaseImageTriggerType enumerates the values for base image trigger type.

const (
	// All ...
	All BaseImageTriggerType = "All"
	// Runtime ...
	Runtime BaseImageTriggerType = "Runtime"
)

func PossibleBaseImageTriggerTypeValues

func PossibleBaseImageTriggerTypeValues() []BaseImageTriggerType

PossibleBaseImageTriggerTypeValues returns an array of possible values for the BaseImageTriggerType const type.

type BaseImageTriggerUpdateParameters

type BaseImageTriggerUpdateParameters struct {
	// BaseImageTriggerType - The type of the auto trigger for base image dependency updates. Possible values include: 'All', 'Runtime'
	BaseImageTriggerType BaseImageTriggerType `json:"baseImageTriggerType,omitempty"`
	// UpdateTriggerEndpoint - The endpoint URL for receiving update triggers.
	UpdateTriggerEndpoint *string `json:"updateTriggerEndpoint,omitempty"`
	// UpdateTriggerPayloadType - Type of Payload body for Base image update triggers. Possible values include: 'UpdateTriggerPayloadTypeDefault', 'UpdateTriggerPayloadTypeToken'
	UpdateTriggerPayloadType UpdateTriggerPayloadType `json:"updateTriggerPayloadType,omitempty"`
	// Status - The current status of trigger. Possible values include: 'TriggerStatusEnabled', 'TriggerStatusDisabled'
	Status TriggerStatus `json:"status,omitempty"`
	// Name - The name of the trigger.
	Name *string `json:"name,omitempty"`
}

BaseImageTriggerUpdateParameters the properties for updating base image dependency trigger.

type BasicRunRequest

type BasicRunRequest interface {
	AsDockerBuildRequest() (*DockerBuildRequest, bool)
	AsFileTaskRunRequest() (*FileTaskRunRequest, bool)
	AsTaskRunRequest() (*TaskRunRequest, bool)
	AsEncodedTaskRunRequest() (*EncodedTaskRunRequest, bool)
	AsRunRequest() (*RunRequest, bool)
}

BasicRunRequest the request parameters for scheduling a run.

type BasicTaskStepProperties

type BasicTaskStepProperties interface {
	AsDockerBuildStep() (*DockerBuildStep, bool)
	AsFileTaskStep() (*FileTaskStep, bool)
	AsEncodedTaskStep() (*EncodedTaskStep, bool)
	AsTaskStepProperties() (*TaskStepProperties, bool)
}

BasicTaskStepProperties base properties for any task step.

type BasicTaskStepUpdateParameters

type BasicTaskStepUpdateParameters interface {
	AsDockerBuildStepUpdateParameters() (*DockerBuildStepUpdateParameters, bool)
	AsFileTaskStepUpdateParameters() (*FileTaskStepUpdateParameters, bool)
	AsEncodedTaskStepUpdateParameters() (*EncodedTaskStepUpdateParameters, bool)
	AsTaskStepUpdateParameters() (*TaskStepUpdateParameters, bool)
}

BasicTaskStepUpdateParameters base properties for updating any task step.

type CallbackConfig

type CallbackConfig struct {
	autorest.Response `json:"-"`
	// ServiceURI - The service URI for the webhook to post notifications.
	ServiceURI *string `json:"serviceUri,omitempty"`
	// CustomHeaders - Custom headers that will be added to the webhook notifications.
	CustomHeaders map[string]*string `json:"customHeaders"`
}

CallbackConfig the configuration of service URI and custom headers for the webhook.

func (CallbackConfig) MarshalJSON

func (cc CallbackConfig) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CallbackConfig.

type ConnectionStatus

type ConnectionStatus string

ConnectionStatus enumerates the values for connection status.

const (
	// Approved ...
	Approved ConnectionStatus = "Approved"
	// Disconnected ...
	Disconnected ConnectionStatus = "Disconnected"
	// Pending ...
	Pending ConnectionStatus = "Pending"
	// Rejected ...
	Rejected ConnectionStatus = "Rejected"
)

func PossibleConnectionStatusValues

func PossibleConnectionStatusValues() []ConnectionStatus

PossibleConnectionStatusValues returns an array of possible values for the ConnectionStatus const type.

type CreatedByType

type CreatedByType string

CreatedByType enumerates the values for created by type.

const (
	// Application ...
	Application CreatedByType = "Application"
	// Key ...
	Key CreatedByType = "Key"
	// ManagedIdentity ...
	ManagedIdentity CreatedByType = "ManagedIdentity"
	// User ...
	User CreatedByType = "User"
)

func PossibleCreatedByTypeValues

func PossibleCreatedByTypeValues() []CreatedByType

PossibleCreatedByTypeValues returns an array of possible values for the CreatedByType const type.

type Credentials

type Credentials struct {
	// SourceRegistry - Describes the credential parameters for accessing the source registry.
	SourceRegistry *SourceRegistryCredentials `json:"sourceRegistry,omitempty"`
	// CustomRegistries - Describes the credential parameters for accessing other custom registries. The key
	// for the dictionary item will be the registry login server (myregistry.azurecr.io) and
	// the value of the item will be the registry credentials for accessing the registry.
	CustomRegistries map[string]*CustomRegistryCredentials `json:"customRegistries"`
}

Credentials the parameters that describes a set of credentials that will be used when a run is invoked.

func (Credentials) MarshalJSON

func (c Credentials) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Credentials.

type CustomRegistryCredentials

type CustomRegistryCredentials struct {
	// UserName - The username for logging into the custom registry.
	UserName *SecretObject `json:"userName,omitempty"`
	// Password - The password for logging into the custom registry. The password is a secret
	// object that allows multiple ways of providing the value for it.
	Password *SecretObject `json:"password,omitempty"`
	// Identity - Indicates the managed identity assigned to the custom credential. If a user-assigned identity
	// this value is the Client ID. If a system-assigned identity, the value will be `system`. In
	// the case of a system-assigned identity, the Client ID will be determined by the runner. This
	// identity may be used to authenticate to key vault to retrieve credentials or it may be the only
	// source of authentication used for accessing the registry.
	Identity *string `json:"identity,omitempty"`
}

CustomRegistryCredentials describes the credentials that will be used to access a custom registry during a run.

type DefaultAction

type DefaultAction string

DefaultAction enumerates the values for default action.

const (
	// DefaultActionAllow ...
	DefaultActionAllow DefaultAction = "Allow"
	// DefaultActionDeny ...
	DefaultActionDeny DefaultAction = "Deny"
)

func PossibleDefaultActionValues

func PossibleDefaultActionValues() []DefaultAction

PossibleDefaultActionValues returns an array of possible values for the DefaultAction const type.

type DockerBuildRequest

type DockerBuildRequest struct {
	// ImageNames - The fully qualified image names including the repository and tag.
	ImageNames *[]string `json:"imageNames,omitempty"`
	// IsPushEnabled - The value of this property indicates whether the image built should be pushed to the registry or not.
	IsPushEnabled *bool `json:"isPushEnabled,omitempty"`
	// NoCache - The value of this property indicates whether the image cache is enabled or not.
	NoCache *bool `json:"noCache,omitempty"`
	// DockerFilePath - The Docker file path relative to the source location.
	DockerFilePath *string `json:"dockerFilePath,omitempty"`
	// Target - The name of the target build stage for the docker build.
	Target *string `json:"target,omitempty"`
	// Arguments - The collection of override arguments to be used when executing the run.
	Arguments *[]Argument `json:"arguments,omitempty"`
	// Timeout - Run timeout in seconds.
	Timeout *int32 `json:"timeout,omitempty"`
	// Platform - The platform properties against which the run has to happen.
	Platform *PlatformProperties `json:"platform,omitempty"`
	// AgentConfiguration - The machine configuration of the run agent.
	AgentConfiguration *AgentProperties `json:"agentConfiguration,omitempty"`
	// SourceLocation - The URL(absolute or relative) of the source context. It can be an URL to a tar or git repository.
	// If it is relative URL, the relative path should be obtained from calling listBuildSourceUploadUrl API.
	SourceLocation *string `json:"sourceLocation,omitempty"`
	// Credentials - The properties that describes a set of credentials that will be used when this run is invoked.
	Credentials *Credentials `json:"credentials,omitempty"`
	// IsArchiveEnabled - The value that indicates whether archiving is enabled for the run or not.
	IsArchiveEnabled *bool `json:"isArchiveEnabled,omitempty"`
	// AgentPoolName - The dedicated agent pool for the run.
	AgentPoolName *string `json:"agentPoolName,omitempty"`
	// LogTemplate - The template that describes the repository and tag information for run log artifact.
	LogTemplate *string `json:"logTemplate,omitempty"`
	// Type - Possible values include: 'TypeRunRequest', 'TypeDockerBuildRequest', 'TypeFileTaskRunRequest', 'TypeTaskRunRequest', 'TypeEncodedTaskRunRequest'
	Type Type `json:"type,omitempty"`
}

DockerBuildRequest the parameters for a docker quick build.

func (DockerBuildRequest) AsBasicRunRequest

func (dbr DockerBuildRequest) AsBasicRunRequest() (BasicRunRequest, bool)

AsBasicRunRequest is the BasicRunRequest implementation for DockerBuildRequest.

func (DockerBuildRequest) AsDockerBuildRequest

func (dbr DockerBuildRequest) AsDockerBuildRequest() (*DockerBuildRequest, bool)

AsDockerBuildRequest is the BasicRunRequest implementation for DockerBuildRequest.

func (DockerBuildRequest) AsEncodedTaskRunRequest

func (dbr DockerBuildRequest) AsEncodedTaskRunRequest() (*EncodedTaskRunRequest, bool)

AsEncodedTaskRunRequest is the BasicRunRequest implementation for DockerBuildRequest.

func (DockerBuildRequest) AsFileTaskRunRequest

func (dbr DockerBuildRequest) AsFileTaskRunRequest() (*FileTaskRunRequest, bool)

AsFileTaskRunRequest is the BasicRunRequest implementation for DockerBuildRequest.

func (DockerBuildRequest) AsRunRequest

func (dbr DockerBuildRequest) AsRunRequest() (*RunRequest, bool)

AsRunRequest is the BasicRunRequest implementation for DockerBuildRequest.

func (DockerBuildRequest) AsTaskRunRequest

func (dbr DockerBuildRequest) AsTaskRunRequest() (*TaskRunRequest, bool)

AsTaskRunRequest is the BasicRunRequest implementation for DockerBuildRequest.

func (DockerBuildRequest) MarshalJSON

func (dbr DockerBuildRequest) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DockerBuildRequest.

type DockerBuildStep

type DockerBuildStep struct {
	// ImageNames - The fully qualified image names including the repository and tag.
	ImageNames *[]string `json:"imageNames,omitempty"`
	// IsPushEnabled - The value of this property indicates whether the image built should be pushed to the registry or not.
	IsPushEnabled *bool `json:"isPushEnabled,omitempty"`
	// NoCache - The value of this property indicates whether the image cache is enabled or not.
	NoCache *bool `json:"noCache,omitempty"`
	// DockerFilePath - The Docker file path relative to the source context.
	DockerFilePath *string `json:"dockerFilePath,omitempty"`
	// Target - The name of the target build stage for the docker build.
	Target *string `json:"target,omitempty"`
	// Arguments - The collection of override arguments to be used when executing this build step.
	Arguments *[]Argument `json:"arguments,omitempty"`
	// BaseImageDependencies - READ-ONLY; List of base image dependencies for a step.
	BaseImageDependencies *[]BaseImageDependency `json:"baseImageDependencies,omitempty"`
	// ContextPath - The URL(absolute or relative) of the source context for the task step.
	ContextPath *string `json:"contextPath,omitempty"`
	// ContextAccessToken - The token (git PAT or SAS token of storage account blob) associated with the context for a step.
	ContextAccessToken *string `json:"contextAccessToken,omitempty"`
	// Type - Possible values include: 'TypeTaskStepProperties', 'TypeDocker', 'TypeFileTask', 'TypeEncodedTask'
	Type TypeBasicTaskStepProperties `json:"type,omitempty"`
}

DockerBuildStep the Docker build step.

func (DockerBuildStep) AsBasicTaskStepProperties

func (dbs DockerBuildStep) AsBasicTaskStepProperties() (BasicTaskStepProperties, bool)

AsBasicTaskStepProperties is the BasicTaskStepProperties implementation for DockerBuildStep.

func (DockerBuildStep) AsDockerBuildStep

func (dbs DockerBuildStep) AsDockerBuildStep() (*DockerBuildStep, bool)

AsDockerBuildStep is the BasicTaskStepProperties implementation for DockerBuildStep.

func (DockerBuildStep) AsEncodedTaskStep

func (dbs DockerBuildStep) AsEncodedTaskStep() (*EncodedTaskStep, bool)

AsEncodedTaskStep is the BasicTaskStepProperties implementation for DockerBuildStep.

func (DockerBuildStep) AsFileTaskStep

func (dbs DockerBuildStep) AsFileTaskStep() (*FileTaskStep, bool)

AsFileTaskStep is the BasicTaskStepProperties implementation for DockerBuildStep.

func (DockerBuildStep) AsTaskStepProperties

func (dbs DockerBuildStep) AsTaskStepProperties() (*TaskStepProperties, bool)

AsTaskStepProperties is the BasicTaskStepProperties implementation for DockerBuildStep.

func (DockerBuildStep) MarshalJSON

func (dbs DockerBuildStep) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DockerBuildStep.

type DockerBuildStepUpdateParameters

type DockerBuildStepUpdateParameters struct {
	// ImageNames - The fully qualified image names including the repository and tag.
	ImageNames *[]string `json:"imageNames,omitempty"`
	// IsPushEnabled - The value of this property indicates whether the image built should be pushed to the registry or not.
	IsPushEnabled *bool `json:"isPushEnabled,omitempty"`
	// NoCache - The value of this property indicates whether the image cache is enabled or not.
	NoCache *bool `json:"noCache,omitempty"`
	// DockerFilePath - The Docker file path relative to the source context.
	DockerFilePath *string `json:"dockerFilePath,omitempty"`
	// Arguments - The collection of override arguments to be used when executing this build step.
	Arguments *[]Argument `json:"arguments,omitempty"`
	// Target - The name of the target build stage for the docker build.
	Target *string `json:"target,omitempty"`
	// ContextPath - The URL(absolute or relative) of the source context for the task step.
	ContextPath *string `json:"contextPath,omitempty"`
	// ContextAccessToken - The token (git PAT or SAS token of storage account blob) associated with the context for a step.
	ContextAccessToken *string `json:"contextAccessToken,omitempty"`
	// Type - Possible values include: 'TypeBasicTaskStepUpdateParametersTypeTaskStepUpdateParameters', 'TypeBasicTaskStepUpdateParametersTypeDocker', 'TypeBasicTaskStepUpdateParametersTypeFileTask', 'TypeBasicTaskStepUpdateParametersTypeEncodedTask'
	Type TypeBasicTaskStepUpdateParameters `json:"type,omitempty"`
}

DockerBuildStepUpdateParameters the properties for updating a docker build step.

func (DockerBuildStepUpdateParameters) AsBasicTaskStepUpdateParameters

func (dbsup DockerBuildStepUpdateParameters) AsBasicTaskStepUpdateParameters() (BasicTaskStepUpdateParameters, bool)

AsBasicTaskStepUpdateParameters is the BasicTaskStepUpdateParameters implementation for DockerBuildStepUpdateParameters.

func (DockerBuildStepUpdateParameters) AsDockerBuildStepUpdateParameters

func (dbsup DockerBuildStepUpdateParameters) AsDockerBuildStepUpdateParameters() (*DockerBuildStepUpdateParameters, bool)

AsDockerBuildStepUpdateParameters is the BasicTaskStepUpdateParameters implementation for DockerBuildStepUpdateParameters.

func (DockerBuildStepUpdateParameters) AsEncodedTaskStepUpdateParameters

func (dbsup DockerBuildStepUpdateParameters) AsEncodedTaskStepUpdateParameters() (*EncodedTaskStepUpdateParameters, bool)

AsEncodedTaskStepUpdateParameters is the BasicTaskStepUpdateParameters implementation for DockerBuildStepUpdateParameters.

func (DockerBuildStepUpdateParameters) AsFileTaskStepUpdateParameters

func (dbsup DockerBuildStepUpdateParameters) AsFileTaskStepUpdateParameters() (*FileTaskStepUpdateParameters, bool)

AsFileTaskStepUpdateParameters is the BasicTaskStepUpdateParameters implementation for DockerBuildStepUpdateParameters.

func (DockerBuildStepUpdateParameters) AsTaskStepUpdateParameters

func (dbsup DockerBuildStepUpdateParameters) AsTaskStepUpdateParameters() (*TaskStepUpdateParameters, bool)

AsTaskStepUpdateParameters is the BasicTaskStepUpdateParameters implementation for DockerBuildStepUpdateParameters.

func (DockerBuildStepUpdateParameters) MarshalJSON

func (dbsup DockerBuildStepUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DockerBuildStepUpdateParameters.

type EncodedTaskRunRequest

type EncodedTaskRunRequest struct {
	// EncodedTaskContent - Base64 encoded value of the template/definition file content.
	EncodedTaskContent *string `json:"encodedTaskContent,omitempty"`
	// EncodedValuesContent - Base64 encoded value of the parameters/values file content.
	EncodedValuesContent *string `json:"encodedValuesContent,omitempty"`
	// Values - The collection of overridable values that can be passed when running a task.
	Values *[]SetValue `json:"values,omitempty"`
	// Timeout - Run timeout in seconds.
	Timeout *int32 `json:"timeout,omitempty"`
	// Platform - The platform properties against which the run has to happen.
	Platform *PlatformProperties `json:"platform,omitempty"`
	// AgentConfiguration - The machine configuration of the run agent.
	AgentConfiguration *AgentProperties `json:"agentConfiguration,omitempty"`
	// SourceLocation - The URL(absolute or relative) of the source context. It can be an URL to a tar or git repository.
	// If it is relative URL, the relative path should be obtained from calling listBuildSourceUploadUrl API.
	SourceLocation *string `json:"sourceLocation,omitempty"`
	// Credentials - The properties that describes a set of credentials that will be used when this run is invoked.
	Credentials *Credentials `json:"credentials,omitempty"`
	// IsArchiveEnabled - The value that indicates whether archiving is enabled for the run or not.
	IsArchiveEnabled *bool `json:"isArchiveEnabled,omitempty"`
	// AgentPoolName - The dedicated agent pool for the run.
	AgentPoolName *string `json:"agentPoolName,omitempty"`
	// LogTemplate - The template that describes the repository and tag information for run log artifact.
	LogTemplate *string `json:"logTemplate,omitempty"`
	// Type - Possible values include: 'TypeRunRequest', 'TypeDockerBuildRequest', 'TypeFileTaskRunRequest', 'TypeTaskRunRequest', 'TypeEncodedTaskRunRequest'
	Type Type `json:"type,omitempty"`
}

EncodedTaskRunRequest the parameters for a quick task run request.

func (EncodedTaskRunRequest) AsBasicRunRequest

func (etrr EncodedTaskRunRequest) AsBasicRunRequest() (BasicRunRequest, bool)

AsBasicRunRequest is the BasicRunRequest implementation for EncodedTaskRunRequest.

func (EncodedTaskRunRequest) AsDockerBuildRequest

func (etrr EncodedTaskRunRequest) AsDockerBuildRequest() (*DockerBuildRequest, bool)

AsDockerBuildRequest is the BasicRunRequest implementation for EncodedTaskRunRequest.

func (EncodedTaskRunRequest) AsEncodedTaskRunRequest

func (etrr EncodedTaskRunRequest) AsEncodedTaskRunRequest() (*EncodedTaskRunRequest, bool)

AsEncodedTaskRunRequest is the BasicRunRequest implementation for EncodedTaskRunRequest.

func (EncodedTaskRunRequest) AsFileTaskRunRequest

func (etrr EncodedTaskRunRequest) AsFileTaskRunRequest() (*FileTaskRunRequest, bool)

AsFileTaskRunRequest is the BasicRunRequest implementation for EncodedTaskRunRequest.

func (EncodedTaskRunRequest) AsRunRequest

func (etrr EncodedTaskRunRequest) AsRunRequest() (*RunRequest, bool)

AsRunRequest is the BasicRunRequest implementation for EncodedTaskRunRequest.

func (EncodedTaskRunRequest) AsTaskRunRequest

func (etrr EncodedTaskRunRequest) AsTaskRunRequest() (*TaskRunRequest, bool)

AsTaskRunRequest is the BasicRunRequest implementation for EncodedTaskRunRequest.

func (EncodedTaskRunRequest) MarshalJSON

func (etrr EncodedTaskRunRequest) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EncodedTaskRunRequest.

type EncodedTaskStep

type EncodedTaskStep struct {
	// EncodedTaskContent - Base64 encoded value of the template/definition file content.
	EncodedTaskContent *string `json:"encodedTaskContent,omitempty"`
	// EncodedValuesContent - Base64 encoded value of the parameters/values file content.
	EncodedValuesContent *string `json:"encodedValuesContent,omitempty"`
	// Values - The collection of overridable values that can be passed when running a task.
	Values *[]SetValue `json:"values,omitempty"`
	// BaseImageDependencies - READ-ONLY; List of base image dependencies for a step.
	BaseImageDependencies *[]BaseImageDependency `json:"baseImageDependencies,omitempty"`
	// ContextPath - The URL(absolute or relative) of the source context for the task step.
	ContextPath *string `json:"contextPath,omitempty"`
	// ContextAccessToken - The token (git PAT or SAS token of storage account blob) associated with the context for a step.
	ContextAccessToken *string `json:"contextAccessToken,omitempty"`
	// Type - Possible values include: 'TypeTaskStepProperties', 'TypeDocker', 'TypeFileTask', 'TypeEncodedTask'
	Type TypeBasicTaskStepProperties `json:"type,omitempty"`
}

EncodedTaskStep the properties of a encoded task step.

func (EncodedTaskStep) AsBasicTaskStepProperties

func (ets EncodedTaskStep) AsBasicTaskStepProperties() (BasicTaskStepProperties, bool)

AsBasicTaskStepProperties is the BasicTaskStepProperties implementation for EncodedTaskStep.

func (EncodedTaskStep) AsDockerBuildStep

func (ets EncodedTaskStep) AsDockerBuildStep() (*DockerBuildStep, bool)

AsDockerBuildStep is the BasicTaskStepProperties implementation for EncodedTaskStep.

func (EncodedTaskStep) AsEncodedTaskStep

func (ets EncodedTaskStep) AsEncodedTaskStep() (*EncodedTaskStep, bool)

AsEncodedTaskStep is the BasicTaskStepProperties implementation for EncodedTaskStep.

func (EncodedTaskStep) AsFileTaskStep

func (ets EncodedTaskStep) AsFileTaskStep() (*FileTaskStep, bool)

AsFileTaskStep is the BasicTaskStepProperties implementation for EncodedTaskStep.

func (EncodedTaskStep) AsTaskStepProperties

func (ets EncodedTaskStep) AsTaskStepProperties() (*TaskStepProperties, bool)

AsTaskStepProperties is the BasicTaskStepProperties implementation for EncodedTaskStep.

func (EncodedTaskStep) MarshalJSON

func (ets EncodedTaskStep) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EncodedTaskStep.

type EncodedTaskStepUpdateParameters

type EncodedTaskStepUpdateParameters struct {
	// EncodedTaskContent - Base64 encoded value of the template/definition file content.
	EncodedTaskContent *string `json:"encodedTaskContent,omitempty"`
	// EncodedValuesContent - Base64 encoded value of the parameters/values file content.
	EncodedValuesContent *string `json:"encodedValuesContent,omitempty"`
	// Values - The collection of overridable values that can be passed when running a task.
	Values *[]SetValue `json:"values,omitempty"`
	// ContextPath - The URL(absolute or relative) of the source context for the task step.
	ContextPath *string `json:"contextPath,omitempty"`
	// ContextAccessToken - The token (git PAT or SAS token of storage account blob) associated with the context for a step.
	ContextAccessToken *string `json:"contextAccessToken,omitempty"`
	// Type - Possible values include: 'TypeBasicTaskStepUpdateParametersTypeTaskStepUpdateParameters', 'TypeBasicTaskStepUpdateParametersTypeDocker', 'TypeBasicTaskStepUpdateParametersTypeFileTask', 'TypeBasicTaskStepUpdateParametersTypeEncodedTask'
	Type TypeBasicTaskStepUpdateParameters `json:"type,omitempty"`
}

EncodedTaskStepUpdateParameters the properties for updating encoded task step.

func (EncodedTaskStepUpdateParameters) AsBasicTaskStepUpdateParameters

func (etsup EncodedTaskStepUpdateParameters) AsBasicTaskStepUpdateParameters() (BasicTaskStepUpdateParameters, bool)

AsBasicTaskStepUpdateParameters is the BasicTaskStepUpdateParameters implementation for EncodedTaskStepUpdateParameters.

func (EncodedTaskStepUpdateParameters) AsDockerBuildStepUpdateParameters

func (etsup EncodedTaskStepUpdateParameters) AsDockerBuildStepUpdateParameters() (*DockerBuildStepUpdateParameters, bool)

AsDockerBuildStepUpdateParameters is the BasicTaskStepUpdateParameters implementation for EncodedTaskStepUpdateParameters.

func (EncodedTaskStepUpdateParameters) AsEncodedTaskStepUpdateParameters

func (etsup EncodedTaskStepUpdateParameters) AsEncodedTaskStepUpdateParameters() (*EncodedTaskStepUpdateParameters, bool)

AsEncodedTaskStepUpdateParameters is the BasicTaskStepUpdateParameters implementation for EncodedTaskStepUpdateParameters.

func (EncodedTaskStepUpdateParameters) AsFileTaskStepUpdateParameters

func (etsup EncodedTaskStepUpdateParameters) AsFileTaskStepUpdateParameters() (*FileTaskStepUpdateParameters, bool)

AsFileTaskStepUpdateParameters is the BasicTaskStepUpdateParameters implementation for EncodedTaskStepUpdateParameters.

func (EncodedTaskStepUpdateParameters) AsTaskStepUpdateParameters

func (etsup EncodedTaskStepUpdateParameters) AsTaskStepUpdateParameters() (*TaskStepUpdateParameters, bool)

AsTaskStepUpdateParameters is the BasicTaskStepUpdateParameters implementation for EncodedTaskStepUpdateParameters.

func (EncodedTaskStepUpdateParameters) MarshalJSON

func (etsup EncodedTaskStepUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EncodedTaskStepUpdateParameters.

type EncryptionProperty

type EncryptionProperty struct {
	// Status - Indicates whether or not the encryption is enabled for container registry. Possible values include: 'Enabled', 'Disabled'
	Status EncryptionStatus `json:"status,omitempty"`
	// KeyVaultProperties - Key vault properties.
	KeyVaultProperties *KeyVaultProperties `json:"keyVaultProperties,omitempty"`
}

EncryptionProperty ...

type EncryptionStatus

type EncryptionStatus string

EncryptionStatus enumerates the values for encryption status.

const (
	// Disabled ...
	Disabled EncryptionStatus = "disabled"
	// Enabled ...
	Enabled EncryptionStatus = "enabled"
)

func PossibleEncryptionStatusValues

func PossibleEncryptionStatusValues() []EncryptionStatus

PossibleEncryptionStatusValues returns an array of possible values for the EncryptionStatus const type.

type ErrorResponse

type ErrorResponse struct {
	// Error - Azure container registry build API error body.
	Error *ErrorResponseBody `json:"error,omitempty"`
}

ErrorResponse an error response from the Azure Container Registry service.

type ErrorResponseBody

type ErrorResponseBody struct {
	// Code - error code.
	Code *string `json:"code,omitempty"`
	// Message - error message.
	Message *string `json:"message,omitempty"`
	// Target - target of the particular error.
	Target *string `json:"target,omitempty"`
	// Details - an array of additional nested error response info objects, as described by this contract.
	Details *InnerErrorDescription `json:"details,omitempty"`
}

ErrorResponseBody an error response from the Azure Container Registry service.

type Event

type Event struct {
	// EventRequestMessage - The event request message sent to the service URI.
	EventRequestMessage *EventRequestMessage `json:"eventRequestMessage,omitempty"`
	// EventResponseMessage - The event response message received from the service URI.
	EventResponseMessage *EventResponseMessage `json:"eventResponseMessage,omitempty"`
	// ID - The event ID.
	ID *string `json:"id,omitempty"`
}

Event the event for a webhook.

type EventContent

type EventContent struct {
	// ID - The event ID.
	ID *string `json:"id,omitempty"`
	// Timestamp - The time at which the event occurred.
	Timestamp *date.Time `json:"timestamp,omitempty"`
	// Action - The action that encompasses the provided event.
	Action *string `json:"action,omitempty"`
	// Target - The target of the event.
	Target *Target `json:"target,omitempty"`
	// Request - The request that generated the event.
	Request *Request `json:"request,omitempty"`
	// Actor - The agent that initiated the event. For most situations, this could be from the authorization context of the request.
	Actor *Actor `json:"actor,omitempty"`
	// Source - The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.
	Source *Source `json:"source,omitempty"`
}

EventContent the content of the event request message.

type EventInfo

type EventInfo struct {
	autorest.Response `json:"-"`
	// ID - The event ID.
	ID *string `json:"id,omitempty"`
}

EventInfo the basic information of an event.

type EventListResult

type EventListResult struct {
	autorest.Response `json:"-"`
	// Value - The list of events. Since this list may be incomplete, the nextLink field should be used to request the next list of events.
	Value *[]Event `json:"value,omitempty"`
	// NextLink - The URI that can be used to request the next list of events.
	NextLink *string `json:"nextLink,omitempty"`
}

EventListResult the result of a request to list events for a webhook.

func (EventListResult) IsEmpty

func (elr EventListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type EventListResultIterator

type EventListResultIterator struct {
	// contains filtered or unexported fields
}

EventListResultIterator provides access to a complete listing of Event values.

func NewEventListResultIterator

func NewEventListResultIterator(page EventListResultPage) EventListResultIterator

Creates a new instance of the EventListResultIterator type.

func (*EventListResultIterator) Next deprecated

This method has been deprecated.
func (iter *EventListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*EventListResultIterator) NextWithContext

func (iter *EventListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (EventListResultIterator) NotDone

func (iter EventListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (EventListResultIterator) Response

func (iter EventListResultIterator) Response() EventListResult

Response returns the raw server response from the last page request.

func (EventListResultIterator) Value

func (iter EventListResultIterator) Value() Event

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type EventListResultPage

type EventListResultPage struct {
	// contains filtered or unexported fields
}

EventListResultPage contains a page of Event values.

func NewEventListResultPage

func NewEventListResultPage(cur EventListResult, getNextPage func(context.Context, EventListResult) (EventListResult, error)) EventListResultPage

Creates a new instance of the EventListResultPage type.

func (*EventListResultPage) Next deprecated

This method has been deprecated.
func (page *EventListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*EventListResultPage) NextWithContext

func (page *EventListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (EventListResultPage) NotDone

func (page EventListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (EventListResultPage) Response

func (page EventListResultPage) Response() EventListResult

Response returns the raw server response from the last page request.

func (EventListResultPage) Values

func (page EventListResultPage) Values() []Event

Values returns the slice of values for the current page or nil if there are no values.

type EventRequestMessage

type EventRequestMessage struct {
	// Content - The content of the event request message.
	Content *EventContent `json:"content,omitempty"`
	// Headers - The headers of the event request message.
	Headers map[string]*string `json:"headers"`
	// Method - The HTTP method used to send the event request message.
	Method *string `json:"method,omitempty"`
	// RequestURI - The URI used to send the event request message.
	RequestURI *string `json:"requestUri,omitempty"`
	// Version - The HTTP message version.
	Version *string `json:"version,omitempty"`
}

EventRequestMessage the event request message sent to the service URI.

func (EventRequestMessage) MarshalJSON

func (erm EventRequestMessage) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventRequestMessage.

type EventResponseMessage

type EventResponseMessage struct {
	// Content - The content of the event response message.
	Content *string `json:"content,omitempty"`
	// Headers - The headers of the event response message.
	Headers map[string]*string `json:"headers"`
	// ReasonPhrase - The reason phrase of the event response message.
	ReasonPhrase *string `json:"reasonPhrase,omitempty"`
	// StatusCode - The status code of the event response message.
	StatusCode *string `json:"statusCode,omitempty"`
	// Version - The HTTP message version.
	Version *string `json:"version,omitempty"`
}

EventResponseMessage the event response message received from the service URI.

func (EventResponseMessage) MarshalJSON

func (erm EventResponseMessage) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventResponseMessage.

type ExportPipeline

type ExportPipeline struct {
	autorest.Response `json:"-"`
	// Location - The location of the export pipeline.
	Location *string `json:"location,omitempty"`
	// Identity - The identity of the export pipeline.
	Identity *IdentityProperties `json:"identity,omitempty"`
	// ExportPipelineProperties - The properties of the export pipeline.
	*ExportPipelineProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; The resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type *string `json:"type,omitempty"`
	// SystemData - READ-ONLY; Metadata pertaining to creation and last modification of the resource.
	SystemData *SystemData `json:"systemData,omitempty"`
}

ExportPipeline an object that represents an export pipeline for a container registry.

func (ExportPipeline) MarshalJSON

func (ep ExportPipeline) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExportPipeline.

func (*ExportPipeline) UnmarshalJSON

func (ep *ExportPipeline) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ExportPipeline struct.

type ExportPipelineListResult

type ExportPipelineListResult struct {
	autorest.Response `json:"-"`
	// Value - The list of export pipelines. Since this list may be incomplete, the nextLink field should be used to request the next list of export pipelines.
	Value *[]ExportPipeline `json:"value,omitempty"`
	// NextLink - The URI that can be used to request the next list of pipeline runs.
	NextLink *string `json:"nextLink,omitempty"`
}

ExportPipelineListResult the result of a request to list export pipelines for a container registry.

func (ExportPipelineListResult) IsEmpty

func (eplr ExportPipelineListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ExportPipelineListResultIterator

type ExportPipelineListResultIterator struct {
	// contains filtered or unexported fields
}

ExportPipelineListResultIterator provides access to a complete listing of ExportPipeline values.

func NewExportPipelineListResultIterator

func NewExportPipelineListResultIterator(page ExportPipelineListResultPage) ExportPipelineListResultIterator

Creates a new instance of the ExportPipelineListResultIterator type.

func (*ExportPipelineListResultIterator) Next deprecated

This method has been deprecated.

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ExportPipelineListResultIterator) NextWithContext

func (iter *ExportPipelineListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ExportPipelineListResultIterator) NotDone

func (iter ExportPipelineListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ExportPipelineListResultIterator) Response

Response returns the raw server response from the last page request.

func (ExportPipelineListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ExportPipelineListResultPage

type ExportPipelineListResultPage struct {
	// contains filtered or unexported fields
}

ExportPipelineListResultPage contains a page of ExportPipeline values.

func NewExportPipelineListResultPage

Creates a new instance of the ExportPipelineListResultPage type.

func (*ExportPipelineListResultPage) Next deprecated

This method has been deprecated.
func (page *ExportPipelineListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ExportPipelineListResultPage) NextWithContext

func (page *ExportPipelineListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ExportPipelineListResultPage) NotDone

func (page ExportPipelineListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ExportPipelineListResultPage) Response

Response returns the raw server response from the last page request.

func (ExportPipelineListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ExportPipelineProperties

type ExportPipelineProperties struct {
	// Target - The target properties of the export pipeline.
	Target *ExportPipelineTargetProperties `json:"target,omitempty"`
	// Options - The list of all options configured for the pipeline.
	Options *[]PipelineOptions `json:"options,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the pipeline at the time the operation was called. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

ExportPipelineProperties the properties of an export pipeline.

func (ExportPipelineProperties) MarshalJSON

func (epp ExportPipelineProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ExportPipelineProperties.

type ExportPipelineTargetProperties

type ExportPipelineTargetProperties struct {
	// Type - The type of target for the export pipeline.
	Type *string `json:"type,omitempty"`
	// URI - The target uri of the export pipeline.
	// When 'AzureStorageBlob': "https://accountName.blob.core.windows.net/containerName/blobName"
	// When 'AzureStorageBlobContainer':  "https://accountName.blob.core.windows.net/containerName"
	URI *string `json:"uri,omitempty"`
	// KeyVaultURI - They key vault secret uri to obtain the target storage SAS token.
	KeyVaultURI *string `json:"keyVaultUri,omitempty"`
}

ExportPipelineTargetProperties the properties of the export pipeline target.

type ExportPipelinesClient

type ExportPipelinesClient struct {
	BaseClient
}

ExportPipelinesClient is the client for the ExportPipelines methods of the Containerregistry service.

func NewExportPipelinesClient

func NewExportPipelinesClient(subscriptionID string) ExportPipelinesClient

NewExportPipelinesClient creates an instance of the ExportPipelinesClient client.

func NewExportPipelinesClientWithBaseURI

func NewExportPipelinesClientWithBaseURI(baseURI string, subscriptionID string) ExportPipelinesClient

NewExportPipelinesClientWithBaseURI creates an instance of the ExportPipelinesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ExportPipelinesClient) Create

func (client ExportPipelinesClient) Create(ctx context.Context, resourceGroupName string, registryName string, exportPipelineName string, exportPipelineCreateParameters ExportPipeline) (result ExportPipelinesCreateFuture, err error)

Create creates an export pipeline for a container registry with the specified parameters. Parameters: resourceGroupName - the name of the resource group to which the container registry belongs. registryName - the name of the container registry. exportPipelineName - the name of the export pipeline. exportPipelineCreateParameters - the parameters for creating an export pipeline.

func (ExportPipelinesClient) CreatePreparer

func (client ExportPipelinesClient) CreatePreparer(ctx context.Context, resourceGroupName string, registryName string, exportPipelineName string, exportPipelineCreateParameters ExportPipeline) (*http.Request, error)

CreatePreparer prepares the Create request.

func (ExportPipelinesClient) CreateResponder

func (client ExportPipelinesClient) CreateResponder(resp *http.Response) (result ExportPipeline, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (ExportPipelinesClient) CreateSender

func (client ExportPipelinesClient) CreateSender(req *http.Request) (future ExportPipelinesCreateFuture, err error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (ExportPipelinesClient) Delete

func (client ExportPipelinesClient) Delete(ctx context.Context, resourceGroupName string, registryName string, exportPipelineName string) (result ExportPipelinesDeleteFuture, err error)

Delete deletes an export pipeline from a container registry. Parameters: resourceGroupName - the name of the resource group to which the container registry belongs. registryName - the name of the container registry. exportPipelineName - the name of the export pipeline.

func (ExportPipelinesClient) DeletePreparer

func (client ExportPipelinesClient) DeletePreparer(ctx context.Context, resourceGroupName string, registryName string, exportPipelineName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ExportPipelinesClient) DeleteResponder

func (client ExportPipelinesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ExportPipelinesClient) DeleteSender

func (client ExportPipelinesClient) DeleteSender(req *http.Request) (future ExportPipelinesDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ExportPipelinesClient) Get

func (client ExportPipelinesClient) Get(ctx context.Context, resourceGroupName string, registryName string, exportPipelineName string) (result ExportPipeline, err error)

Get gets the properties of the export pipeline. Parameters: resourceGroupName - the name of the resource group to which the container registry belongs. registryName - the name of the container registry. exportPipelineName - the name of the export pipeline.

func (ExportPipelinesClient) GetPreparer

func (client ExportPipelinesClient) GetPreparer(ctx context.Context, resourceGroupName string, registryName string, exportPipelineName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ExportPipelinesClient) GetResponder

func (client ExportPipelinesClient) GetResponder(resp *http.Response) (result ExportPipeline, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ExportPipelinesClient) GetSender

func (client ExportPipelinesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ExportPipelinesClient) List

func (client ExportPipelinesClient) List(ctx context.Context, resourceGroupName string, registryName string) (result ExportPipelineListResultPage, err error)

List lists all export pipelines for the specified container registry. Parameters: resourceGroupName - the name of the resource group to which the container registry belongs. registryName - the name of the container registry.

func (ExportPipelinesClient) ListComplete

func (client ExportPipelinesClient) ListComplete(ctx context.Context, resourceGroupName string, registryName string) (result ExportPipelineListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ExportPipelinesClient) ListPreparer

func (client ExportPipelinesClient) ListPreparer(ctx context.Context, resourceGroupName string, registryName string) (*http.Request, error)

ListPreparer prepares the List request.

func (ExportPipelinesClient) ListResponder

func (client ExportPipelinesClient) ListResponder(resp *http.Response) (result ExportPipelineListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ExportPipelinesClient) ListSender

func (client ExportPipelinesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ExportPipelinesCreateFuture

type ExportPipelinesCreateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ExportPipelinesClient) (ExportPipeline, error)
}

ExportPipelinesCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ExportPipelinesCreateFuture) UnmarshalJSON

func (future *ExportPipelinesCreateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ExportPipelinesDeleteFuture

type ExportPipelinesDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ExportPipelinesClient) (autorest.Response, error)
}

ExportPipelinesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ExportPipelinesDeleteFuture) UnmarshalJSON

func (future *ExportPipelinesDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type FileTaskRunRequest

type FileTaskRunRequest struct {
	// TaskFilePath - The template/definition file path relative to the source.
	TaskFilePath *string `json:"taskFilePath,omitempty"`
	// ValuesFilePath - The values/parameters file path relative to the source.
	ValuesFilePath *string `json:"valuesFilePath,omitempty"`
	// Values - The collection of overridable values that can be passed when running a task.
	Values *[]SetValue `json:"values,omitempty"`
	// Timeout - Run timeout in seconds.
	Timeout *int32 `json:"timeout,omitempty"`
	// Platform - The platform properties against which the run has to happen.
	Platform *PlatformProperties `json:"platform,omitempty"`
	// AgentConfiguration - The machine configuration of the run agent.
	AgentConfiguration *AgentProperties `json:"agentConfiguration,omitempty"`
	// SourceLocation - The URL(absolute or relative) of the source context. It can be an URL to a tar or git repository.
	// If it is relative URL, the relative path should be obtained from calling listBuildSourceUploadUrl API.
	SourceLocation *string `json:"sourceLocation,omitempty"`
	// Credentials - The properties that describes a set of credentials that will be used when this run is invoked.
	Credentials *Credentials `json:"credentials,omitempty"`
	// IsArchiveEnabled - The value that indicates whether archiving is enabled for the run or not.
	IsArchiveEnabled *bool `json:"isArchiveEnabled,omitempty"`
	// AgentPoolName - The dedicated agent pool for the run.
	AgentPoolName *string `json:"agentPoolName,omitempty"`
	// LogTemplate - The template that describes the repository and tag information for run log artifact.
	LogTemplate *string `json:"logTemplate,omitempty"`
	// Type - Possible values include: 'TypeRunRequest', 'TypeDockerBuildRequest', 'TypeFileTaskRunRequest', 'TypeTaskRunRequest', 'TypeEncodedTaskRunRequest'
	Type Type `json:"type,omitempty"`
}

FileTaskRunRequest the request parameters for a scheduling run against a task file.

func (FileTaskRunRequest) AsBasicRunRequest

func (ftrr FileTaskRunRequest) AsBasicRunRequest() (BasicRunRequest, bool)

AsBasicRunRequest is the BasicRunRequest implementation for FileTaskRunRequest.

func (FileTaskRunRequest) AsDockerBuildRequest

func (ftrr FileTaskRunRequest) AsDockerBuildRequest() (*DockerBuildRequest, bool)

AsDockerBuildRequest is the BasicRunRequest implementation for FileTaskRunRequest.

func (FileTaskRunRequest) AsEncodedTaskRunRequest

func (ftrr FileTaskRunRequest) AsEncodedTaskRunRequest() (*EncodedTaskRunRequest, bool)

AsEncodedTaskRunRequest is the BasicRunRequest implementation for FileTaskRunRequest.

func (FileTaskRunRequest) AsFileTaskRunRequest

func (ftrr FileTaskRunRequest) AsFileTaskRunRequest() (*FileTaskRunRequest, bool)

AsFileTaskRunRequest is the BasicRunRequest implementation for FileTaskRunRequest.

func (FileTaskRunRequest) AsRunRequest

func (ftrr FileTaskRunRequest) AsRunRequest() (*RunRequest, bool)

AsRunRequest is the BasicRunRequest implementation for FileTaskRunRequest.

func (FileTaskRunRequest) AsTaskRunRequest

func (ftrr FileTaskRunRequest) AsTaskRunRequest() (*TaskRunRequest, bool)

AsTaskRunRequest is the BasicRunRequest implementation for FileTaskRunRequest.

func (FileTaskRunRequest) MarshalJSON

func (ftrr FileTaskRunRequest) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FileTaskRunRequest.

type FileTaskStep

type FileTaskStep struct {
	// TaskFilePath - The task template/definition file path relative to the source context.
	TaskFilePath *string `json:"taskFilePath,omitempty"`
	// ValuesFilePath - The task values/parameters file path relative to the source context.
	ValuesFilePath *string `json:"valuesFilePath,omitempty"`
	// Values - The collection of overridable values that can be passed when running a task.
	Values *[]SetValue `json:"values,omitempty"`
	// BaseImageDependencies - READ-ONLY; List of base image dependencies for a step.
	BaseImageDependencies *[]BaseImageDependency `json:"baseImageDependencies,omitempty"`
	// ContextPath - The URL(absolute or relative) of the source context for the task step.
	ContextPath *string `json:"contextPath,omitempty"`
	// ContextAccessToken - The token (git PAT or SAS token of storage account blob) associated with the context for a step.
	ContextAccessToken *string `json:"contextAccessToken,omitempty"`
	// Type - Possible values include: 'TypeTaskStepProperties', 'TypeDocker', 'TypeFileTask', 'TypeEncodedTask'
	Type TypeBasicTaskStepProperties `json:"type,omitempty"`
}

FileTaskStep the properties of a task step.

func (FileTaskStep) AsBasicTaskStepProperties

func (fts FileTaskStep) AsBasicTaskStepProperties() (BasicTaskStepProperties, bool)

AsBasicTaskStepProperties is the BasicTaskStepProperties implementation for FileTaskStep.

func (FileTaskStep) AsDockerBuildStep

func (fts FileTaskStep) AsDockerBuildStep() (*DockerBuildStep, bool)

AsDockerBuildStep is the BasicTaskStepProperties implementation for FileTaskStep.

func (FileTaskStep) AsEncodedTaskStep

func (fts FileTaskStep) AsEncodedTaskStep() (*EncodedTaskStep, bool)

AsEncodedTaskStep is the BasicTaskStepProperties implementation for FileTaskStep.

func (FileTaskStep) AsFileTaskStep

func (fts FileTaskStep) AsFileTaskStep() (*FileTaskStep, bool)

AsFileTaskStep is the BasicTaskStepProperties implementation for FileTaskStep.

func (FileTaskStep) AsTaskStepProperties

func (fts FileTaskStep) AsTaskStepProperties() (*TaskStepProperties, bool)

AsTaskStepProperties is the BasicTaskStepProperties implementation for FileTaskStep.

func (FileTaskStep) MarshalJSON

func (fts FileTaskStep) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FileTaskStep.

type FileTaskStepUpdateParameters

type FileTaskStepUpdateParameters struct {
	// TaskFilePath - The task template/definition file path relative to the source context.
	TaskFilePath *string `json:"taskFilePath,omitempty"`
	// ValuesFilePath - The values/parameters file path relative to the source context.
	ValuesFilePath *string `json:"valuesFilePath,omitempty"`
	// Values - The collection of overridable values that can be passed when running a task.
	Values *[]SetValue `json:"values,omitempty"`
	// ContextPath - The URL(absolute or relative) of the source context for the task step.
	ContextPath *string `json:"contextPath,omitempty"`
	// ContextAccessToken - The token (git PAT or SAS token of storage account blob) associated with the context for a step.
	ContextAccessToken *string `json:"contextAccessToken,omitempty"`
	// Type - Possible values include: 'TypeBasicTaskStepUpdateParametersTypeTaskStepUpdateParameters', 'TypeBasicTaskStepUpdateParametersTypeDocker', 'TypeBasicTaskStepUpdateParametersTypeFileTask', 'TypeBasicTaskStepUpdateParametersTypeEncodedTask'
	Type TypeBasicTaskStepUpdateParameters `json:"type,omitempty"`
}

FileTaskStepUpdateParameters the properties of updating a task step.

func (FileTaskStepUpdateParameters) AsBasicTaskStepUpdateParameters

func (ftsup FileTaskStepUpdateParameters) AsBasicTaskStepUpdateParameters() (BasicTaskStepUpdateParameters, bool)

AsBasicTaskStepUpdateParameters is the BasicTaskStepUpdateParameters implementation for FileTaskStepUpdateParameters.

func (FileTaskStepUpdateParameters) AsDockerBuildStepUpdateParameters

func (ftsup FileTaskStepUpdateParameters) AsDockerBuildStepUpdateParameters() (*DockerBuildStepUpdateParameters, bool)

AsDockerBuildStepUpdateParameters is the BasicTaskStepUpdateParameters implementation for FileTaskStepUpdateParameters.

func (FileTaskStepUpdateParameters) AsEncodedTaskStepUpdateParameters

func (ftsup FileTaskStepUpdateParameters) AsEncodedTaskStepUpdateParameters() (*EncodedTaskStepUpdateParameters, bool)

AsEncodedTaskStepUpdateParameters is the BasicTaskStepUpdateParameters implementation for FileTaskStepUpdateParameters.

func (FileTaskStepUpdateParameters) AsFileTaskStepUpdateParameters

func (ftsup FileTaskStepUpdateParameters) AsFileTaskStepUpdateParameters() (*FileTaskStepUpdateParameters, bool)

AsFileTaskStepUpdateParameters is the BasicTaskStepUpdateParameters implementation for FileTaskStepUpdateParameters.

func (FileTaskStepUpdateParameters) AsTaskStepUpdateParameters

func (ftsup FileTaskStepUpdateParameters) AsTaskStepUpdateParameters() (*TaskStepUpdateParameters, bool)

AsTaskStepUpdateParameters is the BasicTaskStepUpdateParameters implementation for FileTaskStepUpdateParameters.

func (FileTaskStepUpdateParameters) MarshalJSON

func (ftsup FileTaskStepUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FileTaskStepUpdateParameters.

type GenerateCredentialsParameters

type GenerateCredentialsParameters struct {
	// TokenID - The resource ID of the token for which credentials have to be generated.
	TokenID *string `json:"tokenId,omitempty"`
	// Expiry - The expiry date of the generated credentials after which the credentials become invalid.
	Expiry *date.Time `json:"expiry,omitempty"`
	// Name - Specifies name of the password which should be regenerated if any -- password1 or password2. Possible values include: 'TokenPasswordNamePassword1', 'TokenPasswordNamePassword2'
	Name TokenPasswordName `json:"name,omitempty"`
}

GenerateCredentialsParameters the parameters used to generate credentials for a specified token or user of a container registry.

type GenerateCredentialsResult

type GenerateCredentialsResult struct {
	autorest.Response `json:"-"`
	// Username - The username for a container registry.
	Username *string `json:"username,omitempty"`
	// Passwords - The list of passwords for a container registry.
	Passwords *[]TokenPassword `json:"passwords,omitempty"`
}

GenerateCredentialsResult the response from the GenerateCredentials operation.

type IPRule

type IPRule struct {
	// Action - The action of IP ACL rule. Possible values include: 'Allow'
	Action Action `json:"action,omitempty"`
	// IPAddressOrRange - Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed.
	IPAddressOrRange *string `json:"value,omitempty"`
}

IPRule IP rule with specific IP or IP range in CIDR format.

type IdentityProperties

type IdentityProperties struct {
	// PrincipalID - The principal ID of resource identity.
	PrincipalID *string `json:"principalId,omitempty"`
	// TenantID - The tenant ID of resource.
	TenantID *string `json:"tenantId,omitempty"`
	// Type - The identity type. Possible values include: 'ResourceIdentityTypeSystemAssigned', 'ResourceIdentityTypeUserAssigned', 'ResourceIdentityTypeSystemAssignedUserAssigned', 'ResourceIdentityTypeNone'
	Type ResourceIdentityType `json:"type,omitempty"`
	// UserAssignedIdentities - The list of user identities associated with the resource. The user identity
	// dictionary key references will be ARM resource ids in the form:
	// '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/
	//     providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
	UserAssignedIdentities map[string]*UserIdentityProperties `json:"userAssignedIdentities"`
}

IdentityProperties managed identity for the resource.

func (IdentityProperties) MarshalJSON

func (IP IdentityProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IdentityProperties.

type ImageDescriptor

type ImageDescriptor struct {
	// Registry - The registry login server.
	Registry *string `json:"registry,omitempty"`
	// Repository - The repository name.
	Repository *string `json:"repository,omitempty"`
	// Tag - The tag name.
	Tag *string `json:"tag,omitempty"`
	// Digest - The sha256-based digest of the image manifest.
	Digest *string `json:"digest,omitempty"`
}

ImageDescriptor properties for a registry image.

type ImageUpdateTrigger

type ImageUpdateTrigger struct {
	// ID - The unique ID of the trigger.
	ID *string `json:"id,omitempty"`
	// Timestamp - The timestamp when the image update happened.
	Timestamp *date.Time `json:"timestamp,omitempty"`
	// Images - The list of image updates that caused the build.
	Images *[]ImageDescriptor `json:"images,omitempty"`
}

ImageUpdateTrigger the image update trigger that caused a build.

type ImportImageParameters

type ImportImageParameters struct {
	// Source - The source of the image.
	Source *ImportSource `json:"source,omitempty"`
	// TargetTags - List of strings of the form repo[:tag]. When tag is omitted the source will be used (or 'latest' if source tag is also omitted).
	TargetTags *[]string `json:"targetTags,omitempty"`
	// UntaggedTargetRepositories - List of strings of repository names to do a manifest only copy. No tag will be created.
	UntaggedTargetRepositories *[]string `json:"untaggedTargetRepositories,omitempty"`
	// Mode - When Force, any existing target tags will be overwritten. When NoForce, any existing target tags will fail the operation before any copying begins. Possible values include: 'NoForce', 'Force'
	Mode ImportMode `json:"mode,omitempty"`
}

ImportImageParameters ...

type ImportMode

type ImportMode string

ImportMode enumerates the values for import mode.

const (
	// Force ...
	Force ImportMode = "Force"
	// NoForce ...
	NoForce ImportMode = "NoForce"
)

func PossibleImportModeValues

func PossibleImportModeValues() []ImportMode

PossibleImportModeValues returns an array of possible values for the ImportMode const type.

type ImportPipeline

type ImportPipeline struct {
	autorest.Response `json:"-"`
	// Location - The location of the import pipeline.
	Location *string `json:"location,omitempty"`
	// Identity - The identity of the import pipeline.
	Identity *IdentityProperties `json:"identity,omitempty"`
	// ImportPipelineProperties - The properties of the import pipeline.
	*ImportPipelineProperties `json:"properties,omitempty"`
	// ID - READ-ONLY; The resource ID.
	ID *string `json:"id,omitempty"`
	// Name - READ-ONLY; The name of the resource.
	Name *string `json:"name,omitempty"`
	// Type - READ-ONLY; The type of the resource.
	Type *string `json:"type,omitempty"`
	// SystemData - READ-ONLY; Metadata pertaining to creation and last modification of the resource.
	SystemData *SystemData `json:"systemData,omitempty"`
}

ImportPipeline an object that represents an import pipeline for a container registry.

func (ImportPipeline) MarshalJSON

func (IP ImportPipeline) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ImportPipeline.

func (*ImportPipeline) UnmarshalJSON

func (IP *ImportPipeline) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ImportPipeline struct.

type ImportPipelineListResult

type ImportPipelineListResult struct {
	autorest.Response `json:"-"`
	// Value - The list of import pipelines. Since this list may be incomplete, the nextLink field should be used to request the next list of import pipelines.
	Value *[]ImportPipeline `json:"value,omitempty"`
	// NextLink - The URI that can be used to request the next list of pipeline runs.
	NextLink *string `json:"nextLink,omitempty"`
}

ImportPipelineListResult the result of a request to list import pipelines for a container registry.

func (ImportPipelineListResult) IsEmpty

func (iplr ImportPipelineListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ImportPipelineListResultIterator

type ImportPipelineListResultIterator struct {
	// contains filtered or unexported fields
}

ImportPipelineListResultIterator provides access to a complete listing of ImportPipeline values.

func NewImportPipelineListResultIterator

func NewImportPipelineListResultIterator(page ImportPipelineListResultPage) ImportPipelineListResultIterator

Creates a new instance of the ImportPipelineListResultIterator type.

func (*ImportPipelineListResultIterator) Next deprecated

This method has been deprecated.

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ImportPipelineListResultIterator) NextWithContext

func (iter *ImportPipelineListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ImportPipelineListResultIterator) NotDone

func (iter ImportPipelineListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ImportPipelineListResultIterator) Response

Response returns the raw server response from the last page request.

func (ImportPipelineListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ImportPipelineListResultPage

type ImportPipelineListResultPage struct {
	// contains filtered or unexported fields
}

ImportPipelineListResultPage contains a page of ImportPipeline values.

func NewImportPipelineListResultPage

Creates a new instance of the ImportPipelineListResultPage type.

func (*ImportPipelineListResultPage) Next deprecated

This method has been deprecated.
func (page *ImportPipelineListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*ImportPipelineListResultPage) NextWithContext

func (page *ImportPipelineListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ImportPipelineListResultPage) NotDone

func (page ImportPipelineListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ImportPipelineListResultPage) Response

Response returns the raw server response from the last page request.

func (ImportPipelineListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ImportPipelineProperties

type ImportPipelineProperties struct {
	// Source - The source properties of the import pipeline.
	Source *ImportPipelineSourceProperties `json:"source,omitempty"`
	// Trigger - The properties that describe the trigger of the import pipeline.
	Trigger *PipelineTriggerProperties `json:"trigger,omitempty"`
	// Options - The list of all options configured for the pipeline.
	Options *[]PipelineOptions `json:"options,omitempty"`
	// ProvisioningState - READ-ONLY; The provisioning state of the pipeline at the time the operation was called. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'
	ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

ImportPipelineProperties the properties of an import pipeline.

func (ImportPipelineProperties) MarshalJSON

func (ipp ImportPipelineProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ImportPipelineProperties.

type ImportPipelineSourceProperties

type ImportPipelineSourceProperties struct {
	// Type - The type of source for the import pipeline. Possible values include: 'AzureStorageBlobContainer'
	Type PipelineSourceType `json:"type,omitempty"`
	// URI - The source uri of the import pipeline.
	// When 'AzureStorageBlob': "https://accountName.blob.core.windows.net/containerName/blobName"
	// When 'AzureStorageBlobContainer': "https://accountName.blob.core.windows.net/containerName"
	URI *string `json:"uri,omitempty"`
	// KeyVaultURI - They key vault secret uri to obtain the source storage SAS token.
	KeyVaultURI *string `json:"keyVaultUri,omitempty"`
}

ImportPipelineSourceProperties the properties of the import pipeline source.

type ImportPipelinesClient

type ImportPipelinesClient struct {
	BaseClient
}

ImportPipelinesClient is the client for the ImportPipelines methods of the Containerregistry service.

func NewImportPipelinesClient

func NewImportPipelinesClient(subscriptionID string) ImportPipelinesClient

NewImportPipelinesClient creates an instance of the ImportPipelinesClient client.

func NewImportPipelinesClientWithBaseURI

func NewImportPipelinesClientWithBaseURI(baseURI string, subscriptionID string) ImportPipelinesClient

NewImportPipelinesClientWithBaseURI creates an instance of the ImportPipelinesClient client using a custom endpoint. Use this when interacting with an Azure cloud that uses a non-standard base URI (sovereign clouds, Azure stack).

func (ImportPipelinesClient) Create

func (client ImportPipelinesClient) Create(ctx context.Context, resourceGroupName string, registryName string, importPipelineName string, importPipelineCreateParameters ImportPipeline) (result ImportPipelinesCreateFuture, err error)

Create creates an import pipeline for a container registry with the specified parameters. Parameters: resourceGroupName - the name of the resource group to which the container registry belongs. registryName - the name of the container registry. importPipelineName - the name of the import pipeline. importPipelineCreateParameters - the parameters for creating an import pipeline.

func (ImportPipelinesClient) CreatePreparer

func (client ImportPipelinesClient) CreatePreparer(ctx context.Context, resourceGroupName string, registryName string, importPipelineName string, importPipelineCreateParameters ImportPipeline) (*http.Request, error)

CreatePreparer prepares the Create request.

func (ImportPipelinesClient) CreateResponder

func (client ImportPipelinesClient) CreateResponder(resp *http.Response) (result ImportPipeline, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (ImportPipelinesClient) CreateSender

func (client ImportPipelinesClient) CreateSender(req *http.Request) (future ImportPipelinesCreateFuture, err error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (ImportPipelinesClient) Delete

func (client ImportPipelinesClient) Delete(ctx context.Context, resourceGroupName string, registryName string, importPipelineName string) (result ImportPipelinesDeleteFuture, err error)

Delete deletes an import pipeline from a container registry. Parameters: resourceGroupName - the name of the resource group to which the container registry belongs. registryName - the name of the container registry. importPipelineName - the name of the import pipeline.

func (ImportPipelinesClient) DeletePreparer

func (client ImportPipelinesClient) DeletePreparer(ctx context.Context, resourceGroupName string, registryName string, importPipelineName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (ImportPipelinesClient) DeleteResponder

func (client ImportPipelinesClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (ImportPipelinesClient) DeleteSender

func (client ImportPipelinesClient) DeleteSender(req *http.Request) (future ImportPipelinesDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (ImportPipelinesClient) Get

func (client ImportPipelinesClient) Get(ctx context.Context, resourceGroupName string, registryName string, importPipelineName string) (result ImportPipeline, err error)

Get gets the properties of the import pipeline. Parameters: resourceGroupName - the name of the resource group to which the container registry belongs. registryName - the name of the container registry. importPipelineName - the name of the import pipeline.

func (ImportPipelinesClient) GetPreparer

func (client ImportPipelinesClient) GetPreparer(ctx context.Context, resourceGroupName string, registryName string, importPipelineName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ImportPipelinesClient) GetResponder

func (client ImportPipelinesClient) GetResponder(resp *http.Response) (result ImportPipeline, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ImportPipelinesClient) GetSender

func (client ImportPipelinesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ImportPipelinesClient) List

func (client ImportPipelinesClient) List(ctx context.Context, resourceGroupName string, registryName string) (result ImportPipelineListResultPage, err error)

List lists all import pipelines for the specified container registry. Parameters: resourceGroupName - the name of the resource group to which the container registry belongs. registryName - the name of the container registry.

func (ImportPipelinesClient) ListComplete

func (client ImportPipelinesClient) ListComplete(ctx context.Context, resourceGroupName string, registryName string) (result ImportPipelineListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ImportPipelinesClient) ListPreparer

func (client ImportPipelinesClient) ListPreparer(ctx context.Context, resourceGroupName string, registryName string) (*http.Request, error)

ListPreparer prepares the List request.

func (ImportPipelinesClient) ListResponder

func (client ImportPipelinesClient) ListResponder(resp *http.Response) (result ImportPipelineListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ImportPipelinesClient) ListSender

func (client ImportPipelinesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ImportPipelinesCreateFuture

type ImportPipelinesCreateFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ImportPipelinesClient) (ImportPipeline, error)
}

ImportPipelinesCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ImportPipelinesCreateFuture) UnmarshalJSON

func (future *ImportPipelinesCreateFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ImportPipelinesDeleteFuture

type ImportPipelinesDeleteFuture struct {
	azure.FutureAPI
	// Result returns the result of the asynchronous operation.
	// If the operation has not completed it will return an error.
	Result func(ImportPipelinesClient) (autorest.Response, error)
}

ImportPipelinesDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*ImportPipelinesDeleteFuture) UnmarshalJSON

func (future *ImportPipelinesDeleteFuture) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaller for CreateFuture.

type ImportSource

type ImportSource struct {
	// ResourceID - The resource identifier of the source Azure Container Registry.
	ResourceID *string `json:"resourceId,omitempty"`
	// RegistryURI - The address of the source registry (e.g. 'mcr.microsoft.com').
	RegistryURI *string `json:"registryUri,omitempty"`
	// Credentials - Credentials used when importing from a registry uri.
	Credentials *ImportSourceCredentials `json:"credentials,omitempty"`
	// SourceImage - Repository name of the source image.
	// Specify an image by repository ('hello-world'). This will use the 'latest' tag.
	// Specify an image by tag ('hello-world:latest').
	// Specify an image by sha256-based manifest digest ('hello-world@sha256:abc123').
	SourceImage *string `json:"sourceImage,omitempty"`
}

ImportSource ...

type ImportSourceCredentials

type ImportSourceCredentials struct {
	// Username - The username to authenticate with the source registry.
	Username *string `json:"username,omitempty"`
	// Password - The password used to authenticate with the source registry.
	Password *string `json:"password,omitempty"`
}

ImportSourceCredentials ...

type InnerErrorDescription

type InnerErrorDescription struct {
	// Code - error code.
	Code *string `json:"code,omitempty"`
	// Message - error message.
	Message *string `json:"message,omitempty"`
	// Target - target of the particular error.
	Target *string `json:"target,omitempty"`
}

InnerErrorDescription inner error.

type KeyVaultProperties

type KeyVaultProperties struct {
	// KeyIdentifier - Key vault uri to access the encryption key.
	KeyIdentifier *string `json:"keyIdentifier,omitempty"`
	// VersionedKeyIdentifier - READ-ONLY; The fully qualified key identifier that includes the version of the key that is actually used for encryption.
	VersionedKeyIdentifier *string `json:"versionedKeyIdentifier,omitempty"`
	// Identity - The client id of the identity which will be used to access key vault.
	Identity *string `json:"identity,omitempty"`
	// KeyRotationEnabled - READ-ONLY; Auto key rotation status for a CMK enabled registry.
	KeyRotationEnabled *bool `json:"keyRotationEnabled,omitempty"`
	// LastKeyRotationTimestamp - READ-ONLY; Timestamp of the last successful key rotation.
	LastKeyRotationTimestamp *date.Time `json:"lastKeyRotationTimestamp,omitempty"`
}

KeyVaultProperties ...

func (KeyVaultProperties) MarshalJSON

func (kvp KeyVaultProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for KeyVaultProperties.

type LastModifiedByType

type LastModifiedByType string

LastModifiedByType enumerates the values for last modified by type.

const (
	// LastModifiedByTypeApplication ...
	LastModifiedByTypeApplication LastModifiedByType = "Application"
	// LastModifiedByTypeKey ...
	LastModifiedByTypeKey LastModifiedByType = "Key"
	// LastModifiedByTypeManagedIdentity ...
	LastModifiedByTypeManagedIdentity LastModifiedByType = "ManagedIdentity"
	// LastModifiedByTypeUser ...
	LastModifiedByTypeUser LastModifiedByType = "User"
)

func PossibleLastModifiedByTypeValues

func PossibleLastModifiedByTypeValues() []LastModifiedByType

PossibleLastModifiedByTypeValues returns an array of possible values for the LastModifiedByType const type.

type NetworkRuleSet

type NetworkRuleSet struct {
	// DefaultAction - The default action of allow or deny when no other rules match. Possible values include: 'DefaultActionAllow', 'DefaultActionDeny'
	DefaultAction DefaultAction `json:"defaultAction,omitempty"`
	// VirtualNetworkRules - The virtual network rules.
	VirtualNetworkRules *[]VirtualNetworkRule `json:"virtualNetworkRules,omitempty"`
	// IPRules - The IP ACL rules.
	IPRules *[]IPRule `json:"ipRules,omitempty"`
}

NetworkRuleSet the network rule set for a container registry.

type OS

type OS string

OS enumerates the values for os.

const (
	// Linux ...
	Linux OS = "Linux"
	// Windows ...
	Windows OS = "Windows"
)

func PossibleOSValues

func PossibleOSValues() []OS

PossibleOSValues returns an array of possible values for the OS const type.

type OperationDefinition

type OperationDefinition struct {
	// Origin - The origin information of the container registry operation.
	Origin *string `json:"origin,omitempty"`
	// Name - Operation name: {provider}/{resource}/{operation}.
	Name *string `json:"name,omitempty"`
	// Display - The display information for the container registry operation.
	Display *OperationDisplayDefinition `json:"display,omitempty"`
	// OperationPropertiesDefinition - The properties information for the container registry operation.
	*OperationPropertiesDefinition `json:"properties,omitempty"`
}

OperationDefinition the definition of a container registry operation.

func (OperationDefinition) MarshalJSON

func (od OperationDefinition) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for OperationDefinition.

func (*OperationDefinition) UnmarshalJSON

func (od *OperationDefinition) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for OperationDefinition struct.

type OperationDisplayDefinition

type OperationDisplayDefinition struct {
	// Provider - The resource provider name: Microsoft.ContainerRegistry.
	Provider *string `json:"provider,omitempty"`
	// Resource - The resource on which the operation is performed.
	Resource *string `json:"resource,omitempty"`
	// Operation - The operation that users can perform.
	Operation *string `json:"operation,omitempty"`
	// Description - The description for the operation.
	Description *string `json:"description,omitempty"`
}

OperationDisplayDefinition the display information for a container registry operation.

type OperationListResult

type OperationListResult struct {
	autorest.Response `json:"-"`
	// Value - The list of container registry operations. Since this list may be incomplete, the nextLink field should be used to request the next list of operations.
	Value *[]OperationDefinition `json:"value,omitempty"`
	// NextLink - The URI that can be used to request the next list of container registry operations.
	NextLink *string `json:"nextLink,omitempty"`
}

OperationListResult the result of a request to list container registry operations.

func (OperationListResult) IsEmpty

func (olr OperationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationListResultIterator

type OperationListResultIterator struct {
	// contains filtered or unexported fields
}

OperationListResultIterator provides access to a complete listing of OperationDefinition values.

func NewOperationListResultIterator

func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator

Creates a new instance of the OperationListResultIterator type.

func (*OperationListResultIterator) Next deprecated

This method has been deprecated.
func (iter *OperationListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationListResultIterator) NextWithContext

func (iter *OperationListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (OperationListResultIterator) NotDone

func (iter OperationListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (OperationListResultIterator) Response

Response returns the raw server response from the last page request.

func (OperationListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type OperationListResultPage

type OperationListResultPage struct {
	// contains filtered or unexported fields
}

OperationListResultPage contains a page of OperationDefinition values.

func NewOperationListResultPage

func NewOperationListResultPage(cur OperationListResult, getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage

Creates a new instance of the OperationListResultPage type.

func (*OperationListResultPage) Next deprecated

This method has been deprecated.
func (page *OperationListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationListResultPage) NextWithContext

func (page *OperationListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (OperationListResultPage) NotDone

func (page OperationListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (OperationListResultPage) Response

Response returns the raw server response from the last page request.

func (OperationListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type OperationMetricSpecificationDefinition

type OperationMetricSpecificationDefinition struct {
	// Name - Metric name.
	Name *string `json:"name,omitempty"`
	// DisplayName - Metric display name.
	DisplayName *string `json:"displayName,omitempty"`
	// DisplayDescription - Metric description.
	DisplayDescription *string `json:"displayDescription,omitempty"`
	// Unit - Metric unit.
	Unit *string `json:"unit,omitempty"`
	// AggregationType - Metric aggregation type.
	AggregationType *string `json:"aggregationType,omitempty"`
	// InternalMetricName - Internal metric name.
	InternalMetricName *string `json:"internalMetricName,omitempty"`
}

OperationMetricSpecificationDefinition the definition of Azure Monitoring metric.

type OperationPropertiesDefinition

type OperationPropertiesDefinition struct {
	// ServiceSpecification - The definition of Azure Monitoring service.
	ServiceSpecification *OperationServiceSpecificationDefinition `json:"serviceSpecification,omitempty"`
}

OperationPropertiesDefinition the definition of Azure Monitoring properties.

type OperationServiceSpecificationDefinition

type OperationServiceSpecificationDefinition struct {
	// MetricSpecifications - A list of Azure Monitoring metrics definition.
	MetricSpecifications *[]