Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForRevisionHealthState() []string + func PossibleValuesForRevisionProvisioningState() []string + func PossibleValuesForRevisionRunningState() []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 struct + HttpResponse *http.Response + OData *odata.OData + type BaseContainer struct + Args *[]string + Command *[]string + Env *[]EnvironmentVar + Image *string + Name *string + Resources *ContainerResources + VolumeMounts *[]VolumeMount + type Container struct + Args *[]string + Command *[]string + Env *[]EnvironmentVar + Image *string + Name *string + Probes *[]ContainerAppProbe + Resources *ContainerResources + VolumeMounts *[]VolumeMount + type ContainerAppId struct + ContainerAppName string + ResourceGroupName string + SubscriptionId string + func NewContainerAppID(subscriptionId string, resourceGroupName string, containerAppName string) ContainerAppId + func ParseContainerAppID(input string) (*ContainerAppId, error) + func ParseContainerAppIDInsensitively(input string) (*ContainerAppId, error) + func (id *ContainerAppId) FromParseResult(input resourceids.ParseResult) error + func (id ContainerAppId) ID() string + func (id ContainerAppId) Segments() []resourceids.Segment + func (id ContainerAppId) String() string + type ContainerAppProbe struct + FailureThreshold *int64 + HTTPGet *ContainerAppProbeHTTPGet + InitialDelaySeconds *int64 + PeriodSeconds *int64 + SuccessThreshold *int64 + TcpSocket *ContainerAppProbeTcpSocket + TerminationGracePeriodSeconds *int64 + TimeoutSeconds *int64 + Type *Type + type ContainerAppProbeHTTPGet struct + HTTPHeaders *[]ContainerAppProbeHTTPGetHTTPHeadersInlined + Host *string + Path *string + Port int64 + Scheme *Scheme + type ContainerAppProbeHTTPGetHTTPHeadersInlined struct + Name string + Value string + type ContainerAppProbeTcpSocket struct + Host *string + Port int64 + type ContainerAppsRevisionsClient struct + Client *resourcemanager.Client + func NewContainerAppsRevisionsClientWithBaseURI(sdkApi sdkEnv.Api) (*ContainerAppsRevisionsClient, error) + 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) (result 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, ...) (result ListRevisionsCompleteResult, err error) + func (c ContainerAppsRevisionsClient) RestartRevision(ctx context.Context, id RevisionId) (result RestartRevisionOperationResponse, err error) + type ContainerResources struct + Cpu *float64 + EphemeralStorage *string + Memory *string + type CustomScaleRule struct + Auth *[]ScaleRuleAuth + Metadata *map[string]string + Type *string + type DeactivateRevisionOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type EnvironmentVar struct + Name *string + SecretRef *string + Value *string + type GetRevisionOperationResponse struct + HttpResponse *http.Response + Model *Revision + OData *odata.OData + type HTTPScaleRule struct + Auth *[]ScaleRuleAuth + Metadata *map[string]string + type ListRevisionsCompleteResult struct + Items []Revision + LatestHttpResponse *http.Response + type ListRevisionsCustomPager struct + NextLink *odata.Link + func (p *ListRevisionsCustomPager) NextPageLink() *odata.Link + type ListRevisionsOperationOptions struct + Filter *string + func DefaultListRevisionsOperationOptions() ListRevisionsOperationOptions + func (o ListRevisionsOperationOptions) ToHeaders() *client.Headers + func (o ListRevisionsOperationOptions) ToOData() *odata.Query + func (o ListRevisionsOperationOptions) ToQuery() *client.QueryParams + type ListRevisionsOperationResponse struct + HttpResponse *http.Response + Model *[]Revision + OData *odata.OData + type QueueScaleRule struct + Auth *[]ScaleRuleAuth + QueueLength *int64 + QueueName *string + type RestartRevisionOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + type Revision struct + Id *string + Name *string + Properties *RevisionProperties + SystemData *systemdata.SystemData + Type *string + type RevisionHealthState string + const RevisionHealthStateHealthy + const RevisionHealthStateNone + const RevisionHealthStateUnhealthy + func (s *RevisionHealthState) UnmarshalJSON(bytes []byte) error + type RevisionId struct + ContainerAppName string + ResourceGroupName string + RevisionName string + SubscriptionId string + func NewRevisionID(subscriptionId string, resourceGroupName string, containerAppName string, ...) RevisionId + func ParseRevisionID(input string) (*RevisionId, error) + func ParseRevisionIDInsensitively(input string) (*RevisionId, error) + func (id *RevisionId) FromParseResult(input resourceids.ParseResult) error + func (id RevisionId) ID() string + func (id RevisionId) Segments() []resourceids.Segment + func (id RevisionId) String() string + type RevisionOperationPredicate struct + Id *string + Name *string + Type *string + func (p RevisionOperationPredicate) Matches(input Revision) bool + type RevisionProperties struct + Active *bool + CreatedTime *string + Fqdn *string + HealthState *RevisionHealthState + LastActiveTime *string + ProvisioningError *string + ProvisioningState *RevisionProvisioningState + Replicas *int64 + RunningState *RevisionRunningState + Template *Template + TrafficWeight *int64 + func (o *RevisionProperties) GetCreatedTimeAsTime() (*time.Time, error) + func (o *RevisionProperties) GetLastActiveTimeAsTime() (*time.Time, error) + func (o *RevisionProperties) SetCreatedTimeAsTime(input time.Time) + func (o *RevisionProperties) SetLastActiveTimeAsTime(input time.Time) + type RevisionProvisioningState string + const RevisionProvisioningStateDeprovisioned + const RevisionProvisioningStateDeprovisioning + const RevisionProvisioningStateFailed + const RevisionProvisioningStateProvisioned + const RevisionProvisioningStateProvisioning + func (s *RevisionProvisioningState) UnmarshalJSON(bytes []byte) error + type RevisionRunningState string + const RevisionRunningStateDegraded + const RevisionRunningStateFailed + const RevisionRunningStateProcessing + const RevisionRunningStateRunning + const RevisionRunningStateStopped + const RevisionRunningStateUnknown + func (s *RevisionRunningState) UnmarshalJSON(bytes []byte) error + type Scale struct + MaxReplicas *int64 + MinReplicas *int64 + Rules *[]ScaleRule + type ScaleRule struct + AzureQueue *QueueScaleRule + Custom *CustomScaleRule + HTTP *HTTPScaleRule + Name *string + Tcp *TcpScaleRule + type ScaleRuleAuth struct + SecretRef *string + TriggerParameter *string + type Scheme string + const SchemeHTTP + const SchemeHTTPS + func (s *Scheme) UnmarshalJSON(bytes []byte) error + type SecretVolumeItem struct + Path *string + SecretRef *string + type ServiceBind struct + Name *string + ServiceId *string + type StorageType string + const StorageTypeAzureFile + const StorageTypeEmptyDir + const StorageTypeSecret + func (s *StorageType) UnmarshalJSON(bytes []byte) error + type TcpScaleRule struct + Auth *[]ScaleRuleAuth + Metadata *map[string]string + type Template struct + Containers *[]Container + InitContainers *[]BaseContainer + RevisionSuffix *string + Scale *Scale + ServiceBinds *[]ServiceBind + TerminationGracePeriodSeconds *int64 + Volumes *[]Volume + type Type string + const TypeLiveness + const TypeReadiness + const TypeStartup + func (s *Type) UnmarshalJSON(bytes []byte) error + type Volume struct + MountOptions *string + Name *string + Secrets *[]SecretVolumeItem + StorageName *string + StorageType *StorageType + type VolumeMount struct + MountPath *string + SubPath *string + VolumeName *string