servicefabric

package
v11.2.2-beta+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package servicefabric implements the Azure ARM Servicefabric service API version 1.0.0.

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Servicefabric
	DefaultBaseURI = "http://localhost:19080"
)

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

Types

type AggregatedHealthState

type AggregatedHealthState string

AggregatedHealthState enumerates the values for aggregated health state.

const (
	// Error specifies the error state for aggregated health state.
	Error AggregatedHealthState = "Error"
	// Invalid specifies the invalid state for aggregated health state.
	Invalid AggregatedHealthState = "Invalid"
	// Ok specifies the ok state for aggregated health state.
	Ok AggregatedHealthState = "Ok"
	// Unknown specifies the unknown state for aggregated health state.
	Unknown AggregatedHealthState = "Unknown"
	// Warning specifies the warning state for aggregated health state.
	Warning AggregatedHealthState = "Warning"
)

type AggregatedHealthState1

type AggregatedHealthState1 string

AggregatedHealthState1 enumerates the values for aggregated health state 1.

const (
	// AggregatedHealthState1Error specifies the aggregated health state 1 error state for aggregated health state 1.
	AggregatedHealthState1Error AggregatedHealthState1 = "Error"
	// AggregatedHealthState1Invalid specifies the aggregated health state 1 invalid state for aggregated health state 1.
	AggregatedHealthState1Invalid AggregatedHealthState1 = "Invalid"
	// AggregatedHealthState1Ok specifies the aggregated health state 1 ok state for aggregated health state 1.
	AggregatedHealthState1Ok AggregatedHealthState1 = "Ok"
	// AggregatedHealthState1Unknown specifies the aggregated health state 1 unknown state for aggregated health state 1.
	AggregatedHealthState1Unknown AggregatedHealthState1 = "Unknown"
	// AggregatedHealthState1Warning specifies the aggregated health state 1 warning state for aggregated health state 1.
	AggregatedHealthState1Warning AggregatedHealthState1 = "Warning"
)

type AggregatedHealthState10

type AggregatedHealthState10 string

AggregatedHealthState10 enumerates the values for aggregated health state 10.

const (
	// AggregatedHealthState10Error specifies the aggregated health state 10 error state for aggregated health state 10.
	AggregatedHealthState10Error AggregatedHealthState10 = "Error"
	// AggregatedHealthState10Invalid specifies the aggregated health state 10 invalid state for aggregated health state
	// 10.
	AggregatedHealthState10Invalid AggregatedHealthState10 = "Invalid"
	// AggregatedHealthState10Ok specifies the aggregated health state 10 ok state for aggregated health state 10.
	AggregatedHealthState10Ok AggregatedHealthState10 = "Ok"
	// AggregatedHealthState10Unknown specifies the aggregated health state 10 unknown state for aggregated health state
	// 10.
	AggregatedHealthState10Unknown AggregatedHealthState10 = "Unknown"
	// AggregatedHealthState10Warning specifies the aggregated health state 10 warning state for aggregated health state
	// 10.
	AggregatedHealthState10Warning AggregatedHealthState10 = "Warning"
)

type AggregatedHealthState11

type AggregatedHealthState11 string

AggregatedHealthState11 enumerates the values for aggregated health state 11.

const (
	// AggregatedHealthState11Error specifies the aggregated health state 11 error state for aggregated health state 11.
	AggregatedHealthState11Error AggregatedHealthState11 = "Error"
	// AggregatedHealthState11Invalid specifies the aggregated health state 11 invalid state for aggregated health state
	// 11.
	AggregatedHealthState11Invalid AggregatedHealthState11 = "Invalid"
	// AggregatedHealthState11Ok specifies the aggregated health state 11 ok state for aggregated health state 11.
	AggregatedHealthState11Ok AggregatedHealthState11 = "Ok"
	// AggregatedHealthState11Unknown specifies the aggregated health state 11 unknown state for aggregated health state
	// 11.
	AggregatedHealthState11Unknown AggregatedHealthState11 = "Unknown"
	// AggregatedHealthState11Warning specifies the aggregated health state 11 warning state for aggregated health state
	// 11.
	AggregatedHealthState11Warning AggregatedHealthState11 = "Warning"
)

type AggregatedHealthState12

type AggregatedHealthState12 string

AggregatedHealthState12 enumerates the values for aggregated health state 12.

const (
	// AggregatedHealthState12Error specifies the aggregated health state 12 error state for aggregated health state 12.
	AggregatedHealthState12Error AggregatedHealthState12 = "Error"
	// AggregatedHealthState12Invalid specifies the aggregated health state 12 invalid state for aggregated health state
	// 12.
	AggregatedHealthState12Invalid AggregatedHealthState12 = "Invalid"
	// AggregatedHealthState12Ok specifies the aggregated health state 12 ok state for aggregated health state 12.
	AggregatedHealthState12Ok AggregatedHealthState12 = "Ok"
	// AggregatedHealthState12Unknown specifies the aggregated health state 12 unknown state for aggregated health state
	// 12.
	AggregatedHealthState12Unknown AggregatedHealthState12 = "Unknown"
	// AggregatedHealthState12Warning specifies the aggregated health state 12 warning state for aggregated health state
	// 12.
	AggregatedHealthState12Warning AggregatedHealthState12 = "Warning"
)

type AggregatedHealthState13

type AggregatedHealthState13 string

AggregatedHealthState13 enumerates the values for aggregated health state 13.

const (
	// AggregatedHealthState13Error specifies the aggregated health state 13 error state for aggregated health state 13.
	AggregatedHealthState13Error AggregatedHealthState13 = "Error"
	// AggregatedHealthState13Invalid specifies the aggregated health state 13 invalid state for aggregated health state
	// 13.
	AggregatedHealthState13Invalid AggregatedHealthState13 = "Invalid"
	// AggregatedHealthState13Ok specifies the aggregated health state 13 ok state for aggregated health state 13.
	AggregatedHealthState13Ok AggregatedHealthState13 = "Ok"
	// AggregatedHealthState13Unknown specifies the aggregated health state 13 unknown state for aggregated health state
	// 13.
	AggregatedHealthState13Unknown AggregatedHealthState13 = "Unknown"
	// AggregatedHealthState13Warning specifies the aggregated health state 13 warning state for aggregated health state
	// 13.
	AggregatedHealthState13Warning AggregatedHealthState13 = "Warning"
)

type AggregatedHealthState14

type AggregatedHealthState14 string

AggregatedHealthState14 enumerates the values for aggregated health state 14.

const (
	// AggregatedHealthState14Error specifies the aggregated health state 14 error state for aggregated health state 14.
	AggregatedHealthState14Error AggregatedHealthState14 = "Error"
	// AggregatedHealthState14Invalid specifies the aggregated health state 14 invalid state for aggregated health state
	// 14.
	AggregatedHealthState14Invalid AggregatedHealthState14 = "Invalid"
	// AggregatedHealthState14Ok specifies the aggregated health state 14 ok state for aggregated health state 14.
	AggregatedHealthState14Ok AggregatedHealthState14 = "Ok"
	// AggregatedHealthState14Unknown specifies the aggregated health state 14 unknown state for aggregated health state
	// 14.
	AggregatedHealthState14Unknown AggregatedHealthState14 = "Unknown"
	// AggregatedHealthState14Warning specifies the aggregated health state 14 warning state for aggregated health state
	// 14.
	AggregatedHealthState14Warning AggregatedHealthState14 = "Warning"
)

type AggregatedHealthState15

type AggregatedHealthState15 string

AggregatedHealthState15 enumerates the values for aggregated health state 15.

const (
	// AggregatedHealthState15Error specifies the aggregated health state 15 error state for aggregated health state 15.
	AggregatedHealthState15Error AggregatedHealthState15 = "Error"
	// AggregatedHealthState15Invalid specifies the aggregated health state 15 invalid state for aggregated health state
	// 15.
	AggregatedHealthState15Invalid AggregatedHealthState15 = "Invalid"
	// AggregatedHealthState15Ok specifies the aggregated health state 15 ok state for aggregated health state 15.
	AggregatedHealthState15Ok AggregatedHealthState15 = "Ok"
	// AggregatedHealthState15Unknown specifies the aggregated health state 15 unknown state for aggregated health state
	// 15.
	AggregatedHealthState15Unknown AggregatedHealthState15 = "Unknown"
	// AggregatedHealthState15Warning specifies the aggregated health state 15 warning state for aggregated health state
	// 15.
	AggregatedHealthState15Warning AggregatedHealthState15 = "Warning"
)

type AggregatedHealthState2

type AggregatedHealthState2 string

AggregatedHealthState2 enumerates the values for aggregated health state 2.

const (
	// AggregatedHealthState2Error specifies the aggregated health state 2 error state for aggregated health state 2.
	AggregatedHealthState2Error AggregatedHealthState2 = "Error"
	// AggregatedHealthState2Invalid specifies the aggregated health state 2 invalid state for aggregated health state 2.
	AggregatedHealthState2Invalid AggregatedHealthState2 = "Invalid"
	// AggregatedHealthState2Ok specifies the aggregated health state 2 ok state for aggregated health state 2.
	AggregatedHealthState2Ok AggregatedHealthState2 = "Ok"
	// AggregatedHealthState2Unknown specifies the aggregated health state 2 unknown state for aggregated health state 2.
	AggregatedHealthState2Unknown AggregatedHealthState2 = "Unknown"
	// AggregatedHealthState2Warning specifies the aggregated health state 2 warning state for aggregated health state 2.
	AggregatedHealthState2Warning AggregatedHealthState2 = "Warning"
)

type AggregatedHealthState3

type AggregatedHealthState3 string

AggregatedHealthState3 enumerates the values for aggregated health state 3.

const (
	// AggregatedHealthState3Error specifies the aggregated health state 3 error state for aggregated health state 3.
	AggregatedHealthState3Error AggregatedHealthState3 = "Error"
	// AggregatedHealthState3Invalid specifies the aggregated health state 3 invalid state for aggregated health state 3.
	AggregatedHealthState3Invalid AggregatedHealthState3 = "Invalid"
	// AggregatedHealthState3Ok specifies the aggregated health state 3 ok state for aggregated health state 3.
	AggregatedHealthState3Ok AggregatedHealthState3 = "Ok"
	// AggregatedHealthState3Unknown specifies the aggregated health state 3 unknown state for aggregated health state 3.
	AggregatedHealthState3Unknown AggregatedHealthState3 = "Unknown"
	// AggregatedHealthState3Warning specifies the aggregated health state 3 warning state for aggregated health state 3.
	AggregatedHealthState3Warning AggregatedHealthState3 = "Warning"
)

type AggregatedHealthState4

type AggregatedHealthState4 string

AggregatedHealthState4 enumerates the values for aggregated health state 4.

const (
	// AggregatedHealthState4Error specifies the aggregated health state 4 error state for aggregated health state 4.
	AggregatedHealthState4Error AggregatedHealthState4 = "Error"
	// AggregatedHealthState4Invalid specifies the aggregated health state 4 invalid state for aggregated health state 4.
	AggregatedHealthState4Invalid AggregatedHealthState4 = "Invalid"
	// AggregatedHealthState4Ok specifies the aggregated health state 4 ok state for aggregated health state 4.
	AggregatedHealthState4Ok AggregatedHealthState4 = "Ok"
	// AggregatedHealthState4Unknown specifies the aggregated health state 4 unknown state for aggregated health state 4.
	AggregatedHealthState4Unknown AggregatedHealthState4 = "Unknown"
	// AggregatedHealthState4Warning specifies the aggregated health state 4 warning state for aggregated health state 4.
	AggregatedHealthState4Warning AggregatedHealthState4 = "Warning"
)

type AggregatedHealthState5

type AggregatedHealthState5 string

AggregatedHealthState5 enumerates the values for aggregated health state 5.

const (
	// AggregatedHealthState5Error specifies the aggregated health state 5 error state for aggregated health state 5.
	AggregatedHealthState5Error AggregatedHealthState5 = "Error"
	// AggregatedHealthState5Invalid specifies the aggregated health state 5 invalid state for aggregated health state 5.
	AggregatedHealthState5Invalid AggregatedHealthState5 = "Invalid"
	// AggregatedHealthState5Ok specifies the aggregated health state 5 ok state for aggregated health state 5.
	AggregatedHealthState5Ok AggregatedHealthState5 = "Ok"
	// AggregatedHealthState5Unknown specifies the aggregated health state 5 unknown state for aggregated health state 5.
	AggregatedHealthState5Unknown AggregatedHealthState5 = "Unknown"
	// AggregatedHealthState5Warning specifies the aggregated health state 5 warning state for aggregated health state 5.
	AggregatedHealthState5Warning AggregatedHealthState5 = "Warning"
)

type AggregatedHealthState6

type AggregatedHealthState6 string

AggregatedHealthState6 enumerates the values for aggregated health state 6.

const (
	// AggregatedHealthState6Error specifies the aggregated health state 6 error state for aggregated health state 6.
	AggregatedHealthState6Error AggregatedHealthState6 = "Error"
	// AggregatedHealthState6Invalid specifies the aggregated health state 6 invalid state for aggregated health state 6.
	AggregatedHealthState6Invalid AggregatedHealthState6 = "Invalid"
	// AggregatedHealthState6Ok specifies the aggregated health state 6 ok state for aggregated health state 6.
	AggregatedHealthState6Ok AggregatedHealthState6 = "Ok"
	// AggregatedHealthState6Unknown specifies the aggregated health state 6 unknown state for aggregated health state 6.
	AggregatedHealthState6Unknown AggregatedHealthState6 = "Unknown"
	// AggregatedHealthState6Warning specifies the aggregated health state 6 warning state for aggregated health state 6.
	AggregatedHealthState6Warning AggregatedHealthState6 = "Warning"
)

type AggregatedHealthState7

type AggregatedHealthState7 string

AggregatedHealthState7 enumerates the values for aggregated health state 7.

const (
	// AggregatedHealthState7Error specifies the aggregated health state 7 error state for aggregated health state 7.
	AggregatedHealthState7Error AggregatedHealthState7 = "Error"
	// AggregatedHealthState7Invalid specifies the aggregated health state 7 invalid state for aggregated health state 7.
	AggregatedHealthState7Invalid AggregatedHealthState7 = "Invalid"
	// AggregatedHealthState7Ok specifies the aggregated health state 7 ok state for aggregated health state 7.
	AggregatedHealthState7Ok AggregatedHealthState7 = "Ok"
	// AggregatedHealthState7Unknown specifies the aggregated health state 7 unknown state for aggregated health state 7.
	AggregatedHealthState7Unknown AggregatedHealthState7 = "Unknown"
	// AggregatedHealthState7Warning specifies the aggregated health state 7 warning state for aggregated health state 7.
	AggregatedHealthState7Warning AggregatedHealthState7 = "Warning"
)

type AggregatedHealthState8

type AggregatedHealthState8 string

AggregatedHealthState8 enumerates the values for aggregated health state 8.

const (
	// AggregatedHealthState8Error specifies the aggregated health state 8 error state for aggregated health state 8.
	AggregatedHealthState8Error AggregatedHealthState8 = "Error"
	// AggregatedHealthState8Invalid specifies the aggregated health state 8 invalid state for aggregated health state 8.
	AggregatedHealthState8Invalid AggregatedHealthState8 = "Invalid"
	// AggregatedHealthState8Ok specifies the aggregated health state 8 ok state for aggregated health state 8.
	AggregatedHealthState8Ok AggregatedHealthState8 = "Ok"
	// AggregatedHealthState8Unknown specifies the aggregated health state 8 unknown state for aggregated health state 8.
	AggregatedHealthState8Unknown AggregatedHealthState8 = "Unknown"
	// AggregatedHealthState8Warning specifies the aggregated health state 8 warning state for aggregated health state 8.
	AggregatedHealthState8Warning AggregatedHealthState8 = "Warning"
)

type AggregatedHealthState9

type AggregatedHealthState9 string

AggregatedHealthState9 enumerates the values for aggregated health state 9.

const (
	// AggregatedHealthState9Error specifies the aggregated health state 9 error state for aggregated health state 9.
	AggregatedHealthState9Error AggregatedHealthState9 = "Error"
	// AggregatedHealthState9Invalid specifies the aggregated health state 9 invalid state for aggregated health state 9.
	AggregatedHealthState9Invalid AggregatedHealthState9 = "Invalid"
	// AggregatedHealthState9Ok specifies the aggregated health state 9 ok state for aggregated health state 9.
	AggregatedHealthState9Ok AggregatedHealthState9 = "Ok"
	// AggregatedHealthState9Unknown specifies the aggregated health state 9 unknown state for aggregated health state 9.
	AggregatedHealthState9Unknown AggregatedHealthState9 = "Unknown"
	// AggregatedHealthState9Warning specifies the aggregated health state 9 warning state for aggregated health state 9.
	AggregatedHealthState9Warning AggregatedHealthState9 = "Warning"
)

type Application

type Application struct {
	autorest.Response `json:"-"`
	ID                *string                      `json:"Id,omitempty"`
	Name              *string                      `json:"Name,omitempty"`
	TypeName          *string                      `json:"TypeName,omitempty"`
	TypeVersion       *string                      `json:"TypeVersion,omitempty"`
	Status            *string                      `json:"Status,omitempty"`
	Parameters        *[]ApplicationParametersItem `json:"Parameters,omitempty"`
	HealthState       HealthState                  `json:"HealthState,omitempty"`
}

Application is the application

type ApplicationDescription

type ApplicationDescription struct {
	Name          *string                                    `json:"Name,omitempty"`
	TypeName      *string                                    `json:"TypeName,omitempty"`
	TypeVersion   *string                                    `json:"TypeVersion,omitempty"`
	ParameterList *[]ApplicationDescriptionParameterListItem `json:"ParameterList,omitempty"`
}

ApplicationDescription is the description of the application

type ApplicationDescriptionParameterListItem

type ApplicationDescriptionParameterListItem struct {
	Key   *string `json:"Key,omitempty"`
	Value *string `json:"Value,omitempty"`
}

ApplicationDescriptionParameterListItem is the list of the parameter

type ApplicationHealth

type ApplicationHealth struct {
	autorest.Response               `json:"-"`
	HealthEvents                    *[]HealthEvent                                          `json:"HealthEvents,omitempty"`
	AggregatedHealthState           AggregatedHealthState                                   `json:"AggregatedHealthState,omitempty"`
	UnhealthyEvaluations            *string                                                 `json:"UnhealthyEvaluations,omitempty"`
	Name                            *string                                                 `json:"Name,omitempty"`
	ServiceHealthStates             *[]ApplicationHealthServiceHealthStatesItem             `json:"ServiceHealthStates,omitempty"`
	DeployedApplicationHealthStates *[]ApplicationHealthDeployedApplicationHealthStatesItem `json:"DeployedApplicationHealthStates,omitempty"`
}

ApplicationHealth is the health of the application

type ApplicationHealthDeployedApplicationHealthStatesItem

type ApplicationHealthDeployedApplicationHealthStatesItem struct {
	ApplicationName       *string               `json:"ApplicationName,omitempty"`
	NodeName              *string               `json:"NodeName,omitempty"`
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
}

ApplicationHealthDeployedApplicationHealthStatesItem is the states of the deployed application health

type ApplicationHealthEvaluation

type ApplicationHealthEvaluation struct {
	Description           *string                `json:"Description,omitempty"`
	AggregatedHealthState AggregatedHealthState  `json:"AggregatedHealthState,omitempty"`
	Kind                  Kind                   `json:"Kind,omitempty"`
	ServiceName           *string                `json:"ServiceName,omitempty"`
	UnhealthyEvaluations  *[]UnhealthyEvaluation `json:"UnhealthyEvaluations,omitempty"`
}

ApplicationHealthEvaluation is the evaluation of the application health

func (ApplicationHealthEvaluation) AsApplicationHealthEvaluation

func (ahe ApplicationHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)

AsApplicationHealthEvaluation is the HealthEvaluation implementation for ApplicationHealthEvaluation.

func (ApplicationHealthEvaluation) AsApplicationTypeHealthEvaluation

func (ahe ApplicationHealthEvaluation) AsApplicationTypeHealthEvaluation() (*ApplicationTypeHealthEvaluation, bool)

AsApplicationTypeHealthEvaluation is the HealthEvaluation implementation for ApplicationHealthEvaluation.

func (ApplicationHealthEvaluation) AsApplicationsHealthEvaluation

func (ahe ApplicationHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)

AsApplicationsHealthEvaluation is the HealthEvaluation implementation for ApplicationHealthEvaluation.

func (ApplicationHealthEvaluation) AsDeltaNodesCheckHealthEvaluation

func (ahe ApplicationHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)

AsDeltaNodesCheckHealthEvaluation is the HealthEvaluation implementation for ApplicationHealthEvaluation.

func (ApplicationHealthEvaluation) AsDeployedApplicationHealthEvaluation

func (ahe ApplicationHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)

AsDeployedApplicationHealthEvaluation is the HealthEvaluation implementation for ApplicationHealthEvaluation.

func (ApplicationHealthEvaluation) AsDeployedApplicationsHealthEvaluation

func (ahe ApplicationHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)

AsDeployedApplicationsHealthEvaluation is the HealthEvaluation implementation for ApplicationHealthEvaluation.

func (ApplicationHealthEvaluation) AsDeployedServicePackageHealthEvaluation

func (ahe ApplicationHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)

AsDeployedServicePackageHealthEvaluation is the HealthEvaluation implementation for ApplicationHealthEvaluation.

func (ApplicationHealthEvaluation) AsDeployedServicePackagesHealthEvaluation

func (ahe ApplicationHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)

AsDeployedServicePackagesHealthEvaluation is the HealthEvaluation implementation for ApplicationHealthEvaluation.

func (ApplicationHealthEvaluation) AsEventHealthEvaluation

func (ahe ApplicationHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)

AsEventHealthEvaluation is the HealthEvaluation implementation for ApplicationHealthEvaluation.

func (ApplicationHealthEvaluation) AsNodeHealthEvaluation

func (ahe ApplicationHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)

AsNodeHealthEvaluation is the HealthEvaluation implementation for ApplicationHealthEvaluation.

func (ApplicationHealthEvaluation) AsNodesHealthEvaluation

func (ahe ApplicationHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)

AsNodesHealthEvaluation is the HealthEvaluation implementation for ApplicationHealthEvaluation.

func (ApplicationHealthEvaluation) AsPartitionHealthEvaluation

func (ahe ApplicationHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)

AsPartitionHealthEvaluation is the HealthEvaluation implementation for ApplicationHealthEvaluation.

func (ApplicationHealthEvaluation) AsPartitionsHealthEvaluation

func (ahe ApplicationHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)

AsPartitionsHealthEvaluation is the HealthEvaluation implementation for ApplicationHealthEvaluation.

func (ApplicationHealthEvaluation) AsReplicaHealthEvaluation

func (ahe ApplicationHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)

AsReplicaHealthEvaluation is the HealthEvaluation implementation for ApplicationHealthEvaluation.

func (ApplicationHealthEvaluation) AsReplicasHealthEvaluation

func (ahe ApplicationHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)

AsReplicasHealthEvaluation is the HealthEvaluation implementation for ApplicationHealthEvaluation.

func (ApplicationHealthEvaluation) AsServiceHealthEvaluation

func (ahe ApplicationHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)

AsServiceHealthEvaluation is the HealthEvaluation implementation for ApplicationHealthEvaluation.

func (ApplicationHealthEvaluation) AsServicesHealthEvaluation

func (ahe ApplicationHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)

AsServicesHealthEvaluation is the HealthEvaluation implementation for ApplicationHealthEvaluation.

func (ApplicationHealthEvaluation) AsSystemApplicationHealthEvaluation

func (ahe ApplicationHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)

AsSystemApplicationHealthEvaluation is the HealthEvaluation implementation for ApplicationHealthEvaluation.

func (ApplicationHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation

func (ahe ApplicationHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)

AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the HealthEvaluation implementation for ApplicationHealthEvaluation.

func (ApplicationHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation

func (ahe ApplicationHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation() (*UpgradeDomainDeployedApplicationsHealthEvaluation, bool)

AsUpgradeDomainDeployedApplicationsHealthEvaluation is the HealthEvaluation implementation for ApplicationHealthEvaluation.

func (ApplicationHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation

func (ahe ApplicationHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)

AsUpgradeDomainNodesHealthEvaluation is the HealthEvaluation implementation for ApplicationHealthEvaluation.

func (ApplicationHealthEvaluation) MarshalJSON

func (ahe ApplicationHealthEvaluation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationHealthEvaluation.

type ApplicationHealthPolicy

type ApplicationHealthPolicy struct {
	ConsiderWarningAsError                  *bool                                                  `json:"ConsiderWarningAsError,omitempty"`
	MaxPercentUnhealthyDeployedApplications *int32                                                 `json:"MaxPercentUnhealthyDeployedApplications,omitempty"`
	DefaultServiceTypeHealthPolicy          *ApplicationHealthPolicyDefaultServiceTypeHealthPolicy `json:"DefaultServiceTypeHealthPolicy,omitempty"`
}

ApplicationHealthPolicy is the policy of the application health

type ApplicationHealthPolicyDefaultServiceTypeHealthPolicy

type ApplicationHealthPolicyDefaultServiceTypeHealthPolicy struct {
	MaxPercentUnhealthyServices             *int32 `json:"MaxPercentUnhealthyServices,omitempty"`
	MaxPercentUnhealthyPartitionsPerService *int32 `json:"MaxPercentUnhealthyPartitionsPerService,omitempty"`
	MaxPercentUnhealthyReplicasPerPartition *int32 `json:"MaxPercentUnhealthyReplicasPerPartition,omitempty"`
}

ApplicationHealthPolicyDefaultServiceTypeHealthPolicy is the policy of the default service type health

type ApplicationHealthPolicyMap

type ApplicationHealthPolicyMap struct {
	ConsiderWarningAsError                  *bool  `json:"ConsiderWarningAsError,omitempty"`
	MaxPercentUnhealthyDeployedApplications *int32 `json:"MaxPercentUnhealthyDeployedApplications,omitempty"`
	DefaultServiceTypeHealthPolicy          *int32 `json:"DefaultServiceTypeHealthPolicy,omitempty"`
	MaxPercentUnhealthyServices             *int32 `json:"MaxPercentUnhealthyServices,omitempty"`
	MaxPercentUnhealthyPartitionsPerService *int32 `json:"MaxPercentUnhealthyPartitionsPerService,omitempty"`
	MaxPercentUnhealthyReplicasPerPartition *int32 `json:"MaxPercentUnhealthyReplicasPerPartition,omitempty"`
}

ApplicationHealthPolicyMap is the application health policy of the cluster

type ApplicationHealthReport

type ApplicationHealthReport struct {
	SourceID                 *string     `json:"SourceId,omitempty"`
	Property                 *string     `json:"Property,omitempty"`
	HealthState              HealthState `json:"HealthState,omitempty"`
	Description              *string     `json:"Description,omitempty"`
	TimeToLiveInMilliSeconds *string     `json:"TimeToLiveInMilliSeconds,omitempty"`
	SequenceNumber           *string     `json:"SequenceNumber,omitempty"`
	RemoveWhenExpired        *bool       `json:"RemoveWhenExpired,omitempty"`
}

ApplicationHealthReport is the report of the application health

type ApplicationHealthServiceHealthStatesItem

type ApplicationHealthServiceHealthStatesItem struct {
	ServiceName           *string               `json:"ServiceName,omitempty"`
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
}

ApplicationHealthServiceHealthStatesItem is the states of the service health

type ApplicationHealthsClient

type ApplicationHealthsClient struct {
	ManagementClient
}

ApplicationHealthsClient is the client for the ApplicationHealths methods of the Servicefabric service.

func NewApplicationHealthsClient

func NewApplicationHealthsClient(timeout *int32) ApplicationHealthsClient

NewApplicationHealthsClient creates an instance of the ApplicationHealthsClient client.

func NewApplicationHealthsClientWithBaseURI

func NewApplicationHealthsClientWithBaseURI(baseURI string, timeout *int32) ApplicationHealthsClient

NewApplicationHealthsClientWithBaseURI creates an instance of the ApplicationHealthsClient client.

func (ApplicationHealthsClient) Get

func (client ApplicationHealthsClient) Get(applicationName string, eventsHealthStateFilter string, deployedApplicationsHealthStateFilter string) (result ApplicationHealth, err error)

Get get application healths

applicationName is the name of the application eventsHealthStateFilter is the filter of the events health state deployedApplicationsHealthStateFilter is the filter of the deployed application health state

func (ApplicationHealthsClient) GetPreparer

func (client ApplicationHealthsClient) GetPreparer(applicationName string, eventsHealthStateFilter string, deployedApplicationsHealthStateFilter string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ApplicationHealthsClient) GetResponder

func (client ApplicationHealthsClient) GetResponder(resp *http.Response) (result ApplicationHealth, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ApplicationHealthsClient) GetSender

func (client ApplicationHealthsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ApplicationHealthsClient) Send

func (client ApplicationHealthsClient) Send(applicationName string, applicationHealthReport ApplicationHealthReport) (result String, err error)

Send send application health

applicationName is the name of the application applicationHealthReport is the report of the application health

func (ApplicationHealthsClient) SendPreparer

func (client ApplicationHealthsClient) SendPreparer(applicationName string, applicationHealthReport ApplicationHealthReport) (*http.Request, error)

SendPreparer prepares the Send request.

func (ApplicationHealthsClient) SendResponder

func (client ApplicationHealthsClient) SendResponder(resp *http.Response) (result String, err error)

SendResponder handles the response to the Send request. The method always closes the http.Response Body.

func (ApplicationHealthsClient) SendSender

func (client ApplicationHealthsClient) SendSender(req *http.Request) (*http.Response, error)

SendSender sends the Send request. The method will close the http.Response Body if it receives an error.

type ApplicationList

type ApplicationList struct {
	autorest.Response `json:"-"`
	ContinuationToken *string        `json:"ContinuationToken,omitempty"`
	Items             *[]Application `json:"Items,omitempty"`
}

ApplicationList is the list of the application

type ApplicationManifest

type ApplicationManifest struct {
	autorest.Response `json:"-"`
	Manifest          *string `json:"Manifest,omitempty"`
}

ApplicationManifest is the manifest of the application

type ApplicationManifestsClient

type ApplicationManifestsClient struct {
	ManagementClient
}

ApplicationManifestsClient is the client for the ApplicationManifests methods of the Servicefabric service.

func NewApplicationManifestsClient

func NewApplicationManifestsClient(timeout *int32) ApplicationManifestsClient

NewApplicationManifestsClient creates an instance of the ApplicationManifestsClient client.

func NewApplicationManifestsClientWithBaseURI

func NewApplicationManifestsClientWithBaseURI(baseURI string, timeout *int32) ApplicationManifestsClient

NewApplicationManifestsClientWithBaseURI creates an instance of the ApplicationManifestsClient client.

func (ApplicationManifestsClient) Get

func (client ApplicationManifestsClient) Get(applicationTypeName string, applicationTypeVersion string) (result ApplicationManifest, err error)

Get get application manifests

applicationTypeName is the name of the application type applicationTypeVersion is the version of the application type

func (ApplicationManifestsClient) GetPreparer

func (client ApplicationManifestsClient) GetPreparer(applicationTypeName string, applicationTypeVersion string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ApplicationManifestsClient) GetResponder

func (client ApplicationManifestsClient) GetResponder(resp *http.Response) (result ApplicationManifest, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ApplicationManifestsClient) GetSender

func (client ApplicationManifestsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type ApplicationParametersItem

type ApplicationParametersItem struct {
	Key   *string `json:"Key,omitempty"`
	Value *string `json:"Value,omitempty"`
}

ApplicationParametersItem is the parameters

type ApplicationType

type ApplicationType struct {
	Name                 *string                                    `json:"Name,omitempty"`
	Version              *string                                    `json:"Version,omitempty"`
	DefaultParameterList *[]ApplicationTypeDefaultParameterListItem `json:"DefaultParameterList,omitempty"`
}

ApplicationType is the type of the application

type ApplicationTypeDefaultParameterListItem

type ApplicationTypeDefaultParameterListItem struct {
	Key   *string `json:"Key,omitempty"`
	Value *string `json:"Value,omitempty"`
}

ApplicationTypeDefaultParameterListItem is the list of the default parameter

type ApplicationTypeHealthEvaluation

type ApplicationTypeHealthEvaluation struct {
	Description                     *string                `json:"Description,omitempty"`
	AggregatedHealthState           AggregatedHealthState  `json:"AggregatedHealthState,omitempty"`
	Kind                            Kind                   `json:"Kind,omitempty"`
	ApplicationTypeName             *string                `json:"ApplicationTypeName,omitempty"`
	UnhealthyEvaluations            *[]UnhealthyEvaluation `json:"UnhealthyEvaluations,omitempty"`
	TotalCount                      *int32                 `json:"TotalCount,omitempty"`
	MaxPercentUnhealthyApplications *int32                 `json:"MaxPercentUnhealthyApplications,omitempty"`
}

ApplicationTypeHealthEvaluation is the evaluation of the application type health

func (ApplicationTypeHealthEvaluation) AsApplicationHealthEvaluation

func (athe ApplicationTypeHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)

AsApplicationHealthEvaluation is the HealthEvaluation implementation for ApplicationTypeHealthEvaluation.

func (ApplicationTypeHealthEvaluation) AsApplicationTypeHealthEvaluation

func (athe ApplicationTypeHealthEvaluation) AsApplicationTypeHealthEvaluation() (*ApplicationTypeHealthEvaluation, bool)

AsApplicationTypeHealthEvaluation is the HealthEvaluation implementation for ApplicationTypeHealthEvaluation.

func (ApplicationTypeHealthEvaluation) AsApplicationsHealthEvaluation

func (athe ApplicationTypeHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)

AsApplicationsHealthEvaluation is the HealthEvaluation implementation for ApplicationTypeHealthEvaluation.

func (ApplicationTypeHealthEvaluation) AsDeltaNodesCheckHealthEvaluation

func (athe ApplicationTypeHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)

AsDeltaNodesCheckHealthEvaluation is the HealthEvaluation implementation for ApplicationTypeHealthEvaluation.

func (ApplicationTypeHealthEvaluation) AsDeployedApplicationHealthEvaluation

func (athe ApplicationTypeHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)

AsDeployedApplicationHealthEvaluation is the HealthEvaluation implementation for ApplicationTypeHealthEvaluation.

func (ApplicationTypeHealthEvaluation) AsDeployedApplicationsHealthEvaluation

func (athe ApplicationTypeHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)

AsDeployedApplicationsHealthEvaluation is the HealthEvaluation implementation for ApplicationTypeHealthEvaluation.

func (ApplicationTypeHealthEvaluation) AsDeployedServicePackageHealthEvaluation

func (athe ApplicationTypeHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)

AsDeployedServicePackageHealthEvaluation is the HealthEvaluation implementation for ApplicationTypeHealthEvaluation.

func (ApplicationTypeHealthEvaluation) AsDeployedServicePackagesHealthEvaluation

func (athe ApplicationTypeHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)

AsDeployedServicePackagesHealthEvaluation is the HealthEvaluation implementation for ApplicationTypeHealthEvaluation.

func (ApplicationTypeHealthEvaluation) AsEventHealthEvaluation

func (athe ApplicationTypeHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)

AsEventHealthEvaluation is the HealthEvaluation implementation for ApplicationTypeHealthEvaluation.

func (ApplicationTypeHealthEvaluation) AsNodeHealthEvaluation

func (athe ApplicationTypeHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)

AsNodeHealthEvaluation is the HealthEvaluation implementation for ApplicationTypeHealthEvaluation.

func (ApplicationTypeHealthEvaluation) AsNodesHealthEvaluation

func (athe ApplicationTypeHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)

AsNodesHealthEvaluation is the HealthEvaluation implementation for ApplicationTypeHealthEvaluation.

func (ApplicationTypeHealthEvaluation) AsPartitionHealthEvaluation

func (athe ApplicationTypeHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)

AsPartitionHealthEvaluation is the HealthEvaluation implementation for ApplicationTypeHealthEvaluation.

func (ApplicationTypeHealthEvaluation) AsPartitionsHealthEvaluation

func (athe ApplicationTypeHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)

AsPartitionsHealthEvaluation is the HealthEvaluation implementation for ApplicationTypeHealthEvaluation.

func (ApplicationTypeHealthEvaluation) AsReplicaHealthEvaluation

func (athe ApplicationTypeHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)

AsReplicaHealthEvaluation is the HealthEvaluation implementation for ApplicationTypeHealthEvaluation.

func (ApplicationTypeHealthEvaluation) AsReplicasHealthEvaluation

func (athe ApplicationTypeHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)

AsReplicasHealthEvaluation is the HealthEvaluation implementation for ApplicationTypeHealthEvaluation.

func (ApplicationTypeHealthEvaluation) AsServiceHealthEvaluation

func (athe ApplicationTypeHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)

AsServiceHealthEvaluation is the HealthEvaluation implementation for ApplicationTypeHealthEvaluation.

func (ApplicationTypeHealthEvaluation) AsServicesHealthEvaluation

func (athe ApplicationTypeHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)

AsServicesHealthEvaluation is the HealthEvaluation implementation for ApplicationTypeHealthEvaluation.

func (ApplicationTypeHealthEvaluation) AsSystemApplicationHealthEvaluation

func (athe ApplicationTypeHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)

AsSystemApplicationHealthEvaluation is the HealthEvaluation implementation for ApplicationTypeHealthEvaluation.

func (ApplicationTypeHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation

func (athe ApplicationTypeHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)

AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the HealthEvaluation implementation for ApplicationTypeHealthEvaluation.

func (ApplicationTypeHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation

func (athe ApplicationTypeHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation() (*UpgradeDomainDeployedApplicationsHealthEvaluation, bool)

AsUpgradeDomainDeployedApplicationsHealthEvaluation is the HealthEvaluation implementation for ApplicationTypeHealthEvaluation.

func (ApplicationTypeHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation

func (athe ApplicationTypeHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)

AsUpgradeDomainNodesHealthEvaluation is the HealthEvaluation implementation for ApplicationTypeHealthEvaluation.

func (ApplicationTypeHealthEvaluation) MarshalJSON

func (athe ApplicationTypeHealthEvaluation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationTypeHealthEvaluation.

type ApplicationTypesClient

type ApplicationTypesClient struct {
	ManagementClient
}

ApplicationTypesClient is the client for the ApplicationTypes methods of the Servicefabric service.

func NewApplicationTypesClient

func NewApplicationTypesClient(timeout *int32) ApplicationTypesClient

NewApplicationTypesClient creates an instance of the ApplicationTypesClient client.

func NewApplicationTypesClientWithBaseURI

func NewApplicationTypesClientWithBaseURI(baseURI string, timeout *int32) ApplicationTypesClient

NewApplicationTypesClientWithBaseURI creates an instance of the ApplicationTypesClient client.

func (ApplicationTypesClient) Get

func (client ApplicationTypesClient) Get(applicationTypeName string) (result ListApplicationType, err error)

Get get application types

applicationTypeName is the name of the application type

func (ApplicationTypesClient) GetPreparer

func (client ApplicationTypesClient) GetPreparer(applicationTypeName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ApplicationTypesClient) GetResponder

func (client ApplicationTypesClient) GetResponder(resp *http.Response) (result ListApplicationType, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ApplicationTypesClient) GetSender

func (client ApplicationTypesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ApplicationTypesClient) List

func (client ApplicationTypesClient) List() (result ListApplicationType, err error)

List list application types

func (ApplicationTypesClient) ListPreparer

func (client ApplicationTypesClient) ListPreparer() (*http.Request, error)

ListPreparer prepares the List request.

func (ApplicationTypesClient) ListResponder

func (client ApplicationTypesClient) ListResponder(resp *http.Response) (result ListApplicationType, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ApplicationTypesClient) ListSender

func (client ApplicationTypesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (ApplicationTypesClient) Register

func (client ApplicationTypesClient) Register(registerApplicationType RegisterApplicationType) (result String, err error)

Register register application types

registerApplicationType is the type of the register application

func (ApplicationTypesClient) RegisterPreparer

func (client ApplicationTypesClient) RegisterPreparer(registerApplicationType RegisterApplicationType) (*http.Request, error)

RegisterPreparer prepares the Register request.

func (ApplicationTypesClient) RegisterResponder

func (client ApplicationTypesClient) RegisterResponder(resp *http.Response) (result String, err error)

RegisterResponder handles the response to the Register request. The method always closes the http.Response Body.

func (ApplicationTypesClient) RegisterSender

func (client ApplicationTypesClient) RegisterSender(req *http.Request) (*http.Response, error)

RegisterSender sends the Register request. The method will close the http.Response Body if it receives an error.

func (ApplicationTypesClient) Unregister

func (client ApplicationTypesClient) Unregister(applicationTypeName string, unregisterApplicationType UnregisterApplicationType) (result String, err error)

Unregister unregister application types

applicationTypeName is the name of the application type unregisterApplicationType is the type of the unregister application

func (ApplicationTypesClient) UnregisterPreparer

func (client ApplicationTypesClient) UnregisterPreparer(applicationTypeName string, unregisterApplicationType UnregisterApplicationType) (*http.Request, error)

UnregisterPreparer prepares the Unregister request.

func (ApplicationTypesClient) UnregisterResponder

func (client ApplicationTypesClient) UnregisterResponder(resp *http.Response) (result String, err error)

UnregisterResponder handles the response to the Unregister request. The method always closes the http.Response Body.

func (ApplicationTypesClient) UnregisterSender

func (client ApplicationTypesClient) UnregisterSender(req *http.Request) (*http.Response, error)

UnregisterSender sends the Unregister request. The method will close the http.Response Body if it receives an error.

type ApplicationUpgrade

type ApplicationUpgrade struct {
	autorest.Response                   `json:"-"`
	Name                                *string                                            `json:"Name,omitempty"`
	TypeName                            *string                                            `json:"TypeName,omitempty"`
	TargetApplicationTypeVersion        *string                                            `json:"TargetApplicationTypeVersion,omitempty"`
	UpgradeDomains                      *string                                            `json:"UpgradeDomains,omitempty"`
	UpgradeState                        UpgradeState                                       `json:"UpgradeState,omitempty"`
	NextUpgradeDomain                   *string                                            `json:"NextUpgradeDomain,omitempty"`
	RollingUpgradeMode                  RollingUpgradeMode                                 `json:"RollingUpgradeMode,omitempty"`
	UpgradeDurationInMilliseconds       *string                                            `json:"UpgradeDurationInMilliseconds,omitempty"`
	UpgradeDomainDurationInMilliseconds *string                                            `json:"UpgradeDomainDurationInMilliseconds,omitempty"`
	UnhealthyEvaluations                *string                                            `json:"UnhealthyEvaluations,omitempty"`
	CurrentUpgradeDomainProgress        *ApplicationUpgradeCurrentUpgradeDomainProgress    `json:"CurrentUpgradeDomainProgress,omitempty"`
	StartTimestampUtc                   *string                                            `json:"StartTimestampUtc,omitempty"`
	FailureTimestampUtc                 *string                                            `json:"FailureTimestampUtc,omitempty"`
	FailureReason                       FailureReason                                      `json:"FailureReason,omitempty"`
	DeployedApplicationHealthStates     *ApplicationUpgradeDeployedApplicationHealthStates `json:"DeployedApplicationHealthStates,omitempty"`
}

ApplicationUpgrade is the upgrade of the application

type ApplicationUpgradeCurrentUpgradeDomainProgress

type ApplicationUpgradeCurrentUpgradeDomainProgress struct {
	DomainName              *string `json:"DomainName,omitempty"`
	NodeUpgradeProgressList *string `json:"NodeUpgradeProgressList,omitempty"`
}

ApplicationUpgradeCurrentUpgradeDomainProgress is the progress of the current upgrade domain

type ApplicationUpgradeDeployedApplicationHealthStates

type ApplicationUpgradeDeployedApplicationHealthStates struct {
	DomainName              *string `json:"DomainName,omitempty"`
	NodeUpgradeProgressList *string `json:"NodeUpgradeProgressList,omitempty"`
}

ApplicationUpgradeDeployedApplicationHealthStates is the states of the deployed application health

type ApplicationUpgradeRollbacksClient

type ApplicationUpgradeRollbacksClient struct {
	ManagementClient
}

ApplicationUpgradeRollbacksClient is the client for the ApplicationUpgradeRollbacks methods of the Servicefabric service.

func NewApplicationUpgradeRollbacksClient

func NewApplicationUpgradeRollbacksClient(timeout *int32) ApplicationUpgradeRollbacksClient

NewApplicationUpgradeRollbacksClient creates an instance of the ApplicationUpgradeRollbacksClient client.

func NewApplicationUpgradeRollbacksClientWithBaseURI

func NewApplicationUpgradeRollbacksClientWithBaseURI(baseURI string, timeout *int32) ApplicationUpgradeRollbacksClient

NewApplicationUpgradeRollbacksClientWithBaseURI creates an instance of the ApplicationUpgradeRollbacksClient client.

func (ApplicationUpgradeRollbacksClient) Start

func (client ApplicationUpgradeRollbacksClient) Start(applicationName string) (result String, err error)

Start start application upgrade rollbacks

applicationName is the name of the application

func (ApplicationUpgradeRollbacksClient) StartPreparer

func (client ApplicationUpgradeRollbacksClient) StartPreparer(applicationName string) (*http.Request, error)

StartPreparer prepares the Start request.

func (ApplicationUpgradeRollbacksClient) StartResponder

func (client ApplicationUpgradeRollbacksClient) StartResponder(resp *http.Response) (result String, err error)

StartResponder handles the response to the Start request. The method always closes the http.Response Body.

func (ApplicationUpgradeRollbacksClient) StartSender

func (client ApplicationUpgradeRollbacksClient) StartSender(req *http.Request) (*http.Response, error)

StartSender sends the Start request. The method will close the http.Response Body if it receives an error.

type ApplicationUpgradesClient

type ApplicationUpgradesClient struct {
	ManagementClient
}

ApplicationUpgradesClient is the client for the ApplicationUpgrades methods of the Servicefabric service.

func NewApplicationUpgradesClient

func NewApplicationUpgradesClient(timeout *int32) ApplicationUpgradesClient

NewApplicationUpgradesClient creates an instance of the ApplicationUpgradesClient client.

func NewApplicationUpgradesClientWithBaseURI

func NewApplicationUpgradesClientWithBaseURI(baseURI string, timeout *int32) ApplicationUpgradesClient

NewApplicationUpgradesClientWithBaseURI creates an instance of the ApplicationUpgradesClient client.

func (ApplicationUpgradesClient) Get

func (client ApplicationUpgradesClient) Get(applicationName string) (result ApplicationUpgrade, err error)

Get get application upgrades

applicationName is the name of the application

func (ApplicationUpgradesClient) GetPreparer

func (client ApplicationUpgradesClient) GetPreparer(applicationName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ApplicationUpgradesClient) GetResponder

func (client ApplicationUpgradesClient) GetResponder(resp *http.Response) (result ApplicationUpgrade, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ApplicationUpgradesClient) GetSender

func (client ApplicationUpgradesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ApplicationUpgradesClient) Resume

func (client ApplicationUpgradesClient) Resume(applicationName string, resumeApplicationUpgrade ResumeApplicationUpgrade) (result String, err error)

Resume resume application upgrades

applicationName is the name of the application resumeApplicationUpgrade is the upgrade of the resume application

func (ApplicationUpgradesClient) ResumePreparer

func (client ApplicationUpgradesClient) ResumePreparer(applicationName string, resumeApplicationUpgrade ResumeApplicationUpgrade) (*http.Request, error)

ResumePreparer prepares the Resume request.

func (ApplicationUpgradesClient) ResumeResponder

func (client ApplicationUpgradesClient) ResumeResponder(resp *http.Response) (result String, err error)

ResumeResponder handles the response to the Resume request. The method always closes the http.Response Body.

func (ApplicationUpgradesClient) ResumeSender

func (client ApplicationUpgradesClient) ResumeSender(req *http.Request) (*http.Response, error)

ResumeSender sends the Resume request. The method will close the http.Response Body if it receives an error.

func (ApplicationUpgradesClient) Start

func (client ApplicationUpgradesClient) Start(applicationName string, startApplicationUpgrade StartApplicationUpgrade) (result String, err error)

Start start application upgrades

applicationName is the name of the application startApplicationUpgrade is the description of the start application upgrade

func (ApplicationUpgradesClient) StartPreparer

func (client ApplicationUpgradesClient) StartPreparer(applicationName string, startApplicationUpgrade StartApplicationUpgrade) (*http.Request, error)

StartPreparer prepares the Start request.

func (ApplicationUpgradesClient) StartResponder

func (client ApplicationUpgradesClient) StartResponder(resp *http.Response) (result String, err error)

StartResponder handles the response to the Start request. The method always closes the http.Response Body.

func (ApplicationUpgradesClient) StartSender

func (client ApplicationUpgradesClient) StartSender(req *http.Request) (*http.Response, error)

StartSender sends the Start request. The method will close the http.Response Body if it receives an error.

func (ApplicationUpgradesClient) Update

func (client ApplicationUpgradesClient) Update(applicationName string, updateApplicationUpgrade UpdateApplicationUpgrade) (result String, err error)

Update update application upgrades

applicationName is the name of the application updateApplicationUpgrade is the description of the update application upgrade

func (ApplicationUpgradesClient) UpdatePreparer

func (client ApplicationUpgradesClient) UpdatePreparer(applicationName string, updateApplicationUpgrade UpdateApplicationUpgrade) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ApplicationUpgradesClient) UpdateResponder

func (client ApplicationUpgradesClient) UpdateResponder(resp *http.Response) (result String, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (ApplicationUpgradesClient) UpdateSender

func (client ApplicationUpgradesClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type ApplicationsClient

type ApplicationsClient struct {
	ManagementClient
}

ApplicationsClient is the client for the Applications methods of the Servicefabric service.

func NewApplicationsClient

func NewApplicationsClient(timeout *int32) ApplicationsClient

NewApplicationsClient creates an instance of the ApplicationsClient client.

func NewApplicationsClientWithBaseURI

func NewApplicationsClientWithBaseURI(baseURI string, timeout *int32) ApplicationsClient

NewApplicationsClientWithBaseURI creates an instance of the ApplicationsClient client.

func (ApplicationsClient) Create

func (client ApplicationsClient) Create(applicationDescription ApplicationDescription) (result String, err error)

Create create applications

applicationDescription is the description of the application

func (ApplicationsClient) CreatePreparer

func (client ApplicationsClient) CreatePreparer(applicationDescription ApplicationDescription) (*http.Request, error)

CreatePreparer prepares the Create request.

func (ApplicationsClient) CreateResponder

func (client ApplicationsClient) CreateResponder(resp *http.Response) (result String, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (ApplicationsClient) CreateSender

func (client ApplicationsClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (ApplicationsClient) Get

func (client ApplicationsClient) Get(applicationName string) (result Application, err error)

Get get applications

applicationName is the name of the application

func (ApplicationsClient) GetPreparer

func (client ApplicationsClient) GetPreparer(applicationName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ApplicationsClient) GetResponder

func (client ApplicationsClient) GetResponder(resp *http.Response) (result Application, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ApplicationsClient) GetSender

func (client ApplicationsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ApplicationsClient) List

func (client ApplicationsClient) List(continuationToken string) (result ApplicationList, err error)

List list applications

continuationToken is the token of the continuation

func (ApplicationsClient) ListPreparer

func (client ApplicationsClient) ListPreparer(continuationToken string) (*http.Request, error)

ListPreparer prepares the List request.

func (ApplicationsClient) ListResponder

func (client ApplicationsClient) ListResponder(resp *http.Response) (result ApplicationList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ApplicationsClient) ListSender

func (client ApplicationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (ApplicationsClient) Remove

func (client ApplicationsClient) Remove(applicationName string, forceRemove *bool) (result String, err error)

Remove remove applications

applicationName is the name of the application forceRemove is the force remove flag to skip services check

func (ApplicationsClient) RemovePreparer

func (client ApplicationsClient) RemovePreparer(applicationName string, forceRemove *bool) (*http.Request, error)

RemovePreparer prepares the Remove request.

func (ApplicationsClient) RemoveResponder

func (client ApplicationsClient) RemoveResponder(resp *http.Response) (result String, err error)

RemoveResponder handles the response to the Remove request. The method always closes the http.Response Body.

func (ApplicationsClient) RemoveSender

func (client ApplicationsClient) RemoveSender(req *http.Request) (*http.Response, error)

RemoveSender sends the Remove request. The method will close the http.Response Body if it receives an error.

type ApplicationsHealthEvaluation

type ApplicationsHealthEvaluation struct {
	Description                     *string                `json:"Description,omitempty"`
	AggregatedHealthState           AggregatedHealthState  `json:"AggregatedHealthState,omitempty"`
	Kind                            Kind                   `json:"Kind,omitempty"`
	UnhealthyEvaluations            *[]UnhealthyEvaluation `json:"UnhealthyEvaluations,omitempty"`
	TotalCount                      *int32                 `json:"TotalCount,omitempty"`
	MaxPercentUnhealthyApplications *int32                 `json:"MaxPercentUnhealthyApplications,omitempty"`
}

ApplicationsHealthEvaluation is the evaluation of the applications health

func (ApplicationsHealthEvaluation) AsApplicationHealthEvaluation

func (ahe ApplicationsHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)

AsApplicationHealthEvaluation is the HealthEvaluation implementation for ApplicationsHealthEvaluation.

func (ApplicationsHealthEvaluation) AsApplicationTypeHealthEvaluation

func (ahe ApplicationsHealthEvaluation) AsApplicationTypeHealthEvaluation() (*ApplicationTypeHealthEvaluation, bool)

AsApplicationTypeHealthEvaluation is the HealthEvaluation implementation for ApplicationsHealthEvaluation.

func (ApplicationsHealthEvaluation) AsApplicationsHealthEvaluation

func (ahe ApplicationsHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)

AsApplicationsHealthEvaluation is the HealthEvaluation implementation for ApplicationsHealthEvaluation.

func (ApplicationsHealthEvaluation) AsDeltaNodesCheckHealthEvaluation

func (ahe ApplicationsHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)

AsDeltaNodesCheckHealthEvaluation is the HealthEvaluation implementation for ApplicationsHealthEvaluation.

func (ApplicationsHealthEvaluation) AsDeployedApplicationHealthEvaluation

func (ahe ApplicationsHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)

AsDeployedApplicationHealthEvaluation is the HealthEvaluation implementation for ApplicationsHealthEvaluation.

func (ApplicationsHealthEvaluation) AsDeployedApplicationsHealthEvaluation

func (ahe ApplicationsHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)

AsDeployedApplicationsHealthEvaluation is the HealthEvaluation implementation for ApplicationsHealthEvaluation.

func (ApplicationsHealthEvaluation) AsDeployedServicePackageHealthEvaluation

func (ahe ApplicationsHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)

AsDeployedServicePackageHealthEvaluation is the HealthEvaluation implementation for ApplicationsHealthEvaluation.

func (ApplicationsHealthEvaluation) AsDeployedServicePackagesHealthEvaluation

func (ahe ApplicationsHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)

AsDeployedServicePackagesHealthEvaluation is the HealthEvaluation implementation for ApplicationsHealthEvaluation.

func (ApplicationsHealthEvaluation) AsEventHealthEvaluation

func (ahe ApplicationsHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)

AsEventHealthEvaluation is the HealthEvaluation implementation for ApplicationsHealthEvaluation.

func (ApplicationsHealthEvaluation) AsNodeHealthEvaluation

func (ahe ApplicationsHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)

AsNodeHealthEvaluation is the HealthEvaluation implementation for ApplicationsHealthEvaluation.

func (ApplicationsHealthEvaluation) AsNodesHealthEvaluation

func (ahe ApplicationsHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)

AsNodesHealthEvaluation is the HealthEvaluation implementation for ApplicationsHealthEvaluation.

func (ApplicationsHealthEvaluation) AsPartitionHealthEvaluation

func (ahe ApplicationsHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)

AsPartitionHealthEvaluation is the HealthEvaluation implementation for ApplicationsHealthEvaluation.

func (ApplicationsHealthEvaluation) AsPartitionsHealthEvaluation

func (ahe ApplicationsHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)

AsPartitionsHealthEvaluation is the HealthEvaluation implementation for ApplicationsHealthEvaluation.

func (ApplicationsHealthEvaluation) AsReplicaHealthEvaluation

func (ahe ApplicationsHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)

AsReplicaHealthEvaluation is the HealthEvaluation implementation for ApplicationsHealthEvaluation.

func (ApplicationsHealthEvaluation) AsReplicasHealthEvaluation

func (ahe ApplicationsHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)

AsReplicasHealthEvaluation is the HealthEvaluation implementation for ApplicationsHealthEvaluation.

func (ApplicationsHealthEvaluation) AsServiceHealthEvaluation

func (ahe ApplicationsHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)

AsServiceHealthEvaluation is the HealthEvaluation implementation for ApplicationsHealthEvaluation.

func (ApplicationsHealthEvaluation) AsServicesHealthEvaluation

func (ahe ApplicationsHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)

AsServicesHealthEvaluation is the HealthEvaluation implementation for ApplicationsHealthEvaluation.

func (ApplicationsHealthEvaluation) AsSystemApplicationHealthEvaluation

func (ahe ApplicationsHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)

AsSystemApplicationHealthEvaluation is the HealthEvaluation implementation for ApplicationsHealthEvaluation.

func (ApplicationsHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation

func (ahe ApplicationsHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)

AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the HealthEvaluation implementation for ApplicationsHealthEvaluation.

func (ApplicationsHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation

func (ahe ApplicationsHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation() (*UpgradeDomainDeployedApplicationsHealthEvaluation, bool)

AsUpgradeDomainDeployedApplicationsHealthEvaluation is the HealthEvaluation implementation for ApplicationsHealthEvaluation.

func (ApplicationsHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation

func (ahe ApplicationsHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)

AsUpgradeDomainNodesHealthEvaluation is the HealthEvaluation implementation for ApplicationsHealthEvaluation.

func (ApplicationsHealthEvaluation) MarshalJSON

func (ahe ApplicationsHealthEvaluation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationsHealthEvaluation.

type ClusterHealth

type ClusterHealth struct {
	autorest.Response      `json:"-"`
	HealthEvents           *[]HealthEvent                             `json:"HealthEvents,omitempty"`
	AggregatedHealthState  AggregatedHealthState                      `json:"AggregatedHealthState,omitempty"`
	UnhealthyEvaluations   *[]UnhealthyEvaluation                     `json:"UnhealthyEvaluations,omitempty"`
	NodeHealthStates       *[]ClusterHealthNodeHealthStatesItem       `json:"NodeHealthStates,omitempty"`
	ApplicationHealthState *[]ClusterHealthApplicationHealthStateItem `json:"ApplicationHealthState,omitempty"`
}

ClusterHealth is the health of the cluster

type ClusterHealthApplicationHealthStateItem

type ClusterHealthApplicationHealthStateItem struct {
	Name                  *string               `json:"Name,omitempty"`
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
}

ClusterHealthApplicationHealthStateItem is the state of the application health

type ClusterHealthNodeHealthStatesItem

type ClusterHealthNodeHealthStatesItem struct {
	Name                  *string                              `json:"Name,omitempty"`
	ID                    *ClusterHealthNodeHealthStatesItemID `json:"Id,omitempty"`
	AggregatedHealthState AggregatedHealthState                `json:"AggregatedHealthState,omitempty"`
}

ClusterHealthNodeHealthStatesItem is the states of tehe node health

type ClusterHealthNodeHealthStatesItemID

type ClusterHealthNodeHealthStatesItemID struct {
	ID *string `json:"Id,omitempty"`
}

ClusterHealthNodeHealthStatesItemID is the id

type ClusterHealthPolicy

type ClusterHealthPolicy struct {
	RollingUpgradeMode                      RollingUpgradeMode `json:"RollingUpgradeMode,omitempty"`
	ForceRestart                            *bool              `json:"ForceRestart,omitempty"`
	FailureAction                           *string            `json:"FailureAction,omitempty"`
	UpgradeReplicaSetCheckTimeoutInSeconds  *int32             `json:"UpgradeReplicaSetCheckTimeoutInSeconds,omitempty"`
	HealthCheckWaitDurationInMilliseconds   *string            `json:"HealthCheckWaitDurationInMilliseconds,omitempty"`
	HealthCheckStableDurationInMilliseconds *string            `json:"HealthCheckStableDurationInMilliseconds,omitempty"`
	HealthCheckRetryTimeoutInMilliseconds   *string            `json:"HealthCheckRetryTimeoutInMilliseconds,omitempty"`
	UpgradeTimeoutInMilliseconds            *string            `json:"UpgradeTimeoutInMilliseconds,omitempty"`
	UpgradeDomainTimeoutInMilliseconds      *string            `json:"UpgradeDomainTimeoutInMilliseconds,omitempty"`
}

ClusterHealthPolicy is the policy of the cluster health

type ClusterHealthReport

type ClusterHealthReport struct {
	SourceID                 *string     `json:"SourceId,omitempty"`
	Property                 *string     `json:"Property,omitempty"`
	HealthState              HealthState `json:"HealthState,omitempty"`
	Description              *string     `json:"Description,omitempty"`
	TimeToLiveInMilliSeconds *string     `json:"TimeToLiveInMilliSeconds,omitempty"`
	SequenceNumber           *string     `json:"SequenceNumber,omitempty"`
	RemoveWhenExpired        *bool       `json:"RemoveWhenExpired,omitempty"`
}

ClusterHealthReport is the report of the cluster health

type ClusterHealthsClient

type ClusterHealthsClient struct {
	ManagementClient
}

ClusterHealthsClient is the client for the ClusterHealths methods of the Servicefabric service.

func NewClusterHealthsClient

func NewClusterHealthsClient(timeout *int32) ClusterHealthsClient

NewClusterHealthsClient creates an instance of the ClusterHealthsClient client.

func NewClusterHealthsClientWithBaseURI

func NewClusterHealthsClientWithBaseURI(baseURI string, timeout *int32) ClusterHealthsClient

NewClusterHealthsClientWithBaseURI creates an instance of the ClusterHealthsClient client.

func (ClusterHealthsClient) Get

func (client ClusterHealthsClient) Get(eventsHealthStateFilter string, nodesHealthStateFilter string, applicationsHealthStateFilter string) (result ClusterHealth, err error)

Get get cluster healths

eventsHealthStateFilter is the filter of the events health state nodesHealthStateFilter is the filter of the nodes health state applicationsHealthStateFilter is the filter of the applications health state

func (ClusterHealthsClient) GetPreparer

func (client ClusterHealthsClient) GetPreparer(eventsHealthStateFilter string, nodesHealthStateFilter string, applicationsHealthStateFilter string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ClusterHealthsClient) GetResponder

func (client ClusterHealthsClient) GetResponder(resp *http.Response) (result ClusterHealth, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ClusterHealthsClient) GetSender

func (client ClusterHealthsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ClusterHealthsClient) Send

func (client ClusterHealthsClient) Send(clusterHealthReport ClusterHealthReport) (result String, err error)

Send report cluster healths

clusterHealthReport is the report of the cluster health

func (ClusterHealthsClient) SendPreparer

func (client ClusterHealthsClient) SendPreparer(clusterHealthReport ClusterHealthReport) (*http.Request, error)

SendPreparer prepares the Send request.

func (ClusterHealthsClient) SendResponder

func (client ClusterHealthsClient) SendResponder(resp *http.Response) (result String, err error)

SendResponder handles the response to the Send request. The method always closes the http.Response Body.

func (ClusterHealthsClient) SendSender

func (client ClusterHealthsClient) SendSender(req *http.Request) (*http.Response, error)

SendSender sends the Send request. The method will close the http.Response Body if it receives an error.

type ClusterLoadInformation

type ClusterLoadInformation struct {
	autorest.Response         `json:"-"`
	LastBalancingStartTimeUtc *string                  `json:"LastBalancingStartTimeUtc,omitempty"`
	LastBalancingEndTimeUtc   *string                  `json:"LastBalancingEndTimeUtc,omitempty"`
	LoadMetricInformation     *[]LoadMetricInformation `json:"LoadMetricInformation,omitempty"`
}

ClusterLoadInformation is the information of the cluster load

type ClusterLoadInformationsClient

type ClusterLoadInformationsClient struct {
	ManagementClient
}

ClusterLoadInformationsClient is the client for the ClusterLoadInformations methods of the Servicefabric service.

func NewClusterLoadInformationsClient

func NewClusterLoadInformationsClient(timeout *int32) ClusterLoadInformationsClient

NewClusterLoadInformationsClient creates an instance of the ClusterLoadInformationsClient client.

func NewClusterLoadInformationsClientWithBaseURI

func NewClusterLoadInformationsClientWithBaseURI(baseURI string, timeout *int32) ClusterLoadInformationsClient

NewClusterLoadInformationsClientWithBaseURI creates an instance of the ClusterLoadInformationsClient client.

func (ClusterLoadInformationsClient) Get

func (client ClusterLoadInformationsClient) Get() (result ClusterLoadInformation, err error)

Get get cluster load informations

func (ClusterLoadInformationsClient) GetPreparer

func (client ClusterLoadInformationsClient) GetPreparer() (*http.Request, error)

GetPreparer prepares the Get request.

func (ClusterLoadInformationsClient) GetResponder

func (client ClusterLoadInformationsClient) GetResponder(resp *http.Response) (result ClusterLoadInformation, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ClusterLoadInformationsClient) GetSender

func (client ClusterLoadInformationsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type ClusterManifestsClient

type ClusterManifestsClient struct {
	ManagementClient
}

ClusterManifestsClient is the client for the ClusterManifests methods of the Servicefabric service.

func NewClusterManifestsClient

func NewClusterManifestsClient(timeout *int32) ClusterManifestsClient

NewClusterManifestsClient creates an instance of the ClusterManifestsClient client.

func NewClusterManifestsClientWithBaseURI

func NewClusterManifestsClientWithBaseURI(baseURI string, timeout *int32) ClusterManifestsClient

NewClusterManifestsClientWithBaseURI creates an instance of the ClusterManifestsClient client.

func (ClusterManifestsClient) Get

func (client ClusterManifestsClient) Get() (result String, err error)

Get get cluster manifests

func (ClusterManifestsClient) GetPreparer

func (client ClusterManifestsClient) GetPreparer() (*http.Request, error)

GetPreparer prepares the Get request.

func (ClusterManifestsClient) GetResponder

func (client ClusterManifestsClient) GetResponder(resp *http.Response) (result String, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ClusterManifestsClient) GetSender

func (client ClusterManifestsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type ClusterPackagesClient

type ClusterPackagesClient struct {
	ManagementClient
}

ClusterPackagesClient is the client for the ClusterPackages methods of the Servicefabric service.

func NewClusterPackagesClient

func NewClusterPackagesClient(timeout *int32) ClusterPackagesClient

NewClusterPackagesClient creates an instance of the ClusterPackagesClient client.

func NewClusterPackagesClientWithBaseURI

func NewClusterPackagesClientWithBaseURI(baseURI string, timeout *int32) ClusterPackagesClient

NewClusterPackagesClientWithBaseURI creates an instance of the ClusterPackagesClient client.

func (ClusterPackagesClient) Register

func (client ClusterPackagesClient) Register(registerClusterPackage RegisterClusterPackage) (result String, err error)

Register register cluster packages

registerClusterPackage is the package of the register cluster

func (ClusterPackagesClient) RegisterPreparer

func (client ClusterPackagesClient) RegisterPreparer(registerClusterPackage RegisterClusterPackage) (*http.Request, error)

RegisterPreparer prepares the Register request.

func (ClusterPackagesClient) RegisterResponder

func (client ClusterPackagesClient) RegisterResponder(resp *http.Response) (result String, err error)

RegisterResponder handles the response to the Register request. The method always closes the http.Response Body.

func (ClusterPackagesClient) RegisterSender

func (client ClusterPackagesClient) RegisterSender(req *http.Request) (*http.Response, error)

RegisterSender sends the Register request. The method will close the http.Response Body if it receives an error.

func (ClusterPackagesClient) Unregister

func (client ClusterPackagesClient) Unregister(unregisterClusterPackage UnregisterClusterPackage) (result String, err error)

Unregister unregister cluster packages

unregisterClusterPackage is the package of the unregister cluster

func (ClusterPackagesClient) UnregisterPreparer

func (client ClusterPackagesClient) UnregisterPreparer(unregisterClusterPackage UnregisterClusterPackage) (*http.Request, error)

UnregisterPreparer prepares the Unregister request.

func (ClusterPackagesClient) UnregisterResponder

func (client ClusterPackagesClient) UnregisterResponder(resp *http.Response) (result String, err error)

UnregisterResponder handles the response to the Unregister request. The method always closes the http.Response Body.

func (ClusterPackagesClient) UnregisterSender

func (client ClusterPackagesClient) UnregisterSender(req *http.Request) (*http.Response, error)

UnregisterSender sends the Unregister request. The method will close the http.Response Body if it receives an error.

type ClusterUpgradeHealthPolicy

type ClusterUpgradeHealthPolicy struct {
	MaxPercentDeltaUnhealthyNodes              *int32 `json:"MaxPercentDeltaUnhealthyNodes,omitempty"`
	MaxPercentUpgradeDomainDeltaUnhealthyNodes *int32 `json:"MaxPercentUpgradeDomainDeltaUnhealthyNodes,omitempty"`
}

ClusterUpgradeHealthPolicy is the upgrade health policy of the cluster

type ClusterUpgradeProgress

type ClusterUpgradeProgress struct {
	autorest.Response                   `json:"-"`
	CodeVersion                         *string                                               `json:"CodeVersion,omitempty"`
	ConfigVersion                       *string                                               `json:"ConfigVersion,omitempty"`
	UpgradeDomains                      *[]string                                             `json:"UpgradeDomains,omitempty"`
	UpgradeState                        UpgradeState                                          `json:"UpgradeState,omitempty"`
	NextUpgradeDomain                   *string                                               `json:"NextUpgradeDomain,omitempty"`
	RollingUpgradeMode                  RollingUpgradeMode                                    `json:"RollingUpgradeMode,omitempty"`
	UpgradeDurationInMilliseconds       *string                                               `json:"UpgradeDurationInMilliseconds,omitempty"`
	UpgradeDomainDurationInMilliseconds *string                                               `json:"UpgradeDomainDurationInMilliseconds,omitempty"`
	UnhealthyEvaluations                *[]UnhealthyEvaluation                                `json:"UnhealthyEvaluations,omitempty"`
	CurrentUpgradeDomainProgress        *ClusterUpgradeProgressCurrentUpgradeDomainProgress   `json:"CurrentUpgradeDomainProgress,omitempty"`
	StartTimestampUtc                   *string                                               `json:"StartTimestampUtc,omitempty"`
	FailureTimestampUtc                 *string                                               `json:"FailureTimestampUtc,omitempty"`
	FailureReason                       FailureReason                                         `json:"FailureReason,omitempty"`
	UpgradeDomainProgressAtFailure      *ClusterUpgradeProgressUpgradeDomainProgressAtFailure `json:"UpgradeDomainProgressAtFailure,omitempty"`
}

ClusterUpgradeProgress is the progress of the cluster upgrade

type ClusterUpgradeProgressCurrentUpgradeDomainProgress

type ClusterUpgradeProgressCurrentUpgradeDomainProgress struct {
	DomainName              *string `json:"DomainName,omitempty"`
	NodeUpgradeProgressList *string `json:"NodeUpgradeProgressList,omitempty"`
}

ClusterUpgradeProgressCurrentUpgradeDomainProgress is the progress of the current upgrade domain

type ClusterUpgradeProgressUpgradeDomainProgressAtFailure

type ClusterUpgradeProgressUpgradeDomainProgressAtFailure struct {
	DomainName              *string `json:"DomainName,omitempty"`
	NodeUpgradeProgressList *string `json:"NodeUpgradeProgressList,omitempty"`
}

ClusterUpgradeProgressUpgradeDomainProgressAtFailure is the failure of the upgrade domain progress at

type ClusterUpgradesClient

type ClusterUpgradesClient struct {
	ManagementClient
}

ClusterUpgradesClient is the client for the ClusterUpgrades methods of the Servicefabric service.

func NewClusterUpgradesClient

func NewClusterUpgradesClient(timeout *int32) ClusterUpgradesClient

NewClusterUpgradesClient creates an instance of the ClusterUpgradesClient client.

func NewClusterUpgradesClientWithBaseURI

func NewClusterUpgradesClientWithBaseURI(baseURI string, timeout *int32) ClusterUpgradesClient

NewClusterUpgradesClientWithBaseURI creates an instance of the ClusterUpgradesClient client.

func (ClusterUpgradesClient) Resume

func (client ClusterUpgradesClient) Resume(resumeClusterUpgrade ResumeClusterUpgrade) (result String, err error)

Resume resume cluster upgrades

resumeClusterUpgrade is the upgrade of the cluster

func (ClusterUpgradesClient) ResumePreparer

func (client ClusterUpgradesClient) ResumePreparer(resumeClusterUpgrade ResumeClusterUpgrade) (*http.Request, error)

ResumePreparer prepares the Resume request.

func (ClusterUpgradesClient) ResumeResponder

func (client ClusterUpgradesClient) ResumeResponder(resp *http.Response) (result String, err error)

ResumeResponder handles the response to the Resume request. The method always closes the http.Response Body.

func (ClusterUpgradesClient) ResumeSender

func (client ClusterUpgradesClient) ResumeSender(req *http.Request) (*http.Response, error)

ResumeSender sends the Resume request. The method will close the http.Response Body if it receives an error.

func (ClusterUpgradesClient) Rollback

func (client ClusterUpgradesClient) Rollback() (result String, err error)

Rollback rollback cluster upgrades

func (ClusterUpgradesClient) RollbackPreparer

func (client ClusterUpgradesClient) RollbackPreparer() (*http.Request, error)

RollbackPreparer prepares the Rollback request.

func (ClusterUpgradesClient) RollbackResponder

func (client ClusterUpgradesClient) RollbackResponder(resp *http.Response) (result String, err error)

RollbackResponder handles the response to the Rollback request. The method always closes the http.Response Body.

func (ClusterUpgradesClient) RollbackSender

func (client ClusterUpgradesClient) RollbackSender(req *http.Request) (*http.Response, error)

RollbackSender sends the Rollback request. The method will close the http.Response Body if it receives an error.

func (ClusterUpgradesClient) Start

func (client ClusterUpgradesClient) Start(startClusterUpgrade StartClusterUpgrade) (result String, err error)

Start start cluster upgrades

startClusterUpgrade is the description of the start cluster upgrade

func (ClusterUpgradesClient) StartPreparer

func (client ClusterUpgradesClient) StartPreparer(startClusterUpgrade StartClusterUpgrade) (*http.Request, error)

StartPreparer prepares the Start request.

func (ClusterUpgradesClient) StartResponder

func (client ClusterUpgradesClient) StartResponder(resp *http.Response) (result String, err error)

StartResponder handles the response to the Start request. The method always closes the http.Response Body.

func (ClusterUpgradesClient) StartSender

func (client ClusterUpgradesClient) StartSender(req *http.Request) (*http.Response, error)

StartSender sends the Start request. The method will close the http.Response Body if it receives an error.

func (ClusterUpgradesClient) Update

func (client ClusterUpgradesClient) Update(updateClusterUpgrade UpdateClusterUpgrade) (result String, err error)

Update update cluster upgrades

updateClusterUpgrade is the description of the update cluster upgrade

func (ClusterUpgradesClient) UpdatePreparer

func (client ClusterUpgradesClient) UpdatePreparer(updateClusterUpgrade UpdateClusterUpgrade) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ClusterUpgradesClient) UpdateResponder

func (client ClusterUpgradesClient) UpdateResponder(resp *http.Response) (result String, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (ClusterUpgradesClient) UpdateSender

func (client ClusterUpgradesClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type CodePackageEntryPointStatistics

type CodePackageEntryPointStatistics struct {
	LastExitCode                     *int32  `json:"LastExitCode,omitempty"`
	LastActivationTime               *string `json:"LastActivationTime,omitempty"`
	LastExitTime                     *string `json:"LastExitTime,omitempty"`
	LastSuccessfulActivationTime     *string `json:"LastSuccessfulActivationTime,omitempty"`
	LastSuccessfulExitTime           *string `json:"LastSuccessfulExitTime,omitempty"`
	ActivationFailureCount           *int32  `json:"ActivationFailureCount,omitempty"`
	ContinuousActivationFailureCount *int32  `json:"ContinuousActivationFailureCount,omitempty"`
	ExitFailureCount                 *int32  `json:"ExitFailureCount,omitempty"`
	ContinuousExitFailureCount       *int32  `json:"ContinuousExitFailureCount,omitempty"`
	ActivationCount                  *int32  `json:"ActivationCount,omitempty"`
	ExitCount                        *int32  `json:"ExitCount,omitempty"`
}

CodePackageEntryPointStatistics is the statistics of the code package entry point

type CreateServiceDescription

type CreateServiceDescription interface {
	AsStatelessCreateServiceDescription() (*StatelessCreateServiceDescription, bool)
	AsStatefulCreateServiceDescription() (*StatefulCreateServiceDescription, bool)
}

CreateServiceDescription is the description of the create service

type CreateServiceGroupDescription

type CreateServiceGroupDescription interface {
	AsStatelessCreateServiceGroupDescription() (*StatelessCreateServiceGroupDescription, bool)
	AsStatefulCreateServiceGroupDescription() (*StatefulCreateServiceGroupDescription, bool)
}

CreateServiceGroupDescription is the description of the create service group

type DeactivationIntent

type DeactivationIntent string

DeactivationIntent enumerates the values for deactivation intent.

const (
	// Pause specifies the pause state for deactivation intent.
	Pause DeactivationIntent = "Pause"
	// RemoveData specifies the remove data state for deactivation intent.
	RemoveData DeactivationIntent = "RemoveData"
	// RemoveNode specifies the remove node state for deactivation intent.
	RemoveNode DeactivationIntent = "RemoveNode"
	// Restart specifies the restart state for deactivation intent.
	Restart DeactivationIntent = "Restart"
)

type DefaultMoveCost

type DefaultMoveCost string

DefaultMoveCost enumerates the values for default move cost.

const (
	// High specifies the high state for default move cost.
	High DefaultMoveCost = "High"
	// Low specifies the low state for default move cost.
	Low DefaultMoveCost = "Low"
	// Medium specifies the medium state for default move cost.
	Medium DefaultMoveCost = "Medium"
	// Zero specifies the zero state for default move cost.
	Zero DefaultMoveCost = "Zero"
)

type DefaultMoveCost1

type DefaultMoveCost1 string

DefaultMoveCost1 enumerates the values for default move cost 1.

const (
	// DefaultMoveCost1High specifies the default move cost 1 high state for default move cost 1.
	DefaultMoveCost1High DefaultMoveCost1 = "High"
	// DefaultMoveCost1Low specifies the default move cost 1 low state for default move cost 1.
	DefaultMoveCost1Low DefaultMoveCost1 = "Low"
	// DefaultMoveCost1Medium specifies the default move cost 1 medium state for default move cost 1.
	DefaultMoveCost1Medium DefaultMoveCost1 = "Medium"
	// DefaultMoveCost1Zero specifies the default move cost 1 zero state for default move cost 1.
	DefaultMoveCost1Zero DefaultMoveCost1 = "Zero"
)

type DefaultMoveCost2

type DefaultMoveCost2 string

DefaultMoveCost2 enumerates the values for default move cost 2.

const (
	// DefaultMoveCost2High specifies the default move cost 2 high state for default move cost 2.
	DefaultMoveCost2High DefaultMoveCost2 = "High"
	// DefaultMoveCost2Low specifies the default move cost 2 low state for default move cost 2.
	DefaultMoveCost2Low DefaultMoveCost2 = "Low"
	// DefaultMoveCost2Medium specifies the default move cost 2 medium state for default move cost 2.
	DefaultMoveCost2Medium DefaultMoveCost2 = "Medium"
	// DefaultMoveCost2Zero specifies the default move cost 2 zero state for default move cost 2.
	DefaultMoveCost2Zero DefaultMoveCost2 = "Zero"
)

type DefaultMoveCost3

type DefaultMoveCost3 string

DefaultMoveCost3 enumerates the values for default move cost 3.

const (
	// DefaultMoveCost3High specifies the default move cost 3 high state for default move cost 3.
	DefaultMoveCost3High DefaultMoveCost3 = "High"
	// DefaultMoveCost3Low specifies the default move cost 3 low state for default move cost 3.
	DefaultMoveCost3Low DefaultMoveCost3 = "Low"
	// DefaultMoveCost3Medium specifies the default move cost 3 medium state for default move cost 3.
	DefaultMoveCost3Medium DefaultMoveCost3 = "Medium"
	// DefaultMoveCost3Zero specifies the default move cost 3 zero state for default move cost 3.
	DefaultMoveCost3Zero DefaultMoveCost3 = "Zero"
)

type DeltaNodesCheckHealthEvaluation

type DeltaNodesCheckHealthEvaluation struct {
	Description                   *string                `json:"Description,omitempty"`
	AggregatedHealthState         AggregatedHealthState  `json:"AggregatedHealthState,omitempty"`
	Kind                          Kind                   `json:"Kind,omitempty"`
	UnhealthyEvaluations          *[]UnhealthyEvaluation `json:"UnhealthyEvaluations,omitempty"`
	BaselineErrorCount            *int32                 `json:"BaselineErrorCount,omitempty"`
	BaselineTotalCount            *int32                 `json:"BaselineTotalCount,omitempty"`
	TotalCount                    *int32                 `json:"TotalCount,omitempty"`
	MaxPercentDeltaUnhealthyNodes *int32                 `json:"MaxPercentDeltaUnhealthyNodes,omitempty"`
}

DeltaNodesCheckHealthEvaluation is the evaluation of the delta nodes check health

func (DeltaNodesCheckHealthEvaluation) AsApplicationHealthEvaluation

func (dnche DeltaNodesCheckHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)

AsApplicationHealthEvaluation is the HealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.

func (DeltaNodesCheckHealthEvaluation) AsApplicationTypeHealthEvaluation

func (dnche DeltaNodesCheckHealthEvaluation) AsApplicationTypeHealthEvaluation() (*ApplicationTypeHealthEvaluation, bool)

AsApplicationTypeHealthEvaluation is the HealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.

func (DeltaNodesCheckHealthEvaluation) AsApplicationsHealthEvaluation

func (dnche DeltaNodesCheckHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)

AsApplicationsHealthEvaluation is the HealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.

func (DeltaNodesCheckHealthEvaluation) AsDeltaNodesCheckHealthEvaluation

func (dnche DeltaNodesCheckHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)

AsDeltaNodesCheckHealthEvaluation is the HealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.

func (DeltaNodesCheckHealthEvaluation) AsDeployedApplicationHealthEvaluation

func (dnche DeltaNodesCheckHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)

AsDeployedApplicationHealthEvaluation is the HealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.

func (DeltaNodesCheckHealthEvaluation) AsDeployedApplicationsHealthEvaluation

func (dnche DeltaNodesCheckHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)

AsDeployedApplicationsHealthEvaluation is the HealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.

func (DeltaNodesCheckHealthEvaluation) AsDeployedServicePackageHealthEvaluation

func (dnche DeltaNodesCheckHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)

AsDeployedServicePackageHealthEvaluation is the HealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.

func (DeltaNodesCheckHealthEvaluation) AsDeployedServicePackagesHealthEvaluation

func (dnche DeltaNodesCheckHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)

AsDeployedServicePackagesHealthEvaluation is the HealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.

func (DeltaNodesCheckHealthEvaluation) AsEventHealthEvaluation

func (dnche DeltaNodesCheckHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)

AsEventHealthEvaluation is the HealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.

func (DeltaNodesCheckHealthEvaluation) AsNodeHealthEvaluation

func (dnche DeltaNodesCheckHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)

AsNodeHealthEvaluation is the HealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.

func (DeltaNodesCheckHealthEvaluation) AsNodesHealthEvaluation

func (dnche DeltaNodesCheckHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)

AsNodesHealthEvaluation is the HealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.

func (DeltaNodesCheckHealthEvaluation) AsPartitionHealthEvaluation

func (dnche DeltaNodesCheckHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)

AsPartitionHealthEvaluation is the HealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.

func (DeltaNodesCheckHealthEvaluation) AsPartitionsHealthEvaluation

func (dnche DeltaNodesCheckHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)

AsPartitionsHealthEvaluation is the HealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.

func (DeltaNodesCheckHealthEvaluation) AsReplicaHealthEvaluation

func (dnche DeltaNodesCheckHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)

AsReplicaHealthEvaluation is the HealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.

func (DeltaNodesCheckHealthEvaluation) AsReplicasHealthEvaluation

func (dnche DeltaNodesCheckHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)

AsReplicasHealthEvaluation is the HealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.

func (DeltaNodesCheckHealthEvaluation) AsServiceHealthEvaluation

func (dnche DeltaNodesCheckHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)

AsServiceHealthEvaluation is the HealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.

func (DeltaNodesCheckHealthEvaluation) AsServicesHealthEvaluation

func (dnche DeltaNodesCheckHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)

AsServicesHealthEvaluation is the HealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.

func (DeltaNodesCheckHealthEvaluation) AsSystemApplicationHealthEvaluation

func (dnche DeltaNodesCheckHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)

AsSystemApplicationHealthEvaluation is the HealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.

func (DeltaNodesCheckHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation

func (dnche DeltaNodesCheckHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)

AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the HealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.

func (DeltaNodesCheckHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation

func (dnche DeltaNodesCheckHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation() (*UpgradeDomainDeployedApplicationsHealthEvaluation, bool)

AsUpgradeDomainDeployedApplicationsHealthEvaluation is the HealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.

func (DeltaNodesCheckHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation

func (dnche DeltaNodesCheckHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)

AsUpgradeDomainNodesHealthEvaluation is the HealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.

func (DeltaNodesCheckHealthEvaluation) MarshalJSON

func (dnche DeltaNodesCheckHealthEvaluation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DeltaNodesCheckHealthEvaluation.

type DeployedApplication

type DeployedApplication struct {
	autorest.Response `json:"-"`
	ID                *string `json:"Id,omitempty"`
	Name              *string `json:"Name,omitempty"`
	TypeName          *string `json:"TypeName,omitempty"`
	Status            *string `json:"Status,omitempty"`
	WorkDirectory     *string `json:"WorkDirectory,omitempty"`
	LogDirectory      *string `json:"LogDirectory,omitempty"`
	TempDirectory     *string `json:"TempDirectory,omitempty"`
}

DeployedApplication is the application of the deployed

type DeployedApplicationHealth

type DeployedApplicationHealth struct {
	autorest.Response                  `json:"-"`
	HealthEvents                       *[]HealthEvent                     `json:"HealthEvents,omitempty"`
	AggregatedHealthState              AggregatedHealthState              `json:"AggregatedHealthState,omitempty"`
	UnhealthyEvaluations               *string                            `json:"UnhealthyEvaluations,omitempty"`
	Name                               *string                            `json:"Name,omitempty"`
	NodeName                           *string                            `json:"NodeName,omitempty"`
	DeployedServicePackageHealthStates *DeployedServicePackageHealthState `json:"DeployedServicePackageHealthStates,omitempty"`
}

DeployedApplicationHealth is the health of the deployed application

type DeployedApplicationHealthEvaluation

type DeployedApplicationHealthEvaluation struct {
	Description           *string                `json:"Description,omitempty"`
	AggregatedHealthState AggregatedHealthState  `json:"AggregatedHealthState,omitempty"`
	Kind                  Kind                   `json:"Kind,omitempty"`
	ApplicationName       *string                `json:"ApplicationName,omitempty"`
	NodeName              *string                `json:"NodeName,omitempty"`
	UnhealthyEvaluations  *[]UnhealthyEvaluation `json:"UnhealthyEvaluations,omitempty"`
}

DeployedApplicationHealthEvaluation is the evaluation of the deployed application health

func (DeployedApplicationHealthEvaluation) AsApplicationHealthEvaluation

func (dahe DeployedApplicationHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)

AsApplicationHealthEvaluation is the HealthEvaluation implementation for DeployedApplicationHealthEvaluation.

func (DeployedApplicationHealthEvaluation) AsApplicationTypeHealthEvaluation

func (dahe DeployedApplicationHealthEvaluation) AsApplicationTypeHealthEvaluation() (*ApplicationTypeHealthEvaluation, bool)

AsApplicationTypeHealthEvaluation is the HealthEvaluation implementation for DeployedApplicationHealthEvaluation.

func (DeployedApplicationHealthEvaluation) AsApplicationsHealthEvaluation

func (dahe DeployedApplicationHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)

AsApplicationsHealthEvaluation is the HealthEvaluation implementation for DeployedApplicationHealthEvaluation.

func (DeployedApplicationHealthEvaluation) AsDeltaNodesCheckHealthEvaluation

func (dahe DeployedApplicationHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)

AsDeltaNodesCheckHealthEvaluation is the HealthEvaluation implementation for DeployedApplicationHealthEvaluation.

func (DeployedApplicationHealthEvaluation) AsDeployedApplicationHealthEvaluation

func (dahe DeployedApplicationHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)

AsDeployedApplicationHealthEvaluation is the HealthEvaluation implementation for DeployedApplicationHealthEvaluation.

func (DeployedApplicationHealthEvaluation) AsDeployedApplicationsHealthEvaluation

func (dahe DeployedApplicationHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)

AsDeployedApplicationsHealthEvaluation is the HealthEvaluation implementation for DeployedApplicationHealthEvaluation.

func (DeployedApplicationHealthEvaluation) AsDeployedServicePackageHealthEvaluation

func (dahe DeployedApplicationHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)

AsDeployedServicePackageHealthEvaluation is the HealthEvaluation implementation for DeployedApplicationHealthEvaluation.

func (DeployedApplicationHealthEvaluation) AsDeployedServicePackagesHealthEvaluation

func (dahe DeployedApplicationHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)

AsDeployedServicePackagesHealthEvaluation is the HealthEvaluation implementation for DeployedApplicationHealthEvaluation.

func (DeployedApplicationHealthEvaluation) AsEventHealthEvaluation

func (dahe DeployedApplicationHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)

AsEventHealthEvaluation is the HealthEvaluation implementation for DeployedApplicationHealthEvaluation.

func (DeployedApplicationHealthEvaluation) AsNodeHealthEvaluation

func (dahe DeployedApplicationHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)

AsNodeHealthEvaluation is the HealthEvaluation implementation for DeployedApplicationHealthEvaluation.

func (DeployedApplicationHealthEvaluation) AsNodesHealthEvaluation

func (dahe DeployedApplicationHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)

AsNodesHealthEvaluation is the HealthEvaluation implementation for DeployedApplicationHealthEvaluation.

func (DeployedApplicationHealthEvaluation) AsPartitionHealthEvaluation

func (dahe DeployedApplicationHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)

AsPartitionHealthEvaluation is the HealthEvaluation implementation for DeployedApplicationHealthEvaluation.

func (DeployedApplicationHealthEvaluation) AsPartitionsHealthEvaluation

func (dahe DeployedApplicationHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)

AsPartitionsHealthEvaluation is the HealthEvaluation implementation for DeployedApplicationHealthEvaluation.

func (DeployedApplicationHealthEvaluation) AsReplicaHealthEvaluation

func (dahe DeployedApplicationHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)

AsReplicaHealthEvaluation is the HealthEvaluation implementation for DeployedApplicationHealthEvaluation.

func (DeployedApplicationHealthEvaluation) AsReplicasHealthEvaluation

func (dahe DeployedApplicationHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)

AsReplicasHealthEvaluation is the HealthEvaluation implementation for DeployedApplicationHealthEvaluation.

func (DeployedApplicationHealthEvaluation) AsServiceHealthEvaluation

func (dahe DeployedApplicationHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)

AsServiceHealthEvaluation is the HealthEvaluation implementation for DeployedApplicationHealthEvaluation.

func (DeployedApplicationHealthEvaluation) AsServicesHealthEvaluation

func (dahe DeployedApplicationHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)

AsServicesHealthEvaluation is the HealthEvaluation implementation for DeployedApplicationHealthEvaluation.

func (DeployedApplicationHealthEvaluation) AsSystemApplicationHealthEvaluation

func (dahe DeployedApplicationHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)

AsSystemApplicationHealthEvaluation is the HealthEvaluation implementation for DeployedApplicationHealthEvaluation.

func (DeployedApplicationHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation

func (dahe DeployedApplicationHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)

AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the HealthEvaluation implementation for DeployedApplicationHealthEvaluation.

func (DeployedApplicationHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation

func (dahe DeployedApplicationHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation() (*UpgradeDomainDeployedApplicationsHealthEvaluation, bool)

AsUpgradeDomainDeployedApplicationsHealthEvaluation is the HealthEvaluation implementation for DeployedApplicationHealthEvaluation.

func (DeployedApplicationHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation

func (dahe DeployedApplicationHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)

AsUpgradeDomainNodesHealthEvaluation is the HealthEvaluation implementation for DeployedApplicationHealthEvaluation.

func (DeployedApplicationHealthEvaluation) MarshalJSON

func (dahe DeployedApplicationHealthEvaluation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DeployedApplicationHealthEvaluation.

type DeployedApplicationHealthReport

type DeployedApplicationHealthReport struct {
	SourceID                 *string     `json:"SourceId,omitempty"`
	Property                 *string     `json:"Property,omitempty"`
	HealthState              HealthState `json:"HealthState,omitempty"`
	Description              *string     `json:"Description,omitempty"`
	TimeToLiveInMilliSeconds *string     `json:"TimeToLiveInMilliSeconds,omitempty"`
	SequenceNumber           *string     `json:"SequenceNumber,omitempty"`
	RemoveWhenExpired        *bool       `json:"RemoveWhenExpired,omitempty"`
}

DeployedApplicationHealthReport is the report of the deployed application health

type DeployedApplicationHealthsClient

type DeployedApplicationHealthsClient struct {
	ManagementClient
}

DeployedApplicationHealthsClient is the client for the DeployedApplicationHealths methods of the Servicefabric service.

func NewDeployedApplicationHealthsClient

func NewDeployedApplicationHealthsClient(timeout *int32) DeployedApplicationHealthsClient

NewDeployedApplicationHealthsClient creates an instance of the DeployedApplicationHealthsClient client.

func NewDeployedApplicationHealthsClientWithBaseURI

func NewDeployedApplicationHealthsClientWithBaseURI(baseURI string, timeout *int32) DeployedApplicationHealthsClient

NewDeployedApplicationHealthsClientWithBaseURI creates an instance of the DeployedApplicationHealthsClient client.

func (DeployedApplicationHealthsClient) Get

func (client DeployedApplicationHealthsClient) Get(nodeName string, applicationName string, eventsHealthStateFilter string, deployedServicePackagesHealthStateFilter string) (result DeployedApplicationHealth, err error)

Get get deployed application healths

nodeName is the name of the node applicationName is the name of the application eventsHealthStateFilter is the filter of the events health state deployedServicePackagesHealthStateFilter is the filter of the deployed service packages health state

func (DeployedApplicationHealthsClient) GetPreparer

func (client DeployedApplicationHealthsClient) GetPreparer(nodeName string, applicationName string, eventsHealthStateFilter string, deployedServicePackagesHealthStateFilter string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DeployedApplicationHealthsClient) GetResponder

func (client DeployedApplicationHealthsClient) GetResponder(resp *http.Response) (result DeployedApplicationHealth, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (DeployedApplicationHealthsClient) GetSender

func (client DeployedApplicationHealthsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (DeployedApplicationHealthsClient) Send

func (client DeployedApplicationHealthsClient) Send(nodeName string, applicationName string, deployedApplicationHealthReport DeployedApplicationHealthReport) (result String, err error)

Send send deployed application health

nodeName is the name of the node applicationName is the name of the application deployedApplicationHealthReport is the report of the deployed application health

func (DeployedApplicationHealthsClient) SendPreparer

func (client DeployedApplicationHealthsClient) SendPreparer(nodeName string, applicationName string, deployedApplicationHealthReport DeployedApplicationHealthReport) (*http.Request, error)

SendPreparer prepares the Send request.

func (DeployedApplicationHealthsClient) SendResponder

func (client DeployedApplicationHealthsClient) SendResponder(resp *http.Response) (result String, err error)

SendResponder handles the response to the Send request. The method always closes the http.Response Body.

func (DeployedApplicationHealthsClient) SendSender

func (client DeployedApplicationHealthsClient) SendSender(req *http.Request) (*http.Response, error)

SendSender sends the Send request. The method will close the http.Response Body if it receives an error.

type DeployedApplicationsClient

type DeployedApplicationsClient struct {
	ManagementClient
}

DeployedApplicationsClient is the client for the DeployedApplications methods of the Servicefabric service.

func NewDeployedApplicationsClient

func NewDeployedApplicationsClient(timeout *int32) DeployedApplicationsClient

NewDeployedApplicationsClient creates an instance of the DeployedApplicationsClient client.

func NewDeployedApplicationsClientWithBaseURI

func NewDeployedApplicationsClientWithBaseURI(baseURI string, timeout *int32) DeployedApplicationsClient

NewDeployedApplicationsClientWithBaseURI creates an instance of the DeployedApplicationsClient client.

func (DeployedApplicationsClient) Get

func (client DeployedApplicationsClient) Get(nodeName string, applicationName string) (result DeployedApplication, err error)

Get get deployed applications

nodeName is the name of the node applicationName is the name of the application

func (DeployedApplicationsClient) GetPreparer

func (client DeployedApplicationsClient) GetPreparer(nodeName string, applicationName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DeployedApplicationsClient) GetResponder

func (client DeployedApplicationsClient) GetResponder(resp *http.Response) (result DeployedApplication, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (DeployedApplicationsClient) GetSender

func (client DeployedApplicationsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (DeployedApplicationsClient) List

func (client DeployedApplicationsClient) List(nodeName string) (result ListDeployedApplication, err error)

List list deployed applications

nodeName is the name of the node

func (DeployedApplicationsClient) ListPreparer

func (client DeployedApplicationsClient) ListPreparer(nodeName string) (*http.Request, error)

ListPreparer prepares the List request.

func (DeployedApplicationsClient) ListResponder

func (client DeployedApplicationsClient) ListResponder(resp *http.Response) (result ListDeployedApplication, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (DeployedApplicationsClient) ListSender

func (client DeployedApplicationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type DeployedApplicationsHealthEvaluation

type DeployedApplicationsHealthEvaluation struct {
	Description                             *string                `json:"Description,omitempty"`
	AggregatedHealthState                   AggregatedHealthState  `json:"AggregatedHealthState,omitempty"`
	Kind                                    Kind                   `json:"Kind,omitempty"`
	UnhealthyEvaluations                    *[]UnhealthyEvaluation `json:"UnhealthyEvaluations,omitempty"`
	TotalCount                              *int32                 `json:"TotalCount,omitempty"`
	MaxPercentUnhealthyDeployedApplications *int32                 `json:"MaxPercentUnhealthyDeployedApplications,omitempty"`
}

DeployedApplicationsHealthEvaluation is the evaluation of the deployed applications health

func (DeployedApplicationsHealthEvaluation) AsApplicationHealthEvaluation

func (dahe DeployedApplicationsHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)

AsApplicationHealthEvaluation is the HealthEvaluation implementation for DeployedApplicationsHealthEvaluation.

func (DeployedApplicationsHealthEvaluation) AsApplicationTypeHealthEvaluation

func (dahe DeployedApplicationsHealthEvaluation) AsApplicationTypeHealthEvaluation() (*ApplicationTypeHealthEvaluation, bool)

AsApplicationTypeHealthEvaluation is the HealthEvaluation implementation for DeployedApplicationsHealthEvaluation.

func (DeployedApplicationsHealthEvaluation) AsApplicationsHealthEvaluation

func (dahe DeployedApplicationsHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)

AsApplicationsHealthEvaluation is the HealthEvaluation implementation for DeployedApplicationsHealthEvaluation.

func (DeployedApplicationsHealthEvaluation) AsDeltaNodesCheckHealthEvaluation

func (dahe DeployedApplicationsHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)

AsDeltaNodesCheckHealthEvaluation is the HealthEvaluation implementation for DeployedApplicationsHealthEvaluation.

func (DeployedApplicationsHealthEvaluation) AsDeployedApplicationHealthEvaluation

func (dahe DeployedApplicationsHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)

AsDeployedApplicationHealthEvaluation is the HealthEvaluation implementation for DeployedApplicationsHealthEvaluation.

func (DeployedApplicationsHealthEvaluation) AsDeployedApplicationsHealthEvaluation

func (dahe DeployedApplicationsHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)

AsDeployedApplicationsHealthEvaluation is the HealthEvaluation implementation for DeployedApplicationsHealthEvaluation.

func (DeployedApplicationsHealthEvaluation) AsDeployedServicePackageHealthEvaluation

func (dahe DeployedApplicationsHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)

AsDeployedServicePackageHealthEvaluation is the HealthEvaluation implementation for DeployedApplicationsHealthEvaluation.

func (DeployedApplicationsHealthEvaluation) AsDeployedServicePackagesHealthEvaluation

func (dahe DeployedApplicationsHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)

AsDeployedServicePackagesHealthEvaluation is the HealthEvaluation implementation for DeployedApplicationsHealthEvaluation.

func (DeployedApplicationsHealthEvaluation) AsEventHealthEvaluation

func (dahe DeployedApplicationsHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)

AsEventHealthEvaluation is the HealthEvaluation implementation for DeployedApplicationsHealthEvaluation.

func (DeployedApplicationsHealthEvaluation) AsNodeHealthEvaluation

func (dahe DeployedApplicationsHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)

AsNodeHealthEvaluation is the HealthEvaluation implementation for DeployedApplicationsHealthEvaluation.

func (DeployedApplicationsHealthEvaluation) AsNodesHealthEvaluation

func (dahe DeployedApplicationsHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)

AsNodesHealthEvaluation is the HealthEvaluation implementation for DeployedApplicationsHealthEvaluation.

func (DeployedApplicationsHealthEvaluation) AsPartitionHealthEvaluation

func (dahe DeployedApplicationsHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)

AsPartitionHealthEvaluation is the HealthEvaluation implementation for DeployedApplicationsHealthEvaluation.

func (DeployedApplicationsHealthEvaluation) AsPartitionsHealthEvaluation

func (dahe DeployedApplicationsHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)

AsPartitionsHealthEvaluation is the HealthEvaluation implementation for DeployedApplicationsHealthEvaluation.

func (DeployedApplicationsHealthEvaluation) AsReplicaHealthEvaluation

func (dahe DeployedApplicationsHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)

AsReplicaHealthEvaluation is the HealthEvaluation implementation for DeployedApplicationsHealthEvaluation.

func (DeployedApplicationsHealthEvaluation) AsReplicasHealthEvaluation

func (dahe DeployedApplicationsHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)

AsReplicasHealthEvaluation is the HealthEvaluation implementation for DeployedApplicationsHealthEvaluation.

func (DeployedApplicationsHealthEvaluation) AsServiceHealthEvaluation

func (dahe DeployedApplicationsHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)

AsServiceHealthEvaluation is the HealthEvaluation implementation for DeployedApplicationsHealthEvaluation.

func (DeployedApplicationsHealthEvaluation) AsServicesHealthEvaluation

func (dahe DeployedApplicationsHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)

AsServicesHealthEvaluation is the HealthEvaluation implementation for DeployedApplicationsHealthEvaluation.

func (DeployedApplicationsHealthEvaluation) AsSystemApplicationHealthEvaluation

func (dahe DeployedApplicationsHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)

AsSystemApplicationHealthEvaluation is the HealthEvaluation implementation for DeployedApplicationsHealthEvaluation.

func (DeployedApplicationsHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation

func (dahe DeployedApplicationsHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)

AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the HealthEvaluation implementation for DeployedApplicationsHealthEvaluation.

func (DeployedApplicationsHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation

func (dahe DeployedApplicationsHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation() (*UpgradeDomainDeployedApplicationsHealthEvaluation, bool)

AsUpgradeDomainDeployedApplicationsHealthEvaluation is the HealthEvaluation implementation for DeployedApplicationsHealthEvaluation.

func (DeployedApplicationsHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation

func (dahe DeployedApplicationsHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)

AsUpgradeDomainNodesHealthEvaluation is the HealthEvaluation implementation for DeployedApplicationsHealthEvaluation.

func (DeployedApplicationsHealthEvaluation) MarshalJSON

func (dahe DeployedApplicationsHealthEvaluation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DeployedApplicationsHealthEvaluation.

type DeployedCodePackage

type DeployedCodePackage struct {
	Name                 *string     `json:"Name,omitempty"`
	Version              *string     `json:"Version,omitempty"`
	ServiceManifestName  *string     `json:"ServiceManifestName,omitempty"`
	Status               *string     `json:"Status,omitempty"`
	RunFrequencyInterval *string     `json:"RunFrequencyInterval,omitempty"`
	SetupEntryPoint      *EntryPoint `json:"SetupEntryPoint,omitempty"`
	MainEntryPoint       *EntryPoint `json:"MainEntryPoint,omitempty"`
	HasSetupEntryPoint   *bool       `json:"HasSetupEntryPoint,omitempty"`
}

DeployedCodePackage is the package of the deployed code

type DeployedCodePackagesClient

type DeployedCodePackagesClient struct {
	ManagementClient
}

DeployedCodePackagesClient is the client for the DeployedCodePackages methods of the Servicefabric service.

func NewDeployedCodePackagesClient

func NewDeployedCodePackagesClient(timeout *int32) DeployedCodePackagesClient

NewDeployedCodePackagesClient creates an instance of the DeployedCodePackagesClient client.

func NewDeployedCodePackagesClientWithBaseURI

func NewDeployedCodePackagesClientWithBaseURI(baseURI string, timeout *int32) DeployedCodePackagesClient

NewDeployedCodePackagesClientWithBaseURI creates an instance of the DeployedCodePackagesClient client.

func (DeployedCodePackagesClient) Get

func (client DeployedCodePackagesClient) Get(nodeName string, applicationName string) (result ListDeployedCodePackage, err error)

Get get deployed code packages

nodeName is the name of the node applicationName is the name of the application

func (DeployedCodePackagesClient) GetPreparer

func (client DeployedCodePackagesClient) GetPreparer(nodeName string, applicationName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DeployedCodePackagesClient) GetResponder

func (client DeployedCodePackagesClient) GetResponder(resp *http.Response) (result ListDeployedCodePackage, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (DeployedCodePackagesClient) GetSender

func (client DeployedCodePackagesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type DeployedReplica

type DeployedReplica struct {
	ServiceKind            ServiceKind   `json:"ServiceKind,omitempty"`
	ServiceName            *string       `json:"ServiceName,omitempty"`
	ServiceTypeName        *string       `json:"ServiceTypeName,omitempty"`
	ServiceManifestVersion *string       `json:"ServiceManifestVersion,omitempty"`
	ServiceManifestName    *string       `json:"ServiceManifestName,omitempty"`
	CodePackageName        *string       `json:"CodePackageName,omitempty"`
	PartitionID            *string       `json:"PartitionId,omitempty"`
	InstanceID             *string       `json:"InstanceId,omitempty"`
	ReplicaID              *string       `json:"ReplicaId,omitempty"`
	ReplicaRole            ReplicaRole   `json:"ReplicaRole,omitempty"`
	ReplicaStatus          ReplicaStatus `json:"ReplicaStatus,omitempty"`
	Address                *string       `json:"Address,omitempty"`
}

DeployedReplica is the replica of the deployed

type DeployedReplicaDetail

type DeployedReplicaDetail struct {
	autorest.Response                   `json:"-"`
	ServiceKind                         ServiceKind                            `json:"ServiceKind,omitempty"`
	ServiceName                         *string                                `json:"ServiceName,omitempty"`
	PartitionID                         *string                                `json:"PartitionId,omitempty"`
	CurrentServiceOperation             *int32                                 `json:"CurrentServiceOperation,omitempty"`
	CurrentReplicatorOperation          *int32                                 `json:"CurrentReplicatorOperation,omitempty"`
	CurrentServiceOperationStartTimeUtc *string                                `json:"CurrentServiceOperationStartTimeUtc,omitempty"`
	InstanceID                          *string                                `json:"InstanceId,omitempty"`
	ReplicaID                           *string                                `json:"ReplicaId,omitempty"`
	ReadStatus                          *int32                                 `json:"ReadStatus,omitempty"`
	WriteStatus                         *int32                                 `json:"WriteStatus,omitempty"`
	ReplicatorStatus                    *DeployedReplicaDetailReplicatorStatus `json:"ReplicatorStatus,omitempty"`
}

DeployedReplicaDetail is the detail of the deployed replica

type DeployedReplicaDetailReplicatorStatus

type DeployedReplicaDetailReplicatorStatus struct {
	Kind                   *int32                                                       `json:"Kind,omitempty"`
	ReplicationQueueStatus *DeployedReplicaDetailReplicatorStatusReplicationQueueStatus `json:"ReplicationQueueStatus,omitempty"`
}

DeployedReplicaDetailReplicatorStatus is the status of the replicator

type DeployedReplicaDetailReplicatorStatusReplicationQueueStatus

type DeployedReplicaDetailReplicatorStatusReplicationQueueStatus struct {
	QueueUtilizationPercentage *string `json:"QueueUtilizationPercentage,omitempty"`
	QueueMemorySize            *string `json:"QueueMemorySize,omitempty"`
	FirstSequenceNumber        *string `json:"FirstSequenceNumber,omitempty"`
	CompletedSequenceNumber    *string `json:"CompletedSequenceNumber,omitempty"`
	CommittedSequenceNumber    *string `json:"CommittedSequenceNumber,omitempty"`
	LastSequenceNumber         *string `json:"LastSequenceNumber,omitempty"`
}

DeployedReplicaDetailReplicatorStatusReplicationQueueStatus is the status of the replication queue

type DeployedReplicaDetailsClient

type DeployedReplicaDetailsClient struct {
	ManagementClient
}

DeployedReplicaDetailsClient is the client for the DeployedReplicaDetails methods of the Servicefabric service.

func NewDeployedReplicaDetailsClient

func NewDeployedReplicaDetailsClient(timeout *int32) DeployedReplicaDetailsClient

NewDeployedReplicaDetailsClient creates an instance of the DeployedReplicaDetailsClient client.

func NewDeployedReplicaDetailsClientWithBaseURI

func NewDeployedReplicaDetailsClientWithBaseURI(baseURI string, timeout *int32) DeployedReplicaDetailsClient

NewDeployedReplicaDetailsClientWithBaseURI creates an instance of the DeployedReplicaDetailsClient client.

func (DeployedReplicaDetailsClient) Get

func (client DeployedReplicaDetailsClient) Get(nodeName string, partitionName string, replicaID string) (result DeployedReplicaDetail, err error)

Get get deployed replica details

nodeName is the name of the node partitionName is the name of the partition replicaID is the id of the replica

func (DeployedReplicaDetailsClient) GetPreparer

func (client DeployedReplicaDetailsClient) GetPreparer(nodeName string, partitionName string, replicaID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DeployedReplicaDetailsClient) GetResponder

func (client DeployedReplicaDetailsClient) GetResponder(resp *http.Response) (result DeployedReplicaDetail, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (DeployedReplicaDetailsClient) GetSender

func (client DeployedReplicaDetailsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type DeployedReplicasClient

type DeployedReplicasClient struct {
	ManagementClient
}

DeployedReplicasClient is the client for the DeployedReplicas methods of the Servicefabric service.

func NewDeployedReplicasClient

func NewDeployedReplicasClient(timeout *int32) DeployedReplicasClient

NewDeployedReplicasClient creates an instance of the DeployedReplicasClient client.

func NewDeployedReplicasClientWithBaseURI

func NewDeployedReplicasClientWithBaseURI(baseURI string, timeout *int32) DeployedReplicasClient

NewDeployedReplicasClientWithBaseURI creates an instance of the DeployedReplicasClient client.

func (DeployedReplicasClient) Get

func (client DeployedReplicasClient) Get(nodeName string, applicationName string) (result ListDeployedReplica, err error)

Get get deployed replicas

nodeName is the name of the node applicationName is the name of the application

func (DeployedReplicasClient) GetPreparer

func (client DeployedReplicasClient) GetPreparer(nodeName string, applicationName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DeployedReplicasClient) GetResponder

func (client DeployedReplicasClient) GetResponder(resp *http.Response) (result ListDeployedReplica, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (DeployedReplicasClient) GetSender

func (client DeployedReplicasClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type DeployedServiceHealthReport

type DeployedServiceHealthReport struct {
	SourceID                 *string     `json:"SourceId,omitempty"`
	Property                 *string     `json:"Property,omitempty"`
	HealthState              HealthState `json:"HealthState,omitempty"`
	Description              *string     `json:"Description,omitempty"`
	TimeToLiveInMilliSeconds *string     `json:"TimeToLiveInMilliSeconds,omitempty"`
	SequenceNumber           *string     `json:"SequenceNumber,omitempty"`
	RemoveWhenExpired        *bool       `json:"RemoveWhenExpired,omitempty"`
}

DeployedServiceHealthReport is the report of the deployed service package health

type DeployedServicePackage

type DeployedServicePackage struct {
	Name    *string `json:"Name,omitempty"`
	Version *string `json:"Version,omitempty"`
	Status  *string `json:"Status,omitempty"`
}

DeployedServicePackage is the package of the deployed service

type DeployedServicePackageHealth

type DeployedServicePackageHealth struct {
	autorest.Response     `json:"-"`
	ApplicationName       *string               `json:"ApplicationName,omitempty"`
	ServiceManifestName   *string               `json:"ServiceManifestName,omitempty"`
	NodeName              *string               `json:"NodeName,omitempty"`
	HealthEvents          *[]HealthEvent        `json:"HealthEvents,omitempty"`
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
}

DeployedServicePackageHealth is the health of the deployed service package

type DeployedServicePackageHealthEvaluation

type DeployedServicePackageHealthEvaluation struct {
	Description           *string                `json:"Description,omitempty"`
	AggregatedHealthState AggregatedHealthState  `json:"AggregatedHealthState,omitempty"`
	Kind                  Kind                   `json:"Kind,omitempty"`
	ApplicationName       *string                `json:"ApplicationName,omitempty"`
	NodeName              *string                `json:"NodeName,omitempty"`
	ServiceManifestName   *string                `json:"ServiceManifestName,omitempty"`
	UnhealthyEvaluations  *[]UnhealthyEvaluation `json:"UnhealthyEvaluations,omitempty"`
}

DeployedServicePackageHealthEvaluation is the evaluation of the deployed service package health

func (DeployedServicePackageHealthEvaluation) AsApplicationHealthEvaluation

func (dsphe DeployedServicePackageHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)

AsApplicationHealthEvaluation is the HealthEvaluation implementation for DeployedServicePackageHealthEvaluation.

func (DeployedServicePackageHealthEvaluation) AsApplicationTypeHealthEvaluation

func (dsphe DeployedServicePackageHealthEvaluation) AsApplicationTypeHealthEvaluation() (*ApplicationTypeHealthEvaluation, bool)

AsApplicationTypeHealthEvaluation is the HealthEvaluation implementation for DeployedServicePackageHealthEvaluation.

func (DeployedServicePackageHealthEvaluation) AsApplicationsHealthEvaluation

func (dsphe DeployedServicePackageHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)

AsApplicationsHealthEvaluation is the HealthEvaluation implementation for DeployedServicePackageHealthEvaluation.

func (DeployedServicePackageHealthEvaluation) AsDeltaNodesCheckHealthEvaluation

func (dsphe DeployedServicePackageHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)

AsDeltaNodesCheckHealthEvaluation is the HealthEvaluation implementation for DeployedServicePackageHealthEvaluation.

func (DeployedServicePackageHealthEvaluation) AsDeployedApplicationHealthEvaluation

func (dsphe DeployedServicePackageHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)

AsDeployedApplicationHealthEvaluation is the HealthEvaluation implementation for DeployedServicePackageHealthEvaluation.

func (DeployedServicePackageHealthEvaluation) AsDeployedApplicationsHealthEvaluation

func (dsphe DeployedServicePackageHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)

AsDeployedApplicationsHealthEvaluation is the HealthEvaluation implementation for DeployedServicePackageHealthEvaluation.

func (DeployedServicePackageHealthEvaluation) AsDeployedServicePackageHealthEvaluation

func (dsphe DeployedServicePackageHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)

AsDeployedServicePackageHealthEvaluation is the HealthEvaluation implementation for DeployedServicePackageHealthEvaluation.

func (DeployedServicePackageHealthEvaluation) AsDeployedServicePackagesHealthEvaluation

func (dsphe DeployedServicePackageHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)

AsDeployedServicePackagesHealthEvaluation is the HealthEvaluation implementation for DeployedServicePackageHealthEvaluation.

func (DeployedServicePackageHealthEvaluation) AsEventHealthEvaluation

func (dsphe DeployedServicePackageHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)

AsEventHealthEvaluation is the HealthEvaluation implementation for DeployedServicePackageHealthEvaluation.

func (DeployedServicePackageHealthEvaluation) AsNodeHealthEvaluation

func (dsphe DeployedServicePackageHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)

AsNodeHealthEvaluation is the HealthEvaluation implementation for DeployedServicePackageHealthEvaluation.

func (DeployedServicePackageHealthEvaluation) AsNodesHealthEvaluation

func (dsphe DeployedServicePackageHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)

AsNodesHealthEvaluation is the HealthEvaluation implementation for DeployedServicePackageHealthEvaluation.

func (DeployedServicePackageHealthEvaluation) AsPartitionHealthEvaluation

func (dsphe DeployedServicePackageHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)

AsPartitionHealthEvaluation is the HealthEvaluation implementation for DeployedServicePackageHealthEvaluation.

func (DeployedServicePackageHealthEvaluation) AsPartitionsHealthEvaluation

func (dsphe DeployedServicePackageHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)

AsPartitionsHealthEvaluation is the HealthEvaluation implementation for DeployedServicePackageHealthEvaluation.

func (DeployedServicePackageHealthEvaluation) AsReplicaHealthEvaluation

func (dsphe DeployedServicePackageHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)

AsReplicaHealthEvaluation is the HealthEvaluation implementation for DeployedServicePackageHealthEvaluation.

func (DeployedServicePackageHealthEvaluation) AsReplicasHealthEvaluation

func (dsphe DeployedServicePackageHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)

AsReplicasHealthEvaluation is the HealthEvaluation implementation for DeployedServicePackageHealthEvaluation.

func (DeployedServicePackageHealthEvaluation) AsServiceHealthEvaluation

func (dsphe DeployedServicePackageHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)

AsServiceHealthEvaluation is the HealthEvaluation implementation for DeployedServicePackageHealthEvaluation.

func (DeployedServicePackageHealthEvaluation) AsServicesHealthEvaluation

func (dsphe DeployedServicePackageHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)

AsServicesHealthEvaluation is the HealthEvaluation implementation for DeployedServicePackageHealthEvaluation.

func (DeployedServicePackageHealthEvaluation) AsSystemApplicationHealthEvaluation

func (dsphe DeployedServicePackageHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)

AsSystemApplicationHealthEvaluation is the HealthEvaluation implementation for DeployedServicePackageHealthEvaluation.

func (DeployedServicePackageHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation

func (dsphe DeployedServicePackageHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)

AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the HealthEvaluation implementation for DeployedServicePackageHealthEvaluation.

func (DeployedServicePackageHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation

func (dsphe DeployedServicePackageHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation() (*UpgradeDomainDeployedApplicationsHealthEvaluation, bool)

AsUpgradeDomainDeployedApplicationsHealthEvaluation is the HealthEvaluation implementation for DeployedServicePackageHealthEvaluation.

func (DeployedServicePackageHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation

func (dsphe DeployedServicePackageHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)

AsUpgradeDomainNodesHealthEvaluation is the HealthEvaluation implementation for DeployedServicePackageHealthEvaluation.

func (DeployedServicePackageHealthEvaluation) MarshalJSON

func (dsphe DeployedServicePackageHealthEvaluation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DeployedServicePackageHealthEvaluation.

type DeployedServicePackageHealthState

type DeployedServicePackageHealthState struct {
	ApplicationName       *string               `json:"ApplicationName,omitempty"`
	ServiceManifestName   *string               `json:"ServiceManifestName,omitempty"`
	NodeName              *string               `json:"NodeName,omitempty"`
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
}

DeployedServicePackageHealthState is the state of the deployed service package health

type DeployedServicePackageHealthsClient

type DeployedServicePackageHealthsClient struct {
	ManagementClient
}

DeployedServicePackageHealthsClient is the client for the DeployedServicePackageHealths methods of the Servicefabric service.

func NewDeployedServicePackageHealthsClient

func NewDeployedServicePackageHealthsClient(timeout *int32) DeployedServicePackageHealthsClient

NewDeployedServicePackageHealthsClient creates an instance of the DeployedServicePackageHealthsClient client.

func NewDeployedServicePackageHealthsClientWithBaseURI

func NewDeployedServicePackageHealthsClientWithBaseURI(baseURI string, timeout *int32) DeployedServicePackageHealthsClient

NewDeployedServicePackageHealthsClientWithBaseURI creates an instance of the DeployedServicePackageHealthsClient client.

func (DeployedServicePackageHealthsClient) Get

func (client DeployedServicePackageHealthsClient) Get(nodeName string, applicationName string, servicePackageName string, eventsHealthStateFilter string) (result DeployedServicePackageHealth, err error)

Get get deployed service package healths

nodeName is the name of the node applicationName is the name of the application servicePackageName is the name of the service package eventsHealthStateFilter is the filter of the events health state

func (DeployedServicePackageHealthsClient) GetPreparer

func (client DeployedServicePackageHealthsClient) GetPreparer(nodeName string, applicationName string, servicePackageName string, eventsHealthStateFilter string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DeployedServicePackageHealthsClient) GetResponder

func (client DeployedServicePackageHealthsClient) GetResponder(resp *http.Response) (result DeployedServicePackageHealth, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (DeployedServicePackageHealthsClient) GetSender

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (DeployedServicePackageHealthsClient) Send

func (client DeployedServicePackageHealthsClient) Send(nodeName string, applicationName string, serviceManifestName string, deployedServicePackageHealthReport DeployedServiceHealthReport) (result String, err error)

Send send deployed service package health

nodeName is the name of the node applicationName is the name of the application serviceManifestName is the name of the service manifest deployedServicePackageHealthReport is the report of the deployed service package health

func (DeployedServicePackageHealthsClient) SendPreparer

func (client DeployedServicePackageHealthsClient) SendPreparer(nodeName string, applicationName string, serviceManifestName string, deployedServicePackageHealthReport DeployedServiceHealthReport) (*http.Request, error)

SendPreparer prepares the Send request.

func (DeployedServicePackageHealthsClient) SendResponder

func (client DeployedServicePackageHealthsClient) SendResponder(resp *http.Response) (result String, err error)

SendResponder handles the response to the Send request. The method always closes the http.Response Body.

func (DeployedServicePackageHealthsClient) SendSender

func (client DeployedServicePackageHealthsClient) SendSender(req *http.Request) (*http.Response, error)

SendSender sends the Send request. The method will close the http.Response Body if it receives an error.

type DeployedServicePackagesClient

type DeployedServicePackagesClient struct {
	ManagementClient
}

DeployedServicePackagesClient is the client for the DeployedServicePackages methods of the Servicefabric service.

func NewDeployedServicePackagesClient

func NewDeployedServicePackagesClient(timeout *int32) DeployedServicePackagesClient

NewDeployedServicePackagesClient creates an instance of the DeployedServicePackagesClient client.

func NewDeployedServicePackagesClientWithBaseURI

func NewDeployedServicePackagesClientWithBaseURI(baseURI string, timeout *int32) DeployedServicePackagesClient

NewDeployedServicePackagesClientWithBaseURI creates an instance of the DeployedServicePackagesClient client.

func (DeployedServicePackagesClient) Get

func (client DeployedServicePackagesClient) Get(nodeName string, applicationName string) (result ListDeployedServicePackage, err error)

Get get deployed service packages

nodeName is the name of the node applicationName is the name of the application

func (DeployedServicePackagesClient) GetPreparer

func (client DeployedServicePackagesClient) GetPreparer(nodeName string, applicationName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DeployedServicePackagesClient) GetResponder

func (client DeployedServicePackagesClient) GetResponder(resp *http.Response) (result ListDeployedServicePackage, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (DeployedServicePackagesClient) GetSender

func (client DeployedServicePackagesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type DeployedServicePackagesHealthEvaluation

type DeployedServicePackagesHealthEvaluation struct {
	Description           *string                `json:"Description,omitempty"`
	AggregatedHealthState AggregatedHealthState  `json:"AggregatedHealthState,omitempty"`
	Kind                  Kind                   `json:"Kind,omitempty"`
	UnhealthyEvaluations  *[]UnhealthyEvaluation `json:"UnhealthyEvaluations,omitempty"`
	TotalCount            *int32                 `json:"TotalCount,omitempty"`
}

DeployedServicePackagesHealthEvaluation is the evaluation of the deployed service packages health

func (DeployedServicePackagesHealthEvaluation) AsApplicationHealthEvaluation

func (dsphe DeployedServicePackagesHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)

AsApplicationHealthEvaluation is the HealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.

func (DeployedServicePackagesHealthEvaluation) AsApplicationTypeHealthEvaluation

func (dsphe DeployedServicePackagesHealthEvaluation) AsApplicationTypeHealthEvaluation() (*ApplicationTypeHealthEvaluation, bool)

AsApplicationTypeHealthEvaluation is the HealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.

func (DeployedServicePackagesHealthEvaluation) AsApplicationsHealthEvaluation

func (dsphe DeployedServicePackagesHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)

AsApplicationsHealthEvaluation is the HealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.

func (DeployedServicePackagesHealthEvaluation) AsDeltaNodesCheckHealthEvaluation

func (dsphe DeployedServicePackagesHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)

AsDeltaNodesCheckHealthEvaluation is the HealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.

func (DeployedServicePackagesHealthEvaluation) AsDeployedApplicationHealthEvaluation

func (dsphe DeployedServicePackagesHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)

AsDeployedApplicationHealthEvaluation is the HealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.

func (DeployedServicePackagesHealthEvaluation) AsDeployedApplicationsHealthEvaluation

func (dsphe DeployedServicePackagesHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)

AsDeployedApplicationsHealthEvaluation is the HealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.

func (DeployedServicePackagesHealthEvaluation) AsDeployedServicePackageHealthEvaluation

func (dsphe DeployedServicePackagesHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)

AsDeployedServicePackageHealthEvaluation is the HealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.

func (DeployedServicePackagesHealthEvaluation) AsDeployedServicePackagesHealthEvaluation

func (dsphe DeployedServicePackagesHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)

AsDeployedServicePackagesHealthEvaluation is the HealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.

func (DeployedServicePackagesHealthEvaluation) AsEventHealthEvaluation

func (dsphe DeployedServicePackagesHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)

AsEventHealthEvaluation is the HealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.

func (DeployedServicePackagesHealthEvaluation) AsNodeHealthEvaluation

func (dsphe DeployedServicePackagesHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)

AsNodeHealthEvaluation is the HealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.

func (DeployedServicePackagesHealthEvaluation) AsNodesHealthEvaluation

func (dsphe DeployedServicePackagesHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)

AsNodesHealthEvaluation is the HealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.

func (DeployedServicePackagesHealthEvaluation) AsPartitionHealthEvaluation

func (dsphe DeployedServicePackagesHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)

AsPartitionHealthEvaluation is the HealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.

func (DeployedServicePackagesHealthEvaluation) AsPartitionsHealthEvaluation

func (dsphe DeployedServicePackagesHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)

AsPartitionsHealthEvaluation is the HealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.

func (DeployedServicePackagesHealthEvaluation) AsReplicaHealthEvaluation

func (dsphe DeployedServicePackagesHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)

AsReplicaHealthEvaluation is the HealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.

func (DeployedServicePackagesHealthEvaluation) AsReplicasHealthEvaluation

func (dsphe DeployedServicePackagesHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)

AsReplicasHealthEvaluation is the HealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.

func (DeployedServicePackagesHealthEvaluation) AsServiceHealthEvaluation

func (dsphe DeployedServicePackagesHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)

AsServiceHealthEvaluation is the HealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.

func (DeployedServicePackagesHealthEvaluation) AsServicesHealthEvaluation

func (dsphe DeployedServicePackagesHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)

AsServicesHealthEvaluation is the HealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.

func (DeployedServicePackagesHealthEvaluation) AsSystemApplicationHealthEvaluation

func (dsphe DeployedServicePackagesHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)

AsSystemApplicationHealthEvaluation is the HealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.

func (DeployedServicePackagesHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation

func (dsphe DeployedServicePackagesHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)

AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the HealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.

func (DeployedServicePackagesHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation

func (dsphe DeployedServicePackagesHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation() (*UpgradeDomainDeployedApplicationsHealthEvaluation, bool)

AsUpgradeDomainDeployedApplicationsHealthEvaluation is the HealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.

func (DeployedServicePackagesHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation

func (dsphe DeployedServicePackagesHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)

AsUpgradeDomainNodesHealthEvaluation is the HealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.

func (DeployedServicePackagesHealthEvaluation) MarshalJSON

func (dsphe DeployedServicePackagesHealthEvaluation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DeployedServicePackagesHealthEvaluation.

type DeployedServiceType

type DeployedServiceType struct {
	ServiceTypeName     *string `json:"ServiceTypeName,omitempty"`
	CodePackageName     *string `json:"CodePackageName,omitempty"`
	ServiceManifestName *string `json:"ServiceManifestName,omitempty"`
	Status              *string `json:"Status,omitempty"`
}

DeployedServiceType is the type of the deploye service

type DeployedServiceTypesClient

type DeployedServiceTypesClient struct {
	ManagementClient
}

DeployedServiceTypesClient is the client for the DeployedServiceTypes methods of the Servicefabric service.

func NewDeployedServiceTypesClient

func NewDeployedServiceTypesClient(timeout *int32) DeployedServiceTypesClient

NewDeployedServiceTypesClient creates an instance of the DeployedServiceTypesClient client.

func NewDeployedServiceTypesClientWithBaseURI

func NewDeployedServiceTypesClientWithBaseURI(baseURI string, timeout *int32) DeployedServiceTypesClient

NewDeployedServiceTypesClientWithBaseURI creates an instance of the DeployedServiceTypesClient client.

func (DeployedServiceTypesClient) Get

func (client DeployedServiceTypesClient) Get(nodeName string, applicationName string) (result ListDeployedServiceType, err error)

Get get deployed service types

nodeName is the name of the node applicationName is the name of the application

func (DeployedServiceTypesClient) GetPreparer

func (client DeployedServiceTypesClient) GetPreparer(nodeName string, applicationName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DeployedServiceTypesClient) GetResponder

func (client DeployedServiceTypesClient) GetResponder(resp *http.Response) (result ListDeployedServiceType, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (DeployedServiceTypesClient) GetSender

func (client DeployedServiceTypesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type DisableNode

type DisableNode struct {
	DeactivationIntent DeactivationIntent `json:"DeactivationIntent,omitempty"`
}

DisableNode is the node

type EntryPoint

type EntryPoint struct {
	EntryPointLocation              *int32                           `json:"EntryPointLocation,omitempty"`
	ProcessID                       *int32                           `json:"ProcessId,omitempty"`
	RunAsUserName                   *int32                           `json:"RunAsUserName,omitempty"`
	NextActivationTime              *int32                           `json:"NextActivationTime,omitempty"`
	Status                          *string                          `json:"Status,omitempty"`
	CodePackageEntryPointStatistics *CodePackageEntryPointStatistics `json:"CodePackageEntryPointStatistics,omitempty"`
}

EntryPoint is the point of the entry

type ErrorModel

type ErrorModel struct {
	Error *ErrorModelError `json:"Error,omitempty"`
}

ErrorModel is the model of the error

type ErrorModelError

type ErrorModelError struct {
	Code    *string `json:"Code,omitempty"`
	Message *string `json:"Message,omitempty"`
}

ErrorModelError is the error

type EventHealthEvaluation

type EventHealthEvaluation struct {
	Description            *string               `json:"Description,omitempty"`
	AggregatedHealthState  AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
	Kind                   Kind                  `json:"Kind,omitempty"`
	UnhealthyEvent         *HealthEvent          `json:"UnhealthyEvent,omitempty"`
	ConsiderWarningAsError *bool                 `json:"ConsiderWarningAsError,omitempty"`
}

EventHealthEvaluation is the evaluation of the event health

func (EventHealthEvaluation) AsApplicationHealthEvaluation

func (ehe EventHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)

AsApplicationHealthEvaluation is the HealthEvaluation implementation for EventHealthEvaluation.

func (EventHealthEvaluation) AsApplicationTypeHealthEvaluation

func (ehe EventHealthEvaluation) AsApplicationTypeHealthEvaluation() (*ApplicationTypeHealthEvaluation, bool)

AsApplicationTypeHealthEvaluation is the HealthEvaluation implementation for EventHealthEvaluation.

func (EventHealthEvaluation) AsApplicationsHealthEvaluation

func (ehe EventHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)

AsApplicationsHealthEvaluation is the HealthEvaluation implementation for EventHealthEvaluation.

func (EventHealthEvaluation) AsDeltaNodesCheckHealthEvaluation

func (ehe EventHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)

AsDeltaNodesCheckHealthEvaluation is the HealthEvaluation implementation for EventHealthEvaluation.

func (EventHealthEvaluation) AsDeployedApplicationHealthEvaluation

func (ehe EventHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)

AsDeployedApplicationHealthEvaluation is the HealthEvaluation implementation for EventHealthEvaluation.

func (EventHealthEvaluation) AsDeployedApplicationsHealthEvaluation

func (ehe EventHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)

AsDeployedApplicationsHealthEvaluation is the HealthEvaluation implementation for EventHealthEvaluation.

func (EventHealthEvaluation) AsDeployedServicePackageHealthEvaluation

func (ehe EventHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)

AsDeployedServicePackageHealthEvaluation is the HealthEvaluation implementation for EventHealthEvaluation.

func (EventHealthEvaluation) AsDeployedServicePackagesHealthEvaluation

func (ehe EventHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)

AsDeployedServicePackagesHealthEvaluation is the HealthEvaluation implementation for EventHealthEvaluation.

func (EventHealthEvaluation) AsEventHealthEvaluation

func (ehe EventHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)

AsEventHealthEvaluation is the HealthEvaluation implementation for EventHealthEvaluation.

func (EventHealthEvaluation) AsNodeHealthEvaluation

func (ehe EventHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)

AsNodeHealthEvaluation is the HealthEvaluation implementation for EventHealthEvaluation.

func (EventHealthEvaluation) AsNodesHealthEvaluation

func (ehe EventHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)

AsNodesHealthEvaluation is the HealthEvaluation implementation for EventHealthEvaluation.

func (EventHealthEvaluation) AsPartitionHealthEvaluation

func (ehe EventHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)

AsPartitionHealthEvaluation is the HealthEvaluation implementation for EventHealthEvaluation.

func (EventHealthEvaluation) AsPartitionsHealthEvaluation

func (ehe EventHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)

AsPartitionsHealthEvaluation is the HealthEvaluation implementation for EventHealthEvaluation.

func (EventHealthEvaluation) AsReplicaHealthEvaluation

func (ehe EventHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)

AsReplicaHealthEvaluation is the HealthEvaluation implementation for EventHealthEvaluation.

func (EventHealthEvaluation) AsReplicasHealthEvaluation

func (ehe EventHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)

AsReplicasHealthEvaluation is the HealthEvaluation implementation for EventHealthEvaluation.

func (EventHealthEvaluation) AsServiceHealthEvaluation

func (ehe EventHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)

AsServiceHealthEvaluation is the HealthEvaluation implementation for EventHealthEvaluation.

func (EventHealthEvaluation) AsServicesHealthEvaluation

func (ehe EventHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)

AsServicesHealthEvaluation is the HealthEvaluation implementation for EventHealthEvaluation.

func (EventHealthEvaluation) AsSystemApplicationHealthEvaluation

func (ehe EventHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)

AsSystemApplicationHealthEvaluation is the HealthEvaluation implementation for EventHealthEvaluation.

func (EventHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation

func (ehe EventHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)

AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the HealthEvaluation implementation for EventHealthEvaluation.

func (EventHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation

func (ehe EventHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation() (*UpgradeDomainDeployedApplicationsHealthEvaluation, bool)

AsUpgradeDomainDeployedApplicationsHealthEvaluation is the HealthEvaluation implementation for EventHealthEvaluation.

func (EventHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation

func (ehe EventHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)

AsUpgradeDomainNodesHealthEvaluation is the HealthEvaluation implementation for EventHealthEvaluation.

func (EventHealthEvaluation) MarshalJSON

func (ehe EventHealthEvaluation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EventHealthEvaluation.

type FailureReason

type FailureReason string

FailureReason enumerates the values for failure reason.

const (
	// FailureReasonHealthCheck specifies the failure reason health check state for failure reason.
	FailureReasonHealthCheck FailureReason = "HealthCheck"
	// FailureReasonInterrupted specifies the failure reason interrupted state for failure reason.
	FailureReasonInterrupted FailureReason = "Interrupted"
	// FailureReasonInvalid specifies the failure reason invalid state for failure reason.
	FailureReasonInvalid FailureReason = "Invalid"
	// FailureReasonOverallUpgradeTimeout specifies the failure reason overall upgrade timeout state for failure reason.
	FailureReasonOverallUpgradeTimeout FailureReason = "OverallUpgradeTimeout"
	// FailureReasonUpgradeDomainTimeout specifies the failure reason upgrade domain timeout state for failure reason.
	FailureReasonUpgradeDomainTimeout FailureReason = "UpgradeDomainTimeout"
)

type FailureReason1

type FailureReason1 string

FailureReason1 enumerates the values for failure reason 1.

const (
	// FailureReason1HealthCheck specifies the failure reason 1 health check state for failure reason 1.
	FailureReason1HealthCheck FailureReason1 = "HealthCheck"
	// FailureReason1Interrupted specifies the failure reason 1 interrupted state for failure reason 1.
	FailureReason1Interrupted FailureReason1 = "Interrupted"
	// FailureReason1Invalid specifies the failure reason 1 invalid state for failure reason 1.
	FailureReason1Invalid FailureReason1 = "Invalid"
	// FailureReason1OverallUpgradeTimeout specifies the failure reason 1 overall upgrade timeout state for failure reason
	// 1.
	FailureReason1OverallUpgradeTimeout FailureReason1 = "OverallUpgradeTimeout"
	// FailureReason1UpgradeDomainTimeout specifies the failure reason 1 upgrade domain timeout state for failure reason 1.
	FailureReason1UpgradeDomainTimeout FailureReason1 = "UpgradeDomainTimeout"
)

type HealthEvaluation

type HealthEvaluation interface {
	AsEventHealthEvaluation() (*EventHealthEvaluation, bool)
	AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)
	AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)
	AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)
	AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)
	AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)
	AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)
	AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)
	AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)
	AsUpgradeDomainDeployedApplicationsHealthEvaluation() (*UpgradeDomainDeployedApplicationsHealthEvaluation, bool)
	AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)
	AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)
	AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)
	AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)
	AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)
	AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)
	AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)
	AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)
	AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)
	AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)
	AsApplicationTypeHealthEvaluation() (*ApplicationTypeHealthEvaluation, bool)
}

HealthEvaluation is the evauation of the health

type HealthEvent

type HealthEvent struct {
	SourceID                 *string     `json:"SourceId,omitempty"`
	Property                 *string     `json:"Property,omitempty"`
	HealthState              HealthState `json:"HealthState,omitempty"`
	TimeToLiveInMilliSeconds *string     `json:"TimeToLiveInMilliSeconds,omitempty"`
	Description              *string     `json:"Description,omitempty"`
	SequenceNumber           *string     `json:"SequenceNumber,omitempty"`
	RemoveWhenExpired        *bool       `json:"RemoveWhenExpired,omitempty"`
	SourceUtcTimestamp       *string     `json:"SourceUtcTimestamp,omitempty"`
	LastModifiedUtcTimestamp *string     `json:"LastModifiedUtcTimestamp,omitempty"`
	IsExpired                *bool       `json:"IsExpired,omitempty"`
	LastOkTransitionAt       *string     `json:"LastOkTransitionAt,omitempty"`
	LastWarningTransitionAt  *string     `json:"LastWarningTransitionAt,omitempty"`
	LastErrorTransitionAt    *string     `json:"LastErrorTransitionAt,omitempty"`
}

HealthEvent is the event of the health

type HealthReport

type HealthReport struct {
	SourceID                 *string     `json:"SourceId,omitempty"`
	Property                 *string     `json:"Property,omitempty"`
	HealthState              HealthState `json:"HealthState,omitempty"`
	Description              *string     `json:"Description,omitempty"`
	TimeToLiveInMilliSeconds *string     `json:"TimeToLiveInMilliSeconds,omitempty"`
	SequenceNumber           *string     `json:"SequenceNumber,omitempty"`
	RemoveWhenExpired        *bool       `json:"RemoveWhenExpired,omitempty"`
}

HealthReport is the report of the health

type HealthState

type HealthState string

HealthState enumerates the values for health state.

const (
	// HealthStateError specifies the health state error state for health state.
	HealthStateError HealthState = "Error"
	// HealthStateInvalid specifies the health state invalid state for health state.
	HealthStateInvalid HealthState = "Invalid"
	// HealthStateOk specifies the health state ok state for health state.
	HealthStateOk HealthState = "Ok"
	// HealthStateUnknown specifies the health state unknown state for health state.
	HealthStateUnknown HealthState = "Unknown"
	// HealthStateWarning specifies the health state warning state for health state.
	HealthStateWarning HealthState = "Warning"
)

type HealthState1

type HealthState1 string

HealthState1 enumerates the values for health state 1.

const (
	// HealthState1Error specifies the health state 1 error state for health state 1.
	HealthState1Error HealthState1 = "Error"
	// HealthState1Invalid specifies the health state 1 invalid state for health state 1.
	HealthState1Invalid HealthState1 = "Invalid"
	// HealthState1Ok specifies the health state 1 ok state for health state 1.
	HealthState1Ok HealthState1 = "Ok"
	// HealthState1Unknown specifies the health state 1 unknown state for health state 1.
	HealthState1Unknown HealthState1 = "Unknown"
	// HealthState1Warning specifies the health state 1 warning state for health state 1.
	HealthState1Warning HealthState1 = "Warning"
)

type HealthState2

type HealthState2 string

HealthState2 enumerates the values for health state 2.

const (
	// HealthState2Error specifies the health state 2 error state for health state 2.
	HealthState2Error HealthState2 = "Error"
	// HealthState2Invalid specifies the health state 2 invalid state for health state 2.
	HealthState2Invalid HealthState2 = "Invalid"
	// HealthState2Ok specifies the health state 2 ok state for health state 2.
	HealthState2Ok HealthState2 = "Ok"
	// HealthState2Unknown specifies the health state 2 unknown state for health state 2.
	HealthState2Unknown HealthState2 = "Unknown"
	// HealthState2Warning specifies the health state 2 warning state for health state 2.
	HealthState2Warning HealthState2 = "Warning"
)

type HealthState3

type HealthState3 string

HealthState3 enumerates the values for health state 3.

const (
	// HealthState3Error specifies the health state 3 error state for health state 3.
	HealthState3Error HealthState3 = "Error"
	// HealthState3Invalid specifies the health state 3 invalid state for health state 3.
	HealthState3Invalid HealthState3 = "Invalid"
	// HealthState3Ok specifies the health state 3 ok state for health state 3.
	HealthState3Ok HealthState3 = "Ok"
	// HealthState3Unknown specifies the health state 3 unknown state for health state 3.
	HealthState3Unknown HealthState3 = "Unknown"
	// HealthState3Warning specifies the health state 3 warning state for health state 3.
	HealthState3Warning HealthState3 = "Warning"
)

type HealthState4

type HealthState4 string

HealthState4 enumerates the values for health state 4.

const (
	// HealthState4Error specifies the health state 4 error state for health state 4.
	HealthState4Error HealthState4 = "Error"
	// HealthState4Invalid specifies the health state 4 invalid state for health state 4.
	HealthState4Invalid HealthState4 = "Invalid"
	// HealthState4Ok specifies the health state 4 ok state for health state 4.
	HealthState4Ok HealthState4 = "Ok"
	// HealthState4Unknown specifies the health state 4 unknown state for health state 4.
	HealthState4Unknown HealthState4 = "Unknown"
	// HealthState4Warning specifies the health state 4 warning state for health state 4.
	HealthState4Warning HealthState4 = "Warning"
)

type HealthState5

type HealthState5 string

HealthState5 enumerates the values for health state 5.

const (
	// HealthState5Error specifies the health state 5 error state for health state 5.
	HealthState5Error HealthState5 = "Error"
	// HealthState5Invalid specifies the health state 5 invalid state for health state 5.
	HealthState5Invalid HealthState5 = "Invalid"
	// HealthState5Ok specifies the health state 5 ok state for health state 5.
	HealthState5Ok HealthState5 = "Ok"
	// HealthState5Unknown specifies the health state 5 unknown state for health state 5.
	HealthState5Unknown HealthState5 = "Unknown"
	// HealthState5Warning specifies the health state 5 warning state for health state 5.
	HealthState5Warning HealthState5 = "Warning"
)

type HealthState6

type HealthState6 string

HealthState6 enumerates the values for health state 6.

const (
	// HealthState6Error specifies the health state 6 error state for health state 6.
	HealthState6Error HealthState6 = "Error"
	// HealthState6Invalid specifies the health state 6 invalid state for health state 6.
	HealthState6Invalid HealthState6 = "Invalid"
	// HealthState6Ok specifies the health state 6 ok state for health state 6.
	HealthState6Ok HealthState6 = "Ok"
	// HealthState6Unknown specifies the health state 6 unknown state for health state 6.
	HealthState6Unknown HealthState6 = "Unknown"
	// HealthState6Warning specifies the health state 6 warning state for health state 6.
	HealthState6Warning HealthState6 = "Warning"
)

type Kind

type Kind string

Kind enumerates the values for kind.

const (
	// KindApplication specifies the kind application state for kind.
	KindApplication Kind = "Application"
	// KindApplications specifies the kind applications state for kind.
	KindApplications Kind = "Applications"
	// KindApplicationType specifies the kind application type state for kind.
	KindApplicationType Kind = "ApplicationType"
	// KindDeltaNodesCheck specifies the kind delta nodes check state for kind.
	KindDeltaNodesCheck Kind = "DeltaNodesCheck"
	// KindDeployedApplication specifies the kind deployed application state for kind.
	KindDeployedApplication Kind = "DeployedApplication"
	// KindDeployedApplications specifies the kind deployed applications state for kind.
	KindDeployedApplications Kind = "DeployedApplications"
	// KindDeployedServicePackage specifies the kind deployed service package state for kind.
	KindDeployedServicePackage Kind = "DeployedServicePackage"
	// KindDeployedServicePackages specifies the kind deployed service packages state for kind.
	KindDeployedServicePackages Kind = "DeployedServicePackages"
	// KindEvent specifies the kind event state for kind.
	KindEvent Kind = "Event"
	// KindNode specifies the kind node state for kind.
	KindNode Kind = "Node"
	// KindNodes specifies the kind nodes state for kind.
	KindNodes Kind = "Nodes"
	// KindPartition specifies the kind partition state for kind.
	KindPartition Kind = "Partition"
	// KindPartitions specifies the kind partitions state for kind.
	KindPartitions Kind = "Partitions"
	// KindReplica specifies the kind replica state for kind.
	KindReplica Kind = "Replica"
	// KindReplicas specifies the kind replicas state for kind.
	KindReplicas Kind = "Replicas"
	// KindService specifies the kind service state for kind.
	KindService Kind = "Service"
	// KindServices specifies the kind services state for kind.
	KindServices Kind = "Services"
	// KindSystemApplication specifies the kind system application state for kind.
	KindSystemApplication Kind = "SystemApplication"
	// KindUpgradeDomainDeltaNodesCheck specifies the kind upgrade domain delta nodes check state for kind.
	KindUpgradeDomainDeltaNodesCheck Kind = "UpgradeDomainDeltaNodesCheck"
	// KindUpgradeDomainDeployedApplications specifies the kind upgrade domain deployed applications state for kind.
	KindUpgradeDomainDeployedApplications Kind = "UpgradeDomainDeployedApplications"
	// KindUpgradeDomainNodes specifies the kind upgrade domain nodes state for kind.
	KindUpgradeDomainNodes Kind = "UpgradeDomainNodes"
)

type ListApplicationType

type ListApplicationType struct {
	autorest.Response `json:"-"`
	Value             *[]ApplicationType `json:"value,omitempty"`
}

ListApplicationType is

type ListDeployedApplication

type ListDeployedApplication struct {
	autorest.Response `json:"-"`
	Value             *[]DeployedApplication `json:"value,omitempty"`
}

ListDeployedApplication is

type ListDeployedCodePackage

type ListDeployedCodePackage struct {
	autorest.Response `json:"-"`
	Value             *[]DeployedCodePackage `json:"value,omitempty"`
}

ListDeployedCodePackage is

type ListDeployedReplica

type ListDeployedReplica struct {
	autorest.Response `json:"-"`
	Value             *[]DeployedReplica `json:"value,omitempty"`
}

ListDeployedReplica is

type ListDeployedServicePackage

type ListDeployedServicePackage struct {
	autorest.Response `json:"-"`
	Value             *[]DeployedServicePackage `json:"value,omitempty"`
}

ListDeployedServicePackage is

type ListDeployedServiceType

type ListDeployedServiceType struct {
	autorest.Response `json:"-"`
	Value             *[]DeployedServiceType `json:"value,omitempty"`
}

ListDeployedServiceType is

type ListServiceType

type ListServiceType struct {
	autorest.Response `json:"-"`
	Value             *[]ServiceType `json:"value,omitempty"`
}

ListServiceType is

type LoadMetricInformation

type LoadMetricInformation struct {
	Name                        *string                             `json:"Name,omitempty"`
	IsBalancedBefore            *bool                               `json:"IsBalancedBefore,omitempty"`
	IsBalancedAfter             *bool                               `json:"IsBalancedAfter,omitempty"`
	DeviationBefore             *int32                              `json:"DeviationBefore,omitempty"`
	DeviationAfter              *int32                              `json:"DeviationAfter,omitempty"`
	BalancingThreshold          *int32                              `json:"BalancingThreshold,omitempty"`
	Action                      *string                             `json:"Action,omitempty"`
	ActivityThreshold           *int32                              `json:"ActivityThreshold,omitempty"`
	ClusterCapacity             *string                             `json:"ClusterCapacity,omitempty"`
	ClusterLoad                 *string                             `json:"ClusterLoad,omitempty"`
	RemainingUnbufferedCapacity *string                             `json:"RemainingUnbufferedCapacity,omitempty"`
	NodeBufferPercentage        *int32                              `json:"NodeBufferPercentage,omitempty"`
	BufferedCapacity            *string                             `json:"BufferedCapacity,omitempty"`
	RemainingBufferedCapacity   *string                             `json:"RemainingBufferedCapacity,omitempty"`
	IsClusterCapacityViolation  *bool                               `json:"IsClusterCapacityViolation,omitempty"`
	MinNodeLoadValue            *string                             `json:"MinNodeLoadValue,omitempty"`
	MinNodeLoadID               *LoadMetricInformationMinNodeLoadID `json:"MinNodeLoadId,omitempty"`
	MaxNodeLoadValue            *string                             `json:"MaxNodeLoadValue,omitempty"`
	MaxNodeLoadID               *LoadMetricInformationMaxNodeLoadID `json:"MaxNodeLoadId,omitempty"`
}

LoadMetricInformation is the information of the load metric

type LoadMetricInformationMaxNodeLoadID

type LoadMetricInformationMaxNodeLoadID struct {
	ID *string `json:"Id,omitempty"`
}

LoadMetricInformationMaxNodeLoadID is the id of the max node load

type LoadMetricInformationMinNodeLoadID

type LoadMetricInformationMinNodeLoadID struct {
	ID *string `json:"Id,omitempty"`
}

LoadMetricInformationMinNodeLoadID is the id of the min node

type ManagementClient

type ManagementClient struct {
	autorest.Client
	BaseURI string
	Timeout *int32
}

ManagementClient is the base client for Servicefabric.

func New

func New(timeout *int32) ManagementClient

New creates an instance of the ManagementClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, timeout *int32) ManagementClient

NewWithBaseURI creates an instance of the ManagementClient client.

type MonitoringPolicy

type MonitoringPolicy struct {
	FailureAction                           *string `json:"FailureAction,omitempty"`
	HealthCheckWaitDurationInMilliseconds   *string `json:"HealthCheckWaitDurationInMilliseconds,omitempty"`
	HealthCheckStableDurationInMilliseconds *string `json:"HealthCheckStableDurationInMilliseconds,omitempty"`
	HealthCheckRetryTimeoutInMilliseconds   *string `json:"HealthCheckRetryTimeoutInMilliseconds,omitempty"`
	UpgradeTimeoutInMilliseconds            *string `json:"UpgradeTimeoutInMilliseconds,omitempty"`
	UpgradeDomainTimeoutInMilliseconds      *string `json:"UpgradeDomainTimeoutInMilliseconds,omitempty"`
}

MonitoringPolicy is the policy of the monitoring

type Node

type Node struct {
	autorest.Response    `json:"-"`
	Name                 *string                   `json:"Name,omitempty"`
	IPAddressOrFQDN      *string                   `json:"IpAddressOrFQDN,omitempty"`
	Type                 *string                   `json:"Type,omitempty"`
	CodeVersion          *string                   `json:"CodeVersion,omitempty"`
	ConfigVersion        *string                   `json:"ConfigVersion,omitempty"`
	NodeStatus           NodeStatus                `json:"NodeStatus,omitempty"`
	NodeUpTimeInSeconds  *string                   `json:"NodeUpTimeInSeconds,omitempty"`
	HealthState          HealthState               `json:"HealthState,omitempty"`
	IsSeedNode           *bool                     `json:"IsSeedNode,omitempty"`
	UpgradeDomain        *string                   `json:"UpgradeDomain,omitempty"`
	FaultDomain          *string                   `json:"FaultDomain,omitempty"`
	ID                   *NodeID                   `json:"Id,omitempty"`
	InstanceID           *string                   `json:"InstanceId,omitempty"`
	NodeDeactivationInfo *NodeNodeDeactivationInfo `json:"NodeDeactivationInfo,omitempty"`
}

Node is the node

type NodeDeactivationIntent

type NodeDeactivationIntent string

NodeDeactivationIntent enumerates the values for node deactivation intent.

const (
	// NodeDeactivationIntentInvalid specifies the node deactivation intent invalid state for node deactivation intent.
	NodeDeactivationIntentInvalid NodeDeactivationIntent = "Invalid"
	// NodeDeactivationIntentPause specifies the node deactivation intent pause state for node deactivation intent.
	NodeDeactivationIntentPause NodeDeactivationIntent = "Pause"
	// NodeDeactivationIntentRemoveData specifies the node deactivation intent remove data state for node deactivation
	// intent.
	NodeDeactivationIntentRemoveData NodeDeactivationIntent = "RemoveData"
	// NodeDeactivationIntentRestart specifies the node deactivation intent restart state for node deactivation intent.
	NodeDeactivationIntentRestart NodeDeactivationIntent = "Restart"
)

type NodeDeactivationStatus

type NodeDeactivationStatus string

NodeDeactivationStatus enumerates the values for node deactivation status.

const (
	// NodeDeactivationStatusCompleted specifies the node deactivation status completed state for node deactivation status.
	NodeDeactivationStatusCompleted NodeDeactivationStatus = "Completed"
	// NodeDeactivationStatusInvalid specifies the node deactivation status invalid state for node deactivation status.
	NodeDeactivationStatusInvalid NodeDeactivationStatus = "Invalid"
	// NodeDeactivationStatusSafetyCheckComplete specifies the node deactivation status safety check complete state for
	// node deactivation status.
	NodeDeactivationStatusSafetyCheckComplete NodeDeactivationStatus = "SafetyCheckComplete"
	// NodeDeactivationStatusSafetyCheckInProgress specifies the node deactivation status safety check in progress state
	// for node deactivation status.
	NodeDeactivationStatusSafetyCheckInProgress NodeDeactivationStatus = "SafetyCheckInProgress"
)

type NodeHealth

type NodeHealth struct {
	autorest.Response     `json:"-"`
	HealthEvents          *[]HealthEvent        `json:"HealthEvents,omitempty"`
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
	Name                  *string               `json:"Name,omitempty"`
}

NodeHealth is the health of the node

type NodeHealthEvaluation

type NodeHealthEvaluation struct {
	Description           *string                `json:"Description,omitempty"`
	AggregatedHealthState AggregatedHealthState  `json:"AggregatedHealthState,omitempty"`
	Kind                  Kind                   `json:"Kind,omitempty"`
	NodeName              *string                `json:"NodeName,omitempty"`
	UnhealthyEvaluations  *[]UnhealthyEvaluation `json:"UnhealthyEvaluations,omitempty"`
}

NodeHealthEvaluation is the evaluation of the node health

func (NodeHealthEvaluation) AsApplicationHealthEvaluation

func (nhe NodeHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)

AsApplicationHealthEvaluation is the HealthEvaluation implementation for NodeHealthEvaluation.

func (NodeHealthEvaluation) AsApplicationTypeHealthEvaluation

func (nhe NodeHealthEvaluation) AsApplicationTypeHealthEvaluation() (*ApplicationTypeHealthEvaluation, bool)

AsApplicationTypeHealthEvaluation is the HealthEvaluation implementation for NodeHealthEvaluation.

func (NodeHealthEvaluation) AsApplicationsHealthEvaluation

func (nhe NodeHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)

AsApplicationsHealthEvaluation is the HealthEvaluation implementation for NodeHealthEvaluation.

func (NodeHealthEvaluation) AsDeltaNodesCheckHealthEvaluation

func (nhe NodeHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)

AsDeltaNodesCheckHealthEvaluation is the HealthEvaluation implementation for NodeHealthEvaluation.

func (NodeHealthEvaluation) AsDeployedApplicationHealthEvaluation

func (nhe NodeHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)

AsDeployedApplicationHealthEvaluation is the HealthEvaluation implementation for NodeHealthEvaluation.

func (NodeHealthEvaluation) AsDeployedApplicationsHealthEvaluation

func (nhe NodeHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)

AsDeployedApplicationsHealthEvaluation is the HealthEvaluation implementation for NodeHealthEvaluation.

func (NodeHealthEvaluation) AsDeployedServicePackageHealthEvaluation

func (nhe NodeHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)

AsDeployedServicePackageHealthEvaluation is the HealthEvaluation implementation for NodeHealthEvaluation.

func (NodeHealthEvaluation) AsDeployedServicePackagesHealthEvaluation

func (nhe NodeHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)

AsDeployedServicePackagesHealthEvaluation is the HealthEvaluation implementation for NodeHealthEvaluation.

func (NodeHealthEvaluation) AsEventHealthEvaluation

func (nhe NodeHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)

AsEventHealthEvaluation is the HealthEvaluation implementation for NodeHealthEvaluation.

func (NodeHealthEvaluation) AsNodeHealthEvaluation

func (nhe NodeHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)

AsNodeHealthEvaluation is the HealthEvaluation implementation for NodeHealthEvaluation.

func (NodeHealthEvaluation) AsNodesHealthEvaluation

func (nhe NodeHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)

AsNodesHealthEvaluation is the HealthEvaluation implementation for NodeHealthEvaluation.

func (NodeHealthEvaluation) AsPartitionHealthEvaluation

func (nhe NodeHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)

AsPartitionHealthEvaluation is the HealthEvaluation implementation for NodeHealthEvaluation.

func (NodeHealthEvaluation) AsPartitionsHealthEvaluation

func (nhe NodeHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)

AsPartitionsHealthEvaluation is the HealthEvaluation implementation for NodeHealthEvaluation.

func (NodeHealthEvaluation) AsReplicaHealthEvaluation

func (nhe NodeHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)

AsReplicaHealthEvaluation is the HealthEvaluation implementation for NodeHealthEvaluation.

func (NodeHealthEvaluation) AsReplicasHealthEvaluation

func (nhe NodeHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)

AsReplicasHealthEvaluation is the HealthEvaluation implementation for NodeHealthEvaluation.

func (NodeHealthEvaluation) AsServiceHealthEvaluation

func (nhe NodeHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)

AsServiceHealthEvaluation is the HealthEvaluation implementation for NodeHealthEvaluation.

func (NodeHealthEvaluation) AsServicesHealthEvaluation

func (nhe NodeHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)

AsServicesHealthEvaluation is the HealthEvaluation implementation for NodeHealthEvaluation.

func (NodeHealthEvaluation) AsSystemApplicationHealthEvaluation

func (nhe NodeHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)

AsSystemApplicationHealthEvaluation is the HealthEvaluation implementation for NodeHealthEvaluation.

func (NodeHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation

func (nhe NodeHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)

AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the HealthEvaluation implementation for NodeHealthEvaluation.

func (NodeHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation

func (nhe NodeHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation() (*UpgradeDomainDeployedApplicationsHealthEvaluation, bool)

AsUpgradeDomainDeployedApplicationsHealthEvaluation is the HealthEvaluation implementation for NodeHealthEvaluation.

func (NodeHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation

func (nhe NodeHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)

AsUpgradeDomainNodesHealthEvaluation is the HealthEvaluation implementation for NodeHealthEvaluation.

func (NodeHealthEvaluation) MarshalJSON

func (nhe NodeHealthEvaluation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for NodeHealthEvaluation.

type NodeHealthReport

type NodeHealthReport struct {
	SourceID                 *string     `json:"SourceId,omitempty"`
	Property                 *string     `json:"Property,omitempty"`
	HealthState              HealthState `json:"HealthState,omitempty"`
	Description              *string     `json:"Description,omitempty"`
	TimeToLiveInMilliSeconds *string     `json:"TimeToLiveInMilliSeconds,omitempty"`
	SequenceNumber           *string     `json:"SequenceNumber,omitempty"`
	RemoveWhenExpired        *bool       `json:"RemoveWhenExpired,omitempty"`
}

NodeHealthReport is the report of the node health

type NodeHealthsClient

type NodeHealthsClient struct {
	ManagementClient
}

NodeHealthsClient is the client for the NodeHealths methods of the Servicefabric service.

func NewNodeHealthsClient

func NewNodeHealthsClient(timeout *int32) NodeHealthsClient

NewNodeHealthsClient creates an instance of the NodeHealthsClient client.

func NewNodeHealthsClientWithBaseURI

func NewNodeHealthsClientWithBaseURI(baseURI string, timeout *int32) NodeHealthsClient

NewNodeHealthsClientWithBaseURI creates an instance of the NodeHealthsClient client.

func (NodeHealthsClient) Get

func (client NodeHealthsClient) Get(nodeName string, eventsHealthStateFilter string) (result NodeHealth, err error)

Get get node healths

nodeName is the name of the node eventsHealthStateFilter is the filter of the events health state

func (NodeHealthsClient) GetPreparer

func (client NodeHealthsClient) GetPreparer(nodeName string, eventsHealthStateFilter string) (*http.Request, error)

GetPreparer prepares the Get request.

func (NodeHealthsClient) GetResponder

func (client NodeHealthsClient) GetResponder(resp *http.Response) (result NodeHealth, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (NodeHealthsClient) GetSender

func (client NodeHealthsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (NodeHealthsClient) Send

func (client NodeHealthsClient) Send(nodeName string, nodeHealthReport NodeHealthReport) (result String, err error)

Send send node health

nodeName is the name of the node nodeHealthReport is the report of the node health

func (NodeHealthsClient) SendPreparer

func (client NodeHealthsClient) SendPreparer(nodeName string, nodeHealthReport NodeHealthReport) (*http.Request, error)

SendPreparer prepares the Send request.

func (NodeHealthsClient) SendResponder

func (client NodeHealthsClient) SendResponder(resp *http.Response) (result String, err error)

SendResponder handles the response to the Send request. The method always closes the http.Response Body.

func (NodeHealthsClient) SendSender

func (client NodeHealthsClient) SendSender(req *http.Request) (*http.Response, error)

SendSender sends the Send request. The method will close the http.Response Body if it receives an error.

type NodeID

type NodeID struct {
	ID *string `json:"Id,omitempty"`
}

NodeID is the id

type NodeList

type NodeList struct {
	autorest.Response `json:"-"`
	ContinuationToken *string `json:"ContinuationToken,omitempty"`
	Items             *[]Node `json:"Items,omitempty"`
}

NodeList is the list of the node

type NodeLoadInformation

type NodeLoadInformation struct {
	autorest.Response         `json:"-"`
	NodeName                  *string                    `json:"NodeName,omitempty"`
	NodeLoadMetricInformation *NodeLoadMetricInformation `json:"NodeLoadMetricInformation,omitempty"`
}

NodeLoadInformation is the information of the node load

type NodeLoadInformationsClient

type NodeLoadInformationsClient struct {
	ManagementClient
}

NodeLoadInformationsClient is the client for the NodeLoadInformations methods of the Servicefabric service.

func NewNodeLoadInformationsClient

func NewNodeLoadInformationsClient(timeout *int32) NodeLoadInformationsClient

NewNodeLoadInformationsClient creates an instance of the NodeLoadInformationsClient client.

func NewNodeLoadInformationsClientWithBaseURI

func NewNodeLoadInformationsClientWithBaseURI(baseURI string, timeout *int32) NodeLoadInformationsClient

NewNodeLoadInformationsClientWithBaseURI creates an instance of the NodeLoadInformationsClient client.

func (NodeLoadInformationsClient) Get

func (client NodeLoadInformationsClient) Get(nodeName string) (result NodeLoadInformation, err error)

Get get node load informations

nodeName is the name of the node

func (NodeLoadInformationsClient) GetPreparer

func (client NodeLoadInformationsClient) GetPreparer(nodeName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (NodeLoadInformationsClient) GetResponder

func (client NodeLoadInformationsClient) GetResponder(resp *http.Response) (result NodeLoadInformation, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (NodeLoadInformationsClient) GetSender

func (client NodeLoadInformationsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type NodeLoadMetricInformation

type NodeLoadMetricInformation struct {
	Name                          *string `json:"Name,omitempty"`
	NodeCapacity                  *string `json:"NodeCapacity,omitempty"`
	NodeLoad                      *string `json:"NodeLoad,omitempty"`
	NodeRemainingCapacity         *string `json:"NodeRemainingCapacity,omitempty"`
	IsCapacityViolation           *bool   `json:"IsCapacityViolation,omitempty"`
	NodeBufferedCapacity          *string `json:"NodeBufferedCapacity,omitempty"`
	NodeRemainingBufferedCapacity *string `json:"NodeRemainingBufferedCapacity,omitempty"`
}

NodeLoadMetricInformation is the information of the node load metric

type NodeNodeDeactivationInfo

type NodeNodeDeactivationInfo struct {
	NodeDeactivationIntent NodeDeactivationIntent `json:"NodeDeactivationIntent,omitempty"`
	NodeDeactivationStatus NodeDeactivationStatus `json:"NodeDeactivationStatus,omitempty"`
}

NodeNodeDeactivationInfo is the info of the deactivation info

type NodeStatesClient

type NodeStatesClient struct {
	ManagementClient
}

NodeStatesClient is the client for the NodeStates methods of the Servicefabric service.

func NewNodeStatesClient

func NewNodeStatesClient(timeout *int32) NodeStatesClient

NewNodeStatesClient creates an instance of the NodeStatesClient client.

func NewNodeStatesClientWithBaseURI

func NewNodeStatesClientWithBaseURI(baseURI string, timeout *int32) NodeStatesClient

NewNodeStatesClientWithBaseURI creates an instance of the NodeStatesClient client.

func (NodeStatesClient) Remove

func (client NodeStatesClient) Remove(nodeName string) (result String, err error)

Remove remove node states

nodeName is the name of the node

func (NodeStatesClient) RemovePreparer

func (client NodeStatesClient) RemovePreparer(nodeName string) (*http.Request, error)

RemovePreparer prepares the Remove request.

func (NodeStatesClient) RemoveResponder

func (client NodeStatesClient) RemoveResponder(resp *http.Response) (result String, err error)

RemoveResponder handles the response to the Remove request. The method always closes the http.Response Body.

func (NodeStatesClient) RemoveSender

func (client NodeStatesClient) RemoveSender(req *http.Request) (*http.Response, error)

RemoveSender sends the Remove request. The method will close the http.Response Body if it receives an error.

type NodeStatus

type NodeStatus string

NodeStatus enumerates the values for node status.

const (
	// NodeStatusDisabled specifies the node status disabled state for node status.
	NodeStatusDisabled NodeStatus = "Disabled"
	// NodeStatusDisabling specifies the node status disabling state for node status.
	NodeStatusDisabling NodeStatus = "Disabling"
	// NodeStatusDown specifies the node status down state for node status.
	NodeStatusDown NodeStatus = "Down"
	// NodeStatusEnabling specifies the node status enabling state for node status.
	NodeStatusEnabling NodeStatus = "Enabling"
	// NodeStatusInvalid specifies the node status invalid state for node status.
	NodeStatusInvalid NodeStatus = "Invalid"
	// NodeStatusRemoved specifies the node status removed state for node status.
	NodeStatusRemoved NodeStatus = "Removed"
	// NodeStatusUnknown specifies the node status unknown state for node status.
	NodeStatusUnknown NodeStatus = "Unknown"
	// NodeStatusUp specifies the node status up state for node status.
	NodeStatusUp NodeStatus = "Up"
)

type NodesClient

type NodesClient struct {
	ManagementClient
}

NodesClient is the client for the Nodes methods of the Servicefabric service.

func NewNodesClient

func NewNodesClient(timeout *int32) NodesClient

NewNodesClient creates an instance of the NodesClient client.

func NewNodesClientWithBaseURI

func NewNodesClientWithBaseURI(baseURI string, timeout *int32) NodesClient

NewNodesClientWithBaseURI creates an instance of the NodesClient client.

func (NodesClient) Disable

func (client NodesClient) Disable(nodeName string, disableNode DisableNode) (result String, err error)

Disable disable nodes

nodeName is the name of the node disableNode is the node

func (NodesClient) DisablePreparer

func (client NodesClient) DisablePreparer(nodeName string, disableNode DisableNode) (*http.Request, error)

DisablePreparer prepares the Disable request.

func (NodesClient) DisableResponder

func (client NodesClient) DisableResponder(resp *http.Response) (result String, err error)

DisableResponder handles the response to the Disable request. The method always closes the http.Response Body.

func (NodesClient) DisableSender

func (client NodesClient) DisableSender(req *http.Request) (*http.Response, error)

DisableSender sends the Disable request. The method will close the http.Response Body if it receives an error.

func (NodesClient) Enable

func (client NodesClient) Enable(nodeName string) (result String, err error)

Enable enable nodes

nodeName is the name of the node

func (NodesClient) EnablePreparer

func (client NodesClient) EnablePreparer(nodeName string) (*http.Request, error)

EnablePreparer prepares the Enable request.

func (NodesClient) EnableResponder

func (client NodesClient) EnableResponder(resp *http.Response) (result String, err error)

EnableResponder handles the response to the Enable request. The method always closes the http.Response Body.

func (NodesClient) EnableSender

func (client NodesClient) EnableSender(req *http.Request) (*http.Response, error)

EnableSender sends the Enable request. The method will close the http.Response Body if it receives an error.

func (NodesClient) Get

func (client NodesClient) Get(nodeName string) (result Node, err error)

Get get nodes

nodeName is the name of the node

func (NodesClient) GetPreparer

func (client NodesClient) GetPreparer(nodeName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (NodesClient) GetResponder

func (client NodesClient) GetResponder(resp *http.Response) (result Node, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (NodesClient) GetSender

func (client NodesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (NodesClient) List

func (client NodesClient) List(continuationToken string) (result NodeList, err error)

List list nodes

continuationToken is the token of the continuation

func (NodesClient) ListPreparer

func (client NodesClient) ListPreparer(continuationToken string) (*http.Request, error)

ListPreparer prepares the List request.

func (NodesClient) ListResponder

func (client NodesClient) ListResponder(resp *http.Response) (result NodeList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (NodesClient) ListSender

func (client NodesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type NodesHealthEvaluation

type NodesHealthEvaluation struct {
	Description              *string                `json:"Description,omitempty"`
	AggregatedHealthState    AggregatedHealthState  `json:"AggregatedHealthState,omitempty"`
	Kind                     Kind                   `json:"Kind,omitempty"`
	UnhealthyEvaluations     *[]UnhealthyEvaluation `json:"UnhealthyEvaluations,omitempty"`
	TotalCount               *int32                 `json:"TotalCount,omitempty"`
	MaxPercentUnhealthyNodes *int32                 `json:"MaxPercentUnhealthyNodes,omitempty"`
}

NodesHealthEvaluation is the evaluation of the nodes health

func (NodesHealthEvaluation) AsApplicationHealthEvaluation

func (nhe NodesHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)

AsApplicationHealthEvaluation is the HealthEvaluation implementation for NodesHealthEvaluation.

func (NodesHealthEvaluation) AsApplicationTypeHealthEvaluation

func (nhe NodesHealthEvaluation) AsApplicationTypeHealthEvaluation() (*ApplicationTypeHealthEvaluation, bool)

AsApplicationTypeHealthEvaluation is the HealthEvaluation implementation for NodesHealthEvaluation.

func (NodesHealthEvaluation) AsApplicationsHealthEvaluation

func (nhe NodesHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)

AsApplicationsHealthEvaluation is the HealthEvaluation implementation for NodesHealthEvaluation.

func (NodesHealthEvaluation) AsDeltaNodesCheckHealthEvaluation

func (nhe NodesHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)

AsDeltaNodesCheckHealthEvaluation is the HealthEvaluation implementation for NodesHealthEvaluation.

func (NodesHealthEvaluation) AsDeployedApplicationHealthEvaluation

func (nhe NodesHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)

AsDeployedApplicationHealthEvaluation is the HealthEvaluation implementation for NodesHealthEvaluation.

func (NodesHealthEvaluation) AsDeployedApplicationsHealthEvaluation

func (nhe NodesHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)

AsDeployedApplicationsHealthEvaluation is the HealthEvaluation implementation for NodesHealthEvaluation.

func (NodesHealthEvaluation) AsDeployedServicePackageHealthEvaluation

func (nhe NodesHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)

AsDeployedServicePackageHealthEvaluation is the HealthEvaluation implementation for NodesHealthEvaluation.

func (NodesHealthEvaluation) AsDeployedServicePackagesHealthEvaluation

func (nhe NodesHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)

AsDeployedServicePackagesHealthEvaluation is the HealthEvaluation implementation for NodesHealthEvaluation.

func (NodesHealthEvaluation) AsEventHealthEvaluation

func (nhe NodesHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)

AsEventHealthEvaluation is the HealthEvaluation implementation for NodesHealthEvaluation.

func (NodesHealthEvaluation) AsNodeHealthEvaluation

func (nhe NodesHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)

AsNodeHealthEvaluation is the HealthEvaluation implementation for NodesHealthEvaluation.

func (NodesHealthEvaluation) AsNodesHealthEvaluation

func (nhe NodesHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)

AsNodesHealthEvaluation is the HealthEvaluation implementation for NodesHealthEvaluation.

func (NodesHealthEvaluation) AsPartitionHealthEvaluation

func (nhe NodesHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)

AsPartitionHealthEvaluation is the HealthEvaluation implementation for NodesHealthEvaluation.

func (NodesHealthEvaluation) AsPartitionsHealthEvaluation

func (nhe NodesHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)

AsPartitionsHealthEvaluation is the HealthEvaluation implementation for NodesHealthEvaluation.

func (NodesHealthEvaluation) AsReplicaHealthEvaluation

func (nhe NodesHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)

AsReplicaHealthEvaluation is the HealthEvaluation implementation for NodesHealthEvaluation.

func (NodesHealthEvaluation) AsReplicasHealthEvaluation

func (nhe NodesHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)

AsReplicasHealthEvaluation is the HealthEvaluation implementation for NodesHealthEvaluation.

func (NodesHealthEvaluation) AsServiceHealthEvaluation

func (nhe NodesHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)

AsServiceHealthEvaluation is the HealthEvaluation implementation for NodesHealthEvaluation.

func (NodesHealthEvaluation) AsServicesHealthEvaluation

func (nhe NodesHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)

AsServicesHealthEvaluation is the HealthEvaluation implementation for NodesHealthEvaluation.

func (NodesHealthEvaluation) AsSystemApplicationHealthEvaluation

func (nhe NodesHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)

AsSystemApplicationHealthEvaluation is the HealthEvaluation implementation for NodesHealthEvaluation.

func (NodesHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation

func (nhe NodesHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)

AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the HealthEvaluation implementation for NodesHealthEvaluation.

func (NodesHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation

func (nhe NodesHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation() (*UpgradeDomainDeployedApplicationsHealthEvaluation, bool)

AsUpgradeDomainDeployedApplicationsHealthEvaluation is the HealthEvaluation implementation for NodesHealthEvaluation.

func (NodesHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation

func (nhe NodesHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)

AsUpgradeDomainNodesHealthEvaluation is the HealthEvaluation implementation for NodesHealthEvaluation.

func (NodesHealthEvaluation) MarshalJSON

func (nhe NodesHealthEvaluation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for NodesHealthEvaluation.

type Partition

type Partition struct {
	autorest.Response         `json:"-"`
	ServiceKind               ServiceKind                         `json:"ServiceKind,omitempty"`
	PartitionInformation      *PartitionInformation               `json:"PartitionInformation,omitempty"`
	InstanceCount             *int32                              `json:"InstanceCount,omitempty"`
	TargetReplicaSetSize      *int32                              `json:"TargetReplicaSetSize,omitempty"`
	MinReplicaSetSize         *int32                              `json:"MinReplicaSetSize,omitempty"`
	HealthState               HealthState                         `json:"HealthState,omitempty"`
	PartitionStatus           PartitionStatus                     `json:"PartitionStatus,omitempty"`
	CurrentConfigurationEpoch *PartitionCurrentConfigurationEpoch `json:"CurrentConfigurationEpoch,omitempty"`
}

Partition is the partition

type PartitionCurrentConfigurationEpoch

type PartitionCurrentConfigurationEpoch struct {
	ConfigurationVersion *string `json:"ConfigurationVersion,omitempty"`
	DataLossVersion      *string `json:"DataLossVersion,omitempty"`
}

PartitionCurrentConfigurationEpoch is the epoch of the current configuration

type PartitionDescription

type PartitionDescription struct {
	PartitionScheme PartitionScheme `json:"PartitionScheme,omitempty"`
	Count           *int32          `json:"Count,omitempty"`
	Names           *[]string       `json:"Names,omitempty"`
	LowKey          *string         `json:"LowKey,omitempty"`
	HighKey         *string         `json:"HighKey,omitempty"`
}

PartitionDescription is the description of the partition

type PartitionHealth

type PartitionHealth struct {
	autorest.Response     `json:"-"`
	HealthEvents          *[]HealthEvent                            `json:"HealthEvents,omitempty"`
	AggregatedHealthState AggregatedHealthState                     `json:"AggregatedHealthState,omitempty"`
	PartitionID           *string                                   `json:"PartitionId,omitempty"`
	ReplicaHealthStates   *[]PartitionHealthReplicaHealthStatesItem `json:"ReplicaHealthStates,omitempty"`
}

PartitionHealth is the health of the partition

type PartitionHealthEvaluation

type PartitionHealthEvaluation struct {
	Description           *string                `json:"Description,omitempty"`
	AggregatedHealthState AggregatedHealthState  `json:"AggregatedHealthState,omitempty"`
	Kind                  Kind                   `json:"Kind,omitempty"`
	PartitionID           *string                `json:"PartitionId,omitempty"`
	UnhealthyEvaluations  *[]UnhealthyEvaluation `json:"UnhealthyEvaluations,omitempty"`
}

PartitionHealthEvaluation is the evaluation of the partition health

func (PartitionHealthEvaluation) AsApplicationHealthEvaluation

func (phe PartitionHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)

AsApplicationHealthEvaluation is the HealthEvaluation implementation for PartitionHealthEvaluation.

func (PartitionHealthEvaluation) AsApplicationTypeHealthEvaluation

func (phe PartitionHealthEvaluation) AsApplicationTypeHealthEvaluation() (*ApplicationTypeHealthEvaluation, bool)

AsApplicationTypeHealthEvaluation is the HealthEvaluation implementation for PartitionHealthEvaluation.

func (PartitionHealthEvaluation) AsApplicationsHealthEvaluation

func (phe PartitionHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)

AsApplicationsHealthEvaluation is the HealthEvaluation implementation for PartitionHealthEvaluation.

func (PartitionHealthEvaluation) AsDeltaNodesCheckHealthEvaluation

func (phe PartitionHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)

AsDeltaNodesCheckHealthEvaluation is the HealthEvaluation implementation for PartitionHealthEvaluation.

func (PartitionHealthEvaluation) AsDeployedApplicationHealthEvaluation

func (phe PartitionHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)

AsDeployedApplicationHealthEvaluation is the HealthEvaluation implementation for PartitionHealthEvaluation.

func (PartitionHealthEvaluation) AsDeployedApplicationsHealthEvaluation

func (phe PartitionHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)

AsDeployedApplicationsHealthEvaluation is the HealthEvaluation implementation for PartitionHealthEvaluation.

func (PartitionHealthEvaluation) AsDeployedServicePackageHealthEvaluation

func (phe PartitionHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)

AsDeployedServicePackageHealthEvaluation is the HealthEvaluation implementation for PartitionHealthEvaluation.

func (PartitionHealthEvaluation) AsDeployedServicePackagesHealthEvaluation

func (phe PartitionHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)

AsDeployedServicePackagesHealthEvaluation is the HealthEvaluation implementation for PartitionHealthEvaluation.

func (PartitionHealthEvaluation) AsEventHealthEvaluation

func (phe PartitionHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)

AsEventHealthEvaluation is the HealthEvaluation implementation for PartitionHealthEvaluation.

func (PartitionHealthEvaluation) AsNodeHealthEvaluation

func (phe PartitionHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)

AsNodeHealthEvaluation is the HealthEvaluation implementation for PartitionHealthEvaluation.

func (PartitionHealthEvaluation) AsNodesHealthEvaluation

func (phe PartitionHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)

AsNodesHealthEvaluation is the HealthEvaluation implementation for PartitionHealthEvaluation.

func (PartitionHealthEvaluation) AsPartitionHealthEvaluation

func (phe PartitionHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)

AsPartitionHealthEvaluation is the HealthEvaluation implementation for PartitionHealthEvaluation.

func (PartitionHealthEvaluation) AsPartitionsHealthEvaluation

func (phe PartitionHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)

AsPartitionsHealthEvaluation is the HealthEvaluation implementation for PartitionHealthEvaluation.

func (PartitionHealthEvaluation) AsReplicaHealthEvaluation

func (phe PartitionHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)

AsReplicaHealthEvaluation is the HealthEvaluation implementation for PartitionHealthEvaluation.

func (PartitionHealthEvaluation) AsReplicasHealthEvaluation

func (phe PartitionHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)

AsReplicasHealthEvaluation is the HealthEvaluation implementation for PartitionHealthEvaluation.

func (PartitionHealthEvaluation) AsServiceHealthEvaluation

func (phe PartitionHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)

AsServiceHealthEvaluation is the HealthEvaluation implementation for PartitionHealthEvaluation.

func (PartitionHealthEvaluation) AsServicesHealthEvaluation

func (phe PartitionHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)

AsServicesHealthEvaluation is the HealthEvaluation implementation for PartitionHealthEvaluation.

func (PartitionHealthEvaluation) AsSystemApplicationHealthEvaluation

func (phe PartitionHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)

AsSystemApplicationHealthEvaluation is the HealthEvaluation implementation for PartitionHealthEvaluation.

func (PartitionHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation

func (phe PartitionHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)

AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the HealthEvaluation implementation for PartitionHealthEvaluation.

func (PartitionHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation

func (phe PartitionHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation() (*UpgradeDomainDeployedApplicationsHealthEvaluation, bool)

AsUpgradeDomainDeployedApplicationsHealthEvaluation is the HealthEvaluation implementation for PartitionHealthEvaluation.

func (PartitionHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation

func (phe PartitionHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)

AsUpgradeDomainNodesHealthEvaluation is the HealthEvaluation implementation for PartitionHealthEvaluation.

func (PartitionHealthEvaluation) MarshalJSON

func (phe PartitionHealthEvaluation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PartitionHealthEvaluation.

type PartitionHealthReplicaHealthStatesItem

type PartitionHealthReplicaHealthStatesItem struct {
	HealthEvents          *int32                `json:"HealthEvents,omitempty"`
	PartitionID           *string               `json:"PartitionId,omitempty"`
	ReplicaID             *string               `json:"ReplicaId,omitempty"`
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
}

PartitionHealthReplicaHealthStatesItem is the states of the replica health

type PartitionHealthReport

type PartitionHealthReport struct {
	SourceID                 *string     `json:"SourceId,omitempty"`
	Property                 *string     `json:"Property,omitempty"`
	HealthState              HealthState `json:"HealthState,omitempty"`
	Description              *string     `json:"Description,omitempty"`
	TimeToLiveInMilliSeconds *string     `json:"TimeToLiveInMilliSeconds,omitempty"`
	SequenceNumber           *string     `json:"SequenceNumber,omitempty"`
	RemoveWhenExpired        *bool       `json:"RemoveWhenExpired,omitempty"`
}

PartitionHealthReport is the report of the partition health

type PartitionHealthsClient

type PartitionHealthsClient struct {
	ManagementClient
}

PartitionHealthsClient is the client for the PartitionHealths methods of the Servicefabric service.

func NewPartitionHealthsClient

func NewPartitionHealthsClient(timeout *int32) PartitionHealthsClient

NewPartitionHealthsClient creates an instance of the PartitionHealthsClient client.

func NewPartitionHealthsClientWithBaseURI

func NewPartitionHealthsClientWithBaseURI(baseURI string, timeout *int32) PartitionHealthsClient

NewPartitionHealthsClientWithBaseURI creates an instance of the PartitionHealthsClient client.

func (PartitionHealthsClient) Get

func (client PartitionHealthsClient) Get(partitionID string, eventsHealthStateFilter string, replicasHealthStateFilter string) (result PartitionHealth, err error)

Get get partition healths

partitionID is the id of the partition eventsHealthStateFilter is the filter of the events health state replicasHealthStateFilter is the filter of the replicas health state

func (PartitionHealthsClient) GetPreparer

func (client PartitionHealthsClient) GetPreparer(partitionID string, eventsHealthStateFilter string, replicasHealthStateFilter string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PartitionHealthsClient) GetResponder

func (client PartitionHealthsClient) GetResponder(resp *http.Response) (result PartitionHealth, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (PartitionHealthsClient) GetSender

func (client PartitionHealthsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (PartitionHealthsClient) Send

func (client PartitionHealthsClient) Send(partitionID string, partitionHealthReport PartitionHealthReport) (result String, err error)

Send send partition health

partitionID is the id of the partition partitionHealthReport is the report of the partition health

func (PartitionHealthsClient) SendPreparer

func (client PartitionHealthsClient) SendPreparer(partitionID string, partitionHealthReport PartitionHealthReport) (*http.Request, error)

SendPreparer prepares the Send request.

func (PartitionHealthsClient) SendResponder

func (client PartitionHealthsClient) SendResponder(resp *http.Response) (result String, err error)

SendResponder handles the response to the Send request. The method always closes the http.Response Body.

func (PartitionHealthsClient) SendSender

func (client PartitionHealthsClient) SendSender(req *http.Request) (*http.Response, error)

SendSender sends the Send request. The method will close the http.Response Body if it receives an error.

type PartitionInformation

type PartitionInformation struct {
	ServicePartitionKind ServicePartitionKind `json:"ServicePartitionKind,omitempty"`
	ID                   *string              `json:"Id,omitempty"`
	Name                 *[]string            `json:"Name,omitempty"`
	LowKey               *string              `json:"LowKey,omitempty"`
	HighKey              *string              `json:"HighKey,omitempty"`
}

PartitionInformation is the information of the partition

type PartitionList

type PartitionList struct {
	autorest.Response `json:"-"`
	ContinuationToken *string      `json:"ContinuationToken,omitempty"`
	Items             *[]Partition `json:"Items,omitempty"`
}

PartitionList is the list of the partition

type PartitionListsClient

type PartitionListsClient struct {
	ManagementClient
}

PartitionListsClient is the client for the PartitionLists methods of the Servicefabric service.

func NewPartitionListsClient

func NewPartitionListsClient(timeout *int32) PartitionListsClient

NewPartitionListsClient creates an instance of the PartitionListsClient client.

func NewPartitionListsClientWithBaseURI

func NewPartitionListsClientWithBaseURI(baseURI string, timeout *int32) PartitionListsClient

NewPartitionListsClientWithBaseURI creates an instance of the PartitionListsClient client.

func (PartitionListsClient) Repair

func (client PartitionListsClient) Repair(serviceName string) (result String, err error)

Repair repair partition lists

serviceName is the name of the service

func (PartitionListsClient) RepairPreparer

func (client PartitionListsClient) RepairPreparer(serviceName string) (*http.Request, error)

RepairPreparer prepares the Repair request.

func (PartitionListsClient) RepairResponder

func (client PartitionListsClient) RepairResponder(resp *http.Response) (result String, err error)

RepairResponder handles the response to the Repair request. The method always closes the http.Response Body.

func (PartitionListsClient) RepairSender

func (client PartitionListsClient) RepairSender(req *http.Request) (*http.Response, error)

RepairSender sends the Repair request. The method will close the http.Response Body if it receives an error.

type PartitionLoadInformation

type PartitionLoadInformation struct {
	autorest.Response          `json:"-"`
	PartitionID                *string   `json:"PartitionId,omitempty"`
	PrimaryLoadMetricReports   *[]string `json:"PrimaryLoadMetricReports,omitempty"`
	SecondaryLoadMetricReports *[]string `json:"SecondaryLoadMetricReports,omitempty"`
}

PartitionLoadInformation is the information of the partition load

type PartitionLoadInformationsClient

type PartitionLoadInformationsClient struct {
	ManagementClient
}

PartitionLoadInformationsClient is the client for the PartitionLoadInformations methods of the Servicefabric service.

func NewPartitionLoadInformationsClient

func NewPartitionLoadInformationsClient(timeout *int32) PartitionLoadInformationsClient

NewPartitionLoadInformationsClient creates an instance of the PartitionLoadInformationsClient client.

func NewPartitionLoadInformationsClientWithBaseURI

func NewPartitionLoadInformationsClientWithBaseURI(baseURI string, timeout *int32) PartitionLoadInformationsClient

NewPartitionLoadInformationsClientWithBaseURI creates an instance of the PartitionLoadInformationsClient client.

func (PartitionLoadInformationsClient) Get

func (client PartitionLoadInformationsClient) Get(partitionID string) (result PartitionLoadInformation, err error)

Get get partition load informations

partitionID is the id of the partition

func (PartitionLoadInformationsClient) GetPreparer

func (client PartitionLoadInformationsClient) GetPreparer(partitionID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PartitionLoadInformationsClient) GetResponder

func (client PartitionLoadInformationsClient) GetResponder(resp *http.Response) (result PartitionLoadInformation, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (PartitionLoadInformationsClient) GetSender

func (client PartitionLoadInformationsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type PartitionLoadsClient

type PartitionLoadsClient struct {
	ManagementClient
}

PartitionLoadsClient is the client for the PartitionLoads methods of the Servicefabric service.

func NewPartitionLoadsClient

func NewPartitionLoadsClient(timeout *int32) PartitionLoadsClient

NewPartitionLoadsClient creates an instance of the PartitionLoadsClient client.

func NewPartitionLoadsClientWithBaseURI

func NewPartitionLoadsClientWithBaseURI(baseURI string, timeout *int32) PartitionLoadsClient

NewPartitionLoadsClientWithBaseURI creates an instance of the PartitionLoadsClient client.

func (PartitionLoadsClient) Reset

func (client PartitionLoadsClient) Reset(partitionID string) (result String, err error)

Reset reset partition loads

partitionID is the id of the partition

func (PartitionLoadsClient) ResetPreparer

func (client PartitionLoadsClient) ResetPreparer(partitionID string) (*http.Request, error)

ResetPreparer prepares the Reset request.

func (PartitionLoadsClient) ResetResponder

func (client PartitionLoadsClient) ResetResponder(resp *http.Response) (result String, err error)

ResetResponder handles the response to the Reset request. The method always closes the http.Response Body.

func (PartitionLoadsClient) ResetSender

func (client PartitionLoadsClient) ResetSender(req *http.Request) (*http.Response, error)

ResetSender sends the Reset request. The method will close the http.Response Body if it receives an error.

type PartitionScheme

type PartitionScheme string

PartitionScheme enumerates the values for partition scheme.

const (
	// PartitionSchemeInvalid specifies the partition scheme invalid state for partition scheme.
	PartitionSchemeInvalid PartitionScheme = "Invalid"
	// PartitionSchemeNamed specifies the partition scheme named state for partition scheme.
	PartitionSchemeNamed PartitionScheme = "Named"
	// PartitionSchemeSingleton specifies the partition scheme singleton state for partition scheme.
	PartitionSchemeSingleton PartitionScheme = "Singleton"
	// PartitionSchemeUniformInt64 specifies the partition scheme uniform int 64 state for partition scheme.
	PartitionSchemeUniformInt64 PartitionScheme = "UniformInt64"
)

type PartitionStatus

type PartitionStatus string

PartitionStatus enumerates the values for partition status.

const (
	// PartitionStatusDeleting specifies the partition status deleting state for partition status.
	PartitionStatusDeleting PartitionStatus = "Deleting"
	// PartitionStatusInQuorumLoss specifies the partition status in quorum loss state for partition status.
	PartitionStatusInQuorumLoss PartitionStatus = "InQuorumLoss"
	// PartitionStatusInvalid specifies the partition status invalid state for partition status.
	PartitionStatusInvalid PartitionStatus = "Invalid"
	// PartitionStatusNotReady specifies the partition status not ready state for partition status.
	PartitionStatusNotReady PartitionStatus = "NotReady"
	// PartitionStatusReady specifies the partition status ready state for partition status.
	PartitionStatusReady PartitionStatus = "Ready"
	// PartitionStatusReconfiguring specifies the partition status reconfiguring state for partition status.
	PartitionStatusReconfiguring PartitionStatus = "Reconfiguring"
)

type PartitionsClient

type PartitionsClient struct {
	ManagementClient
}

PartitionsClient is the client for the Partitions methods of the Servicefabric service.

func NewPartitionsClient

func NewPartitionsClient(timeout *int32) PartitionsClient

NewPartitionsClient creates an instance of the PartitionsClient client.

func NewPartitionsClientWithBaseURI

func NewPartitionsClientWithBaseURI(baseURI string, timeout *int32) PartitionsClient

NewPartitionsClientWithBaseURI creates an instance of the PartitionsClient client.

func (PartitionsClient) Get

func (client PartitionsClient) Get(serviceName string, partitionID string) (result Partition, err error)

Get get partitions

serviceName is the name of the service partitionID is the id of the partition

func (PartitionsClient) GetPreparer

func (client PartitionsClient) GetPreparer(serviceName string, partitionID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (PartitionsClient) GetResponder

func (client PartitionsClient) GetResponder(resp *http.Response) (result Partition, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (PartitionsClient) GetSender

func (client PartitionsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (PartitionsClient) List

func (client PartitionsClient) List(serviceName string) (result PartitionList, err error)

List list partitions

serviceName is the name of the service

func (PartitionsClient) ListPreparer

func (client PartitionsClient) ListPreparer(serviceName string) (*http.Request, error)

ListPreparer prepares the List request.

func (PartitionsClient) ListResponder

func (client PartitionsClient) ListResponder(resp *http.Response) (result PartitionList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (PartitionsClient) ListSender

func (client PartitionsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (PartitionsClient) Repair

func (client PartitionsClient) Repair(partitionID string) (result String, err error)

Repair repair partitions

partitionID is the id of the partition

func (PartitionsClient) RepairPreparer

func (client PartitionsClient) RepairPreparer(partitionID string) (*http.Request, error)

RepairPreparer prepares the Repair request.

func (PartitionsClient) RepairResponder

func (client PartitionsClient) RepairResponder(resp *http.Response) (result String, err error)

RepairResponder handles the response to the Repair request. The method always closes the http.Response Body.

func (PartitionsClient) RepairSender

func (client PartitionsClient) RepairSender(req *http.Request) (*http.Response, error)

RepairSender sends the Repair request. The method will close the http.Response Body if it receives an error.

type PartitionsHealthEvaluation

type PartitionsHealthEvaluation struct {
	Description                             *string                `json:"Description,omitempty"`
	AggregatedHealthState                   AggregatedHealthState  `json:"AggregatedHealthState,omitempty"`
	Kind                                    Kind                   `json:"Kind,omitempty"`
	UnhealthyEvaluations                    *[]UnhealthyEvaluation `json:"UnhealthyEvaluations,omitempty"`
	TotalCount                              *int32                 `json:"TotalCount,omitempty"`
	MaxPercentUnhealthyPartitionsPerService *int32                 `json:"MaxPercentUnhealthyPartitionsPerService,omitempty"`
}

PartitionsHealthEvaluation is the evaluation of the partitions health

func (PartitionsHealthEvaluation) AsApplicationHealthEvaluation

func (phe PartitionsHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)

AsApplicationHealthEvaluation is the HealthEvaluation implementation for PartitionsHealthEvaluation.

func (PartitionsHealthEvaluation) AsApplicationTypeHealthEvaluation

func (phe PartitionsHealthEvaluation) AsApplicationTypeHealthEvaluation() (*ApplicationTypeHealthEvaluation, bool)

AsApplicationTypeHealthEvaluation is the HealthEvaluation implementation for PartitionsHealthEvaluation.

func (PartitionsHealthEvaluation) AsApplicationsHealthEvaluation

func (phe PartitionsHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)

AsApplicationsHealthEvaluation is the HealthEvaluation implementation for PartitionsHealthEvaluation.

func (PartitionsHealthEvaluation) AsDeltaNodesCheckHealthEvaluation

func (phe PartitionsHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)

AsDeltaNodesCheckHealthEvaluation is the HealthEvaluation implementation for PartitionsHealthEvaluation.

func (PartitionsHealthEvaluation) AsDeployedApplicationHealthEvaluation

func (phe PartitionsHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)

AsDeployedApplicationHealthEvaluation is the HealthEvaluation implementation for PartitionsHealthEvaluation.

func (PartitionsHealthEvaluation) AsDeployedApplicationsHealthEvaluation

func (phe PartitionsHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)

AsDeployedApplicationsHealthEvaluation is the HealthEvaluation implementation for PartitionsHealthEvaluation.

func (PartitionsHealthEvaluation) AsDeployedServicePackageHealthEvaluation

func (phe PartitionsHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)

AsDeployedServicePackageHealthEvaluation is the HealthEvaluation implementation for PartitionsHealthEvaluation.

func (PartitionsHealthEvaluation) AsDeployedServicePackagesHealthEvaluation

func (phe PartitionsHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)

AsDeployedServicePackagesHealthEvaluation is the HealthEvaluation implementation for PartitionsHealthEvaluation.

func (PartitionsHealthEvaluation) AsEventHealthEvaluation

func (phe PartitionsHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)

AsEventHealthEvaluation is the HealthEvaluation implementation for PartitionsHealthEvaluation.

func (PartitionsHealthEvaluation) AsNodeHealthEvaluation

func (phe PartitionsHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)

AsNodeHealthEvaluation is the HealthEvaluation implementation for PartitionsHealthEvaluation.

func (PartitionsHealthEvaluation) AsNodesHealthEvaluation

func (phe PartitionsHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)

AsNodesHealthEvaluation is the HealthEvaluation implementation for PartitionsHealthEvaluation.

func (PartitionsHealthEvaluation) AsPartitionHealthEvaluation

func (phe PartitionsHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)

AsPartitionHealthEvaluation is the HealthEvaluation implementation for PartitionsHealthEvaluation.

func (PartitionsHealthEvaluation) AsPartitionsHealthEvaluation

func (phe PartitionsHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)

AsPartitionsHealthEvaluation is the HealthEvaluation implementation for PartitionsHealthEvaluation.

func (PartitionsHealthEvaluation) AsReplicaHealthEvaluation

func (phe PartitionsHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)

AsReplicaHealthEvaluation is the HealthEvaluation implementation for PartitionsHealthEvaluation.

func (PartitionsHealthEvaluation) AsReplicasHealthEvaluation

func (phe PartitionsHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)

AsReplicasHealthEvaluation is the HealthEvaluation implementation for PartitionsHealthEvaluation.

func (PartitionsHealthEvaluation) AsServiceHealthEvaluation

func (phe PartitionsHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)

AsServiceHealthEvaluation is the HealthEvaluation implementation for PartitionsHealthEvaluation.

func (PartitionsHealthEvaluation) AsServicesHealthEvaluation

func (phe PartitionsHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)

AsServicesHealthEvaluation is the HealthEvaluation implementation for PartitionsHealthEvaluation.

func (PartitionsHealthEvaluation) AsSystemApplicationHealthEvaluation

func (phe PartitionsHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)

AsSystemApplicationHealthEvaluation is the HealthEvaluation implementation for PartitionsHealthEvaluation.

func (PartitionsHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation

func (phe PartitionsHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)

AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the HealthEvaluation implementation for PartitionsHealthEvaluation.

func (PartitionsHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation

func (phe PartitionsHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation() (*UpgradeDomainDeployedApplicationsHealthEvaluation, bool)

AsUpgradeDomainDeployedApplicationsHealthEvaluation is the HealthEvaluation implementation for PartitionsHealthEvaluation.

func (PartitionsHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation

func (phe PartitionsHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)

AsUpgradeDomainNodesHealthEvaluation is the HealthEvaluation implementation for PartitionsHealthEvaluation.

func (PartitionsHealthEvaluation) MarshalJSON

func (phe PartitionsHealthEvaluation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PartitionsHealthEvaluation.

type RegisterApplicationType

type RegisterApplicationType struct {
	ApplicationTypeBuildPath *string `json:"ApplicationTypeBuildPath,omitempty"`
}

RegisterApplicationType is the type of the register application

type RegisterClusterPackage

type RegisterClusterPackage struct {
	CodeFilePath            *string `json:"CodeFilePath,omitempty"`
	ClusterManifestFilePath *string `json:"ClusterManifestFilePath,omitempty"`
}

RegisterClusterPackage is the package of the register cluster

type Replica

type Replica struct {
	autorest.Response            `json:"-"`
	ServiceKind                  ServiceKind   `json:"ServiceKind,omitempty"`
	InstanceID                   *string       `json:"InstanceId,omitempty"`
	ReplicaID                    *string       `json:"ReplicaId,omitempty"`
	ReplicaRole                  ReplicaRole   `json:"ReplicaRole,omitempty"`
	ReplicaStatus                ReplicaStatus `json:"ReplicaStatus,omitempty"`
	HealthState                  HealthState   `json:"HealthState,omitempty"`
	Address                      *string       `json:"Address,omitempty"`
	NodeName                     *string       `json:"NodeName,omitempty"`
	LastInBuildDurationInSeconds *string       `json:"LastInBuildDurationInSeconds,omitempty"`
}

Replica is the replica

type ReplicaHealth

type ReplicaHealth struct {
	autorest.Response     `json:"-"`
	ServiceKind           ServiceKind           `json:"ServiceKind,omitempty"`
	PartitionID           *string               `json:"PartitionId,omitempty"`
	ReplicaID             *string               `json:"ReplicaId,omitempty"`
	HealthEvents          *[]HealthEvent        `json:"HealthEvents,omitempty"`
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
}

ReplicaHealth is the health of the replica

type ReplicaHealthEvaluation

type ReplicaHealthEvaluation struct {
	Description           *string                `json:"Description,omitempty"`
	AggregatedHealthState AggregatedHealthState  `json:"AggregatedHealthState,omitempty"`
	Kind                  Kind                   `json:"Kind,omitempty"`
	PartitionID           *string                `json:"PartitionId,omitempty"`
	ReplicaOrInstanceID   *string                `json:"ReplicaOrInstanceId,omitempty"`
	UnhealthyEvaluations  *[]UnhealthyEvaluation `json:"UnhealthyEvaluations,omitempty"`
}

ReplicaHealthEvaluation is the evaluation of the replica health

func (ReplicaHealthEvaluation) AsApplicationHealthEvaluation

func (rhe ReplicaHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)

AsApplicationHealthEvaluation is the HealthEvaluation implementation for ReplicaHealthEvaluation.

func (ReplicaHealthEvaluation) AsApplicationTypeHealthEvaluation

func (rhe ReplicaHealthEvaluation) AsApplicationTypeHealthEvaluation() (*ApplicationTypeHealthEvaluation, bool)

AsApplicationTypeHealthEvaluation is the HealthEvaluation implementation for ReplicaHealthEvaluation.

func (ReplicaHealthEvaluation) AsApplicationsHealthEvaluation

func (rhe ReplicaHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)

AsApplicationsHealthEvaluation is the HealthEvaluation implementation for ReplicaHealthEvaluation.

func (ReplicaHealthEvaluation) AsDeltaNodesCheckHealthEvaluation

func (rhe ReplicaHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)

AsDeltaNodesCheckHealthEvaluation is the HealthEvaluation implementation for ReplicaHealthEvaluation.

func (ReplicaHealthEvaluation) AsDeployedApplicationHealthEvaluation

func (rhe ReplicaHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)

AsDeployedApplicationHealthEvaluation is the HealthEvaluation implementation for ReplicaHealthEvaluation.

func (ReplicaHealthEvaluation) AsDeployedApplicationsHealthEvaluation

func (rhe ReplicaHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)

AsDeployedApplicationsHealthEvaluation is the HealthEvaluation implementation for ReplicaHealthEvaluation.

func (ReplicaHealthEvaluation) AsDeployedServicePackageHealthEvaluation

func (rhe ReplicaHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)

AsDeployedServicePackageHealthEvaluation is the HealthEvaluation implementation for ReplicaHealthEvaluation.

func (ReplicaHealthEvaluation) AsDeployedServicePackagesHealthEvaluation

func (rhe ReplicaHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)

AsDeployedServicePackagesHealthEvaluation is the HealthEvaluation implementation for ReplicaHealthEvaluation.

func (ReplicaHealthEvaluation) AsEventHealthEvaluation

func (rhe ReplicaHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)

AsEventHealthEvaluation is the HealthEvaluation implementation for ReplicaHealthEvaluation.

func (ReplicaHealthEvaluation) AsNodeHealthEvaluation

func (rhe ReplicaHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)

AsNodeHealthEvaluation is the HealthEvaluation implementation for ReplicaHealthEvaluation.

func (ReplicaHealthEvaluation) AsNodesHealthEvaluation

func (rhe ReplicaHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)

AsNodesHealthEvaluation is the HealthEvaluation implementation for ReplicaHealthEvaluation.

func (ReplicaHealthEvaluation) AsPartitionHealthEvaluation

func (rhe ReplicaHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)

AsPartitionHealthEvaluation is the HealthEvaluation implementation for ReplicaHealthEvaluation.

func (ReplicaHealthEvaluation) AsPartitionsHealthEvaluation

func (rhe ReplicaHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)

AsPartitionsHealthEvaluation is the HealthEvaluation implementation for ReplicaHealthEvaluation.

func (ReplicaHealthEvaluation) AsReplicaHealthEvaluation

func (rhe ReplicaHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)

AsReplicaHealthEvaluation is the HealthEvaluation implementation for ReplicaHealthEvaluation.

func (ReplicaHealthEvaluation) AsReplicasHealthEvaluation

func (rhe ReplicaHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)

AsReplicasHealthEvaluation is the HealthEvaluation implementation for ReplicaHealthEvaluation.

func (ReplicaHealthEvaluation) AsServiceHealthEvaluation

func (rhe ReplicaHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)

AsServiceHealthEvaluation is the HealthEvaluation implementation for ReplicaHealthEvaluation.

func (ReplicaHealthEvaluation) AsServicesHealthEvaluation

func (rhe ReplicaHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)

AsServicesHealthEvaluation is the HealthEvaluation implementation for ReplicaHealthEvaluation.

func (ReplicaHealthEvaluation) AsSystemApplicationHealthEvaluation

func (rhe ReplicaHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)

AsSystemApplicationHealthEvaluation is the HealthEvaluation implementation for ReplicaHealthEvaluation.

func (ReplicaHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation

func (rhe ReplicaHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)

AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the HealthEvaluation implementation for ReplicaHealthEvaluation.

func (ReplicaHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation

func (rhe ReplicaHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation() (*UpgradeDomainDeployedApplicationsHealthEvaluation, bool)

AsUpgradeDomainDeployedApplicationsHealthEvaluation is the HealthEvaluation implementation for ReplicaHealthEvaluation.

func (ReplicaHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation

func (rhe ReplicaHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)

AsUpgradeDomainNodesHealthEvaluation is the HealthEvaluation implementation for ReplicaHealthEvaluation.

func (ReplicaHealthEvaluation) MarshalJSON

func (rhe ReplicaHealthEvaluation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ReplicaHealthEvaluation.

type ReplicaHealthReport

type ReplicaHealthReport struct {
	SourceID                 *string     `json:"SourceId,omitempty"`
	Property                 *string     `json:"Property,omitempty"`
	HealthState              HealthState `json:"HealthState,omitempty"`
	Description              *string     `json:"Description,omitempty"`
	TimeToLiveInMilliSeconds *string     `json:"TimeToLiveInMilliSeconds,omitempty"`
	SequenceNumber           *string     `json:"SequenceNumber,omitempty"`
	RemoveWhenExpired        *bool       `json:"RemoveWhenExpired,omitempty"`
}

ReplicaHealthReport is the report of the replica health

type ReplicaHealthsClient

type ReplicaHealthsClient struct {
	ManagementClient
}

ReplicaHealthsClient is the client for the ReplicaHealths methods of the Servicefabric service.

func NewReplicaHealthsClient

func NewReplicaHealthsClient(timeout *int32) ReplicaHealthsClient

NewReplicaHealthsClient creates an instance of the ReplicaHealthsClient client.

func NewReplicaHealthsClientWithBaseURI

func NewReplicaHealthsClientWithBaseURI(baseURI string, timeout *int32) ReplicaHealthsClient

NewReplicaHealthsClientWithBaseURI creates an instance of the ReplicaHealthsClient client.

func (ReplicaHealthsClient) Get

func (client ReplicaHealthsClient) Get(partitionID string, replicaID string, eventsHealthStateFilter string) (result ReplicaHealth, err error)

Get get replica healths

partitionID is the id of the partition replicaID is the id of the replica eventsHealthStateFilter is the filter of the events health state

func (ReplicaHealthsClient) GetPreparer

func (client ReplicaHealthsClient) GetPreparer(partitionID string, replicaID string, eventsHealthStateFilter string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ReplicaHealthsClient) GetResponder

func (client ReplicaHealthsClient) GetResponder(resp *http.Response) (result ReplicaHealth, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ReplicaHealthsClient) GetSender

func (client ReplicaHealthsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ReplicaHealthsClient) Send

func (client ReplicaHealthsClient) Send(partitionID string, replicaID string, replicaHealthReport ReplicaHealthReport) (result String, err error)

Send send replica healths

partitionID is the id of the partition replicaID is the id of the replica replicaHealthReport is the report of the replica health

func (ReplicaHealthsClient) SendPreparer

func (client ReplicaHealthsClient) SendPreparer(partitionID string, replicaID string, replicaHealthReport ReplicaHealthReport) (*http.Request, error)

SendPreparer prepares the Send request.

func (ReplicaHealthsClient) SendResponder

func (client ReplicaHealthsClient) SendResponder(resp *http.Response) (result String, err error)

SendResponder handles the response to the Send request. The method always closes the http.Response Body.

func (ReplicaHealthsClient) SendSender

func (client ReplicaHealthsClient) SendSender(req *http.Request) (*http.Response, error)

SendSender sends the Send request. The method will close the http.Response Body if it receives an error.

type ReplicaList

type ReplicaList struct {
	autorest.Response `json:"-"`
	ContinuationToken *string    `json:"ContinuationToken,omitempty"`
	Items             *[]Replica `json:"Items,omitempty"`
}

ReplicaList is the list of the replica

type ReplicaLoadInformation

type ReplicaLoadInformation struct {
	autorest.Response   `json:"-"`
	PartitionID         *string   `json:"PartitionId,omitempty"`
	ReplicaOrInstanceID *string   `json:"ReplicaOrInstanceId,omitempty"`
	ReportedLoad        *[]string `json:"ReportedLoad,omitempty"`
}

ReplicaLoadInformation is the information of the replica load

type ReplicaLoadInformationsClient

type ReplicaLoadInformationsClient struct {
	ManagementClient
}

ReplicaLoadInformationsClient is the client for the ReplicaLoadInformations methods of the Servicefabric service.

func NewReplicaLoadInformationsClient

func NewReplicaLoadInformationsClient(timeout *int32) ReplicaLoadInformationsClient

NewReplicaLoadInformationsClient creates an instance of the ReplicaLoadInformationsClient client.

func NewReplicaLoadInformationsClientWithBaseURI

func NewReplicaLoadInformationsClientWithBaseURI(baseURI string, timeout *int32) ReplicaLoadInformationsClient

NewReplicaLoadInformationsClientWithBaseURI creates an instance of the ReplicaLoadInformationsClient client.

func (ReplicaLoadInformationsClient) Get

func (client ReplicaLoadInformationsClient) Get(partitionID string, replicaID string) (result ReplicaLoadInformation, err error)

Get get replica load informations

partitionID is the id of the partition replicaID is the id of the replica

func (ReplicaLoadInformationsClient) GetPreparer

func (client ReplicaLoadInformationsClient) GetPreparer(partitionID string, replicaID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ReplicaLoadInformationsClient) GetResponder

func (client ReplicaLoadInformationsClient) GetResponder(resp *http.Response) (result ReplicaLoadInformation, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ReplicaLoadInformationsClient) GetSender

func (client ReplicaLoadInformationsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type ReplicaRole

type ReplicaRole string

ReplicaRole enumerates the values for replica role.

const (
	// ReplicaRoleActiveSecondary specifies the replica role active secondary state for replica role.
	ReplicaRoleActiveSecondary ReplicaRole = "ActiveSecondary"
	// ReplicaRoleIdleSecondary specifies the replica role idle secondary state for replica role.
	ReplicaRoleIdleSecondary ReplicaRole = "IdleSecondary"
	// ReplicaRoleInvalid specifies the replica role invalid state for replica role.
	ReplicaRoleInvalid ReplicaRole = "Invalid"
	// ReplicaRoleNone specifies the replica role none state for replica role.
	ReplicaRoleNone ReplicaRole = "None"
	// ReplicaRolePrimary specifies the replica role primary state for replica role.
	ReplicaRolePrimary ReplicaRole = "Primary"
)

type ReplicaRole1

type ReplicaRole1 string

ReplicaRole1 enumerates the values for replica role 1.

const (
	// ReplicaRole1ActiveSecondary specifies the replica role 1 active secondary state for replica role 1.
	ReplicaRole1ActiveSecondary ReplicaRole1 = "ActiveSecondary"
	// ReplicaRole1IdleSecondary specifies the replica role 1 idle secondary state for replica role 1.
	ReplicaRole1IdleSecondary ReplicaRole1 = "IdleSecondary"
	// ReplicaRole1Invalid specifies the replica role 1 invalid state for replica role 1.
	ReplicaRole1Invalid ReplicaRole1 = "Invalid"
	// ReplicaRole1None specifies the replica role 1 none state for replica role 1.
	ReplicaRole1None ReplicaRole1 = "None"
	// ReplicaRole1Primary specifies the replica role 1 primary state for replica role 1.
	ReplicaRole1Primary ReplicaRole1 = "Primary"
)

type ReplicaStatus

type ReplicaStatus string

ReplicaStatus enumerates the values for replica status.

const (
	// ReplicaStatusDown specifies the replica status down state for replica status.
	ReplicaStatusDown ReplicaStatus = "Down"
	// ReplicaStatusDropped specifies the replica status dropped state for replica status.
	ReplicaStatusDropped ReplicaStatus = "Dropped"
	// ReplicaStatusInBuild specifies the replica status in build state for replica status.
	ReplicaStatusInBuild ReplicaStatus = "InBuild"
	// ReplicaStatusInvalid specifies the replica status invalid state for replica status.
	ReplicaStatusInvalid ReplicaStatus = "Invalid"
	// ReplicaStatusReady specifies the replica status ready state for replica status.
	ReplicaStatusReady ReplicaStatus = "Ready"
	// ReplicaStatusStandby specifies the replica status standby state for replica status.
	ReplicaStatusStandby ReplicaStatus = "Standby"
)

type ReplicaStatus1

type ReplicaStatus1 string

ReplicaStatus1 enumerates the values for replica status 1.

const (
	// ReplicaStatus1Down specifies the replica status 1 down state for replica status 1.
	ReplicaStatus1Down ReplicaStatus1 = "Down"
	// ReplicaStatus1Dropped specifies the replica status 1 dropped state for replica status 1.
	ReplicaStatus1Dropped ReplicaStatus1 = "Dropped"
	// ReplicaStatus1InBuild specifies the replica status 1 in build state for replica status 1.
	ReplicaStatus1InBuild ReplicaStatus1 = "InBuild"
	// ReplicaStatus1Invalid specifies the replica status 1 invalid state for replica status 1.
	ReplicaStatus1Invalid ReplicaStatus1 = "Invalid"
	// ReplicaStatus1Ready specifies the replica status 1 ready state for replica status 1.
	ReplicaStatus1Ready ReplicaStatus1 = "Ready"
	// ReplicaStatus1Standby specifies the replica status 1 standby state for replica status 1.
	ReplicaStatus1Standby ReplicaStatus1 = "Standby"
)

type ReplicasClient

type ReplicasClient struct {
	ManagementClient
}

ReplicasClient is the client for the Replicas methods of the Servicefabric service.

func NewReplicasClient

func NewReplicasClient(timeout *int32) ReplicasClient

NewReplicasClient creates an instance of the ReplicasClient client.

func NewReplicasClientWithBaseURI

func NewReplicasClientWithBaseURI(baseURI string, timeout *int32) ReplicasClient

NewReplicasClientWithBaseURI creates an instance of the ReplicasClient client.

func (ReplicasClient) Get

func (client ReplicasClient) Get(partitionID string, replicaID string) (result Replica, err error)

Get get replicas

partitionID is the id of the partition replicaID is the id of the replica

func (ReplicasClient) GetPreparer

func (client ReplicasClient) GetPreparer(partitionID string, replicaID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ReplicasClient) GetResponder

func (client ReplicasClient) GetResponder(resp *http.Response) (result Replica, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ReplicasClient) GetSender

func (client ReplicasClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ReplicasClient) List

func (client ReplicasClient) List(partitionID string) (result ReplicaList, err error)

List list replicas

partitionID is the id of the partition

func (ReplicasClient) ListPreparer

func (client ReplicasClient) ListPreparer(partitionID string) (*http.Request, error)

ListPreparer prepares the List request.

func (ReplicasClient) ListResponder

func (client ReplicasClient) ListResponder(resp *http.Response) (result ReplicaList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ReplicasClient) ListSender

func (client ReplicasClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ReplicasHealthEvaluation

type ReplicasHealthEvaluation struct {
	Description                             *string                `json:"Description,omitempty"`
	AggregatedHealthState                   AggregatedHealthState  `json:"AggregatedHealthState,omitempty"`
	Kind                                    Kind                   `json:"Kind,omitempty"`
	UnhealthyEvaluations                    *[]UnhealthyEvaluation `json:"UnhealthyEvaluations,omitempty"`
	TotalCount                              *int32                 `json:"TotalCount,omitempty"`
	MaxPercentUnhealthyPartitionsPerService *int32                 `json:"MaxPercentUnhealthyPartitionsPerService,omitempty"`
}

ReplicasHealthEvaluation is the evaluation of the replicas health

func (ReplicasHealthEvaluation) AsApplicationHealthEvaluation

func (rhe ReplicasHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)

AsApplicationHealthEvaluation is the HealthEvaluation implementation for ReplicasHealthEvaluation.

func (ReplicasHealthEvaluation) AsApplicationTypeHealthEvaluation

func (rhe ReplicasHealthEvaluation) AsApplicationTypeHealthEvaluation() (*ApplicationTypeHealthEvaluation, bool)

AsApplicationTypeHealthEvaluation is the HealthEvaluation implementation for ReplicasHealthEvaluation.

func (ReplicasHealthEvaluation) AsApplicationsHealthEvaluation

func (rhe ReplicasHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)

AsApplicationsHealthEvaluation is the HealthEvaluation implementation for ReplicasHealthEvaluation.

func (ReplicasHealthEvaluation) AsDeltaNodesCheckHealthEvaluation

func (rhe ReplicasHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)

AsDeltaNodesCheckHealthEvaluation is the HealthEvaluation implementation for ReplicasHealthEvaluation.

func (ReplicasHealthEvaluation) AsDeployedApplicationHealthEvaluation

func (rhe ReplicasHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)

AsDeployedApplicationHealthEvaluation is the HealthEvaluation implementation for ReplicasHealthEvaluation.

func (ReplicasHealthEvaluation) AsDeployedApplicationsHealthEvaluation

func (rhe ReplicasHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)

AsDeployedApplicationsHealthEvaluation is the HealthEvaluation implementation for ReplicasHealthEvaluation.

func (ReplicasHealthEvaluation) AsDeployedServicePackageHealthEvaluation

func (rhe ReplicasHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)

AsDeployedServicePackageHealthEvaluation is the HealthEvaluation implementation for ReplicasHealthEvaluation.

func (ReplicasHealthEvaluation) AsDeployedServicePackagesHealthEvaluation

func (rhe ReplicasHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)

AsDeployedServicePackagesHealthEvaluation is the HealthEvaluation implementation for ReplicasHealthEvaluation.

func (ReplicasHealthEvaluation) AsEventHealthEvaluation

func (rhe ReplicasHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)

AsEventHealthEvaluation is the HealthEvaluation implementation for ReplicasHealthEvaluation.

func (ReplicasHealthEvaluation) AsNodeHealthEvaluation

func (rhe ReplicasHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)

AsNodeHealthEvaluation is the HealthEvaluation implementation for ReplicasHealthEvaluation.

func (ReplicasHealthEvaluation) AsNodesHealthEvaluation

func (rhe ReplicasHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)

AsNodesHealthEvaluation is the HealthEvaluation implementation for ReplicasHealthEvaluation.

func (ReplicasHealthEvaluation) AsPartitionHealthEvaluation

func (rhe ReplicasHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)

AsPartitionHealthEvaluation is the HealthEvaluation implementation for ReplicasHealthEvaluation.

func (ReplicasHealthEvaluation) AsPartitionsHealthEvaluation

func (rhe ReplicasHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)

AsPartitionsHealthEvaluation is the HealthEvaluation implementation for ReplicasHealthEvaluation.

func (ReplicasHealthEvaluation) AsReplicaHealthEvaluation

func (rhe ReplicasHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)

AsReplicaHealthEvaluation is the HealthEvaluation implementation for ReplicasHealthEvaluation.

func (ReplicasHealthEvaluation) AsReplicasHealthEvaluation

func (rhe ReplicasHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)

AsReplicasHealthEvaluation is the HealthEvaluation implementation for ReplicasHealthEvaluation.

func (ReplicasHealthEvaluation) AsServiceHealthEvaluation

func (rhe ReplicasHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)

AsServiceHealthEvaluation is the HealthEvaluation implementation for ReplicasHealthEvaluation.

func (ReplicasHealthEvaluation) AsServicesHealthEvaluation

func (rhe ReplicasHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)

AsServicesHealthEvaluation is the HealthEvaluation implementation for ReplicasHealthEvaluation.

func (ReplicasHealthEvaluation) AsSystemApplicationHealthEvaluation

func (rhe ReplicasHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)

AsSystemApplicationHealthEvaluation is the HealthEvaluation implementation for ReplicasHealthEvaluation.

func (ReplicasHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation

func (rhe ReplicasHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)

AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the HealthEvaluation implementation for ReplicasHealthEvaluation.

func (ReplicasHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation

func (rhe ReplicasHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation() (*UpgradeDomainDeployedApplicationsHealthEvaluation, bool)

AsUpgradeDomainDeployedApplicationsHealthEvaluation is the HealthEvaluation implementation for ReplicasHealthEvaluation.

func (ReplicasHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation

func (rhe ReplicasHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)

AsUpgradeDomainNodesHealthEvaluation is the HealthEvaluation implementation for ReplicasHealthEvaluation.

func (ReplicasHealthEvaluation) MarshalJSON

func (rhe ReplicasHealthEvaluation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ReplicasHealthEvaluation.

type ResolvedServicePartition

type ResolvedServicePartition struct {
	autorest.Response    `json:"-"`
	Name                 *string                                  `json:"Name,omitempty"`
	PartitionInformation *PartitionInformation                    `json:"PartitionInformation,omitempty"`
	Endpoints            *[]ResolvedServicePartitionEndpointsItem `json:"Endpoints,omitempty"`
	Version              *string                                  `json:"Version,omitempty"`
}

ResolvedServicePartition is the partition of the resolved service

type ResolvedServicePartitionEndpointsItem

type ResolvedServicePartitionEndpointsItem struct {
	Kind    *int32  `json:"Kind,omitempty"`
	Address *string `json:"Address,omitempty"`
}

ResolvedServicePartitionEndpointsItem is the endpoints

type ResumeApplicationUpgrade

type ResumeApplicationUpgrade struct {
	UpgradeDomainName *string `json:"UpgradeDomainName,omitempty"`
}

ResumeApplicationUpgrade is the upgrade of the resume application

type ResumeClusterUpgrade

type ResumeClusterUpgrade struct {
	UpgradeDomain *string `json:"UpgradeDomain,omitempty"`
}

ResumeClusterUpgrade is the upgrade of the resume cluster

type RollingUpgradeMode

type RollingUpgradeMode string

RollingUpgradeMode enumerates the values for rolling upgrade mode.

const (
	// RollingUpgradeModeInvalid specifies the rolling upgrade mode invalid state for rolling upgrade mode.
	RollingUpgradeModeInvalid RollingUpgradeMode = "Invalid"
	// RollingUpgradeModeMonitored specifies the rolling upgrade mode monitored state for rolling upgrade mode.
	RollingUpgradeModeMonitored RollingUpgradeMode = "Monitored"
	// RollingUpgradeModeUnmonitoredAuto specifies the rolling upgrade mode unmonitored auto state for rolling upgrade
	// mode.
	RollingUpgradeModeUnmonitoredAuto RollingUpgradeMode = "UnmonitoredAuto"
	// RollingUpgradeModeUnmonitoredManual specifies the rolling upgrade mode unmonitored manual state for rolling upgrade
	// mode.
	RollingUpgradeModeUnmonitoredManual RollingUpgradeMode = "UnmonitoredManual"
)

type RollingUpgradeMode1

type RollingUpgradeMode1 string

RollingUpgradeMode1 enumerates the values for rolling upgrade mode 1.

const (
	// RollingUpgradeMode1Invalid specifies the rolling upgrade mode 1 invalid state for rolling upgrade mode 1.
	RollingUpgradeMode1Invalid RollingUpgradeMode1 = "Invalid"
	// RollingUpgradeMode1Monitored specifies the rolling upgrade mode 1 monitored state for rolling upgrade mode 1.
	RollingUpgradeMode1Monitored RollingUpgradeMode1 = "Monitored"
	// RollingUpgradeMode1UnmonitoredAuto specifies the rolling upgrade mode 1 unmonitored auto state for rolling upgrade
	// mode 1.
	RollingUpgradeMode1UnmonitoredAuto RollingUpgradeMode1 = "UnmonitoredAuto"
	// RollingUpgradeMode1UnmonitoredManual specifies the rolling upgrade mode 1 unmonitored manual state for rolling
	// upgrade mode 1.
	RollingUpgradeMode1UnmonitoredManual RollingUpgradeMode1 = "UnmonitoredManual"
)

type RollingUpgradeMode2

type RollingUpgradeMode2 string

RollingUpgradeMode2 enumerates the values for rolling upgrade mode 2.

const (
	// RollingUpgradeMode2Invalid specifies the rolling upgrade mode 2 invalid state for rolling upgrade mode 2.
	RollingUpgradeMode2Invalid RollingUpgradeMode2 = "Invalid"
	// RollingUpgradeMode2Monitored specifies the rolling upgrade mode 2 monitored state for rolling upgrade mode 2.
	RollingUpgradeMode2Monitored RollingUpgradeMode2 = "Monitored"
	// RollingUpgradeMode2UnmonitoredAuto specifies the rolling upgrade mode 2 unmonitored auto state for rolling upgrade
	// mode 2.
	RollingUpgradeMode2UnmonitoredAuto RollingUpgradeMode2 = "UnmonitoredAuto"
	// RollingUpgradeMode2UnmonitoredManual specifies the rolling upgrade mode 2 unmonitored manual state for rolling
	// upgrade mode 2.
	RollingUpgradeMode2UnmonitoredManual RollingUpgradeMode2 = "UnmonitoredManual"
)

type RollingUpgradeMode3

type RollingUpgradeMode3 string

RollingUpgradeMode3 enumerates the values for rolling upgrade mode 3.

const (
	// RollingUpgradeMode3Invalid specifies the rolling upgrade mode 3 invalid state for rolling upgrade mode 3.
	RollingUpgradeMode3Invalid RollingUpgradeMode3 = "Invalid"
	// RollingUpgradeMode3Monitored specifies the rolling upgrade mode 3 monitored state for rolling upgrade mode 3.
	RollingUpgradeMode3Monitored RollingUpgradeMode3 = "Monitored"
	// RollingUpgradeMode3UnmonitoredAuto specifies the rolling upgrade mode 3 unmonitored auto state for rolling upgrade
	// mode 3.
	RollingUpgradeMode3UnmonitoredAuto RollingUpgradeMode3 = "UnmonitoredAuto"
	// RollingUpgradeMode3UnmonitoredManual specifies the rolling upgrade mode 3 unmonitored manual state for rolling
	// upgrade mode 3.
	RollingUpgradeMode3UnmonitoredManual RollingUpgradeMode3 = "UnmonitoredManual"
)

type RollingUpgradeMode4

type RollingUpgradeMode4 string

RollingUpgradeMode4 enumerates the values for rolling upgrade mode 4.

const (
	// RollingUpgradeMode4Invalid specifies the rolling upgrade mode 4 invalid state for rolling upgrade mode 4.
	RollingUpgradeMode4Invalid RollingUpgradeMode4 = "Invalid"
	// RollingUpgradeMode4Monitored specifies the rolling upgrade mode 4 monitored state for rolling upgrade mode 4.
	RollingUpgradeMode4Monitored RollingUpgradeMode4 = "Monitored"
	// RollingUpgradeMode4UnmonitoredAuto specifies the rolling upgrade mode 4 unmonitored auto state for rolling upgrade
	// mode 4.
	RollingUpgradeMode4UnmonitoredAuto RollingUpgradeMode4 = "UnmonitoredAuto"
	// RollingUpgradeMode4UnmonitoredManual specifies the rolling upgrade mode 4 unmonitored manual state for rolling
	// upgrade mode 4.
	RollingUpgradeMode4UnmonitoredManual RollingUpgradeMode4 = "UnmonitoredManual"
)

type RollingUpgradeMode5

type RollingUpgradeMode5 string

RollingUpgradeMode5 enumerates the values for rolling upgrade mode 5.

const (
	// RollingUpgradeMode5Invalid specifies the rolling upgrade mode 5 invalid state for rolling upgrade mode 5.
	RollingUpgradeMode5Invalid RollingUpgradeMode5 = "Invalid"
	// RollingUpgradeMode5Monitored specifies the rolling upgrade mode 5 monitored state for rolling upgrade mode 5.
	RollingUpgradeMode5Monitored RollingUpgradeMode5 = "Monitored"
	// RollingUpgradeMode5UnmonitoredAuto specifies the rolling upgrade mode 5 unmonitored auto state for rolling upgrade
	// mode 5.
	RollingUpgradeMode5UnmonitoredAuto RollingUpgradeMode5 = "UnmonitoredAuto"
	// RollingUpgradeMode5UnmonitoredManual specifies the rolling upgrade mode 5 unmonitored manual state for rolling
	// upgrade mode 5.
	RollingUpgradeMode5UnmonitoredManual RollingUpgradeMode5 = "UnmonitoredManual"
)

type Service

type Service struct {
	autorest.Response `json:"-"`
	ID                *string       `json:"Id,omitempty"`
	ServiceKind       ServiceKind   `json:"ServiceKind,omitempty"`
	Name              *string       `json:"Name,omitempty"`
	TypeName          *string       `json:"TypeName,omitempty"`
	ManifestVersion   *string       `json:"ManifestVersion,omitempty"`
	HasPersistedState *bool         `json:"HasPersistedState,omitempty"`
	HealthState       HealthState   `json:"HealthState,omitempty"`
	ServiceStatus     ServiceStatus `json:"ServiceStatus,omitempty"`
	IsServiceGroup    *bool         `json:"IsServiceGroup,omitempty"`
}

Service is the service

type ServiceCorrelationDescription

type ServiceCorrelationDescription struct {
	ServiceName              *string                  `json:"ServiceName,omitempty"`
	ServiceCorrelationScheme ServiceCorrelationScheme `json:"ServiceCorrelationScheme,omitempty"`
}

ServiceCorrelationDescription is the description of the service correlation

type ServiceCorrelationScheme

type ServiceCorrelationScheme string

ServiceCorrelationScheme enumerates the values for service correlation scheme.

const (
	// ServiceCorrelationSchemeAffinity specifies the service correlation scheme affinity state for service correlation
	// scheme.
	ServiceCorrelationSchemeAffinity ServiceCorrelationScheme = "Affinity"
	// ServiceCorrelationSchemeAlignedAffinity specifies the service correlation scheme aligned affinity state for service
	// correlation scheme.
	ServiceCorrelationSchemeAlignedAffinity ServiceCorrelationScheme = "AlignedAffinity"
	// ServiceCorrelationSchemeInvalid specifies the service correlation scheme invalid state for service correlation
	// scheme.
	ServiceCorrelationSchemeInvalid ServiceCorrelationScheme = "Invalid"
	// ServiceCorrelationSchemeNonAlignedAffinity specifies the service correlation scheme non aligned affinity state for
	// service correlation scheme.
	ServiceCorrelationSchemeNonAlignedAffinity ServiceCorrelationScheme = "NonAlignedAffinity"
)

type ServiceDescription

type ServiceDescription interface {
	AsStatelessServiceDescription() (*StatelessServiceDescription, bool)
	AsStatefulServiceDescription() (*StatefulServiceDescription, bool)
}

ServiceDescription is the description of the service

type ServiceDescriptionModel

type ServiceDescriptionModel struct {
	autorest.Response `json:"-"`
	Value             ServiceDescription `json:"value,omitempty"`
}

ServiceDescriptionModel is

func (*ServiceDescriptionModel) UnmarshalJSON

func (sdm *ServiceDescriptionModel) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ServiceDescriptionModel struct.

type ServiceDescriptionTemplate

type ServiceDescriptionTemplate struct {
	ServiceName     *string `json:"ServiceName,omitempty"`
	ServiceTypeName *string `json:"ServiceTypeName,omitempty"`
}

ServiceDescriptionTemplate is the template of the service description

type ServiceDescriptionsClient

type ServiceDescriptionsClient struct {
	ManagementClient
}

ServiceDescriptionsClient is the client for the ServiceDescriptions methods of the Servicefabric service.

func NewServiceDescriptionsClient

func NewServiceDescriptionsClient(timeout *int32) ServiceDescriptionsClient

NewServiceDescriptionsClient creates an instance of the ServiceDescriptionsClient client.

func NewServiceDescriptionsClientWithBaseURI

func NewServiceDescriptionsClientWithBaseURI(baseURI string, timeout *int32) ServiceDescriptionsClient

NewServiceDescriptionsClientWithBaseURI creates an instance of the ServiceDescriptionsClient client.

func (ServiceDescriptionsClient) Get

func (client ServiceDescriptionsClient) Get(serviceName string) (result ServiceDescriptionModel, err error)

Get get service descriptions

serviceName is the name of the service

func (ServiceDescriptionsClient) GetPreparer

func (client ServiceDescriptionsClient) GetPreparer(serviceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ServiceDescriptionsClient) GetResponder

func (client ServiceDescriptionsClient) GetResponder(resp *http.Response) (result ServiceDescriptionModel, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ServiceDescriptionsClient) GetSender

func (client ServiceDescriptionsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type ServiceFromTemplatesClient

type ServiceFromTemplatesClient struct {
	ManagementClient
}

ServiceFromTemplatesClient is the client for the ServiceFromTemplates methods of the Servicefabric service.

func NewServiceFromTemplatesClient

func NewServiceFromTemplatesClient(timeout *int32) ServiceFromTemplatesClient

NewServiceFromTemplatesClient creates an instance of the ServiceFromTemplatesClient client.

func NewServiceFromTemplatesClientWithBaseURI

func NewServiceFromTemplatesClientWithBaseURI(baseURI string, timeout *int32) ServiceFromTemplatesClient

NewServiceFromTemplatesClientWithBaseURI creates an instance of the ServiceFromTemplatesClient client.

func (ServiceFromTemplatesClient) Create

func (client ServiceFromTemplatesClient) Create(applicationName string, serviceDescriptionTemplate ServiceDescriptionTemplate) (result String, err error)

Create create service from templates

applicationName is the name of the application serviceDescriptionTemplate is the template of the service description

func (ServiceFromTemplatesClient) CreatePreparer

func (client ServiceFromTemplatesClient) CreatePreparer(applicationName string, serviceDescriptionTemplate ServiceDescriptionTemplate) (*http.Request, error)

CreatePreparer prepares the Create request.

func (ServiceFromTemplatesClient) CreateResponder

func (client ServiceFromTemplatesClient) CreateResponder(resp *http.Response) (result String, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (ServiceFromTemplatesClient) CreateSender

func (client ServiceFromTemplatesClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

type ServiceGroupDescription

type ServiceGroupDescription interface {
	AsStatelessServiceGroupDescription() (*StatelessServiceGroupDescription, bool)
	AsStatefulServiceGroupDescription() (*StatefulServiceGroupDescription, bool)
}

ServiceGroupDescription is the description of the service group

type ServiceGroupDescriptionModel

type ServiceGroupDescriptionModel struct {
	autorest.Response `json:"-"`
	Value             ServiceGroupDescription `json:"value,omitempty"`
}

ServiceGroupDescriptionModel is

func (*ServiceGroupDescriptionModel) UnmarshalJSON

func (sgdm *ServiceGroupDescriptionModel) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ServiceGroupDescriptionModel struct.

type ServiceGroupDescriptionsClient

type ServiceGroupDescriptionsClient struct {
	ManagementClient
}

ServiceGroupDescriptionsClient is the client for the ServiceGroupDescriptions methods of the Servicefabric service.

func NewServiceGroupDescriptionsClient

func NewServiceGroupDescriptionsClient(timeout *int32) ServiceGroupDescriptionsClient

NewServiceGroupDescriptionsClient creates an instance of the ServiceGroupDescriptionsClient client.

func NewServiceGroupDescriptionsClientWithBaseURI

func NewServiceGroupDescriptionsClientWithBaseURI(baseURI string, timeout *int32) ServiceGroupDescriptionsClient

NewServiceGroupDescriptionsClientWithBaseURI creates an instance of the ServiceGroupDescriptionsClient client.

func (ServiceGroupDescriptionsClient) Get

func (client ServiceGroupDescriptionsClient) Get(applicationName string, serviceName string) (result ServiceGroupDescriptionModel, err error)

Get get service group descriptions

applicationName is the name of the application serviceName is the name of the service

func (ServiceGroupDescriptionsClient) GetPreparer

func (client ServiceGroupDescriptionsClient) GetPreparer(applicationName string, serviceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ServiceGroupDescriptionsClient) GetResponder

func (client ServiceGroupDescriptionsClient) GetResponder(resp *http.Response) (result ServiceGroupDescriptionModel, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ServiceGroupDescriptionsClient) GetSender

func (client ServiceGroupDescriptionsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type ServiceGroupFromTemplatesClient

type ServiceGroupFromTemplatesClient struct {
	ManagementClient
}

ServiceGroupFromTemplatesClient is the client for the ServiceGroupFromTemplates methods of the Servicefabric service.

func NewServiceGroupFromTemplatesClient

func NewServiceGroupFromTemplatesClient(timeout *int32) ServiceGroupFromTemplatesClient

NewServiceGroupFromTemplatesClient creates an instance of the ServiceGroupFromTemplatesClient client.

func NewServiceGroupFromTemplatesClientWithBaseURI

func NewServiceGroupFromTemplatesClientWithBaseURI(baseURI string, timeout *int32) ServiceGroupFromTemplatesClient

NewServiceGroupFromTemplatesClientWithBaseURI creates an instance of the ServiceGroupFromTemplatesClient client.

func (ServiceGroupFromTemplatesClient) Create

func (client ServiceGroupFromTemplatesClient) Create(applicationName string, serviceDescriptionTemplate ServiceDescriptionTemplate) (result String, err error)

Create create service group from templates

applicationName is the name of the application serviceDescriptionTemplate is the template of the service description

func (ServiceGroupFromTemplatesClient) CreatePreparer

func (client ServiceGroupFromTemplatesClient) CreatePreparer(applicationName string, serviceDescriptionTemplate ServiceDescriptionTemplate) (*http.Request, error)

CreatePreparer prepares the Create request.

func (ServiceGroupFromTemplatesClient) CreateResponder

func (client ServiceGroupFromTemplatesClient) CreateResponder(resp *http.Response) (result String, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (ServiceGroupFromTemplatesClient) CreateSender

func (client ServiceGroupFromTemplatesClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

type ServiceGroupMember

type ServiceGroupMember struct {
	autorest.Response             `json:"-"`
	Name                          *string                          `json:"Name,omitempty"`
	ServiceGroupMemberDescription *[]ServiceGroupMemberDescription `json:"ServiceGroupMemberDescription,omitempty"`
}

ServiceGroupMember is the member of the service group

type ServiceGroupMemberDescription

type ServiceGroupMemberDescription struct {
	ServiceName     *string     `json:"ServiceName,omitempty"`
	ServiceTypeName *string     `json:"ServiceTypeName,omitempty"`
	ServiceKind     ServiceKind `json:"ServiceKind,omitempty"`
}

ServiceGroupMemberDescription is the description of the service group member

type ServiceGroupMembersClient

type ServiceGroupMembersClient struct {
	ManagementClient
}

ServiceGroupMembersClient is the client for the ServiceGroupMembers methods of the Servicefabric service.

func NewServiceGroupMembersClient

func NewServiceGroupMembersClient(timeout *int32) ServiceGroupMembersClient

NewServiceGroupMembersClient creates an instance of the ServiceGroupMembersClient client.

func NewServiceGroupMembersClientWithBaseURI

func NewServiceGroupMembersClientWithBaseURI(baseURI string, timeout *int32) ServiceGroupMembersClient

NewServiceGroupMembersClientWithBaseURI creates an instance of the ServiceGroupMembersClient client.

func (ServiceGroupMembersClient) Get

func (client ServiceGroupMembersClient) Get(applicationName string, serviceName string) (result ServiceGroupMember, err error)

Get get service group members

applicationName is the name of the application serviceName is the name of the service

func (ServiceGroupMembersClient) GetPreparer

func (client ServiceGroupMembersClient) GetPreparer(applicationName string, serviceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ServiceGroupMembersClient) GetResponder

func (client ServiceGroupMembersClient) GetResponder(resp *http.Response) (result ServiceGroupMember, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ServiceGroupMembersClient) GetSender

func (client ServiceGroupMembersClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type ServiceGroupsClient

type ServiceGroupsClient struct {
	ManagementClient
}

ServiceGroupsClient is the client for the ServiceGroups methods of the Servicefabric service.

func NewServiceGroupsClient

func NewServiceGroupsClient(timeout *int32) ServiceGroupsClient

NewServiceGroupsClient creates an instance of the ServiceGroupsClient client.

func NewServiceGroupsClientWithBaseURI

func NewServiceGroupsClientWithBaseURI(baseURI string, timeout *int32) ServiceGroupsClient

NewServiceGroupsClientWithBaseURI creates an instance of the ServiceGroupsClient client.

func (ServiceGroupsClient) Create

func (client ServiceGroupsClient) Create(applicationName string, createServiceGroupDescription CreateServiceGroupDescription) (result String, err error)

Create create service groups

applicationName is the name of the service group createServiceGroupDescription is the description of the service group

func (ServiceGroupsClient) CreatePreparer

func (client ServiceGroupsClient) CreatePreparer(applicationName string, createServiceGroupDescription CreateServiceGroupDescription) (*http.Request, error)

CreatePreparer prepares the Create request.

func (ServiceGroupsClient) CreateResponder

func (client ServiceGroupsClient) CreateResponder(resp *http.Response) (result String, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (ServiceGroupsClient) CreateSender

func (client ServiceGroupsClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (ServiceGroupsClient) Remove

func (client ServiceGroupsClient) Remove(applicationName string, serviceName string) (result String, err error)

Remove remove service groups

applicationName is the name of the application serviceName is the name of the service

func (ServiceGroupsClient) RemovePreparer

func (client ServiceGroupsClient) RemovePreparer(applicationName string, serviceName string) (*http.Request, error)

RemovePreparer prepares the Remove request.

func (ServiceGroupsClient) RemoveResponder

func (client ServiceGroupsClient) RemoveResponder(resp *http.Response) (result String, err error)

RemoveResponder handles the response to the Remove request. The method always closes the http.Response Body.

func (ServiceGroupsClient) RemoveSender

func (client ServiceGroupsClient) RemoveSender(req *http.Request) (*http.Response, error)

RemoveSender sends the Remove request. The method will close the http.Response Body if it receives an error.

func (ServiceGroupsClient) Update

func (client ServiceGroupsClient) Update(applicationName string, serviceName string, updateServiceGroupDescription UpdateServiceGroupDescription) (result String, err error)

Update update service groups

applicationName is the name of the application serviceName is the name of the service updateServiceGroupDescription is the description of the service group update

func (ServiceGroupsClient) UpdatePreparer

func (client ServiceGroupsClient) UpdatePreparer(applicationName string, serviceName string, updateServiceGroupDescription UpdateServiceGroupDescription) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ServiceGroupsClient) UpdateResponder

func (client ServiceGroupsClient) UpdateResponder(resp *http.Response) (result String, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (ServiceGroupsClient) UpdateSender

func (client ServiceGroupsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type ServiceHealth

type ServiceHealth struct {
	autorest.Response     `json:"-"`
	HealthEvents          *[]HealthEvent                            `json:"HealthEvents,omitempty"`
	AggregatedHealthState AggregatedHealthState                     `json:"AggregatedHealthState,omitempty"`
	Name                  *string                                   `json:"Name,omitempty"`
	PartitionHealthStates *[]ServiceHealthPartitionHealthStatesItem `json:"PartitionHealthStates,omitempty"`
}

ServiceHealth is the health of the service

type ServiceHealthEvaluation

type ServiceHealthEvaluation struct {
	Description           *string                `json:"Description,omitempty"`
	AggregatedHealthState AggregatedHealthState  `json:"AggregatedHealthState,omitempty"`
	Kind                  Kind                   `json:"Kind,omitempty"`
	ServiceName           *string                `json:"ServiceName,omitempty"`
	UnhealthyEvaluations  *[]UnhealthyEvaluation `json:"UnhealthyEvaluations,omitempty"`
}

ServiceHealthEvaluation is the evaluation of the service health

func (ServiceHealthEvaluation) AsApplicationHealthEvaluation

func (she ServiceHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)

AsApplicationHealthEvaluation is the HealthEvaluation implementation for ServiceHealthEvaluation.

func (ServiceHealthEvaluation) AsApplicationTypeHealthEvaluation

func (she ServiceHealthEvaluation) AsApplicationTypeHealthEvaluation() (*ApplicationTypeHealthEvaluation, bool)

AsApplicationTypeHealthEvaluation is the HealthEvaluation implementation for ServiceHealthEvaluation.

func (ServiceHealthEvaluation) AsApplicationsHealthEvaluation

func (she ServiceHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)

AsApplicationsHealthEvaluation is the HealthEvaluation implementation for ServiceHealthEvaluation.

func (ServiceHealthEvaluation) AsDeltaNodesCheckHealthEvaluation

func (she ServiceHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)

AsDeltaNodesCheckHealthEvaluation is the HealthEvaluation implementation for ServiceHealthEvaluation.

func (ServiceHealthEvaluation) AsDeployedApplicationHealthEvaluation

func (she ServiceHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)

AsDeployedApplicationHealthEvaluation is the HealthEvaluation implementation for ServiceHealthEvaluation.

func (ServiceHealthEvaluation) AsDeployedApplicationsHealthEvaluation

func (she ServiceHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)

AsDeployedApplicationsHealthEvaluation is the HealthEvaluation implementation for ServiceHealthEvaluation.

func (ServiceHealthEvaluation) AsDeployedServicePackageHealthEvaluation

func (she ServiceHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)

AsDeployedServicePackageHealthEvaluation is the HealthEvaluation implementation for ServiceHealthEvaluation.

func (ServiceHealthEvaluation) AsDeployedServicePackagesHealthEvaluation

func (she ServiceHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)

AsDeployedServicePackagesHealthEvaluation is the HealthEvaluation implementation for ServiceHealthEvaluation.

func (ServiceHealthEvaluation) AsEventHealthEvaluation

func (she ServiceHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)

AsEventHealthEvaluation is the HealthEvaluation implementation for ServiceHealthEvaluation.

func (ServiceHealthEvaluation) AsNodeHealthEvaluation

func (she ServiceHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)

AsNodeHealthEvaluation is the HealthEvaluation implementation for ServiceHealthEvaluation.

func (ServiceHealthEvaluation) AsNodesHealthEvaluation

func (she ServiceHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)

AsNodesHealthEvaluation is the HealthEvaluation implementation for ServiceHealthEvaluation.

func (ServiceHealthEvaluation) AsPartitionHealthEvaluation

func (she ServiceHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)

AsPartitionHealthEvaluation is the HealthEvaluation implementation for ServiceHealthEvaluation.

func (ServiceHealthEvaluation) AsPartitionsHealthEvaluation

func (she ServiceHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)

AsPartitionsHealthEvaluation is the HealthEvaluation implementation for ServiceHealthEvaluation.

func (ServiceHealthEvaluation) AsReplicaHealthEvaluation

func (she ServiceHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)

AsReplicaHealthEvaluation is the HealthEvaluation implementation for ServiceHealthEvaluation.

func (ServiceHealthEvaluation) AsReplicasHealthEvaluation

func (she ServiceHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)

AsReplicasHealthEvaluation is the HealthEvaluation implementation for ServiceHealthEvaluation.

func (ServiceHealthEvaluation) AsServiceHealthEvaluation

func (she ServiceHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)

AsServiceHealthEvaluation is the HealthEvaluation implementation for ServiceHealthEvaluation.

func (ServiceHealthEvaluation) AsServicesHealthEvaluation

func (she ServiceHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)

AsServicesHealthEvaluation is the HealthEvaluation implementation for ServiceHealthEvaluation.

func (ServiceHealthEvaluation) AsSystemApplicationHealthEvaluation

func (she ServiceHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)

AsSystemApplicationHealthEvaluation is the HealthEvaluation implementation for ServiceHealthEvaluation.

func (ServiceHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation

func (she ServiceHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)

AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the HealthEvaluation implementation for ServiceHealthEvaluation.

func (ServiceHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation

func (she ServiceHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation() (*UpgradeDomainDeployedApplicationsHealthEvaluation, bool)

AsUpgradeDomainDeployedApplicationsHealthEvaluation is the HealthEvaluation implementation for ServiceHealthEvaluation.

func (ServiceHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation

func (she ServiceHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)

AsUpgradeDomainNodesHealthEvaluation is the HealthEvaluation implementation for ServiceHealthEvaluation.

func (ServiceHealthEvaluation) MarshalJSON

func (she ServiceHealthEvaluation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServiceHealthEvaluation.

type ServiceHealthPartitionHealthStatesItem

type ServiceHealthPartitionHealthStatesItem struct {
	PartitionID           *string               `json:"PartitionId,omitempty"`
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
}

ServiceHealthPartitionHealthStatesItem is the states of the partition health

type ServiceHealthReport

type ServiceHealthReport struct {
	SourceID                 *string     `json:"SourceId,omitempty"`
	Property                 *string     `json:"Property,omitempty"`
	HealthState              HealthState `json:"HealthState,omitempty"`
	Description              *string     `json:"Description,omitempty"`
	TimeToLiveInMilliSeconds *string     `json:"TimeToLiveInMilliSeconds,omitempty"`
	SequenceNumber           *string     `json:"SequenceNumber,omitempty"`
	RemoveWhenExpired        *bool       `json:"RemoveWhenExpired,omitempty"`
}

ServiceHealthReport is the report of the service health

type ServiceHealthsClient

type ServiceHealthsClient struct {
	ManagementClient
}

ServiceHealthsClient is the client for the ServiceHealths methods of the Servicefabric service.

func NewServiceHealthsClient

func NewServiceHealthsClient(timeout *int32) ServiceHealthsClient

NewServiceHealthsClient creates an instance of the ServiceHealthsClient client.

func NewServiceHealthsClientWithBaseURI

func NewServiceHealthsClientWithBaseURI(baseURI string, timeout *int32) ServiceHealthsClient

NewServiceHealthsClientWithBaseURI creates an instance of the ServiceHealthsClient client.

func (ServiceHealthsClient) Get

func (client ServiceHealthsClient) Get(serviceName string) (result ServiceHealth, err error)

Get get service healths

serviceName is the name of the service

func (ServiceHealthsClient) GetPreparer

func (client ServiceHealthsClient) GetPreparer(serviceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ServiceHealthsClient) GetResponder

func (client ServiceHealthsClient) GetResponder(resp *http.Response) (result ServiceHealth, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ServiceHealthsClient) GetSender

func (client ServiceHealthsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ServiceHealthsClient) Send

func (client ServiceHealthsClient) Send(serviceName string, serviceHealthReport ServiceHealthReport) (result String, err error)

Send send service healths

serviceName is the name of the service serviceHealthReport is the report of the service health

func (ServiceHealthsClient) SendPreparer

func (client ServiceHealthsClient) SendPreparer(serviceName string, serviceHealthReport ServiceHealthReport) (*http.Request, error)

SendPreparer prepares the Send request.

func (ServiceHealthsClient) SendResponder

func (client ServiceHealthsClient) SendResponder(resp *http.Response) (result String, err error)

SendResponder handles the response to the Send request. The method always closes the http.Response Body.

func (ServiceHealthsClient) SendSender

func (client ServiceHealthsClient) SendSender(req *http.Request) (*http.Response, error)

SendSender sends the Send request. The method will close the http.Response Body if it receives an error.

type ServiceKind

type ServiceKind string

ServiceKind enumerates the values for service kind.

const (
	// ServiceKindInvalid specifies the service kind invalid state for service kind.
	ServiceKindInvalid ServiceKind = "Invalid"
	// ServiceKindStateful specifies the service kind stateful state for service kind.
	ServiceKindStateful ServiceKind = "Stateful"
	// ServiceKindStateless specifies the service kind stateless state for service kind.
	ServiceKindStateless ServiceKind = "Stateless"
)

type ServiceKind1

type ServiceKind1 string

ServiceKind1 enumerates the values for service kind 1.

const (
	// ServiceKind1Invalid specifies the service kind 1 invalid state for service kind 1.
	ServiceKind1Invalid ServiceKind1 = "Invalid"
	// ServiceKind1Stateful specifies the service kind 1 stateful state for service kind 1.
	ServiceKind1Stateful ServiceKind1 = "Stateful"
	// ServiceKind1Stateless specifies the service kind 1 stateless state for service kind 1.
	ServiceKind1Stateless ServiceKind1 = "Stateless"
)

type ServiceKind2

type ServiceKind2 string

ServiceKind2 enumerates the values for service kind 2.

const (
	// ServiceKind2Invalid specifies the service kind 2 invalid state for service kind 2.
	ServiceKind2Invalid ServiceKind2 = "Invalid"
	// ServiceKind2Stateful specifies the service kind 2 stateful state for service kind 2.
	ServiceKind2Stateful ServiceKind2 = "Stateful"
	// ServiceKind2Stateless specifies the service kind 2 stateless state for service kind 2.
	ServiceKind2Stateless ServiceKind2 = "Stateless"
)

type ServiceKind3

type ServiceKind3 string

ServiceKind3 enumerates the values for service kind 3.

const (
	// ServiceKind3Invalid specifies the service kind 3 invalid state for service kind 3.
	ServiceKind3Invalid ServiceKind3 = "Invalid"
	// ServiceKind3Stateful specifies the service kind 3 stateful state for service kind 3.
	ServiceKind3Stateful ServiceKind3 = "Stateful"
	// ServiceKind3Stateless specifies the service kind 3 stateless state for service kind 3.
	ServiceKind3Stateless ServiceKind3 = "Stateless"
)

type ServiceKind4

type ServiceKind4 string

ServiceKind4 enumerates the values for service kind 4.

const (
	// ServiceKind4Invalid specifies the service kind 4 invalid state for service kind 4.
	ServiceKind4Invalid ServiceKind4 = "Invalid"
	// ServiceKind4Stateful specifies the service kind 4 stateful state for service kind 4.
	ServiceKind4Stateful ServiceKind4 = "Stateful"
	// ServiceKind4Stateless specifies the service kind 4 stateless state for service kind 4.
	ServiceKind4Stateless ServiceKind4 = "Stateless"
)

type ServiceKind5

type ServiceKind5 string

ServiceKind5 enumerates the values for service kind 5.

const (
	// ServiceKind5Invalid specifies the service kind 5 invalid state for service kind 5.
	ServiceKind5Invalid ServiceKind5 = "Invalid"
	// ServiceKind5Stateful specifies the service kind 5 stateful state for service kind 5.
	ServiceKind5Stateful ServiceKind5 = "Stateful"
	// ServiceKind5Stateless specifies the service kind 5 stateless state for service kind 5.
	ServiceKind5Stateless ServiceKind5 = "Stateless"
)

type ServiceKind6

type ServiceKind6 string

ServiceKind6 enumerates the values for service kind 6.

const (
	// ServiceKind6Invalid specifies the service kind 6 invalid state for service kind 6.
	ServiceKind6Invalid ServiceKind6 = "Invalid"
	// ServiceKind6Stateful specifies the service kind 6 stateful state for service kind 6.
	ServiceKind6Stateful ServiceKind6 = "Stateful"
	// ServiceKind6Stateless specifies the service kind 6 stateless state for service kind 6.
	ServiceKind6Stateless ServiceKind6 = "Stateless"
)

type ServiceList

type ServiceList struct {
	autorest.Response `json:"-"`
	ContinuationToken *string    `json:"ContinuationToken,omitempty"`
	Items             *[]Service `json:"Items,omitempty"`
}

ServiceList is the list of the service

type ServiceLoadMetricDescription

type ServiceLoadMetricDescription struct {
	Name                    *string                 `json:"Name,omitempty"`
	ServiceLoadMetricWeight ServiceLoadMetricWeight `json:"ServiceLoadMetricWeight,omitempty"`
	PrimaryDefaultLoad      *int32                  `json:"PrimaryDefaultLoad,omitempty"`
	SecondaryDefaultLoad    *int32                  `json:"SecondaryDefaultLoad,omitempty"`
}

ServiceLoadMetricDescription is the description of the service load metric

type ServiceLoadMetricWeight

type ServiceLoadMetricWeight string

ServiceLoadMetricWeight enumerates the values for service load metric weight.

const (
	// ServiceLoadMetricWeightHigh specifies the service load metric weight high state for service load metric weight.
	ServiceLoadMetricWeightHigh ServiceLoadMetricWeight = "High"
	// ServiceLoadMetricWeightLow specifies the service load metric weight low state for service load metric weight.
	ServiceLoadMetricWeightLow ServiceLoadMetricWeight = "Low"
	// ServiceLoadMetricWeightMedium specifies the service load metric weight medium state for service load metric weight.
	ServiceLoadMetricWeightMedium ServiceLoadMetricWeight = "Medium"
	// ServiceLoadMetricWeightZero specifies the service load metric weight zero state for service load metric weight.
	ServiceLoadMetricWeightZero ServiceLoadMetricWeight = "Zero"
)

type ServiceManifest

type ServiceManifest struct {
	autorest.Response `json:"-"`
	Manifest          *string `json:"Manifest,omitempty"`
}

ServiceManifest is the manifest of the service

type ServiceManifestsClient

type ServiceManifestsClient struct {
	ManagementClient
}

ServiceManifestsClient is the client for the ServiceManifests methods of the Servicefabric service.

func NewServiceManifestsClient

func NewServiceManifestsClient(timeout *int32) ServiceManifestsClient

NewServiceManifestsClient creates an instance of the ServiceManifestsClient client.

func NewServiceManifestsClientWithBaseURI

func NewServiceManifestsClientWithBaseURI(baseURI string, timeout *int32) ServiceManifestsClient

NewServiceManifestsClientWithBaseURI creates an instance of the ServiceManifestsClient client.

func (ServiceManifestsClient) Get

func (client ServiceManifestsClient) Get(applicationTypeName string, applicationTypeVersion string, serviceManifestName string) (result ServiceManifest, err error)

Get get service manifests

applicationTypeName is the name of the application type applicationTypeVersion is the version of the application type serviceManifestName is the name of the service manifest

func (ServiceManifestsClient) GetPreparer

func (client ServiceManifestsClient) GetPreparer(applicationTypeName string, applicationTypeVersion string, serviceManifestName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ServiceManifestsClient) GetResponder

func (client ServiceManifestsClient) GetResponder(resp *http.Response) (result ServiceManifest, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ServiceManifestsClient) GetSender

func (client ServiceManifestsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type ServicePartitionKind

type ServicePartitionKind string

ServicePartitionKind enumerates the values for service partition kind.

const (
	// ServicePartitionKindInt64Range specifies the service partition kind int 64 range state for service partition kind.
	ServicePartitionKindInt64Range ServicePartitionKind = "Int64Range"
	// ServicePartitionKindInvalid specifies the service partition kind invalid state for service partition kind.
	ServicePartitionKindInvalid ServicePartitionKind = "Invalid"
	// ServicePartitionKindNamed specifies the service partition kind named state for service partition kind.
	ServicePartitionKindNamed ServicePartitionKind = "Named"
	// ServicePartitionKindSingleton specifies the service partition kind singleton state for service partition kind.
	ServicePartitionKindSingleton ServicePartitionKind = "Singleton"
)

type ServicePlacementPolicyDescription

type ServicePlacementPolicyDescription struct {
	Type *string `json:"Type,omitempty"`
}

ServicePlacementPolicyDescription is the description of the service placement policy

type ServiceStatus

type ServiceStatus string

ServiceStatus enumerates the values for service status.

const (
	// ServiceStatusActive specifies the service status active state for service status.
	ServiceStatusActive ServiceStatus = "Active"
	// ServiceStatusCreating specifies the service status creating state for service status.
	ServiceStatusCreating ServiceStatus = "Creating"
	// ServiceStatusDeleting specifies the service status deleting state for service status.
	ServiceStatusDeleting ServiceStatus = "Deleting"
	// ServiceStatusFaile specifies the service status faile state for service status.
	ServiceStatusFaile ServiceStatus = "Faile"
	// ServiceStatusInvalid specifies the service status invalid state for service status.
	ServiceStatusInvalid ServiceStatus = "Invalid"
	// ServiceStatusUpgrading specifies the service status upgrading state for service status.
	ServiceStatusUpgrading ServiceStatus = "Upgrading"
)

type ServiceType

type ServiceType struct {
	ServiceTypeDescription *ServiceTypeServiceTypeDescription `json:"ServiceTypeDescription,omitempty"`
	ServiceManifestVersion *string                            `json:"ServiceManifestVersion,omitempty"`
	ServiceManifestName    *string                            `json:"ServiceManifestName,omitempty"`
	IsServiceGroup         *bool                              `json:"IsServiceGroup,omitempty"`
}

ServiceType is the type of the service

type ServiceTypeServiceTypeDescription

type ServiceTypeServiceTypeDescription struct {
	IsStateful           *bool   `json:"IsStateful,omitempty"`
	ServiceTypeName      *string `json:"ServiceTypeName,omitempty"`
	PlacementConstraints *string `json:"PlacementConstraints,omitempty"`
	HasPersistedState    *bool   `json:"HasPersistedState,omitempty"`
}

ServiceTypeServiceTypeDescription is the description of the service type

type ServiceTypesClient

type ServiceTypesClient struct {
	ManagementClient
}

ServiceTypesClient is the client for the ServiceTypes methods of the Servicefabric service.

func NewServiceTypesClient

func NewServiceTypesClient(timeout *int32) ServiceTypesClient

NewServiceTypesClient creates an instance of the ServiceTypesClient client.

func NewServiceTypesClientWithBaseURI

func NewServiceTypesClientWithBaseURI(baseURI string, timeout *int32) ServiceTypesClient

NewServiceTypesClientWithBaseURI creates an instance of the ServiceTypesClient client.

func (ServiceTypesClient) Get

func (client ServiceTypesClient) Get(applicationTypeName string, applicationTypeVersion string) (result ListServiceType, err error)

Get get service types

applicationTypeName is the name of the application type applicationTypeVersion is the version of the application type

func (ServiceTypesClient) GetPreparer

func (client ServiceTypesClient) GetPreparer(applicationTypeName string, applicationTypeVersion string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ServiceTypesClient) GetResponder

func (client ServiceTypesClient) GetResponder(resp *http.Response) (result ListServiceType, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ServiceTypesClient) GetSender

func (client ServiceTypesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type ServicesClient

type ServicesClient struct {
	ManagementClient
}

ServicesClient is the client for the Services methods of the Servicefabric service.

func NewServicesClient

func NewServicesClient(timeout *int32) ServicesClient

NewServicesClient creates an instance of the ServicesClient client.

func NewServicesClientWithBaseURI

func NewServicesClientWithBaseURI(baseURI string, timeout *int32) ServicesClient

NewServicesClientWithBaseURI creates an instance of the ServicesClient client.

func (ServicesClient) Create

func (client ServicesClient) Create(applicationName string, createServiceDescription CreateServiceDescription) (result String, err error)

Create create services

applicationName is the name of the application createServiceDescription is the description of the service

func (ServicesClient) CreatePreparer

func (client ServicesClient) CreatePreparer(applicationName string, createServiceDescription CreateServiceDescription) (*http.Request, error)

CreatePreparer prepares the Create request.

func (ServicesClient) CreateResponder

func (client ServicesClient) CreateResponder(resp *http.Response) (result String, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (ServicesClient) CreateSender

func (client ServicesClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (ServicesClient) Get

func (client ServicesClient) Get(applicationName string, serviceName string) (result Service, err error)

Get get services

applicationName is the name of the application serviceName is the name of the service

func (ServicesClient) GetPreparer

func (client ServicesClient) GetPreparer(applicationName string, serviceName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ServicesClient) GetResponder

func (client ServicesClient) GetResponder(resp *http.Response) (result Service, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ServicesClient) GetSender

func (client ServicesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ServicesClient) List

func (client ServicesClient) List(applicationName string) (result ServiceList, err error)

List list services

applicationName is the name of the application

func (ServicesClient) ListPreparer

func (client ServicesClient) ListPreparer(applicationName string) (*http.Request, error)

ListPreparer prepares the List request.

func (ServicesClient) ListResponder

func (client ServicesClient) ListResponder(resp *http.Response) (result ServiceList, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ServicesClient) ListSender

func (client ServicesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (ServicesClient) Remove

func (client ServicesClient) Remove(serviceName string) (result String, err error)

Remove remove services

serviceName is the name of the service

func (ServicesClient) RemovePreparer

func (client ServicesClient) RemovePreparer(serviceName string) (*http.Request, error)

RemovePreparer prepares the Remove request.

func (ServicesClient) RemoveResponder

func (client ServicesClient) RemoveResponder(resp *http.Response) (result String, err error)

RemoveResponder handles the response to the Remove request. The method always closes the http.Response Body.

func (ServicesClient) RemoveSender

func (client ServicesClient) RemoveSender(req *http.Request) (*http.Response, error)

RemoveSender sends the Remove request. The method will close the http.Response Body if it receives an error.

func (ServicesClient) Resolve

func (client ServicesClient) Resolve(serviceName string, partitionKeyType *int32, partitionKeyValue string, previousRspVersion string) (result ResolvedServicePartition, err error)

Resolve resolve services

serviceName is the name of the service partitionKeyType is the type of the partition key partitionKeyValue is the value of the partition key previousRspVersion is the version of the previous rsp

func (ServicesClient) ResolvePreparer

func (client ServicesClient) ResolvePreparer(serviceName string, partitionKeyType *int32, partitionKeyValue string, previousRspVersion string) (*http.Request, error)

ResolvePreparer prepares the Resolve request.

func (ServicesClient) ResolveResponder

func (client ServicesClient) ResolveResponder(resp *http.Response) (result ResolvedServicePartition, err error)

ResolveResponder handles the response to the Resolve request. The method always closes the http.Response Body.

func (ServicesClient) ResolveSender

func (client ServicesClient) ResolveSender(req *http.Request) (*http.Response, error)

ResolveSender sends the Resolve request. The method will close the http.Response Body if it receives an error.

func (ServicesClient) Update

func (client ServicesClient) Update(serviceName string, updateServiceDescription UpdateServiceDescription) (result String, err error)

Update update services

serviceName is the name of the service updateServiceDescription is the description of the service update

func (ServicesClient) UpdatePreparer

func (client ServicesClient) UpdatePreparer(serviceName string, updateServiceDescription UpdateServiceDescription) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (ServicesClient) UpdateResponder

func (client ServicesClient) UpdateResponder(resp *http.Response) (result String, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (ServicesClient) UpdateSender

func (client ServicesClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type ServicesHealthEvaluation

type ServicesHealthEvaluation struct {
	Description                 *string                `json:"Description,omitempty"`
	AggregatedHealthState       AggregatedHealthState  `json:"AggregatedHealthState,omitempty"`
	Kind                        Kind                   `json:"Kind,omitempty"`
	ServiceTypeName             *string                `json:"ServiceTypeName,omitempty"`
	UnhealthyEvaluations        *[]UnhealthyEvaluation `json:"UnhealthyEvaluations,omitempty"`
	TotalCount                  *int32                 `json:"TotalCount,omitempty"`
	MaxPercentUnhealthyServices *int32                 `json:"MaxPercentUnhealthyServices,omitempty"`
}

ServicesHealthEvaluation is the evaluation of the services health

func (ServicesHealthEvaluation) AsApplicationHealthEvaluation

func (she ServicesHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)

AsApplicationHealthEvaluation is the HealthEvaluation implementation for ServicesHealthEvaluation.

func (ServicesHealthEvaluation) AsApplicationTypeHealthEvaluation

func (she ServicesHealthEvaluation) AsApplicationTypeHealthEvaluation() (*ApplicationTypeHealthEvaluation, bool)

AsApplicationTypeHealthEvaluation is the HealthEvaluation implementation for ServicesHealthEvaluation.

func (ServicesHealthEvaluation) AsApplicationsHealthEvaluation

func (she ServicesHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)

AsApplicationsHealthEvaluation is the HealthEvaluation implementation for ServicesHealthEvaluation.

func (ServicesHealthEvaluation) AsDeltaNodesCheckHealthEvaluation

func (she ServicesHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)

AsDeltaNodesCheckHealthEvaluation is the HealthEvaluation implementation for ServicesHealthEvaluation.

func (ServicesHealthEvaluation) AsDeployedApplicationHealthEvaluation

func (she ServicesHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)

AsDeployedApplicationHealthEvaluation is the HealthEvaluation implementation for ServicesHealthEvaluation.

func (ServicesHealthEvaluation) AsDeployedApplicationsHealthEvaluation

func (she ServicesHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)

AsDeployedApplicationsHealthEvaluation is the HealthEvaluation implementation for ServicesHealthEvaluation.

func (ServicesHealthEvaluation) AsDeployedServicePackageHealthEvaluation

func (she ServicesHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)

AsDeployedServicePackageHealthEvaluation is the HealthEvaluation implementation for ServicesHealthEvaluation.

func (ServicesHealthEvaluation) AsDeployedServicePackagesHealthEvaluation

func (she ServicesHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)

AsDeployedServicePackagesHealthEvaluation is the HealthEvaluation implementation for ServicesHealthEvaluation.

func (ServicesHealthEvaluation) AsEventHealthEvaluation

func (she ServicesHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)

AsEventHealthEvaluation is the HealthEvaluation implementation for ServicesHealthEvaluation.

func (ServicesHealthEvaluation) AsNodeHealthEvaluation

func (she ServicesHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)

AsNodeHealthEvaluation is the HealthEvaluation implementation for ServicesHealthEvaluation.

func (ServicesHealthEvaluation) AsNodesHealthEvaluation

func (she ServicesHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)

AsNodesHealthEvaluation is the HealthEvaluation implementation for ServicesHealthEvaluation.

func (ServicesHealthEvaluation) AsPartitionHealthEvaluation

func (she ServicesHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)

AsPartitionHealthEvaluation is the HealthEvaluation implementation for ServicesHealthEvaluation.

func (ServicesHealthEvaluation) AsPartitionsHealthEvaluation

func (she ServicesHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)

AsPartitionsHealthEvaluation is the HealthEvaluation implementation for ServicesHealthEvaluation.

func (ServicesHealthEvaluation) AsReplicaHealthEvaluation

func (she ServicesHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)

AsReplicaHealthEvaluation is the HealthEvaluation implementation for ServicesHealthEvaluation.

func (ServicesHealthEvaluation) AsReplicasHealthEvaluation

func (she ServicesHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)

AsReplicasHealthEvaluation is the HealthEvaluation implementation for ServicesHealthEvaluation.

func (ServicesHealthEvaluation) AsServiceHealthEvaluation

func (she ServicesHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)

AsServiceHealthEvaluation is the HealthEvaluation implementation for ServicesHealthEvaluation.

func (ServicesHealthEvaluation) AsServicesHealthEvaluation

func (she ServicesHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)

AsServicesHealthEvaluation is the HealthEvaluation implementation for ServicesHealthEvaluation.

func (ServicesHealthEvaluation) AsSystemApplicationHealthEvaluation

func (she ServicesHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)

AsSystemApplicationHealthEvaluation is the HealthEvaluation implementation for ServicesHealthEvaluation.

func (ServicesHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation

func (she ServicesHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)

AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the HealthEvaluation implementation for ServicesHealthEvaluation.

func (ServicesHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation

func (she ServicesHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation() (*UpgradeDomainDeployedApplicationsHealthEvaluation, bool)

AsUpgradeDomainDeployedApplicationsHealthEvaluation is the HealthEvaluation implementation for ServicesHealthEvaluation.

func (ServicesHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation

func (she ServicesHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)

AsUpgradeDomainNodesHealthEvaluation is the HealthEvaluation implementation for ServicesHealthEvaluation.

func (ServicesHealthEvaluation) MarshalJSON

func (she ServicesHealthEvaluation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServicesHealthEvaluation.

type StartApplicationUpgrade

type StartApplicationUpgrade struct {
	Name                                   *string                                  `json:"Name,omitempty"`
	TargetApplicationTypeVersion           *string                                  `json:"TargetApplicationTypeVersion,omitempty"`
	Parameters                             *[]StartApplicationUpgradeParametersItem `json:"Parameters,omitempty"`
	UpgradeKind                            UpgradeKind                              `json:"UpgradeKind,omitempty"`
	RollingUpgradeMode                     RollingUpgradeMode                       `json:"RollingUpgradeMode,omitempty"`
	UpgradeReplicaSetCheckTimeoutInSeconds *int32                                   `json:"UpgradeReplicaSetCheckTimeoutInSeconds,omitempty"`
	ForceRestart                           *bool                                    `json:"ForceRestart,omitempty"`
	MonitoringPolicy                       *MonitoringPolicy                        `json:"MonitoringPolicy,omitempty"`
	ApplicationHealthPolicy                *ApplicationHealthPolicy                 `json:"ApplicationHealthPolicy,omitempty"`
}

StartApplicationUpgrade is the description of the start application upgrade

type StartApplicationUpgradeParametersItem

type StartApplicationUpgradeParametersItem struct {
	Key   *string `json:"Key,omitempty"`
	Value *string `json:"Value,omitempty"`
}

StartApplicationUpgradeParametersItem is the parameters

type StartClusterUpgrade

type StartClusterUpgrade struct {
	ConfigVersion                          *string                     `json:"ConfigVersion,omitempty"`
	CodeVersion                            *string                     `json:"CodeVersion,omitempty"`
	UpgradeKind                            *string                     `json:"UpgradeKind,omitempty"`
	RollingUpgradeMode                     RollingUpgradeMode          `json:"RollingUpgradeMode,omitempty"`
	UpgradeReplicaSetCheckTimeoutInSeconds *int32                      `json:"UpgradeReplicaSetCheckTimeoutInSeconds,omitempty"`
	ForceRestart                           *bool                       `json:"ForceRestart,omitempty"`
	EnableDeltaHealthEvaluation            *bool                       `json:"EnableDeltaHealthEvaluation,omitempty"`
	MonitoringPolicy                       *map[string]interface{}     `json:"MonitoringPolicy,omitempty"`
	ClusterUpgradeHealthPolicy             *ClusterUpgradeHealthPolicy `json:"ClusterUpgradeHealthPolicy,omitempty"`
	ApplicationHealthPolicyMap             *ApplicationHealthPolicyMap `json:"ApplicationHealthPolicyMap,omitempty"`
}

StartClusterUpgrade is the description of the start cluster upgrade

type StatefulCreateServiceDescription

type StatefulCreateServiceDescription struct {
	ApplicationName                   *string                        `json:"ApplicationName,omitempty"`
	ServiceName                       *string                        `json:"ServiceName,omitempty"`
	ServiceTypeName                   *string                        `json:"ServiceTypeName,omitempty"`
	PartitionDescription              *PartitionDescription          `json:"PartitionDescription,omitempty"`
	PlacementConstraints              *string                        `json:"PlacementConstraints,omitempty"`
	CorrelationScheme                 *ServiceCorrelationDescription `json:"CorrelationScheme,omitempty"`
	ServiceLoadMetrics                *ServiceCorrelationDescription `json:"ServiceLoadMetrics,omitempty"`
	ServicePlacementPolicies          *ServiceCorrelationDescription `json:"ServicePlacementPolicies,omitempty"`
	Flags                             *int32                         `json:"Flags,omitempty"`
	ServiceKind                       ServiceKind                    `json:"ServiceKind,omitempty"`
	TargetReplicaSetSize              *int32                         `json:"TargetReplicaSetSize,omitempty"`
	MinReplicaSetSize                 *int32                         `json:"MinReplicaSetSize,omitempty"`
	HasPersistedState                 *bool                          `json:"HasPersistedState,omitempty"`
	ReplicaRestartWaitDurationSeconds *int32                         `json:"ReplicaRestartWaitDurationSeconds,omitempty"`
	QuorumLossWaitDurationSeconds     *int32                         `json:"QuorumLossWaitDurationSeconds,omitempty"`
	StandByReplicaKeepDurationSeconds *int32                         `json:"StandByReplicaKeepDurationSeconds,omitempty"`
	DefaultMoveCost                   DefaultMoveCost                `json:"DefaultMoveCost,omitempty"`
	IsDefaultMoveCostSpecified        *bool                          `json:"IsDefaultMoveCostSpecified,omitempty"`
}

StatefulCreateServiceDescription is the description of the stateful create service

func (StatefulCreateServiceDescription) AsStatefulCreateServiceDescription

func (scsd StatefulCreateServiceDescription) AsStatefulCreateServiceDescription() (*StatefulCreateServiceDescription, bool)

AsStatefulCreateServiceDescription is the CreateServiceDescription implementation for StatefulCreateServiceDescription.

func (StatefulCreateServiceDescription) AsStatelessCreateServiceDescription

func (scsd StatefulCreateServiceDescription) AsStatelessCreateServiceDescription() (*StatelessCreateServiceDescription, bool)

AsStatelessCreateServiceDescription is the CreateServiceDescription implementation for StatefulCreateServiceDescription.

func (StatefulCreateServiceDescription) MarshalJSON

func (scsd StatefulCreateServiceDescription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StatefulCreateServiceDescription.

type StatefulCreateServiceGroupDescription

type StatefulCreateServiceGroupDescription struct {
	ApplicationName                   *string                          `json:"ApplicationName,omitempty"`
	ServiceName                       *string                          `json:"ServiceName,omitempty"`
	ServiceTypeName                   *string                          `json:"ServiceTypeName,omitempty"`
	PartitionDescription              *PartitionDescription            `json:"PartitionDescription,omitempty"`
	PlacementConstraints              *string                          `json:"PlacementConstraints,omitempty"`
	CorrelationScheme                 *ServiceCorrelationDescription   `json:"CorrelationScheme,omitempty"`
	ServiceLoadMetrics                *ServiceCorrelationDescription   `json:"ServiceLoadMetrics,omitempty"`
	ServicePlacementPolicies          *ServiceCorrelationDescription   `json:"ServicePlacementPolicies,omitempty"`
	Flags                             *int32                           `json:"Flags,omitempty"`
	ServiceGroupMemberDescription     *[]ServiceGroupMemberDescription `json:"ServiceGroupMemberDescription,omitempty"`
	ServiceKind                       ServiceKind                      `json:"ServiceKind,omitempty"`
	TargetReplicaSetSize              *int32                           `json:"TargetReplicaSetSize,omitempty"`
	MinReplicaSetSize                 *int32                           `json:"MinReplicaSetSize,omitempty"`
	HasPersistedState                 *bool                            `json:"HasPersistedState,omitempty"`
	ReplicaRestartWaitDurationSeconds *int32                           `json:"ReplicaRestartWaitDurationSeconds,omitempty"`
	QuorumLossWaitDurationSeconds     *int32                           `json:"QuorumLossWaitDurationSeconds,omitempty"`
	StandByReplicaKeepDurationSeconds *int32                           `json:"StandByReplicaKeepDurationSeconds,omitempty"`
	DefaultMoveCost                   DefaultMoveCost                  `json:"DefaultMoveCost,omitempty"`
	IsDefaultMoveCostSpecified        *bool                            `json:"IsDefaultMoveCostSpecified,omitempty"`
}

StatefulCreateServiceGroupDescription is the description of the stateful create service group

func (StatefulCreateServiceGroupDescription) AsStatefulCreateServiceGroupDescription

func (scsgd StatefulCreateServiceGroupDescription) AsStatefulCreateServiceGroupDescription() (*StatefulCreateServiceGroupDescription, bool)

AsStatefulCreateServiceGroupDescription is the CreateServiceGroupDescription implementation for StatefulCreateServiceGroupDescription.

func (StatefulCreateServiceGroupDescription) AsStatelessCreateServiceGroupDescription

func (scsgd StatefulCreateServiceGroupDescription) AsStatelessCreateServiceGroupDescription() (*StatelessCreateServiceGroupDescription, bool)

AsStatelessCreateServiceGroupDescription is the CreateServiceGroupDescription implementation for StatefulCreateServiceGroupDescription.

func (StatefulCreateServiceGroupDescription) MarshalJSON

func (scsgd StatefulCreateServiceGroupDescription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StatefulCreateServiceGroupDescription.

type StatefulServiceDescription

type StatefulServiceDescription struct {
	ApplicationName                   *string                        `json:"ApplicationName,omitempty"`
	ServiceName                       *string                        `json:"ServiceName,omitempty"`
	ServiceTypeName                   *string                        `json:"ServiceTypeName,omitempty"`
	PartitionDescription              *PartitionDescription          `json:"PartitionDescription,omitempty"`
	PlacementConstraints              *string                        `json:"PlacementConstraints,omitempty"`
	CorrelationScheme                 *ServiceCorrelationDescription `json:"CorrelationScheme,omitempty"`
	ServiceLoadMetrics                *ServiceCorrelationDescription `json:"ServiceLoadMetrics,omitempty"`
	ServicePlacementPolicies          *ServiceCorrelationDescription `json:"ServicePlacementPolicies,omitempty"`
	Flags                             *int32                         `json:"Flags,omitempty"`
	ServiceKind                       ServiceKind                    `json:"ServiceKind,omitempty"`
	TargetReplicaSetSize              *int32                         `json:"TargetReplicaSetSize,omitempty"`
	MinReplicaSetSize                 *int32                         `json:"MinReplicaSetSize,omitempty"`
	HasPersistedState                 *bool                          `json:"HasPersistedState,omitempty"`
	ReplicaRestartWaitDurationSeconds *int32                         `json:"ReplicaRestartWaitDurationSeconds,omitempty"`
	QuorumLossWaitDurationSeconds     *int32                         `json:"QuorumLossWaitDurationSeconds,omitempty"`
	StandByReplicaKeepDurationSeconds *int32                         `json:"StandByReplicaKeepDurationSeconds,omitempty"`
	DefaultMoveCost                   DefaultMoveCost                `json:"DefaultMoveCost,omitempty"`
	IsDefaultMoveCostSpecified        *bool                          `json:"IsDefaultMoveCostSpecified,omitempty"`
}

StatefulServiceDescription is the description of the stateful service

func (StatefulServiceDescription) AsStatefulServiceDescription

func (ssd StatefulServiceDescription) AsStatefulServiceDescription() (*StatefulServiceDescription, bool)

AsStatefulServiceDescription is the ServiceDescription implementation for StatefulServiceDescription.

func (StatefulServiceDescription) AsStatelessServiceDescription

func (ssd StatefulServiceDescription) AsStatelessServiceDescription() (*StatelessServiceDescription, bool)

AsStatelessServiceDescription is the ServiceDescription implementation for StatefulServiceDescription.

func (StatefulServiceDescription) MarshalJSON

func (ssd StatefulServiceDescription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StatefulServiceDescription.

type StatefulServiceGroupDescription

type StatefulServiceGroupDescription struct {
	ApplicationName                   *string                          `json:"ApplicationName,omitempty"`
	ServiceName                       *string                          `json:"ServiceName,omitempty"`
	ServiceTypeName                   *string                          `json:"ServiceTypeName,omitempty"`
	PartitionDescription              *PartitionDescription            `json:"PartitionDescription,omitempty"`
	PlacementConstraints              *string                          `json:"PlacementConstraints,omitempty"`
	CorrelationScheme                 *ServiceCorrelationDescription   `json:"CorrelationScheme,omitempty"`
	ServiceLoadMetrics                *ServiceCorrelationDescription   `json:"ServiceLoadMetrics,omitempty"`
	ServicePlacementPolicies          *ServiceCorrelationDescription   `json:"ServicePlacementPolicies,omitempty"`
	Flags                             *int32                           `json:"Flags,omitempty"`
	ServiceGroupMemberDescription     *[]ServiceGroupMemberDescription `json:"ServiceGroupMemberDescription,omitempty"`
	ServiceKind                       ServiceKind                      `json:"ServiceKind,omitempty"`
	TargetReplicaSetSize              *int32                           `json:"TargetReplicaSetSize,omitempty"`
	MinReplicaSetSize                 *int32                           `json:"MinReplicaSetSize,omitempty"`
	HasPersistedState                 *bool                            `json:"HasPersistedState,omitempty"`
	ReplicaRestartWaitDurationSeconds *int32                           `json:"ReplicaRestartWaitDurationSeconds,omitempty"`
	QuorumLossWaitDurationSeconds     *int32                           `json:"QuorumLossWaitDurationSeconds,omitempty"`
	StandByReplicaKeepDurationSeconds *int32                           `json:"StandByReplicaKeepDurationSeconds,omitempty"`
	DefaultMoveCost                   DefaultMoveCost                  `json:"DefaultMoveCost,omitempty"`
	IsDefaultMoveCostSpecified        *bool                            `json:"IsDefaultMoveCostSpecified,omitempty"`
}

StatefulServiceGroupDescription is the description of the stateful service group

func (StatefulServiceGroupDescription) AsStatefulServiceGroupDescription

func (ssgd StatefulServiceGroupDescription) AsStatefulServiceGroupDescription() (*StatefulServiceGroupDescription, bool)

AsStatefulServiceGroupDescription is the ServiceGroupDescription implementation for StatefulServiceGroupDescription.

func (StatefulServiceGroupDescription) AsStatelessServiceGroupDescription

func (ssgd StatefulServiceGroupDescription) AsStatelessServiceGroupDescription() (*StatelessServiceGroupDescription, bool)

AsStatelessServiceGroupDescription is the ServiceGroupDescription implementation for StatefulServiceGroupDescription.

func (StatefulServiceGroupDescription) MarshalJSON

func (ssgd StatefulServiceGroupDescription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StatefulServiceGroupDescription.

type StatefulUpdateServiceDescription

type StatefulUpdateServiceDescription struct {
	Flags                                    *int32      `json:"Flags,omitempty"`
	ServiceKind                              ServiceKind `json:"ServiceKind,omitempty"`
	TargetReplicaSetSize                     *int32      `json:"TargetReplicaSetSize,omitempty"`
	MinReplicaSetSize                        *int32      `json:"MinReplicaSetSize,omitempty"`
	ReplicaRestartWaitDurationInMilliseconds *int32      `json:"ReplicaRestartWaitDurationInMilliseconds,omitempty"`
	QuorumLossWaitDurationInMilliseconds     *int32      `json:"QuorumLossWaitDurationInMilliseconds,omitempty"`
	StandByReplicaKeepDurationInMilliseconds *int32      `json:"StandByReplicaKeepDurationInMilliseconds,omitempty"`
}

StatefulUpdateServiceDescription is the description of the stateful update service

func (StatefulUpdateServiceDescription) AsStatefulUpdateServiceDescription

func (susd StatefulUpdateServiceDescription) AsStatefulUpdateServiceDescription() (*StatefulUpdateServiceDescription, bool)

AsStatefulUpdateServiceDescription is the UpdateServiceDescription implementation for StatefulUpdateServiceDescription.

func (StatefulUpdateServiceDescription) AsStatelessUpdateServiceDescription

func (susd StatefulUpdateServiceDescription) AsStatelessUpdateServiceDescription() (*StatelessUpdateServiceDescription, bool)

AsStatelessUpdateServiceDescription is the UpdateServiceDescription implementation for StatefulUpdateServiceDescription.

func (StatefulUpdateServiceDescription) MarshalJSON

func (susd StatefulUpdateServiceDescription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StatefulUpdateServiceDescription.

type StatefulUpdateServiceGroupDescription

type StatefulUpdateServiceGroupDescription struct {
	Flags                                    *int32      `json:"Flags,omitempty"`
	ServiceKind                              ServiceKind `json:"ServiceKind,omitempty"`
	TargetReplicaSetSize                     *int32      `json:"TargetReplicaSetSize,omitempty"`
	MinReplicaSetSize                        *int32      `json:"MinReplicaSetSize,omitempty"`
	ReplicaRestartWaitDurationInMilliseconds *int32      `json:"ReplicaRestartWaitDurationInMilliseconds,omitempty"`
	QuorumLossWaitDurationInMilliseconds     *int32      `json:"QuorumLossWaitDurationInMilliseconds,omitempty"`
	StandByReplicaKeepDurationInMilliseconds *int32      `json:"StandByReplicaKeepDurationInMilliseconds,omitempty"`
}

StatefulUpdateServiceGroupDescription is the description of the stateful update service group

func (StatefulUpdateServiceGroupDescription) AsStatefulUpdateServiceGroupDescription

func (susgd StatefulUpdateServiceGroupDescription) AsStatefulUpdateServiceGroupDescription() (*StatefulUpdateServiceGroupDescription, bool)

AsStatefulUpdateServiceGroupDescription is the UpdateServiceGroupDescription implementation for StatefulUpdateServiceGroupDescription.

func (StatefulUpdateServiceGroupDescription) AsStatelessUpdateServiceGroupDescription

func (susgd StatefulUpdateServiceGroupDescription) AsStatelessUpdateServiceGroupDescription() (*StatelessUpdateServiceGroupDescription, bool)

AsStatelessUpdateServiceGroupDescription is the UpdateServiceGroupDescription implementation for StatefulUpdateServiceGroupDescription.

func (StatefulUpdateServiceGroupDescription) MarshalJSON

func (susgd StatefulUpdateServiceGroupDescription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StatefulUpdateServiceGroupDescription.

type StatelessCreateServiceDescription

type StatelessCreateServiceDescription struct {
	ApplicationName          *string                        `json:"ApplicationName,omitempty"`
	ServiceName              *string                        `json:"ServiceName,omitempty"`
	ServiceTypeName          *string                        `json:"ServiceTypeName,omitempty"`
	PartitionDescription     *PartitionDescription          `json:"PartitionDescription,omitempty"`
	PlacementConstraints     *string                        `json:"PlacementConstraints,omitempty"`
	CorrelationScheme        *ServiceCorrelationDescription `json:"CorrelationScheme,omitempty"`
	ServiceLoadMetrics       *ServiceCorrelationDescription `json:"ServiceLoadMetrics,omitempty"`
	ServicePlacementPolicies *ServiceCorrelationDescription `json:"ServicePlacementPolicies,omitempty"`
	Flags                    *int32                         `json:"Flags,omitempty"`
	ServiceKind              ServiceKind                    `json:"ServiceKind,omitempty"`
	InstanceCount            *int32                         `json:"InstanceCount,omitempty"`
}

StatelessCreateServiceDescription is the description of the stateless create service

func (StatelessCreateServiceDescription) AsStatefulCreateServiceDescription

func (scsd StatelessCreateServiceDescription) AsStatefulCreateServiceDescription() (*StatefulCreateServiceDescription, bool)

AsStatefulCreateServiceDescription is the CreateServiceDescription implementation for StatelessCreateServiceDescription.

func (StatelessCreateServiceDescription) AsStatelessCreateServiceDescription

func (scsd StatelessCreateServiceDescription) AsStatelessCreateServiceDescription() (*StatelessCreateServiceDescription, bool)

AsStatelessCreateServiceDescription is the CreateServiceDescription implementation for StatelessCreateServiceDescription.

func (StatelessCreateServiceDescription) MarshalJSON

func (scsd StatelessCreateServiceDescription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StatelessCreateServiceDescription.

type StatelessCreateServiceGroupDescription

type StatelessCreateServiceGroupDescription struct {
	ApplicationName               *string                          `json:"ApplicationName,omitempty"`
	ServiceName                   *string                          `json:"ServiceName,omitempty"`
	ServiceTypeName               *string                          `json:"ServiceTypeName,omitempty"`
	PartitionDescription          *PartitionDescription            `json:"PartitionDescription,omitempty"`
	PlacementConstraints          *string                          `json:"PlacementConstraints,omitempty"`
	CorrelationScheme             *ServiceCorrelationDescription   `json:"CorrelationScheme,omitempty"`
	ServiceLoadMetrics            *ServiceCorrelationDescription   `json:"ServiceLoadMetrics,omitempty"`
	ServicePlacementPolicies      *ServiceCorrelationDescription   `json:"ServicePlacementPolicies,omitempty"`
	Flags                         *int32                           `json:"Flags,omitempty"`
	ServiceGroupMemberDescription *[]ServiceGroupMemberDescription `json:"ServiceGroupMemberDescription,omitempty"`
	ServiceKind                   ServiceKind                      `json:"ServiceKind,omitempty"`
	InstanceCount                 *int32                           `json:"InstanceCount,omitempty"`
}

StatelessCreateServiceGroupDescription is the description of the stateless create service group

func (StatelessCreateServiceGroupDescription) AsStatefulCreateServiceGroupDescription

func (scsgd StatelessCreateServiceGroupDescription) AsStatefulCreateServiceGroupDescription() (*StatefulCreateServiceGroupDescription, bool)

AsStatefulCreateServiceGroupDescription is the CreateServiceGroupDescription implementation for StatelessCreateServiceGroupDescription.

func (StatelessCreateServiceGroupDescription) AsStatelessCreateServiceGroupDescription

func (scsgd StatelessCreateServiceGroupDescription) AsStatelessCreateServiceGroupDescription() (*StatelessCreateServiceGroupDescription, bool)

AsStatelessCreateServiceGroupDescription is the CreateServiceGroupDescription implementation for StatelessCreateServiceGroupDescription.

func (StatelessCreateServiceGroupDescription) MarshalJSON

func (scsgd StatelessCreateServiceGroupDescription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StatelessCreateServiceGroupDescription.

type StatelessServiceDescription

type StatelessServiceDescription struct {
	ApplicationName          *string                        `json:"ApplicationName,omitempty"`
	ServiceName              *string                        `json:"ServiceName,omitempty"`
	ServiceTypeName          *string                        `json:"ServiceTypeName,omitempty"`
	PartitionDescription     *PartitionDescription          `json:"PartitionDescription,omitempty"`
	PlacementConstraints     *string                        `json:"PlacementConstraints,omitempty"`
	CorrelationScheme        *ServiceCorrelationDescription `json:"CorrelationScheme,omitempty"`
	ServiceLoadMetrics       *ServiceCorrelationDescription `json:"ServiceLoadMetrics,omitempty"`
	ServicePlacementPolicies *ServiceCorrelationDescription `json:"ServicePlacementPolicies,omitempty"`
	Flags                    *int32                         `json:"Flags,omitempty"`
	ServiceKind              ServiceKind                    `json:"ServiceKind,omitempty"`
	InstanceCount            *int32                         `json:"InstanceCount,omitempty"`
}

StatelessServiceDescription is the description of the stateless service

func (StatelessServiceDescription) AsStatefulServiceDescription

func (ssd StatelessServiceDescription) AsStatefulServiceDescription() (*StatefulServiceDescription, bool)

AsStatefulServiceDescription is the ServiceDescription implementation for StatelessServiceDescription.

func (StatelessServiceDescription) AsStatelessServiceDescription

func (ssd StatelessServiceDescription) AsStatelessServiceDescription() (*StatelessServiceDescription, bool)

AsStatelessServiceDescription is the ServiceDescription implementation for StatelessServiceDescription.

func (StatelessServiceDescription) MarshalJSON

func (ssd StatelessServiceDescription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StatelessServiceDescription.

type StatelessServiceGroupDescription

type StatelessServiceGroupDescription struct {
	ApplicationName               *string                          `json:"ApplicationName,omitempty"`
	ServiceName                   *string                          `json:"ServiceName,omitempty"`
	ServiceTypeName               *string                          `json:"ServiceTypeName,omitempty"`
	PartitionDescription          *PartitionDescription            `json:"PartitionDescription,omitempty"`
	PlacementConstraints          *string                          `json:"PlacementConstraints,omitempty"`
	CorrelationScheme             *ServiceCorrelationDescription   `json:"CorrelationScheme,omitempty"`
	ServiceLoadMetrics            *ServiceCorrelationDescription   `json:"ServiceLoadMetrics,omitempty"`
	ServicePlacementPolicies      *ServiceCorrelationDescription   `json:"ServicePlacementPolicies,omitempty"`
	Flags                         *int32                           `json:"Flags,omitempty"`
	ServiceGroupMemberDescription *[]ServiceGroupMemberDescription `json:"ServiceGroupMemberDescription,omitempty"`
	ServiceKind                   ServiceKind                      `json:"ServiceKind,omitempty"`
	InstanceCount                 *int32                           `json:"InstanceCount,omitempty"`
}

StatelessServiceGroupDescription is the description of the stateless service group

func (StatelessServiceGroupDescription) AsStatefulServiceGroupDescription

func (ssgd StatelessServiceGroupDescription) AsStatefulServiceGroupDescription() (*StatefulServiceGroupDescription, bool)

AsStatefulServiceGroupDescription is the ServiceGroupDescription implementation for StatelessServiceGroupDescription.

func (StatelessServiceGroupDescription) AsStatelessServiceGroupDescription

func (ssgd StatelessServiceGroupDescription) AsStatelessServiceGroupDescription() (*StatelessServiceGroupDescription, bool)

AsStatelessServiceGroupDescription is the ServiceGroupDescription implementation for StatelessServiceGroupDescription.

func (StatelessServiceGroupDescription) MarshalJSON

func (ssgd StatelessServiceGroupDescription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StatelessServiceGroupDescription.

type StatelessUpdateServiceDescription

type StatelessUpdateServiceDescription struct {
	Flags         *int32      `json:"Flags,omitempty"`
	ServiceKind   ServiceKind `json:"ServiceKind,omitempty"`
	InstanceCount *int32      `json:"InstanceCount,omitempty"`
}

StatelessUpdateServiceDescription is the description of the stateless update service

func (StatelessUpdateServiceDescription) AsStatefulUpdateServiceDescription

func (susd StatelessUpdateServiceDescription) AsStatefulUpdateServiceDescription() (*StatefulUpdateServiceDescription, bool)

AsStatefulUpdateServiceDescription is the UpdateServiceDescription implementation for StatelessUpdateServiceDescription.

func (StatelessUpdateServiceDescription) AsStatelessUpdateServiceDescription

func (susd StatelessUpdateServiceDescription) AsStatelessUpdateServiceDescription() (*StatelessUpdateServiceDescription, bool)

AsStatelessUpdateServiceDescription is the UpdateServiceDescription implementation for StatelessUpdateServiceDescription.

func (StatelessUpdateServiceDescription) MarshalJSON

func (susd StatelessUpdateServiceDescription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StatelessUpdateServiceDescription.

type StatelessUpdateServiceGroupDescription

type StatelessUpdateServiceGroupDescription struct {
	Flags         *int32      `json:"Flags,omitempty"`
	ServiceKind   ServiceKind `json:"ServiceKind,omitempty"`
	InstanceCount *int32      `json:"InstanceCount,omitempty"`
}

StatelessUpdateServiceGroupDescription is the description of the stateless update service group

func (StatelessUpdateServiceGroupDescription) AsStatefulUpdateServiceGroupDescription

func (susgd StatelessUpdateServiceGroupDescription) AsStatefulUpdateServiceGroupDescription() (*StatefulUpdateServiceGroupDescription, bool)

AsStatefulUpdateServiceGroupDescription is the UpdateServiceGroupDescription implementation for StatelessUpdateServiceGroupDescription.

func (StatelessUpdateServiceGroupDescription) AsStatelessUpdateServiceGroupDescription

func (susgd StatelessUpdateServiceGroupDescription) AsStatelessUpdateServiceGroupDescription() (*StatelessUpdateServiceGroupDescription, bool)

AsStatelessUpdateServiceGroupDescription is the UpdateServiceGroupDescription implementation for StatelessUpdateServiceGroupDescription.

func (StatelessUpdateServiceGroupDescription) MarshalJSON

func (susgd StatelessUpdateServiceGroupDescription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StatelessUpdateServiceGroupDescription.

type String

type String struct {
	autorest.Response `json:"-"`
	Value             *string `json:"value,omitempty"`
}

String is

type SystemApplicationHealthEvaluation

type SystemApplicationHealthEvaluation struct {
	Description           *string                `json:"Description,omitempty"`
	AggregatedHealthState AggregatedHealthState  `json:"AggregatedHealthState,omitempty"`
	Kind                  Kind                   `json:"Kind,omitempty"`
	UnhealthyEvaluations  *[]UnhealthyEvaluation `json:"UnhealthyEvaluations,omitempty"`
}

SystemApplicationHealthEvaluation is the evaluation of the system application health

func (SystemApplicationHealthEvaluation) AsApplicationHealthEvaluation

func (sahe SystemApplicationHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)

AsApplicationHealthEvaluation is the HealthEvaluation implementation for SystemApplicationHealthEvaluation.

func (SystemApplicationHealthEvaluation) AsApplicationTypeHealthEvaluation

func (sahe SystemApplicationHealthEvaluation) AsApplicationTypeHealthEvaluation() (*ApplicationTypeHealthEvaluation, bool)

AsApplicationTypeHealthEvaluation is the HealthEvaluation implementation for SystemApplicationHealthEvaluation.

func (SystemApplicationHealthEvaluation) AsApplicationsHealthEvaluation

func (sahe SystemApplicationHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)

AsApplicationsHealthEvaluation is the HealthEvaluation implementation for SystemApplicationHealthEvaluation.

func (SystemApplicationHealthEvaluation) AsDeltaNodesCheckHealthEvaluation

func (sahe SystemApplicationHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)

AsDeltaNodesCheckHealthEvaluation is the HealthEvaluation implementation for SystemApplicationHealthEvaluation.

func (SystemApplicationHealthEvaluation) AsDeployedApplicationHealthEvaluation

func (sahe SystemApplicationHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)

AsDeployedApplicationHealthEvaluation is the HealthEvaluation implementation for SystemApplicationHealthEvaluation.

func (SystemApplicationHealthEvaluation) AsDeployedApplicationsHealthEvaluation

func (sahe SystemApplicationHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)

AsDeployedApplicationsHealthEvaluation is the HealthEvaluation implementation for SystemApplicationHealthEvaluation.

func (SystemApplicationHealthEvaluation) AsDeployedServicePackageHealthEvaluation

func (sahe SystemApplicationHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)

AsDeployedServicePackageHealthEvaluation is the HealthEvaluation implementation for SystemApplicationHealthEvaluation.

func (SystemApplicationHealthEvaluation) AsDeployedServicePackagesHealthEvaluation

func (sahe SystemApplicationHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)

AsDeployedServicePackagesHealthEvaluation is the HealthEvaluation implementation for SystemApplicationHealthEvaluation.

func (SystemApplicationHealthEvaluation) AsEventHealthEvaluation

func (sahe SystemApplicationHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)

AsEventHealthEvaluation is the HealthEvaluation implementation for SystemApplicationHealthEvaluation.

func (SystemApplicationHealthEvaluation) AsNodeHealthEvaluation

func (sahe SystemApplicationHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)

AsNodeHealthEvaluation is the HealthEvaluation implementation for SystemApplicationHealthEvaluation.

func (SystemApplicationHealthEvaluation) AsNodesHealthEvaluation

func (sahe SystemApplicationHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)

AsNodesHealthEvaluation is the HealthEvaluation implementation for SystemApplicationHealthEvaluation.

func (SystemApplicationHealthEvaluation) AsPartitionHealthEvaluation

func (sahe SystemApplicationHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)

AsPartitionHealthEvaluation is the HealthEvaluation implementation for SystemApplicationHealthEvaluation.

func (SystemApplicationHealthEvaluation) AsPartitionsHealthEvaluation

func (sahe SystemApplicationHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)

AsPartitionsHealthEvaluation is the HealthEvaluation implementation for SystemApplicationHealthEvaluation.

func (SystemApplicationHealthEvaluation) AsReplicaHealthEvaluation

func (sahe SystemApplicationHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)

AsReplicaHealthEvaluation is the HealthEvaluation implementation for SystemApplicationHealthEvaluation.

func (SystemApplicationHealthEvaluation) AsReplicasHealthEvaluation

func (sahe SystemApplicationHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)

AsReplicasHealthEvaluation is the HealthEvaluation implementation for SystemApplicationHealthEvaluation.

func (SystemApplicationHealthEvaluation) AsServiceHealthEvaluation

func (sahe SystemApplicationHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)

AsServiceHealthEvaluation is the HealthEvaluation implementation for SystemApplicationHealthEvaluation.

func (SystemApplicationHealthEvaluation) AsServicesHealthEvaluation

func (sahe SystemApplicationHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)

AsServicesHealthEvaluation is the HealthEvaluation implementation for SystemApplicationHealthEvaluation.

func (SystemApplicationHealthEvaluation) AsSystemApplicationHealthEvaluation

func (sahe SystemApplicationHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)

AsSystemApplicationHealthEvaluation is the HealthEvaluation implementation for SystemApplicationHealthEvaluation.

func (SystemApplicationHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation

func (sahe SystemApplicationHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)

AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the HealthEvaluation implementation for SystemApplicationHealthEvaluation.

func (SystemApplicationHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation

func (sahe SystemApplicationHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation() (*UpgradeDomainDeployedApplicationsHealthEvaluation, bool)

AsUpgradeDomainDeployedApplicationsHealthEvaluation is the HealthEvaluation implementation for SystemApplicationHealthEvaluation.

func (SystemApplicationHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation

func (sahe SystemApplicationHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)

AsUpgradeDomainNodesHealthEvaluation is the HealthEvaluation implementation for SystemApplicationHealthEvaluation.

func (SystemApplicationHealthEvaluation) MarshalJSON

func (sahe SystemApplicationHealthEvaluation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SystemApplicationHealthEvaluation.

type UnhealthyEvaluation

type UnhealthyEvaluation struct {
	HealthEvaluation HealthEvaluation `json:"HealthEvaluation,omitempty"`
}

UnhealthyEvaluation is the evaluation of the unhealthy

func (*UnhealthyEvaluation) UnmarshalJSON

func (ue *UnhealthyEvaluation) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for UnhealthyEvaluation struct.

type UnregisterApplicationType

type UnregisterApplicationType struct {
	ApplicationTypeVersion *string `json:"ApplicationTypeVersion,omitempty"`
}

UnregisterApplicationType is the type of the unregister application

type UnregisterClusterPackage

type UnregisterClusterPackage struct {
	CodeVersion   *string `json:"CodeVersion,omitempty"`
	ConfigVersion *string `json:"ConfigVersion,omitempty"`
}

UnregisterClusterPackage is the package of the unregister cluster

type UpdateApplicationUpgrade

type UpdateApplicationUpgrade struct {
	Name                    *string                  `json:"Name,omitempty"`
	UpgradeKind             *string                  `json:"UpgradeKind,omitempty"`
	UpdateDescription       *UpdateDescription       `json:"UpdateDescription,omitempty"`
	ApplicationHealthPolicy *ApplicationHealthPolicy `json:"ApplicationHealthPolicy,omitempty"`
}

UpdateApplicationUpgrade is the description of the update application upgrade

type UpdateClusterUpgrade

type UpdateClusterUpgrade struct {
	UpgradeKind                  *string              `json:"UpgradeKind,omitempty"`
	UpdateDescription            *UpdateDescription   `json:"UpdateDescription,omitempty"`
	ClusterHealthPolicy          *ClusterHealthPolicy `json:"ClusterHealthPolicy,omitempty"`
	EnableDeltaHealthEvaluations *bool                `json:"EnableDeltaHealthEvaluations,omitempty"`
}

UpdateClusterUpgrade is the description of the update cluster upgrade

type UpdateDescription

type UpdateDescription struct {
	RollingUpgradeMode                      RollingUpgradeMode `json:"RollingUpgradeMode,omitempty"`
	ForceRestart                            *bool              `json:"ForceRestart,omitempty"`
	FailureAction                           *string            `json:"FailureAction,omitempty"`
	UpgradeReplicaSetCheckTimeoutInSeconds  *int32             `json:"UpgradeReplicaSetCheckTimeoutInSeconds,omitempty"`
	HealthCheckWaitDurationInMilliseconds   *string            `json:"HealthCheckWaitDurationInMilliseconds,omitempty"`
	HealthCheckStableDurationInMilliseconds *string            `json:"HealthCheckStableDurationInMilliseconds,omitempty"`
	HealthCheckRetryTimeoutInMilliseconds   *string            `json:"HealthCheckRetryTimeoutInMilliseconds,omitempty"`
	UpgradeTimeoutInMilliseconds            *string            `json:"UpgradeTimeoutInMilliseconds,omitempty"`
	UpgradeDomainTimeoutInMilliseconds      *string            `json:"UpgradeDomainTimeoutInMilliseconds,omitempty"`
}

UpdateDescription is the description of the update

type UpdateServiceDescription

type UpdateServiceDescription interface {
	AsStatelessUpdateServiceDescription() (*StatelessUpdateServiceDescription, bool)
	AsStatefulUpdateServiceDescription() (*StatefulUpdateServiceDescription, bool)
}

UpdateServiceDescription is the description of the update service

type UpdateServiceGroupDescription

type UpdateServiceGroupDescription interface {
	AsStatelessUpdateServiceGroupDescription() (*StatelessUpdateServiceGroupDescription, bool)
	AsStatefulUpdateServiceGroupDescription() (*StatefulUpdateServiceGroupDescription, bool)
}

UpdateServiceGroupDescription is the description of the update service group

type UpgradeDomainDeltaNodesCheckHealthEvaluation

type UpgradeDomainDeltaNodesCheckHealthEvaluation struct {
	Description                                *string                `json:"Description,omitempty"`
	AggregatedHealthState                      AggregatedHealthState  `json:"AggregatedHealthState,omitempty"`
	Kind                                       Kind                   `json:"Kind,omitempty"`
	UpgradeDomainName                          *string                `json:"UpgradeDomainName,omitempty"`
	UnhealthyEvaluations                       *[]UnhealthyEvaluation `json:"UnhealthyEvaluations,omitempty"`
	BaselineErrorCount                         *int32                 `json:"BaselineErrorCount,omitempty"`
	BaselineTotalCount                         *int32                 `json:"BaselineTotalCount,omitempty"`
	TotalCount                                 *int32                 `json:"TotalCount,omitempty"`
	MaxPercentUpgradeDomainDeltaUnhealthyNodes *int32                 `json:"MaxPercentUpgradeDomainDeltaUnhealthyNodes,omitempty"`
}

UpgradeDomainDeltaNodesCheckHealthEvaluation is the evaluation of the upgrade domain delta nodes check health

func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsApplicationHealthEvaluation

func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)

AsApplicationHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.

func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsApplicationTypeHealthEvaluation

func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsApplicationTypeHealthEvaluation() (*ApplicationTypeHealthEvaluation, bool)

AsApplicationTypeHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.

func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsApplicationsHealthEvaluation

func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)

AsApplicationsHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.

func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsDeltaNodesCheckHealthEvaluation

func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)

AsDeltaNodesCheckHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.

func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsDeployedApplicationHealthEvaluation

func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)

AsDeployedApplicationHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.

func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsDeployedApplicationsHealthEvaluation

func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)

AsDeployedApplicationsHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.

func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsDeployedServicePackageHealthEvaluation

func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)

AsDeployedServicePackageHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.

func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsDeployedServicePackagesHealthEvaluation

func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)

AsDeployedServicePackagesHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.

func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsEventHealthEvaluation

func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)

AsEventHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.

func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsNodeHealthEvaluation

func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)

AsNodeHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.

func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsNodesHealthEvaluation

func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)

AsNodesHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.

func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsPartitionHealthEvaluation

func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)

AsPartitionHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.

func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsPartitionsHealthEvaluation

func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)

AsPartitionsHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.

func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsReplicaHealthEvaluation

func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)

AsReplicaHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.

func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsReplicasHealthEvaluation

func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)

AsReplicasHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.

func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsServiceHealthEvaluation

func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)

AsServiceHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.

func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsServicesHealthEvaluation

func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)

AsServicesHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.

func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsSystemApplicationHealthEvaluation

func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)

AsSystemApplicationHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.

func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation

func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)

AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.

func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation

func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation() (*UpgradeDomainDeployedApplicationsHealthEvaluation, bool)

AsUpgradeDomainDeployedApplicationsHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.

func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation

func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)

AsUpgradeDomainNodesHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.

func (UpgradeDomainDeltaNodesCheckHealthEvaluation) MarshalJSON

func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UpgradeDomainDeltaNodesCheckHealthEvaluation.

type UpgradeDomainDeployedApplicationsHealthEvaluation

type UpgradeDomainDeployedApplicationsHealthEvaluation struct {
	Description                             *string                `json:"Description,omitempty"`
	AggregatedHealthState                   AggregatedHealthState  `json:"AggregatedHealthState,omitempty"`
	Kind                                    Kind                   `json:"Kind,omitempty"`
	UpgradeDomainName                       *string                `json:"UpgradeDomainName,omitempty"`
	UnhealthyEvaluations                    *[]UnhealthyEvaluation `json:"UnhealthyEvaluations,omitempty"`
	TotalCount                              *int32                 `json:"TotalCount,omitempty"`
	MaxPercentUnhealthyDeployedApplications *int32                 `json:"MaxPercentUnhealthyDeployedApplications,omitempty"`
}

UpgradeDomainDeployedApplicationsHealthEvaluation is the evaluation of the upgrade domain deployed applications health

func (UpgradeDomainDeployedApplicationsHealthEvaluation) AsApplicationHealthEvaluation

func (uddahe UpgradeDomainDeployedApplicationsHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)

AsApplicationHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainDeployedApplicationsHealthEvaluation.

func (UpgradeDomainDeployedApplicationsHealthEvaluation) AsApplicationTypeHealthEvaluation

func (uddahe UpgradeDomainDeployedApplicationsHealthEvaluation) AsApplicationTypeHealthEvaluation() (*ApplicationTypeHealthEvaluation, bool)

AsApplicationTypeHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainDeployedApplicationsHealthEvaluation.

func (UpgradeDomainDeployedApplicationsHealthEvaluation) AsApplicationsHealthEvaluation

func (uddahe UpgradeDomainDeployedApplicationsHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)

AsApplicationsHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainDeployedApplicationsHealthEvaluation.

func (UpgradeDomainDeployedApplicationsHealthEvaluation) AsDeltaNodesCheckHealthEvaluation

func (uddahe UpgradeDomainDeployedApplicationsHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)

AsDeltaNodesCheckHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainDeployedApplicationsHealthEvaluation.

func (UpgradeDomainDeployedApplicationsHealthEvaluation) AsDeployedApplicationHealthEvaluation

func (uddahe UpgradeDomainDeployedApplicationsHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)

AsDeployedApplicationHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainDeployedApplicationsHealthEvaluation.

func (UpgradeDomainDeployedApplicationsHealthEvaluation) AsDeployedApplicationsHealthEvaluation

func (uddahe UpgradeDomainDeployedApplicationsHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)

AsDeployedApplicationsHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainDeployedApplicationsHealthEvaluation.

func (UpgradeDomainDeployedApplicationsHealthEvaluation) AsDeployedServicePackageHealthEvaluation

func (uddahe UpgradeDomainDeployedApplicationsHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)

AsDeployedServicePackageHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainDeployedApplicationsHealthEvaluation.

func (UpgradeDomainDeployedApplicationsHealthEvaluation) AsDeployedServicePackagesHealthEvaluation

func (uddahe UpgradeDomainDeployedApplicationsHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)

AsDeployedServicePackagesHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainDeployedApplicationsHealthEvaluation.

func (UpgradeDomainDeployedApplicationsHealthEvaluation) AsEventHealthEvaluation

AsEventHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainDeployedApplicationsHealthEvaluation.

func (UpgradeDomainDeployedApplicationsHealthEvaluation) AsNodeHealthEvaluation

AsNodeHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainDeployedApplicationsHealthEvaluation.

func (UpgradeDomainDeployedApplicationsHealthEvaluation) AsNodesHealthEvaluation

AsNodesHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainDeployedApplicationsHealthEvaluation.

func (UpgradeDomainDeployedApplicationsHealthEvaluation) AsPartitionHealthEvaluation

func (uddahe UpgradeDomainDeployedApplicationsHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)

AsPartitionHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainDeployedApplicationsHealthEvaluation.

func (UpgradeDomainDeployedApplicationsHealthEvaluation) AsPartitionsHealthEvaluation

func (uddahe UpgradeDomainDeployedApplicationsHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)

AsPartitionsHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainDeployedApplicationsHealthEvaluation.

func (UpgradeDomainDeployedApplicationsHealthEvaluation) AsReplicaHealthEvaluation

AsReplicaHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainDeployedApplicationsHealthEvaluation.

func (UpgradeDomainDeployedApplicationsHealthEvaluation) AsReplicasHealthEvaluation

AsReplicasHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainDeployedApplicationsHealthEvaluation.

func (UpgradeDomainDeployedApplicationsHealthEvaluation) AsServiceHealthEvaluation

AsServiceHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainDeployedApplicationsHealthEvaluation.

func (UpgradeDomainDeployedApplicationsHealthEvaluation) AsServicesHealthEvaluation

AsServicesHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainDeployedApplicationsHealthEvaluation.

func (UpgradeDomainDeployedApplicationsHealthEvaluation) AsSystemApplicationHealthEvaluation

func (uddahe UpgradeDomainDeployedApplicationsHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)

AsSystemApplicationHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainDeployedApplicationsHealthEvaluation.

func (UpgradeDomainDeployedApplicationsHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation

func (uddahe UpgradeDomainDeployedApplicationsHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)

AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainDeployedApplicationsHealthEvaluation.

func (UpgradeDomainDeployedApplicationsHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation

func (uddahe UpgradeDomainDeployedApplicationsHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation() (*UpgradeDomainDeployedApplicationsHealthEvaluation, bool)

AsUpgradeDomainDeployedApplicationsHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainDeployedApplicationsHealthEvaluation.

func (UpgradeDomainDeployedApplicationsHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation

func (uddahe UpgradeDomainDeployedApplicationsHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)

AsUpgradeDomainNodesHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainDeployedApplicationsHealthEvaluation.

func (UpgradeDomainDeployedApplicationsHealthEvaluation) MarshalJSON

MarshalJSON is the custom marshaler for UpgradeDomainDeployedApplicationsHealthEvaluation.

type UpgradeDomainNodesHealthEvaluation

type UpgradeDomainNodesHealthEvaluation struct {
	Description              *string                `json:"Description,omitempty"`
	AggregatedHealthState    AggregatedHealthState  `json:"AggregatedHealthState,omitempty"`
	Kind                     Kind                   `json:"Kind,omitempty"`
	UpgradeDomainName        *string                `json:"UpgradeDomainName,omitempty"`
	UnhealthyEvaluations     *[]UnhealthyEvaluation `json:"UnhealthyEvaluations,omitempty"`
	TotalCount               *int32                 `json:"TotalCount,omitempty"`
	MaxPercentUnhealthyNodes *int32                 `json:"MaxPercentUnhealthyNodes,omitempty"`
}

UpgradeDomainNodesHealthEvaluation is the evaluation of the upgrade domain nodes health

func (UpgradeDomainNodesHealthEvaluation) AsApplicationHealthEvaluation

func (udnhe UpgradeDomainNodesHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)

AsApplicationHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.

func (UpgradeDomainNodesHealthEvaluation) AsApplicationTypeHealthEvaluation

func (udnhe UpgradeDomainNodesHealthEvaluation) AsApplicationTypeHealthEvaluation() (*ApplicationTypeHealthEvaluation, bool)

AsApplicationTypeHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.

func (UpgradeDomainNodesHealthEvaluation) AsApplicationsHealthEvaluation

func (udnhe UpgradeDomainNodesHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)

AsApplicationsHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.

func (UpgradeDomainNodesHealthEvaluation) AsDeltaNodesCheckHealthEvaluation

func (udnhe UpgradeDomainNodesHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)

AsDeltaNodesCheckHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.

func (UpgradeDomainNodesHealthEvaluation) AsDeployedApplicationHealthEvaluation

func (udnhe UpgradeDomainNodesHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)

AsDeployedApplicationHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.

func (UpgradeDomainNodesHealthEvaluation) AsDeployedApplicationsHealthEvaluation

func (udnhe UpgradeDomainNodesHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)

AsDeployedApplicationsHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.

func (UpgradeDomainNodesHealthEvaluation) AsDeployedServicePackageHealthEvaluation

func (udnhe UpgradeDomainNodesHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)

AsDeployedServicePackageHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.

func (UpgradeDomainNodesHealthEvaluation) AsDeployedServicePackagesHealthEvaluation

func (udnhe UpgradeDomainNodesHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)

AsDeployedServicePackagesHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.

func (UpgradeDomainNodesHealthEvaluation) AsEventHealthEvaluation

func (udnhe UpgradeDomainNodesHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)

AsEventHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.

func (UpgradeDomainNodesHealthEvaluation) AsNodeHealthEvaluation

func (udnhe UpgradeDomainNodesHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)

AsNodeHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.

func (UpgradeDomainNodesHealthEvaluation) AsNodesHealthEvaluation

func (udnhe UpgradeDomainNodesHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)

AsNodesHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.

func (UpgradeDomainNodesHealthEvaluation) AsPartitionHealthEvaluation

func (udnhe UpgradeDomainNodesHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)

AsPartitionHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.

func (UpgradeDomainNodesHealthEvaluation) AsPartitionsHealthEvaluation

func (udnhe UpgradeDomainNodesHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)

AsPartitionsHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.

func (UpgradeDomainNodesHealthEvaluation) AsReplicaHealthEvaluation

func (udnhe UpgradeDomainNodesHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)

AsReplicaHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.

func (UpgradeDomainNodesHealthEvaluation) AsReplicasHealthEvaluation

func (udnhe UpgradeDomainNodesHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)

AsReplicasHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.

func (UpgradeDomainNodesHealthEvaluation) AsServiceHealthEvaluation

func (udnhe UpgradeDomainNodesHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)

AsServiceHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.

func (UpgradeDomainNodesHealthEvaluation) AsServicesHealthEvaluation

func (udnhe UpgradeDomainNodesHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)

AsServicesHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.

func (UpgradeDomainNodesHealthEvaluation) AsSystemApplicationHealthEvaluation

func (udnhe UpgradeDomainNodesHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)

AsSystemApplicationHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.

func (UpgradeDomainNodesHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation

func (udnhe UpgradeDomainNodesHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)

AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.

func (UpgradeDomainNodesHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation

func (udnhe UpgradeDomainNodesHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation() (*UpgradeDomainDeployedApplicationsHealthEvaluation, bool)

AsUpgradeDomainDeployedApplicationsHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.

func (UpgradeDomainNodesHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation

func (udnhe UpgradeDomainNodesHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)

AsUpgradeDomainNodesHealthEvaluation is the HealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.

func (UpgradeDomainNodesHealthEvaluation) MarshalJSON

func (udnhe UpgradeDomainNodesHealthEvaluation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UpgradeDomainNodesHealthEvaluation.

type UpgradeKind

type UpgradeKind string

UpgradeKind enumerates the values for upgrade kind.

const (
	// UpgradeKindInvalid specifies the upgrade kind invalid state for upgrade kind.
	UpgradeKindInvalid UpgradeKind = "Invalid"
	// UpgradeKindRolling specifies the upgrade kind rolling state for upgrade kind.
	UpgradeKindRolling UpgradeKind = "Rolling"
)

type UpgradeProgressesClient

type UpgradeProgressesClient struct {
	ManagementClient
}

UpgradeProgressesClient is the client for the UpgradeProgresses methods of the Servicefabric service.

func NewUpgradeProgressesClient

func NewUpgradeProgressesClient(timeout *int32) UpgradeProgressesClient

NewUpgradeProgressesClient creates an instance of the UpgradeProgressesClient client.

func NewUpgradeProgressesClientWithBaseURI

func NewUpgradeProgressesClientWithBaseURI(baseURI string, timeout *int32) UpgradeProgressesClient

NewUpgradeProgressesClientWithBaseURI creates an instance of the UpgradeProgressesClient client.

func (UpgradeProgressesClient) Get

func (client UpgradeProgressesClient) Get() (result ClusterUpgradeProgress, err error)

Get get upgrade progresses

func (UpgradeProgressesClient) GetPreparer

func (client UpgradeProgressesClient) GetPreparer() (*http.Request, error)

GetPreparer prepares the Get request.

func (UpgradeProgressesClient) GetResponder

func (client UpgradeProgressesClient) GetResponder(resp *http.Response) (result ClusterUpgradeProgress, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (UpgradeProgressesClient) GetSender

func (client UpgradeProgressesClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

type UpgradeState

type UpgradeState string

UpgradeState enumerates the values for upgrade state.

const (
	// UpgradeStateInvalid specifies the upgrade state invalid state for upgrade state.
	UpgradeStateInvalid UpgradeState = "Invalid"
	// UpgradeStateRollingBackCompleted specifies the upgrade state rolling back completed state for upgrade state.
	UpgradeStateRollingBackCompleted UpgradeState = "RollingBackCompleted"
	// UpgradeStateRollingBackInProgress specifies the upgrade state rolling back in progress state for upgrade state.
	UpgradeStateRollingBackInProgress UpgradeState = "RollingBackInProgress"
	// UpgradeStateRollingForwardCompleted specifies the upgrade state rolling forward completed state for upgrade state.
	UpgradeStateRollingForwardCompleted UpgradeState = "RollingForwardCompleted"
	// UpgradeStateRollingForwardInProgress specifies the upgrade state rolling forward in progress state for upgrade
	// state.
	UpgradeStateRollingForwardInProgress UpgradeState = "RollingForwardInProgress"
	// UpgradeStateRollingForwardPending specifies the upgrade state rolling forward pending state for upgrade state.
	UpgradeStateRollingForwardPending UpgradeState = "RollingForwardPending"
)

type UpgradeState1

type UpgradeState1 string

UpgradeState1 enumerates the values for upgrade state 1.

const (
	// UpgradeState1Invalid specifies the upgrade state 1 invalid state for upgrade state 1.
	UpgradeState1Invalid UpgradeState1 = "Invalid"
	// UpgradeState1RollingBackCompleted specifies the upgrade state 1 rolling back completed state for upgrade state 1.
	UpgradeState1RollingBackCompleted UpgradeState1 = "RollingBackCompleted"
	// UpgradeState1RollingBackInProgress specifies the upgrade state 1 rolling back in progress state for upgrade state 1.
	UpgradeState1RollingBackInProgress UpgradeState1 = "RollingBackInProgress"
	// UpgradeState1RollingForwardCompleted specifies the upgrade state 1 rolling forward completed state for upgrade state
	// 1.
	UpgradeState1RollingForwardCompleted UpgradeState1 = "RollingForwardCompleted"
	// UpgradeState1RollingForwardInProgress specifies the upgrade state 1 rolling forward in progress state for upgrade
	// state 1.
	UpgradeState1RollingForwardInProgress UpgradeState1 = "RollingForwardInProgress"
	// UpgradeState1RollingForwardPending specifies the upgrade state 1 rolling forward pending state for upgrade state 1.
	UpgradeState1RollingForwardPending UpgradeState1 = "RollingForwardPending"
)

Jump to

Keyboard shortcuts

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