containerappsrevisionreplicas

package
v0.20220621.123833 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2022 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateReplicaID

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

ValidateReplicaID checks that 'input' can be parsed as a Replica ID

func ValidateRevisionID

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

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

GetReplica ...

func (ContainerAppsRevisionReplicasClient) ListReplicas

ListReplicas ...

type GetReplicaOperationResponse

type GetReplicaOperationResponse struct {
	HttpResponse *http.Response
	Model        *Replica
}

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

func ParseReplicaID(input string) (*ReplicaId, error)

ParseReplicaID parses 'input' into a ReplicaId

func ParseReplicaIDInsensitively

func ParseReplicaIDInsensitively(input string) (*ReplicaId, error)

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

func (id ReplicaId) ID() string

ID returns the formatted Replica ID

func (ReplicaId) Segments

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

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

func (ReplicaId) String

func (id ReplicaId) String() string

String returns a human-readable description of 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) ID

func (id RevisionId) ID() string

ID returns the formatted Revision ID

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

Jump to

Keyboard shortcuts

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