Documentation ¶
Index ¶
- func PossibleValuesForActiveRevisionsMode() []string
- func PossibleValuesForAppProtocol() []string
- func PossibleValuesForBindingType() []string
- func PossibleValuesForContainerAppProvisioningState() []string
- func PossibleValuesForDnsVerificationTestResult() []string
- func PossibleValuesForIngressTransportMethod() []string
- func PossibleValuesForScheme() []string
- func PossibleValuesForStorageType() []string
- func PossibleValuesForType() []string
- func ValidateContainerAppID(input interface{}, key string) (warnings []string, errors []error)
- type ActiveRevisionsMode
- type AppProtocol
- type BindingType
- type Configuration
- type Container
- type ContainerApp
- type ContainerAppId
- type ContainerAppOperationPredicate
- type ContainerAppProbe
- type ContainerAppProbeHTTPGet
- type ContainerAppProbeHTTPGetHTTPHeadersInlined
- type ContainerAppProbeTcpSocket
- type ContainerAppProperties
- type ContainerAppProvisioningState
- type ContainerAppSecret
- type ContainerAppsClient
- func (c ContainerAppsClient) CreateOrUpdate(ctx context.Context, id ContainerAppId, input ContainerApp) (result CreateOrUpdateOperationResponse, err error)
- func (c ContainerAppsClient) CreateOrUpdateThenPoll(ctx context.Context, id ContainerAppId, input ContainerApp) error
- func (c ContainerAppsClient) Delete(ctx context.Context, id ContainerAppId) (result DeleteOperationResponse, err error)
- func (c ContainerAppsClient) DeleteThenPoll(ctx context.Context, id ContainerAppId) error
- func (c ContainerAppsClient) Get(ctx context.Context, id ContainerAppId) (result GetOperationResponse, err error)
- func (c ContainerAppsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
- func (c ContainerAppsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c ContainerAppsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (resp ListByResourceGroupCompleteResult, err error)
- func (c ContainerAppsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (resp ListBySubscriptionOperationResponse, err error)
- func (c ContainerAppsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c ContainerAppsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp ListBySubscriptionCompleteResult, err error)
- func (c ContainerAppsClient) ListCustomHostNameAnalysis(ctx context.Context, id ContainerAppId, ...) (result ListCustomHostNameAnalysisOperationResponse, err error)
- func (c ContainerAppsClient) ListSecrets(ctx context.Context, id ContainerAppId) (result ListSecretsOperationResponse, err error)
- func (c ContainerAppsClient) Update(ctx context.Context, id ContainerAppId, input ContainerApp) (result UpdateOperationResponse, err error)
- func (c ContainerAppsClient) UpdateThenPoll(ctx context.Context, id ContainerAppId, input ContainerApp) error
- type ContainerResources
- type CreateOrUpdateOperationResponse
- type CustomDomain
- type CustomHostnameAnalysisResult
- type CustomHostnameAnalysisResultCustomDomainVerificationFailureInfo
- type CustomHostnameAnalysisResultCustomDomainVerificationFailureInfoDetailsInlined
- type CustomScaleRule
- type Dapr
- type DeleteOperationResponse
- type DnsVerificationTestResult
- type EnvironmentVar
- type GetOperationResponse
- type HTTPScaleRule
- type Ingress
- type IngressTransportMethod
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionOperationResponse
- type ListCustomHostNameAnalysisOperationOptions
- type ListCustomHostNameAnalysisOperationResponse
- type ListSecretsOperationResponse
- type QueueScaleRule
- type RegistryCredentials
- type Scale
- type ScaleRule
- type ScaleRuleAuth
- type Scheme
- type Secret
- type SecretsCollection
- type StorageType
- type Template
- type TrafficWeight
- type Type
- type UpdateOperationResponse
- type Volume
- type VolumeMount
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForActiveRevisionsMode ¶
func PossibleValuesForActiveRevisionsMode() []string
func PossibleValuesForAppProtocol ¶
func PossibleValuesForAppProtocol() []string
func PossibleValuesForBindingType ¶
func PossibleValuesForBindingType() []string
func PossibleValuesForContainerAppProvisioningState ¶
func PossibleValuesForContainerAppProvisioningState() []string
func PossibleValuesForDnsVerificationTestResult ¶
func PossibleValuesForDnsVerificationTestResult() []string
func PossibleValuesForIngressTransportMethod ¶
func PossibleValuesForIngressTransportMethod() []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
Types ¶
type ActiveRevisionsMode ¶
type ActiveRevisionsMode string
const ( ActiveRevisionsModeMultiple ActiveRevisionsMode = "Multiple" ActiveRevisionsModeSingle ActiveRevisionsMode = "Single" )
type AppProtocol ¶
type AppProtocol string
const ( AppProtocolGrpc AppProtocol = "grpc" AppProtocolHTTP AppProtocol = "http" )
type BindingType ¶
type BindingType string
const ( BindingTypeDisabled BindingType = "Disabled" BindingTypeSniEnabled BindingType = "SniEnabled" )
type Configuration ¶
type Configuration struct { ActiveRevisionsMode *ActiveRevisionsMode `json:"activeRevisionsMode,omitempty"` Dapr *Dapr `json:"dapr,omitempty"` Ingress *Ingress `json:"ingress,omitempty"` Registries *[]RegistryCredentials `json:"registries,omitempty"` Secrets *[]Secret `json:"secrets,omitempty"` }
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 ContainerApp ¶
type ContainerApp struct { Id *string `json:"id,omitempty"` Identity *identity.LegacySystemAndUserAssignedMap `json:"identity,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *ContainerAppProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,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) FromParseResult ¶ added in v0.20231127.1171502
func (id *ContainerAppId) FromParseResult(input resourceids.ParseResult) error
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 ContainerAppOperationPredicate ¶
type ContainerAppOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (ContainerAppOperationPredicate) Matches ¶
func (p ContainerAppOperationPredicate) Matches(input ContainerApp) bool
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 ¶ added in v0.20220830.1105041
type ContainerAppProbeHTTPGet struct { HTTPHeaders *[]ContainerAppProbeHTTPGetHTTPHeadersInlined `json:"httpHeaders,omitempty"` Host *string `json:"host,omitempty"` Path *string `json:"path,omitempty"` Port int64 `json:"port"` Scheme *Scheme `json:"scheme,omitempty"` }
type ContainerAppProbeHTTPGetHTTPHeadersInlined ¶ added in v0.20220830.1105041
type ContainerAppProperties ¶
type ContainerAppProperties struct { Configuration *Configuration `json:"configuration,omitempty"` CustomDomainVerificationId *string `json:"customDomainVerificationId,omitempty"` LatestRevisionFqdn *string `json:"latestRevisionFqdn,omitempty"` LatestRevisionName *string `json:"latestRevisionName,omitempty"` ManagedEnvironmentId *string `json:"managedEnvironmentId,omitempty"` OutboundIPAddresses *[]string `json:"outboundIpAddresses,omitempty"` ProvisioningState *ContainerAppProvisioningState `json:"provisioningState,omitempty"` Template *Template `json:"template,omitempty"` }
type ContainerAppProvisioningState ¶
type ContainerAppProvisioningState string
const ( ContainerAppProvisioningStateCanceled ContainerAppProvisioningState = "Canceled" ContainerAppProvisioningStateDeleting ContainerAppProvisioningState = "Deleting" ContainerAppProvisioningStateFailed ContainerAppProvisioningState = "Failed" ContainerAppProvisioningStateInProgress ContainerAppProvisioningState = "InProgress" ContainerAppProvisioningStateSucceeded ContainerAppProvisioningState = "Succeeded" )
type ContainerAppSecret ¶
type ContainerAppsClient ¶
type ContainerAppsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewContainerAppsClientWithBaseURI ¶
func NewContainerAppsClientWithBaseURI(endpoint string) ContainerAppsClient
func (ContainerAppsClient) CreateOrUpdate ¶
func (c ContainerAppsClient) CreateOrUpdate(ctx context.Context, id ContainerAppId, input ContainerApp) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ContainerAppsClient) CreateOrUpdateThenPoll ¶
func (c ContainerAppsClient) CreateOrUpdateThenPoll(ctx context.Context, id ContainerAppId, input ContainerApp) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (ContainerAppsClient) Delete ¶
func (c ContainerAppsClient) Delete(ctx context.Context, id ContainerAppId) (result DeleteOperationResponse, err error)
Delete ...
func (ContainerAppsClient) DeleteThenPoll ¶
func (c ContainerAppsClient) DeleteThenPoll(ctx context.Context, id ContainerAppId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ContainerAppsClient) Get ¶
func (c ContainerAppsClient) Get(ctx context.Context, id ContainerAppId) (result GetOperationResponse, err error)
Get ...
func (ContainerAppsClient) ListByResourceGroup ¶
func (c ContainerAppsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (ContainerAppsClient) ListByResourceGroupComplete ¶
func (c ContainerAppsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all of the results into a single object
func (ContainerAppsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c ContainerAppsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate ContainerAppOperationPredicate) (resp ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ContainerAppsClient) ListBySubscription ¶
func (c ContainerAppsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (resp ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (ContainerAppsClient) ListBySubscriptionComplete ¶
func (c ContainerAppsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all of the results into a single object
func (ContainerAppsClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c ContainerAppsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ContainerAppOperationPredicate) (resp ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ContainerAppsClient) ListCustomHostNameAnalysis ¶
func (c ContainerAppsClient) ListCustomHostNameAnalysis(ctx context.Context, id ContainerAppId, options ListCustomHostNameAnalysisOperationOptions) (result ListCustomHostNameAnalysisOperationResponse, err error)
ListCustomHostNameAnalysis ...
func (ContainerAppsClient) ListSecrets ¶
func (c ContainerAppsClient) ListSecrets(ctx context.Context, id ContainerAppId) (result ListSecretsOperationResponse, err error)
ListSecrets ...
func (ContainerAppsClient) Update ¶
func (c ContainerAppsClient) Update(ctx context.Context, id ContainerAppId, input ContainerApp) (result UpdateOperationResponse, err error)
Update ...
func (ContainerAppsClient) UpdateThenPoll ¶
func (c ContainerAppsClient) UpdateThenPoll(ctx context.Context, id ContainerAppId, input ContainerApp) error
UpdateThenPoll performs Update then polls until it's completed
type ContainerResources ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type CustomDomain ¶
type CustomDomain struct { BindingType *BindingType `json:"bindingType,omitempty"` CertificateId *string `json:"certificateId,omitempty"` Name string `json:"name"` }
type CustomHostnameAnalysisResult ¶
type CustomHostnameAnalysisResult struct { ARecords *[]string `json:"aRecords,omitempty"` AlternateCNameRecords *[]string `json:"alternateCNameRecords,omitempty"` AlternateTxtRecords *[]string `json:"alternateTxtRecords,omitempty"` CNameRecords *[]string `json:"cNameRecords,omitempty"` ConflictWithEnvironmentCustomDomain *bool `json:"conflictWithEnvironmentCustomDomain,omitempty"` ConflictingContainerAppResourceId *string `json:"conflictingContainerAppResourceId,omitempty"` CustomDomainVerificationFailureInfo *CustomHostnameAnalysisResultCustomDomainVerificationFailureInfo `json:"customDomainVerificationFailureInfo,omitempty"` CustomDomainVerificationTest *DnsVerificationTestResult `json:"customDomainVerificationTest,omitempty"` HasConflictOnManagedEnvironment *bool `json:"hasConflictOnManagedEnvironment,omitempty"` HostName *string `json:"hostName,omitempty"` IsHostnameAlreadyVerified *bool `json:"isHostnameAlreadyVerified,omitempty"` TxtRecords *[]string `json:"txtRecords,omitempty"` }
type CustomHostnameAnalysisResultCustomDomainVerificationFailureInfo ¶ added in v0.20220809.1092704
type CustomHostnameAnalysisResultCustomDomainVerificationFailureInfo struct { Code *string `json:"code,omitempty"` Details *[]CustomHostnameAnalysisResultCustomDomainVerificationFailureInfoDetailsInlined `json:"details,omitempty"` Message *string `json:"message,omitempty"` Target *string `json:"target,omitempty"` }
type CustomHostnameAnalysisResultCustomDomainVerificationFailureInfoDetailsInlined ¶ added in v0.20220809.1092704
type CustomScaleRule ¶
type CustomScaleRule struct { Auth *[]ScaleRuleAuth `json:"auth,omitempty"` Metadata *map[string]string `json:"metadata,omitempty"` Type *string `json:"type,omitempty"` }
type Dapr ¶
type Dapr struct { AppId *string `json:"appId,omitempty"` AppPort *int64 `json:"appPort,omitempty"` AppProtocol *AppProtocol `json:"appProtocol,omitempty"` Enabled *bool `json:"enabled,omitempty"` }
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DnsVerificationTestResult ¶
type DnsVerificationTestResult string
const ( DnsVerificationTestResultFailed DnsVerificationTestResult = "Failed" DnsVerificationTestResultPassed DnsVerificationTestResult = "Passed" DnsVerificationTestResultSkipped DnsVerificationTestResult = "Skipped" )
type EnvironmentVar ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *ContainerApp }
type HTTPScaleRule ¶ added in v0.20220830.1105041
type HTTPScaleRule struct { Auth *[]ScaleRuleAuth `json:"auth,omitempty"` Metadata *map[string]string `json:"metadata,omitempty"` }
type Ingress ¶
type Ingress struct { AllowInsecure *bool `json:"allowInsecure,omitempty"` CustomDomains *[]CustomDomain `json:"customDomains,omitempty"` External *bool `json:"external,omitempty"` Fqdn *string `json:"fqdn,omitempty"` TargetPort *int64 `json:"targetPort,omitempty"` Traffic *[]TrafficWeight `json:"traffic,omitempty"` Transport *IngressTransportMethod `json:"transport,omitempty"` }
type IngressTransportMethod ¶
type IngressTransportMethod string
const ( IngressTransportMethodAuto IngressTransportMethod = "auto" IngressTransportMethodHTTP IngressTransportMethod = "http" IngressTransportMethodHTTPTwo IngressTransportMethod = "http2" )
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []ContainerApp
}
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response Model *[]ContainerApp // contains filtered or unexported fields }
func (ListByResourceGroupOperationResponse) HasMore ¶
func (r ListByResourceGroupOperationResponse) HasMore() bool
func (ListByResourceGroupOperationResponse) LoadMore ¶
func (r ListByResourceGroupOperationResponse) LoadMore(ctx context.Context) (resp ListByResourceGroupOperationResponse, err error)
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct {
Items []ContainerApp
}
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response Model *[]ContainerApp // contains filtered or unexported fields }
func (ListBySubscriptionOperationResponse) HasMore ¶
func (r ListBySubscriptionOperationResponse) HasMore() bool
func (ListBySubscriptionOperationResponse) LoadMore ¶
func (r ListBySubscriptionOperationResponse) LoadMore(ctx context.Context) (resp ListBySubscriptionOperationResponse, err error)
type ListCustomHostNameAnalysisOperationOptions ¶
type ListCustomHostNameAnalysisOperationOptions struct {
CustomHostname *string
}
func DefaultListCustomHostNameAnalysisOperationOptions ¶
func DefaultListCustomHostNameAnalysisOperationOptions() ListCustomHostNameAnalysisOperationOptions
type ListCustomHostNameAnalysisOperationResponse ¶
type ListCustomHostNameAnalysisOperationResponse struct { HttpResponse *http.Response Model *CustomHostnameAnalysisResult }
type ListSecretsOperationResponse ¶
type ListSecretsOperationResponse struct { HttpResponse *http.Response Model *SecretsCollection }
type QueueScaleRule ¶
type QueueScaleRule struct { Auth *[]ScaleRuleAuth `json:"auth,omitempty"` QueueLength *int64 `json:"queueLength,omitempty"` QueueName *string `json:"queueName,omitempty"` }
type RegistryCredentials ¶
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 SecretsCollection ¶
type SecretsCollection struct {
Value []ContainerAppSecret `json:"value"`
}
type StorageType ¶
type StorageType string
const ( StorageTypeAzureFile StorageType = "AzureFile" StorageTypeEmptyDir StorageType = "EmptyDir" )
type TrafficWeight ¶
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
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
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_listbyresourcegroup_autorest.go
- method_listbysubscription_autorest.go
- method_listcustomhostnameanalysis_autorest.go
- method_listsecrets_autorest.go
- method_update_autorest.go
- model_configuration.go
- model_container.go
- model_containerapp.go
- model_containerappprobe.go
- model_containerappprobehttpget.go
- model_containerappprobehttpgethttpheadersinlined.go
- model_containerappprobetcpsocket.go
- model_containerappproperties.go
- model_containerappsecret.go
- model_containerresources.go
- model_customdomain.go
- model_customhostnameanalysisresult.go
- model_customhostnameanalysisresultcustomdomainverificationfailureinfo.go
- model_customhostnameanalysisresultcustomdomainverificationfailureinfodetailsinlined.go
- model_customscalerule.go
- model_dapr.go
- model_environmentvar.go
- model_httpscalerule.go
- model_ingress.go
- model_queuescalerule.go
- model_registrycredentials.go
- model_scale.go
- model_scalerule.go
- model_scaleruleauth.go
- model_secret.go
- model_secretscollection.go
- model_template.go
- model_trafficweight.go
- model_volume.go
- model_volumemount.go
- predicates.go
- version.go