containerapps

package
v0.20240903.1131440 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 3, 2024 License: MPL-2.0 Imports: 17 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-02-02-preview/containerapps Documentation

The containerapps SDK allows for interaction with the Azure Resource Manager Service containerapps (API Version 2024-02-02-preview).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-02-02-preview/containerapps"

Client Initialization

client := containerapps.NewContainerAppsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: ContainerAppsClient.CreateOrUpdate

ctx := context.TODO()
id := containerapps.NewContainerAppID("12345678-1234-9876-4563-123456789012", "example-resource-group", "containerAppValue")

payload := containerapps.ContainerApp{
	// ...
}


if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: ContainerAppsClient.Delete

ctx := context.TODO()
id := containerapps.NewContainerAppID("12345678-1234-9876-4563-123456789012", "example-resource-group", "containerAppValue")

if err := client.DeleteThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: ContainerAppsClient.DiagnosticsGetDetector

ctx := context.TODO()
id := containerapps.NewContainerAppDetectorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "containerAppValue", "detectorValue")

read, err := client.DiagnosticsGetDetector(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ContainerAppsClient.DiagnosticsGetRevision

ctx := context.TODO()
id := containerapps.NewRevisionsApiRevisionID("12345678-1234-9876-4563-123456789012", "example-resource-group", "containerAppValue", "revisionValue")

read, err := client.DiagnosticsGetRevision(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ContainerAppsClient.DiagnosticsGetRoot

ctx := context.TODO()
id := containerapps.NewContainerAppID("12345678-1234-9876-4563-123456789012", "example-resource-group", "containerAppValue")

read, err := client.DiagnosticsGetRoot(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ContainerAppsClient.DiagnosticsListDetectors

ctx := context.TODO()
id := containerapps.NewContainerAppID("12345678-1234-9876-4563-123456789012", "example-resource-group", "containerAppValue")

// alternatively `client.DiagnosticsListDetectors(ctx, id)` can be used to do batched pagination
items, err := client.DiagnosticsListDetectorsComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: ContainerAppsClient.DiagnosticsListRevisions

ctx := context.TODO()
id := containerapps.NewContainerAppID("12345678-1234-9876-4563-123456789012", "example-resource-group", "containerAppValue")

// alternatively `client.DiagnosticsListRevisions(ctx, id, containerapps.DefaultDiagnosticsListRevisionsOperationOptions())` can be used to do batched pagination
items, err := client.DiagnosticsListRevisionsComplete(ctx, id, containerapps.DefaultDiagnosticsListRevisionsOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: ContainerAppsClient.Get

ctx := context.TODO()
id := containerapps.NewContainerAppID("12345678-1234-9876-4563-123456789012", "example-resource-group", "containerAppValue")

read, err := client.Get(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ContainerAppsClient.GetAuthToken

ctx := context.TODO()
id := containerapps.NewContainerAppID("12345678-1234-9876-4563-123456789012", "example-resource-group", "containerAppValue")

read, err := client.GetAuthToken(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ContainerAppsClient.ListByResourceGroup

ctx := context.TODO()
id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")

// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination
items, err := client.ListByResourceGroupComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: ContainerAppsClient.ListBySubscription

ctx := context.TODO()
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

// alternatively `client.ListBySubscription(ctx, id)` can be used to do batched pagination
items, err := client.ListBySubscriptionComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: ContainerAppsClient.ListCustomHostNameAnalysis

ctx := context.TODO()
id := containerapps.NewContainerAppID("12345678-1234-9876-4563-123456789012", "example-resource-group", "containerAppValue")

read, err := client.ListCustomHostNameAnalysis(ctx, id, containerapps.DefaultListCustomHostNameAnalysisOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ContainerAppsClient.ListSecrets

ctx := context.TODO()
id := containerapps.NewContainerAppID("12345678-1234-9876-4563-123456789012", "example-resource-group", "containerAppValue")

read, err := client.ListSecrets(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: ContainerAppsClient.Start

ctx := context.TODO()
id := containerapps.NewContainerAppID("12345678-1234-9876-4563-123456789012", "example-resource-group", "containerAppValue")

if err := client.StartThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: ContainerAppsClient.Stop

ctx := context.TODO()
id := containerapps.NewContainerAppID("12345678-1234-9876-4563-123456789012", "example-resource-group", "containerAppValue")

if err := client.StopThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: ContainerAppsClient.Update

ctx := context.TODO()
id := containerapps.NewContainerAppID("12345678-1234-9876-4563-123456789012", "example-resource-group", "containerAppValue")

payload := containerapps.ContainerApp{
	// ...
}


if err := client.UpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForAction

func PossibleValuesForAction() []string

func PossibleValuesForActiveRevisionsMode

func PossibleValuesForActiveRevisionsMode() []string

func PossibleValuesForAffinity

func PossibleValuesForAffinity() []string

func PossibleValuesForAppProtocol

func PossibleValuesForAppProtocol() []string

func PossibleValuesForBindingType

func PossibleValuesForBindingType() []string

func PossibleValuesForContainerAppProvisioningState

func PossibleValuesForContainerAppProvisioningState() []string

func PossibleValuesForDnsVerificationTestResult

func PossibleValuesForDnsVerificationTestResult() []string

func PossibleValuesForExtendedLocationTypes

func PossibleValuesForExtendedLocationTypes() []string

func PossibleValuesForIdentitySettingsLifeCycle

func PossibleValuesForIdentitySettingsLifeCycle() []string

func PossibleValuesForImageType

func PossibleValuesForImageType() []string

func PossibleValuesForIngressClientCertificateMode

func PossibleValuesForIngressClientCertificateMode() []string

func PossibleValuesForIngressTargetPortHTTPScheme

func PossibleValuesForIngressTargetPortHTTPScheme() []string

func PossibleValuesForIngressTransportMethod

func PossibleValuesForIngressTransportMethod() []string

func PossibleValuesForKind

func PossibleValuesForKind() []string

func PossibleValuesForLevel

func PossibleValuesForLevel() []string

func PossibleValuesForLogLevel

func PossibleValuesForLogLevel() []string

func PossibleValuesForPatchingMode

func PossibleValuesForPatchingMode() []string

func PossibleValuesForRevisionHealthState

func PossibleValuesForRevisionHealthState() []string

func PossibleValuesForRevisionProvisioningState

func PossibleValuesForRevisionProvisioningState() []string

func PossibleValuesForRevisionRunningState

func PossibleValuesForRevisionRunningState() []string

func PossibleValuesForScheme

func PossibleValuesForScheme() []string

func PossibleValuesForStorageType

func PossibleValuesForStorageType() []string

func PossibleValuesForType

func PossibleValuesForType() []string

func ValidateContainerAppDetectorID

func ValidateContainerAppDetectorID(input interface{}, key string) (warnings []string, errors []error)

ValidateContainerAppDetectorID checks that 'input' can be parsed as a Container App Detector ID

func ValidateContainerAppID

func ValidateContainerAppID(input interface{}, key string) (warnings []string, errors []error)

ValidateContainerAppID checks that 'input' can be parsed as a Container App ID

func ValidateRevisionsApiRevisionID

func ValidateRevisionsApiRevisionID(input interface{}, key string) (warnings []string, errors []error)

ValidateRevisionsApiRevisionID checks that 'input' can be parsed as a Revisions Api Revision ID

Types

type Action

type Action string
const (
	ActionAllow Action = "Allow"
	ActionDeny  Action = "Deny"
)

func (*Action) UnmarshalJSON

func (s *Action) UnmarshalJSON(bytes []byte) error

type ActiveRevisionsMode

type ActiveRevisionsMode string
const (
	ActiveRevisionsModeMultiple ActiveRevisionsMode = "Multiple"
	ActiveRevisionsModeSingle   ActiveRevisionsMode = "Single"
)

func (*ActiveRevisionsMode) UnmarshalJSON

func (s *ActiveRevisionsMode) UnmarshalJSON(bytes []byte) error

type Affinity

type Affinity string
const (
	AffinityNone   Affinity = "none"
	AffinitySticky Affinity = "sticky"
)

func (*Affinity) UnmarshalJSON

func (s *Affinity) UnmarshalJSON(bytes []byte) error

type AppProtocol

type AppProtocol string
const (
	AppProtocolGrpc AppProtocol = "grpc"
	AppProtocolHTTP AppProtocol = "http"
)

func (*AppProtocol) UnmarshalJSON

func (s *AppProtocol) UnmarshalJSON(bytes []byte) error

type BaseContainer

type BaseContainer struct {
	Args         *[]string           `json:"args,omitempty"`
	Command      *[]string           `json:"command,omitempty"`
	Env          *[]EnvironmentVar   `json:"env,omitempty"`
	Image        *string             `json:"image,omitempty"`
	ImageType    *ImageType          `json:"imageType,omitempty"`
	Name         *string             `json:"name,omitempty"`
	Resources    *ContainerResources `json:"resources,omitempty"`
	VolumeMounts *[]VolumeMount      `json:"volumeMounts,omitempty"`
}

type BindingType

type BindingType string
const (
	BindingTypeDisabled   BindingType = "Disabled"
	BindingTypeSniEnabled BindingType = "SniEnabled"
)

func (*BindingType) UnmarshalJSON

func (s *BindingType) UnmarshalJSON(bytes []byte) error

type Configuration

type Configuration struct {
	ActiveRevisionsMode  *ActiveRevisionsMode   `json:"activeRevisionsMode,omitempty"`
	Dapr                 *Dapr                  `json:"dapr,omitempty"`
	IdentitySettings     *[]IdentitySettings    `json:"identitySettings,omitempty"`
	Ingress              *Ingress               `json:"ingress,omitempty"`
	MaxInactiveRevisions *int64                 `json:"maxInactiveRevisions,omitempty"`
	Registries           *[]RegistryCredentials `json:"registries,omitempty"`
	Runtime              *Runtime               `json:"runtime,omitempty"`
	Secrets              *[]Secret              `json:"secrets,omitempty"`
	Service              *Service               `json:"service,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"`
	ImageType    *ImageType           `json:"imageType,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 {
	ExtendedLocation *ExtendedLocation                        `json:"extendedLocation,omitempty"`
	Id               *string                                  `json:"id,omitempty"`
	Identity         *identity.LegacySystemAndUserAssignedMap `json:"identity,omitempty"`
	Kind             *Kind                                    `json:"kind,omitempty"`
	Location         string                                   `json:"location"`
	ManagedBy        *string                                  `json:"managedBy,omitempty"`
	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 ContainerAppAuthToken

type ContainerAppAuthToken struct {
	Id         *string                          `json:"id,omitempty"`
	Location   string                           `json:"location"`
	Name       *string                          `json:"name,omitempty"`
	Properties *ContainerAppAuthTokenProperties `json:"properties,omitempty"`
	SystemData *systemdata.SystemData           `json:"systemData,omitempty"`
	Tags       *map[string]string               `json:"tags,omitempty"`
	Type       *string                          `json:"type,omitempty"`
}

type ContainerAppAuthTokenProperties

type ContainerAppAuthTokenProperties struct {
	Expires *string `json:"expires,omitempty"`
	Token   *string `json:"token,omitempty"`
}

func (*ContainerAppAuthTokenProperties) GetExpiresAsTime

func (o *ContainerAppAuthTokenProperties) GetExpiresAsTime() (*time.Time, error)

func (*ContainerAppAuthTokenProperties) SetExpiresAsTime

func (o *ContainerAppAuthTokenProperties) SetExpiresAsTime(input time.Time)

type ContainerAppDetectorId

type ContainerAppDetectorId struct {
	SubscriptionId    string
	ResourceGroupName string
	ContainerAppName  string
	DetectorName      string
}

ContainerAppDetectorId is a struct representing the Resource ID for a Container App Detector

func NewContainerAppDetectorID

func NewContainerAppDetectorID(subscriptionId string, resourceGroupName string, containerAppName string, detectorName string) ContainerAppDetectorId

NewContainerAppDetectorID returns a new ContainerAppDetectorId struct

func ParseContainerAppDetectorID

func ParseContainerAppDetectorID(input string) (*ContainerAppDetectorId, error)

ParseContainerAppDetectorID parses 'input' into a ContainerAppDetectorId

func ParseContainerAppDetectorIDInsensitively

func ParseContainerAppDetectorIDInsensitively(input string) (*ContainerAppDetectorId, error)

ParseContainerAppDetectorIDInsensitively parses 'input' case-insensitively into a ContainerAppDetectorId note: this method should only be used for API response data and not user input

func (*ContainerAppDetectorId) FromParseResult

func (id *ContainerAppDetectorId) FromParseResult(input resourceids.ParseResult) error

func (ContainerAppDetectorId) ID

ID returns the formatted Container App Detector ID

func (ContainerAppDetectorId) Segments

func (id ContainerAppDetectorId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Container App Detector ID

func (ContainerAppDetectorId) String

func (id ContainerAppDetectorId) String() string

String returns a human-readable description of this Container App Detector ID

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

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
	ManagedBy *string
	Name      *string
	Type      *string
}

func (ContainerAppOperationPredicate) Matches

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 {
	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

type ContainerAppProbeHTTPGetHTTPHeadersInlined struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

type ContainerAppProbeTcpSocket

type ContainerAppProbeTcpSocket struct {
	Host *string `json:"host,omitempty"`
	Port int64   `json:"port"`
}

type ContainerAppProperties

type ContainerAppProperties struct {
	Configuration              *Configuration                               `json:"configuration,omitempty"`
	CustomDomainVerificationId *string                                      `json:"customDomainVerificationId,omitempty"`
	EnvironmentId              *string                                      `json:"environmentId,omitempty"`
	EventStreamEndpoint        *string                                      `json:"eventStreamEndpoint,omitempty"`
	LatestReadyRevisionName    *string                                      `json:"latestReadyRevisionName,omitempty"`
	LatestRevisionFqdn         *string                                      `json:"latestRevisionFqdn,omitempty"`
	LatestRevisionName         *string                                      `json:"latestRevisionName,omitempty"`
	ManagedEnvironmentId       *string                                      `json:"managedEnvironmentId,omitempty"`
	OutboundIPAddresses        *[]string                                    `json:"outboundIpAddresses,omitempty"`
	PatchingConfiguration      *ContainerAppPropertiesPatchingConfiguration `json:"patchingConfiguration,omitempty"`
	ProvisioningState          *ContainerAppProvisioningState               `json:"provisioningState,omitempty"`
	Template                   *Template                                    `json:"template,omitempty"`
	WorkloadProfileName        *string                                      `json:"workloadProfileName,omitempty"`
}

type ContainerAppPropertiesPatchingConfiguration

type ContainerAppPropertiesPatchingConfiguration struct {
	PatchingMode *PatchingMode `json:"patchingMode,omitempty"`
}

type ContainerAppProvisioningState

type ContainerAppProvisioningState string
const (
	ContainerAppProvisioningStateCanceled   ContainerAppProvisioningState = "Canceled"
	ContainerAppProvisioningStateDeleting   ContainerAppProvisioningState = "Deleting"
	ContainerAppProvisioningStateFailed     ContainerAppProvisioningState = "Failed"
	ContainerAppProvisioningStateInProgress ContainerAppProvisioningState = "InProgress"
	ContainerAppProvisioningStateSucceeded  ContainerAppProvisioningState = "Succeeded"
)

func (*ContainerAppProvisioningState) UnmarshalJSON

func (s *ContainerAppProvisioningState) UnmarshalJSON(bytes []byte) error

type ContainerAppSecret

type ContainerAppSecret struct {
	Identity    *string `json:"identity,omitempty"`
	KeyVaultUrl *string `json:"keyVaultUrl,omitempty"`
	Name        *string `json:"name,omitempty"`
	Value       *string `json:"value,omitempty"`
}

type ContainerAppsClient

type ContainerAppsClient struct {
	Client *resourcemanager.Client
}

func NewContainerAppsClientWithBaseURI

func NewContainerAppsClientWithBaseURI(sdkApi sdkEnv.Api) (*ContainerAppsClient, error)

func (ContainerAppsClient) CreateOrUpdate

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

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) DiagnosticsGetDetector

DiagnosticsGetDetector ...

func (ContainerAppsClient) DiagnosticsGetRevision

DiagnosticsGetRevision ...

func (ContainerAppsClient) DiagnosticsGetRoot

func (c ContainerAppsClient) DiagnosticsGetRoot(ctx context.Context, id ContainerAppId) (result DiagnosticsGetRootOperationResponse, err error)

DiagnosticsGetRoot ...

func (ContainerAppsClient) DiagnosticsListDetectors

func (c ContainerAppsClient) DiagnosticsListDetectors(ctx context.Context, id ContainerAppId) (result DiagnosticsListDetectorsOperationResponse, err error)

DiagnosticsListDetectors ...

func (ContainerAppsClient) DiagnosticsListDetectorsComplete

func (c ContainerAppsClient) DiagnosticsListDetectorsComplete(ctx context.Context, id ContainerAppId) (DiagnosticsListDetectorsCompleteResult, error)

DiagnosticsListDetectorsComplete retrieves all the results into a single object

func (ContainerAppsClient) DiagnosticsListDetectorsCompleteMatchingPredicate

func (c ContainerAppsClient) DiagnosticsListDetectorsCompleteMatchingPredicate(ctx context.Context, id ContainerAppId, predicate DiagnosticsOperationPredicate) (result DiagnosticsListDetectorsCompleteResult, err error)

DiagnosticsListDetectorsCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ContainerAppsClient) DiagnosticsListRevisions

DiagnosticsListRevisions ...

func (ContainerAppsClient) DiagnosticsListRevisionsComplete

DiagnosticsListRevisionsComplete retrieves all the results into a single object

func (ContainerAppsClient) DiagnosticsListRevisionsCompleteMatchingPredicate

func (c ContainerAppsClient) DiagnosticsListRevisionsCompleteMatchingPredicate(ctx context.Context, id ContainerAppId, options DiagnosticsListRevisionsOperationOptions, predicate RevisionOperationPredicate) (result DiagnosticsListRevisionsCompleteResult, err error)

DiagnosticsListRevisionsCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ContainerAppsClient) Get

Get ...

func (ContainerAppsClient) GetAuthToken

GetAuthToken ...

func (ContainerAppsClient) ListByResourceGroup

ListByResourceGroup ...

func (ContainerAppsClient) ListByResourceGroupComplete

ListByResourceGroupComplete retrieves all the results into a single object

func (ContainerAppsClient) ListByResourceGroupCompleteMatchingPredicate

func (c ContainerAppsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate ContainerAppOperationPredicate) (result ListByResourceGroupCompleteResult, err error)

ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ContainerAppsClient) ListBySubscription

ListBySubscription ...

func (ContainerAppsClient) ListBySubscriptionComplete

ListBySubscriptionComplete retrieves all the results into a single object

func (ContainerAppsClient) ListBySubscriptionCompleteMatchingPredicate

func (c ContainerAppsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ContainerAppOperationPredicate) (result ListBySubscriptionCompleteResult, err error)

ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ContainerAppsClient) ListCustomHostNameAnalysis

ListCustomHostNameAnalysis ...

func (ContainerAppsClient) ListSecrets

ListSecrets ...

func (ContainerAppsClient) Start

Start ...

func (ContainerAppsClient) StartThenPoll

func (c ContainerAppsClient) StartThenPoll(ctx context.Context, id ContainerAppId) error

StartThenPoll performs Start then polls until it's completed

func (ContainerAppsClient) Stop

Stop ...

func (ContainerAppsClient) StopThenPoll

func (c ContainerAppsClient) StopThenPoll(ctx context.Context, id ContainerAppId) error

StopThenPoll performs Stop then polls until it's completed

func (ContainerAppsClient) Update

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 ContainerResources struct {
	Cpu              *float64 `json:"cpu,omitempty"`
	EphemeralStorage *string  `json:"ephemeralStorage,omitempty"`
	Memory           *string  `json:"memory,omitempty"`
}

type CorsPolicy

type CorsPolicy struct {
	AllowCredentials *bool     `json:"allowCredentials,omitempty"`
	AllowedHeaders   *[]string `json:"allowedHeaders,omitempty"`
	AllowedMethods   *[]string `json:"allowedMethods,omitempty"`
	AllowedOrigins   []string  `json:"allowedOrigins"`
	ExposeHeaders    *[]string `json:"exposeHeaders,omitempty"`
	MaxAge           *int64    `json:"maxAge,omitempty"`
}

type CreateOrUpdateOperationResponse

type CreateOrUpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ContainerApp
}

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

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

type CustomHostnameAnalysisResultCustomDomainVerificationFailureInfoDetailsInlined struct {
	Code    *string `json:"code,omitempty"`
	Message *string `json:"message,omitempty"`
	Target  *string `json:"target,omitempty"`
}

type CustomScaleRule

type CustomScaleRule struct {
	Auth     *[]ScaleRuleAuth   `json:"auth,omitempty"`
	Identity *string            `json:"identity,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"`
	EnableApiLogging   *bool        `json:"enableApiLogging,omitempty"`
	Enabled            *bool        `json:"enabled,omitempty"`
	HTTPMaxRequestSize *int64       `json:"httpMaxRequestSize,omitempty"`
	HTTPReadBufferSize *int64       `json:"httpReadBufferSize,omitempty"`
	LogLevel           *LogLevel    `json:"logLevel,omitempty"`
}

type DeleteOperationResponse

type DeleteOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type DiagnosticDataProviderMetadata

type DiagnosticDataProviderMetadata struct {
	PropertyBag  *[]DiagnosticDataProviderMetadataPropertyBagInlined `json:"propertyBag,omitempty"`
	ProviderName *string                                             `json:"providerName,omitempty"`
}

type DiagnosticDataProviderMetadataPropertyBagInlined

type DiagnosticDataProviderMetadataPropertyBagInlined struct {
	Name  *string `json:"name,omitempty"`
	Value *string `json:"value,omitempty"`
}

type DiagnosticDataTableResponseColumn

type DiagnosticDataTableResponseColumn struct {
	ColumnName *string `json:"columnName,omitempty"`
	ColumnType *string `json:"columnType,omitempty"`
	DataType   *string `json:"dataType,omitempty"`
}

type DiagnosticDataTableResponseObject

type DiagnosticDataTableResponseObject struct {
	Columns   *[]DiagnosticDataTableResponseColumn `json:"columns,omitempty"`
	Rows      *[]interface{}                       `json:"rows,omitempty"`
	TableName *string                              `json:"tableName,omitempty"`
}

type DiagnosticRendering

type DiagnosticRendering struct {
	Description *string `json:"description,omitempty"`
	IsVisible   *bool   `json:"isVisible,omitempty"`
	Title       *string `json:"title,omitempty"`
	Type        *int64  `json:"type,omitempty"`
}

type DiagnosticSupportTopic

type DiagnosticSupportTopic struct {
	Id    *string `json:"id,omitempty"`
	PesId *string `json:"pesId,omitempty"`
}

type Diagnostics

type Diagnostics struct {
	Id         *string                `json:"id,omitempty"`
	Name       *string                `json:"name,omitempty"`
	Properties *DiagnosticsProperties `json:"properties,omitempty"`
	SystemData *systemdata.SystemData `json:"systemData,omitempty"`
	Type       *string                `json:"type,omitempty"`
}

type DiagnosticsDataApiResponse

type DiagnosticsDataApiResponse struct {
	RenderingProperties *DiagnosticRendering               `json:"renderingProperties,omitempty"`
	Table               *DiagnosticDataTableResponseObject `json:"table,omitempty"`
}

type DiagnosticsDefinition

type DiagnosticsDefinition struct {
	AnalysisTypes    *[]string                 `json:"analysisTypes,omitempty"`
	Author           *string                   `json:"author,omitempty"`
	Category         *string                   `json:"category,omitempty"`
	Description      *string                   `json:"description,omitempty"`
	Id               *string                   `json:"id,omitempty"`
	Name             *string                   `json:"name,omitempty"`
	Score            *float64                  `json:"score,omitempty"`
	SupportTopicList *[]DiagnosticSupportTopic `json:"supportTopicList,omitempty"`
	Type             *string                   `json:"type,omitempty"`
}

type DiagnosticsGetDetectorOperationResponse

type DiagnosticsGetDetectorOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *Diagnostics
}

type DiagnosticsGetRevisionOperationResponse

type DiagnosticsGetRevisionOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *Revision
}

type DiagnosticsGetRootOperationResponse

type DiagnosticsGetRootOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ContainerApp
}

type DiagnosticsListDetectorsCompleteResult

type DiagnosticsListDetectorsCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []Diagnostics
}

type DiagnosticsListDetectorsCustomPager

type DiagnosticsListDetectorsCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *DiagnosticsListDetectorsCustomPager) NextPageLink() *odata.Link

type DiagnosticsListDetectorsOperationResponse

type DiagnosticsListDetectorsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]Diagnostics
}

type DiagnosticsListRevisionsCompleteResult

type DiagnosticsListRevisionsCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []Revision
}

type DiagnosticsListRevisionsCustomPager

type DiagnosticsListRevisionsCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *DiagnosticsListRevisionsCustomPager) NextPageLink() *odata.Link

type DiagnosticsListRevisionsOperationOptions

type DiagnosticsListRevisionsOperationOptions struct {
	Filter *string
}

func DefaultDiagnosticsListRevisionsOperationOptions

func DefaultDiagnosticsListRevisionsOperationOptions() DiagnosticsListRevisionsOperationOptions

func (DiagnosticsListRevisionsOperationOptions) ToHeaders

func (DiagnosticsListRevisionsOperationOptions) ToOData

func (DiagnosticsListRevisionsOperationOptions) ToQuery

type DiagnosticsListRevisionsOperationResponse

type DiagnosticsListRevisionsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]Revision
}

type DiagnosticsOperationPredicate

type DiagnosticsOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (DiagnosticsOperationPredicate) Matches

type DiagnosticsProperties

type DiagnosticsProperties struct {
	DataProviderMetadata *DiagnosticDataProviderMetadata `json:"dataProviderMetadata,omitempty"`
	Dataset              *[]DiagnosticsDataApiResponse   `json:"dataset,omitempty"`
	Metadata             *DiagnosticsDefinition          `json:"metadata,omitempty"`
	Status               *DiagnosticsStatus              `json:"status,omitempty"`
}

type DiagnosticsStatus

type DiagnosticsStatus struct {
	Message  *string `json:"message,omitempty"`
	StatusId *int64  `json:"statusId,omitempty"`
}

type DnsVerificationTestResult

type DnsVerificationTestResult string
const (
	DnsVerificationTestResultFailed  DnsVerificationTestResult = "Failed"
	DnsVerificationTestResultPassed  DnsVerificationTestResult = "Passed"
	DnsVerificationTestResultSkipped DnsVerificationTestResult = "Skipped"
)

func (*DnsVerificationTestResult) UnmarshalJSON

func (s *DnsVerificationTestResult) UnmarshalJSON(bytes []byte) error

type EnvironmentVar

type EnvironmentVar struct {
	Name      *string `json:"name,omitempty"`
	SecretRef *string `json:"secretRef,omitempty"`
	Value     *string `json:"value,omitempty"`
}

type ExtendedLocation

type ExtendedLocation struct {
	Name *string                `json:"name,omitempty"`
	Type *ExtendedLocationTypes `json:"type,omitempty"`
}

type ExtendedLocationTypes

type ExtendedLocationTypes string
const (
	ExtendedLocationTypesCustomLocation ExtendedLocationTypes = "CustomLocation"
)

func (*ExtendedLocationTypes) UnmarshalJSON

func (s *ExtendedLocationTypes) UnmarshalJSON(bytes []byte) error

type GetAuthTokenOperationResponse

type GetAuthTokenOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ContainerAppAuthToken
}

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ContainerApp
}

type HTTPScaleRule

type HTTPScaleRule struct {
	Auth     *[]ScaleRuleAuth   `json:"auth,omitempty"`
	Identity *string            `json:"identity,omitempty"`
	Metadata *map[string]string `json:"metadata,omitempty"`
}

type IPSecurityRestrictionRule

type IPSecurityRestrictionRule struct {
	Action         Action  `json:"action"`
	Description    *string `json:"description,omitempty"`
	IPAddressRange string  `json:"ipAddressRange"`
	Name           string  `json:"name"`
}

type IdentitySettings

type IdentitySettings struct {
	Identity  string                     `json:"identity"`
	Lifecycle *IdentitySettingsLifeCycle `json:"lifecycle,omitempty"`
}

type IdentitySettingsLifeCycle

type IdentitySettingsLifeCycle string
const (
	IdentitySettingsLifeCycleAll  IdentitySettingsLifeCycle = "All"
	IdentitySettingsLifeCycleInit IdentitySettingsLifeCycle = "Init"
	IdentitySettingsLifeCycleMain IdentitySettingsLifeCycle = "Main"
	IdentitySettingsLifeCycleNone IdentitySettingsLifeCycle = "None"
)

func (*IdentitySettingsLifeCycle) UnmarshalJSON

func (s *IdentitySettingsLifeCycle) UnmarshalJSON(bytes []byte) error

type ImageType

type ImageType string
const (
	ImageTypeCloudBuild     ImageType = "CloudBuild"
	ImageTypeContainerImage ImageType = "ContainerImage"
)

func (*ImageType) UnmarshalJSON

func (s *ImageType) UnmarshalJSON(bytes []byte) error

type Ingress

type Ingress struct {
	AdditionalPortMappings *[]IngressPortMapping         `json:"additionalPortMappings,omitempty"`
	AllowInsecure          *bool                         `json:"allowInsecure,omitempty"`
	ClientCertificateMode  *IngressClientCertificateMode `json:"clientCertificateMode,omitempty"`
	CorsPolicy             *CorsPolicy                   `json:"corsPolicy,omitempty"`
	CustomDomains          *[]CustomDomain               `json:"customDomains,omitempty"`
	ExposedPort            *int64                        `json:"exposedPort,omitempty"`
	External               *bool                         `json:"external,omitempty"`
	Fqdn                   *string                       `json:"fqdn,omitempty"`
	IPSecurityRestrictions *[]IPSecurityRestrictionRule  `json:"ipSecurityRestrictions,omitempty"`
	StickySessions         *IngressStickySessions        `json:"stickySessions,omitempty"`
	TargetPort             *int64                        `json:"targetPort,omitempty"`
	TargetPortHTTPScheme   *IngressTargetPortHTTPScheme  `json:"targetPortHttpScheme,omitempty"`
	Traffic                *[]TrafficWeight              `json:"traffic,omitempty"`
	Transport              *IngressTransportMethod       `json:"transport,omitempty"`
}

type IngressClientCertificateMode

type IngressClientCertificateMode string
const (
	IngressClientCertificateModeAccept  IngressClientCertificateMode = "accept"
	IngressClientCertificateModeIgnore  IngressClientCertificateMode = "ignore"
	IngressClientCertificateModeRequire IngressClientCertificateMode = "require"
)

func (*IngressClientCertificateMode) UnmarshalJSON

func (s *IngressClientCertificateMode) UnmarshalJSON(bytes []byte) error

type IngressPortMapping

type IngressPortMapping struct {
	ExposedPort *int64 `json:"exposedPort,omitempty"`
	External    bool   `json:"external"`
	TargetPort  int64  `json:"targetPort"`
}

type IngressStickySessions

type IngressStickySessions struct {
	Affinity *Affinity `json:"affinity,omitempty"`
}

type IngressTargetPortHTTPScheme

type IngressTargetPortHTTPScheme string
const (
	IngressTargetPortHTTPSchemeHTTP  IngressTargetPortHTTPScheme = "http"
	IngressTargetPortHTTPSchemeHTTPS IngressTargetPortHTTPScheme = "https"
)

func (*IngressTargetPortHTTPScheme) UnmarshalJSON

func (s *IngressTargetPortHTTPScheme) UnmarshalJSON(bytes []byte) error

type IngressTransportMethod

type IngressTransportMethod string
const (
	IngressTransportMethodAuto    IngressTransportMethod = "auto"
	IngressTransportMethodHTTP    IngressTransportMethod = "http"
	IngressTransportMethodHTTPTwo IngressTransportMethod = "http2"
	IngressTransportMethodTcp     IngressTransportMethod = "tcp"
)

func (*IngressTransportMethod) UnmarshalJSON

func (s *IngressTransportMethod) UnmarshalJSON(bytes []byte) error

type Kind

type Kind string
const (
	KindWorkflowapp Kind = "workflowapp"
)

func (*Kind) UnmarshalJSON

func (s *Kind) UnmarshalJSON(bytes []byte) error

type Level

type Level string
const (
	LevelDebug Level = "debug"
	LevelError Level = "error"
	LevelInfo  Level = "info"
	LevelOff   Level = "off"
	LevelTrace Level = "trace"
	LevelWarn  Level = "warn"
)

func (*Level) UnmarshalJSON

func (s *Level) UnmarshalJSON(bytes []byte) error

type ListByResourceGroupCompleteResult

type ListByResourceGroupCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []ContainerApp
}

type ListByResourceGroupCustomPager

type ListByResourceGroupCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link

type ListByResourceGroupOperationResponse

type ListByResourceGroupOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]ContainerApp
}

type ListBySubscriptionCompleteResult

type ListBySubscriptionCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []ContainerApp
}

type ListBySubscriptionCustomPager

type ListBySubscriptionCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ListBySubscriptionCustomPager) NextPageLink() *odata.Link

type ListBySubscriptionOperationResponse

type ListBySubscriptionOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]ContainerApp
}

type ListCustomHostNameAnalysisOperationOptions

type ListCustomHostNameAnalysisOperationOptions struct {
	CustomHostname *string
}

func DefaultListCustomHostNameAnalysisOperationOptions

func DefaultListCustomHostNameAnalysisOperationOptions() ListCustomHostNameAnalysisOperationOptions

func (ListCustomHostNameAnalysisOperationOptions) ToHeaders

func (ListCustomHostNameAnalysisOperationOptions) ToOData

func (ListCustomHostNameAnalysisOperationOptions) ToQuery

type ListCustomHostNameAnalysisOperationResponse

type ListCustomHostNameAnalysisOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *CustomHostnameAnalysisResult
}

type ListSecretsOperationResponse

type ListSecretsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *SecretsCollection
}

type LogLevel

type LogLevel string
const (
	LogLevelDebug LogLevel = "debug"
	LogLevelError LogLevel = "error"
	LogLevelInfo  LogLevel = "info"
	LogLevelWarn  LogLevel = "warn"
)

func (*LogLevel) UnmarshalJSON

func (s *LogLevel) UnmarshalJSON(bytes []byte) error

type LoggerSetting

type LoggerSetting struct {
	Level  Level  `json:"level"`
	Logger string `json:"logger"`
}

type PatchingMode

type PatchingMode string
const (
	PatchingModeAutomatic PatchingMode = "Automatic"
	PatchingModeDisabled  PatchingMode = "Disabled"
	PatchingModeManual    PatchingMode = "Manual"
)

func (*PatchingMode) UnmarshalJSON

func (s *PatchingMode) UnmarshalJSON(bytes []byte) error

type QueueScaleRule

type QueueScaleRule struct {
	AccountName *string          `json:"accountName,omitempty"`
	Auth        *[]ScaleRuleAuth `json:"auth,omitempty"`
	Identity    *string          `json:"identity,omitempty"`
	QueueLength *int64           `json:"queueLength,omitempty"`
	QueueName   *string          `json:"queueName,omitempty"`
}

type RegistryCredentials

type RegistryCredentials struct {
	Identity          *string `json:"identity,omitempty"`
	PasswordSecretRef *string `json:"passwordSecretRef,omitempty"`
	Server            *string `json:"server,omitempty"`
	Username          *string `json:"username,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"
)

func (*RevisionHealthState) UnmarshalJSON

func (s *RevisionHealthState) UnmarshalJSON(bytes []byte) error

type RevisionOperationPredicate

type RevisionOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

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"`
	LastActiveTime    *string                    `json:"lastActiveTime,omitempty"`
	ProvisioningError *string                    `json:"provisioningError,omitempty"`
	ProvisioningState *RevisionProvisioningState `json:"provisioningState,omitempty"`
	Replicas          *int64                     `json:"replicas,omitempty"`
	RunningState      *RevisionRunningState      `json:"runningState,omitempty"`
	Template          *Template                  `json:"template,omitempty"`
	TrafficWeight     *int64                     `json:"trafficWeight,omitempty"`
}

func (*RevisionProperties) GetCreatedTimeAsTime

func (o *RevisionProperties) GetCreatedTimeAsTime() (*time.Time, error)

func (*RevisionProperties) GetLastActiveTimeAsTime

func (o *RevisionProperties) GetLastActiveTimeAsTime() (*time.Time, error)

func (*RevisionProperties) SetCreatedTimeAsTime

func (o *RevisionProperties) SetCreatedTimeAsTime(input time.Time)

func (*RevisionProperties) SetLastActiveTimeAsTime

func (o *RevisionProperties) SetLastActiveTimeAsTime(input time.Time)

type RevisionProvisioningState

type RevisionProvisioningState string
const (
	RevisionProvisioningStateDeprovisioned  RevisionProvisioningState = "Deprovisioned"
	RevisionProvisioningStateDeprovisioning RevisionProvisioningState = "Deprovisioning"
	RevisionProvisioningStateFailed         RevisionProvisioningState = "Failed"
	RevisionProvisioningStateProvisioned    RevisionProvisioningState = "Provisioned"
	RevisionProvisioningStateProvisioning   RevisionProvisioningState = "Provisioning"
)

func (*RevisionProvisioningState) UnmarshalJSON

func (s *RevisionProvisioningState) UnmarshalJSON(bytes []byte) error

type RevisionRunningState

type RevisionRunningState string
const (
	RevisionRunningStateDegraded   RevisionRunningState = "Degraded"
	RevisionRunningStateFailed     RevisionRunningState = "Failed"
	RevisionRunningStateProcessing RevisionRunningState = "Processing"
	RevisionRunningStateRunning    RevisionRunningState = "Running"
	RevisionRunningStateStopped    RevisionRunningState = "Stopped"
	RevisionRunningStateUnknown    RevisionRunningState = "Unknown"
)

func (*RevisionRunningState) UnmarshalJSON

func (s *RevisionRunningState) UnmarshalJSON(bytes []byte) error

type RevisionsApiRevisionId

type RevisionsApiRevisionId struct {
	SubscriptionId    string
	ResourceGroupName string
	ContainerAppName  string
	RevisionName      string
}

RevisionsApiRevisionId is a struct representing the Resource ID for a Revisions Api Revision

func NewRevisionsApiRevisionID

func NewRevisionsApiRevisionID(subscriptionId string, resourceGroupName string, containerAppName string, revisionName string) RevisionsApiRevisionId

NewRevisionsApiRevisionID returns a new RevisionsApiRevisionId struct

func ParseRevisionsApiRevisionID

func ParseRevisionsApiRevisionID(input string) (*RevisionsApiRevisionId, error)

ParseRevisionsApiRevisionID parses 'input' into a RevisionsApiRevisionId

func ParseRevisionsApiRevisionIDInsensitively

func ParseRevisionsApiRevisionIDInsensitively(input string) (*RevisionsApiRevisionId, error)

ParseRevisionsApiRevisionIDInsensitively parses 'input' case-insensitively into a RevisionsApiRevisionId note: this method should only be used for API response data and not user input

func (*RevisionsApiRevisionId) FromParseResult

func (id *RevisionsApiRevisionId) FromParseResult(input resourceids.ParseResult) error

func (RevisionsApiRevisionId) ID

ID returns the formatted Revisions Api Revision ID

func (RevisionsApiRevisionId) Segments

func (id RevisionsApiRevisionId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Revisions Api Revision ID

func (RevisionsApiRevisionId) String

func (id RevisionsApiRevisionId) String() string

String returns a human-readable description of this Revisions Api Revision ID

type Runtime

type Runtime struct {
	Dotnet *RuntimeDotnet `json:"dotnet,omitempty"`
	Java   *RuntimeJava   `json:"java,omitempty"`
}

type RuntimeDotnet

type RuntimeDotnet struct {
	AutoConfigureDataProtection *bool `json:"autoConfigureDataProtection,omitempty"`
}

type RuntimeJava

type RuntimeJava struct {
	EnableMetrics *bool                 `json:"enableMetrics,omitempty"`
	JavaAgent     *RuntimeJavaJavaAgent `json:"javaAgent,omitempty"`
}

type RuntimeJavaJavaAgent

type RuntimeJavaJavaAgent struct {
	Enabled *bool                        `json:"enabled,omitempty"`
	Logging *RuntimeJavaJavaAgentLogging `json:"logging,omitempty"`
}

type RuntimeJavaJavaAgentLogging

type RuntimeJavaJavaAgentLogging struct {
	LoggerSettings *[]LoggerSetting `json:"loggerSettings,omitempty"`
}

type Scale

type Scale struct {
	MaxReplicas *int64       `json:"maxReplicas,omitempty"`
	MinReplicas *int64       `json:"minReplicas,omitempty"`
	Rules       *[]ScaleRule `json:"rules,omitempty"`
}

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"`
	Tcp        *TcpScaleRule    `json:"tcp,omitempty"`
}

type ScaleRuleAuth

type ScaleRuleAuth struct {
	SecretRef        *string `json:"secretRef,omitempty"`
	TriggerParameter *string `json:"triggerParameter,omitempty"`
}

type Scheme

type Scheme string
const (
	SchemeHTTP  Scheme = "HTTP"
	SchemeHTTPS Scheme = "HTTPS"
)

func (*Scheme) UnmarshalJSON

func (s *Scheme) UnmarshalJSON(bytes []byte) error

type Secret

type Secret struct {
	Identity    *string `json:"identity,omitempty"`
	KeyVaultUrl *string `json:"keyVaultUrl,omitempty"`
	Name        *string `json:"name,omitempty"`
	Value       *string `json:"value,omitempty"`
}

type SecretVolumeItem

type SecretVolumeItem struct {
	Path      *string `json:"path,omitempty"`
	SecretRef *string `json:"secretRef,omitempty"`
}

type SecretsCollection

type SecretsCollection struct {
	Value []ContainerAppSecret `json:"value"`
}

type Service

type Service struct {
	Type string `json:"type"`
}

type ServiceBind

type ServiceBind struct {
	ClientType     *string            `json:"clientType,omitempty"`
	CustomizedKeys *map[string]string `json:"customizedKeys,omitempty"`
	Name           *string            `json:"name,omitempty"`
	ServiceId      *string            `json:"serviceId,omitempty"`
}

type StartOperationResponse

type StartOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ContainerApp
}

type StopOperationResponse

type StopOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ContainerApp
}

type StorageType

type StorageType string
const (
	StorageTypeAzureFile    StorageType = "AzureFile"
	StorageTypeEmptyDir     StorageType = "EmptyDir"
	StorageTypeNfsAzureFile StorageType = "NfsAzureFile"
	StorageTypeSecret       StorageType = "Secret"
	StorageTypeSmb          StorageType = "Smb"
)

func (*StorageType) UnmarshalJSON

func (s *StorageType) UnmarshalJSON(bytes []byte) error

type TcpScaleRule

type TcpScaleRule struct {
	Auth     *[]ScaleRuleAuth   `json:"auth,omitempty"`
	Identity *string            `json:"identity,omitempty"`
	Metadata *map[string]string `json:"metadata,omitempty"`
}

type Template

type Template struct {
	Containers                    *[]Container     `json:"containers,omitempty"`
	InitContainers                *[]BaseContainer `json:"initContainers,omitempty"`
	RevisionSuffix                *string          `json:"revisionSuffix,omitempty"`
	Scale                         *Scale           `json:"scale,omitempty"`
	ServiceBinds                  *[]ServiceBind   `json:"serviceBinds,omitempty"`
	TerminationGracePeriodSeconds *int64           `json:"terminationGracePeriodSeconds,omitempty"`
	Volumes                       *[]Volume        `json:"volumes,omitempty"`
}

type TrafficWeight

type TrafficWeight struct {
	Label          *string `json:"label,omitempty"`
	LatestRevision *bool   `json:"latestRevision,omitempty"`
	RevisionName   *string `json:"revisionName,omitempty"`
	Weight         *int64  `json:"weight,omitempty"`
}

type Type

type Type string
const (
	TypeLiveness  Type = "Liveness"
	TypeReadiness Type = "Readiness"
	TypeStartup   Type = "Startup"
)

func (*Type) UnmarshalJSON

func (s *Type) UnmarshalJSON(bytes []byte) error

type UpdateOperationResponse

type UpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *ContainerApp
}

type Volume

type Volume struct {
	MountOptions *string             `json:"mountOptions,omitempty"`
	Name         *string             `json:"name,omitempty"`
	Secrets      *[]SecretVolumeItem `json:"secrets,omitempty"`
	StorageName  *string             `json:"storageName,omitempty"`
	StorageType  *StorageType        `json:"storageType,omitempty"`
}

type VolumeMount

type VolumeMount struct {
	MountPath  *string `json:"mountPath,omitempty"`
	SubPath    *string `json:"subPath,omitempty"`
	VolumeName *string `json:"volumeName,omitempty"`
}

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL