Documentation ¶
Index ¶
- func PossibleValuesForRevisionHealthState() []string
- func PossibleValuesForRevisionProvisioningState() []string
- func PossibleValuesForScheme() []string
- func PossibleValuesForStorageType() []string
- func PossibleValuesForType() []string
- func ValidateContainerAppID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateRevisionID(input interface{}, key string) (warnings []string, errors []error)
- type ActivateRevisionOperationResponse
- type Container
- type ContainerAppId
- type ContainerAppProbe
- type ContainerAppProbeHttpGet
- type ContainerAppProbeHttpGetHttpHeadersInlined
- type ContainerAppProbeTcpSocket
- type ContainerAppsRevisionsClient
- func (c ContainerAppsRevisionsClient) ActivateRevision(ctx context.Context, id RevisionId) (result ActivateRevisionOperationResponse, err error)
- func (c ContainerAppsRevisionsClient) DeactivateRevision(ctx context.Context, id RevisionId) (result DeactivateRevisionOperationResponse, err error)
- func (c ContainerAppsRevisionsClient) GetRevision(ctx context.Context, id RevisionId) (result GetRevisionOperationResponse, err error)
- func (c ContainerAppsRevisionsClient) ListRevisions(ctx context.Context, id ContainerAppId, options ListRevisionsOperationOptions) (resp ListRevisionsOperationResponse, err error)
- func (c ContainerAppsRevisionsClient) ListRevisionsComplete(ctx context.Context, id ContainerAppId, options ListRevisionsOperationOptions) (ListRevisionsCompleteResult, error)
- func (c ContainerAppsRevisionsClient) ListRevisionsCompleteMatchingPredicate(ctx context.Context, id ContainerAppId, options ListRevisionsOperationOptions, ...) (resp ListRevisionsCompleteResult, err error)
- func (c ContainerAppsRevisionsClient) RestartRevision(ctx context.Context, id RevisionId) (result RestartRevisionOperationResponse, err error)
- type ContainerResources
- type CustomScaleRule
- type DeactivateRevisionOperationResponse
- type EnvironmentVar
- type GetRevisionOperationResponse
- type HttpScaleRule
- type ListRevisionsCompleteResult
- type ListRevisionsOperationOptions
- type ListRevisionsOperationResponse
- type QueueScaleRule
- type RestartRevisionOperationResponse
- type Revision
- type RevisionHealthState
- type RevisionId
- type RevisionOperationPredicate
- type RevisionProperties
- type RevisionProvisioningState
- type Scale
- type ScaleRule
- type ScaleRuleAuth
- type Scheme
- type StorageType
- type Template
- type Type
- type Volume
- type VolumeMount
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForRevisionHealthState ¶
func PossibleValuesForRevisionHealthState() []string
func PossibleValuesForRevisionProvisioningState ¶
func PossibleValuesForRevisionProvisioningState() []string
func PossibleValuesForScheme ¶
func PossibleValuesForScheme() []string
func PossibleValuesForStorageType ¶
func PossibleValuesForStorageType() []string
func PossibleValuesForType ¶
func PossibleValuesForType() []string
func ValidateContainerAppID ¶
ValidateContainerAppID checks that 'input' can be parsed as a Container App ID
func ValidateRevisionID ¶
ValidateRevisionID checks that 'input' can be parsed as a Revision ID
Types ¶
type Container ¶
type Container struct { Args *[]string `json:"args,omitempty"` Command *[]string `json:"command,omitempty"` Env *[]EnvironmentVar `json:"env,omitempty"` Image *string `json:"image,omitempty"` Name *string `json:"name,omitempty"` Probes *[]ContainerAppProbe `json:"probes,omitempty"` Resources *ContainerResources `json:"resources,omitempty"` VolumeMounts *[]VolumeMount `json:"volumeMounts,omitempty"` }
type ContainerAppId ¶
type ContainerAppId struct { SubscriptionId string ResourceGroupName string ContainerAppName string }
ContainerAppId is a struct representing the Resource ID for a Container App
func NewContainerAppID ¶
func NewContainerAppID(subscriptionId string, resourceGroupName string, containerAppName string) ContainerAppId
NewContainerAppID returns a new ContainerAppId struct
func ParseContainerAppID ¶
func ParseContainerAppID(input string) (*ContainerAppId, error)
ParseContainerAppID parses 'input' into a ContainerAppId
func ParseContainerAppIDInsensitively ¶
func ParseContainerAppIDInsensitively(input string) (*ContainerAppId, error)
ParseContainerAppIDInsensitively parses 'input' case-insensitively into a ContainerAppId note: this method should only be used for API response data and not user input
func (ContainerAppId) ID ¶
func (id ContainerAppId) ID() string
ID returns the formatted Container App ID
func (ContainerAppId) Segments ¶
func (id ContainerAppId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Container App ID
func (ContainerAppId) String ¶
func (id ContainerAppId) String() string
String returns a human-readable description of this Container App ID
type ContainerAppProbe ¶
type ContainerAppProbe struct { FailureThreshold *int64 `json:"failureThreshold,omitempty"` HttpGet *ContainerAppProbeHttpGet `json:"httpGet,omitempty"` InitialDelaySeconds *int64 `json:"initialDelaySeconds,omitempty"` PeriodSeconds *int64 `json:"periodSeconds,omitempty"` SuccessThreshold *int64 `json:"successThreshold,omitempty"` TcpSocket *ContainerAppProbeTcpSocket `json:"tcpSocket,omitempty"` TerminationGracePeriodSeconds *int64 `json:"terminationGracePeriodSeconds,omitempty"` TimeoutSeconds *int64 `json:"timeoutSeconds,omitempty"` Type *Type `json:"type,omitempty"` }
type ContainerAppProbeHttpGet ¶
type ContainerAppProbeHttpGet struct { Host *string `json:"host,omitempty"` HttpHeaders *[]ContainerAppProbeHttpGetHttpHeadersInlined `json:"httpHeaders,omitempty"` Path *string `json:"path,omitempty"` Port int64 `json:"port"` Scheme *Scheme `json:"scheme,omitempty"` }
type ContainerAppsRevisionsClient ¶
type ContainerAppsRevisionsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewContainerAppsRevisionsClientWithBaseURI ¶
func NewContainerAppsRevisionsClientWithBaseURI(endpoint string) ContainerAppsRevisionsClient
func (ContainerAppsRevisionsClient) ActivateRevision ¶
func (c ContainerAppsRevisionsClient) ActivateRevision(ctx context.Context, id RevisionId) (result ActivateRevisionOperationResponse, err error)
ActivateRevision ...
func (ContainerAppsRevisionsClient) DeactivateRevision ¶
func (c ContainerAppsRevisionsClient) DeactivateRevision(ctx context.Context, id RevisionId) (result DeactivateRevisionOperationResponse, err error)
DeactivateRevision ...
func (ContainerAppsRevisionsClient) GetRevision ¶
func (c ContainerAppsRevisionsClient) GetRevision(ctx context.Context, id RevisionId) (result GetRevisionOperationResponse, err error)
GetRevision ...
func (ContainerAppsRevisionsClient) ListRevisions ¶
func (c ContainerAppsRevisionsClient) ListRevisions(ctx context.Context, id ContainerAppId, options ListRevisionsOperationOptions) (resp ListRevisionsOperationResponse, err error)
ListRevisions ...
func (ContainerAppsRevisionsClient) ListRevisionsComplete ¶
func (c ContainerAppsRevisionsClient) ListRevisionsComplete(ctx context.Context, id ContainerAppId, options ListRevisionsOperationOptions) (ListRevisionsCompleteResult, error)
ListRevisionsComplete retrieves all of the results into a single object
func (ContainerAppsRevisionsClient) ListRevisionsCompleteMatchingPredicate ¶
func (c ContainerAppsRevisionsClient) ListRevisionsCompleteMatchingPredicate(ctx context.Context, id ContainerAppId, options ListRevisionsOperationOptions, predicate RevisionOperationPredicate) (resp ListRevisionsCompleteResult, err error)
ListRevisionsCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ContainerAppsRevisionsClient) RestartRevision ¶
func (c ContainerAppsRevisionsClient) RestartRevision(ctx context.Context, id RevisionId) (result RestartRevisionOperationResponse, err error)
RestartRevision ...
type ContainerResources ¶
type CustomScaleRule ¶
type CustomScaleRule struct { Auth *[]ScaleRuleAuth `json:"auth,omitempty"` Metadata *map[string]string `json:"metadata,omitempty"` Type *string `json:"type,omitempty"` }
type EnvironmentVar ¶
type HttpScaleRule ¶
type HttpScaleRule struct { Auth *[]ScaleRuleAuth `json:"auth,omitempty"` Metadata *map[string]string `json:"metadata,omitempty"` }
type ListRevisionsCompleteResult ¶
type ListRevisionsCompleteResult struct {
Items []Revision
}
type ListRevisionsOperationOptions ¶
type ListRevisionsOperationOptions struct {
Filter *string
}
func DefaultListRevisionsOperationOptions ¶
func DefaultListRevisionsOperationOptions() ListRevisionsOperationOptions
type ListRevisionsOperationResponse ¶
type ListRevisionsOperationResponse struct { HttpResponse *http.Response Model *[]Revision // contains filtered or unexported fields }
func (ListRevisionsOperationResponse) HasMore ¶
func (r ListRevisionsOperationResponse) HasMore() bool
func (ListRevisionsOperationResponse) LoadMore ¶
func (r ListRevisionsOperationResponse) LoadMore(ctx context.Context) (resp ListRevisionsOperationResponse, err error)
type QueueScaleRule ¶
type QueueScaleRule struct { Auth *[]ScaleRuleAuth `json:"auth,omitempty"` QueueLength *int64 `json:"queueLength,omitempty"` QueueName *string `json:"queueName,omitempty"` }
type Revision ¶
type Revision struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *RevisionProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type RevisionHealthState ¶
type RevisionHealthState string
const ( RevisionHealthStateHealthy RevisionHealthState = "Healthy" RevisionHealthStateNone RevisionHealthState = "None" RevisionHealthStateUnhealthy RevisionHealthState = "Unhealthy" )
type RevisionId ¶
type RevisionId struct { SubscriptionId string ResourceGroupName string ContainerAppName string RevisionName string }
RevisionId is a struct representing the Resource ID for a Revision
func NewRevisionID ¶
func NewRevisionID(subscriptionId string, resourceGroupName string, containerAppName string, revisionName string) RevisionId
NewRevisionID returns a new RevisionId struct
func ParseRevisionID ¶
func ParseRevisionID(input string) (*RevisionId, error)
ParseRevisionID parses 'input' into a RevisionId
func ParseRevisionIDInsensitively ¶
func ParseRevisionIDInsensitively(input string) (*RevisionId, error)
ParseRevisionIDInsensitively parses 'input' case-insensitively into a RevisionId note: this method should only be used for API response data and not user input
func (RevisionId) Segments ¶
func (id RevisionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Revision ID
func (RevisionId) String ¶
func (id RevisionId) String() string
String returns a human-readable description of this Revision ID
type RevisionOperationPredicate ¶
func (RevisionOperationPredicate) Matches ¶
func (p RevisionOperationPredicate) Matches(input Revision) bool
type RevisionProperties ¶
type RevisionProperties struct { Active *bool `json:"active,omitempty"` CreatedTime *string `json:"createdTime,omitempty"` Fqdn *string `json:"fqdn,omitempty"` HealthState *RevisionHealthState `json:"healthState,omitempty"` ProvisioningError *string `json:"provisioningError,omitempty"` ProvisioningState *RevisionProvisioningState `json:"provisioningState,omitempty"` Replicas *int64 `json:"replicas,omitempty"` Template *Template `json:"template,omitempty"` TrafficWeight *int64 `json:"trafficWeight,omitempty"` }
func (*RevisionProperties) GetCreatedTimeAsTime ¶
func (o *RevisionProperties) GetCreatedTimeAsTime() (*time.Time, error)
func (*RevisionProperties) SetCreatedTimeAsTime ¶
func (o *RevisionProperties) SetCreatedTimeAsTime(input time.Time)
type RevisionProvisioningState ¶
type RevisionProvisioningState string
const ( RevisionProvisioningStateDeprovisioned RevisionProvisioningState = "Deprovisioned" RevisionProvisioningStateDeprovisioning RevisionProvisioningState = "Deprovisioning" RevisionProvisioningStateFailed RevisionProvisioningState = "Failed" RevisionProvisioningStateProvisioned RevisionProvisioningState = "Provisioned" RevisionProvisioningStateProvisioning RevisionProvisioningState = "Provisioning" )
type ScaleRule ¶
type ScaleRule struct { AzureQueue *QueueScaleRule `json:"azureQueue,omitempty"` Custom *CustomScaleRule `json:"custom,omitempty"` Http *HttpScaleRule `json:"http,omitempty"` Name *string `json:"name,omitempty"` }
type ScaleRuleAuth ¶
type StorageType ¶
type StorageType string
const ( StorageTypeAzureFile StorageType = "AzureFile" StorageTypeEmptyDir StorageType = "EmptyDir" )
type Volume ¶
type Volume struct { Name *string `json:"name,omitempty"` StorageName *string `json:"storageName,omitempty"` StorageType *StorageType `json:"storageType,omitempty"` }
type VolumeMount ¶
Source Files ¶
- client.go
- constants.go
- id_containerapp.go
- id_revision.go
- method_activaterevision_autorest.go
- method_deactivaterevision_autorest.go
- method_getrevision_autorest.go
- method_listrevisions_autorest.go
- method_restartrevision_autorest.go
- model_container.go
- model_containerappprobe.go
- model_containerappprobehttpget.go
- model_containerappprobehttpgethttpheadersinlined.go
- model_containerappprobetcpsocket.go
- model_containerresources.go
- model_customscalerule.go
- model_environmentvar.go
- model_httpscalerule.go
- model_queuescalerule.go
- model_revision.go
- model_revisionproperties.go
- model_scale.go
- model_scalerule.go
- model_scaleruleauth.go
- model_template.go
- model_volume.go
- model_volumemount.go
- predicates.go
- version.go