Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForElasticDeploymentStatus ¶
func PossibleValuesForElasticDeploymentStatus() []string
func ValidateMonitorID ¶
ValidateMonitorID checks that 'input' can be parsed as a Monitor ID
Types ¶
type DeploymentInfoClient ¶
type DeploymentInfoClient struct {
Client *resourcemanager.Client
}
func NewDeploymentInfoClientWithBaseURI ¶
func NewDeploymentInfoClientWithBaseURI(api environments.Api) (*DeploymentInfoClient, error)
func (DeploymentInfoClient) List ¶
func (c DeploymentInfoClient) List(ctx context.Context, id MonitorId) (result ListOperationResponse, err error)
List ...
type DeploymentInfoResponse ¶
type DeploymentInfoResponse struct { DiskCapacity *string `json:"diskCapacity,omitempty"` MemoryCapacity *string `json:"memoryCapacity,omitempty"` Status *ElasticDeploymentStatus `json:"status,omitempty"` Version *string `json:"version,omitempty"` }
type ElasticDeploymentStatus ¶
type ElasticDeploymentStatus string
const ( ElasticDeploymentStatusHealthy ElasticDeploymentStatus = "Healthy" ElasticDeploymentStatusUnhealthy ElasticDeploymentStatus = "Unhealthy" )
func (*ElasticDeploymentStatus) UnmarshalJSON ¶ added in v0.20230508.1101604
func (s *ElasticDeploymentStatus) UnmarshalJSON(bytes []byte) error
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *DeploymentInfoResponse }
type MonitorId ¶
MonitorId is a struct representing the Resource ID for a Monitor
func NewMonitorID ¶
NewMonitorID returns a new MonitorId struct
func ParseMonitorID ¶
ParseMonitorID parses 'input' into a MonitorId
func ParseMonitorIDInsensitively ¶
ParseMonitorIDInsensitively parses 'input' case-insensitively into a MonitorId note: this method should only be used for API response data and not user input
func (MonitorId) Segments ¶
func (id MonitorId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Monitor ID
Click to show internal directories.
Click to hide internal directories.