azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/preview/containerregistry/mgmt/2019-12-01-preview/containerregistry Index | Files | Directories

package containerregistry

import "github.com/Azure/azure-sdk-for-go/services/preview/containerregistry/mgmt/2019-12-01-preview/containerregistry"

Package containerregistry implements the Azure ARM Containerregistry service API version .

Index

Package Files

agentpools.go client.go enums.go exportpipelines.go importpipelines.go models.go operations.go pipelineruns.go privateendpointconnections.go registries.go replications.go runs.go scopemaps.go taskruns.go tasks.go tokens.go version.go webhooks.go

Constants

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

func UserAgent Uses

func UserAgent() string

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

func Version Uses

func Version() string

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

type Action Uses

type Action string

Action enumerates the values for action.

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

func PossibleActionValues Uses

func PossibleActionValues() []Action

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

type ActionsRequired Uses

type ActionsRequired string

ActionsRequired enumerates the values for actions required.

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

func PossibleActionsRequiredValues Uses

func PossibleActionsRequiredValues() []ActionsRequired

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

type ActiveDirectoryObject Uses

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 Uses

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 Uses

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 Uses

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

MarshalJSON is the custom marshaler for AgentPool.

func (*AgentPool) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for AgentPool struct.

type AgentPoolListResult Uses

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 Uses

func (aplr AgentPoolListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AgentPoolListResultIterator Uses

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

AgentPoolListResultIterator provides access to a complete listing of AgentPool values.

func NewAgentPoolListResultIterator Uses

func NewAgentPoolListResultIterator(page AgentPoolListResultPage) AgentPoolListResultIterator

Creates a new instance of the AgentPoolListResultIterator type.

func (*AgentPoolListResultIterator) Next Uses

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 Uses

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 Uses

func (iter AgentPoolListResultIterator) NotDone() bool

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

func (AgentPoolListResultIterator) Response Uses

func (iter AgentPoolListResultIterator) Response() AgentPoolListResult

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

func (AgentPoolListResultIterator) Value Uses

func (iter AgentPoolListResultIterator) Value() AgentPool

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

type AgentPoolListResultPage Uses

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

AgentPoolListResultPage contains a page of AgentPool values.

func NewAgentPoolListResultPage Uses

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

Creates a new instance of the AgentPoolListResultPage type.

func (*AgentPoolListResultPage) Next Uses

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 Uses

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 Uses

func (page AgentPoolListResultPage) NotDone() bool

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

func (AgentPoolListResultPage) Response Uses

func (page AgentPoolListResultPage) Response() AgentPoolListResult

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

func (AgentPoolListResultPage) Values Uses

func (page AgentPoolListResultPage) Values() []AgentPool

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

type AgentPoolProperties Uses

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 Uses

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

MarshalJSON is the custom marshaler for AgentPoolProperties.

type AgentPoolPropertiesUpdateParameters Uses

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

AgentPoolPropertiesUpdateParameters ...

type AgentPoolQueueStatus Uses

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 Uses

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 Uses

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

MarshalJSON is the custom marshaler for AgentPoolUpdateParameters.

func (*AgentPoolUpdateParameters) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for AgentPoolUpdateParameters struct.

type AgentPoolsClient Uses

type AgentPoolsClient struct {
    BaseClient
}

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

func NewAgentPoolsClient Uses

func NewAgentPoolsClient(subscriptionID string) AgentPoolsClient

NewAgentPoolsClient creates an instance of the AgentPoolsClient client.

func NewAgentPoolsClientWithBaseURI Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (AgentPoolsClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (AgentPoolsClient) GetQueueStatus Uses

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 Uses

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

GetQueueStatusPreparer prepares the GetQueueStatus request.

func (AgentPoolsClient) GetQueueStatusResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListPreparer prepares the List request.

func (AgentPoolsClient) ListResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

type AgentPoolsCreateFuture struct {
    azure.Future
}

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

func (*AgentPoolsCreateFuture) Result Uses

func (future *AgentPoolsCreateFuture) Result(client AgentPoolsClient) (ap AgentPool, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type AgentPoolsDeleteFuture Uses

type AgentPoolsDeleteFuture struct {
    azure.Future
}

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

func (*AgentPoolsDeleteFuture) Result Uses

func (future *AgentPoolsDeleteFuture) Result(client AgentPoolsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type AgentPoolsUpdateFuture Uses

type AgentPoolsUpdateFuture struct {
    azure.Future
}

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

func (*AgentPoolsUpdateFuture) Result Uses

func (future *AgentPoolsUpdateFuture) Result(client AgentPoolsClient) (ap AgentPool, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type AgentProperties Uses

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 Uses

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 Uses

func PossibleArchitectureValues() []Architecture

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

type Argument Uses

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 Uses

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 Uses

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 Uses

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

BaseClient is the base client for Containerregistry.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

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 Uses

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 Uses

type BaseImageDependencyType string

BaseImageDependencyType enumerates the values for base image dependency type.

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

func PossibleBaseImageDependencyTypeValues Uses

func PossibleBaseImageDependencyTypeValues() []BaseImageDependencyType

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

type BaseImageTrigger Uses

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 Uses

type BaseImageTriggerType string

BaseImageTriggerType enumerates the values for base image trigger type.

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

func PossibleBaseImageTriggerTypeValues Uses

func PossibleBaseImageTriggerTypeValues() []BaseImageTriggerType

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

type BaseImageTriggerUpdateParameters Uses

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 Uses

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 Uses

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

BasicTaskStepProperties base properties for any task step.

type BasicTaskStepUpdateParameters Uses

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 Uses

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 Uses

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

MarshalJSON is the custom marshaler for CallbackConfig.

type ConnectionStatus Uses

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 Uses

func PossibleConnectionStatusValues() []ConnectionStatus

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

type CreatedByType Uses

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 Uses

func PossibleCreatedByTypeValues() []CreatedByType

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

type Credentials Uses

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 Uses

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

MarshalJSON is the custom marshaler for Credentials.

type CustomRegistryCredentials Uses

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 Uses

type DefaultAction string

DefaultAction enumerates the values for default action.

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

func PossibleDefaultActionValues Uses

func PossibleDefaultActionValues() []DefaultAction

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

type DockerBuildRequest Uses

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 Uses

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

AsBasicRunRequest is the BasicRunRequest implementation for DockerBuildRequest.

func (DockerBuildRequest) AsDockerBuildRequest Uses

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

AsDockerBuildRequest is the BasicRunRequest implementation for DockerBuildRequest.

func (DockerBuildRequest) AsEncodedTaskRunRequest Uses

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

AsEncodedTaskRunRequest is the BasicRunRequest implementation for DockerBuildRequest.

func (DockerBuildRequest) AsFileTaskRunRequest Uses

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

AsFileTaskRunRequest is the BasicRunRequest implementation for DockerBuildRequest.

func (DockerBuildRequest) AsRunRequest Uses

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

AsRunRequest is the BasicRunRequest implementation for DockerBuildRequest.

func (DockerBuildRequest) AsTaskRunRequest Uses

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

AsTaskRunRequest is the BasicRunRequest implementation for DockerBuildRequest.

func (DockerBuildRequest) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for DockerBuildRequest.

type DockerBuildStep Uses

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 Uses

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

AsBasicTaskStepProperties is the BasicTaskStepProperties implementation for DockerBuildStep.

func (DockerBuildStep) AsDockerBuildStep Uses

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

AsDockerBuildStep is the BasicTaskStepProperties implementation for DockerBuildStep.

func (DockerBuildStep) AsEncodedTaskStep Uses

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

AsEncodedTaskStep is the BasicTaskStepProperties implementation for DockerBuildStep.

func (DockerBuildStep) AsFileTaskStep Uses

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

AsFileTaskStep is the BasicTaskStepProperties implementation for DockerBuildStep.

func (DockerBuildStep) AsTaskStepProperties Uses

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

AsTaskStepProperties is the BasicTaskStepProperties implementation for DockerBuildStep.

func (DockerBuildStep) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for DockerBuildStep.

type DockerBuildStepUpdateParameters Uses

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 Uses

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

AsBasicTaskStepUpdateParameters is the BasicTaskStepUpdateParameters implementation for DockerBuildStepUpdateParameters.

func (DockerBuildStepUpdateParameters) AsDockerBuildStepUpdateParameters Uses

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

AsDockerBuildStepUpdateParameters is the BasicTaskStepUpdateParameters implementation for DockerBuildStepUpdateParameters.

func (DockerBuildStepUpdateParameters) AsEncodedTaskStepUpdateParameters Uses

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

AsEncodedTaskStepUpdateParameters is the BasicTaskStepUpdateParameters implementation for DockerBuildStepUpdateParameters.

func (DockerBuildStepUpdateParameters) AsFileTaskStepUpdateParameters Uses

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

AsFileTaskStepUpdateParameters is the BasicTaskStepUpdateParameters implementation for DockerBuildStepUpdateParameters.

func (DockerBuildStepUpdateParameters) AsTaskStepUpdateParameters Uses

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

AsTaskStepUpdateParameters is the BasicTaskStepUpdateParameters implementation for DockerBuildStepUpdateParameters.

func (DockerBuildStepUpdateParameters) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for DockerBuildStepUpdateParameters.

type EncodedTaskRunRequest Uses

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 Uses

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

AsBasicRunRequest is the BasicRunRequest implementation for EncodedTaskRunRequest.

func (EncodedTaskRunRequest) AsDockerBuildRequest Uses

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

AsDockerBuildRequest is the BasicRunRequest implementation for EncodedTaskRunRequest.

func (EncodedTaskRunRequest) AsEncodedTaskRunRequest Uses

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

AsEncodedTaskRunRequest is the BasicRunRequest implementation for EncodedTaskRunRequest.

func (EncodedTaskRunRequest) AsFileTaskRunRequest Uses

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

AsFileTaskRunRequest is the BasicRunRequest implementation for EncodedTaskRunRequest.

func (EncodedTaskRunRequest) AsRunRequest Uses

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

AsRunRequest is the BasicRunRequest implementation for EncodedTaskRunRequest.

func (EncodedTaskRunRequest) AsTaskRunRequest Uses

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

AsTaskRunRequest is the BasicRunRequest implementation for EncodedTaskRunRequest.

func (EncodedTaskRunRequest) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for EncodedTaskRunRequest.

type EncodedTaskStep Uses

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 Uses

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

AsBasicTaskStepProperties is the BasicTaskStepProperties implementation for EncodedTaskStep.

func (EncodedTaskStep) AsDockerBuildStep Uses

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

AsDockerBuildStep is the BasicTaskStepProperties implementation for EncodedTaskStep.

func (EncodedTaskStep) AsEncodedTaskStep Uses

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

AsEncodedTaskStep is the BasicTaskStepProperties implementation for EncodedTaskStep.

func (EncodedTaskStep) AsFileTaskStep Uses

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

AsFileTaskStep is the BasicTaskStepProperties implementation for EncodedTaskStep.

func (EncodedTaskStep) AsTaskStepProperties Uses

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

AsTaskStepProperties is the BasicTaskStepProperties implementation for EncodedTaskStep.

func (EncodedTaskStep) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for EncodedTaskStep.

type EncodedTaskStepUpdateParameters Uses

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 Uses

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

AsBasicTaskStepUpdateParameters is the BasicTaskStepUpdateParameters implementation for EncodedTaskStepUpdateParameters.

func (EncodedTaskStepUpdateParameters) AsDockerBuildStepUpdateParameters Uses

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

AsDockerBuildStepUpdateParameters is the BasicTaskStepUpdateParameters implementation for EncodedTaskStepUpdateParameters.

func (EncodedTaskStepUpdateParameters) AsEncodedTaskStepUpdateParameters Uses

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

AsEncodedTaskStepUpdateParameters is the BasicTaskStepUpdateParameters implementation for EncodedTaskStepUpdateParameters.

func (EncodedTaskStepUpdateParameters) AsFileTaskStepUpdateParameters Uses

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

AsFileTaskStepUpdateParameters is the BasicTaskStepUpdateParameters implementation for EncodedTaskStepUpdateParameters.

func (EncodedTaskStepUpdateParameters) AsTaskStepUpdateParameters Uses

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

AsTaskStepUpdateParameters is the BasicTaskStepUpdateParameters implementation for EncodedTaskStepUpdateParameters.

func (EncodedTaskStepUpdateParameters) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for EncodedTaskStepUpdateParameters.

type EncryptionProperty Uses

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 Uses

type EncryptionStatus string

EncryptionStatus enumerates the values for encryption status.

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

func PossibleEncryptionStatusValues Uses

func PossibleEncryptionStatusValues() []EncryptionStatus

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

type ErrorResponse Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

EventInfo the basic information of an event.

type EventListResult Uses

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 Uses

func (elr EventListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type EventListResultIterator Uses

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

EventListResultIterator provides access to a complete listing of Event values.

func NewEventListResultIterator Uses

func NewEventListResultIterator(page EventListResultPage) EventListResultIterator

Creates a new instance of the EventListResultIterator type.

func (*EventListResultIterator) Next Uses

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 Uses

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 Uses

func (iter EventListResultIterator) NotDone() bool

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

func (EventListResultIterator) Response Uses

func (iter EventListResultIterator) Response() EventListResult

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

func (EventListResultIterator) Value Uses

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 Uses

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

EventListResultPage contains a page of Event values.

func NewEventListResultPage Uses

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

Creates a new instance of the EventListResultPage type.

func (*EventListResultPage) Next Uses

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 Uses

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 Uses

func (page EventListResultPage) NotDone() bool

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

func (EventListResultPage) Response Uses

func (page EventListResultPage) Response() EventListResult

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

func (EventListResultPage) Values Uses

func (page EventListResultPage) Values() []Event

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

type EventRequestMessage Uses

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 Uses

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

MarshalJSON is the custom marshaler for EventRequestMessage.

type EventResponseMessage Uses

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 Uses

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

MarshalJSON is the custom marshaler for EventResponseMessage.

type ExportPipeline Uses

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 Uses

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

MarshalJSON is the custom marshaler for ExportPipeline.

func (*ExportPipeline) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ExportPipeline struct.

type ExportPipelineListResult Uses

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 Uses

func (eplr ExportPipelineListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ExportPipelineListResultIterator Uses

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

ExportPipelineListResultIterator provides access to a complete listing of ExportPipeline values.

func NewExportPipelineListResultIterator Uses

func NewExportPipelineListResultIterator(page ExportPipelineListResultPage) ExportPipelineListResultIterator

Creates a new instance of the ExportPipelineListResultIterator type.

func (*ExportPipelineListResultIterator) Next Uses

func (iter *ExportPipelineListResultIterator) 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 (*ExportPipelineListResultIterator) NextWithContext Uses

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 Uses

func (iter ExportPipelineListResultIterator) NotDone() bool

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

func (ExportPipelineListResultIterator) Response Uses

func (iter ExportPipelineListResultIterator) Response() ExportPipelineListResult

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

func (ExportPipelineListResultIterator) Value Uses

func (iter ExportPipelineListResultIterator) Value() ExportPipeline

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

type ExportPipelineListResultPage Uses

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

ExportPipelineListResultPage contains a page of ExportPipeline values.

func NewExportPipelineListResultPage Uses

func NewExportPipelineListResultPage(cur ExportPipelineListResult, getNextPage func(context.Context, ExportPipelineListResult) (ExportPipelineListResult, error)) ExportPipelineListResultPage

Creates a new instance of the ExportPipelineListResultPage type.

func (*ExportPipelineListResultPage) Next Uses

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 Uses

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 Uses

func (page ExportPipelineListResultPage) NotDone() bool

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

func (ExportPipelineListResultPage) Response Uses

func (page ExportPipelineListResultPage) Response() ExportPipelineListResult

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

func (ExportPipelineListResultPage) Values Uses

func (page ExportPipelineListResultPage) Values() []ExportPipeline

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

type ExportPipelineProperties Uses

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 Uses

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

MarshalJSON is the custom marshaler for ExportPipelineProperties.

type ExportPipelineTargetProperties Uses

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 Uses

type ExportPipelinesClient struct {
    BaseClient
}

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

func NewExportPipelinesClient Uses

func NewExportPipelinesClient(subscriptionID string) ExportPipelinesClient

NewExportPipelinesClient creates an instance of the ExportPipelinesClient client.

func NewExportPipelinesClientWithBaseURI Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (ExportPipelinesClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (ExportPipelinesClient) GetResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListPreparer prepares the List request.

func (ExportPipelinesClient) ListResponder Uses

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 Uses

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 Uses

type ExportPipelinesCreateFuture struct {
    azure.Future
}

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

func (*ExportPipelinesCreateFuture) Result Uses

func (future *ExportPipelinesCreateFuture) Result(client ExportPipelinesClient) (ep ExportPipeline, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ExportPipelinesDeleteFuture Uses

type ExportPipelinesDeleteFuture struct {
    azure.Future
}

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

func (*ExportPipelinesDeleteFuture) Result Uses

func (future *ExportPipelinesDeleteFuture) Result(client ExportPipelinesClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type FileTaskRunRequest Uses

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 Uses

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

AsBasicRunRequest is the BasicRunRequest implementation for FileTaskRunRequest.

func (FileTaskRunRequest) AsDockerBuildRequest Uses

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

AsDockerBuildRequest is the BasicRunRequest implementation for FileTaskRunRequest.

func (FileTaskRunRequest) AsEncodedTaskRunRequest Uses

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

AsEncodedTaskRunRequest is the BasicRunRequest implementation for FileTaskRunRequest.

func (FileTaskRunRequest) AsFileTaskRunRequest Uses

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

AsFileTaskRunRequest is the BasicRunRequest implementation for FileTaskRunRequest.

func (FileTaskRunRequest) AsRunRequest Uses

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

AsRunRequest is the BasicRunRequest implementation for FileTaskRunRequest.

func (FileTaskRunRequest) AsTaskRunRequest Uses

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

AsTaskRunRequest is the BasicRunRequest implementation for FileTaskRunRequest.

func (FileTaskRunRequest) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for FileTaskRunRequest.

type FileTaskStep Uses

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 Uses

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

AsBasicTaskStepProperties is the BasicTaskStepProperties implementation for FileTaskStep.

func (FileTaskStep) AsDockerBuildStep Uses

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

AsDockerBuildStep is the BasicTaskStepProperties implementation for FileTaskStep.

func (FileTaskStep) AsEncodedTaskStep Uses

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

AsEncodedTaskStep is the BasicTaskStepProperties implementation for FileTaskStep.

func (FileTaskStep) AsFileTaskStep Uses

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

AsFileTaskStep is the BasicTaskStepProperties implementation for FileTaskStep.

func (FileTaskStep) AsTaskStepProperties Uses

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

AsTaskStepProperties is the BasicTaskStepProperties implementation for FileTaskStep.

func (FileTaskStep) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for FileTaskStep.

type FileTaskStepUpdateParameters Uses

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 Uses

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

AsBasicTaskStepUpdateParameters is the BasicTaskStepUpdateParameters implementation for FileTaskStepUpdateParameters.

func (FileTaskStepUpdateParameters) AsDockerBuildStepUpdateParameters Uses

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

AsDockerBuildStepUpdateParameters is the BasicTaskStepUpdateParameters implementation for FileTaskStepUpdateParameters.

func (FileTaskStepUpdateParameters) AsEncodedTaskStepUpdateParameters Uses

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

AsEncodedTaskStepUpdateParameters is the BasicTaskStepUpdateParameters implementation for FileTaskStepUpdateParameters.

func (FileTaskStepUpdateParameters) AsFileTaskStepUpdateParameters Uses

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

AsFileTaskStepUpdateParameters is the BasicTaskStepUpdateParameters implementation for FileTaskStepUpdateParameters.

func (FileTaskStepUpdateParameters) AsTaskStepUpdateParameters Uses

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

AsTaskStepUpdateParameters is the BasicTaskStepUpdateParameters implementation for FileTaskStepUpdateParameters.

func (FileTaskStepUpdateParameters) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for FileTaskStepUpdateParameters.

type GenerateCredentialsParameters Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

MarshalJSON is the custom marshaler for IdentityProperties.

type ImageDescriptor Uses

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 Uses

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 Uses

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 Uses

type ImportMode string

ImportMode enumerates the values for import mode.

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

func PossibleImportModeValues Uses

func PossibleImportModeValues() []ImportMode

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

type ImportPipeline Uses

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 Uses

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

MarshalJSON is the custom marshaler for ImportPipeline.

func (*ImportPipeline) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for ImportPipeline struct.

type ImportPipelineListResult Uses

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 Uses

func (iplr ImportPipelineListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ImportPipelineListResultIterator Uses

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

ImportPipelineListResultIterator provides access to a complete listing of ImportPipeline values.

func NewImportPipelineListResultIterator Uses

func NewImportPipelineListResultIterator(page ImportPipelineListResultPage) ImportPipelineListResultIterator

Creates a new instance of the ImportPipelineListResultIterator type.

func (*ImportPipelineListResultIterator) Next Uses

func (iter *ImportPipelineListResultIterator) 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 (*ImportPipelineListResultIterator) NextWithContext Uses

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 Uses

func (iter ImportPipelineListResultIterator) NotDone() bool

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

func (ImportPipelineListResultIterator) Response Uses

func (iter ImportPipelineListResultIterator) Response() ImportPipelineListResult

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

func (ImportPipelineListResultIterator) Value Uses

func (iter ImportPipelineListResultIterator) Value() ImportPipeline

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

type ImportPipelineListResultPage Uses

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

ImportPipelineListResultPage contains a page of ImportPipeline values.

func NewImportPipelineListResultPage Uses

func NewImportPipelineListResultPage(cur ImportPipelineListResult, getNextPage func(context.Context, ImportPipelineListResult) (ImportPipelineListResult, error)) ImportPipelineListResultPage

Creates a new instance of the ImportPipelineListResultPage type.

func (*ImportPipelineListResultPage) Next Uses

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 Uses

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 Uses

func (page ImportPipelineListResultPage) NotDone() bool

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

func (ImportPipelineListResultPage) Response Uses

func (page ImportPipelineListResultPage) Response() ImportPipelineListResult

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

func (ImportPipelineListResultPage) Values Uses

func (page ImportPipelineListResultPage) Values() []ImportPipeline

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

type ImportPipelineProperties Uses

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 Uses

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

MarshalJSON is the custom marshaler for ImportPipelineProperties.

type ImportPipelineSourceProperties Uses

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 Uses

type ImportPipelinesClient struct {
    BaseClient
}

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

func NewImportPipelinesClient Uses

func NewImportPipelinesClient(subscriptionID string) ImportPipelinesClient

NewImportPipelinesClient creates an instance of the ImportPipelinesClient client.

func NewImportPipelinesClientWithBaseURI Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

DeletePreparer prepares the Delete request.

func (ImportPipelinesClient) DeleteResponder Uses

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 Uses

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 Uses

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 Uses

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

GetPreparer prepares the Get request.

func (ImportPipelinesClient) GetResponder Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

ListPreparer prepares the List request.

func (ImportPipelinesClient) ListResponder Uses

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 Uses

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 Uses

type ImportPipelinesCreateFuture struct {
    azure.Future
}

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

func (*ImportPipelinesCreateFuture) Result Uses

func (future *ImportPipelinesCreateFuture) Result(client ImportPipelinesClient) (IP ImportPipeline, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ImportPipelinesDeleteFuture Uses

type ImportPipelinesDeleteFuture struct {
    azure.Future
}

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

func (*ImportPipelinesDeleteFuture) Result Uses

func (future *ImportPipelinesDeleteFuture) Result(client ImportPipelinesClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type ImportSource Uses

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 Uses

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 Uses

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 Uses

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 Uses

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

MarshalJSON is the custom marshaler for KeyVaultProperties.

type LastModifiedByType Uses

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 Uses

func PossibleLastModifiedByTypeValues() []LastModifiedByType

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

type NetworkRuleSet Uses

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 Uses

type OS string

OS enumerates the values for os.

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

func PossibleOSValues Uses

func PossibleOSValues() []OS

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

type OperationDefinition Uses

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 Uses

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

MarshalJSON is the custom marshaler for OperationDefinition.

func (*OperationDefinition) UnmarshalJSON Uses

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

UnmarshalJSON is the custom unmarshaler for OperationDefinition struct.

type OperationDisplayDefinition Uses

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 Uses

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 Uses

func (olr OperationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationListResultIterator Uses

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

OperationListResultIterator provides access to a complete listing of OperationDefinition values.

func NewOperationListResultIterator Uses

func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator

Creates a new instance of the OperationListResultIterator type.

func (*OperationListResultIterator) Next Uses

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 Uses

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 Uses

func (iter OperationListResultIterator) NotDone() bool

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

func (OperationListResultIterator) Response Uses

func (iter OperationListResultIterator) Response() OperationListResult

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

func (OperationListResultIterator) Value Uses

func (iter OperationListResultIterator) Value() OperationDefinition

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

type OperationListResultPage Uses

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

OperationListResultPage contains a page of OperationDefinition values.

func NewOperationListResultPage Uses

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

Creates a new instance of the OperationListResultPage type.

func (*OperationListResultPage) Next Uses

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 Uses

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 Uses

func (page OperationListResultPage) NotDone() bool

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

func (OperationListResultPage) Response Uses

func (page OperationListResultPage) Response() OperationListResult

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

func (OperationListResultPage) Values Uses

func (page OperationListResultPage) Values() []OperationDefinition

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

type OperationMetricSpecificationDefinition Uses

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 Uses

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

OperationPropertiesDefinition the definition of Azure Monitoring properties.

type OperationServiceSpecificationDefinition Uses

type OperationServiceSpecificationDefinition struct {
    // MetricSpecifications - A list of Azure Monitoring metrics definition.
    MetricSpecifications *[]OperationMetricSpecificationDefinition `json:"metricSpecifications,omitempty"`
}

OperationServiceSpecificationDefinition the definition of Azure Monitoring list.

type OperationsClient Uses

type OperationsClient struct {
    BaseClient
}

OperationsClient is the client for the Operations methods of the Containerregistry service.

func NewOperationsClient Uses

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI Uses

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient 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 (OperationsClient) List Uses

func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error)

List lists all of the available Azure Container Registry REST API operations.

func (OperationsClient) ListComplete Uses

func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)

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

func (OperationsClient) ListPreparer Uses

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder Uses

func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)

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

func (OperationsClient) ListSender Uses

func (client OperationsClient) 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 OverrideTaskStepProperties Uses

type OverrideTaskStepProperties struct {
    // ContextPath - The source context against which run has to be queued.
    ContextPath *string `json:"contextPath,omitempty"`
    // File - The file against which run has to be queued.
    File *string `json:"file,omitempty"`
    // Arguments - Gets or sets the collection of override arguments to be used when
    // executing a build step.
    Arguments *[]Argument `json:"arguments,omitempty"`
    // Target - The name of the target build stage for the docker build.
    Target *string `json:"target,omitempty"`
    // Values - The collection of overridable values that can be passed when running a Task.
    Values *[]SetValue `json:"values,omitempty"`
    // UpdateTriggerToken - Base64 encoded update trigger token that will be attached with the base image trigger webhook.
    UpdateTriggerToken *string `json:"updateTriggerToken,omitempty"`
}

OverrideTaskStepProperties ...

type PasswordName Uses

type PasswordName string

PasswordName enumerates the values for password name.

const (
    // Password ...
    Password PasswordName = "password"
    // Password2 ...
    Password2 PasswordName = "password2"
)

func PossiblePasswordNameValues Uses

func PossiblePasswordNameValues() []PasswordName

PossiblePasswordNameValues returns an array of possible values for the PasswordName const type.

type PipelineOptions Uses

type PipelineOptions string

PipelineOptions enumerates the values for pipeline options.

const (
    // ContinueOnErrors ...
    ContinueOnErrors PipelineOptions = "ContinueOnErrors"
    // DeleteSourceBlobOnSuccess ...
    DeleteSourceBlobOnSuccess PipelineOptions = "DeleteSourceBlobOnSuccess"
    // OverwriteBlobs ...
    OverwriteBlobs PipelineOptions = "OverwriteBlobs"
    // OverwriteTags ...
    OverwriteTags PipelineOptions = "OverwriteTags"
)

func PossiblePipelineOptionsValues Uses

func PossiblePipelineOptionsValues() []PipelineOptions

PossiblePipelineOptionsValues returns an array of possible values for the PipelineOptions const type.

type PipelineRun Uses

type PipelineRun struct {
    autorest.Response `json:"-"`
    // PipelineRunProperties - The properties of a pipeline run.
    *PipelineRunProperties `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"`
}

PipelineRun an object that represents a pipeline run for a container registry.

func (PipelineRun) MarshalJSON Uses

func (pr PipelineRun) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PipelineRun.

func (*PipelineRun) UnmarshalJSON Uses

func (pr *PipelineRun) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PipelineRun struct.

type PipelineRunListResult Uses

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

PipelineRunListResult the result of a request to list pipeline runs for a container registry.

func (PipelineRunListResult) IsEmpty Uses

func (prlr PipelineRunListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type PipelineRunListResultIterator Uses

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

PipelineRunListResultIterator provides access to a complete listing of PipelineRun values.

func NewPipelineRunListResultIterator Uses

func NewPipelineRunListResultIterator(page PipelineRunListResultPage) PipelineRunListResultIterator

Creates a new instance of the PipelineRunListResultIterator type.

func (*PipelineRunListResultIterator) Next Uses

func (iter *PipelineRunListResultIterator) 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 (*PipelineRunListResultIterator) NextWithContext Uses

func (iter *PipelineRunListResultIterator) 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 (PipelineRunListResultIterator) NotDone Uses

func (iter PipelineRunListResultIterator) NotDone() bool

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

func (PipelineRunListResultIterator) Response Uses

func (iter PipelineRunListResultIterator) Response() PipelineRunListResult

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

func (PipelineRunListResultIterator) Value Uses

func (iter PipelineRunListResultIterator) Value() PipelineRun

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

type PipelineRunListResultPage Uses

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

PipelineRunListResultPage contains a page of PipelineRun values.

func NewPipelineRunListResultPage Uses

func NewPipelineRunListResultPage(cur PipelineRunListResult, getNextPage func(context.Context, PipelineRunListResult) (PipelineRunListResult, error)) PipelineRunListResultPage

Creates a new instance of the PipelineRunListResultPage type.

func (*PipelineRunListResultPage) Next Uses

func (page *PipelineRunListResultPage) 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 (*PipelineRunListResultPage) NextWithContext Uses

func (page *PipelineRunListResultPage) 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 (PipelineRunListResultPage) NotDone Uses

func (page PipelineRunListResultPage) NotDone() bool

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

func (PipelineRunListResultPage) Response Uses

func (page PipelineRunListResultPage) Response() PipelineRunListResult

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

func (PipelineRunListResultPage) Values Uses

func (page PipelineRunListResultPage) Values() []PipelineRun

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

type PipelineRunProperties Uses

type PipelineRunProperties struct {
    // ProvisioningState - READ-ONLY; The provisioning state of a pipeline run. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
    // Request - The request parameters for a pipeline run.
    Request *PipelineRunRequest `json:"request,omitempty"`
    // Response - READ-ONLY; The response of a pipeline run.
    Response *PipelineRunResponse `json:"response,omitempty"`
    // ForceUpdateTag - How the pipeline run should be forced to recreate even if the pipeline run configuration has not changed.
    ForceUpdateTag *string `json:"forceUpdateTag,omitempty"`
}

PipelineRunProperties the properties of a pipeline run.

func (PipelineRunProperties) MarshalJSON Uses

func (prp PipelineRunProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PipelineRunProperties.

type PipelineRunRequest Uses

type PipelineRunRequest struct {
    // PipelineResourceID - The resource ID of the pipeline to run.
    PipelineResourceID *string `json:"pipelineResourceId,omitempty"`
    // Artifacts - List of source artifacts to be transferred by the pipeline.
    // 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').
    Artifacts *[]string `json:"artifacts,omitempty"`
    // Source - The source properties of the pipeline run.
    Source *PipelineRunSourceProperties `json:"source,omitempty"`
    // Target - The target properties of the pipeline run.
    Target *PipelineRunTargetProperties `json:"target,omitempty"`
    // CatalogDigest - The digest of the tar used to transfer the artifacts.
    CatalogDigest *string `json:"catalogDigest,omitempty"`
}

PipelineRunRequest the request properties provided for a pipeline run.

type PipelineRunResponse Uses

type PipelineRunResponse struct {
    // Status - The current status of the pipeline run.
    Status *string `json:"status,omitempty"`
    // ImportedArtifacts - The artifacts imported in the pipeline run.
    ImportedArtifacts *[]string `json:"importedArtifacts,omitempty"`
    // Progress - The current progress of the copy operation.
    Progress *ProgressProperties `json:"progress,omitempty"`
    // StartTime - The time the pipeline run started.
    StartTime *date.Time `json:"startTime,omitempty"`
    // FinishTime - The time the pipeline run finished.
    FinishTime *date.Time `json:"finishTime,omitempty"`
    // Source - The source of the pipeline run.
    Source *ImportPipelineSourceProperties `json:"source,omitempty"`
    // Target - The target of the pipeline run.
    Target *ExportPipelineTargetProperties `json:"target,omitempty"`
    // CatalogDigest - The digest of the tar used to transfer the artifacts.
    CatalogDigest *string `json:"catalogDigest,omitempty"`
    // Trigger - The trigger that caused the pipeline run.
    Trigger *PipelineTriggerDescriptor `json:"trigger,omitempty"`
    // PipelineRunErrorMessage - The detailed error message for the pipeline run in the case of failure.
    PipelineRunErrorMessage *string `json:"pipelineRunErrorMessage,omitempty"`
}

PipelineRunResponse the response properties returned for a pipeline run.

type PipelineRunSourceProperties Uses

type PipelineRunSourceProperties struct {
    // Type - The type of the source. Possible values include: 'AzureStorageBlob'
    Type PipelineRunSourceType `json:"type,omitempty"`
    // Name - The name of the source.
    Name *string `json:"name,omitempty"`
}

PipelineRunSourceProperties ...

type PipelineRunSourceType Uses

type PipelineRunSourceType string

PipelineRunSourceType enumerates the values for pipeline run source type.

const (
    // AzureStorageBlob ...
    AzureStorageBlob PipelineRunSourceType = "AzureStorageBlob"
)

func PossiblePipelineRunSourceTypeValues Uses

func PossiblePipelineRunSourceTypeValues() []PipelineRunSourceType

PossiblePipelineRunSourceTypeValues returns an array of possible values for the PipelineRunSourceType const type.

type PipelineRunTargetProperties Uses

type PipelineRunTargetProperties struct {
    // Type - The type of the target. Possible values include: 'PipelineRunTargetTypeAzureStorageBlob'
    Type PipelineRunTargetType `json:"type,omitempty"`
    // Name - The name of the target.
    Name *string `json:"name,omitempty"`
}

PipelineRunTargetProperties ...

type PipelineRunTargetType Uses

type PipelineRunTargetType string

PipelineRunTargetType enumerates the values for pipeline run target type.

const (
    // PipelineRunTargetTypeAzureStorageBlob ...
    PipelineRunTargetTypeAzureStorageBlob PipelineRunTargetType = "AzureStorageBlob"
)

func PossiblePipelineRunTargetTypeValues Uses

func PossiblePipelineRunTargetTypeValues() []PipelineRunTargetType

PossiblePipelineRunTargetTypeValues returns an array of possible values for the PipelineRunTargetType const type.

type PipelineRunsClient Uses

type PipelineRunsClient struct {
    BaseClient
}

PipelineRunsClient is the client for the PipelineRuns methods of the Containerregistry service.

func NewPipelineRunsClient Uses

func NewPipelineRunsClient(subscriptionID string) PipelineRunsClient

NewPipelineRunsClient creates an instance of the PipelineRunsClient client.

func NewPipelineRunsClientWithBaseURI Uses

func NewPipelineRunsClientWithBaseURI(baseURI string, subscriptionID string) PipelineRunsClient

NewPipelineRunsClientWithBaseURI creates an instance of the PipelineRunsClient 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 (PipelineRunsClient) Create Uses

func (client PipelineRunsClient) Create(ctx context.Context, resourceGroupName string, registryName string, pipelineRunName string, pipelineRunCreateParameters PipelineRun) (result PipelineRunsCreateFuture, err error)

Create creates a pipeline run 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. pipelineRunName - the name of the pipeline run. pipelineRunCreateParameters - the parameters for creating a pipeline run.

func (PipelineRunsClient) CreatePreparer Uses

func (client PipelineRunsClient) CreatePreparer(ctx context.Context, resourceGroupName string, registryName string, pipelineRunName string, pipelineRunCreateParameters PipelineRun) (*http.Request, error)

CreatePreparer prepares the Create request.

func (PipelineRunsClient) CreateResponder Uses

func (client PipelineRunsClient) CreateResponder(resp *http.Response) (result PipelineRun, err error)

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

func (PipelineRunsClient) CreateSender Uses

func (client PipelineRunsClient) CreateSender(req *http.Request) (future PipelineRunsCreateFuture, err error)

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

func (PipelineRunsClient) Delete Uses

func (client PipelineRunsClient) Delete(ctx context.Context, resourceGroupName string, registryName string, pipelineRunName string) (result PipelineRunsDeleteFuture, err error)

Delete deletes a pipeline run 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. pipelineRunName - the name of the pipeline run.

func (PipelineRunsClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (PipelineRunsClient) DeleteResponder Uses

func (client PipelineRunsClient) 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 (PipelineRunsClient) DeleteSender Uses

func (client PipelineRunsClient) DeleteSender(req *http.Request) (future PipelineRunsDeleteFuture, err error)

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

func (PipelineRunsClient) Get Uses

func (client PipelineRunsClient) Get(ctx context.Context, resourceGroupName string, registryName string, pipelineRunName string) (result PipelineRun, err error)

Get gets the detailed information for a given pipeline run. Parameters: resourceGroupName - the name of the resource group to which the container registry belongs. registryName - the name of the container registry. pipelineRunName - the name of the pipeline run.

func (PipelineRunsClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (PipelineRunsClient) GetResponder Uses

func (client PipelineRunsClient) GetResponder(resp *http.Response) (result PipelineRun, err error)

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

func (PipelineRunsClient) GetSender Uses

func (client PipelineRunsClient) 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 (PipelineRunsClient) List Uses

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

List lists all the pipeline runs 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 (PipelineRunsClient) ListComplete Uses

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

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

func (PipelineRunsClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (PipelineRunsClient) ListResponder Uses

func (client PipelineRunsClient) ListResponder(resp *http.Response) (result PipelineRunListResult, err error)

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

func (PipelineRunsClient) ListSender Uses

func (client PipelineRunsClient) 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 PipelineRunsCreateFuture Uses

type PipelineRunsCreateFuture struct {
    azure.Future
}

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

func (*PipelineRunsCreateFuture) Result Uses

func (future *PipelineRunsCreateFuture) Result(client PipelineRunsClient) (pr PipelineRun, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type PipelineRunsDeleteFuture Uses

type PipelineRunsDeleteFuture struct {
    azure.Future
}

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

func (*PipelineRunsDeleteFuture) Result Uses

func (future *PipelineRunsDeleteFuture) Result(client PipelineRunsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type PipelineSourceTriggerDescriptor Uses

type PipelineSourceTriggerDescriptor struct {
    // Timestamp - The timestamp when the source update happened.
    Timestamp *date.Time `json:"timestamp,omitempty"`
}

PipelineSourceTriggerDescriptor ...

type PipelineSourceTriggerProperties Uses

type PipelineSourceTriggerProperties struct {
    // Status - The current status of the source trigger. Possible values include: 'TriggerStatusEnabled', 'TriggerStatusDisabled'
    Status TriggerStatus `json:"status,omitempty"`
}

PipelineSourceTriggerProperties ...

type PipelineSourceType Uses

type PipelineSourceType string

PipelineSourceType enumerates the values for pipeline source type.

const (
    // AzureStorageBlobContainer ...
    AzureStorageBlobContainer PipelineSourceType = "AzureStorageBlobContainer"
)

func PossiblePipelineSourceTypeValues Uses

func PossiblePipelineSourceTypeValues() []PipelineSourceType

PossiblePipelineSourceTypeValues returns an array of possible values for the PipelineSourceType const type.

type PipelineTriggerDescriptor Uses

type PipelineTriggerDescriptor struct {
    // SourceTrigger - The source trigger that caused the pipeline run.
    SourceTrigger *PipelineSourceTriggerDescriptor `json:"sourceTrigger,omitempty"`
}

PipelineTriggerDescriptor ...

type PipelineTriggerProperties Uses

type PipelineTriggerProperties struct {
    // SourceTrigger - The source trigger properties of the pipeline.
    SourceTrigger *PipelineSourceTriggerProperties `json:"sourceTrigger,omitempty"`
}

PipelineTriggerProperties ...

type PlatformProperties Uses

type PlatformProperties struct {
    // Os - The operating system type required for the run. Possible values include: 'Windows', 'Linux'
    Os  OS  `json:"os,omitempty"`
    // Architecture - The OS architecture. Possible values include: 'Amd64', 'X86', 'ThreeEightSix', 'Arm', 'Arm64'
    Architecture Architecture `json:"architecture,omitempty"`
    // Variant - Variant of the CPU. Possible values include: 'V6', 'V7', 'V8'
    Variant Variant `json:"variant,omitempty"`
}

PlatformProperties the platform properties against which the run has to happen.

type PlatformUpdateParameters Uses

type PlatformUpdateParameters struct {
    // Os - The operating system type required for the run. Possible values include: 'Windows', 'Linux'
    Os  OS  `json:"os,omitempty"`
    // Architecture - The OS architecture. Possible values include: 'Amd64', 'X86', 'ThreeEightSix', 'Arm', 'Arm64'
    Architecture Architecture `json:"architecture,omitempty"`
    // Variant - Variant of the CPU. Possible values include: 'V6', 'V7', 'V8'
    Variant Variant `json:"variant,omitempty"`
}

PlatformUpdateParameters the properties for updating the platform configuration.

type Policies Uses

type Policies struct {
    // QuarantinePolicy - The quarantine policy for a container registry.
    QuarantinePolicy *QuarantinePolicy `json:"quarantinePolicy,omitempty"`
    // TrustPolicy - The content trust policy for a container registry.
    TrustPolicy *TrustPolicy `json:"trustPolicy,omitempty"`
    // RetentionPolicy - The retention policy for a container registry.
    RetentionPolicy *RetentionPolicy `json:"retentionPolicy,omitempty"`
}

Policies the policies for a container registry.

type PolicyStatus Uses

type PolicyStatus string

PolicyStatus enumerates the values for policy status.

const (
    // PolicyStatusDisabled ...
    PolicyStatusDisabled PolicyStatus = "disabled"
    // PolicyStatusEnabled ...
    PolicyStatusEnabled PolicyStatus = "enabled"
)

func PossiblePolicyStatusValues Uses

func PossiblePolicyStatusValues() []PolicyStatus

PossiblePolicyStatusValues returns an array of possible values for the PolicyStatus const type.

type PrivateEndpoint Uses

type PrivateEndpoint struct {
    // ID - This is private endpoint resource created with Microsoft.Network resource provider.
    ID *string `json:"id,omitempty"`
}

PrivateEndpoint the Private Endpoint resource.

type PrivateEndpointConnection Uses

type PrivateEndpointConnection struct {
    autorest.Response `json:"-"`
    // PrivateEndpointConnectionProperties - The properties of a private endpoint connection.
    *PrivateEndpointConnectionProperties `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"`
}

PrivateEndpointConnection an object that represents a private endpoint connection for a container registry.

func (PrivateEndpointConnection) MarshalJSON Uses

func (pec PrivateEndpointConnection) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateEndpointConnection.

func (*PrivateEndpointConnection) UnmarshalJSON Uses

func (pec *PrivateEndpointConnection) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PrivateEndpointConnection struct.

type PrivateEndpointConnectionListResult Uses

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

PrivateEndpointConnectionListResult the result of a request to list private endpoint connections for a container registry.

func (PrivateEndpointConnectionListResult) IsEmpty Uses

func (peclr PrivateEndpointConnectionListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type PrivateEndpointConnectionListResultIterator Uses

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

PrivateEndpointConnectionListResultIterator provides access to a complete listing of PrivateEndpointConnection values.

func NewPrivateEndpointConnectionListResultIterator Uses

func NewPrivateEndpointConnectionListResultIterator(page PrivateEndpointConnectionListResultPage) PrivateEndpointConnectionListResultIterator

Creates a new instance of the PrivateEndpointConnectionListResultIterator type.

func (*PrivateEndpointConnectionListResultIterator) Next Uses

func (iter *PrivateEndpointConnectionListResultIterator) 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 (*PrivateEndpointConnectionListResultIterator) NextWithContext Uses

func (iter *PrivateEndpointConnectionListResultIterator) 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 (PrivateEndpointConnectionListResultIterator) NotDone Uses

func (iter PrivateEndpointConnectionListResultIterator) NotDone() bool

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

func (PrivateEndpointConnectionListResultIterator) Response Uses

func (iter PrivateEndpointConnectionListResultIterator) Response() PrivateEndpointConnectionListResult

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

func (PrivateEndpointConnectionListResultIterator) Value Uses

func (iter PrivateEndpointConnectionListResultIterator) Value() PrivateEndpointConnection

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

type PrivateEndpointConnectionListResultPage Uses

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

PrivateEndpointConnectionListResultPage contains a page of PrivateEndpointConnection values.

func NewPrivateEndpointConnectionListResultPage Uses

func NewPrivateEndpointConnectionListResultPage(cur PrivateEndpointConnectionListResult, getNextPage func(context.Context, PrivateEndpointConnectionListResult) (PrivateEndpointConnectionListResult, error)) PrivateEndpointConnectionListResultPage

Creates a new instance of the PrivateEndpointConnectionListResultPage type.

func (*PrivateEndpointConnectionListResultPage) Next Uses

func (page *PrivateEndpointConnectionListResultPage) 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 (*PrivateEndpointConnectionListResultPage) NextWithContext Uses

func (page *PrivateEndpointConnectionListResultPage) 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 (PrivateEndpointConnectionListResultPage) NotDone Uses

func (page PrivateEndpointConnectionListResultPage) NotDone() bool

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

func (PrivateEndpointConnectionListResultPage) Response Uses

func (page PrivateEndpointConnectionListResultPage) Response() PrivateEndpointConnectionListResult

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

func (PrivateEndpointConnectionListResultPage) Values Uses

func (page PrivateEndpointConnectionListResultPage) Values() []PrivateEndpointConnection

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

type PrivateEndpointConnectionProperties Uses

type PrivateEndpointConnectionProperties struct {
    // PrivateEndpoint - The resource of private endpoint.
    PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"`
    // PrivateLinkServiceConnectionState - A collection of information about the state of the connection between service consumer and provider.
    PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"`
    // ProvisioningState - READ-ONLY; The provisioning state of private endpoint connection resource. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
}

PrivateEndpointConnectionProperties the properties of a private endpoint connection.

func (PrivateEndpointConnectionProperties) MarshalJSON Uses

func (pecp PrivateEndpointConnectionProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateEndpointConnectionProperties.

type PrivateEndpointConnectionsClient Uses

type PrivateEndpointConnectionsClient struct {
    BaseClient
}

PrivateEndpointConnectionsClient is the client for the PrivateEndpointConnections methods of the Containerregistry service.

func NewPrivateEndpointConnectionsClient Uses

func NewPrivateEndpointConnectionsClient(subscriptionID string) PrivateEndpointConnectionsClient

NewPrivateEndpointConnectionsClient creates an instance of the PrivateEndpointConnectionsClient client.

func NewPrivateEndpointConnectionsClientWithBaseURI Uses

func NewPrivateEndpointConnectionsClientWithBaseURI(baseURI string, subscriptionID string) PrivateEndpointConnectionsClient

NewPrivateEndpointConnectionsClientWithBaseURI creates an instance of the PrivateEndpointConnectionsClient 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 (PrivateEndpointConnectionsClient) CreateOrUpdate Uses

func (client PrivateEndpointConnectionsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, registryName string, privateEndpointConnectionName string, privateEndpointConnection PrivateEndpointConnection) (result PrivateEndpointConnectionsCreateOrUpdateFuture, err error)

CreateOrUpdate update the state of specified private endpoint connection associated with the container registry. Parameters: resourceGroupName - the name of the resource group to which the container registry belongs. registryName - the name of the container registry. privateEndpointConnectionName - the name of the private endpoint connection. privateEndpointConnection - the parameters for creating a private endpoint connection.

func (PrivateEndpointConnectionsClient) CreateOrUpdatePreparer Uses

func (client PrivateEndpointConnectionsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, registryName string, privateEndpointConnectionName string, privateEndpointConnection PrivateEndpointConnection) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (PrivateEndpointConnectionsClient) CreateOrUpdateResponder Uses

func (client PrivateEndpointConnectionsClient) CreateOrUpdateResponder(resp *http.Response) (result PrivateEndpointConnection, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (PrivateEndpointConnectionsClient) CreateOrUpdateSender Uses

func (client PrivateEndpointConnectionsClient) CreateOrUpdateSender(req *http.Request) (future PrivateEndpointConnectionsCreateOrUpdateFuture, err error)

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

func (PrivateEndpointConnectionsClient) Delete Uses

func (client PrivateEndpointConnectionsClient) Delete(ctx context.Context, resourceGroupName string, registryName string, privateEndpointConnectionName string) (result PrivateEndpointConnectionsDeleteFuture, err error)

Delete deletes the specified private endpoint connection associated with the container registry. Parameters: resourceGroupName - the name of the resource group to which the container registry belongs. registryName - the name of the container registry. privateEndpointConnectionName - the name of the private endpoint connection.

func (PrivateEndpointConnectionsClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (PrivateEndpointConnectionsClient) DeleteResponder Uses

func (client PrivateEndpointConnectionsClient) 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 (PrivateEndpointConnectionsClient) DeleteSender Uses

func (client PrivateEndpointConnectionsClient) DeleteSender(req *http.Request) (future PrivateEndpointConnectionsDeleteFuture, err error)

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

func (PrivateEndpointConnectionsClient) Get Uses

func (client PrivateEndpointConnectionsClient) Get(ctx context.Context, resourceGroupName string, registryName string, privateEndpointConnectionName string) (result PrivateEndpointConnection, err error)

Get get the specified private endpoint connection associated with the container registry. Parameters: resourceGroupName - the name of the resource group to which the container registry belongs. registryName - the name of the container registry. privateEndpointConnectionName - the name of the private endpoint connection.

func (PrivateEndpointConnectionsClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (PrivateEndpointConnectionsClient) GetResponder Uses

func (client PrivateEndpointConnectionsClient) GetResponder(resp *http.Response) (result PrivateEndpointConnection, err error)

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

func (PrivateEndpointConnectionsClient) GetSender Uses

func (client PrivateEndpointConnectionsClient) 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 (PrivateEndpointConnectionsClient) List Uses

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

List list all private endpoint connections in a container registry. Parameters: resourceGroupName - the name of the resource group to which the container registry belongs. registryName - the name of the container registry.

func (PrivateEndpointConnectionsClient) ListComplete Uses

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

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

func (PrivateEndpointConnectionsClient) ListPreparer Uses

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

ListPreparer prepares the List request.

func (PrivateEndpointConnectionsClient) ListResponder Uses

func (client PrivateEndpointConnectionsClient) ListResponder(resp *http.Response) (result PrivateEndpointConnectionListResult, err error)

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

func (PrivateEndpointConnectionsClient) ListSender Uses

func (client PrivateEndpointConnectionsClient) 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 PrivateEndpointConnectionsCreateOrUpdateFuture Uses

type PrivateEndpointConnectionsCreateOrUpdateFuture struct {
    azure.Future
}

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

func (*PrivateEndpointConnectionsCreateOrUpdateFuture) Result Uses

func (future *PrivateEndpointConnectionsCreateOrUpdateFuture) Result(client PrivateEndpointConnectionsClient) (pec PrivateEndpointConnection, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type PrivateEndpointConnectionsDeleteFuture Uses

type PrivateEndpointConnectionsDeleteFuture struct {
    azure.Future
}

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

func (*PrivateEndpointConnectionsDeleteFuture) Result Uses

func (future *PrivateEndpointConnectionsDeleteFuture) Result(client PrivateEndpointConnectionsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type PrivateLinkResource Uses

type PrivateLinkResource struct {
    // Type - READ-ONLY; The resource type is private link resource.
    Type *string `json:"type,omitempty"`
    // ID - The resource ID.
    ID  *string `json:"id,omitempty"`
    // Name - The name of the resource.
    Name *string `json:"name,omitempty"`
    // PrivateLinkResourceProperties - A resource that supports private link capabilities.
    *PrivateLinkResourceProperties `json:"properties,omitempty"`
}

PrivateLinkResource a resource that supports private link capabilities.

func (PrivateLinkResource) MarshalJSON Uses

func (plr PrivateLinkResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PrivateLinkResource.

func (*PrivateLinkResource) UnmarshalJSON Uses

func (plr *PrivateLinkResource) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for PrivateLinkResource struct.

type PrivateLinkResourceListResult Uses

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

PrivateLinkResourceListResult the result of a request to list private link resources for a container registry.

func (PrivateLinkResourceListResult) IsEmpty Uses

func (plrlr PrivateLinkResourceListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type PrivateLinkResourceListResultIterator Uses

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

PrivateLinkResourceListResultIterator provides access to a complete listing of PrivateLinkResource values.

func NewPrivateLinkResourceListResultIterator Uses

func NewPrivateLinkResourceListResultIterator(page PrivateLinkResourceListResultPage) PrivateLinkResourceListResultIterator

Creates a new instance of the PrivateLinkResourceListResultIterator type.

func (*PrivateLinkResourceListResultIterator) Next Uses

func (iter *PrivateLinkResourceListResultIterator) 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 (*PrivateLinkResourceListResultIterator) NextWithContext Uses

func (iter *PrivateLinkResourceListResultIterator) 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 (PrivateLinkResourceListResultIterator) NotDone Uses

func (iter PrivateLinkResourceListResultIterator) NotDone() bool

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

func (PrivateLinkResourceListResultIterator) Response Uses

func (iter PrivateLinkResourceListResultIterator) Response() PrivateLinkResourceListResult

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

func (PrivateLinkResourceListResultIterator) Value Uses

func (iter PrivateLinkResourceListResultIterator) Value() PrivateLinkResource

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

type PrivateLinkResourceListResultPage Uses

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

PrivateLinkResourceListResultPage contains a page of PrivateLinkResource values.

func NewPrivateLinkResourceListResultPage Uses

func NewPrivateLinkResourceListResultPage(cur PrivateLinkResourceListResult, getNextPage func(context.Context, PrivateLinkResourceListResult) (PrivateLinkResourceListResult, error)) PrivateLinkResourceListResultPage

Creates a new instance of the PrivateLinkResourceListResultPage type.

func (*PrivateLinkResourceListResultPage) Next Uses

func (page *PrivateLinkResourceListResultPage) 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 (*PrivateLinkResourceListResultPage) NextWithContext Uses

func (page *PrivateLinkResourceListResultPage) 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 (PrivateLinkResourceListResultPage) NotDone Uses

func (page PrivateLinkResourceListResultPage) NotDone() bool

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

func (PrivateLinkResourceListResultPage) Response Uses

func (page PrivateLinkResourceListResultPage) Response() PrivateLinkResourceListResult

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

func (PrivateLinkResourceListResultPage) Values Uses

func (page PrivateLinkResourceListResultPage) Values() []PrivateLinkResource

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

type PrivateLinkResourceProperties Uses

type PrivateLinkResourceProperties struct {
    // GroupID - The private link resource group id.
    GroupID *string `json:"groupId,omitempty"`
    // RequiredMembers - The private link resource required member names.
    RequiredMembers *[]string `json:"requiredMembers,omitempty"`
    // RequiredZoneNames - The private link resource Private link DNS zone name.
    RequiredZoneNames *[]string `json:"requiredZoneNames,omitempty"`
}

PrivateLinkResourceProperties the properties of a private link resource.

type PrivateLinkServiceConnectionState Uses

type PrivateLinkServiceConnectionState struct {
    // Status - The private link service connection status. Possible values include: 'Approved', 'Pending', 'Rejected', 'Disconnected'
    Status ConnectionStatus `json:"status,omitempty"`
    // Description - The description for connection status. For example if connection is rejected it can indicate reason for rejection.
    Description *string `json:"description,omitempty"`
    // ActionsRequired - A message indicating if changes on the service provider require any updates on the consumer. Possible values include: 'None', 'Recreate'
    ActionsRequired ActionsRequired `json:"actionsRequired,omitempty"`
}

PrivateLinkServiceConnectionState the state of a private link service connection.

type ProgressProperties Uses

type ProgressProperties struct {
    // Percentage - The percentage complete of the copy operation.
    Percentage *string `json:"percentage,omitempty"`
}

ProgressProperties ...

type ProvisioningState Uses

type ProvisioningState string

ProvisioningState enumerates the values for provisioning state.

const (
    // Canceled ...
    Canceled ProvisioningState = "Canceled"
    // Creating ...
    Creating ProvisioningState = "Creating"
    // Deleting ...
    Deleting ProvisioningState = "Deleting"
    // Failed ...
    Failed ProvisioningState = "Failed"
    // Succeeded ...
    Succeeded ProvisioningState = "Succeeded"
    // Updating ...
    Updating ProvisioningState = "Updating"
)

func PossibleProvisioningStateValues Uses

func PossibleProvisioningStateValues() []ProvisioningState

PossibleProvisioningStateValues returns an array of possible values for the ProvisioningState const type.

type ProxyResource Uses

type ProxyResource struct {
    // 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"`
}

ProxyResource the resource model definition for a ARM proxy resource. It will have everything other than required location and tags.

type PublicNetworkAccess Uses

type PublicNetworkAccess string

PublicNetworkAccess enumerates the values for public network access.

const (
    // PublicNetworkAccessDisabled ...
    PublicNetworkAccessDisabled PublicNetworkAccess = "Disabled"
    // PublicNetworkAccessEnabled ...
    PublicNetworkAccessEnabled PublicNetworkAccess = "Enabled"
)

func PossiblePublicNetworkAccessValues Uses

func PossiblePublicNetworkAccessValues() []PublicNetworkAccess

PossiblePublicNetworkAccessValues returns an array of possible values for the PublicNetworkAccess const type.

type QuarantinePolicy Uses

type QuarantinePolicy struct {
    // Status - The value that indicates whether the policy is enabled or not. Possible values include: 'PolicyStatusEnabled', 'PolicyStatusDisabled'
    Status PolicyStatus `json:"status,omitempty"`
}

QuarantinePolicy the quarantine policy for a container registry.

type RegenerateCredentialParameters Uses

type RegenerateCredentialParameters struct {
    // Name - Specifies name of the password which should be regenerated -- password or password2. Possible values include: 'Password', 'Password2'
    Name PasswordName `json:"name,omitempty"`
}

RegenerateCredentialParameters the parameters used to regenerate the login credential.

type RegistriesClient Uses

type RegistriesClient struct {
    BaseClient
}

RegistriesClient is the client for the Registries methods of the Containerregistry service.

func NewRegistriesClient Uses

func NewRegistriesClient(subscriptionID string) RegistriesClient

NewRegistriesClient creates an instance of the RegistriesClient client.

func NewRegistriesClientWithBaseURI Uses

func NewRegistriesClientWithBaseURI(baseURI string, subscriptionID string) RegistriesClient

NewRegistriesClientWithBaseURI creates an instance of the RegistriesClient 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 (RegistriesClient) CheckNameAvailability Uses

func (client RegistriesClient) CheckNameAvailability(ctx context.Context, registryNameCheckRequest RegistryNameCheckRequest) (result RegistryNameStatus, err error)

CheckNameAvailability checks whether the container registry name is available for use. The name must contain only alphanumeric characters, be globally unique, and between 5 and 50 characters in length. Parameters: registryNameCheckRequest - the object containing information for the availability request.

func (RegistriesClient) CheckNameAvailabilityPreparer Uses

func (client RegistriesClient) CheckNameAvailabilityPreparer(ctx context.Context, registryNameCheckRequest RegistryNameCheckRequest) (*http.Request, error)

CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.

func (RegistriesClient) CheckNameAvailabilityResponder Uses

func (client RegistriesClient) CheckNameAvailabilityResponder(resp *http.Response) (result RegistryNameStatus, err error)

CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always closes the http.Response Body.

func (RegistriesClient) CheckNameAvailabilitySender Uses

func (client RegistriesClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error)

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

func (RegistriesClient) Create Uses

func (client RegistriesClient) Create(ctx context.Context, resourceGroupName string, registryName string, registry Registry) (result RegistriesCreateFuture, err error)

Create creates 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. registry - the parameters for creating a container registry.

func (RegistriesClient) CreatePreparer Uses

func (client RegistriesClient) CreatePreparer(ctx context.Context, resourceGroupName string, registryName string, registry Registry) (*http.Request, error)

CreatePreparer prepares the Create request.

func (RegistriesClient) CreateResponder Uses

func (client RegistriesClient) CreateResponder(resp *http.Response) (result Registry, err error)

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

func (RegistriesClient) CreateSender Uses

func (client RegistriesClient) CreateSender(req *http.Request) (future RegistriesCreateFuture, err error)

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

func (RegistriesClient) Delete Uses

func (client RegistriesClient) Delete(ctx context.Context, resourceGroupName string, registryName string) (result RegistriesDeleteFuture, err error)

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

func (RegistriesClient) DeletePreparer Uses

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

DeletePreparer prepares the Delete request.

func (RegistriesClient) DeleteResponder Uses

func (client RegistriesClient) 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 (RegistriesClient) DeleteSender Uses

func (client RegistriesClient) DeleteSender(req *http.Request) (future RegistriesDeleteFuture, err error)

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

func (RegistriesClient) GenerateCredentials Uses

func (client RegistriesClient) GenerateCredentials(ctx context.Context, resourceGroupName string, registryName string, generateCredentialsParameters GenerateCredentialsParameters) (result RegistriesGenerateCredentialsFuture, err error)

GenerateCredentials generate keys for a token of 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. generateCredentialsParameters - the parameters for generating credentials.

func (RegistriesClient) GenerateCredentialsPreparer Uses

func (client RegistriesClient) GenerateCredentialsPreparer(ctx context.Context, resourceGroupName string, registryName string, generateCredentialsParameters GenerateCredentialsParameters) (*http.Request, error)

GenerateCredentialsPreparer prepares the GenerateCredentials request.

func (RegistriesClient) GenerateCredentialsResponder Uses

func (client RegistriesClient) GenerateCredentialsResponder(resp *http.Response) (result GenerateCredentialsResult, err error)

GenerateCredentialsResponder handles the response to the GenerateCredentials request. The method always closes the http.Response Body.

func (RegistriesClient) GenerateCredentialsSender Uses

func (client RegistriesClient) GenerateCredentialsSender(req *http.Request) (future RegistriesGenerateCredentialsFuture, err error)

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

func (RegistriesClient) Get Uses

func (client RegistriesClient) Get(ctx context.Context, resourceGroupName string, registryName string) (result Registry, err error)

Get gets the properties of 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 (RegistriesClient) GetBuildSourceUploadURL Uses

func (client RegistriesClient) GetBuildSourceUploadURL(ctx context.Context, resourceGroupName string, registryName string) (result SourceUploadDefinition, err error)

GetBuildSourceUploadURL get the upload location for the user to be able to upload the source. Parameters: resourceGroupName - the name of the resource group to which the container registry belongs. registryName - the name of the container registry.

func (RegistriesClient) GetBuildSourceUploadURLPreparer Uses

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

GetBuildSourceUploadURLPreparer prepares the GetBuildSourceUploadURL request.

func (RegistriesClient) GetBuildSourceUploadURLResponder Uses

func (client RegistriesClient) GetBuildSourceUploadURLResponder(resp *http.Response) (result SourceUploadDefinition, err error)

GetBuildSourceUploadURLResponder handles the response to the GetBuildSourceUploadURL request. The method always closes the http.Response Body.

func (RegistriesClient) GetBuildSourceUploadURLSender Uses

func (client RegistriesClient) GetBuildSourceUploadURLSender(req *http.Request) (*http.Response, error)

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

func (RegistriesClient) GetPreparer Uses

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

GetPreparer prepares the Get request.

func (RegistriesClient) GetResponder Uses

func (client RegistriesClient) GetResponder(resp *http.Response) (result Registry, err error)

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

func (RegistriesClient) GetSender Uses

func (client RegistriesClient) 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 (RegistriesClient) ImportImage Uses

func (client RegistriesClient) ImportImage(ctx context.Context, resourceGroupName string, registryName string, parameters ImportImageParameters) (result RegistriesImportImageFuture, err error)

ImportImage copies an image to this container registry from 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. parameters - the parameters specifying the image to copy and the source container registry.

func (RegistriesClient) ImportImagePreparer Uses

func (client RegistriesClient) ImportImagePreparer(ctx context.Context, resourceGroupName string, registryName string, parameters ImportImageParameters) (*http.Request, error)

ImportImagePreparer prepares the ImportImage request.

func (RegistriesClient) ImportImageResponder Uses

func (client RegistriesClient) ImportImageResponder(resp *http.Response) (result autorest.Response, err error)

ImportImageResponder handles the response to the ImportImage request. The method always closes the http.Response Body.

func (RegistriesClient) ImportImageSender Uses

func (client RegistriesClient) ImportImageSender(req *http.Request) (future RegistriesImportImageFuture, err error)

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

func (RegistriesClient) List Uses

func (client RegistriesClient) List(ctx context.Context) (result RegistryListResultPage, err error)

List lists all the container registries under the specified subscription.

func (RegistriesClient) ListByResourceGroup Uses

func (client RegistriesClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result RegistryListResultPage, err error)

ListByResourceGroup lists all the container registries under the specified resource group. Parameters: resourceGroupName - the name of the resource group to which the container registry belongs.

func (RegistriesClient) ListByResourceGroupComplete Uses

func (client RegistriesClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result RegistryListResultIterator, err error)

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

func (RegistriesClient) ListByResourceGroupPreparer Uses

func (client RegistriesClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (RegistriesClient) ListByResourceGroupResponder Uses

func (client RegistriesClient) ListByResourceGroupResponder(resp *http.Response) (result RegistryListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (RegistriesClient) ListByResourceGroupSender Uses

func (client RegistriesClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

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

func (RegistriesClient) ListComplete Uses

func (client RegistriesClient) ListComplete(ctx context.Context) (result RegistryListResultIterator, err error)

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

func (RegistriesClient) ListCredentials Uses

func (client RegistriesClient) ListCredentials(ctx context.Context, resourceGroupName string, registryName string) (result RegistryListCredentialsResult, err error)

ListCredentials lists the login credentials 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 (RegistriesClient) ListCredentialsPreparer Uses

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

ListCredentialsPreparer prepares the ListCredentials request.

func (RegistriesClient) ListCredentialsResponder Uses

func (client RegistriesClient) ListCredentialsResponder(resp *http.Response) (result RegistryListCredentialsResult, err error)

ListCredentialsResponder handles the response to the ListCredentials request. The method always closes the http.Response Body.

func (RegistriesClient) ListCredentialsSender Uses

func (client RegistriesClient) ListCredentialsSender(req *http.Request) (*http.Response, error)

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

func (RegistriesClient) ListPreparer Uses

func (client RegistriesClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (RegistriesClient) ListPrivateLinkResources Uses

func (client RegistriesClient) ListPrivateLinkResources(ctx context.Context, resourceGroupName string, registryName string) (result PrivateLinkResourceListResultPage, err error)

ListPrivateLinkResources lists the private link resources for a container registry. Parameters: resourceGroupName - the name of the resource group to which the container registry belongs. registryName - the name of the container registry.

func (RegistriesClient) ListPrivateLinkResourcesComplete Uses

func (client RegistriesClient) ListPrivateLinkResourcesComplete(ctx context.Context, resourceGroupName string, registryName string) (result PrivateLinkResourceListResultIterator, err error)

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

func (RegistriesClient) ListPrivateLinkResourcesPreparer Uses

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

ListPrivateLinkResourcesPreparer prepares the ListPrivateLinkResources request.

func (RegistriesClient) ListPrivateLinkResourcesResponder Uses

func (client RegistriesClient) ListPrivateLinkResourcesResponder(resp *http.Response) (result PrivateLinkResourceListResult, err error)

ListPrivateLinkResourcesResponder handles the response to the ListPrivateLinkResources request. The method always closes the http.Response Body.

func (RegistriesClient) ListPrivateLinkResourcesSender Uses

func (client RegistriesClient) ListPrivateLinkResourcesSender(req *http.Request) (*http.Response, error)

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

func (RegistriesClient) ListResponder Uses

func (client RegistriesClient) ListResponder(resp *http.Response) (result RegistryListResult, err error)

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

func (RegistriesClient) ListSender Uses

func (client RegistriesClient) 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 (RegistriesClient) ListUsages Uses

func (client RegistriesClient) ListUsages(ctx context.Context, resourceGroupName string, registryName string) (result RegistryUsageListResult, err error)

ListUsages gets the quota usages 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 (RegistriesClient) ListUsagesPreparer Uses

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

ListUsagesPreparer prepares the ListUsages request.

func (RegistriesClient) ListUsagesResponder Uses

func (client RegistriesClient) ListUsagesResponder(resp *http.Response) (result RegistryUsageListResult, err error)

ListUsagesResponder handles the response to the ListUsages request. The method always closes the http.Response Body.

func (RegistriesClient) ListUsagesSender Uses

func (client RegistriesClient) ListUsagesSender(req *http.Request) (*http.Response, error)

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

func (RegistriesClient) RegenerateCredential Uses

func (client RegistriesClient) RegenerateCredential(ctx context.Context, resourceGroupName string, registryName string, regenerateCredentialParameters RegenerateCredentialParameters) (result RegistryListCredentialsResult, err error)

RegenerateCredential regenerates one of the login credentials 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. regenerateCredentialParameters - specifies name of the password which should be regenerated -- password or password2.

func (RegistriesClient) RegenerateCredentialPreparer Uses

func (client RegistriesClient) RegenerateCredentialPreparer(ctx context.Context, resourceGroupName string, registryName string, regenerateCredentialParameters RegenerateCredentialParameters) (*http.Request, error)

RegenerateCredentialPreparer prepares the RegenerateCredential request.

func (RegistriesClient) RegenerateCredentialResponder Uses

func (client RegistriesClient) RegenerateCredentialResponder(resp *http.Response) (result RegistryListCredentialsResult, err error)

RegenerateCredentialResponder handles the response to the RegenerateCredential request. The method always closes the http.Response Body.

func (RegistriesClient) RegenerateCredentialSender Uses

func (client RegistriesClient) RegenerateCredentialSender(req *http.Request) (*http.Response, error)

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

func (RegistriesClient) ScheduleRun Uses

func (client RegistriesClient) ScheduleRun(ctx context.Context, resourceGroupName string, registryName string, runRequest BasicRunRequest) (result RegistriesScheduleRunFuture, err error)

ScheduleRun schedules a new run based on the request parameters and add it to the run queue. Parameters: resourceGroupName - the name of the resource group to which the container registry belongs. registryName - the name of the container registry. runRequest - the parameters of a run that needs to scheduled.

func (RegistriesClient) ScheduleRunPreparer Uses

func (client RegistriesClient) ScheduleRunPreparer(ctx context.Context, resourceGroupName string, registryName string, runRequest BasicRunRequest) (*http.Request, error)

ScheduleRunPreparer prepares the ScheduleRun request.

func (RegistriesClient) ScheduleRunResponder Uses

func (client RegistriesClient) ScheduleRunResponder(resp *http.Response) (result Run, err error)

ScheduleRunResponder handles the response to the ScheduleRun request. The method always closes the http.Response Body.

func (RegistriesClient) ScheduleRunSender Uses

func (client RegistriesClient) ScheduleRunSender(req *http.Request) (future RegistriesScheduleRunFuture, err error)

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

func (RegistriesClient) Update Uses

func (client RegistriesClient) Update(ctx context.Context, resourceGroupName string, registryName string, registryUpdateParameters RegistryUpdateParameters) (result RegistriesUpdateFuture, err error)

Update updates 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. registryUpdateParameters - the parameters for updating a container registry.

func (RegistriesClient) UpdatePreparer Uses

func (client RegistriesClient) UpdatePreparer(ctx context.Context, resourceGroupName string, registryName string, registryUpdateParameters RegistryUpdateParameters) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (RegistriesClient) UpdateResponder Uses

func (client RegistriesClient) UpdateResponder(resp *http.Response) (result Registry, err error)

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

func (RegistriesClient) UpdateSender Uses

func (client RegistriesClient) UpdateSender(req *http.Request) (future RegistriesUpdateFuture, err error)

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

type RegistriesCreateFuture Uses

type RegistriesCreateFuture struct {
    azure.Future
}

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

func (*RegistriesCreateFuture) Result Uses

func (future *RegistriesCreateFuture) Result(client RegistriesClient) (r Registry, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type RegistriesDeleteFuture Uses

type RegistriesDeleteFuture struct {
    azure.Future
}

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

func (*RegistriesDeleteFuture) Result Uses

func (future *RegistriesDeleteFuture) Result(client RegistriesClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type RegistriesGenerateCredentialsFuture Uses

type RegistriesGenerateCredentialsFuture struct {
    azure.Future
}

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

func (*RegistriesGenerateCredentialsFuture) Result Uses

func (future *RegistriesGenerateCredentialsFuture) Result(client RegistriesClient) (gcr GenerateCredentialsResult, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type RegistriesImportImageFuture Uses

type RegistriesImportImageFuture struct {
    azure.Future
}

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

func (*RegistriesImportImageFuture) Result Uses

func (future *RegistriesImportImageFuture) Result(client RegistriesClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type RegistriesScheduleRunFuture Uses

type RegistriesScheduleRunFuture struct {
    azure.Future
}

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

func (*RegistriesScheduleRunFuture) Result Uses

func (future *RegistriesScheduleRunFuture) Result(client RegistriesClient) (r Run, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type RegistriesUpdateFuture Uses

type RegistriesUpdateFuture struct {
    azure.Future
}

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

func (*RegistriesUpdateFuture) Result Uses

func (future *RegistriesUpdateFuture) Result(client RegistriesClient) (r Registry, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type Registry Uses

type Registry struct {
    autorest.Response `json:"-"`
    // Sku - The SKU of the container registry.
    Sku *Sku `json:"sku,omitempty"`
    // Identity - The identity of the container registry.
    Identity *IdentityProperties `json:"identity,omitempty"`
    // RegistryProperties - The properties of the container registry.
    *RegistryProperties `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"`
}

Registry an object that represents a container registry.

func (Registry) MarshalJSON Uses

func (r Registry) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Registry.

func (*Registry) UnmarshalJSON Uses

func (r *Registry) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for Registry struct.

type RegistryListCredentialsResult Uses

type RegistryListCredentialsResult 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 *[]RegistryPassword `json:"passwords,omitempty"`
}

RegistryListCredentialsResult the response from the ListCredentials operation.

type RegistryListResult Uses

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

RegistryListResult the result of a request to list container registries.

func (RegistryListResult) IsEmpty Uses

func (rlr RegistryListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type RegistryListResultIterator Uses

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

RegistryListResultIterator provides access to a complete listing of Registry values.

func NewRegistryListResultIterator Uses

func NewRegistryListResultIterator(page RegistryListResultPage) RegistryListResultIterator

Creates a new instance of the RegistryListResultIterator type.

func (*RegistryListResultIterator) Next Uses

func (iter *RegistryListResultIterator) 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 (*RegistryListResultIterator) NextWithContext Uses

func (iter *RegistryListResultIterator) 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 (RegistryListResultIterator) NotDone Uses

func (iter RegistryListResultIterator) NotDone() bool

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

func (RegistryListResultIterator) Response Uses

func (iter RegistryListResultIterator) Response() RegistryListResult

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

func (RegistryListResultIterator) Value Uses

func (iter RegistryListResultIterator) Value() Registry

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

type RegistryListResultPage Uses

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

RegistryListResultPage contains a page of Registry values.

func NewRegistryListResultPage Uses

func NewRegistryListResultPage(cur RegistryListResult, getNextPage func(context.Context, RegistryListResult) (RegistryListResult, error)) RegistryListResultPage

Creates a new instance of the RegistryListResultPage type.

func (*RegistryListResultPage) Next Uses

func (page *RegistryListResultPage) 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 (*RegistryListResultPage) NextWithContext Uses

func (page *RegistryListResultPage) 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 (RegistryListResultPage) NotDone Uses

func (page RegistryListResultPage) NotDone() bool

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

func (RegistryListResultPage) Response Uses

func (page RegistryListResultPage) Response() RegistryListResult

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

func (RegistryListResultPage) Values Uses

func (page RegistryListResultPage) Values() []Registry

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

type RegistryNameCheckRequest Uses

type RegistryNameCheckRequest struct {
    // Name - The name of the container registry.
    Name *string `json:"name,omitempty"`
    // Type - The resource type of the container registry. This field must be set to 'Microsoft.ContainerRegistry/registries'.
    Type *string `json:"type,omitempty"`
}

RegistryNameCheckRequest a request to check whether a container registry name is available.

type RegistryNameStatus Uses

type RegistryNameStatus struct {
    autorest.Response `json:"-"`
    // NameAvailable - The value that indicates whether the name is available.
    NameAvailable *bool `json:"nameAvailable,omitempty"`
    // Reason - If any, the reason that the name is not available.
    Reason *string `json:"reason,omitempty"`
    // Message - If any, the error message that provides more detail for the reason that the name is not available.
    Message *string `json:"message,omitempty"`
}

RegistryNameStatus the result of a request to check the availability of a container registry name.

type RegistryPassword Uses

type RegistryPassword struct {
    // Name - The password name. Possible values include: 'Password', 'Password2'
    Name PasswordName `json:"name,omitempty"`
    // Value - The password value.
    Value *string `json:"value,omitempty"`
}

RegistryPassword the login password for the container registry.

type RegistryProperties Uses

type RegistryProperties struct {
    // LoginServer - READ-ONLY; The URL that can be used to log into the container registry.
    LoginServer *string `json:"loginServer,omitempty"`
    // CreationDate - READ-ONLY; The creation date of the container registry in ISO8601 format.
    CreationDate *date.Time `json:"creationDate,omitempty"`
    // ProvisioningState - READ-ONLY; The provisioning state of the container registry at the time the operation was called. Possible values include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed', 'Canceled'
    ProvisioningState ProvisioningState `json:"provisioningState,omitempty"`
    // Status - READ-ONLY; The status of the container registry at the time the operation was called.
    Status *Status `json:"status,omitempty"`
    // AdminUserEnabled - The value that indicates whether the admin user is enabled.
    AdminUserEnabled *bool `json:"adminUserEnabled,omitempty"`
    // StorageAccount - The properties of the storage account for the container registry. Only applicable to Classic SKU.
    StorageAccount *StorageAccountProperties `json:"storageAccount,omitempty"`
    // NetworkRuleSet - The network rule set for a container registry.
    NetworkRuleSet *NetworkRuleSet `json:"networkRuleSet,omitempty"`
    // Policies - The policies for a container registry.
    Policies *Policies `json:"policies,omitempty"`
    // Encryption - The encryption settings of container registry.
    Encryption *EncryptionProperty `json:"encryption,omitempty"`
    // DataEndpointEnabled - Enable a single data endpoint per region for serving data.
    DataEndpointEnabled *bool `json:"dataEndpointEnabled,omitempty"`
    // DataEndpointHostNames - READ-ONLY; List of host names that will serve data when dataEndpointEnabled is true.
    DataEndpointHostNames *[]string `json:"dataEndpointHostNames,omitempty"`
    // PrivateEndpointConnections - READ-ONLY; List of private endpoint connections for a container registry.
    PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"`
    // PublicNetworkAccess - Whether or not public network access is allowed for the container registry. Possible values include: 'PublicNetworkAccessEnabled', 'PublicNetworkAccessDisabled'
    PublicNetworkAccess PublicNetworkAccess `json:"publicNetworkAccess,omitempty"`
}

RegistryProperties the properties of a container registry.

func (RegistryProperties) MarshalJSON Uses

func (rp RegistryProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RegistryProperties.

type RegistryPropertiesUpdateParameters Uses

type RegistryPropertiesUpdateParameters struct {
    // AdminUserEnabled - The value that indicates whether the admin user is enabled.
    AdminUserEnabled *bool `json:"adminUserEnabled,omitempty"`
    // NetworkRuleSet - The network rule set for a container registry.
    NetworkRuleSet *NetworkRuleSet `json:"networkRuleSet,omitempty"`
    // Policies - The policies for a container registry.
    Policies *Policies `json:"policies,omitempty"`
    // Encryption - The encryption settings of container registry.
    Encryption *EncryptionProperty `json:"encryption,omitempty"`
    // DataEndpointEnabled - Enable a single data endpoint per region for serving data.
    DataEndpointEnabled *bool `json:"dataEndpointEnabled,omitempty"`
    // PublicNetworkAccess - Whether or not public network access is allowed for the container registry. Possible values include: 'PublicNetworkAccessEnabled', 'PublicNetworkAccessDisabled'
    PublicNetworkAccess PublicNetworkAccess `json:"publicNetworkAccess,omitempty"`
}

RegistryPropertiesUpdateParameters the parameters for updating the properties of a container registry.

type RegistryUpdateParameters Uses

type RegistryUpdateParameters struct {
    // Tags - The tags for the container registry.
    Tags map[string]*string `json:"tags"`
    // Sku - The SKU of the container registry.
    Sku *Sku `json:"sku,omitempty"`
    // Identity - The identity of the container registry.
    Identity *IdentityProperties `json:"identity,omitempty"`
    // RegistryPropertiesUpdateParameters - The properties that the container registry will be updated with.
    *RegistryPropertiesUpdateParameters `json:"properties,omitempty"`
}

RegistryUpdateParameters the parameters for updating a container registry.

func (RegistryUpdateParameters) MarshalJSON Uses

func (rup RegistryUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for RegistryUpdateParameters.

func (*RegistryUpdateParameters) UnmarshalJSON Uses

func (rup *RegistryUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for RegistryUpdateParameters struct.

type RegistryUsage Uses

type RegistryUsage struct {
    // Name - The name of the usage.
    Name *string `json:"name,omitempty"`
    // Limit - The limit of the usage.
    Limit *int64 `json:"limit,omitempty"`
    // CurrentValue - The current value of the usage.
    CurrentValue *int64 `json:"currentValue,omitempty"`
    // Unit - The unit of measurement. Possible values include: 'Count', 'Bytes'
    Unit RegistryUsageUnit `json:"unit,omitempty"`
}

RegistryUsage the quota usage for a container registry.

type RegistryUsageListResult Uses

type RegistryUsageListResult struct {
    autorest.Response `json:"-"`
    // Value - The list of container registry quota usages.
    Value *[]RegistryUsage `json:"value,omitempty"`
}

RegistryUsageListResult the result of a request to get container registry quota usages.

type RegistryUsageUnit Uses

type RegistryUsageUnit string

RegistryUsageUnit enumerates the values for registry usage unit.

const (
    // Bytes ...
    Bytes RegistryUsageUnit = "Bytes"
    // Count ...
    Count RegistryUsageUnit = "Count"
)

func PossibleRegistryUsageUnitValues