Documentation ¶
Index ¶
- func PossibleValuesForContainerAppContainerRunningState() []string
- func PossibleValuesForContainerAppReplicaRunningState() []string
- func ValidateReplicaID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateRevisionID(input interface{}, key string) (warnings []string, errors []error)
- type ContainerAppContainerRunningState
- type ContainerAppReplicaRunningState
- type ContainerAppsRevisionReplicasClient
- type GetReplicaOperationResponse
- type ListReplicasOperationResponse
- type Replica
- type ReplicaCollection
- type ReplicaContainer
- type ReplicaId
- type ReplicaProperties
- type RevisionId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForContainerAppContainerRunningState ¶
func PossibleValuesForContainerAppContainerRunningState() []string
func PossibleValuesForContainerAppReplicaRunningState ¶
func PossibleValuesForContainerAppReplicaRunningState() []string
func ValidateReplicaID ¶
ValidateReplicaID checks that 'input' can be parsed as a Replica ID
func ValidateRevisionID ¶
ValidateRevisionID checks that 'input' can be parsed as a Revision ID
Types ¶
type ContainerAppContainerRunningState ¶
type ContainerAppContainerRunningState string
const ( ContainerAppContainerRunningStateRunning ContainerAppContainerRunningState = "Running" ContainerAppContainerRunningStateTerminated ContainerAppContainerRunningState = "Terminated" ContainerAppContainerRunningStateWaiting ContainerAppContainerRunningState = "Waiting" )
func (*ContainerAppContainerRunningState) UnmarshalJSON ¶
func (s *ContainerAppContainerRunningState) UnmarshalJSON(bytes []byte) error
type ContainerAppReplicaRunningState ¶
type ContainerAppReplicaRunningState string
const ( ContainerAppReplicaRunningStateNotRunning ContainerAppReplicaRunningState = "NotRunning" ContainerAppReplicaRunningStateRunning ContainerAppReplicaRunningState = "Running" ContainerAppReplicaRunningStateUnknown ContainerAppReplicaRunningState = "Unknown" )
func (*ContainerAppReplicaRunningState) UnmarshalJSON ¶
func (s *ContainerAppReplicaRunningState) UnmarshalJSON(bytes []byte) error
type ContainerAppsRevisionReplicasClient ¶
type ContainerAppsRevisionReplicasClient struct {
Client *resourcemanager.Client
}
func NewContainerAppsRevisionReplicasClientWithBaseURI ¶
func NewContainerAppsRevisionReplicasClientWithBaseURI(sdkApi sdkEnv.Api) (*ContainerAppsRevisionReplicasClient, error)
func (ContainerAppsRevisionReplicasClient) GetReplica ¶
func (c ContainerAppsRevisionReplicasClient) GetReplica(ctx context.Context, id ReplicaId) (result GetReplicaOperationResponse, err error)
GetReplica ...
func (ContainerAppsRevisionReplicasClient) ListReplicas ¶
func (c ContainerAppsRevisionReplicasClient) ListReplicas(ctx context.Context, id RevisionId) (result ListReplicasOperationResponse, err error)
ListReplicas ...
type ListReplicasOperationResponse ¶
type ListReplicasOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ReplicaCollection }
type Replica ¶
type Replica struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ReplicaProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type ReplicaCollection ¶
type ReplicaCollection struct {
Value []Replica `json:"value"`
}
type ReplicaContainer ¶
type ReplicaContainer struct { ContainerId *string `json:"containerId,omitempty"` ExecEndpoint *string `json:"execEndpoint,omitempty"` LogStreamEndpoint *string `json:"logStreamEndpoint,omitempty"` Name *string `json:"name,omitempty"` Ready *bool `json:"ready,omitempty"` RestartCount *int64 `json:"restartCount,omitempty"` RunningState *ContainerAppContainerRunningState `json:"runningState,omitempty"` RunningStateDetails *string `json:"runningStateDetails,omitempty"` Started *bool `json:"started,omitempty"` }
type ReplicaId ¶
type ReplicaId struct { SubscriptionId string ResourceGroupName string ContainerAppName string RevisionName string ReplicaName string }
ReplicaId is a struct representing the Resource ID for a Replica
func NewReplicaID ¶
func NewReplicaID(subscriptionId string, resourceGroupName string, containerAppName string, revisionName string, replicaName string) ReplicaId
NewReplicaID returns a new ReplicaId struct
func ParseReplicaID ¶
ParseReplicaID parses 'input' into a ReplicaId
func ParseReplicaIDInsensitively ¶
ParseReplicaIDInsensitively parses 'input' case-insensitively into a ReplicaId note: this method should only be used for API response data and not user input
func (*ReplicaId) FromParseResult ¶
func (id *ReplicaId) FromParseResult(input resourceids.ParseResult) error
func (ReplicaId) Segments ¶
func (id ReplicaId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Replica ID
type ReplicaProperties ¶
type ReplicaProperties struct { Containers *[]ReplicaContainer `json:"containers,omitempty"` CreatedTime *string `json:"createdTime,omitempty"` InitContainers *[]ReplicaContainer `json:"initContainers,omitempty"` RunningState *ContainerAppReplicaRunningState `json:"runningState,omitempty"` RunningStateDetails *string `json:"runningStateDetails,omitempty"` }
func (*ReplicaProperties) GetCreatedTimeAsTime ¶
func (o *ReplicaProperties) GetCreatedTimeAsTime() (*time.Time, error)
func (*ReplicaProperties) SetCreatedTimeAsTime ¶
func (o *ReplicaProperties) SetCreatedTimeAsTime(input time.Time)
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