Documentation ¶
Index ¶
- func PossibleValuesForRevisionHealthState() []string
- func PossibleValuesForRevisionProvisioningState() []string
- func ValidateProviderContainerAppID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateRevisionID(input interface{}, key string) (warnings []string, errors []error)
- type ActivateRevisionOperationResponse
- type Container
- type ContainerAppsRevisionsClient
- func (c ContainerAppsRevisionsClient) ActivateRevision(ctx context.Context, id RevisionId) (result ActivateRevisionOperationResponse, err error)
- func (c ContainerAppsRevisionsClient) DeactivateRevision(ctx context.Context, id RevisionId) (result DeactivateRevisionOperationResponse, err error)
- func (c ContainerAppsRevisionsClient) GetRevision(ctx context.Context, id RevisionId) (result GetRevisionOperationResponse, err error)
- func (c ContainerAppsRevisionsClient) ListRevisions(ctx context.Context, id ProviderContainerAppId) (result ListRevisionsOperationResponse, err error)
- func (c ContainerAppsRevisionsClient) ListRevisionsComplete(ctx context.Context, id ProviderContainerAppId) (ListRevisionsCompleteResult, error)
- func (c ContainerAppsRevisionsClient) ListRevisionsCompleteMatchingPredicate(ctx context.Context, id ProviderContainerAppId, ...) (result ListRevisionsCompleteResult, err error)
- func (c ContainerAppsRevisionsClient) RestartRevision(ctx context.Context, id RevisionId) (result RestartRevisionOperationResponse, err error)
- type ContainerResources
- type CustomScaleRule
- type Dapr
- type DaprComponent
- type DaprMetadata
- type DeactivateRevisionOperationResponse
- type EnvironmentVar
- type GetRevisionOperationResponse
- type HTTPScaleRule
- type ListRevisionsCompleteResult
- type ListRevisionsCustomPager
- type ListRevisionsOperationResponse
- type ProviderContainerAppId
- func NewProviderContainerAppID(subscriptionId string, resourceGroupName string, containerAppName string) ProviderContainerAppId
- func ParseProviderContainerAppID(input string) (*ProviderContainerAppId, error)
- func ParseProviderContainerAppIDInsensitively(input string) (*ProviderContainerAppId, error)
- type QueueScaleRule
- type RestartRevisionOperationResponse
- type Revision
- type RevisionHealthState
- type RevisionId
- type RevisionOperationPredicate
- type RevisionProperties
- type RevisionProvisioningState
- type Scale
- type ScaleRule
- type ScaleRuleAuth
- type Template
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForRevisionHealthState ¶
func PossibleValuesForRevisionHealthState() []string
func PossibleValuesForRevisionProvisioningState ¶
func PossibleValuesForRevisionProvisioningState() []string
func ValidateProviderContainerAppID ¶
func ValidateProviderContainerAppID(input interface{}, key string) (warnings []string, errors []error)
ValidateProviderContainerAppID checks that 'input' can be parsed as a Provider Container App ID
func ValidateRevisionID ¶
ValidateRevisionID checks that 'input' can be parsed as a Revision ID
Types ¶
type Container ¶
type Container struct { Args *[]string `json:"args,omitempty"` Command *[]string `json:"command,omitempty"` Env *[]EnvironmentVar `json:"env,omitempty"` Image *string `json:"image,omitempty"` Name *string `json:"name,omitempty"` Resources *ContainerResources `json:"resources,omitempty"` }
type ContainerAppsRevisionsClient ¶
type ContainerAppsRevisionsClient struct {
Client *resourcemanager.Client
}
func NewContainerAppsRevisionsClientWithBaseURI ¶
func NewContainerAppsRevisionsClientWithBaseURI(sdkApi sdkEnv.Api) (*ContainerAppsRevisionsClient, error)
func (ContainerAppsRevisionsClient) ActivateRevision ¶
func (c ContainerAppsRevisionsClient) ActivateRevision(ctx context.Context, id RevisionId) (result ActivateRevisionOperationResponse, err error)
ActivateRevision ...
func (ContainerAppsRevisionsClient) DeactivateRevision ¶
func (c ContainerAppsRevisionsClient) DeactivateRevision(ctx context.Context, id RevisionId) (result DeactivateRevisionOperationResponse, err error)
DeactivateRevision ...
func (ContainerAppsRevisionsClient) GetRevision ¶
func (c ContainerAppsRevisionsClient) GetRevision(ctx context.Context, id RevisionId) (result GetRevisionOperationResponse, err error)
GetRevision ...
func (ContainerAppsRevisionsClient) ListRevisions ¶
func (c ContainerAppsRevisionsClient) ListRevisions(ctx context.Context, id ProviderContainerAppId) (result ListRevisionsOperationResponse, err error)
ListRevisions ...
func (ContainerAppsRevisionsClient) ListRevisionsComplete ¶
func (c ContainerAppsRevisionsClient) ListRevisionsComplete(ctx context.Context, id ProviderContainerAppId) (ListRevisionsCompleteResult, error)
ListRevisionsComplete retrieves all the results into a single object
func (ContainerAppsRevisionsClient) ListRevisionsCompleteMatchingPredicate ¶
func (c ContainerAppsRevisionsClient) ListRevisionsCompleteMatchingPredicate(ctx context.Context, id ProviderContainerAppId, predicate RevisionOperationPredicate) (result ListRevisionsCompleteResult, err error)
ListRevisionsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ContainerAppsRevisionsClient) RestartRevision ¶
func (c ContainerAppsRevisionsClient) RestartRevision(ctx context.Context, id RevisionId) (result RestartRevisionOperationResponse, err error)
RestartRevision ...
type ContainerResources ¶
type CustomScaleRule ¶
type CustomScaleRule struct { Auth *[]ScaleRuleAuth `json:"auth,omitempty"` Metadata *map[string]string `json:"metadata,omitempty"` Type *string `json:"type,omitempty"` }
type Dapr ¶
type Dapr struct { AppId *string `json:"appId,omitempty"` AppPort *int64 `json:"appPort,omitempty"` Components *[]DaprComponent `json:"components,omitempty"` Enabled *bool `json:"enabled,omitempty"` }
type DaprComponent ¶
type DaprComponent struct { Metadata *[]DaprMetadata `json:"metadata,omitempty"` Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` Version *string `json:"version,omitempty"` }
type DaprMetadata ¶
type EnvironmentVar ¶
type HTTPScaleRule ¶
type HTTPScaleRule struct { Auth *[]ScaleRuleAuth `json:"auth,omitempty"` Metadata *map[string]string `json:"metadata,omitempty"` }
type ListRevisionsCustomPager ¶
func (*ListRevisionsCustomPager) NextPageLink ¶
func (p *ListRevisionsCustomPager) NextPageLink() *odata.Link
type ProviderContainerAppId ¶
type ProviderContainerAppId struct { SubscriptionId string ResourceGroupName string ContainerAppName string }
ProviderContainerAppId is a struct representing the Resource ID for a Provider Container App
func NewProviderContainerAppID ¶
func NewProviderContainerAppID(subscriptionId string, resourceGroupName string, containerAppName string) ProviderContainerAppId
NewProviderContainerAppID returns a new ProviderContainerAppId struct
func ParseProviderContainerAppID ¶
func ParseProviderContainerAppID(input string) (*ProviderContainerAppId, error)
ParseProviderContainerAppID parses 'input' into a ProviderContainerAppId
func ParseProviderContainerAppIDInsensitively ¶
func ParseProviderContainerAppIDInsensitively(input string) (*ProviderContainerAppId, error)
ParseProviderContainerAppIDInsensitively parses 'input' case-insensitively into a ProviderContainerAppId note: this method should only be used for API response data and not user input
func (*ProviderContainerAppId) FromParseResult ¶
func (id *ProviderContainerAppId) FromParseResult(input resourceids.ParseResult) error
func (ProviderContainerAppId) ID ¶
func (id ProviderContainerAppId) ID() string
ID returns the formatted Provider Container App ID
func (ProviderContainerAppId) Segments ¶
func (id ProviderContainerAppId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Provider Container App ID
func (ProviderContainerAppId) String ¶
func (id ProviderContainerAppId) String() string
String returns a human-readable description of this Provider Container App ID
type QueueScaleRule ¶
type QueueScaleRule struct { Auth *[]ScaleRuleAuth `json:"auth,omitempty"` QueueLength *int64 `json:"queueLength,omitempty"` QueueName *string `json:"queueName,omitempty"` }
type Revision ¶
type Revision struct { Id *string `json:"id,omitempty"` Kind *string `json:"kind,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *RevisionProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,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 RevisionId ¶
type RevisionId struct { SubscriptionId string ResourceGroupName string ContainerAppName string RevisionName string }
RevisionId is a struct representing the Resource ID for a Revision
func NewRevisionID ¶
func NewRevisionID(subscriptionId string, resourceGroupName string, containerAppName string, revisionName string) RevisionId
NewRevisionID returns a new RevisionId struct
func ParseRevisionID ¶
func ParseRevisionID(input string) (*RevisionId, error)
ParseRevisionID parses 'input' into a RevisionId
func ParseRevisionIDInsensitively ¶
func ParseRevisionIDInsensitively(input string) (*RevisionId, error)
ParseRevisionIDInsensitively parses 'input' case-insensitively into a RevisionId note: this method should only be used for API response data and not user input
func (*RevisionId) FromParseResult ¶
func (id *RevisionId) FromParseResult(input resourceids.ParseResult) error
func (RevisionId) Segments ¶
func (id RevisionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Revision ID
func (RevisionId) String ¶
func (id RevisionId) String() string
String returns a human-readable description of this Revision ID
type RevisionOperationPredicate ¶
type RevisionOperationPredicate struct { Id *string Kind *string Location *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"` ProvisioningError *string `json:"provisioningError,omitempty"` ProvisioningState *RevisionProvisioningState `json:"provisioningState,omitempty"` Replicas *int64 `json:"replicas,omitempty"` Template *Template `json:"template,omitempty"` TrafficWeight *int64 `json:"trafficWeight,omitempty"` }
func (*RevisionProperties) GetCreatedTimeAsTime ¶
func (o *RevisionProperties) GetCreatedTimeAsTime() (*time.Time, error)
func (*RevisionProperties) SetCreatedTimeAsTime ¶
func (o *RevisionProperties) SetCreatedTimeAsTime(input time.Time)
type RevisionProvisioningState ¶
type RevisionProvisioningState string
const ( RevisionProvisioningStateDeprovisioned RevisionProvisioningState = "Deprovisioned" RevisionProvisioningStateDeprovisioning RevisionProvisioningState = "Deprovisioning" RevisionProvisioningStateFailed RevisionProvisioningState = "Failed" RevisionProvisioningStateProvisioned RevisionProvisioningState = "Provisioned" RevisionProvisioningStateProvisioning RevisionProvisioningState = "Provisioning" )
func (*RevisionProvisioningState) UnmarshalJSON ¶
func (s *RevisionProvisioningState) UnmarshalJSON(bytes []byte) error
type ScaleRule ¶
type ScaleRule struct { AzureQueue *QueueScaleRule `json:"azureQueue,omitempty"` Custom *CustomScaleRule `json:"custom,omitempty"` HTTP *HTTPScaleRule `json:"http,omitempty"` Name *string `json:"name,omitempty"` }
type ScaleRuleAuth ¶
Source Files ¶
- client.go
- constants.go
- id_providercontainerapp.go
- id_revision.go
- method_activaterevision.go
- method_deactivaterevision.go
- method_getrevision.go
- method_listrevisions.go
- method_restartrevision.go
- model_container.go
- model_containerresources.go
- model_customscalerule.go
- model_dapr.go
- model_daprcomponent.go
- model_daprmetadata.go
- model_environmentvar.go
- model_httpscalerule.go
- model_queuescalerule.go
- model_revision.go
- model_revisionproperties.go
- model_scale.go
- model_scalerule.go
- model_scaleruleauth.go
- model_template.go
- predicates.go
- version.go