servicefabric

package
v12.5.0-beta+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2018 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 ...
	Error AggregatedHealthState = "Error"
	// Invalid ...
	Invalid AggregatedHealthState = "Invalid"
	// Ok ...
	Ok AggregatedHealthState = "Ok"
	// Unknown ...
	Unknown AggregatedHealthState = "Unknown"
	// Warning ...
	Warning AggregatedHealthState = "Warning"
)

type AggregatedHealthState1

type AggregatedHealthState1 string

AggregatedHealthState1 enumerates the values for aggregated health state 1.

const (
	// AggregatedHealthState1Error ...
	AggregatedHealthState1Error AggregatedHealthState1 = "Error"
	// AggregatedHealthState1Invalid ...
	AggregatedHealthState1Invalid AggregatedHealthState1 = "Invalid"
	// AggregatedHealthState1Ok ...
	AggregatedHealthState1Ok AggregatedHealthState1 = "Ok"
	// AggregatedHealthState1Unknown ...
	AggregatedHealthState1Unknown AggregatedHealthState1 = "Unknown"
	// AggregatedHealthState1Warning ...
	AggregatedHealthState1Warning AggregatedHealthState1 = "Warning"
)

type AggregatedHealthState10

type AggregatedHealthState10 string

AggregatedHealthState10 enumerates the values for aggregated health state 10.

const (
	// AggregatedHealthState10Error ...
	AggregatedHealthState10Error AggregatedHealthState10 = "Error"
	// AggregatedHealthState10Invalid ...
	AggregatedHealthState10Invalid AggregatedHealthState10 = "Invalid"
	// AggregatedHealthState10Ok ...
	AggregatedHealthState10Ok AggregatedHealthState10 = "Ok"
	// AggregatedHealthState10Unknown ...
	AggregatedHealthState10Unknown AggregatedHealthState10 = "Unknown"
	// AggregatedHealthState10Warning ...
	AggregatedHealthState10Warning AggregatedHealthState10 = "Warning"
)

type AggregatedHealthState11

type AggregatedHealthState11 string

AggregatedHealthState11 enumerates the values for aggregated health state 11.

const (
	// AggregatedHealthState11Error ...
	AggregatedHealthState11Error AggregatedHealthState11 = "Error"
	// AggregatedHealthState11Invalid ...
	AggregatedHealthState11Invalid AggregatedHealthState11 = "Invalid"
	// AggregatedHealthState11Ok ...
	AggregatedHealthState11Ok AggregatedHealthState11 = "Ok"
	// AggregatedHealthState11Unknown ...
	AggregatedHealthState11Unknown AggregatedHealthState11 = "Unknown"
	// AggregatedHealthState11Warning ...
	AggregatedHealthState11Warning AggregatedHealthState11 = "Warning"
)

type AggregatedHealthState12

type AggregatedHealthState12 string

AggregatedHealthState12 enumerates the values for aggregated health state 12.

const (
	// AggregatedHealthState12Error ...
	AggregatedHealthState12Error AggregatedHealthState12 = "Error"
	// AggregatedHealthState12Invalid ...
	AggregatedHealthState12Invalid AggregatedHealthState12 = "Invalid"
	// AggregatedHealthState12Ok ...
	AggregatedHealthState12Ok AggregatedHealthState12 = "Ok"
	// AggregatedHealthState12Unknown ...
	AggregatedHealthState12Unknown AggregatedHealthState12 = "Unknown"
	// AggregatedHealthState12Warning ...
	AggregatedHealthState12Warning AggregatedHealthState12 = "Warning"
)

type AggregatedHealthState13

type AggregatedHealthState13 string

AggregatedHealthState13 enumerates the values for aggregated health state 13.

const (
	// AggregatedHealthState13Error ...
	AggregatedHealthState13Error AggregatedHealthState13 = "Error"
	// AggregatedHealthState13Invalid ...
	AggregatedHealthState13Invalid AggregatedHealthState13 = "Invalid"
	// AggregatedHealthState13Ok ...
	AggregatedHealthState13Ok AggregatedHealthState13 = "Ok"
	// AggregatedHealthState13Unknown ...
	AggregatedHealthState13Unknown AggregatedHealthState13 = "Unknown"
	// AggregatedHealthState13Warning ...
	AggregatedHealthState13Warning AggregatedHealthState13 = "Warning"
)

type AggregatedHealthState14

type AggregatedHealthState14 string

AggregatedHealthState14 enumerates the values for aggregated health state 14.

const (
	// AggregatedHealthState14Error ...
	AggregatedHealthState14Error AggregatedHealthState14 = "Error"
	// AggregatedHealthState14Invalid ...
	AggregatedHealthState14Invalid AggregatedHealthState14 = "Invalid"
	// AggregatedHealthState14Ok ...
	AggregatedHealthState14Ok AggregatedHealthState14 = "Ok"
	// AggregatedHealthState14Unknown ...
	AggregatedHealthState14Unknown AggregatedHealthState14 = "Unknown"
	// AggregatedHealthState14Warning ...
	AggregatedHealthState14Warning AggregatedHealthState14 = "Warning"
)

type AggregatedHealthState15

type AggregatedHealthState15 string

AggregatedHealthState15 enumerates the values for aggregated health state 15.

const (
	// AggregatedHealthState15Error ...
	AggregatedHealthState15Error AggregatedHealthState15 = "Error"
	// AggregatedHealthState15Invalid ...
	AggregatedHealthState15Invalid AggregatedHealthState15 = "Invalid"
	// AggregatedHealthState15Ok ...
	AggregatedHealthState15Ok AggregatedHealthState15 = "Ok"
	// AggregatedHealthState15Unknown ...
	AggregatedHealthState15Unknown AggregatedHealthState15 = "Unknown"
	// AggregatedHealthState15Warning ...
	AggregatedHealthState15Warning AggregatedHealthState15 = "Warning"
)

type AggregatedHealthState2

type AggregatedHealthState2 string

AggregatedHealthState2 enumerates the values for aggregated health state 2.

const (
	// AggregatedHealthState2Error ...
	AggregatedHealthState2Error AggregatedHealthState2 = "Error"
	// AggregatedHealthState2Invalid ...
	AggregatedHealthState2Invalid AggregatedHealthState2 = "Invalid"
	// AggregatedHealthState2Ok ...
	AggregatedHealthState2Ok AggregatedHealthState2 = "Ok"
	// AggregatedHealthState2Unknown ...
	AggregatedHealthState2Unknown AggregatedHealthState2 = "Unknown"
	// AggregatedHealthState2Warning ...
	AggregatedHealthState2Warning AggregatedHealthState2 = "Warning"
)

type AggregatedHealthState3

type AggregatedHealthState3 string

AggregatedHealthState3 enumerates the values for aggregated health state 3.

const (
	// AggregatedHealthState3Error ...
	AggregatedHealthState3Error AggregatedHealthState3 = "Error"
	// AggregatedHealthState3Invalid ...
	AggregatedHealthState3Invalid AggregatedHealthState3 = "Invalid"
	// AggregatedHealthState3Ok ...
	AggregatedHealthState3Ok AggregatedHealthState3 = "Ok"
	// AggregatedHealthState3Unknown ...
	AggregatedHealthState3Unknown AggregatedHealthState3 = "Unknown"
	// AggregatedHealthState3Warning ...
	AggregatedHealthState3Warning AggregatedHealthState3 = "Warning"
)

type AggregatedHealthState4

type AggregatedHealthState4 string

AggregatedHealthState4 enumerates the values for aggregated health state 4.

const (
	// AggregatedHealthState4Error ...
	AggregatedHealthState4Error AggregatedHealthState4 = "Error"
	// AggregatedHealthState4Invalid ...
	AggregatedHealthState4Invalid AggregatedHealthState4 = "Invalid"
	// AggregatedHealthState4Ok ...
	AggregatedHealthState4Ok AggregatedHealthState4 = "Ok"
	// AggregatedHealthState4Unknown ...
	AggregatedHealthState4Unknown AggregatedHealthState4 = "Unknown"
	// AggregatedHealthState4Warning ...
	AggregatedHealthState4Warning AggregatedHealthState4 = "Warning"
)

type AggregatedHealthState5

type AggregatedHealthState5 string

AggregatedHealthState5 enumerates the values for aggregated health state 5.

const (
	// AggregatedHealthState5Error ...
	AggregatedHealthState5Error AggregatedHealthState5 = "Error"
	// AggregatedHealthState5Invalid ...
	AggregatedHealthState5Invalid AggregatedHealthState5 = "Invalid"
	// AggregatedHealthState5Ok ...
	AggregatedHealthState5Ok AggregatedHealthState5 = "Ok"
	// AggregatedHealthState5Unknown ...
	AggregatedHealthState5Unknown AggregatedHealthState5 = "Unknown"
	// AggregatedHealthState5Warning ...
	AggregatedHealthState5Warning AggregatedHealthState5 = "Warning"
)

type AggregatedHealthState6

type AggregatedHealthState6 string

AggregatedHealthState6 enumerates the values for aggregated health state 6.

const (
	// AggregatedHealthState6Error ...
	AggregatedHealthState6Error AggregatedHealthState6 = "Error"
	// AggregatedHealthState6Invalid ...
	AggregatedHealthState6Invalid AggregatedHealthState6 = "Invalid"
	// AggregatedHealthState6Ok ...
	AggregatedHealthState6Ok AggregatedHealthState6 = "Ok"
	// AggregatedHealthState6Unknown ...
	AggregatedHealthState6Unknown AggregatedHealthState6 = "Unknown"
	// AggregatedHealthState6Warning ...
	AggregatedHealthState6Warning AggregatedHealthState6 = "Warning"
)

type AggregatedHealthState7

type AggregatedHealthState7 string

AggregatedHealthState7 enumerates the values for aggregated health state 7.

const (
	// AggregatedHealthState7Error ...
	AggregatedHealthState7Error AggregatedHealthState7 = "Error"
	// AggregatedHealthState7Invalid ...
	AggregatedHealthState7Invalid AggregatedHealthState7 = "Invalid"
	// AggregatedHealthState7Ok ...
	AggregatedHealthState7Ok AggregatedHealthState7 = "Ok"
	// AggregatedHealthState7Unknown ...
	AggregatedHealthState7Unknown AggregatedHealthState7 = "Unknown"
	// AggregatedHealthState7Warning ...
	AggregatedHealthState7Warning AggregatedHealthState7 = "Warning"
)

type AggregatedHealthState8

type AggregatedHealthState8 string

AggregatedHealthState8 enumerates the values for aggregated health state 8.

const (
	// AggregatedHealthState8Error ...
	AggregatedHealthState8Error AggregatedHealthState8 = "Error"
	// AggregatedHealthState8Invalid ...
	AggregatedHealthState8Invalid AggregatedHealthState8 = "Invalid"
	// AggregatedHealthState8Ok ...
	AggregatedHealthState8Ok AggregatedHealthState8 = "Ok"
	// AggregatedHealthState8Unknown ...
	AggregatedHealthState8Unknown AggregatedHealthState8 = "Unknown"
	// AggregatedHealthState8Warning ...
	AggregatedHealthState8Warning AggregatedHealthState8 = "Warning"
)

type AggregatedHealthState9

type AggregatedHealthState9 string

AggregatedHealthState9 enumerates the values for aggregated health state 9.

const (
	// AggregatedHealthState9Error ...
	AggregatedHealthState9Error AggregatedHealthState9 = "Error"
	// AggregatedHealthState9Invalid ...
	AggregatedHealthState9Invalid AggregatedHealthState9 = "Invalid"
	// AggregatedHealthState9Ok ...
	AggregatedHealthState9Ok AggregatedHealthState9 = "Ok"
	// AggregatedHealthState9Unknown ...
	AggregatedHealthState9Unknown AggregatedHealthState9 = "Unknown"
	// AggregatedHealthState9Warning ...
	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 - Possible values include: 'HealthState3Invalid', 'HealthState3Ok', 'HealthState3Warning', 'HealthState3Error', 'HealthState3Unknown'
	HealthState HealthState `json:"HealthState,omitempty"`
}

Application 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 the description of the application

type ApplicationDescriptionParameterListItem

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

ApplicationDescriptionParameterListItem the list of the parameter

type ApplicationHealth

type ApplicationHealth struct {
	autorest.Response `json:"-"`
	HealthEvents      *[]HealthEvent `json:"HealthEvents,omitempty"`
	// AggregatedHealthState - Possible values include: 'AggregatedHealthState7Invalid', 'AggregatedHealthState7Ok', 'AggregatedHealthState7Warning', 'AggregatedHealthState7Error', 'AggregatedHealthState7Unknown'
	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 the health of the application

type ApplicationHealthDeployedApplicationHealthStatesItem

type ApplicationHealthDeployedApplicationHealthStatesItem struct {
	ApplicationName *string `json:"ApplicationName,omitempty"`
	NodeName        *string `json:"NodeName,omitempty"`
	// AggregatedHealthState - Possible values include: 'AggregatedHealthState6Invalid', 'AggregatedHealthState6Ok', 'AggregatedHealthState6Warning', 'AggregatedHealthState6Error', 'AggregatedHealthState6Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
}

ApplicationHealthDeployedApplicationHealthStatesItem the states of the deployed application health

type ApplicationHealthEvaluation

type ApplicationHealthEvaluation struct {
	Description *string `json:"Description,omitempty"`
	// AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
	// Kind - Possible values include: 'KindHealthEvaluation', 'KindEvent', 'KindPartitions', 'KindReplicas', 'KindDeployedServicePackages', 'KindDeployedApplications', 'KindServices', 'KindNodes', 'KindApplications', 'KindUpgradeDomainNodes', 'KindUpgradeDomainDeployedApplications', 'KindSystemApplication', 'KindPartition', 'KindReplica', 'KindDeployedServicePackage', 'KindDeployedApplication', 'KindService', 'KindNode', 'KindApplication', 'KindDeltaNodesCheck', 'KindUpgradeDomainDeltaNodesCheck', 'KindApplicationType'
	Kind                 Kind                   `json:"Kind,omitempty"`
	ServiceName          *string                `json:"ServiceName,omitempty"`
	UnhealthyEvaluations *[]UnhealthyEvaluation `json:"UnhealthyEvaluations,omitempty"`
}

ApplicationHealthEvaluation the evaluation of the application health

func (ApplicationHealthEvaluation) AsApplicationHealthEvaluation

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

AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationHealthEvaluation.

func (ApplicationHealthEvaluation) AsApplicationTypeHealthEvaluation

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

AsApplicationTypeHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationHealthEvaluation.

func (ApplicationHealthEvaluation) AsApplicationsHealthEvaluation

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

AsApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationHealthEvaluation.

func (ApplicationHealthEvaluation) AsBasicHealthEvaluation

func (ahe ApplicationHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)

AsBasicHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationHealthEvaluation.

func (ApplicationHealthEvaluation) AsDeltaNodesCheckHealthEvaluation

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

AsDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationHealthEvaluation.

func (ApplicationHealthEvaluation) AsDeployedApplicationHealthEvaluation

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

AsDeployedApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationHealthEvaluation.

func (ApplicationHealthEvaluation) AsDeployedApplicationsHealthEvaluation

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

AsDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationHealthEvaluation.

func (ApplicationHealthEvaluation) AsDeployedServicePackageHealthEvaluation

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

AsDeployedServicePackageHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationHealthEvaluation.

func (ApplicationHealthEvaluation) AsDeployedServicePackagesHealthEvaluation

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

AsDeployedServicePackagesHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationHealthEvaluation.

func (ApplicationHealthEvaluation) AsEventHealthEvaluation

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

AsEventHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationHealthEvaluation.

func (ApplicationHealthEvaluation) AsHealthEvaluation

func (ahe ApplicationHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)

AsHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationHealthEvaluation.

func (ApplicationHealthEvaluation) AsNodeHealthEvaluation

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

AsNodeHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationHealthEvaluation.

func (ApplicationHealthEvaluation) AsNodesHealthEvaluation

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

AsNodesHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationHealthEvaluation.

func (ApplicationHealthEvaluation) AsPartitionHealthEvaluation

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

AsPartitionHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationHealthEvaluation.

func (ApplicationHealthEvaluation) AsPartitionsHealthEvaluation

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

AsPartitionsHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationHealthEvaluation.

func (ApplicationHealthEvaluation) AsReplicaHealthEvaluation

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

AsReplicaHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationHealthEvaluation.

func (ApplicationHealthEvaluation) AsReplicasHealthEvaluation

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

AsReplicasHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationHealthEvaluation.

func (ApplicationHealthEvaluation) AsServiceHealthEvaluation

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

AsServiceHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationHealthEvaluation.

func (ApplicationHealthEvaluation) AsServicesHealthEvaluation

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

AsServicesHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationHealthEvaluation.

func (ApplicationHealthEvaluation) AsSystemApplicationHealthEvaluation

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

AsSystemApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationHealthEvaluation.

func (ApplicationHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation

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

AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationHealthEvaluation.

func (ApplicationHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation

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

AsUpgradeDomainDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationHealthEvaluation.

func (ApplicationHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation

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

AsUpgradeDomainNodesHealthEvaluation is the BasicHealthEvaluation 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 - The policy of the default service type health
	DefaultServiceTypeHealthPolicy *ApplicationHealthPolicyDefaultServiceTypeHealthPolicy `json:"DefaultServiceTypeHealthPolicy,omitempty"`
}

ApplicationHealthPolicy 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 the policy of the default service type health

type ApplicationHealthPolicyMap

type ApplicationHealthPolicyMap struct {
	// ConsiderWarningAsError - The boolean of the consider warning as error
	ConsiderWarningAsError *bool `json:"ConsiderWarningAsError,omitempty"`
	// MaxPercentUnhealthyDeployedApplications - The max percent of the unhealthy deployed applications
	MaxPercentUnhealthyDeployedApplications *int32 `json:"MaxPercentUnhealthyDeployedApplications,omitempty"`
	// DefaultServiceTypeHealthPolicy - The policy of the default service type health
	DefaultServiceTypeHealthPolicy *int32 `json:"DefaultServiceTypeHealthPolicy,omitempty"`
	// MaxPercentUnhealthyServices - The policy of the default service type health
	MaxPercentUnhealthyServices *int32 `json:"MaxPercentUnhealthyServices,omitempty"`
	// MaxPercentUnhealthyPartitionsPerService - The max percent unhealthy partitions per service
	MaxPercentUnhealthyPartitionsPerService *int32 `json:"MaxPercentUnhealthyPartitionsPerService,omitempty"`
	// MaxPercentUnhealthyReplicasPerPartition - The max percent unhealthy replicas per partition
	MaxPercentUnhealthyReplicasPerPartition *int32 `json:"MaxPercentUnhealthyReplicasPerPartition,omitempty"`
}

ApplicationHealthPolicyMap the application health policy of the cluster

type ApplicationHealthReport

type ApplicationHealthReport struct {
	SourceID *string `json:"SourceId,omitempty"`
	Property *string `json:"Property,omitempty"`
	// HealthState - Possible values include: 'HealthState1Invalid', 'HealthState1Ok', 'HealthState1Warning', 'HealthState1Error', 'HealthState1Unknown'
	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 the report of the application health

type ApplicationHealthServiceHealthStatesItem

type ApplicationHealthServiceHealthStatesItem struct {
	ServiceName *string `json:"ServiceName,omitempty"`
	// AggregatedHealthState - Possible values include: 'AggregatedHealthState5Invalid', 'AggregatedHealthState5Ok', 'AggregatedHealthState5Warning', 'AggregatedHealthState5Error', 'AggregatedHealthState5Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
}

ApplicationHealthServiceHealthStatesItem the states of the service health

type ApplicationHealthsClient

type ApplicationHealthsClient struct {
	BaseClient
}

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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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 the list of the application

type ApplicationManifest

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

ApplicationManifest the manifest of the application

type ApplicationManifestsClient

type ApplicationManifestsClient struct {
	BaseClient
}

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(ctx context.Context, 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(ctx context.Context, 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 the parameters

type ApplicationType

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

ApplicationType the type of the application

type ApplicationTypeDefaultParameterListItem

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

ApplicationTypeDefaultParameterListItem the list of the default parameter

type ApplicationTypeHealthEvaluation

type ApplicationTypeHealthEvaluation struct {
	Description *string `json:"Description,omitempty"`
	// AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
	// Kind - Possible values include: 'KindHealthEvaluation', 'KindEvent', 'KindPartitions', 'KindReplicas', 'KindDeployedServicePackages', 'KindDeployedApplications', 'KindServices', 'KindNodes', 'KindApplications', 'KindUpgradeDomainNodes', 'KindUpgradeDomainDeployedApplications', 'KindSystemApplication', 'KindPartition', 'KindReplica', 'KindDeployedServicePackage', 'KindDeployedApplication', 'KindService', 'KindNode', 'KindApplication', 'KindDeltaNodesCheck', 'KindUpgradeDomainDeltaNodesCheck', 'KindApplicationType'
	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 the evaluation of the application type health

func (ApplicationTypeHealthEvaluation) AsApplicationHealthEvaluation

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

AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeHealthEvaluation.

func (ApplicationTypeHealthEvaluation) AsApplicationTypeHealthEvaluation

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

AsApplicationTypeHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeHealthEvaluation.

func (ApplicationTypeHealthEvaluation) AsApplicationsHealthEvaluation

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

AsApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeHealthEvaluation.

func (ApplicationTypeHealthEvaluation) AsBasicHealthEvaluation

func (athe ApplicationTypeHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)

AsBasicHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeHealthEvaluation.

func (ApplicationTypeHealthEvaluation) AsDeltaNodesCheckHealthEvaluation

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

AsDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeHealthEvaluation.

func (ApplicationTypeHealthEvaluation) AsDeployedApplicationHealthEvaluation

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

AsDeployedApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeHealthEvaluation.

func (ApplicationTypeHealthEvaluation) AsDeployedApplicationsHealthEvaluation

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

AsDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeHealthEvaluation.

func (ApplicationTypeHealthEvaluation) AsDeployedServicePackageHealthEvaluation

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

AsDeployedServicePackageHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeHealthEvaluation.

func (ApplicationTypeHealthEvaluation) AsDeployedServicePackagesHealthEvaluation

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

AsDeployedServicePackagesHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeHealthEvaluation.

func (ApplicationTypeHealthEvaluation) AsEventHealthEvaluation

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

AsEventHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeHealthEvaluation.

func (ApplicationTypeHealthEvaluation) AsHealthEvaluation

func (athe ApplicationTypeHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)

AsHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeHealthEvaluation.

func (ApplicationTypeHealthEvaluation) AsNodeHealthEvaluation

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

AsNodeHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeHealthEvaluation.

func (ApplicationTypeHealthEvaluation) AsNodesHealthEvaluation

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

AsNodesHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeHealthEvaluation.

func (ApplicationTypeHealthEvaluation) AsPartitionHealthEvaluation

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

AsPartitionHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeHealthEvaluation.

func (ApplicationTypeHealthEvaluation) AsPartitionsHealthEvaluation

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

AsPartitionsHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeHealthEvaluation.

func (ApplicationTypeHealthEvaluation) AsReplicaHealthEvaluation

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

AsReplicaHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeHealthEvaluation.

func (ApplicationTypeHealthEvaluation) AsReplicasHealthEvaluation

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

AsReplicasHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeHealthEvaluation.

func (ApplicationTypeHealthEvaluation) AsServiceHealthEvaluation

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

AsServiceHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeHealthEvaluation.

func (ApplicationTypeHealthEvaluation) AsServicesHealthEvaluation

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

AsServicesHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeHealthEvaluation.

func (ApplicationTypeHealthEvaluation) AsSystemApplicationHealthEvaluation

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

AsSystemApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeHealthEvaluation.

func (ApplicationTypeHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation

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

AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeHealthEvaluation.

func (ApplicationTypeHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation

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

AsUpgradeDomainDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeHealthEvaluation.

func (ApplicationTypeHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation

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

AsUpgradeDomainNodesHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationTypeHealthEvaluation.

func (ApplicationTypeHealthEvaluation) MarshalJSON

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

MarshalJSON is the custom marshaler for ApplicationTypeHealthEvaluation.

type ApplicationTypesClient

type ApplicationTypesClient struct {
	BaseClient
}

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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context) (result ListApplicationType, err error)

List list application types

func (ApplicationTypesClient) ListPreparer

func (client ApplicationTypesClient) ListPreparer(ctx context.Context) (*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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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 - Possible values include: 'UpgradeStateInvalid', 'UpgradeStateRollingBackInProgress', 'UpgradeStateRollingBackCompleted', 'UpgradeStateRollingForwardPending', 'UpgradeStateRollingForwardInProgress', 'UpgradeStateRollingForwardCompleted'
	UpgradeState      UpgradeState `json:"UpgradeState,omitempty"`
	NextUpgradeDomain *string      `json:"NextUpgradeDomain,omitempty"`
	// RollingUpgradeMode - Possible values include: 'RollingUpgradeMode1Invalid', 'RollingUpgradeMode1UnmonitoredAuto', 'RollingUpgradeMode1UnmonitoredManual', 'RollingUpgradeMode1Monitored'
	RollingUpgradeMode                  RollingUpgradeMode `json:"RollingUpgradeMode,omitempty"`
	UpgradeDurationInMilliseconds       *string            `json:"UpgradeDurationInMilliseconds,omitempty"`
	UpgradeDomainDurationInMilliseconds *string            `json:"UpgradeDomainDurationInMilliseconds,omitempty"`
	UnhealthyEvaluations                *string            `json:"UnhealthyEvaluations,omitempty"`
	// CurrentUpgradeDomainProgress - The progress of the current upgrade domain
	CurrentUpgradeDomainProgress *ApplicationUpgradeCurrentUpgradeDomainProgress `json:"CurrentUpgradeDomainProgress,omitempty"`
	StartTimestampUtc            *string                                         `json:"StartTimestampUtc,omitempty"`
	FailureTimestampUtc          *string                                         `json:"FailureTimestampUtc,omitempty"`
	// FailureReason - Possible values include: 'FailureReasonInvalid', 'FailureReasonInterrupted', 'FailureReasonHealthCheck', 'FailureReasonUpgradeDomainTimeout', 'FailureReasonOverallUpgradeTimeout'
	FailureReason FailureReason `json:"FailureReason,omitempty"`
	// DeployedApplicationHealthStates - The states of the deployed application health
	DeployedApplicationHealthStates *ApplicationUpgradeDeployedApplicationHealthStates `json:"DeployedApplicationHealthStates,omitempty"`
}

ApplicationUpgrade the upgrade of the application

type ApplicationUpgradeCurrentUpgradeDomainProgress

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

ApplicationUpgradeCurrentUpgradeDomainProgress the progress of the current upgrade domain

type ApplicationUpgradeDeployedApplicationHealthStates

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

ApplicationUpgradeDeployedApplicationHealthStates the states of the deployed application health

type ApplicationUpgradeRollbacksClient

type ApplicationUpgradeRollbacksClient struct {
	BaseClient
}

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(ctx context.Context, 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(ctx context.Context, 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 {
	BaseClient
}

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(ctx context.Context, applicationName string) (result ApplicationUpgrade, err error)

Get get application upgrades

applicationName is the name of the application

func (ApplicationUpgradesClient) GetPreparer

func (client ApplicationUpgradesClient) GetPreparer(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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 {
	BaseClient
}

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(ctx context.Context, applicationDescription ApplicationDescription) (result String, err error)

Create create applications

applicationDescription is the description of the application

func (ApplicationsClient) CreatePreparer

func (client ApplicationsClient) CreatePreparer(ctx context.Context, 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(ctx context.Context, applicationName string) (result Application, err error)

Get get applications

applicationName is the name of the application

func (ApplicationsClient) GetPreparer

func (client ApplicationsClient) GetPreparer(ctx context.Context, 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(ctx context.Context, continuationToken string) (result ApplicationList, err error)

List list applications

continuationToken is the token of the continuation

func (ApplicationsClient) ListPreparer

func (client ApplicationsClient) ListPreparer(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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 - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
	// Kind - Possible values include: 'KindHealthEvaluation', 'KindEvent', 'KindPartitions', 'KindReplicas', 'KindDeployedServicePackages', 'KindDeployedApplications', 'KindServices', 'KindNodes', 'KindApplications', 'KindUpgradeDomainNodes', 'KindUpgradeDomainDeployedApplications', 'KindSystemApplication', 'KindPartition', 'KindReplica', 'KindDeployedServicePackage', 'KindDeployedApplication', 'KindService', 'KindNode', 'KindApplication', 'KindDeltaNodesCheck', 'KindUpgradeDomainDeltaNodesCheck', 'KindApplicationType'
	Kind                            Kind                   `json:"Kind,omitempty"`
	UnhealthyEvaluations            *[]UnhealthyEvaluation `json:"UnhealthyEvaluations,omitempty"`
	TotalCount                      *int32                 `json:"TotalCount,omitempty"`
	MaxPercentUnhealthyApplications *int32                 `json:"MaxPercentUnhealthyApplications,omitempty"`
}

ApplicationsHealthEvaluation the evaluation of the applications health

func (ApplicationsHealthEvaluation) AsApplicationHealthEvaluation

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

AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationsHealthEvaluation.

func (ApplicationsHealthEvaluation) AsApplicationTypeHealthEvaluation

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

AsApplicationTypeHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationsHealthEvaluation.

func (ApplicationsHealthEvaluation) AsApplicationsHealthEvaluation

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

AsApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationsHealthEvaluation.

func (ApplicationsHealthEvaluation) AsBasicHealthEvaluation

func (ahe ApplicationsHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)

AsBasicHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationsHealthEvaluation.

func (ApplicationsHealthEvaluation) AsDeltaNodesCheckHealthEvaluation

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

AsDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationsHealthEvaluation.

func (ApplicationsHealthEvaluation) AsDeployedApplicationHealthEvaluation

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

AsDeployedApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationsHealthEvaluation.

func (ApplicationsHealthEvaluation) AsDeployedApplicationsHealthEvaluation

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

AsDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationsHealthEvaluation.

func (ApplicationsHealthEvaluation) AsDeployedServicePackageHealthEvaluation

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

AsDeployedServicePackageHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationsHealthEvaluation.

func (ApplicationsHealthEvaluation) AsDeployedServicePackagesHealthEvaluation

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

AsDeployedServicePackagesHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationsHealthEvaluation.

func (ApplicationsHealthEvaluation) AsEventHealthEvaluation

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

AsEventHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationsHealthEvaluation.

func (ApplicationsHealthEvaluation) AsHealthEvaluation

func (ahe ApplicationsHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)

AsHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationsHealthEvaluation.

func (ApplicationsHealthEvaluation) AsNodeHealthEvaluation

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

AsNodeHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationsHealthEvaluation.

func (ApplicationsHealthEvaluation) AsNodesHealthEvaluation

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

AsNodesHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationsHealthEvaluation.

func (ApplicationsHealthEvaluation) AsPartitionHealthEvaluation

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

AsPartitionHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationsHealthEvaluation.

func (ApplicationsHealthEvaluation) AsPartitionsHealthEvaluation

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

AsPartitionsHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationsHealthEvaluation.

func (ApplicationsHealthEvaluation) AsReplicaHealthEvaluation

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

AsReplicaHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationsHealthEvaluation.

func (ApplicationsHealthEvaluation) AsReplicasHealthEvaluation

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

AsReplicasHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationsHealthEvaluation.

func (ApplicationsHealthEvaluation) AsServiceHealthEvaluation

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

AsServiceHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationsHealthEvaluation.

func (ApplicationsHealthEvaluation) AsServicesHealthEvaluation

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

AsServicesHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationsHealthEvaluation.

func (ApplicationsHealthEvaluation) AsSystemApplicationHealthEvaluation

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

AsSystemApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationsHealthEvaluation.

func (ApplicationsHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation

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

AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationsHealthEvaluation.

func (ApplicationsHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation

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

AsUpgradeDomainDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationsHealthEvaluation.

func (ApplicationsHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation

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

AsUpgradeDomainNodesHealthEvaluation is the BasicHealthEvaluation implementation for ApplicationsHealthEvaluation.

func (ApplicationsHealthEvaluation) MarshalJSON

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

MarshalJSON is the custom marshaler for ApplicationsHealthEvaluation.

type BaseClient

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

BaseClient is the base client for Servicefabric.

func New

func New(timeout *int32) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, timeout *int32) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type BasicCreateServiceDescription

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

BasicCreateServiceDescription the description of the create service

type BasicCreateServiceGroupDescription

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

BasicCreateServiceGroupDescription the description of the create service group

type BasicHealthEvaluation

type BasicHealthEvaluation 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)
	AsHealthEvaluation() (*HealthEvaluation, bool)
}

BasicHealthEvaluation the evauation of the health

type BasicServiceDescription

type BasicServiceDescription interface {
	AsStatelessServiceDescription() (*StatelessServiceDescription, bool)
	AsStatefulServiceDescription() (*StatefulServiceDescription, bool)
	AsServiceDescription() (*ServiceDescription, bool)
}

BasicServiceDescription the description of the service

type BasicServiceGroupDescription

type BasicServiceGroupDescription interface {
	AsStatelessServiceGroupDescription() (*StatelessServiceGroupDescription, bool)
	AsStatefulServiceGroupDescription() (*StatefulServiceGroupDescription, bool)
	AsServiceGroupDescription() (*ServiceGroupDescription, bool)
}

BasicServiceGroupDescription the description of the service group

type BasicUpdateServiceDescription

type BasicUpdateServiceDescription interface {
	AsStatelessUpdateServiceDescription() (*StatelessUpdateServiceDescription, bool)
	AsStatefulUpdateServiceDescription() (*StatefulUpdateServiceDescription, bool)
	AsUpdateServiceDescription() (*UpdateServiceDescription, bool)
}

BasicUpdateServiceDescription the description of the update service

type BasicUpdateServiceGroupDescription

type BasicUpdateServiceGroupDescription interface {
	AsStatelessUpdateServiceGroupDescription() (*StatelessUpdateServiceGroupDescription, bool)
	AsStatefulUpdateServiceGroupDescription() (*StatefulUpdateServiceGroupDescription, bool)
	AsUpdateServiceGroupDescription() (*UpdateServiceGroupDescription, bool)
}

BasicUpdateServiceGroupDescription the description of the update service group

type ClusterHealth

type ClusterHealth struct {
	autorest.Response `json:"-"`
	HealthEvents      *[]HealthEvent `json:"HealthEvents,omitempty"`
	// AggregatedHealthState - Possible values include: 'AggregatedHealthState15Invalid', 'AggregatedHealthState15Ok', 'AggregatedHealthState15Warning', 'AggregatedHealthState15Error', 'AggregatedHealthState15Unknown'
	AggregatedHealthState  AggregatedHealthState                      `json:"AggregatedHealthState,omitempty"`
	UnhealthyEvaluations   *[]UnhealthyEvaluation                     `json:"UnhealthyEvaluations,omitempty"`
	NodeHealthStates       *[]ClusterHealthNodeHealthStatesItem       `json:"NodeHealthStates,omitempty"`
	ApplicationHealthState *[]ClusterHealthApplicationHealthStateItem `json:"ApplicationHealthState,omitempty"`
}

ClusterHealth the health of the cluster

type ClusterHealthApplicationHealthStateItem

type ClusterHealthApplicationHealthStateItem struct {
	Name *string `json:"Name,omitempty"`
	// AggregatedHealthState - Possible values include: 'AggregatedHealthState14Invalid', 'AggregatedHealthState14Ok', 'AggregatedHealthState14Warning', 'AggregatedHealthState14Error', 'AggregatedHealthState14Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
}

ClusterHealthApplicationHealthStateItem the state of the application health

type ClusterHealthNodeHealthStatesItem

type ClusterHealthNodeHealthStatesItem struct {
	Name *string `json:"Name,omitempty"`
	// ID - The id
	ID *ClusterHealthNodeHealthStatesItemID `json:"Id,omitempty"`
	// AggregatedHealthState - Possible values include: 'AggregatedHealthState13Invalid', 'AggregatedHealthState13Ok', 'AggregatedHealthState13Warning', 'AggregatedHealthState13Error', 'AggregatedHealthState13Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
}

ClusterHealthNodeHealthStatesItem the states of tehe node health

type ClusterHealthNodeHealthStatesItemID

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

ClusterHealthNodeHealthStatesItemID the id

type ClusterHealthPolicy

type ClusterHealthPolicy struct {
	// RollingUpgradeMode - The mode of the rolling upgrade. Possible values include: 'RollingUpgradeMode4Invalid', 'RollingUpgradeMode4UnmonitoredAuto', 'RollingUpgradeMode4UnmonitoredManual', 'RollingUpgradeMode4Monitored'
	RollingUpgradeMode RollingUpgradeMode `json:"RollingUpgradeMode,omitempty"`
	// ForceRestart - The flag of the force restart
	ForceRestart *bool `json:"ForceRestart,omitempty"`
	// FailureAction - The action of the failure
	FailureAction *string `json:"FailureAction,omitempty"`
	// UpgradeReplicaSetCheckTimeoutInSeconds - The seconds of the upgrade replica set check timeout
	UpgradeReplicaSetCheckTimeoutInSeconds *int32 `json:"UpgradeReplicaSetCheckTimeoutInSeconds,omitempty"`
	// HealthCheckWaitDurationInMilliseconds - The milliseconds of the health check wait duration
	HealthCheckWaitDurationInMilliseconds *string `json:"HealthCheckWaitDurationInMilliseconds,omitempty"`
	// HealthCheckStableDurationInMilliseconds - The milliseconds of the health check stable duration
	HealthCheckStableDurationInMilliseconds *string `json:"HealthCheckStableDurationInMilliseconds,omitempty"`
	// HealthCheckRetryTimeoutInMilliseconds - The milliseconds of the health check retry timeout
	HealthCheckRetryTimeoutInMilliseconds *string `json:"HealthCheckRetryTimeoutInMilliseconds,omitempty"`
	// UpgradeTimeoutInMilliseconds - The milliseconds of the upgrade timeout
	UpgradeTimeoutInMilliseconds *string `json:"UpgradeTimeoutInMilliseconds,omitempty"`
	// UpgradeDomainTimeoutInMilliseconds - The milliseconds of the upgrade domain timeout
	UpgradeDomainTimeoutInMilliseconds *string `json:"UpgradeDomainTimeoutInMilliseconds,omitempty"`
}

ClusterHealthPolicy the policy of the cluster health

type ClusterHealthReport

type ClusterHealthReport struct {
	SourceID *string `json:"SourceId,omitempty"`
	Property *string `json:"Property,omitempty"`
	// HealthState - Possible values include: 'HealthState1Invalid', 'HealthState1Ok', 'HealthState1Warning', 'HealthState1Error', 'HealthState1Unknown'
	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 the report of the cluster health

type ClusterHealthsClient

type ClusterHealthsClient struct {
	BaseClient
}

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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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 the information of the cluster load

type ClusterLoadInformationsClient

type ClusterLoadInformationsClient struct {
	BaseClient
}

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

Get get cluster load informations

func (ClusterLoadInformationsClient) GetPreparer

func (client ClusterLoadInformationsClient) GetPreparer(ctx context.Context) (*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 {
	BaseClient
}

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(ctx context.Context) (result String, err error)

Get get cluster manifests

func (ClusterManifestsClient) GetPreparer

func (client ClusterManifestsClient) GetPreparer(ctx context.Context) (*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 {
	BaseClient
}

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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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 - The max percent of the delta unhealthy nodes, values are [0-100]
	MaxPercentDeltaUnhealthyNodes *int32 `json:"MaxPercentDeltaUnhealthyNodes,omitempty"`
	// MaxPercentUpgradeDomainDeltaUnhealthyNodes - The max percent of the upgrade domain delta unhealthy nodes, values are [0-100]
	MaxPercentUpgradeDomainDeltaUnhealthyNodes *int32 `json:"MaxPercentUpgradeDomainDeltaUnhealthyNodes,omitempty"`
}

ClusterUpgradeHealthPolicy 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 - Possible values include: 'UpgradeState1Invalid', 'UpgradeState1RollingBackInProgress', 'UpgradeState1RollingBackCompleted', 'UpgradeState1RollingForwardPending', 'UpgradeState1RollingForwardInProgress', 'UpgradeState1RollingForwardCompleted'
	UpgradeState      UpgradeState `json:"UpgradeState,omitempty"`
	NextUpgradeDomain *string      `json:"NextUpgradeDomain,omitempty"`
	// RollingUpgradeMode - Possible values include: 'RollingUpgradeMode5Invalid', 'RollingUpgradeMode5UnmonitoredAuto', 'RollingUpgradeMode5UnmonitoredManual', 'RollingUpgradeMode5Monitored'
	RollingUpgradeMode                  RollingUpgradeMode     `json:"RollingUpgradeMode,omitempty"`
	UpgradeDurationInMilliseconds       *string                `json:"UpgradeDurationInMilliseconds,omitempty"`
	UpgradeDomainDurationInMilliseconds *string                `json:"UpgradeDomainDurationInMilliseconds,omitempty"`
	UnhealthyEvaluations                *[]UnhealthyEvaluation `json:"UnhealthyEvaluations,omitempty"`
	// CurrentUpgradeDomainProgress - The progress of the current upgrade domain
	CurrentUpgradeDomainProgress *ClusterUpgradeProgressCurrentUpgradeDomainProgress `json:"CurrentUpgradeDomainProgress,omitempty"`
	StartTimestampUtc            *string                                             `json:"StartTimestampUtc,omitempty"`
	FailureTimestampUtc          *string                                             `json:"FailureTimestampUtc,omitempty"`
	// FailureReason - Possible values include: 'FailureReason1Invalid', 'FailureReason1Interrupted', 'FailureReason1HealthCheck', 'FailureReason1UpgradeDomainTimeout', 'FailureReason1OverallUpgradeTimeout'
	FailureReason FailureReason `json:"FailureReason,omitempty"`
	// UpgradeDomainProgressAtFailure - The failure of the upgrade domain progress at
	UpgradeDomainProgressAtFailure *ClusterUpgradeProgressUpgradeDomainProgressAtFailure `json:"UpgradeDomainProgressAtFailure,omitempty"`
}

ClusterUpgradeProgress the progress of the cluster upgrade

type ClusterUpgradeProgressCurrentUpgradeDomainProgress

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

ClusterUpgradeProgressCurrentUpgradeDomainProgress the progress of the current upgrade domain

type ClusterUpgradeProgressUpgradeDomainProgressAtFailure

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

ClusterUpgradeProgressUpgradeDomainProgressAtFailure the failure of the upgrade domain progress at

type ClusterUpgradesClient

type ClusterUpgradesClient struct {
	BaseClient
}

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(ctx context.Context, resumeClusterUpgrade ResumeClusterUpgrade) (result String, err error)

Resume resume cluster upgrades

resumeClusterUpgrade is the upgrade of the cluster

func (ClusterUpgradesClient) ResumePreparer

func (client ClusterUpgradesClient) ResumePreparer(ctx context.Context, 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(ctx context.Context) (result String, err error)

Rollback rollback cluster upgrades

func (ClusterUpgradesClient) RollbackPreparer

func (client ClusterUpgradesClient) RollbackPreparer(ctx context.Context) (*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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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 the statistics of the code package entry point

type CreateServiceDescription

type CreateServiceDescription 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 - Possible values include: 'ServiceKindCreateServiceDescription', 'ServiceKindStateless1', 'ServiceKindStateful1'
	ServiceKind ServiceKindBasicCreateServiceDescription `json:"ServiceKind,omitempty"`
}

CreateServiceDescription the description of the create service

func (CreateServiceDescription) AsBasicCreateServiceDescription

func (csd CreateServiceDescription) AsBasicCreateServiceDescription() (BasicCreateServiceDescription, bool)

AsBasicCreateServiceDescription is the BasicCreateServiceDescription implementation for CreateServiceDescription.

func (CreateServiceDescription) AsCreateServiceDescription

func (csd CreateServiceDescription) AsCreateServiceDescription() (*CreateServiceDescription, bool)

AsCreateServiceDescription is the BasicCreateServiceDescription implementation for CreateServiceDescription.

func (CreateServiceDescription) AsStatefulCreateServiceDescription

func (csd CreateServiceDescription) AsStatefulCreateServiceDescription() (*StatefulCreateServiceDescription, bool)

AsStatefulCreateServiceDescription is the BasicCreateServiceDescription implementation for CreateServiceDescription.

func (CreateServiceDescription) AsStatelessCreateServiceDescription

func (csd CreateServiceDescription) AsStatelessCreateServiceDescription() (*StatelessCreateServiceDescription, bool)

AsStatelessCreateServiceDescription is the BasicCreateServiceDescription implementation for CreateServiceDescription.

func (CreateServiceDescription) MarshalJSON

func (csd CreateServiceDescription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CreateServiceDescription.

type CreateServiceGroupDescription

type CreateServiceGroupDescription 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 - Possible values include: 'ServiceKindBasicCreateServiceGroupDescriptionServiceKindCreateServiceGroupDescription', 'ServiceKindBasicCreateServiceGroupDescriptionServiceKindStateless', 'ServiceKindBasicCreateServiceGroupDescriptionServiceKindStateful'
	ServiceKind ServiceKindBasicCreateServiceGroupDescription `json:"ServiceKind,omitempty"`
}

CreateServiceGroupDescription the description of the create service group

func (CreateServiceGroupDescription) AsBasicCreateServiceGroupDescription

func (csgd CreateServiceGroupDescription) AsBasicCreateServiceGroupDescription() (BasicCreateServiceGroupDescription, bool)

AsBasicCreateServiceGroupDescription is the BasicCreateServiceGroupDescription implementation for CreateServiceGroupDescription.

func (CreateServiceGroupDescription) AsCreateServiceGroupDescription

func (csgd CreateServiceGroupDescription) AsCreateServiceGroupDescription() (*CreateServiceGroupDescription, bool)

AsCreateServiceGroupDescription is the BasicCreateServiceGroupDescription implementation for CreateServiceGroupDescription.

func (CreateServiceGroupDescription) AsStatefulCreateServiceGroupDescription

func (csgd CreateServiceGroupDescription) AsStatefulCreateServiceGroupDescription() (*StatefulCreateServiceGroupDescription, bool)

AsStatefulCreateServiceGroupDescription is the BasicCreateServiceGroupDescription implementation for CreateServiceGroupDescription.

func (CreateServiceGroupDescription) AsStatelessCreateServiceGroupDescription

func (csgd CreateServiceGroupDescription) AsStatelessCreateServiceGroupDescription() (*StatelessCreateServiceGroupDescription, bool)

AsStatelessCreateServiceGroupDescription is the BasicCreateServiceGroupDescription implementation for CreateServiceGroupDescription.

func (CreateServiceGroupDescription) MarshalJSON

func (csgd CreateServiceGroupDescription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CreateServiceGroupDescription.

type DeactivationIntent

type DeactivationIntent string

DeactivationIntent enumerates the values for deactivation intent.

const (
	// Pause ...
	Pause DeactivationIntent = "Pause"
	// RemoveData ...
	RemoveData DeactivationIntent = "RemoveData"
	// RemoveNode ...
	RemoveNode DeactivationIntent = "RemoveNode"
	// Restart ...
	Restart DeactivationIntent = "Restart"
)

type DefaultMoveCost

type DefaultMoveCost string

DefaultMoveCost enumerates the values for default move cost.

const (
	// High ...
	High DefaultMoveCost = "High"
	// Low ...
	Low DefaultMoveCost = "Low"
	// Medium ...
	Medium DefaultMoveCost = "Medium"
	// Zero ...
	Zero DefaultMoveCost = "Zero"
)

type DefaultMoveCost1

type DefaultMoveCost1 string

DefaultMoveCost1 enumerates the values for default move cost 1.

const (
	// DefaultMoveCost1High ...
	DefaultMoveCost1High DefaultMoveCost1 = "High"
	// DefaultMoveCost1Low ...
	DefaultMoveCost1Low DefaultMoveCost1 = "Low"
	// DefaultMoveCost1Medium ...
	DefaultMoveCost1Medium DefaultMoveCost1 = "Medium"
	// DefaultMoveCost1Zero ...
	DefaultMoveCost1Zero DefaultMoveCost1 = "Zero"
)

type DefaultMoveCost2

type DefaultMoveCost2 string

DefaultMoveCost2 enumerates the values for default move cost 2.

const (
	// DefaultMoveCost2High ...
	DefaultMoveCost2High DefaultMoveCost2 = "High"
	// DefaultMoveCost2Low ...
	DefaultMoveCost2Low DefaultMoveCost2 = "Low"
	// DefaultMoveCost2Medium ...
	DefaultMoveCost2Medium DefaultMoveCost2 = "Medium"
	// DefaultMoveCost2Zero ...
	DefaultMoveCost2Zero DefaultMoveCost2 = "Zero"
)

type DefaultMoveCost3

type DefaultMoveCost3 string

DefaultMoveCost3 enumerates the values for default move cost 3.

const (
	// DefaultMoveCost3High ...
	DefaultMoveCost3High DefaultMoveCost3 = "High"
	// DefaultMoveCost3Low ...
	DefaultMoveCost3Low DefaultMoveCost3 = "Low"
	// DefaultMoveCost3Medium ...
	DefaultMoveCost3Medium DefaultMoveCost3 = "Medium"
	// DefaultMoveCost3Zero ...
	DefaultMoveCost3Zero DefaultMoveCost3 = "Zero"
)

type DeltaNodesCheckHealthEvaluation

type DeltaNodesCheckHealthEvaluation struct {
	Description *string `json:"Description,omitempty"`
	// AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
	// Kind - Possible values include: 'KindHealthEvaluation', 'KindEvent', 'KindPartitions', 'KindReplicas', 'KindDeployedServicePackages', 'KindDeployedApplications', 'KindServices', 'KindNodes', 'KindApplications', 'KindUpgradeDomainNodes', 'KindUpgradeDomainDeployedApplications', 'KindSystemApplication', 'KindPartition', 'KindReplica', 'KindDeployedServicePackage', 'KindDeployedApplication', 'KindService', 'KindNode', 'KindApplication', 'KindDeltaNodesCheck', 'KindUpgradeDomainDeltaNodesCheck', 'KindApplicationType'
	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 the evaluation of the delta nodes check health

func (DeltaNodesCheckHealthEvaluation) AsApplicationHealthEvaluation

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

AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.

func (DeltaNodesCheckHealthEvaluation) AsApplicationTypeHealthEvaluation

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

AsApplicationTypeHealthEvaluation is the BasicHealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.

func (DeltaNodesCheckHealthEvaluation) AsApplicationsHealthEvaluation

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

AsApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.

func (DeltaNodesCheckHealthEvaluation) AsBasicHealthEvaluation

func (dnche DeltaNodesCheckHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)

AsBasicHealthEvaluation is the BasicHealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.

func (DeltaNodesCheckHealthEvaluation) AsDeltaNodesCheckHealthEvaluation

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

AsDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.

func (DeltaNodesCheckHealthEvaluation) AsDeployedApplicationHealthEvaluation

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

AsDeployedApplicationHealthEvaluation is the BasicHealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.

func (DeltaNodesCheckHealthEvaluation) AsDeployedApplicationsHealthEvaluation

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

AsDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.

func (DeltaNodesCheckHealthEvaluation) AsDeployedServicePackageHealthEvaluation

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

AsDeployedServicePackageHealthEvaluation is the BasicHealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.

func (DeltaNodesCheckHealthEvaluation) AsDeployedServicePackagesHealthEvaluation

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

AsDeployedServicePackagesHealthEvaluation is the BasicHealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.

func (DeltaNodesCheckHealthEvaluation) AsEventHealthEvaluation

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

AsEventHealthEvaluation is the BasicHealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.

func (DeltaNodesCheckHealthEvaluation) AsHealthEvaluation

func (dnche DeltaNodesCheckHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)

AsHealthEvaluation is the BasicHealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.

func (DeltaNodesCheckHealthEvaluation) AsNodeHealthEvaluation

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

AsNodeHealthEvaluation is the BasicHealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.

func (DeltaNodesCheckHealthEvaluation) AsNodesHealthEvaluation

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

AsNodesHealthEvaluation is the BasicHealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.

func (DeltaNodesCheckHealthEvaluation) AsPartitionHealthEvaluation

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

AsPartitionHealthEvaluation is the BasicHealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.

func (DeltaNodesCheckHealthEvaluation) AsPartitionsHealthEvaluation

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

AsPartitionsHealthEvaluation is the BasicHealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.

func (DeltaNodesCheckHealthEvaluation) AsReplicaHealthEvaluation

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

AsReplicaHealthEvaluation is the BasicHealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.

func (DeltaNodesCheckHealthEvaluation) AsReplicasHealthEvaluation

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

AsReplicasHealthEvaluation is the BasicHealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.

func (DeltaNodesCheckHealthEvaluation) AsServiceHealthEvaluation

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

AsServiceHealthEvaluation is the BasicHealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.

func (DeltaNodesCheckHealthEvaluation) AsServicesHealthEvaluation

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

AsServicesHealthEvaluation is the BasicHealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.

func (DeltaNodesCheckHealthEvaluation) AsSystemApplicationHealthEvaluation

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

AsSystemApplicationHealthEvaluation is the BasicHealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.

func (DeltaNodesCheckHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation

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

AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.

func (DeltaNodesCheckHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation

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

AsUpgradeDomainDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for DeltaNodesCheckHealthEvaluation.

func (DeltaNodesCheckHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation

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

AsUpgradeDomainNodesHealthEvaluation is the BasicHealthEvaluation 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 the application of the deployed

type DeployedApplicationHealth

type DeployedApplicationHealth struct {
	autorest.Response `json:"-"`
	HealthEvents      *[]HealthEvent `json:"HealthEvents,omitempty"`
	// AggregatedHealthState - Possible values include: 'AggregatedHealthState3Invalid', 'AggregatedHealthState3Ok', 'AggregatedHealthState3Warning', 'AggregatedHealthState3Error', 'AggregatedHealthState3Unknown'
	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 the health of the deployed application

type DeployedApplicationHealthEvaluation

type DeployedApplicationHealthEvaluation struct {
	Description *string `json:"Description,omitempty"`
	// AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
	// Kind - Possible values include: 'KindHealthEvaluation', 'KindEvent', 'KindPartitions', 'KindReplicas', 'KindDeployedServicePackages', 'KindDeployedApplications', 'KindServices', 'KindNodes', 'KindApplications', 'KindUpgradeDomainNodes', 'KindUpgradeDomainDeployedApplications', 'KindSystemApplication', 'KindPartition', 'KindReplica', 'KindDeployedServicePackage', 'KindDeployedApplication', 'KindService', 'KindNode', 'KindApplication', 'KindDeltaNodesCheck', 'KindUpgradeDomainDeltaNodesCheck', 'KindApplicationType'
	Kind                 Kind                   `json:"Kind,omitempty"`
	ApplicationName      *string                `json:"ApplicationName,omitempty"`
	NodeName             *string                `json:"NodeName,omitempty"`
	UnhealthyEvaluations *[]UnhealthyEvaluation `json:"UnhealthyEvaluations,omitempty"`
}

DeployedApplicationHealthEvaluation the evaluation of the deployed application health

func (DeployedApplicationHealthEvaluation) AsApplicationHealthEvaluation

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

AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationHealthEvaluation.

func (DeployedApplicationHealthEvaluation) AsApplicationTypeHealthEvaluation

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

AsApplicationTypeHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationHealthEvaluation.

func (DeployedApplicationHealthEvaluation) AsApplicationsHealthEvaluation

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

AsApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationHealthEvaluation.

func (DeployedApplicationHealthEvaluation) AsBasicHealthEvaluation

func (dahe DeployedApplicationHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)

AsBasicHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationHealthEvaluation.

func (DeployedApplicationHealthEvaluation) AsDeltaNodesCheckHealthEvaluation

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

AsDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationHealthEvaluation.

func (DeployedApplicationHealthEvaluation) AsDeployedApplicationHealthEvaluation

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

AsDeployedApplicationHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationHealthEvaluation.

func (DeployedApplicationHealthEvaluation) AsDeployedApplicationsHealthEvaluation

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

AsDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationHealthEvaluation.

func (DeployedApplicationHealthEvaluation) AsDeployedServicePackageHealthEvaluation

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

AsDeployedServicePackageHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationHealthEvaluation.

func (DeployedApplicationHealthEvaluation) AsDeployedServicePackagesHealthEvaluation

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

AsDeployedServicePackagesHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationHealthEvaluation.

func (DeployedApplicationHealthEvaluation) AsEventHealthEvaluation

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

AsEventHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationHealthEvaluation.

func (DeployedApplicationHealthEvaluation) AsHealthEvaluation

func (dahe DeployedApplicationHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)

AsHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationHealthEvaluation.

func (DeployedApplicationHealthEvaluation) AsNodeHealthEvaluation

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

AsNodeHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationHealthEvaluation.

func (DeployedApplicationHealthEvaluation) AsNodesHealthEvaluation

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

AsNodesHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationHealthEvaluation.

func (DeployedApplicationHealthEvaluation) AsPartitionHealthEvaluation

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

AsPartitionHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationHealthEvaluation.

func (DeployedApplicationHealthEvaluation) AsPartitionsHealthEvaluation

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

AsPartitionsHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationHealthEvaluation.

func (DeployedApplicationHealthEvaluation) AsReplicaHealthEvaluation

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

AsReplicaHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationHealthEvaluation.

func (DeployedApplicationHealthEvaluation) AsReplicasHealthEvaluation

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

AsReplicasHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationHealthEvaluation.

func (DeployedApplicationHealthEvaluation) AsServiceHealthEvaluation

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

AsServiceHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationHealthEvaluation.

func (DeployedApplicationHealthEvaluation) AsServicesHealthEvaluation

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

AsServicesHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationHealthEvaluation.

func (DeployedApplicationHealthEvaluation) AsSystemApplicationHealthEvaluation

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

AsSystemApplicationHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationHealthEvaluation.

func (DeployedApplicationHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation

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

AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationHealthEvaluation.

func (DeployedApplicationHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation

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

AsUpgradeDomainDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationHealthEvaluation.

func (DeployedApplicationHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation

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

AsUpgradeDomainNodesHealthEvaluation is the BasicHealthEvaluation 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 - Possible values include: 'HealthState1Invalid', 'HealthState1Ok', 'HealthState1Warning', 'HealthState1Error', 'HealthState1Unknown'
	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 the report of the deployed application health

type DeployedApplicationHealthsClient

type DeployedApplicationHealthsClient struct {
	BaseClient
}

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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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 {
	BaseClient
}

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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, nodeName string) (result ListDeployedApplication, err error)

List list deployed applications

nodeName is the name of the node

func (DeployedApplicationsClient) ListPreparer

func (client DeployedApplicationsClient) ListPreparer(ctx context.Context, 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 - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
	// Kind - Possible values include: 'KindHealthEvaluation', 'KindEvent', 'KindPartitions', 'KindReplicas', 'KindDeployedServicePackages', 'KindDeployedApplications', 'KindServices', 'KindNodes', 'KindApplications', 'KindUpgradeDomainNodes', 'KindUpgradeDomainDeployedApplications', 'KindSystemApplication', 'KindPartition', 'KindReplica', 'KindDeployedServicePackage', 'KindDeployedApplication', 'KindService', 'KindNode', 'KindApplication', 'KindDeltaNodesCheck', 'KindUpgradeDomainDeltaNodesCheck', 'KindApplicationType'
	Kind                                    Kind                   `json:"Kind,omitempty"`
	UnhealthyEvaluations                    *[]UnhealthyEvaluation `json:"UnhealthyEvaluations,omitempty"`
	TotalCount                              *int32                 `json:"TotalCount,omitempty"`
	MaxPercentUnhealthyDeployedApplications *int32                 `json:"MaxPercentUnhealthyDeployedApplications,omitempty"`
}

DeployedApplicationsHealthEvaluation the evaluation of the deployed applications health

func (DeployedApplicationsHealthEvaluation) AsApplicationHealthEvaluation

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

AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationsHealthEvaluation.

func (DeployedApplicationsHealthEvaluation) AsApplicationTypeHealthEvaluation

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

AsApplicationTypeHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationsHealthEvaluation.

func (DeployedApplicationsHealthEvaluation) AsApplicationsHealthEvaluation

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

AsApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationsHealthEvaluation.

func (DeployedApplicationsHealthEvaluation) AsBasicHealthEvaluation

func (dahe DeployedApplicationsHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)

AsBasicHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationsHealthEvaluation.

func (DeployedApplicationsHealthEvaluation) AsDeltaNodesCheckHealthEvaluation

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

AsDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationsHealthEvaluation.

func (DeployedApplicationsHealthEvaluation) AsDeployedApplicationHealthEvaluation

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

AsDeployedApplicationHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationsHealthEvaluation.

func (DeployedApplicationsHealthEvaluation) AsDeployedApplicationsHealthEvaluation

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

AsDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationsHealthEvaluation.

func (DeployedApplicationsHealthEvaluation) AsDeployedServicePackageHealthEvaluation

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

AsDeployedServicePackageHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationsHealthEvaluation.

func (DeployedApplicationsHealthEvaluation) AsDeployedServicePackagesHealthEvaluation

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

AsDeployedServicePackagesHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationsHealthEvaluation.

func (DeployedApplicationsHealthEvaluation) AsEventHealthEvaluation

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

AsEventHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationsHealthEvaluation.

func (DeployedApplicationsHealthEvaluation) AsHealthEvaluation

func (dahe DeployedApplicationsHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)

AsHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationsHealthEvaluation.

func (DeployedApplicationsHealthEvaluation) AsNodeHealthEvaluation

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

AsNodeHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationsHealthEvaluation.

func (DeployedApplicationsHealthEvaluation) AsNodesHealthEvaluation

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

AsNodesHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationsHealthEvaluation.

func (DeployedApplicationsHealthEvaluation) AsPartitionHealthEvaluation

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

AsPartitionHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationsHealthEvaluation.

func (DeployedApplicationsHealthEvaluation) AsPartitionsHealthEvaluation

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

AsPartitionsHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationsHealthEvaluation.

func (DeployedApplicationsHealthEvaluation) AsReplicaHealthEvaluation

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

AsReplicaHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationsHealthEvaluation.

func (DeployedApplicationsHealthEvaluation) AsReplicasHealthEvaluation

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

AsReplicasHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationsHealthEvaluation.

func (DeployedApplicationsHealthEvaluation) AsServiceHealthEvaluation

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

AsServiceHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationsHealthEvaluation.

func (DeployedApplicationsHealthEvaluation) AsServicesHealthEvaluation

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

AsServicesHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationsHealthEvaluation.

func (DeployedApplicationsHealthEvaluation) AsSystemApplicationHealthEvaluation

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

AsSystemApplicationHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationsHealthEvaluation.

func (DeployedApplicationsHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation

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

AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationsHealthEvaluation.

func (DeployedApplicationsHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation

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

AsUpgradeDomainDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for DeployedApplicationsHealthEvaluation.

func (DeployedApplicationsHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation

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

AsUpgradeDomainNodesHealthEvaluation is the BasicHealthEvaluation 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 the package of the deployed code

type DeployedCodePackagesClient

type DeployedCodePackagesClient struct {
	BaseClient
}

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(ctx context.Context, 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(ctx context.Context, 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 - Possible values include: 'ServiceKindInvalid', 'ServiceKindStateless', 'ServiceKindStateful'
	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 - Possible values include: 'ReplicaRoleInvalid', 'ReplicaRoleNone', 'ReplicaRolePrimary', 'ReplicaRoleIdleSecondary', 'ReplicaRoleActiveSecondary'
	ReplicaRole ReplicaRole `json:"ReplicaRole,omitempty"`
	// ReplicaStatus - Possible values include: 'ReplicaStatusInvalid', 'ReplicaStatusInBuild', 'ReplicaStatusStandby', 'ReplicaStatusReady', 'ReplicaStatusDown', 'ReplicaStatusDropped'
	ReplicaStatus ReplicaStatus `json:"ReplicaStatus,omitempty"`
	Address       *string       `json:"Address,omitempty"`
}

DeployedReplica the replica of the deployed

type DeployedReplicaDetail

type DeployedReplicaDetail struct {
	autorest.Response `json:"-"`
	// ServiceKind - Possible values include: 'ServiceKind1Invalid', 'ServiceKind1Stateless', 'ServiceKind1Stateful'
	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 - The status of the replicator
	ReplicatorStatus *DeployedReplicaDetailReplicatorStatus `json:"ReplicatorStatus,omitempty"`
}

DeployedReplicaDetail the detail of the deployed replica

type DeployedReplicaDetailReplicatorStatus

type DeployedReplicaDetailReplicatorStatus struct {
	Kind *int32 `json:"Kind,omitempty"`
	// ReplicationQueueStatus - The status of the replication queue
	ReplicationQueueStatus *DeployedReplicaDetailReplicatorStatusReplicationQueueStatus `json:"ReplicationQueueStatus,omitempty"`
}

DeployedReplicaDetailReplicatorStatus 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 the status of the replication queue

type DeployedReplicaDetailsClient

type DeployedReplicaDetailsClient struct {
	BaseClient
}

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(ctx context.Context, 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(ctx context.Context, 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 {
	BaseClient
}

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(ctx context.Context, 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(ctx context.Context, 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 - Possible values include: 'HealthState1Invalid', 'HealthState1Ok', 'HealthState1Warning', 'HealthState1Error', 'HealthState1Unknown'
	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 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 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 - Possible values include: 'AggregatedHealthState4Invalid', 'AggregatedHealthState4Ok', 'AggregatedHealthState4Warning', 'AggregatedHealthState4Error', 'AggregatedHealthState4Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
}

DeployedServicePackageHealth the health of the deployed service package

type DeployedServicePackageHealthEvaluation

type DeployedServicePackageHealthEvaluation struct {
	Description *string `json:"Description,omitempty"`
	// AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
	// Kind - Possible values include: 'KindHealthEvaluation', 'KindEvent', 'KindPartitions', 'KindReplicas', 'KindDeployedServicePackages', 'KindDeployedApplications', 'KindServices', 'KindNodes', 'KindApplications', 'KindUpgradeDomainNodes', 'KindUpgradeDomainDeployedApplications', 'KindSystemApplication', 'KindPartition', 'KindReplica', 'KindDeployedServicePackage', 'KindDeployedApplication', 'KindService', 'KindNode', 'KindApplication', 'KindDeltaNodesCheck', 'KindUpgradeDomainDeltaNodesCheck', 'KindApplicationType'
	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 the evaluation of the deployed service package health

func (DeployedServicePackageHealthEvaluation) AsApplicationHealthEvaluation

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

AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackageHealthEvaluation.

func (DeployedServicePackageHealthEvaluation) AsApplicationTypeHealthEvaluation

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

AsApplicationTypeHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackageHealthEvaluation.

func (DeployedServicePackageHealthEvaluation) AsApplicationsHealthEvaluation

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

AsApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackageHealthEvaluation.

func (DeployedServicePackageHealthEvaluation) AsBasicHealthEvaluation

func (dsphe DeployedServicePackageHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)

AsBasicHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackageHealthEvaluation.

func (DeployedServicePackageHealthEvaluation) AsDeltaNodesCheckHealthEvaluation

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

AsDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackageHealthEvaluation.

func (DeployedServicePackageHealthEvaluation) AsDeployedApplicationHealthEvaluation

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

AsDeployedApplicationHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackageHealthEvaluation.

func (DeployedServicePackageHealthEvaluation) AsDeployedApplicationsHealthEvaluation

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

AsDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackageHealthEvaluation.

func (DeployedServicePackageHealthEvaluation) AsDeployedServicePackageHealthEvaluation

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

AsDeployedServicePackageHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackageHealthEvaluation.

func (DeployedServicePackageHealthEvaluation) AsDeployedServicePackagesHealthEvaluation

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

AsDeployedServicePackagesHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackageHealthEvaluation.

func (DeployedServicePackageHealthEvaluation) AsEventHealthEvaluation

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

AsEventHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackageHealthEvaluation.

func (DeployedServicePackageHealthEvaluation) AsHealthEvaluation

func (dsphe DeployedServicePackageHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)

AsHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackageHealthEvaluation.

func (DeployedServicePackageHealthEvaluation) AsNodeHealthEvaluation

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

AsNodeHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackageHealthEvaluation.

func (DeployedServicePackageHealthEvaluation) AsNodesHealthEvaluation

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

AsNodesHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackageHealthEvaluation.

func (DeployedServicePackageHealthEvaluation) AsPartitionHealthEvaluation

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

AsPartitionHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackageHealthEvaluation.

func (DeployedServicePackageHealthEvaluation) AsPartitionsHealthEvaluation

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

AsPartitionsHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackageHealthEvaluation.

func (DeployedServicePackageHealthEvaluation) AsReplicaHealthEvaluation

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

AsReplicaHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackageHealthEvaluation.

func (DeployedServicePackageHealthEvaluation) AsReplicasHealthEvaluation

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

AsReplicasHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackageHealthEvaluation.

func (DeployedServicePackageHealthEvaluation) AsServiceHealthEvaluation

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

AsServiceHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackageHealthEvaluation.

func (DeployedServicePackageHealthEvaluation) AsServicesHealthEvaluation

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

AsServicesHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackageHealthEvaluation.

func (DeployedServicePackageHealthEvaluation) AsSystemApplicationHealthEvaluation

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

AsSystemApplicationHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackageHealthEvaluation.

func (DeployedServicePackageHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation

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

AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackageHealthEvaluation.

func (DeployedServicePackageHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation

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

AsUpgradeDomainDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackageHealthEvaluation.

func (DeployedServicePackageHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation

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

AsUpgradeDomainNodesHealthEvaluation is the BasicHealthEvaluation 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 - Possible values include: 'AggregatedHealthState2Invalid', 'AggregatedHealthState2Ok', 'AggregatedHealthState2Warning', 'AggregatedHealthState2Error', 'AggregatedHealthState2Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
}

DeployedServicePackageHealthState the state of the deployed service package health

type DeployedServicePackageHealthsClient

type DeployedServicePackageHealthsClient struct {
	BaseClient
}

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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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 {
	BaseClient
}

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(ctx context.Context, 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(ctx context.Context, 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 - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
	// Kind - Possible values include: 'KindHealthEvaluation', 'KindEvent', 'KindPartitions', 'KindReplicas', 'KindDeployedServicePackages', 'KindDeployedApplications', 'KindServices', 'KindNodes', 'KindApplications', 'KindUpgradeDomainNodes', 'KindUpgradeDomainDeployedApplications', 'KindSystemApplication', 'KindPartition', 'KindReplica', 'KindDeployedServicePackage', 'KindDeployedApplication', 'KindService', 'KindNode', 'KindApplication', 'KindDeltaNodesCheck', 'KindUpgradeDomainDeltaNodesCheck', 'KindApplicationType'
	Kind                 Kind                   `json:"Kind,omitempty"`
	UnhealthyEvaluations *[]UnhealthyEvaluation `json:"UnhealthyEvaluations,omitempty"`
	TotalCount           *int32                 `json:"TotalCount,omitempty"`
}

DeployedServicePackagesHealthEvaluation the evaluation of the deployed service packages health

func (DeployedServicePackagesHealthEvaluation) AsApplicationHealthEvaluation

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

AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.

func (DeployedServicePackagesHealthEvaluation) AsApplicationTypeHealthEvaluation

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

AsApplicationTypeHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.

func (DeployedServicePackagesHealthEvaluation) AsApplicationsHealthEvaluation

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

AsApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.

func (DeployedServicePackagesHealthEvaluation) AsBasicHealthEvaluation

func (dsphe DeployedServicePackagesHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)

AsBasicHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.

func (DeployedServicePackagesHealthEvaluation) AsDeltaNodesCheckHealthEvaluation

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

AsDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.

func (DeployedServicePackagesHealthEvaluation) AsDeployedApplicationHealthEvaluation

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

AsDeployedApplicationHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.

func (DeployedServicePackagesHealthEvaluation) AsDeployedApplicationsHealthEvaluation

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

AsDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.

func (DeployedServicePackagesHealthEvaluation) AsDeployedServicePackageHealthEvaluation

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

AsDeployedServicePackageHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.

func (DeployedServicePackagesHealthEvaluation) AsDeployedServicePackagesHealthEvaluation

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

AsDeployedServicePackagesHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.

func (DeployedServicePackagesHealthEvaluation) AsEventHealthEvaluation

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

AsEventHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.

func (DeployedServicePackagesHealthEvaluation) AsHealthEvaluation

func (dsphe DeployedServicePackagesHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)

AsHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.

func (DeployedServicePackagesHealthEvaluation) AsNodeHealthEvaluation

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

AsNodeHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.

func (DeployedServicePackagesHealthEvaluation) AsNodesHealthEvaluation

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

AsNodesHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.

func (DeployedServicePackagesHealthEvaluation) AsPartitionHealthEvaluation

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

AsPartitionHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.

func (DeployedServicePackagesHealthEvaluation) AsPartitionsHealthEvaluation

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

AsPartitionsHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.

func (DeployedServicePackagesHealthEvaluation) AsReplicaHealthEvaluation

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

AsReplicaHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.

func (DeployedServicePackagesHealthEvaluation) AsReplicasHealthEvaluation

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

AsReplicasHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.

func (DeployedServicePackagesHealthEvaluation) AsServiceHealthEvaluation

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

AsServiceHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.

func (DeployedServicePackagesHealthEvaluation) AsServicesHealthEvaluation

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

AsServicesHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.

func (DeployedServicePackagesHealthEvaluation) AsSystemApplicationHealthEvaluation

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

AsSystemApplicationHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.

func (DeployedServicePackagesHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation

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

AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.

func (DeployedServicePackagesHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation

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

AsUpgradeDomainDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for DeployedServicePackagesHealthEvaluation.

func (DeployedServicePackagesHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation

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

AsUpgradeDomainNodesHealthEvaluation is the BasicHealthEvaluation 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 the type of the deploye service

type DeployedServiceTypesClient

type DeployedServiceTypesClient struct {
	BaseClient
}

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(ctx context.Context, 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(ctx context.Context, 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 - Possible values include: 'Pause', 'Restart', 'RemoveData', 'RemoveNode'
	DeactivationIntent DeactivationIntent `json:"DeactivationIntent,omitempty"`
}

DisableNode 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 the point of the entry

type ErrorModel

type ErrorModel struct {
	// Error - The error
	Error *ErrorModelError `json:"Error,omitempty"`
}

ErrorModel the model of the error

type ErrorModelError

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

ErrorModelError the error

type EventHealthEvaluation

type EventHealthEvaluation struct {
	Description *string `json:"Description,omitempty"`
	// AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
	// Kind - Possible values include: 'KindHealthEvaluation', 'KindEvent', 'KindPartitions', 'KindReplicas', 'KindDeployedServicePackages', 'KindDeployedApplications', 'KindServices', 'KindNodes', 'KindApplications', 'KindUpgradeDomainNodes', 'KindUpgradeDomainDeployedApplications', 'KindSystemApplication', 'KindPartition', 'KindReplica', 'KindDeployedServicePackage', 'KindDeployedApplication', 'KindService', 'KindNode', 'KindApplication', 'KindDeltaNodesCheck', 'KindUpgradeDomainDeltaNodesCheck', 'KindApplicationType'
	Kind                   Kind         `json:"Kind,omitempty"`
	UnhealthyEvent         *HealthEvent `json:"UnhealthyEvent,omitempty"`
	ConsiderWarningAsError *bool        `json:"ConsiderWarningAsError,omitempty"`
}

EventHealthEvaluation the evaluation of the event health

func (EventHealthEvaluation) AsApplicationHealthEvaluation

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

AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for EventHealthEvaluation.

func (EventHealthEvaluation) AsApplicationTypeHealthEvaluation

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

AsApplicationTypeHealthEvaluation is the BasicHealthEvaluation implementation for EventHealthEvaluation.

func (EventHealthEvaluation) AsApplicationsHealthEvaluation

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

AsApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for EventHealthEvaluation.

func (EventHealthEvaluation) AsBasicHealthEvaluation

func (ehe EventHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)

AsBasicHealthEvaluation is the BasicHealthEvaluation implementation for EventHealthEvaluation.

func (EventHealthEvaluation) AsDeltaNodesCheckHealthEvaluation

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

AsDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for EventHealthEvaluation.

func (EventHealthEvaluation) AsDeployedApplicationHealthEvaluation

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

AsDeployedApplicationHealthEvaluation is the BasicHealthEvaluation implementation for EventHealthEvaluation.

func (EventHealthEvaluation) AsDeployedApplicationsHealthEvaluation

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

AsDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for EventHealthEvaluation.

func (EventHealthEvaluation) AsDeployedServicePackageHealthEvaluation

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

AsDeployedServicePackageHealthEvaluation is the BasicHealthEvaluation implementation for EventHealthEvaluation.

func (EventHealthEvaluation) AsDeployedServicePackagesHealthEvaluation

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

AsDeployedServicePackagesHealthEvaluation is the BasicHealthEvaluation implementation for EventHealthEvaluation.

func (EventHealthEvaluation) AsEventHealthEvaluation

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

AsEventHealthEvaluation is the BasicHealthEvaluation implementation for EventHealthEvaluation.

func (EventHealthEvaluation) AsHealthEvaluation

func (ehe EventHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)

AsHealthEvaluation is the BasicHealthEvaluation implementation for EventHealthEvaluation.

func (EventHealthEvaluation) AsNodeHealthEvaluation

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

AsNodeHealthEvaluation is the BasicHealthEvaluation implementation for EventHealthEvaluation.

func (EventHealthEvaluation) AsNodesHealthEvaluation

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

AsNodesHealthEvaluation is the BasicHealthEvaluation implementation for EventHealthEvaluation.

func (EventHealthEvaluation) AsPartitionHealthEvaluation

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

AsPartitionHealthEvaluation is the BasicHealthEvaluation implementation for EventHealthEvaluation.

func (EventHealthEvaluation) AsPartitionsHealthEvaluation

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

AsPartitionsHealthEvaluation is the BasicHealthEvaluation implementation for EventHealthEvaluation.

func (EventHealthEvaluation) AsReplicaHealthEvaluation

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

AsReplicaHealthEvaluation is the BasicHealthEvaluation implementation for EventHealthEvaluation.

func (EventHealthEvaluation) AsReplicasHealthEvaluation

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

AsReplicasHealthEvaluation is the BasicHealthEvaluation implementation for EventHealthEvaluation.

func (EventHealthEvaluation) AsServiceHealthEvaluation

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

AsServiceHealthEvaluation is the BasicHealthEvaluation implementation for EventHealthEvaluation.

func (EventHealthEvaluation) AsServicesHealthEvaluation

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

AsServicesHealthEvaluation is the BasicHealthEvaluation implementation for EventHealthEvaluation.

func (EventHealthEvaluation) AsSystemApplicationHealthEvaluation

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

AsSystemApplicationHealthEvaluation is the BasicHealthEvaluation implementation for EventHealthEvaluation.

func (EventHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation

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

AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for EventHealthEvaluation.

func (EventHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation

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

AsUpgradeDomainDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for EventHealthEvaluation.

func (EventHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation

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

AsUpgradeDomainNodesHealthEvaluation is the BasicHealthEvaluation 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 ...
	FailureReasonHealthCheck FailureReason = "HealthCheck"
	// FailureReasonInterrupted ...
	FailureReasonInterrupted FailureReason = "Interrupted"
	// FailureReasonInvalid ...
	FailureReasonInvalid FailureReason = "Invalid"
	// FailureReasonOverallUpgradeTimeout ...
	FailureReasonOverallUpgradeTimeout FailureReason = "OverallUpgradeTimeout"
	// FailureReasonUpgradeDomainTimeout ...
	FailureReasonUpgradeDomainTimeout FailureReason = "UpgradeDomainTimeout"
)

type FailureReason1

type FailureReason1 string

FailureReason1 enumerates the values for failure reason 1.

const (
	// FailureReason1HealthCheck ...
	FailureReason1HealthCheck FailureReason1 = "HealthCheck"
	// FailureReason1Interrupted ...
	FailureReason1Interrupted FailureReason1 = "Interrupted"
	// FailureReason1Invalid ...
	FailureReason1Invalid FailureReason1 = "Invalid"
	// FailureReason1OverallUpgradeTimeout ...
	FailureReason1OverallUpgradeTimeout FailureReason1 = "OverallUpgradeTimeout"
	// FailureReason1UpgradeDomainTimeout ...
	FailureReason1UpgradeDomainTimeout FailureReason1 = "UpgradeDomainTimeout"
)

type HealthEvaluation

type HealthEvaluation struct {
	Description *string `json:"Description,omitempty"`
	// AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
	// Kind - Possible values include: 'KindHealthEvaluation', 'KindEvent', 'KindPartitions', 'KindReplicas', 'KindDeployedServicePackages', 'KindDeployedApplications', 'KindServices', 'KindNodes', 'KindApplications', 'KindUpgradeDomainNodes', 'KindUpgradeDomainDeployedApplications', 'KindSystemApplication', 'KindPartition', 'KindReplica', 'KindDeployedServicePackage', 'KindDeployedApplication', 'KindService', 'KindNode', 'KindApplication', 'KindDeltaNodesCheck', 'KindUpgradeDomainDeltaNodesCheck', 'KindApplicationType'
	Kind Kind `json:"Kind,omitempty"`
}

HealthEvaluation the evauation of the health

func (HealthEvaluation) AsApplicationHealthEvaluation

func (he HealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)

AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for HealthEvaluation.

func (HealthEvaluation) AsApplicationTypeHealthEvaluation

func (he HealthEvaluation) AsApplicationTypeHealthEvaluation() (*ApplicationTypeHealthEvaluation, bool)

AsApplicationTypeHealthEvaluation is the BasicHealthEvaluation implementation for HealthEvaluation.

func (HealthEvaluation) AsApplicationsHealthEvaluation

func (he HealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)

AsApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for HealthEvaluation.

func (HealthEvaluation) AsBasicHealthEvaluation

func (he HealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)

AsBasicHealthEvaluation is the BasicHealthEvaluation implementation for HealthEvaluation.

func (HealthEvaluation) AsDeltaNodesCheckHealthEvaluation

func (he HealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)

AsDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for HealthEvaluation.

func (HealthEvaluation) AsDeployedApplicationHealthEvaluation

func (he HealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)

AsDeployedApplicationHealthEvaluation is the BasicHealthEvaluation implementation for HealthEvaluation.

func (HealthEvaluation) AsDeployedApplicationsHealthEvaluation

func (he HealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)

AsDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for HealthEvaluation.

func (HealthEvaluation) AsDeployedServicePackageHealthEvaluation

func (he HealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)

AsDeployedServicePackageHealthEvaluation is the BasicHealthEvaluation implementation for HealthEvaluation.

func (HealthEvaluation) AsDeployedServicePackagesHealthEvaluation

func (he HealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)

AsDeployedServicePackagesHealthEvaluation is the BasicHealthEvaluation implementation for HealthEvaluation.

func (HealthEvaluation) AsEventHealthEvaluation

func (he HealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)

AsEventHealthEvaluation is the BasicHealthEvaluation implementation for HealthEvaluation.

func (HealthEvaluation) AsHealthEvaluation

func (he HealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)

AsHealthEvaluation is the BasicHealthEvaluation implementation for HealthEvaluation.

func (HealthEvaluation) AsNodeHealthEvaluation

func (he HealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)

AsNodeHealthEvaluation is the BasicHealthEvaluation implementation for HealthEvaluation.

func (HealthEvaluation) AsNodesHealthEvaluation

func (he HealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)

AsNodesHealthEvaluation is the BasicHealthEvaluation implementation for HealthEvaluation.

func (HealthEvaluation) AsPartitionHealthEvaluation

func (he HealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)

AsPartitionHealthEvaluation is the BasicHealthEvaluation implementation for HealthEvaluation.

func (HealthEvaluation) AsPartitionsHealthEvaluation

func (he HealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)

AsPartitionsHealthEvaluation is the BasicHealthEvaluation implementation for HealthEvaluation.

func (HealthEvaluation) AsReplicaHealthEvaluation

func (he HealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)

AsReplicaHealthEvaluation is the BasicHealthEvaluation implementation for HealthEvaluation.

func (HealthEvaluation) AsReplicasHealthEvaluation

func (he HealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)

AsReplicasHealthEvaluation is the BasicHealthEvaluation implementation for HealthEvaluation.

func (HealthEvaluation) AsServiceHealthEvaluation

func (he HealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)

AsServiceHealthEvaluation is the BasicHealthEvaluation implementation for HealthEvaluation.

func (HealthEvaluation) AsServicesHealthEvaluation

func (he HealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)

AsServicesHealthEvaluation is the BasicHealthEvaluation implementation for HealthEvaluation.

func (HealthEvaluation) AsSystemApplicationHealthEvaluation

func (he HealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)

AsSystemApplicationHealthEvaluation is the BasicHealthEvaluation implementation for HealthEvaluation.

func (HealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation

func (he HealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)

AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for HealthEvaluation.

func (HealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation

func (he HealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation() (*UpgradeDomainDeployedApplicationsHealthEvaluation, bool)

AsUpgradeDomainDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for HealthEvaluation.

func (HealthEvaluation) AsUpgradeDomainNodesHealthEvaluation

func (he HealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)

AsUpgradeDomainNodesHealthEvaluation is the BasicHealthEvaluation implementation for HealthEvaluation.

func (HealthEvaluation) MarshalJSON

func (he HealthEvaluation) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for HealthEvaluation.

type HealthEvent

type HealthEvent struct {
	SourceID *string `json:"SourceId,omitempty"`
	Property *string `json:"Property,omitempty"`
	// HealthState - Possible values include: 'HealthState2Invalid', 'HealthState2Ok', 'HealthState2Warning', 'HealthState2Error', 'HealthState2Unknown'
	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 the event of the health

type HealthReport

type HealthReport struct {
	SourceID *string `json:"SourceId,omitempty"`
	Property *string `json:"Property,omitempty"`
	// HealthState - Possible values include: 'HealthState1Invalid', 'HealthState1Ok', 'HealthState1Warning', 'HealthState1Error', 'HealthState1Unknown'
	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 the report of the health

type HealthState

type HealthState string

HealthState enumerates the values for health state.

const (
	// HealthStateError ...
	HealthStateError HealthState = "Error"
	// HealthStateInvalid ...
	HealthStateInvalid HealthState = "Invalid"
	// HealthStateOk ...
	HealthStateOk HealthState = "Ok"
	// HealthStateUnknown ...
	HealthStateUnknown HealthState = "Unknown"
	// HealthStateWarning ...
	HealthStateWarning HealthState = "Warning"
)

type HealthState1

type HealthState1 string

HealthState1 enumerates the values for health state 1.

const (
	// HealthState1Error ...
	HealthState1Error HealthState1 = "Error"
	// HealthState1Invalid ...
	HealthState1Invalid HealthState1 = "Invalid"
	// HealthState1Ok ...
	HealthState1Ok HealthState1 = "Ok"
	// HealthState1Unknown ...
	HealthState1Unknown HealthState1 = "Unknown"
	// HealthState1Warning ...
	HealthState1Warning HealthState1 = "Warning"
)

type HealthState2

type HealthState2 string

HealthState2 enumerates the values for health state 2.

const (
	// HealthState2Error ...
	HealthState2Error HealthState2 = "Error"
	// HealthState2Invalid ...
	HealthState2Invalid HealthState2 = "Invalid"
	// HealthState2Ok ...
	HealthState2Ok HealthState2 = "Ok"
	// HealthState2Unknown ...
	HealthState2Unknown HealthState2 = "Unknown"
	// HealthState2Warning ...
	HealthState2Warning HealthState2 = "Warning"
)

type HealthState3

type HealthState3 string

HealthState3 enumerates the values for health state 3.

const (
	// HealthState3Error ...
	HealthState3Error HealthState3 = "Error"
	// HealthState3Invalid ...
	HealthState3Invalid HealthState3 = "Invalid"
	// HealthState3Ok ...
	HealthState3Ok HealthState3 = "Ok"
	// HealthState3Unknown ...
	HealthState3Unknown HealthState3 = "Unknown"
	// HealthState3Warning ...
	HealthState3Warning HealthState3 = "Warning"
)

type HealthState4

type HealthState4 string

HealthState4 enumerates the values for health state 4.

const (
	// HealthState4Error ...
	HealthState4Error HealthState4 = "Error"
	// HealthState4Invalid ...
	HealthState4Invalid HealthState4 = "Invalid"
	// HealthState4Ok ...
	HealthState4Ok HealthState4 = "Ok"
	// HealthState4Unknown ...
	HealthState4Unknown HealthState4 = "Unknown"
	// HealthState4Warning ...
	HealthState4Warning HealthState4 = "Warning"
)

type HealthState5

type HealthState5 string

HealthState5 enumerates the values for health state 5.

const (
	// HealthState5Error ...
	HealthState5Error HealthState5 = "Error"
	// HealthState5Invalid ...
	HealthState5Invalid HealthState5 = "Invalid"
	// HealthState5Ok ...
	HealthState5Ok HealthState5 = "Ok"
	// HealthState5Unknown ...
	HealthState5Unknown HealthState5 = "Unknown"
	// HealthState5Warning ...
	HealthState5Warning HealthState5 = "Warning"
)

type HealthState6

type HealthState6 string

HealthState6 enumerates the values for health state 6.

const (
	// HealthState6Error ...
	HealthState6Error HealthState6 = "Error"
	// HealthState6Invalid ...
	HealthState6Invalid HealthState6 = "Invalid"
	// HealthState6Ok ...
	HealthState6Ok HealthState6 = "Ok"
	// HealthState6Unknown ...
	HealthState6Unknown HealthState6 = "Unknown"
	// HealthState6Warning ...
	HealthState6Warning HealthState6 = "Warning"
)

type Kind

type Kind string

Kind enumerates the values for kind.

const (
	// KindApplication ...
	KindApplication Kind = "Application"
	// KindApplications ...
	KindApplications Kind = "Applications"
	// KindApplicationType ...
	KindApplicationType Kind = "ApplicationType"
	// KindDeltaNodesCheck ...
	KindDeltaNodesCheck Kind = "DeltaNodesCheck"
	// KindDeployedApplication ...
	KindDeployedApplication Kind = "DeployedApplication"
	// KindDeployedApplications ...
	KindDeployedApplications Kind = "DeployedApplications"
	// KindDeployedServicePackage ...
	KindDeployedServicePackage Kind = "DeployedServicePackage"
	// KindDeployedServicePackages ...
	KindDeployedServicePackages Kind = "DeployedServicePackages"
	// KindEvent ...
	KindEvent Kind = "Event"
	// KindHealthEvaluation ...
	KindHealthEvaluation Kind = "HealthEvaluation"
	// KindNode ...
	KindNode Kind = "Node"
	// KindNodes ...
	KindNodes Kind = "Nodes"
	// KindPartition ...
	KindPartition Kind = "Partition"
	// KindPartitions ...
	KindPartitions Kind = "Partitions"
	// KindReplica ...
	KindReplica Kind = "Replica"
	// KindReplicas ...
	KindReplicas Kind = "Replicas"
	// KindService ...
	KindService Kind = "Service"
	// KindServices ...
	KindServices Kind = "Services"
	// KindSystemApplication ...
	KindSystemApplication Kind = "SystemApplication"
	// KindUpgradeDomainDeltaNodesCheck ...
	KindUpgradeDomainDeltaNodesCheck Kind = "UpgradeDomainDeltaNodesCheck"
	// KindUpgradeDomainDeployedApplications ...
	KindUpgradeDomainDeployedApplications Kind = "UpgradeDomainDeployedApplications"
	// KindUpgradeDomainNodes ...
	KindUpgradeDomainNodes Kind = "UpgradeDomainNodes"
)

type ListApplicationType

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

ListApplicationType ...

type ListDeployedApplication

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

ListDeployedApplication ...

type ListDeployedCodePackage

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

ListDeployedCodePackage ...

type ListDeployedReplica

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

ListDeployedReplica ...

type ListDeployedServicePackage

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

ListDeployedServicePackage ...

type ListDeployedServiceType

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

ListDeployedServiceType ...

type ListServiceType

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

ListServiceType ...

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 - The id of the min node
	MinNodeLoadID    *LoadMetricInformationMinNodeLoadID `json:"MinNodeLoadId,omitempty"`
	MaxNodeLoadValue *string                             `json:"MaxNodeLoadValue,omitempty"`
	// MaxNodeLoadID - The id of the max node load
	MaxNodeLoadID *LoadMetricInformationMaxNodeLoadID `json:"MaxNodeLoadId,omitempty"`
}

LoadMetricInformation the information of the load metric

type LoadMetricInformationMaxNodeLoadID

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

LoadMetricInformationMaxNodeLoadID the id of the max node load

type LoadMetricInformationMinNodeLoadID

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

LoadMetricInformationMinNodeLoadID the id of the min node

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 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 - Possible values include: 'NodeStatusInvalid', 'NodeStatusUp', 'NodeStatusDown', 'NodeStatusEnabling', 'NodeStatusDisabling', 'NodeStatusDisabled', 'NodeStatusUnknown', 'NodeStatusRemoved'
	NodeStatus          NodeStatus `json:"NodeStatus,omitempty"`
	NodeUpTimeInSeconds *string    `json:"NodeUpTimeInSeconds,omitempty"`
	// HealthState - Possible values include: 'HealthStateInvalid', 'HealthStateOk', 'HealthStateWarning', 'HealthStateError', 'HealthStateUnknown'
	HealthState   HealthState `json:"HealthState,omitempty"`
	IsSeedNode    *bool       `json:"IsSeedNode,omitempty"`
	UpgradeDomain *string     `json:"UpgradeDomain,omitempty"`
	FaultDomain   *string     `json:"FaultDomain,omitempty"`
	// ID - The id
	ID         *NodeID `json:"Id,omitempty"`
	InstanceID *string `json:"InstanceId,omitempty"`
	// NodeDeactivationInfo - The info of the deactivation info
	NodeDeactivationInfo *NodeNodeDeactivationInfo `json:"NodeDeactivationInfo,omitempty"`
}

Node the node

type NodeDeactivationIntent

type NodeDeactivationIntent string

NodeDeactivationIntent enumerates the values for node deactivation intent.

const (
	// NodeDeactivationIntentInvalid ...
	NodeDeactivationIntentInvalid NodeDeactivationIntent = "Invalid"
	// NodeDeactivationIntentPause ...
	NodeDeactivationIntentPause NodeDeactivationIntent = "Pause"
	// NodeDeactivationIntentRemoveData ...
	NodeDeactivationIntentRemoveData NodeDeactivationIntent = "RemoveData"
	// NodeDeactivationIntentRestart ...
	NodeDeactivationIntentRestart NodeDeactivationIntent = "Restart"
)

type NodeDeactivationStatus

type NodeDeactivationStatus string

NodeDeactivationStatus enumerates the values for node deactivation status.

const (
	// NodeDeactivationStatusCompleted ...
	NodeDeactivationStatusCompleted NodeDeactivationStatus = "Completed"
	// NodeDeactivationStatusInvalid ...
	NodeDeactivationStatusInvalid NodeDeactivationStatus = "Invalid"
	// NodeDeactivationStatusSafetyCheckComplete ...
	NodeDeactivationStatusSafetyCheckComplete NodeDeactivationStatus = "SafetyCheckComplete"
	// NodeDeactivationStatusSafetyCheckInProgress ...
	NodeDeactivationStatusSafetyCheckInProgress NodeDeactivationStatus = "SafetyCheckInProgress"
)

type NodeHealth

type NodeHealth struct {
	autorest.Response `json:"-"`
	HealthEvents      *[]HealthEvent `json:"HealthEvents,omitempty"`
	// AggregatedHealthState - Possible values include: 'AggregatedHealthState1Invalid', 'AggregatedHealthState1Ok', 'AggregatedHealthState1Warning', 'AggregatedHealthState1Error', 'AggregatedHealthState1Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
	Name                  *string               `json:"Name,omitempty"`
}

NodeHealth the health of the node

type NodeHealthEvaluation

type NodeHealthEvaluation struct {
	Description *string `json:"Description,omitempty"`
	// AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
	// Kind - Possible values include: 'KindHealthEvaluation', 'KindEvent', 'KindPartitions', 'KindReplicas', 'KindDeployedServicePackages', 'KindDeployedApplications', 'KindServices', 'KindNodes', 'KindApplications', 'KindUpgradeDomainNodes', 'KindUpgradeDomainDeployedApplications', 'KindSystemApplication', 'KindPartition', 'KindReplica', 'KindDeployedServicePackage', 'KindDeployedApplication', 'KindService', 'KindNode', 'KindApplication', 'KindDeltaNodesCheck', 'KindUpgradeDomainDeltaNodesCheck', 'KindApplicationType'
	Kind                 Kind                   `json:"Kind,omitempty"`
	NodeName             *string                `json:"NodeName,omitempty"`
	UnhealthyEvaluations *[]UnhealthyEvaluation `json:"UnhealthyEvaluations,omitempty"`
}

NodeHealthEvaluation the evaluation of the node health

func (NodeHealthEvaluation) AsApplicationHealthEvaluation

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

AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for NodeHealthEvaluation.

func (NodeHealthEvaluation) AsApplicationTypeHealthEvaluation

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

AsApplicationTypeHealthEvaluation is the BasicHealthEvaluation implementation for NodeHealthEvaluation.

func (NodeHealthEvaluation) AsApplicationsHealthEvaluation

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

AsApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for NodeHealthEvaluation.

func (NodeHealthEvaluation) AsBasicHealthEvaluation

func (nhe NodeHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)

AsBasicHealthEvaluation is the BasicHealthEvaluation implementation for NodeHealthEvaluation.

func (NodeHealthEvaluation) AsDeltaNodesCheckHealthEvaluation

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

AsDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for NodeHealthEvaluation.

func (NodeHealthEvaluation) AsDeployedApplicationHealthEvaluation

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

AsDeployedApplicationHealthEvaluation is the BasicHealthEvaluation implementation for NodeHealthEvaluation.

func (NodeHealthEvaluation) AsDeployedApplicationsHealthEvaluation

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

AsDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for NodeHealthEvaluation.

func (NodeHealthEvaluation) AsDeployedServicePackageHealthEvaluation

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

AsDeployedServicePackageHealthEvaluation is the BasicHealthEvaluation implementation for NodeHealthEvaluation.

func (NodeHealthEvaluation) AsDeployedServicePackagesHealthEvaluation

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

AsDeployedServicePackagesHealthEvaluation is the BasicHealthEvaluation implementation for NodeHealthEvaluation.

func (NodeHealthEvaluation) AsEventHealthEvaluation

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

AsEventHealthEvaluation is the BasicHealthEvaluation implementation for NodeHealthEvaluation.

func (NodeHealthEvaluation) AsHealthEvaluation

func (nhe NodeHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)

AsHealthEvaluation is the BasicHealthEvaluation implementation for NodeHealthEvaluation.

func (NodeHealthEvaluation) AsNodeHealthEvaluation

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

AsNodeHealthEvaluation is the BasicHealthEvaluation implementation for NodeHealthEvaluation.

func (NodeHealthEvaluation) AsNodesHealthEvaluation

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

AsNodesHealthEvaluation is the BasicHealthEvaluation implementation for NodeHealthEvaluation.

func (NodeHealthEvaluation) AsPartitionHealthEvaluation

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

AsPartitionHealthEvaluation is the BasicHealthEvaluation implementation for NodeHealthEvaluation.

func (NodeHealthEvaluation) AsPartitionsHealthEvaluation

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

AsPartitionsHealthEvaluation is the BasicHealthEvaluation implementation for NodeHealthEvaluation.

func (NodeHealthEvaluation) AsReplicaHealthEvaluation

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

AsReplicaHealthEvaluation is the BasicHealthEvaluation implementation for NodeHealthEvaluation.

func (NodeHealthEvaluation) AsReplicasHealthEvaluation

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

AsReplicasHealthEvaluation is the BasicHealthEvaluation implementation for NodeHealthEvaluation.

func (NodeHealthEvaluation) AsServiceHealthEvaluation

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

AsServiceHealthEvaluation is the BasicHealthEvaluation implementation for NodeHealthEvaluation.

func (NodeHealthEvaluation) AsServicesHealthEvaluation

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

AsServicesHealthEvaluation is the BasicHealthEvaluation implementation for NodeHealthEvaluation.

func (NodeHealthEvaluation) AsSystemApplicationHealthEvaluation

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

AsSystemApplicationHealthEvaluation is the BasicHealthEvaluation implementation for NodeHealthEvaluation.

func (NodeHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation

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

AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for NodeHealthEvaluation.

func (NodeHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation

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

AsUpgradeDomainDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for NodeHealthEvaluation.

func (NodeHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation

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

AsUpgradeDomainNodesHealthEvaluation is the BasicHealthEvaluation 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 - Possible values include: 'HealthState1Invalid', 'HealthState1Ok', 'HealthState1Warning', 'HealthState1Error', 'HealthState1Unknown'
	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 the report of the node health

type NodeHealthsClient

type NodeHealthsClient struct {
	BaseClient
}

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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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 the id

type NodeList

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

NodeList the list of the node

type NodeLoadInformation

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

NodeLoadInformation the information of the node load

type NodeLoadInformationsClient

type NodeLoadInformationsClient struct {
	BaseClient
}

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(ctx context.Context, 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(ctx context.Context, 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 the information of the node load metric

type NodeNodeDeactivationInfo

type NodeNodeDeactivationInfo struct {
	// NodeDeactivationIntent - Possible values include: 'NodeDeactivationIntentInvalid', 'NodeDeactivationIntentPause', 'NodeDeactivationIntentRestart', 'NodeDeactivationIntentRemoveData'
	NodeDeactivationIntent NodeDeactivationIntent `json:"NodeDeactivationIntent,omitempty"`
	// NodeDeactivationStatus - Possible values include: 'NodeDeactivationStatusInvalid', 'NodeDeactivationStatusSafetyCheckInProgress', 'NodeDeactivationStatusSafetyCheckComplete', 'NodeDeactivationStatusCompleted'
	NodeDeactivationStatus NodeDeactivationStatus `json:"NodeDeactivationStatus,omitempty"`
}

NodeNodeDeactivationInfo the info of the deactivation info

type NodeStatesClient

type NodeStatesClient struct {
	BaseClient
}

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(ctx context.Context, nodeName string) (result String, err error)

Remove remove node states

nodeName is the name of the node

func (NodeStatesClient) RemovePreparer

func (client NodeStatesClient) RemovePreparer(ctx context.Context, 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 ...
	NodeStatusDisabled NodeStatus = "Disabled"
	// NodeStatusDisabling ...
	NodeStatusDisabling NodeStatus = "Disabling"
	// NodeStatusDown ...
	NodeStatusDown NodeStatus = "Down"
	// NodeStatusEnabling ...
	NodeStatusEnabling NodeStatus = "Enabling"
	// NodeStatusInvalid ...
	NodeStatusInvalid NodeStatus = "Invalid"
	// NodeStatusRemoved ...
	NodeStatusRemoved NodeStatus = "Removed"
	// NodeStatusUnknown ...
	NodeStatusUnknown NodeStatus = "Unknown"
	// NodeStatusUp ...
	NodeStatusUp NodeStatus = "Up"
)

type NodesClient

type NodesClient struct {
	BaseClient
}

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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, nodeName string) (result String, err error)

Enable enable nodes

nodeName is the name of the node

func (NodesClient) EnablePreparer

func (client NodesClient) EnablePreparer(ctx context.Context, 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(ctx context.Context, nodeName string) (result Node, err error)

Get get nodes

nodeName is the name of the node

func (NodesClient) GetPreparer

func (client NodesClient) GetPreparer(ctx context.Context, 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(ctx context.Context, continuationToken string) (result NodeList, err error)

List list nodes

continuationToken is the token of the continuation

func (NodesClient) ListPreparer

func (client NodesClient) ListPreparer(ctx context.Context, 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 - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
	// Kind - Possible values include: 'KindHealthEvaluation', 'KindEvent', 'KindPartitions', 'KindReplicas', 'KindDeployedServicePackages', 'KindDeployedApplications', 'KindServices', 'KindNodes', 'KindApplications', 'KindUpgradeDomainNodes', 'KindUpgradeDomainDeployedApplications', 'KindSystemApplication', 'KindPartition', 'KindReplica', 'KindDeployedServicePackage', 'KindDeployedApplication', 'KindService', 'KindNode', 'KindApplication', 'KindDeltaNodesCheck', 'KindUpgradeDomainDeltaNodesCheck', 'KindApplicationType'
	Kind                     Kind                   `json:"Kind,omitempty"`
	UnhealthyEvaluations     *[]UnhealthyEvaluation `json:"UnhealthyEvaluations,omitempty"`
	TotalCount               *int32                 `json:"TotalCount,omitempty"`
	MaxPercentUnhealthyNodes *int32                 `json:"MaxPercentUnhealthyNodes,omitempty"`
}

NodesHealthEvaluation the evaluation of the nodes health

func (NodesHealthEvaluation) AsApplicationHealthEvaluation

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

AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for NodesHealthEvaluation.

func (NodesHealthEvaluation) AsApplicationTypeHealthEvaluation

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

AsApplicationTypeHealthEvaluation is the BasicHealthEvaluation implementation for NodesHealthEvaluation.

func (NodesHealthEvaluation) AsApplicationsHealthEvaluation

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

AsApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for NodesHealthEvaluation.

func (NodesHealthEvaluation) AsBasicHealthEvaluation

func (nhe NodesHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)

AsBasicHealthEvaluation is the BasicHealthEvaluation implementation for NodesHealthEvaluation.

func (NodesHealthEvaluation) AsDeltaNodesCheckHealthEvaluation

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

AsDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for NodesHealthEvaluation.

func (NodesHealthEvaluation) AsDeployedApplicationHealthEvaluation

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

AsDeployedApplicationHealthEvaluation is the BasicHealthEvaluation implementation for NodesHealthEvaluation.

func (NodesHealthEvaluation) AsDeployedApplicationsHealthEvaluation

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

AsDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for NodesHealthEvaluation.

func (NodesHealthEvaluation) AsDeployedServicePackageHealthEvaluation

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

AsDeployedServicePackageHealthEvaluation is the BasicHealthEvaluation implementation for NodesHealthEvaluation.

func (NodesHealthEvaluation) AsDeployedServicePackagesHealthEvaluation

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

AsDeployedServicePackagesHealthEvaluation is the BasicHealthEvaluation implementation for NodesHealthEvaluation.

func (NodesHealthEvaluation) AsEventHealthEvaluation

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

AsEventHealthEvaluation is the BasicHealthEvaluation implementation for NodesHealthEvaluation.

func (NodesHealthEvaluation) AsHealthEvaluation

func (nhe NodesHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)

AsHealthEvaluation is the BasicHealthEvaluation implementation for NodesHealthEvaluation.

func (NodesHealthEvaluation) AsNodeHealthEvaluation

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

AsNodeHealthEvaluation is the BasicHealthEvaluation implementation for NodesHealthEvaluation.

func (NodesHealthEvaluation) AsNodesHealthEvaluation

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

AsNodesHealthEvaluation is the BasicHealthEvaluation implementation for NodesHealthEvaluation.

func (NodesHealthEvaluation) AsPartitionHealthEvaluation

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

AsPartitionHealthEvaluation is the BasicHealthEvaluation implementation for NodesHealthEvaluation.

func (NodesHealthEvaluation) AsPartitionsHealthEvaluation

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

AsPartitionsHealthEvaluation is the BasicHealthEvaluation implementation for NodesHealthEvaluation.

func (NodesHealthEvaluation) AsReplicaHealthEvaluation

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

AsReplicaHealthEvaluation is the BasicHealthEvaluation implementation for NodesHealthEvaluation.

func (NodesHealthEvaluation) AsReplicasHealthEvaluation

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

AsReplicasHealthEvaluation is the BasicHealthEvaluation implementation for NodesHealthEvaluation.

func (NodesHealthEvaluation) AsServiceHealthEvaluation

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

AsServiceHealthEvaluation is the BasicHealthEvaluation implementation for NodesHealthEvaluation.

func (NodesHealthEvaluation) AsServicesHealthEvaluation

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

AsServicesHealthEvaluation is the BasicHealthEvaluation implementation for NodesHealthEvaluation.

func (NodesHealthEvaluation) AsSystemApplicationHealthEvaluation

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

AsSystemApplicationHealthEvaluation is the BasicHealthEvaluation implementation for NodesHealthEvaluation.

func (NodesHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation

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

AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for NodesHealthEvaluation.

func (NodesHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation

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

AsUpgradeDomainDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for NodesHealthEvaluation.

func (NodesHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation

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

AsUpgradeDomainNodesHealthEvaluation is the BasicHealthEvaluation 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 - Possible values include: 'ServiceKind4Invalid', 'ServiceKind4Stateless', 'ServiceKind4Stateful'
	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 - Possible values include: 'HealthState5Invalid', 'HealthState5Ok', 'HealthState5Warning', 'HealthState5Error', 'HealthState5Unknown'
	HealthState HealthState `json:"HealthState,omitempty"`
	// PartitionStatus - Possible values include: 'PartitionStatusInvalid', 'PartitionStatusReady', 'PartitionStatusNotReady', 'PartitionStatusInQuorumLoss', 'PartitionStatusReconfiguring', 'PartitionStatusDeleting'
	PartitionStatus PartitionStatus `json:"PartitionStatus,omitempty"`
	// CurrentConfigurationEpoch - The epoch of the current configuration
	CurrentConfigurationEpoch *PartitionCurrentConfigurationEpoch `json:"CurrentConfigurationEpoch,omitempty"`
}

Partition the partition

type PartitionCurrentConfigurationEpoch

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

PartitionCurrentConfigurationEpoch the epoch of the current configuration

type PartitionDescription

type PartitionDescription struct {
	// PartitionScheme - Possible values include: 'PartitionSchemeInvalid', 'PartitionSchemeSingleton', 'PartitionSchemeUniformInt64', 'PartitionSchemeNamed'
	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 the description of the partition

type PartitionHealth

type PartitionHealth struct {
	autorest.Response `json:"-"`
	HealthEvents      *[]HealthEvent `json:"HealthEvents,omitempty"`
	// AggregatedHealthState - Possible values include: 'AggregatedHealthState11Invalid', 'AggregatedHealthState11Ok', 'AggregatedHealthState11Warning', 'AggregatedHealthState11Error', 'AggregatedHealthState11Unknown'
	AggregatedHealthState AggregatedHealthState                     `json:"AggregatedHealthState,omitempty"`
	PartitionID           *string                                   `json:"PartitionId,omitempty"`
	ReplicaHealthStates   *[]PartitionHealthReplicaHealthStatesItem `json:"ReplicaHealthStates,omitempty"`
}

PartitionHealth the health of the partition

type PartitionHealthEvaluation

type PartitionHealthEvaluation struct {
	Description *string `json:"Description,omitempty"`
	// AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
	// Kind - Possible values include: 'KindHealthEvaluation', 'KindEvent', 'KindPartitions', 'KindReplicas', 'KindDeployedServicePackages', 'KindDeployedApplications', 'KindServices', 'KindNodes', 'KindApplications', 'KindUpgradeDomainNodes', 'KindUpgradeDomainDeployedApplications', 'KindSystemApplication', 'KindPartition', 'KindReplica', 'KindDeployedServicePackage', 'KindDeployedApplication', 'KindService', 'KindNode', 'KindApplication', 'KindDeltaNodesCheck', 'KindUpgradeDomainDeltaNodesCheck', 'KindApplicationType'
	Kind                 Kind                   `json:"Kind,omitempty"`
	PartitionID          *string                `json:"PartitionId,omitempty"`
	UnhealthyEvaluations *[]UnhealthyEvaluation `json:"UnhealthyEvaluations,omitempty"`
}

PartitionHealthEvaluation the evaluation of the partition health

func (PartitionHealthEvaluation) AsApplicationHealthEvaluation

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

AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for PartitionHealthEvaluation.

func (PartitionHealthEvaluation) AsApplicationTypeHealthEvaluation

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

AsApplicationTypeHealthEvaluation is the BasicHealthEvaluation implementation for PartitionHealthEvaluation.

func (PartitionHealthEvaluation) AsApplicationsHealthEvaluation

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

AsApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for PartitionHealthEvaluation.

func (PartitionHealthEvaluation) AsBasicHealthEvaluation

func (phe PartitionHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)

AsBasicHealthEvaluation is the BasicHealthEvaluation implementation for PartitionHealthEvaluation.

func (PartitionHealthEvaluation) AsDeltaNodesCheckHealthEvaluation

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

AsDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for PartitionHealthEvaluation.

func (PartitionHealthEvaluation) AsDeployedApplicationHealthEvaluation

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

AsDeployedApplicationHealthEvaluation is the BasicHealthEvaluation implementation for PartitionHealthEvaluation.

func (PartitionHealthEvaluation) AsDeployedApplicationsHealthEvaluation

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

AsDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for PartitionHealthEvaluation.

func (PartitionHealthEvaluation) AsDeployedServicePackageHealthEvaluation

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

AsDeployedServicePackageHealthEvaluation is the BasicHealthEvaluation implementation for PartitionHealthEvaluation.

func (PartitionHealthEvaluation) AsDeployedServicePackagesHealthEvaluation

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

AsDeployedServicePackagesHealthEvaluation is the BasicHealthEvaluation implementation for PartitionHealthEvaluation.

func (PartitionHealthEvaluation) AsEventHealthEvaluation

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

AsEventHealthEvaluation is the BasicHealthEvaluation implementation for PartitionHealthEvaluation.

func (PartitionHealthEvaluation) AsHealthEvaluation

func (phe PartitionHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)

AsHealthEvaluation is the BasicHealthEvaluation implementation for PartitionHealthEvaluation.

func (PartitionHealthEvaluation) AsNodeHealthEvaluation

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

AsNodeHealthEvaluation is the BasicHealthEvaluation implementation for PartitionHealthEvaluation.

func (PartitionHealthEvaluation) AsNodesHealthEvaluation

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

AsNodesHealthEvaluation is the BasicHealthEvaluation implementation for PartitionHealthEvaluation.

func (PartitionHealthEvaluation) AsPartitionHealthEvaluation

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

AsPartitionHealthEvaluation is the BasicHealthEvaluation implementation for PartitionHealthEvaluation.

func (PartitionHealthEvaluation) AsPartitionsHealthEvaluation

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

AsPartitionsHealthEvaluation is the BasicHealthEvaluation implementation for PartitionHealthEvaluation.

func (PartitionHealthEvaluation) AsReplicaHealthEvaluation

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

AsReplicaHealthEvaluation is the BasicHealthEvaluation implementation for PartitionHealthEvaluation.

func (PartitionHealthEvaluation) AsReplicasHealthEvaluation

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

AsReplicasHealthEvaluation is the BasicHealthEvaluation implementation for PartitionHealthEvaluation.

func (PartitionHealthEvaluation) AsServiceHealthEvaluation

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

AsServiceHealthEvaluation is the BasicHealthEvaluation implementation for PartitionHealthEvaluation.

func (PartitionHealthEvaluation) AsServicesHealthEvaluation

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

AsServicesHealthEvaluation is the BasicHealthEvaluation implementation for PartitionHealthEvaluation.

func (PartitionHealthEvaluation) AsSystemApplicationHealthEvaluation

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

AsSystemApplicationHealthEvaluation is the BasicHealthEvaluation implementation for PartitionHealthEvaluation.

func (PartitionHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation

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

AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for PartitionHealthEvaluation.

func (PartitionHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation

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

AsUpgradeDomainDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for PartitionHealthEvaluation.

func (PartitionHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation

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

AsUpgradeDomainNodesHealthEvaluation is the BasicHealthEvaluation 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 - Possible values include: 'AggregatedHealthState10Invalid', 'AggregatedHealthState10Ok', 'AggregatedHealthState10Warning', 'AggregatedHealthState10Error', 'AggregatedHealthState10Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
}

PartitionHealthReplicaHealthStatesItem the states of the replica health

type PartitionHealthReport

type PartitionHealthReport struct {
	SourceID *string `json:"SourceId,omitempty"`
	Property *string `json:"Property,omitempty"`
	// HealthState - Possible values include: 'HealthState1Invalid', 'HealthState1Ok', 'HealthState1Warning', 'HealthState1Error', 'HealthState1Unknown'
	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 the report of the partition health

type PartitionHealthsClient

type PartitionHealthsClient struct {
	BaseClient
}

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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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 - Possible values include: 'ServicePartitionKindInvalid', 'ServicePartitionKindSingleton', 'ServicePartitionKindInt64Range', 'ServicePartitionKindNamed'
	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 the information of the partition

type PartitionList

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

PartitionList the list of the partition

type PartitionListsClient

type PartitionListsClient struct {
	BaseClient
}

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(ctx context.Context, serviceName string) (result String, err error)

Repair repair partition lists

serviceName is the name of the service

func (PartitionListsClient) RepairPreparer

func (client PartitionListsClient) RepairPreparer(ctx context.Context, 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 the information of the partition load

type PartitionLoadInformationsClient

type PartitionLoadInformationsClient struct {
	BaseClient
}

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(ctx context.Context, 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(ctx context.Context, 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 {
	BaseClient
}

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(ctx context.Context, partitionID string) (result String, err error)

Reset reset partition loads

partitionID is the id of the partition

func (PartitionLoadsClient) ResetPreparer

func (client PartitionLoadsClient) ResetPreparer(ctx context.Context, 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 ...
	PartitionSchemeInvalid PartitionScheme = "Invalid"
	// PartitionSchemeNamed ...
	PartitionSchemeNamed PartitionScheme = "Named"
	// PartitionSchemeSingleton ...
	PartitionSchemeSingleton PartitionScheme = "Singleton"
	// PartitionSchemeUniformInt64 ...
	PartitionSchemeUniformInt64 PartitionScheme = "UniformInt64"
)

type PartitionStatus

type PartitionStatus string

PartitionStatus enumerates the values for partition status.

const (
	// PartitionStatusDeleting ...
	PartitionStatusDeleting PartitionStatus = "Deleting"
	// PartitionStatusInQuorumLoss ...
	PartitionStatusInQuorumLoss PartitionStatus = "InQuorumLoss"
	// PartitionStatusInvalid ...
	PartitionStatusInvalid PartitionStatus = "Invalid"
	// PartitionStatusNotReady ...
	PartitionStatusNotReady PartitionStatus = "NotReady"
	// PartitionStatusReady ...
	PartitionStatusReady PartitionStatus = "Ready"
	// PartitionStatusReconfiguring ...
	PartitionStatusReconfiguring PartitionStatus = "Reconfiguring"
)

type PartitionsClient

type PartitionsClient struct {
	BaseClient
}

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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, serviceName string) (result PartitionList, err error)

List list partitions

serviceName is the name of the service

func (PartitionsClient) ListPreparer

func (client PartitionsClient) ListPreparer(ctx context.Context, 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(ctx context.Context, partitionID string) (result String, err error)

Repair repair partitions

partitionID is the id of the partition

func (PartitionsClient) RepairPreparer

func (client PartitionsClient) RepairPreparer(ctx context.Context, 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 - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
	// Kind - Possible values include: 'KindHealthEvaluation', 'KindEvent', 'KindPartitions', 'KindReplicas', 'KindDeployedServicePackages', 'KindDeployedApplications', 'KindServices', 'KindNodes', 'KindApplications', 'KindUpgradeDomainNodes', 'KindUpgradeDomainDeployedApplications', 'KindSystemApplication', 'KindPartition', 'KindReplica', 'KindDeployedServicePackage', 'KindDeployedApplication', 'KindService', 'KindNode', 'KindApplication', 'KindDeltaNodesCheck', 'KindUpgradeDomainDeltaNodesCheck', 'KindApplicationType'
	Kind                                    Kind                   `json:"Kind,omitempty"`
	UnhealthyEvaluations                    *[]UnhealthyEvaluation `json:"UnhealthyEvaluations,omitempty"`
	TotalCount                              *int32                 `json:"TotalCount,omitempty"`
	MaxPercentUnhealthyPartitionsPerService *int32                 `json:"MaxPercentUnhealthyPartitionsPerService,omitempty"`
}

PartitionsHealthEvaluation the evaluation of the partitions health

func (PartitionsHealthEvaluation) AsApplicationHealthEvaluation

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

AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for PartitionsHealthEvaluation.

func (PartitionsHealthEvaluation) AsApplicationTypeHealthEvaluation

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

AsApplicationTypeHealthEvaluation is the BasicHealthEvaluation implementation for PartitionsHealthEvaluation.

func (PartitionsHealthEvaluation) AsApplicationsHealthEvaluation

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

AsApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for PartitionsHealthEvaluation.

func (PartitionsHealthEvaluation) AsBasicHealthEvaluation

func (phe PartitionsHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)

AsBasicHealthEvaluation is the BasicHealthEvaluation implementation for PartitionsHealthEvaluation.

func (PartitionsHealthEvaluation) AsDeltaNodesCheckHealthEvaluation

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

AsDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for PartitionsHealthEvaluation.

func (PartitionsHealthEvaluation) AsDeployedApplicationHealthEvaluation

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

AsDeployedApplicationHealthEvaluation is the BasicHealthEvaluation implementation for PartitionsHealthEvaluation.

func (PartitionsHealthEvaluation) AsDeployedApplicationsHealthEvaluation

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

AsDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for PartitionsHealthEvaluation.

func (PartitionsHealthEvaluation) AsDeployedServicePackageHealthEvaluation

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

AsDeployedServicePackageHealthEvaluation is the BasicHealthEvaluation implementation for PartitionsHealthEvaluation.

func (PartitionsHealthEvaluation) AsDeployedServicePackagesHealthEvaluation

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

AsDeployedServicePackagesHealthEvaluation is the BasicHealthEvaluation implementation for PartitionsHealthEvaluation.

func (PartitionsHealthEvaluation) AsEventHealthEvaluation

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

AsEventHealthEvaluation is the BasicHealthEvaluation implementation for PartitionsHealthEvaluation.

func (PartitionsHealthEvaluation) AsHealthEvaluation

func (phe PartitionsHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)

AsHealthEvaluation is the BasicHealthEvaluation implementation for PartitionsHealthEvaluation.

func (PartitionsHealthEvaluation) AsNodeHealthEvaluation

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

AsNodeHealthEvaluation is the BasicHealthEvaluation implementation for PartitionsHealthEvaluation.

func (PartitionsHealthEvaluation) AsNodesHealthEvaluation

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

AsNodesHealthEvaluation is the BasicHealthEvaluation implementation for PartitionsHealthEvaluation.

func (PartitionsHealthEvaluation) AsPartitionHealthEvaluation

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

AsPartitionHealthEvaluation is the BasicHealthEvaluation implementation for PartitionsHealthEvaluation.

func (PartitionsHealthEvaluation) AsPartitionsHealthEvaluation

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

AsPartitionsHealthEvaluation is the BasicHealthEvaluation implementation for PartitionsHealthEvaluation.

func (PartitionsHealthEvaluation) AsReplicaHealthEvaluation

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

AsReplicaHealthEvaluation is the BasicHealthEvaluation implementation for PartitionsHealthEvaluation.

func (PartitionsHealthEvaluation) AsReplicasHealthEvaluation

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

AsReplicasHealthEvaluation is the BasicHealthEvaluation implementation for PartitionsHealthEvaluation.

func (PartitionsHealthEvaluation) AsServiceHealthEvaluation

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

AsServiceHealthEvaluation is the BasicHealthEvaluation implementation for PartitionsHealthEvaluation.

func (PartitionsHealthEvaluation) AsServicesHealthEvaluation

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

AsServicesHealthEvaluation is the BasicHealthEvaluation implementation for PartitionsHealthEvaluation.

func (PartitionsHealthEvaluation) AsSystemApplicationHealthEvaluation

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

AsSystemApplicationHealthEvaluation is the BasicHealthEvaluation implementation for PartitionsHealthEvaluation.

func (PartitionsHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation

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

AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for PartitionsHealthEvaluation.

func (PartitionsHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation

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

AsUpgradeDomainDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for PartitionsHealthEvaluation.

func (PartitionsHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation

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

AsUpgradeDomainNodesHealthEvaluation is the BasicHealthEvaluation 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 the type of the register application

type RegisterClusterPackage

type RegisterClusterPackage struct {
	// CodeFilePath - The path of the code file
	CodeFilePath *string `json:"CodeFilePath,omitempty"`
	// ClusterManifestFilePath - The relative path of the cluster manifest file
	ClusterManifestFilePath *string `json:"ClusterManifestFilePath,omitempty"`
}

RegisterClusterPackage the package of the register cluster

type Replica

type Replica struct {
	autorest.Response `json:"-"`
	// ServiceKind - Possible values include: 'ServiceKind5Invalid', 'ServiceKind5Stateless', 'ServiceKind5Stateful'
	ServiceKind ServiceKind `json:"ServiceKind,omitempty"`
	InstanceID  *string     `json:"InstanceId,omitempty"`
	ReplicaID   *string     `json:"ReplicaId,omitempty"`
	// ReplicaRole - Possible values include: 'ReplicaRole1Invalid', 'ReplicaRole1None', 'ReplicaRole1Primary', 'ReplicaRole1IdleSecondary', 'ReplicaRole1ActiveSecondary'
	ReplicaRole ReplicaRole `json:"ReplicaRole,omitempty"`
	// ReplicaStatus - Possible values include: 'ReplicaStatus1Invalid', 'ReplicaStatus1InBuild', 'ReplicaStatus1Standby', 'ReplicaStatus1Ready', 'ReplicaStatus1Down', 'ReplicaStatus1Dropped'
	ReplicaStatus ReplicaStatus `json:"ReplicaStatus,omitempty"`
	// HealthState - Possible values include: 'HealthState6Invalid', 'HealthState6Ok', 'HealthState6Warning', 'HealthState6Error', 'HealthState6Unknown'
	HealthState                  HealthState `json:"HealthState,omitempty"`
	Address                      *string     `json:"Address,omitempty"`
	NodeName                     *string     `json:"NodeName,omitempty"`
	LastInBuildDurationInSeconds *string     `json:"LastInBuildDurationInSeconds,omitempty"`
}

Replica the replica

type ReplicaHealth

type ReplicaHealth struct {
	autorest.Response `json:"-"`
	// ServiceKind - Possible values include: 'ServiceKind6Invalid', 'ServiceKind6Stateless', 'ServiceKind6Stateful'
	ServiceKind  ServiceKind    `json:"ServiceKind,omitempty"`
	PartitionID  *string        `json:"PartitionId,omitempty"`
	ReplicaID    *string        `json:"ReplicaId,omitempty"`
	HealthEvents *[]HealthEvent `json:"HealthEvents,omitempty"`
	// AggregatedHealthState - Possible values include: 'AggregatedHealthState12Invalid', 'AggregatedHealthState12Ok', 'AggregatedHealthState12Warning', 'AggregatedHealthState12Error', 'AggregatedHealthState12Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
}

ReplicaHealth the health of the replica

type ReplicaHealthEvaluation

type ReplicaHealthEvaluation struct {
	Description *string `json:"Description,omitempty"`
	// AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
	// Kind - Possible values include: 'KindHealthEvaluation', 'KindEvent', 'KindPartitions', 'KindReplicas', 'KindDeployedServicePackages', 'KindDeployedApplications', 'KindServices', 'KindNodes', 'KindApplications', 'KindUpgradeDomainNodes', 'KindUpgradeDomainDeployedApplications', 'KindSystemApplication', 'KindPartition', 'KindReplica', 'KindDeployedServicePackage', 'KindDeployedApplication', 'KindService', 'KindNode', 'KindApplication', 'KindDeltaNodesCheck', 'KindUpgradeDomainDeltaNodesCheck', 'KindApplicationType'
	Kind                 Kind                   `json:"Kind,omitempty"`
	PartitionID          *string                `json:"PartitionId,omitempty"`
	ReplicaOrInstanceID  *string                `json:"ReplicaOrInstanceId,omitempty"`
	UnhealthyEvaluations *[]UnhealthyEvaluation `json:"UnhealthyEvaluations,omitempty"`
}

ReplicaHealthEvaluation the evaluation of the replica health

func (ReplicaHealthEvaluation) AsApplicationHealthEvaluation

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

AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ReplicaHealthEvaluation.

func (ReplicaHealthEvaluation) AsApplicationTypeHealthEvaluation

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

AsApplicationTypeHealthEvaluation is the BasicHealthEvaluation implementation for ReplicaHealthEvaluation.

func (ReplicaHealthEvaluation) AsApplicationsHealthEvaluation

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

AsApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for ReplicaHealthEvaluation.

func (ReplicaHealthEvaluation) AsBasicHealthEvaluation

func (rhe ReplicaHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)

AsBasicHealthEvaluation is the BasicHealthEvaluation implementation for ReplicaHealthEvaluation.

func (ReplicaHealthEvaluation) AsDeltaNodesCheckHealthEvaluation

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

AsDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for ReplicaHealthEvaluation.

func (ReplicaHealthEvaluation) AsDeployedApplicationHealthEvaluation

func (rhe ReplicaHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)

AsDeployedApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ReplicaHealthEvaluation.

func (ReplicaHealthEvaluation) AsDeployedApplicationsHealthEvaluation

func (rhe ReplicaHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)

AsDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for ReplicaHealthEvaluation.

func (ReplicaHealthEvaluation) AsDeployedServicePackageHealthEvaluation

func (rhe ReplicaHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)

AsDeployedServicePackageHealthEvaluation is the BasicHealthEvaluation implementation for ReplicaHealthEvaluation.

func (ReplicaHealthEvaluation) AsDeployedServicePackagesHealthEvaluation

func (rhe ReplicaHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)

AsDeployedServicePackagesHealthEvaluation is the BasicHealthEvaluation implementation for ReplicaHealthEvaluation.

func (ReplicaHealthEvaluation) AsEventHealthEvaluation

func (rhe ReplicaHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)

AsEventHealthEvaluation is the BasicHealthEvaluation implementation for ReplicaHealthEvaluation.

func (ReplicaHealthEvaluation) AsHealthEvaluation

func (rhe ReplicaHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)

AsHealthEvaluation is the BasicHealthEvaluation implementation for ReplicaHealthEvaluation.

func (ReplicaHealthEvaluation) AsNodeHealthEvaluation

func (rhe ReplicaHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)

AsNodeHealthEvaluation is the BasicHealthEvaluation implementation for ReplicaHealthEvaluation.

func (ReplicaHealthEvaluation) AsNodesHealthEvaluation

func (rhe ReplicaHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)

AsNodesHealthEvaluation is the BasicHealthEvaluation implementation for ReplicaHealthEvaluation.

func (ReplicaHealthEvaluation) AsPartitionHealthEvaluation

func (rhe ReplicaHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)

AsPartitionHealthEvaluation is the BasicHealthEvaluation implementation for ReplicaHealthEvaluation.

func (ReplicaHealthEvaluation) AsPartitionsHealthEvaluation

func (rhe ReplicaHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)

AsPartitionsHealthEvaluation is the BasicHealthEvaluation implementation for ReplicaHealthEvaluation.

func (ReplicaHealthEvaluation) AsReplicaHealthEvaluation

func (rhe ReplicaHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)

AsReplicaHealthEvaluation is the BasicHealthEvaluation implementation for ReplicaHealthEvaluation.

func (ReplicaHealthEvaluation) AsReplicasHealthEvaluation

func (rhe ReplicaHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)

AsReplicasHealthEvaluation is the BasicHealthEvaluation implementation for ReplicaHealthEvaluation.

func (ReplicaHealthEvaluation) AsServiceHealthEvaluation

func (rhe ReplicaHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)

AsServiceHealthEvaluation is the BasicHealthEvaluation implementation for ReplicaHealthEvaluation.

func (ReplicaHealthEvaluation) AsServicesHealthEvaluation

func (rhe ReplicaHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)

AsServicesHealthEvaluation is the BasicHealthEvaluation implementation for ReplicaHealthEvaluation.

func (ReplicaHealthEvaluation) AsSystemApplicationHealthEvaluation

func (rhe ReplicaHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)

AsSystemApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ReplicaHealthEvaluation.

func (ReplicaHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation

func (rhe ReplicaHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)

AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for ReplicaHealthEvaluation.

func (ReplicaHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation

func (rhe ReplicaHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation() (*UpgradeDomainDeployedApplicationsHealthEvaluation, bool)

AsUpgradeDomainDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for ReplicaHealthEvaluation.

func (ReplicaHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation

func (rhe ReplicaHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)

AsUpgradeDomainNodesHealthEvaluation is the BasicHealthEvaluation 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 - Possible values include: 'HealthState1Invalid', 'HealthState1Ok', 'HealthState1Warning', 'HealthState1Error', 'HealthState1Unknown'
	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 the report of the replica health

type ReplicaHealthsClient

type ReplicaHealthsClient struct {
	BaseClient
}

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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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 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 the information of the replica load

type ReplicaLoadInformationsClient

type ReplicaLoadInformationsClient struct {
	BaseClient
}

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(ctx context.Context, 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(ctx context.Context, 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 ...
	ReplicaRoleActiveSecondary ReplicaRole = "ActiveSecondary"
	// ReplicaRoleIdleSecondary ...
	ReplicaRoleIdleSecondary ReplicaRole = "IdleSecondary"
	// ReplicaRoleInvalid ...
	ReplicaRoleInvalid ReplicaRole = "Invalid"
	// ReplicaRoleNone ...
	ReplicaRoleNone ReplicaRole = "None"
	// ReplicaRolePrimary ...
	ReplicaRolePrimary ReplicaRole = "Primary"
)

type ReplicaRole1

type ReplicaRole1 string

ReplicaRole1 enumerates the values for replica role 1.

const (
	// ReplicaRole1ActiveSecondary ...
	ReplicaRole1ActiveSecondary ReplicaRole1 = "ActiveSecondary"
	// ReplicaRole1IdleSecondary ...
	ReplicaRole1IdleSecondary ReplicaRole1 = "IdleSecondary"
	// ReplicaRole1Invalid ...
	ReplicaRole1Invalid ReplicaRole1 = "Invalid"
	// ReplicaRole1None ...
	ReplicaRole1None ReplicaRole1 = "None"
	// ReplicaRole1Primary ...
	ReplicaRole1Primary ReplicaRole1 = "Primary"
)

type ReplicaStatus

type ReplicaStatus string

ReplicaStatus enumerates the values for replica status.

const (
	// ReplicaStatusDown ...
	ReplicaStatusDown ReplicaStatus = "Down"
	// ReplicaStatusDropped ...
	ReplicaStatusDropped ReplicaStatus = "Dropped"
	// ReplicaStatusInBuild ...
	ReplicaStatusInBuild ReplicaStatus = "InBuild"
	// ReplicaStatusInvalid ...
	ReplicaStatusInvalid ReplicaStatus = "Invalid"
	// ReplicaStatusReady ...
	ReplicaStatusReady ReplicaStatus = "Ready"
	// ReplicaStatusStandby ...
	ReplicaStatusStandby ReplicaStatus = "Standby"
)

type ReplicaStatus1

type ReplicaStatus1 string

ReplicaStatus1 enumerates the values for replica status 1.

const (
	// ReplicaStatus1Down ...
	ReplicaStatus1Down ReplicaStatus1 = "Down"
	// ReplicaStatus1Dropped ...
	ReplicaStatus1Dropped ReplicaStatus1 = "Dropped"
	// ReplicaStatus1InBuild ...
	ReplicaStatus1InBuild ReplicaStatus1 = "InBuild"
	// ReplicaStatus1Invalid ...
	ReplicaStatus1Invalid ReplicaStatus1 = "Invalid"
	// ReplicaStatus1Ready ...
	ReplicaStatus1Ready ReplicaStatus1 = "Ready"
	// ReplicaStatus1Standby ...
	ReplicaStatus1Standby ReplicaStatus1 = "Standby"
)

type ReplicasClient

type ReplicasClient struct {
	BaseClient
}

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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, partitionID string) (result ReplicaList, err error)

List list replicas

partitionID is the id of the partition

func (ReplicasClient) ListPreparer

func (client ReplicasClient) ListPreparer(ctx context.Context, 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 - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
	// Kind - Possible values include: 'KindHealthEvaluation', 'KindEvent', 'KindPartitions', 'KindReplicas', 'KindDeployedServicePackages', 'KindDeployedApplications', 'KindServices', 'KindNodes', 'KindApplications', 'KindUpgradeDomainNodes', 'KindUpgradeDomainDeployedApplications', 'KindSystemApplication', 'KindPartition', 'KindReplica', 'KindDeployedServicePackage', 'KindDeployedApplication', 'KindService', 'KindNode', 'KindApplication', 'KindDeltaNodesCheck', 'KindUpgradeDomainDeltaNodesCheck', 'KindApplicationType'
	Kind                                    Kind                   `json:"Kind,omitempty"`
	UnhealthyEvaluations                    *[]UnhealthyEvaluation `json:"UnhealthyEvaluations,omitempty"`
	TotalCount                              *int32                 `json:"TotalCount,omitempty"`
	MaxPercentUnhealthyPartitionsPerService *int32                 `json:"MaxPercentUnhealthyPartitionsPerService,omitempty"`
}

ReplicasHealthEvaluation the evaluation of the replicas health

func (ReplicasHealthEvaluation) AsApplicationHealthEvaluation

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

AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ReplicasHealthEvaluation.

func (ReplicasHealthEvaluation) AsApplicationTypeHealthEvaluation

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

AsApplicationTypeHealthEvaluation is the BasicHealthEvaluation implementation for ReplicasHealthEvaluation.

func (ReplicasHealthEvaluation) AsApplicationsHealthEvaluation

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

AsApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for ReplicasHealthEvaluation.

func (ReplicasHealthEvaluation) AsBasicHealthEvaluation

func (rhe ReplicasHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)

AsBasicHealthEvaluation is the BasicHealthEvaluation implementation for ReplicasHealthEvaluation.

func (ReplicasHealthEvaluation) AsDeltaNodesCheckHealthEvaluation

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

AsDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for ReplicasHealthEvaluation.

func (ReplicasHealthEvaluation) AsDeployedApplicationHealthEvaluation

func (rhe ReplicasHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)

AsDeployedApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ReplicasHealthEvaluation.

func (ReplicasHealthEvaluation) AsDeployedApplicationsHealthEvaluation

func (rhe ReplicasHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)

AsDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for ReplicasHealthEvaluation.

func (ReplicasHealthEvaluation) AsDeployedServicePackageHealthEvaluation

func (rhe ReplicasHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)

AsDeployedServicePackageHealthEvaluation is the BasicHealthEvaluation implementation for ReplicasHealthEvaluation.

func (ReplicasHealthEvaluation) AsDeployedServicePackagesHealthEvaluation

func (rhe ReplicasHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)

AsDeployedServicePackagesHealthEvaluation is the BasicHealthEvaluation implementation for ReplicasHealthEvaluation.

func (ReplicasHealthEvaluation) AsEventHealthEvaluation

func (rhe ReplicasHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)

AsEventHealthEvaluation is the BasicHealthEvaluation implementation for ReplicasHealthEvaluation.

func (ReplicasHealthEvaluation) AsHealthEvaluation

func (rhe ReplicasHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)

AsHealthEvaluation is the BasicHealthEvaluation implementation for ReplicasHealthEvaluation.

func (ReplicasHealthEvaluation) AsNodeHealthEvaluation

func (rhe ReplicasHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)

AsNodeHealthEvaluation is the BasicHealthEvaluation implementation for ReplicasHealthEvaluation.

func (ReplicasHealthEvaluation) AsNodesHealthEvaluation

func (rhe ReplicasHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)

AsNodesHealthEvaluation is the BasicHealthEvaluation implementation for ReplicasHealthEvaluation.

func (ReplicasHealthEvaluation) AsPartitionHealthEvaluation

func (rhe ReplicasHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)

AsPartitionHealthEvaluation is the BasicHealthEvaluation implementation for ReplicasHealthEvaluation.

func (ReplicasHealthEvaluation) AsPartitionsHealthEvaluation

func (rhe ReplicasHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)

AsPartitionsHealthEvaluation is the BasicHealthEvaluation implementation for ReplicasHealthEvaluation.

func (ReplicasHealthEvaluation) AsReplicaHealthEvaluation

func (rhe ReplicasHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)

AsReplicaHealthEvaluation is the BasicHealthEvaluation implementation for ReplicasHealthEvaluation.

func (ReplicasHealthEvaluation) AsReplicasHealthEvaluation

func (rhe ReplicasHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)

AsReplicasHealthEvaluation is the BasicHealthEvaluation implementation for ReplicasHealthEvaluation.

func (ReplicasHealthEvaluation) AsServiceHealthEvaluation

func (rhe ReplicasHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)

AsServiceHealthEvaluation is the BasicHealthEvaluation implementation for ReplicasHealthEvaluation.

func (ReplicasHealthEvaluation) AsServicesHealthEvaluation

func (rhe ReplicasHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)

AsServicesHealthEvaluation is the BasicHealthEvaluation implementation for ReplicasHealthEvaluation.

func (ReplicasHealthEvaluation) AsSystemApplicationHealthEvaluation

func (rhe ReplicasHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)

AsSystemApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ReplicasHealthEvaluation.

func (ReplicasHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation

func (rhe ReplicasHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)

AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for ReplicasHealthEvaluation.

func (ReplicasHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation

func (rhe ReplicasHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation() (*UpgradeDomainDeployedApplicationsHealthEvaluation, bool)

AsUpgradeDomainDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for ReplicasHealthEvaluation.

func (ReplicasHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation

func (rhe ReplicasHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)

AsUpgradeDomainNodesHealthEvaluation is the BasicHealthEvaluation 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 the partition of the resolved service

type ResolvedServicePartitionEndpointsItem

type ResolvedServicePartitionEndpointsItem struct {
	Kind    *int32  `json:"Kind,omitempty"`
	Address *string `json:"Address,omitempty"`
}

ResolvedServicePartitionEndpointsItem the endpoints

type ResumeApplicationUpgrade

type ResumeApplicationUpgrade struct {
	UpgradeDomainName *string `json:"UpgradeDomainName,omitempty"`
}

ResumeApplicationUpgrade the upgrade of the resume application

type ResumeClusterUpgrade

type ResumeClusterUpgrade struct {
	UpgradeDomain *string `json:"UpgradeDomain,omitempty"`
}

ResumeClusterUpgrade the upgrade of the resume cluster

type RollingUpgradeMode

type RollingUpgradeMode string

RollingUpgradeMode enumerates the values for rolling upgrade mode.

const (
	// RollingUpgradeModeInvalid ...
	RollingUpgradeModeInvalid RollingUpgradeMode = "Invalid"
	// RollingUpgradeModeMonitored ...
	RollingUpgradeModeMonitored RollingUpgradeMode = "Monitored"
	// RollingUpgradeModeUnmonitoredAuto ...
	RollingUpgradeModeUnmonitoredAuto RollingUpgradeMode = "UnmonitoredAuto"
	// RollingUpgradeModeUnmonitoredManual ...
	RollingUpgradeModeUnmonitoredManual RollingUpgradeMode = "UnmonitoredManual"
)

type RollingUpgradeMode1

type RollingUpgradeMode1 string

RollingUpgradeMode1 enumerates the values for rolling upgrade mode 1.

const (
	// RollingUpgradeMode1Invalid ...
	RollingUpgradeMode1Invalid RollingUpgradeMode1 = "Invalid"
	// RollingUpgradeMode1Monitored ...
	RollingUpgradeMode1Monitored RollingUpgradeMode1 = "Monitored"
	// RollingUpgradeMode1UnmonitoredAuto ...
	RollingUpgradeMode1UnmonitoredAuto RollingUpgradeMode1 = "UnmonitoredAuto"
	// RollingUpgradeMode1UnmonitoredManual ...
	RollingUpgradeMode1UnmonitoredManual RollingUpgradeMode1 = "UnmonitoredManual"
)

type RollingUpgradeMode2

type RollingUpgradeMode2 string

RollingUpgradeMode2 enumerates the values for rolling upgrade mode 2.

const (
	// RollingUpgradeMode2Invalid ...
	RollingUpgradeMode2Invalid RollingUpgradeMode2 = "Invalid"
	// RollingUpgradeMode2Monitored ...
	RollingUpgradeMode2Monitored RollingUpgradeMode2 = "Monitored"
	// RollingUpgradeMode2UnmonitoredAuto ...
	RollingUpgradeMode2UnmonitoredAuto RollingUpgradeMode2 = "UnmonitoredAuto"
	// RollingUpgradeMode2UnmonitoredManual ...
	RollingUpgradeMode2UnmonitoredManual RollingUpgradeMode2 = "UnmonitoredManual"
)

type RollingUpgradeMode3

type RollingUpgradeMode3 string

RollingUpgradeMode3 enumerates the values for rolling upgrade mode 3.

const (
	// RollingUpgradeMode3Invalid ...
	RollingUpgradeMode3Invalid RollingUpgradeMode3 = "Invalid"
	// RollingUpgradeMode3Monitored ...
	RollingUpgradeMode3Monitored RollingUpgradeMode3 = "Monitored"
	// RollingUpgradeMode3UnmonitoredAuto ...
	RollingUpgradeMode3UnmonitoredAuto RollingUpgradeMode3 = "UnmonitoredAuto"
	// RollingUpgradeMode3UnmonitoredManual ...
	RollingUpgradeMode3UnmonitoredManual RollingUpgradeMode3 = "UnmonitoredManual"
)

type RollingUpgradeMode4

type RollingUpgradeMode4 string

RollingUpgradeMode4 enumerates the values for rolling upgrade mode 4.

const (
	// RollingUpgradeMode4Invalid ...
	RollingUpgradeMode4Invalid RollingUpgradeMode4 = "Invalid"
	// RollingUpgradeMode4Monitored ...
	RollingUpgradeMode4Monitored RollingUpgradeMode4 = "Monitored"
	// RollingUpgradeMode4UnmonitoredAuto ...
	RollingUpgradeMode4UnmonitoredAuto RollingUpgradeMode4 = "UnmonitoredAuto"
	// RollingUpgradeMode4UnmonitoredManual ...
	RollingUpgradeMode4UnmonitoredManual RollingUpgradeMode4 = "UnmonitoredManual"
)

type RollingUpgradeMode5

type RollingUpgradeMode5 string

RollingUpgradeMode5 enumerates the values for rolling upgrade mode 5.

const (
	// RollingUpgradeMode5Invalid ...
	RollingUpgradeMode5Invalid RollingUpgradeMode5 = "Invalid"
	// RollingUpgradeMode5Monitored ...
	RollingUpgradeMode5Monitored RollingUpgradeMode5 = "Monitored"
	// RollingUpgradeMode5UnmonitoredAuto ...
	RollingUpgradeMode5UnmonitoredAuto RollingUpgradeMode5 = "UnmonitoredAuto"
	// RollingUpgradeMode5UnmonitoredManual ...
	RollingUpgradeMode5UnmonitoredManual RollingUpgradeMode5 = "UnmonitoredManual"
)

type Service

type Service struct {
	autorest.Response `json:"-"`
	ID                *string `json:"Id,omitempty"`
	// ServiceKind - Possible values include: 'ServiceKind2Invalid', 'ServiceKind2Stateless', 'ServiceKind2Stateful'
	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 - Possible values include: 'HealthState4Invalid', 'HealthState4Ok', 'HealthState4Warning', 'HealthState4Error', 'HealthState4Unknown'
	HealthState HealthState `json:"HealthState,omitempty"`
	// ServiceStatus - Possible values include: 'ServiceStatusInvalid', 'ServiceStatusActive', 'ServiceStatusUpgrading', 'ServiceStatusDeleting', 'ServiceStatusCreating', 'ServiceStatusFaile'
	ServiceStatus  ServiceStatus `json:"ServiceStatus,omitempty"`
	IsServiceGroup *bool         `json:"IsServiceGroup,omitempty"`
}

Service the service

type ServiceCorrelationDescription

type ServiceCorrelationDescription struct {
	ServiceName *string `json:"ServiceName,omitempty"`
	// ServiceCorrelationScheme - Possible values include: 'ServiceCorrelationSchemeInvalid', 'ServiceCorrelationSchemeAffinity', 'ServiceCorrelationSchemeAlignedAffinity', 'ServiceCorrelationSchemeNonAlignedAffinity'
	ServiceCorrelationScheme ServiceCorrelationScheme `json:"ServiceCorrelationScheme,omitempty"`
}

ServiceCorrelationDescription the description of the service correlation

type ServiceCorrelationScheme

type ServiceCorrelationScheme string

ServiceCorrelationScheme enumerates the values for service correlation scheme.

const (
	// ServiceCorrelationSchemeAffinity ...
	ServiceCorrelationSchemeAffinity ServiceCorrelationScheme = "Affinity"
	// ServiceCorrelationSchemeAlignedAffinity ...
	ServiceCorrelationSchemeAlignedAffinity ServiceCorrelationScheme = "AlignedAffinity"
	// ServiceCorrelationSchemeInvalid ...
	ServiceCorrelationSchemeInvalid ServiceCorrelationScheme = "Invalid"
	// ServiceCorrelationSchemeNonAlignedAffinity ...
	ServiceCorrelationSchemeNonAlignedAffinity ServiceCorrelationScheme = "NonAlignedAffinity"
)

type ServiceDescription

type ServiceDescription struct {
	autorest.Response        `json:"-"`
	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 - Possible values include: 'ServiceKindBasicServiceDescriptionServiceKindServiceDescription', 'ServiceKindBasicServiceDescriptionServiceKindStateless', 'ServiceKindBasicServiceDescriptionServiceKindStateful'
	ServiceKind ServiceKindBasicServiceDescription `json:"ServiceKind,omitempty"`
}

ServiceDescription the description of the service

func (ServiceDescription) AsBasicServiceDescription

func (sd ServiceDescription) AsBasicServiceDescription() (BasicServiceDescription, bool)

AsBasicServiceDescription is the BasicServiceDescription implementation for ServiceDescription.

func (ServiceDescription) AsServiceDescription

func (sd ServiceDescription) AsServiceDescription() (*ServiceDescription, bool)

AsServiceDescription is the BasicServiceDescription implementation for ServiceDescription.

func (ServiceDescription) AsStatefulServiceDescription

func (sd ServiceDescription) AsStatefulServiceDescription() (*StatefulServiceDescription, bool)

AsStatefulServiceDescription is the BasicServiceDescription implementation for ServiceDescription.

func (ServiceDescription) AsStatelessServiceDescription

func (sd ServiceDescription) AsStatelessServiceDescription() (*StatelessServiceDescription, bool)

AsStatelessServiceDescription is the BasicServiceDescription implementation for ServiceDescription.

func (ServiceDescription) MarshalJSON

func (sd ServiceDescription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServiceDescription.

type ServiceDescriptionModel

type ServiceDescriptionModel struct {
	autorest.Response `json:"-"`
	Value             BasicServiceDescription `json:"value,omitempty"`
}

ServiceDescriptionModel ...

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 the template of the service description

type ServiceDescriptionsClient

type ServiceDescriptionsClient struct {
	BaseClient
}

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(ctx context.Context, serviceName string) (result ServiceDescriptionModel, err error)

Get get service descriptions

serviceName is the name of the service

func (ServiceDescriptionsClient) GetPreparer

func (client ServiceDescriptionsClient) GetPreparer(ctx context.Context, 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 {
	BaseClient
}

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(ctx context.Context, 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(ctx context.Context, 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 struct {
	autorest.Response             `json:"-"`
	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 - Possible values include: 'ServiceKindBasicServiceGroupDescriptionServiceKindServiceGroupDescription', 'ServiceKindBasicServiceGroupDescriptionServiceKindStateless', 'ServiceKindBasicServiceGroupDescriptionServiceKindStateful'
	ServiceKind ServiceKindBasicServiceGroupDescription `json:"ServiceKind,omitempty"`
}

ServiceGroupDescription the description of the service group

func (ServiceGroupDescription) AsBasicServiceGroupDescription

func (sgd ServiceGroupDescription) AsBasicServiceGroupDescription() (BasicServiceGroupDescription, bool)

AsBasicServiceGroupDescription is the BasicServiceGroupDescription implementation for ServiceGroupDescription.

func (ServiceGroupDescription) AsServiceGroupDescription

func (sgd ServiceGroupDescription) AsServiceGroupDescription() (*ServiceGroupDescription, bool)

AsServiceGroupDescription is the BasicServiceGroupDescription implementation for ServiceGroupDescription.

func (ServiceGroupDescription) AsStatefulServiceGroupDescription

func (sgd ServiceGroupDescription) AsStatefulServiceGroupDescription() (*StatefulServiceGroupDescription, bool)

AsStatefulServiceGroupDescription is the BasicServiceGroupDescription implementation for ServiceGroupDescription.

func (ServiceGroupDescription) AsStatelessServiceGroupDescription

func (sgd ServiceGroupDescription) AsStatelessServiceGroupDescription() (*StatelessServiceGroupDescription, bool)

AsStatelessServiceGroupDescription is the BasicServiceGroupDescription implementation for ServiceGroupDescription.

func (ServiceGroupDescription) MarshalJSON

func (sgd ServiceGroupDescription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ServiceGroupDescription.

type ServiceGroupDescriptionModel

type ServiceGroupDescriptionModel struct {
	autorest.Response `json:"-"`
	Value             BasicServiceGroupDescription `json:"value,omitempty"`
}

ServiceGroupDescriptionModel ...

func (*ServiceGroupDescriptionModel) UnmarshalJSON

func (sgdm *ServiceGroupDescriptionModel) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for ServiceGroupDescriptionModel struct.

type ServiceGroupDescriptionsClient

type ServiceGroupDescriptionsClient struct {
	BaseClient
}

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(ctx context.Context, 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(ctx context.Context, 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 {
	BaseClient
}

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(ctx context.Context, 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(ctx context.Context, 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 the member of the service group

type ServiceGroupMemberDescription

type ServiceGroupMemberDescription struct {
	ServiceName     *string `json:"ServiceName,omitempty"`
	ServiceTypeName *string `json:"ServiceTypeName,omitempty"`
	// ServiceKind - Possible values include: 'ServiceKind3Invalid', 'ServiceKind3Stateless', 'ServiceKind3Stateful'
	ServiceKind ServiceKind `json:"ServiceKind,omitempty"`
}

ServiceGroupMemberDescription the description of the service group member

type ServiceGroupMembersClient

type ServiceGroupMembersClient struct {
	BaseClient
}

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(ctx context.Context, 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(ctx context.Context, 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 {
	BaseClient
}

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(ctx context.Context, applicationName string, createServiceGroupDescription BasicCreateServiceGroupDescription) (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(ctx context.Context, applicationName string, createServiceGroupDescription BasicCreateServiceGroupDescription) (*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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, applicationName string, serviceName string, updateServiceGroupDescription BasicUpdateServiceGroupDescription) (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(ctx context.Context, applicationName string, serviceName string, updateServiceGroupDescription BasicUpdateServiceGroupDescription) (*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 - Possible values include: 'AggregatedHealthState9Invalid', 'AggregatedHealthState9Ok', 'AggregatedHealthState9Warning', 'AggregatedHealthState9Error', 'AggregatedHealthState9Unknown'
	AggregatedHealthState AggregatedHealthState                     `json:"AggregatedHealthState,omitempty"`
	Name                  *string                                   `json:"Name,omitempty"`
	PartitionHealthStates *[]ServiceHealthPartitionHealthStatesItem `json:"PartitionHealthStates,omitempty"`
}

ServiceHealth the health of the service

type ServiceHealthEvaluation

type ServiceHealthEvaluation struct {
	Description *string `json:"Description,omitempty"`
	// AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
	// Kind - Possible values include: 'KindHealthEvaluation', 'KindEvent', 'KindPartitions', 'KindReplicas', 'KindDeployedServicePackages', 'KindDeployedApplications', 'KindServices', 'KindNodes', 'KindApplications', 'KindUpgradeDomainNodes', 'KindUpgradeDomainDeployedApplications', 'KindSystemApplication', 'KindPartition', 'KindReplica', 'KindDeployedServicePackage', 'KindDeployedApplication', 'KindService', 'KindNode', 'KindApplication', 'KindDeltaNodesCheck', 'KindUpgradeDomainDeltaNodesCheck', 'KindApplicationType'
	Kind                 Kind                   `json:"Kind,omitempty"`
	ServiceName          *string                `json:"ServiceName,omitempty"`
	UnhealthyEvaluations *[]UnhealthyEvaluation `json:"UnhealthyEvaluations,omitempty"`
}

ServiceHealthEvaluation the evaluation of the service health

func (ServiceHealthEvaluation) AsApplicationHealthEvaluation

func (she ServiceHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)

AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ServiceHealthEvaluation.

func (ServiceHealthEvaluation) AsApplicationTypeHealthEvaluation

func (she ServiceHealthEvaluation) AsApplicationTypeHealthEvaluation() (*ApplicationTypeHealthEvaluation, bool)

AsApplicationTypeHealthEvaluation is the BasicHealthEvaluation implementation for ServiceHealthEvaluation.

func (ServiceHealthEvaluation) AsApplicationsHealthEvaluation

func (she ServiceHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)

AsApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for ServiceHealthEvaluation.

func (ServiceHealthEvaluation) AsBasicHealthEvaluation

func (she ServiceHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)

AsBasicHealthEvaluation is the BasicHealthEvaluation implementation for ServiceHealthEvaluation.

func (ServiceHealthEvaluation) AsDeltaNodesCheckHealthEvaluation

func (she ServiceHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)

AsDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for ServiceHealthEvaluation.

func (ServiceHealthEvaluation) AsDeployedApplicationHealthEvaluation

func (she ServiceHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)

AsDeployedApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ServiceHealthEvaluation.

func (ServiceHealthEvaluation) AsDeployedApplicationsHealthEvaluation

func (she ServiceHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)

AsDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for ServiceHealthEvaluation.

func (ServiceHealthEvaluation) AsDeployedServicePackageHealthEvaluation

func (she ServiceHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)

AsDeployedServicePackageHealthEvaluation is the BasicHealthEvaluation implementation for ServiceHealthEvaluation.

func (ServiceHealthEvaluation) AsDeployedServicePackagesHealthEvaluation

func (she ServiceHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)

AsDeployedServicePackagesHealthEvaluation is the BasicHealthEvaluation implementation for ServiceHealthEvaluation.

func (ServiceHealthEvaluation) AsEventHealthEvaluation

func (she ServiceHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)

AsEventHealthEvaluation is the BasicHealthEvaluation implementation for ServiceHealthEvaluation.

func (ServiceHealthEvaluation) AsHealthEvaluation

func (she ServiceHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)

AsHealthEvaluation is the BasicHealthEvaluation implementation for ServiceHealthEvaluation.

func (ServiceHealthEvaluation) AsNodeHealthEvaluation

func (she ServiceHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)

AsNodeHealthEvaluation is the BasicHealthEvaluation implementation for ServiceHealthEvaluation.

func (ServiceHealthEvaluation) AsNodesHealthEvaluation

func (she ServiceHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)

AsNodesHealthEvaluation is the BasicHealthEvaluation implementation for ServiceHealthEvaluation.

func (ServiceHealthEvaluation) AsPartitionHealthEvaluation

func (she ServiceHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)

AsPartitionHealthEvaluation is the BasicHealthEvaluation implementation for ServiceHealthEvaluation.

func (ServiceHealthEvaluation) AsPartitionsHealthEvaluation

func (she ServiceHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)

AsPartitionsHealthEvaluation is the BasicHealthEvaluation implementation for ServiceHealthEvaluation.

func (ServiceHealthEvaluation) AsReplicaHealthEvaluation

func (she ServiceHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)

AsReplicaHealthEvaluation is the BasicHealthEvaluation implementation for ServiceHealthEvaluation.

func (ServiceHealthEvaluation) AsReplicasHealthEvaluation

func (she ServiceHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)

AsReplicasHealthEvaluation is the BasicHealthEvaluation implementation for ServiceHealthEvaluation.

func (ServiceHealthEvaluation) AsServiceHealthEvaluation

func (she ServiceHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)

AsServiceHealthEvaluation is the BasicHealthEvaluation implementation for ServiceHealthEvaluation.

func (ServiceHealthEvaluation) AsServicesHealthEvaluation

func (she ServiceHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)

AsServicesHealthEvaluation is the BasicHealthEvaluation implementation for ServiceHealthEvaluation.

func (ServiceHealthEvaluation) AsSystemApplicationHealthEvaluation

func (she ServiceHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)

AsSystemApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ServiceHealthEvaluation.

func (ServiceHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation

func (she ServiceHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)

AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for ServiceHealthEvaluation.

func (ServiceHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation

func (she ServiceHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation() (*UpgradeDomainDeployedApplicationsHealthEvaluation, bool)

AsUpgradeDomainDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for ServiceHealthEvaluation.

func (ServiceHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation

func (she ServiceHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)

AsUpgradeDomainNodesHealthEvaluation is the BasicHealthEvaluation 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 - Possible values include: 'AggregatedHealthState8Invalid', 'AggregatedHealthState8Ok', 'AggregatedHealthState8Warning', 'AggregatedHealthState8Error', 'AggregatedHealthState8Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
}

ServiceHealthPartitionHealthStatesItem the states of the partition health

type ServiceHealthReport

type ServiceHealthReport struct {
	SourceID *string `json:"SourceId,omitempty"`
	Property *string `json:"Property,omitempty"`
	// HealthState - Possible values include: 'HealthState1Invalid', 'HealthState1Ok', 'HealthState1Warning', 'HealthState1Error', 'HealthState1Unknown'
	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 the report of the service health

type ServiceHealthsClient

type ServiceHealthsClient struct {
	BaseClient
}

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(ctx context.Context, serviceName string) (result ServiceHealth, err error)

Get get service healths

serviceName is the name of the service

func (ServiceHealthsClient) GetPreparer

func (client ServiceHealthsClient) GetPreparer(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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 ...
	ServiceKindInvalid ServiceKind = "Invalid"
	// ServiceKindStateful ...
	ServiceKindStateful ServiceKind = "Stateful"
	// ServiceKindStateless ...
	ServiceKindStateless ServiceKind = "Stateless"
)

type ServiceKind1

type ServiceKind1 string

ServiceKind1 enumerates the values for service kind 1.

const (
	// ServiceKind1Invalid ...
	ServiceKind1Invalid ServiceKind1 = "Invalid"
	// ServiceKind1Stateful ...
	ServiceKind1Stateful ServiceKind1 = "Stateful"
	// ServiceKind1Stateless ...
	ServiceKind1Stateless ServiceKind1 = "Stateless"
)

type ServiceKind2

type ServiceKind2 string

ServiceKind2 enumerates the values for service kind 2.

const (
	// ServiceKind2Invalid ...
	ServiceKind2Invalid ServiceKind2 = "Invalid"
	// ServiceKind2Stateful ...
	ServiceKind2Stateful ServiceKind2 = "Stateful"
	// ServiceKind2Stateless ...
	ServiceKind2Stateless ServiceKind2 = "Stateless"
)

type ServiceKind3

type ServiceKind3 string

ServiceKind3 enumerates the values for service kind 3.

const (
	// ServiceKind3Invalid ...
	ServiceKind3Invalid ServiceKind3 = "Invalid"
	// ServiceKind3Stateful ...
	ServiceKind3Stateful ServiceKind3 = "Stateful"
	// ServiceKind3Stateless ...
	ServiceKind3Stateless ServiceKind3 = "Stateless"
)

type ServiceKind4

type ServiceKind4 string

ServiceKind4 enumerates the values for service kind 4.

const (
	// ServiceKind4Invalid ...
	ServiceKind4Invalid ServiceKind4 = "Invalid"
	// ServiceKind4Stateful ...
	ServiceKind4Stateful ServiceKind4 = "Stateful"
	// ServiceKind4Stateless ...
	ServiceKind4Stateless ServiceKind4 = "Stateless"
)

type ServiceKind5

type ServiceKind5 string

ServiceKind5 enumerates the values for service kind 5.

const (
	// ServiceKind5Invalid ...
	ServiceKind5Invalid ServiceKind5 = "Invalid"
	// ServiceKind5Stateful ...
	ServiceKind5Stateful ServiceKind5 = "Stateful"
	// ServiceKind5Stateless ...
	ServiceKind5Stateless ServiceKind5 = "Stateless"
)

type ServiceKind6

type ServiceKind6 string

ServiceKind6 enumerates the values for service kind 6.

const (
	// ServiceKind6Invalid ...
	ServiceKind6Invalid ServiceKind6 = "Invalid"
	// ServiceKind6Stateful ...
	ServiceKind6Stateful ServiceKind6 = "Stateful"
	// ServiceKind6Stateless ...
	ServiceKind6Stateless ServiceKind6 = "Stateless"
)

type ServiceKindBasicCreateServiceDescription

type ServiceKindBasicCreateServiceDescription string

ServiceKindBasicCreateServiceDescription enumerates the values for service kind basic create service description.

const (
	// ServiceKindCreateServiceDescription ...
	ServiceKindCreateServiceDescription ServiceKindBasicCreateServiceDescription = "CreateServiceDescription"
	// ServiceKindStateful1 ...
	ServiceKindStateful1 ServiceKindBasicCreateServiceDescription = "Stateful"
	// ServiceKindStateless1 ...
	ServiceKindStateless1 ServiceKindBasicCreateServiceDescription = "Stateless"
)

type ServiceKindBasicCreateServiceGroupDescription

type ServiceKindBasicCreateServiceGroupDescription string

ServiceKindBasicCreateServiceGroupDescription enumerates the values for service kind basic create service group description.

const (
	// ServiceKindBasicCreateServiceGroupDescriptionServiceKindCreateServiceGroupDescription ...
	ServiceKindBasicCreateServiceGroupDescriptionServiceKindCreateServiceGroupDescription ServiceKindBasicCreateServiceGroupDescription = "CreateServiceGroupDescription"
	// ServiceKindBasicCreateServiceGroupDescriptionServiceKindStateful ...
	ServiceKindBasicCreateServiceGroupDescriptionServiceKindStateful ServiceKindBasicCreateServiceGroupDescription = "Stateful"
	// ServiceKindBasicCreateServiceGroupDescriptionServiceKindStateless ...
	ServiceKindBasicCreateServiceGroupDescriptionServiceKindStateless ServiceKindBasicCreateServiceGroupDescription = "Stateless"
)

type ServiceKindBasicServiceDescription

type ServiceKindBasicServiceDescription string

ServiceKindBasicServiceDescription enumerates the values for service kind basic service description.

const (
	// ServiceKindBasicServiceDescriptionServiceKindServiceDescription ...
	ServiceKindBasicServiceDescriptionServiceKindServiceDescription ServiceKindBasicServiceDescription = "ServiceDescription"
	// ServiceKindBasicServiceDescriptionServiceKindStateful ...
	ServiceKindBasicServiceDescriptionServiceKindStateful ServiceKindBasicServiceDescription = "Stateful"
	// ServiceKindBasicServiceDescriptionServiceKindStateless ...
	ServiceKindBasicServiceDescriptionServiceKindStateless ServiceKindBasicServiceDescription = "Stateless"
)

type ServiceKindBasicServiceGroupDescription

type ServiceKindBasicServiceGroupDescription string

ServiceKindBasicServiceGroupDescription enumerates the values for service kind basic service group description.

const (
	// ServiceKindBasicServiceGroupDescriptionServiceKindServiceGroupDescription ...
	ServiceKindBasicServiceGroupDescriptionServiceKindServiceGroupDescription ServiceKindBasicServiceGroupDescription = "ServiceGroupDescription"
	// ServiceKindBasicServiceGroupDescriptionServiceKindStateful ...
	ServiceKindBasicServiceGroupDescriptionServiceKindStateful ServiceKindBasicServiceGroupDescription = "Stateful"
	// ServiceKindBasicServiceGroupDescriptionServiceKindStateless ...
	ServiceKindBasicServiceGroupDescriptionServiceKindStateless ServiceKindBasicServiceGroupDescription = "Stateless"
)

type ServiceKindBasicUpdateServiceDescription

type ServiceKindBasicUpdateServiceDescription string

ServiceKindBasicUpdateServiceDescription enumerates the values for service kind basic update service description.

const (
	// ServiceKindBasicUpdateServiceDescriptionServiceKindStateful ...
	ServiceKindBasicUpdateServiceDescriptionServiceKindStateful ServiceKindBasicUpdateServiceDescription = "Stateful"
	// ServiceKindBasicUpdateServiceDescriptionServiceKindStateless ...
	ServiceKindBasicUpdateServiceDescriptionServiceKindStateless ServiceKindBasicUpdateServiceDescription = "Stateless"
	// ServiceKindBasicUpdateServiceDescriptionServiceKindUpdateServiceDescription ...
	ServiceKindBasicUpdateServiceDescriptionServiceKindUpdateServiceDescription ServiceKindBasicUpdateServiceDescription = "UpdateServiceDescription"
)

type ServiceKindBasicUpdateServiceGroupDescription

type ServiceKindBasicUpdateServiceGroupDescription string

ServiceKindBasicUpdateServiceGroupDescription enumerates the values for service kind basic update service group description.

const (
	// ServiceKindBasicUpdateServiceGroupDescriptionServiceKindStateful ...
	ServiceKindBasicUpdateServiceGroupDescriptionServiceKindStateful ServiceKindBasicUpdateServiceGroupDescription = "Stateful"
	// ServiceKindBasicUpdateServiceGroupDescriptionServiceKindStateless ...
	ServiceKindBasicUpdateServiceGroupDescriptionServiceKindStateless ServiceKindBasicUpdateServiceGroupDescription = "Stateless"
	// ServiceKindBasicUpdateServiceGroupDescriptionServiceKindUpdateServiceGroupDescription ...
	ServiceKindBasicUpdateServiceGroupDescriptionServiceKindUpdateServiceGroupDescription ServiceKindBasicUpdateServiceGroupDescription = "UpdateServiceGroupDescription"
)

type ServiceList

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

ServiceList the list of the service

type ServiceLoadMetricDescription

type ServiceLoadMetricDescription struct {
	Name *string `json:"Name,omitempty"`
	// ServiceLoadMetricWeight - Possible values include: 'ServiceLoadMetricWeightZero', 'ServiceLoadMetricWeightLow', 'ServiceLoadMetricWeightMedium', 'ServiceLoadMetricWeightHigh'
	ServiceLoadMetricWeight ServiceLoadMetricWeight `json:"ServiceLoadMetricWeight,omitempty"`
	PrimaryDefaultLoad      *int32                  `json:"PrimaryDefaultLoad,omitempty"`
	SecondaryDefaultLoad    *int32                  `json:"SecondaryDefaultLoad,omitempty"`
}

ServiceLoadMetricDescription the description of the service load metric

type ServiceLoadMetricWeight

type ServiceLoadMetricWeight string

ServiceLoadMetricWeight enumerates the values for service load metric weight.

const (
	// ServiceLoadMetricWeightHigh ...
	ServiceLoadMetricWeightHigh ServiceLoadMetricWeight = "High"
	// ServiceLoadMetricWeightLow ...
	ServiceLoadMetricWeightLow ServiceLoadMetricWeight = "Low"
	// ServiceLoadMetricWeightMedium ...
	ServiceLoadMetricWeightMedium ServiceLoadMetricWeight = "Medium"
	// ServiceLoadMetricWeightZero ...
	ServiceLoadMetricWeightZero ServiceLoadMetricWeight = "Zero"
)

type ServiceManifest

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

ServiceManifest the manifest of the service

type ServiceManifestsClient

type ServiceManifestsClient struct {
	BaseClient
}

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(ctx context.Context, 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(ctx context.Context, 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 ...
	ServicePartitionKindInt64Range ServicePartitionKind = "Int64Range"
	// ServicePartitionKindInvalid ...
	ServicePartitionKindInvalid ServicePartitionKind = "Invalid"
	// ServicePartitionKindNamed ...
	ServicePartitionKindNamed ServicePartitionKind = "Named"
	// ServicePartitionKindSingleton ...
	ServicePartitionKindSingleton ServicePartitionKind = "Singleton"
)

type ServicePlacementPolicyDescription

type ServicePlacementPolicyDescription struct {
	Type *string `json:"Type,omitempty"`
}

ServicePlacementPolicyDescription the description of the service placement policy

type ServiceStatus

type ServiceStatus string

ServiceStatus enumerates the values for service status.

const (
	// ServiceStatusActive ...
	ServiceStatusActive ServiceStatus = "Active"
	// ServiceStatusCreating ...
	ServiceStatusCreating ServiceStatus = "Creating"
	// ServiceStatusDeleting ...
	ServiceStatusDeleting ServiceStatus = "Deleting"
	// ServiceStatusFaile ...
	ServiceStatusFaile ServiceStatus = "Faile"
	// ServiceStatusInvalid ...
	ServiceStatusInvalid ServiceStatus = "Invalid"
	// ServiceStatusUpgrading ...
	ServiceStatusUpgrading ServiceStatus = "Upgrading"
)

type ServiceType

type ServiceType struct {
	// ServiceTypeDescription - The description of the service type
	ServiceTypeDescription *ServiceTypeServiceTypeDescription `json:"ServiceTypeDescription,omitempty"`
	ServiceManifestVersion *string                            `json:"ServiceManifestVersion,omitempty"`
	ServiceManifestName    *string                            `json:"ServiceManifestName,omitempty"`
	IsServiceGroup         *bool                              `json:"IsServiceGroup,omitempty"`
}

ServiceType 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 the description of the service type

type ServiceTypesClient

type ServiceTypesClient struct {
	BaseClient
}

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(ctx context.Context, 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(ctx context.Context, 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 {
	BaseClient
}

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(ctx context.Context, applicationName string, createServiceDescription BasicCreateServiceDescription) (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(ctx context.Context, applicationName string, createServiceDescription BasicCreateServiceDescription) (*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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, applicationName string) (result ServiceList, err error)

List list services

applicationName is the name of the application

func (ServicesClient) ListPreparer

func (client ServicesClient) ListPreparer(ctx context.Context, 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(ctx context.Context, serviceName string) (result String, err error)

Remove remove services

serviceName is the name of the service

func (ServicesClient) RemovePreparer

func (client ServicesClient) RemovePreparer(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, serviceName string, updateServiceDescription BasicUpdateServiceDescription) (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(ctx context.Context, serviceName string, updateServiceDescription BasicUpdateServiceDescription) (*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 - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
	// Kind - Possible values include: 'KindHealthEvaluation', 'KindEvent', 'KindPartitions', 'KindReplicas', 'KindDeployedServicePackages', 'KindDeployedApplications', 'KindServices', 'KindNodes', 'KindApplications', 'KindUpgradeDomainNodes', 'KindUpgradeDomainDeployedApplications', 'KindSystemApplication', 'KindPartition', 'KindReplica', 'KindDeployedServicePackage', 'KindDeployedApplication', 'KindService', 'KindNode', 'KindApplication', 'KindDeltaNodesCheck', 'KindUpgradeDomainDeltaNodesCheck', 'KindApplicationType'
	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 the evaluation of the services health

func (ServicesHealthEvaluation) AsApplicationHealthEvaluation

func (she ServicesHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)

AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ServicesHealthEvaluation.

func (ServicesHealthEvaluation) AsApplicationTypeHealthEvaluation

func (she ServicesHealthEvaluation) AsApplicationTypeHealthEvaluation() (*ApplicationTypeHealthEvaluation, bool)

AsApplicationTypeHealthEvaluation is the BasicHealthEvaluation implementation for ServicesHealthEvaluation.

func (ServicesHealthEvaluation) AsApplicationsHealthEvaluation

func (she ServicesHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)

AsApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for ServicesHealthEvaluation.

func (ServicesHealthEvaluation) AsBasicHealthEvaluation

func (she ServicesHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)

AsBasicHealthEvaluation is the BasicHealthEvaluation implementation for ServicesHealthEvaluation.

func (ServicesHealthEvaluation) AsDeltaNodesCheckHealthEvaluation

func (she ServicesHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)

AsDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for ServicesHealthEvaluation.

func (ServicesHealthEvaluation) AsDeployedApplicationHealthEvaluation

func (she ServicesHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)

AsDeployedApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ServicesHealthEvaluation.

func (ServicesHealthEvaluation) AsDeployedApplicationsHealthEvaluation

func (she ServicesHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)

AsDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for ServicesHealthEvaluation.

func (ServicesHealthEvaluation) AsDeployedServicePackageHealthEvaluation

func (she ServicesHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)

AsDeployedServicePackageHealthEvaluation is the BasicHealthEvaluation implementation for ServicesHealthEvaluation.

func (ServicesHealthEvaluation) AsDeployedServicePackagesHealthEvaluation

func (she ServicesHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)

AsDeployedServicePackagesHealthEvaluation is the BasicHealthEvaluation implementation for ServicesHealthEvaluation.

func (ServicesHealthEvaluation) AsEventHealthEvaluation

func (she ServicesHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)

AsEventHealthEvaluation is the BasicHealthEvaluation implementation for ServicesHealthEvaluation.

func (ServicesHealthEvaluation) AsHealthEvaluation

func (she ServicesHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)

AsHealthEvaluation is the BasicHealthEvaluation implementation for ServicesHealthEvaluation.

func (ServicesHealthEvaluation) AsNodeHealthEvaluation

func (she ServicesHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)

AsNodeHealthEvaluation is the BasicHealthEvaluation implementation for ServicesHealthEvaluation.

func (ServicesHealthEvaluation) AsNodesHealthEvaluation

func (she ServicesHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)

AsNodesHealthEvaluation is the BasicHealthEvaluation implementation for ServicesHealthEvaluation.

func (ServicesHealthEvaluation) AsPartitionHealthEvaluation

func (she ServicesHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)

AsPartitionHealthEvaluation is the BasicHealthEvaluation implementation for ServicesHealthEvaluation.

func (ServicesHealthEvaluation) AsPartitionsHealthEvaluation

func (she ServicesHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)

AsPartitionsHealthEvaluation is the BasicHealthEvaluation implementation for ServicesHealthEvaluation.

func (ServicesHealthEvaluation) AsReplicaHealthEvaluation

func (she ServicesHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)

AsReplicaHealthEvaluation is the BasicHealthEvaluation implementation for ServicesHealthEvaluation.

func (ServicesHealthEvaluation) AsReplicasHealthEvaluation

func (she ServicesHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)

AsReplicasHealthEvaluation is the BasicHealthEvaluation implementation for ServicesHealthEvaluation.

func (ServicesHealthEvaluation) AsServiceHealthEvaluation

func (she ServicesHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)

AsServiceHealthEvaluation is the BasicHealthEvaluation implementation for ServicesHealthEvaluation.

func (ServicesHealthEvaluation) AsServicesHealthEvaluation

func (she ServicesHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)

AsServicesHealthEvaluation is the BasicHealthEvaluation implementation for ServicesHealthEvaluation.

func (ServicesHealthEvaluation) AsSystemApplicationHealthEvaluation

func (she ServicesHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)

AsSystemApplicationHealthEvaluation is the BasicHealthEvaluation implementation for ServicesHealthEvaluation.

func (ServicesHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation

func (she ServicesHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)

AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for ServicesHealthEvaluation.

func (ServicesHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation

func (she ServicesHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation() (*UpgradeDomainDeployedApplicationsHealthEvaluation, bool)

AsUpgradeDomainDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for ServicesHealthEvaluation.

func (ServicesHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation

func (she ServicesHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)

AsUpgradeDomainNodesHealthEvaluation is the BasicHealthEvaluation 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 - Possible values include: 'UpgradeKindInvalid', 'UpgradeKindRolling'
	UpgradeKind UpgradeKind `json:"UpgradeKind,omitempty"`
	// RollingUpgradeMode - Possible values include: 'RollingUpgradeMode2Invalid', 'RollingUpgradeMode2UnmonitoredAuto', 'RollingUpgradeMode2UnmonitoredManual', 'RollingUpgradeMode2Monitored'
	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 the description of the start application upgrade

type StartApplicationUpgradeParametersItem

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

StartApplicationUpgradeParametersItem the parameters

type StartClusterUpgrade

type StartClusterUpgrade struct {
	// ConfigVersion - The version of the config
	ConfigVersion *string `json:"ConfigVersion,omitempty"`
	// CodeVersion - The version of the code
	CodeVersion *string `json:"CodeVersion,omitempty"`
	// UpgradeKind - The kind of the upgrade
	UpgradeKind *string `json:"UpgradeKind,omitempty"`
	// RollingUpgradeMode - The mode of the rolling upgrade. Possible values include: 'RollingUpgradeModeInvalid', 'RollingUpgradeModeUnmonitoredAuto', 'RollingUpgradeModeUnmonitoredManual', 'RollingUpgradeModeMonitored'
	RollingUpgradeMode RollingUpgradeMode `json:"RollingUpgradeMode,omitempty"`
	// UpgradeReplicaSetCheckTimeoutInSeconds - The seconds of the upgrade replica set check timeout
	UpgradeReplicaSetCheckTimeoutInSeconds *int32 `json:"UpgradeReplicaSetCheckTimeoutInSeconds,omitempty"`
	// ForceRestart - The flag of the force restart
	ForceRestart *bool `json:"ForceRestart,omitempty"`
	// EnableDeltaHealthEvaluation - The evaluation of the enable delta health
	EnableDeltaHealthEvaluation *bool `json:"EnableDeltaHealthEvaluation,omitempty"`
	// MonitoringPolicy - The policy of the monitoring
	MonitoringPolicy *map[string]interface{} `json:"MonitoringPolicy,omitempty"`
	// ClusterUpgradeHealthPolicy - The policy of the cluster upgrade health
	ClusterUpgradeHealthPolicy *ClusterUpgradeHealthPolicy `json:"ClusterUpgradeHealthPolicy,omitempty"`
	// ApplicationHealthPolicyMap - The map of the application health policy
	ApplicationHealthPolicyMap *ApplicationHealthPolicyMap `json:"ApplicationHealthPolicyMap,omitempty"`
}

StartClusterUpgrade 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 - Possible values include: 'ServiceKindCreateServiceDescription', 'ServiceKindStateless1', 'ServiceKindStateful1'
	ServiceKind                       ServiceKindBasicCreateServiceDescription `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 - Possible values include: 'DefaultMoveCost3Zero', 'DefaultMoveCost3Low', 'DefaultMoveCost3Medium', 'DefaultMoveCost3High'
	DefaultMoveCost            DefaultMoveCost `json:"DefaultMoveCost,omitempty"`
	IsDefaultMoveCostSpecified *bool           `json:"IsDefaultMoveCostSpecified,omitempty"`
}

StatefulCreateServiceDescription the description of the stateful create service

func (StatefulCreateServiceDescription) AsBasicCreateServiceDescription

func (scsd StatefulCreateServiceDescription) AsBasicCreateServiceDescription() (BasicCreateServiceDescription, bool)

AsBasicCreateServiceDescription is the BasicCreateServiceDescription implementation for StatefulCreateServiceDescription.

func (StatefulCreateServiceDescription) AsCreateServiceDescription

func (scsd StatefulCreateServiceDescription) AsCreateServiceDescription() (*CreateServiceDescription, bool)

AsCreateServiceDescription is the BasicCreateServiceDescription implementation for StatefulCreateServiceDescription.

func (StatefulCreateServiceDescription) AsStatefulCreateServiceDescription

func (scsd StatefulCreateServiceDescription) AsStatefulCreateServiceDescription() (*StatefulCreateServiceDescription, bool)

AsStatefulCreateServiceDescription is the BasicCreateServiceDescription implementation for StatefulCreateServiceDescription.

func (StatefulCreateServiceDescription) AsStatelessCreateServiceDescription

func (scsd StatefulCreateServiceDescription) AsStatelessCreateServiceDescription() (*StatelessCreateServiceDescription, bool)

AsStatelessCreateServiceDescription is the BasicCreateServiceDescription 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 - Possible values include: 'ServiceKindBasicCreateServiceGroupDescriptionServiceKindCreateServiceGroupDescription', 'ServiceKindBasicCreateServiceGroupDescriptionServiceKindStateless', 'ServiceKindBasicCreateServiceGroupDescriptionServiceKindStateful'
	ServiceKind                       ServiceKindBasicCreateServiceGroupDescription `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 - Possible values include: 'DefaultMoveCost1Zero', 'DefaultMoveCost1Low', 'DefaultMoveCost1Medium', 'DefaultMoveCost1High'
	DefaultMoveCost            DefaultMoveCost `json:"DefaultMoveCost,omitempty"`
	IsDefaultMoveCostSpecified *bool           `json:"IsDefaultMoveCostSpecified,omitempty"`
}

StatefulCreateServiceGroupDescription the description of the stateful create service group

func (StatefulCreateServiceGroupDescription) AsBasicCreateServiceGroupDescription

func (scsgd StatefulCreateServiceGroupDescription) AsBasicCreateServiceGroupDescription() (BasicCreateServiceGroupDescription, bool)

AsBasicCreateServiceGroupDescription is the BasicCreateServiceGroupDescription implementation for StatefulCreateServiceGroupDescription.

func (StatefulCreateServiceGroupDescription) AsCreateServiceGroupDescription

func (scsgd StatefulCreateServiceGroupDescription) AsCreateServiceGroupDescription() (*CreateServiceGroupDescription, bool)

AsCreateServiceGroupDescription is the BasicCreateServiceGroupDescription implementation for StatefulCreateServiceGroupDescription.

func (StatefulCreateServiceGroupDescription) AsStatefulCreateServiceGroupDescription

func (scsgd StatefulCreateServiceGroupDescription) AsStatefulCreateServiceGroupDescription() (*StatefulCreateServiceGroupDescription, bool)

AsStatefulCreateServiceGroupDescription is the BasicCreateServiceGroupDescription implementation for StatefulCreateServiceGroupDescription.

func (StatefulCreateServiceGroupDescription) AsStatelessCreateServiceGroupDescription

func (scsgd StatefulCreateServiceGroupDescription) AsStatelessCreateServiceGroupDescription() (*StatelessCreateServiceGroupDescription, bool)

AsStatelessCreateServiceGroupDescription is the BasicCreateServiceGroupDescription 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 - Possible values include: 'ServiceKindBasicServiceDescriptionServiceKindServiceDescription', 'ServiceKindBasicServiceDescriptionServiceKindStateless', 'ServiceKindBasicServiceDescriptionServiceKindStateful'
	ServiceKind                       ServiceKindBasicServiceDescription `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 - Possible values include: 'DefaultMoveCost2Zero', 'DefaultMoveCost2Low', 'DefaultMoveCost2Medium', 'DefaultMoveCost2High'
	DefaultMoveCost            DefaultMoveCost `json:"DefaultMoveCost,omitempty"`
	IsDefaultMoveCostSpecified *bool           `json:"IsDefaultMoveCostSpecified,omitempty"`
}

StatefulServiceDescription the description of the stateful service

func (StatefulServiceDescription) AsBasicServiceDescription

func (ssd StatefulServiceDescription) AsBasicServiceDescription() (BasicServiceDescription, bool)

AsBasicServiceDescription is the BasicServiceDescription implementation for StatefulServiceDescription.

func (StatefulServiceDescription) AsServiceDescription

func (ssd StatefulServiceDescription) AsServiceDescription() (*ServiceDescription, bool)

AsServiceDescription is the BasicServiceDescription implementation for StatefulServiceDescription.

func (StatefulServiceDescription) AsStatefulServiceDescription

func (ssd StatefulServiceDescription) AsStatefulServiceDescription() (*StatefulServiceDescription, bool)

AsStatefulServiceDescription is the BasicServiceDescription implementation for StatefulServiceDescription.

func (StatefulServiceDescription) AsStatelessServiceDescription

func (ssd StatefulServiceDescription) AsStatelessServiceDescription() (*StatelessServiceDescription, bool)

AsStatelessServiceDescription is the BasicServiceDescription 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 - Possible values include: 'ServiceKindBasicServiceGroupDescriptionServiceKindServiceGroupDescription', 'ServiceKindBasicServiceGroupDescriptionServiceKindStateless', 'ServiceKindBasicServiceGroupDescriptionServiceKindStateful'
	ServiceKind                       ServiceKindBasicServiceGroupDescription `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 - Possible values include: 'Zero', 'Low', 'Medium', 'High'
	DefaultMoveCost            DefaultMoveCost `json:"DefaultMoveCost,omitempty"`
	IsDefaultMoveCostSpecified *bool           `json:"IsDefaultMoveCostSpecified,omitempty"`
}

StatefulServiceGroupDescription the description of the stateful service group

func (StatefulServiceGroupDescription) AsBasicServiceGroupDescription

func (ssgd StatefulServiceGroupDescription) AsBasicServiceGroupDescription() (BasicServiceGroupDescription, bool)

AsBasicServiceGroupDescription is the BasicServiceGroupDescription implementation for StatefulServiceGroupDescription.

func (StatefulServiceGroupDescription) AsServiceGroupDescription

func (ssgd StatefulServiceGroupDescription) AsServiceGroupDescription() (*ServiceGroupDescription, bool)

AsServiceGroupDescription is the BasicServiceGroupDescription implementation for StatefulServiceGroupDescription.

func (StatefulServiceGroupDescription) AsStatefulServiceGroupDescription

func (ssgd StatefulServiceGroupDescription) AsStatefulServiceGroupDescription() (*StatefulServiceGroupDescription, bool)

AsStatefulServiceGroupDescription is the BasicServiceGroupDescription implementation for StatefulServiceGroupDescription.

func (StatefulServiceGroupDescription) AsStatelessServiceGroupDescription

func (ssgd StatefulServiceGroupDescription) AsStatelessServiceGroupDescription() (*StatelessServiceGroupDescription, bool)

AsStatelessServiceGroupDescription is the BasicServiceGroupDescription 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 - Possible values include: 'ServiceKindBasicUpdateServiceDescriptionServiceKindUpdateServiceDescription', 'ServiceKindBasicUpdateServiceDescriptionServiceKindStateless', 'ServiceKindBasicUpdateServiceDescriptionServiceKindStateful'
	ServiceKind                              ServiceKindBasicUpdateServiceDescription `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 the description of the stateful update service

func (StatefulUpdateServiceDescription) AsBasicUpdateServiceDescription

func (susd StatefulUpdateServiceDescription) AsBasicUpdateServiceDescription() (BasicUpdateServiceDescription, bool)

AsBasicUpdateServiceDescription is the BasicUpdateServiceDescription implementation for StatefulUpdateServiceDescription.

func (StatefulUpdateServiceDescription) AsStatefulUpdateServiceDescription

func (susd StatefulUpdateServiceDescription) AsStatefulUpdateServiceDescription() (*StatefulUpdateServiceDescription, bool)

AsStatefulUpdateServiceDescription is the BasicUpdateServiceDescription implementation for StatefulUpdateServiceDescription.

func (StatefulUpdateServiceDescription) AsStatelessUpdateServiceDescription

func (susd StatefulUpdateServiceDescription) AsStatelessUpdateServiceDescription() (*StatelessUpdateServiceDescription, bool)

AsStatelessUpdateServiceDescription is the BasicUpdateServiceDescription implementation for StatefulUpdateServiceDescription.

func (StatefulUpdateServiceDescription) AsUpdateServiceDescription

func (susd StatefulUpdateServiceDescription) AsUpdateServiceDescription() (*UpdateServiceDescription, bool)

AsUpdateServiceDescription is the BasicUpdateServiceDescription 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 - Possible values include: 'ServiceKindBasicUpdateServiceGroupDescriptionServiceKindUpdateServiceGroupDescription', 'ServiceKindBasicUpdateServiceGroupDescriptionServiceKindStateless', 'ServiceKindBasicUpdateServiceGroupDescriptionServiceKindStateful'
	ServiceKind                              ServiceKindBasicUpdateServiceGroupDescription `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 the description of the stateful update service group

func (StatefulUpdateServiceGroupDescription) AsBasicUpdateServiceGroupDescription

func (susgd StatefulUpdateServiceGroupDescription) AsBasicUpdateServiceGroupDescription() (BasicUpdateServiceGroupDescription, bool)

AsBasicUpdateServiceGroupDescription is the BasicUpdateServiceGroupDescription implementation for StatefulUpdateServiceGroupDescription.

func (StatefulUpdateServiceGroupDescription) AsStatefulUpdateServiceGroupDescription

func (susgd StatefulUpdateServiceGroupDescription) AsStatefulUpdateServiceGroupDescription() (*StatefulUpdateServiceGroupDescription, bool)

AsStatefulUpdateServiceGroupDescription is the BasicUpdateServiceGroupDescription implementation for StatefulUpdateServiceGroupDescription.

func (StatefulUpdateServiceGroupDescription) AsStatelessUpdateServiceGroupDescription

func (susgd StatefulUpdateServiceGroupDescription) AsStatelessUpdateServiceGroupDescription() (*StatelessUpdateServiceGroupDescription, bool)

AsStatelessUpdateServiceGroupDescription is the BasicUpdateServiceGroupDescription implementation for StatefulUpdateServiceGroupDescription.

func (StatefulUpdateServiceGroupDescription) AsUpdateServiceGroupDescription

func (susgd StatefulUpdateServiceGroupDescription) AsUpdateServiceGroupDescription() (*UpdateServiceGroupDescription, bool)

AsUpdateServiceGroupDescription is the BasicUpdateServiceGroupDescription 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 - Possible values include: 'ServiceKindCreateServiceDescription', 'ServiceKindStateless1', 'ServiceKindStateful1'
	ServiceKind   ServiceKindBasicCreateServiceDescription `json:"ServiceKind,omitempty"`
	InstanceCount *int32                                   `json:"InstanceCount,omitempty"`
}

StatelessCreateServiceDescription the description of the stateless create service

func (StatelessCreateServiceDescription) AsBasicCreateServiceDescription

func (scsd StatelessCreateServiceDescription) AsBasicCreateServiceDescription() (BasicCreateServiceDescription, bool)

AsBasicCreateServiceDescription is the BasicCreateServiceDescription implementation for StatelessCreateServiceDescription.

func (StatelessCreateServiceDescription) AsCreateServiceDescription

func (scsd StatelessCreateServiceDescription) AsCreateServiceDescription() (*CreateServiceDescription, bool)

AsCreateServiceDescription is the BasicCreateServiceDescription implementation for StatelessCreateServiceDescription.

func (StatelessCreateServiceDescription) AsStatefulCreateServiceDescription

func (scsd StatelessCreateServiceDescription) AsStatefulCreateServiceDescription() (*StatefulCreateServiceDescription, bool)

AsStatefulCreateServiceDescription is the BasicCreateServiceDescription implementation for StatelessCreateServiceDescription.

func (StatelessCreateServiceDescription) AsStatelessCreateServiceDescription

func (scsd StatelessCreateServiceDescription) AsStatelessCreateServiceDescription() (*StatelessCreateServiceDescription, bool)

AsStatelessCreateServiceDescription is the BasicCreateServiceDescription 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 - Possible values include: 'ServiceKindBasicCreateServiceGroupDescriptionServiceKindCreateServiceGroupDescription', 'ServiceKindBasicCreateServiceGroupDescriptionServiceKindStateless', 'ServiceKindBasicCreateServiceGroupDescriptionServiceKindStateful'
	ServiceKind   ServiceKindBasicCreateServiceGroupDescription `json:"ServiceKind,omitempty"`
	InstanceCount *int32                                        `json:"InstanceCount,omitempty"`
}

StatelessCreateServiceGroupDescription the description of the stateless create service group

func (StatelessCreateServiceGroupDescription) AsBasicCreateServiceGroupDescription

func (scsgd StatelessCreateServiceGroupDescription) AsBasicCreateServiceGroupDescription() (BasicCreateServiceGroupDescription, bool)

AsBasicCreateServiceGroupDescription is the BasicCreateServiceGroupDescription implementation for StatelessCreateServiceGroupDescription.

func (StatelessCreateServiceGroupDescription) AsCreateServiceGroupDescription

func (scsgd StatelessCreateServiceGroupDescription) AsCreateServiceGroupDescription() (*CreateServiceGroupDescription, bool)

AsCreateServiceGroupDescription is the BasicCreateServiceGroupDescription implementation for StatelessCreateServiceGroupDescription.

func (StatelessCreateServiceGroupDescription) AsStatefulCreateServiceGroupDescription

func (scsgd StatelessCreateServiceGroupDescription) AsStatefulCreateServiceGroupDescription() (*StatefulCreateServiceGroupDescription, bool)

AsStatefulCreateServiceGroupDescription is the BasicCreateServiceGroupDescription implementation for StatelessCreateServiceGroupDescription.

func (StatelessCreateServiceGroupDescription) AsStatelessCreateServiceGroupDescription

func (scsgd StatelessCreateServiceGroupDescription) AsStatelessCreateServiceGroupDescription() (*StatelessCreateServiceGroupDescription, bool)

AsStatelessCreateServiceGroupDescription is the BasicCreateServiceGroupDescription 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 - Possible values include: 'ServiceKindBasicServiceDescriptionServiceKindServiceDescription', 'ServiceKindBasicServiceDescriptionServiceKindStateless', 'ServiceKindBasicServiceDescriptionServiceKindStateful'
	ServiceKind   ServiceKindBasicServiceDescription `json:"ServiceKind,omitempty"`
	InstanceCount *int32                             `json:"InstanceCount,omitempty"`
}

StatelessServiceDescription the description of the stateless service

func (StatelessServiceDescription) AsBasicServiceDescription

func (ssd StatelessServiceDescription) AsBasicServiceDescription() (BasicServiceDescription, bool)

AsBasicServiceDescription is the BasicServiceDescription implementation for StatelessServiceDescription.

func (StatelessServiceDescription) AsServiceDescription

func (ssd StatelessServiceDescription) AsServiceDescription() (*ServiceDescription, bool)

AsServiceDescription is the BasicServiceDescription implementation for StatelessServiceDescription.

func (StatelessServiceDescription) AsStatefulServiceDescription

func (ssd StatelessServiceDescription) AsStatefulServiceDescription() (*StatefulServiceDescription, bool)

AsStatefulServiceDescription is the BasicServiceDescription implementation for StatelessServiceDescription.

func (StatelessServiceDescription) AsStatelessServiceDescription

func (ssd StatelessServiceDescription) AsStatelessServiceDescription() (*StatelessServiceDescription, bool)

AsStatelessServiceDescription is the BasicServiceDescription 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 - Possible values include: 'ServiceKindBasicServiceGroupDescriptionServiceKindServiceGroupDescription', 'ServiceKindBasicServiceGroupDescriptionServiceKindStateless', 'ServiceKindBasicServiceGroupDescriptionServiceKindStateful'
	ServiceKind   ServiceKindBasicServiceGroupDescription `json:"ServiceKind,omitempty"`
	InstanceCount *int32                                  `json:"InstanceCount,omitempty"`
}

StatelessServiceGroupDescription the description of the stateless service group

func (StatelessServiceGroupDescription) AsBasicServiceGroupDescription

func (ssgd StatelessServiceGroupDescription) AsBasicServiceGroupDescription() (BasicServiceGroupDescription, bool)

AsBasicServiceGroupDescription is the BasicServiceGroupDescription implementation for StatelessServiceGroupDescription.

func (StatelessServiceGroupDescription) AsServiceGroupDescription

func (ssgd StatelessServiceGroupDescription) AsServiceGroupDescription() (*ServiceGroupDescription, bool)

AsServiceGroupDescription is the BasicServiceGroupDescription implementation for StatelessServiceGroupDescription.

func (StatelessServiceGroupDescription) AsStatefulServiceGroupDescription

func (ssgd StatelessServiceGroupDescription) AsStatefulServiceGroupDescription() (*StatefulServiceGroupDescription, bool)

AsStatefulServiceGroupDescription is the BasicServiceGroupDescription implementation for StatelessServiceGroupDescription.

func (StatelessServiceGroupDescription) AsStatelessServiceGroupDescription

func (ssgd StatelessServiceGroupDescription) AsStatelessServiceGroupDescription() (*StatelessServiceGroupDescription, bool)

AsStatelessServiceGroupDescription is the BasicServiceGroupDescription 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 - Possible values include: 'ServiceKindBasicUpdateServiceDescriptionServiceKindUpdateServiceDescription', 'ServiceKindBasicUpdateServiceDescriptionServiceKindStateless', 'ServiceKindBasicUpdateServiceDescriptionServiceKindStateful'
	ServiceKind   ServiceKindBasicUpdateServiceDescription `json:"ServiceKind,omitempty"`
	InstanceCount *int32                                   `json:"InstanceCount,omitempty"`
}

StatelessUpdateServiceDescription the description of the stateless update service

func (StatelessUpdateServiceDescription) AsBasicUpdateServiceDescription

func (susd StatelessUpdateServiceDescription) AsBasicUpdateServiceDescription() (BasicUpdateServiceDescription, bool)

AsBasicUpdateServiceDescription is the BasicUpdateServiceDescription implementation for StatelessUpdateServiceDescription.

func (StatelessUpdateServiceDescription) AsStatefulUpdateServiceDescription

func (susd StatelessUpdateServiceDescription) AsStatefulUpdateServiceDescription() (*StatefulUpdateServiceDescription, bool)

AsStatefulUpdateServiceDescription is the BasicUpdateServiceDescription implementation for StatelessUpdateServiceDescription.

func (StatelessUpdateServiceDescription) AsStatelessUpdateServiceDescription

func (susd StatelessUpdateServiceDescription) AsStatelessUpdateServiceDescription() (*StatelessUpdateServiceDescription, bool)

AsStatelessUpdateServiceDescription is the BasicUpdateServiceDescription implementation for StatelessUpdateServiceDescription.

func (StatelessUpdateServiceDescription) AsUpdateServiceDescription

func (susd StatelessUpdateServiceDescription) AsUpdateServiceDescription() (*UpdateServiceDescription, bool)

AsUpdateServiceDescription is the BasicUpdateServiceDescription 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 - Possible values include: 'ServiceKindBasicUpdateServiceGroupDescriptionServiceKindUpdateServiceGroupDescription', 'ServiceKindBasicUpdateServiceGroupDescriptionServiceKindStateless', 'ServiceKindBasicUpdateServiceGroupDescriptionServiceKindStateful'
	ServiceKind   ServiceKindBasicUpdateServiceGroupDescription `json:"ServiceKind,omitempty"`
	InstanceCount *int32                                        `json:"InstanceCount,omitempty"`
}

StatelessUpdateServiceGroupDescription the description of the stateless update service group

func (StatelessUpdateServiceGroupDescription) AsBasicUpdateServiceGroupDescription

func (susgd StatelessUpdateServiceGroupDescription) AsBasicUpdateServiceGroupDescription() (BasicUpdateServiceGroupDescription, bool)

AsBasicUpdateServiceGroupDescription is the BasicUpdateServiceGroupDescription implementation for StatelessUpdateServiceGroupDescription.

func (StatelessUpdateServiceGroupDescription) AsStatefulUpdateServiceGroupDescription

func (susgd StatelessUpdateServiceGroupDescription) AsStatefulUpdateServiceGroupDescription() (*StatefulUpdateServiceGroupDescription, bool)

AsStatefulUpdateServiceGroupDescription is the BasicUpdateServiceGroupDescription implementation for StatelessUpdateServiceGroupDescription.

func (StatelessUpdateServiceGroupDescription) AsStatelessUpdateServiceGroupDescription

func (susgd StatelessUpdateServiceGroupDescription) AsStatelessUpdateServiceGroupDescription() (*StatelessUpdateServiceGroupDescription, bool)

AsStatelessUpdateServiceGroupDescription is the BasicUpdateServiceGroupDescription implementation for StatelessUpdateServiceGroupDescription.

func (StatelessUpdateServiceGroupDescription) AsUpdateServiceGroupDescription

func (susgd StatelessUpdateServiceGroupDescription) AsUpdateServiceGroupDescription() (*UpdateServiceGroupDescription, bool)

AsUpdateServiceGroupDescription is the BasicUpdateServiceGroupDescription 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 ...

type SystemApplicationHealthEvaluation

type SystemApplicationHealthEvaluation struct {
	Description *string `json:"Description,omitempty"`
	// AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
	// Kind - Possible values include: 'KindHealthEvaluation', 'KindEvent', 'KindPartitions', 'KindReplicas', 'KindDeployedServicePackages', 'KindDeployedApplications', 'KindServices', 'KindNodes', 'KindApplications', 'KindUpgradeDomainNodes', 'KindUpgradeDomainDeployedApplications', 'KindSystemApplication', 'KindPartition', 'KindReplica', 'KindDeployedServicePackage', 'KindDeployedApplication', 'KindService', 'KindNode', 'KindApplication', 'KindDeltaNodesCheck', 'KindUpgradeDomainDeltaNodesCheck', 'KindApplicationType'
	Kind                 Kind                   `json:"Kind,omitempty"`
	UnhealthyEvaluations *[]UnhealthyEvaluation `json:"UnhealthyEvaluations,omitempty"`
}

SystemApplicationHealthEvaluation the evaluation of the system application health

func (SystemApplicationHealthEvaluation) AsApplicationHealthEvaluation

func (sahe SystemApplicationHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)

AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for SystemApplicationHealthEvaluation.

func (SystemApplicationHealthEvaluation) AsApplicationTypeHealthEvaluation

func (sahe SystemApplicationHealthEvaluation) AsApplicationTypeHealthEvaluation() (*ApplicationTypeHealthEvaluation, bool)

AsApplicationTypeHealthEvaluation is the BasicHealthEvaluation implementation for SystemApplicationHealthEvaluation.

func (SystemApplicationHealthEvaluation) AsApplicationsHealthEvaluation

func (sahe SystemApplicationHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)

AsApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for SystemApplicationHealthEvaluation.

func (SystemApplicationHealthEvaluation) AsBasicHealthEvaluation

func (sahe SystemApplicationHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)

AsBasicHealthEvaluation is the BasicHealthEvaluation implementation for SystemApplicationHealthEvaluation.

func (SystemApplicationHealthEvaluation) AsDeltaNodesCheckHealthEvaluation

func (sahe SystemApplicationHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)

AsDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for SystemApplicationHealthEvaluation.

func (SystemApplicationHealthEvaluation) AsDeployedApplicationHealthEvaluation

func (sahe SystemApplicationHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)

AsDeployedApplicationHealthEvaluation is the BasicHealthEvaluation implementation for SystemApplicationHealthEvaluation.

func (SystemApplicationHealthEvaluation) AsDeployedApplicationsHealthEvaluation

func (sahe SystemApplicationHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)

AsDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for SystemApplicationHealthEvaluation.

func (SystemApplicationHealthEvaluation) AsDeployedServicePackageHealthEvaluation

func (sahe SystemApplicationHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)

AsDeployedServicePackageHealthEvaluation is the BasicHealthEvaluation implementation for SystemApplicationHealthEvaluation.

func (SystemApplicationHealthEvaluation) AsDeployedServicePackagesHealthEvaluation

func (sahe SystemApplicationHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)

AsDeployedServicePackagesHealthEvaluation is the BasicHealthEvaluation implementation for SystemApplicationHealthEvaluation.

func (SystemApplicationHealthEvaluation) AsEventHealthEvaluation

func (sahe SystemApplicationHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)

AsEventHealthEvaluation is the BasicHealthEvaluation implementation for SystemApplicationHealthEvaluation.

func (SystemApplicationHealthEvaluation) AsHealthEvaluation

func (sahe SystemApplicationHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)

AsHealthEvaluation is the BasicHealthEvaluation implementation for SystemApplicationHealthEvaluation.

func (SystemApplicationHealthEvaluation) AsNodeHealthEvaluation

func (sahe SystemApplicationHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)

AsNodeHealthEvaluation is the BasicHealthEvaluation implementation for SystemApplicationHealthEvaluation.

func (SystemApplicationHealthEvaluation) AsNodesHealthEvaluation

func (sahe SystemApplicationHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)

AsNodesHealthEvaluation is the BasicHealthEvaluation implementation for SystemApplicationHealthEvaluation.

func (SystemApplicationHealthEvaluation) AsPartitionHealthEvaluation

func (sahe SystemApplicationHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)

AsPartitionHealthEvaluation is the BasicHealthEvaluation implementation for SystemApplicationHealthEvaluation.

func (SystemApplicationHealthEvaluation) AsPartitionsHealthEvaluation

func (sahe SystemApplicationHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)

AsPartitionsHealthEvaluation is the BasicHealthEvaluation implementation for SystemApplicationHealthEvaluation.

func (SystemApplicationHealthEvaluation) AsReplicaHealthEvaluation

func (sahe SystemApplicationHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)

AsReplicaHealthEvaluation is the BasicHealthEvaluation implementation for SystemApplicationHealthEvaluation.

func (SystemApplicationHealthEvaluation) AsReplicasHealthEvaluation

func (sahe SystemApplicationHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)

AsReplicasHealthEvaluation is the BasicHealthEvaluation implementation for SystemApplicationHealthEvaluation.

func (SystemApplicationHealthEvaluation) AsServiceHealthEvaluation

func (sahe SystemApplicationHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)

AsServiceHealthEvaluation is the BasicHealthEvaluation implementation for SystemApplicationHealthEvaluation.

func (SystemApplicationHealthEvaluation) AsServicesHealthEvaluation

func (sahe SystemApplicationHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)

AsServicesHealthEvaluation is the BasicHealthEvaluation implementation for SystemApplicationHealthEvaluation.

func (SystemApplicationHealthEvaluation) AsSystemApplicationHealthEvaluation

func (sahe SystemApplicationHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)

AsSystemApplicationHealthEvaluation is the BasicHealthEvaluation implementation for SystemApplicationHealthEvaluation.

func (SystemApplicationHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation

func (sahe SystemApplicationHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)

AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for SystemApplicationHealthEvaluation.

func (SystemApplicationHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation

func (sahe SystemApplicationHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation() (*UpgradeDomainDeployedApplicationsHealthEvaluation, bool)

AsUpgradeDomainDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for SystemApplicationHealthEvaluation.

func (SystemApplicationHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation

func (sahe SystemApplicationHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)

AsUpgradeDomainNodesHealthEvaluation is the BasicHealthEvaluation 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 BasicHealthEvaluation `json:"HealthEvaluation,omitempty"`
}

UnhealthyEvaluation 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 the type of the unregister application

type UnregisterClusterPackage

type UnregisterClusterPackage struct {
	// CodeVersion - The version of the code
	CodeVersion *string `json:"CodeVersion,omitempty"`
	// ConfigVersion - The version of the config
	ConfigVersion *string `json:"ConfigVersion,omitempty"`
}

UnregisterClusterPackage 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 the description of the update application upgrade

type UpdateClusterUpgrade

type UpdateClusterUpgrade struct {
	// UpgradeKind - The kind of the upgrade
	UpgradeKind *string `json:"UpgradeKind,omitempty"`
	// UpdateDescription - The description of the update
	UpdateDescription *UpdateDescription `json:"UpdateDescription,omitempty"`
	// ClusterHealthPolicy - The policy of the cluster health
	ClusterHealthPolicy *ClusterHealthPolicy `json:"ClusterHealthPolicy,omitempty"`
	// EnableDeltaHealthEvaluations - The evaluations of the enable delta health
	EnableDeltaHealthEvaluations *bool `json:"EnableDeltaHealthEvaluations,omitempty"`
}

UpdateClusterUpgrade the description of the update cluster upgrade

type UpdateDescription

type UpdateDescription struct {
	// RollingUpgradeMode - The mode of the rolling upgrade. Possible values include: 'RollingUpgradeMode3Invalid', 'RollingUpgradeMode3UnmonitoredAuto', 'RollingUpgradeMode3UnmonitoredManual', 'RollingUpgradeMode3Monitored'
	RollingUpgradeMode RollingUpgradeMode `json:"RollingUpgradeMode,omitempty"`
	// ForceRestart - The flag of the force restart
	ForceRestart *bool `json:"ForceRestart,omitempty"`
	// FailureAction - The action of the failure
	FailureAction *string `json:"FailureAction,omitempty"`
	// UpgradeReplicaSetCheckTimeoutInSeconds - The seconds of the upgrade replica set check timeout
	UpgradeReplicaSetCheckTimeoutInSeconds *int32 `json:"UpgradeReplicaSetCheckTimeoutInSeconds,omitempty"`
	// HealthCheckWaitDurationInMilliseconds - The seconds of the health check wait duration
	HealthCheckWaitDurationInMilliseconds *string `json:"HealthCheckWaitDurationInMilliseconds,omitempty"`
	// HealthCheckStableDurationInMilliseconds - The seconds of the health check stable duration
	HealthCheckStableDurationInMilliseconds *string `json:"HealthCheckStableDurationInMilliseconds,omitempty"`
	// HealthCheckRetryTimeoutInMilliseconds - The milliseconds of the health check retry timeout
	HealthCheckRetryTimeoutInMilliseconds *string `json:"HealthCheckRetryTimeoutInMilliseconds,omitempty"`
	// UpgradeTimeoutInMilliseconds - The milliseconds of the upgrade timeout
	UpgradeTimeoutInMilliseconds *string `json:"UpgradeTimeoutInMilliseconds,omitempty"`
	// UpgradeDomainTimeoutInMilliseconds - The milliseconds of the upgrade domain timeout
	UpgradeDomainTimeoutInMilliseconds *string `json:"UpgradeDomainTimeoutInMilliseconds,omitempty"`
}

UpdateDescription the description of the update

type UpdateServiceDescription

type UpdateServiceDescription struct {
	Flags *int32 `json:"Flags,omitempty"`
	// ServiceKind - Possible values include: 'ServiceKindBasicUpdateServiceDescriptionServiceKindUpdateServiceDescription', 'ServiceKindBasicUpdateServiceDescriptionServiceKindStateless', 'ServiceKindBasicUpdateServiceDescriptionServiceKindStateful'
	ServiceKind ServiceKindBasicUpdateServiceDescription `json:"ServiceKind,omitempty"`
}

UpdateServiceDescription the description of the update service

func (UpdateServiceDescription) AsBasicUpdateServiceDescription

func (usd UpdateServiceDescription) AsBasicUpdateServiceDescription() (BasicUpdateServiceDescription, bool)

AsBasicUpdateServiceDescription is the BasicUpdateServiceDescription implementation for UpdateServiceDescription.

func (UpdateServiceDescription) AsStatefulUpdateServiceDescription

func (usd UpdateServiceDescription) AsStatefulUpdateServiceDescription() (*StatefulUpdateServiceDescription, bool)

AsStatefulUpdateServiceDescription is the BasicUpdateServiceDescription implementation for UpdateServiceDescription.

func (UpdateServiceDescription) AsStatelessUpdateServiceDescription

func (usd UpdateServiceDescription) AsStatelessUpdateServiceDescription() (*StatelessUpdateServiceDescription, bool)

AsStatelessUpdateServiceDescription is the BasicUpdateServiceDescription implementation for UpdateServiceDescription.

func (UpdateServiceDescription) AsUpdateServiceDescription

func (usd UpdateServiceDescription) AsUpdateServiceDescription() (*UpdateServiceDescription, bool)

AsUpdateServiceDescription is the BasicUpdateServiceDescription implementation for UpdateServiceDescription.

func (UpdateServiceDescription) MarshalJSON

func (usd UpdateServiceDescription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UpdateServiceDescription.

type UpdateServiceGroupDescription

type UpdateServiceGroupDescription struct {
	Flags *int32 `json:"Flags,omitempty"`
	// ServiceKind - Possible values include: 'ServiceKindBasicUpdateServiceGroupDescriptionServiceKindUpdateServiceGroupDescription', 'ServiceKindBasicUpdateServiceGroupDescriptionServiceKindStateless', 'ServiceKindBasicUpdateServiceGroupDescriptionServiceKindStateful'
	ServiceKind ServiceKindBasicUpdateServiceGroupDescription `json:"ServiceKind,omitempty"`
}

UpdateServiceGroupDescription the description of the update service group

func (UpdateServiceGroupDescription) AsBasicUpdateServiceGroupDescription

func (usgd UpdateServiceGroupDescription) AsBasicUpdateServiceGroupDescription() (BasicUpdateServiceGroupDescription, bool)

AsBasicUpdateServiceGroupDescription is the BasicUpdateServiceGroupDescription implementation for UpdateServiceGroupDescription.

func (UpdateServiceGroupDescription) AsStatefulUpdateServiceGroupDescription

func (usgd UpdateServiceGroupDescription) AsStatefulUpdateServiceGroupDescription() (*StatefulUpdateServiceGroupDescription, bool)

AsStatefulUpdateServiceGroupDescription is the BasicUpdateServiceGroupDescription implementation for UpdateServiceGroupDescription.

func (UpdateServiceGroupDescription) AsStatelessUpdateServiceGroupDescription

func (usgd UpdateServiceGroupDescription) AsStatelessUpdateServiceGroupDescription() (*StatelessUpdateServiceGroupDescription, bool)

AsStatelessUpdateServiceGroupDescription is the BasicUpdateServiceGroupDescription implementation for UpdateServiceGroupDescription.

func (UpdateServiceGroupDescription) AsUpdateServiceGroupDescription

func (usgd UpdateServiceGroupDescription) AsUpdateServiceGroupDescription() (*UpdateServiceGroupDescription, bool)

AsUpdateServiceGroupDescription is the BasicUpdateServiceGroupDescription implementation for UpdateServiceGroupDescription.

func (UpdateServiceGroupDescription) MarshalJSON

func (usgd UpdateServiceGroupDescription) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for UpdateServiceGroupDescription.

type UpgradeDomainDeltaNodesCheckHealthEvaluation

type UpgradeDomainDeltaNodesCheckHealthEvaluation struct {
	Description *string `json:"Description,omitempty"`
	// AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
	// Kind - Possible values include: 'KindHealthEvaluation', 'KindEvent', 'KindPartitions', 'KindReplicas', 'KindDeployedServicePackages', 'KindDeployedApplications', 'KindServices', 'KindNodes', 'KindApplications', 'KindUpgradeDomainNodes', 'KindUpgradeDomainDeployedApplications', 'KindSystemApplication', 'KindPartition', 'KindReplica', 'KindDeployedServicePackage', 'KindDeployedApplication', 'KindService', 'KindNode', 'KindApplication', 'KindDeltaNodesCheck', 'KindUpgradeDomainDeltaNodesCheck', 'KindApplicationType'
	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 the evaluation of the upgrade domain delta nodes check health

func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsApplicationHealthEvaluation

func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)

AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.

func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsApplicationTypeHealthEvaluation

func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsApplicationTypeHealthEvaluation() (*ApplicationTypeHealthEvaluation, bool)

AsApplicationTypeHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.

func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsApplicationsHealthEvaluation

func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)

AsApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.

func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsBasicHealthEvaluation

func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)

AsBasicHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.

func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsDeltaNodesCheckHealthEvaluation

func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)

AsDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.

func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsDeployedApplicationHealthEvaluation

func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)

AsDeployedApplicationHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.

func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsDeployedApplicationsHealthEvaluation

func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)

AsDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.

func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsDeployedServicePackageHealthEvaluation

func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)

AsDeployedServicePackageHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.

func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsDeployedServicePackagesHealthEvaluation

func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)

AsDeployedServicePackagesHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.

func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsEventHealthEvaluation

func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)

AsEventHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.

func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsHealthEvaluation

func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)

AsHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.

func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsNodeHealthEvaluation

func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)

AsNodeHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.

func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsNodesHealthEvaluation

func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)

AsNodesHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.

func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsPartitionHealthEvaluation

func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)

AsPartitionHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.

func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsPartitionsHealthEvaluation

func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)

AsPartitionsHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.

func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsReplicaHealthEvaluation

func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)

AsReplicaHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.

func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsReplicasHealthEvaluation

func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)

AsReplicasHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.

func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsServiceHealthEvaluation

func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)

AsServiceHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.

func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsServicesHealthEvaluation

func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)

AsServicesHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.

func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsSystemApplicationHealthEvaluation

func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)

AsSystemApplicationHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.

func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation

func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)

AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.

func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation

func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation() (*UpgradeDomainDeployedApplicationsHealthEvaluation, bool)

AsUpgradeDomainDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeltaNodesCheckHealthEvaluation.

func (UpgradeDomainDeltaNodesCheckHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation

func (uddnche UpgradeDomainDeltaNodesCheckHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)

AsUpgradeDomainNodesHealthEvaluation is the BasicHealthEvaluation 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 - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
	// Kind - Possible values include: 'KindHealthEvaluation', 'KindEvent', 'KindPartitions', 'KindReplicas', 'KindDeployedServicePackages', 'KindDeployedApplications', 'KindServices', 'KindNodes', 'KindApplications', 'KindUpgradeDomainNodes', 'KindUpgradeDomainDeployedApplications', 'KindSystemApplication', 'KindPartition', 'KindReplica', 'KindDeployedServicePackage', 'KindDeployedApplication', 'KindService', 'KindNode', 'KindApplication', 'KindDeltaNodesCheck', 'KindUpgradeDomainDeltaNodesCheck', 'KindApplicationType'
	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 the evaluation of the upgrade domain deployed applications health

func (UpgradeDomainDeployedApplicationsHealthEvaluation) AsApplicationHealthEvaluation

func (uddahe UpgradeDomainDeployedApplicationsHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)

AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeployedApplicationsHealthEvaluation.

func (UpgradeDomainDeployedApplicationsHealthEvaluation) AsApplicationTypeHealthEvaluation

func (uddahe UpgradeDomainDeployedApplicationsHealthEvaluation) AsApplicationTypeHealthEvaluation() (*ApplicationTypeHealthEvaluation, bool)

AsApplicationTypeHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeployedApplicationsHealthEvaluation.

func (UpgradeDomainDeployedApplicationsHealthEvaluation) AsApplicationsHealthEvaluation

func (uddahe UpgradeDomainDeployedApplicationsHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)

AsApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeployedApplicationsHealthEvaluation.

func (UpgradeDomainDeployedApplicationsHealthEvaluation) AsBasicHealthEvaluation

AsBasicHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeployedApplicationsHealthEvaluation.

func (UpgradeDomainDeployedApplicationsHealthEvaluation) AsDeltaNodesCheckHealthEvaluation

func (uddahe UpgradeDomainDeployedApplicationsHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)

AsDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeployedApplicationsHealthEvaluation.

func (UpgradeDomainDeployedApplicationsHealthEvaluation) AsDeployedApplicationHealthEvaluation

func (uddahe UpgradeDomainDeployedApplicationsHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)

AsDeployedApplicationHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeployedApplicationsHealthEvaluation.

func (UpgradeDomainDeployedApplicationsHealthEvaluation) AsDeployedApplicationsHealthEvaluation

func (uddahe UpgradeDomainDeployedApplicationsHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)

AsDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeployedApplicationsHealthEvaluation.

func (UpgradeDomainDeployedApplicationsHealthEvaluation) AsDeployedServicePackageHealthEvaluation

func (uddahe UpgradeDomainDeployedApplicationsHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)

AsDeployedServicePackageHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeployedApplicationsHealthEvaluation.

func (UpgradeDomainDeployedApplicationsHealthEvaluation) AsDeployedServicePackagesHealthEvaluation

func (uddahe UpgradeDomainDeployedApplicationsHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)

AsDeployedServicePackagesHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeployedApplicationsHealthEvaluation.

func (UpgradeDomainDeployedApplicationsHealthEvaluation) AsEventHealthEvaluation

AsEventHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeployedApplicationsHealthEvaluation.

func (UpgradeDomainDeployedApplicationsHealthEvaluation) AsHealthEvaluation

AsHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeployedApplicationsHealthEvaluation.

func (UpgradeDomainDeployedApplicationsHealthEvaluation) AsNodeHealthEvaluation

AsNodeHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeployedApplicationsHealthEvaluation.

func (UpgradeDomainDeployedApplicationsHealthEvaluation) AsNodesHealthEvaluation

AsNodesHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeployedApplicationsHealthEvaluation.

func (UpgradeDomainDeployedApplicationsHealthEvaluation) AsPartitionHealthEvaluation

func (uddahe UpgradeDomainDeployedApplicationsHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)

AsPartitionHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeployedApplicationsHealthEvaluation.

func (UpgradeDomainDeployedApplicationsHealthEvaluation) AsPartitionsHealthEvaluation

func (uddahe UpgradeDomainDeployedApplicationsHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)

AsPartitionsHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeployedApplicationsHealthEvaluation.

func (UpgradeDomainDeployedApplicationsHealthEvaluation) AsReplicaHealthEvaluation

AsReplicaHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeployedApplicationsHealthEvaluation.

func (UpgradeDomainDeployedApplicationsHealthEvaluation) AsReplicasHealthEvaluation

AsReplicasHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeployedApplicationsHealthEvaluation.

func (UpgradeDomainDeployedApplicationsHealthEvaluation) AsServiceHealthEvaluation

AsServiceHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeployedApplicationsHealthEvaluation.

func (UpgradeDomainDeployedApplicationsHealthEvaluation) AsServicesHealthEvaluation

AsServicesHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeployedApplicationsHealthEvaluation.

func (UpgradeDomainDeployedApplicationsHealthEvaluation) AsSystemApplicationHealthEvaluation

func (uddahe UpgradeDomainDeployedApplicationsHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)

AsSystemApplicationHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeployedApplicationsHealthEvaluation.

func (UpgradeDomainDeployedApplicationsHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation

func (uddahe UpgradeDomainDeployedApplicationsHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)

AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeployedApplicationsHealthEvaluation.

func (UpgradeDomainDeployedApplicationsHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation

func (uddahe UpgradeDomainDeployedApplicationsHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation() (*UpgradeDomainDeployedApplicationsHealthEvaluation, bool)

AsUpgradeDomainDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeployedApplicationsHealthEvaluation.

func (UpgradeDomainDeployedApplicationsHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation

func (uddahe UpgradeDomainDeployedApplicationsHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)

AsUpgradeDomainNodesHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainDeployedApplicationsHealthEvaluation.

func (UpgradeDomainDeployedApplicationsHealthEvaluation) MarshalJSON

MarshalJSON is the custom marshaler for UpgradeDomainDeployedApplicationsHealthEvaluation.

type UpgradeDomainNodesHealthEvaluation

type UpgradeDomainNodesHealthEvaluation struct {
	Description *string `json:"Description,omitempty"`
	// AggregatedHealthState - Possible values include: 'Invalid', 'Ok', 'Warning', 'Error', 'Unknown'
	AggregatedHealthState AggregatedHealthState `json:"AggregatedHealthState,omitempty"`
	// Kind - Possible values include: 'KindHealthEvaluation', 'KindEvent', 'KindPartitions', 'KindReplicas', 'KindDeployedServicePackages', 'KindDeployedApplications', 'KindServices', 'KindNodes', 'KindApplications', 'KindUpgradeDomainNodes', 'KindUpgradeDomainDeployedApplications', 'KindSystemApplication', 'KindPartition', 'KindReplica', 'KindDeployedServicePackage', 'KindDeployedApplication', 'KindService', 'KindNode', 'KindApplication', 'KindDeltaNodesCheck', 'KindUpgradeDomainDeltaNodesCheck', 'KindApplicationType'
	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 the evaluation of the upgrade domain nodes health

func (UpgradeDomainNodesHealthEvaluation) AsApplicationHealthEvaluation

func (udnhe UpgradeDomainNodesHealthEvaluation) AsApplicationHealthEvaluation() (*ApplicationHealthEvaluation, bool)

AsApplicationHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.

func (UpgradeDomainNodesHealthEvaluation) AsApplicationTypeHealthEvaluation

func (udnhe UpgradeDomainNodesHealthEvaluation) AsApplicationTypeHealthEvaluation() (*ApplicationTypeHealthEvaluation, bool)

AsApplicationTypeHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.

func (UpgradeDomainNodesHealthEvaluation) AsApplicationsHealthEvaluation

func (udnhe UpgradeDomainNodesHealthEvaluation) AsApplicationsHealthEvaluation() (*ApplicationsHealthEvaluation, bool)

AsApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.

func (UpgradeDomainNodesHealthEvaluation) AsBasicHealthEvaluation

func (udnhe UpgradeDomainNodesHealthEvaluation) AsBasicHealthEvaluation() (BasicHealthEvaluation, bool)

AsBasicHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.

func (UpgradeDomainNodesHealthEvaluation) AsDeltaNodesCheckHealthEvaluation

func (udnhe UpgradeDomainNodesHealthEvaluation) AsDeltaNodesCheckHealthEvaluation() (*DeltaNodesCheckHealthEvaluation, bool)

AsDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.

func (UpgradeDomainNodesHealthEvaluation) AsDeployedApplicationHealthEvaluation

func (udnhe UpgradeDomainNodesHealthEvaluation) AsDeployedApplicationHealthEvaluation() (*DeployedApplicationHealthEvaluation, bool)

AsDeployedApplicationHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.

func (UpgradeDomainNodesHealthEvaluation) AsDeployedApplicationsHealthEvaluation

func (udnhe UpgradeDomainNodesHealthEvaluation) AsDeployedApplicationsHealthEvaluation() (*DeployedApplicationsHealthEvaluation, bool)

AsDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.

func (UpgradeDomainNodesHealthEvaluation) AsDeployedServicePackageHealthEvaluation

func (udnhe UpgradeDomainNodesHealthEvaluation) AsDeployedServicePackageHealthEvaluation() (*DeployedServicePackageHealthEvaluation, bool)

AsDeployedServicePackageHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.

func (UpgradeDomainNodesHealthEvaluation) AsDeployedServicePackagesHealthEvaluation

func (udnhe UpgradeDomainNodesHealthEvaluation) AsDeployedServicePackagesHealthEvaluation() (*DeployedServicePackagesHealthEvaluation, bool)

AsDeployedServicePackagesHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.

func (UpgradeDomainNodesHealthEvaluation) AsEventHealthEvaluation

func (udnhe UpgradeDomainNodesHealthEvaluation) AsEventHealthEvaluation() (*EventHealthEvaluation, bool)

AsEventHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.

func (UpgradeDomainNodesHealthEvaluation) AsHealthEvaluation

func (udnhe UpgradeDomainNodesHealthEvaluation) AsHealthEvaluation() (*HealthEvaluation, bool)

AsHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.

func (UpgradeDomainNodesHealthEvaluation) AsNodeHealthEvaluation

func (udnhe UpgradeDomainNodesHealthEvaluation) AsNodeHealthEvaluation() (*NodeHealthEvaluation, bool)

AsNodeHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.

func (UpgradeDomainNodesHealthEvaluation) AsNodesHealthEvaluation

func (udnhe UpgradeDomainNodesHealthEvaluation) AsNodesHealthEvaluation() (*NodesHealthEvaluation, bool)

AsNodesHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.

func (UpgradeDomainNodesHealthEvaluation) AsPartitionHealthEvaluation

func (udnhe UpgradeDomainNodesHealthEvaluation) AsPartitionHealthEvaluation() (*PartitionHealthEvaluation, bool)

AsPartitionHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.

func (UpgradeDomainNodesHealthEvaluation) AsPartitionsHealthEvaluation

func (udnhe UpgradeDomainNodesHealthEvaluation) AsPartitionsHealthEvaluation() (*PartitionsHealthEvaluation, bool)

AsPartitionsHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.

func (UpgradeDomainNodesHealthEvaluation) AsReplicaHealthEvaluation

func (udnhe UpgradeDomainNodesHealthEvaluation) AsReplicaHealthEvaluation() (*ReplicaHealthEvaluation, bool)

AsReplicaHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.

func (UpgradeDomainNodesHealthEvaluation) AsReplicasHealthEvaluation

func (udnhe UpgradeDomainNodesHealthEvaluation) AsReplicasHealthEvaluation() (*ReplicasHealthEvaluation, bool)

AsReplicasHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.

func (UpgradeDomainNodesHealthEvaluation) AsServiceHealthEvaluation

func (udnhe UpgradeDomainNodesHealthEvaluation) AsServiceHealthEvaluation() (*ServiceHealthEvaluation, bool)

AsServiceHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.

func (UpgradeDomainNodesHealthEvaluation) AsServicesHealthEvaluation

func (udnhe UpgradeDomainNodesHealthEvaluation) AsServicesHealthEvaluation() (*ServicesHealthEvaluation, bool)

AsServicesHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.

func (UpgradeDomainNodesHealthEvaluation) AsSystemApplicationHealthEvaluation

func (udnhe UpgradeDomainNodesHealthEvaluation) AsSystemApplicationHealthEvaluation() (*SystemApplicationHealthEvaluation, bool)

AsSystemApplicationHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.

func (UpgradeDomainNodesHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation

func (udnhe UpgradeDomainNodesHealthEvaluation) AsUpgradeDomainDeltaNodesCheckHealthEvaluation() (*UpgradeDomainDeltaNodesCheckHealthEvaluation, bool)

AsUpgradeDomainDeltaNodesCheckHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.

func (UpgradeDomainNodesHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation

func (udnhe UpgradeDomainNodesHealthEvaluation) AsUpgradeDomainDeployedApplicationsHealthEvaluation() (*UpgradeDomainDeployedApplicationsHealthEvaluation, bool)

AsUpgradeDomainDeployedApplicationsHealthEvaluation is the BasicHealthEvaluation implementation for UpgradeDomainNodesHealthEvaluation.

func (UpgradeDomainNodesHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation

func (udnhe UpgradeDomainNodesHealthEvaluation) AsUpgradeDomainNodesHealthEvaluation() (*UpgradeDomainNodesHealthEvaluation, bool)

AsUpgradeDomainNodesHealthEvaluation is the BasicHealthEvaluation 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 ...
	UpgradeKindInvalid UpgradeKind = "Invalid"
	// UpgradeKindRolling ...
	UpgradeKindRolling UpgradeKind = "Rolling"
)

type UpgradeProgressesClient

type UpgradeProgressesClient struct {
	BaseClient
}

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(ctx context.Context) (result ClusterUpgradeProgress, err error)

Get get upgrade progresses

func (UpgradeProgressesClient) GetPreparer

func (client UpgradeProgressesClient) GetPreparer(ctx context.Context) (*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 ...
	UpgradeStateInvalid UpgradeState = "Invalid"
	// UpgradeStateRollingBackCompleted ...
	UpgradeStateRollingBackCompleted UpgradeState = "RollingBackCompleted"
	// UpgradeStateRollingBackInProgress ...
	UpgradeStateRollingBackInProgress UpgradeState = "RollingBackInProgress"
	// UpgradeStateRollingForwardCompleted ...
	UpgradeStateRollingForwardCompleted UpgradeState = "RollingForwardCompleted"
	// UpgradeStateRollingForwardInProgress ...
	UpgradeStateRollingForwardInProgress UpgradeState = "RollingForwardInProgress"
	// UpgradeStateRollingForwardPending ...
	UpgradeStateRollingForwardPending UpgradeState = "RollingForwardPending"
)

type UpgradeState1

type UpgradeState1 string

UpgradeState1 enumerates the values for upgrade state 1.

const (
	// UpgradeState1Invalid ...
	UpgradeState1Invalid UpgradeState1 = "Invalid"
	// UpgradeState1RollingBackCompleted ...
	UpgradeState1RollingBackCompleted UpgradeState1 = "RollingBackCompleted"
	// UpgradeState1RollingBackInProgress ...
	UpgradeState1RollingBackInProgress UpgradeState1 = "RollingBackInProgress"
	// UpgradeState1RollingForwardCompleted ...
	UpgradeState1RollingForwardCompleted UpgradeState1 = "RollingForwardCompleted"
	// UpgradeState1RollingForwardInProgress ...
	UpgradeState1RollingForwardInProgress UpgradeState1 = "RollingForwardInProgress"
	// UpgradeState1RollingForwardPending ...
	UpgradeState1RollingForwardPending UpgradeState1 = "RollingForwardPending"
)

Jump to

Keyboard shortcuts

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