Documentation ¶
Index ¶
- type Action
- type ActionsRequired
- type ActivationProperties
- type ActivationStatus
- type ActiveDirectoryObject
- type Actor
- type AgentPool
- type AgentPoolListResult
- type AgentPoolProperties
- type AgentPoolPropertiesUpdateParameters
- type AgentPoolQueueStatus
- type AgentPoolUpdateParameters
- type AgentPoolsBeginCreateOptions
- type AgentPoolsBeginDeleteOptions
- type AgentPoolsBeginUpdateOptions
- type AgentPoolsClient
- func (client *AgentPoolsClient) BeginCreate(ctx context.Context, resourceGroupName string, registryName string, ...) (AgentPoolsCreatePollerResponse, error)
- func (client *AgentPoolsClient) BeginDelete(ctx context.Context, resourceGroupName string, registryName string, ...) (AgentPoolsDeletePollerResponse, error)
- func (client *AgentPoolsClient) BeginUpdate(ctx context.Context, resourceGroupName string, registryName string, ...) (AgentPoolsUpdatePollerResponse, error)
- func (client *AgentPoolsClient) Get(ctx context.Context, resourceGroupName string, registryName string, ...) (AgentPoolsGetResponse, error)
- func (client *AgentPoolsClient) GetQueueStatus(ctx context.Context, resourceGroupName string, registryName string, ...) (AgentPoolsGetQueueStatusResponse, error)
- func (client *AgentPoolsClient) List(resourceGroupName string, registryName string, options *AgentPoolsListOptions) *AgentPoolsListPager
- type AgentPoolsCreatePoller
- type AgentPoolsCreatePollerResponse
- type AgentPoolsCreateResponse
- type AgentPoolsCreateResult
- type AgentPoolsDeletePoller
- type AgentPoolsDeletePollerResponse
- type AgentPoolsDeleteResponse
- type AgentPoolsGetOptions
- type AgentPoolsGetQueueStatusOptions
- type AgentPoolsGetQueueStatusResponse
- type AgentPoolsGetQueueStatusResult
- type AgentPoolsGetResponse
- type AgentPoolsGetResult
- type AgentPoolsListOptions
- type AgentPoolsListPager
- type AgentPoolsListResponse
- type AgentPoolsListResult
- type AgentPoolsUpdatePoller
- type AgentPoolsUpdatePollerResponse
- type AgentPoolsUpdateResponse
- type AgentPoolsUpdateResult
- type AgentProperties
- type Architecture
- type Argument
- type AuditLogStatus
- type AuthInfo
- type AuthInfoUpdateParameters
- type BaseImageDependency
- type BaseImageDependencyType
- type BaseImageTrigger
- type BaseImageTriggerType
- type BaseImageTriggerUpdateParameters
- type CallbackConfig
- type CertificateType
- type ConnectedRegistriesBeginCreateOptions
- type ConnectedRegistriesBeginDeactivateOptions
- type ConnectedRegistriesBeginDeleteOptions
- type ConnectedRegistriesBeginUpdateOptions
- type ConnectedRegistriesClient
- func (client *ConnectedRegistriesClient) BeginCreate(ctx context.Context, resourceGroupName string, registryName string, ...) (ConnectedRegistriesCreatePollerResponse, error)
- func (client *ConnectedRegistriesClient) BeginDeactivate(ctx context.Context, resourceGroupName string, registryName string, ...) (ConnectedRegistriesDeactivatePollerResponse, error)
- func (client *ConnectedRegistriesClient) BeginDelete(ctx context.Context, resourceGroupName string, registryName string, ...) (ConnectedRegistriesDeletePollerResponse, error)
- func (client *ConnectedRegistriesClient) BeginUpdate(ctx context.Context, resourceGroupName string, registryName string, ...) (ConnectedRegistriesUpdatePollerResponse, error)
- func (client *ConnectedRegistriesClient) Get(ctx context.Context, resourceGroupName string, registryName string, ...) (ConnectedRegistriesGetResponse, error)
- func (client *ConnectedRegistriesClient) List(resourceGroupName string, registryName string, ...) *ConnectedRegistriesListPager
- type ConnectedRegistriesCreatePoller
- func (p *ConnectedRegistriesCreatePoller) Done() bool
- func (p *ConnectedRegistriesCreatePoller) FinalResponse(ctx context.Context) (ConnectedRegistriesCreateResponse, error)
- func (p *ConnectedRegistriesCreatePoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *ConnectedRegistriesCreatePoller) ResumeToken() (string, error)
- type ConnectedRegistriesCreatePollerResponse
- type ConnectedRegistriesCreateResponse
- type ConnectedRegistriesCreateResult
- type ConnectedRegistriesDeactivatePoller
- func (p *ConnectedRegistriesDeactivatePoller) Done() bool
- func (p *ConnectedRegistriesDeactivatePoller) FinalResponse(ctx context.Context) (ConnectedRegistriesDeactivateResponse, error)
- func (p *ConnectedRegistriesDeactivatePoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *ConnectedRegistriesDeactivatePoller) ResumeToken() (string, error)
- type ConnectedRegistriesDeactivatePollerResponse
- type ConnectedRegistriesDeactivateResponse
- type ConnectedRegistriesDeletePoller
- func (p *ConnectedRegistriesDeletePoller) Done() bool
- func (p *ConnectedRegistriesDeletePoller) FinalResponse(ctx context.Context) (ConnectedRegistriesDeleteResponse, error)
- func (p *ConnectedRegistriesDeletePoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *ConnectedRegistriesDeletePoller) ResumeToken() (string, error)
- type ConnectedRegistriesDeletePollerResponse
- type ConnectedRegistriesDeleteResponse
- type ConnectedRegistriesGetOptions
- type ConnectedRegistriesGetResponse
- type ConnectedRegistriesGetResult
- type ConnectedRegistriesListOptions
- type ConnectedRegistriesListPager
- type ConnectedRegistriesListResponse
- type ConnectedRegistriesListResult
- type ConnectedRegistriesUpdatePoller
- func (p *ConnectedRegistriesUpdatePoller) Done() bool
- func (p *ConnectedRegistriesUpdatePoller) FinalResponse(ctx context.Context) (ConnectedRegistriesUpdateResponse, error)
- func (p *ConnectedRegistriesUpdatePoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *ConnectedRegistriesUpdatePoller) ResumeToken() (string, error)
- type ConnectedRegistriesUpdatePollerResponse
- type ConnectedRegistriesUpdateResponse
- type ConnectedRegistriesUpdateResult
- type ConnectedRegistry
- type ConnectedRegistryListResult
- type ConnectedRegistryMode
- type ConnectedRegistryProperties
- type ConnectedRegistryUpdateParameters
- type ConnectedRegistryUpdateProperties
- type ConnectionState
- type ConnectionStatus
- type CreatedByType
- type Credentials
- type CustomRegistryCredentials
- type DefaultAction
- type DockerBuildRequest
- type DockerBuildStep
- type DockerBuildStepUpdateParameters
- type EncodedTaskRunRequest
- type EncodedTaskStep
- type EncodedTaskStepUpdateParameters
- type EncryptionProperty
- type EncryptionStatus
- type ErrorResponse
- type ErrorResponseBody
- type Event
- type EventContent
- type EventInfo
- type EventListResult
- type EventRequestMessage
- type EventResponseMessage
- type ExportPipeline
- type ExportPipelineListResult
- type ExportPipelineProperties
- type ExportPipelineTargetProperties
- type ExportPipelinesBeginCreateOptions
- type ExportPipelinesBeginDeleteOptions
- type ExportPipelinesClient
- func (client *ExportPipelinesClient) BeginCreate(ctx context.Context, resourceGroupName string, registryName string, ...) (ExportPipelinesCreatePollerResponse, error)
- func (client *ExportPipelinesClient) BeginDelete(ctx context.Context, resourceGroupName string, registryName string, ...) (ExportPipelinesDeletePollerResponse, error)
- func (client *ExportPipelinesClient) Get(ctx context.Context, resourceGroupName string, registryName string, ...) (ExportPipelinesGetResponse, error)
- func (client *ExportPipelinesClient) List(resourceGroupName string, registryName string, ...) *ExportPipelinesListPager
- type ExportPipelinesCreatePoller
- func (p *ExportPipelinesCreatePoller) Done() bool
- func (p *ExportPipelinesCreatePoller) FinalResponse(ctx context.Context) (ExportPipelinesCreateResponse, error)
- func (p *ExportPipelinesCreatePoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *ExportPipelinesCreatePoller) ResumeToken() (string, error)
- type ExportPipelinesCreatePollerResponse
- type ExportPipelinesCreateResponse
- type ExportPipelinesCreateResult
- type ExportPipelinesDeletePoller
- func (p *ExportPipelinesDeletePoller) Done() bool
- func (p *ExportPipelinesDeletePoller) FinalResponse(ctx context.Context) (ExportPipelinesDeleteResponse, error)
- func (p *ExportPipelinesDeletePoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *ExportPipelinesDeletePoller) ResumeToken() (string, error)
- type ExportPipelinesDeletePollerResponse
- type ExportPipelinesDeleteResponse
- type ExportPipelinesGetOptions
- type ExportPipelinesGetResponse
- type ExportPipelinesGetResult
- type ExportPipelinesListOptions
- type ExportPipelinesListPager
- type ExportPipelinesListResponse
- type ExportPipelinesListResult
- type ExportPolicy
- type ExportPolicyStatus
- type FileTaskRunRequest
- type FileTaskStep
- type FileTaskStepUpdateParameters
- type GenerateCredentialsParameters
- type GenerateCredentialsResult
- type IPRule
- type IdentityProperties
- type ImageDescriptor
- type ImageUpdateTrigger
- type ImportImageParameters
- type ImportMode
- type ImportPipeline
- type ImportPipelineListResult
- type ImportPipelineProperties
- type ImportPipelineSourceProperties
- type ImportPipelinesBeginCreateOptions
- type ImportPipelinesBeginDeleteOptions
- type ImportPipelinesClient
- func (client *ImportPipelinesClient) BeginCreate(ctx context.Context, resourceGroupName string, registryName string, ...) (ImportPipelinesCreatePollerResponse, error)
- func (client *ImportPipelinesClient) BeginDelete(ctx context.Context, resourceGroupName string, registryName string, ...) (ImportPipelinesDeletePollerResponse, error)
- func (client *ImportPipelinesClient) Get(ctx context.Context, resourceGroupName string, registryName string, ...) (ImportPipelinesGetResponse, error)
- func (client *ImportPipelinesClient) List(resourceGroupName string, registryName string, ...) *ImportPipelinesListPager
- type ImportPipelinesCreatePoller
- func (p *ImportPipelinesCreatePoller) Done() bool
- func (p *ImportPipelinesCreatePoller) FinalResponse(ctx context.Context) (ImportPipelinesCreateResponse, error)
- func (p *ImportPipelinesCreatePoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *ImportPipelinesCreatePoller) ResumeToken() (string, error)
- type ImportPipelinesCreatePollerResponse
- type ImportPipelinesCreateResponse
- type ImportPipelinesCreateResult
- type ImportPipelinesDeletePoller
- func (p *ImportPipelinesDeletePoller) Done() bool
- func (p *ImportPipelinesDeletePoller) FinalResponse(ctx context.Context) (ImportPipelinesDeleteResponse, error)
- func (p *ImportPipelinesDeletePoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *ImportPipelinesDeletePoller) ResumeToken() (string, error)
- type ImportPipelinesDeletePollerResponse
- type ImportPipelinesDeleteResponse
- type ImportPipelinesGetOptions
- type ImportPipelinesGetResponse
- type ImportPipelinesGetResult
- type ImportPipelinesListOptions
- type ImportPipelinesListPager
- type ImportPipelinesListResponse
- type ImportPipelinesListResult
- type ImportSource
- type ImportSourceCredentials
- type InnerErrorDescription
- type KeyVaultProperties
- type LastModifiedByType
- type LogLevel
- type LoggingProperties
- type LoginServerProperties
- type NetworkRuleBypassOptions
- type NetworkRuleSet
- type OS
- type OperationDefinition
- type OperationDisplayDefinition
- type OperationListResult
- type OperationLogSpecificationDefinition
- type OperationMetricSpecificationDefinition
- type OperationPropertiesDefinition
- type OperationServiceSpecificationDefinition
- type OperationsClient
- type OperationsListOptions
- type OperationsListPager
- type OperationsListResponse
- type OperationsListResult
- type OverrideTaskStepProperties
- type ParentProperties
- type PasswordName
- type PipelineOptions
- type PipelineRun
- type PipelineRunListResult
- type PipelineRunProperties
- type PipelineRunRequest
- type PipelineRunResponse
- type PipelineRunSourceProperties
- type PipelineRunSourceType
- type PipelineRunTargetProperties
- type PipelineRunTargetType
- type PipelineRunsBeginCreateOptions
- type PipelineRunsBeginDeleteOptions
- type PipelineRunsClient
- func (client *PipelineRunsClient) BeginCreate(ctx context.Context, resourceGroupName string, registryName string, ...) (PipelineRunsCreatePollerResponse, error)
- func (client *PipelineRunsClient) BeginDelete(ctx context.Context, resourceGroupName string, registryName string, ...) (PipelineRunsDeletePollerResponse, error)
- func (client *PipelineRunsClient) Get(ctx context.Context, resourceGroupName string, registryName string, ...) (PipelineRunsGetResponse, error)
- func (client *PipelineRunsClient) List(resourceGroupName string, registryName string, ...) *PipelineRunsListPager
- type PipelineRunsCreatePoller
- func (p *PipelineRunsCreatePoller) Done() bool
- func (p *PipelineRunsCreatePoller) FinalResponse(ctx context.Context) (PipelineRunsCreateResponse, error)
- func (p *PipelineRunsCreatePoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *PipelineRunsCreatePoller) ResumeToken() (string, error)
- type PipelineRunsCreatePollerResponse
- type PipelineRunsCreateResponse
- type PipelineRunsCreateResult
- type PipelineRunsDeletePoller
- func (p *PipelineRunsDeletePoller) Done() bool
- func (p *PipelineRunsDeletePoller) FinalResponse(ctx context.Context) (PipelineRunsDeleteResponse, error)
- func (p *PipelineRunsDeletePoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *PipelineRunsDeletePoller) ResumeToken() (string, error)
- type PipelineRunsDeletePollerResponse
- type PipelineRunsDeleteResponse
- type PipelineRunsGetOptions
- type PipelineRunsGetResponse
- type PipelineRunsGetResult
- type PipelineRunsListOptions
- type PipelineRunsListPager
- type PipelineRunsListResponse
- type PipelineRunsListResult
- type PipelineSourceTriggerDescriptor
- type PipelineSourceTriggerProperties
- type PipelineSourceType
- type PipelineTriggerDescriptor
- type PipelineTriggerProperties
- type PlatformProperties
- type PlatformUpdateParameters
- type Policies
- type PolicyStatus
- type PrivateEndpoint
- type PrivateEndpointConnection
- type PrivateEndpointConnectionListResult
- type PrivateEndpointConnectionProperties
- type PrivateEndpointConnectionsBeginCreateOrUpdateOptions
- type PrivateEndpointConnectionsBeginDeleteOptions
- type PrivateEndpointConnectionsClient
- func (client *PrivateEndpointConnectionsClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, registryName string, ...) (PrivateEndpointConnectionsCreateOrUpdatePollerResponse, error)
- func (client *PrivateEndpointConnectionsClient) BeginDelete(ctx context.Context, resourceGroupName string, registryName string, ...) (PrivateEndpointConnectionsDeletePollerResponse, error)
- func (client *PrivateEndpointConnectionsClient) Get(ctx context.Context, resourceGroupName string, registryName string, ...) (PrivateEndpointConnectionsGetResponse, error)
- func (client *PrivateEndpointConnectionsClient) List(resourceGroupName string, registryName string, ...) *PrivateEndpointConnectionsListPager
- type PrivateEndpointConnectionsCreateOrUpdatePoller
- func (p *PrivateEndpointConnectionsCreateOrUpdatePoller) Done() bool
- func (p *PrivateEndpointConnectionsCreateOrUpdatePoller) FinalResponse(ctx context.Context) (PrivateEndpointConnectionsCreateOrUpdateResponse, error)
- func (p *PrivateEndpointConnectionsCreateOrUpdatePoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *PrivateEndpointConnectionsCreateOrUpdatePoller) ResumeToken() (string, error)
- type PrivateEndpointConnectionsCreateOrUpdatePollerResponse
- func (l PrivateEndpointConnectionsCreateOrUpdatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (PrivateEndpointConnectionsCreateOrUpdateResponse, error)
- func (l *PrivateEndpointConnectionsCreateOrUpdatePollerResponse) Resume(ctx context.Context, client *PrivateEndpointConnectionsClient, token string) error
- type PrivateEndpointConnectionsCreateOrUpdateResponse
- type PrivateEndpointConnectionsCreateOrUpdateResult
- type PrivateEndpointConnectionsDeletePoller
- func (p *PrivateEndpointConnectionsDeletePoller) Done() bool
- func (p *PrivateEndpointConnectionsDeletePoller) FinalResponse(ctx context.Context) (PrivateEndpointConnectionsDeleteResponse, error)
- func (p *PrivateEndpointConnectionsDeletePoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *PrivateEndpointConnectionsDeletePoller) ResumeToken() (string, error)
- type PrivateEndpointConnectionsDeletePollerResponse
- func (l PrivateEndpointConnectionsDeletePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (PrivateEndpointConnectionsDeleteResponse, error)
- func (l *PrivateEndpointConnectionsDeletePollerResponse) Resume(ctx context.Context, client *PrivateEndpointConnectionsClient, token string) error
- type PrivateEndpointConnectionsDeleteResponse
- type PrivateEndpointConnectionsGetOptions
- type PrivateEndpointConnectionsGetResponse
- type PrivateEndpointConnectionsGetResult
- type PrivateEndpointConnectionsListOptions
- type PrivateEndpointConnectionsListPager
- type PrivateEndpointConnectionsListResponse
- type PrivateEndpointConnectionsListResult
- type PrivateLinkResource
- type PrivateLinkResourceListResult
- type PrivateLinkResourceProperties
- type PrivateLinkServiceConnectionState
- type ProgressProperties
- type ProvisioningState
- type ProxyResource
- type PublicNetworkAccess
- type QuarantinePolicy
- type RegenerateCredentialParameters
- type RegistriesBeginCreateOptions
- type RegistriesBeginDeleteOptions
- type RegistriesBeginGenerateCredentialsOptions
- type RegistriesBeginImportImageOptions
- type RegistriesBeginScheduleRunOptions
- type RegistriesBeginUpdateOptions
- type RegistriesCheckNameAvailabilityOptions
- type RegistriesCheckNameAvailabilityResponse
- type RegistriesCheckNameAvailabilityResult
- type RegistriesClient
- func (client *RegistriesClient) BeginCreate(ctx context.Context, resourceGroupName string, registryName string, ...) (RegistriesCreatePollerResponse, error)
- func (client *RegistriesClient) BeginDelete(ctx context.Context, resourceGroupName string, registryName string, ...) (RegistriesDeletePollerResponse, error)
- func (client *RegistriesClient) BeginGenerateCredentials(ctx context.Context, resourceGroupName string, registryName string, ...) (RegistriesGenerateCredentialsPollerResponse, error)
- func (client *RegistriesClient) BeginImportImage(ctx context.Context, resourceGroupName string, registryName string, ...) (RegistriesImportImagePollerResponse, error)
- func (client *RegistriesClient) BeginScheduleRun(ctx context.Context, resourceGroupName string, registryName string, ...) (RegistriesScheduleRunPollerResponse, error)
- func (client *RegistriesClient) BeginUpdate(ctx context.Context, resourceGroupName string, registryName string, ...) (RegistriesUpdatePollerResponse, error)
- func (client *RegistriesClient) CheckNameAvailability(ctx context.Context, registryNameCheckRequest RegistryNameCheckRequest, ...) (RegistriesCheckNameAvailabilityResponse, error)
- func (client *RegistriesClient) Get(ctx context.Context, resourceGroupName string, registryName string, ...) (RegistriesGetResponse, error)
- func (client *RegistriesClient) GetBuildSourceUploadURL(ctx context.Context, resourceGroupName string, registryName string, ...) (RegistriesGetBuildSourceUploadURLResponse, error)
- func (client *RegistriesClient) List(options *RegistriesListOptions) *RegistriesListPager
- func (client *RegistriesClient) ListByResourceGroup(resourceGroupName string, options *RegistriesListByResourceGroupOptions) *RegistriesListByResourceGroupPager
- func (client *RegistriesClient) ListCredentials(ctx context.Context, resourceGroupName string, registryName string, ...) (RegistriesListCredentialsResponse, error)
- func (client *RegistriesClient) ListPrivateLinkResources(resourceGroupName string, registryName string, ...) *RegistriesListPrivateLinkResourcesPager
- func (client *RegistriesClient) ListUsages(ctx context.Context, resourceGroupName string, registryName string, ...) (RegistriesListUsagesResponse, error)
- func (client *RegistriesClient) RegenerateCredential(ctx context.Context, resourceGroupName string, registryName string, ...) (RegistriesRegenerateCredentialResponse, error)
- type RegistriesCreatePoller
- type RegistriesCreatePollerResponse
- type RegistriesCreateResponse
- type RegistriesCreateResult
- type RegistriesDeletePoller
- type RegistriesDeletePollerResponse
- type RegistriesDeleteResponse
- type RegistriesGenerateCredentialsPoller
- func (p *RegistriesGenerateCredentialsPoller) Done() bool
- func (p *RegistriesGenerateCredentialsPoller) FinalResponse(ctx context.Context) (RegistriesGenerateCredentialsResponse, error)
- func (p *RegistriesGenerateCredentialsPoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *RegistriesGenerateCredentialsPoller) ResumeToken() (string, error)
- type RegistriesGenerateCredentialsPollerResponse
- type RegistriesGenerateCredentialsResponse
- type RegistriesGenerateCredentialsResult
- type RegistriesGetBuildSourceUploadURLOptions
- type RegistriesGetBuildSourceUploadURLResponse
- type RegistriesGetBuildSourceUploadURLResult
- type RegistriesGetOptions
- type RegistriesGetResponse
- type RegistriesGetResult
- type RegistriesImportImagePoller
- func (p *RegistriesImportImagePoller) Done() bool
- func (p *RegistriesImportImagePoller) FinalResponse(ctx context.Context) (RegistriesImportImageResponse, error)
- func (p *RegistriesImportImagePoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *RegistriesImportImagePoller) ResumeToken() (string, error)
- type RegistriesImportImagePollerResponse
- type RegistriesImportImageResponse
- type RegistriesListByResourceGroupOptions
- type RegistriesListByResourceGroupPager
- type RegistriesListByResourceGroupResponse
- type RegistriesListByResourceGroupResult
- type RegistriesListCredentialsOptions
- type RegistriesListCredentialsResponse
- type RegistriesListCredentialsResult
- type RegistriesListOptions
- type RegistriesListPager
- type RegistriesListPrivateLinkResourcesOptions
- type RegistriesListPrivateLinkResourcesPager
- type RegistriesListPrivateLinkResourcesResponse
- type RegistriesListPrivateLinkResourcesResult
- type RegistriesListResponse
- type RegistriesListResult
- type RegistriesListUsagesOptions
- type RegistriesListUsagesResponse
- type RegistriesListUsagesResult
- type RegistriesRegenerateCredentialOptions
- type RegistriesRegenerateCredentialResponse
- type RegistriesRegenerateCredentialResult
- type RegistriesScheduleRunPoller
- func (p *RegistriesScheduleRunPoller) Done() bool
- func (p *RegistriesScheduleRunPoller) FinalResponse(ctx context.Context) (RegistriesScheduleRunResponse, error)
- func (p *RegistriesScheduleRunPoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *RegistriesScheduleRunPoller) ResumeToken() (string, error)
- type RegistriesScheduleRunPollerResponse
- type RegistriesScheduleRunResponse
- type RegistriesScheduleRunResult
- type RegistriesUpdatePoller
- type RegistriesUpdatePollerResponse
- type RegistriesUpdateResponse
- type RegistriesUpdateResult
- type Registry
- type RegistryListCredentialsResult
- type RegistryListResult
- type RegistryNameCheckRequest
- type RegistryNameStatus
- type RegistryPassword
- type RegistryProperties
- type RegistryPropertiesUpdateParameters
- type RegistryUpdateParameters
- type RegistryUsage
- type RegistryUsageListResult
- type RegistryUsageUnit
- type Replication
- type ReplicationListResult
- type ReplicationProperties
- type ReplicationUpdateParameters
- type ReplicationUpdateParametersProperties
- type ReplicationsBeginCreateOptions
- type ReplicationsBeginDeleteOptions
- type ReplicationsBeginUpdateOptions
- type ReplicationsClient
- func (client *ReplicationsClient) BeginCreate(ctx context.Context, resourceGroupName string, registryName string, ...) (ReplicationsCreatePollerResponse, error)
- func (client *ReplicationsClient) BeginDelete(ctx context.Context, resourceGroupName string, registryName string, ...) (ReplicationsDeletePollerResponse, error)
- func (client *ReplicationsClient) BeginUpdate(ctx context.Context, resourceGroupName string, registryName string, ...) (ReplicationsUpdatePollerResponse, error)
- func (client *ReplicationsClient) Get(ctx context.Context, resourceGroupName string, registryName string, ...) (ReplicationsGetResponse, error)
- func (client *ReplicationsClient) List(resourceGroupName string, registryName string, ...) *ReplicationsListPager
- type ReplicationsCreatePoller
- func (p *ReplicationsCreatePoller) Done() bool
- func (p *ReplicationsCreatePoller) FinalResponse(ctx context.Context) (ReplicationsCreateResponse, error)
- func (p *ReplicationsCreatePoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *ReplicationsCreatePoller) ResumeToken() (string, error)
- type ReplicationsCreatePollerResponse
- type ReplicationsCreateResponse
- type ReplicationsCreateResult
- type ReplicationsDeletePoller
- func (p *ReplicationsDeletePoller) Done() bool
- func (p *ReplicationsDeletePoller) FinalResponse(ctx context.Context) (ReplicationsDeleteResponse, error)
- func (p *ReplicationsDeletePoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *ReplicationsDeletePoller) ResumeToken() (string, error)
- type ReplicationsDeletePollerResponse
- type ReplicationsDeleteResponse
- type ReplicationsGetOptions
- type ReplicationsGetResponse
- type ReplicationsGetResult
- type ReplicationsListOptions
- type ReplicationsListPager
- type ReplicationsListResponse
- type ReplicationsListResult
- type ReplicationsUpdatePoller
- func (p *ReplicationsUpdatePoller) Done() bool
- func (p *ReplicationsUpdatePoller) FinalResponse(ctx context.Context) (ReplicationsUpdateResponse, error)
- func (p *ReplicationsUpdatePoller) Poll(ctx context.Context) (*http.Response, error)
- func (p *ReplicationsUpdatePoller) ResumeToken() (string, error)
- type ReplicationsUpdatePollerResponse
- type ReplicationsUpdateResponse
- type ReplicationsUpdateResult
- type Request
- type Resource
- type ResourceIdentityType
- type RetentionPolicy
- type Run
- type RunFilter
- type RunGetLogResult
- type RunListResult
- type RunProperties
- type RunRequest
- type RunRequestClassification
- type RunStatus
- type RunType
- type RunUpdateParameters
- type RunsBeginCancelOptions
- type RunsBeginUpdateOptions
- type RunsCancelPoller
- type RunsCancelPollerResponse
- type RunsCancelResponse
- type RunsClient
- func (client *RunsClient) BeginCancel(ctx context.Context, resourceGroupName string, registryName string, ...) (RunsCancelPollerResponse, error)
- func (client *RunsClient) BeginUpdate(ctx context.Context, resourceGroupName string, registryName string, ...) (RunsUpdatePollerResponse, error)
- func (client *RunsClient) Get(ctx context.Context, resourceGroupName string, registryName string, ...) (RunsGetResponse, error)
- func (client *RunsClient) GetLogSasURL(ctx context.Context, resourceGroupName string, registryName string, ...) (RunsGetLogSasURLResponse, error)
- func (client *RunsClient) List(resourceGroupName string, registryName string, options *RunsListOptions) *RunsListPager
- type RunsGetLogSasURLOptions
- type RunsGetLogSasURLResponse
- type RunsGetLogSasURLResult
- type RunsGetOptions
- type RunsGetResponse
- type RunsGetResult
- type RunsListOptions
- type RunsListPager
- type RunsListResponse
- type RunsListResult
- type RunsUpdatePoller
- type RunsUpdatePollerResponse
- type RunsUpdateResponse
- type RunsUpdateResult
- type SKU
- type SKUName
- type SKUTier
- type ScopeMap
- type ScopeMapListResult
- type ScopeMapProperties
- type ScopeMapPropertiesUpdateParameters
- type ScopeMapUpdateParameters
- type ScopeMapsBeginCreateOptions
- type ScopeMapsBeginDeleteOptions
- type ScopeMapsBeginUpdateOptions
- type ScopeMapsClient
- func (client *ScopeMapsClient) BeginCreate(ctx context.Context, resourceGroupName string, registryName string, ...) (ScopeMapsCreatePollerResponse, error)
- func (client *ScopeMapsClient) BeginDelete(ctx context.Context, resourceGroupName string, registryName string, ...) (ScopeMapsDeletePollerResponse, error)
- func (client *ScopeMapsClient) BeginUpdate(ctx context.Context, resourceGroupName string, registryName string, ...) (ScopeMapsUpdatePollerResponse, error)
- func (client *ScopeMapsClient) Get(ctx context.Context, resourceGroupName string, registryName string, ...) (ScopeMapsGetResponse, error)
- func (client *ScopeMapsClient) List(resourceGroupName string, registryName string, options *ScopeMapsListOptions) *ScopeMapsListPager
- type ScopeMapsCreatePoller
- type ScopeMapsCreatePollerResponse
- type ScopeMapsCreateResponse
- type ScopeMapsCreateResult
- type ScopeMapsDeletePoller
- type ScopeMapsDeletePollerResponse
- type ScopeMapsDeleteResponse
- type ScopeMapsGetOptions
- type ScopeMapsGetResponse
- type ScopeMapsGetResult
- type ScopeMapsListOptions
- type ScopeMapsListPager
- type ScopeMapsListResponse
- type ScopeMapsListResult
- type ScopeMapsUpdatePoller
- type ScopeMapsUpdatePollerResponse
- type ScopeMapsUpdateResponse
- type ScopeMapsUpdateResult
- type SecretObject
- type SecretObjectType
- type SetValue
- type Source
- type SourceControlType
- type SourceProperties
- type SourceRegistryCredentials
- type SourceRegistryLoginMode
- type SourceTrigger
- type SourceTriggerDescriptor
- type SourceTriggerEvent
- type SourceTriggerUpdateParameters
- type SourceUpdateParameters
- type SourceUploadDefinition
- type Status
- type StatusDetailProperties
- type StepType
- type SyncProperties
- type SyncUpdateProperties
- type SystemData
- type TLSCertificateProperties
- type TLSProperties
- type TLSStatus
- type Target
- type Task
- type TaskListResult
- type TaskProperties
- type TaskPropertiesUpdateParameters
- type TaskRun
- type TaskRunListResult
- type TaskRunProperties
- type TaskRunPropertiesUpdateParameters
- type TaskRunRequest
- type TaskRunUpdateParameters
- type TaskRunsBeginCreateOptions
- type TaskRunsBeginDeleteOptions
- type TaskRunsBeginUpdateOptions
- type TaskRunsClient
- func (client *TaskRunsClient) BeginCreate(ctx context.Context, resourceGroupName string, registryName string, ...) (TaskRunsCreatePollerResponse, error)
- func (client *TaskRunsClient) BeginDelete(ctx context.Context, resourceGroupName string, registryName string, ...) (TaskRunsDeletePollerResponse, error)
- func (client *TaskRunsClient) BeginUpdate(ctx context.Context, resourceGroupName string, registryName string, ...) (TaskRunsUpdatePollerResponse, error)
- func (client *TaskRunsClient) Get(ctx context.Context, resourceGroupName string, registryName string, ...) (TaskRunsGetResponse, error)
- func (client *TaskRunsClient) GetDetails(ctx context.Context, resourceGroupName string, registryName string, ...) (TaskRunsGetDetailsResponse, error)
- func (client *TaskRunsClient) List(resourceGroupName string, registryName string, options *TaskRunsListOptions) *TaskRunsListPager
- type TaskRunsCreatePoller
- type TaskRunsCreatePollerResponse
- type TaskRunsCreateResponse
- type TaskRunsCreateResult
- type TaskRunsDeletePoller
- type TaskRunsDeletePollerResponse
- type TaskRunsDeleteResponse
- type TaskRunsGetDetailsOptions
- type TaskRunsGetDetailsResponse
- type TaskRunsGetDetailsResult
- type TaskRunsGetOptions
- type TaskRunsGetResponse
- type TaskRunsGetResult
- type TaskRunsListOptions
- type TaskRunsListPager
- type TaskRunsListResponse
- type TaskRunsListResult
- type TaskRunsUpdatePoller
- type TaskRunsUpdatePollerResponse
- type TaskRunsUpdateResponse
- type TaskRunsUpdateResult
- type TaskStatus
- type TaskStepProperties
- type TaskStepPropertiesClassification
- type TaskStepUpdateParameters
- type TaskStepUpdateParametersClassification
- type TaskUpdateParameters
- type TasksBeginCreateOptions
- type TasksBeginDeleteOptions
- type TasksBeginUpdateOptions
- type TasksClient
- func (client *TasksClient) BeginCreate(ctx context.Context, resourceGroupName string, registryName string, ...) (TasksCreatePollerResponse, error)
- func (client *TasksClient) BeginDelete(ctx context.Context, resourceGroupName string, registryName string, ...) (TasksDeletePollerResponse, error)
- func (client *TasksClient) BeginUpdate(ctx context.Context, resourceGroupName string, registryName string, ...) (TasksUpdatePollerResponse, error)
- func (client *TasksClient) Get(ctx context.Context, resourceGroupName string, registryName string, ...) (TasksGetResponse, error)
- func (client *TasksClient) GetDetails(ctx context.Context, resourceGroupName string, registryName string, ...) (TasksGetDetailsResponse, error)
- func (client *TasksClient) List(resourceGroupName string, registryName string, options *TasksListOptions) *TasksListPager
- type TasksCreatePoller
- type TasksCreatePollerResponse
- type TasksCreateResponse
- type TasksCreateResult
- type TasksDeletePoller
- type TasksDeletePollerResponse
- type TasksDeleteResponse
- type TasksGetDetailsOptions
- type TasksGetDetailsResponse
- type TasksGetDetailsResult
- type TasksGetOptions
- type TasksGetResponse
- type TasksGetResult
- type TasksListOptions
- type TasksListPager
- type TasksListResponse
- type TasksListResult
- type TasksUpdatePoller
- type TasksUpdatePollerResponse
- type TasksUpdateResponse
- type TasksUpdateResult
- type TimerTrigger
- type TimerTriggerDescriptor
- type TimerTriggerUpdateParameters
- type Token
- type TokenCertificate
- type TokenCertificateName
- type TokenCredentialsProperties
- type TokenListResult
- type TokenPassword
- type TokenPasswordName
- type TokenProperties
- type TokenStatus
- type TokenType
- type TokenUpdateParameters
- type TokenUpdateProperties
- type TokensBeginCreateOptions
- type TokensBeginDeleteOptions
- type TokensBeginUpdateOptions
- type TokensClient
- func (client *TokensClient) BeginCreate(ctx context.Context, resourceGroupName string, registryName string, ...) (TokensCreatePollerResponse, error)
- func (client *TokensClient) BeginDelete(ctx context.Context, resourceGroupName string, registryName string, ...) (TokensDeletePollerResponse, error)
- func (client *TokensClient) BeginUpdate(ctx context.Context, resourceGroupName string, registryName string, ...) (TokensUpdatePollerResponse, error)
- func (client *TokensClient) Get(ctx context.Context, resourceGroupName string, registryName string, ...) (TokensGetResponse, error)
- func (client *TokensClient) List(resourceGroupName string, registryName string, options *TokensListOptions) *TokensListPager
- type TokensCreatePoller
- type TokensCreatePollerResponse
- type TokensCreateResponse
- type TokensCreateResult
- type TokensDeletePoller
- type TokensDeletePollerResponse
- type TokensDeleteResponse
- type TokensGetOptions
- type TokensGetResponse
- type TokensGetResult
- type TokensListOptions
- type TokensListPager
- type TokensListResponse
- type TokensListResult
- type TokensUpdatePoller
- type TokensUpdatePollerResponse
- type TokensUpdateResponse
- type TokensUpdateResult
- type TriggerProperties
- type TriggerStatus
- type TriggerUpdateParameters
- type TrustPolicy
- type TrustPolicyType
- type UpdateTriggerPayloadType
- type UserIdentityProperties
- type Variant
- type VirtualNetworkRule
- type Webhook
- type WebhookAction
- type WebhookCreateParameters
- type WebhookListResult
- type WebhookProperties
- type WebhookPropertiesCreateParameters
- type WebhookPropertiesUpdateParameters
- type WebhookStatus
- type WebhookUpdateParameters
- type WebhooksBeginCreateOptions
- type WebhooksBeginDeleteOptions
- type WebhooksBeginUpdateOptions
- type WebhooksClient
- func (client *WebhooksClient) BeginCreate(ctx context.Context, resourceGroupName string, registryName string, ...) (WebhooksCreatePollerResponse, error)
- func (client *WebhooksClient) BeginDelete(ctx context.Context, resourceGroupName string, registryName string, ...) (WebhooksDeletePollerResponse, error)
- func (client *WebhooksClient) BeginUpdate(ctx context.Context, resourceGroupName string, registryName string, ...) (WebhooksUpdatePollerResponse, error)
- func (client *WebhooksClient) Get(ctx context.Context, resourceGroupName string, registryName string, ...) (WebhooksGetResponse, error)
- func (client *WebhooksClient) GetCallbackConfig(ctx context.Context, resourceGroupName string, registryName string, ...) (WebhooksGetCallbackConfigResponse, error)
- func (client *WebhooksClient) List(resourceGroupName string, registryName string, options *WebhooksListOptions) *WebhooksListPager
- func (client *WebhooksClient) ListEvents(resourceGroupName string, registryName string, webhookName string, ...) *WebhooksListEventsPager
- func (client *WebhooksClient) Ping(ctx context.Context, resourceGroupName string, registryName string, ...) (WebhooksPingResponse, error)
- type WebhooksCreatePoller
- type WebhooksCreatePollerResponse
- type WebhooksCreateResponse
- type WebhooksCreateResult
- type WebhooksDeletePoller
- type WebhooksDeletePollerResponse
- type WebhooksDeleteResponse
- type WebhooksGetCallbackConfigOptions
- type WebhooksGetCallbackConfigResponse
- type WebhooksGetCallbackConfigResult
- type WebhooksGetOptions
- type WebhooksGetResponse
- type WebhooksGetResult
- type WebhooksListEventsOptions
- type WebhooksListEventsPager
- type WebhooksListEventsResponse
- type WebhooksListEventsResult
- type WebhooksListOptions
- type WebhooksListPager
- type WebhooksListResponse
- type WebhooksListResult
- type WebhooksPingOptions
- type WebhooksPingResponse
- type WebhooksPingResult
- type WebhooksUpdatePoller
- type WebhooksUpdatePollerResponse
- type WebhooksUpdateResponse
- type WebhooksUpdateResult
- type ZoneRedundancy
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action string
Action - The action of virtual network rule.
const (
ActionAllow Action = "Allow"
)
func PossibleActionValues ¶
func PossibleActionValues() []Action
PossibleActionValues returns the possible values for the Action const type.
type ActionsRequired ¶
type ActionsRequired string
ActionsRequired - A message indicating if changes on the service provider require any updates on the consumer.
const ( ActionsRequiredNone ActionsRequired = "None" ActionsRequiredRecreate ActionsRequired = "Recreate" )
func PossibleActionsRequiredValues ¶
func PossibleActionsRequiredValues() []ActionsRequired
PossibleActionsRequiredValues returns the possible values for the ActionsRequired const type.
func (ActionsRequired) ToPtr ¶
func (c ActionsRequired) ToPtr() *ActionsRequired
ToPtr returns a *ActionsRequired pointing to the current value.
type ActivationProperties ¶
type ActivationProperties struct { // READ-ONLY; The activation status of the connected registry. Status *ActivationStatus `json:"status,omitempty" azure:"ro"` }
ActivationProperties - The activation properties of the connected registry.
type ActivationStatus ¶
type ActivationStatus string
ActivationStatus - The activation status of the connected registry.
const ( ActivationStatusActive ActivationStatus = "Active" ActivationStatusInactive ActivationStatus = "Inactive" )
func PossibleActivationStatusValues ¶
func PossibleActivationStatusValues() []ActivationStatus
PossibleActivationStatusValues returns the possible values for the ActivationStatus const type.
func (ActivationStatus) ToPtr ¶
func (c ActivationStatus) ToPtr() *ActivationStatus
ToPtr returns a *ActivationStatus pointing to the current value.
type ActiveDirectoryObject ¶
type ActiveDirectoryObject struct { // 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"` // The tenant ID of user/group/application object Active Directory Object that will be used for authenticating the token of a container registry. TenantID *string `json:"tenantId,omitempty"` }
ActiveDirectoryObject - The Active Directory Object that will be used for authenticating the token of a container registry.
type Actor ¶
type Actor struct { // The subject or username associated with the request context that generated the event. Name *string `json:"name,omitempty"` }
Actor - The agent that initiated the event. For most situations, this could be from the authorization context of the request.
type AgentPool ¶
type AgentPool struct { Resource // The properties associated with the agent pool Properties *AgentPoolProperties `json:"properties,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 ¶
MarshalJSON implements the json.Marshaller interface for type AgentPool.
type AgentPoolListResult ¶
type AgentPoolListResult struct { // The URI that can be used to request the next set of paged results. NextLink *string `json:"nextLink,omitempty"` // The collection value. Value []*AgentPool `json:"value,omitempty"` }
AgentPoolListResult - The collection of agent pools.
func (AgentPoolListResult) MarshalJSON ¶
func (a AgentPoolListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type AgentPoolListResult.
type AgentPoolProperties ¶
type AgentPoolProperties struct { // The count of agent machine Count *int32 `json:"count,omitempty"` // The OS of agent machine OS *OS `json:"os,omitempty"` // The Tier of agent machine Tier *string `json:"tier,omitempty"` // The Virtual Network Subnet Resource Id of the agent machine VirtualNetworkSubnetResourceID *string `json:"virtualNetworkSubnetResourceId,omitempty"` // READ-ONLY; The provisioning state of this agent pool ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` }
AgentPoolProperties - The properties of agent pool.
type AgentPoolPropertiesUpdateParameters ¶
type AgentPoolPropertiesUpdateParameters struct { // The count of agent machine Count *int32 `json:"count,omitempty"` }
type AgentPoolQueueStatus ¶
type AgentPoolQueueStatus struct { // The number of pending runs in the queue Count *int32 `json:"count,omitempty"` }
AgentPoolQueueStatus - The QueueStatus of Agent Pool
type AgentPoolUpdateParameters ¶
type AgentPoolUpdateParameters struct { // The properties associated with the agent pool Properties *AgentPoolPropertiesUpdateParameters `json:"properties,omitempty"` // The ARM resource tags. Tags map[string]*string `json:"tags,omitempty"` }
AgentPoolUpdateParameters - The parameters for updating an agent pool.
func (AgentPoolUpdateParameters) MarshalJSON ¶
func (a AgentPoolUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type AgentPoolUpdateParameters.
type AgentPoolsBeginCreateOptions ¶
type AgentPoolsBeginCreateOptions struct { }
AgentPoolsBeginCreateOptions contains the optional parameters for the AgentPools.BeginCreate method.
type AgentPoolsBeginDeleteOptions ¶
type AgentPoolsBeginDeleteOptions struct { }
AgentPoolsBeginDeleteOptions contains the optional parameters for the AgentPools.BeginDelete method.
type AgentPoolsBeginUpdateOptions ¶
type AgentPoolsBeginUpdateOptions struct { }
AgentPoolsBeginUpdateOptions contains the optional parameters for the AgentPools.BeginUpdate method.
type AgentPoolsClient ¶
type AgentPoolsClient struct {
// contains filtered or unexported fields
}
AgentPoolsClient contains the methods for the AgentPools group. Don't use this type directly, use NewAgentPoolsClient() instead.
func NewAgentPoolsClient ¶
func NewAgentPoolsClient(con *arm.Connection, subscriptionID string) *AgentPoolsClient
NewAgentPoolsClient creates a new instance of AgentPoolsClient with the specified values.
func (*AgentPoolsClient) BeginCreate ¶
func (client *AgentPoolsClient) BeginCreate(ctx context.Context, resourceGroupName string, registryName string, agentPoolName string, agentPool AgentPool, options *AgentPoolsBeginCreateOptions) (AgentPoolsCreatePollerResponse, error)
BeginCreate - Creates an agent pool for a container registry with the specified parameters. If the operation fails it returns the *ErrorResponse error type.
func (*AgentPoolsClient) BeginDelete ¶
func (client *AgentPoolsClient) BeginDelete(ctx context.Context, resourceGroupName string, registryName string, agentPoolName string, options *AgentPoolsBeginDeleteOptions) (AgentPoolsDeletePollerResponse, error)
BeginDelete - Deletes a specified agent pool resource. If the operation fails it returns the *ErrorResponse error type.
func (*AgentPoolsClient) BeginUpdate ¶
func (client *AgentPoolsClient) BeginUpdate(ctx context.Context, resourceGroupName string, registryName string, agentPoolName string, updateParameters AgentPoolUpdateParameters, options *AgentPoolsBeginUpdateOptions) (AgentPoolsUpdatePollerResponse, error)
BeginUpdate - Updates an agent pool with the specified parameters. If the operation fails it returns the *ErrorResponse error type.
func (*AgentPoolsClient) Get ¶
func (client *AgentPoolsClient) Get(ctx context.Context, resourceGroupName string, registryName string, agentPoolName string, options *AgentPoolsGetOptions) (AgentPoolsGetResponse, error)
Get - Gets the detailed information for a given agent pool. If the operation fails it returns the *ErrorResponse error type.
func (*AgentPoolsClient) GetQueueStatus ¶
func (client *AgentPoolsClient) GetQueueStatus(ctx context.Context, resourceGroupName string, registryName string, agentPoolName string, options *AgentPoolsGetQueueStatusOptions) (AgentPoolsGetQueueStatusResponse, error)
GetQueueStatus - Gets the count of queued runs for a given agent pool. If the operation fails it returns the *ErrorResponse error type.
func (*AgentPoolsClient) List ¶
func (client *AgentPoolsClient) List(resourceGroupName string, registryName string, options *AgentPoolsListOptions) *AgentPoolsListPager
List - Lists all the agent pools for a specified container registry. If the operation fails it returns the *ErrorResponse error type.
type AgentPoolsCreatePoller ¶
type AgentPoolsCreatePoller struct {
// contains filtered or unexported fields
}
AgentPoolsCreatePoller provides polling facilities until the operation reaches a terminal state.
func (*AgentPoolsCreatePoller) Done ¶
func (p *AgentPoolsCreatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*AgentPoolsCreatePoller) FinalResponse ¶
func (p *AgentPoolsCreatePoller) FinalResponse(ctx context.Context) (AgentPoolsCreateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final AgentPoolsCreateResponse will be returned.
func (*AgentPoolsCreatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*AgentPoolsCreatePoller) ResumeToken ¶
func (p *AgentPoolsCreatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type AgentPoolsCreatePollerResponse ¶
type AgentPoolsCreatePollerResponse struct { // Poller contains an initialized poller. Poller *AgentPoolsCreatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AgentPoolsCreatePollerResponse contains the response from method AgentPools.Create.
func (AgentPoolsCreatePollerResponse) PollUntilDone ¶
func (l AgentPoolsCreatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (AgentPoolsCreateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.
func (*AgentPoolsCreatePollerResponse) Resume ¶
func (l *AgentPoolsCreatePollerResponse) Resume(ctx context.Context, client *AgentPoolsClient, token string) error
Resume rehydrates a AgentPoolsCreatePollerResponse from the provided client and resume token.
type AgentPoolsCreateResponse ¶
type AgentPoolsCreateResponse struct { AgentPoolsCreateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AgentPoolsCreateResponse contains the response from method AgentPools.Create.
type AgentPoolsCreateResult ¶
type AgentPoolsCreateResult struct {
AgentPool
}
AgentPoolsCreateResult contains the result from method AgentPools.Create.
type AgentPoolsDeletePoller ¶
type AgentPoolsDeletePoller struct {
// contains filtered or unexported fields
}
AgentPoolsDeletePoller provides polling facilities until the operation reaches a terminal state.
func (*AgentPoolsDeletePoller) Done ¶
func (p *AgentPoolsDeletePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*AgentPoolsDeletePoller) FinalResponse ¶
func (p *AgentPoolsDeletePoller) FinalResponse(ctx context.Context) (AgentPoolsDeleteResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final AgentPoolsDeleteResponse will be returned.
func (*AgentPoolsDeletePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*AgentPoolsDeletePoller) ResumeToken ¶
func (p *AgentPoolsDeletePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type AgentPoolsDeletePollerResponse ¶
type AgentPoolsDeletePollerResponse struct { // Poller contains an initialized poller. Poller *AgentPoolsDeletePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AgentPoolsDeletePollerResponse contains the response from method AgentPools.Delete.
func (AgentPoolsDeletePollerResponse) PollUntilDone ¶
func (l AgentPoolsDeletePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (AgentPoolsDeleteResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.
func (*AgentPoolsDeletePollerResponse) Resume ¶
func (l *AgentPoolsDeletePollerResponse) Resume(ctx context.Context, client *AgentPoolsClient, token string) error
Resume rehydrates a AgentPoolsDeletePollerResponse from the provided client and resume token.
type AgentPoolsDeleteResponse ¶
type AgentPoolsDeleteResponse struct { // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AgentPoolsDeleteResponse contains the response from method AgentPools.Delete.
type AgentPoolsGetOptions ¶
type AgentPoolsGetOptions struct { }
AgentPoolsGetOptions contains the optional parameters for the AgentPools.Get method.
type AgentPoolsGetQueueStatusOptions ¶
type AgentPoolsGetQueueStatusOptions struct { }
AgentPoolsGetQueueStatusOptions contains the optional parameters for the AgentPools.GetQueueStatus method.
type AgentPoolsGetQueueStatusResponse ¶
type AgentPoolsGetQueueStatusResponse struct { AgentPoolsGetQueueStatusResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AgentPoolsGetQueueStatusResponse contains the response from method AgentPools.GetQueueStatus.
type AgentPoolsGetQueueStatusResult ¶
type AgentPoolsGetQueueStatusResult struct {
AgentPoolQueueStatus
}
AgentPoolsGetQueueStatusResult contains the result from method AgentPools.GetQueueStatus.
type AgentPoolsGetResponse ¶
type AgentPoolsGetResponse struct { AgentPoolsGetResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AgentPoolsGetResponse contains the response from method AgentPools.Get.
type AgentPoolsGetResult ¶
type AgentPoolsGetResult struct {
AgentPool
}
AgentPoolsGetResult contains the result from method AgentPools.Get.
type AgentPoolsListOptions ¶
type AgentPoolsListOptions struct { }
AgentPoolsListOptions contains the optional parameters for the AgentPools.List method.
type AgentPoolsListPager ¶
type AgentPoolsListPager struct {
// contains filtered or unexported fields
}
AgentPoolsListPager provides operations for iterating over paged responses.
func (*AgentPoolsListPager) Err ¶
func (p *AgentPoolsListPager) Err() error
Err returns the last error encountered while paging.
func (*AgentPoolsListPager) NextPage ¶
func (p *AgentPoolsListPager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*AgentPoolsListPager) PageResponse ¶
func (p *AgentPoolsListPager) PageResponse() AgentPoolsListResponse
PageResponse returns the current AgentPoolsListResponse page.
type AgentPoolsListResponse ¶
type AgentPoolsListResponse struct { AgentPoolsListResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AgentPoolsListResponse contains the response from method AgentPools.List.
type AgentPoolsListResult ¶
type AgentPoolsListResult struct {
AgentPoolListResult
}
AgentPoolsListResult contains the result from method AgentPools.List.
type AgentPoolsUpdatePoller ¶
type AgentPoolsUpdatePoller struct {
// contains filtered or unexported fields
}
AgentPoolsUpdatePoller provides polling facilities until the operation reaches a terminal state.
func (*AgentPoolsUpdatePoller) Done ¶
func (p *AgentPoolsUpdatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*AgentPoolsUpdatePoller) FinalResponse ¶
func (p *AgentPoolsUpdatePoller) FinalResponse(ctx context.Context) (AgentPoolsUpdateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final AgentPoolsUpdateResponse will be returned.
func (*AgentPoolsUpdatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*AgentPoolsUpdatePoller) ResumeToken ¶
func (p *AgentPoolsUpdatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type AgentPoolsUpdatePollerResponse ¶
type AgentPoolsUpdatePollerResponse struct { // Poller contains an initialized poller. Poller *AgentPoolsUpdatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AgentPoolsUpdatePollerResponse contains the response from method AgentPools.Update.
func (AgentPoolsUpdatePollerResponse) PollUntilDone ¶
func (l AgentPoolsUpdatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (AgentPoolsUpdateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.
func (*AgentPoolsUpdatePollerResponse) Resume ¶
func (l *AgentPoolsUpdatePollerResponse) Resume(ctx context.Context, client *AgentPoolsClient, token string) error
Resume rehydrates a AgentPoolsUpdatePollerResponse from the provided client and resume token.
type AgentPoolsUpdateResponse ¶
type AgentPoolsUpdateResponse struct { AgentPoolsUpdateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
AgentPoolsUpdateResponse contains the response from method AgentPools.Update.
type AgentPoolsUpdateResult ¶
type AgentPoolsUpdateResult struct {
AgentPool
}
AgentPoolsUpdateResult contains the result from method AgentPools.Update.
type AgentProperties ¶
type AgentProperties struct { // The CPU configuration in terms of number of cores required for the run. CPU *int32 `json:"cpu,omitempty"` }
AgentProperties - The properties that determine the run agent configuration.
type Architecture ¶
type Architecture string
Architecture - The OS architecture.
const ( ArchitectureAmd64 Architecture = "amd64" ArchitectureArm Architecture = "arm" ArchitectureArm64 Architecture = "arm64" ArchitectureThreeHundredEightySix Architecture = "386" ArchitectureX86 Architecture = "x86" )
func PossibleArchitectureValues ¶
func PossibleArchitectureValues() []Architecture
PossibleArchitectureValues returns the possible values for the Architecture const type.
func (Architecture) ToPtr ¶
func (c Architecture) ToPtr() *Architecture
ToPtr returns a *Architecture pointing to the current value.
type Argument ¶
type Argument struct { // REQUIRED; The name of the argument. Name *string `json:"name,omitempty"` // REQUIRED; The value of the argument. Value *string `json:"value,omitempty"` // 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 AuditLogStatus ¶
type AuditLogStatus string
AuditLogStatus - Indicates whether audit logs are enabled on the connected registry.
const ( AuditLogStatusDisabled AuditLogStatus = "Disabled" AuditLogStatusEnabled AuditLogStatus = "Enabled" )
func PossibleAuditLogStatusValues ¶
func PossibleAuditLogStatusValues() []AuditLogStatus
PossibleAuditLogStatusValues returns the possible values for the AuditLogStatus const type.
func (AuditLogStatus) ToPtr ¶
func (c AuditLogStatus) ToPtr() *AuditLogStatus
ToPtr returns a *AuditLogStatus pointing to the current value.
type AuthInfo ¶
type AuthInfo struct { // REQUIRED; The access token used to access the source control provider. Token *string `json:"token,omitempty"` // REQUIRED; The type of Auth token. TokenType *TokenType `json:"tokenType,omitempty"` // Time in seconds that the token remains valid ExpiresIn *int32 `json:"expiresIn,omitempty"` // The refresh token used to refresh the access token. RefreshToken *string `json:"refreshToken,omitempty"` // The scope of the access token. Scope *string `json:"scope,omitempty"` }
AuthInfo - The authorization properties for accessing the source code repository.
type AuthInfoUpdateParameters ¶
type AuthInfoUpdateParameters struct { // Time in seconds that the token remains valid ExpiresIn *int32 `json:"expiresIn,omitempty"` // The refresh token used to refresh the access token. RefreshToken *string `json:"refreshToken,omitempty"` // The scope of the access token. Scope *string `json:"scope,omitempty"` // The access token used to access the source control provider. Token *string `json:"token,omitempty"` // The type of Auth token. TokenType *TokenType `json:"tokenType,omitempty"` }
AuthInfoUpdateParameters - The authorization properties for accessing the source code repository.
type BaseImageDependency ¶
type BaseImageDependency struct { // The sha256-based digest of the image manifest. Digest *string `json:"digest,omitempty"` // The registry login server. Registry *string `json:"registry,omitempty"` // The repository name. Repository *string `json:"repository,omitempty"` // The tag name. Tag *string `json:"tag,omitempty"` // The type of the base image dependency. Type *BaseImageDependencyType `json:"type,omitempty"` }
BaseImageDependency - Properties that describe a base image dependency.
type BaseImageDependencyType ¶
type BaseImageDependencyType string
BaseImageDependencyType - The type of the base image dependency.
const ( BaseImageDependencyTypeBuildTime BaseImageDependencyType = "BuildTime" BaseImageDependencyTypeRunTime BaseImageDependencyType = "RunTime" )
func PossibleBaseImageDependencyTypeValues ¶
func PossibleBaseImageDependencyTypeValues() []BaseImageDependencyType
PossibleBaseImageDependencyTypeValues returns the possible values for the BaseImageDependencyType const type.
func (BaseImageDependencyType) ToPtr ¶
func (c BaseImageDependencyType) ToPtr() *BaseImageDependencyType
ToPtr returns a *BaseImageDependencyType pointing to the current value.
type BaseImageTrigger ¶
type BaseImageTrigger struct { // REQUIRED; The type of the auto trigger for base image dependency updates. BaseImageTriggerType *BaseImageTriggerType `json:"baseImageTriggerType,omitempty"` // REQUIRED; The name of the trigger. Name *string `json:"name,omitempty"` // The current status of trigger. Status *TriggerStatus `json:"status,omitempty"` // The endpoint URL for receiving update triggers. UpdateTriggerEndpoint *string `json:"updateTriggerEndpoint,omitempty"` // Type of Payload body for Base image update triggers. UpdateTriggerPayloadType *UpdateTriggerPayloadType `json:"updateTriggerPayloadType,omitempty"` }
BaseImageTrigger - The trigger based on base image dependency.
type BaseImageTriggerType ¶
type BaseImageTriggerType string
BaseImageTriggerType - The type of the auto trigger for base image dependency updates.
const ( BaseImageTriggerTypeAll BaseImageTriggerType = "All" BaseImageTriggerTypeRuntime BaseImageTriggerType = "Runtime" )
func PossibleBaseImageTriggerTypeValues ¶
func PossibleBaseImageTriggerTypeValues() []BaseImageTriggerType
PossibleBaseImageTriggerTypeValues returns the possible values for the BaseImageTriggerType const type.
func (BaseImageTriggerType) ToPtr ¶
func (c BaseImageTriggerType) ToPtr() *BaseImageTriggerType
ToPtr returns a *BaseImageTriggerType pointing to the current value.
type BaseImageTriggerUpdateParameters ¶
type BaseImageTriggerUpdateParameters struct { // REQUIRED; The name of the trigger. Name *string `json:"name,omitempty"` // The type of the auto trigger for base image dependency updates. BaseImageTriggerType *BaseImageTriggerType `json:"baseImageTriggerType,omitempty"` // The current status of trigger. Status *TriggerStatus `json:"status,omitempty"` // The endpoint URL for receiving update triggers. UpdateTriggerEndpoint *string `json:"updateTriggerEndpoint,omitempty"` // Type of Payload body for Base image update triggers. UpdateTriggerPayloadType *UpdateTriggerPayloadType `json:"updateTriggerPayloadType,omitempty"` }
BaseImageTriggerUpdateParameters - The properties for updating base image dependency trigger.
type CallbackConfig ¶
type CallbackConfig struct { // REQUIRED; The service URI for the webhook to post notifications. ServiceURI *string `json:"serviceUri,omitempty"` // Custom headers that will be added to the webhook notifications. CustomHeaders map[string]*string `json:"customHeaders,omitempty"` }
CallbackConfig - The configuration of service URI and custom headers for the webhook.
func (CallbackConfig) MarshalJSON ¶
func (c CallbackConfig) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type CallbackConfig.
type CertificateType ¶
type CertificateType string
CertificateType - The type of certificate location.
const (
CertificateTypeLocalDirectory CertificateType = "LocalDirectory"
)
func PossibleCertificateTypeValues ¶
func PossibleCertificateTypeValues() []CertificateType
PossibleCertificateTypeValues returns the possible values for the CertificateType const type.
func (CertificateType) ToPtr ¶
func (c CertificateType) ToPtr() *CertificateType
ToPtr returns a *CertificateType pointing to the current value.
type ConnectedRegistriesBeginCreateOptions ¶
type ConnectedRegistriesBeginCreateOptions struct { }
ConnectedRegistriesBeginCreateOptions contains the optional parameters for the ConnectedRegistries.BeginCreate method.
type ConnectedRegistriesBeginDeactivateOptions ¶
type ConnectedRegistriesBeginDeactivateOptions struct { }
ConnectedRegistriesBeginDeactivateOptions contains the optional parameters for the ConnectedRegistries.BeginDeactivate method.
type ConnectedRegistriesBeginDeleteOptions ¶
type ConnectedRegistriesBeginDeleteOptions struct { }
ConnectedRegistriesBeginDeleteOptions contains the optional parameters for the ConnectedRegistries.BeginDelete method.
type ConnectedRegistriesBeginUpdateOptions ¶
type ConnectedRegistriesBeginUpdateOptions struct { }
ConnectedRegistriesBeginUpdateOptions contains the optional parameters for the ConnectedRegistries.BeginUpdate method.
type ConnectedRegistriesClient ¶
type ConnectedRegistriesClient struct {
// contains filtered or unexported fields
}
ConnectedRegistriesClient contains the methods for the ConnectedRegistries group. Don't use this type directly, use NewConnectedRegistriesClient() instead.
func NewConnectedRegistriesClient ¶
func NewConnectedRegistriesClient(con *arm.Connection, subscriptionID string) *ConnectedRegistriesClient
NewConnectedRegistriesClient creates a new instance of ConnectedRegistriesClient with the specified values.
func (*ConnectedRegistriesClient) BeginCreate ¶
func (client *ConnectedRegistriesClient) BeginCreate(ctx context.Context, resourceGroupName string, registryName string, connectedRegistryName string, connectedRegistryCreateParameters ConnectedRegistry, options *ConnectedRegistriesBeginCreateOptions) (ConnectedRegistriesCreatePollerResponse, error)
BeginCreate - Creates a connected registry for a container registry with the specified parameters. If the operation fails it returns the *ErrorResponse error type.
func (*ConnectedRegistriesClient) BeginDeactivate ¶
func (client *ConnectedRegistriesClient) BeginDeactivate(ctx context.Context, resourceGroupName string, registryName string, connectedRegistryName string, options *ConnectedRegistriesBeginDeactivateOptions) (ConnectedRegistriesDeactivatePollerResponse, error)
BeginDeactivate - Deactivates the connected registry instance. If the operation fails it returns the *ErrorResponse error type.
func (*ConnectedRegistriesClient) BeginDelete ¶
func (client *ConnectedRegistriesClient) BeginDelete(ctx context.Context, resourceGroupName string, registryName string, connectedRegistryName string, options *ConnectedRegistriesBeginDeleteOptions) (ConnectedRegistriesDeletePollerResponse, error)
BeginDelete - Deletes a connected registry from a container registry. If the operation fails it returns the *ErrorResponse error type.
func (*ConnectedRegistriesClient) BeginUpdate ¶
func (client *ConnectedRegistriesClient) BeginUpdate(ctx context.Context, resourceGroupName string, registryName string, connectedRegistryName string, connectedRegistryUpdateParameters ConnectedRegistryUpdateParameters, options *ConnectedRegistriesBeginUpdateOptions) (ConnectedRegistriesUpdatePollerResponse, error)
BeginUpdate - Updates a connected registry with the specified parameters. If the operation fails it returns the *ErrorResponse error type.
func (*ConnectedRegistriesClient) Get ¶
func (client *ConnectedRegistriesClient) Get(ctx context.Context, resourceGroupName string, registryName string, connectedRegistryName string, options *ConnectedRegistriesGetOptions) (ConnectedRegistriesGetResponse, error)
Get - Gets the properties of the connected registry. If the operation fails it returns the *ErrorResponse error type.
func (*ConnectedRegistriesClient) List ¶
func (client *ConnectedRegistriesClient) List(resourceGroupName string, registryName string, options *ConnectedRegistriesListOptions) *ConnectedRegistriesListPager
List - Lists all connected registries for the specified container registry. If the operation fails it returns the *ErrorResponse error type.
type ConnectedRegistriesCreatePoller ¶
type ConnectedRegistriesCreatePoller struct {
// contains filtered or unexported fields
}
ConnectedRegistriesCreatePoller provides polling facilities until the operation reaches a terminal state.
func (*ConnectedRegistriesCreatePoller) Done ¶
func (p *ConnectedRegistriesCreatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*ConnectedRegistriesCreatePoller) FinalResponse ¶
func (p *ConnectedRegistriesCreatePoller) FinalResponse(ctx context.Context) (ConnectedRegistriesCreateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ConnectedRegistriesCreateResponse will be returned.
func (*ConnectedRegistriesCreatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*ConnectedRegistriesCreatePoller) ResumeToken ¶
func (p *ConnectedRegistriesCreatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type ConnectedRegistriesCreatePollerResponse ¶
type ConnectedRegistriesCreatePollerResponse struct { // Poller contains an initialized poller. Poller *ConnectedRegistriesCreatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ConnectedRegistriesCreatePollerResponse contains the response from method ConnectedRegistries.Create.
func (ConnectedRegistriesCreatePollerResponse) PollUntilDone ¶
func (l ConnectedRegistriesCreatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (ConnectedRegistriesCreateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.
func (*ConnectedRegistriesCreatePollerResponse) Resume ¶
func (l *ConnectedRegistriesCreatePollerResponse) Resume(ctx context.Context, client *ConnectedRegistriesClient, token string) error
Resume rehydrates a ConnectedRegistriesCreatePollerResponse from the provided client and resume token.
type ConnectedRegistriesCreateResponse ¶
type ConnectedRegistriesCreateResponse struct { ConnectedRegistriesCreateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ConnectedRegistriesCreateResponse contains the response from method ConnectedRegistries.Create.
type ConnectedRegistriesCreateResult ¶
type ConnectedRegistriesCreateResult struct {
ConnectedRegistry
}
ConnectedRegistriesCreateResult contains the result from method ConnectedRegistries.Create.
type ConnectedRegistriesDeactivatePoller ¶
type ConnectedRegistriesDeactivatePoller struct {
// contains filtered or unexported fields
}
ConnectedRegistriesDeactivatePoller provides polling facilities until the operation reaches a terminal state.
func (*ConnectedRegistriesDeactivatePoller) Done ¶
func (p *ConnectedRegistriesDeactivatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*ConnectedRegistriesDeactivatePoller) FinalResponse ¶
func (p *ConnectedRegistriesDeactivatePoller) FinalResponse(ctx context.Context) (ConnectedRegistriesDeactivateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ConnectedRegistriesDeactivateResponse will be returned.
func (*ConnectedRegistriesDeactivatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*ConnectedRegistriesDeactivatePoller) ResumeToken ¶
func (p *ConnectedRegistriesDeactivatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type ConnectedRegistriesDeactivatePollerResponse ¶
type ConnectedRegistriesDeactivatePollerResponse struct { // Poller contains an initialized poller. Poller *ConnectedRegistriesDeactivatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ConnectedRegistriesDeactivatePollerResponse contains the response from method ConnectedRegistries.Deactivate.
func (ConnectedRegistriesDeactivatePollerResponse) PollUntilDone ¶
func (l ConnectedRegistriesDeactivatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (ConnectedRegistriesDeactivateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.
func (*ConnectedRegistriesDeactivatePollerResponse) Resume ¶
func (l *ConnectedRegistriesDeactivatePollerResponse) Resume(ctx context.Context, client *ConnectedRegistriesClient, token string) error
Resume rehydrates a ConnectedRegistriesDeactivatePollerResponse from the provided client and resume token.
type ConnectedRegistriesDeactivateResponse ¶
type ConnectedRegistriesDeactivateResponse struct { // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ConnectedRegistriesDeactivateResponse contains the response from method ConnectedRegistries.Deactivate.
type ConnectedRegistriesDeletePoller ¶
type ConnectedRegistriesDeletePoller struct {
// contains filtered or unexported fields
}
ConnectedRegistriesDeletePoller provides polling facilities until the operation reaches a terminal state.
func (*ConnectedRegistriesDeletePoller) Done ¶
func (p *ConnectedRegistriesDeletePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*ConnectedRegistriesDeletePoller) FinalResponse ¶
func (p *ConnectedRegistriesDeletePoller) FinalResponse(ctx context.Context) (ConnectedRegistriesDeleteResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ConnectedRegistriesDeleteResponse will be returned.
func (*ConnectedRegistriesDeletePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*ConnectedRegistriesDeletePoller) ResumeToken ¶
func (p *ConnectedRegistriesDeletePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type ConnectedRegistriesDeletePollerResponse ¶
type ConnectedRegistriesDeletePollerResponse struct { // Poller contains an initialized poller. Poller *ConnectedRegistriesDeletePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ConnectedRegistriesDeletePollerResponse contains the response from method ConnectedRegistries.Delete.
func (ConnectedRegistriesDeletePollerResponse) PollUntilDone ¶
func (l ConnectedRegistriesDeletePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (ConnectedRegistriesDeleteResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.
func (*ConnectedRegistriesDeletePollerResponse) Resume ¶
func (l *ConnectedRegistriesDeletePollerResponse) Resume(ctx context.Context, client *ConnectedRegistriesClient, token string) error
Resume rehydrates a ConnectedRegistriesDeletePollerResponse from the provided client and resume token.
type ConnectedRegistriesDeleteResponse ¶
type ConnectedRegistriesDeleteResponse struct { // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ConnectedRegistriesDeleteResponse contains the response from method ConnectedRegistries.Delete.
type ConnectedRegistriesGetOptions ¶
type ConnectedRegistriesGetOptions struct { }
ConnectedRegistriesGetOptions contains the optional parameters for the ConnectedRegistries.Get method.
type ConnectedRegistriesGetResponse ¶
type ConnectedRegistriesGetResponse struct { ConnectedRegistriesGetResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ConnectedRegistriesGetResponse contains the response from method ConnectedRegistries.Get.
type ConnectedRegistriesGetResult ¶
type ConnectedRegistriesGetResult struct {
ConnectedRegistry
}
ConnectedRegistriesGetResult contains the result from method ConnectedRegistries.Get.
type ConnectedRegistriesListOptions ¶
type ConnectedRegistriesListOptions struct { // An OData filter expression that describes a subset of connectedRegistries to return. The parameters that can be filtered are parent.id (the resource // id of the connectedRegistry parent), mode, and connectionState. The supported operator is eq. Filter *string }
ConnectedRegistriesListOptions contains the optional parameters for the ConnectedRegistries.List method.
type ConnectedRegistriesListPager ¶
type ConnectedRegistriesListPager struct {
// contains filtered or unexported fields
}
ConnectedRegistriesListPager provides operations for iterating over paged responses.
func (*ConnectedRegistriesListPager) Err ¶
func (p *ConnectedRegistriesListPager) Err() error
Err returns the last error encountered while paging.
func (*ConnectedRegistriesListPager) NextPage ¶
func (p *ConnectedRegistriesListPager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*ConnectedRegistriesListPager) PageResponse ¶
func (p *ConnectedRegistriesListPager) PageResponse() ConnectedRegistriesListResponse
PageResponse returns the current ConnectedRegistriesListResponse page.
type ConnectedRegistriesListResponse ¶
type ConnectedRegistriesListResponse struct { ConnectedRegistriesListResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ConnectedRegistriesListResponse contains the response from method ConnectedRegistries.List.
type ConnectedRegistriesListResult ¶
type ConnectedRegistriesListResult struct {
ConnectedRegistryListResult
}
ConnectedRegistriesListResult contains the result from method ConnectedRegistries.List.
type ConnectedRegistriesUpdatePoller ¶
type ConnectedRegistriesUpdatePoller struct {
// contains filtered or unexported fields
}
ConnectedRegistriesUpdatePoller provides polling facilities until the operation reaches a terminal state.
func (*ConnectedRegistriesUpdatePoller) Done ¶
func (p *ConnectedRegistriesUpdatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*ConnectedRegistriesUpdatePoller) FinalResponse ¶
func (p *ConnectedRegistriesUpdatePoller) FinalResponse(ctx context.Context) (ConnectedRegistriesUpdateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ConnectedRegistriesUpdateResponse will be returned.
func (*ConnectedRegistriesUpdatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*ConnectedRegistriesUpdatePoller) ResumeToken ¶
func (p *ConnectedRegistriesUpdatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type ConnectedRegistriesUpdatePollerResponse ¶
type ConnectedRegistriesUpdatePollerResponse struct { // Poller contains an initialized poller. Poller *ConnectedRegistriesUpdatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ConnectedRegistriesUpdatePollerResponse contains the response from method ConnectedRegistries.Update.
func (ConnectedRegistriesUpdatePollerResponse) PollUntilDone ¶
func (l ConnectedRegistriesUpdatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (ConnectedRegistriesUpdateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.
func (*ConnectedRegistriesUpdatePollerResponse) Resume ¶
func (l *ConnectedRegistriesUpdatePollerResponse) Resume(ctx context.Context, client *ConnectedRegistriesClient, token string) error
Resume rehydrates a ConnectedRegistriesUpdatePollerResponse from the provided client and resume token.
type ConnectedRegistriesUpdateResponse ¶
type ConnectedRegistriesUpdateResponse struct { ConnectedRegistriesUpdateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ConnectedRegistriesUpdateResponse contains the response from method ConnectedRegistries.Update.
type ConnectedRegistriesUpdateResult ¶
type ConnectedRegistriesUpdateResult struct {
ConnectedRegistry
}
ConnectedRegistriesUpdateResult contains the result from method ConnectedRegistries.Update.
type ConnectedRegistry ¶
type ConnectedRegistry struct { ProxyResource // The properties of the connected registry. Properties *ConnectedRegistryProperties `json:"properties,omitempty"` }
ConnectedRegistry - An object that represents a connected registry for a container registry.
type ConnectedRegistryListResult ¶
type ConnectedRegistryListResult struct { // The URI that can be used to request the next list of connected registries. NextLink *string `json:"nextLink,omitempty"` // The list of connected registries. Since this list may be incomplete, the nextLink field should be used to request the next list of connected registries. Value []*ConnectedRegistry `json:"value,omitempty"` }
ConnectedRegistryListResult - The result of a request to list connected registries for a container registry.
func (ConnectedRegistryListResult) MarshalJSON ¶
func (c ConnectedRegistryListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ConnectedRegistryListResult.
type ConnectedRegistryMode ¶
type ConnectedRegistryMode string
ConnectedRegistryMode - The mode of the connected registry resource that indicates the permissions of the registry.
const ( ConnectedRegistryModeMirror ConnectedRegistryMode = "Mirror" ConnectedRegistryModeRegistry ConnectedRegistryMode = "Registry" )
func PossibleConnectedRegistryModeValues ¶
func PossibleConnectedRegistryModeValues() []ConnectedRegistryMode
PossibleConnectedRegistryModeValues returns the possible values for the ConnectedRegistryMode const type.
func (ConnectedRegistryMode) ToPtr ¶
func (c ConnectedRegistryMode) ToPtr() *ConnectedRegistryMode
ToPtr returns a *ConnectedRegistryMode pointing to the current value.
type ConnectedRegistryProperties ¶
type ConnectedRegistryProperties struct { // REQUIRED; The mode of the connected registry resource that indicates the permissions of the registry. Mode *ConnectedRegistryMode `json:"mode,omitempty"` // REQUIRED; The parent of the connected registry. Parent *ParentProperties `json:"parent,omitempty"` // The list of the ACR token resource IDs used to authenticate clients to the connected registry. ClientTokenIDs []*string `json:"clientTokenIds,omitempty"` // The logging properties of the connected registry. Logging *LoggingProperties `json:"logging,omitempty"` // The login server properties of the connected registry. LoginServer *LoginServerProperties `json:"loginServer,omitempty"` // READ-ONLY; The activation properties of the connected registry. Activation *ActivationProperties `json:"activation,omitempty" azure:"ro"` // READ-ONLY; The current connection state of the connected registry. ConnectionState *ConnectionState `json:"connectionState,omitempty" azure:"ro"` // READ-ONLY; The last activity time of the connected registry. LastActivityTime *time.Time `json:"lastActivityTime,omitempty" azure:"ro"` // READ-ONLY; Provisioning state of the resource. ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` // READ-ONLY; The list of current statuses of the connected registry. StatusDetails []*StatusDetailProperties `json:"statusDetails,omitempty" azure:"ro"` // READ-ONLY; The current version of ACR runtime on the connected registry. Version *string `json:"version,omitempty" azure:"ro"` }
ConnectedRegistryProperties - The properties of a connected registry.
func (ConnectedRegistryProperties) MarshalJSON ¶
func (c ConnectedRegistryProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ConnectedRegistryProperties.
func (*ConnectedRegistryProperties) UnmarshalJSON ¶
func (c *ConnectedRegistryProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ConnectedRegistryProperties.
type ConnectedRegistryUpdateParameters ¶
type ConnectedRegistryUpdateParameters struct { // The properties of the connected registry update parameters. Properties *ConnectedRegistryUpdateProperties `json:"properties,omitempty"` }
ConnectedRegistryUpdateParameters - The parameters for updating a connected registry.
func (ConnectedRegistryUpdateParameters) MarshalJSON ¶
func (c ConnectedRegistryUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ConnectedRegistryUpdateParameters.
type ConnectedRegistryUpdateProperties ¶
type ConnectedRegistryUpdateProperties struct { // The list of the ACR token resource IDs used to authenticate clients to the connected registry. ClientTokenIDs []*string `json:"clientTokenIds,omitempty"` // The logging properties of the connected registry. Logging *LoggingProperties `json:"logging,omitempty"` // The sync properties of the connected registry with its parent. SyncProperties *SyncUpdateProperties `json:"syncProperties,omitempty"` }
ConnectedRegistryUpdateProperties - The parameters for updating token properties.
func (ConnectedRegistryUpdateProperties) MarshalJSON ¶
func (c ConnectedRegistryUpdateProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ConnectedRegistryUpdateProperties.
type ConnectionState ¶
type ConnectionState string
ConnectionState - The current connection state of the connected registry.
const ( ConnectionStateOffline ConnectionState = "Offline" ConnectionStateOnline ConnectionState = "Online" ConnectionStateSyncing ConnectionState = "Syncing" ConnectionStateUnhealthy ConnectionState = "Unhealthy" )
func PossibleConnectionStateValues ¶
func PossibleConnectionStateValues() []ConnectionState
PossibleConnectionStateValues returns the possible values for the ConnectionState const type.
func (ConnectionState) ToPtr ¶
func (c ConnectionState) ToPtr() *ConnectionState
ToPtr returns a *ConnectionState pointing to the current value.
type ConnectionStatus ¶
type ConnectionStatus string
ConnectionStatus - The private link service connection status.
const ( ConnectionStatusApproved ConnectionStatus = "Approved" ConnectionStatusDisconnected ConnectionStatus = "Disconnected" ConnectionStatusPending ConnectionStatus = "Pending" ConnectionStatusRejected ConnectionStatus = "Rejected" )
func PossibleConnectionStatusValues ¶
func PossibleConnectionStatusValues() []ConnectionStatus
PossibleConnectionStatusValues returns the possible values for the ConnectionStatus const type.
func (ConnectionStatus) ToPtr ¶
func (c ConnectionStatus) ToPtr() *ConnectionStatus
ToPtr returns a *ConnectionStatus pointing to the current value.
type CreatedByType ¶
type CreatedByType string
CreatedByType - The type of identity that created the resource.
const ( CreatedByTypeApplication CreatedByType = "Application" CreatedByTypeKey CreatedByType = "Key" CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity" CreatedByTypeUser CreatedByType = "User" )
func PossibleCreatedByTypeValues ¶
func PossibleCreatedByTypeValues() []CreatedByType
PossibleCreatedByTypeValues returns the possible values for the CreatedByType const type.
func (CreatedByType) ToPtr ¶
func (c CreatedByType) ToPtr() *CreatedByType
ToPtr returns a *CreatedByType pointing to the current value.
type Credentials ¶
type Credentials struct { // 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,omitempty"` // Describes the credential parameters for accessing the source registry. SourceRegistry *SourceRegistryCredentials `json:"sourceRegistry,omitempty"` }
Credentials - The parameters that describes a set of credentials that will be used when a run is invoked.
func (Credentials) MarshalJSON ¶
func (c Credentials) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type Credentials.
type CustomRegistryCredentials ¶
type CustomRegistryCredentials struct { // 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"` // 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"` // The username for logging into the custom registry. UserName *SecretObject `json:"userName,omitempty"` }
CustomRegistryCredentials - Describes the credentials that will be used to access a custom registry during a run.
type DefaultAction ¶
type DefaultAction string
DefaultAction - The default action of allow or deny when no other rules match.
const ( DefaultActionAllow DefaultAction = "Allow" DefaultActionDeny DefaultAction = "Deny" )
func PossibleDefaultActionValues ¶
func PossibleDefaultActionValues() []DefaultAction
PossibleDefaultActionValues returns the possible values for the DefaultAction const type.
func (DefaultAction) ToPtr ¶
func (c DefaultAction) ToPtr() *DefaultAction
ToPtr returns a *DefaultAction pointing to the current value.
type DockerBuildRequest ¶
type DockerBuildRequest struct { RunRequest // REQUIRED; The Docker file path relative to the source location. DockerFilePath *string `json:"dockerFilePath,omitempty"` // REQUIRED; The platform properties against which the run has to happen. Platform *PlatformProperties `json:"platform,omitempty"` // The machine configuration of the run agent. AgentConfiguration *AgentProperties `json:"agentConfiguration,omitempty"` // The collection of override arguments to be used when executing the run. Arguments []*Argument `json:"arguments,omitempty"` // The properties that describes a set of credentials that will be used when this run is invoked. Credentials *Credentials `json:"credentials,omitempty"` // The fully qualified image names including the repository and tag. ImageNames []*string `json:"imageNames,omitempty"` // The value of this property indicates whether the image built should be pushed to the registry or not. IsPushEnabled *bool `json:"isPushEnabled,omitempty"` // The value of this property indicates whether the image cache is enabled or not. NoCache *bool `json:"noCache,omitempty"` // 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"` // The name of the target build stage for the docker build. Target *string `json:"target,omitempty"` // Run timeout in seconds. Timeout *int32 `json:"timeout,omitempty"` }
DockerBuildRequest - The parameters for a docker quick build.
func (DockerBuildRequest) MarshalJSON ¶
func (d DockerBuildRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DockerBuildRequest.
func (*DockerBuildRequest) UnmarshalJSON ¶
func (d *DockerBuildRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DockerBuildRequest.
type DockerBuildStep ¶
type DockerBuildStep struct { TaskStepProperties // REQUIRED; The Docker file path relative to the source context. DockerFilePath *string `json:"dockerFilePath,omitempty"` // The collection of override arguments to be used when executing this build step. Arguments []*Argument `json:"arguments,omitempty"` // The fully qualified image names including the repository and tag. ImageNames []*string `json:"imageNames,omitempty"` // The value of this property indicates whether the image built should be pushed to the registry or not. IsPushEnabled *bool `json:"isPushEnabled,omitempty"` // The value of this property indicates whether the image cache is enabled or not. NoCache *bool `json:"noCache,omitempty"` // The name of the target build stage for the docker build. Target *string `json:"target,omitempty"` }
DockerBuildStep - The Docker build step.
func (DockerBuildStep) MarshalJSON ¶
func (d DockerBuildStep) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DockerBuildStep.
func (*DockerBuildStep) UnmarshalJSON ¶
func (d *DockerBuildStep) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DockerBuildStep.
type DockerBuildStepUpdateParameters ¶
type DockerBuildStepUpdateParameters struct { TaskStepUpdateParameters // The collection of override arguments to be used when executing this build step. Arguments []*Argument `json:"arguments,omitempty"` // The Docker file path relative to the source context. DockerFilePath *string `json:"dockerFilePath,omitempty"` // The fully qualified image names including the repository and tag. ImageNames []*string `json:"imageNames,omitempty"` // The value of this property indicates whether the image built should be pushed to the registry or not. IsPushEnabled *bool `json:"isPushEnabled,omitempty"` // The value of this property indicates whether the image cache is enabled or not. NoCache *bool `json:"noCache,omitempty"` // The name of the target build stage for the docker build. Target *string `json:"target,omitempty"` }
DockerBuildStepUpdateParameters - The properties for updating a docker build step.
func (DockerBuildStepUpdateParameters) MarshalJSON ¶
func (d DockerBuildStepUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type DockerBuildStepUpdateParameters.
func (*DockerBuildStepUpdateParameters) UnmarshalJSON ¶
func (d *DockerBuildStepUpdateParameters) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type DockerBuildStepUpdateParameters.
type EncodedTaskRunRequest ¶
type EncodedTaskRunRequest struct { RunRequest // REQUIRED; Base64 encoded value of the template/definition file content. EncodedTaskContent *string `json:"encodedTaskContent,omitempty"` // REQUIRED; The platform properties against which the run has to happen. Platform *PlatformProperties `json:"platform,omitempty"` // The machine configuration of the run agent. AgentConfiguration *AgentProperties `json:"agentConfiguration,omitempty"` // The properties that describes a set of credentials that will be used when this run is invoked. Credentials *Credentials `json:"credentials,omitempty"` // Base64 encoded value of the parameters/values file content. EncodedValuesContent *string `json:"encodedValuesContent,omitempty"` // 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"` // Run timeout in seconds. Timeout *int32 `json:"timeout,omitempty"` // The collection of overridable values that can be passed when running a task. Values []*SetValue `json:"values,omitempty"` }
EncodedTaskRunRequest - The parameters for a quick task run request.
func (EncodedTaskRunRequest) MarshalJSON ¶
func (e EncodedTaskRunRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type EncodedTaskRunRequest.
func (*EncodedTaskRunRequest) UnmarshalJSON ¶
func (e *EncodedTaskRunRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type EncodedTaskRunRequest.
type EncodedTaskStep ¶
type EncodedTaskStep struct { TaskStepProperties // REQUIRED; Base64 encoded value of the template/definition file content. EncodedTaskContent *string `json:"encodedTaskContent,omitempty"` // Base64 encoded value of the parameters/values file content. EncodedValuesContent *string `json:"encodedValuesContent,omitempty"` // The collection of overridable values that can be passed when running a task. Values []*SetValue `json:"values,omitempty"` }
EncodedTaskStep - The properties of a encoded task step.
func (EncodedTaskStep) MarshalJSON ¶
func (e EncodedTaskStep) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type EncodedTaskStep.
func (*EncodedTaskStep) UnmarshalJSON ¶
func (e *EncodedTaskStep) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type EncodedTaskStep.
type EncodedTaskStepUpdateParameters ¶
type EncodedTaskStepUpdateParameters struct { TaskStepUpdateParameters // Base64 encoded value of the template/definition file content. EncodedTaskContent *string `json:"encodedTaskContent,omitempty"` // Base64 encoded value of the parameters/values file content. EncodedValuesContent *string `json:"encodedValuesContent,omitempty"` // The collection of overridable values that can be passed when running a task. Values []*SetValue `json:"values,omitempty"` }
EncodedTaskStepUpdateParameters - The properties for updating encoded task step.
func (EncodedTaskStepUpdateParameters) MarshalJSON ¶
func (e EncodedTaskStepUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type EncodedTaskStepUpdateParameters.
func (*EncodedTaskStepUpdateParameters) UnmarshalJSON ¶
func (e *EncodedTaskStepUpdateParameters) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type EncodedTaskStepUpdateParameters.
type EncryptionProperty ¶
type EncryptionProperty struct { // Key vault properties. KeyVaultProperties *KeyVaultProperties `json:"keyVaultProperties,omitempty"` // Indicates whether or not the encryption is enabled for container registry. Status *EncryptionStatus `json:"status,omitempty"` }
type EncryptionStatus ¶
type EncryptionStatus string
EncryptionStatus - Indicates whether or not the encryption is enabled for container registry.
const ( EncryptionStatusDisabled EncryptionStatus = "disabled" EncryptionStatusEnabled EncryptionStatus = "enabled" )
func PossibleEncryptionStatusValues ¶
func PossibleEncryptionStatusValues() []EncryptionStatus
PossibleEncryptionStatusValues returns the possible values for the EncryptionStatus const type.
func (EncryptionStatus) ToPtr ¶
func (c EncryptionStatus) ToPtr() *EncryptionStatus
ToPtr returns a *EncryptionStatus pointing to the current value.
type ErrorResponse ¶
type ErrorResponse struct { // Azure container registry build API error body. InnerError *ErrorResponseBody `json:"error,omitempty"` // contains filtered or unexported fields }
ErrorResponse - An error response from the Azure Container Registry service. Implements the error and azcore.HTTPResponse interfaces.
func (ErrorResponse) Error ¶
func (e ErrorResponse) Error() string
Error implements the error interface for type ErrorResponse. The contents of the error text are not contractual and subject to change.
type ErrorResponseBody ¶
type ErrorResponseBody struct { // REQUIRED; error code. Code *string `json:"code,omitempty"` // REQUIRED; error message. Message *string `json:"message,omitempty"` // an array of additional nested error response info objects, as described by this contract. Details *InnerErrorDescription `json:"details,omitempty"` // target of the particular error. Target *string `json:"target,omitempty"` }
ErrorResponseBody - An error response from the Azure Container Registry service.
type Event ¶
type Event struct { EventInfo // The event request message sent to the service URI. EventRequestMessage *EventRequestMessage `json:"eventRequestMessage,omitempty"` // The event response message received from the service URI. EventResponseMessage *EventResponseMessage `json:"eventResponseMessage,omitempty"` }
Event - The event for a webhook.
type EventContent ¶
type EventContent struct { // The action that encompasses the provided event. Action *string `json:"action,omitempty"` // The agent that initiated the event. For most situations, this could be from the authorization context of the request. Actor *Actor `json:"actor,omitempty"` // The event ID. ID *string `json:"id,omitempty"` // The request that generated the event. Request *Request `json:"request,omitempty"` // The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it. Source *Source `json:"source,omitempty"` // The target of the event. Target *Target `json:"target,omitempty"` // The time at which the event occurred. Timestamp *time.Time `json:"timestamp,omitempty"` }
EventContent - The content of the event request message.
func (EventContent) MarshalJSON ¶
func (e EventContent) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type EventContent.
func (*EventContent) UnmarshalJSON ¶
func (e *EventContent) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type EventContent.
type EventInfo ¶
type EventInfo struct { // The event ID. ID *string `json:"id,omitempty"` }
EventInfo - The basic information of an event.
type EventListResult ¶
type EventListResult struct { // The URI that can be used to request the next list of events. NextLink *string `json:"nextLink,omitempty"` // 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"` }
EventListResult - The result of a request to list events for a webhook.
func (EventListResult) MarshalJSON ¶
func (e EventListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type EventListResult.
type EventRequestMessage ¶
type EventRequestMessage struct { // The content of the event request message. Content *EventContent `json:"content,omitempty"` // The headers of the event request message. Headers map[string]*string `json:"headers,omitempty"` // The HTTP method used to send the event request message. Method *string `json:"method,omitempty"` // The URI used to send the event request message. RequestURI *string `json:"requestUri,omitempty"` // The HTTP message version. Version *string `json:"version,omitempty"` }
EventRequestMessage - The event request message sent to the service URI.
func (EventRequestMessage) MarshalJSON ¶
func (e EventRequestMessage) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type EventRequestMessage.
type EventResponseMessage ¶
type EventResponseMessage struct { // The content of the event response message. Content *string `json:"content,omitempty"` // The headers of the event response message. Headers map[string]*string `json:"headers,omitempty"` // The reason phrase of the event response message. ReasonPhrase *string `json:"reasonPhrase,omitempty"` // The status code of the event response message. StatusCode *string `json:"statusCode,omitempty"` // The HTTP message version. Version *string `json:"version,omitempty"` }
EventResponseMessage - The event response message received from the service URI.
func (EventResponseMessage) MarshalJSON ¶
func (e EventResponseMessage) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type EventResponseMessage.
type ExportPipeline ¶
type ExportPipeline struct { ProxyResource // The identity of the export pipeline. Identity *IdentityProperties `json:"identity,omitempty"` // The location of the export pipeline. Location *string `json:"location,omitempty"` // The properties of the export pipeline. Properties *ExportPipelineProperties `json:"properties,omitempty"` }
ExportPipeline - An object that represents an export pipeline for a container registry.
type ExportPipelineListResult ¶
type ExportPipelineListResult struct { // The URI that can be used to request the next list of pipeline runs. NextLink *string `json:"nextLink,omitempty"` // 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"` }
ExportPipelineListResult - The result of a request to list export pipelines for a container registry.
func (ExportPipelineListResult) MarshalJSON ¶
func (e ExportPipelineListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ExportPipelineListResult.
type ExportPipelineProperties ¶
type ExportPipelineProperties struct { // REQUIRED; The target properties of the export pipeline. Target *ExportPipelineTargetProperties `json:"target,omitempty"` // The list of all options configured for the pipeline. Options []*PipelineOptions `json:"options,omitempty"` // READ-ONLY; The provisioning state of the pipeline at the time the operation was called. ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` }
ExportPipelineProperties - The properties of an export pipeline.
func (ExportPipelineProperties) MarshalJSON ¶
func (e ExportPipelineProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ExportPipelineProperties.
type ExportPipelineTargetProperties ¶
type ExportPipelineTargetProperties struct { // REQUIRED; They key vault secret uri to obtain the target storage SAS token. KeyVaultURI *string `json:"keyVaultUri,omitempty"` // The type of target for the export pipeline. Type *string `json:"type,omitempty"` // 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"` }
ExportPipelineTargetProperties - The properties of the export pipeline target.
type ExportPipelinesBeginCreateOptions ¶
type ExportPipelinesBeginCreateOptions struct { }
ExportPipelinesBeginCreateOptions contains the optional parameters for the ExportPipelines.BeginCreate method.
type ExportPipelinesBeginDeleteOptions ¶
type ExportPipelinesBeginDeleteOptions struct { }
ExportPipelinesBeginDeleteOptions contains the optional parameters for the ExportPipelines.BeginDelete method.
type ExportPipelinesClient ¶
type ExportPipelinesClient struct {
// contains filtered or unexported fields
}
ExportPipelinesClient contains the methods for the ExportPipelines group. Don't use this type directly, use NewExportPipelinesClient() instead.
func NewExportPipelinesClient ¶
func NewExportPipelinesClient(con *arm.Connection, subscriptionID string) *ExportPipelinesClient
NewExportPipelinesClient creates a new instance of ExportPipelinesClient with the specified values.
func (*ExportPipelinesClient) BeginCreate ¶
func (client *ExportPipelinesClient) BeginCreate(ctx context.Context, resourceGroupName string, registryName string, exportPipelineName string, exportPipelineCreateParameters ExportPipeline, options *ExportPipelinesBeginCreateOptions) (ExportPipelinesCreatePollerResponse, error)
BeginCreate - Creates an export pipeline for a container registry with the specified parameters. If the operation fails it returns a generic error.
func (*ExportPipelinesClient) BeginDelete ¶
func (client *ExportPipelinesClient) BeginDelete(ctx context.Context, resourceGroupName string, registryName string, exportPipelineName string, options *ExportPipelinesBeginDeleteOptions) (ExportPipelinesDeletePollerResponse, error)
BeginDelete - Deletes an export pipeline from a container registry. If the operation fails it returns a generic error.
func (*ExportPipelinesClient) Get ¶
func (client *ExportPipelinesClient) Get(ctx context.Context, resourceGroupName string, registryName string, exportPipelineName string, options *ExportPipelinesGetOptions) (ExportPipelinesGetResponse, error)
Get - Gets the properties of the export pipeline. If the operation fails it returns a generic error.
func (*ExportPipelinesClient) List ¶
func (client *ExportPipelinesClient) List(resourceGroupName string, registryName string, options *ExportPipelinesListOptions) *ExportPipelinesListPager
List - Lists all export pipelines for the specified container registry. If the operation fails it returns a generic error.
type ExportPipelinesCreatePoller ¶
type ExportPipelinesCreatePoller struct {
// contains filtered or unexported fields
}
ExportPipelinesCreatePoller provides polling facilities until the operation reaches a terminal state.
func (*ExportPipelinesCreatePoller) Done ¶
func (p *ExportPipelinesCreatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*ExportPipelinesCreatePoller) FinalResponse ¶
func (p *ExportPipelinesCreatePoller) FinalResponse(ctx context.Context) (ExportPipelinesCreateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ExportPipelinesCreateResponse will be returned.
func (*ExportPipelinesCreatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*ExportPipelinesCreatePoller) ResumeToken ¶
func (p *ExportPipelinesCreatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type ExportPipelinesCreatePollerResponse ¶
type ExportPipelinesCreatePollerResponse struct { // Poller contains an initialized poller. Poller *ExportPipelinesCreatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ExportPipelinesCreatePollerResponse contains the response from method ExportPipelines.Create.
func (ExportPipelinesCreatePollerResponse) PollUntilDone ¶
func (l ExportPipelinesCreatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (ExportPipelinesCreateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.
func (*ExportPipelinesCreatePollerResponse) Resume ¶
func (l *ExportPipelinesCreatePollerResponse) Resume(ctx context.Context, client *ExportPipelinesClient, token string) error
Resume rehydrates a ExportPipelinesCreatePollerResponse from the provided client and resume token.
type ExportPipelinesCreateResponse ¶
type ExportPipelinesCreateResponse struct { ExportPipelinesCreateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ExportPipelinesCreateResponse contains the response from method ExportPipelines.Create.
type ExportPipelinesCreateResult ¶
type ExportPipelinesCreateResult struct {
ExportPipeline
}
ExportPipelinesCreateResult contains the result from method ExportPipelines.Create.
type ExportPipelinesDeletePoller ¶
type ExportPipelinesDeletePoller struct {
// contains filtered or unexported fields
}
ExportPipelinesDeletePoller provides polling facilities until the operation reaches a terminal state.
func (*ExportPipelinesDeletePoller) Done ¶
func (p *ExportPipelinesDeletePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*ExportPipelinesDeletePoller) FinalResponse ¶
func (p *ExportPipelinesDeletePoller) FinalResponse(ctx context.Context) (ExportPipelinesDeleteResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ExportPipelinesDeleteResponse will be returned.
func (*ExportPipelinesDeletePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*ExportPipelinesDeletePoller) ResumeToken ¶
func (p *ExportPipelinesDeletePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type ExportPipelinesDeletePollerResponse ¶
type ExportPipelinesDeletePollerResponse struct { // Poller contains an initialized poller. Poller *ExportPipelinesDeletePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ExportPipelinesDeletePollerResponse contains the response from method ExportPipelines.Delete.
func (ExportPipelinesDeletePollerResponse) PollUntilDone ¶
func (l ExportPipelinesDeletePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (ExportPipelinesDeleteResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.
func (*ExportPipelinesDeletePollerResponse) Resume ¶
func (l *ExportPipelinesDeletePollerResponse) Resume(ctx context.Context, client *ExportPipelinesClient, token string) error
Resume rehydrates a ExportPipelinesDeletePollerResponse from the provided client and resume token.
type ExportPipelinesDeleteResponse ¶
type ExportPipelinesDeleteResponse struct { // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ExportPipelinesDeleteResponse contains the response from method ExportPipelines.Delete.
type ExportPipelinesGetOptions ¶
type ExportPipelinesGetOptions struct { }
ExportPipelinesGetOptions contains the optional parameters for the ExportPipelines.Get method.
type ExportPipelinesGetResponse ¶
type ExportPipelinesGetResponse struct { ExportPipelinesGetResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ExportPipelinesGetResponse contains the response from method ExportPipelines.Get.
type ExportPipelinesGetResult ¶
type ExportPipelinesGetResult struct {
ExportPipeline
}
ExportPipelinesGetResult contains the result from method ExportPipelines.Get.
type ExportPipelinesListOptions ¶
type ExportPipelinesListOptions struct { }
ExportPipelinesListOptions contains the optional parameters for the ExportPipelines.List method.
type ExportPipelinesListPager ¶
type ExportPipelinesListPager struct {
// contains filtered or unexported fields
}
ExportPipelinesListPager provides operations for iterating over paged responses.
func (*ExportPipelinesListPager) Err ¶
func (p *ExportPipelinesListPager) Err() error
Err returns the last error encountered while paging.
func (*ExportPipelinesListPager) NextPage ¶
func (p *ExportPipelinesListPager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*ExportPipelinesListPager) PageResponse ¶
func (p *ExportPipelinesListPager) PageResponse() ExportPipelinesListResponse
PageResponse returns the current ExportPipelinesListResponse page.
type ExportPipelinesListResponse ¶
type ExportPipelinesListResponse struct { ExportPipelinesListResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ExportPipelinesListResponse contains the response from method ExportPipelines.List.
type ExportPipelinesListResult ¶
type ExportPipelinesListResult struct {
ExportPipelineListResult
}
ExportPipelinesListResult contains the result from method ExportPipelines.List.
type ExportPolicy ¶
type ExportPolicy struct { // The value that indicates whether the policy is enabled or not. Status *ExportPolicyStatus `json:"status,omitempty"` }
ExportPolicy - The export policy for a container registry.
type ExportPolicyStatus ¶
type ExportPolicyStatus string
ExportPolicyStatus - The value that indicates whether the policy is enabled or not.
const ( ExportPolicyStatusDisabled ExportPolicyStatus = "disabled" ExportPolicyStatusEnabled ExportPolicyStatus = "enabled" )
func PossibleExportPolicyStatusValues ¶
func PossibleExportPolicyStatusValues() []ExportPolicyStatus
PossibleExportPolicyStatusValues returns the possible values for the ExportPolicyStatus const type.
func (ExportPolicyStatus) ToPtr ¶
func (c ExportPolicyStatus) ToPtr() *ExportPolicyStatus
ToPtr returns a *ExportPolicyStatus pointing to the current value.
type FileTaskRunRequest ¶
type FileTaskRunRequest struct { RunRequest // REQUIRED; The platform properties against which the run has to happen. Platform *PlatformProperties `json:"platform,omitempty"` // REQUIRED; The template/definition file path relative to the source. TaskFilePath *string `json:"taskFilePath,omitempty"` // The machine configuration of the run agent. AgentConfiguration *AgentProperties `json:"agentConfiguration,omitempty"` // The properties that describes a set of credentials that will be used when this run is invoked. Credentials *Credentials `json:"credentials,omitempty"` // 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"` // Run timeout in seconds. Timeout *int32 `json:"timeout,omitempty"` // The collection of overridable values that can be passed when running a task. Values []*SetValue `json:"values,omitempty"` // The values/parameters file path relative to the source. ValuesFilePath *string `json:"valuesFilePath,omitempty"` }
FileTaskRunRequest - The request parameters for a scheduling run against a task file.
func (FileTaskRunRequest) MarshalJSON ¶
func (f FileTaskRunRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type FileTaskRunRequest.
func (*FileTaskRunRequest) UnmarshalJSON ¶
func (f *FileTaskRunRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type FileTaskRunRequest.
type FileTaskStep ¶
type FileTaskStep struct { TaskStepProperties // REQUIRED; The task template/definition file path relative to the source context. TaskFilePath *string `json:"taskFilePath,omitempty"` // The collection of overridable values that can be passed when running a task. Values []*SetValue `json:"values,omitempty"` // The task values/parameters file path relative to the source context. ValuesFilePath *string `json:"valuesFilePath,omitempty"` }
FileTaskStep - The properties of a task step.
func (FileTaskStep) MarshalJSON ¶
func (f FileTaskStep) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type FileTaskStep.
func (*FileTaskStep) UnmarshalJSON ¶
func (f *FileTaskStep) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type FileTaskStep.
type FileTaskStepUpdateParameters ¶
type FileTaskStepUpdateParameters struct { TaskStepUpdateParameters // The task template/definition file path relative to the source context. TaskFilePath *string `json:"taskFilePath,omitempty"` // The collection of overridable values that can be passed when running a task. Values []*SetValue `json:"values,omitempty"` // The values/parameters file path relative to the source context. ValuesFilePath *string `json:"valuesFilePath,omitempty"` }
FileTaskStepUpdateParameters - The properties of updating a task step.
func (FileTaskStepUpdateParameters) MarshalJSON ¶
func (f FileTaskStepUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type FileTaskStepUpdateParameters.
func (*FileTaskStepUpdateParameters) UnmarshalJSON ¶
func (f *FileTaskStepUpdateParameters) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type FileTaskStepUpdateParameters.
type GenerateCredentialsParameters ¶
type GenerateCredentialsParameters struct { // The expiry date of the generated credentials after which the credentials become invalid. Expiry *time.Time `json:"expiry,omitempty"` // Specifies name of the password which should be regenerated if any -- password1 or password2. Name *TokenPasswordName `json:"name,omitempty"` // The resource ID of the token for which credentials have to be generated. TokenID *string `json:"tokenId,omitempty"` }
GenerateCredentialsParameters - The parameters used to generate credentials for a specified token or user of a container registry.
func (GenerateCredentialsParameters) MarshalJSON ¶
func (g GenerateCredentialsParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type GenerateCredentialsParameters.
func (*GenerateCredentialsParameters) UnmarshalJSON ¶
func (g *GenerateCredentialsParameters) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type GenerateCredentialsParameters.
type GenerateCredentialsResult ¶
type GenerateCredentialsResult struct { // The list of passwords for a container registry. Passwords []*TokenPassword `json:"passwords,omitempty"` // The username for a container registry. Username *string `json:"username,omitempty"` }
GenerateCredentialsResult - The response from the GenerateCredentials operation.
func (GenerateCredentialsResult) MarshalJSON ¶
func (g GenerateCredentialsResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type GenerateCredentialsResult.
type IPRule ¶
type IPRule struct { // REQUIRED; Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed. IPAddressOrRange *string `json:"value,omitempty"` // The action of IP ACL rule. Action *Action `json:"action,omitempty"` }
IPRule - IP rule with specific IP or IP range in CIDR format.
type IdentityProperties ¶
type IdentityProperties struct { // The principal ID of resource identity. PrincipalID *string `json:"principalId,omitempty"` // The tenant ID of resource. TenantID *string `json:"tenantId,omitempty"` // The identity type. Type *ResourceIdentityType `json:"type,omitempty"` // 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,omitempty"` }
IdentityProperties - Managed identity for the resource.
func (IdentityProperties) MarshalJSON ¶
func (i IdentityProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type IdentityProperties.
type ImageDescriptor ¶
type ImageDescriptor struct { // The sha256-based digest of the image manifest. Digest *string `json:"digest,omitempty"` // The registry login server. Registry *string `json:"registry,omitempty"` // The repository name. Repository *string `json:"repository,omitempty"` // The tag name. Tag *string `json:"tag,omitempty"` }
ImageDescriptor - Properties for a registry image.
type ImageUpdateTrigger ¶
type ImageUpdateTrigger struct { // The unique ID of the trigger. ID *string `json:"id,omitempty"` // The list of image updates that caused the build. Images []*ImageDescriptor `json:"images,omitempty"` // The timestamp when the image update happened. Timestamp *time.Time `json:"timestamp,omitempty"` }
ImageUpdateTrigger - The image update trigger that caused a build.
func (ImageUpdateTrigger) MarshalJSON ¶
func (i ImageUpdateTrigger) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ImageUpdateTrigger.
func (*ImageUpdateTrigger) UnmarshalJSON ¶
func (i *ImageUpdateTrigger) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ImageUpdateTrigger.
type ImportImageParameters ¶
type ImportImageParameters struct { // REQUIRED; The source of the image. Source *ImportSource `json:"source,omitempty"` // When Force, any existing target tags will be overwritten. When NoForce, any existing target tags will fail the operation before any copying begins. Mode *ImportMode `json:"mode,omitempty"` // 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"` // List of strings of repository names to do a manifest only copy. No tag will be created. UntaggedTargetRepositories []*string `json:"untaggedTargetRepositories,omitempty"` }
func (ImportImageParameters) MarshalJSON ¶
func (i ImportImageParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ImportImageParameters.
type ImportMode ¶
type ImportMode string
ImportMode - When Force, any existing target tags will be overwritten. When NoForce, any existing target tags will fail the operation before any copying begins.
const ( ImportModeForce ImportMode = "Force" ImportModeNoForce ImportMode = "NoForce" )
func PossibleImportModeValues ¶
func PossibleImportModeValues() []ImportMode
PossibleImportModeValues returns the possible values for the ImportMode const type.
func (ImportMode) ToPtr ¶
func (c ImportMode) ToPtr() *ImportMode
ToPtr returns a *ImportMode pointing to the current value.
type ImportPipeline ¶
type ImportPipeline struct { ProxyResource // The identity of the import pipeline. Identity *IdentityProperties `json:"identity,omitempty"` // The location of the import pipeline. Location *string `json:"location,omitempty"` // The properties of the import pipeline. Properties *ImportPipelineProperties `json:"properties,omitempty"` }
ImportPipeline - An object that represents an import pipeline for a container registry.
type ImportPipelineListResult ¶
type ImportPipelineListResult struct { // The URI that can be used to request the next list of pipeline runs. NextLink *string `json:"nextLink,omitempty"` // 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"` }
ImportPipelineListResult - The result of a request to list import pipelines for a container registry.
func (ImportPipelineListResult) MarshalJSON ¶
func (i ImportPipelineListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ImportPipelineListResult.
type ImportPipelineProperties ¶
type ImportPipelineProperties struct { // REQUIRED; The source properties of the import pipeline. Source *ImportPipelineSourceProperties `json:"source,omitempty"` // The list of all options configured for the pipeline. Options []*PipelineOptions `json:"options,omitempty"` // The properties that describe the trigger of the import pipeline. Trigger *PipelineTriggerProperties `json:"trigger,omitempty"` // READ-ONLY; The provisioning state of the pipeline at the time the operation was called. ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` }
ImportPipelineProperties - The properties of an import pipeline.
func (ImportPipelineProperties) MarshalJSON ¶
func (i ImportPipelineProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ImportPipelineProperties.
type ImportPipelineSourceProperties ¶
type ImportPipelineSourceProperties struct { // REQUIRED; They key vault secret uri to obtain the source storage SAS token. KeyVaultURI *string `json:"keyVaultUri,omitempty"` // The type of source for the import pipeline. Type *PipelineSourceType `json:"type,omitempty"` // 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"` }
ImportPipelineSourceProperties - The properties of the import pipeline source.
type ImportPipelinesBeginCreateOptions ¶
type ImportPipelinesBeginCreateOptions struct { }
ImportPipelinesBeginCreateOptions contains the optional parameters for the ImportPipelines.BeginCreate method.
type ImportPipelinesBeginDeleteOptions ¶
type ImportPipelinesBeginDeleteOptions struct { }
ImportPipelinesBeginDeleteOptions contains the optional parameters for the ImportPipelines.BeginDelete method.
type ImportPipelinesClient ¶
type ImportPipelinesClient struct {
// contains filtered or unexported fields
}
ImportPipelinesClient contains the methods for the ImportPipelines group. Don't use this type directly, use NewImportPipelinesClient() instead.
func NewImportPipelinesClient ¶
func NewImportPipelinesClient(con *arm.Connection, subscriptionID string) *ImportPipelinesClient
NewImportPipelinesClient creates a new instance of ImportPipelinesClient with the specified values.
func (*ImportPipelinesClient) BeginCreate ¶
func (client *ImportPipelinesClient) BeginCreate(ctx context.Context, resourceGroupName string, registryName string, importPipelineName string, importPipelineCreateParameters ImportPipeline, options *ImportPipelinesBeginCreateOptions) (ImportPipelinesCreatePollerResponse, error)
BeginCreate - Creates an import pipeline for a container registry with the specified parameters. If the operation fails it returns a generic error.
func (*ImportPipelinesClient) BeginDelete ¶
func (client *ImportPipelinesClient) BeginDelete(ctx context.Context, resourceGroupName string, registryName string, importPipelineName string, options *ImportPipelinesBeginDeleteOptions) (ImportPipelinesDeletePollerResponse, error)
BeginDelete - Deletes an import pipeline from a container registry. If the operation fails it returns a generic error.
func (*ImportPipelinesClient) Get ¶
func (client *ImportPipelinesClient) Get(ctx context.Context, resourceGroupName string, registryName string, importPipelineName string, options *ImportPipelinesGetOptions) (ImportPipelinesGetResponse, error)
Get - Gets the properties of the import pipeline. If the operation fails it returns a generic error.
func (*ImportPipelinesClient) List ¶
func (client *ImportPipelinesClient) List(resourceGroupName string, registryName string, options *ImportPipelinesListOptions) *ImportPipelinesListPager
List - Lists all import pipelines for the specified container registry. If the operation fails it returns a generic error.
type ImportPipelinesCreatePoller ¶
type ImportPipelinesCreatePoller struct {
// contains filtered or unexported fields
}
ImportPipelinesCreatePoller provides polling facilities until the operation reaches a terminal state.
func (*ImportPipelinesCreatePoller) Done ¶
func (p *ImportPipelinesCreatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*ImportPipelinesCreatePoller) FinalResponse ¶
func (p *ImportPipelinesCreatePoller) FinalResponse(ctx context.Context) (ImportPipelinesCreateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ImportPipelinesCreateResponse will be returned.
func (*ImportPipelinesCreatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*ImportPipelinesCreatePoller) ResumeToken ¶
func (p *ImportPipelinesCreatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type ImportPipelinesCreatePollerResponse ¶
type ImportPipelinesCreatePollerResponse struct { // Poller contains an initialized poller. Poller *ImportPipelinesCreatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ImportPipelinesCreatePollerResponse contains the response from method ImportPipelines.Create.
func (ImportPipelinesCreatePollerResponse) PollUntilDone ¶
func (l ImportPipelinesCreatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (ImportPipelinesCreateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.
func (*ImportPipelinesCreatePollerResponse) Resume ¶
func (l *ImportPipelinesCreatePollerResponse) Resume(ctx context.Context, client *ImportPipelinesClient, token string) error
Resume rehydrates a ImportPipelinesCreatePollerResponse from the provided client and resume token.
type ImportPipelinesCreateResponse ¶
type ImportPipelinesCreateResponse struct { ImportPipelinesCreateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ImportPipelinesCreateResponse contains the response from method ImportPipelines.Create.
type ImportPipelinesCreateResult ¶
type ImportPipelinesCreateResult struct {
ImportPipeline
}
ImportPipelinesCreateResult contains the result from method ImportPipelines.Create.
type ImportPipelinesDeletePoller ¶
type ImportPipelinesDeletePoller struct {
// contains filtered or unexported fields
}
ImportPipelinesDeletePoller provides polling facilities until the operation reaches a terminal state.
func (*ImportPipelinesDeletePoller) Done ¶
func (p *ImportPipelinesDeletePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*ImportPipelinesDeletePoller) FinalResponse ¶
func (p *ImportPipelinesDeletePoller) FinalResponse(ctx context.Context) (ImportPipelinesDeleteResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ImportPipelinesDeleteResponse will be returned.
func (*ImportPipelinesDeletePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*ImportPipelinesDeletePoller) ResumeToken ¶
func (p *ImportPipelinesDeletePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type ImportPipelinesDeletePollerResponse ¶
type ImportPipelinesDeletePollerResponse struct { // Poller contains an initialized poller. Poller *ImportPipelinesDeletePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ImportPipelinesDeletePollerResponse contains the response from method ImportPipelines.Delete.
func (ImportPipelinesDeletePollerResponse) PollUntilDone ¶
func (l ImportPipelinesDeletePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (ImportPipelinesDeleteResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.
func (*ImportPipelinesDeletePollerResponse) Resume ¶
func (l *ImportPipelinesDeletePollerResponse) Resume(ctx context.Context, client *ImportPipelinesClient, token string) error
Resume rehydrates a ImportPipelinesDeletePollerResponse from the provided client and resume token.
type ImportPipelinesDeleteResponse ¶
type ImportPipelinesDeleteResponse struct { // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ImportPipelinesDeleteResponse contains the response from method ImportPipelines.Delete.
type ImportPipelinesGetOptions ¶
type ImportPipelinesGetOptions struct { }
ImportPipelinesGetOptions contains the optional parameters for the ImportPipelines.Get method.
type ImportPipelinesGetResponse ¶
type ImportPipelinesGetResponse struct { ImportPipelinesGetResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ImportPipelinesGetResponse contains the response from method ImportPipelines.Get.
type ImportPipelinesGetResult ¶
type ImportPipelinesGetResult struct {
ImportPipeline
}
ImportPipelinesGetResult contains the result from method ImportPipelines.Get.
type ImportPipelinesListOptions ¶
type ImportPipelinesListOptions struct { }
ImportPipelinesListOptions contains the optional parameters for the ImportPipelines.List method.
type ImportPipelinesListPager ¶
type ImportPipelinesListPager struct {
// contains filtered or unexported fields
}
ImportPipelinesListPager provides operations for iterating over paged responses.
func (*ImportPipelinesListPager) Err ¶
func (p *ImportPipelinesListPager) Err() error
Err returns the last error encountered while paging.
func (*ImportPipelinesListPager) NextPage ¶
func (p *ImportPipelinesListPager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*ImportPipelinesListPager) PageResponse ¶
func (p *ImportPipelinesListPager) PageResponse() ImportPipelinesListResponse
PageResponse returns the current ImportPipelinesListResponse page.
type ImportPipelinesListResponse ¶
type ImportPipelinesListResponse struct { ImportPipelinesListResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ImportPipelinesListResponse contains the response from method ImportPipelines.List.
type ImportPipelinesListResult ¶
type ImportPipelinesListResult struct {
ImportPipelineListResult
}
ImportPipelinesListResult contains the result from method ImportPipelines.List.
type ImportSource ¶
type ImportSource struct { // REQUIRED; 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"` // Credentials used when importing from a registry uri. Credentials *ImportSourceCredentials `json:"credentials,omitempty"` // The address of the source registry (e.g. 'mcr.microsoft.com'). RegistryURI *string `json:"registryUri,omitempty"` // The resource identifier of the source Azure Container Registry. ResourceID *string `json:"resourceId,omitempty"` }
type ImportSourceCredentials ¶
type InnerErrorDescription ¶
type InnerErrorDescription struct { // REQUIRED; error code. Code *string `json:"code,omitempty"` // REQUIRED; error message. Message *string `json:"message,omitempty"` // target of the particular error. Target *string `json:"target,omitempty"` }
InnerErrorDescription - inner error.
type KeyVaultProperties ¶
type KeyVaultProperties struct { // The client id of the identity which will be used to access key vault. Identity *string `json:"identity,omitempty"` // Key vault uri to access the encryption key. KeyIdentifier *string `json:"keyIdentifier,omitempty"` // READ-ONLY; Auto key rotation status for a CMK enabled registry. KeyRotationEnabled *bool `json:"keyRotationEnabled,omitempty" azure:"ro"` // READ-ONLY; Timestamp of the last successful key rotation. LastKeyRotationTimestamp *time.Time `json:"lastKeyRotationTimestamp,omitempty" azure:"ro"` // 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" azure:"ro"` }
func (KeyVaultProperties) MarshalJSON ¶
func (k KeyVaultProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type KeyVaultProperties.
func (*KeyVaultProperties) UnmarshalJSON ¶
func (k *KeyVaultProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type KeyVaultProperties.
type LastModifiedByType ¶
type LastModifiedByType string
LastModifiedByType - The type of identity that last modified the resource.
const ( LastModifiedByTypeApplication LastModifiedByType = "Application" LastModifiedByTypeKey LastModifiedByType = "Key" LastModifiedByTypeManagedIdentity LastModifiedByType = "ManagedIdentity" LastModifiedByTypeUser LastModifiedByType = "User" )
func PossibleLastModifiedByTypeValues ¶
func PossibleLastModifiedByTypeValues() []LastModifiedByType
PossibleLastModifiedByTypeValues returns the possible values for the LastModifiedByType const type.
func (LastModifiedByType) ToPtr ¶
func (c LastModifiedByType) ToPtr() *LastModifiedByType
ToPtr returns a *LastModifiedByType pointing to the current value.
type LogLevel ¶
type LogLevel string
LogLevel - The verbosity of logs persisted on the connected registry.
func PossibleLogLevelValues ¶
func PossibleLogLevelValues() []LogLevel
PossibleLogLevelValues returns the possible values for the LogLevel const type.
type LoggingProperties ¶
type LoggingProperties struct { // Indicates whether audit logs are enabled on the connected registry. AuditLogStatus *AuditLogStatus `json:"auditLogStatus,omitempty"` // The verbosity of logs persisted on the connected registry. LogLevel *LogLevel `json:"logLevel,omitempty"` }
LoggingProperties - The logging properties of the connected registry.
type LoginServerProperties ¶
type LoginServerProperties struct { // READ-ONLY; The host of the connected registry. Can be FQDN or IP. Host *string `json:"host,omitempty" azure:"ro"` // READ-ONLY; The TLS properties of the connected registry login server. TLS *TLSProperties `json:"tls,omitempty" azure:"ro"` }
LoginServerProperties - The login server properties of the connected registry.
type NetworkRuleBypassOptions ¶
type NetworkRuleBypassOptions string
NetworkRuleBypassOptions - Whether to allow trusted Azure services to access a network restricted registry.
const ( NetworkRuleBypassOptionsAzureServices NetworkRuleBypassOptions = "AzureServices" NetworkRuleBypassOptionsNone NetworkRuleBypassOptions = "None" )
func PossibleNetworkRuleBypassOptionsValues ¶
func PossibleNetworkRuleBypassOptionsValues() []NetworkRuleBypassOptions
PossibleNetworkRuleBypassOptionsValues returns the possible values for the NetworkRuleBypassOptions const type.
func (NetworkRuleBypassOptions) ToPtr ¶
func (c NetworkRuleBypassOptions) ToPtr() *NetworkRuleBypassOptions
ToPtr returns a *NetworkRuleBypassOptions pointing to the current value.
type NetworkRuleSet ¶
type NetworkRuleSet struct { // REQUIRED; The default action of allow or deny when no other rules match. DefaultAction *DefaultAction `json:"defaultAction,omitempty"` // The IP ACL rules. IPRules []*IPRule `json:"ipRules,omitempty"` // The virtual network rules. VirtualNetworkRules []*VirtualNetworkRule `json:"virtualNetworkRules,omitempty"` }
NetworkRuleSet - The network rule set for a container registry.
func (NetworkRuleSet) MarshalJSON ¶
func (n NetworkRuleSet) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type NetworkRuleSet.
type OS ¶
type OS string
OS - The OS of agent machine
func PossibleOSValues ¶
func PossibleOSValues() []OS
PossibleOSValues returns the possible values for the OS const type.
type OperationDefinition ¶
type OperationDefinition struct { // The display information for the container registry operation. Display *OperationDisplayDefinition `json:"display,omitempty"` // This property indicates if the operation is an action or a data action ref: https://docs.microsoft.com/en-us/azure/role-based-access-control/role-definitions#management-and-data-operations IsDataAction *bool `json:"isDataAction,omitempty"` // Operation name: {provider}/{resource}/{operation}. Name *string `json:"name,omitempty"` // The origin information of the container registry operation. Origin *string `json:"origin,omitempty"` // The properties information for the container registry operation. Properties *OperationPropertiesDefinition `json:"properties,omitempty"` }
OperationDefinition - The definition of a container registry operation.
type OperationDisplayDefinition ¶
type OperationDisplayDefinition struct { // The description for the operation. Description *string `json:"description,omitempty"` // The operation that users can perform. Operation *string `json:"operation,omitempty"` // The resource provider name: Microsoft.ContainerRegistry. Provider *string `json:"provider,omitempty"` // The resource on which the operation is performed. Resource *string `json:"resource,omitempty"` }
OperationDisplayDefinition - The display information for a container registry operation.
type OperationListResult ¶
type OperationListResult struct { // The URI that can be used to request the next list of container registry operations. NextLink *string `json:"nextLink,omitempty"` // 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"` }
OperationListResult - The result of a request to list container registry operations.
func (OperationListResult) MarshalJSON ¶
func (o OperationListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type OperationListResult.
type OperationLogSpecificationDefinition ¶
type OperationLogSpecificationDefinition struct { // Log blob duration. BlobDuration *string `json:"blobDuration,omitempty"` // Log display name. DisplayName *string `json:"displayName,omitempty"` // Log name. Name *string `json:"name,omitempty"` }
OperationLogSpecificationDefinition - The definition of Azure Monitoring log.
type OperationMetricSpecificationDefinition ¶
type OperationMetricSpecificationDefinition struct { // Metric aggregation type. AggregationType *string `json:"aggregationType,omitempty"` // Metric description. DisplayDescription *string `json:"displayDescription,omitempty"` // Metric display name. DisplayName *string `json:"displayName,omitempty"` // Internal metric name. InternalMetricName *string `json:"internalMetricName,omitempty"` // Metric name. Name *string `json:"name,omitempty"` // Metric unit. Unit *string `json:"unit,omitempty"` }
OperationMetricSpecificationDefinition - The definition of Azure Monitoring metric.
type OperationPropertiesDefinition ¶
type OperationPropertiesDefinition struct { // The definition of Azure Monitoring service. ServiceSpecification *OperationServiceSpecificationDefinition `json:"serviceSpecification,omitempty"` }
OperationPropertiesDefinition - The definition of Azure Monitoring properties.
type OperationServiceSpecificationDefinition ¶
type OperationServiceSpecificationDefinition struct { // A list of Azure Monitoring log definitions. LogSpecifications []*OperationLogSpecificationDefinition `json:"logSpecifications,omitempty"` // A list of Azure Monitoring metrics definition. MetricSpecifications []*OperationMetricSpecificationDefinition `json:"metricSpecifications,omitempty"` }
OperationServiceSpecificationDefinition - The definition of Azure Monitoring list.
func (OperationServiceSpecificationDefinition) MarshalJSON ¶
func (o OperationServiceSpecificationDefinition) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type OperationServiceSpecificationDefinition.
type OperationsClient ¶
type OperationsClient struct {
// contains filtered or unexported fields
}
OperationsClient contains the methods for the Operations group. Don't use this type directly, use NewOperationsClient() instead.
func NewOperationsClient ¶
func NewOperationsClient(con *arm.Connection) *OperationsClient
NewOperationsClient creates a new instance of OperationsClient with the specified values.
func (*OperationsClient) List ¶
func (client *OperationsClient) List(options *OperationsListOptions) *OperationsListPager
List - Lists all of the available Azure Container Registry REST API operations. If the operation fails it returns a generic error.
type OperationsListOptions ¶
type OperationsListOptions struct { }
OperationsListOptions contains the optional parameters for the Operations.List method.
type OperationsListPager ¶
type OperationsListPager struct {
// contains filtered or unexported fields
}
OperationsListPager provides operations for iterating over paged responses.
func (*OperationsListPager) Err ¶
func (p *OperationsListPager) Err() error
Err returns the last error encountered while paging.
func (*OperationsListPager) NextPage ¶
func (p *OperationsListPager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*OperationsListPager) PageResponse ¶
func (p *OperationsListPager) PageResponse() OperationsListResponse
PageResponse returns the current OperationsListResponse page.
type OperationsListResponse ¶
type OperationsListResponse struct { OperationsListResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
OperationsListResponse contains the response from method Operations.List.
type OperationsListResult ¶
type OperationsListResult struct {
OperationListResult
}
OperationsListResult contains the result from method Operations.List.
type OverrideTaskStepProperties ¶
type OverrideTaskStepProperties struct { // Gets or sets the collection of override arguments to be used when executing a build step. Arguments []*Argument `json:"arguments,omitempty"` // The source context against which run has to be queued. ContextPath *string `json:"contextPath,omitempty"` // The file against which run has to be queued. File *string `json:"file,omitempty"` // The name of the target build stage for the docker build. Target *string `json:"target,omitempty"` // Base64 encoded update trigger token that will be attached with the base image trigger webhook. UpdateTriggerToken *string `json:"updateTriggerToken,omitempty"` // The collection of overridable values that can be passed when running a Task. Values []*SetValue `json:"values,omitempty"` }
func (OverrideTaskStepProperties) MarshalJSON ¶
func (o OverrideTaskStepProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type OverrideTaskStepProperties.
type ParentProperties ¶
type ParentProperties struct { // REQUIRED; The sync properties of the connected registry with its parent. SyncProperties *SyncProperties `json:"syncProperties,omitempty"` // The resource ID of the parent to which the connected registry will be associated. ID *string `json:"id,omitempty"` }
ParentProperties - The properties of the connected registry parent.
type PasswordName ¶
type PasswordName string
PasswordName - The password name.
const ( PasswordNamePassword PasswordName = "password" PasswordNamePassword2 PasswordName = "password2" )
func PossiblePasswordNameValues ¶
func PossiblePasswordNameValues() []PasswordName
PossiblePasswordNameValues returns the possible values for the PasswordName const type.
func (PasswordName) ToPtr ¶
func (c PasswordName) ToPtr() *PasswordName
ToPtr returns a *PasswordName pointing to the current value.
type PipelineOptions ¶
type PipelineOptions string
const ( PipelineOptionsContinueOnErrors PipelineOptions = "ContinueOnErrors" PipelineOptionsDeleteSourceBlobOnSuccess PipelineOptions = "DeleteSourceBlobOnSuccess" PipelineOptionsOverwriteBlobs PipelineOptions = "OverwriteBlobs" PipelineOptionsOverwriteTags PipelineOptions = "OverwriteTags" )
func PossiblePipelineOptionsValues ¶
func PossiblePipelineOptionsValues() []PipelineOptions
PossiblePipelineOptionsValues returns the possible values for the PipelineOptions const type.
func (PipelineOptions) ToPtr ¶
func (c PipelineOptions) ToPtr() *PipelineOptions
ToPtr returns a *PipelineOptions pointing to the current value.
type PipelineRun ¶
type PipelineRun struct { ProxyResource // The properties of a pipeline run. Properties *PipelineRunProperties `json:"properties,omitempty"` }
PipelineRun - An object that represents a pipeline run for a container registry.
type PipelineRunListResult ¶
type PipelineRunListResult struct { // The URI that can be used to request the next list of pipeline runs. NextLink *string `json:"nextLink,omitempty"` // 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"` }
PipelineRunListResult - The result of a request to list pipeline runs for a container registry.
func (PipelineRunListResult) MarshalJSON ¶
func (p PipelineRunListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type PipelineRunListResult.
type PipelineRunProperties ¶
type PipelineRunProperties struct { // How the pipeline run should be forced to recreate even if the pipeline run configuration has not changed. ForceUpdateTag *string `json:"forceUpdateTag,omitempty"` // The request parameters for a pipeline run. Request *PipelineRunRequest `json:"request,omitempty"` // READ-ONLY; The provisioning state of a pipeline run. ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` // READ-ONLY; The response of a pipeline run. Response *PipelineRunResponse `json:"response,omitempty" azure:"ro"` }
PipelineRunProperties - The properties of a pipeline run.
type PipelineRunRequest ¶
type PipelineRunRequest struct { // 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"` // The digest of the tar used to transfer the artifacts. CatalogDigest *string `json:"catalogDigest,omitempty"` // The resource ID of the pipeline to run. PipelineResourceID *string `json:"pipelineResourceId,omitempty"` // The source properties of the pipeline run. Source *PipelineRunSourceProperties `json:"source,omitempty"` // The target properties of the pipeline run. Target *PipelineRunTargetProperties `json:"target,omitempty"` }
PipelineRunRequest - The request properties provided for a pipeline run.
func (PipelineRunRequest) MarshalJSON ¶
func (p PipelineRunRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type PipelineRunRequest.
type PipelineRunResponse ¶
type PipelineRunResponse struct { // The digest of the tar used to transfer the artifacts. CatalogDigest *string `json:"catalogDigest,omitempty"` // The time the pipeline run finished. FinishTime *time.Time `json:"finishTime,omitempty"` // The artifacts imported in the pipeline run. ImportedArtifacts []*string `json:"importedArtifacts,omitempty"` // The detailed error message for the pipeline run in the case of failure. PipelineRunErrorMessage *string `json:"pipelineRunErrorMessage,omitempty"` // The current progress of the copy operation. Progress *ProgressProperties `json:"progress,omitempty"` // The source of the pipeline run. Source *ImportPipelineSourceProperties `json:"source,omitempty"` // The time the pipeline run started. StartTime *time.Time `json:"startTime,omitempty"` // The current status of the pipeline run. Status *string `json:"status,omitempty"` // The target of the pipeline run. Target *ExportPipelineTargetProperties `json:"target,omitempty"` // The trigger that caused the pipeline run. Trigger *PipelineTriggerDescriptor `json:"trigger,omitempty"` }
PipelineRunResponse - The response properties returned for a pipeline run.
func (PipelineRunResponse) MarshalJSON ¶
func (p PipelineRunResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type PipelineRunResponse.
func (*PipelineRunResponse) UnmarshalJSON ¶
func (p *PipelineRunResponse) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type PipelineRunResponse.
type PipelineRunSourceProperties ¶
type PipelineRunSourceProperties struct { // The name of the source. Name *string `json:"name,omitempty"` // The type of the source. Type *PipelineRunSourceType `json:"type,omitempty"` }
type PipelineRunSourceType ¶
type PipelineRunSourceType string
PipelineRunSourceType - The type of the source.
const (
PipelineRunSourceTypeAzureStorageBlob PipelineRunSourceType = "AzureStorageBlob"
)
func PossiblePipelineRunSourceTypeValues ¶
func PossiblePipelineRunSourceTypeValues() []PipelineRunSourceType
PossiblePipelineRunSourceTypeValues returns the possible values for the PipelineRunSourceType const type.
func (PipelineRunSourceType) ToPtr ¶
func (c PipelineRunSourceType) ToPtr() *PipelineRunSourceType
ToPtr returns a *PipelineRunSourceType pointing to the current value.
type PipelineRunTargetProperties ¶
type PipelineRunTargetProperties struct { // The name of the target. Name *string `json:"name,omitempty"` // The type of the target. Type *PipelineRunTargetType `json:"type,omitempty"` }
type PipelineRunTargetType ¶
type PipelineRunTargetType string
PipelineRunTargetType - The type of the target.
const (
PipelineRunTargetTypeAzureStorageBlob PipelineRunTargetType = "AzureStorageBlob"
)
func PossiblePipelineRunTargetTypeValues ¶
func PossiblePipelineRunTargetTypeValues() []PipelineRunTargetType
PossiblePipelineRunTargetTypeValues returns the possible values for the PipelineRunTargetType const type.
func (PipelineRunTargetType) ToPtr ¶
func (c PipelineRunTargetType) ToPtr() *PipelineRunTargetType
ToPtr returns a *PipelineRunTargetType pointing to the current value.
type PipelineRunsBeginCreateOptions ¶
type PipelineRunsBeginCreateOptions struct { }
PipelineRunsBeginCreateOptions contains the optional parameters for the PipelineRuns.BeginCreate method.
type PipelineRunsBeginDeleteOptions ¶
type PipelineRunsBeginDeleteOptions struct { }
PipelineRunsBeginDeleteOptions contains the optional parameters for the PipelineRuns.BeginDelete method.
type PipelineRunsClient ¶
type PipelineRunsClient struct {
// contains filtered or unexported fields
}
PipelineRunsClient contains the methods for the PipelineRuns group. Don't use this type directly, use NewPipelineRunsClient() instead.
func NewPipelineRunsClient ¶
func NewPipelineRunsClient(con *arm.Connection, subscriptionID string) *PipelineRunsClient
NewPipelineRunsClient creates a new instance of PipelineRunsClient with the specified values.
func (*PipelineRunsClient) BeginCreate ¶
func (client *PipelineRunsClient) BeginCreate(ctx context.Context, resourceGroupName string, registryName string, pipelineRunName string, pipelineRunCreateParameters PipelineRun, options *PipelineRunsBeginCreateOptions) (PipelineRunsCreatePollerResponse, error)
BeginCreate - Creates a pipeline run for a container registry with the specified parameters If the operation fails it returns a generic error.
func (*PipelineRunsClient) BeginDelete ¶
func (client *PipelineRunsClient) BeginDelete(ctx context.Context, resourceGroupName string, registryName string, pipelineRunName string, options *PipelineRunsBeginDeleteOptions) (PipelineRunsDeletePollerResponse, error)
BeginDelete - Deletes a pipeline run from a container registry. If the operation fails it returns a generic error.
func (*PipelineRunsClient) Get ¶
func (client *PipelineRunsClient) Get(ctx context.Context, resourceGroupName string, registryName string, pipelineRunName string, options *PipelineRunsGetOptions) (PipelineRunsGetResponse, error)
Get - Gets the detailed information for a given pipeline run. If the operation fails it returns a generic error.
func (*PipelineRunsClient) List ¶
func (client *PipelineRunsClient) List(resourceGroupName string, registryName string, options *PipelineRunsListOptions) *PipelineRunsListPager
List - Lists all the pipeline runs for the specified container registry. If the operation fails it returns a generic error.
type PipelineRunsCreatePoller ¶
type PipelineRunsCreatePoller struct {
// contains filtered or unexported fields
}
PipelineRunsCreatePoller provides polling facilities until the operation reaches a terminal state.
func (*PipelineRunsCreatePoller) Done ¶
func (p *PipelineRunsCreatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*PipelineRunsCreatePoller) FinalResponse ¶
func (p *PipelineRunsCreatePoller) FinalResponse(ctx context.Context) (PipelineRunsCreateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final PipelineRunsCreateResponse will be returned.
func (*PipelineRunsCreatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*PipelineRunsCreatePoller) ResumeToken ¶
func (p *PipelineRunsCreatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type PipelineRunsCreatePollerResponse ¶
type PipelineRunsCreatePollerResponse struct { // Poller contains an initialized poller. Poller *PipelineRunsCreatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
PipelineRunsCreatePollerResponse contains the response from method PipelineRuns.Create.
func (PipelineRunsCreatePollerResponse) PollUntilDone ¶
func (l PipelineRunsCreatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (PipelineRunsCreateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.
func (*PipelineRunsCreatePollerResponse) Resume ¶
func (l *PipelineRunsCreatePollerResponse) Resume(ctx context.Context, client *PipelineRunsClient, token string) error
Resume rehydrates a PipelineRunsCreatePollerResponse from the provided client and resume token.
type PipelineRunsCreateResponse ¶
type PipelineRunsCreateResponse struct { PipelineRunsCreateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
PipelineRunsCreateResponse contains the response from method PipelineRuns.Create.
type PipelineRunsCreateResult ¶
type PipelineRunsCreateResult struct {
PipelineRun
}
PipelineRunsCreateResult contains the result from method PipelineRuns.Create.
type PipelineRunsDeletePoller ¶
type PipelineRunsDeletePoller struct {
// contains filtered or unexported fields
}
PipelineRunsDeletePoller provides polling facilities until the operation reaches a terminal state.
func (*PipelineRunsDeletePoller) Done ¶
func (p *PipelineRunsDeletePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*PipelineRunsDeletePoller) FinalResponse ¶
func (p *PipelineRunsDeletePoller) FinalResponse(ctx context.Context) (PipelineRunsDeleteResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final PipelineRunsDeleteResponse will be returned.
func (*PipelineRunsDeletePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*PipelineRunsDeletePoller) ResumeToken ¶
func (p *PipelineRunsDeletePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type PipelineRunsDeletePollerResponse ¶
type PipelineRunsDeletePollerResponse struct { // Poller contains an initialized poller. Poller *PipelineRunsDeletePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
PipelineRunsDeletePollerResponse contains the response from method PipelineRuns.Delete.
func (PipelineRunsDeletePollerResponse) PollUntilDone ¶
func (l PipelineRunsDeletePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (PipelineRunsDeleteResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.
func (*PipelineRunsDeletePollerResponse) Resume ¶
func (l *PipelineRunsDeletePollerResponse) Resume(ctx context.Context, client *PipelineRunsClient, token string) error
Resume rehydrates a PipelineRunsDeletePollerResponse from the provided client and resume token.
type PipelineRunsDeleteResponse ¶
type PipelineRunsDeleteResponse struct { // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
PipelineRunsDeleteResponse contains the response from method PipelineRuns.Delete.
type PipelineRunsGetOptions ¶
type PipelineRunsGetOptions struct { }
PipelineRunsGetOptions contains the optional parameters for the PipelineRuns.Get method.
type PipelineRunsGetResponse ¶
type PipelineRunsGetResponse struct { PipelineRunsGetResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
PipelineRunsGetResponse contains the response from method PipelineRuns.Get.
type PipelineRunsGetResult ¶
type PipelineRunsGetResult struct {
PipelineRun
}
PipelineRunsGetResult contains the result from method PipelineRuns.Get.
type PipelineRunsListOptions ¶
type PipelineRunsListOptions struct { }
PipelineRunsListOptions contains the optional parameters for the PipelineRuns.List method.
type PipelineRunsListPager ¶
type PipelineRunsListPager struct {
// contains filtered or unexported fields
}
PipelineRunsListPager provides operations for iterating over paged responses.
func (*PipelineRunsListPager) Err ¶
func (p *PipelineRunsListPager) Err() error
Err returns the last error encountered while paging.
func (*PipelineRunsListPager) NextPage ¶
func (p *PipelineRunsListPager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*PipelineRunsListPager) PageResponse ¶
func (p *PipelineRunsListPager) PageResponse() PipelineRunsListResponse
PageResponse returns the current PipelineRunsListResponse page.
type PipelineRunsListResponse ¶
type PipelineRunsListResponse struct { PipelineRunsListResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
PipelineRunsListResponse contains the response from method PipelineRuns.List.
type PipelineRunsListResult ¶
type PipelineRunsListResult struct {
PipelineRunListResult
}
PipelineRunsListResult contains the result from method PipelineRuns.List.
type PipelineSourceTriggerDescriptor ¶
type PipelineSourceTriggerDescriptor struct { // The timestamp when the source update happened. Timestamp *time.Time `json:"timestamp,omitempty"` }
func (PipelineSourceTriggerDescriptor) MarshalJSON ¶
func (p PipelineSourceTriggerDescriptor) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type PipelineSourceTriggerDescriptor.
func (*PipelineSourceTriggerDescriptor) UnmarshalJSON ¶
func (p *PipelineSourceTriggerDescriptor) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type PipelineSourceTriggerDescriptor.
type PipelineSourceTriggerProperties ¶
type PipelineSourceTriggerProperties struct { // REQUIRED; The current status of the source trigger. Status *TriggerStatus `json:"status,omitempty"` }
type PipelineSourceType ¶
type PipelineSourceType string
PipelineSourceType - The type of source for the import pipeline.
const (
PipelineSourceTypeAzureStorageBlobContainer PipelineSourceType = "AzureStorageBlobContainer"
)
func PossiblePipelineSourceTypeValues ¶
func PossiblePipelineSourceTypeValues() []PipelineSourceType
PossiblePipelineSourceTypeValues returns the possible values for the PipelineSourceType const type.
func (PipelineSourceType) ToPtr ¶
func (c PipelineSourceType) ToPtr() *PipelineSourceType
ToPtr returns a *PipelineSourceType pointing to the current value.
type PipelineTriggerDescriptor ¶
type PipelineTriggerDescriptor struct { // The source trigger that caused the pipeline run. SourceTrigger *PipelineSourceTriggerDescriptor `json:"sourceTrigger,omitempty"` }
type PipelineTriggerProperties ¶
type PipelineTriggerProperties struct { // The source trigger properties of the pipeline. SourceTrigger *PipelineSourceTriggerProperties `json:"sourceTrigger,omitempty"` }
type PlatformProperties ¶
type PlatformProperties struct { // REQUIRED; The operating system type required for the run. OS *OS `json:"os,omitempty"` // The OS architecture. Architecture *Architecture `json:"architecture,omitempty"` // Variant of the CPU. Variant *Variant `json:"variant,omitempty"` }
PlatformProperties - The platform properties against which the run has to happen.
type PlatformUpdateParameters ¶
type PlatformUpdateParameters struct { // The OS architecture. Architecture *Architecture `json:"architecture,omitempty"` // The operating system type required for the run. OS *OS `json:"os,omitempty"` // Variant of the CPU. Variant *Variant `json:"variant,omitempty"` }
PlatformUpdateParameters - The properties for updating the platform configuration.
type Policies ¶
type Policies struct { // The export policy for a container registry. ExportPolicy *ExportPolicy `json:"exportPolicy,omitempty"` // The quarantine policy for a container registry. QuarantinePolicy *QuarantinePolicy `json:"quarantinePolicy,omitempty"` // The retention policy for a container registry. RetentionPolicy *RetentionPolicy `json:"retentionPolicy,omitempty"` // The content trust policy for a container registry. TrustPolicy *TrustPolicy `json:"trustPolicy,omitempty"` }
Policies - The policies for a container registry.
type PolicyStatus ¶
type PolicyStatus string
PolicyStatus - The value that indicates whether the policy is enabled or not.
const ( PolicyStatusDisabled PolicyStatus = "disabled" PolicyStatusEnabled PolicyStatus = "enabled" )
func PossiblePolicyStatusValues ¶
func PossiblePolicyStatusValues() []PolicyStatus
PossiblePolicyStatusValues returns the possible values for the PolicyStatus const type.
func (PolicyStatus) ToPtr ¶
func (c PolicyStatus) ToPtr() *PolicyStatus
ToPtr returns a *PolicyStatus pointing to the current value.
type PrivateEndpoint ¶
type PrivateEndpoint struct { // This is private endpoint resource created with Microsoft.Network resource provider. ID *string `json:"id,omitempty"` }
PrivateEndpoint - The Private Endpoint resource.
type PrivateEndpointConnection ¶
type PrivateEndpointConnection struct { ProxyResource // The properties of a private endpoint connection. Properties *PrivateEndpointConnectionProperties `json:"properties,omitempty"` }
PrivateEndpointConnection - An object that represents a private endpoint connection for a container registry.
type PrivateEndpointConnectionListResult ¶
type PrivateEndpointConnectionListResult struct { // The URI that can be used to request the next list of private endpoint connections. NextLink *string `json:"nextLink,omitempty"` // 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"` }
PrivateEndpointConnectionListResult - The result of a request to list private endpoint connections for a container registry.
func (PrivateEndpointConnectionListResult) MarshalJSON ¶
func (p PrivateEndpointConnectionListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type PrivateEndpointConnectionListResult.
type PrivateEndpointConnectionProperties ¶
type PrivateEndpointConnectionProperties struct { // The resource of private endpoint. PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"` // A collection of information about the state of the connection between service consumer and provider. PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState,omitempty"` // READ-ONLY; The provisioning state of private endpoint connection resource. ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` }
PrivateEndpointConnectionProperties - The properties of a private endpoint connection.
type PrivateEndpointConnectionsBeginCreateOrUpdateOptions ¶
type PrivateEndpointConnectionsBeginCreateOrUpdateOptions struct { }
PrivateEndpointConnectionsBeginCreateOrUpdateOptions contains the optional parameters for the PrivateEndpointConnections.BeginCreateOrUpdate method.
type PrivateEndpointConnectionsBeginDeleteOptions ¶
type PrivateEndpointConnectionsBeginDeleteOptions struct { }
PrivateEndpointConnectionsBeginDeleteOptions contains the optional parameters for the PrivateEndpointConnections.BeginDelete method.
type PrivateEndpointConnectionsClient ¶
type PrivateEndpointConnectionsClient struct {
// contains filtered or unexported fields
}
PrivateEndpointConnectionsClient contains the methods for the PrivateEndpointConnections group. Don't use this type directly, use NewPrivateEndpointConnectionsClient() instead.
func NewPrivateEndpointConnectionsClient ¶
func NewPrivateEndpointConnectionsClient(con *arm.Connection, subscriptionID string) *PrivateEndpointConnectionsClient
NewPrivateEndpointConnectionsClient creates a new instance of PrivateEndpointConnectionsClient with the specified values.
func (*PrivateEndpointConnectionsClient) BeginCreateOrUpdate ¶
func (client *PrivateEndpointConnectionsClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, registryName string, privateEndpointConnectionName string, privateEndpointConnection PrivateEndpointConnection, options *PrivateEndpointConnectionsBeginCreateOrUpdateOptions) (PrivateEndpointConnectionsCreateOrUpdatePollerResponse, error)
BeginCreateOrUpdate - Update the state of specified private endpoint connection associated with the container registry. If the operation fails it returns a generic error.
func (*PrivateEndpointConnectionsClient) BeginDelete ¶
func (client *PrivateEndpointConnectionsClient) BeginDelete(ctx context.Context, resourceGroupName string, registryName string, privateEndpointConnectionName string, options *PrivateEndpointConnectionsBeginDeleteOptions) (PrivateEndpointConnectionsDeletePollerResponse, error)
BeginDelete - Deletes the specified private endpoint connection associated with the container registry. If the operation fails it returns a generic error.
func (*PrivateEndpointConnectionsClient) Get ¶
func (client *PrivateEndpointConnectionsClient) Get(ctx context.Context, resourceGroupName string, registryName string, privateEndpointConnectionName string, options *PrivateEndpointConnectionsGetOptions) (PrivateEndpointConnectionsGetResponse, error)
Get - Get the specified private endpoint connection associated with the container registry. If the operation fails it returns a generic error.
func (*PrivateEndpointConnectionsClient) List ¶
func (client *PrivateEndpointConnectionsClient) List(resourceGroupName string, registryName string, options *PrivateEndpointConnectionsListOptions) *PrivateEndpointConnectionsListPager
List - List all private endpoint connections in a container registry. If the operation fails it returns a generic error.
type PrivateEndpointConnectionsCreateOrUpdatePoller ¶
type PrivateEndpointConnectionsCreateOrUpdatePoller struct {
// contains filtered or unexported fields
}
PrivateEndpointConnectionsCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.
func (*PrivateEndpointConnectionsCreateOrUpdatePoller) Done ¶
func (p *PrivateEndpointConnectionsCreateOrUpdatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*PrivateEndpointConnectionsCreateOrUpdatePoller) FinalResponse ¶
func (p *PrivateEndpointConnectionsCreateOrUpdatePoller) FinalResponse(ctx context.Context) (PrivateEndpointConnectionsCreateOrUpdateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final PrivateEndpointConnectionsCreateOrUpdateResponse will be returned.
func (*PrivateEndpointConnectionsCreateOrUpdatePoller) Poll ¶
func (p *PrivateEndpointConnectionsCreateOrUpdatePoller) Poll(ctx context.Context) (*http.Response, error)
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*PrivateEndpointConnectionsCreateOrUpdatePoller) ResumeToken ¶
func (p *PrivateEndpointConnectionsCreateOrUpdatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type PrivateEndpointConnectionsCreateOrUpdatePollerResponse ¶
type PrivateEndpointConnectionsCreateOrUpdatePollerResponse struct { // Poller contains an initialized poller. Poller *PrivateEndpointConnectionsCreateOrUpdatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
PrivateEndpointConnectionsCreateOrUpdatePollerResponse contains the response from method PrivateEndpointConnections.CreateOrUpdate.
func (PrivateEndpointConnectionsCreateOrUpdatePollerResponse) PollUntilDone ¶
func (l PrivateEndpointConnectionsCreateOrUpdatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (PrivateEndpointConnectionsCreateOrUpdateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.
func (*PrivateEndpointConnectionsCreateOrUpdatePollerResponse) Resume ¶
func (l *PrivateEndpointConnectionsCreateOrUpdatePollerResponse) Resume(ctx context.Context, client *PrivateEndpointConnectionsClient, token string) error
Resume rehydrates a PrivateEndpointConnectionsCreateOrUpdatePollerResponse from the provided client and resume token.
type PrivateEndpointConnectionsCreateOrUpdateResponse ¶
type PrivateEndpointConnectionsCreateOrUpdateResponse struct { PrivateEndpointConnectionsCreateOrUpdateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
PrivateEndpointConnectionsCreateOrUpdateResponse contains the response from method PrivateEndpointConnections.CreateOrUpdate.
type PrivateEndpointConnectionsCreateOrUpdateResult ¶
type PrivateEndpointConnectionsCreateOrUpdateResult struct {
PrivateEndpointConnection
}
PrivateEndpointConnectionsCreateOrUpdateResult contains the result from method PrivateEndpointConnections.CreateOrUpdate.
type PrivateEndpointConnectionsDeletePoller ¶
type PrivateEndpointConnectionsDeletePoller struct {
// contains filtered or unexported fields
}
PrivateEndpointConnectionsDeletePoller provides polling facilities until the operation reaches a terminal state.
func (*PrivateEndpointConnectionsDeletePoller) Done ¶
func (p *PrivateEndpointConnectionsDeletePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*PrivateEndpointConnectionsDeletePoller) FinalResponse ¶
func (p *PrivateEndpointConnectionsDeletePoller) FinalResponse(ctx context.Context) (PrivateEndpointConnectionsDeleteResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final PrivateEndpointConnectionsDeleteResponse will be returned.
func (*PrivateEndpointConnectionsDeletePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*PrivateEndpointConnectionsDeletePoller) ResumeToken ¶
func (p *PrivateEndpointConnectionsDeletePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type PrivateEndpointConnectionsDeletePollerResponse ¶
type PrivateEndpointConnectionsDeletePollerResponse struct { // Poller contains an initialized poller. Poller *PrivateEndpointConnectionsDeletePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
PrivateEndpointConnectionsDeletePollerResponse contains the response from method PrivateEndpointConnections.Delete.
func (PrivateEndpointConnectionsDeletePollerResponse) PollUntilDone ¶
func (l PrivateEndpointConnectionsDeletePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (PrivateEndpointConnectionsDeleteResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.
func (*PrivateEndpointConnectionsDeletePollerResponse) Resume ¶
func (l *PrivateEndpointConnectionsDeletePollerResponse) Resume(ctx context.Context, client *PrivateEndpointConnectionsClient, token string) error
Resume rehydrates a PrivateEndpointConnectionsDeletePollerResponse from the provided client and resume token.
type PrivateEndpointConnectionsDeleteResponse ¶
type PrivateEndpointConnectionsDeleteResponse struct { // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
PrivateEndpointConnectionsDeleteResponse contains the response from method PrivateEndpointConnections.Delete.
type PrivateEndpointConnectionsGetOptions ¶
type PrivateEndpointConnectionsGetOptions struct { }
PrivateEndpointConnectionsGetOptions contains the optional parameters for the PrivateEndpointConnections.Get method.
type PrivateEndpointConnectionsGetResponse ¶
type PrivateEndpointConnectionsGetResponse struct { PrivateEndpointConnectionsGetResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
PrivateEndpointConnectionsGetResponse contains the response from method PrivateEndpointConnections.Get.
type PrivateEndpointConnectionsGetResult ¶
type PrivateEndpointConnectionsGetResult struct {
PrivateEndpointConnection
}
PrivateEndpointConnectionsGetResult contains the result from method PrivateEndpointConnections.Get.
type PrivateEndpointConnectionsListOptions ¶
type PrivateEndpointConnectionsListOptions struct { }
PrivateEndpointConnectionsListOptions contains the optional parameters for the PrivateEndpointConnections.List method.
type PrivateEndpointConnectionsListPager ¶
type PrivateEndpointConnectionsListPager struct {
// contains filtered or unexported fields
}
PrivateEndpointConnectionsListPager provides operations for iterating over paged responses.
func (*PrivateEndpointConnectionsListPager) Err ¶
func (p *PrivateEndpointConnectionsListPager) Err() error
Err returns the last error encountered while paging.
func (*PrivateEndpointConnectionsListPager) NextPage ¶
func (p *PrivateEndpointConnectionsListPager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*PrivateEndpointConnectionsListPager) PageResponse ¶
func (p *PrivateEndpointConnectionsListPager) PageResponse() PrivateEndpointConnectionsListResponse
PageResponse returns the current PrivateEndpointConnectionsListResponse page.
type PrivateEndpointConnectionsListResponse ¶
type PrivateEndpointConnectionsListResponse struct { PrivateEndpointConnectionsListResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
PrivateEndpointConnectionsListResponse contains the response from method PrivateEndpointConnections.List.
type PrivateEndpointConnectionsListResult ¶
type PrivateEndpointConnectionsListResult struct {
PrivateEndpointConnectionListResult
}
PrivateEndpointConnectionsListResult contains the result from method PrivateEndpointConnections.List.
type PrivateLinkResource ¶
type PrivateLinkResource struct { // The resource ID. ID *string `json:"id,omitempty"` // The name of the resource. Name *string `json:"name,omitempty"` // A resource that supports private link capabilities. Properties *PrivateLinkResourceProperties `json:"properties,omitempty"` // READ-ONLY; The resource type is private link resource. Type *string `json:"type,omitempty" azure:"ro"` }
PrivateLinkResource - A resource that supports private link capabilities.
type PrivateLinkResourceListResult ¶
type PrivateLinkResourceListResult struct { // The URI that can be used to request the next list of private link resources. NextLink *string `json:"nextLink,omitempty"` // 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"` }
PrivateLinkResourceListResult - The result of a request to list private link resources for a container registry.
func (PrivateLinkResourceListResult) MarshalJSON ¶
func (p PrivateLinkResourceListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type PrivateLinkResourceListResult.
type PrivateLinkResourceProperties ¶
type PrivateLinkResourceProperties struct { // The private link resource group id. GroupID *string `json:"groupId,omitempty"` // The private link resource required member names. RequiredMembers []*string `json:"requiredMembers,omitempty"` // The private link resource Private link DNS zone name. RequiredZoneNames []*string `json:"requiredZoneNames,omitempty"` }
PrivateLinkResourceProperties - The properties of a private link resource.
func (PrivateLinkResourceProperties) MarshalJSON ¶
func (p PrivateLinkResourceProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type PrivateLinkResourceProperties.
type PrivateLinkServiceConnectionState ¶
type PrivateLinkServiceConnectionState struct { // A message indicating if changes on the service provider require any updates on the consumer. ActionsRequired *ActionsRequired `json:"actionsRequired,omitempty"` // The description for connection status. For example if connection is rejected it can indicate reason for rejection. Description *string `json:"description,omitempty"` // The private link service connection status. Status *ConnectionStatus `json:"status,omitempty"` }
PrivateLinkServiceConnectionState - The state of a private link service connection.
type ProgressProperties ¶
type ProgressProperties struct { // The percentage complete of the copy operation. Percentage *string `json:"percentage,omitempty"` }
type ProvisioningState ¶
type ProvisioningState string
ProvisioningState - The provisioning state of this agent pool
const ( ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func PossibleProvisioningStateValues ¶
func PossibleProvisioningStateValues() []ProvisioningState
PossibleProvisioningStateValues returns the possible values for the ProvisioningState const type.
func (ProvisioningState) ToPtr ¶
func (c ProvisioningState) ToPtr() *ProvisioningState
ToPtr returns a *ProvisioningState pointing to the current value.
type ProxyResource ¶
type ProxyResource struct { // READ-ONLY; The resource ID. ID *string `json:"id,omitempty" azure:"ro"` // READ-ONLY; The name of the resource. Name *string `json:"name,omitempty" azure:"ro"` // READ-ONLY; Metadata pertaining to creation and last modification of the resource. SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` // READ-ONLY; The type of the resource. Type *string `json:"type,omitempty" azure:"ro"` }
ProxyResource - The resource model definition for a ARM proxy resource. It will have everything other than required location and tags.
type PublicNetworkAccess ¶
type PublicNetworkAccess string
PublicNetworkAccess - Whether or not public network access is allowed for the container registry.
const ( PublicNetworkAccessDisabled PublicNetworkAccess = "Disabled" PublicNetworkAccessEnabled PublicNetworkAccess = "Enabled" )
func PossiblePublicNetworkAccessValues ¶
func PossiblePublicNetworkAccessValues() []PublicNetworkAccess
PossiblePublicNetworkAccessValues returns the possible values for the PublicNetworkAccess const type.
func (PublicNetworkAccess) ToPtr ¶
func (c PublicNetworkAccess) ToPtr() *PublicNetworkAccess
ToPtr returns a *PublicNetworkAccess pointing to the current value.
type QuarantinePolicy ¶
type QuarantinePolicy struct { // The value that indicates whether the policy is enabled or not. Status *PolicyStatus `json:"status,omitempty"` }
QuarantinePolicy - The quarantine policy for a container registry.
type RegenerateCredentialParameters ¶
type RegenerateCredentialParameters struct { // REQUIRED; Specifies name of the password which should be regenerated -- password or password2. Name *PasswordName `json:"name,omitempty"` }
RegenerateCredentialParameters - The parameters used to regenerate the login credential.
type RegistriesBeginCreateOptions ¶
type RegistriesBeginCreateOptions struct { }
RegistriesBeginCreateOptions contains the optional parameters for the Registries.BeginCreate method.
type RegistriesBeginDeleteOptions ¶
type RegistriesBeginDeleteOptions struct { }
RegistriesBeginDeleteOptions contains the optional parameters for the Registries.BeginDelete method.
type RegistriesBeginGenerateCredentialsOptions ¶
type RegistriesBeginGenerateCredentialsOptions struct { }
RegistriesBeginGenerateCredentialsOptions contains the optional parameters for the Registries.BeginGenerateCredentials method.
type RegistriesBeginImportImageOptions ¶
type RegistriesBeginImportImageOptions struct { }
RegistriesBeginImportImageOptions contains the optional parameters for the Registries.BeginImportImage method.
type RegistriesBeginScheduleRunOptions ¶
type RegistriesBeginScheduleRunOptions struct { }
RegistriesBeginScheduleRunOptions contains the optional parameters for the Registries.BeginScheduleRun method.
type RegistriesBeginUpdateOptions ¶
type RegistriesBeginUpdateOptions struct { }
RegistriesBeginUpdateOptions contains the optional parameters for the Registries.BeginUpdate method.
type RegistriesCheckNameAvailabilityOptions ¶
type RegistriesCheckNameAvailabilityOptions struct { }
RegistriesCheckNameAvailabilityOptions contains the optional parameters for the Registries.CheckNameAvailability method.
type RegistriesCheckNameAvailabilityResponse ¶
type RegistriesCheckNameAvailabilityResponse struct { RegistriesCheckNameAvailabilityResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RegistriesCheckNameAvailabilityResponse contains the response from method Registries.CheckNameAvailability.
type RegistriesCheckNameAvailabilityResult ¶
type RegistriesCheckNameAvailabilityResult struct {
RegistryNameStatus
}
RegistriesCheckNameAvailabilityResult contains the result from method Registries.CheckNameAvailability.
type RegistriesClient ¶
type RegistriesClient struct {
// contains filtered or unexported fields
}
RegistriesClient contains the methods for the Registries group. Don't use this type directly, use NewRegistriesClient() instead.
func NewRegistriesClient ¶
func NewRegistriesClient(con *arm.Connection, subscriptionID string) *RegistriesClient
NewRegistriesClient creates a new instance of RegistriesClient with the specified values.
func (*RegistriesClient) BeginCreate ¶
func (client *RegistriesClient) BeginCreate(ctx context.Context, resourceGroupName string, registryName string, registry Registry, options *RegistriesBeginCreateOptions) (RegistriesCreatePollerResponse, error)
BeginCreate - Creates a container registry with the specified parameters. If the operation fails it returns a generic error.
func (*RegistriesClient) BeginDelete ¶
func (client *RegistriesClient) BeginDelete(ctx context.Context, resourceGroupName string, registryName string, options *RegistriesBeginDeleteOptions) (RegistriesDeletePollerResponse, error)
BeginDelete - Deletes a container registry. If the operation fails it returns a generic error.
func (*RegistriesClient) BeginGenerateCredentials ¶
func (client *RegistriesClient) BeginGenerateCredentials(ctx context.Context, resourceGroupName string, registryName string, generateCredentialsParameters GenerateCredentialsParameters, options *RegistriesBeginGenerateCredentialsOptions) (RegistriesGenerateCredentialsPollerResponse, error)
BeginGenerateCredentials - Generate keys for a token of a specified container registry. If the operation fails it returns a generic error.
func (*RegistriesClient) BeginImportImage ¶
func (client *RegistriesClient) BeginImportImage(ctx context.Context, resourceGroupName string, registryName string, parameters ImportImageParameters, options *RegistriesBeginImportImageOptions) (RegistriesImportImagePollerResponse, error)
BeginImportImage - Copies an image to this container registry from the specified container registry. If the operation fails it returns a generic error.
func (*RegistriesClient) BeginScheduleRun ¶
func (client *RegistriesClient) BeginScheduleRun(ctx context.Context, resourceGroupName string, registryName string, runRequest RunRequestClassification, options *RegistriesBeginScheduleRunOptions) (RegistriesScheduleRunPollerResponse, error)
BeginScheduleRun - Schedules a new run based on the request parameters and add it to the run queue. If the operation fails it returns the *ErrorResponse error type.
func (*RegistriesClient) BeginUpdate ¶
func (client *RegistriesClient) BeginUpdate(ctx context.Context, resourceGroupName string, registryName string, registryUpdateParameters RegistryUpdateParameters, options *RegistriesBeginUpdateOptions) (RegistriesUpdatePollerResponse, error)
BeginUpdate - Updates a container registry with the specified parameters. If the operation fails it returns a generic error.
func (*RegistriesClient) CheckNameAvailability ¶
func (client *RegistriesClient) CheckNameAvailability(ctx context.Context, registryNameCheckRequest RegistryNameCheckRequest, options *RegistriesCheckNameAvailabilityOptions) (RegistriesCheckNameAvailabilityResponse, 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. If the operation fails it returns a generic error.
func (*RegistriesClient) Get ¶
func (client *RegistriesClient) Get(ctx context.Context, resourceGroupName string, registryName string, options *RegistriesGetOptions) (RegistriesGetResponse, error)
Get - Gets the properties of the specified container registry. If the operation fails it returns a generic error.
func (*RegistriesClient) GetBuildSourceUploadURL ¶
func (client *RegistriesClient) GetBuildSourceUploadURL(ctx context.Context, resourceGroupName string, registryName string, options *RegistriesGetBuildSourceUploadURLOptions) (RegistriesGetBuildSourceUploadURLResponse, error)
GetBuildSourceUploadURL - Get the upload location for the user to be able to upload the source. If the operation fails it returns the *ErrorResponse error type.
func (*RegistriesClient) List ¶
func (client *RegistriesClient) List(options *RegistriesListOptions) *RegistriesListPager
List - Lists all the container registries under the specified subscription. If the operation fails it returns a generic error.
func (*RegistriesClient) ListByResourceGroup ¶
func (client *RegistriesClient) ListByResourceGroup(resourceGroupName string, options *RegistriesListByResourceGroupOptions) *RegistriesListByResourceGroupPager
ListByResourceGroup - Lists all the container registries under the specified resource group. If the operation fails it returns a generic error.
func (*RegistriesClient) ListCredentials ¶
func (client *RegistriesClient) ListCredentials(ctx context.Context, resourceGroupName string, registryName string, options *RegistriesListCredentialsOptions) (RegistriesListCredentialsResponse, error)
ListCredentials - Lists the login credentials for the specified container registry. If the operation fails it returns a generic error.
func (*RegistriesClient) ListPrivateLinkResources ¶
func (client *RegistriesClient) ListPrivateLinkResources(resourceGroupName string, registryName string, options *RegistriesListPrivateLinkResourcesOptions) *RegistriesListPrivateLinkResourcesPager
ListPrivateLinkResources - Lists the private link resources for a container registry. If the operation fails it returns a generic error.
func (*RegistriesClient) ListUsages ¶
func (client *RegistriesClient) ListUsages(ctx context.Context, resourceGroupName string, registryName string, options *RegistriesListUsagesOptions) (RegistriesListUsagesResponse, error)
ListUsages - Gets the quota usages for the specified container registry. If the operation fails it returns a generic error.
func (*RegistriesClient) RegenerateCredential ¶
func (client *RegistriesClient) RegenerateCredential(ctx context.Context, resourceGroupName string, registryName string, regenerateCredentialParameters RegenerateCredentialParameters, options *RegistriesRegenerateCredentialOptions) (RegistriesRegenerateCredentialResponse, error)
RegenerateCredential - Regenerates one of the login credentials for the specified container registry. If the operation fails it returns a generic error.
type RegistriesCreatePoller ¶
type RegistriesCreatePoller struct {
// contains filtered or unexported fields
}
RegistriesCreatePoller provides polling facilities until the operation reaches a terminal state.
func (*RegistriesCreatePoller) Done ¶
func (p *RegistriesCreatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*RegistriesCreatePoller) FinalResponse ¶
func (p *RegistriesCreatePoller) FinalResponse(ctx context.Context) (RegistriesCreateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final RegistriesCreateResponse will be returned.
func (*RegistriesCreatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*RegistriesCreatePoller) ResumeToken ¶
func (p *RegistriesCreatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type RegistriesCreatePollerResponse ¶
type RegistriesCreatePollerResponse struct { // Poller contains an initialized poller. Poller *RegistriesCreatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RegistriesCreatePollerResponse contains the response from method Registries.Create.
func (RegistriesCreatePollerResponse) PollUntilDone ¶
func (l RegistriesCreatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (RegistriesCreateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.
func (*RegistriesCreatePollerResponse) Resume ¶
func (l *RegistriesCreatePollerResponse) Resume(ctx context.Context, client *RegistriesClient, token string) error
Resume rehydrates a RegistriesCreatePollerResponse from the provided client and resume token.
type RegistriesCreateResponse ¶
type RegistriesCreateResponse struct { RegistriesCreateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RegistriesCreateResponse contains the response from method Registries.Create.
type RegistriesCreateResult ¶
type RegistriesCreateResult struct {
Registry
}
RegistriesCreateResult contains the result from method Registries.Create.
type RegistriesDeletePoller ¶
type RegistriesDeletePoller struct {
// contains filtered or unexported fields
}
RegistriesDeletePoller provides polling facilities until the operation reaches a terminal state.
func (*RegistriesDeletePoller) Done ¶
func (p *RegistriesDeletePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*RegistriesDeletePoller) FinalResponse ¶
func (p *RegistriesDeletePoller) FinalResponse(ctx context.Context) (RegistriesDeleteResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final RegistriesDeleteResponse will be returned.
func (*RegistriesDeletePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*RegistriesDeletePoller) ResumeToken ¶
func (p *RegistriesDeletePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type RegistriesDeletePollerResponse ¶
type RegistriesDeletePollerResponse struct { // Poller contains an initialized poller. Poller *RegistriesDeletePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RegistriesDeletePollerResponse contains the response from method Registries.Delete.
func (RegistriesDeletePollerResponse) PollUntilDone ¶
func (l RegistriesDeletePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (RegistriesDeleteResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.
func (*RegistriesDeletePollerResponse) Resume ¶
func (l *RegistriesDeletePollerResponse) Resume(ctx context.Context, client *RegistriesClient, token string) error
Resume rehydrates a RegistriesDeletePollerResponse from the provided client and resume token.
type RegistriesDeleteResponse ¶
type RegistriesDeleteResponse struct { // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RegistriesDeleteResponse contains the response from method Registries.Delete.
type RegistriesGenerateCredentialsPoller ¶
type RegistriesGenerateCredentialsPoller struct {
// contains filtered or unexported fields
}
RegistriesGenerateCredentialsPoller provides polling facilities until the operation reaches a terminal state.
func (*RegistriesGenerateCredentialsPoller) Done ¶
func (p *RegistriesGenerateCredentialsPoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*RegistriesGenerateCredentialsPoller) FinalResponse ¶
func (p *RegistriesGenerateCredentialsPoller) FinalResponse(ctx context.Context) (RegistriesGenerateCredentialsResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final RegistriesGenerateCredentialsResponse will be returned.
func (*RegistriesGenerateCredentialsPoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*RegistriesGenerateCredentialsPoller) ResumeToken ¶
func (p *RegistriesGenerateCredentialsPoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type RegistriesGenerateCredentialsPollerResponse ¶
type RegistriesGenerateCredentialsPollerResponse struct { // Poller contains an initialized poller. Poller *RegistriesGenerateCredentialsPoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RegistriesGenerateCredentialsPollerResponse contains the response from method Registries.GenerateCredentials.
func (RegistriesGenerateCredentialsPollerResponse) PollUntilDone ¶
func (l RegistriesGenerateCredentialsPollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (RegistriesGenerateCredentialsResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.
func (*RegistriesGenerateCredentialsPollerResponse) Resume ¶
func (l *RegistriesGenerateCredentialsPollerResponse) Resume(ctx context.Context, client *RegistriesClient, token string) error
Resume rehydrates a RegistriesGenerateCredentialsPollerResponse from the provided client and resume token.
type RegistriesGenerateCredentialsResponse ¶
type RegistriesGenerateCredentialsResponse struct { RegistriesGenerateCredentialsResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RegistriesGenerateCredentialsResponse contains the response from method Registries.GenerateCredentials.
type RegistriesGenerateCredentialsResult ¶
type RegistriesGenerateCredentialsResult struct {
GenerateCredentialsResult
}
RegistriesGenerateCredentialsResult contains the result from method Registries.GenerateCredentials.
type RegistriesGetBuildSourceUploadURLOptions ¶
type RegistriesGetBuildSourceUploadURLOptions struct { }
RegistriesGetBuildSourceUploadURLOptions contains the optional parameters for the Registries.GetBuildSourceUploadURL method.
type RegistriesGetBuildSourceUploadURLResponse ¶
type RegistriesGetBuildSourceUploadURLResponse struct { RegistriesGetBuildSourceUploadURLResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RegistriesGetBuildSourceUploadURLResponse contains the response from method Registries.GetBuildSourceUploadURL.
type RegistriesGetBuildSourceUploadURLResult ¶
type RegistriesGetBuildSourceUploadURLResult struct {
SourceUploadDefinition
}
RegistriesGetBuildSourceUploadURLResult contains the result from method Registries.GetBuildSourceUploadURL.
type RegistriesGetOptions ¶
type RegistriesGetOptions struct { }
RegistriesGetOptions contains the optional parameters for the Registries.Get method.
type RegistriesGetResponse ¶
type RegistriesGetResponse struct { RegistriesGetResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RegistriesGetResponse contains the response from method Registries.Get.
type RegistriesGetResult ¶
type RegistriesGetResult struct {
Registry
}
RegistriesGetResult contains the result from method Registries.Get.
type RegistriesImportImagePoller ¶
type RegistriesImportImagePoller struct {
// contains filtered or unexported fields
}
RegistriesImportImagePoller provides polling facilities until the operation reaches a terminal state.
func (*RegistriesImportImagePoller) Done ¶
func (p *RegistriesImportImagePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*RegistriesImportImagePoller) FinalResponse ¶
func (p *RegistriesImportImagePoller) FinalResponse(ctx context.Context) (RegistriesImportImageResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final RegistriesImportImageResponse will be returned.
func (*RegistriesImportImagePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*RegistriesImportImagePoller) ResumeToken ¶
func (p *RegistriesImportImagePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type RegistriesImportImagePollerResponse ¶
type RegistriesImportImagePollerResponse struct { // Poller contains an initialized poller. Poller *RegistriesImportImagePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RegistriesImportImagePollerResponse contains the response from method Registries.ImportImage.
func (RegistriesImportImagePollerResponse) PollUntilDone ¶
func (l RegistriesImportImagePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (RegistriesImportImageResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.
func (*RegistriesImportImagePollerResponse) Resume ¶
func (l *RegistriesImportImagePollerResponse) Resume(ctx context.Context, client *RegistriesClient, token string) error
Resume rehydrates a RegistriesImportImagePollerResponse from the provided client and resume token.
type RegistriesImportImageResponse ¶
type RegistriesImportImageResponse struct { // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RegistriesImportImageResponse contains the response from method Registries.ImportImage.
type RegistriesListByResourceGroupOptions ¶
type RegistriesListByResourceGroupOptions struct { }
RegistriesListByResourceGroupOptions contains the optional parameters for the Registries.ListByResourceGroup method.
type RegistriesListByResourceGroupPager ¶
type RegistriesListByResourceGroupPager struct {
// contains filtered or unexported fields
}
RegistriesListByResourceGroupPager provides operations for iterating over paged responses.
func (*RegistriesListByResourceGroupPager) Err ¶
func (p *RegistriesListByResourceGroupPager) Err() error
Err returns the last error encountered while paging.
func (*RegistriesListByResourceGroupPager) NextPage ¶
func (p *RegistriesListByResourceGroupPager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*RegistriesListByResourceGroupPager) PageResponse ¶
func (p *RegistriesListByResourceGroupPager) PageResponse() RegistriesListByResourceGroupResponse
PageResponse returns the current RegistriesListByResourceGroupResponse page.
type RegistriesListByResourceGroupResponse ¶
type RegistriesListByResourceGroupResponse struct { RegistriesListByResourceGroupResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RegistriesListByResourceGroupResponse contains the response from method Registries.ListByResourceGroup.
type RegistriesListByResourceGroupResult ¶
type RegistriesListByResourceGroupResult struct {
RegistryListResult
}
RegistriesListByResourceGroupResult contains the result from method Registries.ListByResourceGroup.
type RegistriesListCredentialsOptions ¶
type RegistriesListCredentialsOptions struct { }
RegistriesListCredentialsOptions contains the optional parameters for the Registries.ListCredentials method.
type RegistriesListCredentialsResponse ¶
type RegistriesListCredentialsResponse struct { RegistriesListCredentialsResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RegistriesListCredentialsResponse contains the response from method Registries.ListCredentials.
type RegistriesListCredentialsResult ¶
type RegistriesListCredentialsResult struct {
RegistryListCredentialsResult
}
RegistriesListCredentialsResult contains the result from method Registries.ListCredentials.
type RegistriesListOptions ¶
type RegistriesListOptions struct { }
RegistriesListOptions contains the optional parameters for the Registries.List method.
type RegistriesListPager ¶
type RegistriesListPager struct {
// contains filtered or unexported fields
}
RegistriesListPager provides operations for iterating over paged responses.
func (*RegistriesListPager) Err ¶
func (p *RegistriesListPager) Err() error
Err returns the last error encountered while paging.
func (*RegistriesListPager) NextPage ¶
func (p *RegistriesListPager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*RegistriesListPager) PageResponse ¶
func (p *RegistriesListPager) PageResponse() RegistriesListResponse
PageResponse returns the current RegistriesListResponse page.
type RegistriesListPrivateLinkResourcesOptions ¶
type RegistriesListPrivateLinkResourcesOptions struct { }
RegistriesListPrivateLinkResourcesOptions contains the optional parameters for the Registries.ListPrivateLinkResources method.
type RegistriesListPrivateLinkResourcesPager ¶
type RegistriesListPrivateLinkResourcesPager struct {
// contains filtered or unexported fields
}
RegistriesListPrivateLinkResourcesPager provides operations for iterating over paged responses.
func (*RegistriesListPrivateLinkResourcesPager) Err ¶
func (p *RegistriesListPrivateLinkResourcesPager) Err() error
Err returns the last error encountered while paging.
func (*RegistriesListPrivateLinkResourcesPager) NextPage ¶
func (p *RegistriesListPrivateLinkResourcesPager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*RegistriesListPrivateLinkResourcesPager) PageResponse ¶
func (p *RegistriesListPrivateLinkResourcesPager) PageResponse() RegistriesListPrivateLinkResourcesResponse
PageResponse returns the current RegistriesListPrivateLinkResourcesResponse page.
type RegistriesListPrivateLinkResourcesResponse ¶
type RegistriesListPrivateLinkResourcesResponse struct { RegistriesListPrivateLinkResourcesResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RegistriesListPrivateLinkResourcesResponse contains the response from method Registries.ListPrivateLinkResources.
type RegistriesListPrivateLinkResourcesResult ¶
type RegistriesListPrivateLinkResourcesResult struct {
PrivateLinkResourceListResult
}
RegistriesListPrivateLinkResourcesResult contains the result from method Registries.ListPrivateLinkResources.
type RegistriesListResponse ¶
type RegistriesListResponse struct { RegistriesListResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RegistriesListResponse contains the response from method Registries.List.
type RegistriesListResult ¶
type RegistriesListResult struct {
RegistryListResult
}
RegistriesListResult contains the result from method Registries.List.
type RegistriesListUsagesOptions ¶
type RegistriesListUsagesOptions struct { }
RegistriesListUsagesOptions contains the optional parameters for the Registries.ListUsages method.
type RegistriesListUsagesResponse ¶
type RegistriesListUsagesResponse struct { RegistriesListUsagesResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RegistriesListUsagesResponse contains the response from method Registries.ListUsages.
type RegistriesListUsagesResult ¶
type RegistriesListUsagesResult struct {
RegistryUsageListResult
}
RegistriesListUsagesResult contains the result from method Registries.ListUsages.
type RegistriesRegenerateCredentialOptions ¶
type RegistriesRegenerateCredentialOptions struct { }
RegistriesRegenerateCredentialOptions contains the optional parameters for the Registries.RegenerateCredential method.
type RegistriesRegenerateCredentialResponse ¶
type RegistriesRegenerateCredentialResponse struct { RegistriesRegenerateCredentialResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RegistriesRegenerateCredentialResponse contains the response from method Registries.RegenerateCredential.
type RegistriesRegenerateCredentialResult ¶
type RegistriesRegenerateCredentialResult struct {
RegistryListCredentialsResult
}
RegistriesRegenerateCredentialResult contains the result from method Registries.RegenerateCredential.
type RegistriesScheduleRunPoller ¶
type RegistriesScheduleRunPoller struct {
// contains filtered or unexported fields
}
RegistriesScheduleRunPoller provides polling facilities until the operation reaches a terminal state.
func (*RegistriesScheduleRunPoller) Done ¶
func (p *RegistriesScheduleRunPoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*RegistriesScheduleRunPoller) FinalResponse ¶
func (p *RegistriesScheduleRunPoller) FinalResponse(ctx context.Context) (RegistriesScheduleRunResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final RegistriesScheduleRunResponse will be returned.
func (*RegistriesScheduleRunPoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*RegistriesScheduleRunPoller) ResumeToken ¶
func (p *RegistriesScheduleRunPoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type RegistriesScheduleRunPollerResponse ¶
type RegistriesScheduleRunPollerResponse struct { // Poller contains an initialized poller. Poller *RegistriesScheduleRunPoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RegistriesScheduleRunPollerResponse contains the response from method Registries.ScheduleRun.
func (RegistriesScheduleRunPollerResponse) PollUntilDone ¶
func (l RegistriesScheduleRunPollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (RegistriesScheduleRunResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.
func (*RegistriesScheduleRunPollerResponse) Resume ¶
func (l *RegistriesScheduleRunPollerResponse) Resume(ctx context.Context, client *RegistriesClient, token string) error
Resume rehydrates a RegistriesScheduleRunPollerResponse from the provided client and resume token.
type RegistriesScheduleRunResponse ¶
type RegistriesScheduleRunResponse struct { RegistriesScheduleRunResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RegistriesScheduleRunResponse contains the response from method Registries.ScheduleRun.
type RegistriesScheduleRunResult ¶
type RegistriesScheduleRunResult struct {
Run
}
RegistriesScheduleRunResult contains the result from method Registries.ScheduleRun.
type RegistriesUpdatePoller ¶
type RegistriesUpdatePoller struct {
// contains filtered or unexported fields
}
RegistriesUpdatePoller provides polling facilities until the operation reaches a terminal state.
func (*RegistriesUpdatePoller) Done ¶
func (p *RegistriesUpdatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*RegistriesUpdatePoller) FinalResponse ¶
func (p *RegistriesUpdatePoller) FinalResponse(ctx context.Context) (RegistriesUpdateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final RegistriesUpdateResponse will be returned.
func (*RegistriesUpdatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*RegistriesUpdatePoller) ResumeToken ¶
func (p *RegistriesUpdatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type RegistriesUpdatePollerResponse ¶
type RegistriesUpdatePollerResponse struct { // Poller contains an initialized poller. Poller *RegistriesUpdatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RegistriesUpdatePollerResponse contains the response from method Registries.Update.
func (RegistriesUpdatePollerResponse) PollUntilDone ¶
func (l RegistriesUpdatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (RegistriesUpdateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.
func (*RegistriesUpdatePollerResponse) Resume ¶
func (l *RegistriesUpdatePollerResponse) Resume(ctx context.Context, client *RegistriesClient, token string) error
Resume rehydrates a RegistriesUpdatePollerResponse from the provided client and resume token.
type RegistriesUpdateResponse ¶
type RegistriesUpdateResponse struct { RegistriesUpdateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RegistriesUpdateResponse contains the response from method Registries.Update.
type RegistriesUpdateResult ¶
type RegistriesUpdateResult struct {
Registry
}
RegistriesUpdateResult contains the result from method Registries.Update.
type Registry ¶
type Registry struct { Resource // REQUIRED; The SKU of the container registry. SKU *SKU `json:"sku,omitempty"` // The identity of the container registry. Identity *IdentityProperties `json:"identity,omitempty"` // The properties of the container registry. Properties *RegistryProperties `json:"properties,omitempty"` }
Registry - An object that represents a container registry.
func (Registry) MarshalJSON ¶
MarshalJSON implements the json.Marshaller interface for type Registry.
type RegistryListCredentialsResult ¶
type RegistryListCredentialsResult struct { // The list of passwords for a container registry. Passwords []*RegistryPassword `json:"passwords,omitempty"` // The username for a container registry. Username *string `json:"username,omitempty"` }
RegistryListCredentialsResult - The response from the ListCredentials operation.
func (RegistryListCredentialsResult) MarshalJSON ¶
func (r RegistryListCredentialsResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type RegistryListCredentialsResult.
type RegistryListResult ¶
type RegistryListResult struct { // The URI that can be used to request the next list of container registries. NextLink *string `json:"nextLink,omitempty"` // 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"` }
RegistryListResult - The result of a request to list container registries.
func (RegistryListResult) MarshalJSON ¶
func (r RegistryListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type RegistryListResult.
type RegistryNameCheckRequest ¶
type RegistryNameCheckRequest struct { // REQUIRED; The name of the container registry. Name *string `json:"name,omitempty"` // REQUIRED; 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 ¶
type RegistryNameStatus struct { // If any, the error message that provides more detail for the reason that the name is not available. Message *string `json:"message,omitempty"` // The value that indicates whether the name is available. NameAvailable *bool `json:"nameAvailable,omitempty"` // If any, the reason that the name is not available. Reason *string `json:"reason,omitempty"` }
RegistryNameStatus - The result of a request to check the availability of a container registry name.
type RegistryPassword ¶
type RegistryPassword struct { // The password name. Name *PasswordName `json:"name,omitempty"` // The password value. Value *string `json:"value,omitempty"` }
RegistryPassword - The login password for the container registry.
type RegistryProperties ¶
type RegistryProperties struct { // The value that indicates whether the admin user is enabled. AdminUserEnabled *bool `json:"adminUserEnabled,omitempty"` // Enables registry-wide pull from unauthenticated clients. AnonymousPullEnabled *bool `json:"anonymousPullEnabled,omitempty"` // Enable a single data endpoint per region for serving data. DataEndpointEnabled *bool `json:"dataEndpointEnabled,omitempty"` // The encryption settings of container registry. Encryption *EncryptionProperty `json:"encryption,omitempty"` // Whether to allow trusted Azure services to access a network restricted registry. NetworkRuleBypassOptions *NetworkRuleBypassOptions `json:"networkRuleBypassOptions,omitempty"` // The network rule set for a container registry. NetworkRuleSet *NetworkRuleSet `json:"networkRuleSet,omitempty"` // The policies for a container registry. Policies *Policies `json:"policies,omitempty"` // Whether or not public network access is allowed for the container registry. PublicNetworkAccess *PublicNetworkAccess `json:"publicNetworkAccess,omitempty"` // Whether or not zone redundancy is enabled for this container registry ZoneRedundancy *ZoneRedundancy `json:"zoneRedundancy,omitempty"` // READ-ONLY; The creation date of the container registry in ISO8601 format. CreationDate *time.Time `json:"creationDate,omitempty" azure:"ro"` // READ-ONLY; List of host names that will serve data when dataEndpointEnabled is true. DataEndpointHostNames []*string `json:"dataEndpointHostNames,omitempty" azure:"ro"` // READ-ONLY; The URL that can be used to log into the container registry. LoginServer *string `json:"loginServer,omitempty" azure:"ro"` // READ-ONLY; List of private endpoint connections for a container registry. PrivateEndpointConnections []*PrivateEndpointConnection `json:"privateEndpointConnections,omitempty" azure:"ro"` // READ-ONLY; The provisioning state of the container registry at the time the operation was called. ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` // READ-ONLY; The status of the container registry at the time the operation was called. Status *Status `json:"status,omitempty" azure:"ro"` }
RegistryProperties - The properties of a container registry.
func (RegistryProperties) MarshalJSON ¶
func (r RegistryProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type RegistryProperties.
func (*RegistryProperties) UnmarshalJSON ¶
func (r *RegistryProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type RegistryProperties.
type RegistryPropertiesUpdateParameters ¶
type RegistryPropertiesUpdateParameters struct { // The value that indicates whether the admin user is enabled. AdminUserEnabled *bool `json:"adminUserEnabled,omitempty"` // Enables registry-wide pull from unauthenticated clients. AnonymousPullEnabled *bool `json:"anonymousPullEnabled,omitempty"` // Enable a single data endpoint per region for serving data. DataEndpointEnabled *bool `json:"dataEndpointEnabled,omitempty"` // The encryption settings of container registry. Encryption *EncryptionProperty `json:"encryption,omitempty"` // Whether to allow trusted Azure services to access a network restricted registry. NetworkRuleBypassOptions *NetworkRuleBypassOptions `json:"networkRuleBypassOptions,omitempty"` // The network rule set for a container registry. NetworkRuleSet *NetworkRuleSet `json:"networkRuleSet,omitempty"` // The policies for a container registry. Policies *Policies `json:"policies,omitempty"` // Whether or not public network access is allowed for the container registry. PublicNetworkAccess *PublicNetworkAccess `json:"publicNetworkAccess,omitempty"` }
RegistryPropertiesUpdateParameters - The parameters for updating the properties of a container registry.
type RegistryUpdateParameters ¶
type RegistryUpdateParameters struct { // The identity of the container registry. Identity *IdentityProperties `json:"identity,omitempty"` // The properties that the container registry will be updated with. Properties *RegistryPropertiesUpdateParameters `json:"properties,omitempty"` // The SKU of the container registry. SKU *SKU `json:"sku,omitempty"` // The tags for the container registry. Tags map[string]*string `json:"tags,omitempty"` }
RegistryUpdateParameters - The parameters for updating a container registry.
func (RegistryUpdateParameters) MarshalJSON ¶
func (r RegistryUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type RegistryUpdateParameters.
type RegistryUsage ¶
type RegistryUsage struct { // The current value of the usage. CurrentValue *int64 `json:"currentValue,omitempty"` // The limit of the usage. Limit *int64 `json:"limit,omitempty"` // The name of the usage. Name *string `json:"name,omitempty"` // The unit of measurement. Unit *RegistryUsageUnit `json:"unit,omitempty"` }
RegistryUsage - The quota usage for a container registry.
type RegistryUsageListResult ¶
type RegistryUsageListResult struct { // The list of container registry quota usages. Value []*RegistryUsage `json:"value,omitempty"` }
RegistryUsageListResult - The result of a request to get container registry quota usages.
func (RegistryUsageListResult) MarshalJSON ¶
func (r RegistryUsageListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type RegistryUsageListResult.
type RegistryUsageUnit ¶
type RegistryUsageUnit string
RegistryUsageUnit - The unit of measurement.
const ( RegistryUsageUnitBytes RegistryUsageUnit = "Bytes" RegistryUsageUnitCount RegistryUsageUnit = "Count" )
func PossibleRegistryUsageUnitValues ¶
func PossibleRegistryUsageUnitValues() []RegistryUsageUnit
PossibleRegistryUsageUnitValues returns the possible values for the RegistryUsageUnit const type.
func (RegistryUsageUnit) ToPtr ¶
func (c RegistryUsageUnit) ToPtr() *RegistryUsageUnit
ToPtr returns a *RegistryUsageUnit pointing to the current value.
type Replication ¶
type Replication struct { Resource // The properties of the replication. Properties *ReplicationProperties `json:"properties,omitempty"` }
Replication - An object that represents a replication for a container registry.
func (Replication) MarshalJSON ¶
func (r Replication) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type Replication.
type ReplicationListResult ¶
type ReplicationListResult struct { // The URI that can be used to request the next list of replications. NextLink *string `json:"nextLink,omitempty"` // The list of replications. Since this list may be incomplete, the nextLink field should be used to request the next list of replications. Value []*Replication `json:"value,omitempty"` }
ReplicationListResult - The result of a request to list replications for a container registry.
func (ReplicationListResult) MarshalJSON ¶
func (r ReplicationListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ReplicationListResult.
type ReplicationProperties ¶
type ReplicationProperties struct { // Specifies whether the replication's regional endpoint is enabled. Requests will not be routed to a replication whose regional endpoint is disabled, however // its data will continue to be synced with // other replications. RegionEndpointEnabled *bool `json:"regionEndpointEnabled,omitempty"` // Whether or not zone redundancy is enabled for this container registry replication ZoneRedundancy *ZoneRedundancy `json:"zoneRedundancy,omitempty"` // READ-ONLY; The provisioning state of the replication at the time the operation was called. ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` // READ-ONLY; The status of the replication at the time the operation was called. Status *Status `json:"status,omitempty" azure:"ro"` }
ReplicationProperties - The properties of a replication.
type ReplicationUpdateParameters ¶
type ReplicationUpdateParameters struct { // The parameters for updating a replication's properties Properties *ReplicationUpdateParametersProperties `json:"properties,omitempty"` // The tags for the replication. Tags map[string]*string `json:"tags,omitempty"` }
ReplicationUpdateParameters - The parameters for updating a replication.
func (ReplicationUpdateParameters) MarshalJSON ¶
func (r ReplicationUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ReplicationUpdateParameters.
type ReplicationUpdateParametersProperties ¶
type ReplicationUpdateParametersProperties struct { // Specifies whether the replication's regional endpoint is enabled. Requests will not be routed to a replication whose regional endpoint is disabled, however // its data will continue to be synced with // other replications. RegionEndpointEnabled *bool `json:"regionEndpointEnabled,omitempty"` }
type ReplicationsBeginCreateOptions ¶
type ReplicationsBeginCreateOptions struct { }
ReplicationsBeginCreateOptions contains the optional parameters for the Replications.BeginCreate method.
type ReplicationsBeginDeleteOptions ¶
type ReplicationsBeginDeleteOptions struct { }
ReplicationsBeginDeleteOptions contains the optional parameters for the Replications.BeginDelete method.
type ReplicationsBeginUpdateOptions ¶
type ReplicationsBeginUpdateOptions struct { }
ReplicationsBeginUpdateOptions contains the optional parameters for the Replications.BeginUpdate method.
type ReplicationsClient ¶
type ReplicationsClient struct {
// contains filtered or unexported fields
}
ReplicationsClient contains the methods for the Replications group. Don't use this type directly, use NewReplicationsClient() instead.
func NewReplicationsClient ¶
func NewReplicationsClient(con *arm.Connection, subscriptionID string) *ReplicationsClient
NewReplicationsClient creates a new instance of ReplicationsClient with the specified values.
func (*ReplicationsClient) BeginCreate ¶
func (client *ReplicationsClient) BeginCreate(ctx context.Context, resourceGroupName string, registryName string, replicationName string, replication Replication, options *ReplicationsBeginCreateOptions) (ReplicationsCreatePollerResponse, error)
BeginCreate - Creates a replication for a container registry with the specified parameters. If the operation fails it returns a generic error.
func (*ReplicationsClient) BeginDelete ¶
func (client *ReplicationsClient) BeginDelete(ctx context.Context, resourceGroupName string, registryName string, replicationName string, options *ReplicationsBeginDeleteOptions) (ReplicationsDeletePollerResponse, error)
BeginDelete - Deletes a replication from a container registry. If the operation fails it returns a generic error.
func (*ReplicationsClient) BeginUpdate ¶
func (client *ReplicationsClient) BeginUpdate(ctx context.Context, resourceGroupName string, registryName string, replicationName string, replicationUpdateParameters ReplicationUpdateParameters, options *ReplicationsBeginUpdateOptions) (ReplicationsUpdatePollerResponse, error)
BeginUpdate - Updates a replication for a container registry with the specified parameters. If the operation fails it returns a generic error.
func (*ReplicationsClient) Get ¶
func (client *ReplicationsClient) Get(ctx context.Context, resourceGroupName string, registryName string, replicationName string, options *ReplicationsGetOptions) (ReplicationsGetResponse, error)
Get - Gets the properties of the specified replication. If the operation fails it returns a generic error.
func (*ReplicationsClient) List ¶
func (client *ReplicationsClient) List(resourceGroupName string, registryName string, options *ReplicationsListOptions) *ReplicationsListPager
List - Lists all the replications for the specified container registry. If the operation fails it returns a generic error.
type ReplicationsCreatePoller ¶
type ReplicationsCreatePoller struct {
// contains filtered or unexported fields
}
ReplicationsCreatePoller provides polling facilities until the operation reaches a terminal state.
func (*ReplicationsCreatePoller) Done ¶
func (p *ReplicationsCreatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*ReplicationsCreatePoller) FinalResponse ¶
func (p *ReplicationsCreatePoller) FinalResponse(ctx context.Context) (ReplicationsCreateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ReplicationsCreateResponse will be returned.
func (*ReplicationsCreatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*ReplicationsCreatePoller) ResumeToken ¶
func (p *ReplicationsCreatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type ReplicationsCreatePollerResponse ¶
type ReplicationsCreatePollerResponse struct { // Poller contains an initialized poller. Poller *ReplicationsCreatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ReplicationsCreatePollerResponse contains the response from method Replications.Create.
func (ReplicationsCreatePollerResponse) PollUntilDone ¶
func (l ReplicationsCreatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (ReplicationsCreateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.
func (*ReplicationsCreatePollerResponse) Resume ¶
func (l *ReplicationsCreatePollerResponse) Resume(ctx context.Context, client *ReplicationsClient, token string) error
Resume rehydrates a ReplicationsCreatePollerResponse from the provided client and resume token.
type ReplicationsCreateResponse ¶
type ReplicationsCreateResponse struct { ReplicationsCreateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ReplicationsCreateResponse contains the response from method Replications.Create.
type ReplicationsCreateResult ¶
type ReplicationsCreateResult struct {
Replication
}
ReplicationsCreateResult contains the result from method Replications.Create.
type ReplicationsDeletePoller ¶
type ReplicationsDeletePoller struct {
// contains filtered or unexported fields
}
ReplicationsDeletePoller provides polling facilities until the operation reaches a terminal state.
func (*ReplicationsDeletePoller) Done ¶
func (p *ReplicationsDeletePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*ReplicationsDeletePoller) FinalResponse ¶
func (p *ReplicationsDeletePoller) FinalResponse(ctx context.Context) (ReplicationsDeleteResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ReplicationsDeleteResponse will be returned.
func (*ReplicationsDeletePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*ReplicationsDeletePoller) ResumeToken ¶
func (p *ReplicationsDeletePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type ReplicationsDeletePollerResponse ¶
type ReplicationsDeletePollerResponse struct { // Poller contains an initialized poller. Poller *ReplicationsDeletePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ReplicationsDeletePollerResponse contains the response from method Replications.Delete.
func (ReplicationsDeletePollerResponse) PollUntilDone ¶
func (l ReplicationsDeletePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (ReplicationsDeleteResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.
func (*ReplicationsDeletePollerResponse) Resume ¶
func (l *ReplicationsDeletePollerResponse) Resume(ctx context.Context, client *ReplicationsClient, token string) error
Resume rehydrates a ReplicationsDeletePollerResponse from the provided client and resume token.
type ReplicationsDeleteResponse ¶
type ReplicationsDeleteResponse struct { // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ReplicationsDeleteResponse contains the response from method Replications.Delete.
type ReplicationsGetOptions ¶
type ReplicationsGetOptions struct { }
ReplicationsGetOptions contains the optional parameters for the Replications.Get method.
type ReplicationsGetResponse ¶
type ReplicationsGetResponse struct { ReplicationsGetResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ReplicationsGetResponse contains the response from method Replications.Get.
type ReplicationsGetResult ¶
type ReplicationsGetResult struct {
Replication
}
ReplicationsGetResult contains the result from method Replications.Get.
type ReplicationsListOptions ¶
type ReplicationsListOptions struct { }
ReplicationsListOptions contains the optional parameters for the Replications.List method.
type ReplicationsListPager ¶
type ReplicationsListPager struct {
// contains filtered or unexported fields
}
ReplicationsListPager provides operations for iterating over paged responses.
func (*ReplicationsListPager) Err ¶
func (p *ReplicationsListPager) Err() error
Err returns the last error encountered while paging.
func (*ReplicationsListPager) NextPage ¶
func (p *ReplicationsListPager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*ReplicationsListPager) PageResponse ¶
func (p *ReplicationsListPager) PageResponse() ReplicationsListResponse
PageResponse returns the current ReplicationsListResponse page.
type ReplicationsListResponse ¶
type ReplicationsListResponse struct { ReplicationsListResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ReplicationsListResponse contains the response from method Replications.List.
type ReplicationsListResult ¶
type ReplicationsListResult struct {
ReplicationListResult
}
ReplicationsListResult contains the result from method Replications.List.
type ReplicationsUpdatePoller ¶
type ReplicationsUpdatePoller struct {
// contains filtered or unexported fields
}
ReplicationsUpdatePoller provides polling facilities until the operation reaches a terminal state.
func (*ReplicationsUpdatePoller) Done ¶
func (p *ReplicationsUpdatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*ReplicationsUpdatePoller) FinalResponse ¶
func (p *ReplicationsUpdatePoller) FinalResponse(ctx context.Context) (ReplicationsUpdateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ReplicationsUpdateResponse will be returned.
func (*ReplicationsUpdatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*ReplicationsUpdatePoller) ResumeToken ¶
func (p *ReplicationsUpdatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type ReplicationsUpdatePollerResponse ¶
type ReplicationsUpdatePollerResponse struct { // Poller contains an initialized poller. Poller *ReplicationsUpdatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ReplicationsUpdatePollerResponse contains the response from method Replications.Update.
func (ReplicationsUpdatePollerResponse) PollUntilDone ¶
func (l ReplicationsUpdatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (ReplicationsUpdateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.
func (*ReplicationsUpdatePollerResponse) Resume ¶
func (l *ReplicationsUpdatePollerResponse) Resume(ctx context.Context, client *ReplicationsClient, token string) error
Resume rehydrates a ReplicationsUpdatePollerResponse from the provided client and resume token.
type ReplicationsUpdateResponse ¶
type ReplicationsUpdateResponse struct { ReplicationsUpdateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ReplicationsUpdateResponse contains the response from method Replications.Update.
type ReplicationsUpdateResult ¶
type ReplicationsUpdateResult struct {
Replication
}
ReplicationsUpdateResult contains the result from method Replications.Update.
type Request ¶
type Request struct { // The IP or hostname and possibly port of the client connection that initiated the event. This is the RemoteAddr from the standard http request. Addr *string `json:"addr,omitempty"` // The externally accessible hostname of the registry instance, as specified by the http host header on incoming requests. Host *string `json:"host,omitempty"` // The ID of the request that initiated the event. ID *string `json:"id,omitempty"` // The request method that generated the event. Method *string `json:"method,omitempty"` // The user agent header of the request. Useragent *string `json:"useragent,omitempty"` }
Request - The request that generated the event.
type Resource ¶
type Resource struct { // REQUIRED; The location of the resource. This cannot be changed after the resource is created. Location *string `json:"location,omitempty"` // The tags of the resource. Tags map[string]*string `json:"tags,omitempty"` // READ-ONLY; The resource ID. ID *string `json:"id,omitempty" azure:"ro"` // READ-ONLY; The name of the resource. Name *string `json:"name,omitempty" azure:"ro"` // READ-ONLY; Metadata pertaining to creation and last modification of the resource. SystemData *SystemData `json:"systemData,omitempty" azure:"ro"` // READ-ONLY; The type of the resource. Type *string `json:"type,omitempty" azure:"ro"` }
Resource - An Azure resource.
func (Resource) MarshalJSON ¶
MarshalJSON implements the json.Marshaller interface for type Resource.
type ResourceIdentityType ¶
type ResourceIdentityType string
ResourceIdentityType - The identity type.
const ( ResourceIdentityTypeSystemAssigned ResourceIdentityType = "SystemAssigned" ResourceIdentityTypeUserAssigned ResourceIdentityType = "UserAssigned" ResourceIdentityTypeSystemAssignedUserAssigned ResourceIdentityType = "SystemAssigned, UserAssigned" ResourceIdentityTypeNone ResourceIdentityType = "None" )
func PossibleResourceIdentityTypeValues ¶
func PossibleResourceIdentityTypeValues() []ResourceIdentityType
PossibleResourceIdentityTypeValues returns the possible values for the ResourceIdentityType const type.
func (ResourceIdentityType) ToPtr ¶
func (c ResourceIdentityType) ToPtr() *ResourceIdentityType
ToPtr returns a *ResourceIdentityType pointing to the current value.
type RetentionPolicy ¶
type RetentionPolicy struct { // The number of days to retain an untagged manifest after which it gets purged. Days *int32 `json:"days,omitempty"` // The value that indicates whether the policy is enabled or not. Status *PolicyStatus `json:"status,omitempty"` // READ-ONLY; The timestamp when the policy was last updated. LastUpdatedTime *time.Time `json:"lastUpdatedTime,omitempty" azure:"ro"` }
RetentionPolicy - The retention policy for a container registry.
func (RetentionPolicy) MarshalJSON ¶
func (r RetentionPolicy) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type RetentionPolicy.
func (*RetentionPolicy) UnmarshalJSON ¶
func (r *RetentionPolicy) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type RetentionPolicy.
type Run ¶
type Run struct { ProxyResource // The properties of a run. Properties *RunProperties `json:"properties,omitempty"` }
Run resource properties
type RunFilter ¶
type RunFilter struct { // The name of the agent pool that the run corresponds to. AgentPoolName *string `json:"agentPoolName,omitempty"` // The create time for a run. CreateTime *time.Time `json:"createTime,omitempty"` // The time the run finished. FinishTime *time.Time `json:"finishTime,omitempty"` // The value that indicates whether archiving is enabled or not. IsArchiveEnabled *bool `json:"isArchiveEnabled,omitempty"` // The list of comma-separated image manifests that were generated from the run. This is applicable if the run is of build type. OutputImageManifests *string `json:"outputImageManifests,omitempty"` // The unique identifier for the run. RunID *string `json:"runId,omitempty"` // The type of run. RunType *RunType `json:"runType,omitempty"` // The current status of the run. Status *RunStatus `json:"status,omitempty"` // The name of the task that the run corresponds to. TaskName *string `json:"taskName,omitempty"` }
RunFilter - Properties that are enabled for Odata querying on runs.
func (RunFilter) MarshalJSON ¶
MarshalJSON implements the json.Marshaller interface for type RunFilter.
func (*RunFilter) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaller interface for type RunFilter.
type RunGetLogResult ¶
type RunGetLogResult struct { // The link to logs in registry for a run on a azure container registry. LogArtifactLink *string `json:"logArtifactLink,omitempty"` // The link to logs for a run on a azure container registry. LogLink *string `json:"logLink,omitempty"` }
RunGetLogResult - The result of get log link operation.
type RunListResult ¶
type RunListResult struct { // The URI that can be used to request the next set of paged results. NextLink *string `json:"nextLink,omitempty"` // The collection value. Value []*Run `json:"value,omitempty"` }
RunListResult - Collection of runs.
func (RunListResult) MarshalJSON ¶
func (r RunListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type RunListResult.
type RunProperties ¶
type RunProperties struct { // The machine configuration of the run agent. AgentConfiguration *AgentProperties `json:"agentConfiguration,omitempty"` // The dedicated agent pool for the run. AgentPoolName *string `json:"agentPoolName,omitempty"` // The time the run was scheduled. CreateTime *time.Time `json:"createTime,omitempty"` // The list of custom registries that were logged in during this run. CustomRegistries []*string `json:"customRegistries,omitempty"` // The time the run finished. FinishTime *time.Time `json:"finishTime,omitempty"` // The image update trigger that caused the run. This is applicable if the task has base image trigger configured. ImageUpdateTrigger *ImageUpdateTrigger `json:"imageUpdateTrigger,omitempty"` // The value that indicates whether archiving is enabled or not. IsArchiveEnabled *bool `json:"isArchiveEnabled,omitempty"` // The last updated time for the run. LastUpdatedTime *time.Time `json:"lastUpdatedTime,omitempty"` // The list of all images that were generated from the run. This is applicable if the run generates base image dependencies. OutputImages []*ImageDescriptor `json:"outputImages,omitempty"` // The platform properties against which the run will happen. Platform *PlatformProperties `json:"platform,omitempty"` // The provisioning state of a run. ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` // The unique identifier for the run. RunID *string `json:"runId,omitempty"` // The type of run. RunType *RunType `json:"runType,omitempty"` // The scope of the credentials that were used to login to the source registry during this run. SourceRegistryAuth *string `json:"sourceRegistryAuth,omitempty"` // The source trigger that caused the run. SourceTrigger *SourceTriggerDescriptor `json:"sourceTrigger,omitempty"` // The time the run started. StartTime *time.Time `json:"startTime,omitempty"` // The current status of the run. Status *RunStatus `json:"status,omitempty"` // The task against which run was scheduled. Task *string `json:"task,omitempty"` // The timer trigger that caused the run. TimerTrigger *TimerTriggerDescriptor `json:"timerTrigger,omitempty"` // The update trigger token passed for the Run. UpdateTriggerToken *string `json:"updateTriggerToken,omitempty"` // READ-ONLY; The image description for the log artifact. LogArtifact *ImageDescriptor `json:"logArtifact,omitempty" azure:"ro"` // READ-ONLY; The error message received from backend systems after the run is scheduled. RunErrorMessage *string `json:"runErrorMessage,omitempty" azure:"ro"` }
RunProperties - The properties for a run.
func (RunProperties) MarshalJSON ¶
func (r RunProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type RunProperties.
func (*RunProperties) UnmarshalJSON ¶
func (r *RunProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type RunProperties.
type RunRequest ¶
type RunRequest struct { // REQUIRED; The type of the run request. Type *string `json:"type,omitempty"` // The dedicated agent pool for the run. AgentPoolName *string `json:"agentPoolName,omitempty"` // The value that indicates whether archiving is enabled for the run or not. IsArchiveEnabled *bool `json:"isArchiveEnabled,omitempty"` // The template that describes the repository and tag information for run log artifact. LogTemplate *string `json:"logTemplate,omitempty"` }
RunRequest - The request parameters for scheduling a run.
func (*RunRequest) GetRunRequest ¶
func (r *RunRequest) GetRunRequest() *RunRequest
GetRunRequest implements the RunRequestClassification interface for type RunRequest.
func (*RunRequest) UnmarshalJSON ¶
func (r *RunRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type RunRequest.
type RunRequestClassification ¶
type RunRequestClassification interface { // GetRunRequest returns the RunRequest content of the underlying type. GetRunRequest() *RunRequest }
RunRequestClassification provides polymorphic access to related types. Call the interface's GetRunRequest() method to access the common type. Use a type switch to determine the concrete type. The possible types are: - *DockerBuildRequest, *EncodedTaskRunRequest, *FileTaskRunRequest, *RunRequest, *TaskRunRequest
type RunStatus ¶
type RunStatus string
RunStatus - The current status of the run.
const ( RunStatusCanceled RunStatus = "Canceled" RunStatusError RunStatus = "Error" RunStatusFailed RunStatus = "Failed" RunStatusQueued RunStatus = "Queued" RunStatusRunning RunStatus = "Running" RunStatusStarted RunStatus = "Started" RunStatusSucceeded RunStatus = "Succeeded" RunStatusTimeout RunStatus = "Timeout" )
func PossibleRunStatusValues ¶
func PossibleRunStatusValues() []RunStatus
PossibleRunStatusValues returns the possible values for the RunStatus const type.
type RunType ¶
type RunType string
RunType - The type of run.
func PossibleRunTypeValues ¶
func PossibleRunTypeValues() []RunType
PossibleRunTypeValues returns the possible values for the RunType const type.
type RunUpdateParameters ¶
type RunUpdateParameters struct { // The value that indicates whether archiving is enabled or not. IsArchiveEnabled *bool `json:"isArchiveEnabled,omitempty"` }
RunUpdateParameters - The set of run properties that can be updated.
func (RunUpdateParameters) MarshalJSON ¶
func (r RunUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type RunUpdateParameters.
type RunsBeginCancelOptions ¶
type RunsBeginCancelOptions struct { }
RunsBeginCancelOptions contains the optional parameters for the Runs.BeginCancel method.
type RunsBeginUpdateOptions ¶
type RunsBeginUpdateOptions struct { }
RunsBeginUpdateOptions contains the optional parameters for the Runs.BeginUpdate method.
type RunsCancelPoller ¶
type RunsCancelPoller struct {
// contains filtered or unexported fields
}
RunsCancelPoller provides polling facilities until the operation reaches a terminal state.
func (*RunsCancelPoller) Done ¶
func (p *RunsCancelPoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*RunsCancelPoller) FinalResponse ¶
func (p *RunsCancelPoller) FinalResponse(ctx context.Context) (RunsCancelResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final RunsCancelResponse will be returned.
func (*RunsCancelPoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*RunsCancelPoller) ResumeToken ¶
func (p *RunsCancelPoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type RunsCancelPollerResponse ¶
type RunsCancelPollerResponse struct { // Poller contains an initialized poller. Poller *RunsCancelPoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RunsCancelPollerResponse contains the response from method Runs.Cancel.
func (RunsCancelPollerResponse) PollUntilDone ¶
func (l RunsCancelPollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (RunsCancelResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.
func (*RunsCancelPollerResponse) Resume ¶
func (l *RunsCancelPollerResponse) Resume(ctx context.Context, client *RunsClient, token string) error
Resume rehydrates a RunsCancelPollerResponse from the provided client and resume token.
type RunsCancelResponse ¶
type RunsCancelResponse struct { // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RunsCancelResponse contains the response from method Runs.Cancel.
type RunsClient ¶
type RunsClient struct {
// contains filtered or unexported fields
}
RunsClient contains the methods for the Runs group. Don't use this type directly, use NewRunsClient() instead.
func NewRunsClient ¶
func NewRunsClient(con *arm.Connection, subscriptionID string) *RunsClient
NewRunsClient creates a new instance of RunsClient with the specified values.
func (*RunsClient) BeginCancel ¶
func (client *RunsClient) BeginCancel(ctx context.Context, resourceGroupName string, registryName string, runID string, options *RunsBeginCancelOptions) (RunsCancelPollerResponse, error)
BeginCancel - Cancel an existing run. If the operation fails it returns the *ErrorResponse error type.
func (*RunsClient) BeginUpdate ¶
func (client *RunsClient) BeginUpdate(ctx context.Context, resourceGroupName string, registryName string, runID string, runUpdateParameters RunUpdateParameters, options *RunsBeginUpdateOptions) (RunsUpdatePollerResponse, error)
BeginUpdate - Patch the run properties. If the operation fails it returns the *ErrorResponse error type.
func (*RunsClient) Get ¶
func (client *RunsClient) Get(ctx context.Context, resourceGroupName string, registryName string, runID string, options *RunsGetOptions) (RunsGetResponse, error)
Get - Gets the detailed information for a given run. If the operation fails it returns the *ErrorResponse error type.
func (*RunsClient) GetLogSasURL ¶
func (client *RunsClient) GetLogSasURL(ctx context.Context, resourceGroupName string, registryName string, runID string, options *RunsGetLogSasURLOptions) (RunsGetLogSasURLResponse, error)
GetLogSasURL - Gets a link to download the run logs. If the operation fails it returns the *ErrorResponse error type.
func (*RunsClient) List ¶
func (client *RunsClient) List(resourceGroupName string, registryName string, options *RunsListOptions) *RunsListPager
List - Gets all the runs for a registry. If the operation fails it returns the *ErrorResponse error type.
type RunsGetLogSasURLOptions ¶
type RunsGetLogSasURLOptions struct { }
RunsGetLogSasURLOptions contains the optional parameters for the Runs.GetLogSasURL method.
type RunsGetLogSasURLResponse ¶
type RunsGetLogSasURLResponse struct { RunsGetLogSasURLResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RunsGetLogSasURLResponse contains the response from method Runs.GetLogSasURL.
type RunsGetLogSasURLResult ¶
type RunsGetLogSasURLResult struct {
RunGetLogResult
}
RunsGetLogSasURLResult contains the result from method Runs.GetLogSasURL.
type RunsGetOptions ¶
type RunsGetOptions struct { }
RunsGetOptions contains the optional parameters for the Runs.Get method.
type RunsGetResponse ¶
type RunsGetResponse struct { RunsGetResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RunsGetResponse contains the response from method Runs.Get.
type RunsGetResult ¶
type RunsGetResult struct {
Run
}
RunsGetResult contains the result from method Runs.Get.
type RunsListOptions ¶
type RunsListOptions struct { // The runs filter to apply on the operation. Arithmetic operators are not supported. The allowed string function is 'contains'. All logical operators except // 'Not', 'Has', 'All' are allowed. Filter *string // $top is supported for get list of runs, which limits the maximum number of runs to return. Top *int32 }
RunsListOptions contains the optional parameters for the Runs.List method.
type RunsListPager ¶
type RunsListPager struct {
// contains filtered or unexported fields
}
RunsListPager provides operations for iterating over paged responses.
func (*RunsListPager) Err ¶
func (p *RunsListPager) Err() error
Err returns the last error encountered while paging.
func (*RunsListPager) NextPage ¶
func (p *RunsListPager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*RunsListPager) PageResponse ¶
func (p *RunsListPager) PageResponse() RunsListResponse
PageResponse returns the current RunsListResponse page.
type RunsListResponse ¶
type RunsListResponse struct { RunsListResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RunsListResponse contains the response from method Runs.List.
type RunsListResult ¶
type RunsListResult struct {
RunListResult
}
RunsListResult contains the result from method Runs.List.
type RunsUpdatePoller ¶
type RunsUpdatePoller struct {
// contains filtered or unexported fields
}
RunsUpdatePoller provides polling facilities until the operation reaches a terminal state.
func (*RunsUpdatePoller) Done ¶
func (p *RunsUpdatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*RunsUpdatePoller) FinalResponse ¶
func (p *RunsUpdatePoller) FinalResponse(ctx context.Context) (RunsUpdateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final RunsUpdateResponse will be returned.
func (*RunsUpdatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*RunsUpdatePoller) ResumeToken ¶
func (p *RunsUpdatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type RunsUpdatePollerResponse ¶
type RunsUpdatePollerResponse struct { // Poller contains an initialized poller. Poller *RunsUpdatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RunsUpdatePollerResponse contains the response from method Runs.Update.
func (RunsUpdatePollerResponse) PollUntilDone ¶
func (l RunsUpdatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (RunsUpdateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.
func (*RunsUpdatePollerResponse) Resume ¶
func (l *RunsUpdatePollerResponse) Resume(ctx context.Context, client *RunsClient, token string) error
Resume rehydrates a RunsUpdatePollerResponse from the provided client and resume token.
type RunsUpdateResponse ¶
type RunsUpdateResponse struct { RunsUpdateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
RunsUpdateResponse contains the response from method Runs.Update.
type RunsUpdateResult ¶
type RunsUpdateResult struct {
Run
}
RunsUpdateResult contains the result from method Runs.Update.
type SKU ¶
type SKU struct { // REQUIRED; The SKU name of the container registry. Required for registry creation. Name *SKUName `json:"name,omitempty"` // READ-ONLY; The SKU tier based on the SKU name. Tier *SKUTier `json:"tier,omitempty" azure:"ro"` }
SKU - The SKU of a container registry.
type SKUName ¶
type SKUName string
SKUName - The SKU name of the container registry. Required for registry creation.
func PossibleSKUNameValues ¶
func PossibleSKUNameValues() []SKUName
PossibleSKUNameValues returns the possible values for the SKUName const type.
type SKUTier ¶
type SKUTier string
SKUTier - The SKU tier based on the SKU name.
func PossibleSKUTierValues ¶
func PossibleSKUTierValues() []SKUTier
PossibleSKUTierValues returns the possible values for the SKUTier const type.
type ScopeMap ¶
type ScopeMap struct { ProxyResource // The properties of the scope map. Properties *ScopeMapProperties `json:"properties,omitempty"` }
ScopeMap - An object that represents a scope map for a container registry.
type ScopeMapListResult ¶
type ScopeMapListResult struct { // The URI that can be used to request the next list of scope maps. NextLink *string `json:"nextLink,omitempty"` // The list of scope maps. Since this list may be incomplete, the nextLink field should be used to request the next list of scope maps. Value []*ScopeMap `json:"value,omitempty"` }
ScopeMapListResult - The result of a request to list scope maps for a container registry.
func (ScopeMapListResult) MarshalJSON ¶
func (s ScopeMapListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ScopeMapListResult.
type ScopeMapProperties ¶
type ScopeMapProperties struct { // REQUIRED; The list of scoped permissions for registry artifacts. E.g. repositories/repository-name/content/read, repositories/repository-name/metadata/write Actions []*string `json:"actions,omitempty"` // The user friendly description of the scope map. Description *string `json:"description,omitempty"` // READ-ONLY; The creation date of scope map. CreationDate *time.Time `json:"creationDate,omitempty" azure:"ro"` // READ-ONLY; Provisioning state of the resource. ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` // READ-ONLY; The type of the scope map. E.g. BuildIn scope map. Type *string `json:"type,omitempty" azure:"ro"` }
ScopeMapProperties - The properties of a scope map.
func (ScopeMapProperties) MarshalJSON ¶
func (s ScopeMapProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ScopeMapProperties.
func (*ScopeMapProperties) UnmarshalJSON ¶
func (s *ScopeMapProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type ScopeMapProperties.
type ScopeMapPropertiesUpdateParameters ¶
type ScopeMapPropertiesUpdateParameters struct { // The list of scope permissions for registry artifacts. E.g. repositories/repository-name/pull, repositories/repository-name/delete Actions []*string `json:"actions,omitempty"` // The user friendly description of the scope map. Description *string `json:"description,omitempty"` }
ScopeMapPropertiesUpdateParameters - The update parameters for scope map properties.
func (ScopeMapPropertiesUpdateParameters) MarshalJSON ¶
func (s ScopeMapPropertiesUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ScopeMapPropertiesUpdateParameters.
type ScopeMapUpdateParameters ¶
type ScopeMapUpdateParameters struct { // The update parameters for scope map properties. Properties *ScopeMapPropertiesUpdateParameters `json:"properties,omitempty"` }
ScopeMapUpdateParameters - The properties for updating the scope map.
func (ScopeMapUpdateParameters) MarshalJSON ¶
func (s ScopeMapUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type ScopeMapUpdateParameters.
type ScopeMapsBeginCreateOptions ¶
type ScopeMapsBeginCreateOptions struct { }
ScopeMapsBeginCreateOptions contains the optional parameters for the ScopeMaps.BeginCreate method.
type ScopeMapsBeginDeleteOptions ¶
type ScopeMapsBeginDeleteOptions struct { }
ScopeMapsBeginDeleteOptions contains the optional parameters for the ScopeMaps.BeginDelete method.
type ScopeMapsBeginUpdateOptions ¶
type ScopeMapsBeginUpdateOptions struct { }
ScopeMapsBeginUpdateOptions contains the optional parameters for the ScopeMaps.BeginUpdate method.
type ScopeMapsClient ¶
type ScopeMapsClient struct {
// contains filtered or unexported fields
}
ScopeMapsClient contains the methods for the ScopeMaps group. Don't use this type directly, use NewScopeMapsClient() instead.
func NewScopeMapsClient ¶
func NewScopeMapsClient(con *arm.Connection, subscriptionID string) *ScopeMapsClient
NewScopeMapsClient creates a new instance of ScopeMapsClient with the specified values.
func (*ScopeMapsClient) BeginCreate ¶
func (client *ScopeMapsClient) BeginCreate(ctx context.Context, resourceGroupName string, registryName string, scopeMapName string, scopeMapCreateParameters ScopeMap, options *ScopeMapsBeginCreateOptions) (ScopeMapsCreatePollerResponse, error)
BeginCreate - Creates a scope map for a container registry with the specified parameters. If the operation fails it returns a generic error.
func (*ScopeMapsClient) BeginDelete ¶
func (client *ScopeMapsClient) BeginDelete(ctx context.Context, resourceGroupName string, registryName string, scopeMapName string, options *ScopeMapsBeginDeleteOptions) (ScopeMapsDeletePollerResponse, error)
BeginDelete - Deletes a scope map from a container registry. If the operation fails it returns a generic error.
func (*ScopeMapsClient) BeginUpdate ¶
func (client *ScopeMapsClient) BeginUpdate(ctx context.Context, resourceGroupName string, registryName string, scopeMapName string, scopeMapUpdateParameters ScopeMapUpdateParameters, options *ScopeMapsBeginUpdateOptions) (ScopeMapsUpdatePollerResponse, error)
BeginUpdate - Updates a scope map with the specified parameters. If the operation fails it returns a generic error.
func (*ScopeMapsClient) Get ¶
func (client *ScopeMapsClient) Get(ctx context.Context, resourceGroupName string, registryName string, scopeMapName string, options *ScopeMapsGetOptions) (ScopeMapsGetResponse, error)
Get - Gets the properties of the specified scope map. If the operation fails it returns a generic error.
func (*ScopeMapsClient) List ¶
func (client *ScopeMapsClient) List(resourceGroupName string, registryName string, options *ScopeMapsListOptions) *ScopeMapsListPager
List - Lists all the scope maps for the specified container registry. If the operation fails it returns a generic error.
type ScopeMapsCreatePoller ¶
type ScopeMapsCreatePoller struct {
// contains filtered or unexported fields
}
ScopeMapsCreatePoller provides polling facilities until the operation reaches a terminal state.
func (*ScopeMapsCreatePoller) Done ¶
func (p *ScopeMapsCreatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*ScopeMapsCreatePoller) FinalResponse ¶
func (p *ScopeMapsCreatePoller) FinalResponse(ctx context.Context) (ScopeMapsCreateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ScopeMapsCreateResponse will be returned.
func (*ScopeMapsCreatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*ScopeMapsCreatePoller) ResumeToken ¶
func (p *ScopeMapsCreatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type ScopeMapsCreatePollerResponse ¶
type ScopeMapsCreatePollerResponse struct { // Poller contains an initialized poller. Poller *ScopeMapsCreatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ScopeMapsCreatePollerResponse contains the response from method ScopeMaps.Create.
func (ScopeMapsCreatePollerResponse) PollUntilDone ¶
func (l ScopeMapsCreatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (ScopeMapsCreateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.
func (*ScopeMapsCreatePollerResponse) Resume ¶
func (l *ScopeMapsCreatePollerResponse) Resume(ctx context.Context, client *ScopeMapsClient, token string) error
Resume rehydrates a ScopeMapsCreatePollerResponse from the provided client and resume token.
type ScopeMapsCreateResponse ¶
type ScopeMapsCreateResponse struct { ScopeMapsCreateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ScopeMapsCreateResponse contains the response from method ScopeMaps.Create.
type ScopeMapsCreateResult ¶
type ScopeMapsCreateResult struct {
ScopeMap
}
ScopeMapsCreateResult contains the result from method ScopeMaps.Create.
type ScopeMapsDeletePoller ¶
type ScopeMapsDeletePoller struct {
// contains filtered or unexported fields
}
ScopeMapsDeletePoller provides polling facilities until the operation reaches a terminal state.
func (*ScopeMapsDeletePoller) Done ¶
func (p *ScopeMapsDeletePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*ScopeMapsDeletePoller) FinalResponse ¶
func (p *ScopeMapsDeletePoller) FinalResponse(ctx context.Context) (ScopeMapsDeleteResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ScopeMapsDeleteResponse will be returned.
func (*ScopeMapsDeletePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*ScopeMapsDeletePoller) ResumeToken ¶
func (p *ScopeMapsDeletePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type ScopeMapsDeletePollerResponse ¶
type ScopeMapsDeletePollerResponse struct { // Poller contains an initialized poller. Poller *ScopeMapsDeletePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ScopeMapsDeletePollerResponse contains the response from method ScopeMaps.Delete.
func (ScopeMapsDeletePollerResponse) PollUntilDone ¶
func (l ScopeMapsDeletePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (ScopeMapsDeleteResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.
func (*ScopeMapsDeletePollerResponse) Resume ¶
func (l *ScopeMapsDeletePollerResponse) Resume(ctx context.Context, client *ScopeMapsClient, token string) error
Resume rehydrates a ScopeMapsDeletePollerResponse from the provided client and resume token.
type ScopeMapsDeleteResponse ¶
type ScopeMapsDeleteResponse struct { // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ScopeMapsDeleteResponse contains the response from method ScopeMaps.Delete.
type ScopeMapsGetOptions ¶
type ScopeMapsGetOptions struct { }
ScopeMapsGetOptions contains the optional parameters for the ScopeMaps.Get method.
type ScopeMapsGetResponse ¶
type ScopeMapsGetResponse struct { ScopeMapsGetResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ScopeMapsGetResponse contains the response from method ScopeMaps.Get.
type ScopeMapsGetResult ¶
type ScopeMapsGetResult struct {
ScopeMap
}
ScopeMapsGetResult contains the result from method ScopeMaps.Get.
type ScopeMapsListOptions ¶
type ScopeMapsListOptions struct { }
ScopeMapsListOptions contains the optional parameters for the ScopeMaps.List method.
type ScopeMapsListPager ¶
type ScopeMapsListPager struct {
// contains filtered or unexported fields
}
ScopeMapsListPager provides operations for iterating over paged responses.
func (*ScopeMapsListPager) Err ¶
func (p *ScopeMapsListPager) Err() error
Err returns the last error encountered while paging.
func (*ScopeMapsListPager) NextPage ¶
func (p *ScopeMapsListPager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*ScopeMapsListPager) PageResponse ¶
func (p *ScopeMapsListPager) PageResponse() ScopeMapsListResponse
PageResponse returns the current ScopeMapsListResponse page.
type ScopeMapsListResponse ¶
type ScopeMapsListResponse struct { ScopeMapsListResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ScopeMapsListResponse contains the response from method ScopeMaps.List.
type ScopeMapsListResult ¶
type ScopeMapsListResult struct {
ScopeMapListResult
}
ScopeMapsListResult contains the result from method ScopeMaps.List.
type ScopeMapsUpdatePoller ¶
type ScopeMapsUpdatePoller struct {
// contains filtered or unexported fields
}
ScopeMapsUpdatePoller provides polling facilities until the operation reaches a terminal state.
func (*ScopeMapsUpdatePoller) Done ¶
func (p *ScopeMapsUpdatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*ScopeMapsUpdatePoller) FinalResponse ¶
func (p *ScopeMapsUpdatePoller) FinalResponse(ctx context.Context) (ScopeMapsUpdateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final ScopeMapsUpdateResponse will be returned.
func (*ScopeMapsUpdatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*ScopeMapsUpdatePoller) ResumeToken ¶
func (p *ScopeMapsUpdatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type ScopeMapsUpdatePollerResponse ¶
type ScopeMapsUpdatePollerResponse struct { // Poller contains an initialized poller. Poller *ScopeMapsUpdatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ScopeMapsUpdatePollerResponse contains the response from method ScopeMaps.Update.
func (ScopeMapsUpdatePollerResponse) PollUntilDone ¶
func (l ScopeMapsUpdatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (ScopeMapsUpdateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.
func (*ScopeMapsUpdatePollerResponse) Resume ¶
func (l *ScopeMapsUpdatePollerResponse) Resume(ctx context.Context, client *ScopeMapsClient, token string) error
Resume rehydrates a ScopeMapsUpdatePollerResponse from the provided client and resume token.
type ScopeMapsUpdateResponse ¶
type ScopeMapsUpdateResponse struct { ScopeMapsUpdateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
ScopeMapsUpdateResponse contains the response from method ScopeMaps.Update.
type ScopeMapsUpdateResult ¶
type ScopeMapsUpdateResult struct {
ScopeMap
}
ScopeMapsUpdateResult contains the result from method ScopeMaps.Update.
type SecretObject ¶
type SecretObject struct { // The type of the secret object which determines how the value of the secret object has to be interpreted. Type *SecretObjectType `json:"type,omitempty"` // The value of the secret. The format of this value will be determined based on the type of the secret object. If the type is Opaque, the value will be // used as is without any modification. Value *string `json:"value,omitempty"` }
SecretObject - Describes the properties of a secret object value.
type SecretObjectType ¶
type SecretObjectType string
SecretObjectType - The type of the secret object which determines how the value of the secret object has to be interpreted.
const ( SecretObjectTypeOpaque SecretObjectType = "Opaque" SecretObjectTypeVaultsecret SecretObjectType = "Vaultsecret" )
func PossibleSecretObjectTypeValues ¶
func PossibleSecretObjectTypeValues() []SecretObjectType
PossibleSecretObjectTypeValues returns the possible values for the SecretObjectType const type.
func (SecretObjectType) ToPtr ¶
func (c SecretObjectType) ToPtr() *SecretObjectType
ToPtr returns a *SecretObjectType pointing to the current value.
type SetValue ¶
type SetValue struct { // REQUIRED; The name of the overridable value. Name *string `json:"name,omitempty"` // REQUIRED; The overridable value. Value *string `json:"value,omitempty"` // Flag to indicate whether the value represents a secret or not. IsSecret *bool `json:"isSecret,omitempty"` }
SetValue - The properties of a overridable value that can be passed to a task template.
type Source ¶
type Source struct { // The IP or hostname and the port of the registry node that generated the event. Generally, this will be resolved by os.Hostname() along with the running // port. Addr *string `json:"addr,omitempty"` // The running instance of an application. Changes after each restart. InstanceID *string `json:"instanceID,omitempty"` }
Source - The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.
type SourceControlType ¶
type SourceControlType string
SourceControlType - The type of source control service.
const ( SourceControlTypeGithub SourceControlType = "Github" SourceControlTypeVisualStudioTeamService SourceControlType = "VisualStudioTeamService" )
func PossibleSourceControlTypeValues ¶
func PossibleSourceControlTypeValues() []SourceControlType
PossibleSourceControlTypeValues returns the possible values for the SourceControlType const type.
func (SourceControlType) ToPtr ¶
func (c SourceControlType) ToPtr() *SourceControlType
ToPtr returns a *SourceControlType pointing to the current value.
type SourceProperties ¶
type SourceProperties struct { // REQUIRED; The full URL to the source code repository RepositoryURL *string `json:"repositoryUrl,omitempty"` // REQUIRED; The type of source control service. SourceControlType *SourceControlType `json:"sourceControlType,omitempty"` // The branch name of the source code. Branch *string `json:"branch,omitempty"` // The authorization properties for accessing the source code repository and to set up webhooks for notifications. SourceControlAuthProperties *AuthInfo `json:"sourceControlAuthProperties,omitempty"` }
SourceProperties - The properties of the source code repository.
type SourceRegistryCredentials ¶
type SourceRegistryCredentials struct { // The authentication mode which determines the source registry login scope. The credentials for the source registry will be generated using the given scope. // These credentials will be used to login to // the source registry during the run. LoginMode *SourceRegistryLoginMode `json:"loginMode,omitempty"` }
SourceRegistryCredentials - Describes the credential parameters for accessing the source registry.
type SourceRegistryLoginMode ¶
type SourceRegistryLoginMode string
SourceRegistryLoginMode - The authentication mode which determines the source registry login scope. The credentials for the source registry will be generated using the given scope. These credentials will be used to login to the source registry during the run.
const ( SourceRegistryLoginModeDefault SourceRegistryLoginMode = "Default" SourceRegistryLoginModeNone SourceRegistryLoginMode = "None" )
func PossibleSourceRegistryLoginModeValues ¶
func PossibleSourceRegistryLoginModeValues() []SourceRegistryLoginMode
PossibleSourceRegistryLoginModeValues returns the possible values for the SourceRegistryLoginMode const type.
func (SourceRegistryLoginMode) ToPtr ¶
func (c SourceRegistryLoginMode) ToPtr() *SourceRegistryLoginMode
ToPtr returns a *SourceRegistryLoginMode pointing to the current value.
type SourceTrigger ¶
type SourceTrigger struct { // REQUIRED; The name of the trigger. Name *string `json:"name,omitempty"` // REQUIRED; The properties that describes the source(code) for the task. SourceRepository *SourceProperties `json:"sourceRepository,omitempty"` // REQUIRED; The source event corresponding to the trigger. SourceTriggerEvents []*SourceTriggerEvent `json:"sourceTriggerEvents,omitempty"` // The current status of trigger. Status *TriggerStatus `json:"status,omitempty"` }
SourceTrigger - The properties of a source based trigger.
func (SourceTrigger) MarshalJSON ¶
func (s SourceTrigger) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type SourceTrigger.
type SourceTriggerDescriptor ¶
type SourceTriggerDescriptor struct { // The branch name in the repository. BranchName *string `json:"branchName,omitempty"` // The unique ID that identifies a commit. CommitID *string `json:"commitId,omitempty"` // The event type of the trigger. EventType *string `json:"eventType,omitempty"` // The unique ID of the trigger. ID *string `json:"id,omitempty"` // The source control provider type. ProviderType *string `json:"providerType,omitempty"` // The unique ID that identifies pull request. PullRequestID *string `json:"pullRequestId,omitempty"` // The repository URL. RepositoryURL *string `json:"repositoryUrl,omitempty"` }
SourceTriggerDescriptor - The source trigger that caused a run.
type SourceTriggerEvent ¶
type SourceTriggerEvent string
const ( SourceTriggerEventCommit SourceTriggerEvent = "commit" SourceTriggerEventPullrequest SourceTriggerEvent = "pullrequest" )
func PossibleSourceTriggerEventValues ¶
func PossibleSourceTriggerEventValues() []SourceTriggerEvent
PossibleSourceTriggerEventValues returns the possible values for the SourceTriggerEvent const type.
func (SourceTriggerEvent) ToPtr ¶
func (c SourceTriggerEvent) ToPtr() *SourceTriggerEvent
ToPtr returns a *SourceTriggerEvent pointing to the current value.
type SourceTriggerUpdateParameters ¶
type SourceTriggerUpdateParameters struct { // REQUIRED; The name of the trigger. Name *string `json:"name,omitempty"` // The properties that describes the source(code) for the task. SourceRepository *SourceUpdateParameters `json:"sourceRepository,omitempty"` // The source event corresponding to the trigger. SourceTriggerEvents []*SourceTriggerEvent `json:"sourceTriggerEvents,omitempty"` // The current status of trigger. Status *TriggerStatus `json:"status,omitempty"` }
SourceTriggerUpdateParameters - The properties for updating a source based trigger.
func (SourceTriggerUpdateParameters) MarshalJSON ¶
func (s SourceTriggerUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type SourceTriggerUpdateParameters.
type SourceUpdateParameters ¶
type SourceUpdateParameters struct { // The branch name of the source code. Branch *string `json:"branch,omitempty"` // The full URL to the source code repository RepositoryURL *string `json:"repositoryUrl,omitempty"` // The authorization properties for accessing the source code repository and to set up webhooks for notifications. SourceControlAuthProperties *AuthInfoUpdateParameters `json:"sourceControlAuthProperties,omitempty"` // The type of source control service. SourceControlType *SourceControlType `json:"sourceControlType,omitempty"` }
SourceUpdateParameters - The properties for updating the source code repository.
type SourceUploadDefinition ¶
type SourceUploadDefinition struct { // The relative path to the source. This is used to submit the subsequent queue build request. RelativePath *string `json:"relativePath,omitempty"` // The URL where the client can upload the source. UploadURL *string `json:"uploadUrl,omitempty"` }
SourceUploadDefinition - The properties of a response to source upload request.
type Status ¶
type Status struct { // READ-ONLY; The short label for the status. DisplayStatus *string `json:"displayStatus,omitempty" azure:"ro"` // READ-ONLY; The detailed message for the status, including alerts and error messages. Message *string `json:"message,omitempty" azure:"ro"` // READ-ONLY; The timestamp when the status was changed to the current value. Timestamp *time.Time `json:"timestamp,omitempty" azure:"ro"` }
Status - The status of an Azure resource at the time the operation was called.
func (Status) MarshalJSON ¶
MarshalJSON implements the json.Marshaller interface for type Status.
func (*Status) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaller interface for type Status.
type StatusDetailProperties ¶
type StatusDetailProperties struct { // READ-ONLY; The code of the status. Code *string `json:"code,omitempty" azure:"ro"` // READ-ONLY; The correlation ID of the status. CorrelationID *string `json:"correlationId,omitempty" azure:"ro"` // READ-ONLY; The description of the status. Description *string `json:"description,omitempty" azure:"ro"` // READ-ONLY; The timestamp of the status. Timestamp *time.Time `json:"timestamp,omitempty" azure:"ro"` // READ-ONLY; The component of the connected registry corresponding to the status. Type *string `json:"type,omitempty" azure:"ro"` }
StatusDetailProperties - The status detail properties of the connected registry.
func (StatusDetailProperties) MarshalJSON ¶
func (s StatusDetailProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type StatusDetailProperties.
func (*StatusDetailProperties) UnmarshalJSON ¶
func (s *StatusDetailProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type StatusDetailProperties.
type StepType ¶
type StepType string
StepType - The type of the step.
func PossibleStepTypeValues ¶
func PossibleStepTypeValues() []StepType
PossibleStepTypeValues returns the possible values for the StepType const type.
type SyncProperties ¶
type SyncProperties struct { // REQUIRED; The period of time for which a message is available to sync before it is expired. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S // as per ISO8601. MessageTTL *string `json:"messageTtl,omitempty"` // REQUIRED; The resource ID of the ACR token used to authenticate the connected registry to its parent during sync. TokenID *string `json:"tokenId,omitempty"` // The cron expression indicating the schedule that the connected registry will sync with its parent. Schedule *string `json:"schedule,omitempty"` // The time window during which sync is enabled for each schedule occurrence. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601. SyncWindow *string `json:"syncWindow,omitempty"` // READ-ONLY; The gateway endpoint used by the connected registry to communicate with its parent. GatewayEndpoint *string `json:"gatewayEndpoint,omitempty" azure:"ro"` // READ-ONLY; The last time a sync occurred between the connected registry and its parent. LastSyncTime *time.Time `json:"lastSyncTime,omitempty" azure:"ro"` }
SyncProperties - The sync properties of the connected registry with its parent.
func (SyncProperties) MarshalJSON ¶
func (s SyncProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type SyncProperties.
func (*SyncProperties) UnmarshalJSON ¶
func (s *SyncProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type SyncProperties.
type SyncUpdateProperties ¶
type SyncUpdateProperties struct { // The period of time for which a message is available to sync before it is expired. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as // per ISO8601. MessageTTL *string `json:"messageTtl,omitempty"` // The cron expression indicating the schedule that the connected registry will sync with its parent. Schedule *string `json:"schedule,omitempty"` // The time window during which sync is enabled for each schedule occurrence. Specify the duration using the format P[n]Y[n]M[n]DT[n]H[n]M[n]S as per ISO8601. SyncWindow *string `json:"syncWindow,omitempty"` }
SyncUpdateProperties - The parameters for updating the sync properties of the connected registry with its parent.
type SystemData ¶
type SystemData struct { // The timestamp of resource creation (UTC). CreatedAt *time.Time `json:"createdAt,omitempty"` // The identity that created the resource. CreatedBy *string `json:"createdBy,omitempty"` // The type of identity that created the resource. CreatedByType *CreatedByType `json:"createdByType,omitempty"` // The timestamp of resource modification (UTC). LastModifiedAt *time.Time `json:"lastModifiedAt,omitempty"` // The identity that last modified the resource. LastModifiedBy *string `json:"lastModifiedBy,omitempty"` // The type of identity that last modified the resource. LastModifiedByType *LastModifiedByType `json:"lastModifiedByType,omitempty"` }
SystemData - Metadata pertaining to creation and last modification of the resource.
func (SystemData) MarshalJSON ¶
func (s SystemData) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type SystemData.
func (*SystemData) UnmarshalJSON ¶
func (s *SystemData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type SystemData.
type TLSCertificateProperties ¶
type TLSCertificateProperties struct { // READ-ONLY; Indicates the location of the certificates. Location *string `json:"location,omitempty" azure:"ro"` // READ-ONLY; The type of certificate location. Type *CertificateType `json:"type,omitempty" azure:"ro"` }
TLSCertificateProperties - The TLS certificate properties of the connected registry login server.
type TLSProperties ¶
type TLSProperties struct { // READ-ONLY; The certificate used to configure HTTPS for the login server. Certificate *TLSCertificateProperties `json:"certificate,omitempty" azure:"ro"` // READ-ONLY; Indicates whether HTTPS is enabled for the login server. Status *TLSStatus `json:"status,omitempty" azure:"ro"` }
TLSProperties - The TLS properties of the connected registry login server.
type TLSStatus ¶
type TLSStatus string
TLSStatus - Indicates whether HTTPS is enabled for the login server.
func PossibleTLSStatusValues ¶
func PossibleTLSStatusValues() []TLSStatus
PossibleTLSStatusValues returns the possible values for the TLSStatus const type.
type Target ¶
type Target struct { // The digest of the content, as defined by the Registry V2 HTTP API Specification. Digest *string `json:"digest,omitempty"` // The number of bytes of the content. Same as Size field. Length *int64 `json:"length,omitempty"` // The MIME type of the referenced object. MediaType *string `json:"mediaType,omitempty"` // The name of the artifact. Name *string `json:"name,omitempty"` // The repository name. Repository *string `json:"repository,omitempty"` // The number of bytes of the content. Same as Length field. Size *int64 `json:"size,omitempty"` // The tag name. Tag *string `json:"tag,omitempty"` // The direct URL to the content. URL *string `json:"url,omitempty"` // The version of the artifact. Version *string `json:"version,omitempty"` }
Target - The target of the event.
type Task ¶
type Task struct { Resource // Identity for the resource. Identity *IdentityProperties `json:"identity,omitempty"` // The properties of a task. Properties *TaskProperties `json:"properties,omitempty"` }
Task - The task that has the ARM resource and task properties. The task will have all information to schedule a run against it.
func (Task) MarshalJSON ¶
MarshalJSON implements the json.Marshaller interface for type Task.
type TaskListResult ¶
type TaskListResult struct { // The URI that can be used to request the next set of paged results. NextLink *string `json:"nextLink,omitempty"` // The collection value. Value []*Task `json:"value,omitempty"` }
TaskListResult - The collection of tasks.
func (TaskListResult) MarshalJSON ¶
func (t TaskListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type TaskListResult.
type TaskProperties ¶
type TaskProperties struct { // The machine configuration of the run agent. AgentConfiguration *AgentProperties `json:"agentConfiguration,omitempty"` // The dedicated agent pool for the task. AgentPoolName *string `json:"agentPoolName,omitempty"` // The properties that describes a set of credentials that will be used when this run is invoked. Credentials *Credentials `json:"credentials,omitempty"` // The value of this property indicates whether the task resource is system task or not. IsSystemTask *bool `json:"isSystemTask,omitempty"` // The template that describes the repository and tag information for run log artifact. LogTemplate *string `json:"logTemplate,omitempty"` // The platform properties against which the run has to happen. Platform *PlatformProperties `json:"platform,omitempty"` // The current status of task. Status *TaskStatus `json:"status,omitempty"` // The properties of a task step. Step TaskStepPropertiesClassification `json:"step,omitempty"` // Run timeout in seconds. Timeout *int32 `json:"timeout,omitempty"` // The properties that describe all triggers for the task. Trigger *TriggerProperties `json:"trigger,omitempty"` // READ-ONLY; The creation date of task. CreationDate *time.Time `json:"creationDate,omitempty" azure:"ro"` // READ-ONLY; The provisioning state of the task. ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` }
TaskProperties - The properties of a task.
func (TaskProperties) MarshalJSON ¶
func (t TaskProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type TaskProperties.
func (*TaskProperties) UnmarshalJSON ¶
func (t *TaskProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type TaskProperties.
type TaskPropertiesUpdateParameters ¶
type TaskPropertiesUpdateParameters struct { // The machine configuration of the run agent. AgentConfiguration *AgentProperties `json:"agentConfiguration,omitempty"` // The dedicated agent pool for the task. AgentPoolName *string `json:"agentPoolName,omitempty"` // The parameters that describes a set of credentials that will be used when this run is invoked. Credentials *Credentials `json:"credentials,omitempty"` // The template that describes the repository and tag information for run log artifact. LogTemplate *string `json:"logTemplate,omitempty"` // The platform properties against which the run has to happen. Platform *PlatformUpdateParameters `json:"platform,omitempty"` // The current status of task. Status *TaskStatus `json:"status,omitempty"` // The properties for updating a task step. Step TaskStepUpdateParametersClassification `json:"step,omitempty"` // Run timeout in seconds. Timeout *int32 `json:"timeout,omitempty"` // The properties for updating trigger properties. Trigger *TriggerUpdateParameters `json:"trigger,omitempty"` }
TaskPropertiesUpdateParameters - The properties for updating a task.
func (TaskPropertiesUpdateParameters) MarshalJSON ¶
func (t TaskPropertiesUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type TaskPropertiesUpdateParameters.
func (*TaskPropertiesUpdateParameters) UnmarshalJSON ¶
func (t *TaskPropertiesUpdateParameters) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type TaskPropertiesUpdateParameters.
type TaskRun ¶
type TaskRun struct { ProxyResource // Identity for the resource. Identity *IdentityProperties `json:"identity,omitempty"` // The location of the resource Location *string `json:"location,omitempty"` // The properties associated with the task run, i.e., request and result of the run Properties *TaskRunProperties `json:"properties,omitempty"` }
TaskRun - The task run that has the ARM resource and properties. The task run will have the information of request and result of a run.
type TaskRunListResult ¶
type TaskRunListResult struct { // The URI that can be used to request the next set of paged results. NextLink *string `json:"nextLink,omitempty"` // The collection value. Value []*TaskRun `json:"value,omitempty"` }
TaskRunListResult - The collection of task runs.
func (TaskRunListResult) MarshalJSON ¶
func (t TaskRunListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type TaskRunListResult.
type TaskRunProperties ¶
type TaskRunProperties struct { // How the run should be forced to rerun even if the run request configuration has not changed ForceUpdateTag *string `json:"forceUpdateTag,omitempty"` // The request (parameters) for the run RunRequest RunRequestClassification `json:"runRequest,omitempty"` // READ-ONLY; The provisioning state of this task run ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` // READ-ONLY; The result of this task run RunResult *Run `json:"runResult,omitempty" azure:"ro"` }
TaskRunProperties - The properties of task run.
func (TaskRunProperties) MarshalJSON ¶
func (t TaskRunProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type TaskRunProperties.
func (*TaskRunProperties) UnmarshalJSON ¶
func (t *TaskRunProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type TaskRunProperties.
type TaskRunPropertiesUpdateParameters ¶
type TaskRunPropertiesUpdateParameters struct { // How the run should be forced to rerun even if the run request configuration has not changed ForceUpdateTag *string `json:"forceUpdateTag,omitempty"` // The request (parameters) for the new run RunRequest RunRequestClassification `json:"runRequest,omitempty"` }
TaskRunPropertiesUpdateParameters - The properties of a task run update parameters.
func (TaskRunPropertiesUpdateParameters) MarshalJSON ¶
func (t TaskRunPropertiesUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type TaskRunPropertiesUpdateParameters.
func (*TaskRunPropertiesUpdateParameters) UnmarshalJSON ¶
func (t *TaskRunPropertiesUpdateParameters) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type TaskRunPropertiesUpdateParameters.
type TaskRunRequest ¶
type TaskRunRequest struct { RunRequest // REQUIRED; The resource ID of task against which run has to be queued. TaskID *string `json:"taskId,omitempty"` // Set of overridable parameters that can be passed when running a Task. OverrideTaskStepProperties *OverrideTaskStepProperties `json:"overrideTaskStepProperties,omitempty"` }
TaskRunRequest - The parameters for a task run request.
func (TaskRunRequest) MarshalJSON ¶
func (t TaskRunRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type TaskRunRequest.
func (*TaskRunRequest) UnmarshalJSON ¶
func (t *TaskRunRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type TaskRunRequest.
type TaskRunUpdateParameters ¶
type TaskRunUpdateParameters struct { // Identity for the resource. Identity *IdentityProperties `json:"identity,omitempty"` // The location of the resource Location *string `json:"location,omitempty"` // The properties for updating a task run. Properties *TaskRunPropertiesUpdateParameters `json:"properties,omitempty"` // The ARM resource tags. Tags map[string]*string `json:"tags,omitempty"` }
TaskRunUpdateParameters - The parameters for updating a task run.
func (TaskRunUpdateParameters) MarshalJSON ¶
func (t TaskRunUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type TaskRunUpdateParameters.
type TaskRunsBeginCreateOptions ¶
type TaskRunsBeginCreateOptions struct { }
TaskRunsBeginCreateOptions contains the optional parameters for the TaskRuns.BeginCreate method.
type TaskRunsBeginDeleteOptions ¶
type TaskRunsBeginDeleteOptions struct { }
TaskRunsBeginDeleteOptions contains the optional parameters for the TaskRuns.BeginDelete method.
type TaskRunsBeginUpdateOptions ¶
type TaskRunsBeginUpdateOptions struct { }
TaskRunsBeginUpdateOptions contains the optional parameters for the TaskRuns.BeginUpdate method.
type TaskRunsClient ¶
type TaskRunsClient struct {
// contains filtered or unexported fields
}
TaskRunsClient contains the methods for the TaskRuns group. Don't use this type directly, use NewTaskRunsClient() instead.
func NewTaskRunsClient ¶
func NewTaskRunsClient(con *arm.Connection, subscriptionID string) *TaskRunsClient
NewTaskRunsClient creates a new instance of TaskRunsClient with the specified values.
func (*TaskRunsClient) BeginCreate ¶
func (client *TaskRunsClient) BeginCreate(ctx context.Context, resourceGroupName string, registryName string, taskRunName string, taskRun TaskRun, options *TaskRunsBeginCreateOptions) (TaskRunsCreatePollerResponse, error)
BeginCreate - Creates a task run for a container registry with the specified parameters. If the operation fails it returns the *ErrorResponse error type.
func (*TaskRunsClient) BeginDelete ¶
func (client *TaskRunsClient) BeginDelete(ctx context.Context, resourceGroupName string, registryName string, taskRunName string, options *TaskRunsBeginDeleteOptions) (TaskRunsDeletePollerResponse, error)
BeginDelete - Deletes a specified task run resource. If the operation fails it returns the *ErrorResponse error type.
func (*TaskRunsClient) BeginUpdate ¶
func (client *TaskRunsClient) BeginUpdate(ctx context.Context, resourceGroupName string, registryName string, taskRunName string, updateParameters TaskRunUpdateParameters, options *TaskRunsBeginUpdateOptions) (TaskRunsUpdatePollerResponse, error)
BeginUpdate - Updates a task run with the specified parameters. If the operation fails it returns the *ErrorResponse error type.
func (*TaskRunsClient) Get ¶
func (client *TaskRunsClient) Get(ctx context.Context, resourceGroupName string, registryName string, taskRunName string, options *TaskRunsGetOptions) (TaskRunsGetResponse, error)
Get - Gets the detailed information for a given task run. If the operation fails it returns the *ErrorResponse error type.
func (*TaskRunsClient) GetDetails ¶
func (client *TaskRunsClient) GetDetails(ctx context.Context, resourceGroupName string, registryName string, taskRunName string, options *TaskRunsGetDetailsOptions) (TaskRunsGetDetailsResponse, error)
GetDetails - Gets the detailed information for a given task run that includes all secrets. If the operation fails it returns the *ErrorResponse error type.
func (*TaskRunsClient) List ¶
func (client *TaskRunsClient) List(resourceGroupName string, registryName string, options *TaskRunsListOptions) *TaskRunsListPager
List - Lists all the task runs for a specified container registry. If the operation fails it returns the *ErrorResponse error type.
type TaskRunsCreatePoller ¶
type TaskRunsCreatePoller struct {
// contains filtered or unexported fields
}
TaskRunsCreatePoller provides polling facilities until the operation reaches a terminal state.
func (*TaskRunsCreatePoller) Done ¶
func (p *TaskRunsCreatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*TaskRunsCreatePoller) FinalResponse ¶
func (p *TaskRunsCreatePoller) FinalResponse(ctx context.Context) (TaskRunsCreateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final TaskRunsCreateResponse will be returned.
func (*TaskRunsCreatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*TaskRunsCreatePoller) ResumeToken ¶
func (p *TaskRunsCreatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type TaskRunsCreatePollerResponse ¶
type TaskRunsCreatePollerResponse struct { // Poller contains an initialized poller. Poller *TaskRunsCreatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
TaskRunsCreatePollerResponse contains the response from method TaskRuns.Create.
func (TaskRunsCreatePollerResponse) PollUntilDone ¶
func (l TaskRunsCreatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (TaskRunsCreateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.
func (*TaskRunsCreatePollerResponse) Resume ¶
func (l *TaskRunsCreatePollerResponse) Resume(ctx context.Context, client *TaskRunsClient, token string) error
Resume rehydrates a TaskRunsCreatePollerResponse from the provided client and resume token.
type TaskRunsCreateResponse ¶
type TaskRunsCreateResponse struct { TaskRunsCreateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
TaskRunsCreateResponse contains the response from method TaskRuns.Create.
type TaskRunsCreateResult ¶
type TaskRunsCreateResult struct {
TaskRun
}
TaskRunsCreateResult contains the result from method TaskRuns.Create.
type TaskRunsDeletePoller ¶
type TaskRunsDeletePoller struct {
// contains filtered or unexported fields
}
TaskRunsDeletePoller provides polling facilities until the operation reaches a terminal state.
func (*TaskRunsDeletePoller) Done ¶
func (p *TaskRunsDeletePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*TaskRunsDeletePoller) FinalResponse ¶
func (p *TaskRunsDeletePoller) FinalResponse(ctx context.Context) (TaskRunsDeleteResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final TaskRunsDeleteResponse will be returned.
func (*TaskRunsDeletePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*TaskRunsDeletePoller) ResumeToken ¶
func (p *TaskRunsDeletePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type TaskRunsDeletePollerResponse ¶
type TaskRunsDeletePollerResponse struct { // Poller contains an initialized poller. Poller *TaskRunsDeletePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
TaskRunsDeletePollerResponse contains the response from method TaskRuns.Delete.
func (TaskRunsDeletePollerResponse) PollUntilDone ¶
func (l TaskRunsDeletePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (TaskRunsDeleteResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.
func (*TaskRunsDeletePollerResponse) Resume ¶
func (l *TaskRunsDeletePollerResponse) Resume(ctx context.Context, client *TaskRunsClient, token string) error
Resume rehydrates a TaskRunsDeletePollerResponse from the provided client and resume token.
type TaskRunsDeleteResponse ¶
type TaskRunsDeleteResponse struct { // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
TaskRunsDeleteResponse contains the response from method TaskRuns.Delete.
type TaskRunsGetDetailsOptions ¶
type TaskRunsGetDetailsOptions struct { }
TaskRunsGetDetailsOptions contains the optional parameters for the TaskRuns.GetDetails method.
type TaskRunsGetDetailsResponse ¶
type TaskRunsGetDetailsResponse struct { TaskRunsGetDetailsResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
TaskRunsGetDetailsResponse contains the response from method TaskRuns.GetDetails.
type TaskRunsGetDetailsResult ¶
type TaskRunsGetDetailsResult struct {
TaskRun
}
TaskRunsGetDetailsResult contains the result from method TaskRuns.GetDetails.
type TaskRunsGetOptions ¶
type TaskRunsGetOptions struct { }
TaskRunsGetOptions contains the optional parameters for the TaskRuns.Get method.
type TaskRunsGetResponse ¶
type TaskRunsGetResponse struct { TaskRunsGetResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
TaskRunsGetResponse contains the response from method TaskRuns.Get.
type TaskRunsGetResult ¶
type TaskRunsGetResult struct {
TaskRun
}
TaskRunsGetResult contains the result from method TaskRuns.Get.
type TaskRunsListOptions ¶
type TaskRunsListOptions struct { }
TaskRunsListOptions contains the optional parameters for the TaskRuns.List method.
type TaskRunsListPager ¶
type TaskRunsListPager struct {
// contains filtered or unexported fields
}
TaskRunsListPager provides operations for iterating over paged responses.
func (*TaskRunsListPager) Err ¶
func (p *TaskRunsListPager) Err() error
Err returns the last error encountered while paging.
func (*TaskRunsListPager) NextPage ¶
func (p *TaskRunsListPager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*TaskRunsListPager) PageResponse ¶
func (p *TaskRunsListPager) PageResponse() TaskRunsListResponse
PageResponse returns the current TaskRunsListResponse page.
type TaskRunsListResponse ¶
type TaskRunsListResponse struct { TaskRunsListResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
TaskRunsListResponse contains the response from method TaskRuns.List.
type TaskRunsListResult ¶
type TaskRunsListResult struct {
TaskRunListResult
}
TaskRunsListResult contains the result from method TaskRuns.List.
type TaskRunsUpdatePoller ¶
type TaskRunsUpdatePoller struct {
// contains filtered or unexported fields
}
TaskRunsUpdatePoller provides polling facilities until the operation reaches a terminal state.
func (*TaskRunsUpdatePoller) Done ¶
func (p *TaskRunsUpdatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*TaskRunsUpdatePoller) FinalResponse ¶
func (p *TaskRunsUpdatePoller) FinalResponse(ctx context.Context) (TaskRunsUpdateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final TaskRunsUpdateResponse will be returned.
func (*TaskRunsUpdatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*TaskRunsUpdatePoller) ResumeToken ¶
func (p *TaskRunsUpdatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type TaskRunsUpdatePollerResponse ¶
type TaskRunsUpdatePollerResponse struct { // Poller contains an initialized poller. Poller *TaskRunsUpdatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
TaskRunsUpdatePollerResponse contains the response from method TaskRuns.Update.
func (TaskRunsUpdatePollerResponse) PollUntilDone ¶
func (l TaskRunsUpdatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (TaskRunsUpdateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.
func (*TaskRunsUpdatePollerResponse) Resume ¶
func (l *TaskRunsUpdatePollerResponse) Resume(ctx context.Context, client *TaskRunsClient, token string) error
Resume rehydrates a TaskRunsUpdatePollerResponse from the provided client and resume token.
type TaskRunsUpdateResponse ¶
type TaskRunsUpdateResponse struct { TaskRunsUpdateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
TaskRunsUpdateResponse contains the response from method TaskRuns.Update.
type TaskRunsUpdateResult ¶
type TaskRunsUpdateResult struct {
TaskRun
}
TaskRunsUpdateResult contains the result from method TaskRuns.Update.
type TaskStatus ¶
type TaskStatus string
TaskStatus - The current status of task.
const ( TaskStatusDisabled TaskStatus = "Disabled" TaskStatusEnabled TaskStatus = "Enabled" )
func PossibleTaskStatusValues ¶
func PossibleTaskStatusValues() []TaskStatus
PossibleTaskStatusValues returns the possible values for the TaskStatus const type.
func (TaskStatus) ToPtr ¶
func (c TaskStatus) ToPtr() *TaskStatus
ToPtr returns a *TaskStatus pointing to the current value.
type TaskStepProperties ¶
type TaskStepProperties struct { // REQUIRED; The type of the step. Type *StepType `json:"type,omitempty"` // The token (git PAT or SAS token of storage account blob) associated with the context for a step. ContextAccessToken *string `json:"contextAccessToken,omitempty"` // The URL(absolute or relative) of the source context for the task step. ContextPath *string `json:"contextPath,omitempty"` // READ-ONLY; List of base image dependencies for a step. BaseImageDependencies []*BaseImageDependency `json:"baseImageDependencies,omitempty" azure:"ro"` }
TaskStepProperties - Base properties for any task step.
func (*TaskStepProperties) GetTaskStepProperties ¶
func (t *TaskStepProperties) GetTaskStepProperties() *TaskStepProperties
GetTaskStepProperties implements the TaskStepPropertiesClassification interface for type TaskStepProperties.
func (*TaskStepProperties) UnmarshalJSON ¶
func (t *TaskStepProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type TaskStepProperties.
type TaskStepPropertiesClassification ¶
type TaskStepPropertiesClassification interface { // GetTaskStepProperties returns the TaskStepProperties content of the underlying type. GetTaskStepProperties() *TaskStepProperties }
TaskStepPropertiesClassification provides polymorphic access to related types. Call the interface's GetTaskStepProperties() method to access the common type. Use a type switch to determine the concrete type. The possible types are: - *DockerBuildStep, *EncodedTaskStep, *FileTaskStep, *TaskStepProperties
type TaskStepUpdateParameters ¶
type TaskStepUpdateParameters struct { // REQUIRED; The type of the step. Type *StepType `json:"type,omitempty"` // The token (git PAT or SAS token of storage account blob) associated with the context for a step. ContextAccessToken *string `json:"contextAccessToken,omitempty"` // The URL(absolute or relative) of the source context for the task step. ContextPath *string `json:"contextPath,omitempty"` }
TaskStepUpdateParameters - Base properties for updating any task step.
func (*TaskStepUpdateParameters) GetTaskStepUpdateParameters ¶
func (t *TaskStepUpdateParameters) GetTaskStepUpdateParameters() *TaskStepUpdateParameters
GetTaskStepUpdateParameters implements the TaskStepUpdateParametersClassification interface for type TaskStepUpdateParameters.
func (*TaskStepUpdateParameters) UnmarshalJSON ¶
func (t *TaskStepUpdateParameters) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type TaskStepUpdateParameters.
type TaskStepUpdateParametersClassification ¶
type TaskStepUpdateParametersClassification interface { // GetTaskStepUpdateParameters returns the TaskStepUpdateParameters content of the underlying type. GetTaskStepUpdateParameters() *TaskStepUpdateParameters }
TaskStepUpdateParametersClassification provides polymorphic access to related types. Call the interface's GetTaskStepUpdateParameters() method to access the common type. Use a type switch to determine the concrete type. The possible types are: - *DockerBuildStepUpdateParameters, *EncodedTaskStepUpdateParameters, *FileTaskStepUpdateParameters, *TaskStepUpdateParameters
type TaskUpdateParameters ¶
type TaskUpdateParameters struct { // Identity for the resource. Identity *IdentityProperties `json:"identity,omitempty"` // The properties for updating a task. Properties *TaskPropertiesUpdateParameters `json:"properties,omitempty"` // The ARM resource tags. Tags map[string]*string `json:"tags,omitempty"` }
TaskUpdateParameters - The parameters for updating a task.
func (TaskUpdateParameters) MarshalJSON ¶
func (t TaskUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type TaskUpdateParameters.
type TasksBeginCreateOptions ¶
type TasksBeginCreateOptions struct { }
TasksBeginCreateOptions contains the optional parameters for the Tasks.BeginCreate method.
type TasksBeginDeleteOptions ¶
type TasksBeginDeleteOptions struct { }
TasksBeginDeleteOptions contains the optional parameters for the Tasks.BeginDelete method.
type TasksBeginUpdateOptions ¶
type TasksBeginUpdateOptions struct { }
TasksBeginUpdateOptions contains the optional parameters for the Tasks.BeginUpdate method.
type TasksClient ¶
type TasksClient struct {
// contains filtered or unexported fields
}
TasksClient contains the methods for the Tasks group. Don't use this type directly, use NewTasksClient() instead.
func NewTasksClient ¶
func NewTasksClient(con *arm.Connection, subscriptionID string) *TasksClient
NewTasksClient creates a new instance of TasksClient with the specified values.
func (*TasksClient) BeginCreate ¶
func (client *TasksClient) BeginCreate(ctx context.Context, resourceGroupName string, registryName string, taskName string, taskCreateParameters Task, options *TasksBeginCreateOptions) (TasksCreatePollerResponse, error)
BeginCreate - Creates a task for a container registry with the specified parameters. If the operation fails it returns the *ErrorResponse error type.
func (*TasksClient) BeginDelete ¶
func (client *TasksClient) BeginDelete(ctx context.Context, resourceGroupName string, registryName string, taskName string, options *TasksBeginDeleteOptions) (TasksDeletePollerResponse, error)
BeginDelete - Deletes a specified task. If the operation fails it returns the *ErrorResponse error type.
func (*TasksClient) BeginUpdate ¶
func (client *TasksClient) BeginUpdate(ctx context.Context, resourceGroupName string, registryName string, taskName string, taskUpdateParameters TaskUpdateParameters, options *TasksBeginUpdateOptions) (TasksUpdatePollerResponse, error)
BeginUpdate - Updates a task with the specified parameters. If the operation fails it returns the *ErrorResponse error type.
func (*TasksClient) Get ¶
func (client *TasksClient) Get(ctx context.Context, resourceGroupName string, registryName string, taskName string, options *TasksGetOptions) (TasksGetResponse, error)
Get - Get the properties of a specified task. If the operation fails it returns the *ErrorResponse error type.
func (*TasksClient) GetDetails ¶
func (client *TasksClient) GetDetails(ctx context.Context, resourceGroupName string, registryName string, taskName string, options *TasksGetDetailsOptions) (TasksGetDetailsResponse, error)
GetDetails - Returns a task with extended information that includes all secrets. If the operation fails it returns the *ErrorResponse error type.
func (*TasksClient) List ¶
func (client *TasksClient) List(resourceGroupName string, registryName string, options *TasksListOptions) *TasksListPager
List - Lists all the tasks for a specified container registry. If the operation fails it returns the *ErrorResponse error type.
type TasksCreatePoller ¶
type TasksCreatePoller struct {
// contains filtered or unexported fields
}
TasksCreatePoller provides polling facilities until the operation reaches a terminal state.
func (*TasksCreatePoller) Done ¶
func (p *TasksCreatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*TasksCreatePoller) FinalResponse ¶
func (p *TasksCreatePoller) FinalResponse(ctx context.Context) (TasksCreateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final TasksCreateResponse will be returned.
func (*TasksCreatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*TasksCreatePoller) ResumeToken ¶
func (p *TasksCreatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type TasksCreatePollerResponse ¶
type TasksCreatePollerResponse struct { // Poller contains an initialized poller. Poller *TasksCreatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
TasksCreatePollerResponse contains the response from method Tasks.Create.
func (TasksCreatePollerResponse) PollUntilDone ¶
func (l TasksCreatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (TasksCreateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.
func (*TasksCreatePollerResponse) Resume ¶
func (l *TasksCreatePollerResponse) Resume(ctx context.Context, client *TasksClient, token string) error
Resume rehydrates a TasksCreatePollerResponse from the provided client and resume token.
type TasksCreateResponse ¶
type TasksCreateResponse struct { TasksCreateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
TasksCreateResponse contains the response from method Tasks.Create.
type TasksCreateResult ¶
type TasksCreateResult struct {
Task
}
TasksCreateResult contains the result from method Tasks.Create.
type TasksDeletePoller ¶
type TasksDeletePoller struct {
// contains filtered or unexported fields
}
TasksDeletePoller provides polling facilities until the operation reaches a terminal state.
func (*TasksDeletePoller) Done ¶
func (p *TasksDeletePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*TasksDeletePoller) FinalResponse ¶
func (p *TasksDeletePoller) FinalResponse(ctx context.Context) (TasksDeleteResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final TasksDeleteResponse will be returned.
func (*TasksDeletePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*TasksDeletePoller) ResumeToken ¶
func (p *TasksDeletePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type TasksDeletePollerResponse ¶
type TasksDeletePollerResponse struct { // Poller contains an initialized poller. Poller *TasksDeletePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
TasksDeletePollerResponse contains the response from method Tasks.Delete.
func (TasksDeletePollerResponse) PollUntilDone ¶
func (l TasksDeletePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (TasksDeleteResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.
func (*TasksDeletePollerResponse) Resume ¶
func (l *TasksDeletePollerResponse) Resume(ctx context.Context, client *TasksClient, token string) error
Resume rehydrates a TasksDeletePollerResponse from the provided client and resume token.
type TasksDeleteResponse ¶
type TasksDeleteResponse struct { // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
TasksDeleteResponse contains the response from method Tasks.Delete.
type TasksGetDetailsOptions ¶
type TasksGetDetailsOptions struct { }
TasksGetDetailsOptions contains the optional parameters for the Tasks.GetDetails method.
type TasksGetDetailsResponse ¶
type TasksGetDetailsResponse struct { TasksGetDetailsResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
TasksGetDetailsResponse contains the response from method Tasks.GetDetails.
type TasksGetDetailsResult ¶
type TasksGetDetailsResult struct {
Task
}
TasksGetDetailsResult contains the result from method Tasks.GetDetails.
type TasksGetOptions ¶
type TasksGetOptions struct { }
TasksGetOptions contains the optional parameters for the Tasks.Get method.
type TasksGetResponse ¶
type TasksGetResponse struct { TasksGetResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
TasksGetResponse contains the response from method Tasks.Get.
type TasksGetResult ¶
type TasksGetResult struct {
Task
}
TasksGetResult contains the result from method Tasks.Get.
type TasksListOptions ¶
type TasksListOptions struct { }
TasksListOptions contains the optional parameters for the Tasks.List method.
type TasksListPager ¶
type TasksListPager struct {
// contains filtered or unexported fields
}
TasksListPager provides operations for iterating over paged responses.
func (*TasksListPager) Err ¶
func (p *TasksListPager) Err() error
Err returns the last error encountered while paging.
func (*TasksListPager) NextPage ¶
func (p *TasksListPager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*TasksListPager) PageResponse ¶
func (p *TasksListPager) PageResponse() TasksListResponse
PageResponse returns the current TasksListResponse page.
type TasksListResponse ¶
type TasksListResponse struct { TasksListResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
TasksListResponse contains the response from method Tasks.List.
type TasksListResult ¶
type TasksListResult struct {
TaskListResult
}
TasksListResult contains the result from method Tasks.List.
type TasksUpdatePoller ¶
type TasksUpdatePoller struct {
// contains filtered or unexported fields
}
TasksUpdatePoller provides polling facilities until the operation reaches a terminal state.
func (*TasksUpdatePoller) Done ¶
func (p *TasksUpdatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*TasksUpdatePoller) FinalResponse ¶
func (p *TasksUpdatePoller) FinalResponse(ctx context.Context) (TasksUpdateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final TasksUpdateResponse will be returned.
func (*TasksUpdatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*TasksUpdatePoller) ResumeToken ¶
func (p *TasksUpdatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type TasksUpdatePollerResponse ¶
type TasksUpdatePollerResponse struct { // Poller contains an initialized poller. Poller *TasksUpdatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
TasksUpdatePollerResponse contains the response from method Tasks.Update.
func (TasksUpdatePollerResponse) PollUntilDone ¶
func (l TasksUpdatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (TasksUpdateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.
func (*TasksUpdatePollerResponse) Resume ¶
func (l *TasksUpdatePollerResponse) Resume(ctx context.Context, client *TasksClient, token string) error
Resume rehydrates a TasksUpdatePollerResponse from the provided client and resume token.
type TasksUpdateResponse ¶
type TasksUpdateResponse struct { TasksUpdateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
TasksUpdateResponse contains the response from method Tasks.Update.
type TasksUpdateResult ¶
type TasksUpdateResult struct {
Task
}
TasksUpdateResult contains the result from method Tasks.Update.
type TimerTrigger ¶
type TimerTrigger struct { // REQUIRED; The name of the trigger. Name *string `json:"name,omitempty"` // REQUIRED; The CRON expression for the task schedule Schedule *string `json:"schedule,omitempty"` // The current status of trigger. Status *TriggerStatus `json:"status,omitempty"` }
TimerTrigger - The properties of a timer trigger.
type TimerTriggerDescriptor ¶
type TimerTriggerUpdateParameters ¶
type TimerTriggerUpdateParameters struct { // REQUIRED; The name of the trigger. Name *string `json:"name,omitempty"` // The CRON expression for the task schedule Schedule *string `json:"schedule,omitempty"` // The current status of trigger. Status *TriggerStatus `json:"status,omitempty"` }
TimerTriggerUpdateParameters - The properties for updating a timer trigger.
type Token ¶
type Token struct { ProxyResource // The properties of the token. Properties *TokenProperties `json:"properties,omitempty"` }
Token - An object that represents a token for a container registry.
type TokenCertificate ¶
type TokenCertificate struct { // Base 64 encoded string of the public certificate1 in PEM format that will be used for authenticating the token. EncodedPemCertificate *string `json:"encodedPemCertificate,omitempty"` // The expiry datetime of the certificate. Expiry *time.Time `json:"expiry,omitempty"` Name *TokenCertificateName `json:"name,omitempty"` // The thumbprint of the certificate. Thumbprint *string `json:"thumbprint,omitempty"` }
TokenCertificate - The properties of a certificate used for authenticating a token.
func (TokenCertificate) MarshalJSON ¶
func (t TokenCertificate) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type TokenCertificate.
func (*TokenCertificate) UnmarshalJSON ¶
func (t *TokenCertificate) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type TokenCertificate.
type TokenCertificateName ¶
type TokenCertificateName string
const ( TokenCertificateNameCertificate1 TokenCertificateName = "certificate1" TokenCertificateNameCertificate2 TokenCertificateName = "certificate2" )
func PossibleTokenCertificateNameValues ¶
func PossibleTokenCertificateNameValues() []TokenCertificateName
PossibleTokenCertificateNameValues returns the possible values for the TokenCertificateName const type.
func (TokenCertificateName) ToPtr ¶
func (c TokenCertificateName) ToPtr() *TokenCertificateName
ToPtr returns a *TokenCertificateName pointing to the current value.
type TokenCredentialsProperties ¶
type TokenCredentialsProperties struct { Certificates []*TokenCertificate `json:"certificates,omitempty"` Passwords []*TokenPassword `json:"passwords,omitempty"` }
TokenCredentialsProperties - The properties of the credentials that can be used for authenticating the token.
func (TokenCredentialsProperties) MarshalJSON ¶
func (t TokenCredentialsProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type TokenCredentialsProperties.
type TokenListResult ¶
type TokenListResult struct { // The URI that can be used to request the next list of tokens. NextLink *string `json:"nextLink,omitempty"` // The list of tokens. Since this list may be incomplete, the nextLink field should be used to request the next list of tokens. Value []*Token `json:"value,omitempty"` }
TokenListResult - The result of a request to list tokens for a container registry.
func (TokenListResult) MarshalJSON ¶
func (t TokenListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type TokenListResult.
type TokenPassword ¶
type TokenPassword struct { // The creation datetime of the password. CreationTime *time.Time `json:"creationTime,omitempty"` // The expiry datetime of the password. Expiry *time.Time `json:"expiry,omitempty"` // The password name "password1" or "password2" Name *TokenPasswordName `json:"name,omitempty"` // READ-ONLY; The password value. Value *string `json:"value,omitempty" azure:"ro"` }
TokenPassword - The password that will be used for authenticating the token of a container registry.
func (TokenPassword) MarshalJSON ¶
func (t TokenPassword) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type TokenPassword.
func (*TokenPassword) UnmarshalJSON ¶
func (t *TokenPassword) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type TokenPassword.
type TokenPasswordName ¶
type TokenPasswordName string
TokenPasswordName - The password name "password1" or "password2"
const ( TokenPasswordNamePassword1 TokenPasswordName = "password1" TokenPasswordNamePassword2 TokenPasswordName = "password2" )
func PossibleTokenPasswordNameValues ¶
func PossibleTokenPasswordNameValues() []TokenPasswordName
PossibleTokenPasswordNameValues returns the possible values for the TokenPasswordName const type.
func (TokenPasswordName) ToPtr ¶
func (c TokenPasswordName) ToPtr() *TokenPasswordName
ToPtr returns a *TokenPasswordName pointing to the current value.
type TokenProperties ¶
type TokenProperties struct { // The credentials that can be used for authenticating the token. Credentials *TokenCredentialsProperties `json:"credentials,omitempty"` // The resource ID of the scope map to which the token will be associated with. ScopeMapID *string `json:"scopeMapId,omitempty"` // The status of the token example enabled or disabled. Status *TokenStatus `json:"status,omitempty"` // READ-ONLY; The creation date of scope map. CreationDate *time.Time `json:"creationDate,omitempty" azure:"ro"` // READ-ONLY; Provisioning state of the resource. ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` }
TokenProperties - The properties of a token.
func (TokenProperties) MarshalJSON ¶
func (t TokenProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type TokenProperties.
func (*TokenProperties) UnmarshalJSON ¶
func (t *TokenProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaller interface for type TokenProperties.
type TokenStatus ¶
type TokenStatus string
TokenStatus - The status of the token example enabled or disabled.
const ( TokenStatusDisabled TokenStatus = "disabled" TokenStatusEnabled TokenStatus = "enabled" )
func PossibleTokenStatusValues ¶
func PossibleTokenStatusValues() []TokenStatus
PossibleTokenStatusValues returns the possible values for the TokenStatus const type.
func (TokenStatus) ToPtr ¶
func (c TokenStatus) ToPtr() *TokenStatus
ToPtr returns a *TokenStatus pointing to the current value.
type TokenType ¶
type TokenType string
TokenType - The type of Auth token.
func PossibleTokenTypeValues ¶
func PossibleTokenTypeValues() []TokenType
PossibleTokenTypeValues returns the possible values for the TokenType const type.
type TokenUpdateParameters ¶
type TokenUpdateParameters struct { // The properties of the token update parameters. Properties *TokenUpdateProperties `json:"properties,omitempty"` }
TokenUpdateParameters - The parameters for updating a token.
func (TokenUpdateParameters) MarshalJSON ¶
func (t TokenUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type TokenUpdateParameters.
type TokenUpdateProperties ¶
type TokenUpdateProperties struct { // The credentials that can be used for authenticating the token. Credentials *TokenCredentialsProperties `json:"credentials,omitempty"` // The resource ID of the scope map to which the token will be associated with. ScopeMapID *string `json:"scopeMapId,omitempty"` // The status of the token example enabled or disabled. Status *TokenStatus `json:"status,omitempty"` }
TokenUpdateProperties - The parameters for updating token properties.
type TokensBeginCreateOptions ¶
type TokensBeginCreateOptions struct { }
TokensBeginCreateOptions contains the optional parameters for the Tokens.BeginCreate method.
type TokensBeginDeleteOptions ¶
type TokensBeginDeleteOptions struct { }
TokensBeginDeleteOptions contains the optional parameters for the Tokens.BeginDelete method.
type TokensBeginUpdateOptions ¶
type TokensBeginUpdateOptions struct { }
TokensBeginUpdateOptions contains the optional parameters for the Tokens.BeginUpdate method.
type TokensClient ¶
type TokensClient struct {
// contains filtered or unexported fields
}
TokensClient contains the methods for the Tokens group. Don't use this type directly, use NewTokensClient() instead.
func NewTokensClient ¶
func NewTokensClient(con *arm.Connection, subscriptionID string) *TokensClient
NewTokensClient creates a new instance of TokensClient with the specified values.
func (*TokensClient) BeginCreate ¶
func (client *TokensClient) BeginCreate(ctx context.Context, resourceGroupName string, registryName string, tokenName string, tokenCreateParameters Token, options *TokensBeginCreateOptions) (TokensCreatePollerResponse, error)
BeginCreate - Creates a token for a container registry with the specified parameters. If the operation fails it returns a generic error.
func (*TokensClient) BeginDelete ¶
func (client *TokensClient) BeginDelete(ctx context.Context, resourceGroupName string, registryName string, tokenName string, options *TokensBeginDeleteOptions) (TokensDeletePollerResponse, error)
BeginDelete - Deletes a token from a container registry. If the operation fails it returns a generic error.
func (*TokensClient) BeginUpdate ¶
func (client *TokensClient) BeginUpdate(ctx context.Context, resourceGroupName string, registryName string, tokenName string, tokenUpdateParameters TokenUpdateParameters, options *TokensBeginUpdateOptions) (TokensUpdatePollerResponse, error)
BeginUpdate - Updates a token with the specified parameters. If the operation fails it returns a generic error.
func (*TokensClient) Get ¶
func (client *TokensClient) Get(ctx context.Context, resourceGroupName string, registryName string, tokenName string, options *TokensGetOptions) (TokensGetResponse, error)
Get - Gets the properties of the specified token. If the operation fails it returns a generic error.
func (*TokensClient) List ¶
func (client *TokensClient) List(resourceGroupName string, registryName string, options *TokensListOptions) *TokensListPager
List - Lists all the tokens for the specified container registry. If the operation fails it returns a generic error.
type TokensCreatePoller ¶
type TokensCreatePoller struct {
// contains filtered or unexported fields
}
TokensCreatePoller provides polling facilities until the operation reaches a terminal state.
func (*TokensCreatePoller) Done ¶
func (p *TokensCreatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*TokensCreatePoller) FinalResponse ¶
func (p *TokensCreatePoller) FinalResponse(ctx context.Context) (TokensCreateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final TokensCreateResponse will be returned.
func (*TokensCreatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*TokensCreatePoller) ResumeToken ¶
func (p *TokensCreatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type TokensCreatePollerResponse ¶
type TokensCreatePollerResponse struct { // Poller contains an initialized poller. Poller *TokensCreatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
TokensCreatePollerResponse contains the response from method Tokens.Create.
func (TokensCreatePollerResponse) PollUntilDone ¶
func (l TokensCreatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (TokensCreateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.
func (*TokensCreatePollerResponse) Resume ¶
func (l *TokensCreatePollerResponse) Resume(ctx context.Context, client *TokensClient, token string) error
Resume rehydrates a TokensCreatePollerResponse from the provided client and resume token.
type TokensCreateResponse ¶
type TokensCreateResponse struct { TokensCreateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
TokensCreateResponse contains the response from method Tokens.Create.
type TokensCreateResult ¶
type TokensCreateResult struct {
Token
}
TokensCreateResult contains the result from method Tokens.Create.
type TokensDeletePoller ¶
type TokensDeletePoller struct {
// contains filtered or unexported fields
}
TokensDeletePoller provides polling facilities until the operation reaches a terminal state.
func (*TokensDeletePoller) Done ¶
func (p *TokensDeletePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*TokensDeletePoller) FinalResponse ¶
func (p *TokensDeletePoller) FinalResponse(ctx context.Context) (TokensDeleteResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final TokensDeleteResponse will be returned.
func (*TokensDeletePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*TokensDeletePoller) ResumeToken ¶
func (p *TokensDeletePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type TokensDeletePollerResponse ¶
type TokensDeletePollerResponse struct { // Poller contains an initialized poller. Poller *TokensDeletePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
TokensDeletePollerResponse contains the response from method Tokens.Delete.
func (TokensDeletePollerResponse) PollUntilDone ¶
func (l TokensDeletePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (TokensDeleteResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.
func (*TokensDeletePollerResponse) Resume ¶
func (l *TokensDeletePollerResponse) Resume(ctx context.Context, client *TokensClient, token string) error
Resume rehydrates a TokensDeletePollerResponse from the provided client and resume token.
type TokensDeleteResponse ¶
type TokensDeleteResponse struct { // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
TokensDeleteResponse contains the response from method Tokens.Delete.
type TokensGetOptions ¶
type TokensGetOptions struct { }
TokensGetOptions contains the optional parameters for the Tokens.Get method.
type TokensGetResponse ¶
type TokensGetResponse struct { TokensGetResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
TokensGetResponse contains the response from method Tokens.Get.
type TokensGetResult ¶
type TokensGetResult struct {
Token
}
TokensGetResult contains the result from method Tokens.Get.
type TokensListOptions ¶
type TokensListOptions struct { }
TokensListOptions contains the optional parameters for the Tokens.List method.
type TokensListPager ¶
type TokensListPager struct {
// contains filtered or unexported fields
}
TokensListPager provides operations for iterating over paged responses.
func (*TokensListPager) Err ¶
func (p *TokensListPager) Err() error
Err returns the last error encountered while paging.
func (*TokensListPager) NextPage ¶
func (p *TokensListPager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*TokensListPager) PageResponse ¶
func (p *TokensListPager) PageResponse() TokensListResponse
PageResponse returns the current TokensListResponse page.
type TokensListResponse ¶
type TokensListResponse struct { TokensListResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
TokensListResponse contains the response from method Tokens.List.
type TokensListResult ¶
type TokensListResult struct {
TokenListResult
}
TokensListResult contains the result from method Tokens.List.
type TokensUpdatePoller ¶
type TokensUpdatePoller struct {
// contains filtered or unexported fields
}
TokensUpdatePoller provides polling facilities until the operation reaches a terminal state.
func (*TokensUpdatePoller) Done ¶
func (p *TokensUpdatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*TokensUpdatePoller) FinalResponse ¶
func (p *TokensUpdatePoller) FinalResponse(ctx context.Context) (TokensUpdateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final TokensUpdateResponse will be returned.
func (*TokensUpdatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*TokensUpdatePoller) ResumeToken ¶
func (p *TokensUpdatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type TokensUpdatePollerResponse ¶
type TokensUpdatePollerResponse struct { // Poller contains an initialized poller. Poller *TokensUpdatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
TokensUpdatePollerResponse contains the response from method Tokens.Update.
func (TokensUpdatePollerResponse) PollUntilDone ¶
func (l TokensUpdatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (TokensUpdateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.
func (*TokensUpdatePollerResponse) Resume ¶
func (l *TokensUpdatePollerResponse) Resume(ctx context.Context, client *TokensClient, token string) error
Resume rehydrates a TokensUpdatePollerResponse from the provided client and resume token.
type TokensUpdateResponse ¶
type TokensUpdateResponse struct { TokensUpdateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
TokensUpdateResponse contains the response from method Tokens.Update.
type TokensUpdateResult ¶
type TokensUpdateResult struct {
Token
}
TokensUpdateResult contains the result from method Tokens.Update.
type TriggerProperties ¶
type TriggerProperties struct { // The trigger based on base image dependencies. BaseImageTrigger *BaseImageTrigger `json:"baseImageTrigger,omitempty"` // The collection of triggers based on source code repository. SourceTriggers []*SourceTrigger `json:"sourceTriggers,omitempty"` // The collection of timer triggers. TimerTriggers []*TimerTrigger `json:"timerTriggers,omitempty"` }
TriggerProperties - The properties of a trigger.
func (TriggerProperties) MarshalJSON ¶
func (t TriggerProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type TriggerProperties.
type TriggerStatus ¶
type TriggerStatus string
TriggerStatus - The current status of trigger.
const ( TriggerStatusDisabled TriggerStatus = "Disabled" TriggerStatusEnabled TriggerStatus = "Enabled" )
func PossibleTriggerStatusValues ¶
func PossibleTriggerStatusValues() []TriggerStatus
PossibleTriggerStatusValues returns the possible values for the TriggerStatus const type.
func (TriggerStatus) ToPtr ¶
func (c TriggerStatus) ToPtr() *TriggerStatus
ToPtr returns a *TriggerStatus pointing to the current value.
type TriggerUpdateParameters ¶
type TriggerUpdateParameters struct { // The trigger based on base image dependencies. BaseImageTrigger *BaseImageTriggerUpdateParameters `json:"baseImageTrigger,omitempty"` // The collection of triggers based on source code repository. SourceTriggers []*SourceTriggerUpdateParameters `json:"sourceTriggers,omitempty"` // The collection of timer triggers. TimerTriggers []*TimerTriggerUpdateParameters `json:"timerTriggers,omitempty"` }
TriggerUpdateParameters - The properties for updating triggers.
func (TriggerUpdateParameters) MarshalJSON ¶
func (t TriggerUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type TriggerUpdateParameters.
type TrustPolicy ¶
type TrustPolicy struct { // The value that indicates whether the policy is enabled or not. Status *PolicyStatus `json:"status,omitempty"` // The type of trust policy. Type *TrustPolicyType `json:"type,omitempty"` }
TrustPolicy - The content trust policy for a container registry.
type TrustPolicyType ¶
type TrustPolicyType string
TrustPolicyType - The type of trust policy.
const (
TrustPolicyTypeNotary TrustPolicyType = "Notary"
)
func PossibleTrustPolicyTypeValues ¶
func PossibleTrustPolicyTypeValues() []TrustPolicyType
PossibleTrustPolicyTypeValues returns the possible values for the TrustPolicyType const type.
func (TrustPolicyType) ToPtr ¶
func (c TrustPolicyType) ToPtr() *TrustPolicyType
ToPtr returns a *TrustPolicyType pointing to the current value.
type UpdateTriggerPayloadType ¶
type UpdateTriggerPayloadType string
UpdateTriggerPayloadType - Type of Payload body for Base image update triggers.
const ( UpdateTriggerPayloadTypeDefault UpdateTriggerPayloadType = "Default" UpdateTriggerPayloadTypeToken UpdateTriggerPayloadType = "Token" )
func PossibleUpdateTriggerPayloadTypeValues ¶
func PossibleUpdateTriggerPayloadTypeValues() []UpdateTriggerPayloadType
PossibleUpdateTriggerPayloadTypeValues returns the possible values for the UpdateTriggerPayloadType const type.
func (UpdateTriggerPayloadType) ToPtr ¶
func (c UpdateTriggerPayloadType) ToPtr() *UpdateTriggerPayloadType
ToPtr returns a *UpdateTriggerPayloadType pointing to the current value.
type UserIdentityProperties ¶
type Variant ¶
type Variant string
Variant - Variant of the CPU.
func PossibleVariantValues ¶
func PossibleVariantValues() []Variant
PossibleVariantValues returns the possible values for the Variant const type.
type VirtualNetworkRule ¶
type VirtualNetworkRule struct { // REQUIRED; Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{vnetName}/subnets/{subnetName}. VirtualNetworkResourceID *string `json:"id,omitempty"` // The action of virtual network rule. Action *Action `json:"action,omitempty"` }
VirtualNetworkRule - Virtual network rule.
type Webhook ¶
type Webhook struct { Resource // The properties of the webhook. Properties *WebhookProperties `json:"properties,omitempty"` }
Webhook - An object that represents a webhook for a container registry.
func (Webhook) MarshalJSON ¶
MarshalJSON implements the json.Marshaller interface for type Webhook.
type WebhookAction ¶
type WebhookAction string
const ( WebhookActionChartDelete WebhookAction = "chart_delete" WebhookActionChartPush WebhookAction = "chart_push" WebhookActionDelete WebhookAction = "delete" WebhookActionPush WebhookAction = "push" WebhookActionQuarantine WebhookAction = "quarantine" )
func PossibleWebhookActionValues ¶
func PossibleWebhookActionValues() []WebhookAction
PossibleWebhookActionValues returns the possible values for the WebhookAction const type.
func (WebhookAction) ToPtr ¶
func (c WebhookAction) ToPtr() *WebhookAction
ToPtr returns a *WebhookAction pointing to the current value.
type WebhookCreateParameters ¶
type WebhookCreateParameters struct { // REQUIRED; The location of the webhook. This cannot be changed after the resource is created. Location *string `json:"location,omitempty"` // The properties that the webhook will be created with. Properties *WebhookPropertiesCreateParameters `json:"properties,omitempty"` // The tags for the webhook. Tags map[string]*string `json:"tags,omitempty"` }
WebhookCreateParameters - The parameters for creating a webhook.
func (WebhookCreateParameters) MarshalJSON ¶
func (w WebhookCreateParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type WebhookCreateParameters.
type WebhookListResult ¶
type WebhookListResult struct { // The URI that can be used to request the next list of webhooks. NextLink *string `json:"nextLink,omitempty"` // The list of webhooks. Since this list may be incomplete, the nextLink field should be used to request the next list of webhooks. Value []*Webhook `json:"value,omitempty"` }
WebhookListResult - The result of a request to list webhooks for a container registry.
func (WebhookListResult) MarshalJSON ¶
func (w WebhookListResult) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type WebhookListResult.
type WebhookProperties ¶
type WebhookProperties struct { // REQUIRED; The list of actions that trigger the webhook to post notifications. Actions []*WebhookAction `json:"actions,omitempty"` // The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events // for 'foo:bar' only. 'foo' is equivalent to // 'foo:latest'. Empty means all events. Scope *string `json:"scope,omitempty"` // The status of the webhook at the time the operation was called. Status *WebhookStatus `json:"status,omitempty"` // READ-ONLY; The provisioning state of the webhook at the time the operation was called. ProvisioningState *ProvisioningState `json:"provisioningState,omitempty" azure:"ro"` }
WebhookProperties - The properties of a webhook.
func (WebhookProperties) MarshalJSON ¶
func (w WebhookProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type WebhookProperties.
type WebhookPropertiesCreateParameters ¶
type WebhookPropertiesCreateParameters struct { // REQUIRED; The list of actions that trigger the webhook to post notifications. Actions []*WebhookAction `json:"actions,omitempty"` // REQUIRED; The service URI for the webhook to post notifications. ServiceURI *string `json:"serviceUri,omitempty"` // Custom headers that will be added to the webhook notifications. CustomHeaders map[string]*string `json:"customHeaders,omitempty"` // The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events // for 'foo:bar' only. 'foo' is equivalent to // 'foo:latest'. Empty means all events. Scope *string `json:"scope,omitempty"` // The status of the webhook at the time the operation was called. Status *WebhookStatus `json:"status,omitempty"` }
WebhookPropertiesCreateParameters - The parameters for creating the properties of a webhook.
func (WebhookPropertiesCreateParameters) MarshalJSON ¶
func (w WebhookPropertiesCreateParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type WebhookPropertiesCreateParameters.
type WebhookPropertiesUpdateParameters ¶
type WebhookPropertiesUpdateParameters struct { // The list of actions that trigger the webhook to post notifications. Actions []*WebhookAction `json:"actions,omitempty"` // Custom headers that will be added to the webhook notifications. CustomHeaders map[string]*string `json:"customHeaders,omitempty"` // The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events // for 'foo:bar' only. 'foo' is equivalent to // 'foo:latest'. Empty means all events. Scope *string `json:"scope,omitempty"` // The service URI for the webhook to post notifications. ServiceURI *string `json:"serviceUri,omitempty"` // The status of the webhook at the time the operation was called. Status *WebhookStatus `json:"status,omitempty"` }
WebhookPropertiesUpdateParameters - The parameters for updating the properties of a webhook.
func (WebhookPropertiesUpdateParameters) MarshalJSON ¶
func (w WebhookPropertiesUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type WebhookPropertiesUpdateParameters.
type WebhookStatus ¶
type WebhookStatus string
WebhookStatus - The status of the webhook at the time the operation was called.
const ( WebhookStatusDisabled WebhookStatus = "disabled" WebhookStatusEnabled WebhookStatus = "enabled" )
func PossibleWebhookStatusValues ¶
func PossibleWebhookStatusValues() []WebhookStatus
PossibleWebhookStatusValues returns the possible values for the WebhookStatus const type.
func (WebhookStatus) ToPtr ¶
func (c WebhookStatus) ToPtr() *WebhookStatus
ToPtr returns a *WebhookStatus pointing to the current value.
type WebhookUpdateParameters ¶
type WebhookUpdateParameters struct { // The properties that the webhook will be updated with. Properties *WebhookPropertiesUpdateParameters `json:"properties,omitempty"` // The tags for the webhook. Tags map[string]*string `json:"tags,omitempty"` }
WebhookUpdateParameters - The parameters for updating a webhook.
func (WebhookUpdateParameters) MarshalJSON ¶
func (w WebhookUpdateParameters) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaller interface for type WebhookUpdateParameters.
type WebhooksBeginCreateOptions ¶
type WebhooksBeginCreateOptions struct { }
WebhooksBeginCreateOptions contains the optional parameters for the Webhooks.BeginCreate method.
type WebhooksBeginDeleteOptions ¶
type WebhooksBeginDeleteOptions struct { }
WebhooksBeginDeleteOptions contains the optional parameters for the Webhooks.BeginDelete method.
type WebhooksBeginUpdateOptions ¶
type WebhooksBeginUpdateOptions struct { }
WebhooksBeginUpdateOptions contains the optional parameters for the Webhooks.BeginUpdate method.
type WebhooksClient ¶
type WebhooksClient struct {
// contains filtered or unexported fields
}
WebhooksClient contains the methods for the Webhooks group. Don't use this type directly, use NewWebhooksClient() instead.
func NewWebhooksClient ¶
func NewWebhooksClient(con *arm.Connection, subscriptionID string) *WebhooksClient
NewWebhooksClient creates a new instance of WebhooksClient with the specified values.
func (*WebhooksClient) BeginCreate ¶
func (client *WebhooksClient) BeginCreate(ctx context.Context, resourceGroupName string, registryName string, webhookName string, webhookCreateParameters WebhookCreateParameters, options *WebhooksBeginCreateOptions) (WebhooksCreatePollerResponse, error)
BeginCreate - Creates a webhook for a container registry with the specified parameters. If the operation fails it returns a generic error.
func (*WebhooksClient) BeginDelete ¶
func (client *WebhooksClient) BeginDelete(ctx context.Context, resourceGroupName string, registryName string, webhookName string, options *WebhooksBeginDeleteOptions) (WebhooksDeletePollerResponse, error)
BeginDelete - Deletes a webhook from a container registry. If the operation fails it returns a generic error.
func (*WebhooksClient) BeginUpdate ¶
func (client *WebhooksClient) BeginUpdate(ctx context.Context, resourceGroupName string, registryName string, webhookName string, webhookUpdateParameters WebhookUpdateParameters, options *WebhooksBeginUpdateOptions) (WebhooksUpdatePollerResponse, error)
BeginUpdate - Updates a webhook with the specified parameters. If the operation fails it returns a generic error.
func (*WebhooksClient) Get ¶
func (client *WebhooksClient) Get(ctx context.Context, resourceGroupName string, registryName string, webhookName string, options *WebhooksGetOptions) (WebhooksGetResponse, error)
Get - Gets the properties of the specified webhook. If the operation fails it returns a generic error.
func (*WebhooksClient) GetCallbackConfig ¶
func (client *WebhooksClient) GetCallbackConfig(ctx context.Context, resourceGroupName string, registryName string, webhookName string, options *WebhooksGetCallbackConfigOptions) (WebhooksGetCallbackConfigResponse, error)
GetCallbackConfig - Gets the configuration of service URI and custom headers for the webhook. If the operation fails it returns a generic error.
func (*WebhooksClient) List ¶
func (client *WebhooksClient) List(resourceGroupName string, registryName string, options *WebhooksListOptions) *WebhooksListPager
List - Lists all the webhooks for the specified container registry. If the operation fails it returns a generic error.
func (*WebhooksClient) ListEvents ¶
func (client *WebhooksClient) ListEvents(resourceGroupName string, registryName string, webhookName string, options *WebhooksListEventsOptions) *WebhooksListEventsPager
ListEvents - Lists recent events for the specified webhook. If the operation fails it returns a generic error.
func (*WebhooksClient) Ping ¶
func (client *WebhooksClient) Ping(ctx context.Context, resourceGroupName string, registryName string, webhookName string, options *WebhooksPingOptions) (WebhooksPingResponse, error)
Ping - Triggers a ping event to be sent to the webhook. If the operation fails it returns a generic error.
type WebhooksCreatePoller ¶
type WebhooksCreatePoller struct {
// contains filtered or unexported fields
}
WebhooksCreatePoller provides polling facilities until the operation reaches a terminal state.
func (*WebhooksCreatePoller) Done ¶
func (p *WebhooksCreatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*WebhooksCreatePoller) FinalResponse ¶
func (p *WebhooksCreatePoller) FinalResponse(ctx context.Context) (WebhooksCreateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final WebhooksCreateResponse will be returned.
func (*WebhooksCreatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*WebhooksCreatePoller) ResumeToken ¶
func (p *WebhooksCreatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type WebhooksCreatePollerResponse ¶
type WebhooksCreatePollerResponse struct { // Poller contains an initialized poller. Poller *WebhooksCreatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
WebhooksCreatePollerResponse contains the response from method Webhooks.Create.
func (WebhooksCreatePollerResponse) PollUntilDone ¶
func (l WebhooksCreatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (WebhooksCreateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.
func (*WebhooksCreatePollerResponse) Resume ¶
func (l *WebhooksCreatePollerResponse) Resume(ctx context.Context, client *WebhooksClient, token string) error
Resume rehydrates a WebhooksCreatePollerResponse from the provided client and resume token.
type WebhooksCreateResponse ¶
type WebhooksCreateResponse struct { WebhooksCreateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
WebhooksCreateResponse contains the response from method Webhooks.Create.
type WebhooksCreateResult ¶
type WebhooksCreateResult struct {
Webhook
}
WebhooksCreateResult contains the result from method Webhooks.Create.
type WebhooksDeletePoller ¶
type WebhooksDeletePoller struct {
// contains filtered or unexported fields
}
WebhooksDeletePoller provides polling facilities until the operation reaches a terminal state.
func (*WebhooksDeletePoller) Done ¶
func (p *WebhooksDeletePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*WebhooksDeletePoller) FinalResponse ¶
func (p *WebhooksDeletePoller) FinalResponse(ctx context.Context) (WebhooksDeleteResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final WebhooksDeleteResponse will be returned.
func (*WebhooksDeletePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*WebhooksDeletePoller) ResumeToken ¶
func (p *WebhooksDeletePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type WebhooksDeletePollerResponse ¶
type WebhooksDeletePollerResponse struct { // Poller contains an initialized poller. Poller *WebhooksDeletePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
WebhooksDeletePollerResponse contains the response from method Webhooks.Delete.
func (WebhooksDeletePollerResponse) PollUntilDone ¶
func (l WebhooksDeletePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (WebhooksDeleteResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.
func (*WebhooksDeletePollerResponse) Resume ¶
func (l *WebhooksDeletePollerResponse) Resume(ctx context.Context, client *WebhooksClient, token string) error
Resume rehydrates a WebhooksDeletePollerResponse from the provided client and resume token.
type WebhooksDeleteResponse ¶
type WebhooksDeleteResponse struct { // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
WebhooksDeleteResponse contains the response from method Webhooks.Delete.
type WebhooksGetCallbackConfigOptions ¶
type WebhooksGetCallbackConfigOptions struct { }
WebhooksGetCallbackConfigOptions contains the optional parameters for the Webhooks.GetCallbackConfig method.
type WebhooksGetCallbackConfigResponse ¶
type WebhooksGetCallbackConfigResponse struct { WebhooksGetCallbackConfigResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
WebhooksGetCallbackConfigResponse contains the response from method Webhooks.GetCallbackConfig.
type WebhooksGetCallbackConfigResult ¶
type WebhooksGetCallbackConfigResult struct {
CallbackConfig
}
WebhooksGetCallbackConfigResult contains the result from method Webhooks.GetCallbackConfig.
type WebhooksGetOptions ¶
type WebhooksGetOptions struct { }
WebhooksGetOptions contains the optional parameters for the Webhooks.Get method.
type WebhooksGetResponse ¶
type WebhooksGetResponse struct { WebhooksGetResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
WebhooksGetResponse contains the response from method Webhooks.Get.
type WebhooksGetResult ¶
type WebhooksGetResult struct {
Webhook
}
WebhooksGetResult contains the result from method Webhooks.Get.
type WebhooksListEventsOptions ¶
type WebhooksListEventsOptions struct { }
WebhooksListEventsOptions contains the optional parameters for the Webhooks.ListEvents method.
type WebhooksListEventsPager ¶
type WebhooksListEventsPager struct {
// contains filtered or unexported fields
}
WebhooksListEventsPager provides operations for iterating over paged responses.
func (*WebhooksListEventsPager) Err ¶
func (p *WebhooksListEventsPager) Err() error
Err returns the last error encountered while paging.
func (*WebhooksListEventsPager) NextPage ¶
func (p *WebhooksListEventsPager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*WebhooksListEventsPager) PageResponse ¶
func (p *WebhooksListEventsPager) PageResponse() WebhooksListEventsResponse
PageResponse returns the current WebhooksListEventsResponse page.
type WebhooksListEventsResponse ¶
type WebhooksListEventsResponse struct { WebhooksListEventsResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
WebhooksListEventsResponse contains the response from method Webhooks.ListEvents.
type WebhooksListEventsResult ¶
type WebhooksListEventsResult struct {
EventListResult
}
WebhooksListEventsResult contains the result from method Webhooks.ListEvents.
type WebhooksListOptions ¶
type WebhooksListOptions struct { }
WebhooksListOptions contains the optional parameters for the Webhooks.List method.
type WebhooksListPager ¶
type WebhooksListPager struct {
// contains filtered or unexported fields
}
WebhooksListPager provides operations for iterating over paged responses.
func (*WebhooksListPager) Err ¶
func (p *WebhooksListPager) Err() error
Err returns the last error encountered while paging.
func (*WebhooksListPager) NextPage ¶
func (p *WebhooksListPager) NextPage(ctx context.Context) bool
NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.
func (*WebhooksListPager) PageResponse ¶
func (p *WebhooksListPager) PageResponse() WebhooksListResponse
PageResponse returns the current WebhooksListResponse page.
type WebhooksListResponse ¶
type WebhooksListResponse struct { WebhooksListResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
WebhooksListResponse contains the response from method Webhooks.List.
type WebhooksListResult ¶
type WebhooksListResult struct {
WebhookListResult
}
WebhooksListResult contains the result from method Webhooks.List.
type WebhooksPingOptions ¶
type WebhooksPingOptions struct { }
WebhooksPingOptions contains the optional parameters for the Webhooks.Ping method.
type WebhooksPingResponse ¶
type WebhooksPingResponse struct { WebhooksPingResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
WebhooksPingResponse contains the response from method Webhooks.Ping.
type WebhooksPingResult ¶
type WebhooksPingResult struct {
EventInfo
}
WebhooksPingResult contains the result from method Webhooks.Ping.
type WebhooksUpdatePoller ¶
type WebhooksUpdatePoller struct {
// contains filtered or unexported fields
}
WebhooksUpdatePoller provides polling facilities until the operation reaches a terminal state.
func (*WebhooksUpdatePoller) Done ¶
func (p *WebhooksUpdatePoller) Done() bool
Done returns true if the LRO has reached a terminal state.
func (*WebhooksUpdatePoller) FinalResponse ¶
func (p *WebhooksUpdatePoller) FinalResponse(ctx context.Context) (WebhooksUpdateResponse, error)
FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final WebhooksUpdateResponse will be returned.
func (*WebhooksUpdatePoller) Poll ¶
Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.
func (*WebhooksUpdatePoller) ResumeToken ¶
func (p *WebhooksUpdatePoller) ResumeToken() (string, error)
ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.
type WebhooksUpdatePollerResponse ¶
type WebhooksUpdatePollerResponse struct { // Poller contains an initialized poller. Poller *WebhooksUpdatePoller // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
WebhooksUpdatePollerResponse contains the response from method Webhooks.Update.
func (WebhooksUpdatePollerResponse) PollUntilDone ¶
func (l WebhooksUpdatePollerResponse) PollUntilDone(ctx context.Context, freq time.Duration) (WebhooksUpdateResponse, error)
PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received.
func (*WebhooksUpdatePollerResponse) Resume ¶
func (l *WebhooksUpdatePollerResponse) Resume(ctx context.Context, client *WebhooksClient, token string) error
Resume rehydrates a WebhooksUpdatePollerResponse from the provided client and resume token.
type WebhooksUpdateResponse ¶
type WebhooksUpdateResponse struct { WebhooksUpdateResult // RawResponse contains the underlying HTTP response. RawResponse *http.Response }
WebhooksUpdateResponse contains the response from method Webhooks.Update.
type WebhooksUpdateResult ¶
type WebhooksUpdateResult struct {
Webhook
}
WebhooksUpdateResult contains the result from method Webhooks.Update.
type ZoneRedundancy ¶
type ZoneRedundancy string
ZoneRedundancy - Whether or not zone redundancy is enabled for this container registry
const ( ZoneRedundancyDisabled ZoneRedundancy = "Disabled" ZoneRedundancyEnabled ZoneRedundancy = "Enabled" )
func PossibleZoneRedundancyValues ¶
func PossibleZoneRedundancyValues() []ZoneRedundancy
PossibleZoneRedundancyValues returns the possible values for the ZoneRedundancy const type.
func (ZoneRedundancy) ToPtr ¶
func (c ZoneRedundancy) ToPtr() *ZoneRedundancy
ToPtr returns a *ZoneRedundancy pointing to the current value.
Source Files ¶
- build.go
- zz_generated_agentpools_client.go
- zz_generated_connectedregistries_client.go
- zz_generated_constants.go
- zz_generated_exportpipelines_client.go
- zz_generated_importpipelines_client.go
- zz_generated_models.go
- zz_generated_operations_client.go
- zz_generated_pagers.go
- zz_generated_pipelineruns_client.go
- zz_generated_pollers.go
- zz_generated_polymorphic_helpers.go
- zz_generated_privateendpointconnections_client.go
- zz_generated_registries_client.go
- zz_generated_replications_client.go
- zz_generated_response_types.go
- zz_generated_runs_client.go
- zz_generated_scopemaps_client.go
- zz_generated_taskruns_client.go
- zz_generated_tasks_client.go
- zz_generated_time_rfc3339.go
- zz_generated_tokens_client.go
- zz_generated_webhooks_client.go