diagnostics

package
v0.20231005.1141651 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: MPL-2.0 Imports: 12 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2022-11-01-preview/diagnostics Documentation

The diagnostics SDK allows for interaction with the Azure Resource Manager Service containerapps (API Version 2022-11-01-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-sdk/resource-manager/containerapps/2022-11-01-preview/diagnostics"

Client Initialization

client := diagnostics.NewDiagnosticsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: DiagnosticsClient.ContainerAppsDiagnosticsGetDetector

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

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

Example Usage: DiagnosticsClient.ContainerAppsDiagnosticsGetRevision

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

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

Example Usage: DiagnosticsClient.ContainerAppsDiagnosticsGetRoot

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

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

Example Usage: DiagnosticsClient.ContainerAppsDiagnosticsListDetectors

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

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

Example Usage: DiagnosticsClient.ContainerAppsDiagnosticsListRevisions

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

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

Example Usage: DiagnosticsClient.ManagedEnvironmentDiagnosticsGetDetector

ctx := context.TODO()
id := diagnostics.NewManagedEnvironmentDetectorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "managedEnvironmentValue", "detectorValue")

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

Example Usage: DiagnosticsClient.ManagedEnvironmentDiagnosticsListDetectors

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

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

Example Usage: DiagnosticsClient.ManagedEnvironmentsDiagnosticsGetRoot

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

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

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 PossibleValuesForEnvironmentProvisioningState

func PossibleValuesForEnvironmentProvisioningState() []string

func PossibleValuesForExtendedLocationTypes

func PossibleValuesForExtendedLocationTypes() []string

func PossibleValuesForIngressClientCertificateMode

func PossibleValuesForIngressClientCertificateMode() []string

func PossibleValuesForIngressTransportMethod

func PossibleValuesForIngressTransportMethod() []string

func PossibleValuesForLogLevel

func PossibleValuesForLogLevel() []string

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

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

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

func ValidateDetectorID

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

ValidateDetectorID checks that 'input' can be parsed as a Detector ID

func ValidateManagedEnvironmentDetectorID

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

ValidateManagedEnvironmentDetectorID checks that 'input' can be parsed as a Managed Environment Detector ID

func ValidateManagedEnvironmentID

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

ValidateManagedEnvironmentID checks that 'input' can be parsed as a Managed Environment 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"
)

type ActiveRevisionsMode

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

type Affinity

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

type AppLogsConfiguration

type AppLogsConfiguration struct {
	Destination               *string                    `json:"destination,omitempty"`
	LogAnalyticsConfiguration *LogAnalyticsConfiguration `json:"logAnalyticsConfiguration,omitempty"`
}

type AppProtocol

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

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"`
	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"
)

type Configuration

type Configuration struct {
	ActiveRevisionsMode  *ActiveRevisionsMode   `json:"activeRevisionsMode,omitempty"`
	Dapr                 *Dapr                  `json:"dapr,omitempty"`
	Ingress              *Ingress               `json:"ingress,omitempty"`
	MaxInactiveRevisions *int64                 `json:"maxInactiveRevisions,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 {
	ExtendedLocation *ExtendedLocation                        `json:"extendedLocation,omitempty"`
	Id               *string                                  `json:"id,omitempty"`
	Identity         *identity.LegacySystemAndUserAssignedMap `json:"identity,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 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 {
	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"`
	ProvisioningState          *ContainerAppProvisioningState `json:"provisioningState,omitempty"`
	Template                   *Template                      `json:"template,omitempty"`
	WorkloadProfileName        *string                        `json:"workloadProfileName,omitempty"`
}

type ContainerAppProvisioningState

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

type ContainerAppsDiagnosticsGetDetectorOperationResponse

type ContainerAppsDiagnosticsGetDetectorOperationResponse struct {
	HttpResponse *http.Response
	Model        *Diagnostics
}

type ContainerAppsDiagnosticsGetRevisionOperationResponse

type ContainerAppsDiagnosticsGetRevisionOperationResponse struct {
	HttpResponse *http.Response
	Model        *Revision
}

type ContainerAppsDiagnosticsGetRootOperationResponse

type ContainerAppsDiagnosticsGetRootOperationResponse struct {
	HttpResponse *http.Response
	Model        *ContainerApp
}

type ContainerAppsDiagnosticsListDetectorsCompleteResult

type ContainerAppsDiagnosticsListDetectorsCompleteResult struct {
	Items []Diagnostics
}

type ContainerAppsDiagnosticsListDetectorsOperationResponse

type ContainerAppsDiagnosticsListDetectorsOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]Diagnostics
	// contains filtered or unexported fields
}

func (ContainerAppsDiagnosticsListDetectorsOperationResponse) HasMore

func (ContainerAppsDiagnosticsListDetectorsOperationResponse) LoadMore

type ContainerAppsDiagnosticsListRevisionsCompleteResult

type ContainerAppsDiagnosticsListRevisionsCompleteResult struct {
	Items []Revision
}

type ContainerAppsDiagnosticsListRevisionsOperationOptions

type ContainerAppsDiagnosticsListRevisionsOperationOptions struct {
	Filter *string
}

func DefaultContainerAppsDiagnosticsListRevisionsOperationOptions

func DefaultContainerAppsDiagnosticsListRevisionsOperationOptions() ContainerAppsDiagnosticsListRevisionsOperationOptions

type ContainerAppsDiagnosticsListRevisionsOperationResponse

type ContainerAppsDiagnosticsListRevisionsOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]Revision
	// contains filtered or unexported fields
}

func (ContainerAppsDiagnosticsListRevisionsOperationResponse) HasMore

func (ContainerAppsDiagnosticsListRevisionsOperationResponse) LoadMore

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 CustomDomain

type CustomDomain struct {
	BindingType   *BindingType `json:"bindingType,omitempty"`
	CertificateId *string      `json:"certificateId,omitempty"`
	Name          string       `json:"name"`
}

type CustomDomainConfiguration

type CustomDomainConfiguration struct {
	CertificatePassword        *string `json:"certificatePassword,omitempty"`
	CertificateValue           *string `json:"certificateValue,omitempty"`
	CustomDomainVerificationId *string `json:"customDomainVerificationId,omitempty"`
	DnsSuffix                  *string `json:"dnsSuffix,omitempty"`
	ExpirationDate             *string `json:"expirationDate,omitempty"`
	SubjectName                *string `json:"subjectName,omitempty"`
	Thumbprint                 *string `json:"thumbprint,omitempty"`
}

func (*CustomDomainConfiguration) GetExpirationDateAsTime

func (o *CustomDomainConfiguration) GetExpirationDateAsTime() (*time.Time, error)

func (*CustomDomainConfiguration) SetExpirationDateAsTime

func (o *CustomDomainConfiguration) SetExpirationDateAsTime(input time.Time)

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"`
	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 DaprConfiguration

type DaprConfiguration struct {
	Version *string `json:"version,omitempty"`
}

type DetectorId

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

DetectorId is a struct representing the Resource ID for a Detector

func NewDetectorID

func NewDetectorID(subscriptionId string, resourceGroupName string, containerAppName string, detectorName string) DetectorId

NewDetectorID returns a new DetectorId struct

func ParseDetectorID

func ParseDetectorID(input string) (*DetectorId, error)

ParseDetectorID parses 'input' into a DetectorId

func ParseDetectorIDInsensitively

func ParseDetectorIDInsensitively(input string) (*DetectorId, error)

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

func (DetectorId) ID

func (id DetectorId) ID() string

ID returns the formatted Detector ID

func (DetectorId) Segments

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

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

func (DetectorId) String

func (id DetectorId) String() string

String returns a human-readable description of this Detector ID

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 DiagnosticsClient

type DiagnosticsClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewDiagnosticsClientWithBaseURI

func NewDiagnosticsClientWithBaseURI(endpoint string) DiagnosticsClient

func (DiagnosticsClient) ContainerAppsDiagnosticsGetDetector

func (c DiagnosticsClient) ContainerAppsDiagnosticsGetDetector(ctx context.Context, id DetectorId) (result ContainerAppsDiagnosticsGetDetectorOperationResponse, err error)

ContainerAppsDiagnosticsGetDetector ...

func (DiagnosticsClient) ContainerAppsDiagnosticsGetRevision

func (c DiagnosticsClient) ContainerAppsDiagnosticsGetRevision(ctx context.Context, id RevisionsApiRevisionId) (result ContainerAppsDiagnosticsGetRevisionOperationResponse, err error)

ContainerAppsDiagnosticsGetRevision ...

func (DiagnosticsClient) ContainerAppsDiagnosticsGetRoot

func (c DiagnosticsClient) ContainerAppsDiagnosticsGetRoot(ctx context.Context, id ContainerAppId) (result ContainerAppsDiagnosticsGetRootOperationResponse, err error)

ContainerAppsDiagnosticsGetRoot ...

func (DiagnosticsClient) ContainerAppsDiagnosticsListDetectors

func (c DiagnosticsClient) ContainerAppsDiagnosticsListDetectors(ctx context.Context, id ContainerAppId) (resp ContainerAppsDiagnosticsListDetectorsOperationResponse, err error)

ContainerAppsDiagnosticsListDetectors ...

func (DiagnosticsClient) ContainerAppsDiagnosticsListDetectorsComplete

func (c DiagnosticsClient) ContainerAppsDiagnosticsListDetectorsComplete(ctx context.Context, id ContainerAppId) (ContainerAppsDiagnosticsListDetectorsCompleteResult, error)

ContainerAppsDiagnosticsListDetectorsComplete retrieves all of the results into a single object

func (DiagnosticsClient) ContainerAppsDiagnosticsListDetectorsCompleteMatchingPredicate

func (c DiagnosticsClient) ContainerAppsDiagnosticsListDetectorsCompleteMatchingPredicate(ctx context.Context, id ContainerAppId, predicate DiagnosticsOperationPredicate) (resp ContainerAppsDiagnosticsListDetectorsCompleteResult, err error)

ContainerAppsDiagnosticsListDetectorsCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (DiagnosticsClient) ContainerAppsDiagnosticsListRevisions

ContainerAppsDiagnosticsListRevisions ...

func (DiagnosticsClient) ContainerAppsDiagnosticsListRevisionsComplete

ContainerAppsDiagnosticsListRevisionsComplete retrieves all of the results into a single object

func (DiagnosticsClient) ContainerAppsDiagnosticsListRevisionsCompleteMatchingPredicate

func (c DiagnosticsClient) ContainerAppsDiagnosticsListRevisionsCompleteMatchingPredicate(ctx context.Context, id ContainerAppId, options ContainerAppsDiagnosticsListRevisionsOperationOptions, predicate RevisionOperationPredicate) (resp ContainerAppsDiagnosticsListRevisionsCompleteResult, err error)

ContainerAppsDiagnosticsListRevisionsCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (DiagnosticsClient) ManagedEnvironmentDiagnosticsGetDetector

ManagedEnvironmentDiagnosticsGetDetector ...

func (DiagnosticsClient) ManagedEnvironmentDiagnosticsListDetectors

func (c DiagnosticsClient) ManagedEnvironmentDiagnosticsListDetectors(ctx context.Context, id ManagedEnvironmentId) (result ManagedEnvironmentDiagnosticsListDetectorsOperationResponse, err error)

ManagedEnvironmentDiagnosticsListDetectors ...

func (DiagnosticsClient) ManagedEnvironmentsDiagnosticsGetRoot

func (c DiagnosticsClient) ManagedEnvironmentsDiagnosticsGetRoot(ctx context.Context, id ManagedEnvironmentId) (result ManagedEnvironmentsDiagnosticsGetRootOperationResponse, err error)

ManagedEnvironmentsDiagnosticsGetRoot ...

type DiagnosticsCollection

type DiagnosticsCollection struct {
	NextLink *string       `json:"nextLink,omitempty"`
	Value    []Diagnostics `json:"value"`
}

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

type EnvironmentProvisioningState string
const (
	EnvironmentProvisioningStateCanceled                      EnvironmentProvisioningState = "Canceled"
	EnvironmentProvisioningStateFailed                        EnvironmentProvisioningState = "Failed"
	EnvironmentProvisioningStateInfrastructureSetupComplete   EnvironmentProvisioningState = "InfrastructureSetupComplete"
	EnvironmentProvisioningStateInfrastructureSetupInProgress EnvironmentProvisioningState = "InfrastructureSetupInProgress"
	EnvironmentProvisioningStateInitializationInProgress      EnvironmentProvisioningState = "InitializationInProgress"
	EnvironmentProvisioningStateScheduledForDelete            EnvironmentProvisioningState = "ScheduledForDelete"
	EnvironmentProvisioningStateSucceeded                     EnvironmentProvisioningState = "Succeeded"
	EnvironmentProvisioningStateUpgradeFailed                 EnvironmentProvisioningState = "UpgradeFailed"
	EnvironmentProvisioningStateUpgradeRequested              EnvironmentProvisioningState = "UpgradeRequested"
	EnvironmentProvisioningStateWaiting                       EnvironmentProvisioningState = "Waiting"
)

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

type HTTPScaleRule

type HTTPScaleRule struct {
	Auth     *[]ScaleRuleAuth   `json:"auth,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 Ingress

type Ingress struct {
	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"`
	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"
)

type IngressStickySessions

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

type IngressTransportMethod

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

type KedaConfiguration

type KedaConfiguration struct {
	Version *string `json:"version,omitempty"`
}

type LogAnalyticsConfiguration

type LogAnalyticsConfiguration struct {
	CustomerId *string `json:"customerId,omitempty"`
	SharedKey  *string `json:"sharedKey,omitempty"`
}

type LogLevel

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

type ManagedEnvironment

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

type ManagedEnvironmentDetectorId

type ManagedEnvironmentDetectorId struct {
	SubscriptionId         string
	ResourceGroupName      string
	ManagedEnvironmentName string
	DetectorName           string
}

ManagedEnvironmentDetectorId is a struct representing the Resource ID for a Managed Environment Detector

func NewManagedEnvironmentDetectorID

func NewManagedEnvironmentDetectorID(subscriptionId string, resourceGroupName string, managedEnvironmentName string, detectorName string) ManagedEnvironmentDetectorId

NewManagedEnvironmentDetectorID returns a new ManagedEnvironmentDetectorId struct

func ParseManagedEnvironmentDetectorID

func ParseManagedEnvironmentDetectorID(input string) (*ManagedEnvironmentDetectorId, error)

ParseManagedEnvironmentDetectorID parses 'input' into a ManagedEnvironmentDetectorId

func ParseManagedEnvironmentDetectorIDInsensitively

func ParseManagedEnvironmentDetectorIDInsensitively(input string) (*ManagedEnvironmentDetectorId, error)

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

func (ManagedEnvironmentDetectorId) ID

ID returns the formatted Managed Environment Detector ID

func (ManagedEnvironmentDetectorId) Segments

Segments returns a slice of Resource ID Segments which comprise this Managed Environment Detector ID

func (ManagedEnvironmentDetectorId) String

String returns a human-readable description of this Managed Environment Detector ID

type ManagedEnvironmentDiagnosticsGetDetectorOperationResponse

type ManagedEnvironmentDiagnosticsGetDetectorOperationResponse struct {
	HttpResponse *http.Response
	Model        *Diagnostics
}

type ManagedEnvironmentDiagnosticsListDetectorsOperationResponse

type ManagedEnvironmentDiagnosticsListDetectorsOperationResponse struct {
	HttpResponse *http.Response
	Model        *DiagnosticsCollection
}

type ManagedEnvironmentId

type ManagedEnvironmentId struct {
	SubscriptionId         string
	ResourceGroupName      string
	ManagedEnvironmentName string
}

ManagedEnvironmentId is a struct representing the Resource ID for a Managed Environment

func NewManagedEnvironmentID

func NewManagedEnvironmentID(subscriptionId string, resourceGroupName string, managedEnvironmentName string) ManagedEnvironmentId

NewManagedEnvironmentID returns a new ManagedEnvironmentId struct

func ParseManagedEnvironmentID

func ParseManagedEnvironmentID(input string) (*ManagedEnvironmentId, error)

ParseManagedEnvironmentID parses 'input' into a ManagedEnvironmentId

func ParseManagedEnvironmentIDInsensitively

func ParseManagedEnvironmentIDInsensitively(input string) (*ManagedEnvironmentId, error)

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

func (ManagedEnvironmentId) ID

func (id ManagedEnvironmentId) ID() string

ID returns the formatted Managed Environment ID

func (ManagedEnvironmentId) Segments

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

Segments returns a slice of Resource ID Segments which comprise this Managed Environment ID

func (ManagedEnvironmentId) String

func (id ManagedEnvironmentId) String() string

String returns a human-readable description of this Managed Environment ID

type ManagedEnvironmentProperties

type ManagedEnvironmentProperties struct {
	AppLogsConfiguration        *AppLogsConfiguration         `json:"appLogsConfiguration,omitempty"`
	CustomDomainConfiguration   *CustomDomainConfiguration    `json:"customDomainConfiguration,omitempty"`
	DaprAIConnectionString      *string                       `json:"daprAIConnectionString,omitempty"`
	DaprAIInstrumentationKey    *string                       `json:"daprAIInstrumentationKey,omitempty"`
	DaprConfiguration           *DaprConfiguration            `json:"daprConfiguration,omitempty"`
	DefaultDomain               *string                       `json:"defaultDomain,omitempty"`
	DeploymentErrors            *string                       `json:"deploymentErrors,omitempty"`
	EventStreamEndpoint         *string                       `json:"eventStreamEndpoint,omitempty"`
	InfrastructureResourceGroup *string                       `json:"infrastructureResourceGroup,omitempty"`
	KedaConfiguration           *KedaConfiguration            `json:"kedaConfiguration,omitempty"`
	ProvisioningState           *EnvironmentProvisioningState `json:"provisioningState,omitempty"`
	StaticIP                    *string                       `json:"staticIp,omitempty"`
	VnetConfiguration           *VnetConfiguration            `json:"vnetConfiguration,omitempty"`
	WorkloadProfiles            *[]WorkloadProfile            `json:"workloadProfiles,omitempty"`
	ZoneRedundant               *bool                         `json:"zoneRedundant,omitempty"`
}

type ManagedEnvironmentsDiagnosticsGetRootOperationResponse

type ManagedEnvironmentsDiagnosticsGetRootOperationResponse struct {
	HttpResponse *http.Response
	Model        *ManagedEnvironment
}

type QueueScaleRule

type QueueScaleRule struct {
	Auth        *[]ScaleRuleAuth `json:"auth,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"
)

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"`
	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"
)

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

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 StorageType

type StorageType string
const (
	StorageTypeAzureFile StorageType = "AzureFile"
	StorageTypeEmptyDir  StorageType = "EmptyDir"
	StorageTypeSecret    StorageType = "Secret"
)

type TcpScaleRule

type TcpScaleRule struct {
	Auth     *[]ScaleRuleAuth   `json:"auth,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"`
	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"
)

type VnetConfiguration

type VnetConfiguration struct {
	DockerBridgeCidr       *string `json:"dockerBridgeCidr,omitempty"`
	InfrastructureSubnetId *string `json:"infrastructureSubnetId,omitempty"`
	Internal               *bool   `json:"internal,omitempty"`
	PlatformReservedCidr   *string `json:"platformReservedCidr,omitempty"`
	PlatformReservedDnsIP  *string `json:"platformReservedDnsIP,omitempty"`
}

type Volume

type Volume struct {
	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"`
	VolumeName *string `json:"volumeName,omitempty"`
}

type WorkloadProfile

type WorkloadProfile struct {
	MaximumCount        *int64 `json:"maximumCount,omitempty"`
	MinimumCount        *int64 `json:"minimumCount,omitempty"`
	Name                string `json:"name"`
	WorkloadProfileType string `json:"workloadProfileType"`
}

Source Files

Jump to

Keyboard shortcuts

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