Documentation ¶
Index ¶
- func ValidateReplicaID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateRevisionID(input interface{}, key string) (warnings []string, errors []error)
- 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 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 ContainerAppsRevisionReplicasClient ¶
type ContainerAppsRevisionReplicasClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewContainerAppsRevisionReplicasClientWithBaseURI ¶
func NewContainerAppsRevisionReplicasClientWithBaseURI(endpoint string) ContainerAppsRevisionReplicasClient
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 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"` 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) 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"` }
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) 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